1 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
3 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4 (gst_base_sink_wait_eos), (gst_base_sink_event):
5 If we have not seen a buffer before EOS, use the segment values to
6 report the current position instead of invalid positions.
8 2008-06-20 Stefan Kost <ensonic@users.sf.net>
10 * docs/plugins/tmpl/.cvsignore:
11 * tests/check/gst/.cvsignore:
14 2008-06-20 Stefan Kost <ensonic@users.sf.net>
16 * libs/gst/controller/gstinterpolation.c:
17 * libs/gst/controller/gstinterpolationcontrolsource.c:
18 * tests/check/libs/controller.c:
19 Rewrite handling of default values. Fix overflow with unsigned types
20 in linear interpolation. Remove now obsolete _first_value() function.
21 Add more tests. Fixes #538201.
23 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
25 * libs/gst/base/gstbasetransform.c:
26 (gst_base_transform_class_init), (gst_base_transform_init),
27 (gst_base_transform_transform_caps),
28 (gst_base_transform_prepare_output_buffer):
30 When a buffer is writable, its metadata is also writable so we don't
31 need to subbuffer (which then makes the buffer not-writable anymore).
33 === release 0.10.20 ===
35 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
38 releasing 0.10.20, "You Crazy Diamond"
40 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
45 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
49 Rename DATADIR to GST_DATADIR to avoid build problems
50 on win32. Patch By: David Schleef <ds@schleef.org>
53 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
56 Explicitely link with -ldl if dladdr() is found there. Before it was
57 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
58 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
60 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
62 * gst/gsterror.c: (_gst_stream_errors_init):
63 Fix typo (spotted by Fabricio Godoy, #536723).
65 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
70 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
72 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
73 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
75 Make sure we don't generate invalid QoS messages.
77 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
79 * gst/gstevent.c: (gst_event_new_qos):
80 Add some assert and docs for invalid input to the qos function.
82 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
84 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
85 (gst_base_sink_get_position):
86 The reported position must always be smaller than the last seen
87 timestamps (or timestamp + duration for reverse).
89 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
91 Patch by: Rob Bradford <rob at robster dot org dot uk>
93 * gst/gstregistry.c: (gst_registry_scan_path_level):
94 Don't recurse into .debug directories as some distros install
95 the debugging symbols next to the plugins in .debug directories
96 and dlopen() crashes on them sometimes. Fixes bug #508070.
98 Add FIXME for 0.11 to not recurse into directories at all because
99 it's very inconsistent to the behaviour of other PATH environment
102 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
104 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
105 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
106 Fix position query range checks in reverse playback.
108 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
112 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
113 clear of the reference to the resulting pad must be released later
114 or not, resulting in possible leaks. Fixes bug #533865.
116 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
118 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
120 * gst/gstelementfactory.c:
121 Small doc fix. Fixes #535285.
123 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
125 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
127 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
128 (gst_base_src_get_range), (gst_base_src_pad_get_range),
129 (gst_base_src_loop), (gst_base_src_set_flushing),
130 (gst_base_src_change_state):
131 Make sending an EOS event to the basesrc non-blocking even if the
132 implementation does blocking waits in the create function. This is done
133 by unlocking the create function when EOS is sent.
136 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
138 * tools/gst-inspect.c: (print_element_properties_info):
139 If possible print the element type of GValueArray properties.
141 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
144 Remove an unused field from the private GstListIterator struct.
146 2008-05-27 Stefan Kost <ensonic@users.sf.net>
148 * libs/gst/controller/gstcontroller.c:
149 Add parameter guards.
151 2008-05-27 Stefan Kost <ensonic@users.sf.net>
153 * tests/check/gst/gstpipeline.c:
154 Revert test change and add comment why it should not work.
156 2008-05-27 Stefan Kost <ensonic@users.sf.net>
158 * tests/check/gst/gstpipeline.c:
159 Extending the test a little to verify that we also get the NULL state-
162 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
164 * gst/gstpreset.c: (gst_preset_default_get_meta),
165 (gst_preset_get_preset_names), (gst_preset_get_property_names),
166 (gst_preset_load_preset), (gst_preset_save_preset),
167 (gst_preset_rename_preset), (gst_preset_delete_preset),
168 (gst_preset_set_meta):
169 Add Since: markers to docs blurbs.
171 * win32/common/libgstreamer.def:
172 Add recently-added API.
174 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
176 Patch by: Stefan Kost <ensonic@users.sf.net>
179 Add DATADIR for storing presets.
181 * docs/gst/gstreamer-docs.sgml:
182 * docs/gst/gstreamer-sections.txt:
183 * docs/gst/gstreamer.types.in:
184 Add GstPreset to docs.
188 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
189 (preset_open_and_parse_header), (preset_parse_version),
190 (preset_merge), (preset_get_keyfile),
191 (gst_preset_default_get_preset_names),
192 (gst_preset_default_get_property_names),
193 (gst_preset_default_load_preset),
194 (gst_preset_default_save_presets_file),
195 (gst_preset_default_save_preset),
196 (gst_preset_default_rename_preset),
197 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
198 (gst_preset_default_get_meta), (gst_preset_default_randomize),
199 (gst_preset_default_reset), (gst_preset_get_preset_names),
200 (gst_preset_get_property_names), (gst_preset_load_preset),
201 (gst_preset_save_preset), (gst_preset_rename_preset),
202 (gst_preset_delete_preset), (gst_preset_set_meta),
203 (gst_preset_get_meta), (gst_preset_class_init),
204 (gst_preset_base_init), (gst_preset_get_type):
206 Add GstPreset to core. Fixes #396779
208 * tests/check/Makefile.am:
209 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
210 (gst_preset_test_set_property), (gst_preset_test_class_init),
211 (gst_preset_test_base_init), (gst_preset_test_get_type),
212 (gst_preset_test_plugin_init), (GST_START_TEST),
213 (remove_preset_file), (test_setup), (test_teardown),
215 Add GstPreset unit tests.
217 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
219 * gst/gstpad.c: (gst_pad_event_default_dispatch):
220 The default event function on a sinkpad should return TRUE when
221 there are no internal links but should collect the return values from
222 the internal links otherwise.
224 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
226 * plugins/elements/gsttypefindelement.c:
227 (gst_type_find_element_src_event),
228 (gst_type_find_element_handle_event):
229 Use faster and safer _pad_push_event().
231 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
233 * docs/gst/gstreamer-sections.txt:
234 * gst/gstutils.c: (element_find_unlinked_pad),
235 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
237 API: add gst_bin_find_unlinked_pad()
238 API: deprecate gst_bin_find_unconnected_pad() (#401456)
240 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
246 Fixed a bunch of typos.
248 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
251 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
252 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
253 (gst_parse_bin_from_description_full):
255 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
257 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
259 * docs/pwg/advanced-tagging.xml:
260 Small docs update, can't be bothered to rewrite the nonsensical
263 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
266 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
268 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
270 * gst/parse/grammar.y:
271 Remove unneeded casts.
273 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
275 * gst/parse/grammar.y:
276 * tests/check/pipelines/parse-launch.c:
277 Get all missing elements from a parse launch string if possible
278 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
280 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
282 * tests/check/Makefile.am:
283 * tests/check/pipelines/parse-launch.c:
284 Add some unit tests for the new gst_parse_launch*_full() API.
285 (Exposes a previously-existing memory leak in the error code
286 path, so adding to VALGRIND_TO_FIX for now).
288 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
290 * docs/gst/gstreamer-sections.txt:
291 * gst/gst.c: (init_post):
292 * gst/gst_private.h: (_GstParseContext):
293 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
294 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
295 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
296 (gst_parse_launch_full):
297 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
298 (GstParseFlags), (GstParseContext):
299 * gst/gstutils.c: (gst_parse_bin_from_description),
300 (gst_parse_bin_from_description_full):
302 * gst/parse/grammar.y:
304 * win32/common/libgstreamer.def:
305 Add new gst_parse_*_full API (#528178):
306 API: gst_parse_launch_full()
307 API: gst_parse_launchv_full()
308 API: gst_parse_bin_from_description_full()
309 API: gst_parse_context_new()
310 API: gst_parse_context_free()
311 API: gst_parse_context_get_missing_elements()
313 2008-05-23 Stefan Kost <ensonic@users.sf.net>
315 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
317 * docs/faq/gst-uninstalled:
318 Also support ffmpeg in gst-uninstalled.
320 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
323 After discussion on IRC use the binary registry as default
324 but allow to disable it with --disable-binary-registry.
326 * win32/common/libgstreamer.def:
327 Add the two new symbols for the binary registry.
329 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
331 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
332 * gst/gstutils.c: (gst_parse_bin_from_description):
333 * gst/parse/grammar.y: (graph):
334 More guards against bad input; typo fix; some minor clean-ups.
336 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
338 Patch by: Sjoerd Simons <sjoerd at luon dot net>
340 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
341 If nothing else can be used, use the last buffer's start time as
342 the segment's last stop. Fixes bug #534258.
344 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
346 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
347 Move size sanity check to the right place: downstream may return
348 a buffer with a smaller size if the buffer caps are different than
349 the requested ones, as may happen when doing reverse negotiation.
351 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
353 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
354 (gst_file_sink_render):
355 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
356 (gst_file_src_start):
357 Small cleanups. Add note adbout g_fopen() on windows and why we don't
360 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
362 * gst/gstpad.c: (gst_pad_load_and_link):
363 * gst/gstutils.c: (gst_element_link_pads),
364 (gst_element_unlink_pads):
365 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
366 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
367 (gst_check_teardown_sink_pad),
368 (gst_check_element_push_buffer_list):
369 * tests/check/elements/fakesink.c: (GST_START_TEST):
370 * tests/check/elements/filesink.c:
371 * tests/check/elements/filesrc.c: (GST_START_TEST):
372 * tests/check/elements/multiqueue.c: (setup_multiqueue),
373 (mq_sinkpad_to_srcpad):
374 * tests/check/elements/tee.c: (GST_START_TEST):
375 * tests/check/generic/sinks.c: (GST_START_TEST):
376 * tests/check/gst/gstbin.c: (GST_START_TEST):
377 * tests/check/gst/gstevent.c: (GST_START_TEST):
378 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
379 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
380 * tests/check/gst/gstquery.c: (GST_START_TEST):
381 * tests/check/gst/gstutils.c: (GST_START_TEST):
382 * tests/check/libs/basesrc.c: (GST_START_TEST):
383 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
384 (gst_parse_test_element_change_state):
385 Don't use gst_element_get_pad().
387 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
390 Fix installing plugin documentation when gtk-doc is disabled.
392 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
394 * docs/manual/advanced-autoplugging.xml:
395 * docs/manual/basics-helloworld.xml:
396 * docs/manual/basics-pads.xml:
397 * docs/manual/highlevel-components.xml:
398 Avoid using a bad function in the example code.
400 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
402 * gst/gstclock.c: (gst_clock_set_calibration):
403 Fix debug of the new clock rate.
405 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
407 * win32/common/libgstbase.def:
408 Add gst_base_sink_wait_clock() to the exported symbols.
410 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
412 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
414 * libs/gst/base/gstbasetransform.c:
415 (gst_base_transform_sink_event):
416 Unref events that the GstBaseTransform::event vfunc didn't want to
417 have forwarded by the base class. Closes a leak in identity.
420 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
422 * docs/libs/gstreamer-libs-sections.txt:
423 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
424 * libs/gst/base/gstbasesink.h:
425 Expose a method that was previously used internally to synchronize
426 against the clock because it can be useful for subclasses too.
427 API: GstBaseSink::gst_base_sink_wait_clock()
429 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
431 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
432 Add sanity check to make sure we don't get smaller buffers
433 than requested (and fallback to normal buffer alloc if we do).
435 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
437 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
438 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
439 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
440 Refactor adjusting the running_time with latency and offset into a
442 When doing clipping, we still want to use the subclass get_times method,
443 just in case the DURATION or TIMESTAMP are not set.
445 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
447 * docs/gst/gstreamer-sections.txt:
448 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
450 * win32/common/libgstreamer.def:
451 API: add gst_type_find_suggest_simple(), #533740.
453 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
455 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
456 Use right error code when typefinding fails, so we can use
457 the default (translated) error messages.
459 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
461 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
462 (gst_base_src_start):
463 When the subclass did not set caps on outgoing buffers, configure the
464 caps we negotiated on the source pad.
465 When the typefind helper does not find caps, error out properly instead
466 of doing things with NULL caps.
468 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
471 Tabs to spaces, oh yes!
473 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
475 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
476 Add David's and Benjamin's tests for array intersection to the
477 unit test suite (#147931).
479 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
482 Document that gst_event_new_tag() and gst_event_new_navigation()
483 take ownership of the taglist/structure passed to them. (#533635).
485 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
488 Don't descend into the plugins dir if plugin docs building
492 Add a note about the new type:GTypeName syntax for the plugin
493 documentation .types file.
495 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
497 * gst/gstmessage.c: (gst_message_new_error),
498 (gst_message_new_warning), (gst_message_new_info):
500 Mark the debug string parameters as const. Fixes bug #533490.
502 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
504 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
505 Sort buffer cache list by end offsets. This makes sure that we don't
506 stop to search for a cached buffer that contains the requested data
508 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
509 more efficient. Fixes bug #459862.
511 2008-05-14 Stefan Kost <ensonic@users.sf.net>
514 Explain why we copy the list.
520 Add one debug-log statement to help tracing probelms with linking pads.
522 2008-05-12 Stefan Kost <ensonic@users.sf.net>
524 * tests/check/gst/gstinfo.c:
525 Add a test for removing the default log handler. Seems to fail under
528 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
530 * gst/gstpad.c: (gst_pad_peer_accept_caps):
531 Release pad lock before calling out to avoid a possible deadlock.
533 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
535 * gst/parse/grammar.y:
536 Remove unneeded value unset.
538 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
539 Add unit test for de/serialization of caps.
541 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
543 * plugins/elements/gstfakesink.c:
544 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
545 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
546 (gst_fake_src_class_init):
547 Use custom marshalers that take GstMiniObject as first parameter.
548 Using OBJECT as parameter while a GstMiniObject is given will lead
549 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
551 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
553 * plugins/elements/gsttypefindelement.c:
554 (gst_type_find_element_handle_event),
555 (gst_type_find_element_send_cached_events),
556 (gst_type_find_element_change_state):
557 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
560 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
562 * plugins/elements/gsttypefindelement.c:
563 (gst_type_find_handle_src_query), (stop_typefinding),
564 (gst_type_find_element_handle_event),
565 (gst_type_find_element_send_cached_events),
566 (gst_type_find_element_change_state):
567 Forward FLUSH_START events immediately and clean up instead of
570 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
572 Patch by: Sjoerd Simons <sjoerd at luon dot net>
574 * libs/gst/base/gstbasetransform.c:
575 (gst_base_transform_buffer_alloc):
576 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
577 fall back to default negotiation in the chain function if the caps
578 are different from what was requested. Fixes bug #526768.
580 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
583 * tests/check/gst/gstsegment.c:
584 No, let's not use g_slice_{dup|copy} here, since they only exist
585 since GLib 2.14 and we still depend only on >= 2.12. Also add
586 unit test for gst_segment_copy().
588 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
590 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
591 Try to fix 'dereferencing type-punned pointer will break strict
592 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
593 changed the default GType typedef from gulong to gsize at some point,
594 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
595 g_once_* functions all take a gsize * though, so work around the type
596 mismatch for C++ by doing everything in gsize and casting to GType
599 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
601 * plugins/elements/gstmultiqueue.c:
602 Add documentation for the signals to push our core plugin docs
603 coverage back up to 100%.
605 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
607 * gst/gstinfo.h (GST_FUNCTION):
608 Reverted GST_FUNCTION to the old version as we don't want the
609 full signature in C++ code. Also added support for MSVC.
611 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
614 Intern the type name string, similar to what G_DEFINE_TYPE does.
616 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
619 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
621 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
623 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
625 * libs/gst/base/gstbasetransform.c:
626 (gst_base_transform_buffer_alloc):
627 Don't passthrough buffer allocation too easily if the caps change.
628 This breaks when working in passthrough mode and upstream changes
629 it's caps. Fixes bug #526768.
631 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
633 * gst/gstinfo.c (gst_debug_log_valist):
634 Improved the __FILE__ part of debug output for MSVC.
636 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
638 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
639 Declaration after statement fix for compilers like MSVC.
641 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
643 * win32/common/config.h.in:
644 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
645 use the real thing than having "???" unconditionally.
647 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
649 * gst/gstinfo.h (GST_FUNCTION):
650 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
652 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
654 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
657 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
658 (gst_base_sink_set_flushing):
659 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
662 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
664 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
665 (gst_fake_src_init), (gst_fake_src_set_property),
666 (gst_fake_src_get_property), (gst_fake_src_start):
667 * plugins/elements/gstfakesrc.h:
668 Added format property to control the format of the newsegment events.
669 API: GstFakeSrc:format
671 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
673 * win32/common/libgstreamer.def:
674 Add gst_pad_has_name() to the exported symbols.
676 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
678 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
679 * libs/gst/base/gstbasetransform.c:
680 (gst_base_transform_prepare_output_buffer):
681 Don't allow negative sizes when allocating new buffers.
684 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
686 Patch by: Sjoerd Simons <sjoerd at luon net>
688 * gst/gstbus.c: (gst_bus_source_dispatch):
689 Don't print a warning if the queue is empty when we try to pop
690 here. That could happen if another thread or callback set the
691 bus to flushing between the source's check/prepare and the
692 dispatch being called (#531538).
694 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
696 * plugins/elements/gstmultiqueue.c:
699 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
701 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
702 Add unit test for deserializing uint64s and check some really large
703 numbers in the int64 test.
705 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
707 * tools/gst-inspect.c: (n_print), (print_hierarchy),
708 (print_interfaces), (print_element_properties_info),
710 Use "%s" as format string instead of printing strings directly.
712 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
714 * gst/gstclock.c: (gst_clock_set_calibration):
715 Make some checks actually useful.
717 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
718 Remove some unused code. Unsigned integers tend to be >= 0.
720 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
722 * gst/gstminiobject.c: (gst_value_get_mini_object):
723 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
724 function was not in the unscheduled 0.10.19 release.
726 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
728 * gst/gstregistry.c: (gst_registry_scan_path_level):
729 Only print one log message per non-plugin file.
731 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
733 * gst/gstinfo.c: (gst_debug_log_default):
734 Fix alignment of debug log columns on 64-bit.
736 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
738 * docs/libs/Makefile.am:
739 * docs/libs/gstreamer-libs-sections.txt:
740 Ignore private controller headers for docs.
742 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
744 * libs/gst/controller/gstcontrollerprivate.h:
745 * libs/gst/controller/gsthelper.c:
746 * libs/gst/controller/gstinterpolation.c:
747 * libs/gst/controller/gstinterpolationcontrolsource.c:
748 (gst_interpolation_control_source_set_interpolation_mode):
749 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
750 * libs/gst/controller/lib.c:
751 Move some private declarations into private headers.
753 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
755 * gst/gstdebugutils.c: (debug_dump_element_pad):
756 Remove some code that is unused after Stefan's refactoring and uses
757 uninitialized variables now, resulting in a compiler warning.
759 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
761 * gst/gstregistry.c: (gst_registry_scan_path_level):
762 Run g_str_has_suffix() only on the file name, not the
765 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
767 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
768 Since we're not called only from the chain function any longer,
769 we can't assume that there's always data in the queue, so move
770 the is_full check to the beginning of the loop (otherwise we'd
771 hit the assert when changing the limit properties while the
772 queue is empty or not running yet).
773 Also, only set a discont if items were actually removed from
776 * tests/check/elements/queue.c: (test_leaky_downstream):
777 Test case for the above.
779 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
781 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
783 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
784 (gst_queue_chain), (queue_capacity_change),
785 (gst_queue_set_property):
786 When changing thr max capacity of a leaky queue, immediatly drop buffers
787 instead of waiting for a push on the sinkpad. Fixes #530637.
789 2008-04-30 Stefan Kost <ensonic@users.sf.net>
791 * gst/gstdebugutils.c:
792 Refactor code and fix handling of ghostpads and their proxypads.
794 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
796 * docs/gst/gstreamer-sections.txt:
797 * gst/gstevent.c: (gst_event_has_name):
799 * tests/check/gst/gstevent.c: (GST_START_TEST):
800 Add method to conveniently check the name of a custom event with
801 gst_event_has_name().
802 Reformat the event docs so that related methods are put together instead
803 of the default alphabetical sort.
804 Update unit test with new method.
805 API: GstEvent::gst_event_has_name()
807 2008-04-28 Michael Smith <msmith@songbirdnest.com>
809 * libs/gst/check/Makefile.am:
810 Don't add an explicit link to libgstreamer-0.10.la; it's already
811 included in GST_OBJ_LIBS.
813 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
816 Register GstClock type from a type-safe context. Fixes bug #530317.
818 2008-04-25 Michael Smith <msmith@songbirdnest.com>
820 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
822 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
824 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
826 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
828 Use the GLib stuff to create a private structure.
829 Add some locking around some dispose methods to make them a little
830 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
832 2008-04-25 Stefan Kost <ensonic@users.sf.net>
834 * libs/gst/base/gstbasesink.h:
835 * libs/gst/base/gstbasesrc.h:
836 * libs/gst/base/gstbasetransform.h:
837 * libs/gst/base/gstcollectpads.h:
838 Fix doc typos and unify caps a bit.
840 2008-04-25 Stefan Kost <ensonic@users.sf.net>
842 * tools/gst-launch.1.in:
843 Forgot to also add the envvar docs here.
845 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
847 * gst/gst.c: (init_post), (gst_deinit):
848 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
849 (test_concurrent_create), (gst_pipeline_suite):
850 Ref some more classes in gst_init() to work around thread-safety
851 issues in pre-2.16 GLibs, and add basic unit test.
853 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
855 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
856 (gst_base_sink_send_event):
857 Rearrange the latency query code. We always want to do the upstream
858 query, even if we are not live so that the upstream elements can get the
859 latency results too. If we fail doing the query and we are live, we
860 return TRUE afterwards.
862 2008-04-24 Stefan Kost <ensonic@users.sf.net>
864 patch by: Jason Zhao <e3423c@motorola.com>
866 * docs/gst/running.xml:
868 Enable/disable scan_and_update_registry() based on commandline switch
869 or environment variable. Fixes #520468.
872 Fix typo in my previous commit.
874 2008-04-24 Stefan Kost <ensonic@users.sf.net>
876 * gst/gstregistrybinary.c:
877 Add a warning if we hit unhandled factories when saving.
878 More debug logging detail, but move to LOG category.
880 2008-04-24 Stefan Kost <ensonic@users.sf.net>
883 Tell the *truth* when improving the documentation.
885 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
887 * gst/gstelementfactory.c: (gst_element_factory_make):
888 Unref the factory after it was used the last time, not before.
890 * gst/gstindexfactory.c: (gst_index_factory_make):
891 Improve debugging a bit and don't leak a ref to the index factory with
894 2008-04-23 Stefan Kost <ensonic@users.sf.net>
897 Improve the documentation.
899 2008-04-23 Stefan Kost <ensonic@users.sf.net>
902 The glib macro seems to be borked. Use g_slice_copy directly and cast
903 in the hope that this fixes the warning on 64bit.
905 2008-04-23 Stefan Kost <ensonic@users.sf.net>
908 Document the new function. Use g_slice_dup() (no need for
911 2008-04-23 Stefan Kost <ensonic@users.sf.net>
913 * docs/gst/gstreamer-sections.txt:
914 Move GParamSepc macros to standart section.
917 Dn't document _get_type - its in private section in docs anyway and
918 this doc-blob was incomplete.
921 Fix wrong symbol names in docs.
924 Add once doc sentence.
926 * tests/check/gst/.cvsignore:
929 2008-04-21 Stefan Kost <ensonic@users.sf.net>
931 * docs/gst/Makefile.am:
932 And remove those libs here.
934 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
936 * docs/libs/Makefile.am:
937 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
939 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
941 Patch by: Olivier Crete <tester at tester dot ca>
943 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
944 Add the min-threshold to the min latency if possible. Fixes #529148.
946 2008-04-21 Stefan Kost <ensonic@users.sf.net>
948 * docs/gst/gstreamer.types.in:
949 Stupid editor, I removed that line as it should go in yet.
951 2008-04-21 Stefan Kost <ensonic@users.sf.net>
953 * docs/gst/gstreamer.types.in:
954 * docs/libs/gstreamer-libs.types:
955 Remove library types fro core docs and have them in libs docs.
956 Reformat and cleanup. Add comment for miniobject types.
958 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
960 * gst/gsturi.c: (gst_uri_get_protocol):
961 Fix leak: g_strdown operates on the string in place, while
962 g_ascii_strdown() returns a newly-allocated string.
964 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
966 * tools/gst-inspect.c: (print_uri_handler_info),
967 (print_element_info):
968 Print the URI protocols and the URI type supported by the element.
970 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
972 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
973 Use g_value_take_string() instead of the deprecated
974 g_value_set_string_take_ownership().
976 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
978 * gst/gstregistrybinary.c: (_gst_crc32):
979 Return the old CRC instead of 0 if we give a NULL buffer
980 or a buffer with a length of 0.
982 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
984 * gst/gsturi.c: (gst_uri_protocol_check_internal),
985 (gst_uri_get_protocol), (gst_uri_has_protocol),
986 (gst_uri_construct), (gst_uri_handler_set_uri):
987 A valid URI scheme can also include '+', '-' and '.' additional
988 to alphanumeric characters as per RFC 3986 Section 3.1.
990 Handle URI schemes case insensitive in all places and convert
991 to lower-case when constructing an URI or setting an URI with
992 the GstURIHandler interface. Fixes bug #528868.
993 All elements can still assume (as before) that they will
994 get passed URIs with a lower-case URI scheme by the GstURIHandler
997 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
999 * gst/gstcaps.c: (gst_static_caps_get):
1000 * gst/gstclock.c: (gst_clock_entry_new):
1001 Don't use g_atomic_set_int where it's not needed.
1003 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1005 * gst/gstvalue.c: (gst_value_deserialize_caps):
1006 * gst/parse/grammar.y:
1009 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1011 * gst/gstutils.c: (gst_atomic_int_set):
1012 Use g_atomic_int_set() here too instead of assignment +
1015 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1019 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1020 now that we depend on new enough GLib.
1022 * gst/gstcaps.c: (gst_static_caps_get):
1023 * gst/gstclock.c: (gst_clock_entry_new):
1024 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1025 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1026 (gst_debug_category_set_threshold):
1027 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1028 (gst_base_sink_set_qos_enabled):
1029 * libs/gst/net/gstnettimeprovider.c:
1030 (gst_net_time_provider_set_property):
1031 Use g_atomic_int_set() instead of gst_atomic_int_set().
1033 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1036 Also use G_GINT64_CONSTANT for the queries.
1038 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1041 Use G_GINT64_CONSTANT in varargs function.
1043 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1045 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1046 Initialize the registry magic with zeroes.
1048 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1050 * gst/gstregistrybinary.c: (_gst_crc32),
1051 (gst_registry_binary_write),
1052 (gst_registry_binary_initialize_magic),
1053 (gst_registry_binary_write_cache),
1054 (gst_registry_binary_check_magic),
1055 (gst_registry_binary_read_cache):
1056 * gst/gstregistrybinary.h:
1057 Add crc32 checksum to the binary registry file and check this before
1058 accepting a registry file.
1060 Also free the data list when writing to the registry file fails.
1062 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1064 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1065 (gst_registry_binary_load_feature),
1066 (gst_registry_binary_load_plugin):
1067 If an element supports the Uri interface, returns a valid pointer
1068 to the supported URI protocols but this pointer contains nothing
1069 don't try to save that as it will corrupt the registry.
1071 Don't unref the plugin if we added it to the registry already but
1072 fail to load a feature as gst_registry_add_plugin() takes ownership
1075 Improve debugging a bit.
1077 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1080 Clarify some tag item docs after discussion on irc.
1082 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1084 * docs/gst/gstreamer-docs.sgml:
1085 Remove commented out plugins (they have their own docs). Update
1088 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1090 * docs/gst/gstreamer-docs.sgml:
1091 * docs/gst/gstreamer-sections.txt:
1092 * gst/gstparamspecs.c:
1093 * gst/gstparamspecs.h:
1094 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1095 docs to own section.
1098 This now only documents GValue.
1100 * docs/libs/gstreamer-libs-sections.txt:
1101 * libs/gst/controller/gstcontroller.h:
1102 Remove GST_PARAM_CONTROLLABLE.
1104 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1107 Correct file path. Tell about how to use -overrides.txt.
1108 * docs/design/draft-tagreading.txt:
1109 Small design update.
1111 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1113 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1114 (gst_registry_binary_load_plugin):
1115 Fix a typo in a debug message and revert change from yesterday as
1116 gst_registry_add_plugin() will only fail if something is really wrong
1117 already and we can't survive it anyway.
1119 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1121 * gst/gst.c: (init_post), (gst_deinit):
1122 Pre-register GstGError GType from a thread-safe context
1123 (fixes #527967); unref enum type classes in deinit.
1125 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1127 Patch by: Rene Stadler <mail at renestadler de>
1129 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1130 Merging an empty list with another list in KEEP_ALL mode should
1131 yield an empty list as result and not the second list (#512578).
1133 * tests/check/gst/gsttagsetter.c:
1134 Add unit test for tag merge modes and the aforementioned bug.
1136 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1138 Patch by: Rene Stadler <mail at renestadler de>
1141 Fix description to match the order in the table (#512577).
1143 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1145 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1147 * libs/gst/net/gstnettimepacket.h:
1148 * docs/libs/gstreamer-libs-sections.txt:
1149 Define socklen_t as int if it's not defined yet. Fixes compilation
1150 with MSVC6 and other versions where socklen_t is not defined in
1151 the windows headers (#518022).
1153 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1155 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1156 If gst_registry_add_plugin() fails our reference to the plugin is
1157 invalid so don't try to use it anymore and instead error out.
1159 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1161 * tools/gst-xmlinspect.c: (print_element_info), (main):
1162 De-cruft a bit. If no argument is specified, print all elements in
1163 XML syntax rather than a freestyle list of elements like gst-inspect.
1164 Also, don't print XML header chunk unless we actually have something
1165 to print (ie. don't print it before an error message); print error
1166 message to stderr not stdout. Remove support for printing plugin
1167 info (it would just output something freestyle along the lines of
1168 gst-inspect so far), which fixes #514507. Also add license header.
1170 2008-04-11 Julien Moutte <julien@fluendo.com>
1173 * configure.ac: Merge platform specific defines, introduce a new
1174 define on OS X to remember that forking when updating registry is
1176 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1178 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1180 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1181 condition that leads to absolutely no plugins being registered on
1184 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1186 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1188 * gst/gstutils.c: (gst_pad_add_data_probe),
1189 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1190 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1191 (gst_pad_add_buffer_probe_full):
1193 * docs/gst/gstreamer-sections.txt:
1194 * win32/common/libgstreamer.def:
1195 Add gst_pad_add_*_probe_full() functions with a notify callback that
1196 lets the caller free the data it passes to the probe functions. This
1197 is useful for bindings such as gst-python or gstreamermm (#526814).
1198 API: gst_pad_add_data_probe_full
1199 API: gst_pad_add_buffer_probe_full
1200 API: gst_pad_add_event_probe_full
1202 * tests/check/gst/gstutils.c:
1203 Add minimal unit test to make sure freeing the data actually works
1206 * tests/benchmarks/.cvsignore:
1207 Random cvsignore addendum.
1209 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1211 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1212 (GST_DEBUG_BIN_TO_DOT_FILE):
1213 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1214 to it in the docs (since these are macros the types of the arguments
1215 won't be shown in the docs otherwise).
1217 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1220 Do not abort on out of memory for pad_alloc_buffer.
1222 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1224 * libs/gst/check/gstcheck.c:
1225 Remove blank line between symbol name ad parameters to fix gtkdoc
1228 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1230 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1232 * docs/gst/gstreamer-sections.txt:
1235 * win32/common/libgstreamer.def:
1236 Expose gst_segment_copy() to make things easier for the c++ bindings.
1238 API: gst_segment_copy()
1240 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1242 * gst/gst.c: (gst_init_get_option_group), (init_post):
1243 Fix const position; ref GType classes for enum types to work
1244 around thread-safety issues in GLib versions < 2.16.
1246 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1248 * docs/design/part-buffering.txt:
1249 Fix some typos and set the estimated total for push mode to -1.
1251 * gst/gstquery.c: (gst_query_new_buffering):
1252 Set buffering-left to 0 as we're not buffering by default.
1254 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1255 Implement BUFFERING query.
1257 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1259 Based on patch by: Milosz Derezynski <internalerror gmail com>
1261 * gst/gsterror.c: (_gst_stream_errors_init):
1263 Add two new error codes for encrypted content. Fixes #524659.
1264 API: GST_STREAM_ERROR_DECRYPT
1265 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1267 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1272 * win32/common/libgstreamer.def:
1275 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1277 * plugins/elements/gstidentity.c: (gst_identity_event),
1278 (gst_identity_start):
1279 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1280 event after processing some data. Fixes bug #526042.
1282 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1284 * docs/gst/gstreamer-sections.txt:
1285 * gst/gstquery.c: (gst_query_parse_latency),
1286 (gst_query_set_buffering_percent),
1287 (gst_query_parse_buffering_percent),
1288 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1290 Rename _avail -> _range
1291 API: gst_query_set_buffering_range
1292 API: gst_query_parse_buffering_range
1294 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1296 * docs/design/part-buffering.txt:
1299 * gst/gstquery.c: (gst_query_parse_latency),
1300 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1301 (gst_query_parse_buffering_percent):
1303 Add busy field and quark for the buffering query so that the app can
1304 only use the query to see if buffering is in progress.
1306 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1308 * docs/gst/gstreamer-sections.txt:
1309 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1310 (gst_message_parse_buffering_stats):
1312 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1313 (gst_query_parse_latency), (gst_query_new_buffering),
1314 (gst_query_set_buffering_percent),
1315 (gst_query_parse_buffering_percent),
1316 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1317 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1319 Reorder the message docs and headers for clarity.
1320 Add aditional buffering stats API for messages.
1321 Add buffering query.
1322 Convert some leftover queries to use GstQuark.
1323 API: gst_message_set_buffering_stats
1324 API: gst_message_parse_buffering_stats
1325 API: GST_QUERY_BUFFERING
1326 API: GstBufferingMode
1327 API: gst_query_new_buffering
1328 API: gst_query_set_buffering_percent
1329 API: gst_query_parse_buffering_percent
1330 API: gst_query_set_buffering_stats
1331 API: gst_query_parse_buffering_stats
1333 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1335 * gst/gstmessage.c: (gst_message_new_error),
1336 (gst_message_new_warning), (gst_message_new_info),
1337 (gst_message_new_buffering), (gst_message_new_state_changed),
1338 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1339 (gst_message_new_new_clock), (gst_message_new_segment_start),
1340 (gst_message_new_segment_done), (gst_message_new_duration),
1341 (gst_message_new_async_start), (gst_message_parse_buffering),
1342 (gst_message_parse_state_changed),
1343 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1344 (gst_message_parse_new_clock), (gst_message_parse_error),
1345 (gst_message_parse_warning), (gst_message_parse_info),
1346 (gst_message_parse_segment_start),
1347 (gst_message_parse_segment_done), (gst_message_parse_duration),
1348 (gst_message_parse_async_start):
1349 Use GstQuark for messages.
1351 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1353 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1355 Add some more quarks needed for messages and queries.
1357 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1359 * docs/design/part-buffering.txt:
1360 Remove the "none" buffering mode, STREAM is a good default.
1361 Move estimated-time to the avail query, that's when it will be needed.
1362 Other small typo fixes and updates.
1364 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1366 * gst/gstindex.c: (gst_index_resolver_get_type):
1367 Don't put descriptions into the nick field of a GEnumValue: it's not
1368 meant for that and some language bindings rely on the nick field to
1369 construct constants and the like. Fixes #526705.
1371 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1376 Merge other changes from 0.10.19 release branch.
1378 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1380 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1383 Actually build dlls when cross-compiling with mingw32.
1386 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1388 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1391 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1393 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1395 * docs/design/draft-latency.txt:
1398 * docs/design/part-buffering.txt:
1399 Update design docs with more buffering ideas.
1401 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1404 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1406 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1409 Revert part that belongs to the preset patch.
1411 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1414 Add qoutes to the define. Fixes # 525961.
1416 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1418 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1419 (gst_file_index_load), (gst_file_index_add_id),
1420 (gst_file_index_get_assoc_entry):
1421 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1422 (gst_mem_index_free_id), (gst_mem_index_add_id),
1423 (gst_mem_index_index_format):
1424 Use GSlice when possible.
1426 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1428 * libs/gst/controller/gstinterpolationcontrolsource.c:
1429 (gst_control_point_free),
1430 (gst_interpolation_control_source_set_internal):
1431 Use GSlice for allocating the control points.
1433 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1435 * plugins/elements/gsttypefindelement.c:
1436 (gst_type_find_element_class_init),
1437 (gst_type_find_element_set_property),
1438 (gst_type_find_element_get_property),
1439 (gst_type_find_element_activate):
1440 * plugins/elements/gsttypefindelement.h:
1442 Fix pad leak when peer query fails.
1443 We can still typefind when the peer returns -1.
1444 Add property to force caps and bypass typefinding. This will be used in
1448 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1453 * gst/glib-compat-private.h:
1454 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1455 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1456 Unconditionally use GSlice for allocation.
1458 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1459 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1460 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1461 (gst_structure_free):
1462 Use GSlice for allocation.
1464 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1466 * gst/parse/Makefile.am:
1467 * gst/parse/grammar.tab.pre.c:
1468 * gst/parse/grammar.tab.pre.h:
1469 * gst/parse/lex._gst_parse_yy.pre.c:
1470 Require a new enough flex and bison and remove the parser hacks to use
1471 a pre-regenerated version.
1473 2008-04-01 Julien Moutte <julien@fluendo.com>
1475 patch by: Jason Zhao <E3423C@motorola.com>
1477 * configure.ac: Add a configure switch to disable option parsing
1481 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1484 * gst/gstregistry.c:
1485 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1486 and handle this case.
1489 Add a comment here describing, why we stat each plugin and not try to
1492 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1494 * libs/gst/base/gstbasetransform.c:
1495 (gst_base_transform_prepare_output_buffer):
1496 Also unset the GAP flag on buffers if we're working inplace but
1497 the element is not GAP-aware.
1499 Mark a comment as FIXME 0.11.
1501 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1504 Fix type in log message and add one to ease seeing how long registry
1505 cache verification takes.
1507 * gst/gstregistry.c:
1508 Only test plugin filenames against G_MODULE_SUFFIX.
1510 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1512 * gst/gstdebugutils.c:
1513 Improve handling ghost/proxy pads.
1515 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1517 * docs/gst/gstreamer-sections.txt:
1520 Expose macro to docs and fix link to it.
1522 2008-03-27 Michael Smith <msmith@fluendo.com>
1524 * libs/gst/dataprotocol/dataprotocol.c:
1525 (gst_dp_packet_from_event_1_0):
1526 When calculating GDP body CRC, use the correct pointer.
1527 Fixes part of #522401.
1529 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1531 Patch by: Mark Nauwelaerts <manauw at skynet be>
1533 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1534 (gst_identity_init), (gst_identity_prepare_output_buffer):
1535 Identity is not always a passthrough element, it can modify the buffer
1536 timestamps when it has a datarate and operates in single-segment mode.
1537 We therefore make it an in_place filter with a custom buffer prepare
1538 function that conditionally makes the input buffer metadata writable
1539 when needed. Fixes #523985.
1541 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1543 Patch by: Mark Nauwelaerts <manauw at skynet be>
1546 * libs/gst/base/gstbasesrc.h:
1547 * libs/gst/base/gstbasetransform.c:
1548 * libs/gst/check/gstcheck.c:
1549 Small documentation fixes. Fixes #523978.
1551 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1553 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1554 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1555 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1557 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1559 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1560 (single_queue_underrun_cb):
1561 When trying to make room in the queue, bump the max allowed buffers
1562 bigger than the current amount of buffers in the queue. this fixes some
1563 nasty deadlocks in multiqueue when dynamically changing the limits of
1566 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1568 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1570 * gst/gstcaps.c: (gst_caps_set_simple),
1571 (gst_caps_set_simple_valist), (gst_caps_intersect):
1573 Constify the field gchar * params in set_simple and friends.
1576 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1578 * gst/gstvalue.c: (gst_value_transform_object_string):
1579 Transform a GstObject to a more meaningfull string that includes the
1580 object type in addition to its name.
1582 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1585 ChangeLog surgery to add bugnumber to commit.
1587 2008-03-23 Rene Stadler <mail@renestadler.de>
1589 * libs/gst/base/gstbasetransform.c:
1590 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1592 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1594 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1595 Rename constant everywhere and don't forget one occurence.
1597 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1599 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1600 Align memory to the pointer size even if the architecture allows
1601 unaligned memory access. Unaligned memory access usually comes with
1602 performance penality.
1604 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1606 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1607 (gst_registry_binary_check_magic),
1608 (gst_registry_binary_load_pad_template),
1609 (gst_registry_binary_load_feature),
1610 (gst_registry_binary_load_plugin):
1611 Align memory to the pointer size instead of always 32 bit. Fixes
1612 unaligned memory accesses on ia64 and friends.
1614 * gst/gstregistrybinary.h:
1615 Bump binary registry format version for this as it changes the
1616 format on those architectures that don't have unaligned access
1617 and 64 bit pointers.
1619 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1621 * docs/pwg/advanced-dparams.xml:
1622 * docs/pwg/building-props.xml:
1623 * docs/pwg/other-source.xml:
1624 * gst/glib-compat.h:
1625 * gst/gstbin.c: (gst_bin_class_init):
1626 * gst/gstclock.c: (gst_clock_class_init):
1627 * gst/gstindex.c: (gst_index_class_init):
1628 * gst/gstobject.c: (gst_object_class_init):
1629 * gst/gstpad.c: (gst_pad_class_init):
1630 * gst/gstpipeline.c: (gst_pipeline_class_init):
1631 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1632 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1633 * libs/gst/base/gstbasetransform.c:
1634 (gst_base_transform_class_init):
1635 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1636 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1637 (_gst_check_fault_handler_sighandler),
1638 (_gst_check_fault_handler_setup), (gst_check_init):
1639 * libs/gst/controller/gstcontroller.c:
1640 (_gst_controller_class_init):
1641 * libs/gst/controller/gstlfocontrolsource.c:
1642 (gst_lfo_control_source_class_init):
1643 * libs/gst/net/gstnetclientclock.c:
1644 (gst_net_client_clock_class_init):
1645 * libs/gst/net/gstnettimeprovider.c:
1646 (gst_net_time_provider_class_init):
1647 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1648 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1649 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1650 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1651 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1652 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1653 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1654 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1655 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1656 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1657 * plugins/elements/gsttee.c: (gst_tee_class_init):
1658 * plugins/elements/gsttypefindelement.c:
1659 (gst_type_find_element_class_init):
1660 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1661 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1662 use it everywhere for GParamSpecs that use static strings (i.e. all).
1663 This gives us less memory usage, fewer allocations and thus less
1664 memory defragmentation. Fixes bug #523806.
1666 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1668 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1669 (gst_param_spec_mini_object):
1670 * gst/gstminiobject.h:
1671 * win32/common/libgstreamer.def:
1672 * docs/gst/gstreamer-sections.txt:
1673 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1674 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1675 GstParamSpecMiniObject into a public header for this.
1677 This make GstMiniObject a bit more consistent with GObject and makes
1678 it possible to extend the param specs.
1680 gst_value_dup_mini_object is mainly useful for set_property methods.
1684 * tools/gst-inspect.c: (print_element_properties_info):
1685 Print something useful for GstMiniObject properties and not just
1688 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1690 * docs/gst/gstreamer-sections.txt:
1691 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1692 (gst_registry_binary_check_magic):
1693 * gst/gstregistrybinary.h:
1694 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1695 and add it to the (private part) of the docs to fix the build.
1697 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1699 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1700 (gst_registry_binary_check_magic),
1701 (gst_registry_binary_read_cache):
1702 * gst/gstregistrybinary.h:
1703 Don't use GST_MAJORMINOR for the binary registry version. Instead
1704 hardcode a value that must be changed whenever the format changes
1705 in an incompatible way.
1706 Also don't GST_ERROR when there is a version mismatch, just
1707 regenerate the registry silently.
1709 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1712 Back to development - 0.10.18.1
1714 === release 0.10.18 ===
1716 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1719 releasing 0.10.18, "So far away"
1721 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1724 * win32/common/config.h:
1725 0.10.17.4 pre-release
1727 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1729 Patch by: Ole André Vadla Ravnås
1730 <ole dot andre dot ravnas at tandberg dot com>
1732 * docs/gst/gstreamer-sections.txt:
1733 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1734 (gst_poll_update_winsock_event_mask),
1735 (gst_poll_prepare_winsock_active_sets),
1736 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1737 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1738 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1739 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1740 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1742 * win32/common/libgstreamer.def:
1743 Add new function gst_poll_fd_ignored() for improved Windows
1745 Various minor fixes and cleanups. See #520808.
1747 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1749 * gst/gstindex.c: (gst_index_entry_free):
1751 Don't free key strings which we don't own. Fixes crash in
1752 gst_index_entry_free() (#522741).
1754 * tests/check/Makefile.am:
1755 * tests/check/gst/.cvsignore:
1756 * tests/check/gst/gstindex.c: (test_index_entries),
1757 (gst_index_suite), (gst_index):
1758 Add unit test for the above.
1760 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1762 * win32/common/libgstreamer.def:
1763 Remove symbols that were removed recently. Fixes bug #521740.
1765 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1768 * win32/common/config.h:
1769 0.10.17.3 pre-release
1771 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1773 Patch by: Ole André Vadla Ravnås
1774 <ole dot andre dot ravnas at tandberg dot com>
1776 * docs/gst/gstreamer-sections.txt:
1777 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1778 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1779 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1780 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1781 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1782 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1783 (gst_poll_fd_can_write), (gst_poll_wait),
1784 (gst_poll_set_controllable), (gst_poll_restart),
1785 (gst_poll_set_flushing):
1787 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1788 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1789 (gst_net_time_provider_new):
1790 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1791 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1792 * tests/benchmarks/gstpollstress.c: (main):
1793 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1794 Remove GstPollMode from the API, it does not make sense to let the
1795 application control this.
1796 Add support for Win32.
1797 Fix the testsuite. Fixes #520671.
1799 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1801 Patch by: Ole André Vadla Ravnås
1802 <ole dot andre dot ravnas at tandberg dot com>
1804 * gst/gstregistrybinary.c:
1805 Include io.h for write() and close() when building with MSVC. Fixes
1808 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1811 * gst/gst_private.h:
1812 * gst/gstconfig.h.in:
1813 * gst/gstregistry.h:
1814 * gst/gstregistrybinary.c:
1815 * win32/common/gstconfig.h:
1816 Move registry backend API to private headers where we can. Add
1817 fixme-0.11 comments for the others. Add stubs for the xml backend when
1818 using the binary to ensure they functions exists (they should not be
1819 used though). Fixes #520756.
1821 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1824 * win32/common/config.h:
1827 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1829 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1830 (gst_registry_binary_read_cache):
1831 * gst/gstregistryxml.c: (gst_registry_save):
1832 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1833 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1834 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1835 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1836 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1839 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1841 * gst/gstminiobject.c:
1842 Import gst_private.h before any other header that might include other
1843 glib headers. This fixes the build on windows using native compilers.
1845 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1847 * win32/common/gstconfig.h:
1848 Add here too, just for completeness.
1850 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1853 * gst/gstconfig.h.in:
1854 * gst/gstregistry.h:
1855 Fix broken use of config.h-defined preprocessor directive in a public
1856 header file. Add a corresponding define to gstconfig.h, since we can't
1857 really remove those function declarations from the header file now
1858 (or can we? and why are they there in the first place?).
1860 2008-03-03 Andy Wingo <wingo@pobox.com>
1862 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1865 * gst/gststructure.c (gst_structure_from_string): Warn if
1866 structure_from_string didn't consume the whole string, but the
1867 caller did not provide an end pointer.
1869 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
1871 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1873 * gst/gstregistryxml.c: (read_string), (load_feature):
1874 Strings allocated by libxml2 should be freed with xmlFree(), not
1875 with g_free(). Fixes issues on windows in certain contexts (#519698).
1877 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
1879 * gst/gstinterface.c: (gst_element_implements_interface):
1880 Don't crash if the element supports the interface queried, but does
1881 not implement GstImplementsInterface. Fixes #519584.
1883 * tests/check/Makefile.am:
1884 * tests/check/gst/.cvsignore:
1885 * tests/check/gst/gstinterface.c:
1886 Add unit test for the above.
1888 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1890 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1893 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1895 * gst/gstsegment.c: (gst_segment_set_seek),
1896 (gst_segment_to_stream_time):
1897 Improve some comment.
1898 Update variables where it makes more sense.
1900 2008-02-29 Rene Stadler <mail@renestadler.de>
1902 * gst/gsturi.c: (gst_uri_handler_get_protocols):
1903 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
1904 URIHandlers implemented using language bindings.
1906 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1908 * gst/gstelementfactory.h:
1909 * tests/check/elements/fakesink.c:
1910 * tests/check/elements/fakesrc.c: (setup_fakesrc):
1911 * tests/check/elements/fdsrc.c: (setup_fdsrc):
1912 * tests/check/elements/filesink.c: (setup_filesink):
1913 * tests/check/elements/filesrc.c: (setup_filesrc):
1914 * tests/check/elements/identity.c: (setup_identity):
1915 * tests/check/elements/tee.c:
1916 * tests/check/generic/sinks.c:
1917 * tests/check/generic/states.c: (setup), (teardown):
1918 * tests/check/gst/gst.c:
1919 * tests/check/gst/gstabi.c:
1920 * tests/check/gst/gstbin.c:
1921 * tests/check/gst/gstbus.c: (pull_messages):
1922 * tests/check/gst/gstcaps.c:
1923 * tests/check/gst/gstelement.c:
1924 * tests/check/gst/gstevent.c:
1925 * tests/check/gst/gstghostpad.c:
1926 * tests/check/gst/gstiterator.c:
1927 * tests/check/gst/gstmessage.c:
1928 * tests/check/gst/gstminiobject.c: (my_foo_init):
1929 * tests/check/gst/gstobject.c: (thread_name_object),
1931 * tests/check/gst/gstpad.c:
1932 * tests/check/gst/gstplugin.c:
1933 * tests/check/gst/gstpoll.c:
1934 * tests/check/gst/gstquery.c:
1935 * tests/check/gst/gstsegment.c:
1936 * tests/check/gst/gststructure.c:
1937 * tests/check/gst/gstsystemclock.c:
1938 * tests/check/gst/gsttask.c:
1939 * tests/check/gst/gstutils.c:
1940 * tests/check/gst/gstvalue.c:
1941 * tests/check/gst/struct_hppa.h:
1942 * tests/check/gst/struct_i386.h:
1943 * tests/check/gst/struct_ppc32.h:
1944 * tests/check/gst/struct_ppc64.h:
1945 * tests/check/gst/struct_x86_64.h:
1946 * tests/check/libs/adapter.c: (create_and_fill_adapter):
1947 * tests/check/libs/basesrc.c:
1948 * tests/check/libs/controller.c: (GST_START_TEST):
1949 * tests/check/libs/gdp.c:
1950 * tests/check/libs/gstnetclientclock.c:
1951 * tests/check/libs/gstnettimeprovider.c:
1952 * tests/check/libs/libsabi.c:
1953 * tests/check/libs/struct_hppa.h:
1954 * tests/check/libs/struct_i386.h:
1955 * tests/check/libs/struct_ppc32.h:
1956 * tests/check/libs/struct_ppc64.h:
1957 * tests/check/libs/struct_x86_64.h:
1958 * tests/check/pipelines/cleanup.c:
1959 * tests/check/pipelines/simple-launch-lines.c:
1960 * tests/check/pipelines/stress.c:
1961 And correct even more valid sparse warnings.
1963 * win32/common/libgstreamer.def:
1964 Add gst_poll_fd_init to the list of symbols.
1966 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1968 * gst/gstconfig.h.in:
1969 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1970 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1971 (gst_check_log_critical_func), (gst_check_drop_buffers),
1972 (gst_check_element_push_buffer_list):
1973 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1974 (gst_controller_get_type):
1975 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1976 (gst_object_get_controller), (gst_object_get_control_source):
1977 * libs/gst/controller/gstinterpolationcontrolsource.c:
1978 (gst_interpolation_control_source_new):
1979 * libs/gst/controller/gstlfocontrolsource.c:
1980 (gst_lfo_control_source_new):
1981 * libs/gst/dataprotocol/dataprotocol.c:
1982 (gst_dp_event_from_packet_0_2):
1983 * plugins/elements/gstfdsrc.c:
1984 * plugins/elements/gstmultiqueue.c:
1985 * plugins/elements/gsttee.c:
1986 * plugins/elements/gsttypefindelement.c:
1987 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
1988 (gst_file_index_add_association):
1989 * plugins/indexers/gstmemindex.c:
1990 * tests/benchmarks/gstpollstress.c: (mess_some_more):
1991 * tests/check/elements/queue.c: (setup_queue):
1992 * tests/check/gst/gstpipeline.c:
1993 * tests/check/libs/collectpads.c: (setup), (teardown),
1994 (gst_collect_pads_suite):
1995 * tests/examples/adapter/adapter_test.c:
1996 * tests/examples/metadata/read-metadata.c: (make_pipeline):
1997 * tests/examples/xml/createxml.c:
1998 * tests/examples/xml/runxml.c:
1999 * tools/gst-inspect.c:
2001 Correct all relevant warnings found by the sparse semantic code
2002 analyzer. This include marking several symbols static, using
2003 NULL instead of 0 for pointers, not using variable sized arrays
2004 on the stack, moving variable declarations to the beginning of
2005 a block and using "foo (void)" instead of "foo ()" for declarations.
2007 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2009 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2010 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2011 Don't reset GstPollFDs, this is not necessary at all.
2013 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2014 (delayed_restart), (delayed_control):
2015 Use GST_POLL_FD_INIT.
2017 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2019 * gst/gstpoll.c: (gst_poll_fd_init):
2023 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2024 Use some more init macros.
2026 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2028 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2029 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2030 Use init macros and functions.
2032 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2034 * docs/gst/gstreamer-sections.txt:
2035 * gst/gstpoll.c: (gst_poll_fd_init):
2037 Add INIT macro and _init method for initializing the GstPollFD.
2039 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2041 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2042 (gst_fd_sink_update_fd):
2043 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2044 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2045 (delayed_restart), (delayed_control):
2046 Initialize some uninitialized variables as spotted by valgrind.
2048 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2050 * tests/benchmarks/Makefile.am:
2051 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2053 Add poll stress test.
2055 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2057 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2059 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2060 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2061 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2062 * plugins/elements/gstfdsink.h:
2063 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2064 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2065 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2066 (gst_fd_src_uri_set_uri):
2067 * plugins/elements/gstfdsrc.h:
2068 Port to GstPoll. See #505417.
2070 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2072 * win32/common/libgstreamer.def:
2073 Add new gst_poll_ symbols to win32 defs.
2075 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2077 * docs/libs/gstreamer-libs-sections.txt:
2078 * libs/gst/net/gstnetclientclock.c:
2079 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2080 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2081 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2082 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2083 * libs/gst/net/gstnetclientclock.h:
2084 * libs/gst/net/gstnettimeprovider.c:
2085 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2086 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2087 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2088 (gst_net_time_provider_new):
2089 * libs/gst/net/gstnettimeprovider.h:
2090 Use a private stuct to not break ABI.
2092 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2094 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2096 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2097 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2098 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2099 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2100 * libs/gst/net/gstnetclientclock.h:
2101 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2102 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2103 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2104 (gst_net_time_provider_new):
2105 * libs/gst/net/gstnettimeprovider.h:
2106 Massive code removal and cleanups because of GstPoll.
2109 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2112 Add checks for poll, ppoll and pselect.
2114 * docs/gst/gstreamer-docs.sgml:
2115 * docs/gst/gstreamer-sections.txt:
2116 Add docs for GstPoll.
2120 * gst/gstpoll.c: (find_index), (selectable_fds),
2121 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2122 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2123 (gst_poll_set_mode), (gst_poll_get_mode),
2124 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2125 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2126 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2127 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2128 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2129 (gst_poll_fd_can_write), (gst_poll_wait),
2130 (gst_poll_set_controllable), (gst_poll_restart),
2131 (gst_poll_set_flushing):
2133 Add generic poll abstraction. We ideally don't want to have this in core
2134 here but in glib intead...
2135 This code will be used in various network elements and ultimately for
2136 the nanosecond precision monotonic clock (that's why it's here in core).
2137 It'll allow us to implement cancelable socket operations for windows too.
2139 * tests/check/Makefile.am:
2140 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2141 (delayed_stop), (delayed_restart), (delayed_flush),
2142 (delayed_control), (gst_poll_suite):
2143 Add GstPoll unit test.
2145 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2148 Improve documentation of gst_filter_run(). Fixes #518627.
2150 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2153 Add a few lines about the new 'check-inspected-versions' target.
2155 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2157 * tests/check/gst/gstevent.c:
2158 Add qos to the event test. Rename tcase/tsuite; is not only about
2161 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2163 * plugins/elements/gstqueue.c:
2164 Ensure that buffer metadata is writeable, before modifying. Spotted by
2167 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2169 * plugins/elements/gstqueue.c:
2170 * plugins/elements/gstqueue.h:
2171 When dropping buffers in leaky modes, mark next buffers we sent as
2174 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2176 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2177 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2179 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2181 * plugins/elements/Makefile.am:
2182 * plugins/elements/gstbufferstore.c:
2183 * plugins/elements/gstbufferstore.h:
2184 * plugins/elements/gsttypefindelement.h:
2185 Remove GstBufferStore, no idea why we were still building it.
2186 It's not used anywhere and superseded by GstAdapter.
2188 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2189 (gst_file_src_create_mmap):
2190 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2191 Printf format fixes for 64-bit integers.
2193 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2196 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2197 We're not in 0.8 times anymore.
2199 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2201 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2202 (gst_check_element_push_buffer_list):
2203 * libs/gst/check/gstcheck.h:
2204 Make the declaration in the header for
2205 gst_check_element_push_buffer_list match the implementation.
2207 Fix up spelling, grammar and wording of the documentation in a few
2208 places, and add the Since keyword to new API functions.
2209 Use g_list_delete_link instead of g_list_remove in
2210 gst_check_drop_buffers, since it's immeasurably more efficient.
2212 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2213 Use new gst_check_drop_buffers function where appropriate.
2215 * win32/common/libgstbase.def:
2216 * win32/common/libgstreamer.def:
2217 Add new symbols gst_collect_pads_take_buffer,
2218 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2221 Changelog surgery to add API keyword to new gst_check API.
2223 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2225 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2226 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2227 Update pre-generated flex files with flex 2.3.34.
2229 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2231 * gst/gstminiobject.c:
2232 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2233 friendly to subclasses and not require them to know all internals
2234 of their parent class.
2236 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2238 * docs/libs/gstreamer-libs-sections.txt:
2239 * libs/gst/base/gstcollectpads.c:
2240 * libs/gst/base/gstcollectpads.h:
2241 Add sub-buffer functions to collectpads. Fixes #516187.
2242 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2244 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2247 Copy selected buffer-flags when creating subbuffers.
2250 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2252 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2253 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2254 * gst/gstmessage.c: (gst_message_class_init),
2255 (gst_message_finalize):
2256 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2257 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2258 (gst_mmap_buffer_finalize):
2259 Properly chain up finalize functions to the parent class.
2261 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2263 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2265 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2266 (gst_index_set_resolver_full):
2268 Add new function with option to dispose of user_data in resolver.
2269 Actually call the dispose function when finalizing the object and not
2270 just when changing the resolver/filter.
2271 API: GstIndex::gst_index_set_resolver_full()
2273 * docs/gst/gstreamer-sections.txt:
2274 Add new function to docs. Fixes #515469.
2276 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2278 * gst/gstindex.c: (gst_index_finalize):
2279 Chain up finalize to the parent class. Fixes leaking the GstObject
2280 name and other things.
2282 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2285 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2286 pre-releases or releases.
2288 * docs/faq/gst-uninstalled:
2291 * docs/random/release:
2292 Change one of the steps - we only upload core & base to Gnome FTP
2294 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2296 * gst/gstconfig.h.in:
2297 Add 'id' for example.
2301 * plugins/elements/gstfdsink.c:
2302 Link to signals. Doc and comment fixes.
2304 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2306 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2307 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2308 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2309 unused and unimplemented; finally, it is plugin features, not
2310 plugins, that have ranks.
2312 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2314 * gst/gstpluginfeature.h:
2315 Clarify GstRank range docs.
2317 2008-02-05 David Schleef <ds@schleef.org>
2319 * gst/gst.c: Add a separate gst_deinitialized that prevents
2320 gst_init() from being called after gst_deinit(). Fixes #509559
2322 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2324 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2325 (gst_bin_class_init):
2326 * gst/gstelement.c: (gst_element_base_class_init),
2327 (gst_element_class_add_pad_template):
2328 * gst/gstpadtemplate.c: (gst_pad_template_init):
2329 * gst/gstpipeline.c: (gst_pipeline_get_type),
2330 (gst_pipeline_base_init), (gst_pipeline_class_init):
2331 * libs/gst/base/gstbasesink.c:
2332 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2333 (gst_base_src_base_init), (gst_base_src_class_init):
2334 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2335 (gst_capsfilter_class_init):
2336 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2337 (gst_fake_sink_class_init):
2338 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2339 (gst_fake_src_class_init):
2340 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2341 (gst_fd_sink_class_init):
2342 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2343 (gst_fd_src_class_init):
2344 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2345 (gst_file_sink_class_init):
2346 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2347 (gst_file_src_class_init):
2348 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2349 (gst_identity_class_init):
2350 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2351 (gst_multi_queue_class_init):
2352 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2353 (gst_queue_class_init):
2354 * plugins/elements/gsttee.c: (gst_tee_base_init),
2355 (gst_tee_class_init):
2356 * plugins/elements/gsttypefindelement.c:
2357 (gst_type_find_element_base_init),
2358 (gst_type_find_element_class_init):
2359 * tests/check/gst/gstelement.c: (gst_element_suite):
2360 Revert previous changes to the behaviour of GstPadTemplates, etc
2361 and the possiblity to call them in class_init as it breaks too
2362 many elements. Reopens bug #491501.
2364 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2367 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2369 * tools/gst-launch.c:
2370 Dump one graph per pipeline state-change and state change name
2371 (if GST_DEBUG_DUMP_DOT_DIR is set).
2373 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2376 * tests/check/gst/gstpad.c:
2377 Be sure that we have a new copy of the caps and not
2378 reffed caps from a template
2380 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2382 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2383 * gst/gstpipeline.c: (gst_pipeline_get_type),
2384 (gst_pipeline_class_init):
2385 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2386 (gst_base_sink_class_init):
2387 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2388 (gst_base_src_class_init):
2389 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2390 (gst_base_transform_class_init):
2391 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2392 (gst_collect_pads_class_init):
2393 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2394 * libs/gst/net/gstnettimeprovider.c:
2395 (gst_net_time_provider_base_init),
2396 (gst_net_time_provider_class_init):
2397 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2398 (gst_capsfilter_class_init):
2399 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2400 (gst_fake_sink_class_init):
2401 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2402 (gst_fake_src_class_init):
2403 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2404 (gst_fd_sink_class_init):
2405 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2406 (gst_fd_src_class_init):
2407 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2408 (gst_file_sink_class_init):
2409 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2410 (gst_file_src_class_init):
2411 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2412 (gst_identity_class_init):
2413 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2414 (gst_multi_queue_class_init):
2415 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2416 (gst_queue_class_init):
2417 * plugins/elements/gsttee.c: (gst_tee_base_init),
2418 (gst_tee_class_init):
2419 * plugins/elements/gsttypefindelement.c:
2420 (gst_type_find_element_base_init),
2421 (gst_type_find_element_class_init):
2422 Don't use base_init where not absolutely necessary. For example it's
2423 not necessary anymore for adding pad templates or setting element
2426 Leave empty base_init functions in several places as GST_BOILERPLATE
2427 still defines and uses them.
2429 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2431 * gst/gstelement.c: (gst_element_base_class_init),
2432 (gst_element_class_add_pad_template):
2433 * gst/gstpadtemplate.c:
2434 Make it possible (and recommended) to set element details and add
2435 pad templates in the class_init functions by copying the details/pad
2436 templates in GstElement's base_init.
2438 Also make it possible to replace existing pad templates by adding
2439 a new one with the same name. This was done in a hackish fashion
2440 in same elements before already.
2442 Don't reference pad templates that are added a second time. A
2443 new pad template has a refcount of one and is not floating anymore
2444 and to be owned by the element's class. Make this more explicit by
2445 mentioning it in the docs of gst_element_class_add_pad_template().
2447 These changes are backwards compatible. Fixes bug #491501.
2449 * tests/check/gst/gstelement.c:
2450 Add unit test for setting element details, adding pad templates and
2451 replacing them in a subclass.
2453 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2455 * tools/gst-inspect.c: (print_interfaces),
2456 (print_element_properties_info), (print_pad_info),
2457 (print_signal_info), (print_element_info):
2458 Fix a few memory leaks.
2460 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2462 * docs/libs/gstreamer-libs-sections.txt:
2463 * libs/gst/check/gstcheck.c:
2464 * libs/gst/check/gstcheck.h:
2465 Add more functions for unit testing: gst_check_drop_buffers,
2466 gst_check_caps_equal, gst_check_element_push_buffer_list,
2467 gst_check_element_push_buffer
2468 API: gst_check_drop_buffers
2469 API: gst_check_caps_equal
2470 API: gst_check_element_push_buffer_list
2471 API: gst_check_element_push_buffer
2473 2008-02-01 Julien Moutte <julien@fluendo.com>
2475 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2476 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2477 (gst_index_finalize), (gst_index_entry_free),
2478 (gst_index_add_association): Fix memory leaks.
2479 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2480 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2481 (gst_mem_index_free_format), (gst_mem_index_free_id),
2482 (gst_mem_index_finalize): Fix memory leaks.
2483 * win32/common/config.h: Updated to CVS HEAD.
2485 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2488 Some more details about how the plugin docs works.
2490 * docs/plugins/gstreamer-plugins-sections.txt:
2493 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2495 * gst/parse/grammar.tab.pre.c:
2496 * gst/parse/grammar.tab.pre.h:
2497 * gst/parse/grammar.y:
2498 * gst/parse/lex._gst_parse_yy.pre.c:
2499 Add delayed set-property. This allows to set properties on dynamicaly
2500 created objects (pads in videomxer). Fixes #509391.
2502 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2505 Check if caps are not NULL (fix bug #510194)
2507 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2509 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2510 (gst_base_sink_get_position_paused):
2511 Add fixme regarding EOS in pull mode.
2512 Fix position reporting in PAUSED for negative rates.
2514 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2516 * gst/gstminiobject.c: (gst_mini_object_replace):
2517 When replacing a miniobject, do a quick equality check first so that we
2518 can avoid a ref/unref pair.
2520 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2522 * docs/design/part-synchronisation.txt:
2525 * docs/plugins/Makefile.am:
2526 * docs/plugins/gstreamer-plugins-docs.sgml:
2527 * docs/plugins/gstreamer-plugins-sections.txt:
2528 * plugins/elements/gstmultiqueue.c:
2529 Add multiqueue to the docs.
2531 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2536 === release 0.10.17 ===
2538 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2541 releasing 0.10.17, "Due Negligence"
2543 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2546 Revert caps != NULL check temporarily for 0.10.17 release.
2548 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2551 Check if caps are not NULL (fix bug #510194)
2553 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2556 Fix compilation on systems that have posix timers but no
2559 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2562 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2564 * tools/gst-inspect.c:
2565 Revert previous commit in preparation for an impromptu 0.10.17 release
2567 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2569 * tools/gst-inspect.c: (print_interfaces),
2570 (print_element_properties_info), (print_pad_info),
2571 (print_signal_info), (print_element_info):
2572 Fix a few memory leaks.
2574 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2579 === release 0.10.16 ===
2581 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2584 releasing 0.10.16, "Special Dispensation"
2586 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2589 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2590 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2591 not fail when trying to crosscompile on OpenEmbedded (#511750).
2593 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2596 Use $(MAKE) instead of make to fix the build if GNU make is
2597 called different. Fixes bug #510747.
2599 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2601 * gst/gstplugin.c: (_gst_plugin_initialize):
2602 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2603 again, which I broke two commits ago when changing the API
2604 of gst_plugin_register_static(): the g_list_foreach() in
2605 _gst_plugin_register_static still assumed the old function
2606 signature and would therefore fail (re-fixes #510187).
2608 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2609 (_gst_plugin_register_static), (gst_plugin_register_static):
2610 Revert the (technically correct) change to call g_thread_init() from
2611 the pre-main() constructor. This will break programs which call
2612 g_thread_init() without an if (!g_thread_supported()) guard in their
2613 main function. We could just blame it on GLib or the application, but
2614 it's probably best to just avoid this altogether and simply not use
2615 any GLib functions here and use plain old malloc() with a simple
2616 array to store the plugins to register later when gst_init() is
2617 finally called (re-fixes #510187).
2619 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2620 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2621 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2622 (GST_START_TEST), (gst_plugin_suite):
2623 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2626 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2628 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2629 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2630 This makes gtk-doc complain, but results in slightly better
2631 compiler errors. The old _gst_plugin_register_static() is
2632 still guarded, so there'll be a compiler warning about that
2633 instead. Fixes #510187 too.
2635 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2637 * gst/gst.c: (init_post):
2638 * gst/gstplugin.c: (_gst_plugin_register_static),
2639 (gst_plugin_register_static), (_gst_plugin_initialize):
2640 * gst/gstplugin.h: (GstPluginFilter):
2641 Change API of gst_plugin_register_static() to not take
2642 a GstPluginDesc, but rather just take all the arguments
2643 in a GstPluginDesc directly. This is more intuitive and
2644 avoids certain mistakes when porting code from
2645 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2648 * tests/check/gst/gstplugin.c:
2649 Fix up for changed API.
2651 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2653 * docs/faq/legal.xml:
2654 Update FAQ, Totem actually has an exception these days.
2656 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2658 * win32/common/libgstreamer.def:
2659 Add new API declarations
2661 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2663 * gst/gstminiobject.c:
2664 Spelling fixes for the API docs.
2666 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2668 * libs/gst/base/gstbasetransform.c:
2669 Fix long property description for QoS.
2671 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2674 _gst_trace_on is already provided by gsttrace.h, no need to declare
2677 * docs/libs/gstreamer-libs-sections.txt:
2678 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2679 and remove strange tcase_add_test which is outputting a warning.
2681 * libs/gst/check/gstcheck.c:
2682 * libs/gst/check/gstcheck.h:
2683 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2684 and define them in gstcheck.c instead of having every .c file whcih
2685 includes gstcheck.h be defining its own copy and relying on symbol
2686 interposing to marry them all, which doesn't work on Solaris.
2688 * tests/check/elements/identity.c: (GST_START_TEST):
2689 Don't define 'buffers' locally, it comes from libgstcheck.
2691 * tests/check/generic/sinks.c: (send_buffer):
2692 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2694 * tests/check/gst/gststructure.c: (GST_START_TEST):
2695 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2696 * tests/check/gst/gstutils.c: (GST_START_TEST):
2697 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2698 Add a bunch of casts to make various constants fit the types
2699 they're being assigned to.
2701 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2703 * gst/gstchildproxy.c:
2704 Improve docs and add some ideas for making this more general-purpose.
2706 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2708 * gst/gst_private.h: (GST_CAT_TYPES):
2709 Add GST_CAT_TYPES, for consistency, and so that the other
2710 debug categories don't make fun of it. Spotted by Saur on IRC.
2712 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2714 * gst/parse/Makefile.am:
2715 Move types.h from EXTRA_DIST to noinst_HEADERS.
2717 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2720 Add -Wno-portability to the automake parameters to stop warnings
2721 about GNU make extensions being used. We require GNU make in almost
2722 every Makefile anyway.
2725 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2726 at the same time is required for per target flags.
2728 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2731 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2732 __GNUC__ is defined before using it.
2734 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2736 * docs/gst/gstreamer-sections.txt:
2737 * gst/gst.c: (init_post):
2738 * gst/gstplugin.c: (_gst_plugin_register_static),
2739 (gst_plugin_register_static), (_gst_plugin_initialize),
2740 (gst_plugin_register_func):
2741 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2742 API: add gst_plugin_register_static() and deprecate
2743 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2745 Also, in _gst_plugin_register_static(), make sure to call
2746 g_thread_init() before calling GLib functions such as
2747 g_list_append() if we're not initialised yet, since that
2748 may lead to random crashes with older GSlice/GLib versions.
2750 * tests/check/gst/gstplugin.c:
2751 Adapt unit test to above changes.
2753 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2755 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2756 * gst/gstcaps.c: (gst_caps_to_string):
2757 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2758 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2759 Yet another gratuitous GString micro-optimisation: add a (private)
2760 function that serialises a structure appending to an existing
2761 GString, so that when we serialise caps we don't need to alloc+free
2762 a throwaway GString for each structure (each of which also entailing
2763 multiple reallocs on the way); also use g_string_sized_new() in
2764 various places with an approximate string length to avoid reallocs
2765 within GString. See #500143.
2767 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2769 * gst/gststructure.c: (gst_structure_id_set_value):
2770 Always check UTF-8 conformance of structure strings and not only
2771 if the debugging system is enabled; reasoning: the behaviour of
2772 the actual code shouldn't really change depending on whether the
2773 debugging system is enabled or not (#508291).
2775 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2778 Remove old coverage target in favour of "make lcov".
2780 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2782 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2783 (gst_base_src_loop):
2784 The start segment for reverse playback goes from start to last_stop.
2786 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2788 Patch by: Peter Kjellerstedt <pkj axis com>
2791 Cast the results from the timeval/spec_to_time macros to what the
2792 docs say it casts to, a GstClockTime. fixes #508175.
2794 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2797 Update some comments.
2799 * tools/gst-inspect.c: (print_element_properties_info):
2800 Improve printing of flags.
2802 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2804 * libs/gst/base/gstbasetransform.c:
2805 (gst_base_transform_transform_size):
2806 Print element name with g_warning() if there's a problem
2809 2008-01-07 David Schleef <ds@schleef.org>
2811 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2813 * libs/gst/controller/gstcontroller.h:
2814 * libs/gst/controller/gstcontrolsource.h:
2815 * libs/gst/controller/gstinterpolationcontrolsource.h:
2816 * libs/gst/controller/gstlfocontrolsource.h:
2817 * libs/gst/dataprotocol/dataprotocol.h:
2818 Fix empty prototypes. Fixes bug #507957.
2820 2008-01-07 David Schleef <ds@schleef.org>
2822 * docs/faq/dependencies.xml: Fix typo.
2824 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2826 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2827 (gst_base_src_loop):
2828 Don't update the last_stop position in do_seek, that's the position we
2830 Read backwards when we have a negative rate.
2832 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2833 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2835 Add check for reverse reading.
2837 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2839 Patch by: Alexis Ballier <aballier at gentoo org>
2841 * tests/check/gst/gstabi.c:
2842 * tests/check/gst/struct_ppc64.h:
2843 * tests/check/libs/libsabi.c:
2844 * tests/check/libs/struct_ppc64.h:
2845 Decide which header to include based on the userland ABI target
2846 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2847 for 64-bit userland (#503590). Might need something similar for
2850 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2852 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2853 Log the reason why fopen fails in addition to the fact that it failed.
2855 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2857 * gst/parse/parse.l:
2858 Use "%option never-interactive" to prevent useless calls to isatty()
2859 on every input when parsing. Also use "%option noinput" to not define
2860 the static input/yyinput functions which we don't use anyway. This
2861 removes a compiler warning with gcc 4.3 and saves some bytes in the
2864 * gst/parse/lex._gst_parse_yy.pre.c:
2865 Regenerated for the above change.
2867 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2869 * gst/gstpad.c: (fixate_value):
2870 Don't crash when trying to fixate and empty list.
2873 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
2875 * docs/faq/gst-uninstalled:
2876 Clarify the comments to make the usage of this script and what it
2877 does easier to understand.
2879 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
2881 * tools/gst-plot-timeline.py:
2882 Add more options to gst-plot-timeline
2884 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
2886 * docs/design/part-synchronisation.txt:
2887 Some more info on how the stream_time in GstBaseSink is done.
2889 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
2891 * tests/check/generic/sinks.c: (gst_sinks_suite):
2892 Put back the tcase_set_timeout(), apparently it's needed after
2893 all; fix it up in a way that makes things work with valgrind too.
2895 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
2897 * gst/gstdebugutils.c:
2898 Add warning when failed to open file for writing.
2900 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2902 Based on patch by: Laurent Glayal <spglegle yahoo fr>
2904 * gst/gstvalue.c: (gst_value_is_fixed):
2905 Optimisation: bail out of the loop as early as possible (#500143).
2907 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2909 * gst/gstcaps.c: (gst_caps_to_string):
2910 * gst/gstinfo.c: (gst_debug_construct_term_color):
2911 * gst/gstparse.c: (gst_parse_launchv):
2912 * gst/gstutils.c: (gst_util_dump_mem):
2913 * gst/gstvalue.c: (gst_value_serialize_any_list),
2914 (gst_value_transform_any_list_string):
2915 Bunch of gratuitous nano-optimisations.
2917 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2919 * tests/check/generic/sinks.c: (async_done_func),
2920 (async_done_eos_func):
2921 Fix leak in unit test (bus sync handler must unref the message
2922 if it returns GST_BUS_DROP). Don't fiddle with the default test
2923 timeout, this is smaller than the current preconfigured value
2924 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2925 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2927 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
2929 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2932 Check for stdio_ext.h for the filesink changes.
2934 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2935 (gst_file_sink_class_init), (gst_file_sink_init),
2936 (gst_file_sink_dispose), (gst_file_sink_set_property),
2937 (gst_file_sink_get_property), (gst_file_sink_open_file),
2938 (gst_file_sink_close_file):
2939 * plugins/elements/gstfilesink.h:
2940 Add two properties to control the buffering mode and size.
2941 API: GstFileSink::buffer-mode
2942 API: GstFileSink::buffer-size
2945 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
2947 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2948 Add some more docs to explain why a FIXME was wrongly added.
2950 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
2953 Fix typo in the gst_object_{ref,unref} documentation.
2955 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
2957 * tests/check/libs/controller.c:
2958 * tests/check/libs/typefindhelper.c:
2959 * tests/check/pipelines/parse-launch.c:
2960 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2961 going to be deprecated (see #498924).
2963 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
2965 * gst/gsttypefind.c: (gst_type_find_register):
2966 Make gst_type_find_register work for static typefind functions,
2967 ie. allow passing plugin == NULL (prerequisite for #498924).
2969 * gst/gstelementfactory.c: (gst_element_register):
2970 Small docs addition.
2972 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
2974 * gst/gstpad.c: (gst_pad_dispose):
2975 Really unlink the peer pad instead of setting the peer pointer to NULL
2976 when we dispose the pad.
2977 This correctly calls the unlink functions and makes sure that the peer
2978 does not have a handle to invalid memory. See #504671.
2980 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2981 Add testsuite for above case.
2983 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
2985 Patch by: Peter Kjellerstedt <pkj axis com>
2987 * libs/gst/check/gstcheck.h:
2988 Fix detection of the check version we're compiling against (would
2989 otherwise break if check goes v0.10.0); correctly report the
2990 name of the failed test again in case of failure, instead of
2991 just 'tf' (fixes #504499).
2993 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
2995 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2996 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2997 (gst_base_src_loop), (gst_base_src_set_flushing),
2998 (gst_base_src_change_state):
2999 Allow sending EOS to the source to make it send out an EOS event from
3000 the streaming thread.
3001 Update docs and deprecate the old NULL/READY shutdown method.
3003 * tests/check/libs/basesrc.c: (GST_START_TEST),
3004 (gst_basesrc_suite):
3005 Add unit test for controlled shutdown.
3007 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3009 * docs/design/part-synchronisation.txt:
3012 * gst/gstsegment.c: (gst_segment_set_seek),
3013 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3014 (gst_segment_to_running_time):
3015 The seek format can be different from the segment format when the start
3016 and stop values are not to be updated, when we only do a rate change for
3019 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3020 (gst_segment_suite):
3021 Add a testcase for the rate-only seeks, checking that the format is
3022 correctly ignored when start and stop are not updated.
3024 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3026 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3028 * win32/vs8/grammar.vcproj:
3029 * win32/vs8/libgstcontroller.vcproj:
3030 * win32/vs8/libgstreamer.vcproj:
3031 Fix compilation with VS8 and include some missing files.
3033 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3036 Small docs addition: mention that the strings returned by
3037 gst_tag_list_get_string*() are in UTF-8 encoding.
3039 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3042 The check-exports stuff moved to common/win32.mak, so include that.
3044 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3046 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3047 (gst_base_src_perform_seek), (gst_base_src_get_range),
3048 (gst_base_src_set_playing), (gst_base_src_change_state):
3049 Make _wait_playing() not check any variables so that we can call this
3050 function from subclasses. Move the checks elsewhere similar to
3051 _wait_preroll() in basesink.
3053 Only signal the LIVE cond when we are going back to PLAYING.
3055 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3057 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3058 Use g_remove() and g_rename(). Check result of g_rename(), and
3059 don't leak the open file descriptor if we error out when writing.
3061 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3062 Must check the return value of close() after writing out the new
3063 registry file. Sometimes write problems such as out-of-diskspace
3064 are only reported when the file is closed and not already during
3065 the write. This may have caused partial/broken registry files in
3066 some rare circumstances. Should fix #503675.
3068 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3070 * docs/gst/.cvsignore:
3071 * docs/libs/.cvsignore:
3072 * docs/plugins/.cvsignore:
3073 Ignore files generated by new common/* modifications
3075 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3077 * win32/common/libgstbase.def:
3078 Yes, you can also have a <TAB> if you want.
3080 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3082 * win32/common/libgstbase.def:
3083 Add new basetransform API to win export file.
3085 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3087 * tests/check/gst/gstbin.c:
3088 Adjust the test to the refcount change two days ago.
3090 2007-12-14 David Schleef <ds@schleef.org>
3092 * docs/faq/getting.xml: Fix typo.
3094 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3096 * docs/libs/gstreamer-libs-sections.txt:
3097 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3098 (gst_base_transform_prepare_output_buffer),
3099 (gst_base_transform_set_gap_aware):
3100 * libs/gst/base/gstbasetransform.h:
3101 API: Add gst_base_transform_set_gap_aware() to control whether
3102 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3103 get buffers with this flag at all. Fixes #503231.
3105 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3107 * libs/gst/base/gstbasesink.c:
3108 * libs/gst/base/gstbasesrc.c:
3109 * libs/gst/base/gstbasetransform.c:
3110 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3111 thread. Correct log message in gstbasesrc.c.
3113 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3115 * gst/gstutils.c: (element_find_unconnected_pad):
3116 Fix possible compiler warning (#503417).
3118 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3120 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3121 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3123 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3125 * tools/gst-inspect.c: (print_element_properties_info):
3126 Add support for GstFraction properties.
3128 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3131 Add check-exports target and run it as part of 'make check'
3132 (see #499140 and #493983).
3134 * gst/gst_private.h:
3135 * gst/gstelementfactory.h:
3136 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3137 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3138 (_priv_gst_in_valgrind):
3139 * gst/gstinfo.h: (GstLogFunction):
3140 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3141 (gst_type_find_register):
3142 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3143 (gst_type_find_factory_get_type):
3144 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3145 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3146 (gst_controller_new_valist), (gst_controller_new_list),
3147 (_gst_controller_dispose), (_gst_controller_class_init):
3148 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3149 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3150 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3151 (gst_object_get_controller), (gst_object_set_controller),
3152 (gst_object_suggest_next_sync), (gst_object_sync_values),
3153 (gst_object_set_control_source), (gst_object_get_control_source),
3154 (gst_object_get_value_arrays), (gst_object_get_value_array),
3155 (gst_object_get_control_rate), (gst_object_set_control_rate):
3156 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3157 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3158 Make some functions that should be static static; rename some
3159 private symbols so that they don't get exported; add some FIXME
3160 comments so we can move accidentally exported functions into
3161 our private section in 0.11.
3163 * win32/common/libgstreamer.def:
3164 Add gst_utils_get_timestamp().
3166 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3170 Add more missing "Since:" tags to docs.
3172 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3175 Add mising "Since:" to docs.
3177 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3180 Include "glib-compat-private.h" to fix the build on system with
3181 glib < 2.10. Fixes #503131.
3183 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3187 Actually its not PURE as it gets the time from elsewhere.
3189 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3191 * docs/gst/gstreamer-sections.txt:
3193 * gst/gstdebugutils.c:
3197 * libs/gst/base/gstbasesink.c:
3198 * tools/gst-launch.c:
3199 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3200 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3201 Thanks Tim for spotting.
3202 API: gst_util_get_timestamp
3204 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3207 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3209 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3211 * gst/gststructure.c: (gst_structure_validate_name),
3212 (gst_structure_new_valist), (gst_structure_parse_value),
3213 (gst_structure_from_string):
3214 Don't crash in _from_string() if the structure name is not valid
3215 (fixes #501560). Allow structure names to start with a number
3216 again (this apparently broke the ubuntu codec installer).
3218 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3220 Add unit test for the crash; update unit tests for new behaviour.
3222 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3225 Clarify gst_element_get_compatible_pad() documentation.
3228 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3230 * tests/check/Makefile.am:
3231 Don't forget to dist {gst,libs}/struct_hppa.h.
3233 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3235 * libs/gst/base/gstbasesink.c:
3236 Use new API to get elapsed time.
3238 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3240 * gst/gstdebugutils.c:
3242 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3244 * tools/gst-launch.c:
3245 Use new API to get elapsed time.
3247 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3249 * docs/gst/gstreamer-sections.txt:
3251 * gst/gstdebugutils.c:
3253 Rename new API + ChangeLog surgery to remove old name from last entry..
3255 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3257 * docs/gst/gstreamer-sections.txt:
3259 * gst/gstdebugutils.c:
3261 Now hide the different clock stuff behind a macro.
3263 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3266 * gst/gstdebugutils.c:
3268 Apply the posix-timer check from #361155. Conditionally use the posix
3269 timer for logging. This gives better timestamp precission, less
3270 overhead and no ntp jitter.
3272 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3274 * gst/gstminiobject.c: (gst_mini_object_get_type),
3275 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3276 (gst_mini_object_finalize), (gst_mini_object_copy),
3277 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3278 (gst_mini_object_replace), (param_mini_object_validate),
3279 (gst_param_spec_mini_object_get_type):
3280 Some cleanup and checking against invalid function parameters.
3282 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3284 * docs/gst/gstreamer-sections.txt:
3286 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3287 (gst_systemclock_suite):
3288 Start merging in the easy bits of #361155, the monotonic clock patch.
3289 This one adds a few handy macros with docs and a testsuite.
3291 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3293 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3294 Be a bit smarter when seeking, like, don't try to do a seek when it's
3295 not needed. This avoids errors when the file is not seekable.
3298 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3300 * docs/gst/gstreamer-docs.sgml:
3301 * docs/gst/gstreamer-sections.txt:
3302 * docs/gst/gstreamer.types.in:
3307 * plugins/elements/gstqueue.c:
3308 Due to popular request remove preset interface again. :-(.
3310 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3312 * tools/gst-inspect.c:
3313 Print 'default value' for enums and flags too.
3315 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3317 * docs/random/ensonic/profiling.txt:
3321 Fix typo and give better log output.
3323 * gst/gstdebugutils.c:
3324 * gst/gstdebugutils.h:
3325 More ideas, make graphs a bit smaller and fix param name in macro.
3327 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3330 Try harder to use the return value from fgets().
3332 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3335 For theses two fgets we handle the error below.
3337 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3339 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3340 Only send upstream events upstream. Fixes #498746.
3342 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3344 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3346 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3347 (gst_identity_init), (gst_identity_transform_ip),
3348 (gst_identity_set_property), (gst_identity_get_property):
3349 * plugins/elements/gstidentity.h:
3350 Add property to disable handoff signal emission. Fixes #498694.
3351 API: GstIdentity::signal-handoffs
3353 2007-11-21 Julien Moutte <julien@fluendo.com>
3355 * docs/faq/gst-uninstalled: Yet another missing library for the
3356 uninstalled script (fft)
3358 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3360 * docs/faq/developing.xml:
3361 Add a question about how to submit new translations.
3363 * docs/random/release:
3364 Update the contact email address for the Translation Project
3366 * plugins/elements/gstfdsrc.c:
3367 The parent_class for fdsrc is pushsrc, not GstElement.
3369 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3372 Plug a leak and fix saving.
3374 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3376 * docs/gst/gstreamer-sections.txt:
3377 Add new gst_preset__get_property_names() function to the docs
3380 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3384 Change _get_preset_names API to return a strv with copies. Add
3385 _get_property_names to allow implementations to filter and provide
3386 good default implementation.
3388 2007-11-20 Julien MOUTTE <julien@moutte.net>
3390 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3393 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3396 More cleanups, docs, and TODOs from comments that now slowly come in.
3398 2007-11-19 Julien MOUTTE <julien@moutte.net>
3400 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3403 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3406 Fix bogus warning and make the property type specific code more
3409 2007-11-19 Julien MOUTTE <julien@moutte.net>
3411 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3414 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3416 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3417 (gst_bin_add_func), (gst_bin_remove_func),
3418 (gst_bin_change_state_func), (gst_bin_continue_func):
3419 Change email, cleanups add some more debug and comments.
3420 Also set bus and clock on new elements when the pipeline was in error.
3422 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3425 * gst/gstdebugutils.c:
3426 Fix build with --disable-gst-debug. Fixes #497859.
3427 Spotted by Sameer Naik.
3429 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3432 Little documentation improvment.
3435 More TODO cleanups. Remove c++ comments.
3437 * libs/gst/controller/gstcontroller.c:
3438 Add TODO and use quark from static string.
3440 * tests/check/gst/gstmessage.c:
3441 * tests/check/gst/gststructure.c:
3442 Use quark from static string.
3444 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3447 Add some comments and TODOs.
3450 Add padding for future changes.
3452 * plugins/elements/gstqueue.c:
3453 Implement the iface.
3455 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3457 * docs/gst/gstreamer-docs.sgml:
3458 * docs/gst/gstreamer-sections.txt:
3459 * docs/gst/gstreamer.types.in:
3464 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3466 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3472 === release 0.10.15 ===
3474 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3477 releasing 0.10.15, "October"
3479 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3481 * win32/vs6/libgstreamer.dsp:
3482 Convert line endings back to DOS.
3484 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3486 * docs/design/draft-tagreading.txt:
3487 * docs/random/ensonic/profiling.txt:
3488 Update fast tagreading draft and performance profiling ideas.
3490 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3492 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3493 Don't hold the object lock when unreffing a buffer because it could
3494 cause a deadlock when the finalize function wants to grab the object
3495 lock too. Fixes #495133.
3497 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3499 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3500 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3501 Also accumulate time correctly when doing reverse playback. Fixes
3503 When converting to running and stream time, use default values for
3504 start/stop/time/accum when comparing different formats. Fixes #494245.
3506 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3507 Do running/stream time in TIME format.
3509 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3510 (gst_segment_suite):
3511 2 new unit tests for segment accumulation.
3513 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3515 * gst/gst.c: (init_pre):
3516 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3517 (_gst_debug_bin_to_dot_file):
3518 Move getenv() back into gst_init, so everyone can live happily
3519 ever after. Make sure the symbol isn't exported though.
3521 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3523 Patch by: Sebastien Moutte <sebastien moutte net>
3525 * win32/common/gstenumtypes.c:
3526 * win32/common/gstenumtypes.h:
3529 * win32/vs6/libgstreamer.dsp:
3530 Update vs6 project files (#494343).
3532 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3534 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3535 (gst_base_src_perform_seek), (gst_base_src_default_event),
3536 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3537 (gst_base_src_activate_pull):
3538 Unify flushing code, remove some old unlock code that is no longer used.
3539 Take the streaming lock when seeking to avoid races. Fixes #492729.
3540 Added some more comments.
3542 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3544 * gst/gst.c: (_gst_disable_segtrap):
3545 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3546 we can use gst_segtrap_is_enabled() there now that we have that API.
3547 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3548 to do the getenv here (and export the variable).
3550 * gst/gstdebugutils.c: (debug_dump_element),
3551 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3552 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3554 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3555 (gst_debug_log_default):
3556 Rename _gst_info_start_time to priv_gst_info_start_time so it
3557 doesn't get exported (was never in any header).
3559 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3560 (gst_plugin_loading_mutex):
3561 Make static mutex gst_plugin_loading_mutex really static (was never
3562 in any header), and use gst_segtrap_is_enabled() instead of
3563 _gst_disable_segtrap.
3565 * gst/gsttrace.c: (_gst_trace_default):
3566 Make local _gst_trace_default static (was never in any header).
3568 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3570 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3572 * win32/common/libgstbase.def:
3573 * win32/common/libgstcontroller.def:
3574 * win32/common/libgstdataprotocol.def:
3575 * win32/common/libgstnet.def:
3576 * win32/common/libgstreamer.def:
3577 Add more missing symbols, remove some duplicates, and sort
3578 as the 'sort' command sorts it (partially fixes #493983).
3580 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3582 * gst/gstelement.c: (gst_element_set_state_func):
3583 Only change the state cookie if a different state was set on the
3584 element. See #492729.
3586 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3589 Remove unused and uninitialised type variables that were still
3590 exported for some reason (they were never in any header files
3593 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3595 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3596 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3597 (gst_base_sink_event), (gst_base_sink_get_position_last),
3598 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3599 (gst_base_sink_change_state):
3600 Don't try to report a 0 position when we don't know, return -1 and FALSE
3601 instead. This mostly happens when we are prerolling.
3602 Make sure we can report the right position before we post the ASYNC_DONE
3603 message so that a message handler can query position without races.
3605 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3606 (async_done_handoff), (async_done_func), (send_buffer),
3607 (async_done_eos_func), (gst_sinks_suite):
3608 Add two tests for the above.
3610 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3613 Update with new email address.
3615 * docs/design/part-TODO.txt:
3616 Add some more info about future pad-block and negotiation changes.
3618 * docs/design/part-buffering.txt:
3619 Add some ideas about buffering reporting.
3621 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3623 * tests/check/gst/gstobject.c:
3624 Disable silly racy test that always fails on this combination of CPU
3627 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3629 Patch by: Murray Cumming <murrayc@murrayc.com>
3632 Corrected the registration of the parent-set and parent-unset
3633 signals: The parameter is a GstObject, not a GObject (#493134).
3635 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3637 * gst/gst_private.h:
3646 Move declaration of private _gst_foo_initialize() functions into
3647 our private header file where they should have been all along.
3649 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3651 * docs/plugins/gstreamer-plugins-sections.txt:
3652 * gst/gstdebugutils.h:
3654 * plugins/elements/gstqueue.c:
3655 gtk-doc fixes; trailing-comma-in-enum fix.
3657 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3659 * gst/gst.c: (gst_deinit):
3660 Clean up on deinit (not the external ones though, doesn't seem to be
3661 needed for some reason).
3663 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3665 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3666 Remove __declspec(dllimport) for MSVC that was copied over into core
3667 from a plugin, obviously without ever having been tested (note the
3668 single underscore in _declspec in the initial commit), and that doesn't
3669 really make sense. See #492077.
3671 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3673 * gst/gst.c: (init_post):
3674 * gst/gstevent.c: (_gst_event_initialize):
3675 * gst/gstquery.c: (_gst_query_initialize):
3676 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3677 g_type_class_ref() other types as well, see #349410 and #64764.
3679 * gst/gstbuffer.c: (_gst_buffer_initialize):
3680 * gst/gstmessage.c: (_gst_message_initialize):
3681 Simplify existing g_type_class_ref().
3683 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3685 * gst/gstformat.c: (_gst_format_initialize):
3686 g_type_class_ref() our GstFormat type to make sure we avoid the
3687 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3688 bug #64764. Should fix intermittent tee unit test failures (#474823).
3690 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3692 * tests/check/elements/tee.c: (test_num_buffers):
3693 Simplify, simplify, simplify - or not. Rewrite unit test
3694 not to use gst_parse_launch(); allow N sub-streams. Increasing
3695 the number of sub-streams seems to reproduce #474823 more easily.
3697 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3699 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3702 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3703 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3704 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3705 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3706 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3707 so use _pipe() directly (#492077).
3709 * win32/common/dirent.c: (_treaddir):
3710 Add a couple of casts to make it build without warnings with MSVC.
3712 * win32/common/libgstreamer.def:
3713 Add some more symbols that need to be exported.
3715 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3717 * tests/examples/metadata/read-metadata.c: (message_loop):
3718 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3719 arriving in a second or third tag message are added to
3720 the tag list as well.
3722 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3724 * libs/gst/base/gstbasesrc.c:
3725 Its "Since:" and not "@Since:". And remove an superflous cast.
3727 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3729 * docs/libs/gstreamer-libs-sections.txt:
3730 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3731 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3732 (gst_base_sink_get_property), (gst_base_sink_render_object),
3733 (gst_base_sink_preroll_object),
3734 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3735 (gst_base_sink_change_state):
3736 * libs/gst/base/gstbasesink.h:
3737 Add a new last-buffer property that contains the last buffer used in
3738 basesink for preroll or rendering. useful for making snapshots.
3739 API: gst_base_sink_get_last_buffer()
3740 API: GstBaseSink::last-buffer
3742 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3744 * docs/gst/running.xml:
3746 * gst/gstdebugutils.c:
3747 * gst/gstdebugutils.h:
3748 * tools/gst-launch.c:
3749 Improve bin graph dumping, by using the envvar to specify a path.
3750 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3752 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3754 * plugins/elements/gsttypefindelement.c:
3755 (gst_type_find_element_handle_event),
3756 (gst_type_find_element_activate):
3757 Post special error message if we can't determine the type of a stream
3760 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3762 * docs/gst/running.xml:
3763 * gst/gstdebugutils.c:
3764 Document new env-var. Add one log-line after dumpng a graph.
3766 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3769 Ugly hack to put the (recently removed and non-portable, apparently)
3770 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3771 GNU ld, because without that 'make check' fails miserably on my debian
3772 stable box. Someone with more knowledge of linker intricacies and
3773 portability issues than me fix this properly please.
3775 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3777 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3778 Reset last seen position after flushing so that we don't report the old
3781 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3783 * gst/gstelementfactory.c: (gst_element_register):
3785 Patch from Alessandro Decina adding get_type_full and
3786 get_protocols_full private vfuncs to the URIHandler interface
3787 to allow bindings to support creating URI handlers.
3788 Partially fixes: #339279
3789 API: GstURIHandlerInterface::get_type_full
3790 API: GstURIHandlerInterface::get_protocols_full
3792 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3794 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3795 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3796 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3797 Make it so that pads are considered linked until a buffer is pushed
3798 and discovered otherwise. This avoids problems with decodebin2 hanging
3799 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3802 Make sure we lock the multiqueue when updating the max-size properties.
3804 Fix a crash on Solaris in a debug statement in get_request_pad that
3805 passes a NULL string to GST_DEBUG.
3807 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3808 (run_output_order_test):
3809 Fix the test to allow the first buffer on not-linked pads to come out
3810 of sequence while multiqueue discovers that they are not-linked.
3812 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3815 * libs/gst/check/Makefile.am:
3816 Use a custom export symbol regex for libgstcheck, as it needs
3817 to export symbols that don't match the standard GStreamer gst_*
3818 pattern, and --export-dynamic is not portable (only works on
3821 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3822 (gst_check_setup_sink_pad):
3823 Make sure to pass a message parameter to the fail_* macros.
3825 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3826 Fix some compiler warnings.
3828 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3830 * tests/check/gst/gststructure.c: (test_to_string):
3831 Disable test that checks that white spaces are not allowed
3832 in structure names or field names, since we need to
3833 support that for now for backwards compatibility reasons.
3835 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3837 * docs/gst/gstreamer-sections.txt:
3840 API: add GST_TAG_ARTIST_SORTNAME
3841 API: add GST_TAG_ALBUM_SORTNAME
3842 API: add GST_TAG_TITLE_SORTNAME
3843 Add tag variants for sorting (#414539).
3845 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3847 * gst/gststructure.c:
3848 Also allow white space for names so we don't break
3849 backwards compatibility.
3851 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3853 * docs/design/part-TODO.txt:
3854 * docs/design/part-segments.txt:
3855 * docs/design/part-streams.txt:
3858 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3860 * docs/gst/gstreamer-sections.txt:
3861 Fixed documentation from my previous commit (added new API add
3862 gst_value_set_structure(), add gst_value_get_structure() and
3863 GST_VALUE_HOLDS_STRUCTURE).
3865 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3867 * gst/gstdebugutils.c:
3868 Reflow code to fix uninitialized variable warning.
3870 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3872 * gst/gstcaps.c: (gst_caps_to_string),
3873 (gst_caps_from_string_inplace):
3874 * gst/gststructure.c: (gst_structure_get_abbrs),
3875 (gst_structure_to_string), (gst_structure_from_string):
3876 * gst/gstvalue.c: (gst_value_set_structure),
3877 (gst_value_get_structure), (gst_value_serialize_structure),
3878 (gst_value_deserialize_structure), (_gst_value_initialize):
3880 * tests/check/gst/gststructure.c: (GST_START_TEST),
3881 (gst_structure_suite):
3882 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3883 Added GstStructure to gst_value_table and its related functions.
3884 Changed gst_structure_to_string to print ';' in the end.
3885 Changed gst_caps_to_string to not print ';' beteween its
3886 fields (structures) anymore and remove the lastes ';' from latest
3887 structure. Now it is possible to have nested structures.
3888 In addition, backward compatibilty is assured by accepting '\0' as
3889 end delimiter. Fixes: #487969.
3890 API: add gst_value_set_structure()
3891 API: add gst_value_get_structure()
3892 API: add GST_VALUE_HOLDS_STRUCTURE
3894 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
3897 When no GSource callback has been set up, tell developer
3898 to use a function that actually exists.
3900 2007-10-17 Stefan Kost <ensonic@users.sf.net>
3902 * docs/gst/gstreamer-sections.txt:
3906 * gst/gstdebugutils.c:
3907 * gst/gstdebugutils.h:
3910 * tools/gst-launch.c:
3911 Allow dumping pipelines as dot graphs. Fixes #456573.
3913 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3915 * gst/gststructure.c:
3916 Allow '+' as well, it can be part of media or mime types
3917 such as image/svg+xml.
3919 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3921 * docs/gst/gstreamer-sections.txt:
3924 API: add gst_bus_pop_filtered
3925 API: add gst_bus_timed_pop_filtered
3926 Two new functions for waiting for specific message types on the
3927 bus for a specified amount of time without iterating any main
3928 loops or main contexts.
3930 * tests/check/gst/gstbus.c:
3931 Some tests for the new functions.
3933 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3935 * docs/libs/gstreamer-libs-sections.txt:
3936 Make gtk-doc ignore stuff it should ignore.
3938 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3940 * libs/gst/check/gstcheck.c:
3941 * libs/gst/check/gstcheck.h:
3942 Allow runtime selection of unit tests to run via the GST_CHECKS
3943 environment variable (test case function names, comma-separated).
3945 2007-10-16 Stefan Kost <ensonic@users.sf.net>
3947 * gst/gststructure.c:
3948 * tests/check/gst/gststructure.c:
3949 Revert serialisation change and constrain structure-names after
3950 consensus on irc. Update api documentation to reflect the change.
3952 2007-10-16 Stefan Kost <ensonic@users.sf.net>
3954 * gst/gststructure.c:
3955 Improve serialization and fix tests.
3957 * tests/check/gst/gststructure.c:
3958 Add another test that covers why I actually did the previous structure
3961 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3963 * tools/gst-inspect.c: (print_element_info):
3964 Don't crash when inspecting an element.
3966 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
3968 * tests/check/gst/gststructure.c:
3969 Add unit test for escaping of structure name when serialising
3970 and deserialising to/from strings.
3972 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3974 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3975 (gst_single_queue_new):
3976 * plugins/elements/gstqueue.c: (gst_queue_init),
3977 (gst_queue_push_one):
3978 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3979 upstream is tricked into thinking it can suggest a format downstream
3980 while downstream does not support that format. The real problem is that
3981 core calls acceptcaps when pushing a buffer with new caps, for which we
3982 do a little workaround by setting the caps on the srcpad ourselves
3983 before pushing the buffer (until this is figured out). Fixes #486758.
3985 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3987 * gst/gststructure.c:
3989 Add some more comments and debug output. Quote structure name to fix
3990 deserialisation of some strings.
3992 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3995 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
3996 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
3998 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4000 * tools/gst-inspect.c:
4001 Save approx. 400 1 byte allocs when printing. Use API to acces element
4007 * tools/gst-xmlinspect.c:
4008 Use API to acces element details.
4010 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4013 Fix some spelling errors.
4015 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4017 * gst/gstbin.c: (bin_handle_async_done):
4018 Correctly set the next state if all of our async children commited their
4019 state. This makes sure we can actually cancel the state change in
4020 progress. Fixes a regression in Rhythmbox when seeking.
4022 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4025 Don't shadow local variable.
4028 Don't shadow global function name.
4030 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4032 * gst/gstelementfactory.c:
4033 * gst/gstpluginfeature.c:
4034 * gst/gstpluginfeature.h:
4035 * gst/gstregistrybinary.c:
4036 * gst/gstregistryxml.c:
4037 * gst/gsttypefind.c:
4038 Use already-interned string for the private GstPluginFeature
4041 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4043 * docs/libs/gstreamer-libs-sections.txt:
4044 Add new API to docs; fixes the build.
4046 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4048 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4050 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4051 (gst_base_sink_event):
4052 * libs/gst/base/gstbasesink.h:
4053 Add function to wait for EOS, subclasses can use this to correctly wait
4054 for devices to drain before performing the EOS logic. Fixes #485343.
4055 API: gst_base_sink_wait_eos()
4057 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4060 Cast description string constants in GST_PLUGIN_DEFINE macros
4061 to a (gchar*) to make C++ code using these macros compile
4062 without warning with g++-4.2 (see #462737). Even if slightly
4063 ugly, this seems preferable to putting the description strings
4064 into the GLib quark table or making the structure member a
4065 const gchar * and doing casts in core code that allocs and
4066 frees these strings, or requiring a cast in the C++ code.
4068 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4071 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4072 to print the entire class/function signature into the log
4073 file for C++ code. This only affects C++ code, for C code
4074 everything remains the same.
4076 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4078 * gst/gstbin.c: (remove_from_queue):
4079 Work around a problem with pipelines containing (semi)loops until a
4080 proper, more complicated solution is ready. See #475455.
4082 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4086 * gst/gstregistrybinary.c:
4087 * gst/gstregistryxml.c:
4088 Put more strings into the GLib quark table. No need to keep
4089 a hundred-something copies of identical version strings,
4090 license strings, package name strings and package origin
4093 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4095 * docs/manual/advanced-dataaccess.xml:
4096 Don't imply that it's okay to unconditionally change
4097 buffer data or buffer metadata in a pad probe callback,
4098 and a bunch of other comments. Fixes #430031.
4100 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4102 * win32/common/gstenumtypes.c:
4103 * win32/common/gstenumtypes.h:
4104 * win32/common/gstversion.h:
4105 Update generated files.
4107 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4109 * docs/manual/advanced-autoplugging.xml:
4110 Prefix section with broken code with a warning (see #342432).
4112 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4114 * docs/manual/appendix-integration.xml:
4115 * docs/manual/basics-init.xml:
4116 Call g_thread_init() before g_option_context_new() to
4117 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4119 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4121 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4122 (gst_base_sink_queue_object_unlocked),
4123 (gst_base_sink_queue_object), (gst_base_sink_event),
4124 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4125 When we received EOS and are waiting for when to post the EOS message,
4126 our state is prerolled and we should not return ASYNC.
4127 Reorganize some code paths to implement this behavior.
4129 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4131 Add unit test to verify above EOS fix.
4133 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4135 * plugins/elements/gsttypefindelement.c:
4136 (gst_type_find_element_have_type), (gst_type_find_element_init),
4137 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4138 Move detecting the input caps of the sinkpad to the setcaps function.
4139 This allows us to update the output caps when we receive new input caps
4140 instead of always using the first detected caps.
4142 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4144 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4145 (gst_base_sink_get_position):
4146 Don't try to preroll non-async elements after a flush.
4147 Subtract latency form clock times when reporting position.
4149 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4151 * gst/gstpad.c: (gst_pad_pause_task):
4153 Small comment and documentation update.
4155 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4157 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4158 (gst_base_src_set_live), (gst_base_src_is_live),
4159 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4160 (gst_base_src_default_event), (gst_base_src_wait),
4161 (gst_base_src_do_sync), (gst_base_src_get_range),
4162 (gst_base_src_pad_get_range), (gst_base_src_loop),
4163 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4164 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4165 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4166 (gst_base_src_change_state):
4167 Rework the locking of basesrc in a similar fashion to basesink. We
4168 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4169 us to handle live sources and semi live ones much better.
4171 Fix unlocking when seeking, shutting down and pausing in live sources.
4173 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4175 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4176 Fix compilation again.
4178 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4181 Use meaningful categories for the logs to clean the default one.
4183 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4185 * tests/check/pipelines/cleanup.c:
4186 Print message name and not just number.
4188 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4190 * docs/design/draft-tagreading.txt:
4191 Add some more thoughts.
4193 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4195 * tests/check/pipelines/simple-launch-lines.c:
4196 Print message name and not just number.
4198 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4200 * libs/gst/base/gsttypefindhelper.c:
4201 Speedup typefinding. This is work in progress (see #459862).
4203 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4206 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4207 Spotted by Josep Torra Valles <josep@fluendo.com>.
4209 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4212 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4213 field has moved to GstObject.
4215 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4217 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4218 (gst_base_src_get_range), (gst_base_src_change_state):
4219 Call unlock for live sources so that they can't get stuck in _create and
4220 produce a buffer before they are set back to PLAYING.
4222 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4224 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4225 (gst_queue_locked_dequeue):
4226 Comment the segment-related code... in the PROPER function.
4227 See #482147 and my commit from yesterday.
4229 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4231 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4232 Also initialize the counter that calculates the first timestamp on a
4233 buffer correctly for non-live sources.
4235 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4237 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4238 Disable code that's breaking the current-time-level reporting.
4241 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4243 * docs/gst/gstreamer-sections.txt:
4244 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4245 as they shouldn't show up. Fixes the docs build.
4247 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4250 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4251 Define M_PI which is used in files which are including gstinfo.h.
4252 VS6 includes doesn't define it.
4253 * win32/common/libgstbase.def:
4254 * win32/common/libgstcontroller.def:
4255 * win32/common/libgstreamer.def:
4256 Add new exported functions and variables.
4257 * win32/vs6/libgstcontroller.dsp:
4258 * win32/vs6/libgstreamer.dsp:
4259 Update the list of files to build.
4261 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4263 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4265 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4266 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4267 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4268 Improve debugging. Fixes #480858.
4270 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4272 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4274 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4275 First patch of code cleanups, use the macros and right arguments in the
4276 macros to signal and lock the queue. See #480858.
4278 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4280 * gst/gstbus.c: (poll_func):
4281 Improve debugging when dealing with _poll().
4283 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4285 * gst/gstregistryxml.c:
4286 Fix memory leak I introduced a few days ago.
4288 2007-09-26 Michael Smith <msmith@fluendo.com>
4290 * gst/gstbuffer.c: (gst_buffer_finalize):
4291 Make it once again possible to free GstBuffers in the default
4293 The poisoning scribbles on parts of the miniobject we need in
4297 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4299 * docs/gst/gstreamer-sections.txt:
4302 API: add GST_TAG_COMPOSER, fixes #459809.
4304 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4308 Add the 3-clause BSD license and the MIT/X11 license to the license
4309 list. Fixes #479784.
4311 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4313 * docs/faq/getting.xml:
4314 Add Q+A about different GStreamer versions (#364056).
4316 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4318 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4319 (gst_base_sink_event), (gst_base_sink_change_state):
4320 Return correct gboolean from query function.
4322 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4324 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4325 (gst_base_sink_event), (gst_base_sink_query),
4326 (gst_base_sink_change_state):
4327 Simplify latency query.
4328 When not synchronizing, we can report latency without querying the peer
4331 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4335 Fix small typos in the docs.
4337 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4339 * docs/design/draft-latency.txt:
4340 * docs/design/draft-push-pull.txt:
4341 * docs/design/draft-tagreading.txt:
4342 * docs/design/part-MT-refcounting.txt:
4343 * docs/design/part-activation.txt:
4344 * docs/design/part-block.txt:
4345 * docs/design/part-element-source.txt:
4346 * docs/design/part-events.txt:
4347 * docs/design/part-gstbin.txt:
4348 * docs/design/part-gstelement.txt:
4349 * docs/design/part-gstobject.txt:
4350 * docs/design/part-gstpipeline.txt:
4351 * docs/design/part-messages.txt:
4352 * docs/design/part-preroll.txt:
4353 * docs/design/part-push-pull.txt:
4354 * docs/design/part-qos.txt:
4355 * docs/design/part-query.txt:
4356 * docs/design/part-scheduling.txt:
4357 * docs/design/part-seeking.txt:
4358 * docs/design/part-segments.txt:
4359 * docs/design/part-states.txt:
4360 Documentation updates and typo fixes.
4362 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4364 * plugins/elements/gstfakesink.c:
4365 Add some debug text to error message to indicate that
4366 we errored out on request.
4368 * tools/gst-launch.c:
4369 When the state change to PLAYING fails, check for an
4370 error message on the bus and print it.
4372 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4374 translated by: Jorge González González <aloriel@gmail.com>
4378 Added Spanish translation.
4380 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4382 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4383 Fix printf arguments.
4385 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4387 * tests/check/generic/states.c:
4388 Improved state change unit test.
4390 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4393 Move priv to the right place.
4395 * gst/gstsystemclock.c:
4396 Add FIXME: and improve log.
4398 * tests/check/Makefile.am:
4399 * tests/examples/manual/Makefile.am:
4400 Work with all types of registries.
4402 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4404 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4405 Don't unref the event after pushing it. Fixes #478401.
4407 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4410 * tests/examples/manual/.cvsignore:
4411 Ignore registries in any format.
4413 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4415 * gst/glib-compat-private.h:
4416 Add compatibility macro for g_intern_string() for
4417 GLib-2.8 (any reason we can't just bump the
4418 requirement to at least 2.10?)
4420 * gst/gstpadtemplate.h:
4421 * gst/gstelementfactory.c:
4422 * gst/gstregistryxml.c:
4423 * gst/gstregistrybinary.c:
4424 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4425 up the internal code accordingly. This shouldn't be a problem, since
4426 there is no reason external code could ever assume the string in such
4427 a structure is dynamically allocated unless it did that itself; the
4428 use of g_strdup() is private to element factories. The new code also
4429 saves some memory by putting pad template name strings into the GLib
4430 quark table instead of allocating them dynamically.
4431 Declaring this field constant fixes warnings with g++-4.2 when using
4432 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4434 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4436 * gst/gstelementfactory.c:
4437 Release static caps. Fixes #475723.
4439 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4443 Make some internal API take const gchar * instead of just
4444 gchar * to avoid compiler warnings with g++-4.2.2 when
4445 passing string constants (partially fixes #478092).
4447 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4449 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4450 A latency query fails when one of the sinks fail.
4452 * gst/gstelement.c: (gst_element_set_base_time):
4455 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4457 * gst/gstbin.c: (gst_bin_continue_func):
4458 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4459 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4460 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4462 Fix minor compilation warnings shown with Forte.
4464 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4466 * plugins/elements/gstqueue.c: (apply_buffer),
4467 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4468 Measure queue level based on the diff between head and tail timestamps
4469 even when pushing the first buffer.
4471 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4473 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4474 (gst_base_sink_event), (gst_base_sink_change_state):
4475 Sinks that don't preroll can always be queried for the latency.
4476 Don't post ASYNC start when we are not async.
4478 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4480 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4481 (gst_queue_handle_sink_event), (gst_queue_chain),
4482 (gst_queue_push_one), (gst_queue_handle_src_query),
4483 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4484 * plugins/elements/gstqueue.h:
4485 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4486 push more buffers but allow pushing of EOS and NEWSEGMENT.
4487 Add some more debug info here and there. Fixes #476514.
4489 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4491 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4492 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4493 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4494 (gst_base_sink_set_flushing), (gst_base_sink_query),
4495 (gst_base_sink_change_state):
4496 Latency query is allowed after we are prerolled. Introduce a new flag
4497 for this and stop abusing other variables.
4499 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4501 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4502 Push OOB events downstream when we get them in send_event. This allows
4503 the application to insert events in the pipeline.
4504 Add some more comments.
4506 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4508 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4509 (do_bin_latency), (gst_bin_change_state_func):
4510 * gst/gstpipeline.c: (gst_pipeline_change_state):
4511 Move latency query from GstPipeline to GstBin so that we can also
4512 use it when async-handling is enabled on bins.
4514 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4516 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4517 (gst_base_src_do_sync), (gst_base_src_change_state):
4519 Clean up the timestamping and syncing code for pseudo live sources.
4521 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4523 Patch by: Steve Fink <sphink gmail com>
4525 * docs/manual/appendix-checklist.xml:
4526 Mention less -R switch in the section about debug output (#474055).
4528 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4530 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4531 Queue can latency to the pipeline up to the configured max size in time.
4532 Report this fact in the latency query.
4534 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4536 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4538 * libs/gst/controller/gstinterpolation.c:
4539 * libs/gst/controller/gstlfocontrolsource.c:
4540 Use gst_guint64_to_gdouble() when converting from a uint64 or
4541 GstClockTime to double to fix the build on win32. Fixes #474371.
4543 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4545 * gst/gstbuffer.c: (gst_buffer_finalize):
4546 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4547 When finalizing a buffer the complete struct is filled with 0xff,
4548 thus making a use of the buffer after the final unref impossible.
4550 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4552 * tests/check/libs/controller.c: (GST_START_TEST):
4553 Use fail_unless_equals_int(a, b) instead of
4554 fail_unless_equals (a == b) to get better output on failures.
4556 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4558 * tests/check/gst/gsturi.c:
4559 Also check for the other file URI variant on win32.
4561 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4563 * gst/gsturi.c: (gst_uri_get_location):
4564 If there's no hostname, we want to return 'c:/foo/bar.txt'
4565 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4567 * tests/check/gst/gsturi.c:
4568 Unit test for the above and a few more things.
4570 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4572 * docs/design/part-live-source.txt:
4573 Add docs on how live sources should timestamp.
4575 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4576 Add some more debug info.
4577 For subclasses that are live and like to sync, add aditional startup
4578 latency to sync time and timestamps so that we timstamp according to the
4581 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4584 Also do a g_type_class_ref() for the subbuffer type in
4587 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4589 * docs/gst/gstreamer-sections.txt:
4590 * gst/gstpad.c: (gst_pad_peer_query):
4592 Add function to perform a query on the peer of a pad.
4593 API: gst_pad_peer_query()
4595 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4597 * tests/check/gst/gstsystemclock.c:
4598 Cleanup the test a little (use gst-logging and not g_message). Improve
4599 test to check if a wait reached the target.
4601 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4603 * docs/libs/gstreamer-libs-sections.txt:
4604 Add new API to docs and fix the build.
4606 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4608 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4609 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4610 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4611 (gst_base_src_get_property), (gst_base_src_do_sync):
4612 * libs/gst/base/gstbasesrc.h:
4613 Add property to make the basesrc timestamp buffers based on the current
4615 API: GstBaseSrc::do-timestamp
4616 API: gst_base_src_set_do_timestamp()
4617 API: gst_base_src_get_do_timestamp()
4619 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4621 * docs/random/release:
4622 Really make sure translations are up-to-date before
4623 a release (#465010).
4625 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4627 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4628 Always destroy the timer, also in error cases.
4630 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4632 * docs/manual/highlevel-xml.xml:
4633 Fix XML example code. Fixes #472714.
4635 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4637 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4638 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4639 (gst_base_sink_query):
4640 Protect eos and have_preroll with the OBJECT lock so we don't need to
4641 take the PREROLL lock when querying the latency. Fixes #473846.
4643 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4646 Give some log-messages a category.
4648 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4650 * gst/gststructure.c:
4651 (gst_structure_fixate_field_nearest_fraction):
4652 Fix fraction list fixation code. Take the fraction with the smallest
4653 difference with the target instead of the first one in the list.
4655 * tests/check/gst/gststructure.c: (GST_START_TEST),
4656 (gst_structure_suite):
4657 Added test to verify correct fraction list fixation behaviour.
4659 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4661 * win32/common/libgstreamer.def:
4662 Export gst_bus_add_signal_watch too.
4664 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4666 * docs/libs/gstreamer-libs-sections.txt:
4667 Add new methods to docs.
4669 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4670 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4671 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4672 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4673 * libs/gst/base/gstbasesink.h:
4674 Add ts-offset property to fine-tune the synchronisation.
4675 API: GstBaseSink::ts-offset property
4676 API: gst_base_sink_set_ts_offset()
4677 API: gst_base_sink_get_ts_offset()
4679 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4681 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4682 (gst_base_sink_init), (gst_base_sink_set_sync),
4683 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4684 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4685 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4686 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4687 (gst_base_sink_get_property), (gst_base_sink_change_state):
4688 * libs/gst/base/gstbasesink.h:
4689 Add async property to instruct the sink never to inform the parent about
4690 ASYNC state changes, update docs.
4691 Check argument with g_return_* for the public functions.
4692 API: GstBaseSink::async property
4693 API: gst_base_sink_set_async_enabled()
4694 API: gst_base_sink_is_async_enabled()
4696 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4698 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4701 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4702 (gst_base_src_default_query), (gst_base_src_wait),
4703 (gst_base_src_do_sync), (gst_base_src_change_state):
4704 Rearrange some code so that we can add support for measuring the
4707 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4709 * docs/random/ensonic/dynlink.txt:
4710 More thoughs on this.
4712 * plugins/elements/gstcapsfilter.c:
4713 Add bugzilla ticket number to FIXME comment.
4715 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4717 * docs/design/part-TODO.txt:
4718 * docs/design/part-block.txt:
4721 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4724 Revert patch which uses $(gst_headers) instead of $^ because it
4727 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4729 * tests/check/gst/gstbin.c: (GST_START_TEST):
4730 Fix leaks in the new unit test.
4732 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4735 Don't use GST_INFO before the debug system is actually initialised
4736 (shouldn't do any harm, but won't print anything either, so we can
4737 just as well remove it).
4740 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4741 compilers that don't support variadic macros (such as MSVC), should
4742 check for debug_level <= __gst_debug_min as well, since that's the
4743 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4744 inline helper functions. Should improve performance a bit, but also
4745 makes sure uses of GST_INFO et.al are ignored if the debugging
4746 system isn't initialised yet (instead of printing an assertion
4749 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4751 patch by: David Nečas <yeti@physics.muni.cz>
4754 Replace some non portable makefile constructs.
4756 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4758 * common/gtk-doc-plugins.mak:
4759 Grrrrr. Don't remove the types file on make clean.
4761 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4763 * tools/gst-launch.1.in:
4764 Add colorspace to example pipeline. Fixes #458274.
4766 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4768 * docs/random/release:
4769 The release manager should run 'make download-po' before making a
4770 release to make sure translations are up-to-date.
4776 Add some new translations.
4778 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4780 * tools/gst-launch.c: (event_loop), (main):
4781 Don´t try to do any state management when a live pipeline posts
4783 Also make the buffering string translatable.
4785 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4787 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4788 (bin_handle_async_start), (gst_bin_handle_message_func):
4790 When adding elements, insert messages into the bus of the newly added
4791 element and make sure the element is the source of the message. This
4792 allows the parent bin to intercept the message and do the
4793 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4794 messages to the app (which is not allowed).
4797 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4798 Fix testsuite so that is does not work around messages that should not
4799 have been posted in the first place.
4801 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4803 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4804 (update_degree), (gst_bin_sort_iterator_next):
4805 Fix annoying bug in the sorted iterator where a sink that is not really
4806 a sink (when it has downstream links) screwed up the iterator.
4808 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4809 Unit test to verify the fix.
4811 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4814 Add some more docs for the messages.
4816 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4817 (gst_base_sink_query):
4818 Add some more debugging.
4820 * tools/gst-launch.c: (event_loop):
4821 When interrupting, don't try to set pipeline to PAUSED twice.
4823 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4826 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4827 (bin_handle_async_start), (gst_bin_handle_message_func):
4828 Move ASYNC_START message posting to where it belongs, similar to
4830 Don't post ASYNC_START when we are in error.
4831 Post ASYNC_START when we added an async element to a bin.
4833 2007-08-14 Julien MOUTTE <julien@moutte.net>
4835 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4836 generation from vargs. Fixes #466595.
4838 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4840 * gst/gstbin.c: (gst_bin_element_set_state):
4841 Always change the state of a NO_PREROLL element even if it has ASYNC
4842 elements inside (in case of a bin).
4844 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4845 Unit test for this case.
4847 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4849 * libs/gst/check/gstbufferstraw.c:
4850 * libs/gst/check/gstcheck.h:
4851 * libs/gst/controller/gstcontroller.c:
4852 * libs/gst/controller/gstcontrolsource.h:
4853 * libs/gst/controller/gstlfocontrolsource.h:
4854 * plugins/elements/gstcapsfilter.h:
4855 * plugins/elements/gstfdsink.h:
4856 * plugins/elements/gstfdsrc.h:
4857 Add more missing docs.
4859 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4861 * gst/gststructure.c:
4862 Add Since tag to docs.
4864 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4866 * docs/gst/gstreamer-sections.txt:
4867 * gst/gststructure.c: (gst_structure_get_uint):
4868 * gst/gststructure.h:
4869 Add function to get uint from a structure.
4870 API: gst_structure_get_uint()
4872 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4874 * gst/gstcaps.c: (gst_caps_set_simple_valist),
4875 (gst_caps_intersect):
4876 Fix proper check for simple caps.
4878 2007-08-10 Stefan Kost <ensonic@users.sf.net>
4880 * docs/gst/Makefile.am:
4881 * docs/libs/Makefile.am:
4882 Remove cruft and do some cleanups.
4884 * docs/gst/gstreamer-docs.sgml:
4885 * docs/libs/gstreamer-libs-docs.sgml:
4886 Prepare for comming gtkdoc features (rebase against online docs).
4888 2007-08-10 Michael Smith <msmith@fluendo.com>
4890 * docs/gst/gstreamer-sections.txt:
4891 Add gst_registry_add_path to docs.
4893 2007-08-10 Michael Smith <msmith@fluendo.com>
4895 * gst/gstregistry.h:
4896 Add gst_registry_add_path, which was missing from this header.
4898 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
4900 * libs/gst/controller/gstlfocontrolsource.c:
4903 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4905 * libs/gst/base/gstbasesink.c:
4906 Don't send an async_start message during downwards state change if
4907 target state is less than READY
4909 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4911 translated by: Gabor Kelemen <kelemeng@gnome.hu>
4915 Added Hungarian translation.
4917 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4924 Updated translations.
4926 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
4928 * libs/gst/controller/Makefile.am:
4929 Dist gstlfocontrolsourceprivate.h
4931 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
4933 * docs/libs/gstreamer-libs.types:
4934 Don't register the enum type gst_lfo_waveform_get_type() in the
4935 .types file - only GObject derived types belong.
4937 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
4939 Patch by: <arenevier at fdn dot fr>
4942 Remove comma from last element in enum to avoid compile errors when
4943 using -pendantic. Fixes #464366.
4945 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
4947 * docs/design/part-TODO.txt:
4948 Add some more TODO items
4950 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4953 * gst/gstcaps.c: (gst_caps_intersect):
4954 Optimize trivial intersection case between identical caps pointers.
4956 * gst/gstelement.c: (gst_element_continue_state),
4957 (gst_element_set_state_func):
4959 Fix spelling and grammar mistakes.
4961 2007-08-05 Stefan Kost <ensonic@users.sf.net>
4965 Update POTFILES. Fixes #461599.
4967 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
4970 Fix confusing typo in debug output.
4972 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
4974 reviewed by: Stefan Kost <ensonic@users.sf.net>
4976 * libs/gst/controller/Makefile.am:
4977 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4978 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4979 (gst_lfo_control_source_new),
4980 (gst_lfo_control_source_set_waveform),
4981 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4982 (gst_lfo_control_source_finalize),
4983 (gst_lfo_control_source_dispose),
4984 (gst_lfo_control_source_set_property),
4985 (gst_lfo_control_source_get_property),
4986 (gst_lfo_control_source_class_init):
4987 * libs/gst/controller/gstlfocontrolsource.h:
4988 * libs/gst/controller/gstlfocontrolsourceprivate.h:
4989 API: Add GstLFOControlSource, a control source that gives values
4990 for specific timestamps based on several periodic waveforms.
4993 * tests/check/libs/controller.c: (GST_START_TEST),
4994 (gst_controller_suite):
4995 * docs/libs/gstreamer-libs-docs.sgml:
4996 * docs/libs/gstreamer-libs-sections.txt:
4997 * docs/libs/gstreamer-libs.types:
4998 Add documentation and unit tests for GstLFOControlSource.
5000 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5005 === release 0.10.14 ===
5007 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5010 releasing 0.10.14, "Breathing Vacuum"
5012 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5014 * gst/gstelement.c: (gst_element_class_set_details_simple):
5016 Make strings passed to gst_element_class_set_details_simple()
5017 constant, as they should be (#462752).
5019 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5021 * gst/gstbin.c: (gst_bin_change_state_func),
5022 (bin_handle_async_done), (gst_bin_handle_message_func):
5023 Don't forget about the fact that some element went ASYNC even after a
5024 resync. This makes us post the ASYNC_DONE message correctly.
5027 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5029 * gst/gstregistry.c: (gst_registry_add_feature):
5030 When replacing an existing feature in the registry, make sure to
5031 continue holding a reference until we've replaced the name string
5032 within our feature hash table. Make sure to use g_hash_table_replace
5033 instead of g_hash_table_insert to ensure the new name string is used
5034 as a key instead of the old one that we're about to free.
5037 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5039 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5040 (gst_plugin_feature_set_name):
5041 Revert patch from #459466 until after the release and we can work
5042 out exactly what the problem is (if any).
5044 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5046 * docs/gst/gstreamer-sections.txt:
5049 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5051 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5053 * docs/libs/Makefile.am:
5054 Include our build-prefix libs and includes before the generic ones to
5055 avoid linking against the installed libs when we want the build-tree
5058 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5060 Patch by: Steve Fink <sphink gmail com>
5062 * docs/pwg/building-testapp.xml:
5063 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5064 if people try to build or install the example from the plugin
5065 template against a GStreamer from package using the configure
5068 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5070 Patch by: Steve Fink <sphink gmail com>
5072 * tools/gst-inspect.1.in:
5073 Document --print-all and --print-plugin-auto-install-info command
5074 line options in man page.
5076 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5078 * docs/gst/gstreamer-sections.txt:
5079 Add docs for new api function.
5081 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5083 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5084 * gst/gstelementfactory.h:
5085 API: gst_element_factory_has_interface()
5086 Added method to check if an element factory implements a named
5089 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5092 * docs/gst/gstreamer.types.in:
5093 Another conditional doc check.
5096 * gst/gstparamspecs.h:
5097 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5102 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5104 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5105 (gst_registry_binary_load_feature),
5106 (gst_registry_binary_load_plugin),
5107 (gst_registry_binary_read_cache):
5108 Print error just once and with additional info.
5110 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5112 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5113 (helper_find_suggest), (helper_find_get_length),
5114 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5115 (gst_type_find_helper_for_buffer):
5116 Cleanup the typefindhelper code and add private doc comments.
5118 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5120 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5121 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5122 Fix capsfilter for cases where the caps set on capsfilter will provide
5123 additional information.
5126 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5128 * gst/gsttypefindfactory.c:
5129 Fix docs that recommened wrong function to use.
5131 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5133 * tools/gst-inspect.c: (print_plugin_features):
5134 Also give media-type for typefinders in element output.
5136 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5138 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5139 (gst_registry_remove_features_for_plugin_unlocked),
5140 (gst_registry_add_feature), (gst_registry_remove_feature),
5141 (gst_registry_lookup_feature_locked):
5142 * gst/gstregistry.h:
5143 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5146 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5148 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5149 (gst_plugin_feature_set_name):
5150 Avoid double memory usage for pluginfeature names. Fixes #459466.
5152 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5155 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5156 driving the pipeline may need to explicitly check for NOT_LINKED as
5157 well, since IS_FATAL doesn't cover that.
5159 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5161 * docs/pwg/advanced-types.xml:
5162 Fix typo and duplicate entry in video formats list.
5164 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5166 * libs/gst/controller/gstinterpolation.c:
5167 Also round to the nearest int when using cubic interpolation.
5169 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5171 * libs/gst/controller/gstinterpolation.c:
5172 When linearly interpolating integer types, round to the nearest int
5173 by adding 0.5. Don't do it for float/double types.
5174 Fixes the failing controller test on my machine, which is somehow
5175 rounding differently than on the buildbots.
5177 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5179 * tools/gst-plot-timeline.py:
5180 Better log parsing (categories can have -). Adjust text vs. lines, so
5181 that they span the same y-range.
5183 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5185 * docs/random/ensonic/audiobaseclasses.txt:
5186 * docs/random/ensonic/dynlink.txt:
5187 * docs/random/ensonic/profiling.txt:
5190 * docs/random/moving-plugins:
5191 Add note to use g_assert type macros.
5193 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5196 * libs/gst/check/Makefile.am:
5197 Add libm check as we use in for plugins.
5199 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5201 * gst/gstbin.c: (gst_bin_continue_func):
5202 Check that the state_cookie hasn't changed since the continue_func
5203 was scheduled. Avoids problems where the state changes back to
5204 something it shouldn't be because it was changed in the meantime.
5206 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5208 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5209 (gst_registry_binary_save_string),
5210 (gst_registry_binary_save_pad_template),
5211 (gst_registry_binary_save_feature),
5212 (gst_registry_binary_save_plugin),
5213 (gst_registry_binary_load_feature),
5214 (gst_registry_binary_load_plugin),
5215 (gst_registry_binary_read_cache):
5216 Fix memory leak. Be less verbose in the log.
5218 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5220 * tests/check/elements/.cvsignore:
5221 Add file to cvsignore as commanded.
5223 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5225 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5226 (mq_dummypad_event), (run_output_order_test):
5227 Use a GStaticMutex to protect all cases where libcheck
5228 fail_if/fail_unless macros might be called from multiple threads
5229 simultaneously to avoid errors like:
5230 "check_pack.c:107: :-1081725400:Bad message type arg"
5232 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5234 * tests/check/pipelines/stress.c: (GST_START_TEST):
5235 Make sure we set the pipeline back to the NULL state before
5236 dropping our final reference.
5238 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5240 * tests/check/elements/tee.c: (GST_START_TEST):
5241 Make the tee stress-test a little less stressful so it doesn't just
5242 time out on slow-machines, and remove a small race when it's starting
5243 up by adding a get_state() call.
5245 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5248 Avoid reading registry twice on startup. Fixes #457322.
5250 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5252 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5253 * pkgconfig/gstreamer-check.pc.in:
5254 Substitute the CFLAGS for libcheck into our .pc file too so that
5255 dependent modules will pick it up properly if libcheck is installed
5256 into some other prefix.
5258 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5261 Revert the pkg-config check for libcheck, since it pulls in the
5262 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5263 a proper solution, either from the check project, or something else.
5265 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5268 Use pkg-config to locate check.
5270 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5277 Add deprecation guards.
5279 * libs/gst/base/gstcollectpads.h:
5280 Don't document object (this is implicitly private).
5282 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5284 * gst/gststructure.c: (gst_structure_parse_value):
5285 When deserialising foo=bar without a type cast, check if it's a
5286 boolean before falling back to a string type, otherwise things like
5287 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5288 because the filtercaps end up having a signed=(string)true field,
5289 which causes problems later when intersection caps.
5291 * tests/check/gst/gststructure.c: (GST_START_TEST):
5292 Add a unit test for this.
5294 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5296 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5298 * libs/gst/controller/Makefile.am:
5299 * libs/gst/controller/gstcontroller.c:
5300 (gst_controlled_property_add_interpolation_control_source),
5301 (gst_controlled_property_new), (gst_controlled_property_free),
5302 (gst_controller_find_controlled_property),
5303 (gst_controller_new_valist), (gst_controller_new_list),
5304 (gst_controller_new), (gst_controller_remove_properties_valist),
5305 (gst_controller_remove_properties_list),
5306 (gst_controller_remove_properties),
5307 (gst_controller_set_property_disabled),
5308 (gst_controller_set_disabled), (gst_controller_set_control_source),
5309 (gst_controller_get_control_source), (gst_controller_get),
5310 (gst_controller_sync_values), (gst_controller_get_value_array),
5311 (_gst_controller_dispose), (gst_controller_get_type),
5312 (gst_controlled_property_set_interpolation_mode),
5313 (gst_controller_set), (gst_controller_set_from_list),
5314 (gst_controller_unset), (gst_controller_unset_all),
5315 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5316 * libs/gst/controller/gstcontroller.h:
5317 * libs/gst/controller/gstcontrollerprivate.h:
5318 * libs/gst/controller/gstcontrolsource.c:
5319 (gst_control_source_class_init), (gst_control_source_init),
5320 (gst_control_source_get_value),
5321 (gst_control_source_get_value_array), (gst_control_source_bind):
5322 * libs/gst/controller/gstcontrolsource.h:
5323 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5324 (gst_object_get_control_source):
5325 * libs/gst/controller/gstinterpolation.c:
5326 (gst_interpolation_control_source_find_control_point_node),
5327 (gst_interpolation_control_source_get_first_value),
5328 (_interpolate_none_get), (interpolate_none_get),
5329 (interpolate_none_get_boolean_value_array),
5330 (interpolate_none_get_enum_value_array),
5331 (interpolate_none_get_string_value_array),
5332 (_interpolate_trigger_get), (interpolate_trigger_get),
5333 (interpolate_trigger_get_boolean_value_array),
5334 (interpolate_trigger_get_enum_value_array),
5335 (interpolate_trigger_get_string_value_array):
5336 * libs/gst/controller/gstinterpolationcontrolsource.c:
5337 (gst_control_point_free), (gst_interpolation_control_source_reset),
5338 (gst_interpolation_control_source_new),
5339 (gst_interpolation_control_source_set_interpolation_mode),
5340 (gst_interpolation_control_source_bind),
5341 (gst_control_point_compare), (gst_control_point_find),
5342 (gst_interpolation_control_source_set_internal),
5343 (gst_interpolation_control_source_set),
5344 (gst_interpolation_control_source_set_from_list),
5345 (gst_interpolation_control_source_unset),
5346 (gst_interpolation_control_source_unset_all),
5347 (gst_interpolation_control_source_get_all),
5348 (gst_interpolation_control_source_get_count),
5349 (gst_interpolation_control_source_init),
5350 (gst_interpolation_control_source_finalize),
5351 (gst_interpolation_control_source_dispose),
5352 (gst_interpolation_control_source_class_init):
5353 * libs/gst/controller/gstinterpolationcontrolsource.h:
5354 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5355 API: Refactor GstController into the core controller which can take
5356 a GstControlSource for providing actual values for timestamps.
5357 Implement a interpolation control source and use this for backward
5358 compatibility, deprecate a bunch of functions that are now handled
5359 by GstControlSource or GstInterpolationControlSource.
5360 Make it possible to disable the controller completely or only for
5361 specific properties. Fixes #450711.
5362 * docs/libs/gstreamer-libs-docs.sgml:
5363 * docs/libs/gstreamer-libs-sections.txt:
5364 * docs/libs/gstreamer-libs.types:
5365 Add new functions and classes to the docs.
5366 * tests/check/libs/controller.c: (GST_START_TEST),
5367 (gst_controller_suite):
5368 * tests/examples/controller/audio-example.c: (main):
5369 Port unit test and example to the new API and add some new
5372 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5374 Patch by: Mark Nauwelaerts <manauw at skynet be>
5376 * plugins/elements/gstmultiqueue.c:
5377 (gst_multi_queue_get_internal_links), (apply_buffer),
5378 (single_queue_overrun_cb), (gst_single_queue_new):
5379 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5380 the pipeline layout can be tracked correctly. Fixes #453732.
5382 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5384 * docs/gst/Makefile.am:
5385 * docs/libs/Makefile.am:
5386 * docs/plugins/Makefile.am:
5387 Simplify --extra-dir as gtkdoc scans recursively.
5389 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5391 * tools/gst-launch.c: (main):
5392 When we got an error, there is no point in waiting for preroll when
5395 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5397 * plugins/elements/gsttee.c: (gst_tee_base_init),
5398 (gst_tee_request_new_pad), (gst_tee_release_pad),
5399 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5400 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5402 Be a lot smarter when deciding what srcpad to use for proxying
5403 the buffer_alloc. Also handle pad added/removed when doing so.
5405 Keep track of what pads we already pushed on in case we have pads
5406 added/removed while pushing. Fixes #374639
5408 * tests/check/Makefile.am:
5409 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5411 Added unit test for pad resync.
5413 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5417 Updated translations.
5419 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5421 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5425 Added new Finnish translation.
5427 2007-06-28 Wim Taymans <wim@fluendo.com>
5429 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5430 (single_queue_overrun_cb):
5431 When figuring out when a queue is filled, use our internal time estimate
5432 based on segments, just like check_full does.
5434 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5436 * gst/gstminiobject.c: (gst_mini_object_get_type):
5437 Remove 3 do-nothing methods.
5439 2007-06-27 Wim Taymans <wim@fluendo.com>
5441 Patch by: Tim Angus <tim at ngus dot net>
5443 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5444 (gst_capsfilter_set_property):
5445 Take a reference instead of a copy when setting "caps".
5446 Fix documentation to clarify this behaviour. Fixes #449414.
5448 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5450 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5451 * gst/gstplugin.c: (gst_plugin_init):
5452 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5453 * gst/gstquery.c: (gst_query_get_type):
5454 * gst/gstregistry.c: (gst_registry_init):
5455 * gst/gsturi.c: (gst_uri_handler_base_init):
5456 Remove empty instance_init() functions to save relocs and lessen the
5457 noise. Remove some of the function prototypes that are doubled by
5460 2007-06-27 Wim Taymans <wim@fluendo.com>
5462 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5464 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5465 Add peer and direction in the XML serialisation of ghostpads.
5468 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5471 Preserve useful information, thanks Tim.
5473 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5475 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5476 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5477 (gst_single_queue_push_one), (gst_multi_queue_loop),
5478 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5479 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5480 (compute_high_id), (gst_single_queue_new):
5481 * plugins/elements/gstmultiqueue.h:
5482 Take the multiqueue lock when updating the fill level so we don't get
5485 After applying a buffer or event on the src pad segment, make sure to
5486 call gst_data_queue_limits_changed() to get the data queue to unblock
5487 and check the filled state again.
5489 Rework the not-linked pad handling so the logic is that not-linked
5490 pads can push as fast as they like, but only so they never get
5491 ahead of any linked pads.
5493 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5494 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5495 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5497 Add a test to check that not-linked pads always stay behind
5502 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5504 * docs/random/release:
5505 Some updates to the release procedure.
5507 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5509 * gst/gstelementfactory.c: (__gst_element_details_clear):
5510 Microoptimization that saves stunning 80 bytes.
5512 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5514 * docs/plugins/gstreamer-plugins.args:
5515 * docs/plugins/inspect/plugin-coreelements.xml:
5516 * docs/plugins/inspect/plugin-coreindexers.xml:
5517 Update docs with caps info.
5519 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5522 Updated Italian translation.
5524 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5528 Update Vietnamese translations.
5530 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5532 * libs/gst/base/gstbasesink.c:
5533 Remove unused signal enum.
5535 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5537 * docs/gst/gstreamer-sections.txt:
5539 * gst/gstutils.c: (gst_type_register_static_full):
5540 Beef up and include the docs for gst_type_register_static_full and
5541 gst_element_class_set_details_simple and add the API keyword
5544 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5546 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5547 (update_time_level), (gst_single_queue_push_one),
5548 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5549 (single_queue_overrun_cb), (single_queue_underrun_cb),
5550 (single_queue_check_full):
5551 Fix setting max-* properties after adding queues.
5552 Use IS_FILLED for checking visible items.
5553 Signal overrun if multiple queues overrun.
5554 Add extra debug output.
5555 Patch by: Wim Taymans <wim@fluendo.com>
5557 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5559 * gst/gstelement.c: (gst_element_class_set_details_simple):
5561 * gst/gstutils.c: (gst_type_register_static_full):
5563 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5564 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5565 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5566 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5567 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5568 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5569 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5570 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5571 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5572 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5573 (apply_buffer), (gst_queue_chain):
5574 * plugins/elements/gsttee.c: (gst_tee_base_init):
5575 * plugins/elements/gsttypefindelement.c:
5576 (gst_type_find_element_base_init),
5577 (gst_type_find_element_class_init):
5578 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5579 API: add gst_type_register_static_full
5580 API: add gst_element_class_set_details_simple
5582 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5584 * docs/pwg/advanced-types.xml:
5585 Fix typo in iana.org URI.
5587 2007-06-19 Andy Wingo <wingo@pobox.com>
5589 * tests/check/pipelines/simple-launch-lines.c
5590 (test_state_change_returns): Enable pull-mode tests now that
5591 basesink has been fixed.
5593 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5594 Changed from gst_base_sink_is_prerolled, reversing the sense of
5595 the return value. Returns FALSE also if the sink is in pull mode,
5596 in which case it needs no preroll.
5597 (gst_base_sink_query, gst_base_sink_change_state): Update for
5598 needs_preroll change.
5599 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5600 chaining up, in which we return SUCCESS directly if we activated
5601 in pull mode instead of ASYNC. Involves countering an async_start
5602 message sent before chaining up; not sure if this is correct, in
5603 an ideal world we only send async-start when activating in push
5606 * tests/check/pipelines/simple-launch-lines.c
5607 (test_state_change_returns): New test, partially disabled until
5610 2007-06-19 Wim Taymans <wim@fluendo.com>
5612 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5613 (gst_multi_queue_sink_event):
5616 2007-06-19 Wim Taymans <wim@fluendo.com>
5618 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5619 (gst_bin_change_state_func), (bin_push_state_continue),
5620 (bin_handle_async_start), (bin_handle_async_done),
5621 (gst_bin_handle_message_func):
5622 Move the common code for posting state-change messages into
5624 Broadcast the state signal after we posted the messages.
5625 Mark the bin as busy when it's doing a state-change.
5626 Make sure async-start/done messages don't interfere with the bin's
5627 state when it's busy.
5628 After the state change, let the bin check which elements completed the
5629 state change while it was busy so that it can update its state.
5631 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5633 * docs/random/release:
5634 Add a note about updating the doap file to the release checklist
5636 2007-06-18 Wim Taymans <wim@fluendo.com>
5638 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5639 (gst_single_queue_push_one), (gst_multi_queue_chain),
5640 (gst_multi_queue_sink_event):
5641 Make sure we don't reference the buffer/event after we have given away
5642 ownership in the queue.
5644 2007-06-18 Wim Taymans <wim@fluendo.com>
5646 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5647 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5648 Update queue state _after_ adding the item in the queue because else we
5649 could end up being full without the element added yet.
5651 2007-06-18 Wim Taymans <wim@fluendo.com>
5653 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5654 (gst_bin_remove_func), (gst_bin_get_state_func),
5655 (gst_bin_element_set_state), (gst_bin_continue_func),
5656 (bin_push_state_continue), (bin_handle_async_start),
5657 (bin_handle_async_done), (gst_bin_handle_message_func):
5659 Immediatly commit the toplevel bin state when receiving an async-done
5660 message. This enables us to avoid spawning a thread to commit the state
5661 in some common cases and it also avoids some races.
5662 Avoid spawning a state thread when adding/removing async elements to a
5663 toplevel bin. Instead we immediatly update the bin state.
5664 Get rid of iterating all the children when getting the state in the bin
5665 because it is now always up-to-date.
5666 Fix bug where locked elements would always return _SUCCESS even it they
5667 returned NO_PREROLL before being locked.
5668 Fix the order of the state_change, async-start/done messages that was
5669 sometimes incorrect.
5670 Mark the state_dirty field as deprecated, we don't need it anymore as we
5671 are always up-to-date.
5673 * gst/gstelement.c: (gst_element_get_state_func),
5674 (gst_element_continue_state):
5675 Small debug inprovements.
5676 Return the previous element state return when nothing is pending instead
5677 of blindly returning SUCCESS.
5679 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5681 Add a whole bunch of new testcases.
5683 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5687 Update translations.
5689 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5692 Fix typo in the docs.
5694 2007-06-15 Wim Taymans <wim@fluendo.com>
5696 * docs/libs/gstreamer-libs-sections.txt:
5697 Add docs for new methods.
5699 2007-06-15 Wim Taymans <wim@fluendo.com>
5701 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5702 (gst_multi_queue_item_new):
5703 Don't use GSlice because we don't depend on >= 2.10 yet.
5705 2007-06-15 Wim Taymans <wim@fluendo.com>
5707 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5708 (update_time_level), (apply_segment), (apply_buffer),
5709 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5710 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5711 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5712 (single_queue_underrun_cb), (single_queue_check_full):
5713 Remove debug printf.
5715 2007-06-15 Wim Taymans <wim@fluendo.com>
5717 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5718 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5719 (gst_data_queue_set_flushing), (gst_data_queue_push),
5720 (gst_data_queue_pop), (gst_data_queue_drop_head),
5721 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5722 * libs/gst/base/gstdataqueue.h:
5724 Added methods to get the current levels and to inform the queue that the
5725 'full' limits changed.
5727 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5728 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5729 (gst_single_queue_flush), (update_time_level), (apply_segment),
5730 (apply_buffer), (gst_single_queue_push_one),
5731 (gst_multi_queue_item_steal_object),
5732 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5733 (gst_multi_queue_loop), (gst_multi_queue_chain),
5734 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5735 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5736 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5737 (single_queue_underrun_cb), (single_queue_check_full),
5738 (gst_single_queue_new):
5739 Keep track of time in the queue by measuring the difference between
5740 running_time on input and output. This gives more accurate results and
5741 can compensate for segments correctly.
5742 Make a queue by default only 5 buffers deep. We will now increase the
5743 buffer size depending on the filledness of the other queues.
5744 Factor out commong flush code.
5745 Make sure we don't add additional refcounts to buffers when we can avoid
5747 Propagate GstFlowReturn differently.
5748 Use GSlice for intermediate GstMultiQueueItems.
5750 Resize queues on over and underruns based on filled level of other
5752 When checking if the queue is filled, prefer to measure in time if we
5753 can and fall back to bytes when no time is known.
5755 * plugins/elements/gstqueue.c:
5758 2007-06-15 Wim Taymans <wim@fluendo.com>
5760 * libs/gst/base/gstbasetransform.c:
5761 (gst_base_transform_sink_event):
5762 Work around the brokenness of the event vmethod in basetransform. Prefer
5763 to return TRUE when the subclass returned FALSE (meaning don't forward
5766 * libs/gst/base/gstbasetransform.h:
5769 2007-06-15 Wim Taymans <wim@fluendo.com>
5771 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5772 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5773 (gst_base_src_default_query), (gst_base_src_get_range),
5774 (gst_base_src_start):
5775 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5778 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5780 * docs/pwg/advanced-types.xml:
5781 Added more formats to caps table.
5783 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5785 * tools/gst-launch.c: (main):
5786 Remove crufy code. GOption does not need this workaround.
5788 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5790 * libs/gst/controller/gstcontroller.c:
5791 (gst_controlled_property_set_interpolation_mode):
5792 Fix wrong getter for enums in controller.
5794 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5796 * libs/gst/check/gstcheck.c: (gst_check_init):
5797 Intercept criticals and warnings in the Gst-Phonon log domain, so
5798 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5801 2007-06-14 Edward Hervey <edward@fluendo.com>
5803 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5804 Since this file doesn't include "gst.h" it will not go through the
5805 macros that disable GST_LOG if debugging was disabled.
5807 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5809 * libs/gst/check/Makefile.am:
5810 * libs/gst/check/gstcheck.h:
5811 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5812 * pkgconfig/gstreamer-check.pc.in:
5813 Ugly 'fix' for the controller unit test on the p5 bot: in
5814 fail_unless_equals_float() check whether the values are 'almost
5815 equal' by allowing a small absolute error, which should be good
5816 enough for our use cases (normal numbers and values close to 0).
5817 Proper fixage left to floating point arithmetic aficionados.
5819 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5821 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5822 (gst_base_sink_render_object), (gst_base_sink_get_position):
5823 Add two breaks thats where missing.
5825 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5827 * docs/libs/gstreamer-libs-sections.txt:
5828 * libs/gst/check/gstcheck.h:
5829 API: add fail_unless_equals_float() and assert_equals_float().
5830 Add documentation for some of the macros.
5832 * tests/check/libs/controller.c: (GST_START_TEST):
5833 Use newly-added asserts.
5835 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5837 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5838 Show the caps change in the log to help spotting the case of not
5839 exactly matching caps.
5841 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5843 * docs/pwg/building-boiler.xml:
5844 Fix typos, spotted by Thijs Vermeir (#447190).
5846 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5848 * docs/plugins/tmpl/.cvsignore:
5849 Ignore file to keep the buildbots happy
5851 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5853 * docs/plugins/Makefile.am:
5854 * docs/plugins/gstreamer-plugins-docs.sgml:
5855 * docs/plugins/gstreamer-plugins-sections.txt:
5856 Pull fdsink into the docs too.
5858 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5860 * libs/gst/controller/gstinterpolation.c:
5861 Actually use the new functions with min/max checks for the trigger and
5862 none interpolation modes for get() and get_value_array() instead of
5865 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5867 * libs/gst/controller/gstcontroller.c:
5868 (gst_controlled_property_free):
5869 Unset the minimum and maximum GValues when freeing the corresponding
5870 GstControllerProperty struct.
5872 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
5874 * libs/gst/controller/gstcontroller.c:
5875 (gst_controlled_property_new):
5876 * libs/gst/controller/gstcontrollerprivate.h:
5877 * libs/gst/controller/gstinterpolation.c:
5878 (gst_controlled_property_find_control_point_node),
5879 (interpolate_none_get), (interpolate_none_get_enum_value_array),
5880 (interpolate_none_get_string_value_array),
5881 (interpolate_trigger_get),
5882 (interpolate_trigger_get_enum_value_array),
5883 (interpolate_trigger_get_string_value_array):
5884 Protect against values larger or smaller than the minimum or maximum
5885 allowed value for the property when using values that can be compared.
5887 Optimize trigger interpolator a bit by taking the last requested value
5888 into account instead of always looping through the complete list.
5890 Fix coding style a bit, everywhere else we use "return foo" instead
5893 * tests/check/libs/controller.c: (GST_START_TEST),
5894 (gst_controller_suite):
5895 Add unit test for the protection against too large or too small
5898 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
5900 * docs/random/slomo/controller.txt:
5901 Add some thoughts about the future of the controller.
5903 2007-06-08 Wim Taymans <wim@fluendo.com>
5905 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5906 Don't overflow in retimestamping code.
5908 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
5910 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5911 Use gst_util_guint64_to_gdouble for conversions.
5912 * win32/common/libgstreamer.def:
5913 Add new exported functions.
5915 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
5918 Small docs addition.
5920 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5923 Remove that test line again.
5925 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5928 Test commit mail sending.
5930 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5933 Fix typo and test commit mail sending.
5935 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5937 * tests/examples/controller/audio-example.c:
5938 Improve comment and test commit mail sending.
5940 2007-06-07 Wim Taymans <wim@fluendo.com>
5942 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5943 (gst_bin_remove_func), (gst_bin_element_set_state),
5944 (bin_handle_async_start), (bin_handle_async_done),
5945 (gst_bin_handle_message_func):
5946 Add helper function to find messages.
5947 Generate the async-done messages together with the state change
5949 Small cleanups in handling toplevel bins.
5951 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
5953 * libs/gst/base/gstdataqueue.c:
5954 * libs/gst/base/gstdataqueue.h:
5955 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5956 (gst_multi_queue_item_new), (gst_multi_queue_chain),
5957 (gst_multi_queue_sink_event):
5958 * tests/check/elements/multiqueue.c: (multiqueue_suite):
5959 Fix multiqueue leaking buffers and events when downstream or the
5960 queue are flushing. Make refcounting assumptions explicit and
5961 document them (shouldn't break existing code that uses it other than
5962 maybe leak miniobjects, but that already happens anyway). Add unit
5963 test for the most common flushing case. Fixes #423700.
5965 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
5967 * libs/gst/controller/gstcontroller.c:
5968 Clarify docs: The get_all, get_value_array(s) functions
5969 don't modify the GObject properties.
5971 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
5973 * libs/gst/controller/gstcontroller.c:
5974 (gst_controlled_property_set_interpolation_mode),
5975 (gst_controlled_property_prepend_default),
5976 (gst_controlled_property_new), (gst_controller_set_unlocked),
5977 (gst_controller_set), (gst_controller_set_from_list),
5978 (gst_controller_unset), (gst_controller_unset_all):
5979 * libs/gst/controller/gstcontrollerprivate.h:
5980 * libs/gst/controller/gstinterpolation.c:
5981 Factor out the 'set' logic into gst_controller_set_unlocked for the
5982 gst_controller_set and gst_controller_set_from_list functions.
5984 To make life of the interpolators easier always add a control point
5985 at timestamp zero with the default value.
5987 In the linear interpolator make things more obvious by better variable
5990 Implement cubic interpolation mode (by using a natural cubic spline)
5991 and map the quadratic interpolation mode to this too (as quadratic
5992 doesn't make much sense, see discussion on the list).
5994 * tests/check/libs/controller.c: (GST_START_TEST),
5995 (gst_controller_suite):
5996 Add unit test for the cubic interpolation mode and check everywhere
5997 if the interpolation mode could be set as expected.
5999 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6001 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6002 Don't use GLib-2.10 functions, we still depend on
6003 GLib-how-old-is-it-again-2.8.
6005 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6007 * docs/gst/gstreamer-sections.txt:
6011 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6012 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6013 (_gst_param_fraction_values_cmp),
6014 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6015 * gst/gstparamspecs.h:
6017 * tests/check/Makefile.am:
6018 * tests/check/gst/.cvsignore:
6019 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6020 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6021 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6022 (GST_START_TEST), (gst_param_spec_suite):
6023 API: add GstParamSpecFraction, so elements can have fraction
6024 properties without lots of painful string parsing (#444648).
6026 2007-06-05 Wim Taymans <wim@fluendo.com>
6028 * gst/gstobject.c: (gst_object_class_init):
6029 Fix signal signature.
6032 Add small clarification in the api docs.
6034 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6035 States are protected with object lock.
6037 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6040 I should probably be listed as an author by now.
6042 * docs/random/release:
6043 Update the release doc
6045 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6048 Make docs for gst_value_compare() mention return enums that
6051 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6056 === release 0.10.13 ===
6058 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6061 releasing 0.10.13, "With or without you"
6063 2007-05-25 Wim Taymans <wim@fluendo.com>
6065 * gst/gstbin.c: (bin_handle_async_done):
6066 Make sure that the child bin stops after completing the async state
6067 change so that the parent can continue the state change to PLAYING.
6070 2007-05-25 Wim Taymans <wim@fluendo.com>
6072 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6073 (unref_data), (gst_collect_pads_remove_pad),
6074 (gst_collect_pads_check_pads):
6075 Use additional refcounting to avoid crashes when dynamically adding and
6076 removing pads. Fixes #420206.
6078 2007-05-24 Wim Taymans <wim@fluendo.com>
6080 * tools/gst-launch.c: (event_loop):
6081 When buffering goes from a two digit to a single digit number, make sure
6082 to remove the old second digit by writing a blank over it.
6084 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6086 * libs/gst/base/gstdataqueue.c:
6087 Eliminate tabs and trailing comma in enum list; fix some typos.
6089 2007-05-24 Wim Taymans <wim@fluendo.com>
6091 * tests/check/gst/gstbin.c: (GST_START_TEST):
6092 Allow refcount of 3 and 4 because some state thread might still be busy
6095 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6097 * plugins/elements/Makefile.am:
6098 * plugins/elements/gstmultiqueue.h:
6099 * plugins/elements/gstqueue.h:
6100 These are not installed headers, no need for padding.
6102 2007-05-24 Wim Taymans <wim@fluendo.com>
6104 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6105 (gst_bin_continue_func):
6106 Enable latency for next release.
6107 Restore STATE_LOCK around recalc_state that was left out during the
6108 rewrite and could result in racy behaviour when _get_state and
6109 recalc_state are run concurrently. See #440463.
6111 2007-05-23 Wim Taymans <wim@fluendo.com>
6113 * tests/check/gst/gstsystemclock.c: (store_callback),
6115 Improve test_async_order to also work when both timers are already
6116 expired when we get scheduled to check it.
6118 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6120 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6121 (gst_bin_set_property), (gst_bin_get_property),
6122 (gst_bin_remove_func), (gst_bin_handle_message_func):
6124 'private' is a c++ keyword, let's not use that in header files,
6125 otherwise c++ compilers will throw a tantrum.
6127 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6129 * plugins/elements/gstelements.c:
6130 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6131 (gst_file_sink_get_current_offset):
6132 * plugins/indexers/gstindexers.c: (plugin_init):
6133 Use #ifdef for HAVE_XYZ for consistency.
6135 * tests/check/Makefile.am:
6136 * tests/check/elements/.cvsignore:
6137 * tests/check/elements/filesink.c: (setup_filesink),
6138 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6139 Add some unit tests for filesink.
6141 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6143 Patch by: Mark Nauwelaerts <manauw at skynet be>
6145 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6146 (gst_file_sink_query), (gst_file_sink_do_seek),
6147 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6148 * plugins/elements/gstfilesink.h:
6149 Fix position reporting; rename data_written member to current_pos to
6150 reflect its real meaning (fixes #412648).
6152 2007-05-22 Edward Hervey <edward@fluendo.com>
6154 * docs/gst/gstreamer-sections.txt:
6155 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6156 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6157 (gst_bin_remove_func), (gst_bin_handle_message_func):
6159 Add a property for bins that handle the state change of their childs.
6162 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6164 * libs/gst/controller/gstinterpolation.c:
6165 Use an array of the correct type when using _get_value_array with
6166 linear interpolation.
6168 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6170 * gst/gstelement.c (gst_element_requires_clock,
6171 gst_element_provides_clock, gst_element_request_pad,
6172 gst_element_class_set_details, gst_element_class_set_details_simple,
6173 gst_element_default_send_event, gst_element_abort_state,
6174 gst_element_continue_state, gst_element_set_state,
6175 gst_element_set_state_func, iterator_activate_fold_with_resync):
6176 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6177 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6178 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6179 gst_pad_get_range, gst_pad_pull_range):
6180 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6181 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6182 GstPadActivateModeFunction, GstPadChainFunction,
6183 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6184 GstPadFixateCapsFunction, GstPadTemplate):
6185 * gst/gstpipeline.c (gst_pipeline_change_state,
6186 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6187 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6188 gst_pipeline_get_delay):
6189 Whitespace and docs fixes.
6191 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6193 * libs/gst/controller/gstinterpolation.c:
6194 (interpolate_trigger_get_enum_value_array),
6195 (interpolate_trigger_get_string_value_array):
6196 Add support for retrieving value arrays when using the trigger
6199 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6201 * libs/gst/controller/gstcontroller.c:
6202 (gst_controller_get_value_array):
6203 * libs/gst/controller/gstcontroller.h:
6204 Clarify the docs of gst_controller_get_value_array(): The array where
6205 the values should be written to must be allocated as there seems to be
6206 no way to get the size of a random GType. This doesn't change any
6207 behaviour. Also fix some typos all over the place and remove an unused,
6208 commented function that is not necessary as g_object_set() could be
6210 * tests/check/libs/controller.c: (GST_START_TEST),
6211 (gst_controller_suite):
6212 Add unit test for gst_controller_get_value_array().
6214 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6216 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6218 Disable part of the gst_buffer_try_new_and_alloc test, because
6219 it can happily succeed on 64-bit systems where there's more address
6222 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6224 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6225 Add unit test for the improved caps checking from bug #421543.
6227 2007-05-21 Wim Taymans <wim@fluendo.com>
6229 * docs/design/part-synchronisation.txt:
6232 * gst/gstbin.c: (gst_bin_query):
6233 * plugins/elements/gstqueue.c: (apply_segment):
6239 2007-05-21 Wim Taymans <wim@fluendo.com>
6241 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6242 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6243 (gst_pad_configure_src):
6244 Added simple version of improved caps checking. It was previously
6245 assumed that a setcaps function would check the validity of the caps but
6246 people prefer us to check caps against the template automatically.
6249 2007-05-21 Wim Taymans <wim@fluendo.com>
6251 * libs/gst/base/gstbasetransform.h:
6252 Fix macro for locking/unlocking the transform lock.
6254 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6256 * docs/plugins/tmpl/.cvsignore:
6259 2007-05-18 Edward Hervey <edward@fluendo.com>
6261 * plugins/elements/gstqueue.c: (gst_queue_loop):
6262 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6263 for the subtle art of warning a potentially blocking thread that it
6264 should check the source pad return value, and relay the information
6267 2007-05-18 Edward Hervey <edward@fluendo.com>
6269 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6270 Release the queue lock !
6272 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6274 * docs/libs/gstreamer-libs-sections.txt:
6275 Add the two new controller functions to the appropiate places.
6277 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6279 reviewed by: Stefan Kost <ensonic@users.sf.net>
6281 * libs/gst/controller/gstcontroller.c:
6282 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6283 (_gst_controller_get_property), (_gst_controller_set_property),
6284 (_gst_controller_init), (_gst_controller_class_init):
6285 * libs/gst/controller/gstcontroller.h:
6286 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6287 (gst_object_get_control_rate), (gst_object_set_control_rate):
6288 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6289 Add API that provides sync suggestion timestamps for elements that
6290 call gst_object_sync_values() from which those elements can subdivide
6291 their processing loop to get the best results for the controlled
6292 properties. For now it just suggests last_sync + control_rate as
6293 new timestamp but this will be improved in the future.
6295 While doing that change the control-rate property to a GstClockTime
6296 from guint and change it's meaning from samples to nanoseconds as
6297 the GstController doesn't know anything about sampling rate. Strictly
6298 speaking this breaks ABI but as the control-rate property didn't do
6299 anything in the past and as such couldn't be used this should be no
6302 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6304 reviewed by: Stefan Kost <ensonic@users.sf.net>
6306 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6307 (gst_controller_unset_all):
6308 * libs/gst/controller/gstcontrollerprivate.h:
6309 * libs/gst/controller/gstinterpolation.c:
6310 (gst_controlled_property_find_control_point_node):
6311 Save last synced value from the list to continue searching from there
6312 in future syncs. This speeds everything up a bit.
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_control_point_compare),
6319 (gst_control_point_find), (gst_controlled_property_new),
6320 (gst_control_point_free), (gst_controlled_property_free),
6321 (gst_controller_set), (gst_controller_set_from_list),
6322 (gst_controller_unset), (gst_controller_unset_all),
6323 (gst_controller_sync_values):
6324 * libs/gst/controller/gstcontroller.h:
6325 * libs/gst/controller/gstcontrollerprivate.h:
6326 * libs/gst/controller/gstinterpolation.c:
6327 (gst_controlled_property_find_control_point_node),
6328 (interpolate_none_get), (interpolate_trigger_get):
6329 Add a new private GstControlPoint struct which "inherits" from
6330 GstTimedValue to allow different interpolators to store internal
6331 values next to each control point. From the outside everything is
6332 still a GstControlPoint so we don't loose binary compatibility.
6333 Also fixup all the GValue handling to not leak GValues or list nodes.
6334 * tests/check/libs/controller.c: (GST_START_TEST):
6335 Free the list nodes and GValues in the controller_misc test.
6337 2007-05-17 Edward Hervey <edward@fluendo.com>
6342 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6344 * gst/gstplugin.c: (gst_plugin_load_file):
6345 If we fail to load a plugin because of unresolved symbols or missing
6346 libraries and spew a warning to stderr, we may just as well mention
6347 which plugin it was that failed to load.
6349 2007-05-13 David Schleef <ds@schleef.org>
6351 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6352 handles the case when ENABLE_GTK_DOC is false, and installs
6353 the prebuilt documentation. So gtk-doc subdirs are
6354 unconditionally enabled. Fixes: #349099.
6356 2007-05-13 David Schleef <ds@schleef.org>
6358 * gst/gstutils.h: Reword some documentation.
6360 2007-05-12 David Schleef <ds@schleef.org>
6362 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6363 do anything with the passed "module" parameter, so remove it.
6364 Allows removal of additional vestigal code.
6366 2007-05-12 David Schleef <ds@schleef.org>
6369 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6370 Switch to using g_stat() because it's more portable.
6372 2007-05-12 David Schleef <ds@schleef.org>
6375 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6376 parsing for embedded systems.
6377 * gst/gstelementfactory.c:
6378 Allow gst_element_register() to be called with plugin==NULL.
6379 Did nobody notice that static elements were broken?
6381 2007-05-12 Wim Taymans <wim@fluendo.com>
6383 * tools/gst-launch.c: (event_loop):
6384 Give more interesting info when buffering starts and stops.
6385 Fix case where buffering starts but we fail to update the buffering flag
6386 because the target state is not PLAYING.
6388 2007-05-12 Wim Taymans <wim@fluendo.com>
6390 * plugins/elements/gstqueue.c: (gst_queue_init),
6391 (gst_queue_finalize), (update_time_level), (apply_segment),
6392 (apply_buffer), (gst_queue_locked_flush),
6393 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6394 (gst_queue_handle_sink_event), (gst_queue_chain),
6395 (gst_queue_push_one), (gst_queue_loop):
6396 * plugins/elements/gstqueue.h:
6397 Refactor an cleanup queue a bit.
6398 Do better time level calculations that also work when the srcpad is not
6400 Remove some unneeded debug lines.
6402 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6403 Added testcase for time level measurement.
6404 Try to make some stuff more racefree.
6406 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6408 * gst/gsturi.c: (gst_element_make_from_uri):
6409 Don't leak plugin feature.
6411 * tests/check/Makefile.am:
6412 * tests/check/gst/.cvsignore:
6413 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6414 Add brain-dead unit test.
6416 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6418 Patch by: Jeroen Wouters <woutersj at gmail com>
6420 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6421 Treat protocol strings in a case-insensitive way (#437563).
6423 2007-05-11 Michael Smith <msmith@fluendo.com>
6425 * gst/gstplugin.c: (gst_plugin_load_file):
6426 * gst/gstregistry.c: (gst_registry_scan_path_level):
6427 Don't print a g_warning for any failure to load a shared object.
6428 Instead, push this down into gstplugin.c, and warn _only_ if we
6429 failed to open the module (i.e. failure to link).
6430 Avoids warnings on normal, working, non-plugin .so files.
6432 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6434 * gst/gstplugin.c (gst_plugin_load_file):
6435 * gst/gstregistry.c (GST_CAT_DEFAULT,
6436 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6437 Print a g_warning if there was an error when loading a plugins during
6438 registry scan. The shuld help beginners starting with gst-plugin
6441 2007-05-10 Wim Taymans <wim@fluendo.com>
6443 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6444 (update_time_level), (gst_queue_locked_flush),
6445 (gst_queue_handle_sink_event), (gst_queue_chain),
6446 (gst_queue_push_one), (gst_queue_loop):
6447 * plugins/elements/gstqueue.h:
6448 Be smarter when calculating the current amount of data in the queue by
6449 measuring the difference between start and end timestamps (in running
6450 time) inside the queue. Fixes #432876.
6451 API: GstQueue::pushing to notify elements that we are pushing data again
6452 since the running signal is rather broken for this purpose.
6454 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6456 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6457 gst_queue_base_init, gst_queue_init):
6460 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6462 * win32/common/libgstreamer.def:
6463 Add new exported functions.
6464 * win32/vs6/grammar.dsp:
6465 Use grammar pre-generated files.
6467 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6469 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6472 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6474 * gst/gstutils.c: (gst_parse_bin_from_description):
6476 Maintain API and ABI when --disable-parse is used. Now that
6477 we have an appropriate error code, we can just return NULL and the
6478 appropriate error when gst_parse_launch() is used despite it having
6479 been disabled (#342564).
6481 * tests/check/Makefile.am:
6482 * tests/check/pipelines/.cvsignore:
6483 * tests/check/pipelines/parse-disabled.c:
6484 Make sure these functions exist and return NULL plus a GError when
6485 --disable-parse is used.
6487 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6489 * tests/benchmarks/complexity.c: (main):
6490 * tests/benchmarks/mass-elements.c: (main):
6491 Set a good example and don't leak messages.
6493 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6495 * docs/gst/Makefile.am:
6496 * docs/libs/Makefile.am:
6497 Correct fixxrefs options.
6499 * docs/plugins/Makefile.am:
6500 * docs/plugins/gstreamer-plugins-docs.sgml:
6501 * docs/plugins/gstreamer-plugins-sections.txt:
6502 * plugins/elements/Makefile.am:
6503 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6504 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6505 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6506 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6507 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6508 _GstCapsFilterClass, trans_class):
6509 * plugins/elements/gstelements.c (name, rank, type, _elements):
6510 * plugins/elements/gstidentity.c
6511 (gst_identity_check_imperfect_timestamp,
6512 gst_identity_check_imperfect_offset):
6513 Document capsfilter and add doc-blurb to identity.
6515 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6517 * libs/gst/controller/gstcontroller.c:
6518 (gst_controlled_property_set_interpolation_mode):
6519 * libs/gst/controller/gstinterpolation.c:
6520 Don't crash if someone tries to set an interpolation mode that
6521 is invalid or that isn't supported yet. Fixes #422295.
6523 * tests/check/libs/controller.c: (GST_START_TEST),
6524 (gst_controller_suite):
6525 Add a test case for the above.
6527 2007-05-03 Edward Hervey <edward@fluendo.com>
6529 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6530 Properly set the last_stop position on GstSegment. This will only happen
6531 if there is a buffer to push out.
6533 2007-05-03 Wim Taymans <wim@fluendo.com>
6535 * libs/gst/base/gstbasetransform.c:
6536 (gst_base_transform_buffer_alloc):
6537 always_in_place does not mean that the sink and source caps are the
6538 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6540 2007-05-03 Wim Taymans <wim@fluendo.com>
6542 * docs/libs/gstreamer-libs-sections.txt:
6543 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6544 (gst_base_src_default_query), (gst_base_src_get_range):
6545 * libs/gst/base/gstbasesrc.h:
6546 API: gst_base_src_query_latency(). Added method so that subclasses can
6547 easily get the latency values of the base source class.
6549 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6551 * tools/gst-inspect.c (print_implementation_info):
6554 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6556 * tools/Makefile.am:
6557 * tools/gst-launch.1.in:
6558 Don't create a customised man page based on the host architecture,
6559 describe the default registry path generically. That way the man
6560 page is the same for all architectures and packagers have one
6561 multilib issue less to deal with. Fixes #434926.
6563 2007-05-02 Wim Taymans <wim@fluendo.com>
6566 Fix documentation as spotted by rg on IRC.
6568 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6571 Improve docs for gst_element_{link,unlink}.
6573 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6575 * docs/design/part-events.txt:
6576 * docs/design/part-overview.txt:
6580 * libs/gst/base/gstbasesink.c:
6581 Typo fixes; minor docs addition.
6583 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6585 * docs/gst/gstreamer-sections.txt:
6586 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6587 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6589 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6590 or src that supports a given URI protocol exists.
6592 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6594 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6595 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6596 Set the location to NULL if "file://" is set as URI. Otherwise
6597 some random previous URI would still be set if "file://" is
6598 set on an already used filesink/filesrc.
6600 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6602 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6603 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6604 Special case the "file://" URI as as this is used by some
6605 applications to test with gst_element_make_from_uri if there's
6606 an element that supports the URI protocol.
6607 Also move the g_path_is_absolute() check for the location part
6608 of the URI to also check this for "file://localhost/bla" URIs.
6610 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6612 * docs/gst/gstreamer-sections.txt:
6613 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6615 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6617 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6619 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6621 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6622 (gst_registry_binary_load_pad_template),
6623 (gst_registry_binary_load_plugin),
6624 (gst_registry_binary_read_cache):
6625 * gst/gstregistrybinary.h:
6626 Implement no-mmap alternative for registry reading. Do code cleanups.
6627 Add more comments about avoiding strdups for all text data. Comments
6630 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6632 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6633 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6634 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6635 Comment structs and reformat to fix the build (that stuff should go
6636 into a priv. header).
6638 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6640 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6641 (gst_registry_binary_load_feature):
6642 * gst/gstregistrybinary.h:
6643 Refactor so that we can implement multiple features. Add support for
6644 TypeFindFactory features.
6646 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6648 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6651 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6653 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6655 * gst/gstbin.c: (gst_bin_element_set_state),
6656 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6657 (bin_handle_async_done), (gst_bin_handle_message_func):
6658 Fix build with --gst-disable-gst-debug
6660 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6662 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6663 Make sure streaming has finished before calling the ::stop() vfunc,
6664 since that vfunc might clear state which is being used in the
6665 streaming thread. This fixes a race that caused crashes in
6666 audioresample when shutting down a pipeline (#420106).
6668 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6670 * docs/gst/gstreamer-sections.txt:
6671 That was one byte missing.
6673 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6676 * docs/gst/gstreamer-sections.txt:
6678 * gst/gstconfig.h.in:
6679 * gst/gstobject.c: (gst_object_class_init),
6680 (gst_signal_object_class_init):
6682 2nd attempt to have a xml-less build as a joined effort of #413123
6685 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6687 * docs/design/draft-tagreading.txt:
6688 Added open issues/thoughts to draft.
6690 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6692 * gst/parse/grammar.tab.pre.c:
6693 * gst/parse/grammar.tab.pre.h:
6694 * gst/parse/lex._gst_parse_yy.pre.c:
6695 Update the prebuild parser sources.
6697 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6699 * gst/parse/Makefile.am:
6700 And now fix the building of the flex sources. Now everything should
6703 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6705 * gst/parse/Makefile.am:
6706 Now hopefully fix the build failures by setting proper rule
6707 dependencies and moving instead of copying.
6709 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6711 * tests/benchmarks/complexity.gnuplot:
6712 * tests/benchmarks/complexity.scm:
6713 * tests/benchmarks/mass-elements.gnuplot:
6714 * tests/benchmarks/mass-elements.scm:
6715 Total licensification.
6717 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6719 * gst/parse/Makefile.am:
6720 Fix the build by correcting the rule that gave wrong files to flex.
6722 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6724 * tests/benchmarks/complexity.c:
6725 * tests/benchmarks/mass-elements.c:
6726 Change licence to LGPL as granted by Benjamin and Andy.
6728 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6730 * gst/parse/Makefile.am:
6731 Add correct grammar.tab.h dependency if compiling without new enough
6732 flex. Fixes #431150.
6734 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6736 * gst/parse/Makefile.am:
6737 Fix typo and use outdated sources if the flex/bison sources are newer
6738 than the pregenerated ones but flex is too old. Print a warning in
6739 that case. This should fix the build on the build bot.
6741 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6743 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6744 * gst/parse/Makefile.am:
6745 * gst/parse/grammar.y:
6746 * gst/parse/parse.l:
6747 Make the parser reentrant and recursively callable. This requires flex
6748 >= 2.5.31, for older versions pregenerated sources are used as we
6749 can't bump the build dependency. Finally fixes #349180.
6751 * gst/gstparse.c: (gst_parse_launch):
6752 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6755 * docs/gst/Makefile.am:
6756 * docs/gst/Makefile.am:
6757 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6758 (__gst_parse_strfree), (__gst_parse_link_new),
6759 (__gst_parse_link_free), (__gst_parse_chain_new),
6760 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6761 (gst_parse_element_set), (gst_parse_free_link),
6762 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6763 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6764 (_gst_parse_launch):
6765 * gst/parse/grammar.tab.pre.h:
6766 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6767 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6768 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6769 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6770 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6771 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6772 (_gst_parse_yypop_buffer_state),
6773 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6774 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6775 (yy_fatal_error), (_gst_parse_yyget_extra),
6776 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6777 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6778 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6779 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6780 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6781 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6782 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6783 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6784 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6785 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6786 (_gst_parse_yyfree):
6787 If the installed flex version is too old use pre-generated parser
6788 sources. These pre-generated parser sources are always updated when
6789 the actual flex/bison sources change but require everybody who wants
6790 to change something in the parser to have flex >= 2.5.31 installed.
6792 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6794 * common/m4/gst-gettext.m4:
6795 * gst/gst-i18n-lib.h:
6796 Make --disable-nls to work
6798 2007-04-17 Wim Taymans <wim@fluendo.com>
6800 * gst/gstconfig.h.in:
6801 Revert previous change that broke the build.
6803 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6807 * gst/gstconfig.h.in:
6808 Drop libxml2 dependency when building with
6809 --enable-binary-registry --disable-loadsave
6811 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6813 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6814 (gst_registry_binary_read_cache):
6815 * gst/gstregistrybinary.h:
6816 Remove unnecessary <sys/mman.h> include which broke the win32 build
6817 with MingW; move includes from header file to .c file, even if the
6818 header file isn't installed; use g_strerror() where UTF-8 strings
6819 are expected, such as in GST_DEBUG messages.
6821 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6823 * docs/libs/gstreamer-libs-sections.txt:
6824 Remove bogus addition for API I didn't end up keeping.
6826 * libs/gst/base/gstbasesrc.h:
6827 Mention Since: 0.10.13 in the documentation.
6829 Add the API keyword to the previous ChangeLog entry.
6831 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6833 * docs/libs/gstreamer-libs-sections.txt:
6834 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6835 (gst_base_src_default_prepare_seek_segment),
6836 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6837 * libs/gst/base/gstbasesrc.h:
6838 Allow basesrc derived classes to execute seeks in other formats
6839 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6840 to prepare the GstSegment in any format that their perform_seek method
6841 will be able to understand. The default implementation provides the
6842 old behaviour of attempting to convert the seek offsets to the
6843 configured native format.
6845 API: basesrc::prepare_seek_segment vmethod.
6847 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6849 * gst/gstelement.c: (gst_element_get_state_func):
6850 Don't output the same debug statement twice.
6852 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6853 (gst_adapter_peek), (gst_adapter_take_buffer):
6854 Optimise the case where we have buffers at the head of the queue that
6855 can be joined quickly (because they're contiguous sub-buffers) by
6856 merging them together rather than copying data out into new memory.
6858 * gst/parse/grammar.y:
6859 * tests/check/pipelines/parse-launch.c:
6860 Fix a leak in an error path for parse_launch, and add a check
6861 for it to the testsuite.
6863 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6865 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6866 Don't deadlock when releasing a pad - gst_pad_set_active may try
6867 and take the multiqueue lock too.
6869 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
6871 * gst/gsterror.c: (_gst_core_errors_init):
6873 API: add GST_CORE_ERROR_DISABLED (#392804).
6875 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6877 * docs/faq/gst-uninstalled:
6878 don't get empty paths on the PATH variables
6879 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6880 Don't format for the uncommon terminal width of 84 characters.
6882 2007-04-06 Wim Taymans <wim@fluendo.com>
6884 * gst/gstpipeline.c: (reset_stream_time),
6885 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6886 Only try to select a different pipeline clock when we went back to
6887 PAUSED and not when we merely got flushed.
6889 2007-04-05 Michael Smith <msmith@fluendo.com>
6891 * tools/gst-launch.1.in:
6892 fractions are better supported in gstreamer than ractions, so
6893 suggest using those.
6895 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
6897 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6901 Added Danish translation.
6903 2007-04-05 Wim Taymans <wim@fluendo.com>
6905 * libs/gst/base/gstbasesink.c:
6906 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6907 Fix leak caused when refusing newsegment after EOS.
6909 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6910 (gst_fake_sink_init), (gst_fake_sink_set_property),
6911 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6912 (gst_fake_sink_render), (gst_fake_sink_change_state):
6913 * plugins/elements/gstfakesink.h:
6914 Add num-buffers property to make the element generate EOS after a
6915 configurable amount of buffers.
6916 API: fakesink::num-buffers property.
6918 * tests/check/elements/fakesink.c: (GST_START_TEST),
6920 Fix GstBus leak in test.
6921 Test for fakesink num-buffers.
6923 2007-04-05 Wim Taymans <wim@fluendo.com>
6925 * libs/gst/base/gstbasesink.c:
6926 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6927 (gst_base_sink_change_state):
6928 Don't accept anything after an EOS, return UNEXPECTED instead.
6930 * tests/check/elements/fakesink.c: (GST_START_TEST),
6932 Unit test for new EOS behaviour.
6934 2007-04-05 Wim Taymans <wim@fluendo.com>
6936 * gst/gstelement.c: (gst_element_get_request_pad):
6937 Make padtemplates also work when they don't contain %s or %d.
6939 2007-04-05 Wim Taymans <wim@fluendo.com>
6941 * docs/gst/gstreamer-sections.txt:
6942 * gst/gstclock.c: (gst_clock_adjust_unlocked),
6943 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6945 Improve _adjust_unlocked() so that it overflows less.
6946 Add gst_clock_unadjust_unlocked to convert from external time to
6947 internal time based on calibration.
6948 Add some more debug.
6949 API: GstClock::gst_clock_unadjust_unlocked()
6951 2007-04-03 Wim Taymans <wim@fluendo.com>
6953 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6955 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6956 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6957 when releasing sink pad. Fixes #425400.
6959 2007-04-02 Stefan Kost <ensonic@users.sf.net>
6961 * docs/random/ensonic/dynlink.txt:
6962 More work on proposal for new core api.
6964 * docs/libs/gstreamer-libs-sections.txt:
6965 * libs/gst/base/gstbasetransform.h:
6966 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6968 * libs/gst/controller/gstcontroller.c:
6969 (on_object_controlled_property_changed),
6970 (gst_controller_sync_values),
6971 (gst_controller_set_interpolation_mode):
6972 * libs/gst/controller/gstcontroller.h:
6973 Less verbose logging add docs for unimplemented parts and correctly
6974 return when using unavailable parts.
6976 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
6978 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6979 Move all the debug to the CLOCK category, and associate it with
6982 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
6984 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6985 Make take_buffer a bit quicker by removing redundant checks
6986 caused by calling gst_adapter_take.
6988 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
6990 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
6993 * tests/check/Makefile.am:
6994 * tests/check/elements/.cvsignore:
6995 * tests/check/elements/multiqueue.c: (setup_multiqueue),
6996 (GST_START_TEST), (multiqueue_suite):
6997 Add some dead simple unit tests for the 'multiqueue' element
6998 (some bits don't work yet and are disabled for now).
7000 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7002 * gst/gstelement.c: (gst_element_get_request_pad),
7003 (gst_element_class_get_request_pad_template):
7004 Make gst_element_get_request_pad() create request pads only for
7005 request pad templates and not for, say, sometimes pad templates.
7007 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7009 * docs/design/draft-klass.txt:
7010 Add example that needs more thinking.
7012 * docs/design/draft-missing-plugins.txt:
7013 More thoughts about wrapper plugins.
7015 * docs/random/ensonic/embedded.txt:
7016 * docs/random/ensonic/profiling.txt:
7019 2007-03-25 Wim Taymans <wim@fluendo.com>
7021 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7022 (gst_base_src_loop):
7023 Only push the segment events in the PLAYING state for live sources.
7025 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7027 * gst/gstpipeline.c: (gst_pipeline_change_state):
7028 Modify the clock distribution path in PAUSED->PLAYING so that we
7029 never attempt to choose a new clock unless we're actually leaving
7030 the PAUSED state for the first time. This prevents choosing a
7031 different clock when the state_change gets called for a 2nd time due
7032 to some element doing an async state change.
7034 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7036 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7037 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7038 (gst_pad_chain_unchecked), (gst_pad_push):
7039 Revert last commit. This needs some more thoughts.
7041 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7043 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7044 (gst_pad_chain_unchecked), (gst_pad_push):
7045 Check in set_caps if the caps are compatible with the pad and remove
7046 two functions that are redundant now. Fixes #421543.
7048 2007-03-22 Wim Taymans <wim@fluendo.com>
7050 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7051 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7052 Unref some more to make valgrind happy.
7054 2007-03-22 Wim Taymans <wim@fluendo.com>
7056 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7057 (gst_system_clock_id_wait_jitter),
7058 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7059 Fix anoying regression that survived a few releases. When adding an
7060 async entry while blocking on a sync entry, the sync entry will unblock
7061 but still be busy, so it should continue to wait instead of returning
7063 Add some comments here and there.
7065 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7066 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7067 Add testcase for this.
7069 2007-03-22 Wim Taymans <wim@fluendo.com>
7071 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7072 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7073 WRONG_STATE and can silently pause the task. All other cases should
7076 2007-03-22 Wim Taymans <wim@fluendo.com>
7078 Patch by: Ville Syrjala <syrjala at sci dot fi>
7080 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7081 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7084 2007-03-21 Michael Smith <msmith@fluendo.com>
7086 * docs/pwg/advanced-types.xml:
7087 Fix some errors in the typefinding docs pointed out on irc.
7089 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7091 * libs/gst/base/gstbasesrc.c:
7092 Clarify FIXME comment in the face of having added unlock_stop()
7094 2007-03-21 Wim Taymans <wim@fluendo.com>
7096 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7097 Prepare for release where we warn against possible app breakage in the
7098 case of live pipelines along with an env var to enable/disable live
7099 preroll mode (GST_COMPAT=[no-]live-preroll).
7101 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7103 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7104 So we should use correct constants for checking for None offset.
7106 2007-03-20 Wim Taymans <wim@fluendo.com>
7108 * docs/design/part-block.txt:
7109 Mention the fact that the newly switched element should be set to at
7112 2007-03-20 Wim Taymans <wim@fluendo.com>
7115 Fix compilation with registry disabled as spotted by Saur.
7117 2007-03-20 Wim Taymans <wim@fluendo.com>
7119 Patch by: Olivier Crete <tester at tester dot ca>
7121 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7122 Look at the pending state too when syncing the element state to the
7123 parent. Fixes #420133.
7125 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7127 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7128 (gst_base_sink_change_state):
7129 * libs/gst/base/gstbasesink.h:
7130 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7131 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7132 (gst_base_src_deactivate):
7133 * libs/gst/base/gstbasesrc.h:
7134 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7135 for sub-classes to correctly clear any state they set trying to
7136 unlock, such as clearing out unlock commands from a command fd.
7137 API: basesrc::unlock_stop
7138 API: basesink::unlock_stop
7140 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7141 (gst_fd_sink_render), (gst_fd_sink_unlock),
7142 (gst_fd_sink_unlock_stop):
7143 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7144 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7145 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7147 Implement unlock_stop in fdsrc and fdsink.
7148 Implement seeking in fdsrc when a seekable fd is passed, as in
7149 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7151 2007-03-19 Wim Taymans <wim@fluendo.com>
7153 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7155 * gst/gstelement.c: (gst_element_class_init):
7156 Fix pad-added and pad-removed signal signatures so that the pad type is
7157 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7159 2007-03-19 Wim Taymans <wim@fluendo.com>
7161 * docs/gst/gstreamer-sections.txt:
7162 Add new element field and method.
7164 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7165 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7166 (gst_bin_recalc_state), (gst_bin_get_state_func),
7167 (gst_bin_element_set_state), (gst_bin_change_state_func),
7168 (gst_bin_continue_func), (bin_bus_handler),
7169 (bin_push_state_continue), (bin_handle_async_start),
7170 (bin_handle_async_done), (gst_bin_handle_message_func):
7171 Make async state changes a bit smarter by using new ASYNC_START and
7172 ASYNC_DONE messages. This reduces the number of times we run the state
7173 recalculation thread.
7174 Don't change state of element with a pending ASYNC_START message.
7175 Deprecate STATE_DIRTY messages.
7177 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7178 (gst_element_get_state_func), (gst_element_continue_state),
7179 (gst_element_lost_state), (gst_element_set_state_func),
7180 (gst_element_change_state):
7182 Keep the state that was last set by the app in a new element field.
7183 Don't allow state changes when handling an element event.
7184 Post ASYNC_START and ASYNC_DONE messages.
7185 Change lost_state so that we go to PAUSED and wait for the parent to set
7186 us to PLAYING again (so latency calculation can be performed)
7187 Export gst_element_change_state() method so that subclasses can use it.
7188 API: gst_element_change_state()
7189 API: GST_STATE_TARGET
7191 * gst/gstpipeline.c: (gst_pipeline_class_init),
7192 (reset_stream_time), (gst_pipeline_change_state),
7193 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7194 Using the new ASYNC_START message we can reset the base_time when
7195 needed. This can then be used to implement base_time redistribution in
7196 flushing seeks so that we can remove the explicit seek handling.
7197 Perform latency query and configuration when going to PLAYING.
7199 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7200 (gst_base_sink_query), (gst_base_sink_change_state):
7201 Post new ASYNC_START/ASYNC_DONE messages.
7203 * tests/check/generic/sinks.c: (GST_START_TEST):
7204 Fix test because the bin will not set the async element to PLAYING right
7207 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7208 Make the message check a little stronger.
7209 Handle ASYNC messages.
7211 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7212 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7213 Expect ASYNC_DONE messages.
7215 2007-03-19 Wim Taymans <wim@fluendo.com>
7217 * docs/gst/gstreamer-sections.txt:
7218 * gst/gstmessage.c: (gst_message_new_async_start),
7219 (gst_message_new_async_done), (gst_message_parse_info),
7220 (gst_message_parse_async_start):
7222 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7225 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7227 * tools/gst-inspect.c:
7228 (print_plugin_automatic_install_info_codecs):
7229 Now that we don't check for the 'Codec' keyword any longer in the
7230 klass, we shouldn't spew a warning if the klass isn't a decoder or
7231 encoder (since it might be a Source/Network, for example).
7233 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7235 * tools/gst-inspect.c:
7236 (print_plugin_automatic_install_info_codecs):
7237 Don't require decoder/demuxer/depayloader elements or
7238 encoder/muxer/paylader elements to have 'Codec' as part of their
7239 factory class string when introspecting a plugin's capabilities.
7240 draft-klass.txt mentions that it might be removed in future, and
7241 flump3dec doesn't have it as part of its class string, so chances
7242 are others might also not have it.
7244 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7266 Update translations from translation project
7268 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7270 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7271 (gst_child_proxy_set_property):
7272 Invert precondition check to be alike the ones in the mimiced gobject
7275 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7277 * docs/design/draft-tagreading.txt:
7278 * docs/random/ensonic/audiobaseclasses.txt:
7279 Do some Architect work.
7281 * gst/gstobject.c: (gst_object_set_name):
7285 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7287 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7289 * gst/gstsystemclock.c: (gst_system_clock_init),
7290 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7291 Defer starting the async system clock thread until the first async
7292 wait is scheduled. Fixes #414986.
7294 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7296 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7297 (gst_single_queue_free):
7298 Fix small leak (free GstSingleQueue structure too, not only contents).
7300 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7302 * gst/gstbin.c:(gst_bin_add):
7303 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7304 * win32/common/libgstbase.def:
7305 * win32/common/libgstreamer.def:
7306 Add new exported functions.
7308 2007-03-09 Wim Taymans <wim@fluendo.com>
7310 * docs/plugins/gstreamer-plugins-sections.txt:
7313 2007-03-09 Wim Taymans <wim@fluendo.com>
7315 * docs/gst/gstreamer-sections.txt:
7316 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7318 Add metadata copy functions. Fixes #393099.
7319 API: gst_buffer_copy_metadata()
7321 * gst/gstutils.c: (gst_buffer_stamp):
7322 * libs/gst/base/gstbasetransform.c:
7323 (gst_base_transform_prepare_output_buffer):
7324 Use new metadata copy functions.
7326 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7328 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7329 (gst_identity_init), (gst_identity_check_perfect),
7330 (gst_identity_check_imperfect_timestamp),
7331 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7332 (gst_identity_set_property), (gst_identity_get_property):
7333 * plugins/elements/gstidentity.h:
7334 Separate out check-imperfect-timestamp and check-imperfect-offset.
7335 Put back check-perfect as it was to keep compatibility.
7337 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7339 * gst/gstelement.c: (gst_element_dispose):
7340 There's no need to warn if VOID_PENDING is not NONE here, as
7341 long as the state is NULL it's ok, and that's checked immediately
7344 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7346 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7347 Fix check for perfect stream to ignore buffers with -1
7348 offsets/offset ends when checking data contiguity.
7350 2007-03-08 Wim Taymans <wim@fluendo.com>
7352 * tools/gst-launch.c: (event_loop):
7353 Print INFO messages.
7355 2007-03-08 Wim Taymans <wim@fluendo.com>
7357 * libs/gst/base/gstbasetransform.c:
7358 (gst_base_transform_sink_eventfunc),
7359 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7360 (gst_base_transform_activate):
7361 * libs/gst/base/gstbasetransform.h:
7362 Add support for dropping buffers with custom GstFlowReturn.
7363 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7364 buffers or dropped buffers.
7366 * docs/libs/gstreamer-libs-sections.txt:
7367 docs for new custom return code.
7369 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7370 Use drop support in base class to implement drop-probability.
7372 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7374 * gst/gst.c: (load_plugin_func):
7375 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7376 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7377 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7378 Remove newlines at end of debug log strings.
7380 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7382 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7383 Only post bus message at max, once per buffer received.
7385 2007-03-07 Wim Taymans <wim@fluendo.com>
7387 * docs/design/Makefile.am:
7388 * docs/design/part-synchronisation.txt:
7389 Add doc about synchronisation
7391 * docs/design/draft-latency.txt:
7392 * docs/design/part-TODO.txt:
7393 * docs/design/part-clocks.txt:
7394 * docs/design/part-events.txt:
7395 * docs/design/part-gstbus.txt:
7396 * docs/design/part-gstpipeline.txt:
7397 * docs/design/part-live-source.txt:
7398 * docs/design/part-messages.txt:
7399 * docs/design/part-overview.txt:
7400 * docs/design/part-streams.txt:
7401 * docs/design/part-trickmodes.txt:
7402 Documentation updates.
7404 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7407 Update the doap file.
7409 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7411 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7412 Rename non-perfect to imperfect for Mike and for the sanctity of the
7414 Also make sure bus message gets emitted for data-incontiguities.
7416 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7418 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7419 (gst_identity_start):
7420 * plugins/elements/gstidentity.h:
7421 Emit bus message if check-perfect is true and we encounter a
7422 non-perfect stream between 2 consecutive buffers.
7425 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7430 === release 0.10.12 ===
7432 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7435 releasing 0.10.12, "Inevitable Demise"
7437 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7440 Version 0.10.11.2 (0.10.12 pre-release)
7441 Bump libtool versioning.
7443 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7445 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7446 Log flow-names and not numbers.
7448 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7451 Convert to new AG_GST style.
7453 2007-02-28 Wim Taymans <wim@fluendo.com>
7455 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7456 Don't unref query twice.
7458 2007-02-28 Wim Taymans <wim@fluendo.com>
7460 * gst/gstvalue.c: (gst_value_transform_object_string),
7461 (_gst_value_initialize):
7462 Implement GstObject -> string transform so we print object names
7463 when serializing GValues containing GstObjects.
7465 2007-02-28 Wim Taymans <wim@fluendo.com>
7467 * docs/gst/gstreamer-sections.txt:
7468 Add new stuff to docs.
7470 2007-02-28 Wim Taymans <wim@fluendo.com>
7472 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7473 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7474 (gst_base_sink_change_state):
7475 Improve latency query code.
7476 Don't leak latency events.
7478 * tests/check/gst/gstbin.c: (GST_START_TEST):
7481 2007-02-28 Wim Taymans <wim@fluendo.com>
7483 * gst/gstelement.c: (gst_element_message_full),
7484 (gst_element_get_state_func):
7486 Improve docs a little. Added Since: for new macro.
7488 * gst/gstobject.c: (gst_object_sink):
7489 * gst/gstpipeline.c: (gst_pipeline_change_state),
7490 (gst_pipeline_set_new_stream_time):
7491 * gst/gstpipeline.h:
7492 Improve debugging and docs.
7494 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7497 2007-02-28 Wim Taymans <wim@fluendo.com>
7499 * gst/gstelement.c: (gst_element_message_full),
7500 (gst_element_set_locked_state), (gst_element_get_state_func),
7501 (gst_element_change_state):
7502 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7503 Documentation updates.
7504 Small code cleanups.
7506 * gst/gstmessage.c: (gst_message_new_info),
7507 (gst_message_parse_info):
7509 API: gst_message_new_info()
7510 API: gst_message_parse_info()
7511 Add INFO message create and parse code.
7513 2007-02-28 Wim Taymans <wim@fluendo.com>
7515 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7516 (bin_query_latency_done):
7517 Also report the live parameter of a latency query.
7519 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7521 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7522 Copy the current generic/states example from -base and adapt so
7523 we can use the exact same code everywhere.
7524 Check a STATES_IGNORE_ELEMENTS env var which can be used
7525 to ignore certain element factories for this test, which is
7526 what is being done in -base
7527 * tests/check/Makefile.am:
7528 Mention this environment variable.
7530 2007-02-27 Wim Taymans <wim@fluendo.com>
7532 * docs/gst/gstreamer-sections.txt:
7533 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7534 (gst_bus_timed_pop), (gst_bus_pop):
7536 API: gst_bus_timed_pop()
7537 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7538 message to arrive on the bus.
7540 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7542 Two unit tests for new _timed_pop() function.
7544 2007-02-23 Wim Taymans <wim@fluendo.com>
7546 * gst/gstpipeline.c: (gst_pipeline_change_state),
7547 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7548 Don't ref a NULL clock in _provide_clock_func().
7549 Don't allow an INVALID delay.
7550 Don't try to calculate base_time with an invalid start_time.
7551 Also distribute and notify a NULL clock when it was selected.
7553 * tools/gst-launch.c: (event_loop):
7554 Don't crash when a NULL clock was selected in the pipeline.
7556 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7558 * docs/design/Makefile.am:
7559 * docs/design/draft-missing-plugins.txt:
7560 * docs/random/draft-missing-plugins.txt:
7561 Some small updates: update plugin system identifier prefix
7562 ('gstreamer.net' to 'gstreamer'), mention our new install
7563 API in libgstbaseutils rather than libgimme-codec, add
7564 reference to the online docs.
7566 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7568 * win32/common/config.h:
7569 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7570 use moap cl ci to only check in what is mentioned in the ChangeLog.
7572 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7574 * docs/gst/gstreamer-sections.txt:
7576 Fix up documentation to link to the correct GstGError section.
7577 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7579 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7581 * tools/gst-launch.c: (event_loop):
7582 Make sure that we actually show the important message part of a
7584 No need to check if the gerror is not NULL to free; first of all
7585 g_free accepts NULL; and second the default error handler would
7586 segfault if gerror was NULL.
7588 2007-02-21 Wim Taymans <wim@fluendo.com>
7590 * docs/gst/gstreamer-sections.txt:
7591 Removed docs as well.
7593 2007-02-21 Wim Taymans <wim@fluendo.com>
7595 * gst/gstmessage.c: (gst_message_parse_duration):
7597 Remove new messages for release.
7599 2007-02-20 Wim Taymans <wim@fluendo.com>
7601 * docs/design/part-gstghostpad.txt:
7602 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7603 (gst_ghost_pad_new_full):
7604 Make the ghostpad a parent of the internal pad again for better backward
7605 compatibility. Don't write code that relies on this however.
7607 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7608 (gst_pad_link_check_hierarchy):
7609 Require that parents should be GstElements in the hierarchy check.
7611 2007-02-20 Wim Taymans <wim@fluendo.com>
7613 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7614 (gst_bin_change_state_func), (bin_query_min_max_init),
7615 (bin_query_latency_fold), (bin_query_latency_done),
7618 Implement latency query.
7620 2007-02-20 Wim Taymans <wim@fluendo.com>
7622 * docs/design/part-gstghostpad.txt:
7623 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7624 (gst_ghost_pad_internal_do_activate_push),
7625 (gst_ghost_pad_internal_do_activate_pull),
7626 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7627 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7628 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7629 Do not set the internal pad as a parent anymore so we can avoid
7630 hierarchy linking errors when the ghostpad has no parent yet. This also
7631 fixes failed activation because of unlinked internal pads, which in
7632 turn fixes the impossible case where you have to activate a pad before
7633 you can add it to a running element.
7636 * gst/gstpad.c: (pre_activate), (post_activate),
7637 (gst_pad_set_active), (gst_pad_activate_pull),
7638 (gst_pad_activate_push), (gst_pad_check_pull_range):
7639 Add some more debug info.
7640 Mark activation mode in pre_activate so that we don't try to activate in
7641 endless loops. Fixes #385084.
7643 2007-02-19 Wim Taymans <wim@fluendo.com>
7645 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7646 (gst_base_transform_check_get_range):
7647 Implement a checkgetrange function instead of relying on the default
7648 core behaviour that assumes we can operate in pull mode if we have a
7649 getrange function. First step at fixing #385084.
7651 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7653 * gst/gstchildproxy.h:
7654 * libs/gst/base/gstbasesink.h:
7655 * libs/gst/base/gstbasesrc.h:
7656 * libs/gst/base/gstbasetransform.h:
7657 More docs coverage and some ChangeLog surgery (add missing names)
7659 2007-02-15 Wim Taymans <wim@fluendo.com>
7661 * docs/design/part-TODO.txt:
7662 * docs/design/part-activation.txt:
7663 * docs/design/part-block.txt:
7664 * docs/design/part-buffering.txt:
7665 * docs/design/part-clocks.txt:
7666 * docs/design/part-element-source.txt:
7667 * docs/design/part-events.txt:
7668 * docs/design/part-gstbin.txt:
7669 * docs/design/part-gstbus.txt:
7670 * docs/design/part-gstpipeline.txt:
7671 * docs/design/part-live-source.txt:
7672 * docs/design/part-messages.txt:
7673 * docs/design/part-overview.txt:
7674 * docs/design/part-qos.txt:
7675 * docs/design/part-query.txt:
7676 * docs/design/part-states.txt:
7677 * docs/design/part-trickmodes.txt:
7678 Some doc updates. Start renaming from stream_time to running_time where
7679 it was used wrongly.
7681 2007-02-15 Wim Taymans <wim@fluendo.com>
7683 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7684 Answer LATENCY query.
7686 2007-02-15 Wim Taymans <wim@fluendo.com>
7688 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7692 2007-02-15 Wim Taymans <wim@fluendo.com>
7694 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7695 (gst_pad_dispatcher):
7696 Improve debugging of default pad dispatcher and query functions.
7698 2007-02-15 Wim Taymans <wim@fluendo.com>
7700 * docs/gst/gstreamer-sections.txt:
7701 Remove old unused method.
7703 2007-02-13 Wim Taymans <wim@fluendo.com>
7705 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7708 2007-02-13 Wim Taymans <wim@fluendo.com>
7710 * docs/design/part-seeking.txt:
7713 * gst/gstsegment.c: (gst_segment_set_seek):
7714 Revert old bogus change that should make seeking work again.
7716 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7718 * docs/random/ensonic/dynlink.txt:
7719 * docs/random/ensonic/interfaces.txt:
7720 * docs/random/ensonic/receipies.txt:
7721 Possible dynamic reconnection api, plus some type fixes the other two
7724 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7726 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7727 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7728 Also check for an absolute path following file:// in the filesrc
7729 element. Remove redundant check and call g_path_is_absolute() on the
7732 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7734 * docs/design/draft-klass.txt:
7735 Add existing category analysis.
7738 Fix doc example, framerate is a fraction.
7740 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7743 * docs/gst/Makefile.am:
7744 * docs/gst/gstreamer-sections.txt:
7745 * docs/libs/Makefile.am:
7746 Erm, forgot a bunch of --extra-dir.
7748 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7751 * docs/gst/Makefile.am:
7752 * docs/libs/Makefile.am:
7753 * docs/plugins/Makefile.am:
7754 Add crossreferences to glib/gobject docs.
7756 2007-02-12 Wim Taymans <wim@fluendo.com>
7758 * docs/design/draft-latency.txt:
7761 * docs/libs/gstreamer-libs-sections.txt:
7762 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7763 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7764 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7765 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7766 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7767 (gst_base_sink_get_position), (gst_base_sink_query),
7768 (gst_base_sink_change_state):
7769 * libs/gst/base/gstbasesink.h:
7770 API: gst_base_sink_query_latency() to let subclasses query the upstream
7772 API: gst_base_sink_get_latency() to let subclasses query the configured
7773 latency in the sink.
7774 Implement query and set latency.
7776 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7777 don't continue preroll when we are flushing. Fixes #405284.
7779 * tests/check/pipelines/stress.c: (change_state_timeout),
7780 (quit_timeout), (GST_START_TEST), (stress_suite):
7783 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7785 Patch by: René Stadler <mail at renestadler de>
7787 * docs/gst/gstreamer-sections.txt:
7788 * gst/gsttaglist.c: (_gst_tag_initialize):
7790 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7792 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7794 * docs/libs/Makefile.am:
7795 Fix path to core docs.
7797 * gst/gstbin.c: (gst_bin_get_by_interface),
7798 (gst_bin_iterate_all_by_interface):
7799 Refix docs by also renaming 'interface' to 'iface' in implementation.
7801 * docs/gst/gstreamer-sections.txt:
7803 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7804 * gst/gstchildproxy.h:
7805 * gst/gstelementfactory.c:
7806 * gst/gstpadtemplate.h:
7807 * libs/gst/controller/gstcontroller.c:
7808 (gst_controlled_property_new):
7811 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7813 * gst/gstbin.h:(gst_bin_get_by_interface),
7814 (gst_bin_iterate_all_by_interface):
7815 Replace interface parameter name by iface as interface is
7816 a reserved keyword in Visual Studio for C++ projects so it removes
7817 a build error for application developpers using VS.
7818 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7819 Fix a bug on Windows in uri format check. Now the prefix checked
7820 is file:// and next we check if the path after file:// is absolute.
7821 * win32/common/libgstbase.def:
7822 * win32/common/libgstdataprotocol.def:
7823 * win32/common/libgstgstreamer.def:
7824 Add new exported functions.
7826 2007-02-09 Andy Wingo <wingo@pobox.com>
7828 * tests/check/pipelines/simple-launch-lines.c
7829 (simple_launch_lines_suite, test_tee): Disable tee test until I
7830 have time to fix it :-(
7832 * tests/check/Makefile.am (noinst_HEADERS):
7833 * tests/check/libs/libsabi.c:
7834 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7835 * tests/check/gst/gstabi.c:
7836 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7838 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7839 tests for push and pull tee behavior.
7841 * plugins/elements/gsttee.h:
7842 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7843 mark as deprecated as well as unimplemented. It was a crack idea.
7844 Add support for tee operating in pull mode, off by default.
7846 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7847 normal-case logs down to LOG, raise errors to WARNING.
7848 (gst_registry_xml_read_cache): Don't log before calling a function
7851 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7852 exit (registry finalize).
7853 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7854 DEBUG log when we emit signals that people don't even have the
7855 chance to connect to.
7856 (gst_registry_scan_path_level): Less logging in the normal case.
7858 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7860 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7862 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7863 Correctly generate EOS for non-seekable files. We don't have a total
7864 length for them and would get an unexpected end of file if we only
7865 special-cased for regular files. (Fixes: #404569)
7867 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7869 * tests/check/elements/filesrc.c: (GST_START_TEST),
7871 Add unit test for the GstURIHandler interface in filesrc. This also
7872 tests the newly added file://localhost/foo/bar support.
7874 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
7876 * gst/gstelementfactory.h:
7877 The klass string is not a hierarchy. Add reference to the design doc
7878 for more information and common types.
7880 2007-02-02 Wim Taymans <wim@fluendo.com>
7882 * gst/gstquery.c: (gst_query_new_latency):
7883 Remove old structure field.
7885 2007-02-02 Stefan Kost <ensonic@users.sf.net>
7887 * tools/gst-launch.1.in:
7888 Give example for network streaming (#351998)
7890 2007-02-02 Wim Taymans <wim@fluendo.com>
7892 * docs/gst/gstreamer-sections.txt:
7893 Add docs for new methods.
7895 * gst/gstevent.c: (gst_event_new_latency),
7896 (gst_event_parse_latency):
7898 Add new LATENCY event to configure latency in a pipeline.
7899 API: gst_event_new_latency
7900 API: gst_event_parse_latency
7902 * gst/gstmessage.c: (gst_message_new_buffering),
7903 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7904 (gst_message_new_latency), (gst_message_parse_buffering),
7905 (gst_message_parse_lost_preroll):
7907 Added messages used in draft-latency.
7908 API: gst_message_new_lost_preroll
7909 API: gst_message_parse_lost_preroll
7910 API: gst_message_new_prerolled
7911 API: gst_message_new_latency
7913 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7914 (gst_query_parse_latency):
7916 Implemented new latency query as in design doc.
7917 API: gst_query_new_latency
7918 API: gst_query_set_latency
7919 API: gst_query_parse_latency
7921 2007-02-02 Wim Taymans <wim@fluendo.com>
7923 * docs/design/draft-latency.txt:
7924 Slight redesign to allow for dynamic latency adjustments.
7926 * docs/design/part-negotiation.txt:
7929 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
7931 reviewed by: Wim Taymans <wim@fluendo.com>
7933 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7934 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7935 Allow file://localhost/foo/bar URLs and correctly fail for every other
7936 hostname that one sets. This was gnomevfssrc is linked for those if
7937 installed as it can handle it (#403172)
7939 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
7941 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7943 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7944 (unref_data), (gst_collect_pads_add_pad_full):
7945 * libs/gst/base/gstcollectpads.h:
7946 Don't put the previously added destroy notify in the GstCollectData
7947 struct as all it's padding is already used and we don't want to break
7948 ABI. Instead put in the pad's GObject data for now. This should be
7949 cleaned up for 0.11 (#402393).
7951 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
7953 reviewed by: Wim Taymans <wim@fluendo.com>
7955 * docs/libs/gstreamer-libs-sections.txt:
7956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7957 (unref_data), (gst_collect_pads_add_pad),
7958 (gst_collect_pads_add_pad_full):
7959 * libs/gst/base/gstcollectpads.h:
7960 API: Add function to specify a destroy notification for custom
7961 GstCollectData when adding new pads in GstCollectPads (#402393).
7963 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
7966 Update Swedish translation (#378255).
7968 2007-01-31 Stefan Kost <ensonic@users.sf.net>
7970 * docs/design/draft-klass.txt:
7971 Fix the previous change, this is a list of categories and not a hierarchy.
7973 2007-01-31 Stefan Kost <ensonic@users.sf.net>
7975 * docs/design/draft-klass.txt:
7976 Add info about how to get a list of used classes.
7978 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
7980 * plugins/elements/gsttypefindelement.c:
7981 (gst_type_find_element_chain_do_typefinding),
7982 (gst_type_find_element_change_state):
7983 Don't leak found caps in chain function (no idea why that never
7984 showed up as a leak anywhere).
7986 2007-01-30 Stefan Kost <ensonic@users.sf.net>
7989 Fix and expand GstPluginDesc API docs.
7991 2007-01-29 Stefan Kost <ensonic@users.sf.net>
7994 * gst/gstelementfactory.c:
7995 * gst/gstpadtemplate.h:
7998 * libs/gst/controller/gstcontroller.c:
7999 (gst_controlled_property_new):
8000 * tests/examples/controller/audio-example.c:
8003 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8006 comment about refining the xml deps
8009 comments about moving away from jade for docs
8012 recommit the ifdefs to use the binary registry
8014 * gst/gstbin.c: (gst_bin_change_state_func):
8015 this break is obsolete
8017 * gst/gstelementfactory.h:
8018 better GST_ELEMENT_DETAILS docs, add comment about translation
8023 * gst/gstobject.c: (gst_signal_object_get_type):
8024 add G_UNLIKELY as usual
8026 * gst/gstpad.c: (gst_pad_event_default):
8027 add fall trhu comment
8029 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8030 (gst_registry_binary_initialize_magic),
8031 (gst_registry_binary_save_string),
8032 (gst_registry_binary_save_pad_template),
8033 (gst_registry_binary_save_feature),
8034 (gst_registry_binary_save_plugin),
8035 (gst_registry_binary_write_cache),
8036 (gst_registry_binary_check_magic),
8037 (gst_registry_binary_load_pad_template),
8038 (gst_registry_binary_load_feature),
8039 (gst_registry_binary_load_plugin),
8040 (gst_registry_binary_read_cache):
8041 comment typo and formatting
8043 * gst/gstutils.c: (gst_element_state_get_name),
8044 (gst_element_state_change_return_get_name):
8045 remove obsolete breaks
8047 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8048 add FIXME 0.11 and remove cpp comment
8050 2007-01-29 Edward Hervey <edward@fluendo.com>
8052 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8053 Fix print statement in an even more portable way.
8055 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8057 * docs/gst/gstreamer-sections.txt:
8059 API: add GST_ROUND_DOWN_* macros (#401781).
8061 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8063 * docs/gst/gstreamer.types.in:
8064 * gst/gstregistry.c: (gst_registry_class_init):
8065 Document registry signals and make gtk-doc pick them up (#401381).
8067 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8069 * docs/pwg/building-testapp.xml:
8070 Add some audioconverts and audioresample to the pipeline, and some
8071 more comments and error handling.
8073 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8075 * docs/manual/manual.xml:
8079 2007-01-26 Wim Taymans <wim@fluendo.com>
8081 * gst/gstcaps.c: (gst_static_caps_get):
8082 Init caps flags too.
8084 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8086 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8088 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8089 If not using mmap'ed files try to seek to the end instead of the
8090 start to determine whether we can seek at all. This fixes the case
8091 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8092 seeks for everything afterwards fail. Fixes #400656
8094 2007-01-25 Wim Taymans <wim@fluendo.com>
8096 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8097 Add some refcount debugging.
8098 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8099 in multiple streaming threads.
8101 2007-01-25 Wim Taymans <wim@fluendo.com>
8103 Patch by: David Schleef <ds at schleef dot org>
8105 * docs/libs/gstreamer-libs-sections.txt:
8106 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8107 * libs/gst/base/gstadapter.h:
8108 API: gst_adapter_copy() that can reduce the amount of memcpy when
8109 getting data from the adapter. Fixes #388201.
8111 2007-01-25 Edward Hervey <edward@fluendo.com>
8113 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8114 In print statements, "%x" is for guint. Fixes build on macosx.
8116 2007-01-24 Edward Hervey <edward@fluendo.com>
8118 * plugins/elements/gstmultiqueue.c:
8119 (gst_multi_queue_loop):
8121 (single_queue_overrun_cb), (single_queue_underrun_cb),
8122 (single_queue_check_full), (gst_single_queue_new):
8123 Implement single queue growth system.
8124 This uses the extra-size properties, and will grow single queues by
8125 that much if one goes full whereas there are others empty. This is
8126 called extra-mode in the code.
8127 When a single queue's levels go back below the initial max-size
8128 limits, it is no longer in extra-mode. This is to ensure we don't
8129 consume too much memory.
8132 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8134 * gst/gst.c: (gst_init_get_option_group):
8135 Make warning about late g_thread_init() calls a bit more explicit,
8136 so that it's more obvious to application developers what they need
8137 to do if a user files a bug against their application.
8139 2007-01-22 Edward Hervey <edward@fluendo.com>
8141 * plugins/elements/gstmultiqueue.c:
8142 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8143 Remove previous hack of unsetting the flushing flag for the source pad
8144 instead of activating it. Instead, fix the source pad activate function
8145 so that it no longer depends on having a parent set or not.
8147 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8149 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8151 * docs/manual/basics-bus.xml:
8152 Fix example code, gst_element_unref() doesn't exist any longer.
8154 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8156 Patch by: Mark Nauwelaerts <manauw at skynet be>
8159 Fix two docs typoes (#399094).
8161 2007-01-19 Edward Hervey <edward@fluendo.com>
8163 * docs/faq/gst-uninstalled:
8164 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8165 depending on libgstbaseutils can work in uninstalled environment.
8167 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8170 * gst/gsttagsetter.c:
8171 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8172 statement for new tag.
8174 2007-01-17 Edward Hervey <edward@fluendo.com>
8176 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8177 When dynamically creating single queues, activate sinkpad before adding
8179 We should be doing the same thing for the source pad, but we can't
8180 since it would call a method which needs the parent to be set in order
8181 to work propertly. Instead of activating the source pad, we just unset
8182 the flushing flag, which is the minimal requirement for adding a pad
8183 to an element in a state greater than READY.
8185 2007-01-17 Edward Hervey <edward@fluendo.com>
8187 * docs/faq/gst-uninstalled:
8188 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8191 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8193 * tests/check/gst/gstabi.c:
8194 * tests/check/gst/struct_hppa.h:
8195 * tests/check/libs/libsabi.c:
8196 * tests/check/libs/struct_hppa.h:
8197 Add ABI structs for HPPA (see #393796).
8199 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8201 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8202 Actually write ABI structs to the file specified in the GST_ABI
8203 environment variable, as the message we print claims we would.
8205 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8207 * tests/check/gst/gsttask.c:
8210 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8212 * gst/gsttaglist.c: (_gst_tag_initialize):
8213 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8214 previous two entries.
8216 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8218 * docs/gst/gstreamer-sections.txt:
8219 * gst/gsttaglist.c: (_gst_tag_initialize):
8221 Add tag support for beat-per-minute.
8223 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8225 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8226 (gst_registry_binary_initialize_magic),
8227 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8228 (gst_registry_binary_save_pad_template),
8229 (gst_registry_binary_save_feature),
8230 (gst_registry_binary_save_plugin),
8231 (gst_registry_binary_write_cache),
8232 (gst_registry_binary_check_magic),
8233 (gst_registry_binary_load_pad_template),
8234 (gst_registry_binary_load_feature),
8235 (gst_registry_binary_load_plugin),
8236 (gst_registry_binary_read_cache):
8237 * gst/gstregistrybinary.h:
8238 Use glib types, cleanup comments, impement interfaces and uri-types.
8240 2007-01-13 Andy Wingo <wingo@pobox.com>
8242 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8243 getrange() to return buffers with other caps, while we fix
8244 demuxers and typefind, or otherwise change part-negotiation.txt.
8246 2007-01-12 Andy Wingo <wingo@pobox.com>
8248 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8249 Factor start/stop into this private function instead of partially
8250 in activate functions and partially in the change_state function.
8251 Fixes setup before the element has changed from READY->PAUSED, as
8252 is the case in pull-mode pipelines.
8253 (gst_base_transform_sink_activate_push)
8254 (gst_base_transform_src_activate_pull): Refactor to use
8255 gst_base_transform_activate().
8256 (gst_base_transform_change_state): Removed, not needed any more.
8258 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8259 Truncate before fixating.
8261 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8262 Don't set_caps() if the result of fixating is ANY, as it's not
8263 supported, and not necessary in the case of a link with no
8264 template caps on either side. Fixes tests/check/libs/basesrc in
8265 some pull-mode tests.
8267 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8268 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8269 (gst_base_transform_src_activate_pull):
8270 Track the activation mode.
8271 (gst_base_transform_setcaps): In pull mode, when activating the
8272 src pad, after activating the sink pad, activate the sink pad's
8273 peer, as discussed in part-negotiation.txt.
8275 * libs/gst/base/gstbasesrc.h:
8276 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8277 vmethod, as in basesink.
8279 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8281 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8282 mode, first proxy the setcaps to the peer pad.
8283 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8285 (gst_base_sink_default_activate_pull): Rename from
8286 gst_base_sink_activate_pull.
8287 (gst_base_sink_negotiate_pull): New function, performs negotiation
8288 in pull mode before calling ::activate_pull().
8289 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8290 vmethod instead of the default implementation. I have no idea how
8291 this worked before. Negotiate before calling activate_pull.
8293 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8294 sink pads in pull mode. In addition to being correct, fixes
8295 filesrc ! decodebin ! identity ! fakesink.
8296 (gst_pad_get_range, gst_pad_pull_range): Don't call
8297 gst_pad_set_caps() if the caps changes; instead error out with
8298 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8300 2007-01-12 Andy Wingo <wingo@pobox.com>
8302 * docs/design/part-negotiation.txt: Update with more policy.
8304 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8306 * libs/gst/check/gstbufferstraw.h:
8307 * libs/gst/check/gstcheck.h:
8308 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8311 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8313 * tests/check/Makefile.am:
8314 * tests/check/gst/.cvsignore:
8315 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8316 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8317 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8318 (GST_START_TEST), (gst_tag_setter_suite):
8319 Add minimal unit test for beforementioned GstTagSetter bug.
8321 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8323 Patch by: René Stadler <mail at renestadler dot de>
8325 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8326 gst_tag_list_merge() returns a new list, so it's not the best idea
8327 to ingore its return value. Effectively meant that tags could only
8328 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8329 Also add function guard to require a non-NULL taglist as input (has
8330 always been so due to gst_tag_list_copy(), just making it explicit).
8332 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8334 * docs/random/draft-missing-plugins.txt:
8335 Some additions: mention new API that is supposed to be used at the
8336 various stages; short blob about new gst-inspect introspection
8337 option; mention potential future problem with plugins that have
8338 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8340 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8342 * tools/gst-inspect.c:
8343 (print_plugin_automatic_install_info_codecs),
8344 (print_plugin_automatic_install_info_protocols),
8345 (print_plugin_automatic_install_info), (main):
8346 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8347 introspect plugin files and get machine-parsable output that corresponds
8348 to the last bit of the missing-plugin installer string (small gotcha:
8349 doesn't take into account ranks).
8351 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8354 * docs/gst/gstreamer-sections.txt:
8356 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8357 (gst_registry_lookup_locked):
8358 * gst/gstregistry.h:
8359 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8360 (gst_registry_binary_initialize_magic),
8361 (gst_registry_binary_save_string),
8362 (gst_registry_binary_save_pad_template),
8363 (gst_registry_binary_save_feature),
8364 (gst_registry_binary_save_plugin),
8365 (gst_registry_binary_write_cache),
8366 (gst_registry_binary_check_magic),
8367 (gst_registry_binary_load_pad_template),
8368 (gst_registry_binary_load_feature),
8369 (gst_registry_binary_load_plugin),
8370 (gst_registry_binary_read_cache):
8371 * gst/gstregistrybinary.h:
8372 * gst/gstregistryxml.c: (load_feature),
8373 (gst_registry_xml_read_cache):
8374 commit binary registry (disabled by default, see #359653)
8376 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8378 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8379 Fix 'make check' too.
8381 2007-01-10 Andy Wingo <wingo@pobox.com>
8383 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8386 * docs/design/part-negotiation.txt: Update with, um, one way that
8387 pull-mode negotiation might work?
8390 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8391 that the pad must be a src pad; makes sense to call it the other
8392 way in pull mode, and the logic is symmetric anyway.
8394 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8396 * plugins/elements/gstfilesink.c:
8397 Include <stdio.h> for fseeko().
8399 2007-01-10 Wim Taymans <wim@fluendo.com>
8403 Reserve LATENCY event.
8405 2007-01-09 Wim Taymans <wim@fluendo.com>
8407 * docs/design/draft-latency.txt:
8410 2007-01-09 Wim Taymans <wim@fluendo.com>
8412 * docs/design/draft-latency.txt:
8416 * gst/gststructure.c:
8420 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8422 * tests/check/.cvsignore:
8423 Ignore test-registry.xml as well.
8425 2007-01-09 Wim Taymans <wim@fluendo.com>
8427 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8428 unref data at the end when we are done with the pad.
8430 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8432 * docs/gst/gstreamer-sections.txt:
8433 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8434 (init_post), (gst_deinit), (gst_update_registry):
8436 API: add gst_update_registry() (#391296).
8438 * tests/check/Makefile.am:
8439 * tests/check/gst/gstregistry.c:
8440 * tests/check/gst/.cvsignore:
8441 Simple unit test for the above.
8443 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8445 * gst/gstregistry.c: (gst_registry_scan_path_level):
8446 Plugin extension on HP-UX is .sl, add that to the list of approved
8447 plugin extensions (see #393796).
8449 * tests/check/gst/gstpad.c: (GST_START_TEST):
8450 ulong => gulong. Fixes compilation with HP-UX compiler.
8452 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8453 Fix compilation if valgrind headers are not available.
8455 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8457 * win32/common/libgstreamer.def:
8458 Add new exported function.
8459 * win32/vs6/libgstbase.dsp:
8460 Add gstdataqueue.c to the build.
8461 * win32/vs6/libgstcoreelements.dsp:
8462 Add gstmultiqueue.c to the build.
8464 2007-01-06 Andy Wingo <wingo@pobox.com>
8466 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8467 activate_pull(), providing for a way to specialize the process of
8468 spawning a thread to pull on the sink pad. There is a default
8471 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8472 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8473 (gst_base_sink_init): Renamed pad activation functions (inserting
8474 "_pad" in their names). Refactor to use the new activate_pull
8475 vmethod, as appropriate.
8476 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8477 default activate_pull function to start a task pulling from the
8478 sink pad, as before.
8480 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8481 on the pads if necessary, as in push()/chain(). Update docs.
8482 Shouldn't affect existing pull() usage as it is currently only
8483 being used on buffers without caps.
8485 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8487 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8489 Call g_thread_init() first thing in gst_init() / gst_check_init().
8490 When initialisation is done via gst_init_get_option_group() and
8491 GOption parsing, issue a warning if the GLib thread system has not
8492 been initialised yet by the time gst_init_get_option_group() is
8493 called, as it's quite likely other GLib functions such as
8494 g_option_context_new() have been called already then, and
8495 g_thread_init() must be called before any other GLib function. The
8496 application in question must be fixed in that case, since memory
8497 corruption might happen otherwise.
8498 We issue the warning because even if the GLib folks decide to work
8499 around the problem on their end in future, this is still an issue
8500 with all GLib versions >= 2.10.0, so we should warn until we depend
8501 on a GLib version we know to be safe.
8502 Update documentation as well.
8505 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8507 * tools/gst-inspect.c: (main):
8508 * tools/gst-launch.c: (main):
8509 * tools/gst-typefind.c: (main):
8510 * tools/gst-xmlinspect.c: (main):
8511 Call g_thread_init() really really early, before any other GLib
8512 function (see #342564 and recent discussion on gtk-devel-list).
8514 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8516 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8518 * gst/gst_private.h:
8519 * gst/gstconfig.h.in:
8521 On win32, all the __declspec stuff for symbol exporting is
8522 apparently only needed with MSVC, but doesn't work with MingW.
8523 Fixes compilation with MingW and #391909.
8525 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8527 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8528 Change some GST_ERROR_OBJECT that aren't really errors to
8529 GST_WARNING_OBJECT in order to reduce terminal spam.
8531 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8533 * tests/check/Makefile.am:
8534 disable test again, as there seem to be still race problems
8536 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8538 * tests/check/Makefile.am:
8539 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8540 (GST_START_TEST), (queue_suite):
8541 enable queue test again, add tests for the leaky behaviour
8543 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8546 * tests/examples/Makefile.am:
8547 Compile adapter test/example only if the required headers are
8548 available (fixes #391915).
8550 2007-01-01 David Schleef <ds@schleef.org>
8553 Restore the previous signal handler for SIGSEGV instead of
8554 setting to default, since we may have stolen it away from
8555 someone. (i.e., Mono)
8557 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8559 * docs/random/draft-missing-plugins.txt:
8560 Some small additions and clarifications.
8562 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8564 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8565 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8566 since that can lead to random memory corruptions and crashes
8567 (may or may not be related to #383244, #386711, and #386711).
8569 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8571 * tests/check/.cvsignore:
8572 * tests/check/Makefile.am:
8573 sync .cvsignome and CLEANFILES
8575 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8577 * tests/check/Makefile.am:
8580 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8582 * docs/design/part-states.txt:
8583 two tiny additional comments
8585 * gst/gststructure.c:
8588 * tests/check/Makefile.am:
8589 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8591 disable test for now, unless it gets fixed
8593 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8595 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8597 fix race in underrun test
8599 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8601 * tests/check/elements/.cvsignore:
8604 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8606 try to narrow test failure
8608 2006-12-21 David Schleef <ds@schleef.org>
8610 * plugins/elements/gstfakesrc.c:
8611 Use g_random_int_range(), since it produces better random
8612 numbers in a range than almost-correct floating point code.
8614 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8616 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8617 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8618 (gst_check_teardown_sink_pad):
8619 do not automatically (de)activate pads
8621 * tests/check/Makefile.am:
8622 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8623 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8624 add new, yet simple tests for queue
8626 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8627 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8628 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8630 * tests/check/elements/identity.c: (cleanup_identity):
8631 consistent pad (de)activation
8633 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8635 Patch by: Sebastian Dröge <slomo ubuntu com>
8637 * libs/gst/base/gstcollectpads.c:
8638 Fix two doc typos (#387866).
8640 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8642 * docs/manual/advanced-dparams.xml:
8643 Fix typo (g_object_control_properties() doesn't exist).
8645 2006-12-19 Edward Hervey <edward@fluendo.com>
8647 * gst/gstsegment.c: (gst_segment_set_seek):
8648 Fine tune the cases where the segment start/stop values are really
8650 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8651 Add tests for the return values of gst_segment_set_seek().
8653 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8658 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8660 Fix incorrect documentation and flesh it out a bit more.
8661 Set default values for the max properties on the GParamSpec as well,
8662 so it shows up correctly in gst-inspect.
8664 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8666 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8667 Correct docs of queue, add more detail and crosslink it more.
8669 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8671 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8672 Print additional debug info when the stream isn't perfectly
8673 timestamped; don't try to use invalid durations.
8675 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8677 * docs/design/Makefile.am:
8678 Dist new design docs.
8680 2006-12-16 Wim Taymans <wim@fluendo.com>
8682 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8684 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8685 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8686 (gst_collect_pads_stop), (gst_collect_pads_event),
8687 (gst_collect_pads_chain):
8688 * libs/gst/base/gstcollectpads.h:
8689 Add refcounting to the collectpads data so we can track when it's safe
8690 to free the data. Fixes #383382.
8692 2006-12-15 Wim Taymans <wim@fluendo.com>
8694 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8695 (gst_collect_pads_remove_pad):
8696 Automatically activate/deactivate pads when they are added to a
8697 started/stoped collectpads.
8699 2006-12-15 Wim Taymans <wim@fluendo.com>
8701 * gst/gstelement.c: (gst_element_add_pad):
8702 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8703 * gst/gstpad.c: (gst_pad_init):
8704 Set pads to FLUSHING when they are created. Check, warn and fix when a
8705 demuxer adds an inactive pad to itself when running. Fixes #339326.
8707 2006-12-15 Wim Taymans <wim@fluendo.com>
8709 * gst/gstelement.c: (gst_element_class_init),
8710 (gst_element_default_send_event), (gst_element_send_event),
8711 (gst_element_default_query), (gst_element_query):
8712 Expose default element send_event and query handling as vmethods that
8713 subclasses can chain up to.
8715 2006-12-15 Wim Taymans <wim@fluendo.com>
8717 * gst/gstelement.c: (gst_element_set_state_func):
8718 Small documentation fixes.
8720 2006-12-15 Wim Taymans <wim@fluendo.com>
8722 * docs/design/draft-latency.txt:
8723 Checked in draft for handling latency in pipelines.
8725 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8729 * gstreamer.spec.in:
8732 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8734 * gst/gst.c: (init_pre), (init_post):
8735 init_pre() and init_post() might be called via our GOptionGroup or
8736 from gst_init(), and we should skip both of them if we've already
8737 been initialised, otherwise we will init some things twice or add
8738 two default log functions.
8740 2006-12-13 Edward Hervey <edward@fluendo.com>
8742 * docs/manual/basics-bus.xml:
8743 No, gst_main_loop does not exist. Its g_main_loop.
8744 Discovered by somebody who abused the copy-paste technique of coding :)
8746 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8748 * gst/gstghostpad.c:
8749 Log ghostpad debug stuff to the GST_PADS category as well rather
8750 than just to the default category.
8752 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8755 * gst/gst.c: (init_pre):
8756 Add some basic system details such as OS and architecture
8757 to the debug output if possible, courtesy of uname().
8759 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8761 * docs/gst/running.xml:
8762 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8763 environment variables.
8765 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8767 * tests/check/gst/gstbin.c: (GST_START_TEST):
8768 It is acceptable to have a refcount of 2 or 3 at this point in the
8769 test, because the pipeline might be just posting its state_change
8770 message. The next line then waits for that message to appear using
8771 bus_poll, so that should be fine too.
8773 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8775 * gst/gst.c: (ensure_current_registry_forking):
8776 Ignore EINTR when reading from the child registry pipe.
8777 Explicitly ignore the return value from close, since it makes no
8780 * gst/gstminiobject.c: (gst_mini_object_ref),
8781 (gst_mini_object_unref):
8782 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8784 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8785 When removing cached plugins, remove their features too, so they're
8786 not visible after they've disappeared.
8788 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8789 In the unlikely case that we are linking pads with no parents, don't
8790 crash trying to get the non-existent parent bin.
8792 * gst/parse/grammar.y:
8793 Output debug in the PIPELINE category
8795 2005-03-08 Wim Taymans <wim@fluendo.com>
8797 Patch by: René Stadler <mail at renestadler dot de>
8799 * gst/gstclock.c: (gst_clock_new_periodic_id):
8800 Reject invalid clock times for interval of periodic ids.
8803 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8805 * gst/gstelementfactory.c: (gst_element_factory_create):
8806 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8807 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8808 * tools/gst-inspect.c: (print_element_info):
8809 Fix refcounting of gst_plugin_feature_load to match the docs.
8812 2006-12-07 Wim Taymans <wim@fluendo.com>
8814 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8815 (gst_base_sink_get_position):
8816 Improve debugging of events.
8818 2006-12-07 Wim Taymans <wim@fluendo.com>
8820 Patch by: René Stadler <mail at renestadler dot de>
8822 * gst/gstclock.c: (gst_clock_id_wait):
8823 Make period ids add the interval to the origial requested time instead
8824 of the possibly updated time which can be wrong when there are multiple
8825 waiters for the same id. Fixes #382592.
8827 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8828 (gst_system_clock_id_wait_jitter_unlocked),
8829 (gst_system_clock_id_wait_jitter):
8830 Fix restart in the async notify thread when an async entry is added to
8831 the front of the list. Fixes #381492.
8833 * tests/check/gst/gstsystemclock.c: (store_callback),
8834 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8835 Added test for multiple async waits.
8836 Added test for async wait order.
8838 2006-12-07 Wim Taymans <wim@fluendo.com>
8840 * gst/gstbin.c: (gst_bin_query):
8841 Add some more docs about the POSITION query.
8843 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8846 Bump version nano - back to CVS.
8848 === release 0.10.11 ===
8850 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8853 releasing 0.10.11, "Love never runs on time"
8855 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8857 * win32/common/libgstbase.def:
8858 * win32/common/libgstreamer.def:
8859 * win32/vs8/libgstbase.vcproj:
8860 * win32/vs8/libgstcoreelements.vcproj:
8861 * win32/vs8/libgstreamer.vcproj:
8862 Fix compilation on win32 under VS8
8863 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8864 Partially fixes #381175
8866 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8868 * gst/gstvalue.c: (gst_value_compare_fraction):
8869 If someone is foolish enough to compare 2 fractions with denominator =
8870 0, return UNORDERED rather than aborting.
8872 2006-11-28 Edward Hervey <edward@fluendo.com>
8874 * libs/gst/base/Makefile.am:
8875 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8876 (gst_data_queue_base_init), (gst_data_queue_class_init),
8877 (gst_data_queue_init), (gst_data_queue_new),
8878 (gst_data_queue_cleanup), (gst_data_queue_finalize),
8879 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8880 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8881 (gst_data_queue_is_empty), (gst_data_queue_is_full),
8882 (gst_data_queue_set_flushing), (gst_data_queue_push),
8883 (gst_data_queue_pop), (gst_data_queue_drop_head),
8884 (gst_data_queue_set_property), (gst_data_queue_get_property):
8885 * libs/gst/base/gstdataqueue.h:
8886 New GstDataQueue object for threadsafe queueing. Most useful for
8887 elements that need some queueing functionnality.
8888 * docs/libs/gstreamer-libs-docs.sgml:
8889 * docs/libs/gstreamer-libs-sections.txt:
8890 Insert documentation for GstDataQueue
8891 * plugins/elements/Makefile.am:
8892 * plugins/elements/gstelements.c:
8893 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8894 (gst_multi_queue_class_init), (gst_multi_queue_init),
8895 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8896 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8897 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8898 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8899 (gst_multi_queue_loop), (gst_multi_queue_chain),
8900 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8901 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8902 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8903 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8904 (wake_up_next_non_linked), (compute_next_non_linked),
8905 (single_queue_overrun_cb), (single_queue_underrun_cb),
8906 (single_queue_check_full), (gst_single_queue_new):
8907 * plugins/elements/gstmultiqueue.h:
8908 New multiqueue element, using GstDataQueue. Used for queuing multiple
8910 Closes #344639 and #347785
8912 2006-11-22 Stefan Kost <ensonic@users.sf.net>
8914 * docs/pwg/advanced-types.xml:
8915 add more missing type details
8917 * tools/gst-run.c: (main):
8918 remove unused variable
8920 2006-11-21 Stefan Kost <ensonic@users.sf.net>
8922 * docs/libs/Makefile.am:
8923 * docs/libs/gstreamer-libs.types:
8924 add types of base classes to enable gobject specific stuff in the docs
8926 * docs/random/ensonic/embedded.txt:
8927 more ideas about isolating platform specific things
8929 2006-11-20 Wim Taymans <wim@fluendo.com>
8931 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8933 * libs/gst/check/gstcheck.h:
8934 Fix compilation and running against 0.9.4. Fixes #377332.
8936 2006-11-20 Wim Taymans <wim@fluendo.com>
8938 * gst/gstsegment.c: (gst_segment_set_seek),
8939 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8940 (gst_segment_to_running_time):
8941 Fix boundary checking in to_running_time() and to_stream_time().
8944 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8945 stream and running time can now be calculated for the complete
8948 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
8950 * gst/gstpad.c: (gst_pad_push_event):
8951 Can't access event structure after giving away ownership of
8954 2006-11-15 Stefan Kost <ensonic@users.sf.net>
8956 * docs/random/ensonic/embedded.txt:
8957 * docs/random/ensonic/profiling.txt:
8958 * docs/random/ensonic/receipies.txt:
8961 2006-11-13 Wim Taymans <wim@fluendo.com>
8963 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8966 Fix documentation for gst_pad_dispatcher. Fixes #374475.
8968 2006-11-13 Wim Taymans <wim@fluendo.com>
8970 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8972 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8973 Store new length in segment duration so we don't keep on calling the
8974 potentially expensize get_size() call. Fixes #370865.
8976 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
8978 Patch by: Sergey Scobich <sergey.scobich at gmail com>
8980 * win32/common/libgstreamer.def:
8981 Add two missing symbols (#366492).
8983 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
8985 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8986 (gst_adapter_take_buffer):
8987 Fix format string to use all its arguments.
8988 Remove useless >= check on a guint
8990 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
8992 * tests/examples/adapter/.cvsignore:
8993 Ignore build file as commanded by the build-bot
8995 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
8997 * tests/examples/adapter/Makefile.am:
8998 * tests/examples/adapter/adapter_test.c: (run_test_take),
8999 (run_test_take_buffer), (run_tests), (main):
9001 Add new files from the previous commit
9003 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9007 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9008 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9009 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9010 * libs/gst/base/gstadapter.h:
9011 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9012 (GST_START_TEST), (gst_adapter_suite):
9013 * tests/examples/Makefile.am:
9014 Do some optimisation work in GstAdapter to avoid copies in more cases.
9015 It could still do slightly better by merging buffers when
9016 gst_buffer_is_span_fast is true, but is already faster.
9018 Also, avoid traversing a single-linked list to append each incoming
9019 buffer inside the adapter.
9021 Add simple test app that times the adapter behaviour in different
9022 situations, and extend the unit test to check that bytes enter and
9023 exit the adapter in their original order.
9025 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9027 * docs/random/draft-missing-plugins.txt:
9028 Update: use element message instead of adding a new message
9029 type to the core; don't provide GStreamer API to initiate the
9030 plugin download, just provide API to compose the strings needed
9031 and let an external libgimmestuff handle the rest.
9033 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9035 * tools/gst-inspect.c: (print_element_properties_info):
9036 Print a string instead of 'unknown type' for GValueArray properties
9038 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9040 * docs/random/draft-missing-plugins.txt:
9043 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9045 * tests/examples/typefind/typefind.c: (type_found), (main):
9046 Make typefind element example work again (#371894); add a
9049 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9051 * docs/random/draft-missing-plugins.txt:
9052 Commit initial draft about how to deal with missing plugins,
9053 needs work (API too).
9055 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9057 * docs/pwg/advanced-types.xml:
9058 documents the new caps elements (see #363118)
9060 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9062 * gst/gstplugin.c: (gst_plugin_load_file):
9063 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9064 (gst_file_src_map_region), (gst_file_src_start):
9065 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9066 (gst_file_index_commit):
9067 Use g_strerror() instead of strerror() - we want UTF-8.
9069 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9071 Patch by: Peter Kjellerstedt <pkj at axis com>
9073 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9074 Another printf fix (#371493).
9076 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9078 * tests/check/gst/gsttag.c:
9079 relicence (okay with author=company)
9081 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9083 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9084 (gst_pad_push_event):
9085 Enhance debug and improve docs
9090 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9092 * docs/random/ensonic/distributed.txt:
9093 * docs/random/ensonic/profiling.txt:
9096 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9098 * docs/gst/gstreamer-sections.txt:
9099 add new API and fix the build
9101 * gst/gstbin.c: (gst_bin_recalc_state):
9102 * gst/gstelement.c: (gst_element_message_full),
9103 (gst_element_get_state_func), (gst_element_set_state_func):
9104 use new API and improve logging
9106 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9108 API: add function to get StateChangereturn names to improve logs
9110 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9112 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9113 I'm considering shooting the next person to put strerror stuff
9114 in the translateable part of the message.
9116 2006-11-03 Wim Taymans <wim@fluendo.com>
9118 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9119 Get the type and printf conversion specifiers right.
9121 2006-11-03 Wim Taymans <wim@fluendo.com>
9123 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9125 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9126 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9127 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9128 Some small cleanups. Improve debugging.
9130 Signal all waiting threads with a broadcast instead of just one.
9133 2006-11-03 Wim Taymans <wim@fluendo.com>
9135 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9136 (gst_fd_src_create):
9138 Only update fd when it's different from the old.
9140 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9142 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9143 Printf fixes for PPC/OSX, take two (#369366).
9145 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9147 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9149 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9150 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9151 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9152 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9153 don't cast to long long for portability reasons, but use
9154 GLib's types instead.
9156 2006-10-30 Michael Smith <msmith@fluendo.com>
9158 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9159 Get the arguments to lseek() the right way around.
9162 2006-10-30 Wim Taymans <wim@fluendo.com>
9164 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9167 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9169 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9171 Patch by: Kjartan Maraas <kmaraas at gnome org>
9173 * docs/design/part-MT-refcounting.txt:
9174 * docs/random/wtay/capsnego2-docs:
9177 Typo fixes (#366212).
9179 2006-10-28 Wim Taymans <wim@fluendo.com>
9181 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9184 * win32/common/libgstbase.def:
9185 * win32/common/libgstreamer.def:
9186 * win32/vs8/libgstbase.vcproj:
9187 * win32/vs8/libgstcontroller.vcproj:
9188 Add needed entries in .def files.
9190 Rearrange def files in vs8 solutions. Fixes #366286.
9192 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9194 * win32/common/gstconfig.h:
9195 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9196 hand-made win32 gstconfig.h. Fixes #366321.
9198 2006-10-27 Wim Taymans <wim@fluendo.com>
9200 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9201 (gst_ghost_pad_new_full):
9202 Make acceptcaps return TRUE when we don't have a target, just like
9205 2006-10-27 Wim Taymans <wim@fluendo.com>
9207 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9208 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9210 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9212 * gst/gststructure.c: (gst_structure_id_set_value):
9213 If someone tries to set a non-UTF8 string field on a structure,
9214 don't just print a warning, but also ignore the request and do
9215 not change/add that field to the structure.
9217 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9220 2006-10-25 David Schleef <ds@schleef.org>
9223 g_hash_table_insert() needs a cast to a non-const pointer duh.
9225 2006-10-25 David Schleef <ds@schleef.org>
9229 Change name parameter of _gst_debug_register_funcptr to const
9230 to reflect the constness of its use in the function as well
9231 as to quiet a gcc warning.
9233 2006-10-25 Edward Hervey <edward@fluendo.com>
9235 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9236 Don't push the buffer if it's empty.
9239 2006-10-24 Wim Taymans <wim@fluendo.com>
9244 * libs/gst/base/gstbasetransform.c:
9245 (gst_base_transform_sink_eventfunc):
9246 Debug segment values *after* updating them as this is more
9249 2006-10-23 Wim Taymans <wim@fluendo.com>
9251 * docs/design/part-events.txt:
9254 * docs/design/part-block.txt:
9255 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9256 (gst_pad_push_event):
9257 Revert BLOCKING patch, it tries to be smart without really having a
9258 clear idea what or how. So, now we discard all FLUSHING events again on
9259 a blocking pad. Should fix gnonlin again.
9261 2006-10-23 Wim Taymans <wim@fluendo.com>
9263 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9265 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9266 (gst_base_src_start), (gst_base_src_activate_push):
9267 Make sure size is always initialized. Fixes #364388.
9269 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9271 * docs/random/ensonic/distributed.txt:
9272 add some ideas about doing distributed processing
9274 * docs/random/ensonic/profiling.txt:
9275 get_rusage look promising
9277 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9279 * docs/manual/basics-helloworld.xml:
9280 Add a cast in example to fix compile warning
9282 2006-10-18 Wim Taymans <wim@fluendo.com>
9284 * gst/gstsegment.c: (gst_segment_set_last_stop),
9285 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9286 Relax arg checking again, -1 is allowed.
9288 2006-10-18 Wim Taymans <wim@fluendo.com>
9290 * gst/gstsegment.c: (gst_segment_set_last_stop),
9291 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9292 _set_last_stop() must be with a value != -1
9293 A _TYPE_SET to -1 means seek to 0.
9294 Calc last_stop correctly for negative rates.
9295 Make sure we work with positive durations when updating a segment.
9297 2006-10-18 Wim Taymans <wim@fluendo.com>
9299 * docs/design/part-live-source.txt:
9303 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9306 Add an explicit cast to GstBuffer** to keep old code that added an
9307 explicit cast to GstMiniObject** for gst_mini_object_replace()
9308 compiling without warning.
9310 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9312 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9313 check for validity of dates
9315 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9317 * docs/gst/gstreamer-sections.txt:
9318 Forgot this one, makes gtk-doc shut up.
9320 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9322 Patch by: Peter Kjellerstedt <pkj at axis com>
9325 Don't define xmlNodePtr to gpointer if the core was built with
9326 --disable-loadsave and --disable-registry, this will break
9327 applications that want to use libxml2 but are buildling against a
9328 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9329 instead so we don't have to mess with the libxml2 namespace
9332 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9335 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9336 type-punned pointer warnings.
9338 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9341 Add casts to the correct return type to state <=> state transition
9344 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9346 * docs/design/part-live-source.txt:
9347 describe howto handle latency
9349 * docs/random/ensonic/profiling.txt:
9352 * tools/gst-plot-timeline.py:
9353 fix log parsing for solaris, remove unused function
9355 2006-10-16 Wim Taymans <wim@fluendo.com>
9357 * docs/design/part-trickmodes.txt:
9359 Update some docs regarding reverse playback.
9361 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9363 Patch by: Marcus Granado <mrc dot gran at gmail com>
9365 * win32/vs8/grammar.vcproj:
9366 Error out with a warning if glib-genmarshal.exe is not in path,
9367 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9369 2006-10-13 Wim Taymans <wim@fluendo.com>
9371 * gst/gstsegment.c: (gst_segment_set_seek):
9372 When seeking to stop -1, set last_stop (current position) to the
9373 duration of the segment.
9375 2006-10-13 Wim Taymans <wim@fluendo.com>
9378 Clarify _NO_PREROLL a bit more.
9383 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9384 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9385 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9386 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9387 due to wrong locking order. Fixes #361769.
9388 Remove some redundant/misplaced checks in pad_block.
9390 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9391 For negative rates, count backwards from the duration.
9393 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9395 * gst/gsterror.c: (_gst_library_errors_init):
9396 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9397 up with something better).
9399 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9401 * win32/vs6/libgstreamer.dsp:
9402 * win32/vs7/libgstreamer.vcproj:
9403 * win32/vs8/libgstreamer.vcproj:
9404 Don't reference glib-compat.c which is currently not used and not
9405 disted; add gstquark.c which was recently added. Fixes #361730.
9407 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9409 * win32/common/libgstbase.def:
9410 * win32/common/libgstcontroller.def:
9411 * win32/common/libgstreamer.def:
9412 Add gst_caps_merge() and a bunch of other recently-added functions.
9415 2006-10-11 Wim Taymans <wim@fluendo.com>
9417 * docs/plugins/gstreamer-plugins.args:
9418 * docs/plugins/inspect/plugin-coreelements.xml:
9419 * docs/plugins/inspect/plugin-coreindexers.xml:
9420 Update element args.
9422 * gst/gstsystemclock.c:
9423 Small comment update.
9425 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9426 (gst_tee_request_new_pad), (gst_tee_release_pad),
9427 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9428 (gst_tee_sink_activate_pull):
9429 * plugins/elements/gsttee.h:
9431 Add default property defines.
9432 Implement release pad function.
9433 Give properties better blubs etc.
9434 Activate pads before adding them to a running tee.
9435 Do simple buffer_alloc on the first requested pad.
9436 Post error when activation fails.
9438 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9440 * gst/gst.c: (ensure_current_registry_forking):
9441 Check return value of write() to make compiler happy.
9443 2006-10-11 Wim Taymans <wim@fluendo.com>
9445 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9447 * plugins/elements/gstqueue.c: (gst_queue_chain):
9448 Recheck queue filledness after signalling the overrun when we're about
9449 to leak downstream because we released the lock when emitting the signal
9450 and the queue could be empty again. Fixes #352345.
9452 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9454 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9455 Fix refcounting here too, just like we did for _new_valist() a few
9456 days ago (#357180) (thanks to René Stadler). Also remove all those
9457 'Since: 0.9' from the gtk-doc blobs.
9459 * tests/check/libs/controller.c: (controller_refcount_new_list),
9460 (gst_controller_suite):
9461 Unit test for the above.
9463 2006-10-10 Wim Taymans <wim@fluendo.com>
9465 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9467 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9468 (gst_pad_save_thyself):
9470 Write pad direction in XML output. Fixes #345496.
9472 2006-10-10 Wim Taymans <wim@fluendo.com>
9474 Patch by: René Stadler <mail at renestadler dot de>
9476 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9477 (gst_controller_new_list), (_gst_controller_dispose),
9478 (_gst_controller_finalize), (_gst_controller_class_init):
9479 Take ref to controlled object so that it cannot disappear.
9482 2006-10-10 Wim Taymans <wim@fluendo.com>
9484 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9485 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9486 (gst_check_teardown_sink_pad):
9487 Activate/deactivate pads in setup/teardown respectively.
9489 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9491 Patch by: Josep Torra Valles <josep@fluendo.com>
9494 Cast values when making gstenumtypes.h. This pacifies Forte
9495 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9498 2006-10-09 Wim Taymans <wim@fluendo.com>
9500 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9501 Rename some more @cur to @start to fix docs.
9503 * gst/gstsegment.c: (gst_segment_set_seek):
9505 time and start must always stay in sync as defined in design doc.
9507 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9508 Rename param to fix docs.
9510 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9511 Check that start and time are in sync.
9513 * tests/check/pipelines/parse-launch.c:
9514 (gst_parse_test_element_change_state):
9515 Activate pad before adding to the element.
9517 2006-10-09 Wim Taymans <wim@fluendo.com>
9519 * docs/design/part-qos.txt:
9524 Update seek event docs regarding negative rates.
9525 Rename @cur to @start.
9527 * gst/gstsegment.c: (gst_segment_set_seek):
9529 Update set_seek docs regarding negative rates.
9530 Correctly update last_stop to @stop when dealing with negative
9532 Rename @cur to @start.
9534 * tests/check/gst/gstpad.c: (GST_START_TEST):
9535 Activate pads before trying to use them.
9537 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9538 (gst_segment_suite):
9539 Add simple check for segments and negative rates.
9541 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9543 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9545 * docs/gst/gstreamer-sections.txt:
9546 API: add gst_tag_list_is_empty() (#360467).
9548 * tests/check/gst/gsttag.c: (GST_START_TEST):
9551 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9554 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9555 a value that doesn't fit on enumeration.
9557 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9559 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9560 Remove local debugging system and use Gstreamer's instead.
9562 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9564 Patch by: Josep Torra Valles <josep@fluendo.com>
9566 * common/m4/gst-error.m4:
9567 Disable warning of statement not reached on Forte.
9569 Fix warning on Forte (value doesn't fit on enumeration).
9570 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9571 Fix warning on Forte (value doesn't fit on enumeration).
9572 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9573 DEBUG macro says it takes minimum of 2 args and so Forte
9574 complains about the use with just 1 arg.
9575 * plugins/elements/gstfdsink.c:
9576 * plugins/elements/gstfdsrc.c:
9577 * plugins/elements/gstfilesink.c:
9578 * plugins/elements/gstfilesrc.c:
9579 Use correct return type for the uri handler implementations.
9581 All these fix warnings in Forte. Fixes bug #360860.
9583 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9586 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9587 format string, so don't use G_GNUC_PRINTF for those versions.
9589 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9591 * gst/gsttaglist.c: (gst_is_tag_list):
9593 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9595 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9596 Small test for the above.
9598 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9601 Less tabs, more spaces.
9603 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9606 Those two function declarations do actually belong there, revert
9607 commit from yesterday that turned them intro macros.
9609 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9611 Patch by: Josep Torra Valles <josep@fluendo.com>
9613 * gst/gst.c: (gst_init_get_option_group):
9614 Fix empty declaration and type mismatch.
9615 * gst/gstbin.c: (gst_bin_change_state_func):
9617 * gst/gstelement.c: (gst_element_continue_state),
9618 (gst_element_set_state_func), (gst_element_change_state),
9619 (gst_element_change_state_func):
9620 Fix type mismatches.
9621 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9622 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9623 Cast as appropriate.
9624 * gst/gstobject.c: (gst_class_signal_connect):
9625 Cast as appropriate. The function pointer parameter really
9626 has the wrong type but would break API if we change it.
9628 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9629 order of including string.h.
9630 * gst/gstutils.c: (gst_element_state_get_name):
9631 Remove unreachable line.
9632 * gst/gstxml.c: (gst_xml_parse_doc):
9634 All these caught by Forte.
9636 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9638 Patch by: Josep Torra Valles <josep@fluendo.com>
9640 * common/m4/gst-error.m4:
9642 We need to disable warnings on Forte for empty declarations
9643 due to gst-indent adding ;s to lines that just use macros
9644 where the macro actually doesn't need a ; at end to end
9647 2006-10-06 Wim Taymans <wim@fluendo.com>
9649 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9650 (gst_file_sink_close_file), (gst_file_sink_event),
9651 (gst_file_sink_render):
9652 Add some FIXME for the NEWSEGMENT handling.
9654 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9656 * gst/parse/grammar.y:
9657 Remove static function gst_parse_element_lock as all it does
9658 is return. Looks like cruft from 0.8.
9660 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9662 Patch by: Josep Torra Valles <josep@fluendo.com>
9664 * common/m4/gst-error.m4:
9666 * libs/gst/net/Makefile.am:
9667 Fix a compilation issue with Forte on Solaris. inet_aton is in
9670 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9672 * gst/gstpad.c: (pre_activate):
9673 * gst/gstregistry.c: (gst_registry_scan_path_level):
9674 * gst/gstregistryxml.c: (load_plugin):
9675 * libs/gst/controller/gstcontroller.c:
9676 (gst_controlled_property_set_interpolation_mode):
9677 * libs/gst/dataprotocol/dataprotocol.c:
9678 (gst_dp_packet_from_event_1_0):
9679 * libs/gst/net/gstnetclientclock.c:
9680 (gst_net_client_clock_observe_times):
9681 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9684 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9687 * docs/gst/gstreamer-sections.txt:
9688 * gst/gstconfig.h.in:
9691 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9692 whether we can use G_GNUC_PRINTF in other header files and at
9693 least check the printf format/arguments of debug messages and
9694 GST_ELEMENT_ERROR messages when the printf extension is not
9696 Replace more tabs with spaces in gstinfo.h and remove two spurious
9697 function declarations in GST_DISABLE_DEBUG part with macros.
9699 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9701 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9702 More docs for the sync-message signal (mention that it is not
9703 emitted by default); log message structures of messages posted on
9706 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9708 * gst/gst.c: (ensure_current_registry_forking):
9709 Use a pipe pair to receive status results from the forked child, and
9710 ignore the result from waitpid. Fixes #355499
9712 2006-10-02 Wim Taymans <wim@fluendo.com>
9714 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9715 (gst_ghost_pad_suite):
9718 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9721 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9723 2006-10-02 Edward Hervey <edward@fluendo.com>
9725 * docs/design/part-block.txt:
9726 Further explain the use of flushing on blocked pads.
9727 * docs/gst/gstreamer-sections.txt:
9728 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9729 (gst_pad_push_event):
9731 Added new GstPadFlag : GST_PAD_BLOCKING.
9732 Adds the notion of pads really blocking, which enables to properly
9733 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9735 API: gst_pad_is_blocking()
9736 API: GST_PAD_IS_BLOCKING() macro
9737 API: GST_PAD_BLOCKING GstPadFlag
9739 2006-10-02 Wim Taymans <wim@fluendo.com>
9741 Patch by: mrcgran <mrc.gran at gmail dot com>
9743 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9744 Filter the proxied caps against the padtemplate if we have one.
9746 * gst/gstquery.c: (gst_query_new_segment):
9747 Add include for gstinfo.h so that compilation with
9748 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9750 2006-10-02 Wim Taymans <wim@fluendo.com>
9752 Patch by: Alessandro Decina <alessandro at nnva org>
9754 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9755 (gst_file_sink_set_location), (gst_file_sink_open_file),
9756 (gst_file_sink_close_file), (gst_file_sink_event),
9757 (gst_file_sink_render):
9758 Set file to NULL when closing filesink so that we can set a new filename
9759 in READY. Fixes #358613.
9761 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9763 Patch by: Alessandro Decina <alessandro at nnva org>
9765 * gst/gstevent.c: (_gst_event_copy):
9766 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9767 with event structures by setting the parent refcount address of the
9768 copied structure to the address of the refcount member of the newly
9769 copied event rather than the address of the refcount member of the
9770 original event. Fixes #358737.
9772 * tests/check/gst/gstevent.c: (GST_START_TEST):
9773 Unit test for the above.
9775 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9777 * docs/design/Makefile.am:
9778 Dist some more files.
9780 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9782 * tests/check/libs/controller.c: (GST_START_TEST),
9783 (gst_controller_suite):
9784 Add test for the previous fix; add some more tests
9785 for correct refcounting behaviour; fix a few leaks
9786 in test cases; call gst_controller_init() at start
9789 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9791 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9792 (gst_controller_set_from_list):
9793 Don't g_return_val_if_fail() on timed values with invalid timestamps
9794 inside a critical section without unlocking the mutex. Spotted by
9795 René Stadler. (#357617)
9796 Also, fix up refcounting properly: when returning an existing
9797 controller, we should increase the reference only once and not
9798 once per property and when trying to control a property again
9799 we should also increase the refcount.
9801 2006-09-29 Wim Taymans <wim@fluendo.com>
9803 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9804 * libs/gst/net/gstnettimeprovider.c:
9805 (gst_net_time_provider_thread):
9806 Stop reading commands when EOF as well.
9808 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9809 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9810 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9811 Unify description of the dump property.
9813 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9815 * tests/examples/manual/.cvsignore:
9816 OK, so it's actually cvsignore that needs changing. Stop laughing.
9818 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9820 * tests/examples/manual/Makefile.am:
9821 Gah, declare vars *before* using them
9823 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9825 * gst/gst.c: (init_pre), (scan_and_update_registry),
9826 (ensure_current_registry_nonforking),
9827 (ensure_current_registry_forking), (ensure_current_registry),
9828 (init_post), (gst_debug_help), (gst_deinit):
9829 * gst/gst_private.h:
9830 * gst/gstregistry.c: (gst_registry_finalize),
9831 (gst_registry_remove_features_for_plugin_unlocked),
9832 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9833 (gst_registry_scan_path),
9834 (_priv_gst_registry_remove_cache_plugins),
9835 (_priv_gst_registry_cleanup):
9836 * gst/gstregistry.h:
9837 Re-commit the registry changes, along with an extra fix:
9838 When a cached plugin is encountered at a different file path,
9839 update the stored path in the registry cache so that the parent
9840 process knows where it actually is now when it re-reads the registry
9841 cache. Fixes the thing that broke distcheck with the previous commit.
9843 * tests/check/Makefile.am:
9844 Clean up files named 'core' too when running make clean.
9846 * tests/examples/manual/Makefile.am:
9847 Set up a registry path for running these tests, and clean it properly
9850 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9853 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9854 want gmodule-no-export-2.0.pc instead so that we don't drag in
9855 --export-dynamic on every project that links to GStreamer.
9857 Also, make our export regex only match the start of symbols, rather
9858 than any symbol that contains '_gst' somewhere.
9860 * libs/gst/check/Makefile.am:
9861 The libgstcheck we build does however need export-dynamic, as it
9862 produces some symbols that don't match our _gst... style regex.
9865 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9867 * gst/gst.c: (init_pre), (scan_and_update_registry),
9868 (ensure_current_registry_nonforking),
9869 (ensure_current_registry_forking), (ensure_current_registry),
9870 (init_post), (gst_debug_help), (gst_deinit):
9871 * gst/gst_private.h:
9872 * gst/gstregistry.c: (gst_registry_finalize),
9873 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9874 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9875 (_gst_registry_cleanup):
9876 * gst/gstregistry.h:
9877 Revert previous change until I figure out why it breaks distcheck.
9879 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9881 * gst/gst.c: (init_pre), (scan_and_update_registry),
9882 (ensure_current_registry_nonforking),
9883 (ensure_current_registry_forking), (ensure_current_registry),
9884 (init_post), (gst_debug_help), (gst_deinit):
9886 Make init_pre and init_post take the full complement of GOptionFunc
9887 args so they can return useful GErrors. Make the registry updating
9890 Call _priv_gst_registry_remove_cache_plugins after scanning files to
9891 ensure that the registry we're about to write out doesn't contain
9892 stale information about old-deleted plugin files.
9894 Make _priv_gst_registry_remove_cache_plugins return a boolean so
9895 that deletion of plugin files is considered a registry change.
9897 * gst/gst_private.h:
9898 * gst/gstregistry.c: (gst_registry_finalize),
9899 (gst_registry_remove_features_for_plugin_unlocked),
9900 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9901 (gst_registry_scan_path),
9902 (_priv_gst_registry_remove_cache_plugins),
9903 (_priv_gst_registry_cleanup):
9904 * gst/gstregistry.h:
9905 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9906 by adding _priv prefix, so that they won't appear in the global
9907 symbol table. They still do atm though because of #318031. Move the
9908 prototypes to gst_private.h
9910 When removing a plugin, remove all features for that plugin too.
9913 2006-09-27 Wim Taymans <wim@fluendo.com>
9915 * docs/random/moving-plugins:
9916 Make it clear that the "compiled-in descriptions" really mean
9917 the element details.
9919 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9920 (gst_base_sink_wait_preroll):
9923 * docs/libs/gstreamer-libs-sections.txt:
9924 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9925 (gst_base_src_get_range), (gst_base_src_activate_push):
9926 * libs/gst/base/gstbasesrc.h:
9927 Added function to block while waiting for PLAYING, this function
9928 is used by live sources that block on the clock.
9929 API: gst_base_src_wait_playing()
9931 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
9933 Patch by: Peter Kjellerstedt <pkj at axis com>
9936 gst-element-check.m4 is generated and should therefore be
9937 copied from the build dir rather than the source dir (#357593).
9938 'make distcheck' hasn't noticed this because we were disting
9939 the file as well, so stop doing that.
9941 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
9943 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9944 Add some tests for gst_caps_intersect().
9946 * tools/gst-launch.c: (event_loop):
9947 Print all buffering percentages we get, even the 100% one.
9949 2006-09-26 Wim Taymans <wim@fluendo.com>
9951 * tools/gst-inspect.c: (print_element_properties_info),
9952 (print_signal_info):
9953 Fix printing of flags to match the look of enums.
9955 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9957 * gst/gstelementfactory.c:
9958 Fix typo in docs blurb.
9960 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9962 * gst/gsturi.c: (search_by_entry):
9963 Don't assert/crash here if a uri handler doesn't return any
9964 supported protocols. The list of protocols could be generated
9965 dynamically at runtime or at plugin registration, and an error
9966 in the underlying library shouldn't be fatal (#353301).
9968 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9971 Fix warning if HAVE_PRINTF_EXTENSION is undefined
9972 (spotted by Peter Kjellerstedt).
9974 2006-09-23 Wim Taymans <wim@fluendo.com>
9976 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9978 * libs/gst/base/gstbasesrc.c:
9979 (gst_base_src_default_check_get_range), (gst_base_src_start),
9980 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9981 (gst_base_src_change_state):
9982 Match _start/_stop calls in the activate functions. Remove redundant
9983 _stop call from the state change function. Fixes #356910.
9984 Turn failure DEBUG into ERROR.
9986 2006-09-22 Wim Taymans <wim@fluendo.com>
9988 * docs/design/part-buffering.txt:
9989 * gst/gstmessage.c: (gst_message_new_buffering),
9990 (gst_message_parse_buffering):
9991 Update docs about buffering.
9993 * docs/design/part-trickmodes.txt:
9996 2006-09-22 Stefan Kost <ensonic@users.sf.net>
9998 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9999 (gst_controller_new_list):
10000 Ref instances when returning them again (fixes #357180)
10002 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10004 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10005 Don't forget to release proxy lock when there's an error.
10007 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10010 Add extra initialisers for Caps things, to fix some plugin warnings
10013 2006-09-18 Wim Taymans <wim@fluendo.com>
10015 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10016 Also set template on the internal pad so that a getcaps from the
10017 target pad returns the template caps.
10019 2006-09-18 Wim Taymans <wim@fluendo.com>
10021 * gst/gstelement.c: (gst_element_post_message),
10022 (gst_element_dispose):
10023 Use _DEBUG_OBJECT some more.
10025 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10028 * tools/gst-launch.c: (main):
10029 If the toplevel element is not a GstPipeline, it must be put in a
10030 pipeline so that a bus and clock is selected.
10032 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10034 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10035 JITTER, RATE, and LATENCY query should be handled by the
10036 default case and not by the CONVERT query code.
10038 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10040 * gst/gstformat.c: (gst_format_register):
10041 Fix locking order (must take lock before using n_values).
10043 * gst/gstvalue.c: (gst_value_serialize_enum),
10044 (gst_value_deserialize_enum_iter_cmp),
10045 (gst_value_deserialize_enum):
10046 Fix serialisation/deserialisation of custom registered GstFormats.
10048 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10049 Unit test for custom format serialisation/deserialisation.
10051 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10053 * docs/pwg/building-boiler.xml:
10054 * plugins/elements/gstcapsfilter.c:
10055 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10058 2006-09-16 Edward Hervey <edward@fluendo.com>
10060 * libs/gst/base/gstbasetransform.c:
10061 (gst_base_transform_buffer_alloc):
10062 Check if requested caps are the same as the sinks caps IF
10063 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10065 This fixes the renegotiation issues stated in #352827.
10067 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10070 * docs/manual/advanced-autoplugging.xml:
10071 * tests/examples/Makefile.am:
10072 * tests/examples/manual/.cvsignore:
10073 * tests/examples/manual/Makefile.am:
10074 * tests/examples/manual/extract.pl:
10075 Extract the manual examples again like we used to do.
10078 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10080 * win32/common/config.h:
10083 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10086 Documents how to receive errors.
10088 2006-09-15 Wim Taymans <wim@fluendo.com>
10090 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10091 (event_loop), (main):
10092 Added some comments here and there.
10093 Post an application message when an interrupt is caught instead of doing
10094 an uncontrolled state change.
10095 Clean up the event loop.
10096 Handle buffering messages, pause/resume the pipeline.
10097 Make shutdown because of an interrupt more reliable.
10099 2006-09-15 Wim Taymans <wim@fluendo.com>
10101 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10102 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10103 (gst_base_sink_preroll_object):
10104 Make sure that our internal state is correct when we commit our state
10105 asynchronously. This solves a race where a state change to PLAYING
10106 could cause the sink to remain blocked in preroll in some situations.
10108 2006-09-15 Wim Taymans <wim@fluendo.com>
10110 * tools/gst-inspect.c: (print_element_properties_info),
10111 (print_signal_info):
10112 List flags as hex so it's easier to deal with.
10114 2006-09-15 Wim Taymans <wim@fluendo.com>
10116 * docs/libs/gstreamer-libs-sections.txt:
10117 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10118 (gst_base_sink_do_sync):
10119 * libs/gst/base/gstbasesink.h:
10120 Expose logic to wait for preroll so that subclasses such as audiosink
10121 can also use this method.
10122 API: gst_base_sink_wait_preroll()
10124 2006-09-15 Wim Taymans <wim@fluendo.com>
10126 * gst/gstobject.c: (gst_object_set_parent):
10127 * gst/gstpipeline.c: (do_pipeline_seek):
10128 Small cleanups in docs and code.
10130 * gst/gstsegment.c: (gst_segment_clip):
10131 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10132 if stop == start and start is in the segment, no clipping should be
10133 done. Also add a test for this.
10135 2006-09-15 Wim Taymans <wim@fluendo.com>
10137 * docs/design/part-buffering.txt:
10138 * docs/gst/gstreamer-sections.txt:
10139 * gst/gstmessage.c: (gst_message_new_buffering),
10140 (gst_message_parse_buffering):
10141 * gst/gstmessage.h:
10142 Added methods to create and parse BUFFERING messages.
10143 Added preliminary docs about buffering.
10144 API: gst_message_new_buffering
10145 API: gst_message_parse_buffering
10147 2006-09-06 Wim Taymans <wim@fluendo.com>
10150 Update documentation.
10152 * gst/gstelement.c: (gst_element_class_init),
10153 (gst_element_release_request_pad), (gst_element_set_clock),
10154 (gst_element_get_index), (gst_element_add_pad),
10155 (gst_element_remove_pad), (gst_element_get_random_pad),
10156 (gst_element_send_event), (gst_element_get_query_types),
10157 (gst_element_query), (gst_element_post_message),
10158 (gst_element_message_full), (gst_element_continue_state),
10159 (gst_element_lost_state), (gst_element_save_thyself),
10160 (gst_element_restore_thyself):
10161 Documentation updates.
10162 Rename last bit of the new-pad -> pad-added signal rename.
10163 Fix the case where an element query would only work if the source
10165 Avoid some useless type checking in message handling.
10170 Documentation updates.
10172 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10174 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10175 add an INFO line for when we actually update the fd
10177 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10182 === release 0.10.10 ===
10184 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10187 releasing 0.10.10, "Pais"
10189 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10191 * docs/manual/advanced-position.xml:
10192 Fix typo in sample code.
10194 2006-09-05 Wim Taymans <wim@fluendo.com>
10196 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10197 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10198 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10199 * libs/gst/net/gstnetclientclock.h:
10200 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10201 * libs/gst/net/gstnettimepacket.h:
10202 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10203 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10204 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10205 * libs/gst/net/gstnettimeprovider.h:
10206 Make stuff compile on windows. Fixes #345295.
10208 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10210 * gst/gst.c: (ensure_current_registry_forking):
10211 Print better details when child was terminated by signal.
10213 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10215 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10216 Print a warning rather than g_assert() if a plugin feature
10217 is a URI handler but returns no protocols (#353976).
10219 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10221 * docs/random/moving-plugins:
10224 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10226 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10227 Fix locking order, handle NULL function values properly.
10232 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10233 Initialise variable before using it and fix debug statement to
10234 print the address of the function rather than the address of the
10235 variable on the stack holding the address of the function.
10237 2006-09-01 Wim Taymans <wim@fluendo.com>
10239 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10240 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10241 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10242 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10243 (gst_ghost_pad_parent_unset),
10244 (gst_ghost_pad_internal_do_activate_push),
10245 (gst_ghost_pad_internal_do_activate_pull),
10246 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10247 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10248 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10249 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10250 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10251 (gst_ghost_pad_new_no_target_from_template),
10252 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10254 Avoid needless typechecking in macros.
10255 Since the internal pad is always present and never changes, there is
10256 no need to locking or ref when retrieving it.
10257 Improve debugging a bit.
10258 Handle link errors when setting the target. Fixes #341029.
10260 2006-09-01 Wim Taymans <wim@fluendo.com>
10262 * docs/libs/gstreamer-libs-sections.txt:
10263 * docs/plugins/gstreamer-plugins-sections.txt:
10264 Fix docs some more.
10266 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10267 (gst_collect_pads_event):
10268 * libs/gst/base/gstcollectpads.h:
10269 Documentation updates.
10270 Free queued buffer when removing a pad.
10272 2006-08-31 Michael Smith <msmith@fluendo.com>
10274 * gst/gstutils.c: (gst_element_link_pads),
10275 (gst_element_link_pads_filtered):
10276 Ensure that we set a capsfilter to NULL if we failed to link it
10277 when doing filtered linking, to avoid criticals.
10279 No need to check for unreffing srcpad, which is explicly NULLed
10280 above (a trivial code cleanup).
10282 2006-08-31 Wim Taymans <wim@fluendo.com>
10284 * docs/design/part-gstghostpad.txt:
10285 Update ascii art in documentation.
10287 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10288 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10289 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10290 (gst_ghost_pad_internal_do_activate_push),
10291 (gst_ghost_pad_internal_do_activate_pull),
10292 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10293 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10294 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10295 (gst_ghost_pad_set_target):
10296 Small cleanups and leak fixes.
10297 Remove some checks now that the internal pad is never NULL.
10298 Fix the case where linking pads without a target would create nasty
10299 criticals. Fixes #341029.
10300 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10301 value of _set_target().
10303 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10304 (gst_ghost_pad_suite):
10305 Some more tests for creating and linking untargeted ghostpads.
10307 2006-08-31 Edward Hervey <edward@fluendo.com>
10309 * docs/gst/gstreamer-sections.txt:
10310 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10311 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10312 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10313 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10314 (gst_ghost_pad_new_from_template),
10315 (gst_ghost_pad_new_no_target_from_template):
10316 * gst/gstghostpad.h:
10317 Refactored *_new() functions.
10318 Templates are now used as a g_object_new() parameter.
10319 Use template in _do_getcaps() if we don't have a target.
10320 Small documentation cleanups.
10321 Added two new constructors:
10322 gst_ghost_pad_new_from_template()
10323 gst_ghost_pad_new_no_target_from_template()
10324 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10325 (gst_ghost_pad_suite):
10326 Added tests for new ghostpad instanciation functions.
10328 API additions: gst_ghost_pad_new_from_template,
10329 gst_ghost_pad_new_no_target_from_template
10331 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10333 * docs/random/ensonic/profiling.txt:
10334 Ideas about qos profiling.
10336 2006-08-29 Wim Taymans <wim@fluendo.com>
10338 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10342 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10345 Improve and detypofy docs.
10347 * tests/check/Makefile.am:
10348 * tests/check/gst/.cvsignore:
10349 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10350 Add a basic test suite for GstXML.
10352 2006-08-29 Wim Taymans <wim@fluendo.com>
10354 * gst/gstelement.c: (activate_pads), (clear_caps),
10355 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10356 Clear the pad caps when the element shut down all of the pads and
10357 is not streaming data that could modify the caps.
10360 2006-08-28 Michael Smith <msmith@fluendo.com>
10362 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10363 Revert previous change; I misunderstood single-segment mode.
10365 2006-08-28 Michael Smith <msmith@fluendo.com>
10367 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10368 Unset DISCONT on buffers when using single-segment mode.
10370 2006-08-28 Wim Taymans <wim@fluendo.com>
10372 * gst/gstcaps.c: (gst_caps_merge_structure):
10374 Fix docs and indentation again.
10376 * tests/check/gst/gstquery.c: (GST_START_TEST):
10377 Fix leak in tests and add some more tests.
10379 2006-08-28 Edward Hervey <edward@fluendo.com>
10381 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10382 Inform GstSegment of the last stop position in order for the current
10383 segment to have a proper duration if it doesn't have a specific stop
10384 position from which a duration could be calculated.
10385 This bug was noticeable when a non-flushing, non-update new segment was
10386 followed by another segment (all buffers from the new segment were being
10389 2006-08-28 Wim Taymans <wim@fluendo.com>
10391 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10392 Small comment update.
10394 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10395 (gst_identity_transform_ip):
10396 Drop-probability is broken, mention this in the code with a
10397 FIXME and also in the property description.
10398 Make silent also be silent about the drop messages.
10400 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10402 * docs/manual/appendix-win32.xml:
10403 Remove mention of popt, we don't depend on that any
10404 longer (#353136). Add some comments pointing out that
10405 this section is slightly outdated.
10407 2006-08-28 Wim Taymans <wim@fluendo.com>
10409 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10411 * gst/gstquery.c: (gst_query_new_segment):
10412 * tests/check/gst/gstquery.c: (GST_START_TEST):
10413 Initialize variables when creating a new segment query.
10416 2006-08-28 Wim Taymans <wim@fluendo.com>
10418 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10420 * gst/gstelement.c: (gst_element_get_bus):
10421 * tests/check/gst/gstelement.c: (GST_START_TEST):
10422 Check for NULL before _reffing the bus. Fixes #353122.
10424 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10426 * docs/manual/basics-bus.xml:
10427 Docs update: fix wrong callback return value explanation; add
10428 some lines about the implicit relationship between main loop
10429 and main context; remove duplicate main loop variable declaration.
10431 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10433 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10434 Don't leak caps in unit test; add a few more simple
10437 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10439 * docs/gst/gstreamer-sections.txt:
10440 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10441 (gst_caps_structure_is_subset), (gst_caps_merge),
10442 (gst_caps_merge_structure):
10444 * libs/gst/base/gstbasetransform.c:
10445 (gst_base_transform_transform_caps):
10446 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10447 implement caps merging (fixes #352580)
10449 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10451 * tools/Makefile.am:
10452 * tools/gst-plot-timeline.py:
10453 add debug-log plotting developer tool (#340674)
10455 2006-08-23 Wim Taymans <wim@fluendo.com>
10457 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10458 (gst_pad_stop_task):
10459 Improve debugging for task functions.
10461 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10462 (gst_task_start), (gst_task_pause), (gst_task_join):
10463 Make sure that the task function started and finished after a
10465 Don't try to push the task function on the threadpool multiple
10467 Improve the g_warning message with some useful suggestions
10468 about how to fix the problem.
10470 2006-08-23 Wim Taymans <wim@fluendo.com>
10472 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10473 Handle RESYNC correctly in _proxy_getcaps.
10475 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10477 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10478 (gst_xml_parse_memory), (gst_xml_get_element):
10479 Chain up to parent class in dispose function and also
10480 unref the elements in the toplevel_elements GList.
10481 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10482 Always return a reference in gst_xml_get_element() rather
10483 than only sometimes.
10485 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10486 Don't leak GstXml object.
10488 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10490 * docs/gst/gstreamer-sections.txt:
10491 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10494 * libs/gst/base/gstbasetransform.c:
10495 (gst_base_transform_transform_caps):
10496 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10499 2006-08-21 Edward Hervey <edward@fluendo.com>
10501 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10502 Implement GObject::dispose virtual method in GstXML so we can free the
10503 top_elements GList.
10505 2006-08-21 Wim Taymans <wim@fluendo.com>
10507 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10508 (gst_buffer_create_sub):
10509 Copy duration/offset_end/caps when creating a subbuffer of the
10511 Make the subbuffer read-only when we make the metadata writable for
10512 now. Fixes #351768.
10514 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10515 Added check for metadata copy when creating subbuffers.
10517 2006-08-21 Edward Hervey <edward@fluendo.com>
10519 * libs/gst/base/gstbasetransform.c:
10520 (gst_base_transform_buffer_alloc):
10521 Only call downstream buffer_alloc if transform element is passthrough
10522 or always_in_place. Closes #350449.
10524 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10527 ChangeLog surgery to add comments to previous changes
10529 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10534 * gst/gstpad.c: (gst_pad_set_active):
10535 Be more verbose in the log
10537 * libs/gst/base/gstbasetransform.c:
10538 (gst_base_transform_transform_caps):
10539 Simplify caps to get rid of duplicates, fixes #345444
10541 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10545 Use these optimizations only internally.
10547 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10549 * gst/gstvalue.c: (gst_value_compare_list),
10550 (gst_value_compare_fraction_range),
10551 (gst_value_intersect_fraction_fraction_range),
10552 (gst_value_intersect_fraction_range_fraction_range),
10553 (gst_value_subtract_fraction_fraction_range),
10554 (gst_value_subtract_fraction_range_fraction_range),
10555 (gst_value_get_compare_func), (gst_value_compare),
10556 (gst_value_compare_with_func):
10558 Saves the expensive lookup of the compare function in many cases
10561 2006-08-18 Edward Hervey <edward@fluendo.com>
10563 * tests/check/gst/gstinfo.c: (gst_info_suite):
10564 Disable test that require gstdebug if it wasn't built in core.
10566 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10568 * docs/random/ensonic/logging.txt:
10571 * gst/gstinfo.c: (gst_debug_log_default):
10572 reorder fields, save some columns, add optional color codes for log
10575 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10577 * docs/random/ensonic/logging.txt:
10578 add ideas about making the logs a bit more useful
10580 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10582 * docs/pwg/advanced-events.xml:
10583 * docs/pwg/titlepage.xml:
10584 Update for 0.10 API (#340627). Add myself
10587 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10589 * docs/libs/gstreamer-libs-docs.sgml:
10590 * docs/libs/gstreamer-libs-sections.txt:
10591 * libs/gst/check/gstbufferstraw.c:
10592 Make gstcheck stuff show up in docs (still needs to
10593 be documented properly though).
10595 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10597 * docs/gst/gstreamer-sections.txt:
10599 * gst/gst.c: (init_post):
10600 * gst/gst_private.h:
10601 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10603 * gst/gstquery.c: (gst_query_new_position),
10604 (gst_query_set_position), (gst_query_parse_position),
10605 (gst_query_new_duration), (gst_query_set_duration),
10606 (gst_query_parse_duration), (gst_query_new_convert),
10607 (gst_query_set_convert), (gst_query_parse_convert),
10608 (gst_query_new_segment), (gst_query_set_segment),
10609 (gst_query_parse_segment), (gst_query_new_seeking),
10610 (gst_query_set_seeking), (gst_query_parse_seeking):
10611 Add internal helpers for pre-registering quarks from static strings
10612 and using the quark values directly instead of looking them up when
10613 creating and parsing queries. Can be used for event construction too.
10616 2006-08-16 Wim Taymans <wim@fluendo.com>
10621 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10623 * gst/gstutils.c: (gst_util_set_value_from_string):
10624 Fix memleak (#351502).
10626 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10627 Add unit test for most of gst_util_set_value_from_string()
10628 (not that one would want to encourage use of this function).
10630 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10632 * libs/gst/check/gstcheck.h:
10633 Use const gchar * variables in fail_unless_equals_string
10634 macro to avoid compiler warnings (and don't use tabs for
10637 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10639 * tools/gst-launch.c: (print_tag):
10640 More space on the left for the tag names, to cater
10641 for the 'extended comment' tag (not touching the
10642 string for the first line since it's translated).
10644 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10646 * libs/gst/check/gstcheck.h:
10647 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10648 print something when they fail.
10650 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10652 * docs/gst/gstreamer-sections.txt:
10653 * gst/gsttaglist.c: (_gst_tag_initialize):
10654 * gst/gsttaglist.h:
10655 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10656 Also change merge function for GST_TAG_COMMENT to
10659 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10661 * gst/gstinfo.c: (gst_debug_print_object):
10662 Make GST_PTR_FORMAT print messages as well.
10664 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10665 (GST_START_TEST), (gst_info_suite):
10668 2006-08-14 Edward Hervey <edward@fluendo.com>
10670 * gst/gstelementfactory.c: (gst_element_register):
10671 If the GstElementClass doesn't have a GstElementDetails with all fields
10672 filled up correctly (longname, description AND author), then error out
10673 nicely instead of crashing.
10675 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10677 * gst/gststructure.c:
10678 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10681 Expand on the difference between arrays and lists as we use them.
10683 2006-08-14 Wim Taymans <wim@fluendo.com>
10685 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10686 If the parent state change function failed, don't assume we can safely
10687 stop the source, this will be done when the pads are deactivated.
10689 2006-08-14 Wim Taymans <wim@fluendo.com>
10692 * gst/gsttask.c: (gst_task_join):
10695 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10696 (gst_pad_stop_task):
10697 When pad (de)activation failed for some reason, restore the old
10698 activation mode and set the pad to flushing instead of assuming the
10699 pad is deactivated.
10700 If the _task_join() failed, reinstall the task on the pad so that it can
10701 be stopped later and return an error.
10703 2006-08-11 Andy Wingo <wingo@pobox.com>
10706 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10707 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10708 is only for users of API that don't want to see deprecated
10709 functions in the headers; people that want to compile out
10710 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10711 CFLAGS. Fixes the build of multifdsink, or will soon..
10713 2006-08-11 Wim Taymans <wim@fluendo.com>
10715 * docs/gst/gstreamer-sections.txt:
10716 Add GstClockClass vmethod docs.
10719 Mark #endif with comment for associated #if
10721 * gst/gstclock.c: (gst_clock_id_wait):
10723 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10724 most clock implementations.
10726 Flesh out docs about resolution methods.
10727 API: GstClockClass::wait_jitter
10729 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10730 (gst_system_clock_async_thread),
10731 (gst_system_clock_id_wait_jitter_unlocked),
10732 (gst_system_clock_id_wait_jitter):
10733 Use base class wait_jitter variant for improved performance
10734 due to less clock polling.
10736 2006-08-11 Edward Hervey <edward@fluendo.com>
10738 * gst/gst.c: (gst_init_check), (init_post):
10739 Set gst as being initialized before scanning/updating the registry,
10740 since there might be my python plugin loader that calls gst_init() and
10741 we don't want to loop back in.
10744 2006-08-11 Wim Taymans <wim@fluendo.com>
10746 * docs/design/part-qos.txt:
10747 Bring docs in line with the code. Mostly the sign of the jitter was
10748 wrong in the docs. Fixes #349943.
10751 Fix the docs for the jitter.
10753 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10754 (gst_event_parse_tag), (gst_event_new_buffer_size),
10755 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10756 (gst_event_new_seek), (gst_event_parse_seek),
10757 (gst_event_new_navigation):
10758 Make sure the GstStructure has no parent when creating custom
10760 Add some more argument checking so that we avoid 0.0 rates.
10761 Flesh out the docs for the QoS event some more.
10763 2006-08-11 Wim Taymans <wim@fluendo.com>
10765 * docs/gst/gstreamer-sections.txt:
10766 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10767 (ensure_current_registry_forking), (ensure_current_registry),
10768 (parse_one_option), (parse_goption_arg), (gst_deinit),
10769 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10772 Added API and command line option to disable registry forking in
10773 addition to the environment variable.
10774 Constify some static arrays.
10775 Added some more debug.
10776 Don't deinit twice.
10777 API: gst_registry_fork_is_enabled()
10778 API: gst_registry_fork_set_enabled()
10779 API: --gst-disable-registry-fork command line option
10782 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10784 * gst/gst.c: (gst_init):
10785 Fix typo in error message.
10787 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10789 * libs/gst/controller/gstcontroller.h:
10790 fix ABI size-correction
10792 * tests/check/libs/gdp.c: (gst_dp_suite):
10793 make tests that use deprecated API conditional
10795 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10797 * docs/libs/gstreamer-libs-sections.txt:
10798 * libs/gst/controller/gstcontroller.c:
10799 (_gst_controller_get_property), (_gst_controller_set_property),
10800 (_gst_controller_init), (_gst_controller_class_init):
10801 * libs/gst/controller/gstcontroller.h:
10802 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10803 (gst_object_set_control_rate):
10804 API: add gst_object_{s,g}et_control_rate(), add private data section,
10807 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10808 * libs/gst/dataprotocol/dataprotocol.h:
10809 add deprecation guards to make gtk-doc happy and allow disabling cruft
10811 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10813 * tests/check/Makefile.am:
10814 * tests/check/gst/.cvsignore:
10815 Let's enable the new unit test as well.
10817 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10820 * docs/gst/gstreamer-sections.txt:
10821 * gst/gstconfig.h.in:
10822 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10823 (_gst_info_printf_extension_ptr),
10824 (_gst_info_printf_extension_segment):
10825 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10826 register that lets us easily dump GstSegments into debug
10829 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10830 (info_segment_format_printf_extension), (gst_info_suite):
10831 Add simple unit test that logs a bunch of different segments (not
10832 valgrinded at the moment because of leaks in
10833 gst_debug_add_log_function).
10835 2006-08-09 Edward Hervey <edward@fluendo.com>
10837 * libs/gst/base/gstbasetransform.c:
10838 (gst_base_transform_buffer_alloc):
10839 Even if we can't figure out the proper format to request downstream,
10840 call buffer_alloc() downstream with the input parameters without setting
10841 the caps on the srcpad. This will force negotiation in the chain
10845 2006-08-08 Edward Hervey <edward@fluendo.com>
10847 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10848 Unlinking from a pad without a target is now a perfectly valid case
10849 which should NOT raise an assertion.
10850 This case would happen if a linked ghostpad its target set to NULL after
10851 it was previously linked.
10853 2006-08-08 Edward Hervey <edward@fluendo.com>
10855 * tests/check/libs/gdp.c:
10856 Also comment out the test (see below).
10858 2006-08-08 Edward Hervey <edward@fluendo.com>
10860 * tests/check/libs/gdp.c: (gst_dp_suite):
10861 Use the architecture information from config.h and not gcc macros
10862 in order to properly disable a test that fails on PPC64.
10864 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10866 * gst/gstelement.c: (gst_element_remove_pad):
10867 Don't crash printing the warning if the pad has no parent.
10869 2006-08-02 Wim Taymans <wim@fluendo.com>
10871 * libs/gst/dataprotocol/dataprotocol.c:
10872 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10873 (gst_dp_crc), (gst_dp_header_payload_length),
10874 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10875 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10876 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10877 (gst_dp_event_from_packet), (gst_dp_validate_header),
10878 (gst_dp_validate_payload):
10879 Make debug category static
10880 Constify the crc table.
10881 Do some more arg checking in public functions.
10882 Fix some docs and do some small cleanups.
10884 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10885 Add some more checks to see if GDP deals with bogus input.
10887 2006-07-31 Wim Taymans <wim@fluendo.com>
10889 * gst/gstvalue.c: (gst_value_compare_list):
10890 Fix GstValueList comparison code. Fixes #347293.
10892 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10893 Check to test GstValueList comparison.
10895 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10897 * gst/gstelementfactory.c: (gst_element_factory_create):
10898 Remove unnecessary ref/unref pair
10900 * gst/parse/grammar.y:
10901 Make sure to free the parse buffer on all code paths.
10902 Move a g_free up to the error handler where it's easier to see.
10904 * tests/check/gst/gstevent.c: (test_event):
10905 Extending timeout for downstream travelling events to 10 seconds to
10906 hopefully avoid intermittent failure on the buildbots.
10908 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10909 Don't manually set the state of the src element - it will happen as a
10910 natural consequence of the pipeline changing state, and that way it
10911 will do it in the right order too.
10913 2006-07-31 Wim Taymans <wim@fluendo.com>
10915 * libs/gst/base/gstbasetransform.c:
10916 (gst_base_transform_buffer_alloc):
10917 Use OBJECT_LOCK and refcounting to get the pad caps in the
10918 buffer_alloc function because the caps could change while we are
10919 busy with them. Fixes #349105
10921 2006-07-31 Wim Taymans <wim@fluendo.com>
10923 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10924 Protect _PAD_CAPS with OBJECT_LOCK.
10926 2006-07-31 Wim Taymans <wim@fluendo.com>
10928 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10929 (gst_pad_get_property), (gst_pad_activate_pull),
10930 (gst_pad_activate_push), (gst_pad_set_blocked_async),
10931 (gst_pad_set_activate_function),
10932 (gst_pad_set_activatepull_function),
10933 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10934 (gst_pad_set_getrange_function),
10935 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10936 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10937 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10938 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10939 (gst_pad_set_acceptcaps_function),
10940 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10941 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10942 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10943 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10944 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10945 (gst_pad_configure_sink), (gst_pad_configure_src),
10946 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10947 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10948 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10949 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10950 (gst_pad_send_event):
10951 Use _DEBUG_OBJECT when it makes sense.
10952 Protect GST_PAD_CAPS with the OBJECT_LOCK.
10953 Small cleanups and code reflows.
10954 Avoid caps refcounting in _accept_caps.
10955 Refactor alloc_buffer so that the code performed on the peer is in a
10956 separate function. Also if the pad does not implement a buffer alloc
10957 function, we should still check if the pad is flushing before falling
10958 back to the default allocator.
10960 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10962 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10963 Make all uses of identity and fakesink have silent=true to avoid
10964 serialising every passing data structure, which is breaking tests
10965 on FC4 for some unknown reason.
10967 2006-07-30 Stefan Kost <ensonic@users.sf.net>
10969 * gst/parse/Makefile.am:
10970 * gst/parse/grammar.y:
10971 * gst/parse/parse.l:
10972 Reverted previous patch as it required to bump the flex dependency to
10973 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10975 2006-07-30 Stefan Kost <ensonic@users.sf.net>
10977 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10979 * gst/parse/Makefile.am:
10980 * gst/parse/grammar.y:
10981 * gst/parse/parse.l:
10982 push & pop the state of the lexer for reentrant use case
10985 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
10987 * libs/gst/base/gstbasesrc.h:
10988 Note in the docs that the ::newsegment vfunc is not actually used by
10991 2006-07-28 Wim Taymans <wim@fluendo.com>
10993 * libs/gst/base/gstcollectpads.c:
10994 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
10995 (gst_collect_pads_clear), (gst_collect_pads_flush),
10996 (gst_collect_pads_event), (gst_collect_pads_chain):
10997 When flushing a pad, also clear the queued buffer so that we don't
10998 accidentally use it when we shouldn't.
10999 Fix leaks by inreffing incomming buffer.
11000 Flush out queued buffers in case of errors.
11003 2006-07-28 Wim Taymans <wim@fluendo.com>
11005 * docs/random/phonon-gst:
11006 Random notes about a Phonon backend.
11008 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11010 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11012 * tests/check/libs/gdp.c: (gst_dp_suite):
11013 Take a whack at fixing the ppc compile using a different define to
11014 disable the broken test.
11016 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11017 Remove excess g_print()
11019 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11021 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11022 Oops, meant to uncomment this line too to dampen the noise a bit.
11024 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11026 * gst/parse/grammar.y:
11027 * gst/parse/parse.l:
11028 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11029 (GST_START_TEST), (parse_suite):
11030 Fix some of the leaks exposed by extending the parse-launch testsuite,
11031 and move the 3 I can't figure out into a separate test that won't run
11032 the pipelines unless the appropriate line is uncommented.
11034 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11036 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11037 Requesting 0 bytes before the end of the file should result in
11038 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11041 2006-07-27 Wim Taymans <wim@fluendo.com>
11043 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11044 Fix useless assert, a uint is always positive.
11046 * gst/gststructure.c: (gst_structure_nth_field_name),
11047 (gst_structure_foreach), (gst_structure_map_in_place):
11048 Check input arguments for public functions to avoid obvious crashes.
11050 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11051 * plugins/elements/gstfakesink.h:
11052 Do less useless typechecking.
11054 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11056 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11057 Do not use mmap() by default since there are a number of error
11058 conditions that we would like to handle in a non-fatal way that
11059 will result in a SIGBUS if we use mmap(). Examples: external
11060 devices (USB harddrive, portable music player) being unplugged
11061 while in use; file on mounted CD/DVD that can't be read because
11062 the medium is partly damaged. Fixes #348455 and #348475.
11064 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11067 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11068 rates are a gdouble
11070 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11072 * gst/gstregistry.c:
11073 Move big documentation comment into class section header, so that it
11074 appears in the API docs.
11076 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11078 * docs/gst/gstreamer-sections.txt:
11079 Oops. Commit the docs additions too for new API.
11080 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11082 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11084 * gst/gststructure.c: (gst_structure_id_set),
11085 (gst_structure_id_set_valist):
11086 * gst/gststructure.h:
11087 Add API for setting values into structures without performing
11088 a quark lookup, if the appropriate quark is already known.
11090 API: gst_structure_id_set
11091 API: gst_structure_id_set_valist
11093 * gst/parse/grammar.y:
11094 * gst/parse/parse.l:
11095 Remove some dead code shown by the coverage information.
11096 Don't throw a critical g_warning when encountering a syntax error,
11097 just warn and let the normal error path handle it.
11099 * plugins/elements/gstelements.c:
11100 Bump the rank of filesink up to PRIMARY so that it is preferred over
11101 gnomevfssink for file:// sink uri's
11103 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11104 (GST_START_TEST), (run_delayed_test),
11105 (gst_parse_test_element_base_init),
11106 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11107 (gst_parse_test_element_change_state),
11108 (gst_register_parse_element), (parse_suite):
11109 Beef up the tests for parse syntax to check that more error cases
11110 fail as they are supposed to. Increases the test coverage a bit.
11112 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11114 * docs/manual/basics-elements.xml:
11115 Fix gst_element_link() example.
11118 Mention in API docs that one should usually gst_bin_add()
11119 elements to a bin or pipeline before doing the linking.
11121 2006-07-26 Wim Taymans <wim@fluendo.com>
11123 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11124 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11125 Avoid function call for known types by keeping the buffer and
11126 subbuffer GType global.
11128 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11129 Random silly optimisations in read() path.
11131 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11133 * tools/gst-launch.c: (main):
11134 If the top-level of the parse is a normal bin, it doesn't do the
11135 right logic to run as a top-level element, so place it inside a
11138 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11140 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11141 Remove superfluous g_object_notify() calls, GObject does
11142 that for us automatically.
11144 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11147 on Win32, use dllspec to export the debug category symbols
11149 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11151 * gst/gsttaglist.c: (_gst_tag_initialize):
11152 Allow more than one GST_TAG_IMAGE per taglist.
11154 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11156 * gst/gstminiobject.c:
11158 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11159 (gst_fd_src_create):
11160 log recurring events at LOG level
11161 add more debug for when the fd gets set
11163 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11165 * gst/gstparse.c: (gst_parse_launch):
11166 Also remove reentrance checks if flex is MT safe (#348179)
11167 Fix my empty ChangeLog entry below
11169 2006-07-21 Andy Wingo <wingo@pobox.com>
11171 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11173 * libs/gst/check/Makefile.am
11174 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11175 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11176 * libs/gst/check/gstbufferstraw.h:
11177 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11178 functions, thus proving I am still a GStreamer haxor. OK I wrote
11179 them a long time ago, but anyways.
11181 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11184 * gst/gstparse.c: (gst_parse_launch):
11185 Check for flex version and omit mutex if we have a MT save flex
11188 2006-07-21 Wim Taymans <wim@fluendo.com>
11190 * gst/gstparse.c: (gst_parse_launch):
11191 Protect recursive calls to _parse with a recursive mutex
11194 2006-07-21 Wim Taymans <wim@fluendo.com>
11196 * tests/check/gst/gstpad.c: (GST_START_TEST):
11199 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11201 * gst/gstparse.c: (gst_parse_launch):
11202 Do not hang on recursive usage of gst_parse_launch()
11204 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11206 * gst/gsttaglist.c:
11207 Add some more docs, comments and FIXME 0.11s here and there
11208 and also fix some typos.
11210 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11212 * gst/gstsegment.h:
11213 Convert tabs to spaces for better readability.
11215 2006-07-20 Edward Hervey <edward@fluendo.com>
11217 * tests/check/libs/gdp.c: (gst_dp_suite):
11218 the test_buffer test fails at line 140 on ppc64 at the following
11220 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11221 GST_BUFFER_FLAG_IN_CAPS),
11222 "GST_BUFFER_IN_CAPS flag should have been copied !");
11223 See bug #348114 for more details.
11225 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11227 * docs/pwg/advanced-scheduling.xml:
11229 Fix typos (#348000).
11231 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11233 * docs/pwg/intro-basics.xml:
11234 Fix wrong links (#347927).
11236 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11238 * gst/gstregistry.h:
11239 * gst/gstregistryxml.c: (load_feature),
11240 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11241 * win32/common/config.h:
11242 make --disable-index work (#342564)
11244 2006-07-18 Wim Taymans <wim@fluendo.com>
11246 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11250 The attached patch adds two missing defines to gsttrace.h when tracing
11251 is disabled. It also corrects one existing define.
11254 2006-07-17 Wim Taymans <wim@fluendo.com>
11256 * docs/gst/gstreamer-sections.txt:
11257 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11259 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11260 Add two functions to check and change the SIGSEGV behaviour
11261 when loading plugins.
11262 Don't mess with the SIGSEGV handler when we were told not to.
11264 API: gst_segtrap_is_enabled
11265 API: gst_segtrap_set_enabled
11267 2006-07-14 Wim Taymans <wim@fluendo.com>
11269 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11270 * tests/check/elements/filesrc.c: (GST_START_TEST):
11271 Revert fix for regression in #347408 after release.
11273 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11275 Patch by: Antoine Tremblay <hexa00 at gmail com>
11277 * gst/gstutils.c: (gst_element_unlink):
11278 Free iterator when done (#347311).
11280 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11281 And add a test case for this.
11283 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11286 Bump nano back to CVS
11288 === release 0.10.9 ===
11290 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11293 releasing 0.10.9, "On the road again"
11295 2006-07-13 Wim Taymans <wim@fluendo.com>
11297 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11298 * tests/check/elements/filesrc.c: (GST_START_TEST):
11299 Revert pull-0 fix for release. Disable check. Fixes #347408.
11301 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11303 * libs/gst/dataprotocol/dataprotocol.c:
11304 (gst_dp_event_from_packet_1_0):
11305 Fixes #347337: failure to deserialize event packets with
11306 empty payload (only event type)
11308 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11311 do not install a .c file in the header directory
11313 2006-07-13 Edward Hervey <edward@fluendo.com>
11315 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11316 GhostPad no longer implicitely use the padtemplates of the targets.
11319 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11321 * gst/gstvalue.c: (gst_value_compare_list),
11322 (gst_value_compare_array), (_gst_value_initialize):
11323 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11324 Make GstValueArray comparison be order dependent as designed.
11325 Add checks for value lists and value array comparisons.
11328 2006-07-11 Edward Hervey <edward@fluendo.com>
11330 * gst/gstbin.c: (activate_pads),
11331 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11332 (gst_bin_change_state_func):
11333 (de)activate src pads before calling state_change on the childs.
11334 This is to avoid the case where a src ghostpad is blocked (holding the
11335 stream lock), which would block the deactivation of the ghostpad's
11337 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11338 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11339 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11340 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11341 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11342 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11343 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11344 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11345 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11346 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11347 (gst_ghost_pad_class_init),
11348 (gst_ghost_pad_internal_do_activate_push),
11349 (gst_ghost_pad_internal_do_activate_pull),
11350 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11351 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11352 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11353 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11354 GhostPads now create their internal GstProxyPad at creation (and not
11355 when they're linked, as it was being done previously).
11356 The internal and target pads are linked straight away.
11357 The data will also travel through the other pad in order to make
11358 pad blocking and probes non-hackish (the probe/block now really happens
11359 on the GhostPad and not on the target).
11360 * gst/gstpad.c: (gst_pad_set_blocked_async),
11361 (gst_pad_link_prepare), (gst_pad_push_event):
11362 Remove previous ghostpad cruft.
11363 * gst/gstutils.c: (gst_pad_add_data_probe),
11364 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11365 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11366 (gst_pad_remove_buffer_probe):
11367 Remove previous ghost pad cruft.
11368 Added more detailed debug statements.
11369 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11370 Fix the testsuite for refcounting changes.
11371 The comments about who has references were correct, but the refcount
11372 being checked wasn't the same (!?!).
11376 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11378 * docs/gst/gstreamer-sections.txt:
11379 * gst/gstconfig.h.in:
11380 More docs for configuration options, add docs to gtk-doc.
11382 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11385 * gst/gstconfig.h.in:
11386 * win32/common/config.h:
11387 Fix build when disabling tracing (fixes #344016). Also start to document
11388 the defines that disable the sub-systems.
11390 2006-07-10 Edward Hervey <edward@fluendo.com>
11392 * gst/gst.c: (ensure_current_registry_forking):
11393 let's make valgrind happy...
11395 2006-07-09 Wim Taymans <wim@fluendo.com>
11397 * gst/gstelement.c: (activate_pads),
11398 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11399 Better pad activation code: Reset the collect value too on resync.
11402 2006-07-09 Wim Taymans <wim@fluendo.com>
11404 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11405 (gst_pad_activate_push):
11406 Use some more macros where it makes sense.
11407 Allow pad mode switching instead of asserting. When a pad
11408 is activated in one mode and we activate it in another,
11409 deactivate it first before activating it in a different mode.
11412 2006-07-08 Andy Wingo <wingo@pobox.com>
11414 * tools/gst-launch.c (main): Handle err == NULL.
11416 * gst/gst.c (init_post, ensure_current_registry)
11417 (ensure_current_registry_forking)
11418 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11419 factoring out the registry scanning into separate functions. Don't
11420 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11421 Better environment var name/interface suggestions accepted.
11423 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11425 * gst/gstobject.c: (gst_object_set_name_default),
11426 (gst_object_set_name):
11427 Random micro-optimisation: don't use a hash table
11428 with strings as keys and the usual strdup/strcmp
11429 involved, but rather just use the GQuark of the
11430 type name as key, since it needs to be looked up
11431 anyway to get the type name string.
11433 * tests/check/gst/gstobject.c: (GST_START_TEST):
11436 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11438 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11439 (gst_bin_iterate_all_by_interface):
11440 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11441 GTypes are gulongs and thus the top 4 bytes might be cut
11442 off on some platforms when doing GPOINTER_TO_INT, leading
11443 to invalid GTypes and bad things happening (see RH bug #179654).
11444 Also add a check to make sure the type passed in is really
11447 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11452 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11456 * gst-element-check.m4:
11457 * gst-element-check.m4.in:
11458 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11459 instead of the unversioned gst-inspect (#324176, #168659).
11461 2006-07-06 Wim Taymans <wim@fluendo.com>
11463 * gst/gstmessage.h:
11464 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11467 2006-07-06 Wim Taymans <wim@fluendo.com>
11469 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11470 (gst_base_src_wait), (gst_base_src_update_length),
11471 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11472 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11473 (gst_base_src_loop), (gst_base_src_start),
11474 (gst_base_src_activate_pull):
11476 blocksize == 0 now means the default blocksize when working in push
11478 Remove some pointless asserts in _wait function.
11479 Fix offset/length calculations and EOS handling. We can now pull 0
11480 bytes as well, which is allowed.
11481 use _check_get_range() to decide if we can operate in _pull based
11483 Fix refcounting leak when check_get_range function was not
11485 API GstBaseSrc::blocksize range can be 0 too now (default)
11487 * tests/check/elements/filesrc.c: (GST_START_TEST),
11489 Added check to test _get_range() behaviour.
11491 2006-07-06 Wim Taymans <wim@fluendo.com>
11493 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11494 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11495 (gst_pad_pull_range):
11497 Lots of comments and docs added to the pad functions.
11498 Flesh out the expected behaviour of the get_range() functions.
11500 2006-07-06 Wim Taymans <wim@fluendo.com>
11505 * gst/gstiterator.h:
11509 Remove comma at end of enumerator list.
11511 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11513 * win32/common/libgstbase.def:
11514 * win32/common/libgstdataprotocol.def:
11515 * win32/common/libsgtreamer.def:
11516 Add new exported functions.
11518 2006-07-05 Wim Taymans <wim@fluendo.com>
11520 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11521 Add some more docs here and there.
11523 2006-07-05 Wim Taymans <wim@fluendo.com>
11525 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11526 (gst_base_sink_loop), (gst_base_sink_get_position):
11527 When operating in pull mode update the offset so that we
11530 2006-07-05 Wim Taymans <wim@fluendo.com>
11532 * gst/gstregistryxml.c: (read_string):
11533 Avoid strdup. (will happen in libxml, but hey!)
11536 Add some more docs.
11538 2006-07-05 Wim Taymans <wim@fluendo.com>
11540 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11541 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11542 (gst_buffer_suite):
11543 No point in checking if the size of the subbuffer > 0, the
11544 code handles it correclty as demonstrated by unit test.
11545 Also add a unit test for the zero sized _new_and_alloc and
11546 _copy. Fixes #346663.
11548 2006-07-05 Wim Taymans <wim@fluendo.com>
11550 * libs/gst/base/gstbasetransform.c:
11551 (gst_base_transform_prepare_output_buffer),
11552 (gst_base_transform_buffer_alloc),
11553 (gst_base_transform_handle_buffer):
11554 Make sure the buffer we pass to transform_ip has a refcount of
11555 1 and thus is writable. Fixes #343196
11557 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11559 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11560 (gst_file_src_init), (gst_file_src_set_property),
11561 (gst_file_src_get_property), (gst_file_src_map_region):
11562 * plugins/elements/gstfilesrc.h:
11563 Add "sequential" property, off by default, to use madvise and hint
11564 to the kernel that sequential access is desired.
11565 Touch all retrieved pages by default to ensure they are pulled
11566 into memory. (Closes #345720)
11568 2006-07-03 Wim Taymans <wim@fluendo.com>
11570 * docs/design/part-block.txt:
11571 * docs/design/part-dynamic.txt:
11572 Small docs updates.
11574 2006-07-03 Wim Taymans <wim@fluendo.com>
11576 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11577 (gst_caps_unref), (gst_static_caps_get),
11578 (gst_caps_append_structure):
11579 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11580 Use GSlice when the glib we build against is >= 2.10
11582 2006-07-03 Wim Taymans <wim@fluendo.com>
11584 * gst/gstelement.c: (gst_element_pads_activate):
11585 Small cleanup in pad activation code.
11587 2006-07-03 Wim Taymans <wim@fluendo.com>
11589 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11591 * gst/gst-i18n-app.h:
11592 * gst/gst-i18n-lib.h:
11593 * tools/gst-inspect.c: (print_signal_info):
11594 The attached patch will make the inclusion of gettext.h unconditional in
11595 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11596 libintl.h in tools/gst-inspect.c.
11597 This allows use of --disable-nls again and fixes #344642.
11599 2006-07-03 Edward Hervey <edward@fluendo.com>
11601 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11602 Implement pad blocking on events according to part-block.txt.
11603 More comments on behaviour.
11604 * tests/check/gst/gstevent.c: (test_event):
11605 Send event to peer pad of blocked pad (else it will block).
11607 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11609 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11610 (gst_check_run_suite):
11611 if we get the wrong message, give us the types as string
11612 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11614 * tests/check/elements/filesrc.c: (GST_START_TEST):
11615 add a test for trying to open a non-existing file
11617 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11619 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11620 add a test for adding self
11622 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11624 * libs/gst/check/gstcheck.h:
11625 add some assert_ as alias for fail_unless_*
11626 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11627 increase test coverage
11629 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11632 include lcov.mak for lcov coverage generation
11633 * tools/Makefile.am:
11636 2006-07-02 Edward Hervey <edward@fluendo.com>
11638 * tests/check/elements/.cvsignore:
11641 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11644 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11645 * tests/check/Makefile.am:
11646 clean up gcov files
11648 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11650 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11651 remove gst_caps_simplify; it was not declared and not used
11652 and deprecated in 0.8
11654 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11656 * docs/faq/gst-uninstalled:
11657 don't put empty paths on PYTHONPATH
11658 * docs/gst/gstreamer-sections.txt:
11659 remove some symbols that are not there
11661 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11663 * gst/gstcaps.c: (gst_caps_compare_structures):
11665 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11666 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11669 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11671 * libs/gst/dataprotocol/Makefile.am:
11672 build dataprotocol test by linking to the lib, instead of
11673 compiling the source, so we get coverage
11674 * tests/check/Makefile.am:
11675 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11676 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11677 add a test for filesrc
11679 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11681 * tests/check/gst/gststructure.c: (GST_START_TEST),
11682 (gst_structure_suite):
11683 Push coverage from 59.04% to 70.00%
11685 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11687 * tests/check/Makefile.am:
11688 gst-inspect every element; this makes sure that we also get
11689 coverage on element's get/set functions
11691 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11694 set CFLAGS and friends to -O0 if gcov is being used
11697 * libs/gst/base/Makefile.am:
11698 * libs/gst/check/Makefile.am:
11699 * libs/gst/controller/Makefile.am:
11700 * libs/gst/dataprotocol/Makefile.am:
11701 * libs/gst/net/Makefile.am:
11702 * plugins/elements/Makefile.am:
11703 * plugins/indexers/Makefile.am:
11704 add makefile rules to generate gcov data and clean up
11705 * tests/check/Makefile.am:
11706 add a coverage target that generates an html overview
11709 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11711 * tests/check/elements/fakesink.c:
11712 * tests/check/elements/fakesrc.c:
11713 * tests/check/elements/fdsrc.c:
11714 * tests/check/elements/identity.c:
11715 * tests/check/generic/sinks.c: (gst_sinks_suite):
11716 * tests/check/generic/states.c:
11717 * tests/check/gst/gst.c:
11718 * tests/check/gst/gstabi.c:
11719 * tests/check/gst/gstbin.c:
11720 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11721 * tests/check/gst/gstbus.c: (gst_bus_suite):
11722 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11723 * tests/check/gst/gstelement.c:
11724 * tests/check/gst/gstevent.c: (gst_event_suite):
11725 * tests/check/gst/gstghostpad.c:
11726 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11727 * tests/check/gst/gstmessage.c: (gst_message_suite):
11728 * tests/check/gst/gstminiobject.c:
11729 * tests/check/gst/gstobject.c:
11730 * tests/check/gst/gstpad.c:
11731 * tests/check/gst/gstpipeline.c:
11732 * tests/check/gst/gstplugin.c:
11733 * tests/check/gst/gstquery.c: (gst_query_suite):
11734 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11735 * tests/check/gst/gststructure.c:
11736 * tests/check/gst/gstsystemclock.c:
11737 * tests/check/gst/gsttag.c:
11738 * tests/check/gst/gsttask.c: (gst_task_suite):
11739 * tests/check/gst/gstutils.c:
11740 * tests/check/gst/gstvalue.c:
11741 * tests/check/libs/adapter.c:
11742 * tests/check/libs/basesrc.c:
11743 * tests/check/libs/collectpads.c:
11744 * tests/check/libs/controller.c:
11745 * tests/check/libs/gdp.c: (gst_dp_suite):
11746 * tests/check/libs/gstnetclientclock.c:
11747 * tests/check/libs/gstnettimeprovider.c:
11748 * tests/check/libs/libsabi.c: (libsabi_suite):
11749 * tests/check/libs/typefindhelper.c:
11750 * tests/check/pipelines/cleanup.c:
11751 * tests/check/pipelines/parse-launch.c:
11752 * tests/check/pipelines/simple-launch-lines.c:
11753 * tests/check/pipelines/stress.c: (stress_suite):
11756 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11758 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11759 * libs/gst/check/gstcheck.h:
11760 create a macro and function so that the simple unit test
11761 case can be just one macro to create main()
11763 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11765 * gst/gstbin.c: (gst_bin_restore_thyself):
11766 * gst/gstxml.c: (gst_xml_make_element):
11767 Fix deserialisation from XML. Set parent manually
11768 instead of using gst_bin_add(), since gst_bin_add()
11769 will unlink all pads of the element being added.
11772 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11774 Patch by: Peter Kjellerstedt <pkj at axis com>
11776 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11777 Fix missing g_strdup() and double free when using the
11778 --gst-plugin-load command line option (#346097).
11780 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11783 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11785 * libs/gst/net/gstnetclientclock.c:
11786 * libs/gst/net/gstnettimeprovider.c:
11787 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11789 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11791 * docs/manual/advanced-dataaccess.xml:
11792 Fix buffer probe example compilation in
11795 2006-06-22 Edward Hervey <edward@fluendo.com>
11797 * gst/gstelement.c: (gst_element_pads_activate):
11798 We need to deactivate src pads first and then sink pads.
11799 The reason is the src pads might be blocking while holding the streaming
11800 lock, so we need to deactivate them first so that deactivating the sink
11801 pads doesn't block (since it will require the streaming lock).
11803 2006-06-22 Wim Taymans <wim@fluendo.com>
11805 * libs/gst/base/gstbasetransform.c:
11806 (gst_base_transform_buffer_alloc):
11807 Forgot to remove two unneeded unrefs.
11808 Simplify a check _is_equal allready checks the obvious case.
11810 2006-06-22 Wim Taymans <wim@fluendo.com>
11812 * docs/design/part-block.txt:
11813 Some docs about what pad_block should do.
11815 2006-06-22 Wim Taymans <wim@fluendo.com>
11817 * gst/gstcaps.c: (gst_caps_replace):
11818 Fix crasher when passed NULL. Doc clarification.
11819 Optimize for the trivial case.
11821 * gst/gstpipeline.c: (gst_pipeline_change_state):
11824 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11825 Small documentation cleanup.
11827 * libs/gst/base/gstbasetransform.c:
11828 (gst_base_transform_buffer_alloc):
11829 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11830 is what we need and it avoids a whole lot of redundant
11831 refcount operations.
11833 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11835 Patch by: Philip Jägenstedt <philip at lysator liu se>
11837 * docs/manual/advanced-dataaccess.xml:
11838 Fix 'Embedding static elements' section to use
11839 GST_PLUGIN_DEFINE_STATIC (#345607).
11841 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11843 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11844 Attempt to 'fix' spuriously failing test case: it seems like the
11845 timeout of half a second is simply too small when the system is under
11846 load otherwise, and the timeout doesn't really seem to serve any
11847 particular purpose here. Give the pipeline a few seconds to preroll
11848 first, and then give it another half a second to go from PAUSED to
11849 PLAYING and marshal the message into the main thread.
11851 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11853 * tools/gst-feedback-m.m:
11854 Don't only use unversioned tools, try versioned tools as well
11857 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11859 * gst/gstbus.c: (gst_bus_class_init):
11860 Fix some typos, make docs more explicit.
11862 2006-06-20 Wim Taymans <wim@fluendo.com>
11864 * tests/check/gst/gstghostpad.c: (block_callback),
11865 (GST_START_TEST), (gst_ghost_pad_suite):
11866 Added some more ghostpad tests, mainly blocking
11869 2006-06-16 Wim Taymans <wim@fluendo.com>
11871 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11872 (gst_file_sink_close_file), (gst_file_sink_do_seek),
11873 (gst_file_sink_event), (gst_file_sink_render):
11874 * plugins/elements/gstfilesink.h:
11875 Check if we can seek in the file instead of assuming
11876 we always can. Post an error when we are asked to seek in a
11877 non-seekable file (like a fifo). Fixes #343312.
11880 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11882 * tools/gst-launch.1.in:
11883 Un-garble (fourcc) bit in filtered caps section.
11885 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11887 * docs/manual/advanced-autoplugging.xml:
11888 * docs/manual/basics-helloworld.xml:
11889 * docs/manual/highlevel-components.xml:
11890 Don't leak bus reference in sample code.
11892 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
11895 Add default for new --enable-plugin-docs switch.
11898 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11901 * docs/Makefile.am:
11902 Use new ENABLE_PLUGIN_DOCS conditional.
11904 2006-06-14 Wim Taymans <wim@fluendo.com>
11906 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11907 Make it clear with a FIXME and a real define what the #if 0
11908 previously disabled.
11910 2006-06-14 Wim Taymans <wim@fluendo.com>
11912 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11913 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11914 * libs/gst/base/gstbasetransform.c:
11915 (gst_base_transform_sink_eventfunc):
11916 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11917 Don't randomly and silently reset a segment when the format
11918 changes as this is a bug somewhere upstream. Fixes #330379.
11920 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
11922 Patch by: Wouter Paesen <wouter at kangaroot net>
11924 * libs/gst/controller/gstcontroller.c:
11925 (gst_controlled_property_new):
11926 Fix controlling of float properties (#344849).
11928 * tests/check/libs/controller.c:
11929 (gst_test_mono_source_get_property),
11930 (gst_test_mono_source_set_property),
11931 (gst_test_mono_source_class_init), (GST_START_TEST):
11932 While we're at it, add some float stuff to unit test.
11934 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
11937 * docs/images/gdp-header.svg:
11939 * docs/libs/Makefile.am:
11940 * docs/libs/gdp-header.png:
11941 * libs/gst/dataprotocol/dataprotocol.c:
11942 add it to the API docs
11943 * docs/manual/intro-motivation.xml:
11946 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
11948 * gst/gst.c: (scan_and_update_registry), (init_post):
11949 If the fork()'ed child process can't write the updated registry cache
11950 file to disk for some reason, make it exit with a failure exit code,
11951 so that the parent can then re-scan the plugins itself and update the
11952 registry structures in memory and work with that (rather than failing
11953 when creating elements because seemingly no plugins are available).
11954 Refactor registry scanning code into separate function for this and
11955 also separate fork() and non-fork() code paths. Fixes #344748.
11957 2006-06-13 Wim Taymans <wim@fluendo.com>
11959 * docs/manual/advanced-dataaccess.xml:
11960 Fix wrong PluginDesc. Fixes #344755.
11962 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
11964 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11965 Fix silly bug that prevented us from creating
11966 ~/.gstreamer-0.10 and writing the registry in one
11967 go (the first call to g_mkstemp() would overwrite the
11968 placeholder in the template string, so the second call
11969 to g_mkstemp() after creating the missing directory
11970 would then error out with 'invalid argument').
11972 2006-06-13 Edward Hervey <edward@fluendo.com>
11974 * gst/gst.c: (init_post):
11977 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
11979 * gst/glib-compat-private.h:
11980 * gst/glib-compat.c:
11981 * gst/glib-compat.h:
11982 * gst/gstvalue.c: (gst_value_serialize_flags):
11983 remove GLib 2.6 compatibility code
11985 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
11987 * gst/parse/Makefile.am:
11988 Fix build with 'make -j N' even more (#340016).
11990 2006-06-12 Wim Taymans <wim@fluendo.com>
11992 * docs/gst/gstreamer-sections.txt:
11995 2006-06-12 Wim Taymans <wim@fluendo.com>
11997 * gst/gstsegment.c: (gst_segment_set_duration),
11998 (gst_segment_set_last_stop), (gst_segment_set_seek),
11999 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12000 (gst_segment_to_running_time), (gst_segment_clip):
12001 Use G_UNLIKELY to help the compiler a bit.
12003 2006-06-12 Wim Taymans <wim@fluendo.com>
12005 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12007 * gst/gstevent.c: (gst_event_get_type):
12008 * gst/gstmessage.c:
12009 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12011 constify quark registration strings. Fixes #344115
12012 Avoid unneeded type checking is _pad_push() by internally
12013 calling gst_pad_chain_unchecked().
12015 2006-06-12 Wim Taymans <wim@fluendo.com>
12017 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12018 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12019 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12020 (gst_buffer_is_span_fast), (gst_buffer_span):
12021 Init _type for consistency.
12022 Use _FLAGS macro to avoid type check.
12023 Avoid unneeded type checks in subbufer code.
12025 2006-06-12 Wim Taymans <wim@fluendo.com>
12027 * gst/gst.c: (gst_debug_help):
12028 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12029 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12030 (gst_plugin_feature_list_free):
12031 * gst/gstregistry.c: (gst_registry_add_plugin),
12032 (gst_registry_add_feature), (gst_registry_plugin_filter),
12033 (gst_registry_feature_filter), (gst_registry_find_plugin),
12034 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12035 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12036 * gst/gstregistryxml.c: (load_feature),
12037 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12038 * gst/gstminiobject.c: (gst_mini_object_unref),
12039 (gst_mini_object_replace), (gst_value_mini_object_free),
12040 (gst_value_mini_object_copy):
12041 Use _CAST macros to avoid unneeded type checking.
12042 Added some more G_UNLIKELY.
12044 2006-06-12 Wim Taymans <wim@fluendo.com>
12047 Avoid unneeded type checking.
12048 API: GST_BUFFER_IS_DISCONT
12050 * gst/gstminiobject.h:
12051 Avoid type check in flag accessor.
12053 * gst/gstelementfactory.h:
12055 * gst/gstpluginfeature.h:
12057 API: GST_ELEMENT_FACTORY_CAST
12058 API: GST_PLUGIN_CAST
12059 API: GST_PLUGIN_FEATURE_CAST
12061 2006-06-12 Wim Taymans <wim@fluendo.com>
12063 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12064 (gst_object_unref):
12065 Add G_UNLIKELY in type registration.
12066 Avoid type check in _ref/_unref since that is also
12069 2006-06-12 Wim Taymans <wim@fluendo.com>
12071 * gst/gsterror.c: (gst_g_error_get_type):
12072 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12073 (gst_static_pad_template_get_type):
12074 * gst/gsttaglist.c: (gst_tag_list_get_type):
12075 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12076 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12077 * gst/gsturi.c: (gst_uri_handler_get_type):
12078 * gst/gstvalue.c: (gst_date_get_type):
12079 * gst/gstxml.c: (gst_xml_get_type):
12080 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12081 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12082 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12083 Add G_UNLIKELY in type registration.
12085 2006-06-12 Wim Taymans <wim@fluendo.com>
12087 * tools/gst-inspect.c: (print_signal_info):
12088 Properly print enum values.
12090 2006-06-12 Wim Taymans <wim@fluendo.com>
12092 * gst/gstinfo.c: (gst_debug_set_active),
12093 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12095 Add some G_[UN]LIKELY.
12096 Maintain __gst_debug_min to avoid formatting the arguments of
12097 debug messages that will be dropped anyway to avoid a lot of
12098 overhead from the debugging system.
12100 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12103 * po/POTFILES.skip:
12104 add missing files containing translatable strings, tell intltool about
12107 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12109 * tests/check/libs/.cvsignore:
12110 add test-binary to ignore list
12112 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12114 * docs/libs/gstreamer-libs-docs.sgml:
12115 reorder (put dp into a chapter) and indent
12117 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12122 === release 0.10.8 ===
12124 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12127 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12129 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12131 * gst/gst.c: (init_post):
12132 move pid declaration to declaration block
12134 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12136 * gst/gst.c: (init_post):
12137 use _exit() instead of exit() in our forked child; this ensures
12138 that none of the registered exit handlers from whatever is using
12139 GStreamer get executed. This fixes gnome-mixer-applet failing
12140 to load, because ORBit would shut down.
12141 Spotted by: Edward Hervey <edward@fluendo.com>
12142 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12145 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12150 === release 0.10.7 ===
12152 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12155 releasing 0.10.7, "Soepeke, ik zie ou"
12157 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12180 * win32/common/config.h:
12181 0.10.6.2 prerelease
12183 2006-06-07 Wim Taymans <wim@fluendo.com>
12185 * gst/gstindex.c: (gst_index_gtype_resolver):
12186 * tools/gst-xmlinspect.c: (print_plugin_info):
12187 Fix leak spotted by coverity checker. Fixes #343827
12188 Fix another other leak found by paolo borelli.
12190 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12192 * libs/gst/dataprotocol/dataprotocol.c:
12193 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12194 (gst_dp_version_get_type), (gst_dp_init),
12195 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12196 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12197 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12198 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12199 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12200 (gst_dp_packetizer_free):
12201 * libs/gst/dataprotocol/dataprotocol.h:
12202 API: add a GstDPPacketizer object, and create/free functions
12203 API: add GstDPVersion enum
12204 Add 1.0 event function that uses the string serialization
12205 Serialize more useful buffer flags
12208 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12210 * tests/check/Makefile.am:
12211 * tests/check/gst/gstabi.c:
12212 * tests/check/gst/struct_ppc64.h:
12213 * tests/check/libs/libsabi.c:
12214 * tests/check/libs/struct_ppc64.h:
12215 add ppc64 structure sizes
12217 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12219 * tests/check/Makefile.am:
12220 * tests/check/gst/gstabi.c:
12221 * tests/check/gst/struct_x86_64.h:
12222 * tests/check/libs/libsabi.c:
12223 * tests/check/libs/struct_x86_64.h:
12224 generate and add structure size lists for x86_64
12226 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12228 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12229 * libs/gst/check/gstcheck.h:
12230 factor out the method from tests that checks size of structures,
12231 and add code to generate the header containing these sizes
12232 * tests/check/gst/gstabi.c: (GST_START_TEST):
12233 * tests/check/gst/struct_i386.h:
12234 * tests/check/libs/libsabi.c: (GST_START_TEST):
12235 * tests/check/libs/struct_i386.h:
12238 2006-06-06 Michael Smith <msmith@fluendo.com>
12240 * gst/gstsegment.h:
12241 Don't use c++-style comments, fixes #343929
12243 2006-06-05 Edward Hervey <edward@fluendo.com>
12246 plugin_paths is not used if we build without registry support.
12248 * gst/gstsegment.c: (gst_segment_copy):
12249 _copy() was always returning NULL...
12251 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12253 * libs/gst/dataprotocol/dataprotocol.c:
12254 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12255 (gst_dp_packet_from_event):
12256 factor out CRC code
12258 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12260 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12261 make sure we unset caps
12263 2006-06-02 Michael Smith <msmith@fluendo.com>
12265 * libs/gst/check/gstcheck.c: (gst_check_init),
12266 (gst_check_chain_func):
12267 * libs/gst/check/gstcheck.h:
12268 Add a cond/mutex to the check support lib, signal this whenever we
12269 add to the buffers list. This will allow tests to not busy-wait on
12272 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12274 * libs/gst/dataprotocol/dataprotocol.c:
12275 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12276 (gst_dp_packet_from_event):
12277 factor out some common header init code
12279 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12281 * docs/libs/gstreamer-libs-sections.txt:
12282 * docs/libs/tmpl/gstdataprotocol.sgml:
12283 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12284 * libs/gst/dataprotocol/dataprotocol.h:
12285 API: make gst_dp_crc() public
12287 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12289 * plugins/indexers/gstindexers.c: (plugin_init):
12290 conditionally register fileindexer (fixes #343598)
12292 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12294 * gst/gsttagsetter.h:
12295 Can't cast ifaces to a class
12297 * libs/gst/net/gstnetclientclock.h:
12298 * libs/gst/net/gstnettimeprovider.h:
12299 * plugins/elements/gstfakesink.h:
12300 * plugins/elements/gstfakesrc.h:
12301 * plugins/elements/gstfdsink.h:
12302 * plugins/elements/gstfdsrc.h:
12303 * plugins/elements/gstfilesink.h:
12304 * plugins/elements/gstfilesrc.h:
12305 * plugins/elements/gstidentity.h:
12306 * plugins/elements/gstqueue.h:
12307 * plugins/elements/gsttee.h:
12308 * plugins/indexers/gstfileindex.c:
12309 * plugins/indexers/gstmemindex.c:
12310 * tests/old/examples/plugins/example.h:
12311 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12313 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12315 * libs/gst/dataprotocol/dataprotocol.c:
12316 (gst_dp_header_from_buffer):
12317 make sure we zero the whole ABI-compatible area
12319 2006-06-01 Wim Taymans <wim@fluendo.com>
12321 Patch by: Alessandro Decina <alessandro at nnva dot org>
12323 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12324 Make sure the EOS flag is cleared from pads after a flush
12325 or stop. Fixes #343538.
12327 * tests/check/libs/collectpads.c: (GST_START_TEST),
12328 (gst_collect_pads_suite):
12329 Added test for collectpads reusage after EOS.
12331 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12334 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12335 * win32/common/libgstbase.def:
12336 export gst_collect_pads_set_flushing
12337 * win32/common/libgstreamer.def:
12338 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12339 gst_value_fraction_multiply
12340 * win32/vs6/gst_inspect.dsp:
12341 add a link to intl.lib
12343 2006-05-30 Wim Taymans <wim@fluendo.com>
12345 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12346 (gst_collect_pads_chain):
12347 Handle the case where a pad is removed from the collection
12348 that could cause the other pads to become collectable.
12350 2006-05-30 Wim Taymans <wim@fluendo.com>
12352 * gst/gstelement.c:
12353 Clarify the use of _release_request_pad() and
12354 _get_request_pad() a bit better.
12356 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12357 (gst_adapter_take_buffer):
12358 Fix some doc and comment typos.
12360 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12362 * docs/gst/gstreamer-sections.txt:
12363 * docs/libs/gstreamer-libs-sections.txt:
12364 add declared symbols
12366 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12368 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12369 Add debug that can be enabled using a #define at the top of the file,
12370 for dumping stats about how late/early we were when waking up from
12371 waiting on the clock.
12373 2006-05-30 Wim Taymans <wim@fluendo.com>
12375 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12376 When rebuilding the pad list, don't leak the previous list.
12378 2006-05-30 Wim Taymans <wim@fluendo.com>
12380 Patch by: Lutz Mueller <lutz at topfrose dot de>
12382 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12383 (gst_base_src_get_query_types), (gst_base_src_update_length):
12384 Publish supported query types.
12385 Update last_stop field in get_range mode so the position
12386 query works. Fixes #342321.
12388 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12390 * docs/gst/gstreamer-sections.txt:
12391 * gst/gsttaglist.c: (_gst_tag_initialize):
12392 * gst/gsttaglist.h:
12393 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12395 2006-05-30 Wim Taymans <wim@fluendo.com>
12397 Patch by: Alessandro Decina <alessandro at nnva dot org>
12399 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12400 Unlock mutex when removing an unknown pad.
12403 * tests/check/Makefile.am:
12404 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12405 (push_event), (setup), (teardown), (GST_START_TEST),
12406 (gst_collect_pads_suite), (main):
12407 Added collecpads check, disabled for now as check crashes for
12410 2006-05-29 Wim Taymans <wim@fluendo.com>
12412 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12413 Don't leak pads lists.
12415 2006-05-29 Wim Taymans <wim@fluendo.com>
12417 * docs/libs/gstreamer-libs-sections.txt:
12418 * libs/gst/base/gstcollectpads.c:
12419 (gst_collect_pads_set_flushing_unlocked),
12420 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12421 (gst_collect_pads_stop):
12422 * libs/gst/base/gstcollectpads.h:
12423 API: gst_collect_pads_set_flushing()
12424 Added api to set the pads to flushing, useful for seeking
12425 code in elements using collectpads.
12426 Clear segment when receiving a flush.
12428 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12430 * gst/gst.c: (add_path_func), (init_post):
12431 Don't scan registry paths passed via --gst-plugin-path immediately
12432 (will crash, because absolutely nothing is set up and no types are
12433 registered etc.); do this later in init_post(). Fixes #343057.
12435 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12437 * gst/gst.c: (init_post):
12438 if we have fork, fork while reading/rebuilding the registry
12439 so the parent doesn't take the hit of having all plugins loaded
12440 in memory. Fixes #342777.
12442 Check if we have fork()
12443 * win32/common/config.h.in:
12446 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12448 * plugins/elements/gstelements.c:
12449 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12450 (gst_file_src_init), (gst_file_src_set_property),
12451 (gst_file_src_get_property), (gst_file_src_start):
12452 * plugins/elements/gstfilesrc.h:
12453 API: GstFileSrc::use-mmap
12455 Add a use-mmap property to enable easier testing of all code paths.
12456 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12457 in the absence of gnomevfssrc. (Closes #340501)
12459 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12461 * tools/gst-inspect.c:
12462 Add missing include, removes warning of ngettext not being defined on
12465 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12467 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12468 Handle NULL input and output pointers silently as a failed conversion,
12469 rather than g_warnings.
12471 2006-05-25 Wim Taymans <wim@fluendo.com>
12473 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12474 Initialize variable before using. Fixes #342820.
12476 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12478 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12479 Fix off-by-one bug that would only allow peeks of N-1 bytes
12480 from the start even if the buffer to typefind on contains
12481 in fact N bytes of data (makes vorbis typefinding from a
12482 vorbis identification header buffer work).
12484 * tests/check/Makefile.am:
12485 * tests/check/libs/.cvsignore:
12486 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12487 (gst_typefindhelper_suite), (main), (foobar_typefind),
12489 Add very basic unit test for gst_type_find_helper_for_buffer()
12490 that checks for the problem fixed above.
12492 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12494 * tools/gst-inspect.c: (print_interfaces),
12495 (print_element_properties_info), (print_element_list), (main):
12496 add more translatable strings
12498 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12500 Patch by: Julien Moutte <julien at moutte net>
12502 * docs/gst/gstreamer-sections.txt:
12503 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12505 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12506 (gst_fake_sink_preroll):
12507 * plugins/elements/gstfakesink.h:
12508 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12510 2006-05-23 Wim Taymans <wim@fluendo.com>
12512 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12514 Added _CUSTOM error and success GstFlowReturn that can be
12515 used be elements internally.
12516 Added macro to check for SUCCESS flowreturns.
12517 API: GST_FLOW_CUSTOM_SUCCESS
12518 API: GST_FLOW_CUSTOM_ERROR
12519 API: GST_FLOW_IS_SUCCESS
12521 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12522 Added check for GstFlowReturn sanity.
12524 2006-05-23 Wim Taymans <wim@fluendo.com>
12526 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12528 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12529 (gst_collect_pads_event):
12530 clear/reset segment info in FLUSH_STOP.
12533 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12535 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12536 (gst_collect_pads_check_collected):
12537 Flush queued buffer on _stop(), fixes playing again (#342454)
12539 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12541 * tests/check/gst/gststructure.c: (GST_START_TEST),
12542 (gst_structure_suite):
12543 add a test for a complete structure
12545 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12547 * docs/faq/developing.xml:
12548 * docs/faq/faq.xml:
12549 * docs/faq/troubleshooting.xml:
12550 * docs/faq/using.xml:
12551 Some minor FAQ updates that won't change the fact that
12552 our FAQ is badly structured, full of information hardly
12553 anyone new to GStreamer needs to know and lacking lots
12554 of information people constantly ask for.
12556 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12558 * gst/gstpad.c: (gst_pad_set_caps):
12559 Short-circuit gst_pad_set_caps if setting the existing
12560 caps pointer again, and avoid printing debug and
12561 reffing/unreffing the caps.
12563 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12564 There's actually no need to set the caps before pushing -
12565 the acceptcaps method will handle it anyway.
12567 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12569 * docs/gst/gstreamer-sections.txt:
12570 * win32/common/libgstreamer.def:
12571 * gst/gstutils.c: (gst_element_seek_simple):
12573 API: add gst_element_seek_simple() (#342238).
12575 2006-05-18 Edward Hervey <edward@fluendo.com>
12577 * gst/gsttypefind.c: (gst_type_find_get_type):
12578 * gst/gsttypefind.h:
12579 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12580 registered for GstTypeFind pointers. This allows wrapping the structure
12581 in bindings (i.e. gst-python).
12583 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12585 * gst/gsttagsetter.c:
12586 Docs additions and fixes (see #339918).
12588 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12590 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12591 The caps intersection algorithm can produce multiple copies of the
12592 caps. Until that is fixed, we need to simplify the result to be
12593 sure whether the allowed caps are fixed or not.
12595 * plugins/elements/gstqueue.c: (gst_queue_init),
12596 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12597 (gst_queue_push_one):
12598 Proxied buffer alloc should not set the caps on the source pad.
12599 When pushing buffers, we always accept the caps change that triggers.
12600 This prevents negotiation errors caused by caps changing mid-stream
12601 and then being refused on our source pad (because upstream is now
12602 refusing those caps).
12604 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12606 * tests/examples/helloworld/helloworld.c: (main):
12607 Must plug audioconvert and audioresample between decoder
12610 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12612 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12613 (load_feature), (load_plugin):
12614 Allow empty strings for some of the plugin fields so we don't
12615 drop valid plugin entries that were written out correctly
12618 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12620 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12621 Use g_remove and g_rename instead of remove and rename that don't
12622 handle utf8 characters. rename was failing for users who had specific
12623 characters in their name then the registry was built at each
12625 * win32/vs6/gst_inspect.dsp:
12626 * win32/vs6/gst_launch.dsp:
12627 * win32/vs6/libgstbase.dsp:
12628 * win32/vs6/libgstcoreelements.dsp:
12629 * win32/vs6/libgstreamer.dsp:
12630 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12631 build of libgstreamer and clean unused libraries in projects link
12634 2006-05-17 Edward Hervey <edward@fluendo.com>
12636 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12637 The queue is not responsible for pushing an EOS when receiving a fatal
12638 flow error. It's up to the real element driving the pipeline to do that.
12640 2006-05-16 Edward Hervey <edward@fluendo.com>
12642 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12643 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12644 buffer returned a fatal error. It should just send an EOS and stop
12646 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12647 when pushing buffers on the queue and will be able to handle the event.
12649 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12651 * docs/manual/basics-bins.xml:
12652 * docs/manual/basics-init.xml:
12653 Fix typos and minor errors in sample code (#341856).
12655 2006-05-16 Wim Taymans <wim@fluendo.com>
12657 * docs/design/part-qos.txt:
12658 Fix indexes in formulas to make more sense.
12660 2006-05-15 Wim Taymans <wim@fluendo.com>
12662 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12663 Don't report POSITION based on clock time if sync is
12664 disabled in a sink.
12666 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12669 Add cast to make compiler happy - refcount variable was a gint
12670 in GstObject but is a guint in GObject and g_atomic_int_get()
12673 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12675 * gst/parse/Makefile.am:
12676 chain commands using &&, which also makes parallel make work
12678 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12680 * docs/gst/gstreamer-sections.txt:
12683 * gst/gstmessage.h:
12686 === release 0.10.6 ===
12688 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12691 releasing 0.10.6, "Take the cannoli"
12693 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12695 * tools/gst-launch.c: (print_tag):
12696 Fix use of uninitialized variable in the hypothetical
12697 case that some broken plugin creates a GST_TAG_IMAGE
12698 tag containing a NULL buffer (#341667).
12700 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12702 * tools/gst-launch.c: (print_tag):
12703 Print something more intelligible for image tags when
12704 using the -t switch (#341556).
12706 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12711 define GST_MAJORMINOR so we have it available in win32/common/config.h
12712 Possibly remove it from our Makefile.am files later
12713 * win32/common/config.h:
12714 * win32/common/config.h.in:
12715 added GST_MAJORMINOR
12716 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12717 * win32/common/gstversion.h:
12720 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12723 Update win32 files listing.
12724 * win32/common/gstversion.h:
12725 Add GST_MAJORMINOR definition.
12726 * win32/common/libgstreamer.def:
12727 Add new exported functions.
12729 2006-05-12 Michael Smith <msmith@fluendo.com>
12731 * gst/gstplugin.c: (gst_plugin_load_file):
12732 If an so file has no plugin entry point, unload the module.
12734 2006-05-11 Wim Taymans <wim@fluendo.com>
12736 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12737 (gst_queue_set_property):
12738 Don't forget to signal the _chain or _loop function
12739 when the queue size or thresholds change since that might
12740 cause them to make progres again.
12742 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12744 * gst/gstclock.c: (gst_clock_class_init):
12745 * gst/gstindex.c: (gst_index_class_init):
12746 * gst/gstobject.c: (gst_object_class_init):
12747 * gst/gstpad.c: (gst_pad_class_init):
12748 * gst/gstpipeline.c: (gst_pipeline_class_init):
12749 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12750 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12751 * libs/gst/base/gstbasetransform.c:
12752 (gst_base_transform_class_init):
12753 * libs/gst/net/gstnetclientclock.c:
12754 (gst_net_client_clock_class_init):
12755 * libs/gst/net/gstnettimeprovider.c:
12756 (gst_net_time_provider_class_init):
12757 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12758 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12759 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12760 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12761 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12762 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12763 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12764 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12765 * plugins/elements/gsttee.c: (gst_tee_class_init):
12766 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12767 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12768 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12770 2006-05-11 Wim Taymans <wim@fluendo.com>
12772 * gst/gstbuffer.c: (_gst_buffer_initialize):
12773 Register subbufer along with the buffer type so that
12774 it does not accidentally gets registered from N
12775 different streaming threads in a non threadsafe way.
12777 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12781 * gst/gstmessage.h:
12782 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12783 gst_event_ref() and gst_message_ref() functions again
12784 (ugly hack, please do fix if there's a better way besides
12785 overrides.txt, which doesn't seem to work).
12787 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12789 * libs/gst/check/gstcheck.h:
12790 add an assert for setting state to avoid lots of repetitive code
12793 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12795 * gst/gstvalue.c: (gst_value_serialize_flags):
12796 fix a leak if no flags are set
12797 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12800 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12802 * docs/manual/basics-pads.xml:
12803 Expand a bit on caps and filtered links and update
12804 examples that were still using the no longer existing
12805 gst_pad_link_filtered() (#338206).
12807 2006-05-10 Wim Taymans <wim@fluendo.com>
12809 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12810 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12811 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12812 (gst_collect_pads_stop):
12813 * libs/gst/base/gstcollectpads.h:
12814 No need to call _stop in _finalize.
12815 Iterate the main pad list in _finalize.
12816 Added some more debug.
12817 Free lists and data in the right order.
12818 Also free data whem doing _remove_pad when stopped for
12819 backward compatibility protect ::started with PAD_LOCK as
12822 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12824 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12825 (gst_structure_parse_value):
12827 rename a method so that it actually says what it does better
12829 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12831 * gst/gstevent.c: (_gst_event_initialize):
12832 * gst/gstformat.c: (_gst_format_initialize):
12833 make sure some essential types used by events are registered
12834 as part of gst_init()
12835 * gst/gstvalue.c: (gst_value_serialize_flags):
12836 if no flags are set, serialize them to a value that represents NONE
12837 so that deserializing them works
12838 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12839 add tests for serialization and deserialization of flags
12841 2006-05-10 Wim Taymans <wim@fluendo.com>
12843 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12844 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12845 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12846 (gst_collect_pads_event), (gst_collect_pads_chain):
12849 Catch and return errors from the collect function
12850 Refuse data on eos pads.
12852 2006-05-10 Edward Hervey <edward@fluendo.com>
12854 * gst/gstinterface.h:
12855 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12856 GInterface type checking.
12857 They were previously using non-defined macros.
12859 2006-05-09 Wim Taymans <wim@fluendo.com>
12861 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12862 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12863 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12864 (gst_collect_pads_start), (gst_collect_pads_stop),
12865 (gst_collect_pads_peek), (gst_collect_pads_pop),
12866 (gst_collect_pads_available), (gst_collect_pads_read),
12867 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12868 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12869 (gst_collect_pads_chain):
12870 * libs/gst/base/gstcollectpads.h:
12871 Clean up the mess that is collectpads, add comments and
12872 FIXMEs where needed.
12873 Maintain a separate pad list so we can add pads while
12874 collecting the other ones. For this we need a new separate
12876 Fix memory leak in finalize.
12877 Refactor some weird code to set/unset pad flushing flags, mark
12879 Don't crash in _available, _read, _flush when we're EOS.
12881 * tests/check/libs/.cvsignore:
12882 Ignore adapter check binary.
12884 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12886 * gst/gstindex.c: (gst_index_resolver_get_type):
12887 * plugins/elements/gstfakesink.c:
12888 (gst_fake_sink_state_error_get_type):
12889 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12890 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12891 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12892 Const-ify GEnumValue arrays.
12894 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12896 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12897 Add test case for flags + gst_buffer_make_metadata_writable().
12899 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12901 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12902 gst_buffer_make_metadata_writable() should maintain the
12903 buffer flags (those that make sense at least) (see #340859).
12905 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12907 * tools/gst-inspect.c:
12908 * tools/gst-launch.c:
12909 * tools/gst-typefind.c:
12910 * tools/gst-xmlinspect.c:
12912 Fix up includes: need to include stdlib.h in tools.h for exit().
12914 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12916 * gst/gsttaglist.c: (_gst_tag_initialize):
12917 * gst/gsttaglist.h:
12918 API: add GST_TAG_IMAGE tag (#340721).
12920 2006-05-08 Wim Taymans <wim@fluendo.com>
12923 Added some docs for the segment query.
12925 2006-05-08 Wim Taymans <wim@fluendo.com>
12927 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12928 (gst_base_src_loop), (gst_base_src_change_state):
12929 Always push non-flushing serialized events in the streaming
12932 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
12934 * gst/gsterror.c: (_gst_stream_errors_init):
12935 Add a missing error string.
12937 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
12939 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12940 Add applied_rate to the debug
12942 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12943 Copy applied_rate into the outgoing NEWSEGMENT event
12945 2006-05-08 Wim Taymans <wim@fluendo.com>
12947 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12949 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12950 (gst_base_sink_change_state):
12951 call ::unlock before taking the PREROLL_LOCK so we can safely
12952 handle elements that lock in ::render.
12955 2006-05-08 Edward Hervey <edward@fluendo.com>
12957 * autogen.sh: (CONFIGURE_DEF_OPT):
12958 Darwin's libtoolize is in fact called glibtoolize.
12959 Adding glibtoolize to the list of accepted names for libtoolize.
12961 2006-05-08 Wim Taymans <wim@fluendo.com>
12963 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12964 Unify error handling, don't post an error message
12965 when a push() returns EOS but perform our normal EOS
12966 handling code. Fixes #340772.
12968 2006-05-08 Wim Taymans <wim@fluendo.com>
12970 * docs/design/part-overview.txt:
12971 Make upsteam/downstream concepts more clear.
12972 Give an example of serialized/non-serialized events.
12974 * docs/design/part-events.txt:
12975 * docs/design/part-streams.txt:
12976 Mention applied_rate.
12978 * docs/design/part-trickmodes.txt:
12979 Mention applied rate, flesh out some more use cases.
12981 * gst/gstevent.c: (gst_event_new_new_segment),
12982 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12983 (gst_event_parse_new_segment_full), (gst_event_new_tag),
12984 (gst_event_parse_tag), (gst_event_new_buffer_size),
12985 (gst_event_parse_buffer_size), (gst_event_new_qos),
12986 (gst_event_parse_qos), (gst_event_parse_seek),
12987 (gst_event_new_navigation):
12989 Add applied_rate field to NEWSEGMENT event.
12990 API: gst_event_new_new_segment_full()
12991 API: gst_event_parse_new_segment_full()
12993 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
12994 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
12995 (gst_segment_to_stream_time), (gst_segment_to_running_time):
12996 * gst/gstsegment.h:
12997 Add applied_rate to GstSegment structure.
12998 Make calculation of stream_time and running_time more correct
12999 wrt rate/applied_rate.
13000 Add some more docs.
13001 API: GstSegment::applied_rate field
13002 API: gst_segment_set_newsegment_full();
13004 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13005 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13006 * libs/gst/base/gstbasetransform.c:
13007 (gst_base_transform_sink_eventfunc),
13008 (gst_base_transform_handle_buffer):
13009 Parse and use applied_rate in the GstSegment field.
13011 * tests/check/gst/gstevent.c: (GST_START_TEST):
13012 Add check for applied_rate field.
13014 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13015 (gstsegments_suite):
13016 Add more checks for various GstSegment operations.
13018 2006-05-08 Wim Taymans <wim@fluendo.com>
13020 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13021 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13022 (gst_base_sink_get_position), (gst_base_sink_change_state):
13023 Store the sync time of the buffer end position separatly in a
13024 new variable eos_rtime so we can properly sync the EOS event.
13026 Fix the docs for gst_base_sink_set_qos_enabled().
13027 Don't set segment start to invalid value when we receive a
13028 non TIME newsegment.
13029 get closer to handling position reporting for negative rates
13032 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13035 Docs about how to print caps for debug purposes.
13037 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13038 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13040 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13042 * gst/gstelement.c:
13043 use full enum names and preprend a '%' in docs strings to make recent
13044 gtk-doc turn that into a link
13046 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13048 * docs/manual/basics-bins.xml:
13049 * docs/manual/basics-bus.xml:
13050 * docs/manual/basics-pads.xml:
13051 Some typo fixes, some additions, some clarifications.
13053 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13055 * tools/gst-inspect.c: (main):
13056 * tools/gst-launch.c: (main):
13057 * tools/gst-run.c: (main):
13058 * tools/gst-typefind.c: (main):
13059 * tools/gst-xmlinspect.c: (main):
13060 Use the string passed to g_option_context_new() for
13061 what it's intended for - the program name is already
13064 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13066 * tools/Makefile.am:
13067 * tools/gst-inspect.c: (main):
13068 * tools/gst-launch.c: (main):
13069 * tools/gst-xmlinspect.c: (main):
13071 Add back --version command line option (#340460).
13073 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13074 Add --version option and use GOption for argument parsing; refactor a
13075 bit; accept directories as arguments and recurse into them; lastly,
13076 print a decent error message when things go wrong.
13078 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13080 * docs/manual/basics-bins.xml:
13081 Don't mention GstThread (#340611)
13082 * docs/manual/basics-elements.xml:
13083 Update link to GObject tutorial (#340607)
13085 2006-05-05 Wim Taymans <wim@fluendo.com>
13088 * gst/gstminiobject.c:
13089 Add note about refcounting and miniobject/buffer writeability
13090 to docs. Fixes #340604
13092 * gst/gstelementfactory.h:
13093 Added some explanation about @klass.
13095 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13097 * docs/manual/intro-motivation.xml:
13098 * docs/manual/manual.xml:
13099 Avoid CORBA & Bonobo references (#340598)
13101 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13103 * docs/manual/basics-bus.xml:
13104 * docs/manual/basics-pads.xml:
13105 Fix up some inaccuracies and omissions (#340609)
13107 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13109 * gst/gstghostpad.c:
13110 Small typo in docs (#340625)
13112 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13114 * gst/parse/Makefile.am:
13115 Make 'make -j' proof (see #340698).
13117 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13120 Require GLib-2.8 here as well.
13122 2006-05-05 Wim Taymans <wim@fluendo.com>
13124 * gst/glib-compat.c:
13125 * gst/gst.c: (init_pre):
13126 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13127 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13128 (gst_object_dispatch_properties_changed):
13130 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13131 * gst/gststructure.c: (gst_structure_set_valist):
13132 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13133 Remove pre glib2.8 compatibility, fixes #340508
13135 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13137 * gst/gsttaglist.h:
13138 Mention type of tags in doc blurbs.
13140 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13142 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13143 (gst_pad_configure_src), (gst_pad_push):
13144 Restore acceptcaps checking behaviour now that good plugins have
13147 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13149 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13156 * gst/gstmessage.c:
13160 * gst/parse/Makefile.am:
13161 * libs/gst/base/gstadapter.c:
13162 * libs/gst/base/gstbasesrc.c:
13163 * libs/gst/base/gstpushsrc.c:
13164 * libs/gst/base/gsttypefindhelper.c:
13165 * plugins/elements/gstfakesrc.c:
13166 * plugins/elements/gstidentity.c:
13167 Make sure gstprivate.h and/or config.h are
13168 always included first, otherwise some of our
13169 defines (like _FILE_OFFSET_BITS) might be
13170 redefined in the system headers. Fixes build
13171 on opensolaris (#340016).
13173 2006-05-04 Wim Taymans <wim@fluendo.com>
13175 * docs/libs/gstreamer-libs-sections.txt:
13176 API: addition: gst_adapter_take_buffer()
13178 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13179 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13180 (gst_adapter_available_fast):
13181 * libs/gst/base/gstadapter.h:
13182 Prepare for optimizing the hell out of this hugely inefficient
13184 Added gst_adapter_take_buffer() so we can at least start thinking
13185 about subbuffering and merging.
13186 Added some comments.
13188 * tests/check/Makefile.am:
13189 * tests/check/libs/adapter.c: (GST_START_TEST),
13190 (gst_adapter_suite), (main):
13191 Added GstAdapter check.
13193 2006-05-04 Wim Taymans <wim@fluendo.com>
13195 * docs/design/part-overview.txt:
13196 Fix some typos, add blurb about buffer flags.
13198 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13200 * docs/libs/gstreamer-libs-sections.txt:
13201 make sure GstBaseTransformClass shows up in the docs
13202 * libs/gst/base/gstbasetransform.c:
13203 * libs/gst/base/gstbasetransform.h:
13204 move docs so gtk-doc picks it up now
13206 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13208 * docs/libs/gstreamer-libs-sections.txt:
13209 add missing symbols to docs
13211 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13213 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13214 back out the newsegment handling change, see #340060 for ongoing
13217 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13219 * tools/gst-run.c: (get_candidates), (main):
13220 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13221 work); fix typo in error message. Fixes #340079.
13223 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13225 * common/Makefile.am:
13226 * docs/Makefile.am:
13227 * docs/faq/Makefile.am:
13228 * docs/gst/Makefile.am:
13229 * docs/libs/Makefile.am:
13230 * docs/manual/Makefile.am:
13231 * docs/plugins/Makefile.am:
13232 * docs/pwg/Makefile.am:
13233 * docs/slides/Makefile.am:
13235 * common/upload.mak:
13236 move upload.mak to common
13238 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13240 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13241 add more asserts on refcounts
13242 do more cleanup at end of tests
13243 fix test leaks showing in FC5
13245 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13247 * plugins/elements/gsttypefindelement.c:
13248 (gst_type_find_element_handle_event):
13249 reverted wrong change and reflowed code to avoid others falling into
13252 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13254 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13255 fix changelog entry about last collectpads change,
13256 add notes about proper fix
13258 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13261 * gst/gstregistry.c: (gst_registry_scan_path_level),
13262 (gst_registry_scan_path):
13263 * gst/gstregistry.h:
13264 only write out registry if it has changed, fixes #338339
13266 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13269 * gst/gstpipeline.c:
13270 * plugins/elements/gstcapsfilter.c:
13271 * plugins/elements/gstfakesink.c:
13272 * plugins/elements/gstfakesrc.c:
13273 * plugins/elements/gstfdsink.c:
13274 * plugins/elements/gstfdsrc.c:
13275 * plugins/elements/gstfilesink.c:
13276 * plugins/elements/gstfilesrc.c:
13277 * plugins/elements/gstidentity.c:
13278 * plugins/elements/gstqueue.c:
13279 * plugins/elements/gsttee.c:
13280 * plugins/elements/gsttypefindelement.c:
13281 (gst_type_find_element_handle_event):
13282 make GstElementDetails const
13284 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13286 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13287 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13288 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13289 more detailed debug and formatting cleanup,
13290 forward newsegments to src-pad (so that e.g. adder not eats them)
13292 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13294 * gst/gstutils.c: (gst_element_link_pads):
13295 cleanup double code
13297 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13299 * libs/gst/controller/gstcontroller.c:
13300 (gst_controller_sync_values):
13302 * tests/check/libs/controller.c: (GST_START_TEST),
13303 (gst_controller_suite):
13304 a new test for live value handling
13306 2006-04-28 Wim Taymans <wim@fluendo.com>
13308 * gst/gstutils.c: (push_and_ref):
13309 Added some more docs.
13310 Fix refcount issue whith gst_element_found_tags() helper
13311 function. Fixes #338335
13313 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13314 Added testsuite for gst_element_found_tags().
13316 2006-04-28 Michael Smith <msmith@fluendo.com>
13318 * gst/gstvalue.c: (gst_value_serialize_flags):
13319 Avoid NULL dereference when trying to serialize flags containing
13322 2006-04-28 Michael Smith <msmith@fluendo.com>
13324 * plugins/elements/gsttypefindelement.c:
13325 (gst_type_find_element_handle_event):
13326 If we get EOS before any data is accumulated, don't use
13327 uninitialised local variables.
13329 2006-04-28 Michael Smith <msmith@fluendo.com>
13331 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13332 (gst_dp_event_from_packet):
13333 Fixes in reading/writing events over GDP (not currently used?) -
13334 dereferencing NULL events for unknown/invalid event types, memory
13335 leak, and change g_warning to GST_WARNING.
13337 2006-04-28 Wim Taymans <wim@fluendo.com>
13339 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13340 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13341 (gst_base_sink_get_position), (gst_base_sink_change_state):
13342 When frame dropping is enabled, we should not ignore frames
13343 without a duration.
13344 Update some documentation.
13346 2006-04-28 Wim Taymans <wim@fluendo.com>
13348 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13349 (gst_base_src_send_event), (gst_base_src_change_state):
13350 Documentation updates.
13352 2006-04-28 Wim Taymans <wim@fluendo.com>
13354 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13355 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13356 handle EAGAIN, EINTR and short writes correctly. Also clean
13357 up some error cases, avoid a deadlock on bad file descriptors and
13358 use GST_DEBUG_OBJECT.
13361 2006-04-28 Wim Taymans <wim@fluendo.com>
13363 * gst/gstvalue.c: (gst_value_serialize_buffer),
13364 (gst_value_deserialize_buffer):
13365 Don't try to serialize a GValue with a NULL buffer.
13368 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13369 Added check for serialisation of NULL buffers.
13371 2006-04-28 Wim Taymans <wim@fluendo.com>
13373 * gst/gstminiobject.c: (gst_value_take_mini_object):
13374 Taking a NULL miniobject is valid, fix the case where
13375 we try to unref the NULL miniobject.
13377 2006-04-28 Wim Taymans <wim@fluendo.com>
13379 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13381 * gst/gstbin.c: (gst_bin_handle_message_func):
13383 Don't leak bin refcount when a state recalc is
13384 in progress and we delay another one #339808.
13386 2006-04-28 Wim Taymans <wim@fluendo.com>
13388 * docs/design/part-TODO.txt:
13389 Mention QoS as an ongoing work item.
13391 * docs/design/part-buffering.txt:
13392 New doc about buffering that needs to be fleshed out
13395 * docs/design/part-qos.txt:
13396 More QoS policy for decoders/demuxers/transforms
13398 * docs/design/part-trickmodes.txt:
13401 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13406 === release 0.10.5 ===
13408 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13411 releasing 0.10.5, "Fogo"
13413 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13415 patch by: Wim Taymans
13417 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13418 (gst_pad_configure_src), (gst_pad_push):
13419 * gst/gstpipeline.c: (gst_pipeline_init):
13420 Fix internal data flow errors. Fixes #338711.
13422 2006-04-12 Wim Taymans <wim@fluendo.com>
13424 * tests/check/gst/gstelement.c: (GST_START_TEST):
13425 Don't leak the factory.
13427 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13430 * win32/common/config.h:
13433 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13435 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13436 (gst_controller_unset_all):
13437 Free allocated GstTimedValues when freeing list nodes.
13438 Should fix leaks 'make check-valgrind' complains about.
13440 * win32/common/libgstcontroller.def:
13441 Add gst_controller_unset_all.
13443 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13445 * docs/libs/gstreamer-libs-sections.txt:
13446 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13447 (gst_controller_unset_all):
13448 * libs/gst/controller/gstcontroller.h:
13449 API: Added new method gst_controller_unset_all()
13450 fixed gst_controller_unset()
13451 * tests/check/libs/controller.c: (GST_START_TEST),
13452 (gst_controller_suite):
13453 Added two testcases for new and fixed method
13455 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13457 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13458 MSG_DONTWAIT is not defined on Cygwin, so work
13459 around that (fixes #317048).
13461 2006-04-11 Wim Taymans <wim@fluendo.com>
13463 * gst/gstelementfactory.c: (gst_element_register),
13464 (gst_element_factory_create), (gst_element_factory_make):
13467 Updated docs (Fixes #131079)
13469 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13472 * tests/check/gst/gstelement.c: (GST_START_TEST),
13473 (gst_element_suite):
13474 Added testcase for elementfactory class field.
13476 2006-04-10 Wim Taymans <wim@fluendo.com>
13478 * gst/gstsegment.c:
13479 Added some more docs.
13481 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13482 (gst_base_sink_reset_qos):
13483 Calculate more accurate rate values.
13485 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13487 * gst/gst_private.h:
13488 add a new #ifdef to use __declspec(dllimport) only for
13489 other modules and not for gstreamer core
13490 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13491 use gst_guint64_to_gdouble for conversion
13492 * win32/common/libgstreamer.def:
13493 add new exported functions
13494 * win32/vs6/gst_inspect.dsp:
13495 * win32/vs6/gst_launch.dsp:
13496 * win32/vs6/libgstbase.dsp:
13497 * win32/vs6/libgstcontroller.dsp:
13498 * win32/vs6/libgstcoreelements.dsp:
13499 * win32/vs6/libgstdataprotocol.dsp:
13500 * win32/vs6/libgstnet.dsp:
13501 update project files
13503 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13505 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13506 * gst/gstclock.c: (gst_clock_class_init):
13507 * gst/gstelement.c: (gst_element_class_init):
13508 * gst/gstindex.c: (gst_index_class_init):
13509 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13510 * gst/gstobject.c: (gst_object_class_init),
13511 (gst_signal_object_class_init):
13512 * gst/gstpad.c: (gst_pad_class_init):
13513 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13514 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13515 * gst/gstregistry.c: (gst_registry_class_init):
13516 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13517 * gst/gsttask.c: (gst_task_class_init):
13518 * gst/gstxml.c: (gst_xml_class_init):
13519 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13520 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13521 (gst_base_src_loop):
13522 * libs/gst/controller/gstcontroller.c:/
13523 (_gst_controller_class_init):
13524 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13525 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13526 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13527 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13528 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13529 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13531 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13533 * gst/gstpad.c: (gst_pad_link):
13534 Must set peer pads before calling the link function, otherwise
13535 a task started from a link function might get a flow-not-linked
13536 result when trying to push because the other thread where the
13537 linking happens hasn't had a chance to set the peers yet. This
13538 might happen for example when a queue gets linked to a downstream
13539 element, as queue starts a streaming task when its source pad
13540 gets linked. Happens in real life when playing back flac/musepack
13541 files in playbin (#332390).
13543 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13547 * libs/gst/base/gstadapter.h:
13548 * libs/gst/base/gstbasesink.h:
13549 * libs/gst/base/gstbasesrc.h:
13550 * libs/gst/base/gstbasetransform.h:
13551 * libs/gst/base/gstcollectpads.h:
13552 * libs/gst/base/gstpushsrc.h:
13553 Fix broken GObject macros
13555 2006-04-07 Wim Taymans <wim@fluendo.com>
13557 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13558 Initialize start and stop times, thanks valgrind.
13560 2006-04-07 Wim Taymans <wim@fluendo.com>
13562 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13563 Be a bit nicer to badly behaving upstream elements that expect
13564 us to deal with non TIME segments and timestamps (such as fakesrc
13567 2006-04-07 Wim Taymans <wim@fluendo.com>
13570 Small documentation clarification about the signal watch.
13572 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13573 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13574 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13575 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13576 (gst_base_sink_get_position_last),
13577 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13578 Convert and store timestamps in stream time and running time, the
13579 raw timestamps are not useful, also document this better.
13580 Use different window sizes for good and bad QoS observations so
13581 we react to badness a little quicker.
13582 Keep track of the amount of rendered and dropped buffers.
13583 Send QoS timestamps in running time.
13585 * libs/gst/base/gstbasetransform.c:
13586 (gst_base_transform_sink_eventfunc),
13587 (gst_base_transform_handle_buffer):
13588 Compare QoS timestamps against running time.
13590 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13593 Typo fixes in docs.
13595 2006-04-06 Michael Smith <msmith@fluendo.com>
13597 * gst/gstpad.c: (gst_pad_set_property):
13598 Use g_value_get_object() instead of g_value_dup_gst_object(),
13599 to avoid double-reffing the pad template (which we then sink,
13600 so this worked previously if (and only if) the pad template
13603 * gst/gstpadtemplate.c: (gst_pad_template_init),
13604 (gst_pad_template_pad_created):
13605 Never return floating references to pad templates, create
13606 them as initially-sunken.
13608 Document an extra function (and make this stop sinking our
13609 pad template, since that is now guaranteed to do nothing,
13610 since we created it sunken).
13612 * gst/gstghostpad.c:
13615 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13617 * gst/gstinfo.c: (__gst_in_valgrind):
13620 * plugins/elements/gsttypefindelement.c:
13621 (gst_type_find_element_chain):
13622 Don't leak buffer caps.
13624 2006-04-06 Michael Smith <msmith@fluendo.com>
13626 * gst/parse/grammar.y:
13627 Fix a leak in parse-launch for any source-or-sink named element
13630 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13631 Unref the pipeline if it exists after we've failed parsing.
13633 2006-04-05 Michael Smith <msmith@fluendo.com>
13635 * gst/gstpipeline.c: (gst_pipeline_init):
13636 When we create a pipeline bus, initially create it in flushing mode.
13637 Fixes leaks in at least one test, and makes a new pipeline work the
13638 same as one that has gone to READY and then back to NULL.
13640 * gst/gstelement.c:
13643 2006-04-05 Michael Smith <msmith@fluendo.com>
13645 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13646 Unref a pad we reffed.
13647 * tests/check/gst/gstutils.c: (GST_START_TEST):
13650 2006-04-05 Michael Smith <msmith@fluendo.com>
13652 * gst/gstquery.c: (gst_query_set_formats),
13653 (gst_query_set_formatsv):
13654 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13656 2006-04-05 Michael Smith <msmith@fluendo.com>
13658 * tests/check/generic/sinks.c: (GST_START_TEST):
13659 Fix a variety of memleaks in sinks check, which are only sometimes
13660 shown by running the tests under valgrind (weird?).
13662 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13664 * docs/version.entities.in:
13665 Fix the substituted entity name after thomas' changes on the
13668 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13670 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13673 2006-04-05 Andy Wingo <wingo@pobox.com>
13675 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13677 * libs/gst/base/gstbasetransform.c
13678 (gst_base_transform_sink_eventfunc): When resetting our segment on
13679 FLUSH_STOP, also update the flag saying we haven't seen a
13682 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13684 Patch by: Paolo Borelli <pborelli at katamail dot com>
13686 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13687 (gst_plugin_check_license):
13688 minor clean-ups: G_DEFINE_TYPE already takes care of the
13689 parent_class stuff, no need to do it twice. Mark array of
13690 license strings as constant. (#337103)
13692 2006-04-04 Michael Smith <msmith@fluendo.com>
13694 * tools/gst-inspect.c: (print_element_list):
13695 Free the right plugin list; fixes a memory leak.
13697 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13699 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13701 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13702 Don't error out on empty buffers (#336945).
13704 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13706 * docs/libs/gstreamer-libs-sections.txt:
13707 * gst/gsttaglist.c:
13708 * libs/gst/base/gstbasesink.c:
13709 * libs/gst/base/gstbasesink.h:
13710 * libs/gst/base/gstbasesrc.c:
13711 * libs/gst/base/gstbasesrc.h:
13712 Documentation updates. Make BaseSink and BaseSrc docs contain the
13713 class structure so that people can actually see the prototypes for
13714 virtual functions they're supposed to be overriding.
13716 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13718 * plugins/elements/gsttypefindelement.c:
13719 (gst_type_find_element_chain):
13720 More debug info; when skipping typefinding, send cached
13721 events in all cases.
13723 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13726 use new AS_VERSION and AS_NANO macros
13727 * gst/gst-i18n-lib.h:
13730 * gst/gstversion.h.in:
13731 * win32/common/config.h:
13732 * win32/common/config.h.in:
13735 2006-03-31 Michael Smith <msmith@fluendo.com>
13737 * plugins/elements/gsttypefindelement.c:
13738 (gst_type_find_element_chain):
13739 Do not typefind content if the buffers already have caps.
13740 Neccesary for icydemux (#333657), and the right thing to do anyway.
13742 2006-03-30 Wim Taymans <wim@fluendo.com>
13744 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13745 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13746 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13747 (gst_base_sink_record_qos_observation),
13748 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13749 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13750 (gst_base_sink_change_state):
13751 More QoS measurements as described in the design doc.
13752 Get rid of ringbuffer with observations, running average is
13753 more simple and equally good.
13754 Calculates valid proportion now.
13755 Added beginning of flood measurement.
13757 2006-03-29 Wim Taymans <wim@fluendo.com>
13759 * docs/design/part-qos.txt:
13761 Small documentation updates and additions.
13763 2006-03-29 Wim Taymans <wim@fluendo.com>
13765 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13766 (gst_base_src_send_event), (gst_base_src_loop),
13767 (gst_base_src_change_state):
13768 Perform the EOS logic when we reach the segment stop position.
13769 Fix compilation on gcc4.1
13771 2006-03-29 Wim Taymans <wim@fluendo.com>
13773 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13775 * plugins/elements/gstqueue.c: (gst_queue_init),
13776 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13777 (gst_queue_set_property):
13778 * plugins/elements/gstqueue.h:
13779 In queue, when EOS is received, if minimum threshold > max_size -
13780 current_level, there is chance that queue blocks forever in conditional
13781 item del wait. This is because the queue is not emptied completely due
13782 to minimum threshold. Here is another approach. Instead of setting
13783 cur_levels to max in EOS, just zero all minimum threshold levels. This
13784 should make sure that queue gives out all data. When going to READY
13785 (stop) state, just reset the original minimum threshold levels.
13788 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13790 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13791 (gst_type_find_element_handle_event),
13792 (gst_type_find_element_send_cached_events),
13793 (gst_type_find_element_change_state):
13794 * plugins/elements/gsttypefindelement.h:
13795 When typefinding is done in push mode, we should cache
13796 events we receive during typefinding instead of just
13797 dropping them (e.g. newsegment, custom events from
13798 dvdreadsrc etc.) and then send them out once we've
13799 determined the type of the stream (and decodebin
13800 has had a chance to plug in a decoder/demuxer).
13802 2006-03-27 Wim Taymans <wim@fluendo.com>
13804 * docs/design/part-qos.txt:
13807 2006-03-27 Wim Taymans <wim@fluendo.com>
13809 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13811 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13812 (gst_base_src_send_event), (gst_base_src_change_state):
13813 Handle element seek correctly when we are streaming.
13816 2006-03-24 Michael Smith <msmith@fluendo.com>
13818 * docs/faq/gst-uninstalled:
13819 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13820 allow you to correctly run intalled applications built against old
13821 core, using plugins that require updated core (e.g. running
13822 installed totem against a full uninstalled gstreamer stack)
13824 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13826 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13829 2006-03-24 Wim Taymans <wim@fluendo.com>
13831 * docs/gst/gstreamer-sections.txt:
13832 Rearrange the order of the methods so that related methods
13833 are grouped together in sections.
13835 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13837 * gst/gstelement.c:
13838 Little clarification in the docs
13840 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13844 * plugins/elements/gstidentity.c:
13845 * plugins/elements/gstqueue.c:
13846 * plugins/elements/gsttee.c:
13847 * plugins/elements/gsttypefindelement.c:
13848 GST_ELEMENT_DETAILS formatting
13850 2006-03-24 Wim Taymans <wim@fluendo.com>
13852 * libs/gst/base/gstbasesink.h:
13853 Only add fields, not insert or we break ABI.
13855 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13857 * win32/common/libgstbase.def:
13858 * win32/common/libgstreamer.def:
13859 Update, add recently added functions.
13861 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13863 * docs/gst/gstreamer-sections.txt:
13864 * gst/gstutils.c: (gst_pad_query_peer_position),
13865 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13867 API: add some new utility functions:
13868 - gst_pad_query_peer_position()
13869 - gst_pad_query_peer_duration()
13870 - gst_pad_query_peer_convert()
13872 2006-03-23 Wim Taymans <wim@fluendo.com>
13874 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13875 (gst_base_sink_init), (gst_base_sink_finalize),
13876 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13877 (gst_base_sink_set_property), (gst_base_sink_get_property),
13878 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13879 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13880 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13881 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13882 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13883 (gst_base_sink_preroll_object), (gst_base_sink_event),
13884 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13885 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13886 (gst_base_sink_query), (gst_base_sink_change_state):
13887 Decouple max-lateness and the fact that QoS messages are generated
13888 with a new property (qos).
13889 added API: GstBaseSink::async_play()
13890 Add vmethod so subclasses can be notified of ASYNC playing
13892 Collect timestamp start and stop to report better current
13893 position in EOS/PLAYING/PAUSED/READY/NULL.
13894 Refactor QoS/frame dropping and other measurements.
13895 API: GstBaseSrc::qos
13898 * libs/gst/base/gstbasesink.h:
13899 Added Private struct.
13900 API: gst_base_sink_set_qos_enabled()
13901 API: gst_base_sink_is_qos_enabled()
13903 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13905 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13906 If compiling against GLib-2.8 or newer, try to read the
13907 registry file using GMappedFile first before falling back
13908 to fopen() + fread() (#332151).
13910 2006-03-22 Wim Taymans <wim@fluendo.com>
13912 * gst/gstinfo.c: (gst_debug_set_active),
13913 (gst_debug_category_set_threshold):
13914 Disable debugging unless explicitly activated.
13917 2006-03-22 Wim Taymans <wim@fluendo.com>
13919 * gst/gstelement.c: (gst_element_set_locked_state),
13920 (gst_element_dispose):
13921 Cleanup the error case.
13923 * gst/gstobject.c: (gst_object_dispose):
13924 print a critical when some object was disposed with
13925 a parent, also revive the object since it might
13928 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
13930 * tools/gst-launch.1.in:
13933 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
13936 * tests/check/Makefile.am:
13937 disable some tests when we don't have a registry
13938 * tests/check/gst/gstutils.c: (gst_utils_suite):
13939 don't build the part that needs parsing
13941 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
13944 * tests/examples/Makefile.am:
13945 fix --disable-parse build
13947 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13949 * tools/gst-feedback.1.in:
13950 Fix typo: s/feeback/feedback/ (#133494).
13952 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13954 * tools/Makefile.am:
13955 * tools/gst-launch.1.in:
13956 Add FILES section and correct entry about GST_REGISTRY_PATH
13957 environment variable (#133495; #133494).
13959 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13961 * tools/Makefile.am:
13962 * tools/gst-md5sum.1.in:
13963 * tools/gst-md5sum.c:
13964 Remove gst-md5sum and man page (the md5sink element
13965 required was removed ages ago)
13967 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13969 * gst/gststructure.c: (gst_structure_id_set_value):
13970 Make sure that string fields in structures/taglists
13971 contain valid UTF-8 - we don't want to pass rubbish to
13972 applications because of a buggy plugin (cp. #334167).
13974 2006-03-21 Edward Hervey <edward@fluendo.com>
13976 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13977 (gst_bin_handle_message_func):
13978 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13979 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13980 (gst_element_set_bus_func):
13981 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13982 * gst/gstminiobject.c: (gst_value_set_mini_object),
13983 (gst_value_take_mini_object):
13984 * gst/gstpad.c: (gst_pad_set_pad_template):
13985 * gst/gstpipeline.c: (gst_pipeline_dispose),
13986 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13987 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
13988 (gst_collect_pads_chain):
13989 * libs/gst/net/gstnettimeprovider.c:
13990 (gst_net_time_provider_set_property):
13991 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
13992 It's in fact all issues with gst_*object_replace().
13994 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13996 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
13998 * pkgconfig/gstreamer-check-uninstalled.pc.in:
13999 * pkgconfig/gstreamer-check.pc.in:
14000 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14002 2006-03-21 Edward Hervey <edward@fluendo.com>
14006 * gst/gstmessage.h:
14007 gst_[buffer|event|message]_ref() macros are replaced by a static
14008 inline functions because gcc-4.1 will about if the return value
14010 * tests/check/gst/gstevent.c: (event_probe):
14011 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14013 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14016 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14017 the type' case. (Closes: #335195 for now). In the future, when we
14018 depend on GLib 2.10, we could also intern the type name using
14019 g_intern_static_string()
14021 2006-03-20 Wim Taymans <wim@fluendo.com>
14023 * gst/gstbin.c: (gst_bin_handle_message_func),
14024 (bin_query_max_init), (bin_query_position_fold),
14025 (bin_query_position_done), (gst_bin_query):
14026 Position query should also take max of all streams.
14028 2006-03-20 Wim Taymans <wim@fluendo.com>
14030 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14031 (gst_fake_src_finalize):
14032 Fix leaks in fakesrc.
14034 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14035 Fix leaks in the testcase.
14037 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14039 * gst/gst_private.h:
14040 add win32 specific import decoration(__declspec(dllimport))
14041 for all extern GstDebugCategory * variables
14042 * win32/common/libgstbase.def:
14043 * win32/common/libgstcontroller.def:
14044 * win32/common/libgstreamer.def:
14045 Add some exports, remove empty lines
14046 * win32/common/libgstdataprotocol.def:
14047 * win32/common/libgstdataprotocol.dsp:
14048 * win32/common/libgstnet.def:
14049 * win32/common/libgstnet.dsp:
14050 new project files and exportation files added
14052 2006-03-19 Wim Taymans <wim@fluendo.com>
14054 * tests/check/libs/basesrc.c: (eos_event_counter):
14055 Use proper return value for probe.
14057 2006-03-17 Wim Taymans <wim@fluendo.com>
14059 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14061 Don't leak buffers, caps and pads on negotiation errors.
14063 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14065 * docs/faq/cvs.xml:
14066 * docs/faq/dependencies.xml:
14067 * docs/faq/developing.xml:
14068 * docs/faq/faq.xml:
14069 * docs/faq/general.xml:
14070 * docs/faq/getting.xml:
14071 * docs/faq/legal.xml:
14072 * docs/faq/troubleshooting.xml:
14073 * docs/faq/using.xml:
14074 Faq review and update.
14076 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14078 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14080 Don't pound the cpu to pieces by checking get_caps when accept_caps
14081 is called with the same caps as the pad already has.
14082 Use GST_DEBUG_OBJECT when outputting caps change information.
14084 2006-03-15 Wim Taymans <wim@fluendo.com>
14086 * gst/gstclock.c: (gst_clock_class_init):
14089 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14094 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14095 (gst_pad_accept_caps), (gst_pad_configure_sink),
14096 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14097 Make the default acceptcaps behaviour be to check the requested
14098 caps against the gst_pad_get_caps output.
14100 Ensure that gst_pad_accept_caps is used to check caps when a pad
14101 doesn't have a setcaps function, so that pads automatically refuse
14102 caps that they don't allow in their pad template. (Fixes #332986)
14104 When a buffer with attached caps is pushed, ensure that the source
14105 pad receives those caps even if the element didn't call
14106 gst_pad_set_caps first.
14108 2006-03-15 Wim Taymans <wim@fluendo.com>
14110 * libs/gst/base/gstadapter.c:
14113 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14115 * win32/common/libgstbase.def:
14116 * win32/common/libgstcontroller.def:
14117 * win32/common/libgstreamer.def:
14118 Add a whole bunch of missing functions (#334434).
14120 2006-03-14 Wim Taymans <wim@fluendo.com>
14122 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14123 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14124 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14125 Better debug info when we receive a segment event.
14126 Reorganize a bit so we can pass the get_times() results around.
14127 Use the segment format when calculating the running time.
14128 Don't do QoS is sync is disabled or we have no clock or the
14129 element does not want us to sync to the clock.
14130 Don't drop buffers if QoS is disabled for now.
14132 2006-03-14 Wim Taymans <wim@fluendo.com>
14134 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14135 Marked the stats property as unimplemented so people don't get
14137 Add debug message when regression goes wrong.
14138 Added some more docs.
14140 2006-03-14 Wim Taymans <wim@fluendo.com>
14142 * gst/gstsegment.c: (gst_segment_to_stream_time):
14143 Return correct return type in case of errors.
14145 2006-03-14 Wim Taymans <wim@fluendo.com>
14147 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14148 Don't segfault on invalid formats.
14150 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14152 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14153 Can't use gst_segment_to_running_time() when the segment
14154 is not in GST_TIME_FORMAT (like with filesink, for example).
14155 Stops flac encoding pipelines from spewing critical warnings
14158 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14160 * gst/gstpipeline.c: (gst_pipeline_class_init):
14161 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14163 * plugins/elements/gsttypefindelement.c:
14164 (gst_type_find_element_handle_event):
14165 Don't try to typefind empty streams.
14167 2006-03-14 Wim Taymans <wim@fluendo.com>
14169 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14170 (gst_base_sink_do_qos):
14171 Separate QoS calculation.
14172 Only drop buffers when lateness is bigger than the
14173 duration of the buffer.
14175 2006-03-13 Wim Taymans <wim@fluendo.com>
14177 * gst/gstpipeline.c: (gst_pipeline_set_property),
14178 (gst_pipeline_get_property), (do_pipeline_seek),
14179 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14180 (gst_pipeline_get_delay):
14181 Don't deadlock when reading properties.
14183 2006-03-13 Wim Taymans <wim@fluendo.com>
14185 * libs/gst/base/gstbasetransform.c:
14186 (gst_base_transform_class_init), (gst_base_transform_init),
14187 (gst_base_transform_sink_event),
14188 (gst_base_transform_sink_eventfunc),
14189 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14190 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14191 (gst_base_transform_set_property),
14192 (gst_base_transform_get_property),
14193 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14194 (gst_base_transform_set_qos_enabled),
14195 (gst_base_transform_is_qos_enabled):
14196 * libs/gst/base/gstbasetransform.h:
14197 Make basetransform virtual method for src events too.
14198 Handle QOS in basetransform.
14199 API: gst_base_transform_update_qos()
14200 API: gst_base_transform_set_qos_enabled()
14201 API: gst_base_transform_is_qos_enabled()
14203 2006-03-13 Wim Taymans <wim@fluendo.com>
14205 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14206 (gst_base_sink_do_sync):
14208 Use QOS debug category.
14210 2006-03-13 Wim Taymans <wim@fluendo.com>
14212 * plugins/elements/gstqueue.c:
14213 Very small doc update.
14215 2006-03-13 Wim Taymans <wim@fluendo.com>
14217 * gst/gst_private.h:
14218 * gst/gstinfo.c: (_gst_debug_init):
14219 Added QOS debug category
14221 2006-03-13 Wim Taymans <wim@fluendo.com>
14223 * docs/gst/gstreamer-sections.txt:
14224 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14226 * gst/gstbus.c: (gst_bus_class_init):
14229 * gst/gstelement.c: (gst_element_set_locked_state):
14230 * gst/gstsegment.c:
14231 Documentation updates.
14233 * gst/gstpipeline.c: (gst_pipeline_get_type),
14234 (gst_pipeline_class_init), (gst_pipeline_init),
14235 (gst_pipeline_dispose), (gst_pipeline_set_property),
14236 (gst_pipeline_get_property), (do_pipeline_seek),
14237 (gst_pipeline_send_event), (gst_pipeline_change_state),
14238 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14239 (gst_pipeline_get_delay):
14240 * gst/gstpipeline.h:
14241 Added methods for setting the delay.
14242 API: gst_pipeline_set_delay()
14243 API: gst_pipeline_get_delay()
14244 Add pipeline debug category
14247 Don't reset stream time when seek failed.
14249 2006-03-13 Wim Taymans <wim@fluendo.com>
14251 * docs/design/draft-klass.txt:
14252 * docs/design/part-clocks.txt:
14253 * docs/design/part-events.txt:
14254 * docs/design/part-gstbin.txt:
14255 * docs/design/part-gstpipeline.txt:
14256 * docs/design/part-messages.txt:
14257 * docs/design/part-negotiation.txt:
14258 * docs/design/part-overview.txt:
14259 * docs/design/part-preroll.txt:
14260 * docs/design/part-seeking.txt:
14261 * docs/design/part-states.txt:
14262 * docs/design/part-streams.txt:
14263 Documentation updates.
14265 2006-03-12 Julien MOUTTE <julien@moutte.net>
14267 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14268 us to leak strings...
14270 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14272 * libs/gst/net/gstnettimeprovider.c:
14274 * win32/common/config.h:
14277 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14279 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14282 Don't check for libgnomeui (leftover from old examples
14283 that aren't built or disted any longer) (#334303).
14285 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14287 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14288 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14289 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14290 there's no space left on the device.
14292 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14295 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14296 to cast the input to GstClockTime before comparing with
14297 another GstClockTime value.
14299 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14304 === release 0.10.4 ===
14306 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14309 releasing 0.10.4, "Light"
14311 2006-03-10 Michael Smith <msmith@fluendo.com>
14313 * libs/gst/dataprotocol/dataprotocol.c:
14314 Fix docs for dataprocotol to not get the return types completely
14315 wrong for a few functions.
14317 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14319 * docs/gst/gstreamer-sections.txt:
14320 * gst/gstpipeline.c: (gst_pipeline_class_init),
14321 (gst_pipeline_init), (gst_pipeline_set_property),
14322 (gst_pipeline_get_property), (gst_pipeline_change_state),
14323 (gst_pipeline_set_auto_flush_bus),
14324 (gst_pipeline_get_auto_flush_bus):
14325 * gst/gstpipeline.h:
14326 Add new API: gst_pipeline_set_auto_flush_bus() and
14327 gst_pipeline_get_auto_flush_bus() to disable automatic
14328 flushing of the pipeline's GstBus when going from READY
14329 to NULL state (#332045).
14331 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14333 * docs/gst/gstreamer-sections.txt:
14334 * gst/gsturi.c: (gst_uri_has_protocol):
14336 Add new API: gst_uri_has_protocol() (#333779).
14338 2006-03-09 Wim Taymans <wim@fluendo.com>
14340 * gst/gstclock.c: (gst_clock_entry_new),
14341 (gst_clock_id_compare_func), (gst_clock_id_wait),
14342 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14343 (gst_clock_init), (gst_clock_get_internal_time),
14344 (gst_clock_set_master), (do_linear_regression),
14345 (gst_clock_add_observation), (gst_clock_set_property):
14349 Fix a possible segfault when the window-size is made smaller.
14350 Calculate jitter before performing the clock wait. Ideally
14351 the clock implementation should calculate jitter but we need
14352 API breakage for that.
14354 * gst/gstsystemclock.c: (gst_system_clock_init):
14357 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14358 Remove leftover else
14360 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14361 (gst_systemclock_suite):
14362 Added check to test GST_CLOCK_DIFF.
14364 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14366 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14367 (gst_type_find_helper_get_range):
14368 If we are provided with the size, we should implement
14369 GstTypeFind::get_length, so that typefind functions who
14370 want to can actually peek at the middle of a file.
14372 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14374 * docs/manual/advanced-dataaccess.xml:
14375 Add some very very basic error checking.
14377 * docs/pwg/appendix-checklist.xml:
14378 Some updates to the list of things to check when writing an element.
14380 2006-03-08 Wim Taymans <wim@fluendo.com>
14382 * docs/design/part-element-transform.txt:
14383 Added some docs about the design of tranform elements.
14385 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14386 (gst_base_src_loop), (gst_base_src_change_state):
14387 Mark buffers with the DISCONT flag.
14389 2006-03-08 Michael Smith <msmith@fluendo.com>
14391 * gst/gstregistry.h:
14392 * gst/gstregistryxml.c: (gst_registry_save),
14393 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14394 (gst_registry_xml_save_pad_template),
14395 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14396 (gst_registry_xml_write_cache):
14397 Rewrite registry-saving to avoid race conditions and check for
14400 2006-03-08 Wim Taymans <wim@fluendo.com>
14402 * libs/gst/base/gstbasetransform.c:
14403 (gst_base_transform_transform_caps),
14404 (gst_base_transform_transform_size),
14405 (gst_base_transform_prepare_output_buffer),
14406 (gst_base_transform_get_unit_size),
14407 (gst_base_transform_buffer_alloc),
14408 (gst_base_transform_handle_buffer),
14409 (gst_base_transform_change_state):
14410 Cleanups, separate normal flow from errors, add sensible
14412 Don't try to renegotiate when allocating an output buffer.
14413 Also copy DISCONT buffer flag when copying a buffer.
14414 Reset the transform after we finish streaming, not during.
14416 2006-03-08 Wim Taymans <wim@fluendo.com>
14418 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14419 Use last buffer timestamp in qos message.
14421 2006-03-07 Wim Taymans <wim@fluendo.com>
14423 Patch by: Christophe Fergeau
14425 * docs/pwg/advanced-tagging.xml:
14426 * docs/pwg/building-pads.xml:
14429 2006-03-07 Wim Taymans <wim@fluendo.com>
14431 * docs/libs/gstreamer-libs-sections.txt:
14432 Added basesink new methods.
14436 Docs updates. Flesh out the QoS docs.
14438 * libs/gst/base/gstadapter.c:
14439 Small doc clarification about ownership and flushing.
14441 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14442 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14443 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14444 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14445 * libs/gst/base/gstbasesink.h:
14447 Added new methods to allow subclass to control max-lateness
14449 Generate very basic QoS events based on last sync observation.
14450 Updated docs, fix typo, added some QoS blurb.
14452 * libs/gst/base/gstbasesrc.c:
14453 Remove obsolete _get_state() calls from docs.
14455 2006-03-07 Wim Taymans <wim@fluendo.com>
14457 * docs/libs/gstreamer-libs-sections.txt:
14458 * libs/gst/base/gstbasetransform.h:
14459 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14460 Fix docs for GstBaseSrc.
14462 2006-03-07 Wim Taymans <wim@fluendo.com>
14464 * docs/gst/gstreamer-sections.txt:
14467 * libs/gst/base/gstbasetransform.h:
14468 Small documentation fixes.
14470 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14473 Document thread-unsafety of gst_value_register_foo_func()
14474 when used at the same time as gst_value_foo() (#322628).
14476 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14478 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14479 (gst_push_src_check_get_range):
14480 Push sources don't support pull mode by default.
14482 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14484 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14485 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14486 (gst_base_src_default_check_get_range):
14487 * libs/gst/base/gstbasesrc.h:
14488 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14489 provide default implementation, and rename
14490 gst_base_src_check_get_range() to
14491 gst_base_src_pad_check_get_range() for clarity.
14493 2006-03-06 Wim Taymans <wim@fluendo.com>
14495 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14496 Make property overridable.
14498 2006-03-06 Wim Taymans <wim@fluendo.com>
14500 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14501 (gst_base_sink_init), (gst_base_sink_set_property),
14502 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14503 * libs/gst/base/gstbasesink.h:
14504 API addition: Make max-lateness a property.
14506 2006-03-06 Wim Taymans <wim@fluendo.com>
14508 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14509 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14510 Don't ever draw a frame that is >10ms late.
14512 2006-03-06 Michael Smith <msmith@fluendo.com>
14514 * gst/gstmessage.c: (_gst_message_copy):
14515 When copying a message, set the parent_refcount of the enclosed
14516 structure to point at the copy, not the original message.
14518 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14520 Patch by: Christophe Fergeau
14523 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14524 usable in c++ code (#333417)
14526 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14529 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14531 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14533 * libs/gst/base/gstbasetransform.c:
14534 (gst_base_transform_transform_caps):
14535 Make sure caps are writable before passing them to
14538 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14541 Fix some minor docs errors.
14543 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14545 Patch by: Ross Burton <ross at burtonini dot com>
14547 * gst/gsterror.c: (_gst_resource_errors_init):
14549 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14551 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14554 Add a check and output a g_warning when GStreamer is built
14555 against GLib 2.6 but running against 2.8 or higher, and vice
14556 versa. (Closes: #323542)
14558 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14560 * gst/parse/parse.l:
14561 Commit patch for parse_launch syntax from #331255. Removes
14562 support for quoted strings and mimetypes when writing filtered
14563 caps. See the bug report for more details - I'm pretty sure this
14564 obscure feature is not in use by _anyone_ anywhere.
14566 With this simple change, the size of the gstreamer.so here
14567 drops from 2193KB to 1565KB.
14569 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14571 * plugins/elements/gsttypefindelement.h:
14572 * plugins/elements/gsttypefindelement.c:
14573 (gst_type_find_element_src_event), (start_typefinding),
14574 (stop_typefinding), (gst_type_find_element_handle_event),
14575 (gst_type_find_element_chain),
14576 (gst_type_find_element_chain_do_typefinding):
14577 Use gst_type_find_helper_for_buffer() for chain-based
14580 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14582 * plugins/elements/gsttypefindelement.c:
14583 (gst_type_find_element_class_init),
14584 (gst_type_find_element_set_property),
14585 (gst_type_find_element_get_property):
14586 Deprecate "maximum" property (not only was it only taken into
14587 account for typefinding in push-mode anyway, it also was never
14588 actually possible to set it in the first place because the
14589 property was registered with the numeric property ID for the
14590 "minimum" property). Register "maximum" property correctly,
14591 for the sake of future copy'n'pasters. Remove some cruft
14592 from property get/set functions.
14594 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14596 * plugins/elements/gsttypefindelement.c:
14597 (gst_type_find_element_activate):
14598 Use gst_type_find_helper_get_range() here, so we
14599 can honour the "minimum" property and also emit
14600 the signal with the correct probability of the found caps.
14602 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14604 * docs/libs/gstreamer-libs-sections.txt:
14605 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14606 (helper_find_suggest), (gst_type_find_helper_get_range),
14607 (gst_type_find_helper):
14608 * libs/gst/base/gsttypefindhelper.h:
14609 New API: gst_type_find_helper_get_range() (#333042).
14611 2006-03-02 Michael Smith <msmith@fluendo.com>
14613 * gst/gstregistryxml.c: (load_feature):
14614 Asserting on a failure to read part of the registry is Not Cool.
14615 Just log a warning and return NULL (which is already handled)
14617 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14619 * win32/common/libgstbase.def:
14620 added export of gst_type_find_helper_for_buffer
14621 * win32/common/libgstbase.def:
14622 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14623 gst_ghost_pad_get_target
14625 2006-02-28 Wim Taymans <wim@fluendo.com>
14627 * docs/design/draft-klass.txt:
14629 Added Connector to mark elements that are only used to
14630 allow pipeline connections.
14631 Moved Debug to extra feature since most of them are
14632 functionally something else.
14634 2006-02-28 Wim Taymans <wim@fluendo.com>
14636 * docs/design/draft-klass.txt:
14637 Some updates and clarifications.
14639 2006-02-28 Wim Taymans <wim@fluendo.com>
14641 * docs/design/draft-klass.txt:
14642 Proposal for klass field values.
14644 * docs/design/part-streams.txt:
14645 Start of a doc describing stream anatomy.
14647 2006-02-28 Wim Taymans <wim@fluendo.com>
14649 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14650 Help the compiler a bit with type registration.
14651 Use existing forward cod path instead of duplicating it when
14652 handling a message.
14654 * gst/gstbus.c: (gst_bus_get_type):
14655 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14656 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14657 * gst/gstclock.c: (gst_clock_get_type):
14658 * gst/gstelement.c: (gst_element_get_type),
14659 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14660 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14661 * gst/gstminiobject.c: (gst_mini_object_get_type):
14662 * gst/gstpad.c: (gst_pad_get_type):
14663 * gst/gstsegment.c: (gst_segment_get_type):
14664 * gst/gststructure.c: (gst_structure_get_type):
14665 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14666 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14668 Help compiler with type registration.
14670 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14673 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14675 * plugins/elements/gsttypefindelement.c:
14676 (gst_type_find_element_handle_event):
14677 When we get an EOS event and have not found a type yet
14678 (most likely because we had not yet accumulated
14679 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14680 type given the data we have so far. Fixes typefinding
14681 for very short streams again, most notably quicktime
14682 redirections as used on Apple's trailer site (#331701).
14684 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14686 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14687 (gst_type_find_helper):
14688 Try typefinding factories with the highest rank first.
14690 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14692 * docs/libs/gstreamer-libs-docs.sgml:
14693 * docs/libs/gstreamer-libs-sections.txt:
14694 * libs/gst/base/gsttypefindhelper.c:
14695 Add section for typefind helper and add documentation
14696 for the old and the new function.
14698 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14700 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14701 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14702 (gst_type_find_helper_for_buffer):
14703 * libs/gst/base/gsttypefindhelper.h:
14704 New API: gst_type_find_helper_for_buffer() (#332723).
14706 2006-02-27 Michael Smith <msmith@fluendo.com>
14708 Patch by: Loïc Minier
14711 * docs/Makefile.am:
14712 * docs/slides/Makefile.am:
14713 prevent CVS directories getting disted.
14715 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14717 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14718 Use the REFCOUNTING category for caps refcounting.
14720 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14722 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14723 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14725 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14727 * plugins/elements/gsttypefindelement.c:
14728 (gst_type_find_element_activate):
14729 Use gst_pad_check_pull_range() before _activate_pull()
14730 to avoid unnecessary open/close (see #331690).
14732 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14735 Docs enhancement: make it crystal clear what the
14736 gst_pad_add_*_probe() callbacks should look like.
14738 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14740 * libs/gst/base/gstbasesrc.c:
14741 Document how applications can stop recording from
14742 live sources (see #330996).
14744 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14746 * tests/check/Makefile.am:
14747 * tests/check/libs/basesrc.c: (eos_event_counter),
14748 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14749 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14750 (gst_basesrc_suite), (main):
14751 ... and add some tests for the base source EOS stuff.
14753 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14755 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14756 Test case originally showed the problem fixed below,
14757 but was then amended. Add checks back at the place
14758 where they used to be.
14760 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14762 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14763 (gst_base_src_init), (gst_base_src_loop),
14764 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14765 (gst_base_src_change_state):
14766 * libs/gst/base/gstbasesrc.h:
14767 Don't unconditionally send EOS when going from PAUSED to
14768 READY state, esp. make sure we don't send two EOS events
14769 in some cases (e.g. one when reaching EOS and one when
14770 going from PAUSED to READY). Also, we don't want to send
14771 EOS events when operating in pull mode. However, we do
14772 want to send an EOS event when shutting down a live
14773 source explicitly, for example (fixes #330996).
14775 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14777 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14778 Update src->read_position after a seek when not using mmap.
14779 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14781 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14787 Make things work with --disable-parse as they do with
14788 --disable-load-save - the symbols involved disappear, but the
14789 header is still installed and GST_DISABLE_PARSE is included via
14792 2006-02-20 Julien MOUTTE <julien@moutte.net>
14794 * libs/gst/base/gstbasetransform.c:
14795 (gst_base_transform_change_state): Fix a stupid bug. I was
14796 sure I compiled that.
14798 2006-02-20 Julien MOUTTE <julien@moutte.net>
14800 * gst/gstpad.c: (gst_pad_set_blocked_async):
14801 * gst/gstutils.c: (gst_pad_add_data_probe),
14802 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14803 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14804 (gst_pad_remove_buffer_probe): Make those function act on the
14805 ghostpad target when it's a ghostpad. (Closes #331727)
14807 2006-02-20 Julien MOUTTE <julien@moutte.net>
14809 * libs/gst/base/gstbasetransform.c:
14810 (gst_base_transform_change_state): Make basetransform reusable.
14813 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14815 * docs/random/release:
14816 Move the current documentation of how to do a release to the top
14819 * gst/gstbin.c: (gst_bin_class_init),
14820 (gst_bin_handle_message_func):
14821 Allow multiple state-recalculation threads. (Closes #328873)
14823 2006-02-19 Julien MOUTTE <julien@moutte.net>
14825 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14826 * gst/gstpad.c: (gst_pad_set_event_function),
14827 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14828 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14829 2 strings. You can't use the STR_NULL macro on that.
14831 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14833 * gst/gstpad.c: (gst_pad_set_event_function),
14834 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14835 (gst_pad_set_getcaps_function)
14836 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14837 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14838 So now, we can use --gst-debug-level=5 on Windows
14839 * win32/common/libgstcontroller.def:
14840 Added export of gst_controller_init
14841 * win32/vs6/libgstcontroller.dsp:
14842 Fixed Release post build configuration
14844 2006-02-17 Wim Taymans <wim@fluendo.com>
14846 * tests/check/gst/gstquery.c: (GST_START_TEST):
14847 Added another check.
14849 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14851 * plugins/elements/gsttypefindelement.c: (find_peek):
14852 We can do peeks at non-zero offsets, as long as they
14853 fall within the buffer we have.
14855 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14857 * tests/check/Makefile.am:
14858 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14859 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14860 (parse_suite), (main):
14861 Add testsuite for parse launch syntax
14863 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14865 * plugins/elements/gsttypefindelement.c:
14866 (gst_type_find_element_chain):
14867 When typefinding is unsuccessful in the chain function, don't
14868 error out immediately. Only error out with NO_CAPS_FOUND if
14869 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14870 otherwise simply wait for more data so we can try typefinding
14871 again with more data later. Also, don't attempt to typefind
14872 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14873 this should improve typefinding from network sources where the
14874 size of the first buffer can be somewhat random.
14876 2006-02-14 Wim Taymans <wim@fluendo.com>
14878 * docs/gst/gstreamer-sections.txt:
14879 * gst/gstpadtemplate.c:
14880 * gst/gstpadtemplate.h:
14881 Fix padtemplate docs, fixes #328805.
14883 2006-02-14 Wim Taymans <wim@fluendo.com>
14885 * tools/gst-launch.c: (main):
14886 NO_PREROLL is not an ERROR so don't send confusing messages
14889 2006-02-14 Wim Taymans <wim@fluendo.com>
14891 Patch by: Torsten Schoenfeld
14893 * gst/gstregistry.c: (gst_registry_get_default),
14894 (_gst_registry_cleanup):
14895 Protect default registry with lock and ref/sink it.
14898 2006-02-14 Wim Taymans <wim@fluendo.com>
14901 * gst/gstquery.c: (gst_query_list_add_format),
14902 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14903 (gst_query_parse_formats_nth):
14904 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14907 2006-02-14 Wim Taymans <wim@fluendo.com>
14909 * docs/gst/gstreamer-sections.txt:
14910 Reworked query docs.
14912 * gst/gstquery.c: (gst_query_new_formats),
14913 (gst_query_list_add_format), (gst_query_set_formats),
14914 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14915 (gst_query_parse_formats_nth):
14917 Flesh out formats query, added some new methods.
14918 Fix part of #324398.
14920 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14921 Added query creation tests.
14923 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
14925 * gst/gstpad.c: (fixate_value):
14926 Add a default fixation for fraction lists.
14928 2006-02-13 Wim Taymans <wim@fluendo.com>
14930 * gst/gsttask.c: (gst_task_init), (gst_task_func),
14931 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14934 Detect and warn for obvious deadlocks. fixes #320340
14935 Fix error case where lock was not released.
14937 * tests/check/Makefile.am:
14938 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14939 (task_func), (gst_element_suite), (main):
14942 2006-02-13 Wim Taymans <wim@fluendo.com>
14944 * docs/gst/gstreamer-sections.txt:
14946 Add new functions to docs.
14948 2006-02-13 Wim Taymans <wim@fluendo.com>
14950 * docs/design/part-TODO.txt:
14951 Updated TODO list, basesrc supports seeking to non-bytes
14954 * docs/design/part-element-sink.txt:
14957 * gst/gstbin.c: (bin_replace_message),
14958 (gst_bin_handle_message_func):
14959 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14960 * gst/gstevent.c: (gst_event_finalize):
14961 * gst/gstpad.c: (gst_pad_event_default_dispatch),
14962 (gst_pad_send_event):
14963 Use shiny new _TYPE_NAME macros.
14965 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14966 Move debug statement up.
14968 * gst/gstelement.c: (gst_element_set_locked_state):
14969 Add some debugging.
14971 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
14973 * docs/gst/gstreamer-sections.txt:
14974 * gst/gstmessage.h:
14976 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14977 macros (#330906). Also, document the already existing
14978 GST_QUERY_TYPE macro.
14980 2006-02-13 Wim Taymans <wim@fluendo.com>
14982 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14983 (event_probe), (GST_START_TEST):
14984 Only events up to the pipeline EOS are counted, there are
14985 some more when going to NULL currently which we don't care
14988 2006-02-13 Wim Taymans <wim@fluendo.com>
14990 * gst/gstpad.c: (gst_pad_send_event):
14991 Correctly check flushing and emit probes. fixes #330125
14993 2006-02-10 Andy Wingo <wingo@pobox.com>
14995 * gst/gstbus.c (gst_bus_class_init): Declare our private data
14997 (gst_bus_init): Cache the location of the private data in the
14998 instance structure.
14999 (gst_bus_enable_sync_message_emission)
15000 (gst_bus_disable_sync_message_emission): Implement new public
15002 (gst_bus_post): Emit the sync-message signal if the user asked for
15005 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15006 location of the bus-private structure.
15007 (gst_bus_enable_sync_message_emission)
15008 (gst_bus_disable_sync_message_emission): API addition
15010 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15012 Patch by: Vincent Torri
15014 * docs/pwg/building-boiler.xml:
15015 PWG patch from #326800
15017 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15020 * docs/Makefile.am:
15021 * docs/design/Makefile.am:
15024 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15029 === release 0.10.3 ===
15031 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15034 releasing 0.10.3, "Like a virgin"
15036 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15039 2nd prerelease of 0.10.3
15040 Bump libtool versioning.
15042 2006-02-07 Andy Wingo <wingo@pobox.com>
15044 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15045 update last_stop if we're in TIME format and the timestamp is
15048 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15049 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15050 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15051 If we get a new newsegment with a different format, adapt
15054 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15055 of 0. Not a problem, really.
15057 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15060 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15065 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15068 project files updated to the default vs7 configuration
15069 * win32/common/libgstbase.def:
15070 * win32/common/libgstreamer.def:
15072 removed empty lines,
15073 sorted all exported symbols alphabetically
15074 * win32/common/dirent.c:
15075 * win32/common/dirent.h:
15076 * win32/common/gchar.h:
15077 use windows line end.
15079 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15081 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15082 Send EOS event when stopping.
15084 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15087 Tell folks what to do if the plugin-foobar.xml file
15088 hasn't been generated for a newly-added plugin.
15090 2006-02-05 Julien MOUTTE <julien@moutte.net>
15092 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15093 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15094 (gst_collect_pads_start), (gst_collect_pads_stop),
15095 (gst_collect_pads_event): Collectpads now holds a reference
15096 to the GstPad that was added. Indeed we don't want to look
15097 at pads that might just go away with no warning...
15099 2006-02-05 Julien MOUTTE <julien@moutte.net>
15101 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15102 (gst_collect_pads_start), (gst_collect_pads_stop),
15103 (gst_collect_pads_event), (gst_collect_pads_chain):
15104 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15105 Mark Nauwelaerts's patch on bug #328491.
15107 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15109 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15111 Add some simple tests for gst_parse_bin_from_description() and
15112 gst_bin_find_unconnected_pad() (#329069).
15114 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15116 * tools/gst-launch.c: (event_loop), (main):
15117 Catch errors during preroll (#320084).
15119 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15121 * plugins/elements/gsttypefindelement.c:
15122 (gst_type_find_element_activate):
15123 Post TYPE_NOT_FOUND error message when typefinding
15124 is unsuccessful in the activate function as well.
15126 2006-02-02 Wim Taymans <wim@fluendo.com>
15128 * docs/design/part-element-sink.txt:
15131 2006-02-02 Wim Taymans <wim@fluendo.com>
15133 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15134 (gst_base_sink_render_object),
15135 (gst_base_sink_queue_object_unlocked):
15136 Only keep track of prerollable items when we are
15138 Before rendering after preroll, always check if we
15140 Added some more debugging.
15142 2006-02-02 Wim Taymans <wim@fluendo.com>
15144 * gst/gstelement.c: (gst_element_continue_state),
15145 (gst_element_set_state_func), (gst_element_change_state):
15146 Fixed #326576, been running this for quite some time with
15147 no regressions at all.
15149 2006-02-02 Wim Taymans <wim@fluendo.com>
15152 Added more suppressions
15154 2006-02-02 Wim Taymans <wim@fluendo.com>
15156 * docs/design/part-element-sink.txt:
15159 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15160 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15161 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15162 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15163 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15164 (gst_base_sink_preroll_object),
15165 (gst_base_sink_queue_object_unlocked),
15166 (gst_base_sink_queue_object), (gst_base_sink_event),
15167 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15168 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15169 (gst_base_sink_get_position), (gst_base_sink_change_state):
15170 * libs/gst/base/gstbasesink.h:
15171 Totally refactored matching the design doc.
15172 Use two segments, one to clip incomming buffers and another to
15174 Handle queueing correctly, bypass the queue when playing.
15175 Make EOS cancelable.
15176 Handle errors correctly when operating in pull based mode.
15178 * tests/check/elements/fakesink.c: (GST_START_TEST),
15180 Added new check for sinks.
15182 2006-02-02 Wim Taymans <wim@fluendo.com>
15184 * gst/gstsegment.c: (gst_segment_clip):
15185 No reason to refuse to clip when start == -1
15187 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15190 * docs/manual/intro-basics.xml:
15191 * docs/manual/intro-preface.xml:
15192 * docs/manual/manual.xml:
15193 * docs/pwg/advanced-dparams.xml:
15194 * docs/pwg/intro-basics.xml:
15195 * docs/pwg/intro-preface.xml:
15196 * docs/pwg/pwg.xml:
15197 describe dparams (controller) for plugins
15198 unify docs a little more
15200 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15202 * docs/gst/gstreamer-sections.txt:
15203 * gst/gstutils.c: (element_find_unconnected_pad),
15204 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15206 Add new API: gst_parse_bin_from_description() and
15207 gst_bin_find_unconnected_pad() (#329069).
15209 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15211 * docs/manual/README:
15212 uncover a nasty detail of the docs build
15214 2006-01-31 Wim Taymans <wim@fluendo.com>
15216 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15217 Don't cache duration messages if we're not going to use or
15220 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15222 * docs/manual/advanced-dparams.xml:
15223 * docs/pwg/advanced-dparams.xml:
15227 * libs/gst/controller/lib.c: (gst_controller_init):
15230 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15232 * gst/gstelement.c: (gst_element_message_full):
15233 also show file/line/func if no additional debug was given
15235 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15237 * win32/vs7/grammar.vcproj:
15238 activate copy of autogenerated files for Release mode
15240 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15242 * win32/common/libgstreamer.def:
15243 export gst_value_compare
15245 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15247 * plugins/elements/Makefile.am:
15248 * plugins/elements/gstelements.c:
15249 * plugins/elements/gstfdsink.c: (_do_init),
15250 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15251 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15252 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15253 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15254 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15255 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15256 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15257 * plugins/elements/gstfdsink.h:
15258 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15260 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15262 * docs/manual/advanced-dparams.xml:
15263 describe controller
15264 * docs/manual/advanced-position.xml:
15265 * docs/manual/basics-init.xml:
15266 * docs/manual/manual.xml:
15267 * docs/manual/titlepage.xml:
15268 * docs/pwg/pwg.xml:
15269 * docs/pwg/titlepage.xml:
15270 cleanup xml (more to come)
15271 * libs/gst/controller/gstcontroller.c:
15274 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15276 * win32/vs6/grammar.dsp:
15277 add autogen of gstmarshal.c,h for Release mode
15279 2006-01-30 Wim Taymans <wim@fluendo.com>
15281 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15282 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15283 (gst_base_sink_handle_object), (gst_base_sink_event),
15284 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15285 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15286 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15287 (gst_base_sink_deactivate), (gst_base_sink_activate),
15288 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15289 (gst_base_sink_query), (gst_base_sink_change_state):
15290 Basesink cleanups, remove some old code.
15291 Handle the case where a subclass can preroll in the render
15292 method (mostly audiosinks).
15293 Handle more events.
15294 Remove some locks around variables that are now protected
15295 with the PREROLL_LOCK (clock_id, flushing, ..).
15296 Optimize position query some more, do correct locking.
15297 Remove old code to push queue in state change, this is not
15298 needed anymore since preroll blocks on all prerollable items
15300 Almost implemented as described in design doc.
15302 2006-01-30 Wim Taymans <wim@fluendo.com>
15304 * tests/check/gst/gstbin.c: (GST_START_TEST):
15305 Wait for refcount to settle down before checking.
15307 2006-01-30 Wim Taymans <wim@fluendo.com>
15309 * docs/design/part-element-sink.txt:
15310 Pseudo code overview of desired sink behaviour regarding
15313 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15314 * win32/vs6/grammar.dsp:
15315 fix some bugs in Release mode for autogenerated files
15317 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15318 * win32/common/libgstbase.def:
15319 * win32/common/libgstreamer.def:
15320 export some new symbols: gst_base_src_set_format,
15321 gst_iterator_next, gst_structure_set_valist
15323 2006-01-29 Julien MOUTTE <julien@moutte.net>
15325 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15326 Set pad functions unconditionally. Fixes #329105.
15328 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15330 add vs8 project files created by Sergey Scobich
15332 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15334 * gst/gstutils.c: (gst_element_unlink_pads):
15335 Don't leak pad references.
15337 * tests/check/elements/fakesink.c: (GST_START_TEST):
15338 * tests/check/generic/sinks.c: (GST_START_TEST):
15339 * tests/check/generic/states.c: (GST_START_TEST):
15340 * tests/check/gst/gstbin.c: (GST_START_TEST):
15341 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15342 * tests/check/gst/gstelement.c: (GST_START_TEST):
15343 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15344 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15345 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15346 Fix a bunch of leaks. Make generic/sinks.c
15347 use a bit less cpu by slowing the buffer rate
15348 between fakesrc and fakesink.
15350 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15352 * gst/gstelement.c: (gst_element_send_event):
15355 * gst/gstiterator.c:
15356 * gst/gstiterator.h:
15357 * gst/gstpad.c: (gst_pad_send_event):
15358 * gst/gststructure.c:
15362 * libs/gst/base/gstadapter.c:
15363 doc fixes, to link to function, just write gst_cool_function(), don't
15366 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15368 * plugins/elements/gsttee.c: (gst_tee_do_push),
15369 (gst_tee_handle_buffer):
15370 Always prefer an actual return value from a src
15371 pad in place of NOT_LINKED. This means we return
15372 WRONG_STATE when all src pads are WRONG_STATE
15373 instead of NOT_LINKED.
15375 Lock when replacing the last message to prevent
15376 racing with the get_property method.
15380 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15382 * tests/check/Makefile.am:
15383 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15385 Add a very simple check that should have caught the memleak I fixed
15386 last night (if not for the slice allocator hiding it)
15388 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15390 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15391 (gst_bin_remove_func), (gst_bin_handle_message_func),
15392 (bin_query_duration_fold), (bin_query_generic_fold):
15393 Clean up references to the clock provider when disposed or when
15394 handling a clock-lost message from it.
15396 Unref sinks when performing a query via gst_iterator_fold, as the
15397 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15399 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15400 (gst_clock_set_master):
15401 Drop our reference to the master clock, if any, when we are disposed.
15403 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15404 Chain up in dispose.
15406 2006-01-26 Wim Taymans <wim@fluendo.com>
15408 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15409 Add some debugging.
15411 2006-01-26 Julien MOUTTE <julien@moutte.net>
15413 * plugins/elements/gsttee.c: (gst_tee_do_push),
15414 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15415 handles pad being NOT_LINKED or in WRONG_STATE.
15417 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15422 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15425 remove obsolete entry
15427 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15429 * docs/gst/gstreamer-sections.txt:
15430 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15431 (gst_bin_iterate_sources), (gst_bin_send_event):
15433 * gst/gstelement.c: (gst_element_send_event):
15435 * gst/gstpad.c: (gst_pad_send_event):
15436 added code for downstream events, reviewed docs in gstevent.c
15438 2006-01-25 Julien MOUTTE <julien@moutte.net>
15440 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15441 We only query position using the clock in the playing state.
15442 Query peer in the other cases.
15443 * win32/common/config.h: Updates.
15445 2006-01-24 Wim Taymans <wim@fluendo.com>
15447 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15448 A clock entry that is scheduled for the exact time of the
15449 clock is still in time.
15451 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15452 (gst_base_sink_do_sync):
15453 Add some more debug info.
15455 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15458 Add new vs7 project files and solution.
15460 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15463 all files removed as they were out-dated.
15465 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15467 * docs/random/release:
15469 * gst/gstbin.c: (gst_bin_init):
15470 * gst/gstbus.c: (gst_bus_new):
15472 * gst/gstpipeline.c: (gst_pipeline_init):
15473 use gst_bus_new(), improve logging, fix docs
15474 * win32/common/config.h:
15475 update for cvs build
15477 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15480 up required version of automake to 1.7
15482 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15484 * win32/common/libgstreamer.def:
15485 export gst_buffer_is_metadata_writable
15487 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15489 * docs/gst/gstreamer-sections.txt:
15491 Add gst_event_replace() (#327001)
15493 2006-01-20 Wim Taymans <wim@fluendo.com>
15495 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15496 Make it actually compile too..
15498 2006-01-20 Wim Taymans <wim@fluendo.com>
15501 Clarify behaviour of _is_equal() when passing NULL parameters.
15503 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15504 (gst_pad_set_caps):
15505 Cleanups. Don't unref NULL caps.
15506 When setting the same caps, protect caps of the pad with
15508 Use full functionality of _is_equal() when comparing caps.
15510 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15512 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15513 Don't loop infinitely if there are no buffers to present. Partially
15514 fixes #327197, but collectpads is just broken for reusing elements
15515 to do multiple encodes atm.
15517 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15519 * tools/gst-inspect.c: (print_element_features):
15520 * tools/gst-xmlinspect.c: (main):
15521 URL_HANDLER is not a plugin feature we can search for in
15524 2006-01-19 Edward Hervey <edward@fluendo.com>
15526 * gst/gstelement.c: (gst_element_pads_activate):
15527 When activating, do src pads first, then sink pads.
15528 When de-activating, do sink pads first, then src pads.
15530 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15532 * docs/gst/gstreamer-sections.txt:
15533 Add gst_index_add_associationv to the docs
15535 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15540 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15541 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15542 Do some refactoring. Doesn't actually change functionality,
15543 but makes landing the DRAIN event easier later.
15545 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15547 * docs/pwg/advanced-scheduling.xml:
15548 Update from 0.9.x to 0.10 API and make example a bit
15551 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15553 * docs/gst/gstreamer-sections.txt:
15554 Add gst_buffer_(is|make)_metadata_writable methods.
15556 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15558 * docs/design/part-sparsestreams.txt:
15559 Update sparse streams doc, hopefully for greater clarity
15561 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15563 * docs/design/part-events.txt:
15564 Remove mention of FILLER events.
15567 * docs/design/part-sparsestreams.txt:
15568 Write some things about using NEWSEGMENT to keep sparse streams
15571 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15573 * gst/gstbin.c: (gst_bin_dispose):
15574 Guard gst_object_unref call against a NULL object (dispose
15575 can theoretically be called multiple times).
15577 2006-01-18 Wim Taymans <wim@fluendo.com>
15579 * gst/gstbin.c: (gst_bin_element_set_state):
15580 * gst/gstclock.c: (gst_clock_id_wait):
15581 Added some more debug info.
15583 * libs/gst/base/gstadapter.c:
15586 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15587 (gst_base_sink_do_sync), (gst_base_sink_chain):
15588 Added some comments.
15590 2006-01-18 Wim Taymans <wim@fluendo.com>
15592 * tests/check/Makefile.am:
15593 * tests/check/elements/fakesink.c: (chain_async_buffer),
15594 (chain_async), (chain_async_return), (GST_START_TEST),
15595 (fakesink_suite), (main):
15596 Added fakesink test that checks prerolling and clipping
15599 * tests/check/gst/gstutils.c: (GST_START_TEST):
15600 Make check run faster so that buildbots don't timeout.
15602 2006-01-18 Wim Taymans <wim@fluendo.com>
15604 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15605 (gst_base_sink_do_sync):
15607 When the sink finishes blocking on the preroll buffer, it can
15608 immediatly render it instead of rendering when the next buffer
15611 2006-01-18 Wim Taymans <wim@fluendo.com>
15613 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15614 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15615 (gst_base_sink_chain):
15617 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15618 Don't store _last_stop if the buffer is dropped.
15620 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15622 * plugins/elements/gsttypefindelement.c:
15623 (gst_type_find_element_class_init):
15624 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15625 object method handler that sets the caps on the pad and we want
15626 that to happen before we emit the signal (fixes e.g. feeding a
15627 plain text file to decodebin).
15629 2006-01-18 Christian Schaller <Christian@fluendo.com>
15631 * gst/gstplugin.c: Add MPL and Proprietary as license options
15633 2006-01-18 Andy Wingo <wingo@pobox.com>
15635 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15636 symbol was exported before, it appears this was just an oversight.
15638 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15640 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15641 prototype to gint. OK since this prototype was not in the header.
15643 2006-01-17 Andy Wingo <wingo@pobox.com>
15645 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15646 registry while we remove plugins.
15648 * tools/gst-inspect.c (print_element_info): Don't unref the
15649 factory arg, that should be the responsibility of whatever code
15650 received the ref. Fixes a double-free when called from
15651 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15652 (main): Unref the factory if we have one.
15653 (print_element_list): No change -- relies on the
15654 plugin_feature_list_free to free the list of features.
15656 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15658 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15659 (gst_buffer_make_metadata_writable):
15661 * libs/gst/base/gstbasetransform.c:
15662 (gst_base_transform_prepare_output_buf):
15663 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15664 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15665 Replace gst_buffer_(make|is)_metadata_writable patch now
15666 that the release is out.
15668 2006-01-17 Andy Wingo <wingo@pobox.com>
15670 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15671 in the present tense without reference to versions.
15673 * gst/gstregistry.c (gst_registry_add_plugin)
15674 (gst_registry_remove_plugin, gst_registry_remove_feature)
15675 (gst_registry_find_feature, gst_registry_get_feature_list)
15676 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15677 (gst_registry_lookup, gst_registry_scan_path)
15678 (_gst_registry_remove_cache_plugins)
15679 (gst_registry_get_feature_list_by_plugin): Add argument
15682 === release 0.10.2 ===
15684 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15687 releasing 0.10.2, "If man is five"
15689 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15693 * libs/gst/base/gstbasetransform.c:
15694 (gst_base_transform_prepare_output_buf):
15695 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15696 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15697 Back out patch until after the release.
15699 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15701 * gst/gstminiobject.c:
15702 Spelling fix in docs.
15703 * ChangeLog - remove conflict indicator
15705 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15707 Reviewed By: Andy Wingo
15709 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15710 (gst_buffer_make_metadata_writable):
15712 Add gst_buffer_(is|make)_metadata_writable as analogues of
15713 gst_buffer_(is|make)_writable.
15715 * libs/gst/base/gstbasetransform.c:
15716 (gst_base_transform_prepare_output_buf):
15717 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15718 Use name gst_buffer_(is|make)_metadata_writable functions.
15720 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15721 Test gst_buffer_(is|make)_metadata_writable
15725 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15727 * docs/manual/Makefile.am:
15728 don't do parallel make
15731 * win32/common/config.h.in:
15732 add generations for HOST_CPU and GST_MAJORMINOR
15733 * win32/common/config.h:
15734 commit generated result
15736 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15738 * docs/manual/appendix-integration.xml:
15739 Update GNOME integration section to use gst_init_get_option_group()
15740 instead of the old popt stuff (#322911). Also, GNOME applications
15741 should now use gconf*sink and gconf*src instead of the old gconf
15744 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15747 * docs/gst/gstreamer-docs.sgml:
15748 * docs/gst/gstreamer-sections.txt:
15749 * docs/libs/gstreamer-libs-sections.txt:
15750 add new API entries to the docs
15751 * libs/gst/controller/Makefile.am:
15752 * libs/gst/controller/gstcontroller.c:
15753 * libs/gst/controller/gstcontroller.h:
15754 * libs/gst/controller/gstcontrollerprivate.h:
15755 * libs/gst/controller/gsthelper.c:
15756 * libs/gst/controller/gstinterpolation.c:
15757 move private structs to private header
15759 gstreamer-0.7 -> gstreamer-0.10
15760 * tests/check/libs/struct_i386.h:
15761 remove private structs
15763 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15765 * plugins/indexers/Makefile.am:
15766 Fixes as part of #317048
15768 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15770 * plugins/indexers/Makefile.am:
15771 fix #316086 - compilation when mmap is missing
15773 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15775 * libs/gst/base/gstbasesink.c:
15776 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15777 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15778 * win32/common/config.h:
15779 added some defines GST_MAJORMINOR and HOST_CPU
15780 * win32/common/libgstbase.def:
15781 * win32/common/libgstreamer.def:
15782 added some exported functions.
15784 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15786 * libs/gst/controller/gstcontroller.c:
15787 (gst_controlled_property_set_interpolation_mode),
15788 (gst_controlled_property_new):
15789 * libs/gst/controller/gstcontroller.h:
15790 * libs/gst/controller/gstinterpolation.c:
15791 (interpolate_none_get_string_value_array):
15792 make G_TYPE_STRING controlable
15794 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15797 * tools/gst-feedback.1.in:
15798 * tools/gst-inspect.1.in:
15799 * tools/gst-launch.1.in:
15800 * tools/gst-md5sum.1.in:
15801 * tools/gst-typefind.1.in:
15802 * tools/gst-xmlinspect.1.in:
15803 * tools/gst-xmllaunch.1.in:
15804 cleanup man-pages, remove reference to gst-register, document env-vars
15806 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15808 * gst/gstbuffer.c: (gst_buffer_span):
15809 gst_buffer_span should copy the timestamp of the first buffer
15810 if they were both originally overlapping subbuffers of the
15811 same parent, using the same logic as the 'slow copy' case.
15813 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15815 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15816 Need to awaken ALL the pads when we pop a buffer, otherwise
15817 collectpads only works when there is 2 input streams.
15819 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15821 * docs/random/ensonic/media-device-daemon.txt:
15824 fix doc example, add clarification
15825 * tools/gst-launch.1.in:
15826 add initial info about GST_PLUGIN_PATH, needs more work
15828 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15830 * docs/manual/basics-bins.xml:
15831 * docs/manual/basics-elements.xml:
15832 * docs/manual/intro-basics.xml:
15833 Some more minor docs additions and updates.
15835 2006-01-11 Wim Taymans <wim@fluendo.com>
15837 * docs/manual/basics-bins.xml:
15838 * docs/manual/basics-elements.xml:
15839 Some small fixes as pointed out by Ser-ver on IRC.
15841 2006-01-10 Edward Hervey <edward@fluendo.com>
15843 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15844 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15845 the single-segment mode.
15847 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15849 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15851 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15852 (gst_base_src_perform_seek), (gst_base_src_send_event),
15853 (gst_base_src_set_property), (gst_base_src_get_property),
15854 (gst_base_src_loop), (gst_base_src_start),
15855 (gst_base_src_activate_push):
15856 * libs/gst/base/gstbasesrc.h:
15857 Name (private) union; makes Sun's Forte compiler happy (#324900).
15859 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15862 gst-register is gone.
15864 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15866 * gst/gstvalue.c: (_gst_value_initialize):
15867 make the G_TYPE_DATE instantiation work if debug is disabled
15869 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
15871 * gst/gstmessage.c: (gst_message_parse_tag),
15872 (gst_message_parse_error), (gst_message_parse_warning):
15873 Don't crash when return location for error/warning debug
15874 string is NULL; add fact that return locations can be
15875 NULL to docs where appropriate.
15877 2006-01-05 Wim Taymans <wim@fluendo.com>
15879 * gst/gstplugin.c: (gst_plugin_load_file):
15880 Replace strdup by g_strdup.
15882 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15884 * docs/pwg/advanced-types.xml:
15887 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15889 submitted by: Abel Cheung
15893 Added Chinese (traditional) translation
15895 2006-01-04 Wim Taymans <wim@fluendo.com>
15897 * docs/manual/basics-pads.xml:
15898 * docs/plugins/Makefile.am:
15899 * docs/plugins/gstreamer-plugins-docs.sgml:
15900 * docs/plugins/gstreamer-plugins-sections.txt:
15901 * docs/pwg/advanced-clock.xml:
15902 * docs/pwg/advanced-scheduling.xml:
15903 * docs/pwg/advanced-types.xml:
15904 * plugins/elements/gstfdsink.c:
15905 * plugins/elements/gstfdsrc.c:
15906 * plugins/elements/gstfdsrc.h:
15907 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15908 * plugins/elements/gstidentity.h:
15909 * plugins/elements/gstqueue.h:
15910 * plugins/elements/gsttee.c:
15911 * plugins/elements/gsttee.h:
15912 * plugins/elements/gsttypefindelement.c:
15913 (gst_type_find_element_class_init):
15914 * plugins/elements/gsttypefindelement.h:
15915 Small updates to various docs.
15916 Added core plugins to docs.
15918 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15921 add a suppression for liboil's uninitialized variable
15923 2006-01-02 James Livingston <jrl at ids dot org dot au>
15925 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15928 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15929 macro, so that gcc doesn't complain if the -Wmissing-prototypes
15930 compiler switch is being used (#325429).
15932 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
15934 * gst/gstbin.c: (gst_bin_query):
15935 Disable duration query caching in bins until it gets
15936 fixed (see #324807).
15938 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
15940 * tools/gst-inspect.c: (print_element_properties_info):
15941 Handle properties of POINTER and BOXED type.
15943 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
15945 * gst/gst.c: (init_post):
15946 Init tags stuff and some other things before loading
15947 any static plugins (there may be other static plugins
15948 than just the GStreamer ones, and they may want to
15949 register their own tags or formats or whatever, and
15950 preferably without segfaulting).
15952 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15953 Print at least a warning in the debug logs if we drop a
15954 query just because we don't know how to adjust the value
15955 in the particular format.
15957 2005-12-24 David Schleef <ds@schleef.org>
15959 * tools/gstreamer-completion:
15960 Replacement for gst-complete written in sh and sed. Only
15961 completes names of features, but that's 90% of what I want
15962 it for. Properties are not available in registry.xml. (Maybe
15965 === release 0.10.1 ===
15967 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
15970 releasing 0.10.1, "Nollaig chridheil"
15972 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
15974 * docs/faq/cvs.xml:
15975 Add missing quote, should be make ERROR_CFLAGS="".
15977 2005-12-20 Wim Taymans <wim@fluendo.com>
15979 * docs/design/part-trickmodes.txt:
15980 More documentation on trickmodes.
15982 2005-12-20 Edward Hervey <edward@fluendo.com>
15984 * gst/gstcaps.c: (gst_static_caps_get_type):
15986 API addition: GST_TYPE_STATIC_CAPS
15987 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
15988 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
15989 * gst/gstpadtemplate.h:
15990 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
15991 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
15994 2005-12-18 Wim Taymans <wim@fluendo.com>
15996 * libs/gst/base/gstadapter.c:
15997 * libs/gst/base/gstadapter.h:
15998 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15999 (gst_base_sink_get_position):
16000 * libs/gst/base/gstbasesink.h:
16001 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16002 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16003 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16004 (gst_base_src_send_event), (gst_base_src_update_length),
16005 (gst_base_src_get_range), (gst_base_src_loop),
16006 (gst_base_src_start):
16007 * libs/gst/base/gstbasesrc.h:
16008 * libs/gst/base/gstbasetransform.h:
16009 * libs/gst/base/gstcollectpads.h:
16010 * libs/gst/base/gstpushsrc.c:
16011 * libs/gst/base/gstpushsrc.h:
16012 * libs/gst/dataprotocol/dataprotocol.c:
16013 * libs/gst/dataprotocol/dataprotocol.h:
16014 * libs/gst/net/gstnetclientclock.h:
16015 * libs/gst/net/gstnettimeprovider.h:
16016 Documentation updates.
16018 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16020 * docs/manual/basics-helloworld.xml:
16021 Remove superfluous closing bracket in helloworld example.
16023 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16025 * tools/gst-launch.1.in:
16026 Update gst-launch man page; add a section with useful
16027 environment variables. Fixes #323882.
16029 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16032 * gst/gst_private.h:
16033 change some char* into char[]
16035 2005-12-16 Wim Taymans <wim@fluendo.com>
16037 * gst/gstregistryxml.c: (load_feature):
16039 Don't use g_object_unref on GstObjects so that we avoid
16040 leaks on unsafe glibs.
16042 2005-12-16 Wim Taymans <wim@fluendo.com>
16044 * gst/gstbin.c: (gst_bin_recalc_state):
16047 2005-12-16 Wim Taymans <wim@fluendo.com>
16049 * common/check.mak:
16050 Added make forever target for check.
16052 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16054 * gst/gst.c: (init_post):
16055 make the registry cache file HOST_CPU-dependent
16057 2005-12-16 Andy Wingo <wingo@pobox.com>
16059 * plugins/elements/gstbufferstore.c
16060 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16063 * tests/check/gst/gstobject.c
16064 (test_fake_object_name_threaded_unique): Pay attention to
16065 g_list_sort return value.
16067 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16069 * tools/gst-feedback-m.m:
16070 Update for 0.9/0.10 (fixes #323870).
16072 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16074 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16075 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16077 * tests/check/gst/gstminiobject.c: (my_foo_init),
16078 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16079 (test_value_collection), (gst_mini_object_suite):
16080 Add test to ensure refcounts end up as expected when passing
16081 GstMiniObjects through g_object_get() and g_object_set().
16083 2005-12-14 Julien MOUTTE <julien@moutte.net>
16085 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16086 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16087 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16088 of collectpads. This version removes a lot of races without
16089 touching API/ABI. Yay !
16091 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16093 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16094 Don't allow activation of a srcpad in pull_range if it has no
16096 Change some debug statements to be a little clearer
16098 * plugins/elements/gsttypefindelement.c:
16099 (gst_type_find_handle_src_query):
16100 Check that we have a peer before executing queries thereupon.
16102 * tests/examples/metadata/read-metadata.c: (message_loop):
16103 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16104 immediately return us any available message with 0 timeout.
16106 2005-12-12 Michael Smith <msmith@fluendo.com>
16108 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16109 Don't unref factories after calling them.
16110 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16111 * plugins/elements/gsttypefindelement.c:
16112 (gst_type_find_element_chain):
16113 Free lists of factories after using them. Fixing typefinding memory
16116 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16118 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16119 (gst_plugin_feature_load):
16120 more meaningful debug output
16122 * tests/Makefile.am:
16123 * tests/old/examples/Makefile.am:
16124 make make distcheck happy again
16126 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16128 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16129 Catch the special case where we are operating chain-based,
16130 but the downstream peer pad has no chain function. Emit a
16131 custom error message in this case instead of letting the
16132 core generate one implying that this is some sort of core
16133 bug. It's not, it just means that whatever got plugged
16134 into the pipeline downstream when we announced the type
16135 can only operate pull-based, while our source can only
16136 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16137 Error string has not been marked for translation yet, as
16138 it probably needs some more work first.
16140 (gst_type_find_element_get_best_possibility):
16141 Add helper function to find the best of all available
16142 found possibilities that qualify given the min. threshold.
16144 (gst_type_find_element_handle_event):
16145 Fix the case where we get an EOS while still in TYPEFIND
16146 mode (we want to chose the best of all possible types,
16147 not just the first type that happens to be in our unsorted
16148 list of possible types).
16150 (gst_type_find_element_chain):
16151 Make sure we return GST_FLOW_ERROR when we errored out
16152 in stop_typefinding(); also, don't just find the best of
16153 all found type entries and then use the last examined
16154 type entry, but actually use the best entry.
16156 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16158 * tests/examples/typefind/typefind.c: (type_found):
16159 * tests/examples/xml/runxml.c: (xml_loaded):
16160 More gcc4 fixes and a mem leak fix.
16162 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16164 * tests/examples/xml/createxml.c: (object_saved):
16167 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16169 * tests/Makefile.am:
16170 enable the examples even more
16172 2005-12-12 Andy Wingo <wingo@pobox.com>
16174 * libs/gst/net/gstnettimeprovider.c
16175 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16176 (gst_net_time_provider_set_property)
16177 (gst_net_time_provider_get_property):
16178 API addition: Export "active" as a GObject property.
16179 (gst_net_time_provider_thread): Only respond to time queries if
16180 the time provider is active.
16182 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16183 NetTimeProvider, preserving binary compat.
16185 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16187 * tests/examples/controller/audio-example.c: (main):
16188 * tests/examples/launch/Makefile.am:
16189 convert comments again
16191 2005-12-12 Wim Taymans <wim@fluendo.com>
16193 * libs/gst/base/gstpushsrc.c:
16196 2005-12-12 Wim Taymans <wim@fluendo.com>
16198 * docs/libs/gstreamer-libs-sections.txt:
16199 Added new symbol to docs.
16201 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16202 (gst_base_src_init), (gst_base_src_set_format),
16203 (gst_base_src_default_query), (gst_base_src_query),
16204 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16205 (gst_base_src_perform_seek), (gst_base_src_send_event),
16206 (gst_base_src_default_event), (gst_base_src_event_handler),
16207 (gst_base_src_set_property), (gst_base_src_get_property),
16208 (gst_base_src_wait), (gst_base_src_do_sync),
16209 (gst_base_src_update_length), (gst_base_src_get_range),
16210 (gst_base_src_check_get_range), (gst_base_src_loop),
16211 (gst_base_src_default_negotiate), (gst_base_src_start),
16212 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16213 (gst_base_src_change_state):
16214 * libs/gst/base/gstbasesrc.h:
16215 Implement seeking to other formats than _BYTES.
16216 Implement more seeking methods correctly.
16218 Added query vmethod.
16219 Added do_seek vmethod to make life easier for subclasses
16221 API addition: gst_base_src_set_format()
16223 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16225 * tests/examples/Makefile.am:
16228 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16231 * docs/random/ensonic/media-device-daemon.txt:
16232 * tests/examples/controller/.cvsignore:
16233 * tests/examples/controller/Makefile.am:
16234 * tests/examples/controller/audio-example.c: (main):
16235 * tests/examples/helloworld/.cvsignore:
16236 * tests/examples/helloworld/Makefile.am:
16237 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16238 * tests/examples/launch/.cvsignore:
16239 * tests/examples/launch/Makefile.am:
16240 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16241 * tests/examples/metadata/.cvsignore:
16242 * tests/examples/metadata/Makefile.am:
16243 * tests/examples/metadata/read-metadata.c: (message_loop),
16244 (make_pipeline), (print_tag), (main):
16245 * tests/examples/queue/.cvsignore:
16246 * tests/examples/queue/Makefile.am:
16247 * tests/examples/queue/queue.c: (event_loop), (main):
16248 * tests/examples/typefind/.cvsignore:
16249 * tests/examples/typefind/Makefile.am:
16250 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16252 * tests/examples/xml/.cvsignore:
16253 * tests/examples/xml/Makefile.am:
16254 * tests/examples/xml/createxml.c: (object_saved), (main):
16255 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16256 * tests/old/examples/Makefile.am:
16257 * tests/old/examples/TODO:
16258 * tests/old/examples/controller/.cvsignore:
16259 * tests/old/examples/controller/Makefile.am:
16260 * tests/old/examples/controller/audio-example.c:
16261 * tests/old/examples/helloworld/.cvsignore:
16262 * tests/old/examples/helloworld/Makefile.am:
16263 * tests/old/examples/helloworld/helloworld.c:
16264 * tests/old/examples/launch/.cvsignore:
16265 * tests/old/examples/launch/Makefile.am:
16266 * tests/old/examples/launch/mp3parselaunch.c:
16267 * tests/old/examples/launch/mp3play:
16268 * tests/old/examples/manual/Makefile.am:
16269 * tests/old/examples/metadata/Makefile.am:
16270 * tests/old/examples/metadata/read-metadata.c:
16271 * tests/old/examples/queue/.cvsignore:
16272 * tests/old/examples/queue/Makefile.am:
16273 * tests/old/examples/queue/queue.c:
16274 * tests/old/examples/typefind/.cvsignore:
16275 * tests/old/examples/typefind/Makefile.am:
16276 * tests/old/examples/typefind/typefind.c:
16277 * tests/old/examples/xml/.cvsignore:
16278 * tests/old/examples/xml/Makefile.am:
16279 * tests/old/examples/xml/createxml.c:
16280 * tests/old/examples/xml/runxml.c:
16281 applied some simple fixing to some examples
16282 re-enabled the working examples
16284 2005-12-12 Wim Taymans <wim@fluendo.com>
16286 * gst/gstsegment.c: (gst_segment_init),
16287 (gst_segment_set_last_stop), (gst_segment_set_seek),
16288 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16289 (gst_segment_to_running_time):
16290 Added more documentation.
16291 Make sure the last_pos value is updated properly.
16292 Make sure to_stream_time and to_running_time don't
16293 operate on wrong values.
16295 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16298 2005-12-12 Michael Smith <msmith@fluendo.com>
16300 * plugins/elements/gsttypefindelement.c: (free_entry),
16301 (gst_type_find_element_chain):
16302 Now that we're not leaking factories, make sure we keep references
16303 to them while we need them.
16305 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16307 * tests/check/gst/struct_i386.h:
16308 ifdef out the XML structs
16310 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16312 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16313 floor is not needed, F is always positive; this obviates the
16314 need for adding -lm when building without libxml
16316 2005-12-12 Wim Taymans <wim@fluendo.com>
16318 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16319 Take current playback rate into account when reporting
16322 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16324 * docs/manual/mime-world.fig:
16325 Let's try this again, this time with a file that is
16326 actually in XFig format.
16328 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16330 * docs/manual/mime-world.fig:
16331 Add audioconvert element to diagram so that it
16332 matches the text and the code (fixes #319526).
16334 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16336 * docs/pwg/building-chainfn.xml:
16337 * docs/pwg/building-pads.xml:
16338 * docs/pwg/building-state.xml:
16339 * docs/pwg/other-source.xml:
16340 Update state change stuff for 0.10 (fixes #322969).
16342 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16344 * docs/manual/advanced-dataaccess.xml:
16345 * docs/manual/appendix-checklist.xml:
16346 * docs/manual/appendix-programs.xml:
16347 * docs/manual/basics-pads.xml:
16348 * docs/manual/highlevel-components.xml:
16349 * docs/manual/manual.xml:
16350 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16351 add converters in front of pipelines; remove curly
16352 brackets for threads stuff, they no longer exist; use
16353 GST_TYPE_FRACTION for framerates; update some pieces of
16354 code to 0.10, but there's plenty more to do.
16356 * docs/manual/appendix-porting.xml:
16357 Expand on asynchroneous state changes; s/0.9/0.10/;
16358 mention disappearance of gst_init_get_popt_table()
16361 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16363 * docs/faq/using.xml:
16364 Spider no longer exists, and neither does gst-launch-ext.
16365 Update examples to use decodebin and playbin and put
16366 converters in front of sinks (fixes #323726).
16368 2005-12-09 Michael Smith <msmith@fluendo.com>
16370 * plugins/elements/gsttypefindelement.c: (find_peek),
16371 (gst_type_find_element_chain):
16372 Fix leaking element factories in typefinding.
16373 Fix problem where we forgot about a probable type on non-seekable
16374 files, and thus later mis-typefound it.
16376 2005-12-09 Michael Smith <msmith@fluendo.com>
16378 * common/m4/gst-makecontext.m4:
16379 * common/m4/gst-mcsc.m4:
16381 * win32/common/config.h:
16382 * win32/common/config.h.in:
16383 Remove makecontext stuff; not used in 0.10 and causes problems on
16384 HPUX according to bug #322441
16386 2005-12-07 Wim Taymans <wim@fluendo.com>
16388 * tests/check/Makefile.am:
16389 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16391 * tests/check/libs/struct_i386.h:
16392 Added ABI check for libs
16394 2005-12-07 Wim Taymans <wim@fluendo.com>
16396 * tests/check/Makefile.am:
16397 And add the struct_i386.h to dist.
16399 2005-12-07 Wim Taymans <wim@fluendo.com>
16401 * tests/check/Makefile.am:
16402 * tests/check/gst/.cvsignore:
16403 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16405 * tests/check/gst/struct_i386.h:
16406 Added check for ABI compatibility.
16408 2005-12-07 Wim Taymans <wim@fluendo.com>
16410 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16411 (gst_fake_src_get_times), (gst_fake_src_create):
16412 Fix broken sync option, fixes #323259
16414 2005-12-07 Wim Taymans <wim@fluendo.com>
16419 * gst/gstcaps.c: (gst_caps_is_equal):
16420 Don't assert on NULL <--> X. Fixes #323260
16422 * gst/gstminiobject.c: (gst_mini_object_replace):
16423 If we're doing atomic operations, we might just as well use
16424 the proper way to get an atomic pointer.
16426 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16427 Clean up debugging.
16429 2005-12-07 Michael Smith <msmith@fluendo.com>
16431 * gst/parse/grammar.y:
16432 Remove handling of { } for threads.
16434 2005-12-06 David Schleef <ds@schleef.org>
16436 * libs/gst/base/gstbasetransform.c: speling fix.
16438 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16440 * docs/libs/tmpl/gstdataprotocol.sgml:
16441 * docs/random/omega/testing/gstobject.c:
16444 * gst/gstelement.c:
16445 * gst/gstelementfactory.c:
16448 * gst/gstghostpad.c:
16450 * gst/gstpadtemplate.c:
16451 * gst/gstregistryxml.c:
16452 * gst/gsttaglist.c:
16453 * gst/gsttagsetter.c:
16454 * gst/gsttypefind.c:
16456 * libs/gst/base/gstbasesrc.c:
16457 * libs/gst/net/gstnetclientclock.c:
16458 * libs/gst/net/gstnettimeprovider.c:
16459 * plugins/elements/gstfakesrc.c:
16460 * plugins/elements/gstfdsrc.c:
16461 * plugins/elements/gstfilesrc.c:
16462 * plugins/elements/gstidentity.c:
16463 * plugins/elements/gstqueue.c:
16464 * plugins/elements/gsttypefindelement.c:
16465 * plugins/indexers/gstfileindex.c:
16466 * plugins/indexers/gstmemindex.c:
16467 * tests/check/gst/gsttag.c:
16468 * tests/old/examples/cutter/cutter.c:
16469 * tests/old/examples/mixer/mixer.c:
16470 * tests/old/examples/xml/runxml.c: (main):
16471 * tests/old/testsuite/caps/normalisation.c:
16472 * tests/old/testsuite/debug/global.c:
16473 * tests/old/testsuite/parse/parse1.c:
16474 * tools/gst-xmlinspect.c:
16475 * win32/common/dirent.c:
16478 === release 0.10.0 ===
16480 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16483 releasing 0.10.0, "Maroilles"
16485 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16487 submitted by: Funda Wang <fundawang@linux.net.cn>
16491 added Chinese (Traditional) translation
16493 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16495 * docs/gst/gstreamer-sections.txt:
16496 * docs/libs/tmpl/gstdataprotocol.sgml:
16497 * docs/random/thomasvs/TODO:
16502 2005-12-05 Andy Wingo <wingo@pobox.com>
16504 patch by: Wim Taymans <wim@fluendo.com>
16506 * libs/gst/base/gstbasetransform.c
16507 (gst_base_transform_prepare_output_buf)
16508 (gst_base_transform_buffer_alloc):
16509 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16510 alloc_buffer_and_set_caps.
16512 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16513 set_caps on the source pad.
16514 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16515 alloc_buffer used to do. Fixes #322874.
16517 * docs/gst/gstreamer-sections.txt:
16518 * docs/design/part-negotiation.txt:
16519 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16522 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16524 patch by: Sebastien Moutte
16527 * win32/common/config.h.in:
16528 * win32/vs6/libgstcontroller.dsp:
16531 2005-12-05 Wim Taymans <wim@fluendo.com>
16533 * gst/gstcaps.c: (gst_caps_is_equal):
16534 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16535 (gst_fake_src_create):
16536 Back out previous code changes, leave doc updates, file bugs
16539 2005-12-05 Wim Taymans <wim@fluendo.com>
16541 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16542 (gst_fake_src_get_times), (gst_fake_src_create):
16543 * plugins/elements/gstfakesrc.h:
16544 Fix broken sync code.
16546 2005-12-05 Wim Taymans <wim@fluendo.com>
16548 * gst/gstcaps.c: (gst_caps_is_equal):
16549 Comparing NULL against !NULL yields different caps, not a
16552 2005-12-05 Wim Taymans <wim@fluendo.com>
16554 * gst/gstpipeline.c:
16555 Fix small typo in docs.
16557 2005-12-05 Andy Wingo <wingo@pobox.com>
16559 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16561 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16562 registries/plugins with a MAJORMINOR one.
16563 (plugin_desc): Rename library from gstcoreleements to
16564 staticelements. Fixes #323222.
16566 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16568 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16569 Change debug category to 'collectpads' from 'collect_pads'
16572 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16574 patch by: Sebastien Moutte
16576 * libs/gst/controller/gstinterpolation.c:
16577 use convert function for uint64/double
16578 * win32/vs6/libgstcontroller.dsp:
16581 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16583 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16584 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16586 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16587 add tests that seem to show that the guint64/gdouble conversions
16590 2005-12-02 Wim Taymans <wim@fluendo.com>
16592 * gst/gstregistry.c: (gst_registry_add_path):
16593 * gst/gstregistry.h:
16594 * gst/gstregistryxml.c:
16597 2005-12-02 Wim Taymans <wim@fluendo.com>
16599 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16600 (gst_util_uint64_scale_int):
16603 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16604 Add debug log line.
16606 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16609 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16612 * win32/common/config.h:
16613 * win32/vs6/gstreamer.dsw:
16614 * win32/vs6/libgstcoreelements.dsp:
16615 * win32/vs6/libgstelements.dsp:
16616 renamed core elements plugin
16618 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16620 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16622 do piece-wise major/minor comparison so 0.9 < 0.10
16623 also allow .exe extensions for tools
16625 2005-12-02 Michael Smith <msmith@fluendo.com>
16628 Escape a % to make gtkdoc happier; bug 322958.
16630 === release 0.9.7 ===
16632 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16635 releasing 0.9.7, "My Dog Has No Nose"
16637 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16639 * common/gst-xmlinspect.py:
16641 * docs/libs/tmpl/gstdataprotocol.sgml:
16642 * docs/random/release:
16661 * win32/common/config.h:
16662 * win32/common/config.h.in:
16663 * win32/vs6/gst_inspect.dsp:
16664 * win32/vs6/gst_launch.dsp:
16665 * win32/vs6/libgstbase.dsp:
16666 * win32/vs6/libgstelements.dsp:
16667 * win32/vs6/libgstreamer.dsp:
16668 * win32/vs7/GStreamer.vcproj:
16669 * win32/vs7/gst-inspect.vcproj:
16670 * win32/vs7/gst-launch.vcproj:
16671 * win32/vs7/libgstbase.vcproj:
16672 bump GST_MAJORMINOR to 0.10
16673 reset libtool version
16675 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16679 Added Bulgarian translation by (Alexander Shopov)
16681 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16683 * tests/check/gst/gstplugin.c:
16686 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16688 * common/gst-xmlinspect.py:
16689 * common/gtk-doc-plugins.mak:
16691 * docs/Makefile.am:
16692 * docs/gst/Makefile.am:
16693 * docs/gst/gstreamer-docs.sgml:
16694 * docs/gst/gstreamer-sections.txt:
16695 * docs/gst/gstreamer.types:
16696 * docs/gst/gstreamer.types.in:
16697 * docs/plugins/Makefile.am:
16698 * docs/plugins/gstreamer-plugins-docs.sgml:
16699 * docs/plugins/gstreamer-plugins-sections.txt:
16700 * docs/plugins/gstreamer-plugins.types:
16701 * docs/plugins/inspect.stamp:
16702 * docs/plugins/inspect/plugin-coreelements.xml:
16703 * docs/plugins/inspect/plugin-coreindexers.xml:
16704 * docs/plugins/scanobj-build.stamp:
16705 * gstreamer.spec.in:
16706 * plugins/elements/Makefile.am:
16707 * plugins/elements/gstelements.c:
16708 * plugins/elements/gstfakesink.c:
16709 * plugins/elements/gstfakesrc.c:
16710 * plugins/elements/gstfilesink.c:
16711 * plugins/elements/gstfilesrc.c:
16712 * plugins/elements/gstqueue.c:
16713 * plugins/indexers/Makefile.am:
16714 * plugins/indexers/gstindexers.c:
16715 document core plugins in a separate document just like all the
16717 rename these plugins to something starting with core
16719 2005-12-01 Andy Wingo <wingo@pobox.com>
16721 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16722 padding here before, but it missed the commit.
16724 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16726 * libs/gst/controller/gstinterpolation.c:
16727 whitespace prices have crashed, we should feel free to use some now
16728 use gst_guint64_to_gdouble
16730 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16732 * libs/gst/controller/gstcontroller.c:
16733 * libs/gst/controller/gsthelper.c:
16734 * libs/gst/controller/gstinterpolation.c:
16735 * libs/gst/controller/lib.c:
16736 wrap config.h include
16738 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16740 * docs/gst/gstreamer-sections.txt:
16743 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16745 * plugins/elements/gstelements.c:
16746 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16747 (gst_fd_sink__class_init), (gst_fd_sink__init),
16748 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16749 (gst_fd_sink__get_property):
16750 * plugins/elements/gstfdsink.h:
16751 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16752 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16753 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16754 (gst_fd_src_unlock), (gst_fd_src_set_property),
16755 (gst_fd_src_get_property), (gst_fd_src_create),
16756 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16757 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16758 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16759 (gst_fd_src_uri_handler_init):
16760 * plugins/elements/gstfdsrc.h:
16761 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16764 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16766 * docs/gst/Makefile.am:
16767 * docs/gst/gstreamer.types.in:
16771 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16777 * gst/gstregistry.h:
16778 * tests/benchmarks/complexity.c:
16779 * tests/benchmarks/mass-elements.c:
16780 * tests/check/Makefile.am:
16781 * tools/Makefile.am:
16782 * tools/gst-inspect.c:
16783 * tools/gst-xmlinspect.c:
16784 various fixes to make
16785 --disable-nls --disable-registry --disable-loadsave
16786 --disable-parse --disable-gst-debug
16787 work and get the core .so down to 360444 bytes after stripping
16789 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16794 * docs/random/thomasvs/TODO:
16795 * tests/Makefile.am:
16799 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16801 * win32/GStreamer.vcproj:
16804 * win32/Makefile.inspect:
16805 * win32/Makefile.launch:
16806 * win32/Makefile.register:
16807 * win32/README.txt:
16808 * win32/gst-inspect.vcproj:
16809 * win32/gst-launch.vcproj:
16810 * win32/gst-register.vcproj:
16811 * win32/gstelements.vcproj:
16812 * win32/gstgetbits.def:
16813 * win32/gstgetbits.vcproj:
16814 * win32/gstreamer-dbg.def:
16815 * win32/gstreamer.def:
16816 * win32/libgstbase.def:
16817 * win32/libgstbase.vcproj:
16818 * win32/link_oldruntime.c:
16822 * win32/msvc71.sln:
16823 move even more stuff, win32/ is nice and clean now
16825 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16827 * libs/gst/control/.cvsignore:
16832 * win32/gstbytestream.def:
16833 * win32/gstbytestream.vcproj:
16834 * win32/gstconfig.h:
16835 * win32/gstenumtypes.c:
16836 * win32/gstenumtypes.h:
16837 * win32/gstoptimalscheduler.vcproj:
16838 * win32/gstversion.h:
16840 * win32/testsuite/bins.vcproj:
16841 * win32/testsuite/bytestream.vcproj:
16842 * win32/testsuite/caps.vcproj:
16843 * win32/testsuite/cleanup.vcproj:
16844 * win32/testsuite/clock.vcproj:
16845 * win32/testsuite/debug.vcproj:
16846 * win32/testsuite/dlopen.vcproj:
16847 * win32/testsuite/dynparams.vcproj:
16848 * win32/testsuite/elements.vcproj:
16849 * win32/testsuite/ghostpads.vcproj:
16850 * win32/testsuite/indexers.vcproj:
16851 * win32/testsuite/negotiation.vcproj:
16852 * win32/testsuite/parse.vcproj:
16853 * win32/testsuite/plugin.vcproj:
16854 * win32/testsuite/refcounting.vcproj:
16855 * win32/testsuite/schedulers.vcproj:
16856 * win32/testsuite/states.vcproj:
16857 * win32/testsuite/tags.vcproj:
16858 * win32/testsuite/threads.vcproj:
16859 remove old win32 stuff that isn't maintained and should be
16862 2005-11-30 Andy Wingo <wingo@pobox.com>
16864 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16865 loading the gst.interfaces python module bork.
16867 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16868 available since GLib 2.2. Fixes #318031.
16870 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16873 * check/.cvsignore:
16874 * check/Makefile.am:
16875 * check/elements/.cvsignore:
16876 * check/elements/fakesrc.c:
16877 * check/elements/fdsrc.c:
16878 * check/elements/identity.c:
16879 * check/generic/.cvsignore:
16880 * check/generic/states.c:
16881 * check/gst-libs/.cvsignore:
16882 * check/gst-libs/controller.c:
16883 * check/gst-libs/gdp.c:
16884 * check/gst/.cvsignore:
16885 * check/gst/capslist.h:
16887 * check/gst/gstbin.c:
16888 * check/gst/gstbuffer.c:
16889 * check/gst/gstbus.c:
16890 * check/gst/gstcaps.c:
16891 * check/gst/gstelement.c:
16892 * check/gst/gstevent.c:
16893 * check/gst/gstghostpad.c:
16894 * check/gst/gstiterator.c:
16895 * check/gst/gstmessage.c:
16896 * check/gst/gstminiobject.c:
16897 * check/gst/gstobject.c:
16898 * check/gst/gstpad.c:
16899 * check/gst/gstpipeline.c:
16900 * check/gst/gstplugin.c:
16901 * check/gst/gstsegment.c:
16902 * check/gst/gststructure.c:
16903 * check/gst/gstsystemclock.c:
16904 * check/gst/gsttag.c:
16905 * check/gst/gstutils.c:
16906 * check/gst/gstvalue.c:
16907 * check/net/.cvsignore:
16908 * check/net/gstnetclientclock.c:
16909 * check/net/gstnettimeprovider.c:
16910 * check/pipelines/.cvsignore:
16911 * check/pipelines/cleanup.c:
16912 * check/pipelines/simple_launch_lines.c:
16913 * check/pipelines/stress.c:
16914 * check/states/.cvsignore:
16915 * check/states/sinks.c:
16917 * examples/Makefile.am:
16918 * examples/appreader/.cvsignore:
16919 * examples/appreader/Makefile.am:
16920 * examples/appreader/appreader.c:
16921 * examples/controller/.cvsignore:
16922 * examples/controller/Makefile.am:
16923 * examples/controller/audio-example.c:
16924 * examples/cutter/.cvsignore:
16925 * examples/cutter/Makefile.am:
16926 * examples/cutter/cutter.c:
16927 * examples/cutter/cutter.h:
16928 * examples/events/Makefile.am:
16929 * examples/events/seek.c:
16930 * examples/helloworld/.cvsignore:
16931 * examples/helloworld/Makefile.am:
16932 * examples/helloworld/helloworld.c:
16933 * examples/helloworld2/.cvsignore:
16934 * examples/helloworld2/Makefile.am:
16935 * examples/helloworld2/helloworld2.c:
16936 * examples/launch/.cvsignore:
16937 * examples/launch/Makefile.am:
16938 * examples/launch/mp3parselaunch.c:
16939 * examples/launch/mp3play:
16940 * examples/manual/.cvsignore:
16941 * examples/manual/Makefile.am:
16942 * examples/manual/extract.pl:
16943 * examples/metadata/Makefile.am:
16944 * examples/metadata/read-metadata.c:
16945 * examples/mixer/.cvsignore:
16946 * examples/mixer/Makefile.am:
16947 * examples/mixer/mixer.c:
16948 * examples/mixer/mixer.h:
16949 * examples/pingpong/.cvsignore:
16950 * examples/pingpong/Makefile.am:
16951 * examples/pingpong/pingpong.c:
16952 * examples/plugins/.cvsignore:
16953 * examples/plugins/Makefile.am:
16954 * examples/plugins/example.c:
16955 * examples/plugins/example.h:
16956 * examples/pwg/.cvsignore:
16957 * examples/pwg/Makefile.am:
16958 * examples/pwg/extract.pl:
16959 * examples/queue/.cvsignore:
16960 * examples/queue/Makefile.am:
16961 * examples/queue/queue.c:
16962 * examples/queue2/.cvsignore:
16963 * examples/queue2/Makefile.am:
16964 * examples/queue2/queue2.c:
16965 * examples/queue3/.cvsignore:
16966 * examples/queue3/Makefile.am:
16967 * examples/queue3/queue3.c:
16968 * examples/queue4/.cvsignore:
16969 * examples/queue4/Makefile.am:
16970 * examples/queue4/queue4.c:
16971 * examples/retag/.cvsignore:
16972 * examples/retag/Makefile.am:
16973 * examples/retag/retag.c:
16974 * examples/retag/transcode.c:
16975 * examples/thread/.cvsignore:
16976 * examples/thread/Makefile.am:
16977 * examples/thread/thread.c:
16978 * examples/typefind/.cvsignore:
16979 * examples/typefind/Makefile.am:
16980 * examples/typefind/typefind.c:
16981 * examples/xml/.cvsignore:
16982 * examples/xml/Makefile.am:
16983 * examples/xml/createxml.c:
16984 * examples/xml/runxml.c:
16985 * tests/Makefile.am:
16986 * tests/check/Makefile.am:
16987 * testsuite/.cvsignore:
16988 * testsuite/Makefile.am:
16990 * testsuite/caps/.cvsignore:
16991 * testsuite/caps/Makefile.am:
16992 * testsuite/caps/app_fixate.c:
16993 * testsuite/caps/audioscale.c:
16994 * testsuite/caps/caps.c:
16995 * testsuite/caps/caps.h:
16996 * testsuite/caps/caps_strings:
16997 * testsuite/caps/compatibility.c:
16998 * testsuite/caps/deserialize.c:
16999 * testsuite/caps/enumcaps.c:
17000 * testsuite/caps/eratosthenes.c:
17001 * testsuite/caps/filtercaps.c:
17002 * testsuite/caps/fixed.c:
17003 * testsuite/caps/fraction-convert.c:
17004 * testsuite/caps/fraction-multiply-and-zero.c:
17005 * testsuite/caps/intersect2.c:
17006 * testsuite/caps/intersection.c:
17007 * testsuite/caps/normalisation.c:
17008 * testsuite/caps/random.c:
17009 * testsuite/caps/renegotiate.c:
17010 * testsuite/caps/sets.c:
17011 * testsuite/caps/simplify.c:
17012 * testsuite/caps/string-conversions.c:
17013 * testsuite/caps/structure.c:
17014 * testsuite/caps/subtract.c:
17015 * testsuite/caps/union.c:
17016 * testsuite/debug/.cvsignore:
17017 * testsuite/debug/Makefile.am:
17018 * testsuite/debug/category.c:
17019 * testsuite/debug/commandline.c:
17020 * testsuite/debug/global.c:
17021 * testsuite/debug/output.c:
17022 * testsuite/debug/printf_extension.c:
17023 * testsuite/dlopen/.cvsignore:
17024 * testsuite/dlopen/Makefile.am:
17025 * testsuite/dlopen/dlopen_gst.c:
17026 * testsuite/dlopen/loadgst.c:
17027 * testsuite/elements/.cvsignore:
17028 * testsuite/elements/Makefile.am:
17029 * testsuite/elements/gst-inspect-check.in:
17030 * testsuite/elements/struct_i386.h:
17031 * testsuite/elements/struct_size.c:
17032 * testsuite/indexers/.cvsignore:
17033 * testsuite/indexers/Makefile.am:
17034 * testsuite/indexers/cache1.c:
17035 * testsuite/indexers/indexdump.c:
17036 * testsuite/parse/.cvsignore:
17037 * testsuite/parse/Makefile.am:
17038 * testsuite/parse/parse1.c:
17039 * testsuite/parse/parse2.c:
17040 * testsuite/plugin/.cvsignore:
17041 * testsuite/plugin/Makefile.am:
17042 * testsuite/plugin/README:
17043 * testsuite/plugin/dynamic.c:
17044 * testsuite/plugin/linked.c:
17045 * testsuite/plugin/loading.c:
17046 * testsuite/plugin/registry.c:
17047 * testsuite/plugin/static.c:
17048 * testsuite/plugin/static2.c:
17049 * testsuite/plugin/testplugin.c:
17050 * testsuite/plugin/testplugin2.c:
17051 * testsuite/plugin/testplugin2_s.c:
17052 * testsuite/plugin/testplugin_s.c:
17053 * testsuite/refcounting/.cvsignore:
17054 * testsuite/refcounting/Makefile.am:
17055 * testsuite/refcounting/bin.c:
17056 * testsuite/refcounting/element.c:
17057 * testsuite/refcounting/element_pad.c:
17058 * testsuite/refcounting/mainloop.c:
17059 * testsuite/refcounting/mem.c:
17060 * testsuite/refcounting/mem.h:
17061 * testsuite/refcounting/object.c:
17062 * testsuite/refcounting/pad.c:
17063 * testsuite/refcounting/sched.c:
17064 * testsuite/refcounting/thread.c:
17065 * testsuite/states/.cvsignore:
17066 * testsuite/states/Makefile.am:
17067 * testsuite/states/bin.c:
17068 * testsuite/states/locked.c:
17069 * testsuite/states/parent.c:
17070 * testsuite/threads/.cvsignore:
17071 * testsuite/threads/159566.c:
17072 * testsuite/threads/159852.c:
17073 * testsuite/threads/Makefile.am:
17074 * testsuite/threads/queue.c:
17075 * testsuite/threads/signals.c:
17076 * testsuite/threads/staticrec.c:
17077 * testsuite/threads/thread.c:
17078 * testsuite/threads/threadb.c:
17079 * testsuite/threads/threadc.c:
17080 * testsuite/threads/threadd.c:
17081 * testsuite/threads/threade.c:
17082 * testsuite/threads/threadf.c:
17083 * testsuite/threads/threadg.c:
17084 * testsuite/threads/threadh.c:
17085 * testsuite/threads/threadi.c:
17086 move all of these under tests
17088 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17091 * tests/Makefile.am:
17094 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17096 * docs/gst/gstreamer-sections.txt:
17097 * tests/sched/.cvsignore:
17098 * tests/sched/Makefile.am:
17099 * tests/sched/cases/(fs-fs).xml:
17100 * tests/sched/cases/(fs-i-fs).xml:
17101 * tests/sched/cases/(fs-i-i-fs).xml:
17102 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17103 * tests/sched/dynamic-pipeline.c:
17104 * tests/sched/interrupt1.c:
17105 * tests/sched/interrupt2.c:
17106 * tests/sched/interrupt3.c:
17107 * tests/sched/runtestcases:
17108 * tests/sched/runxml.c:
17109 * tests/sched/sched-stress.c:
17110 * tests/sched/sort.c:
17111 * tests/sched/testcases:
17112 * tests/sched/testcases1.tc:
17113 * tests/seeking/.cvsignore:
17114 * tests/seeking/Makefile.am:
17115 * tests/seeking/seeking1.c:
17116 * tests/threadstate/.cvsignore:
17117 * tests/threadstate/Makefile.am:
17118 * tests/threadstate/test1.c:
17119 * tests/threadstate/test2.c:
17120 * tests/threadstate/threadstate1.c:
17121 * tests/threadstate/threadstate2.c:
17122 * tests/threadstate/threadstate3.c:
17123 * tests/threadstate/threadstate4.c:
17124 * tests/threadstate/threadstate5.c:
17125 remove obsolete tests
17127 * tests/bench-complexity.scm:
17128 * tests/bench-mass_elements.scm:
17129 * tests/complexity.c:
17130 * tests/complexity.gnuplot:
17131 * tests/instantiate/.cvsignore:
17132 * tests/instantiate/Makefile.am:
17133 * tests/instantiate/caps.c:
17134 * tests/mass_elements.c:
17135 * tests/network-clock-utils.scm:
17136 * tests/network-clock.scm:
17138 First pass at cleaning up tests/ dir before moving the rest
17139 Combined with CVS surgery
17141 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17144 queue has moved, update
17146 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17148 * docs/gst/gstreamer-sections.txt:
17149 remove double entries from the docs
17150 * gst/gst_private.h:
17151 * gst/gstinfo.c: (_gst_debug_init):
17152 remove the THREAD debug category
17156 * docs/gst/gstreamer.types:
17157 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17158 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17159 completely move queue and fix up debugging categories
17161 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17163 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17164 make initialization portable, using LL is not
17166 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17168 * win32/common/gstconfig.h:
17171 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17173 * win32/common/libgstreamer.def:
17174 rename symbols; sort base section
17176 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17178 * gst/gstclock.c: (do_linear_regression):
17179 remove crack non-portable handrolled DEBUG macro
17181 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17183 * docs/random/release:
17185 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17186 (gst_object_flags_get_type), (register_gst_bin_flags),
17187 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17188 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17189 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17190 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17191 (gst_caps_flags_get_type), (register_gst_clock_return),
17192 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17193 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17194 (gst_clock_flags_get_type), (register_gst_state),
17195 (gst_state_get_type), (register_gst_state_change_return),
17196 (gst_state_change_return_get_type), (register_gst_state_change),
17197 (gst_state_change_get_type), (register_gst_element_flags),
17198 (gst_element_flags_get_type), (register_gst_core_error),
17199 (gst_core_error_get_type), (register_gst_library_error),
17200 (gst_library_error_get_type), (register_gst_resource_error),
17201 (gst_resource_error_get_type), (register_gst_stream_error),
17202 (gst_stream_error_get_type), (register_gst_event_type_flags),
17203 (gst_event_type_flags_get_type), (register_gst_event_type),
17204 (gst_event_type_get_type), (register_gst_seek_type),
17205 (gst_seek_type_get_type), (register_gst_seek_flags),
17206 (gst_seek_flags_get_type), (register_gst_format),
17207 (gst_format_get_type), (register_gst_index_certainty),
17208 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17209 (gst_index_entry_type_get_type),
17210 (register_gst_index_lookup_method),
17211 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17212 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17213 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17214 (gst_index_flags_get_type), (register_gst_debug_level),
17215 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17216 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17217 (gst_iterator_result_get_type), (register_gst_iterator_item),
17218 (gst_iterator_item_get_type), (register_gst_message_type),
17219 (gst_message_type_get_type), (register_gst_mini_object_flags),
17220 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17221 (gst_pad_link_return_get_type), (register_gst_flow_return),
17222 (gst_flow_return_get_type), (register_gst_activate_mode),
17223 (gst_activate_mode_get_type), (register_gst_pad_direction),
17224 (gst_pad_direction_get_type), (register_gst_pad_flags),
17225 (gst_pad_flags_get_type), (register_gst_pad_presence),
17226 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17227 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17228 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17229 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17230 (gst_plugin_flags_get_type), (register_gst_rank),
17231 (gst_rank_get_type), (register_gst_query_type),
17232 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17233 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17234 (gst_tag_flag_get_type), (register_gst_task_state),
17235 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17236 (gst_alloc_trace_flags_get_type),
17237 (register_gst_type_find_probability),
17238 (gst_type_find_probability_get_type), (register_gst_uri_type),
17239 (gst_uri_type_get_type), (register_gst_parse_error),
17240 (gst_parse_error_get_type):
17241 * win32/common/gstenumtypes.h:
17242 * win32/common/gstversion.h:
17243 update visual studio generated files
17245 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17247 * win32/vs6/libgstbase.dsp:
17248 * win32/vs6/libgstelements.dsp:
17249 update project files for new locations
17251 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17256 reinstate and update
17261 * docs/random/LICENSE:
17264 2005-11-30 Edward Hervey <edward@fluendo.com>
17266 * gst/gsttypefind.c: (gst_type_find_register):
17267 * gst/gsttypefind.h:
17268 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17269 (gst_type_find_factory_dispose):
17270 * gst/gsttypefindfactory.h:
17271 Fix memory leak in GstTypeFindFactory.
17273 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17276 * plugins/elements/Makefile.am:
17277 * plugins/elements/gstelements.c:
17278 * plugins/elements/gstqueue.c:
17279 move queue from core to the elements plugin
17281 2005-11-29 Andy Wingo <wingo@pobox.com>
17283 * libs/gst/base/gstbasetransform.h:
17284 * libs/gst/base/gstbasesrc.h:
17285 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17287 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17288 of pointers by which to pad very extensible base classes (like the
17289 ones in libs/gst/base).
17291 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17293 * docs/gst/gstreamer-docs.sgml:
17294 * docs/gst/gstreamer-sections.txt:
17295 * docs/libs/gstreamer-libs-docs.sgml:
17296 * docs/libs/gstreamer-libs-sections.txt:
17297 moving documentation from core to lib
17299 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17301 * check/Makefile.am:
17303 * docs/gst/Makefile.am:
17305 * gst/base/.cvsignore:
17306 * gst/base/Makefile.am:
17308 * gst/base/gstadapter.c:
17309 * gst/base/gstadapter.h:
17310 * gst/base/gstbasesink.c:
17311 * gst/base/gstbasesink.h:
17312 * gst/base/gstbasesrc.c:
17313 * gst/base/gstbasesrc.h:
17314 * gst/base/gstbasetransform.c:
17315 * gst/base/gstbasetransform.h:
17316 * gst/base/gstcollectpads.c:
17317 * gst/base/gstcollectpads.h:
17318 * gst/base/gstpushsrc.c:
17319 * gst/base/gstpushsrc.h:
17320 * gst/base/gsttypefindhelper.c:
17321 * gst/base/gsttypefindhelper.h:
17322 * gst/check/Makefile.am:
17323 * gst/check/gstcheck.c:
17324 * gst/check/gstcheck.h:
17325 * gst/net/Makefile.am:
17326 * gst/net/gstnet.h:
17327 * gst/net/gstnetclientclock.c:
17328 * gst/net/gstnetclientclock.h:
17329 * gst/net/gstnettimepacket.c:
17330 * gst/net/gstnettimepacket.h:
17331 * gst/net/gstnettimeprovider.c:
17332 * gst/net/gstnettimeprovider.h:
17333 * libs/gst/Makefile.am:
17334 * libs/gst/base/Makefile.am:
17335 * libs/gst/base/gstbasetransform.c:
17336 * libs/gst/check/Makefile.am:
17337 * plugins/elements/Makefile.am:
17339 CVS surgery + support to move base, check, and net out of gst
17342 2005-11-29 Andy Wingo <wingo@pobox.com>
17344 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17346 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17349 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17351 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17353 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17355 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17356 padding; reduces object size by about 30%. We don't expect
17357 anything else to go into gstobject.
17359 * gst/gstminiobject.h (struct _GstMiniObject)
17360 (struct _GstMiniObjectClass): Only one pointer of padding; the
17361 payload is only a pointer and two ints anyway. For the class there
17362 are only two methods as well.
17364 * gst/gstelement.h (struct _GstElementClass): Removed
17365 the state_changed signal callback, it is not used.
17367 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17369 * docs/gst/gstreamer.types:
17370 fix includes, though they are a little dinky
17372 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17374 * check/Makefile.am:
17375 look in the right place for elements, a lot more chance of
17378 remove indexers and elements subdirs
17379 * plugins/Makefile.am:
17380 make indexers conditional
17382 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17386 * plugins/elements/Makefile.am:
17387 * plugins/elements/gstcapsfilter.c:
17388 * plugins/elements/gstfilesink.c:
17389 * plugins/elements/gstfilesrc.c:
17390 * plugins/elements/gstidentity.c:
17391 * plugins/indexers/Makefile.am:
17392 do CVS surgery and related build fixery to move elements
17393 and indexers in a new gstreamer/plugins directory, out of the
17396 2005-11-29 Andy Wingo <wingo@pobox.com>
17398 * check/Makefile.am:
17399 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17400 * pkgconfig/gstreamer-net.pc.in:
17401 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17404 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17406 * tools/Makefile.am:
17407 * tools/gst-complete.1.in:
17408 * tools/gst-complete.c:
17409 * tools/gst-compprep.1.in:
17410 * tools/gst-compprep.c:
17411 removing -compprep and -complete
17413 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17415 * gst/gstevent.c: (gst_event_new_new_segment),
17416 (gst_event_parse_new_segment):
17418 fix #320529 - clean up new_segment API and structure.
17419 Let's hope everyone was using the methods, and not the structure.
17421 2005-11-29 Edward Hervey <edward@fluendo.com>
17423 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17424 (gst_base_sink_event), (gst_base_sink_do_sync),
17425 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17426 Properly handle non GST_FORMAT_TIME segment
17427 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17428 Properly handle non GST_FORMAT_TIME segment
17429 * gst/gstsegment.c:
17430 This function is valid if the accumulator is 0 and the format
17431 is different from the requested format.
17433 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17435 * docs/gst/gstreamer-sections.txt:
17436 Add gst_query_new_seeking and gst_query_parse_seeking to the
17439 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17441 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17442 Treat a pad alloc with new caps the same as if we were not
17443 negotiated, in order to allow a changing upstream output
17444 to produce a new format of data.
17446 2005-11-29 Edward Hervey <edward@fluendo.com>
17448 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17449 (gst_base_transform_event), (gst_base_transform_eventfunc):
17450 The event virtual method is now properly implemented, with a default
17452 Sub classes should call the parent_class event method. They should
17453 return FALSE if they had a problem handling the given event, or don't
17454 want GstBaseTransform to send that even downstream
17455 * gst/elements/gstidentity.c: (gst_identity_class_init),
17456 (gst_identity_init), (gst_identity_event),
17457 (gst_identity_transform_ip), (gst_identity_set_property),
17458 (gst_identity_get_property):
17459 * gst/elements/gstidentity.h:
17460 Added the single-segment boolean property.
17461 If set to TRUE, it will output a single segment of data, starting from
17462 0, will eat up all incoming newsegment, and modify the timestamp of the
17463 buffers accordingly
17465 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17467 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17468 Don't ref NULL target pad (#322751). Improve docs.
17470 2005-11-29 Michael Smith <msmith@fluendo.com>
17472 * gst/gstregistryxml.c: (load_plugin):
17473 Don't crash if we failed to load a feature from a plugin.
17475 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17477 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17479 use more check API and less GLib API
17481 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17484 don't run checks if we don't have check
17485 * common/check.mak:
17486 remove the registry when running make torture
17487 * docs/gst/gstreamer-sections.txt:
17488 remove second multiply
17489 * gst/gstqueue.c: (gst_queue_loop):
17490 fix a compile warning when disabling debug
17492 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17495 Hey! Let's print the pad name if the pointer != NULL instead
17496 of when it == NULL :-)
17498 2005-11-28 Wim Taymans <wim@fluendo.com>
17500 * check/gst/gstutils.c: (GST_START_TEST):
17501 Updated check, add some scaling accuracy checking code.
17503 * gst/gstutils.c: (gst_util_div128_64),
17504 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17505 (gst_util_uint64_scale_int):
17506 Fix 6 times faster division code. Optimize for common
17507 1/1 and less common X/1 cases.
17509 2005-11-28 Wim Taymans <wim@fluendo.com>
17511 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17514 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17515 (do_linear_regression), (gst_clock_add_observation):
17517 Release lock when the clock cannot be slaved.
17518 Catch the case where the regression returned an invalid denominator.
17520 * gst/gstutils.c: (gst_util_div128_64_iterate),
17521 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17522 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17523 Add protentially more performant non-iterative 128/64 divide function
17524 that unfortunatly does not work yet.
17525 Shortcut the trivial 0/X = 0 case.
17526 Remove the warnings on overflow.
17528 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17530 * gst/gstplugin.c: (gst_plugin_register_func):
17531 everything causing a plugin not to load should be at least a WARNING
17533 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17535 * docs/random/ensonic/dparams.txt:
17536 some TODOs for the next dev cycle
17537 * libs/gst/controller/gstcontroller.c:
17538 (gst_controlled_property_set_interpolation_mode),
17539 (gst_controlled_property_new):
17540 * libs/gst/controller/gstcontroller.h:
17541 use base type to assign acccessor functions
17543 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17545 * check/Makefile.am:
17546 Oops, that should have been top_srcdir
17548 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17550 * check/Makefile.am:
17551 * check/elements/fdsrc.c: (GST_START_TEST):
17552 Use a cmdline define to specify the location of a file to use for
17553 testing, to avoid breaking distcheck.
17555 2005-11-28 Andy Wingo <wingo@pobox.com>
17557 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17559 2005-11-28 Edward Hervey <edward@fluendo.com>
17561 * tools/gst-launch.c: (main):
17562 Clarify the output strings, makes it easier to translate.
17565 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17568 don't try and build net if we don't even have <sys/socket.h>
17570 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17572 * check/Makefile.am:
17573 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17574 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17575 Add tests for fdsrc seekability
17577 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17578 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17579 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17580 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17581 * gst/elements/gstfdsrc.h:
17582 fdsrc should not be a 'live' source.
17583 Implement seeking on seekable fd's.
17585 * gst/gstquery.c: (gst_query_new_seeking),
17586 (gst_query_parse_seeking):
17588 Implement SEEKING query functions:
17589 *_new_seeking and *_parse_seeking
17591 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17593 * gst/gstelement.c: (gst_element_dispose):
17596 * gst/gstiterator.c:
17597 * gst/gststructure.c:
17600 * libs/gst/controller/gstcontroller.c:
17601 (gst_controlled_property_set_interpolation_mode):
17602 * libs/gst/controller/gstcontroller.h:
17603 * libs/gst/controller/gstinterpolation.c:
17604 (interpolate_none_get_enum_value_array):
17605 support controlling enums
17607 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17610 Improve documentation for gst_value_union().
17613 Change return value for union, intersect and subtract functions
17614 from gint to gboolean.
17616 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17618 * gst/gstvalue.c: (gst_value_serialize_any_list),
17619 (gst_value_transform_any_list_string),
17620 (gst_value_deserialize_list), (gst_value_deserialize_array),
17621 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17622 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17623 (gst_value_set_fraction_range_full),
17624 (gst_value_deserialize_fraction_range),
17625 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17626 (gst_value_deserialize_boolean),
17627 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17628 (gst_value_serialize_float), (gst_value_deserialize_float),
17629 (gst_string_wrap), (gst_value_deserialize_string),
17630 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17631 (gst_value_union_int_range_int_range),
17632 (gst_value_intersect_int_range_int_range),
17633 (gst_value_intersect_double_range_double_range),
17634 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17635 (gst_value_subtract_int_range_int_range),
17636 (gst_value_subtract_double_double_range),
17637 (gst_value_subtract_double_range_double_range),
17638 (gst_value_deserialize_fraction):
17640 Use gint, gdouble and gchar in our API instead of int, double and
17641 char (and make usage in gstvalue.c more consistent).
17643 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17645 * check/Makefile.am:
17646 * libs/gst/controller/Makefile.am:
17647 * libs/gst/dataprotocol/Makefile.am:
17648 fix up Makefile.am and remove GST_ENABLE_NEW
17650 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17654 * gst/base/Makefile.am:
17655 * gst/check/Makefile.am:
17656 * gst/elements/Makefile.am:
17657 * gst/net/Makefile.am:
17658 update LDFLAGS use some more
17660 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17662 * common/m4/gst-doc.m4:
17665 2005-11-26 Edward Hervey <edward@fluendo.com>
17667 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17668 This shouldn't issue a g_warning since it returns NULL if it
17669 couldn't find the plugin, and all functions using this behave
17670 properly on a NULL return. Switching to a GST_WARNING.
17672 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17674 * gst/gstbin.c: (gst_bin_handle_message_func):
17675 Don't leak clock messages.
17677 2005-11-25 Wim Taymans <wim@fluendo.com>
17679 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17680 (gst_util_uint64_scale_int):
17681 Optimisations, remove unneeded vars.
17683 2005-11-25 Wim Taymans <wim@fluendo.com>
17685 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17686 Added more checks for the high precision uint64 cases.
17688 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17689 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17690 Implement high precision (guint64 * guint64) / guint64.
17692 2005-11-24 Wim Taymans <wim@fluendo.com>
17694 * gst/base/gstbasesrc.c: (gst_base_src_query):
17695 Fix wrong percentage query.
17697 * gst/gstutils.c: (gst_util_uint64_scale),
17698 (gst_util_uint64_scale_int):
17699 Add some more common cases that can be handled
17700 efficiently to _scale.
17702 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17704 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17705 (gst_mini_object_suite):
17706 don't use check calls from threads; check probably isn't
17707 threadsafe and using a lock to make it threadsafe would
17708 defeat the purpose of this check
17709 * gst/check/gstcheck.c:
17710 * gst/check/gstcheck.h:
17711 use GST_DEBUG some more
17713 2005-11-24 Wim Taymans <wim@fluendo.com>
17715 * gst/gstutils.c: (gst_util_uint64_scale),
17716 (gst_util_uint64_scale_int):
17717 Chain trivial case to _scale_int.
17719 2005-11-24 Wim Taymans <wim@fluendo.com>
17721 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17722 Added test for scaling.
17727 * gst/gstutils.c: (gst_util_uint64_scale_int):
17728 Implemented high precision scaling code.
17730 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17733 do not crash on pad==NULL
17735 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17737 Patch by: Stefan Kost
17739 * common/gtk-doc.mak:
17740 * docs/gst/Makefile.am:
17741 * docs/libs/Makefile.am:
17742 Fix distcheck issues for the libraries docs build
17745 2005-11-24 Michael Smith <msmith@fluendo.com>
17747 * docs/manual/basics-helloworld.xml:
17748 Fix bug #315027: memory leak in example code in docs.
17750 2005-11-24 Michael Smith <msmith@fluendo.com>
17752 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17753 Unlock the PREROLL_LOCK in a failure case.
17755 2005-11-24 Wim Taymans <wim@fluendo.com>
17757 * docs/gst/gstreamer-sections.txt:
17758 * gst/base/gstadapter.h:
17759 * gst/base/gstbasesink.h:
17760 * gst/base/gstbasesrc.h:
17761 * gst/base/gstbasetransform.h:
17762 * gst/base/gstpushsrc.h:
17763 * gst/elements/gstfakesink.h:
17764 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17765 * gst/elements/gstfakesrc.h:
17766 * gst/elements/gstfilesink.h:
17767 * gst/elements/gstfilesrc.h:
17770 * gst/gstbuffer.c: (_gst_buffer_copy):
17773 * gst/gstchildproxy.c:
17775 * gst/gstelement.c:
17776 * gst/gstelementfactory.c:
17777 * gst/gstelementfactory.h:
17779 * gst/gstghostpad.h:
17781 * gst/gstinterface.h:
17782 * gst/gstminiobject.c:
17783 * gst/gstminiobject.h:
17786 * gst/gstpadtemplate.h:
17787 * gst/gstpipeline.h:
17788 * gst/gstpluginfeature.h:
17791 * gst/gsttaglist.c:
17792 * gst/gsttaglist.h:
17793 * gst/gsttagsetter.c:
17794 * gst/gsttagsetter.h:
17797 * gst/gsttypefind.h:
17800 * gst/net/gstnetclientclock.c:
17801 * gst/net/gstnetclientclock.h:
17802 * gst/net/gstnettimepacket.c:
17803 * gst/net/gstnettimeprovider.c:
17804 * gst/net/gstnettimeprovider.h:
17807 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17809 * configure.ac: back to HEAD
17811 === release 0.9.6 ===
17813 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17816 releasing 0.9.6, "Always On Time"
17818 2005-11-23 Wim Taymans <wim@fluendo.com>
17820 * docs/gst/gstreamer-sections.txt:
17821 * gst/glib-compat.c:
17822 * gst/gsttagsetter.c:
17824 * gst/net/gstnetclientclock.c:
17825 * gst/net/gstnettimepacket.h:
17828 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17830 * docs/faq/using.xml:
17831 * docs/libs/tmpl/gstcontrol.sgml:
17832 * docs/manual/advanced-dparams.xml:
17833 * docs/manual/appendix-checklist.xml:
17834 * docs/manual/basics-elements.xml:
17835 * docs/pwg/other-source.xml:
17836 * docs/random/moving-plugins:
17838 * tools/gst-launch.1.in:
17839 remove mentions of sinesrc
17841 2005-11-23 Michael Smith <msmith@fluendo.com>
17843 * docs/gst/gstreamer-sections.txt:
17844 Update for new API and API changes.
17846 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17848 Documentation typo fix.
17849 * gst/net/gstnettimepacket.c:
17850 Documentation fixes for arguments.
17852 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17854 * gst/gststructure.c: (gst_structure_get_fraction),
17855 (gst_structure_parse_value),
17856 (gst_structure_fixate_field_nearest_fraction):
17857 * gst/gststructure.h:
17858 * gst/gstutils.c: (gst_util_uint64_scale_int):
17860 * scripts/update-funcnames:
17862 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17863 Make gst_structure_fixate_field_nearest_fraction take a numerator
17864 and denominator argument instead of a GValue
17865 add gst_structure_get_fraction helper function.
17867 2005-11-23 Wim Taymans <wim@fluendo.com>
17869 * docs/design/part-TODO.txt:
17872 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17873 * gst/net/gstnetclientclock.h:
17874 Use parent fields for timeout and window_size.
17876 2005-11-23 Andy Wingo <wingo@pobox.com>
17878 * check/net/gstnetclientclock.c (test_functioning): Adjust to
17879 rate_num/rate_denom change.
17881 * gst/net/gstnetclientclock.c
17882 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17883 OBJECT_LOCK. Don't call add_observation with the lock.
17885 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17887 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17889 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17890 deal with rate as a fraction whose numerator and denominator are
17891 GstClockTime values.
17892 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17893 master; the other fields are protected by the SLAVE_LOCK.
17894 (do_linear_regression): Note that this must be called with the
17896 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17897 OBJECT_LOCK. Call set_calibration instead of touching the
17898 variables directly.
17899 (gst_clock_set_property, gst_clock_get_property): Protect
17900 master/slave parameters with the SLAVE_LOCK.
17902 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17903 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17904 note that all of the instance variables that add_observation and
17905 the set_master functions use are protected by that lock and not
17907 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17909 * gst/gstclock.c (gst_clock_add_observation): No longer requires
17910 the caller to take the object lock.
17912 2005-11-23 Wim Taymans <wim@fluendo.com>
17914 * gst/gsterror.c: (_gst_core_errors_init):
17916 Add error for clock stuff.
17918 * gst/gstpipeline.c: (gst_pipeline_change_state),
17919 (gst_pipeline_set_clock):
17920 Post clock error when clock cannot be used in a pipeline.
17922 2005-11-23 Stefan Kost <ensonic@users.sf.net>
17924 * docs/gst/gstreamer-sections.txt:
17925 make two symbols from gstinfo private for the docs
17926 * gst/base/gstcollectpads.h:
17928 fix doc typos, update docs
17930 2005-11-22 Wim Taymans <wim@fluendo.com>
17932 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17933 (gst_base_sink_wait), (gst_base_sink_do_sync),
17934 (gst_base_sink_handle_event):
17935 * gst/base/gstbasesink.h:
17936 No need to store the clock, the parent element class already
17939 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17940 Updates for clock_set returning a gboolean
17942 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17943 (gst_clock_id_wait_async), (gst_clock_class_init),
17944 (gst_clock_init), (gst_clock_finalize),
17945 (gst_clock_get_internal_time), (gst_clock_get_time),
17946 (gst_clock_slave_callback), (gst_clock_set_master),
17947 (gst_clock_get_master), (do_linear_regression),
17948 (gst_clock_add_observation), (gst_clock_set_property),
17949 (gst_clock_get_property):
17951 Implement master/slave. When setting a clock as a slave, a
17952 periodic timeout is scheduled to sample master and slave times.
17953 Then the slave clock is recalibrated to match offset and rate
17954 of the master clock.
17955 Update logging a bit.
17956 Add flag so that a clock can state that is cannot be slaved to
17959 * gst/gstelement.c: (gst_element_set_clock):
17960 * gst/gstelement.h:
17961 The set clock returns a gboolean for when an element cannot
17962 deal with the selected clock in the pipeline.
17964 * gst/gstpipeline.c: (gst_pipeline_change_state),
17965 (gst_pipeline_set_clock):
17966 * gst/gstpipeline.h:
17967 Handle the case where the selected clock cannot be set on
17970 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17971 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17972 (gst_net_client_clock_set_property),
17973 (gst_net_client_clock_get_property),
17974 (gst_net_client_clock_observe_times):
17975 * gst/net/gstnetclientclock.h:
17976 Use regression code in GstClock parent, remove duplicated
17979 2005-11-22 Michael Smith <msmith@fluendo.com>
17981 * gst/gstutils.c: (gst_util_clock_time_scale):
17983 * docs/gst/gstreamer-sections.txt:
17984 Rename method to have extra underscore.
17986 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
17988 * gst/elements/Makefile.am:
17989 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
17990 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17991 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17992 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
17993 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
17994 * gst/elements/gstfakesrc.h:
17995 * gst/gstqueue.c: (queue_leaky_get_type):
17996 correctly fix GEnumValues so that nick is the short lowercase
17998 * tools/gst-inspect.c: (print_element_properties_info):
17999 also show the nick, since it's useful to use from parse_launch
18003 2005-11-22 Michael Smith <msmith@fluendo.com>
18005 * gst/gstutils.c: (gst_util_clocktime_scale):
18007 * docs/gst/gstreamer-sections.txt:
18008 Add util method for scaling a clocktime by a fraction. Useful
18009 implementation is left as an exercise for the reader.
18011 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18013 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18014 If needed, allocate storage in the destination value during
18017 2005-11-22 Edward Hervey <edward@fluendo.com>
18019 * docs/gst/gstreamer-sections.txt:
18022 * gst/gsturitype.c:
18023 * gst/gsturitype.h:
18024 * gst/gstutils.c: (gst_util_set_object_arg):
18025 * tools/gst-compprep.c: (main):
18026 * tools/gst-inspect.c: (print_element_properties_info):
18027 Removed GstURI, closes bug #321061
18029 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18031 * check/gst/gststructure.c: (GST_START_TEST):
18032 * gst/gststructure.c: (gst_structure_parse_value):
18033 Oops, broke automatic string type parsing.
18034 Add a test to catch it in future.
18036 2005-11-22 Andy Wingo <wingo@pobox.com>
18038 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18039 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18040 Actually rename the function implementations. Grr.
18042 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18044 * check/gst/capslist.h:
18046 * check/gst/gststructure.c: (GST_START_TEST),
18047 (gst_structure_suite):
18048 Test automatic value type detection in gst_structure_from_string.
18049 * gst/gststructure.c: (gst_structure_parse_value):
18050 Add fraction as a type we try and guess automatically in
18051 caps/structure strings.
18053 2005-11-22 Andy Wingo <wingo@pobox.com>
18055 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18057 * gst/gsttagsetter.h:
18058 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18059 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18060 (gst_tag_setter_add_tag_valist)
18061 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18062 _add_values, _add_valist, and _add_valist_values. Since this is an
18063 interface the function suffixes should be more explicit so
18064 language binding don't end up with element.add_valist ->
18065 gst_tag_setter_add_valist, for example. Fixes #322069.
18067 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18069 * check/gst/gstcaps.c: (GST_START_TEST):
18070 Extend caps string tests to check that a caps to string
18071 conversion is reversible and produces the same caps.
18073 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18074 Output "fraction" as the generic type fraction range, so caps
18075 serialisation and deserialisation works.
18076 * check/gst/capslist.h:
18077 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18078 Support 'MIN' and 'MAX' for deserialising fractions.
18080 2005-11-22 Andy Wingo <wingo@pobox.com>
18082 * gst/gstevent.h (gst_event_new_new_segment)
18083 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18084 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18085 Renamed from *_newsegment, *_buffersize, *_notarget.
18087 * scripts/update-funcnames: New script, performs the changes
18090 2005-11-22 Wim Taymans <wim@fluendo.com>
18092 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18093 Make sure the GstFlowReturn is returned.
18095 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18096 (gst_bus_add_signal_watch):
18098 add gst_bus_add_signal_watch_full.
18100 * gst/gstplugin.c: (gst_plugin_load_file):
18101 Small style cleanup.
18103 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18105 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18106 Block the fakesrc srcpad when we send an event, to avoid
18107 contention on the stream_lock causing random test failures.
18109 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18111 * check/gst/gstvalue.c: (GST_START_TEST):
18112 * gst/gstvalue.c: (gst_value_fraction_subtract):
18115 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18118 include "gstchildproxy.h"
18119 * gst/gstchildproxy.h:
18120 * libs/gst/controller/gstcontroller.h:
18121 use G_GNUC_NULL_TERMINATED
18123 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18125 * check/gst/capslist.h:
18126 * check/gst/gstcaps.c: (GST_START_TEST):
18127 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18128 * gst/gststructure.c: (gst_structure_parse_range),
18129 (gst_structure_fixate_field_nearest_fraction):
18130 * gst/gststructure.h:
18131 * gst/gstvalue.c: (gst_value_init_fraction_range),
18132 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18133 (gst_value_collect_fraction_range),
18134 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18135 (gst_value_set_fraction_range_full),
18136 (gst_value_get_fraction_range_min),
18137 (gst_value_get_fraction_range_max),
18138 (gst_value_serialize_fraction_range),
18139 (gst_value_transform_fraction_range_string),
18140 (gst_value_compare_fraction_range),
18141 (gst_value_deserialize_fraction_range),
18142 (gst_value_intersect_fraction_fraction_range),
18143 (gst_value_intersect_fraction_range_fraction_range),
18144 (gst_value_subtract_fraction_fraction_range),
18145 (gst_value_subtract_fraction_range_fraction),
18146 (gst_value_subtract_fraction_range_fraction_range),
18147 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18148 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18149 (gst_value_transform_string_fraction), (_gst_value_initialize):
18151 Implement fraction ranges and extend GstFraction to support
18152 arithmetic subtraction, as well as deserialization from integer
18153 strings such as "100"
18154 Add a testsuite as for int and double range set operations
18156 2005-11-21 Andy Wingo <wingo@pobox.com>
18158 * gst/gsttaglist.h:
18160 * gst/gststructure.h: Add glib-compat.h.
18162 2005-11-21 Wim Taymans <wim@fluendo.com>
18164 * gst/gstbin.c: (gst_bin_change_state_func):
18167 2005-11-21 Wim Taymans <wim@fluendo.com>
18169 * gst/gstsegment.h:
18170 And add a nice define too.
18172 2005-11-21 Wim Taymans <wim@fluendo.com>
18174 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18175 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18176 (gst_segment_set_duration), (gst_segment_set_last_stop),
18177 (gst_segment_set_seek), (gst_segment_set_newsegment),
18178 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18179 (gst_segment_clip):
18180 * gst/gstsegment.h:
18181 Make binding friendly.
18183 2005-11-21 Andy Wingo <wingo@pobox.com>
18185 * gst/gsttagsetter.h:
18186 * gst/gsttaglist.h:
18187 * gst/gststructure.h:
18189 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18192 * gst/gsterror.c (_gst_core_errors_init):
18193 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18196 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18197 (noinst_HEADERS): noinst the -private.
18199 2005-11-21 Michael Smith <msmith@fluendo.com>
18202 * gst/gstregistry.h:
18203 Remove unimplemented declarations for which we can see no sensible
18206 2005-11-21 Andy Wingo <wingo@pobox.com>
18208 * gst/gst.h: Include glib-compat.h.
18210 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18212 * gst/glib-compat.c: Include the public and the private header.
18214 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18218 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18220 * check/gst/gstevent.c (create_custom_events): Check that
18221 FLUSH_STOP is serialized.
18223 * check/elements/identity.c (event_func):
18224 * check/elements/fakesrc.c (event_func): No stream lock, the core
18227 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18228 stream lock taking, yay.
18230 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18231 ensure that core takes the stream lock.
18233 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18236 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18237 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18238 it already. For the flush start we do take it though so we get the
18239 right preroll state change messages.
18241 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18242 the stream lock here, the core does it for us.
18244 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18245 GST_STREAM_GET_LOCK.
18246 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18247 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18248 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18249 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18250 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18251 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18253 * gst/gstpad.c: Update for stream lock name change.
18255 * gst/base/gstbasesink.c: Update for preroll lock name change.
18257 2005-11-21 Wim Taymans <wim@fluendo.com>
18259 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18260 (gst_clock_get_master):
18262 * gst/gstsystemclock.c: (gst_system_clock_init):
18263 Convert Clock flags to object flags.
18264 Added methods to manage master/slave clocks.
18266 2005-11-21 Wim Taymans <wim@fluendo.com>
18268 * check/gst/gstsegment.c: (GST_START_TEST):
18269 * docs/design/part-TODO.txt:
18270 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18271 (gst_base_sink_event), (gst_base_sink_do_sync),
18272 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18273 (gst_base_sink_query), (gst_base_sink_change_state):
18274 * gst/base/gstbasesink.h:
18275 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18276 (gst_base_src_default_newsegment),
18277 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18278 (gst_base_src_get_range), (gst_base_src_loop),
18279 (gst_base_src_change_state):
18280 * gst/base/gstbasesrc.h:
18281 * gst/base/gstbasetransform.c:
18282 (gst_base_transform_prepare_output_buf),
18283 (gst_base_transform_event), (gst_base_transform_change_state):
18284 * gst/base/gstbasetransform.h:
18285 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18286 (gst_collect_pads_event):
18287 * gst/base/gstcollectpads.h:
18288 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18289 (gst_fake_src_create):
18290 * gst/elements/gstfakesrc.h:
18291 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18292 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18293 (gst_segment_set_last_stop), (gst_segment_set_seek),
18294 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18295 (gst_segment_to_running_time), (gst_segment_clip):
18296 * gst/gstsegment.h:
18297 More segment updates, replace code in plugins with segment
18300 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18302 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18303 Don't ignore sscanf results
18305 2005-11-21 Andy Wingo <wingo@pobox.com>
18307 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18310 * *.c: Ran scripts/update-macros. Oh yes.
18312 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18313 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18316 * scripts/update-macros: New script. Run it on your files to
18317 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18320 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18322 * docs/gst/Makefile.am:
18323 * docs/gst/gstreamer-docs.sgml:
18324 * docs/gst/gstreamer-sections.txt:
18325 * docs/gst/gstreamer.types:
18327 more docs fixes, add new api to the docs
18329 2005-11-21 Andy Wingo <wingo@pobox.com>
18331 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18332 state_broadcast call.
18334 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18336 2005-11-21 Julien MOUTTE <julien@moutte.net>
18338 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18339 function calls for arrays.
18341 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18343 * docs/random/ensonic/media-device-daemon.txt:
18344 wild idea, can this be done?
18345 * docs/gst/gstreamer-sections.txt:
18350 * gst/gstpluginfeature.c:
18354 doc fixes and additions
18356 2005-11-21 Andy Wingo <wingo@pobox.com>
18358 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18359 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18360 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18361 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18362 private to the basesrc implementation.
18364 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18365 behalf of event function if necessary. It should no longer be
18366 necessary to take the stream lock in pad's event functions. Fixes
18369 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18370 * docs/gst/gstreamer-sections.txt:
18371 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18372 (gst_structure_fixate_field_nearest_double),
18373 (gst_structure_fixate_field_boolean):
18374 * gst/gststructure.h:
18375 * win32/common/libgstreamer.def:
18376 * win32/gstreamer.def:
18378 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18381 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18383 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18384 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18385 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18386 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18387 (gst_fdsrc_uri_handler_init):
18388 * gst/elements/gstfdsrc.h:
18389 Port fd:// URI handler from 0.8 to fdsrc
18391 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18393 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18394 (gst_value_serialize_fourcc):
18396 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18397 consistent with our other format defines (#320324).
18399 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18401 * gst/gstvalue.c: (gst_value_is_fixed):
18402 Revert previous commit. Value lists are by definition
18403 not fixed, as they are a list of possible values.
18405 2005-11-21 Andy Wingo <wingo@pobox.com>
18407 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18408 during the stable series if we need it. Fixes #319178.
18410 * gst/gstevent.c (gst_event_new_filler): Removed.
18412 * check/gst/gstevent.c: Update comment about filler events.
18414 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18416 * gst/gstvalue.c: (gst_value_is_fixed):
18417 Should handle both value arrays and value lists.
18419 2005-11-21 Andy Wingo <wingo@pobox.com>
18421 patch by: Alessandro Dessina <alessandro nnva org>
18423 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18424 functions to access arrays. Fixes #321962.
18426 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18428 * docs/gst/gstreamer.types:
18429 gst_collectpads_get_type => gst_collect_pads_get_type.
18431 * gst/base/gstbasetransform.c:
18432 Remove unused SIGNAL_HANDOFF enum.
18434 2005-11-21 Andy Wingo <wingo@pobox.com>
18436 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18437 the event type (upstream, downstream, serialized). Renamed
18438 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18439 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18440 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18442 * gst/gstevent.c: Update for new CUSTOM event names.
18444 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18447 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18450 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18452 * docs/gst/gstreamer-sections.txt:
18453 * win32/common/libgstbase.def:
18454 * win32/libgstbase.def:
18455 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18456 (gst_collect_pads_class_init), (gst_collect_pads_init),
18457 (gst_collect_pads_finalize), (gst_collect_pads_new),
18458 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18459 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18460 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18461 (gst_collect_pads_start), (gst_collect_pads_stop),
18462 (gst_collect_pads_peek), (gst_collect_pads_pop),
18463 (gst_collect_pads_available), (gst_collect_pads_read),
18464 (gst_collect_pads_flush), (gst_collect_pads_event),
18465 (gst_collect_pads_chain):
18466 * gst/base/gstcollectpads.h:
18467 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18468 unimplemented functions as unimplemented. Add padding to
18469 GstCollectData. (#320766, #320423)
18471 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18473 * gst/gstmessage.c:
18474 Improve docs for DURATION message (usage of duration parameter)
18477 2005-11-20 Wim Taymans <wim@fluendo.com>
18479 * check/Makefile.am:
18480 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18484 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18485 (gst_segment_set_seek), (gst_segment_set_newsegment),
18486 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18487 (gst_segment_clip):
18488 * gst/gstsegment.h:
18489 Added segment helper structure and methods. Not fully implemented
18491 Added segment check.
18493 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18495 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18496 Add a deserialisation test for fractions
18497 * examples/metadata/read-metadata.c: (message_loop),
18498 (make_pipeline), (main):
18499 Fix up metadata reading sample.
18500 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18502 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18503 Don't try and fixate empty caps
18504 * gst/gst_private.h:
18505 Wrap in G_BEGIN_DECLS/G_END_DECLS
18506 * gst/gstvalue.c: (gst_value_collect_fraction),
18507 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18508 (gst_value_transform_string_fraction),
18509 (gst_value_compare_fraction):
18510 Add some extra guards to ensure that we don't end up
18511 with an invalid denominator of 0 in a gstfraction and
18512 that fractions always get reduced.
18514 2005-11-20 Wim Taymans <wim@fluendo.com>
18516 * docs/gst/gstreamer-sections.txt:
18518 * gst/gstelement.c:
18527 2005-11-20 Wim Taymans <wim@fluendo.com>
18529 * docs/design/part-TODO.txt:
18531 Make a proper enum of the flag.
18533 2005-11-19 Wim Taymans <wim@fluendo.com>
18535 * docs/design/part-TODO.txt:
18536 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18537 (gst_format_to_quark), (gst_format_register):
18539 * gst/gstquery.c: (_gst_query_initialize),
18540 (gst_query_type_get_name), (gst_query_type_to_quark),
18541 (gst_query_type_register):
18543 Add type to quark and type to string conversions.
18545 2005-11-19 Andy Wingo <wingo@pobox.com>
18547 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18550 2005-11-19 Wim Taymans <wim@fluendo.com>
18552 * docs/design/part-TODO.txt:
18553 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18554 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18555 (gst_bin_handle_message_func):
18557 Make message handling overridable.
18559 2005-11-19 Andy Wingo <wingo@pobox.com>
18561 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18564 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18566 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18567 is a GstClockTime. Fixes #321710.
18569 * gst/gstclock.h (GstClock): Remove offset property. Add
18570 internal_calibration and external_calibration. Fix padding. Pad
18571 also by GstClockTime so we don't run into problems.
18573 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18574 (gst_clock_get_rate_offset): Remove.
18575 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18578 * gst/gstutils.c (g_static_rec_cond_wait)
18579 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18581 * gst/gstbin.c: Remove terrible continue_state prototype.
18583 * gst/gstelement.h (gst_element_continue_state): Make public.
18585 * gst/gstelement.h:
18586 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18587 by continue_state. Fixes #319389.
18589 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18590 Really fixes #168438. However I don't see anywhere where the
18591 filter function is called... stupid GStreamer...
18593 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18594 don't have a dispose function, so it won't get called when the
18595 object is unreffed, but oh well!
18597 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18598 allows a destroy function to be set so user_data can be freed.
18600 (gst_index_set_filter): Call gst_index_set_filter_full.
18602 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18604 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18605 string should produce an error, given the lack of a way to
18606 represent NULL strings. Fixes #165650.
18609 * gst/gstvalue.c (gst_value_array_append_value)
18610 (gst_value_array_prepend_value, gst_value_array_get_size)
18611 (gst_value_array_get_value): New API, copied from
18612 gst_value_list_*, only operates on arrays.
18613 (gst_value_list_append_value, gst_value_list_prepend_value)
18614 (gst_value_list_concat, gst_value_list_get_size)
18615 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18617 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18618 init_list, because it works on both.
18619 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18620 (gst_value_copy_list_or_array): Renamed from copy_list.
18621 (gst_value_free_list_or_array): Renamed from free_list.
18622 (gst_value_collect_list_or_array): Renamed from collect_list.
18623 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18624 (gst_value_list_or_array_peek_pointer): Renamed from
18626 (_gst_value_array_value_table, _gst_value_list_value_table):
18627 Update value table functions.
18628 (gst_value_compare_list_or_array): Renamed from compare_list.
18630 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18633 * gst/gsttaglist.c:
18634 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18635 GstTagList*. Fixes #143472.
18637 * gst/gststructure.h: Clarify what the foreach/map functions can
18638 or can't do to their arguments.
18640 2005-11-18 Wim Taymans <wim@fluendo.com>
18642 * gst/gstclock.c: (gst_clock_set_calibration),
18643 (gst_clock_get_calibration):
18645 Calibration can be set with internal time equal to current
18648 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18654 2005-11-18 Andy Wingo <wingo@pobox.com>
18657 * pkgconfig/gstreamer-net.pc.in:
18658 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18659 * pkgconfig/Makefile.am: Add net pkgconfig files.
18661 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18664 * gst/gstghostpad.c:
18670 2005-11-18 Andy Wingo <wingo@pobox.com>
18672 * gst/net/gstnetclientclock.c: Turn off debugging.
18674 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18675 times connverge somewhat. Can't make a real test.
18677 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18678 integer arithmetic. Return the minimum of the domain, which can be
18679 set as "internal" for gst_clock_set_calibration.
18680 (gst_net_client_clock_observe_times): Call _set_calibration.
18681 (gst_net_client_clock_new): Call _set_calibration instead of
18684 * check/net/gstnetclientclock.c (test_functioning): Use the right
18688 * gst/gstclock.c (gst_clock_get_calibration)
18689 (gst_clock_set_calibration): New functions, obsolete the ones I
18690 added yesterday. Doh. Precision issues mean we have to extrapolate
18691 from a point in the more recent past than 1970.
18692 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18694 (gst_clock_adjust_unlocked): Use the right calibration data.
18696 2005-11-18 Edward Hervey <edward@fluendo.com>
18698 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18699 Also reset the ->current_* values in READY->PAUSED
18701 2005-11-18 Andy Wingo <wingo@pobox.com>
18703 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18704 Whoops, check the right fd. Also add some debugging.
18705 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18706 (do_linear_regression): Add a crapload of debugging. Subtract off
18707 the minimum values from the input series to discard unneeded bits.
18708 Use only int arithmetic. There is still double arithmetic when
18709 calculating the intercept that needs fixing. Return boolean to
18710 indicate success; FALSE would mean the domain or range is too
18711 great. Still needs fixes.
18713 2005-11-18 Wim Taymans <wim@fluendo.com>
18715 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18716 For the current position in stream time, we need to subtract
18719 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18720 Release lock before calling the callback function of async
18723 2005-11-18 Andy Wingo <wingo@pobox.com>
18725 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18726 Port goes all the way to MAXUINT16.
18728 * gst/net/gstnettimeprovider.c: Make the port range the same as
18729 for the kernel: 0 assigns, otherwise ports are less than
18732 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18735 * check/net/gstnetclientclock.c (test_functioning): Add the start
18738 2005-11-18 Wim Taymans <wim@fluendo.com>
18740 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18741 (gst_bin_remove_func), (bin_bus_handler):
18743 Removing a clock provider from a bin, triggers a clock lost message
18744 so that a new clock will be selected.
18745 Adding a clock to a bin triggers a clock provider message.
18746 Make sure we reselect a clock when we received a clock lost message.
18747 Keep a reference to the element that provided the clock.
18749 2005-11-18 Andy Wingo <wingo@pobox.com>
18751 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18752 the clock initially so it produces values around the base time.
18753 (gst_net_client_clock_class_init): Typo fix.
18754 (gst_net_client_clock_thread): Add note on when the socket gets
18757 2005-11-17 Wim Taymans <wim@fluendo.com>
18759 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18760 Free remote and local time arrays.
18762 2005-11-17 Wim Taymans <wim@fluendo.com>
18764 * gst/net/gstnetclientclock.c: (do_linear_regression),
18765 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18766 Fix compilation, uninitialized vars and a forgotten continue.
18768 2005-11-17 Andy Wingo <wingo@pobox.com>
18770 * check/Makefile.am (check_PROGRAMS):
18771 * check/net/gstnetclientclock.c: Add a most minimal test for the
18772 net client clock. More to come later.
18774 * gst/net/gstnet.h:
18775 * gst/net/Makefile.am: Add netclientclock.
18777 * gst/net/gstnetclientclock.h:
18778 * gst/net/gstnetclientclock.c: New files, implement an untested
18779 GstClock that takes its time from a network time provider.
18780 Implements the algorithm in network-clock.scm.
18782 * tests/network-clock.scm (*window-size*): Rename from
18784 * tests/network-clock.scm (network-time):
18785 * tests/network-clock-utils.scm (q-push): Update callers.
18787 2005-11-17 Wim Taymans <wim@fluendo.com>
18789 * gst/gstbin.c: (gst_bin_provide_clock_func),
18790 (gst_bin_sort_iterator_new):
18791 And unref the child too..
18793 2005-11-17 Wim Taymans <wim@fluendo.com>
18795 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18796 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18797 Refactor the sort iterator so it can be used while holding the
18799 Make clock selection select a clock closest to the source.
18801 2005-11-17 Michael Smith <msmith@fluendo.com>
18803 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18804 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18806 Anonymous structs are a gcc (and some other compilers) extension, so
18807 don't use them. Since this is only for ABI-compatibility, and our
18808 API/ABI freeze is over in a few days, this whole thing will only
18809 last a few days, so don't bother trying to think up a meaningful
18810 name for the struct.
18812 2005-11-17 Andy Wingo <wingo@pobox.com>
18814 * gst/gstclock.h (GstClock): Add rate and offset properties,
18815 preserving ABI stability. Add rate/offset accessors. Will file bug
18816 for the freeze break.
18818 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18819 and offset, trying to keep precision and avoiding
18820 underflow/overflow.
18821 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18822 functions. Make gst_clock_set_time_adjust obsolete.
18823 (gst_clock_set_time_adjust): Note that this function is obsolete.
18824 Will file bug soon.
18826 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18827 greppable by using GST_PADDING-1+1.
18829 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18831 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18833 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18834 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18836 * gst/gstpadtemplate.h:
18837 * gst/gstpluginfeature.h:
18838 Don't use c++ style comments in headers (#321638).
18840 2005-11-16 Andy Wingo <wingo@pobox.com>
18842 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18845 * check/net/gstnettimeprovider.c: Check to see that the time
18846 provider actually provides times. Works, yo!
18848 2005-11-16 Wim Taymans <wim@fluendo.com>
18850 * check/Makefile.am:
18853 * check/elements/fakesrc.c: (GST_START_TEST):
18854 Set element to NULL before disposing it.
18856 2005-11-16 Andy Wingo <wingo@pobox.com>
18858 * gst/net/Makefile.am:
18859 * gst/net/gstnet.h:
18860 * gst/net/gstnettimeprovider.c:
18861 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18862 provider, include it from gstnet.h, and add it to the build.
18864 * gst/net/gstnettimepacket.h:
18865 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18866 sending and receiving.
18868 2005-11-16 Wim Taymans <wim@fluendo.com>
18870 * check/Makefile.am:
18871 Enable valgrind check.
18873 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18874 (gst_fake_src_alloc_buffer):
18877 2005-11-16 Wim Taymans <wim@fluendo.com>
18879 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18880 Call parent finalize too.
18882 2005-11-16 Wim Taymans <wim@fluendo.com>
18884 * check/Makefile.am:
18885 Enable valgrind check that should work fine now.
18887 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18888 * gst/gstqueue.c: (gst_queue_init):
18889 Fix memleaks in pad allocation.
18891 2005-11-16 Andy Wingo <wingo@pobox.com>
18893 * gst/net/Makefile.am:
18894 * gst/net/gstnet.h: New part of core to hold network elements and
18895 objects. Put in core because it exposes API that applications want
18896 to use. The library is named libgstnet-tempname right now because
18897 of the existing libgstnet in gst-plugins-base. Solution is
18898 probably to rename the one in plugins-base; will file a bug for
18901 * gst/net/gstnettimeprovider.c:
18902 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18903 get_time call over the network.
18906 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18908 * check/Makefile.am:
18909 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18910 get additions shortly.
18912 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18914 * gst/gstpad.c: (gst_pad_new_from_static_template):
18916 add gst_pad_new_from_static_template functions
18917 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18918 (gst_check_setup_sink_pad):
18919 * gst/elements/gsttee.c: (gst_tee_init):
18922 2005-11-16 Wim Taymans <wim@fluendo.com>
18924 * gst/gstpad.c: (gst_pad_pause_task):
18925 Removed warning, it's not really an error either.
18927 2005-11-16 Wim Taymans <wim@fluendo.com>
18929 * gst/base/gstbasetransform.c:
18930 (gst_base_transform_prepare_output_buf),
18931 (gst_base_transform_event):
18932 Check if the caps are NULL, this can happen if the element
18933 is shutting down and the pad caps are set to NULL.
18935 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18937 * gst/elements/gsttee.c: (gst_tee_init):
18938 fix pad template leak in tee
18940 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18942 * gst/glib-compat.c: (g_value_dup_gst_object):
18943 * gst/glib-compat.h:
18944 * gst/gstpad.c: (gst_pad_set_property):
18945 use gst_object_ref when setting the pad template; this will
18946 trigger the pad template leaks on GLib 2.6 and the slaves
18948 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18950 * gst/glib-compat.c: (gst_flags_get_first_value):
18951 * gst/glib-compat.h:
18952 * gst/gstregistryxml.c:
18953 remove functions copied from GLib 2.6
18955 2005-11-16 Michael Smith <msmith@fluendo.com>
18958 Don't link against VALGRIND_LIBS. That was always the wrong thing to
18959 do, but only breaks with newer valgrind versions. We're not a
18960 valgrind tool, we have no link-time dependencies on libcoregrind.
18962 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18964 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18966 * gst/gstmessage.h:
18969 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18971 * gst/base/gstbasesrc.c: (gst_base_src_init):
18972 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18973 * gst/gstqueue.c: (gst_queue_init):
18974 * gst/gstregistryxml.c: (load_feature):
18975 Revert all these unrefs, they don't even pass make check !
18977 2005-11-15 Johan Dahlin <johan@gnome.org>
18979 * gst/base/gstbasesrc.c: (gst_base_src_init):
18980 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18981 * gst/gstqueue.c: (gst_queue_init):
18982 Free pad templates, fixes a couple of leaks.
18984 2005-11-15 Daniel Fischer <dan at f3c dot com>
18986 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18988 * gst/gstpad.c: (gst_pad_get_property):
18989 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
18990 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
18993 2005-11-15 Wim Taymans <wim@fluendo.com>
18998 2005-11-15 Andy Wingo <wingo@pobox.com>
19000 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19002 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19003 using GST_CLOCK_TIME_NONE to disable base time management.
19004 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19005 time if it was NONE before.
19006 (gst_pipeline_change_state): Only munge the base time if
19007 stream_time != GST_CLOCK_TIME_NONE.
19009 * check/gst/gstpipeline.c (test_base_time): Punt around the
19010 problem of the probe not being called, because that's not the
19011 issue I'm looking at. Add a check that setting stream_time to NONE
19012 disables base time management.
19014 2005-11-15 Wim Taymans <wim@fluendo.com>
19016 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19017 segment_stop == -1 at startup.
19019 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19020 (gst_base_transform_change_state):
19021 Init segment values at start.
19023 2005-11-15 Wim Taymans <wim@fluendo.com>
19025 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19026 0 segment values are 0 in any format.
19028 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19029 * gst/base/gstbasetransform.h:
19030 Parse newsegment correctly in basetransform
19032 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19033 Sync to clock using updated segment values.
19035 2005-11-15 Andy Wingo <wingo@pobox.com>
19037 * check/gst/gstpipeline.c (test_base_time): Add check that the
19038 base time and stream time are reset correctly.
19040 2005-11-15 Wim Taymans <wim@fluendo.com>
19042 * docs/design/part-TODO.txt:
19043 Some more TODO items.
19045 2005-11-15 Andy Wingo <wingo@pobox.com>
19047 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19048 error if the user selected "no clock" as the clocking method.
19050 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19051 timestamps with live capture.
19053 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19054 is 0 but we are a live source, timestamp the buffers using the
19057 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19059 * docs/gst/gstreamer-sections.txt:
19061 * gst/gstghostpad.c:
19066 2005-11-14 Wim Taymans <wim@fluendo.com>
19069 add suppressions from Wim's Debian machine
19071 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19074 add suppressions from Andy's AMD64 Ubuntu machine
19076 2005-11-14 Andy Wingo <wingo@pobox.com>
19078 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19079 STATE_LOCK not necessary. Fixes #311489.
19081 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19084 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19085 this function is not implemented.
19087 2005-11-14 Julien MOUTTE <julien@moutte.net>
19089 * gst/base/gstbasetransform.c:
19090 (gst_base_transform_prepare_output_buf):
19091 Ref the source pad caps while we need them.
19094 2005-11-11 Wim Taymans <wim@fluendo.com>
19096 * docs/gst/gstreamer-sections.txt:
19097 Added some docs for GstCollectData.
19099 * gst/base/gstadapter.c:
19100 Some small code example fix.
19102 * gst/base/gstcollectpads.c:
19103 * gst/base/gstcollectpads.h:
19104 Document some more.
19106 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19108 * configure.ac: back to HEAD
19110 === release 0.9.5 ===
19112 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19115 releasing 0.9.5, "Bike Lunch Day"
19117 2005-11-11 Wim Taymans <wim@fluendo.com>
19119 * gst/gstbuffer.c: (_gst_buffer_copy):
19122 * gst/gstcaps.c: (gst_caps_is_equal):
19124 Make _is_equal fast in the trivial cases.
19126 * gst/gstminiobject.c:
19127 * gst/gstminiobject.h:
19128 More docs. Spifify .h file.
19133 2005-11-11 Wim Taymans <wim@fluendo.com>
19135 * gst/base/gstbasetransform.c:
19136 (gst_base_transform_prepare_output_buf),
19137 (gst_base_transform_handle_buffer):
19139 If we're processing a buffer and need to allocate an output
19140 buffer, we cannot accept a format change. If we did get a
19141 format change, we have to alloc a buffer ourselves of the
19144 2005-11-11 Wim Taymans <wim@fluendo.com>
19146 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19147 While checking the flag for reentrancy in the gstcaps function
19148 is nice to detect recursive invocations, it also makes it
19149 impossible to call getcaps from multiple threads, which must be
19150 possible. So, checking for recursive calls has to go.
19152 2005-11-11 Michael Smith <msmith@fluendo.com>
19154 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19155 Don't sync on buffers that fall partially outside our current
19156 segment. Prevents an assertion failure/abort playing some files.
19158 2005-11-10 Andy Wingo <wingo@pobox.com>
19160 * check/gst/gstbin.c (test_message_state_changed_children): Style
19163 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19164 gst_bus_poll with the signal watch. Ensures that poll and a signal
19165 watch see the same messages.
19167 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19168 a poll and a watch at the same time get the same messages.
19170 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19172 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19173 * gst/gstcaps.c: (gst_caps_intersect):
19174 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19175 and it's not needed.
19177 2005-11-10 Wim Taymans <wim@fluendo.com>
19179 * docs/design/part-TODO.txt:
19182 2005-11-10 Wim Taymans <wim@fluendo.com>
19184 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19185 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19186 (gst_base_src_do_sync), (gst_base_src_get_range):
19187 Implement clock sync in base class.
19189 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19191 patch by: Tim-Philipp Müller <tim at centricular dot net>
19193 * gst/gststructure.c: (gst_structure_parse_field),
19194 (gst_structure_from_string):
19195 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19196 so that gst_parse_launch() can deal with spaces in filtered link
19197 caps (fixes #164479)
19198 * check/gst/capslist.h:
19199 * check/gst/gststructure.c: (GST_START_TEST):
19200 add unit tests for this change
19202 2005-11-10 Wim Taymans <wim@fluendo.com>
19204 * docs/gst/gstreamer-sections.txt:
19205 * gst/gstelement.c:
19206 * gst/gstelement.h:
19207 Fix docs, move some STATE macros to private.
19209 2005-11-10 Wim Taymans <wim@fluendo.com>
19211 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19212 Added check for bug #317341
19216 Some more spiffifying.
19218 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19219 Call peer linkfunction if we are a source pad. Totally fixes
19223 Update docs, source pads should call the peer linkfunction
19224 so they can atomically perform the pad link.
19226 2005-11-09 Wim Taymans <wim@fluendo.com>
19230 Uber-spiffy-spiffify some more.
19232 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19234 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19235 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19236 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19237 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19238 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19239 * gst/gstpad.c: (gst_pad_init):
19240 Use GST_DEBUG_FUNCPTR() more extensively.
19242 2005-11-09 Wim Taymans <wim@fluendo.com>
19244 * gst/gstobject.c: (gst_object_class_init):
19246 Documentation fixes.
19248 2005-11-09 Edward Hervey <edward@fluendo.com>
19250 * gst/gsttypefindfactory.c:
19253 2005-11-09 Edward Hervey <edward@fluendo.com>
19255 * gst/base/gsttypefindhelper.c:
19256 * gst/gsttypefind.c:
19257 * gst/gsttypefind.h:
19260 2005-11-09 Wim Taymans <wim@fluendo.com>
19262 * gst/gstiterator.c:
19269 2005-11-09 Wim Taymans <wim@fluendo.com>
19275 2005-11-09 Wim Taymans <wim@fluendo.com>
19277 * docs/gst/gstreamer-sections.txt:
19278 Moved the message async delivery private lock and cond
19279 to the private section.
19281 * gst/gstmessage.c:
19282 * gst/gstmessage.h:
19285 2005-11-09 Edward Hervey <edward@fluendo.com>
19287 * docs/gst/gstreamer-sections.txt:
19290 Document GstURIHandler
19292 2005-11-09 Wim Taymans <wim@fluendo.com>
19294 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19295 (gst_iterator_find_custom):
19296 * gst/gstiterator.h:
19299 2005-11-09 Wim Taymans <wim@fluendo.com>
19302 Document another field.
19304 * gst/gststructure.c:
19305 * gst/gststructure.h:
19308 2005-11-09 Wim Taymans <wim@fluendo.com>
19311 Documented structs.
19313 2005-11-09 Wim Taymans <wim@fluendo.com>
19315 * docs/gst/gstreamer-sections.txt:
19316 Added some new macros.
19323 2005-11-09 Wim Taymans <wim@fluendo.com>
19325 * docs/design/part-TODO.txt:
19326 Some more items for the TODO
19332 2005-11-09 Andy Wingo <wingo@pobox.com>
19334 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19335 to work on something else now tho...
19337 * gst/base/gstadapter.c: More adapter docs.
19339 * gst/elements/gstfilesink.c (gst_file_sink_start)
19340 (gst_file_sink_stop): New functions, replace the state change
19342 (gst_file_sink_class_init): Hook up the start and stop functions.
19343 (gst_file_sink_base_init): Don't set the state change handler any
19344 more. It was a bit ugly too, being set from here...
19345 (gst_file_sink_get_property, gst_file_sink_set_property):
19347 (gst_file_sink_set_location): More robust check that doesn't call
19348 GST_STATE. Ugggggg.
19350 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19352 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19353 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19355 2005-11-08 Wim Taymans <wim@fluendo.com>
19357 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19358 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19359 (gst_base_sink_chain), (gst_base_sink_change_state):
19360 * gst/base/gstbasesink.h:
19361 * gst/base/gstbasesrc.h:
19362 * gst/gstelement.h:
19364 Avoid excessive typechecking in macros.
19366 * gst/gstminiobject.c: (gst_mini_object_get_type),
19367 (gst_mini_object_init), (gst_mini_object_new),
19368 (gst_mini_object_free):
19369 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19370 (gst_object_finalize):
19371 Remove cruft code, optimize alloc_trace.
19373 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19375 * docs/faq/gst-uninstalled:
19376 fix up PS1 for systems that try to reset it
19378 2005-11-07 Wim Taymans <wim@fluendo.com>
19380 * gst/base/gstbasesrc.c: (gst_base_src_init),
19381 (gst_base_src_get_range):
19382 Set the segment_end to -1 initially. Fixed typefind.
19384 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19386 * gst/base/gstadapter.c:
19387 Debug category should be 'adapter', not 'GstAdapter'.
19389 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19390 (gst_collectpads_class_init), (gst_collectpads_init),
19391 (gst_collectpads_peek), (gst_collectpads_pop),
19392 (gst_collectpads_event), (gst_collectpads_chain):
19393 Add debug category and some debugging output. Use boilerplate
19394 macros. Remove some extraneous words from docs.
19396 2005-11-05 Andy Wingo <wingo@pobox.com>
19398 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19401 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19403 * docs/gst/gstreamer-sections.txt:
19406 * gst/gstminiobject.h:
19411 2005-11-04 Wim Taymans <wim@fluendo.com>
19413 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19414 Small update to stop at the configured segment_end
19417 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19419 * gst/gstregistry.c:
19420 * gst/gstregistry.h:
19423 2005-11-04 Edward Hervey <edward@fluendo.com>
19425 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19426 Check if we are doing a segment seek and have arrived at the
19427 end of that segment.
19429 2005-11-04 Wim Taymans <wim@fluendo.com>
19431 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19432 Don't leak a mutex unlock in case of an error.
19437 2005-11-04 Wim Taymans <wim@fluendo.com>
19439 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19441 Get the context to wake up only once.
19443 2005-11-03 Wim Taymans <wim@fluendo.com>
19445 * check/states/sinks.c: (GST_START_TEST):
19446 Uncomment fixed check.
19448 * docs/design/part-TODO.txt:
19451 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19452 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19453 (gst_base_sink_get_position):
19454 If we are going to PLAYING, post the right pending state
19455 when we post the intermediate paused message.
19457 * gst/gstelement.c: (gst_element_continue_state),
19458 (gst_element_set_state_func), (gst_element_change_state):
19459 Don't post state changes that were between the same state
19460 and were not ASYNC.
19462 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19464 * docs/gst/gstreamer-sections.txt:
19467 * gst/gstminiobject.h:
19470 more docs and doc style fixes
19472 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19474 * docs/gst/gstreamer-sections.txt:
19475 * gst/gstelement.c:
19476 * gst/gstminiobject.c:
19479 2005-11-03 Andy Wingo <wingo@pobox.com>
19481 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19482 state-changed messages actually have the right order and the right
19485 2005-11-03 Wim Taymans <wim@fluendo.com>
19487 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19488 Added some more checks. Specifically the case where NO_PREROLL
19489 elements are in the pipeline.
19491 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19492 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19493 (gst_base_sink_get_position):
19494 Post READY->PAUSED state change messages too.
19495 Fix bug where VOID was posted as pending state...
19497 * gst/gstbin.c: (gst_bin_recalc_state):
19498 use _element_continue_state() to continue the state change.
19500 * gst/gstelement.c: (gst_element_continue_state),
19501 (gst_element_commit_state), (gst_element_set_state_func),
19502 (gst_element_change_state), (gst_element_change_state_func):
19503 Lots of state change cleanups, assign the STATE_RETURN in
19504 a new continue_state() function that also propagates the
19505 last return value from a state change to the app.
19506 Update some debug statements with proper category.
19508 2005-11-03 Wim Taymans <wim@fluendo.com>
19510 * docs/design/part-events.txt:
19511 * docs/design/part-gstpipeline.txt:
19512 * docs/design/part-messages.txt:
19513 * docs/design/part-overview.txt:
19514 * docs/design/part-seeking.txt:
19515 * docs/design/part-states.txt:
19516 * docs/design/part-trickmodes.txt:
19517 * docs/manual/advanced-position.xml:
19518 Small docs updates.
19521 People think !! is ugly, this looks better.
19523 * gst/gstpad.c: (gst_pad_set_blocked_async):
19524 Remove !! since it's fixed elsewhere now.
19526 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19528 * gst/gstminiobject.h:
19530 Add !! to _FLAG_IS_SET macros to make the result boolean.
19532 2005-11-03 Edward Hervey <edward@fluendo.com>
19534 * gst/gstpad.c: (gst_pad_set_blocked_async):
19535 comparing a flag and a gboolean rarely returns coherent results...
19536 Added two characters (!!) to make that work correctly.
19538 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19540 * gst/gstbus.c: (gst_bus_class_init):
19543 * gst/gstqueue.c: (gst_queue_loop):
19544 Don't assume a miniobject that isn't a buffer is an
19545 event (it could be that there is a refcounting
19546 problem somewhere and the pointer is stale and
19547 refers to an already destroyed miniobject).
19549 2005-11-03 Julien MOUTTE <julien@moutte.net>
19551 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19553 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19555 * docs/manual/advanced-position.xml:
19556 Update seek example and explanations to current 0.9 API.
19558 * gst/elements/gsttypefindelement.c:
19559 (gst_type_find_element_activate):
19560 Remove FIXME comment now that the found caps
19563 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19565 * gst/gstregistryxml.c: (load_feature):
19566 Add another GST_STR_NULL instance
19568 2005-11-02 Edward Hervey <edward@fluendo.com>
19570 * gst/gstpad.c: (handle_pad_block):
19571 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19573 2005-11-02 Wim Taymans <wim@fluendo.com>
19578 * gst/gstelement.c: (gst_element_commit_state):
19579 Remove unused value.
19581 * gst/gstiterator.c:
19582 Mention that the returned element is reffed in the docs.
19584 2005-11-02 Wim Taymans <wim@fluendo.com>
19586 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19587 (gst_pad_push), (gst_pad_push_event):
19588 Unlock blocked pads when they are flushed.
19590 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19593 * docs/gst/gstreamer-sections.txt:
19596 * gst/gstregistry.c: (gst_registry_scan_path_level):
19597 fix for a nasty little missed situation where an installed plug-in
19598 which was in the cache did not get overridden by an uninstalled one
19599 which was earlier in the plugin path because the newly created plugin
19600 for the uninstalled one (not in the registry) didn't get its
19601 ->registered set to TRUE
19603 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19605 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19606 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19607 (gst_collectpads_is_active), (gst_collectpads_collect),
19608 (gst_collectpads_collect_range), (gst_collectpads_start),
19609 (gst_collectpads_stop), (gst_collectpads_peek),
19610 (gst_collectpads_pop), (gst_collectpads_available),
19611 (gst_collectpads_read), (gst_collectpads_flush):
19612 Guard public API with assertions.
19615 Fix docs for gst_pad_set_link_function().
19617 2005-11-02 Johan Dahlin <johan@gnome.org>
19619 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19620 Unref found_caps after we used it.
19622 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19624 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19625 Don't try to ref NULL.
19627 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19629 * win32/common/config.h.in:
19630 provide a GST_FUNCTION that just gives a string for now
19632 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19634 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19635 (gst_object_flags_get_type), (register_gst_bin_flags),
19636 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19637 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19638 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19639 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19640 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19641 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19642 (gst_clock_flags_get_type), (register_gst_state),
19643 (gst_state_get_type), (register_gst_state_change_return),
19644 (gst_state_change_return_get_type), (register_gst_state_change),
19645 (gst_state_change_get_type), (register_gst_element_flags),
19646 (gst_element_flags_get_type), (register_gst_core_error),
19647 (gst_core_error_get_type), (register_gst_library_error),
19648 (gst_library_error_get_type), (register_gst_resource_error),
19649 (gst_resource_error_get_type), (register_gst_stream_error),
19650 (gst_stream_error_get_type), (register_gst_event_type),
19651 (gst_event_type_get_type), (register_gst_seek_type),
19652 (gst_seek_type_get_type), (register_gst_seek_flags),
19653 (gst_seek_flags_get_type), (register_gst_format),
19654 (gst_format_get_type), (register_gst_index_certainty),
19655 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19656 (gst_index_entry_type_get_type),
19657 (register_gst_index_lookup_method),
19658 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19659 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19660 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19661 (gst_index_flags_get_type), (register_gst_debug_level),
19662 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19663 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19664 (gst_iterator_result_get_type), (register_gst_iterator_item),
19665 (gst_iterator_item_get_type), (register_gst_message_type),
19666 (gst_message_type_get_type), (register_gst_mini_object_flags),
19667 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19668 (gst_pad_link_return_get_type), (register_gst_flow_return),
19669 (gst_flow_return_get_type), (register_gst_activate_mode),
19670 (gst_activate_mode_get_type), (register_gst_pad_direction),
19671 (gst_pad_direction_get_type), (register_gst_pad_flags),
19672 (gst_pad_flags_get_type), (register_gst_pad_presence),
19673 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19674 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19675 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19676 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19677 (gst_plugin_flags_get_type), (register_gst_rank),
19678 (gst_rank_get_type), (register_gst_query_type),
19679 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19680 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19681 (gst_tag_flag_get_type), (register_gst_task_state),
19682 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19683 (gst_alloc_trace_flags_get_type),
19684 (register_gst_type_find_probability),
19685 (gst_type_find_probability_get_type), (register_gst_uri_type),
19686 (gst_uri_type_get_type), (register_gst_parse_error),
19687 (gst_parse_error_get_type):
19688 * win32/common/gstversion.h:
19689 update win32 copies
19691 2005-11-01 Luca Ognibene <luogni@tin.it>
19694 fix docs. popt is dead, long live GOption.
19696 2005-10-31 Wim Taymans <wim@fluendo.com>
19701 2005-10-31 Andy Wingo <wingo@pobox.com>
19705 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19707 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19708 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19709 the possibility of deadlocks here if code calling notify() or
19710 set() has a lock that can be taken in another notify handler (ABBA
19711 with class lock and e.g. python GIL state lock).
19713 2005-10-28 Julien MOUTTE <julien@moutte.net>
19715 * gst/gstbus.c: Doc updates.
19717 2005-10-28 Wim Taymans <wim@fluendo.com>
19719 * docs/design/part-TODO.txt:
19720 * gst/gstiterator.c:
19721 * gst/gstsystemclock.c:
19722 * gst/gstsystemclock.h:
19725 2005-10-28 Edward Hervey <edward@fluendo.com>
19727 * docs/gst/gstreamer-docs.sgml:
19728 * docs/gst/gstreamer-sections.txt:
19729 the GstURIType documentation page is private, it only defines GstURIType
19730 which should be defined in the GstURIHandler page
19732 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19734 * gst/gstbin.c: (gst_bin_class_init):
19737 Documentation updates.
19739 2005-10-28 Wim Taymans <wim@fluendo.com>
19741 * docs/gst/gstreamer-sections.txt:
19744 Documented the clocks.
19746 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19748 * docs/gst/gstreamer-sections.txt:
19749 move some macros to private sections
19750 * gst/gstminiobject.c:
19751 * gst/gstminiobject.h:
19752 add descriptions provided by ds and some more
19754 mark macro as to be removed
19756 2005-10-28 Wim Taymans <wim@fluendo.com>
19758 * docs/design/part-TODO.txt:
19759 Add an item to TODO.
19761 * gst/gstiterator.c: (gst_iterator_fold),
19762 (gst_iterator_find_custom):
19763 * gst/gstiterator.h:
19766 2005-10-28 Wim Taymans <wim@fluendo.com>
19768 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19769 (gst_base_transform_init):
19772 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19773 An EOS event marks the queue as completely filled.
19775 2005-10-27 Wim Taymans <wim@fluendo.com>
19777 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19778 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19779 Some more debugging.
19781 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19782 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19783 (gst_base_transform_event), (gst_base_transform_getrange),
19784 (gst_base_transform_chain):
19785 * gst/base/gstbasetransform.h:
19787 Protect transform and concurrent buffer alloc with a new lock.
19788 Try not to break ABI/API.
19790 2005-10-27 Wim Taymans <wim@fluendo.com>
19792 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19793 (gst_base_src_init), (gst_base_src_query),
19794 (gst_base_src_default_newsegment),
19795 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19796 (gst_base_src_send_event), (gst_base_src_event_handler),
19797 (gst_base_src_pad_get_range), (gst_base_src_loop),
19798 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19799 (gst_base_src_start), (gst_base_src_deactivate),
19800 (gst_base_src_activate_push), (gst_base_src_change_state):
19801 Move some stuff around and cleanup things.
19803 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19805 * gst/base/gstbasesrc.c: (gst_base_src_query):
19806 Add missing break statements.
19808 2005-10-27 Wim Taymans <wim@fluendo.com>
19810 * check/gst/gstbin.c: (GST_START_TEST):
19811 An extra refcount is taken in basesrc.
19813 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19814 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19815 (gst_base_src_loop):
19816 Small cleanups, check for flushing after being unlocked from the
19817 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19818 Don't send out EOS when going to READY.
19820 2005-10-27 Wim Taymans <wim@fluendo.com>
19822 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19823 (gst_base_sink_get_position):
19826 * gst/gstbin.c: (message_check), (bin_replace_message),
19827 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19828 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19829 (bin_query_duration_init), (bin_query_duration_fold),
19830 (bin_query_duration_done), (bin_query_generic_fold),
19832 * tools/gst-launch.c: (main):
19835 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19837 * examples/controller/audio-example.c: (main):
19838 * examples/queue/queue.c: (event_loop):
19839 * gst/base/gstbasetransform.h:
19840 * gst/gstelement.c: (gst_element_send_event):
19842 * gst/gstpad.c: (gst_pad_send_event):
19845 changing log priority in error situations
19847 2005-10-25 Wim Taymans <wim@fluendo.com>
19849 * gst/gstbin.c: (message_check), (bin_replace_message),
19850 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19851 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19852 (bin_query_duration_init), (bin_query_duration_fold),
19853 (bin_query_duration_done), (bin_query_generic_fold),
19855 Some doc and debug updates.
19856 Cache previously requested query DURATION for speed. invalidate
19857 cached duration if element posts a DURATION message.
19859 2005-10-25 Wim Taymans <wim@fluendo.com>
19861 * docs/design/part-TODO.txt:
19864 * gst/gstbin.c: (message_check), (bin_replace_message),
19865 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19866 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19867 (bin_query_duration_init), (bin_query_duration_fold),
19868 (bin_query_duration_done), (bin_query_generic_fold),
19870 Handle SEGMENT_START/DONE messages correctly.
19871 More evolved query algorithm that handles duration queries
19874 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19875 (gst_element_get_state_func), (gst_element_abort_state),
19876 (gst_element_commit_state), (gst_element_lost_state):
19877 Some more debugging.
19879 * gst/gstmessage.h:
19882 2005-10-25 Wim Taymans <wim@fluendo.com>
19884 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19885 Don't use invalid stream_time.
19887 * gst/gstevent.c: (gst_event_new_newsegment):
19888 stream_time in newsegment cannot be undefined.
19890 2005-10-24 Wim Taymans <wim@fluendo.com>
19895 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19897 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19899 2005-10-24 Stefan Kost <ensonic@users.sf.net>
19901 * docs/libs/tmpl/gstdparam.sgml:
19902 * docs/libs/tmpl/gstdplinint.sgml:
19903 * docs/libs/tmpl/gstdpman.sgml:
19904 * docs/libs/tmpl/gstdpsmooth.sgml:
19905 * docs/libs/tmpl/gstunitconvert.sgml:
19908 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
19913 === release 0.9.4 ===
19915 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
19918 releasing 0.9.4, "Tyrannosaurus Rex"
19920 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
19922 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19923 (gst_file_sink_get_current_offset):
19924 Use fseeko() and ftello() if available. When falling back on
19925 lseek() to get the current offset, fflush() first to make sure
19926 everything is up-to-date and we get the right offset.
19928 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
19930 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19931 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19932 * gst/gsterror.c: (_gst_stream_errors_init):
19934 * gst/gstqueue.c: (gst_queue_loop):
19936 remove prematurely added error category and clean up the instances
19938 2005-10-21 Wim Taymans <wim@fluendo.com>
19940 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19941 (gst_base_sink_get_position), (gst_base_sink_query),
19942 (gst_base_sink_change_state):
19943 Simply set the right flag when going to playing, that's all
19944 we need to do instead of calling a function inside the object
19945 lock (that could take the lock as well and deadlock)
19947 2005-10-21 Wim Taymans <wim@fluendo.com>
19949 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19950 (gst_base_src_loop):
19951 Don't warn, the peer element knows what to do best when
19952 the seek failed, it might try something else.
19954 2005-10-21 Wim Taymans <wim@fluendo.com>
19956 * gst/base/gstbasesrc.c: (gst_base_src_init),
19957 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19960 2005-10-21 Wim Taymans <wim@fluendo.com>
19962 * docs/design/part-segments.txt:
19965 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19966 Correctly set caps, even on the subbufer.
19968 2005-10-21 Wim Taymans <wim@fluendo.com>
19970 * docs/gst/gstreamer-docs.sgml:
19971 * docs/gst/gstreamer-sections.txt:
19972 * gst/gstelement.h:
19975 * gst/gstmessage.h:
19978 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19982 And 2% more doc coverage.
19984 2005-10-21 Andy Wingo <wingo@pobox.com>
19986 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19987 position reporting.
19989 2005-10-20 Wim Taymans <wim@fluendo.com>
19991 * gst/gsterror.c: (gst_error_get_message):
19994 * gst/gststructure.c:
19999 2005-10-20 Wim Taymans <wim@fluendo.com>
20004 Another 1% more coverage.
20006 2005-10-20 Wim Taymans <wim@fluendo.com>
20008 * docs/gst/gstreamer-sections.txt:
20009 * gst/gstelement.c: (gst_element_get_state_func),
20010 (gst_element_abort_state), (gst_element_commit_state),
20011 (gst_element_lost_state):
20013 * gst/gstquery.c: (gst_query_set_position),
20014 (gst_query_parse_position), (gst_query_set_duration),
20015 (gst_query_parse_duration), (gst_query_new_convert):
20017 Yay! 1% more docs coverage.
20019 2005-10-20 Wim Taymans <wim@fluendo.com>
20022 * gst/gstquery.c: (gst_query_set_position),
20023 (gst_query_parse_position), (gst_query_set_duration),
20024 (gst_query_parse_duration), (gst_query_new_convert):
20026 * gst/gstutils.c: (gst_element_query_convert):
20028 Docs and consistency fixes.
20030 2005-10-20 Wim Taymans <wim@fluendo.com>
20036 2005-10-20 Wim Taymans <wim@fluendo.com>
20038 * gst/gstbin.c: (message_check), (bin_replace_message),
20039 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20040 (update_degree), (gst_bin_sort_iterator_next),
20041 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20042 Reworked the message handling a bit, cache the messages instead of
20043 only the senders. alows us to do more in the future.
20045 2005-10-20 Wim Taymans <wim@fluendo.com>
20047 * docs/design/part-TODO.txt:
20050 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20051 (gst_base_sink_query):
20052 Don't use clock time to report position when in EOS.
20054 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20056 * tools/gst-inspect.c: (print_interfaces),
20057 (print_element_properties_info), (print_element_info):
20058 Fix interface output with gst-inspect -a; don't print
20059 newlines after double/float properties.
20061 2005-10-20 Wim Taymans <wim@fluendo.com>
20063 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20064 (gst_base_sink_query):
20065 Speed up current position calculation.
20067 * gst/base/gstbasesrc.c: (gst_base_src_query),
20068 (gst_base_src_default_newsegment):
20069 Correctly set stream position in newsegment.
20071 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20072 (update_degree), (gst_bin_sort_iterator_next),
20073 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20074 * gst/gstmessage.c: (gst_message_new_custom):
20075 Clean up debugging info
20077 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20078 (gst_queue_loop), (gst_queue_handle_src_query):
20081 2005-10-19 Wim Taymans <wim@fluendo.com>
20083 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20084 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20085 Fix query handling again.
20087 2005-10-19 Wim Taymans <wim@fluendo.com>
20089 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20090 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20091 * gst/base/gstbasesrc.c: (gst_base_src_query):
20092 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20093 * gst/elements/gsttypefindelement.c:
20094 (gst_type_find_handle_src_query), (find_element_get_length),
20095 (gst_type_find_element_activate):
20098 * gst/gstquery.c: (gst_query_new_position),
20099 (gst_query_set_position), (gst_query_parse_position),
20100 (gst_query_new_duration), (gst_query_set_duration),
20101 (gst_query_parse_duration), (gst_query_set_segment),
20102 (gst_query_parse_segment):
20104 Bundling query position/duration is not a good idea since duration
20105 does not change much and we don't want to recalculate it for every
20106 position query, so they are separated again..
20107 Base value in segment query is not needed.
20109 * gst/gstqueue.c: (gst_queue_handle_src_query):
20110 * gst/gstutils.c: (gst_element_query_position),
20111 (gst_element_query_duration), (gst_pad_query_position),
20112 (gst_pad_query_duration):
20114 Updates for query API change.
20115 Added some docs here and there.
20117 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20119 * check/gst/gstbin.c: (GST_START_TEST):
20120 * check/gst/gstghostpad.c: (GST_START_TEST):
20121 * check/pipelines/cleanup.c: (GST_START_TEST):
20122 wait on thread to die so we can check refcount correctly
20124 2005-10-18 Wim Taymans <wim@fluendo.com>
20126 * check/pipelines/stress.c: (GST_START_TEST):
20127 Make check a little more time consuming.
20129 2005-10-18 Wim Taymans <wim@fluendo.com>
20131 * check/Makefile.am:
20132 * check/pipelines/stress.c: (GST_START_TEST),
20133 (simple_launch_lines_suite), (main):
20134 Small state change torture test.
20136 * docs/design/part-states.txt:
20137 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20138 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20139 (gst_base_sink_change_state):
20140 Never take state lock from streaming thread, clean up ugly
20141 hacks. Unfortunatly core does not yet support nice ways to
20142 async commit state.
20144 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20146 Start state recalc if a STATE_DIRTY message is posted, but only
20147 on the toplevel bin.
20149 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20150 (gst_element_get_state_func), (gst_element_abort_state),
20151 (gst_element_commit_state), (gst_element_lost_state),
20152 (gst_element_set_state_func), (gst_element_change_state):
20153 * gst/gstelement.h:
20154 State variables are now protected with the LOCK, the state
20155 lock is only used to serialize _set_state().
20157 2005-10-18 Wim Taymans <wim@fluendo.com>
20159 * check/gst/gstbin.c: (GST_START_TEST):
20160 * check/gst/gstmessage.c: (GST_START_TEST):
20161 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20162 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20164 * gst/gstelement.c: (gst_element_abort_state),
20165 (gst_element_commit_state), (gst_element_lost_state):
20166 * gst/gstmessage.c: (gst_message_new_state_changed),
20167 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20168 (gst_message_new_segment_done), (gst_message_new_duration),
20169 (gst_message_parse_state_changed),
20170 (gst_message_parse_segment_start),
20171 (gst_message_parse_segment_done), (gst_message_parse_duration):
20172 * gst/gstmessage.h:
20173 * tools/gst-launch.c: (event_loop):
20174 Seriously, this is better than a previous commit as we only need
20175 to notify the fact that an element changed state in a streaming
20176 thread, marking the state of the parents dirty, hence the
20177 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20180 2005-10-18 Wim Taymans <wim@fluendo.com>
20182 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20183 (gst_bin_recalc_func):
20184 * gst/gstelement.c: (gst_element_set_clock),
20185 (gst_element_abort_state), (gst_element_lost_state):
20186 Cleanups, prepare for state change fixes.
20188 2005-10-18 Wim Taymans <wim@fluendo.com>
20191 * gst/gstelement.c: (gst_element_class_init),
20192 (gst_element_set_state), (gst_element_set_state_func):
20193 * gst/gstelement.h:
20194 Pending ABI changes.
20195 GThreadPool in GstBinClass to monitor async state changes.
20196 state_cookie in GstElement to detect concurrent gst/set state.
20197 set_state is now virtual too in case a very complicated element
20198 has to be constructed.
20200 2005-10-18 Wim Taymans <wim@fluendo.com>
20202 * check/gst/gstbin.c: (GST_START_TEST):
20203 * check/gst/gstmessage.c: (GST_START_TEST):
20204 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20205 * gst/gstbin.c: (bin_bus_handler):
20206 * gst/gstelement.c: (gst_element_commit_state),
20207 (gst_element_lost_state):
20208 * gst/gstmessage.c: (gst_message_new_state_changed),
20209 (gst_message_new_segment_start), (gst_message_new_segment_done),
20210 (gst_message_new_duration), (gst_message_parse_state_changed),
20211 (gst_message_parse_segment_start),
20212 (gst_message_parse_segment_done), (gst_message_parse_duration):
20213 * gst/gstmessage.h:
20214 * tools/gst-launch.c: (event_loop):
20215 Make messages future proof.
20216 state-change gets a flag if it was a message comming from the
20218 segment-start/stop can also be specified in other formats.
20219 A message to notify an app that a pipeline changed playback
20221 Also fix a GstMessage leak in -launch
20223 2005-10-18 Andy Wingo <wingo@pobox.com>
20225 * gst/gstelement.c (gst_element_dispose): More helpful message.
20227 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20229 reviewed by: <delete if not using a buddy>
20231 * common/gtk-doc.mak:
20233 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20235 * gst/gstregistry.c: (gst_registry_scan_path_level):
20236 unref a plug-in we get that was already initialized
20238 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20240 * docs/gst/gstreamer-sections.txt:
20241 * docs/libs/gstreamer-libs-sections.txt:
20242 * gst/gstelement.h:
20243 add new api entries
20244 hide internal macro
20246 2005-10-17 Andy Wingo <wingo@pobox.com>
20248 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20251 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20253 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20255 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20256 (gst_element_get_state_func): Better debug message.
20257 (gst_element_commit_state): s/INFO/DEBUG/.
20258 (gst_element_lost_state, gst_element_change_state):
20260 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20261 (gst_message_new_custom): s/INFO/LOG/.
20263 2005-10-17 Michael Smith <msmith@fluendo.com>
20265 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20266 Check if end time is valid using end time, not start time.
20268 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20270 * check/gst-libs/controller.c: (GST_START_TEST),
20271 (gst_controller_suite):
20272 * libs/gst/controller/gstcontroller.c:
20273 (gst_controlled_property_set_interpolation_mode):
20274 * libs/gst/controller/gstcontroller.h:
20275 * libs/gst/controller/gstinterpolation.c:
20276 * testsuite/controller/.cvsignore:
20277 * testsuite/controller/Makefile.am:
20278 * testsuite/controller/interpolator.c:
20279 merge controller testsuites
20281 remove mem-chunk from docs
20283 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20285 * gst/gstmemchunk.c:
20286 * gst/gstmemchunk.h:
20287 * gst/gsttrashstack.c:
20288 * gst/gsttrashstack.h:
20289 out. get out. you're fired. to the Attic !
20291 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20293 * gst/gstcaps.c: (gst_caps_intersect):
20294 fix signedness issues in a (hopefully) correct way
20295 * gst/gstelement.c: (gst_element_pads_activate):
20297 * gst/gstobject.c: (gst_object_set_parent):
20300 2005-10-17 Julien MOUTTE <julien@moutte.net>
20302 * gst/gstvalue.h: Fix prototypes.
20304 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20306 * docs/gst/gstreamer-sections.txt:
20307 * gst/gst.c: (gst_version_string):
20309 * gst/gstversion.h.in:
20310 * win32/common/libgstreamer.def:
20311 add gst_version_string ()
20313 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20317 * gst/gst.c: (init_post):
20318 * win32/common/config.h.in:
20320 * gst/gstcaps.c: (gst_caps_intersect):
20321 use gint64, the range could be bigger than a guint
20323 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20326 document potential problem in 2038
20328 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20330 * gst/gstcaps.c: (gst_caps_intersect):
20331 Fix guint j diving under 0
20333 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20336 * win32/common/config.h:
20337 * win32/common/config.h.in:
20338 check for process.h, declares getpid() on Windows
20340 include process.h if we have it
20341 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20342 * gst/gstmemchunk.h:
20343 fix signedness issues
20344 * win32/common/libgstreamer.def:
20347 2005-10-16 Julien MOUTTE <julien@moutte.net>
20349 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20350 fix. Because of unsigned ints, caps intersection was going nuts and
20351 trying to access structures with G_MAXUINT index. That fixes
20352 videotestsrc ! ffmpegcolorspace ! fakesink
20353 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20356 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20359 use the gettext macro
20360 * gst/elements/gstelements.c:
20362 * gst/indexers/gstindexers.c:
20363 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20364 * win32/common/config.h:
20366 * win32/common/config.h.in:
20367 add the template to generate config.h
20368 * win32/common/gstenumtypes.c:
20369 * win32/common/gstversion.h:
20372 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20374 * gst/gst.c: (gst_version):
20375 * gst/gstversion.h.in:
20378 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20381 Oops, add missing closing bracket.
20383 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20386 use common m4's for argument checking
20388 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20390 * docs/gst/gstreamer-sections.txt:
20392 Add GST_EVENT_TYPE_NAME() macro.
20394 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20397 * gst/gstpluginfeature.c:
20399 privatize more symbols
20401 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20404 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20405 everything that uses GStreamer API should have the includes
20407 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20409 * docs/gst/gstreamer-sections.txt:
20410 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20412 give each value a _get_type, removes the DATA exports
20414 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20418 remove _gst_registry_auto_load, not used anymore
20419 * gst/gstbin.c: (gst_bin_get_type):
20421 * gst/gstelement.c: (gst_element_get_type):
20422 * gst/gstelement.h:
20423 * gst/gstobject.c: (gst_object_get_type):
20425 * gst/gstpad.c: (gst_pad_get_type):
20427 make _get_type functions similar, fixes data export from library
20429 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20432 correctly make conditionals
20433 * gst/elements/Makefile.am:
20434 * gst/elements/gstelements.c:
20435 fix typo causing fdsrc not to build
20437 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20439 * testsuite/Makefile.am:
20440 * testsuite/bytestream/.cvsignore:
20441 * testsuite/bytestream/Makefile.am:
20442 * testsuite/bytestream/filepadsink.c:
20443 * testsuite/bytestream/gstbstest.c:
20444 * testsuite/bytestream/test1.c:
20445 * testsuite/bytestream/testfile1:
20446 * testsuite/caps/normalisation.c:
20447 * testsuite/caps/random.c: (main):
20448 * testsuite/cleanup/.cvsignore:
20449 * testsuite/cleanup/Makefile.am:
20450 * testsuite/cleanup/cleanup1.c:
20451 * testsuite/cleanup/cleanup2.c:
20452 * testsuite/cleanup/cleanup3.c:
20453 * testsuite/cleanup/cleanup4.c:
20454 * testsuite/cleanup/cleanup5.c:
20455 * testsuite/controller/interpolator.c:
20456 * testsuite/debug/printf_extension.c: (main):
20457 * testsuite/elements/tee.c:
20458 * testsuite/negotiation/.cvsignore:
20459 * testsuite/negotiation/Makefile.am:
20460 * testsuite/negotiation/pad_link.c:
20461 * testsuite/pad/Makefile.am:
20462 * testsuite/pad/chainnopull.c:
20463 * testsuite/pad/getnopush.c:
20464 * testsuite/pad/link.c:
20465 * testsuite/refcounting/sched.c: (create_pipeline):
20466 * testsuite/registry/Makefile.am:
20467 * testsuite/registry/gst-print-formats.c:
20468 * testsuite/schedulers/.cvsignore:
20469 * testsuite/schedulers/142183-2.c:
20470 * testsuite/schedulers/142183.c:
20471 * testsuite/schedulers/143777-2.c:
20472 * testsuite/schedulers/143777.c:
20473 * testsuite/schedulers/147713.c:
20474 * testsuite/schedulers/147819.c:
20475 * testsuite/schedulers/147894-2.c:
20476 * testsuite/schedulers/147894.c:
20477 * testsuite/schedulers/Makefile.am:
20478 * testsuite/schedulers/group_link.c:
20479 * testsuite/schedulers/queue_link.c:
20480 * testsuite/schedulers/relink.c:
20481 * testsuite/schedulers/unlink.c:
20482 * testsuite/schedulers/unref.c:
20483 * testsuite/schedulers/useless_iteration.c:
20484 * testsuite/states/bin.c:
20485 clean out/remove some stuff from the testsuite directories
20487 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20490 check for some headers
20491 * gst/elements/Makefile.am:
20492 * gst/elements/gstelements.c:
20493 don't compile fdsrc without sys/socket.h
20494 * gst/indexers/Makefile.am:
20495 * gst/indexers/gstindexers.c: (plugin_init):
20496 don't compile fileindex without mmap
20498 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20505 * check/Makefile.am:
20506 * docs/gst/Makefile.am:
20507 * examples/helloworld/Makefile.am:
20509 * gst/base/Makefile.am:
20510 * gst/check/Makefile.am:
20511 * gst/elements/Makefile.am:
20512 * gst/indexers/Makefile.am:
20513 * gst/parse/Makefile.am:
20514 * libs/gst/controller/Makefile.am:
20515 * libs/gst/dataprotocol/Makefile.am:
20516 * examples/helloworld/helloworld.c: (event_loop):
20517 compile fixes, though it's not being compiled currently
20519 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20521 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20522 Add some simple tests for the new taglist date API.
20524 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20526 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20527 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20528 Beautify 'last-message' output: print 'none' for buffer timestamps
20529 and durations if none is set; improve alignment with next messages.
20531 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20533 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20534 * gst/gstpluginfeature.h:
20535 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20536 * gst/gstregistry.h:
20537 * docs/gst/gstreamer-sections.txt:
20538 Add new API to check plugin feature version requirements.
20540 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20541 Some basic tests for the above.
20543 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20545 * gst/gststructure.c: (gst_structure_to_string):
20546 guard against NULL printf - happens when for example
20547 a message structure with GstClock gets serialized
20549 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20551 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20552 Fix presumable copy'n'pasto.
20554 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20556 * gst/elements/gstfakesrc.h:
20557 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20558 * gst/elements/gsttypefindelement.c:
20559 fix some signedness
20560 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20561 I wonder if this could actually write +2GB files before
20563 2005-10-13 Andy Wingo <wingo@pobox.com>
20565 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20566 Fix Timmeke Waymans bug.
20567 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20568 string of the proper length to gst_caps_from_string. There's a
20569 potential for, before this fix, that this could cause someone
20570 connecting over the network to cause a segfault if the payload is
20571 not NUL-terminated.
20573 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20575 * docs/design/draft-push-pull.txt:
20576 * docs/design/part-overview.txt:
20577 * docs/random/TODO-pre-0.9:
20578 * docs/random/old/ChangeLog.gstreamer:
20579 * gst/base/gstpushsrc.c:
20583 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20585 * gst/glib-compat.c: (gst_flags_get_first_value):
20586 * gst/glib-compat.h:
20587 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20588 (gst_value_compare_double), (gst_value_serialize_flags):
20589 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20592 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20594 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20595 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20597 * tools/gst-launch.c: (event_loop):
20598 print out clock nicely
20600 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20602 * docs/gst/gstreamer-sections.txt:
20603 * gst/gsttaglist.h:
20604 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20605 (gst_tag_list_get_date_index):
20606 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20607 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20609 2005-10-13 Julien MOUTTE <julien@moutte.net>
20611 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20612 (gst_collectpads_chain):
20613 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20616 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20618 * docs/gst/gstreamer-sections.txt:
20621 * tools/gst-inspect.c: (main):
20622 * tools/gst-launch.c: (main):
20623 * tools/gst-run.c: (main):
20624 * tools/gst-xmlinspect.c: (main):
20625 fix GOption context leaks
20628 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20632 * win32/common/config.h:
20634 * win32/vs6/grammar.dsp:
20635 * win32/vs6/libgstelements.dsp:
20636 * win32/vs6/libgstreamer.dsp:
20639 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20641 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20642 * gst/base/gstbasesrc.c: (gst_base_src_query):
20643 fix more guint64<->gdouble conversions
20645 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20648 add win32-update target
20649 * win32/common/gstconfig.h:
20650 * win32/common/gstenumtypes.c:
20651 * win32/common/gstenumtypes.h:
20652 * win32/common/gstversion.h:
20653 add files that visual studio can't generate
20655 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20658 add a win32-update target
20661 2005-10-12 Wim Taymans <wim@fluendo.com>
20663 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20664 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20665 * gst/gstelement.c: (gst_element_commit_state),
20666 (gst_element_set_state):
20667 Protect flags with proper lock.
20668 unref provided cached clock in dispose.
20670 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20673 * gst/gstminiobject.h:
20675 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20676 removed unused flags from miniobject
20679 2005-10-12 Wim Taymans <wim@fluendo.com>
20681 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20682 (gst_file_sink_event), (gst_file_sink_render):
20683 Flush before seeking.
20685 2005-10-12 Andy Wingo <wingo@pobox.com>
20687 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20688 always been the case.
20690 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20692 * check/gst/gstbin.c: (GST_START_TEST):
20693 * docs/gst/gstreamer-sections.txt:
20694 * gst/base/gstbasesink.c: (gst_base_sink_init):
20695 * gst/base/gstbasesrc.c: (gst_base_src_init),
20696 (gst_base_src_get_range), (gst_base_src_check_get_range),
20697 (gst_base_src_start), (gst_base_src_stop):
20698 * gst/base/gstbasesrc.h:
20699 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20700 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20701 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20705 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20707 * gst/gstelement.c: (gst_element_is_locked_state),
20708 (gst_element_set_locked_state), (gst_element_commit_state),
20709 (gst_element_set_state):
20710 * gst/gstelement.h:
20711 * gst/gstindex.c: (gst_index_init):
20713 * gst/gstminiobject.h:
20714 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20715 (gst_object_set_parent):
20717 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20718 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20720 * gst/gstpadtemplate.h:
20721 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20722 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20723 * gst/gstpipeline.h:
20724 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20725 (gst_file_index_commit):
20726 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20727 * testsuite/pad/link.c: (gst_test_src_init),
20728 (gst_test_filter_init), (gst_test_sink_init):
20729 * testsuite/states/locked.c: (main):
20730 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20731 moved bitshift from macro to enum definition
20733 2005-10-12 Wim Taymans <wim@fluendo.com>
20735 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20736 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20737 (gst_file_sink_render):
20738 Some more debugging info.
20740 2005-10-12 Wim Taymans <wim@fluendo.com>
20742 * docs/design/part-states.txt:
20743 * tools/gst-launch.c: (main):
20745 Revert non-intentional change.
20747 2005-10-12 Wim Taymans <wim@fluendo.com>
20749 * check/gst/gstbin.c: (GST_START_TEST):
20750 * check/gst/gstelement.c: (GST_START_TEST):
20751 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20752 * check/gst/gstghostpad.c: (GST_START_TEST):
20753 * check/gst/gstpipeline.c: (GST_START_TEST):
20754 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20755 * check/states/sinks.c: (GST_START_TEST):
20756 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20757 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20758 (gst_bin_remove_func), (gst_bin_get_state_func),
20759 (gst_bin_recalc_state), (gst_bin_change_state_func),
20761 * gst/gstelement.c: (gst_element_get_state_func),
20762 (gst_element_get_state), (gst_element_abort_state),
20763 (gst_element_commit_state), (gst_element_set_state),
20764 (gst_element_change_state), (gst_element_change_state_func):
20765 * gst/gstelement.h:
20766 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20767 (gst_pipeline_provide_clock_func):
20768 * gst/gstutils.c: (gst_element_link_pads_filtered):
20769 * tools/gst-launch.c: (main):
20770 * tools/gst-typefind.c: (main):
20771 Use GstClockTime in _get_state() instead of GTimeVal.
20772 Remove old code in gstutils.c
20774 2005-10-12 Andy Wingo <wingo@pobox.com>
20776 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20779 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20780 there is no task. Shouldn't affect any code, as nothing in our
20781 plugins checks this return value.
20782 (gst_pad_stop_task): Also take the stream lock if the pad has no
20783 task. Docs updated.
20785 2005-10-12 Wim Taymans <wim@fluendo.com>
20787 * gst/gstpad.c: (pre_activate), (post_activate),
20788 (gst_pad_activate_pull), (gst_pad_activate_push):
20789 Cleanup activation code. Reset old state if
20792 2005-10-12 Wim Taymans <wim@fluendo.com>
20794 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20795 (gst_base_sink_change_state):
20796 No need to prerol after receiving EOS.
20798 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20799 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20800 * gst/elements/gstidentity.c: (gst_identity_event):
20801 Print events more verbosely.
20803 2005-10-12 Wim Taymans <wim@fluendo.com>
20805 * check/Makefile.am:
20806 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20807 * check/states/sinks2.c:
20808 Moved sinks2 testcode in sinks check.
20810 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20811 (gst_bin_remove_func), (gst_bin_recalc_state),
20812 (gst_bin_change_state_func), (bin_bus_handler):
20813 Fix potential race condition when _get_state() iterated over an
20814 ASYNC element right before it posted a state completion.
20817 Do proper cast here.
20819 * gst/gstevent.c: (gst_event_new_newsegment),
20820 (gst_event_parse_newsegment):
20821 A playback rate of 0.0 is not allowed.
20823 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20825 * win32/common/config.h:
20826 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20827 (_trewinddir), (_ttelldir), (_tseekdir):
20828 * win32/common/dirent.h:
20829 * win32/common/gtchar.h:
20830 * win32/common/libgstbase.def:
20831 * win32/common/libgstreamer.def:
20832 * win32/vs6/grammar.dsp:
20833 * win32/vs6/gst_inspect.dsp:
20834 * win32/vs6/gst_launch.dsp:
20835 * win32/vs6/gstreamer.dsw:
20836 * win32/vs6/libgstbase.dsp:
20837 * win32/vs6/libgstelements.dsp:
20838 * win32/vs6/libgstreamer.dsp:
20839 Visual Studio 6 project files, and a new common directory.
20842 2005-10-11 Wim Taymans <wim@fluendo.com>
20844 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20845 (gst_base_sink_do_sync), (gst_base_sink_query),
20846 (gst_base_sink_change_state):
20847 * gst/base/gstbasesink.h:
20848 Correctly parse newsegment info.
20850 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20852 * gst/gst.c: (init_post):
20853 split plugin paths correctly
20855 2005-10-11 Wim Taymans <wim@fluendo.com>
20857 * check/gst/gstevent.c: (GST_START_TEST):
20858 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20859 (gst_base_sink_change_state):
20860 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20861 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20862 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20863 * gst/gstevent.c: (gst_event_new_newsegment),
20864 (gst_event_parse_newsegment):
20866 Added extra flag to newsegment for future API freeze.
20867 Updated check and base elements.
20869 2005-10-11 Julien MOUTTE <julien@moutte.net>
20871 * gst/base/gstcollectpads.c: (gst_collectpads_init),
20872 (gst_collectpads_add_pad), (gst_collectpads_pop),
20873 (gst_collectpads_event), (gst_collectpads_chain):
20874 * gst/base/gstcollectpads.h: Handle EOS correctly.
20876 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20878 * tools/gst-launch.c: (main):
20879 more null protecting
20881 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20883 * gst/gst-i18n-lib.h:
20884 check for ENABLE_NLS, not GETTEXT_PACKAGE
20885 * gst/gstregistry.c: (gst_registry_add_plugin),
20886 (gst_registry_scan_path_level),
20887 (_gst_registry_remove_cache_plugins):
20888 protect possibly NULL strings
20889 * gst/parse/types.h:
20890 config.h already included before
20891 * tools/gst-inspect.c: (main):
20892 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20893 check for ENABLE_NLS, not GETTEXT_PACKAGE
20894 * tools/gst-launch.c: (main):
20895 check for ENABLE_NLS, not GETTEXT_PACKAGE
20897 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20900 if we don't have glib, fail before testing 2.8
20901 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20902 fix a leak, should fix plugins-base testsuite
20904 2005-10-11 Andy Wingo <wingo@pobox.com>
20906 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20907 take the mode we're going to as an arg. Go head and set the mode
20908 and flushing flags now, so that if the activate function starts a
20909 thread all the flags will be in the right state.
20910 (post_activate): Renamed also. Just handle making sure streaming
20911 finishes for the deactivation case, and setting the deactivated
20913 (gst_pad_set_active): Complain loudly if deactivation fails.
20914 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20915 (gst_pad_activate_push): Adapt to pre/post_activate changes,
20916 remove the terrible hack.
20918 2005-10-11 Wim Taymans <wim@fluendo.com>
20920 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20921 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20922 (gst_bin_recalc_state), (gst_bin_change_state_func),
20923 (gst_bin_dispose), (bin_bus_handler):
20925 Prepare to make current EOS message queue more generic.
20928 * gst/gstevent.c: (gst_event_new_newsegment),
20929 (gst_event_parse_newsegment):
20931 Rename base to stream_time.
20933 * gst/gstmessage.h:
20936 2005-10-11 Wim Taymans <wim@fluendo.com>
20938 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20939 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20940 (gst_bin_change_state_func), (bin_bus_handler):
20942 Work on proper clock selection.
20944 2005-10-11 Edward Hervey <edward@fluendo.com>
20946 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
20947 * libs/gst/controller/gstcontroller.h:
20948 Added GList* version of _remove_properties() in order to be able to wrap
20951 2005-10-11 Wim Taymans <wim@fluendo.com>
20953 * docs/design/part-states.txt:
20956 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20957 (gst_bin_change_state_func), (bin_bus_handler):
20958 Doc updates. Don't distribute the same clock over and over again.
20964 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20965 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20966 (gst_pad_send_event):
20968 Make probe emission threadsafe again.
20969 Register quarks and move _get_name() from utils.
20972 * gst/gstpipeline.c: (gst_pipeline_class_init),
20973 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20974 Only redistribute the clock of it changed.
20976 * gst/gstsystemclock.h:
20981 Moved the _flow_get_name() to GstPad.
20983 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20985 * check/gst-libs/gdp.c: (GST_START_TEST):
20986 * check/gst/gstcaps.c: (GST_START_TEST):
20987 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
20988 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
20989 (gst_dp_packet_from_caps):
20990 fix more valgrind warnings before turning up the heat
20992 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20994 * gst/parse/grammar.y:
20995 some cleanup before the hacking
20997 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
20999 * gst/base/gstbasesrc.c: (gst_base_src_query):
21001 * gst/gstutils.c: (gst_guint64_to_gdouble),
21002 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21004 externalize, basesrc uses it
21005 obviously the implementation needs testing
21007 2005-10-10 Wim Taymans <wim@fluendo.com>
21009 * tests/sched/Makefile.am:
21010 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21011 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21013 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21015 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21016 apparently converting from guint64 to double is not implemented
21019 2005-10-10 Wim Taymans <wim@fluendo.com>
21021 * check/Makefile.am:
21022 * check/generic/states.c: (GST_START_TEST):
21023 * check/gst/gstbin.c: (GST_START_TEST):
21024 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21025 * check/states/sinks.c: (GST_START_TEST):
21026 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21028 Check fixes, use API as stated in design docs, remove hacks.
21030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21031 (gst_base_sink_change_state):
21032 Catch stopping our task while we're shutting down.
21034 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21035 (gst_bin_remove_func), (gst_bin_get_state_func),
21036 (gst_bin_recalc_state), (gst_bin_change_state_func),
21039 * gst/gstelement.c: (gst_element_init),
21040 (gst_element_get_state_func), (gst_element_abort_state),
21041 (gst_element_commit_state), (gst_element_lost_state),
21042 (gst_element_set_state), (gst_element_change_state),
21043 (gst_element_change_state_func):
21044 * gst/gstelement.h:
21045 New state change algorithm (see #318116)
21047 * gst/gstpipeline.c: (gst_pipeline_class_init),
21048 (gst_pipeline_init), (gst_pipeline_set_property),
21049 (gst_pipeline_get_property), (do_pipeline_seek),
21050 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21051 * gst/gstpipeline.h:
21052 Remove crude state change hacks.
21055 Remove crude hacks.
21057 * tools/gst-launch.c: (main):
21058 Fixes for state change. Needs some more work to fully use the
21061 2005-10-10 Andy Wingo <wingo@pobox.com>
21063 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21065 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21066 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21069 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21071 * gst/gstiterator.c: (gst_iterator_new):
21072 Fix my previous commit: GTypes passed to gst_iterator_new()
21073 can be fundamental types.
21075 2005-10-10 Wim Taymans <wim@fluendo.com>
21077 * gst/gstelement.c: (gst_element_iterate_pad_list),
21078 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21079 (gst_element_iterate_sink_pads):
21080 Use src/sink pads lists for the respective iterators instead
21083 2005-10-10 Andy Wingo <wingo@pobox.com>
21085 Merged in popt removal + GOption addition patch from Ronald, bug
21088 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21089 GstElement macros around, remove popt-related symbols, add goption
21092 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21094 * docs/gst/Makefile.am:
21095 * docs/libs/Makefile.am: No POPT_CFLAGS.
21097 * examples/manual/Makefile.am:
21098 * docs/manual/basics-init.xml: Doc updates with an example.
21100 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21101 (gst_init), (parse_one_option), (parse_goption_arg):
21102 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21103 bit of hand merging and debugging to get the GOption stuff working
21106 * tests/Makefile.am:
21107 * tools/Makefile.am:
21108 * tools/gst-inspect.c: (main):
21109 * tools/gst-launch.c: (main):
21110 * tools/gst-run.c: (main):
21111 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21113 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21115 * gst/gstiterator.c: (gst_iterator_new):
21116 Add assertions to make sure passed GType is likely to really
21117 be a GType (as the compiler won't catch it if the size and
21118 GType arguments get mixed up, see #318447).
21120 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21122 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21124 * gst/gstbin.c: (gst_bin_iterate_sorted):
21125 Pass GType and size arguments to gst_iterator_new() in the right
21126 order (maybe we should make _new() take the GType as first argument
21127 just like _new_list()?) (#318447).
21130 2005-10-10 Wim Taymans <wim@fluendo.com>
21132 * gst/gstelement.c: (gst_element_finalize):
21133 And free the GStaticRecMutex too
21135 2005-10-10 Andy Wingo <wingo@pobox.com>
21137 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21138 Allocate and free the mutex properly.
21140 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21142 (GstElement): The state_lock is now recursive. Rebuild your
21143 plugins, suckers. Old macros adapted.
21145 * docs/gst/gstreamer-sections.txt: Doc updates.
21148 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21149 (g_static_rec_cond_wait): Ported from state changes patch, while
21150 we wait on bug #317802 to be solved in a well-distributed GLib.
21152 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21153 gst_element_change_state, variable name changes.
21154 (gst_element_change_state): Split out of gst_element_set_state in
21155 preparation for the state change merge. Doesn't pay attention to
21156 the 'transition' argument.
21157 (gst_element_set_state): Updates, hopefully purely cosmetic.
21158 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21159 state change patch.
21160 (gst_element_get_state_func): Renamed from get_state, cosmetic
21163 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21165 * gst/elements/gstelements.c:
21166 * win32/GStreamer.vcproj:
21168 * win32/dirent.c: (_tseekdir):
21169 * win32/gst-inspect.vcproj:
21170 * win32/gst-launch.vcproj:
21171 * win32/gstconfig.h:
21172 * win32/gstelements.vcproj:
21173 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21174 * win32/gstreamer.def:
21175 * win32/msvc71.sln:
21176 updates for the win32 build (patch from Sebastien Moutte)
21178 2005-10-10 Andy Wingo <wingo@pobox.com>
21180 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21181 gst_bin_get_state, cleaned up (but no logic changes).
21182 (bin_element_is_sink): Comment updates.
21183 (sink_iterator_filter): Remove needless cast.
21184 (gst_bin_iterate_sinks): Doc update.
21185 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21186 cleaned up (but no logic changes).
21188 * check/states/sinks.c (test_src_sink): Cleanups from the state
21190 (test_livesrc_sink): Sync on the state.
21192 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21193 the state change patch.
21195 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21198 * check/gst/gstbin.c: Merge in some style fixes and additional
21199 checks from Wim's state change patch.
21201 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21203 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21204 (gst_type_find_helper):
21205 Check whether we have the requested data already in our list of
21206 cached buffers before pulling a new buffer; also make the buffer
21207 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21209 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21214 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21215 don't use long long, it's not portable. Replacing with
21216 gint64 seems to work; let's hope no skeletons fall out of the closet.
21218 2005-10-10 Andy Wingo <wingo@pobox.com>
21220 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21222 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21224 * docs/gst/gstreamer-sections.txt:
21229 * gst/gstmessage.c: (gst_message_parse_state_changed):
21232 more docs, fix compilation
21234 2005-10-09 Philippe Khalaf <burger@speedy.org>
21235 * gst/gstmessage.c:
21236 Fixed a few forgotten variables on previous commit
21238 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21240 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21241 Fix evil typefind crasher: getrange() might return a short
21242 buffer at the end of a file, but gst_type_find_peek() must
21243 either return the full data as requested or NULL, but
21244 never a short buffer.
21246 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21248 * gst/gstmessage.c: (gst_message_new_state_changed),
21249 (gst_message_parse_state_changed):
21250 * gst/gstmessage.h:
21251 don't use "new", it's a C++ keyword
21253 2005-10-08 Wim Taymans <wim@fluendo.com>
21255 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21256 * gst/gstelement.c: (gst_element_post_message):
21257 * gst/gstpipeline.c: (gst_pipeline_change_state):
21258 Small docs and debug updates.
21260 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21262 * docs/gst/gstreamer-sections.txt:
21263 * gst/gstelementfactory.c:
21265 * gst/gsttaglist.c:
21268 2005-10-08 Wim Taymans <wim@fluendo.com>
21270 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21271 (gst_bin_dispose), (bin_bus_handler):
21272 Fix typos, add comments.
21273 Clear EOS list when going to PAUSED from any direction and do it
21274 in a threadsafe way.
21275 Get base time in a threadsafe way too.
21276 Fix confusing debug in the change_state function.
21277 Various other small cleanups.
21279 * gst/gstelement.c: (gst_element_post_message):
21280 Fix very verbose bus posting code.
21282 * gst/gstpipeline.c: (gst_pipeline_class_init),
21283 (gst_pipeline_set_property), (gst_pipeline_get_property),
21284 (gst_pipeline_change_state):
21285 Small ARG_ -> PROP_ cleanup
21287 2005-10-08 Wim Taymans <wim@fluendo.com>
21289 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21290 Do a less CPU demanding EOS check because we can.
21292 2005-10-08 Wim Taymans <wim@fluendo.com>
21294 * libs/gst/dataprotocol/dataprotocol.c:
21295 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21296 (gst_dp_packet_from_event):
21297 * libs/gst/dataprotocol/dataprotocol.h:
21298 * libs/gst/dataprotocol/dp-private.h:
21299 It's about time we bump the version number.
21300 Since event types don't fit in the guint8 anymore describing
21301 the payload type, make payload type 16 bits wide.
21303 2005-10-08 Wim Taymans <wim@fluendo.com>
21305 * docs/design/part-TODO.txt:
21306 * docs/design/part-clocks.txt:
21307 * docs/design/part-events.txt:
21308 * docs/design/part-gstbin.txt:
21309 * docs/design/part-gstelement.txt:
21310 * docs/design/part-gstpipeline.txt:
21311 * docs/design/part-live-source.txt:
21312 * docs/design/part-messages.txt:
21313 * docs/design/part-overview.txt:
21314 * docs/design/part-states.txt:
21317 2005-10-08 Wim Taymans <wim@fluendo.com>
21321 Fix event quark registration.
21322 Add some space between events so we can insert them in the
21325 2005-10-08 Wim Taymans <wim@fluendo.com>
21327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21328 (gst_base_sink_handle_buffer):
21329 Better log message.
21332 * gst/gstelement.h:
21335 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21336 (gst_queue_set_property), (gst_queue_get_property):
21338 Remove old unused properties.
21340 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21341 * docs/gst/gstreamer-sections.txt:
21342 * gst/gstmessage.c:
21343 * gst/gstmessage.h:
21344 * gst/gstminiobject.c:
21345 * gst/gstminiobject.h:
21349 lots of new docs and doc fixes
21351 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21353 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21355 * gst/gstregistry.c: (gst_registry_lookup_locked),
21356 (gst_registry_scan_path_level):
21357 * gst/gstregistryxml.c: (load_plugin):
21358 Only ever load one plugin for a given plugin basename.
21359 This ensures correct overriding of GST_PLUGIN_PATH over
21360 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21361 system installed plugins.
21363 2005-10-08 Wim Taymans <wim@fluendo.com>
21365 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21366 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21367 Prepare for doing QOS.
21369 2005-10-08 Wim Taymans <wim@fluendo.com>
21371 * check/gst/gstbin.c: (GST_START_TEST):
21372 * check/pipelines/cleanup.c: (GST_START_TEST):
21373 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21374 Allow new clock message too.
21376 2005-10-08 Wim Taymans <wim@fluendo.com>
21378 * gst/gstmessage.c: (gst_message_new_error),
21379 (gst_message_new_warning), (gst_message_new_tag),
21380 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21381 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21382 (gst_message_new_segment_start), (gst_message_new_segment_done),
21383 (gst_message_parse_state_changed),
21384 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21385 (gst_message_parse_new_clock):
21386 * gst/gstmessage.h:
21387 Also carry the clock in question.
21389 2005-10-08 Wim Taymans <wim@fluendo.com>
21391 * gst/gstmessage.c: (gst_message_new_custom),
21392 (gst_message_new_eos), (gst_message_new_error),
21393 (gst_message_new_warning), (gst_message_new_tag),
21394 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21395 (gst_message_new_new_clock), (gst_message_new_segment_start),
21396 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21397 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21398 * gst/gstmessage.h:
21400 Added clock related messages.
21402 * gst/gstpipeline.c: (gst_pipeline_change_state):
21403 Post message when the clock changed.
21405 * tools/gst-launch.c: (event_loop):
21408 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21410 * tools/gst-inspect.c: (print_element_properties_info):
21411 Can't pass NULL strings to g_print() on windows.
21413 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21415 * docs/Makefile.am:
21416 * docs/gst/Makefile.am:
21417 * docs/gst/gstreamer-docs.sgml:
21418 * docs/gst/running.xml:
21419 * docs/version.entities.in:
21420 add a chapter on running GStreamer.
21421 document GST_DEBUG and GST_PLUGIN* env vars
21423 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21428 remove PLUGINS_BUILDDIR stuff
21429 * gst/gst.c: (init_post):
21430 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21432 remove, it was condescending and not needed
21434 2005-10-08 Wim Taymans <wim@fluendo.com>
21436 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21437 (gst_base_sink_handle_object), (gst_base_sink_event),
21438 (gst_base_sink_wait), (gst_base_sink_handle_event),
21439 (gst_base_sink_change_state):
21440 * gst/base/gstbasesink.h:
21441 Repost EOS message while going to PLAYING if still EOS.
21442 Make sure that when receiving a FLUSH_START we don't attempt
21443 to sync on the clock anymore.
21445 2005-10-08 Wim Taymans <wim@fluendo.com>
21447 * tools/gst-launch.c: (event_loop):
21448 Better message printout.
21450 2005-10-08 Wim Taymans <wim@fluendo.com>
21452 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21453 (gst_bin_child_proxy_get_children_count):
21454 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21455 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21456 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21457 (gst_child_proxy_set_valist):
21458 * gst/parse/grammar.y:
21459 Make ChildProxy threadsafe and fix mem leaks.
21461 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21463 * gst/gst.c: (init_post):
21464 debug the GST_PLUGIN_ env vars
21466 2005-10-08 Wim Taymans <wim@fluendo.com>
21468 * check/gst/gstbin.c: (GST_START_TEST):
21469 * check/gst/gstmessage.c: (GST_START_TEST):
21470 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21471 * gst/gstelement.c: (gst_element_commit_state),
21472 (gst_element_lost_state):
21473 * gst/gstmessage.c: (gst_message_new_state_changed),
21474 (gst_message_parse_state_changed):
21475 * gst/gstmessage.h:
21476 * tools/gst-launch.c: (event_loop):
21477 Added extra field to STATE_CHANGE message with the pending
21478 state, which will be different from the new state soon.
21480 2005-10-08 Wim Taymans <wim@fluendo.com>
21482 * gst/gstbus.c: (gst_bus_pop):
21484 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21485 Small cleanups and doc updates.
21487 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21489 * gst/gst.c: (init_pre):
21490 * gst/gstbin.c: (gst_bin_add_func):
21491 log distributing clocks and base time
21492 * gst/gstregistry.c: (gst_registry_add_plugin),
21493 (gst_registry_scan_path_level), (gst_registry_scan_path):
21494 clean up the debugging output a little
21495 * gst/gstutils.c: (gst_element_state_get_name):
21496 warn about a memleak (I've actually seen this be used, though
21497 it was probably a bug)
21499 2005-10-07 Wim Taymans <wim@fluendo.com>
21501 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21502 (gst_base_src_init), (gst_base_src_default_newsegment),
21503 (gst_base_src_newsegment), (gst_base_src_do_seek),
21504 (gst_base_src_loop), (gst_base_src_start):
21505 * gst/base/gstbasesrc.h:
21506 Make the newsegment event customizable by subclasses.
21508 2005-10-07 Wim Taymans <wim@fluendo.com>
21510 * gst/gstevent.c: (gst_event_new_buffersize),
21511 (gst_event_parse_buffersize):
21513 New event for future idea.
21515 2005-10-07 Andy Wingo <wingo@pobox.com>
21517 * gst/gstelement.c (gst_element_post_message): Doc update.
21519 * docs/gst/gstreamer-sections.txt: Update.
21521 * gst/gstmessage.c (gst_message_new_application): Made into a
21522 function like honest API calls.
21523 (gst_message_new_element): New message type.
21525 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21527 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21528 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21531 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21532 NO_PREROLL from gst_element_change_state to fall through.
21534 2005-10-07 Wim Taymans <wim@fluendo.com>
21536 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21537 (gst_ghost_pad_do_activate_push):
21538 Activating a ghostpad with no internal pad in push mode
21541 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21544 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21545 Fixes compilation on Windows.
21547 2005-10-07 Michael Smith <msmith@fluendo.com>
21549 * tools/gst-inspect.c:
21550 Print out feature and plugin count at the end when printing out
21553 2005-10-04 Michael Smith <msmith@fluendo.com>
21555 * gst/gsterror.c: (_gst_stream_errors_init):
21556 Add another error string used in a few existing plugins.
21559 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21560 * tools/gst-inspect.c: (print_element_info):
21561 When a feature disappears from a plugin (and the feature exists in
21562 the cached registry file), things went horribly wrong. This isn't a
21563 complete fix, we should actually be removing the 'missing' features
21564 from the features list when we load the actual plugin. That's not
21567 2005-10-04 Johan Dahlin <johan@gnome.org>
21569 * check/gst/gstiterator.c: (GST_START_TEST):
21570 * gst/gstbin.c: (gst_bin_iterate_elements),
21571 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21572 * gst/gstelement.c: (gst_element_iterate_pads):
21573 * gst/gstformat.c: (gst_format_iterate_definitions):
21574 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21575 (gst_iterator_new_list), (gst_iterator_filter):
21576 * gst/gstiterator.h:
21577 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21578 Add a GType to GstIterator, update callsites and tests.
21580 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21582 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21583 give events a chance to be handled by event probes when the pad
21586 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21588 * gst/gstevent.c: (gst_event_type_get_name),
21589 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21591 add string representations for event types
21593 2005-10-06 Wim Taymans <wim@fluendo.com>
21595 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21596 Don't use NULL pointers.
21598 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21600 * gst/gst_private.h:
21602 * gst/gstelement.c:
21604 * gst/gstpluginfeature.c:
21605 widen the debug category in output to fit the biggest one we have
21606 add a bus category and use it
21607 play with the colors
21608 fix up some categories
21610 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21612 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21613 add push activation of sink ghost pads.
21614 Andye, please verify
21616 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21618 * gst/gstutils.c: (gst_element_link_pads):
21619 fix a bug in the case where neither element has a pad
21620 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21621 add a test for that case
21623 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21625 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21626 emit have-data before checking for peers. This allows
21627 for probe handlers to connect elements. This helps autopluggers.
21628 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21630 add six checks, linked/unlinked with no/true/false probe
21632 2005-10-04 Wim Taymans <wim@fluendo.com>
21634 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21635 (gst_fake_sink_event), (gst_fake_sink_preroll),
21636 (gst_fake_sink_render), (gst_fake_sink_change_state):
21637 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21638 (gst_fake_src_get_property), (gst_fake_src_create),
21639 (gst_fake_src_stop):
21640 * gst/elements/gstidentity.c: (gst_identity_stop):
21641 Protect last_message with lock.
21643 2005-10-04 Edward Hervey <edward@fluendo.com>
21646 Added precision in the comments for GST_FORMAT_DEFAULT
21648 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21650 * tools/gst-launch.c: (main):
21651 Don't try to run erroneous pipelines.
21653 2005-10-04 Julien MOUTTE <julien@moutte.net>
21655 * gst/gstbus.c: We don't need this header.
21657 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21660 back to development
21662 === release 0.9.3 ===
21664 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21668 Releasing 0.9.3, "Unregistered"
21670 2005-10-03 Andy Wingo <wingo@pobox.com>
21672 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21673 whereby calling a pad's activatepush() function can start a thread
21674 that starts to push or pull before the pad gets the FLUSHING flag
21675 unset. Hack around it by holding the stream lock until the flag is
21676 set. Need to replace this with a proper solution. Together with
21677 the ghost pad fixes, this fixes mp3 playing/tagreading.
21679 * docs/design/part-gstghostpad.txt: Add a note about activation of
21680 proxy pads outside of ghost pads.
21682 * gst/gstghostpad.c: Implement the ghost pad activation design.
21684 2005-10-02 Andy Wingo <wingo@pobox.com>
21686 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21687 It is volatile, after all.
21689 * docs/design/part-gstghostpad.txt: Flesh out activation with
21692 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21695 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21698 Fix (unused) AM_CONDITIONAL tests.
21700 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21702 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21704 * gst/gstutils.c: (gst_pad_query_convert):
21705 Add assertion that makes sure src_val is >=0, just like
21706 gst_query_new_convert() has. (#315895)
21708 2005-09-30 Edward Hervey <edward@fluendo.com>
21710 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21711 Let's not iterate pads we're not interested in, it avoids getting
21712 sky-high refcounts on sinkpad.
21714 2005-09-30 Wim Taymans <wim@fluendo.com>
21716 * gst/gstelement.c: (gst_element_set_state),
21717 (gst_element_change_state):
21718 Small tweak, element in ASYNC remains ASYNC.
21720 2005-09-30 Wim Taymans <wim@fluendo.com>
21722 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21723 Only error is an error.
21725 * gst/gstbin.c: (gst_bin_change_state):
21728 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21729 Also call pad_block in pad alloc.
21731 * gst/gstutils.c: (gst_flow_get_name):
21734 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21736 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21737 (gst_base_src_get_range):
21738 Fix documentation typos. Add some more debug info.
21740 2005-09-29 David Schleef <ds@schleef.org>
21742 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21743 more end-user friendly.
21744 * tools/gst-inspect.c: (main): Check if command-line argument is
21745 a file and attempt to load that file as a plugin.
21747 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21749 * check/gst/gstbin.c:
21750 * check/states/sinks.c:
21751 fix tests for the new warning
21752 * check/gst/gstpipeline.c:
21753 add a test for pipeline and bus interaction
21754 * gst/gstelement.c:
21755 elements should be NULL if they get disposed; add a warning if not
21757 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21760 for 2.6 refcounting, make debug log more correct by printing
21761 the actual refcounts at the time of swap (Wim)
21763 2005-09-29 Andy Wingo <wingo@pobox.com>
21765 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21766 removes signal watches previously added via
21767 gst_bus_add_signal_watch.
21768 (gst_bus_add_signal_watch): Don't return the source id, just store
21769 it on the bus if there wasn't an id already.
21771 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21772 add_signal_watch and remove_signal_watch.
21774 2005-09-29 Edward Hervey <edward@fluendo.com>
21776 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21777 Better if we actually iterate the list :)
21779 2005-09-29 Wim Taymans <wim@fluendo.com>
21781 * check/gst/gstbin.c: (GST_START_TEST):
21782 Change for new bus API.
21784 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21785 (send_messages), (GST_START_TEST), (gstbus_suite):
21786 Change for new bus signal API.
21788 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21789 (gst_bus_source_prepare), (gst_bus_source_check),
21790 (gst_bus_create_watch), (gst_bus_add_watch_full),
21791 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21792 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21794 Remove support for multiple GSources operating on different
21795 message types as it is too complex and unneeded when using
21797 Added support for receiving signals from the bus.
21799 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21801 * docs/libs/tmpl/gstdataprotocol.sgml:
21802 * docs/manual/advanced-dataaccess.xml:
21803 * gst/elements/gstcapsfilter.c:
21805 rename filter-caps to caps property
21807 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21809 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21810 More robust fraction string parsing.
21812 * docs/pwg/appendix-porting.xml:
21813 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21815 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21817 * gst/gstcaps.c: (gst_caps_do_simplify):
21818 Thou shalt not free a structure and then continue using it
21819 in the next loop iteration.
21821 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21823 Add test case for caps simplification.
21825 2005-09-29 Wim Taymans <wim@fluendo.com>
21827 * check/gst/gstbin.c: (GST_START_TEST):
21830 2005-09-29 Wim Taymans <wim@fluendo.com>
21832 * check/gst/gstbin.c: (GST_START_TEST):
21835 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21836 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21837 (find_element), (gst_bin_sort_iterator_next),
21838 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21839 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21840 (gst_bin_change_state), (gst_bin_dispose):
21841 A bin does not have a bus, it gets the bus from the parent.
21843 * gst/gstelement.c: (gst_element_requires_clock),
21844 (gst_element_provides_clock), (gst_element_is_indexable),
21845 (gst_element_is_locked_state), (gst_element_change_state),
21846 (gst_element_set_bus_func):
21849 * gst/gstpipeline.c: (gst_pipeline_class_init),
21850 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21851 The pipeline provides a bus.
21853 2005-09-28 Johan Dahlin <johan@gnome.org>
21855 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21856 gst_structure_get_enum instead of gst_structure_get_int
21858 * gst/gststructure.c (gst_structure_get_enum): Impl.
21860 * gst/gststructure.h (gst_structure_get_enum): Add
21862 * docs/gst/gstreamer-sections.txt: Ditto
21864 * gst/gstmessage.c (gst_message_new_state_changed): Use
21865 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21866 which does introspection.
21867 Reviewed by Christian Schaller
21869 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21871 * gst/gstinfo.c: (gst_debug_log_default):
21872 don't do dummy g_strdup()s
21873 * libs/gst/controller/gstcontroller.c:
21874 (on_object_controlled_property_changed),
21875 (gst_controlled_property_new), (gst_controller_new_valist),
21876 (gst_controller_new_list),
21877 (gst_controller_remove_properties_valist), (gst_controller_set),
21878 (gst_controller_get), (gst_controller_sync_values),
21879 (gst_controller_get_value_array), (_gst_controller_class_init),
21880 (gst_controller_get_type):
21881 * libs/gst/controller/gstcontroller.h:
21882 * libs/gst/controller/gstinterpolation.c:
21883 (gst_controlled_property_find_timed_value_node):
21884 convert // to /**/ comments
21886 2005-09-28 Wim Taymans <wim@fluendo.com>
21888 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21889 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21890 (gst_bus_sync_signal_handler):
21892 Added async-message and sync-message signals to the bus.
21893 Added helper BusFunc to emit signals for all posted messages.
21895 * gst/gstmessage.c: (gst_message_type_get_name),
21896 (gst_message_type_to_quark), (gst_message_get_type):
21897 * gst/gstmessage.h:
21898 Register quarks for message names.
21900 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21902 * docs/libs/gstreamer-libs-sections.txt:
21903 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21904 (gst_controller_new_list):
21905 * libs/gst/controller/gstcontroller.h:
21906 added another constructor for language bindings
21908 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
21910 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21914 * gst/gstinfo.c: (_gst_debug_init):
21915 slightly more readable color for refcount debugging
21917 2005-09-28 Wim Taymans <wim@fluendo.com>
21919 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21920 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21921 (find_element), (gst_bin_sort_iterator_next),
21922 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21923 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21924 (gst_bin_change_state), (gst_bin_dispose):
21925 Small doc fixes. get_clock -> provide_clock.
21927 * gst/gstelement.c: (gst_element_class_init),
21928 (gst_element_provides_clock), (gst_element_provide_clock),
21929 (gst_element_get_clock), (gst_element_commit_state),
21930 (gst_element_lost_state):
21931 * gst/gstelement.h:
21932 Make get/set_clock() symetric. Add provide_clock vmethod since
21933 that is actually what this function does.
21935 * gst/gstpipeline.c: (gst_pipeline_class_init),
21936 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21937 (gst_pipeline_get_clock):
21938 get_clock -> provide_clock.
21940 2005-09-28 Andy Wingo <wingo@pobox.com>
21942 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21943 lieu of real docs...
21945 * gst/elements/gstfdsrc.c: Cleaned up a bit.
21947 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
21949 * gst/elements/gstcapsfilter.c:
21950 * gst/elements/gstfakesink.c:
21951 * gst/elements/gstfakesrc.c:
21952 * gst/elements/gstfdsink.c:
21953 * gst/elements/gstfdsrc.c:
21954 * gst/elements/gstfilesink.c:
21955 * gst/elements/gstfilesrc.c:
21956 * gst/elements/gstidentity.c:
21957 * gst/elements/gsttee.c:
21958 * gst/elements/gsttypefindelement.c:
21959 Make element details static.
21961 2005-09-28 Wim Taymans <wim@fluendo.com>
21963 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21964 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21965 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21966 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21967 (gst_bin_change_state), (gst_bin_dispose):
21968 Some documentation updates.
21969 Clean up dispose handlers.
21971 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21972 * gst/gstpad.c: (gst_pad_dispose):
21973 Clean up dispose handler.
21975 * gst/gstpipeline.c: (gst_pipeline_change_state):
21976 Removed spurious UNLOCK.
21978 2005-09-27 Stefan Kost <ensonic@users.sf.net>
21980 * docs/gst/gstreamer-sections.txt:
21981 * gst/base/gstbasesrc.h:
21982 * gst/gstelement.h:
21986 * gst/gstpipeline.c:
21987 * gst/gstpipeline.h:
21990 added two new functions to the docs
21991 documents all undocumented GstXXXFlags
21992 completed some incomplete docs
21994 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
21996 * gst/gstbin.c: (gst_bin_dispose):
21997 * gst/gstelement.c: (gst_element_dispose):
21998 remove now useless and leaky resurrection code in dispose
21999 * gst/base/gstbasesrc.c: (gst_base_src_init):
22000 * gst/gstelementfactory.c: (gst_element_factory_create):
22001 * gst/gstobject.c: (gst_object_set_parent):
22004 2005-09-27 Wim Taymans <wim@fluendo.com>
22006 * docs/design/part-TODO.txt:
22009 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22010 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22011 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22012 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22013 (gst_bin_change_state):
22014 * gst/gstelement.h:
22015 Remove element variable, we keep element info in the iterator now.
22017 2005-09-27 Andy Wingo <wingo@pobox.com>
22019 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22022 2005-09-27 Wim Taymans <wim@fluendo.com>
22024 * check/gst/gstbin.c: (GST_START_TEST):
22025 Enable check that works now.
22027 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22028 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22029 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22030 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22031 (gst_bin_change_state):
22033 Redid the state change algorithm using a topological sort algo.
22034 Handles all cases correctly.
22035 Exposed iterator for state change order.
22037 * gst/gstelement.h:
22038 Temp storage for state changes. Need to get rid of this soon.
22040 2005-09-27 Wim Taymans <wim@fluendo.com>
22042 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22043 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22044 (link_fold_func), (gst_pad_proxy_setcaps):
22045 Leak fixes, the fold functions need to unref the passed object and
22046 _get_parent_*() returns ref to parent.
22048 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22050 * check/gst/gstbuffer.c: (test_make_writable):
22051 Plug leak in test case and fix 'make check-valgrind'
22053 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22055 * gst/gstbuffer.c: (gst_subbuffer_init):
22056 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22057 works correctly in all circumstances (we could have just copied
22058 the parent buffer's readonly flag, but conceptually it seems
22059 cleaner to mark all subbuffers as read-only). (based on patch
22060 by Alessandro Decina, #314710).
22062 * check/gst/gstbuffer.c: (create_read_only_buffer),
22063 (test_make_writable), (test_subbuffer_make_writable),
22065 Add some tests for gst_buffer_make_writable().
22067 2005-09-27 Wim Taymans <wim@fluendo.com>
22069 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22070 use gst_object_has_ancestor().
22072 * gst/gstobject.c: (gst_object_has_ancestor):
22074 gst_object_has_ancestor() copied from gstbin.c as it is a
22077 * tests/instantiate/create.c: (create_all_elements):
22078 * tests/lat.c: (handoff_src), (handoff_sink):
22079 * tests/sched/runxml.c: (main):
22080 * tests/seeking/seeking1.c: (main):
22081 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22083 Fix compilation of some tests.
22085 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22088 Remove comment. GST_TYPE_G_ERROR is here to stay,
22089 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22090 (#316961, #300610).
22092 2005-09-26 Wim Taymans <wim@fluendo.com>
22094 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22095 Added check that shows error in state change order.
22097 2005-09-26 Wim Taymans <wim@fluendo.com>
22099 * gst/gstbin.c: (gst_bin_change_state):
22100 Make state change function use 3 queues again, we were
22101 adding elements in the wrong order.
22103 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22106 * gst/gstpad.c: (gst_pad_dispose):
22107 Added some debug info first.
22109 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22111 * docs/design/draft-push-pull.txt:
22112 * docs/design/part-events.txt:
22113 * docs/design/part-overview.txt:
22114 * docs/design/part-scheduling.txt:
22115 Replace all _pull_region() with _pull_range()
22117 2005-09-26 Andy Wingo <wingo@pobox.com>
22119 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22121 * check/gst-libs/controller.c: Update for controller api change.
22124 * tests/Makefile.am:
22125 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22126 over by GLib bug 118439.
22128 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22129 routines to a function.
22131 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22133 * libs/gst/controller/gsthelper.c:
22134 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22135 (gst_object_sync_values): Renamed from sink_values. Ugh.
22137 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22139 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22140 Renamed from controller_key, as it is exported.
22142 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22144 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22149 * gst/gstpadtemplate.h:
22152 * gst/gstqueryutils.c:
22153 * gst/gstqueryutils.h:
22154 remove queryutils headers after moving the two used functions
22155 to gstquery. also fixes build problem for gstsiddec
22157 2005-09-26 Michael Smith <msmith@fluendo.com>
22159 * tools/gst-launch.1.in:
22160 Correct documentation in manpage of debug syntax
22162 2005-09-26 Wim Taymans <wim@fluendo.com>
22164 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22165 (gst_base_src_is_seekable), (gst_base_src_change_state):
22166 Some more debugging info.
22168 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22170 * docs/gst/gstreamer-sections.txt:
22171 * gst/base/gstbasetransform.h:
22175 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22177 * docs/gst/.cvsignore:
22178 * docs/gst/tmpl/.cvsignore:
22179 * docs/gst/tmpl/gstpipeline.sgml:
22180 * docs/gst/tmpl/gstplugin.sgml:
22181 * gst/gstpipeline.c:
22184 inlined the last two docs files
22185 removed the tmpl directory from cvs (no more conflicts here!)
22187 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22189 * docs/gst/gstreamer-sections.txt:
22190 * docs/gst/tmpl/.cvsignore:
22191 * docs/gst/tmpl/gstpad.sgml:
22192 * docs/gst/tmpl/gstpadtemplate.sgml:
22194 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22195 (gst_pad_finalize), (gst_pad_set_pad_template):
22197 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22198 (gst_pad_template_class_init), (gst_pad_template_init),
22199 (gst_pad_template_dispose), (name_is_valid),
22200 (gst_static_pad_template_get), (gst_pad_template_new),
22201 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22202 (gst_pad_template_pad_created):
22203 * gst/gstpadtemplate.h:
22204 inlined two more docs
22205 factored gstpadtemplate out of gstpad
22207 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22209 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22210 (test_children_state_change_order_semi_sink):
22211 Fix test case: we can't rely on a fixed state change order when
22212 going from READY => PAUSED because the sink might commit its
22213 new state first when the first buffer created by the source
22214 reaches the sink before the source has finished its change state.
22215 (Test case still fails at times, see #316856, comment 5 onwards)
22217 2005-09-24 Wim Taymans <wim@fluendo.com>
22219 * docs/design/part-events.txt:
22220 * docs/design/part-gstbus.txt:
22221 * docs/design/part-gstpipeline.txt:
22222 * docs/design/part-messages.txt:
22223 * docs/design/part-overview.txt:
22224 * docs/design/part-segments.txt:
22228 * gst/gstelement.c:
22231 * gst/gstiterator.c:
22232 Various documentation updates.
22234 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22237 Well, that's embarassing. Luckily we weren't using
22238 GST_CLOCK_DIFF anywhere.
22240 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22242 * common/gtk-doc.mak:
22243 don't fail on building XML, FC4 slave shows a bunch of doc
22244 missing bits that I don't get
22246 * gst/gstpipeline.c:
22247 * gst/gststructure.c:
22250 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22252 * docs/design/part-gstbin.txt:
22253 * docs/design/part-gstbus.txt:
22255 Add blurb about how the bus goes into flushing mode and
22256 drops all messages when its bin goes from READY into NULL
22259 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22261 * docs/gst/gstreamer-sections.txt:
22262 * gst/gststructure.c: (gst_structure_get_clock_time):
22263 * gst/gststructure.h:
22264 add a method to get a GstClockTime out of a structure
22266 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22268 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22269 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22270 Added test to check state change order in bins (can still be made
22271 to fail here under heavy disk load; bails out with 'Push on pad
22272 fakesink:sink0, but it was not activated in push mode').
22274 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22275 Fix state change order when there is only a semi sink (#316856)
22277 * gst/gstbus.c: (gst_bus_class_init):
22278 Use _class_peek_parent(), not _class_ref(); fix docs to say
22279 'default main context' instead of 'mainloop' where that is
22282 * gst/gstelement.c: (gst_element_commit_state),
22283 (gst_element_set_state):
22284 Fix typos in debug messages
22286 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22289 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22290 * gst/gstpluginfeature.c:
22292 various doc updates
22293 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22294 change an assert into an error until it gets fixed properly
22296 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22298 * docs/gst/gstreamer-sections.txt:
22299 * docs/gst/tmpl/.cvsignore:
22300 * docs/gst/tmpl/gstelement.sgml:
22301 * docs/gst/tmpl/gstinfo.sgml:
22302 * docs/gst/tmpl/gstobject.sgml:
22303 * gst/gstelement.c:
22304 * gst/gstelement.h:
22307 * gst/gstobject.c: (gst_object_class_init):
22309 inlined 3 more biiiig doc files and added some missing docs on the fly
22311 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22313 * check/gst/.cvsignore:
22314 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22315 * gst/gstregistryxml.c: (load_plugin),
22316 (gst_registry_xml_save_plugin):
22317 put back source in registry. add checks for find_plugin.
22318 * testsuite/states/bin.c: (assert_state), (empty_bin),
22319 (test_adding_one_element), (main):
22320 * testsuite/states/locked.c: (main):
22321 some compile/run fixes
22323 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22325 * check/gst/gstvalue.c: (GST_START_TEST):
22326 fix leaks in the test itself
22328 2005-09-22 Wim Taymans <wim@fluendo.com>
22330 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22331 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22332 (gst_base_sink_query):
22333 Prepare for more accurate position reporting and query
22336 * gst/gstelement.c: (gst_element_send_event),
22337 (gst_element_set_state):
22340 2005-09-22 Wim Taymans <wim@fluendo.com>
22342 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22343 (gst_query_parse_segment):
22345 More documentation.
22346 Add segment query for future use.
22348 2005-09-22 Wim Taymans <wim@fluendo.com>
22350 * gst/gstbin.c: (gst_bin_add_func):
22351 Some more debug info.
22353 * gst/gstelement.c: (gst_element_send_event):
22354 Simplify send_event
22356 * gst/gstelement.h:
22357 Don't know how flags got broken.
22362 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22364 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22365 Add simplistic test suite for GST_TYPE_DATE serialisation and
22368 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22370 * docs/gst/gstreamer-sections.txt:
22371 * gst/gststructure.c: (gst_structure_set_valist),
22372 (gst_structure_get_date):
22373 * gst/gststructure.h:
22374 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22375 (gst_date_copy), (gst_value_compare_date),
22376 (gst_value_serialize_date), (gst_value_deserialize_date),
22377 (gst_value_transform_date_string),
22378 (gst_value_transform_string_date), (_gst_value_initialize):
22380 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22381 bunch of utility functions along with a hack that checks that
22382 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22383 is required. Part of the grand scheme in #170777.
22385 2005-09-22 Andy Wingo <wingo@pobox.com>
22387 * gst/gstconfig.h.in: Psych out gtk-doc.
22389 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22391 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22393 * tools/gst-inspect.c (print_element_list): Plug some
22394 inconsequential leaks.
22396 * gst/gstregistry.c (gst_registry_get_default): Doc.
22398 * check/gst/gstplugin.c:
22399 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22400 * gst/gstelementfactory.c (gst_element_factory_create):
22401 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22404 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22405 (gst_plugin_feature_load): Doc, don't eat refs.
22407 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22408 (gst_plugin_list_free): Doc.
22409 (gst_plugin_load_file): Doc updates.
22411 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22412 accessors returning refcounted objects, return a ref.
22414 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22415 accessor for caps. IDEMPOTENCE. Oh yes.
22417 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22419 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22421 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22422 (_gst_debug_register_funcptr):
22423 Add mutex to serialise access to the hash table with
22424 the function pointer => function name string mapping;
22425 make that hash table static scope (#316809).
22427 * gst/registries/.cvsignore:
22428 Remove left-over file.
22430 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22432 * docs/pwg/appendix-porting.xml:
22433 And something about newsegment events and caps-on-buffers to
22434 the porting guide (feel free to improve).
22436 2005-09-21 Andy Wingo <wingo@pobox.com>
22438 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22439 data and event probes on the same pad.
22440 (test_buffer_probe_once): Test that removing probes from within
22441 the probe functions works.
22443 2005-09-21 Andy Wingo <wingo@pobox.com>
22445 * check/gst/gstutils.c: New file.
22446 (test_buffer_probe_n_times): A simple buffer probe test. More to
22449 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22450 have-data::buffer, not have-data.
22451 (gst_pad_add_event_probe): Likewise for have-data::event.
22452 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22453 peer' isn't quite right yet though.
22454 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22455 (gst_pad_remove_data_probe): Change to take the guint handler_id
22456 as their arg, not the function+data, which is more glib-like.
22458 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22459 the signal emission to indicate if the data is a buffer or an
22461 (gst_pad_get_type): Initialize buffer and event quarks.
22462 (gst_pad_class_init): have-data is now a detailed signal, yes it
22465 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22467 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22468 * gst/gstutils.c: (gst_util_set_value_from_string),
22469 (gst_util_set_object_arg):
22470 Don't put functional code in g_return_if_fail() or
22471 g_return_val_if_fail() statements, otherwise things will
22472 break when G_DISABLE_CHECKS is defined during compilation.
22474 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22476 * docs/gst/tmpl/.cvsignore:
22477 * docs/gst/tmpl/gstvalue.sgml:
22480 inlied another one and added some obvious docs
22482 2005-09-21 Wim Taymans <wim@fluendo.com>
22484 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22485 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22486 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22487 (gst_fdsrc_get_property), (gst_fdsrc_create):
22488 * gst/elements/gstfdsrc.h:
22489 Properly implement fdsrc. Removed signal and timeout,
22490 better implemented somewhere else.
22492 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22494 * docs/gst/tmpl/.cvsignore:
22495 * docs/gst/tmpl/gstimplementsinterface.sgml:
22496 * gst/gstinterface.c:
22499 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22501 * docs/gst/gstreamer-sections.txt:
22502 * docs/gst/tmpl/.cvsignore:
22503 * docs/gst/tmpl/gstenumtypes.sgml:
22504 remove obsolete doc file
22506 2005-09-21 David Schleef <ds@schleef.org>
22508 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22509 little beer, fix a little leak.
22511 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22513 * docs/gst/gstreamer-docs.sgml:
22514 * docs/gst/gstreamer-sections.txt:
22515 * docs/gst/tmpl/.cvsignore:
22519 * gst/gstelement.h:
22520 * gst/gstindex.c: (gst_index_class_init):
22522 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22523 (gst_index_factory_class_init), (gst_index_factory_init),
22524 (gst_index_factory_finalize), (gst_index_factory_new),
22525 (gst_index_factory_destroy), (gst_index_factory_find),
22526 (gst_index_factory_create), (gst_index_factory_make):
22527 * gst/gstindexfactory.h:
22528 * gst/gstpluginfeature.c:
22529 * gst/gstpluginfeature.h:
22530 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22531 more docs inlined, splitted gstindex.{c,h}
22533 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22535 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22538 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22540 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22541 Set sync to FALSE by default.
22543 2005-09-20 Wim Taymans <wim@fluendo.com>
22545 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22546 (gst_base_sink_init):
22547 Make sync property settable from subclass.
22549 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22550 (gst_fake_sink_change_state):
22551 Set sync to FALSE by default.
22553 2005-09-20 Wim Taymans <wim@fluendo.com>
22555 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22556 * tools/gst-launch.c: (main):
22557 The timeout handler should have lower priority than the source
22558 so we don't timeout before popping a message with 0 timeout.
22559 Dump error messages after failed state change.
22561 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22563 * tools/gst-inspect.c: (print_element_properties_info):
22566 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22568 * check/gst/gstevent.c:
22569 * gst/elements/gstfakesink.c:
22570 * gst/elements/gstfakesink.h:
22571 remove the sync property from fakesink.
22572 has the side effect of setting sync TRUE
22573 for fakesink, which is a change. Anyone who knows how
22574 to fix this nicely in a GObject-y way, feel free.
22576 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22578 * docs/gst/gstreamer-docs.sgml:
22579 remove probe refsection
22581 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22583 * check/Makefile.am:
22584 disable valgrinding the controller test again
22585 * docs/gst/gstreamer-sections.txt:
22586 update for api-changes
22588 2005-09-20 Wim Taymans <wim@fluendo.com>
22590 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22591 (gst_base_sink_set_property), (gst_base_sink_get_property),
22592 (gst_base_sink_do_sync):
22593 * gst/base/gstbasesink.h:
22594 Added sync property to basesink to disable clock sync.
22596 2005-09-20 Andy Wingo <wingo@pobox.com>
22598 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22599 eating the caller's refcount.
22601 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22602 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22605 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22606 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22607 of GLib 2.8 public, so we can know which refcount to check in
22610 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22611 (gst_object_init): Only set the gst refcount if we're going ahead
22612 with the refcount hack.
22614 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22616 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22617 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22618 more leaks plumbed, added more debug-logging
22622 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22624 * gst/gstmessage.c:
22625 remove include of gstmemchunk.h
22627 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22629 * gst/gstclock.c: (_gst_clock_id_free):
22630 Commit from the Political Party For More Atomic CVS Commits,
22631 so that people don't waste too much of their day fishing
22632 out obvious leaks out of massive commits.
22633 Oh, and fix a pretty damn obvious leak in the memchunk
22636 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22638 * check/Makefile.am:
22639 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22640 plug mem-leak, re-add to valgrindable tests
22642 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22645 unbreak the build for those who have chronic arthritis
22646 and typing "make check" is just too taxing on the hands
22648 2005-09-20 Andy Wingo <wingo@pobox.com>
22650 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22651 really want it out, you should fix plugins at the same time.
22653 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22656 * docs/gst/gstreamer-sections.txt:
22658 added missing symbols to api docs
22659 disable ref-count hack if we have glib >= 2.8
22661 2005-09-19 David Schleef <ds@schleef.org>
22663 * docs/gst/Makefile.am: Ignore a few more internal headers
22664 * docs/gst/gstreamer-docs.sgml: Remove old sections
22665 * docs/gst/gstreamer-sections.txt: Remove old sections
22666 * docs/gst/tmpl/gstobject.sgml: update
22667 * docs/gst/tmpl/gstplugin.sgml: update
22668 * docs/gst/tmpl/gstpluginfeature.sgml: update
22669 * docs/random/ds/0.9-suggested-changes: update.
22670 * gst/Makefile.am: remove memchunk and trashstack, since they're
22672 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22673 * gst/gst.h: don't include some headers
22674 * gst/gstchildproxy.c: add gstmarshal.h
22675 * gst/gstclock.c: Don't use memchunks
22676 * gst/gstminiobject.c: Add some docs
22677 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22678 * gst/gstobject.h: same
22679 * gst/gstplugin.c: include gstmacros.h
22680 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22681 * gst/gstquery.c: don't use memchunks
22682 * gst/gstregistry.c: rename gst_registry_deinit()
22683 * gst/gstregistry.h: same
22685 2005-09-19 David Schleef <ds@schleef.org>
22687 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22688 * docs/libs/gstreamer-libs-sections.txt:
22689 * docs/libs/tmpl/gstgetbits.sgml:
22690 * docs/libs/tmpl/gstputbits.sgml:
22692 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22694 * win32/gstenumtypes.c:
22695 * win32/gstenumtypes.h:
22698 2005-09-19 Wim Taymans <wim@fluendo.com>
22700 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22701 Automatically PAUSE and RESUME a pipeline when a flushing seek
22704 2005-09-19 Andy Wingo <wingo@pobox.com>
22706 * gst/gstregistry.h: Spacing fixen.
22708 2005-09-19 Wim Taymans <wim@fluendo.com>
22710 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22711 Handle state change failure more correctly.
22713 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22715 * check/Makefile.am:
22716 * check/pipelines/cleanup.c: (run_pipeline):
22717 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22719 enable cleanup again after fixing the leak
22721 some more info on docs
22723 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22725 * check/Makefile.am:
22726 re-enable tests now that leaks are plugged
22728 * check/gst/gstbin.c:
22729 * check/gst/gstpipeline.c:
22730 add some more tests while fixing leaks
22731 * common/check.mak:
22732 make sure binaries are uptodate when valgrinding/gdbing
22734 * gst/gstelementfactory.c:
22735 remove a ref too many, and add a FIXME for when we get
22736 round to disposing of classes
22738 fix the refcounting when loading a plugin from a file and
22739 the code pretends that the pointer is the same even though
22740 of course it can change
22741 * gst/gstpluginfeature.c:
22742 unref plugins marked cached (a bit confusing as a name)
22743 as the docs state should be done
22744 various doc additions to explain refcounting
22745 * gst/gstregistry.c:
22746 * gst/gstregistryxml.c:
22749 2005-09-19 Wim Taymans <wim@fluendo.com>
22751 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22752 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22753 (send_messages), (GST_START_TEST), (gstbus_suite):
22754 * check/gst/gstpipeline.c: (GST_START_TEST):
22755 * check/pipelines/cleanup.c: (run_pipeline):
22756 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22758 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22759 (gst_bus_source_check), (gst_bus_source_dispatch),
22760 (gst_bus_create_watch), (gst_bus_add_watch_full),
22761 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22763 * tools/gst-launch.c: (event_loop):
22764 * tools/gst-md5sum.c: (event_loop):
22765 GstBusHandler -> GstBusFunc, return value has the same meaning as
22766 any other GSource (FALSE == remove source).
22767 _add_watch() and _add_watch_full() now take a MessageType mask to
22768 only handle specific types of messages.
22769 _poll() returns the GstMessage instead of the message type to avoid
22771 _have_pending() takes a MessageType mask now too.
22772 Added testsuite for multiple bus watches.
22773 Fix testsuites and applications for new bus API.
22775 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22777 * check/Makefile.am:
22778 mark a bunch of the tests as to fix until we fix them
22780 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22782 * common/check.mak:
22783 use GST_PLUGIN settings for valgrind tests as well, so we're
22784 valgrinding the correct thing
22785 * gst/gst.c: (init_post):
22788 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22790 * gst/gst.c: (init_post), (gst_deinit):
22791 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22792 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22793 * gst/gstindex.c: (gst_index_factory_class_init),
22794 (gst_index_factory_finalize):
22795 * gst/gstobject.c: (gst_object_dispose):
22796 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22797 (gst_plugin_load_file), (gst_plugin_desc_free):
22798 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22799 (gst_plugin_feature_finalize):
22800 * gst/gstregistry.c: (gst_registry_class_init),
22801 (gst_registry_init), (gst_registry_finalize),
22802 (gst_registry_get_default), (gst_registry_deinit):
22803 * gst/gstregistry.h:
22804 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22805 various cleanups and memleak plugging. make valgrind is happy now.
22807 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22809 * common/check.mak:
22810 add a check-valgrind target
22812 2005-09-18 David Schleef <ds@schleef.org>
22814 * tools/gst-inspect.c: Revert the GOption code.
22816 2005-09-17 David Schleef <ds@schleef.org>
22818 * check/Makefile.am: Fix environment variables.
22819 * check/gst/gstplugin.c: Fix for API changes.
22820 * tools/gst-inspect.c: Fix for API changes.
22821 * tools/gst-xmlinspect.c: Fix for API changes.
22822 * gst/gstelementfactory.c:
22825 * gst/gstpluginfeature.c:
22826 * gst/gstpluginfeature.h:
22827 * gst/gstregistry.c:
22828 * gst/gstregistry.h:
22829 * gst/gstregistryxml.c:
22830 * gst/gsttypefind.c:
22831 * gst/gsttypefindfactory.c:
22832 * gst/indexers/gstfileindex.c:
22833 * gst/indexers/gstmemindex.c:
22834 * gst/schedulers/Makefile.am:
22835 Change registry to keep track of both plugins and features,
22836 removing the feature tracking from plugins themselves.
22838 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22840 * check/Makefile.am:
22841 * tools/gst-register.1.in:
22842 remove gst-register
22844 2005-09-15 David Schleef <ds@schleef.org>
22846 * check/gst/gstplugin.c:
22847 * gst/gstelementfactory.c:
22849 * gst/gstpluginfeature.c:
22850 * gst/gstregistry.c:
22851 Getting tired of debugging. Disabled all the unreffing of
22852 plugins and features, which fixes the segfaults, but of
22853 course leaks like crazy. At least playbin works.
22855 2005-09-15 David Schleef <ds@schleef.org>
22857 * check/gst/gstplugin.c: (register_check_elements),
22858 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22860 * gst/elements/gsttypefindelement.c: Fix refcounting.
22861 * gst/gsttypefind.c:
22862 * gst/gsttypefindfactory.c:
22863 * gst/gsttypefindfactory.h:
22865 2005-09-15 David Schleef <ds@schleef.org>
22867 * gst/gstindex.c: get refcounting correct.
22868 * gst/gstregistry.c: Handle the case where a feature/plugin is
22871 2005-09-15 David Schleef <ds@schleef.org>
22873 * check/Makefile.am:
22874 * check/gst/gstplugin.c: Add test
22875 * gst/gstplugin.c: Fix problems noticed by testsuite
22877 * gst/gstregistry.c:
22878 * gst/gstregistry.h:
22880 2005-09-15 David Schleef <ds@schleef.org>
22882 * gst/gstplugin.c: Implement semi-decent recounting and locking
22883 in plugins and plugin features.
22885 * gst/gstpluginfeature.c:
22886 * gst/gstpluginfeature.h:
22887 * gst/gstregistry.c:
22889 2005-09-15 Michael Smith <msmith@fluendo.com>
22891 * gst/gstregistry.c: (gst_registry_get_feature_list):
22892 Implement this. Makes oggdemux work; decodebin still broken.
22894 2005-09-14 David Schleef <ds@schleef.org>
22896 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22898 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22899 * gst/check/Makefile.am:
22900 * libs/gst/controller/Makefile.am:
22901 * libs/gst/dataprotocol/Makefile.am:
22903 2005-09-14 David Schleef <ds@schleef.org>
22905 * configure.ac: Remove getbits library. Nothing uses it, and
22906 it should be in something like liboil if someone did want
22908 * libs/gst/Makefile.am:
22909 * libs/gst/getbits/Makefile.am:
22910 * libs/gst/getbits/gbtest.c:
22911 * libs/gst/getbits/getbits.c:
22912 * libs/gst/getbits/getbits.h:
22913 * libs/gst/getbits/gstgetbits_generic.c:
22914 * libs/gst/getbits/gstgetbits_i386.s:
22915 * libs/gst/getbits/gstgetbits_inl.h:
22917 2005-09-14 David Schleef <ds@schleef.org>
22919 * gst/Makefile.am: Dist glib-compat.h
22921 2005-09-14 David Schleef <ds@schleef.org>
22923 * configure.ac: Remove gst/registries, since it's no longer used.
22924 * gst/registries/Makefile.am:
22925 * gst/registries/gstlibxmlregistry.c:
22926 * gst/registries/gstlibxmlregistry.h:
22927 * gst/registries/gstxmlregistry.c:
22928 * gst/registries/gstxmlregistry.h:
22929 * gst/registries/registrytest.c:
22931 2005-09-14 David Schleef <ds@schleef.org>
22933 * gst/glib-compat.h:
22934 * gst/gstregistryxml.c:
22935 Convergence is near. Seriously.
22937 2005-09-14 David Schleef <ds@schleef.org>
22939 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22940 * gst/glib-compat.h:
22941 Attempt #4 to appease the buildbots.
22943 2005-09-14 David Schleef <ds@schleef.org>
22945 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22948 2005-09-14 David Schleef <ds@schleef.org>
22950 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22953 2005-09-14 David Schleef <ds@schleef.org>
22955 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22958 2005-09-14 David Schleef <ds@schleef.org>
22960 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22961 * gst/glib-compat.h: Add some functions that are in newer versions
22962 of glib than we care to require.
22963 * gst/gstregistryxml.c: Use them.
22965 2005-09-14 David Schleef <ds@schleef.org>
22967 * po/POTFILES.in: remove gst-register.c
22969 2005-09-14 David Schleef <ds@schleef.org>
22971 * docs/gst/gstreamer-docs.sgml:
22972 * docs/gst/gstreamer-sections.txt:
22973 * docs/gst/gstreamer.types:
22974 * docs/gst/tmpl/gstelement.sgml:
22975 * docs/gst/tmpl/gstplugin.sgml:
22976 * docs/gst/tmpl/gstpluginfeature.sgml:
22977 Documentation updates for registry changes.
22979 2005-09-14 David Schleef <ds@schleef.org>
22981 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22982 because we don't require glib-2.8.
22984 2005-09-14 David Schleef <ds@schleef.org>
22986 * gst/gstregistryxml.c: Added. Essentially moved out of the
22987 registries directory.
22989 2005-09-14 David Schleef <ds@schleef.org>
22991 * check/Makefile.am:
22992 * check/generic/states.c:
22996 * gst/gst_private.h:
22997 * gst/gstelementfactory.c:
23002 * gst/gstpluginfeature.c:
23003 * gst/gstpluginfeature.h:
23004 * gst/gstregistry.c:
23005 * gst/gstregistry.h:
23006 * gst/gstregistrypool.c: remove
23007 * gst/gstregistrypool.h: remove
23008 * gst/gsttypefind.c:
23009 * gst/gsttypefindfactory.c:
23011 * tools/Makefile.am:
23012 * tools/gst-compprep.c:
23013 * tools/gst-inspect.c:
23014 * tools/gst-register.c: remove
23015 * tools/gst-xmlinspect.c:
23016 Registry rewrite. Changes registry from being a file created
23017 by a tool into a simple cache file created automatically by
23018 libgstreamer. Removed gst-register (because it's no longer
23019 needed). Remove registry pools, because we only have one
23020 registry implementation (XML). Fix up other subsystems as
23023 2005-09-13 Michael Smith <msmith@fluendo.com>
23025 * gst/gstconfig.h.in:
23026 Don't Use windows linking attributes for MinGW. Fixes #316157
23028 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23030 * gst/gstutils.c: (set_state_async_thread_func),
23031 (gst_element_set_state_async):
23032 Apparently people think it's better if this function doesn't
23033 try to set the state to whatever state was asked for on the first
23034 call to this function for any object. Seriously.
23036 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23038 * check/gst/gstpipeline.c: (GST_START_TEST):
23039 * docs/gst/gstreamer-sections.txt:
23040 * gst/gstutils.c: (set_state_async_thread_func),
23041 (gst_element_set_state_async):
23043 add a "gst_element_set_state_async" method that
23044 sets the state and starts a thread to make sure the state
23045 change completes as best as it can
23047 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23049 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23050 codify design+behaviour in testsuite after discussion
23052 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23054 * docs/gst/tmpl/gstelement.sgml:
23055 * docs/manual/appendix-quotes.xml:
23057 * gst/gstelement.c: (gst_element_set_state):
23060 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23062 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23063 (gst_base_transform_prepare_output_buf),
23064 (gst_base_transform_handle_buffer):
23065 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23066 (gst_capsfilter_prepare_buf):
23067 Remove the requirement for sub-classes to call the parent
23068 implementation of prepare_output_buffer with a wrapper function.
23070 * gst/gsttaglist.h:
23071 * gst/gsttagsetter.h:
23072 Fix #define wrapper
23074 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23076 * docs/gst/gstreamer-sections.txt:
23079 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23081 * docs/gst/gstreamer-sections.txt:
23082 * docs/gst/tmpl/gstelement.sgml:
23083 * docs/gst/tmpl/gstplugin.sgml:
23084 * gst/gstminiobject.c:
23086 docs now stop throwing warnings
23088 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23090 * docs/gst/gstreamer-sections.txt:
23091 * docs/gst/gstreamer.types:
23092 * docs/gst/tmpl/gstpad.sgml:
23093 * docs/gst/tmpl/gsttypes.sgml:
23094 * gst/base/gstadapter.h:
23095 * gst/base/gstbasesink.h:
23096 * gst/base/gstbasesrc.h:
23102 * gst/gstelement.h:
23104 * gst/gstmessage.h:
23106 * gst/gststructure.c:
23107 * gst/registries/gstlibxmlregistry.h:
23108 various documentation fixes
23110 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23112 * docs/gst/gstreamer-sections.txt:
23113 * docs/gst/tmpl/gstvalue.sgml:
23114 rearrange gstvalue section
23115 * gst/gstutils.c: (gst_element_state_get_name):
23117 * gst/gstvalue.c: (_gst_value_initialize):
23121 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23123 * check/gst-libs/controller.c:
23124 Header include fix.
23125 * gst/base/gstbasetransform.c:
23126 (gst_base_transform_default_prepare_buf),
23127 (gst_base_transform_handle_buffer):
23128 * gst/base/gstbasetransform.h:
23129 Some more basetransform changes and fixes to enable sub-classes
23130 that modify buffer metadata only.
23131 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23132 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23133 (gst_capsfilter_prepare_buf):
23134 If the output pad has fixed allowed caps and input buffers
23135 don't have any, set the fixed caps on outgoing buffers.
23137 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23138 * check/elements/identity.c: (GST_START_TEST):
23139 Make the error a little clearer when the test fails because
23140 identity made a copy of the buffer.
23141 * docs/gst/gstreamer-sections.txt:
23142 New symbols in gstbasetransform.h
23143 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23144 (gst_base_transform_init), (gst_base_transform_transform_size),
23145 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23146 (gst_base_transform_default_prepare_buf),
23147 (gst_base_transform_get_unit_size),
23148 (gst_base_transform_buffer_alloc),
23149 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23150 (gst_base_transform_change_state),
23151 (gst_base_transform_set_passthrough),
23152 (gst_base_transform_set_in_place),
23153 (gst_base_transform_is_in_place):
23154 * gst/base/gstbasetransform.h:
23155 Change BaseTransform to separate in_place operate from same_caps
23156 output. in_place implies that the element can perform the transform
23157 on incoming buffers in-place, even if the caps on the output are
23159 Sub-class elements can now implement special buffer allocation
23160 methods for outgoing buffers if they wish to.
23161 Big documentation addition.
23162 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23163 * gst/elements/gstelements.c:
23164 Changes for basetransform modifications.
23165 * gst/elements/Makefile.am:
23166 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23167 Compile fix. Extra debug output.
23169 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23171 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23173 add tests for valid pad naming
23174 * gst/check/gstcheck.c: (gst_check_log_message_func),
23175 (gst_check_log_critical_func):
23177 remove printing of code, it is fragile when the code contains
23178 % and the line number is enough info
23179 * gst/check/gstcheck.h:
23180 * gst/gstpad.c: (gst_pad_template_new):
23183 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23186 say what CHECK flags we use
23187 * docs/libs/gstreamer-libs.types:
23188 * libs/gst/controller/Makefile.am:
23189 * libs/gst/controller/gst-controller.c:
23190 * libs/gst/controller/gst-controller.h:
23191 * libs/gst/controller/gst-helper.c:
23192 * libs/gst/controller/gst-interpolation.c:
23193 * libs/gst/controller/gstcontroller.c:
23194 * libs/gst/controller/gsthelper.c:
23195 * libs/gst/controller/gstinterpolation.c:
23196 * tools/gst-inspect.c: (print_plugin_info):
23197 we don't use dashes in header names
23199 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23201 * check/Makefile.am:
23202 * check/gst/.cvsignore:
23203 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23204 (gst_pipeline_suite), (main):
23205 adding a test for pipelines and state changes
23206 * gst/gstutils.c: (get_state_func):
23208 * gstreamer.spec.in:
23211 2005-09-08 Michael Smith <msmith@fluendo.com>
23213 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23214 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23215 (gst_file_src_is_seekable), (gst_file_src_get_size),
23216 (gst_file_src_start):
23217 * gst/elements/gstfilesrc.h:
23218 Various fixes for unseekable, unmmapable, and non-normal files, so
23219 that fallback to read() rather than mmap() works.
23220 * gst/gstevent.c: (gst_event_new_newsegment):
23221 Allow newsegment events with segment_start == segment_end, as will
23222 correctly happen if you use filesrc on a zero-size file, for
23225 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23227 * gst/gstplugin.c: (gst_plugin_load_file):
23228 Call g_module_close when we don't load the module
23230 * gst/registries/gstlibxmlregistry.c:
23231 (gst_xml_registry_get_property):
23232 Port leak fix from 0.8
23234 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23236 * docs/gst/gstreamer-docs.sgml:
23237 * docs/gst/tmpl/.cvsignore:
23238 * docs/gst/tmpl/gsttrace.sgml:
23239 * docs/gst/tmpl/gsttrashstack.sgml:
23242 * gst/gstelement.h:
23244 * gst/gstmessage.c:
23245 * gst/gstmessage.h:
23248 * gst/gsttaginterface.c:
23249 * gst/gsttaginterface.h:
23250 * gst/gsttaglist.c:
23251 * gst/gsttaglist.h:
23252 * gst/gsttagsetter.c:
23253 * gst/gsttagsetter.h:
23256 * gst/gsttrashstack.c:
23257 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23258 inlined docs for gsttrace, gsttrashstack
23260 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23263 * gst/elements/gstbufferstore.h:
23264 * gst/elements/gsttypefindelement.c:
23265 * gst/elements/gsttypefindelement.h:
23267 * gst/gsttypefind.c:
23268 * gst/gsttypefind.h:
23269 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23270 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23271 (gst_type_find_factory_dispose),
23272 (gst_type_find_factory_unload_thyself),
23273 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23274 (gst_type_find_factory_get_caps),
23275 (gst_type_find_factory_get_extensions),
23276 (gst_type_find_factory_call_function):
23277 * gst/gsttypefindfactory.h:
23278 * gst/registries/gstlibxmlregistry.c:
23279 * gst/registries/gstxmlregistry.c:
23280 splitted gsttypefind into gsttypefind, gsttypefindfactory
23282 2005-09-07 Andy Wingo <wingo@pobox.com>
23284 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23285 condition whereby the pad's task function is entered before the
23286 pad_mode variable was set.
23288 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23290 * gst/gstpad.c: (gst_pad_alloc_buffer):
23291 Catch misbehaving pad_alloc functions that don't
23292 set up caps and do it for them.
23294 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23296 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23297 test for pipe!=NULL
23298 * docs/gst/tmpl/.cvsignore:
23299 * docs/gst/tmpl/gstmemchunk.sgml:
23300 * docs/gst/tmpl/gstparse.sgml:
23301 * docs/gst/tmpl/gsttaglist.sgml:
23302 * docs/gst/tmpl/gsttagsetter.sgml:
23303 * docs/gst/tmpl/gsttypefind.sgml:
23304 * docs/gst/tmpl/gsttypefindfactory.sgml:
23305 * gst/gstmemchunk.c:
23308 * gst/gsttaginterface.c:
23309 * gst/gsttypefind.c:
23310 * gst/gsttypefind.h:
23313 === release 0.9.2 ===
23315 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23320 releasing 0.9.2, "South"
23322 2005-09-05 Andy Wingo <wingo@pobox.com>
23324 * gst/registries/gstxmlregistry.h:
23325 * gst/registries/gstxmlregistry.c: Um... resurrect...
23327 * gst/registries/gstxmlregistry.h:
23328 * gst/registries/gstxmlregistry.c: and update to newer API.
23329 Incidentally they should be a bit faster now that they don't have
23332 2005-09-05 Andy Wingo <wingo@pobox.com>
23334 * gst/registries/gstxmlregistry.h:
23335 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23336 replaced by the libxml registry a while back
23338 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23340 * docs/gst/tmpl/gstplugin.sgml:
23341 * gst/elements/gstelements.c:
23343 * gst/gstplugin.c: (gst_plugin_register_func),
23344 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23345 (gst_plugin_get_source):
23347 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23348 (gst_xml_registry_save_plugin):
23349 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23350 (gst_xml_registry_save_plugin):
23351 * tools/gst-inspect.c: (print_plugin_info):
23352 add a "source" plugin description field, to represent the source
23353 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23354 will set it to PACKAGE, which is automake's idea of the name of
23355 the source project.
23357 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23362 * docs/Makefile.am:
23363 * docs/faq/Makefile.am:
23364 * docs/gst/tmpl/gstelement.sgml:
23365 * docs/gst/tmpl/gsttypes.sgml:
23366 * docs/htmlinstall.mak:
23367 * docs/manual/Makefile.am:
23368 * docs/pwg/Makefile.am:
23369 reorganize doc build a little
23370 split out docbook and gtk-doc stuff
23371 have two separate --enable's and enable them through autogen
23372 but disable by default in configure (to be similar to other
23374 * gstreamer.spec.in:
23375 clean up docs install
23393 translation updates
23395 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23397 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23400 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23401 (gst_fake_sink_change_state):
23402 Make state change function thread-safe.
23404 * gst/gstpad.c: (gst_pad_alloc_buffer):
23405 Set offset on generic buffer allocated by fallback.
23407 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23409 * docs/gst/gstreamer-sections.txt:
23410 * docs/gst/tmpl/gstelement.sgml:
23412 * libs/gst/controller/gst-controller.c:
23413 (gst_controlled_property_set_interpolation_mode),
23414 (gst_controlled_property_new),
23415 (gst_controller_find_controlled_property):
23416 run the wingo-magic script against the docs
23418 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23420 * docs/gst/gstreamer-docs.sgml:
23421 * docs/gst/gstreamer-sections.txt:
23422 * docs/gst/tmpl/.cvsignore:
23423 * docs/gst/tmpl/gstelementdetails.sgml:
23424 * docs/gst/tmpl/gstelementfactory.sgml:
23427 * gst/gstelementfactory.c:
23428 * gst/gstelementfactory.h:
23429 merged elementdetails docs into elementfactory docs
23432 2005-09-02 Andy Wingo <wingo@pobox.com>
23434 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23435 consider this enum an enum and not a flags.
23437 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23439 * docs/gst/gstreamer-docs.sgml:
23440 * docs/gst/tmpl/.cvsignore:
23441 * docs/gst/tmpl/gstghostpad.sgml:
23442 * docs/gst/tmpl/gstiterator.sgml:
23443 * docs/gst/tmpl/gstmacros.sgml:
23444 * docs/gst/tmpl/gstrealpad.sgml:
23445 * docs/gst/tmpl/gstregistry.sgml:
23446 * docs/gst/tmpl/gstregistrypool.sgml:
23447 * docs/gst/tmpl/gststructure.sgml:
23448 * docs/gst/tmpl/gstsystemclock.sgml:
23449 * docs/gst/tmpl/gsttrace.sgml:
23450 * gst/gstghostpad.c:
23452 * gst/gstmemchunk.c:
23453 * gst/gstmemchunk.h:
23455 * gst/gstregistry.c:
23456 * gst/gstregistrypool.c:
23457 * gst/gststructure.c:
23458 * gst/gstsystemclock.c:
23461 2005-09-02 Andy Wingo <wingo@pobox.com>
23463 * gst/gstelement.h (GstState): Renamed from GstElementState,
23464 changed to be a normal enum instead of flags.
23465 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23466 munged to be GST_STATE_CHANGE_*.
23467 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23468 work with the new state representation.
23469 (GstStateChange): New enumeration of possible state transitions.
23470 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23471 (GstElementClass::change_state): Pass the GstStateChange along as
23472 an argument. Helps language bindings, so they don't have to use
23473 tricky lock-needing macros like GST_STATE_CHANGE ().
23475 * scripts/update-states (file): New script. Run it on a file to
23476 update it for state naming and API changes. Updates files in
23479 * All files updated for the new API.
23481 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23483 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23484 * gst/gstutils.c: (gst_util_set_value_from_string),
23485 (gst_util_set_object_arg):
23486 fix a bunch of unchecked return values
23487 * tools/gst-complete.c: (main):
23488 * gstreamer.spec.in:
23491 2005-09-01 Wim Taymans <wim@fluendo.com>
23493 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23494 (gst_base_sink_event), (gst_base_sink_do_sync),
23495 (gst_base_sink_handle_event):
23496 * gst/base/gstbasesink.h:
23497 Handle newsegments more correctly.
23502 * gst/gstevent.c: (gst_event_new_newsegment):
23503 A newsegment cannot have a start_time of -1
23505 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23507 * win32/gstenumtypes.c:
23508 * win32/gstenumtypes.h:
23511 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23513 * libs/gst/controller/gst-controller.c:
23514 (gst_controlled_property_set_interpolation_mode),
23515 (gst_controlled_property_new):
23516 fixed boolean again
23518 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23520 * docs/faq/gst-uninstalled:
23525 * gst/gstutils.c: (gst_element_link_filtered):
23527 add gst_element_link_filtered
23529 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23531 * docs/gst/gstreamer-docs.sgml:
23532 * docs/gst/gstreamer-sections.txt:
23533 * docs/gst/tmpl/.cvsignore:
23534 * docs/gst/tmpl/gsterror.sgml:
23535 * docs/gst/tmpl/gstfilter.sgml:
23536 * docs/gst/tmpl/gsturihandler.sgml:
23537 * docs/gst/tmpl/gsturitype.sgml:
23538 * docs/gst/tmpl/gstutils.sgml:
23539 * docs/gst/tmpl/gstxml.sgml:
23544 * gst/gsturitype.c:
23547 inlined more docs, fixed double id-ref
23549 2005-08-31 Wim Taymans <wim@fluendo.com>
23551 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23552 (gst_base_transform_handle_buffer):
23553 Passthrough elements don't need the caps as they don't care.
23555 2005-08-31 Wim Taymans <wim@fluendo.com>
23557 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23558 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23559 Don't leak refcounts on buffers.
23561 2005-08-31 Wim Taymans <wim@fluendo.com>
23563 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23564 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23565 (gst_base_transform_chain), (gst_base_transform_change_state):
23566 * gst/base/gstbasetransform.h:
23567 Handle the case where we are not negotiated more gracefully.
23569 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23571 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23572 (gst_file_src_map_region):
23573 Set READONLY flag on mmap'ed buffers, otherwise
23574 gst_buffer_make_writable() won't work properly (#314708).
23576 2005-08-31 Wim Taymans <wim@fluendo.com>
23578 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23579 passthrough elements can even do inplace on non writable
23580 buffers (as they don't touch them).
23582 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23584 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23585 (gst_test_mono_source_set_property),
23586 (gst_test_mono_source_class_init), (GST_START_TEST),
23587 (gst_controller_suite):
23588 more tests (hehe I have the most)
23590 describe popping messages whenusing mulltiple sources
23591 * libs/gst/controller/gst-controller.c:
23592 (gst_controlled_property_set_interpolation_mode),
23593 (gst_controlled_property_new):
23594 * libs/gst/controller/gst-controller.h:
23595 * libs/gst/controller/gst-interpolation.c:
23596 implement boolean properties
23598 2005-08-31 Wim Taymans <wim@fluendo.com>
23600 * gst/gstminiobject.c: (gst_mini_object_ref):
23601 Cannot assert that the refcount has to be positive
23602 since a disposed object can be resurrected.
23604 2005-08-31 Wim Taymans <wim@fluendo.com>
23606 * gst/gstpad.c: (gst_pad_init):
23607 Revert change, need to first fix badly behaving
23610 2005-08-30 Wim Taymans <wim@fluendo.com>
23612 * check/elements/fakesrc.c: (setup_fakesrc):
23613 * check/elements/identity.c: (setup_identity):
23614 Activate pads before using them.
23616 2005-08-30 Wim Taymans <wim@fluendo.com>
23618 * gst/base/gstadapter.c: (gst_adapter_flush):
23619 Flushing out 0 bytes is ok for this function.
23621 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23622 no newsegment gives a warning and sets the start/stop to
23625 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23626 (gst_base_transform_set_passthrough):
23629 * gst/gstminiobject.c: (gst_mini_object_ref):
23630 Check refcount here too.
23632 * gst/gstpad.c: (gst_pad_init):
23633 Pads are initially flushing and refusing data.
23635 * gst/gstutils.c: (gst_element_link_pads_filtered):
23636 When adding a capsfilter element make sure it has the
23637 same state as the parent bin.
23639 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23641 * docs/gst/tmpl/.cvsignore:
23642 * docs/gst/tmpl/gstformat.sgml:
23643 * docs/gst/tmpl/gstversion.sgml:
23647 * gst/gstversion.h.in:
23648 more docs and two more inlined
23650 2005-08-30 Wim Taymans <wim@fluendo.com>
23652 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23653 Don't sync to clock.
23655 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23657 * docs/gst/gstreamer-sections.txt:
23658 ultral33t func10ns deserve to appear in the docs actually
23659 * docs/gst/tmpl/.cvsignore:
23660 * docs/gst/tmpl/gstcompat.sgml:
23661 * docs/gst/tmpl/gstconfig.sgml:
23662 * gst/check/gstcheck.c:
23664 * gst/gstconfig.h.in:
23667 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23669 * docs/gst/tmpl/.cvsignore:
23670 * docs/gst/tmpl/gstquery.sgml:
23671 * docs/gst/tmpl/gstutils.sgml:
23674 inlined and extended docs
23676 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23678 * check/gst-libs/controller.c: (GST_START_TEST),
23679 (gst_controller_suite):
23681 * docs/gst/tmpl/gstutils.sgml:
23682 * docs/libs/gstreamer-libs-sections.txt:
23683 * docs/libs/tmpl/gstdataprotocol.sgml:
23685 * examples/controller/audio-example.c: (main):
23686 controller example works now
23689 * tools/gst-inspect.c: (print_element_properties_info):
23690 show param spec flags
23692 2005-08-29 Andy Wingo <wingo@pobox.com>
23694 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23696 2005-08-28 Andy Wingo <wingo@pobox.com>
23698 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23699 as having two arguments instead of just one. Allows superclasses
23700 to access information on subclasses -- see the terrible for() loop
23701 in gtype.c:g_type_create_instance for the reason why. All callers
23704 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23706 * docs/design/part-messages.txt:
23708 * docs/gst/tmpl/.cvsignore:
23709 * docs/gst/tmpl/gstcaps.sgml:
23710 * docs/gst/tmpl/gstclock.sgml:
23716 * gst/gstmessage.c:
23717 added descriptions for bus and message
23718 inline caps and clock docs
23720 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23722 * gst/gstmessage.c:
23723 * gst/gstmessage.h:
23726 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23728 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23731 2005-08-26 Andy Wingo <wingo@pobox.com>
23733 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23734 element_set_state's return val.
23735 (test_2_elements): Add test that's been disabled for months.
23737 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23738 can-activate-pull properties.
23740 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23741 can-activate-pull properties. Implement is_seekable so fakesrc can
23742 operate in pull mode.
23744 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23746 (gst_base_sink_activate, gst_base_sink_activate_pull)
23747 (gst_base_sink_activate_push): Make activation mode choosing work.
23749 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23750 is right. Make pull mode work. Post an eos before pausing in pull
23752 (gst_base_sink_change_state): Pay attention to the core's
23753 change_state() return val.
23755 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23756 has-getrange properties. Cleanups.
23758 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23759 has_getrange and replace with can_activate_pull and
23762 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23763 locking comments. Remove has_loop, has_chain and replace with
23764 can_activate_pull and can_activate_push.
23766 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23769 * examples/Makefile.am:
23770 * examples/metadata/Makefile.am:
23771 * examples/metadata/read-metadata.c: (message_loop),
23772 (have_pad_handler), (make_pipeline), (print_tag), (main):
23773 Add metadata reading example that loops over a list of filenames,
23774 dumping any tags found.
23776 * gst/gstbus.c: (gst_bus_dispose):
23777 * gst/gstelement.c: (gst_element_dispose):
23778 Release a few potentially-held references in dispose.
23780 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23782 * docs/gst/tmpl/gstminiobject.sgml:
23783 do *not* add tmpl/*.sgml files to CVS!
23785 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23787 * libs/gst/bytestream/.cvsignore:
23788 * libs/gst/bytestream/Makefile.am:
23789 * libs/gst/bytestream/adapter.c:
23790 * libs/gst/bytestream/adapter.h:
23791 * libs/gst/bytestream/bytestream.c:
23792 * libs/gst/bytestream/bytestream.h:
23793 * libs/gst/bytestream/filepad.c:
23794 * libs/gst/bytestream/filepad.h:
23795 removing obsolete files
23797 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23799 * docs/gst/gstreamer-docs.sgml:
23800 * docs/libs/gstreamer-libs-docs.sgml:
23801 disabed additional index entries again, as this makes docs-gen just
23802 slow and they aren't useful yet
23803 * docs/libs/gstreamer-libs-sections.txt:
23804 little -section.txt cleanup for libs
23806 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23809 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23810 fix up some debugging
23811 (gst_base_transform_get_unit_size),
23812 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23813 (gst_base_transform_handle_buffer):
23814 * gst/base/gstbasetransform.h:
23815 handle and store timed NEWSEGMENT events so that subclasses that
23816 calculate time by counting samples have a segment_start time they
23817 need to add to their timestamps - see audioresample
23819 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23822 removed ';' from the end of macro defs
23823 * docs/gst/gstreamer-docs.sgml:
23824 * docs/gst/gstreamer-sections.txt:
23825 * docs/gst/tmpl/.cvsignore:
23827 * gst/gstelement.c: (gst_element_class_init),
23828 (gst_element_set_state), (activate_pads),
23829 (gst_element_save_thyself):
23830 * gst/gstevent.c: (gst_event_new_newsegment):
23832 * gst/gstiterator.c:
23833 * gst/gstiterator.h:
23836 * gst/gstutils.c: (gst_pad_query_convert):
23838 fixed parameter name mismatches between source, header and docs
23839 added some more docs, resolved the last batch of unused elements in
23840 docs (now someone needs to doc them)
23842 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23844 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23845 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23846 don't walk through the plugins backwards. Where is all this
23847 reversed logic coming from ?
23849 2005-08-25 Wim Taymans <wim@fluendo.com>
23851 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23852 (gst_base_transform_transform_size),
23853 (gst_base_transform_configure_caps),
23854 (gst_base_transform_get_unit_size),
23855 (gst_base_transform_buffer_alloc),
23856 (gst_base_transform_change_state):
23857 * gst/base/gstbasetransform.h:
23858 Cache caps unit_size.
23859 Make sure we cannot negotiate up and downstream at the
23862 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23864 * gst/gst.c: (init_pre), (init_post):
23865 register the installed plugin path after the env var
23866 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23867 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23868 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23869 directories, so the tests can prefer uninstalled over installed
23871 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23873 * gst/base/gstbasetransform.h:
23878 2005-08-25 Wim Taymans <wim@fluendo.com>
23880 * gst/gstbin.c: (bin_bus_handler):
23881 Be a bit more conservative about the posted message.
23883 * gst/gstbus.c: (gst_bus_post):
23884 Some cleanups, warn wrong return values.
23886 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
23888 * check/gst/gstbin.c: (GST_START_TEST):
23889 * gst/gstbin.c: (bin_bus_handler):
23890 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23891 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23892 (gst_message_new_warning), (gst_message_new_tag),
23893 (gst_message_new_state_changed), (gst_message_new_segment_start),
23894 (gst_message_new_segment_done), (gst_message_new_custom):
23895 * gst/gstmessage.h:
23896 * tools/gst-launch.c: (event_loop):
23897 * tools/gst-md5sum.c: (event_loop):
23898 Revert unpopular change for GST_MESSAGE_SRC to GObject.
23900 2005-08-25 Wim Taymans <wim@fluendo.com>
23902 * check/generic/states.c: (GST_START_TEST):
23903 Cleanup can be done at the end.
23905 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23906 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23907 (gst_task_get_state), (gst_task_start), (gst_task_pause):
23908 Oh boy.. Thanks for finding this, Thomas.
23910 2005-08-25 Stefan Kost <ensonic@users.sf.net>
23912 * docs/gst/gstreamer.types:
23913 added missing types
23915 2005-08-25 Stefan Kost <ensonic@users.sf.net>
23917 * docs/gst/gstreamer-docs.sgml:
23918 * docs/gst/gstreamer-sections.txt:
23919 * docs/gst/tmpl/.cvsignore:
23921 * gst/gstiterator.c:
23923 * gst/registries/gstxmlregistry.h:
23924 added missing classes and symbols (123 more to go)
23925 removed removed symbols from section file
23926 fixed many doc-comments
23928 2005-08-24 Wim Taymans <wim@fluendo.com>
23930 * check/generic/states.c: (GST_START_TEST):
23931 Make sure all tasks are stopped.
23933 * check/gst/gstbin.c: (GST_START_TEST):
23934 Unref after usage for proper valgrinding.
23936 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23937 Really wait for the task to stop before destroying the
23940 * gst/gstqueue.c: (gst_queue_sink_activate_push),
23941 (gst_queue_src_activate_push):
23942 Small cleanups. Don't stop the task when we did not start
23945 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23946 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23947 (gst_task_get_state), (gst_task_start), (gst_task_pause),
23950 Protect the stream lock with the object lock.
23951 Disallow setting the stream lock when running.
23952 Add cleanup_all to wait for the threadpool to finish.
23953 Remove code to autoallocate a mutex if none was provided.
23954 Add _join() to wait for a task to stop.
23955 Protect the thread pool with a global lock.
23957 2005-08-24 Wim Taymans <wim@fluendo.com>
23959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23960 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23961 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23962 * gst/base/gstbasesink.h:
23963 Handle newsegment events correctly.
23964 Drop buffers out of the segment range.
23966 2005-08-22 Andy Wingo <wingo@pobox.com>
23968 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23969 macro, implements an interface and gstimplementsinterface for a
23972 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
23974 * check/Makefile.am:
23975 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23976 add a test that does a bunch of state changes on elements
23977 needs some fixing for valgrind
23978 * check/states/sinks.c: (gst_object_suite):
23981 add prototype for gst_caps_is_equal_fixed
23983 * gst/gstregistrypool.c:
23986 2005-08-24 Andy Wingo <wingo@pobox.com>
23988 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
23989 convert a negative value. Doesn't make much sense. Mostly this is
23990 here to force callers to ensure -1 maps to -1.
23992 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
23994 * docs/pwg/advanced-types.xml:
23995 Well done to Michael for catching my deliberate introduction
23996 of this spelling mistake.
23997 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
23998 * gst/gstelement.h:
23999 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24000 unlink pads before removing the element from the bin.
24002 2005-08-24 Andy Wingo <wingo@pobox.com>
24004 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24005 the same thing as GST_DEBUG=*:4.
24006 (parse_debug_level, parse_debug_category): New helper parsers.
24008 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24010 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24011 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24012 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24013 (gst_base_transform_buffer_alloc),
24014 (gst_base_transform_handle_buffer):
24015 use gboolean return values and pointers to size so we can use the
24016 full GST_BUFFER_SIZE range (guint) for buffer sizes
24017 use GstPadDirection for transform_caps
24018 * gst/base/gstbasetransform.h:
24019 rename get_size to get_unit_size since that's what it is
24020 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24021 use GstPadDirection for transform_caps
24022 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24024 cleanup and debugging
24026 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24028 * gst/gstelement.c: (gst_element_class_init),
24029 (gst_element_set_state), (activate_pads),
24030 (gst_element_save_thyself):
24031 * tools/gst-compprep.c: (main):
24032 * tools/gst-inspect.c: (print_element_properties_info):
24033 * tools/gst-xmlinspect.c: (print_element_properties):
24034 Fixed long standing mem-leak
24036 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24038 * check/gst/gstbin.c: (GST_START_TEST):
24039 * gst/gstbin.c: (bin_bus_handler):
24040 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24041 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24042 (gst_message_new_warning), (gst_message_new_tag),
24043 (gst_message_new_state_changed), (gst_message_new_segment_start),
24044 (gst_message_new_segment_done), (gst_message_new_custom):
24045 * gst/gstmessage.h:
24046 * tools/gst-launch.c: (event_loop):
24047 * tools/gst-md5sum.c: (event_loop):
24048 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24049 that applications can sensibly post custom messages with references
24050 to their own objects.
24052 2005-08-24 Andy Wingo <wingo@pobox.com>
24054 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24057 2005-08-24 Wim Taymans <wim@fluendo.com>
24059 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24060 (gst_base_transform_transform_caps),
24061 (gst_base_transform_transform_size),
24062 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24063 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24064 (gst_base_transform_handle_buffer):
24065 * gst/base/gstbasetransform.h:
24066 Many fixes and new features added by Thomas. Can now also do
24067 transforms with variable sizes and a custom fixate_caps function.
24069 2005-08-24 Wim Taymans <wim@fluendo.com>
24071 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24075 Cast to ClockTime before formatting to time.
24080 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24082 * check/gst-libs/controller.c: (GST_START_TEST),
24083 (gst_controller_suite):
24084 * docs/gst/tmpl/gstcaps.sgml:
24085 * docs/gst/tmpl/gstghostpad.sgml:
24086 * docs/gst/tmpl/gstquery.sgml:
24087 * docs/gst/tmpl/gstutils.sgml:
24088 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24089 (gst_object_sink_values), (gst_object_get_value_arrays),
24090 (gst_object_get_value_array):
24091 gracefully handle helper method calls to objects that are not beeing
24092 controlled, added test case for that
24094 2005-08-23 Wim Taymans <wim@fluendo.com>
24096 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24097 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24098 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24099 (gst_event_parse_qos), (gst_event_new_seek),
24100 (gst_event_parse_seek):
24102 Some more debugging output and doc cleanups.
24104 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24105 Fix possible deadlock.
24107 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24109 * docs/gst/gstreamer-docs.sgml:
24110 * docs/gst/gstreamer-sections.txt:
24111 * docs/gst/gstreamer.types:
24112 * docs/gst/tmpl/.cvsignore:
24115 * gst/gstelement.c:
24117 added 100 symbols from gstreamer-unused.txt to the right sections
24118 fixed more broken comments
24119 added GstBus to docs
24121 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24123 * docs/gst/gstreamer-sections.txt:
24124 * docs/gst/tmpl/.cvsignore:
24125 * docs/gst/tmpl/gstbin.sgml:
24126 * docs/gst/tmpl/gstbuffer.sgml:
24127 * gst/base/gstbasesrc.c:
24128 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24131 * tools/gst-launch.1.in:
24132 inlined more doc comments, added missing comments and fixed comments
24135 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24137 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24141 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24143 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24144 * gst/gststructure.h:
24145 add a fixate function for booleans; add a FIXME that these func
24146 names should probably be gst_structure_fixate_*
24148 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24150 * docs/gst/gstreamer-docs.sgml:
24151 * docs/gst/gstreamer-sections.txt:
24153 * gst/gstbin.c: (gst_bin_get_type),
24154 (gst_bin_child_proxy_get_child_by_index),
24155 (gst_bin_child_proxy_get_children_count),
24156 (gst_bin_child_proxy_init):
24157 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24158 (gst_child_proxy_get_child_by_index),
24159 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24160 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24161 (gst_child_proxy_get), (gst_child_proxy_set_property),
24162 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24163 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24164 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24165 * gst/gstchildproxy.h:
24166 * gst/parse/grammar.y:
24167 * tools/gst-inspect.c: (print_interfaces),
24168 (print_element_properties_info), (print_element_info):
24169 ported gstchildproxy over from 0.8
24170 ported gst-inspect fixes and enhancements over from 0.8
24172 2005-08-22 Wim Taymans <wim@fluendo.com>
24174 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24175 (gst_base_transform_handle_buffer):
24176 Also call the transform function if we have ANY caps.
24178 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24181 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24183 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24184 Don't pretend to handle seek events if the source is not seekable
24186 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24188 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24189 Remove extra parameter to debug output
24191 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24192 (gst_base_src_do_seek), (gst_base_src_activate_push):
24193 Fix seek event handling.
24195 * gst/gstpipeline.c: (gst_pipeline_change_state):
24196 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24197 (gst_queue_src_activate_push):
24198 Don't start the src pad task on FLUSH_STOP if the pad
24202 2005-08-22 Wim Taymans <wim@fluendo.com>
24204 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24205 Added check for gst_static_caps_get() refcounting.
24207 2005-08-22 Wim Taymans <wim@fluendo.com>
24209 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24210 Make _static_caps_get() refcounting sane.
24212 * gst/gstelement.c: (gst_element_set_state):
24213 Add g_return_val_if_fail() to protect against segfaults.
24215 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24217 * docs/gst/tmpl/gstevent.sgml:
24220 inlined remaining docs, added missing doc comments
24222 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24224 * check/gst/gstbin.c: (GST_START_TEST):
24225 since we don't know when preroll is done, use refcount range
24227 * gst/check/gstcheck.h:
24228 add macro for checking refcount range
24230 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24232 * check/Makefile.am:
24233 clean up environment for when registry gets built versus
24234 when actual tests are run; valgrind seems to not report
24235 leaks if GST_PLUGIN_PATH is set to some specific values
24236 * check/gst/gstbin.c: (GST_START_TEST):
24237 add more refcounting checks; maybe this exposes a
24239 * common/check.mak:
24240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24241 * gst/check/gstcheck.h:
24242 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24243 (gst_bin_change_state):
24244 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24245 add/fix debugging/whitespace
24247 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24249 * check/gst/gstevent.c: (event_probe), (test_event),
24251 Er, don't call gst_bin_watch_for_state_change you idiot.
24253 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24255 * check/Makefile.am:
24256 Use CHECK_CFLAGS and CHECK_LIBS
24257 * check/gst/gstevent.c: (event_probe), (test_event),
24260 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24261 (gst_base_src_start), (gst_base_src_stop),
24262 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24263 (gst_base_src_change_state):
24264 Sprinkle gst_base_src_stop liberally around error paths to fix
24265 problems reusing a source after failed state changes.
24266 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24267 (helper_find_suggest), (gst_type_find_helper):
24268 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24270 * docs/gst/tmpl/gstevent.sgml:
24271 Migrate part of the docs from the SGML file. Wait for ensonic to
24272 tell me how I did it wrong ;)
24273 * tools/gst-typefind.c: (main):
24274 Extra robustness to state changes between files.
24276 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24278 * check/Makefile.am:
24279 don't valgrind the controller test - it's leaking - Stefan, HELP
24280 * gst/check/gstcheck.c: (gst_check_message_error),
24281 (gst_check_chain_func), (gst_check_setup_element),
24282 (gst_check_teardown_element), (gst_check_setup_src_pad),
24283 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24284 (gst_check_teardown_sink_pad):
24285 * gst/check/gstcheck.h:
24286 add a bunch of methods to set up elements, and src and sink pads
24287 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24288 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24291 * gst/gstmessage.c:
24293 whitespace/doc fixes
24295 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24297 * gst/gstelement.h:
24298 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24299 be handled by the application and not always printed as well
24301 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24303 * check/Makefile.am:
24305 * gst/check/gstcheck.c: (gst_check_message_error):
24306 * gst/check/gstcheck.h:
24307 add a fail_unless_equals_int
24308 add fail_unless for error messages
24310 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24312 * check/Makefile.am:
24314 * common/Makefile.am:
24315 * common/check.mak:
24317 factor out some of the common stuff so we can use it
24319 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24321 * check/Makefile.am:
24322 * check/gst/gstiterator.c: (GST_START_TEST):
24323 * check/gst/gstsystemclock.c: (GST_START_TEST),
24324 (gst_systemclock_suite):
24325 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24327 valgrind more tests
24329 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24331 * check/elements/.cvsignore:
24332 * check/elements/gstfakesrc.c:
24333 rename to name of element
24334 * check/elements/identity.c: (chain_func), (event_func),
24335 (setup_identity), (cleanup_identity), (GST_START_TEST),
24336 (identity_suite), (main):
24337 add a test for identity
24338 * check/Makefile.am:
24339 * pkgconfig/Makefile.am:
24340 * pkgconfig/gstreamer-check.pc.in:
24341 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24345 move the check stuff to a library that gets installed
24346 * check/gst-libs/controller.c: (GST_START_TEST):
24347 * check/gst-libs/gdp.c:
24348 * check/gst/gst.c: (GST_START_TEST):
24349 * check/gst/gstbin.c:
24350 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24351 * check/gst/gstbus.c:
24352 * check/gst/gstcaps.c: (GST_START_TEST):
24353 * check/gst/gstelement.c:
24354 * check/gst/gstghostpad.c:
24355 * check/gst/gstiterator.c:
24356 * check/gst/gstmessage.c:
24357 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24358 * check/gst/gstobject.c:
24359 * check/gst/gstpad.c: (GST_START_TEST):
24360 * check/gst/gststructure.c: (GST_START_TEST):
24361 * check/gst/gstsystemclock.c: (GST_START_TEST),
24362 (gst_systemclock_suite):
24363 * check/gst/gsttag.c: (gst_tag_suite):
24364 * check/gst/gstvalue.c:
24365 * check/pipelines/cleanup.c:
24366 * check/pipelines/simple_launch_lines.c:
24367 * check/states/sinks.c:
24368 change include statement
24370 * docs/gst/gstreamer-sections.txt:
24371 * docs/gst/tmpl/gstpad.sgml:
24372 document more pad stuff
24373 * gst/gstminiobject.c: (gst_mini_object_ref),
24374 (gst_mini_object_unref):
24377 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24379 * docs/gst/tmpl/gst.sgml:
24381 eliminate another tmpl file, fix spelling in the long-description
24383 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24385 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24386 (test_event), (timediff), (gstevents_suite):
24387 Should fix build on 64-bit arch's
24389 2005-08-18 Andy Wingo <wingo@pobox.com>
24391 Make sure that when a pipeline goes to PLAYING, that data has
24392 actually hit the sink.
24394 * check/states/sinks.c (test_sink): A sink that doesn't get any
24395 data shouldn't return SUCCESS for going to either PLAYING or
24396 PAUSED. Test also the return values on the way back down.
24398 * gst/gstelement.c (gst_element_set_state): When changing the
24399 state of an element currently changing state asynchronously, go to
24400 lost-state after commiting the pending state. Makes future calls
24401 to get_state continue to return ASYNC.
24403 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24404 ASYNC when going to PLAYING if we still don't have preroll, as can
24405 happen with live sources.
24407 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24409 * docs/pwg/advanced-types.xml:
24410 Hack long paragraph into 2 chunks as a workaround for buggy
24411 jadetex version in sid and breezy that loops infinitely and
24414 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24416 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24417 (test_event), (timediff), (gstevents_suite):
24418 Provide more error margin in clock measurements to allow for
24419 g_get_current_time inaccuracies.
24421 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24423 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24424 (test_event), (timediff), (gstevents_suite):
24425 Fix error message output so I might be able to tell why the
24426 test works here but fails on the build farm.
24428 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24430 * check/Makefile.am:
24431 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24432 (test_event), (timediff), (gstevents_suite), (main):
24435 * docs/design/part-seeking.txt:
24436 Spelling correction
24438 * docs/gst/tmpl/gstevent.sgml:
24439 * docs/gst/tmpl/gstfakesrc.sgml:
24442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24443 Treat a buffer-without-newsegment the same as a receiving
24444 a newsegment not in time format, and disable syncing to the clock
24447 * gst/gstbus.c: (gst_bus_set_sync_handler):
24448 Assert if anyone tries to replace the existing sync_handler for bus,
24449 as only the owner should be setting it.
24452 Have a fixed set of custom event enums with events identified by
24453 their structure name (as in 0.8), rather than a free-for-all
24454 allowing collisions between enum values from different plugins.
24456 * gst/gstpad.c: (gst_pad_class_init):
24459 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24460 Handle out-of-band downstream events from the sending thread.
24462 2005-08-17 Andy Wingo <wingo@pobox.com>
24464 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24465 play-timeout==0 to mean no timeout at all. In that case, don't
24466 bother with a get_state or a warning, just return directly, even
24469 * gst/base/gstbasetransform.c: Debug changes.
24472 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24473 ensure bins post state change messages. A bit of a hack but I can't
24474 think of a way to avoid it.
24476 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24478 2005-08-16 Andy Wingo <wingo@pobox.com>
24480 * gst/base/gstadapter.h:
24481 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24482 peek() but you own the data. Not terribly efficient atm.
24484 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24486 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24487 (gst_element_found_tags):
24489 Add two utility functions for tag handling.
24491 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24493 * docs/manual/advanced-dataaccess.xml:
24494 * docs/manual/basics-helloworld.xml:
24495 Fix docs to use _bin_add() before _link(), which fixes the examples
24496 with recent core versions (reported by Madhan Raj M
24497 <raj_madan@rediffmail.com>, #313199).
24499 2005-08-16 Wim Taymans <wim@fluendo.com>
24501 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24502 Added subtract checks.
24504 * docs/design/part-events.txt:
24505 Some more docs about newsegment
24507 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24510 * gst/gstcaps.c: (gst_caps_to_string):
24511 Add comments, cleanups.
24513 * gst/gstelement.c: (gst_element_save_thyself):
24516 * gst/gstvalue.c: (gst_value_collect_int_range),
24517 (gst_string_unwrap), (gst_value_union_int_int_range),
24518 (gst_value_union_int_range_int_range),
24519 (gst_value_intersect_int_int_range),
24520 (gst_value_intersect_int_range_int_range),
24521 (gst_value_intersect_double_double_range),
24522 (gst_value_intersect_double_range_double_range),
24523 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24524 (gst_value_subtract_int_range_int),
24525 (gst_value_subtract_double_range_double),
24526 (gst_value_subtract_double_range_double_range),
24527 (gst_value_subtract_from_list), (gst_value_subtract_list),
24528 (gst_value_can_compare), (gst_value_compare_fraction):
24529 Cleanups, add comments, remove unneeded asserts.
24531 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24533 * tools/gst-launch.c: (event_loop):
24534 don't convert NULL structures to strings
24536 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24538 * docs/gst/gstreamer-sections.txt:
24539 made some defines private
24540 * docs/gst/tmpl/gstconfig.sgml:
24541 * docs/gst/tmpl/gstqueue.sgml:
24542 * docs/gst/tmpl/gsttaglist.sgml:
24543 * docs/gst/tmpl/gsttypes.sgml:
24544 * docs/gst/tmpl/gstutils.sgml:
24545 * docs/pwg/appendix-porting.xml:
24546 * gst/base/gstbasesink.h:
24547 * gst/base/gstbasesrc.c:
24548 * gst/base/gstbasesrc.h:
24549 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24550 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24551 * gst/gstelement.c: (gst_element_class_init):
24552 * gst/gstpad.c: (gst_pad_class_init):
24553 * gst/gstqueue.c: (gst_queue_class_init):
24554 * gst/gstxml.c: (gst_xml_class_init):
24555 documented all undocumented signal inline
24556 * libs/gst/controller/gst-controller.h:
24559 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24561 * docs/pwg/appendix-porting.xml:
24562 Document _set_link_function -> _set_setcaps_function.
24564 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24566 * check/Makefile.am:
24567 add a .check target for running the check
24568 * check/gst-libs/controller.c: (GST_START_TEST):
24570 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24571 complete checks for gstbuffer; would be nice if I could get the
24572 gcov stuff to work so I can see if I actually completed gstbuffer.c
24573 * check/gstcheck.h:
24574 add ASSERT_BUFFER_REFCOUNT
24576 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24578 * docs/gst/gstreamer-sections.txt:
24579 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24581 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24582 spew out a warning if a tag that is already registered
24583 is re-registered, unless it is re-registered with a
24584 different type (#308438).
24586 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24588 * docs/pwg/appendix-porting.xml:
24589 * docs/pwg/building-state.xml:
24590 Add some paragraphs about state changes in 0.9 to the PWG
24591 and the porting guide, in particular about the new meaning
24592 of GST_STATE_PAUSED and how to write state change functions
24593 with concurrent access by multiple threads in mind.
24595 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24597 * docs/gst/gstreamer-docs.sgml:
24598 * docs/libs/gstreamer-libs-docs.sgml:
24599 added deprecation and since indexes
24600 * libs/gst/controller/gst-controller.c:
24601 * libs/gst/controller/gst-helper.c:
24605 2005-08-11 Wim Taymans <wim@fluendo.com>
24607 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24608 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24609 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24610 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24611 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24612 (gst_ghost_pad_set_target):
24613 Actually implement (re)setting the target on a ghostpad
24614 as described in the docs.
24616 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24618 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24619 Check whether GST_DEBUG_NO_COLOR environment variable is
24620 set and disable coloured debug output if that is the case.
24622 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24624 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24625 (gst_type_find_helper):
24626 The memory returned by gst_type_find_peek() needs to
24627 stay valid until the end of a typefind function, and
24628 typefind functions may keep results from different
24629 offsets around, so we can't just unref the buffer from
24630 the previous _peek(), but have to save all buffers
24631 returned by _peek() until typefinding is done and only
24634 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24636 * docs/gst/gstreamer-sections.txt:
24638 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24640 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24642 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24643 Fix a pretty good memleak.
24645 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24647 * gst/gstiterator.h:
24648 Fix wrong include and 'make distcheck'.
24650 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24652 * gst/gstbin.c: (bin_bus_handler):
24653 Use gst_element_post_message() instead.
24655 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24657 * gst/base/gstadapter.h:
24658 * gst/base/gstbasesink.h:
24659 * gst/base/gstbasesrc.h:
24660 * gst/base/gstbasetransform.h:
24661 * gst/base/gstcollectpads.h:
24662 * gst/base/gstpushsrc.h:
24663 * gst/gstiterator.h:
24664 Add padding to our base elements' class and instance structs and
24665 to GstIterator (you will need to rebuild all plugins and apps!)
24667 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24669 * gst/gstbin.c: (bin_bus_handler):
24670 Make default message forwarding from child->bus to bin->bus
24671 threadsafe and make it not emit warnings if the parent has no bus.
24673 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24675 * gst/gstelement.c: (activate_pads):
24676 On paused->ready, set pad->caps to NULL, as is the documented
24677 behaviour in this state change. Fixes playback of series of
24678 media files when visualization is enabled in Totem.
24680 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24682 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24683 Allow NULL as filter-caps (which means "any").
24685 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24687 * docs/libs/gstreamer-libs-sections.txt:
24688 * libs/gst/controller/gst-controller.c:
24689 * libs/gst/controller/gst-controller.h:
24690 * libs/gst/controller/gst-helper.c:
24691 adding more entries to the docs and fix small doc-bugs
24693 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24695 * docs/gst/gstreamer-docs.sgml:
24696 * docs/gst/gstreamer-sections.txt:
24697 * docs/gst/gstreamer.types:
24698 * docs/gst/tmpl/gstbasesink.sgml:
24699 * docs/gst/tmpl/gstbasesrc.sgml:
24700 * docs/gst/tmpl/gstbasetransform.sgml:
24701 * docs/gst/tmpl/gstfakesrc.sgml:
24702 * gst/base/gstcollectpads.c:
24703 * gst/base/gstcollectpads.h:
24704 * libs/gst/controller/gst-controller.c:
24705 * libs/gst/controller/gst-controller.h:
24706 * libs/gst/controller/gst-helper.c:
24707 * libs/gst/controller/gst-interpolation.c:
24708 * libs/gst/controller/lib.c:
24709 added long/short desc for controller docs
24710 added collectpads base class docs
24711 added correct includes to base-class docs
24713 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24715 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24716 (gst_test_mono_source_set_property),
24717 (gst_test_mono_source_class_init), (GST_START_TEST),
24718 (gst_controller_suite):
24719 * docs/gst/gstreamer-docs.sgml:
24720 * docs/gst/gstreamer-sections.txt:
24721 * docs/gst/gstreamer.types:
24722 * docs/libs/gstreamer-libs-docs.sgml:
24723 * docs/libs/gstreamer-libs-sections.txt:
24724 * gst/base/gstadapter.c:
24725 * libs/gst/controller/gst-controller.c:
24726 (gst_controlled_property_new), (gst_controlled_property_free),
24727 (gst_controller_new_valist),
24728 (gst_controller_remove_properties_valist),
24729 (gst_controller_sink_values), (_gst_controller_finalize):
24730 * libs/gst/controller/gst-controller.h:
24731 * libs/gst/controller/gst-helper.c:
24732 (gst_object_control_properties), (gst_object_uncontrol_properties),
24733 (gst_object_get_controller), (gst_object_set_controller),
24734 (gst_object_sink_values), (gst_object_get_value_arrays),
24735 (gst_object_get_value_array):
24736 more tests (and fixes) for the controller
24737 more docs for the controller
24738 integrated companies docs for the adapter
24740 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24742 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24743 (GST_START_TEST), (fakesrc_suite):
24744 add tests for sizetype
24746 2005-08-04 Andy Wingo <wingo@pobox.com>
24748 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24749 fixes buffer_alloc proxying among other things.
24751 * gst/base/gstbasetransform.c:
24752 * gst/base/gstbasetransform.h:
24753 Revert patch to gstbasetransform from 7-28 removing
24756 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24757 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24758 Semantics changed, should return not the size of the output buffer
24759 but the byte size of a buffer with a given caps.
24761 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24763 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24764 out) are not the pad caps until setcaps finishes.
24765 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24766 not-in-place case as well. Deal with changing from in-place to
24767 not-in-place within calling pad_alloc_buffer. Still a bit
24768 concerned about the overhead here...
24770 2005-08-03 Andy Wingo <wingo@pobox.com>
24772 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24773 fixating is an error.
24775 2005-08-04 Edward Hervey <edward@fluendo.com>
24777 * gst/base/gstadapter.h:
24778 Added gst_adapter_get_type() to the header
24780 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24782 * check/Makefile.am:
24783 * check/gst-libs/controller.c:
24784 * libs/gst/controller/gst-controller.c:
24785 (gst_controller_new_valist):
24786 added check test suite for the controller
24787 * gst/base/gstpushsrc.c:
24790 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24792 * docs/gst/Makefile.am:
24793 * docs/gst/gstreamer-docs.sgml:
24794 * docs/gst/gstreamer-sections.txt:
24795 * docs/gst/gstreamer.types:
24796 * docs/gst/tmpl/gstfakesrc.sgml:
24798 * gst/base/gstbasesink.c:
24799 * gst/base/gstbasesink.h:
24800 * gst/base/gstbasesrc.c:
24801 * gst/base/gstbasesrc.h:
24802 * gst/base/gstbasetransform.c:
24803 * gst/base/gstpushsrc.c:
24804 * gst/base/gstpushsrc.h:
24805 add short/long description docs to base classes
24806 add pushsrc to the docs
24807 remove consolidated doc fragments
24809 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24812 * docs/libs/Makefile.am:
24813 * docs/libs/gstreamer-libs-docs.sgml:
24814 * docs/libs/gstreamer-libs-sections.txt:
24815 * docs/libs/gstreamer-libs.types:
24816 * examples/Makefile.am:
24817 * examples/controller/.cvsignore:
24818 * examples/controller/Makefile.am:
24819 * examples/controller/audio-example.c: (main):
24820 * libs/gst/Makefile.am:
24821 * libs/gst/controller/.cvsignore:
24822 * libs/gst/controller/Makefile.am:
24823 * libs/gst/controller/gst-controller.c:
24824 (on_object_controlled_property_changed), (gst_timed_value_compare),
24825 (gst_timed_value_find),
24826 (gst_controlled_property_set_interpolation_mode),
24827 (gst_controlled_property_new), (gst_controlled_property_free),
24828 (gst_controller_find_controlled_property),
24829 (gst_controller_new_valist), (gst_controller_new),
24830 (gst_controller_remove_properties_valist),
24831 (gst_controller_remove_properties), (gst_controller_set),
24832 (gst_controller_set_from_list), (gst_controller_unset),
24833 (gst_controller_get), (gst_controller_get_all),
24834 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24835 (gst_controller_get_value_array),
24836 (gst_controller_set_interpolation_mode),
24837 (_gst_controller_finalize), (_gst_controller_init),
24838 (_gst_controller_class_init), (gst_controller_get_type):
24839 * libs/gst/controller/gst-controller.h:
24840 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24841 (g_object_uncontrol_properties), (g_object_get_controller),
24842 (g_object_set_controller), (g_object_sink_values),
24843 (g_object_get_value_arrays), (g_object_get_value_array):
24844 * libs/gst/controller/gst-interpolation.c:
24845 (gst_controlled_property_find_timed_value_node),
24846 (interpolate_none_get), (interpolate_trigger_get),
24847 (interpolate_trigger_get_value_array):
24848 * libs/gst/controller/lib.c: (gst_controller_init):
24849 * pkgconfig/Makefile.am:
24850 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24851 * pkgconfig/gstreamer-control.pc.in:
24852 * testsuite/Makefile.am:
24853 * testsuite/controller/.cvsignore:
24854 * testsuite/controller/Makefile.am:
24855 * testsuite/controller/interpolator.c: (main):
24856 added controller code
24857 removed dparam pc files
24859 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24860 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24861 (gst_collectpads_stop):
24862 Broadcast the condition when shutting down, to make sure we wake all
24863 threads up. Shut down pads on finalize, for safety.
24865 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24866 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24867 (gst_base_transform_handle_buffer),
24868 (gst_base_transform_change_state):
24869 Handle PAUSED->READY->PAUSED transition after negotiation
24871 * gst/gstmessage.c: (gst_message_init):
24872 Extra piece of debug for new messages.
24874 2005-08-01 Stefan Kost <ensonic@users.sf.net>
24877 * docs/gst/tmpl/gstbasesrc.sgml:
24878 * docs/gst/tmpl/gstelement.sgml:
24879 * docs/gst/tmpl/gstevent.sgml:
24880 * docs/gst/tmpl/gstfakesrc.sgml:
24881 * docs/gst/tmpl/gstformat.sgml:
24882 * docs/gst/tmpl/gstghostpad.sgml:
24883 * docs/gst/tmpl/gstpad.sgml:
24884 * docs/gst/tmpl/gstquery.sgml:
24885 * docs/gst/tmpl/gststructure.sgml:
24886 * docs/gst/tmpl/gsttaglist.sgml:
24887 * docs/gst/tmpl/gstvalue.sgml:
24888 * docs/libs/gstreamer-libs-docs.sgml:
24889 * docs/libs/gstreamer-libs-sections.txt:
24890 * docs/libs/gstreamer-libs.types:
24891 * libs/gst/Makefile.am:
24892 * libs/gst/control/.cvsignore:
24893 * libs/gst/control/Makefile.am:
24894 * libs/gst/control/control.c:
24895 * libs/gst/control/control.h:
24896 * libs/gst/control/dparam.c:
24897 * libs/gst/control/dparam.h:
24898 * libs/gst/control/dparam_smooth.c:
24899 * libs/gst/control/dparam_smooth.h:
24900 * libs/gst/control/dparamcommon.h:
24901 * libs/gst/control/dparammanager.c:
24902 * libs/gst/control/dparammanager.h:
24903 * libs/gst/control/dplinearinterp.c:
24904 * libs/gst/control/dplinearinterp.h:
24905 * libs/gst/control/unitconvert.c:
24906 * libs/gst/control/unitconvert.h:
24907 * testsuite/Makefile.am:
24908 * testsuite/dynparams/.cvsignore:
24909 * testsuite/dynparams/Makefile.am:
24910 * testsuite/dynparams/dparamstest.c:
24911 * tools/Makefile.am:
24912 * tools/gst-inspect.c: (print_element_info), (main):
24913 * tools/gst-xmlinspect.c: (print_element_info), (main):
24914 deactivate and remove dparams (libgstcontrol)
24916 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24918 * gst/elements/gsttypefindelement.c:
24919 (gst_type_find_element_have_type), (gst_type_find_element_init),
24920 (stop_typefinding), (gst_type_find_element_handle_event),
24921 (gst_type_find_element_chain), (gst_type_find_element_getrange):
24922 * gst/elements/gsttypefindelement.h:
24923 Set caps on all outgoing buffers, not just the first one.
24925 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24927 * gst/elements/gsttypefindelement.c:
24928 (gst_type_find_element_have_type),
24929 (gst_type_find_element_check_set_buffer_caps),
24930 (gst_type_find_element_init), (stop_typefinding),
24931 (gst_type_find_element_handle_event),
24932 (gst_type_find_element_chain), (gst_type_find_element_getrange):
24933 * gst/elements/gsttypefindelement.h:
24934 Set caps on first outgoing buffer when we've found the type.
24936 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24938 * docs/gst/gstreamer-docs.sgml:
24939 * docs/gst/gstreamer-sections.txt:
24940 * docs/gst/tmpl/gstscheduler.sgml:
24941 * docs/gst/tmpl/gstschedulerfactory.sgml:
24942 Remove some old cruft from docs.
24944 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
24947 Fix inline docs for GstPadLinkReturn.
24949 * gst/gststructure.c: (gst_structure_has_name):
24950 * gst/gststructure.h:
24951 * docs/gst/gstreamer-sections.txt:
24952 New API: gst_structure_has_name().
24954 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
24957 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24958 and _LARGEFILE_SOURCE in config.h as required. Do not
24959 export those flags in our .pc files any longer (#142209).
24961 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24963 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24964 (gst_file_sink_do_seek), (gst_file_sink_event),
24965 (gst_file_sink_get_current_offset), (gst_file_sink_render):
24966 Redo seek/tell calls with large file support in mind; add some
24967 debugging messages; add log message that tells us when large
24968 file support is unavailable or not enabled for some reason.
24970 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24971 Add log message that tells us when large file support
24972 is unavailable or not enabled for some reason.
24974 2005-07-29 Wim Taymans <wim@fluendo.com>
24976 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24977 Added test for removing an element with ghostpad from a bin.
24978 Fixed test as current implementation does the right thing.
24980 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24981 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24982 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24983 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24984 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24985 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24986 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24987 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24988 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
24989 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
24990 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
24991 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
24992 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
24993 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
24994 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
24995 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
24996 * gst/gstghostpad.h:
24997 Clean up ghostpads, remove properties for internal stuff.
25000 Prepare for switching targets, not all use cases work yet.
25002 2005-07-29 Wim Taymans <wim@fluendo.com>
25004 * docs/design/part-gstghostpad.txt:
25007 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25008 (gst_bin_remove_func):
25009 Unlinking pads while holding the bin LOCK is not a good
25012 * gst/gstpad.c: (gst_pad_class_init),
25013 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25014 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25015 No prob setting template after creating the pad.
25017 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25019 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25020 (gst_bus_peek), (gst_bus_source_dispatch),
25021 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25022 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25023 gst_bus_poll may be called from other threads. Handle
25024 this nicely by not making poll_data disappear off the
25025 stack once gst_bus_poll returns.
25026 gst_bus_peek now increments the refcount on the returned
25029 2005-07-29 Wim Taymans <wim@fluendo.com>
25031 * docs/design/part-gstghostpad.txt:
25032 Overview of current GhostPad datastructures and use
25033 cases for changing the target.
25035 2005-07-28 Wim Taymans <wim@fluendo.com>
25037 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25038 Added checks for hierarchy consistency whan adding linked
25041 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25042 Added check to test element scheduling without bin/pipeline.
25044 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25045 First add elements to bin, then link.
25047 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25048 (gst_bin_remove_func):
25049 Unlink pads from elements added/removed from bin to maintain
25050 hierarchy consistency.
25052 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25054 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25055 (gst_base_transform_handle_buffer):
25056 * gst/base/gstbasetransform.h:
25057 Remove broken delay_configure (fixes renegotiation of software
25058 scaling pipelines); remove some leftover printf()s.
25060 2005-07-28 Wim Taymans <wim@fluendo.com>
25062 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25063 Added some more tests for wrong hierarchy
25065 * docs/design/part-overview.txt:
25068 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25071 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25072 (gst_element_dispose):
25073 Some more cleanups.
25075 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25076 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25077 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25078 (gst_pad_set_caps), (gst_pad_send_event):
25079 Check for correct hierarchy when linking pads. Moving to
25080 strict requirement for ghostpads when linking elements in
25084 Clean ups. Added WRONG_HIERARCHY return value.
25086 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25088 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25089 Better debug if no transform is possible.
25091 2005-07-27 Wim Taymans <wim@fluendo.com>
25093 * docs/random/wtay/network-transp:
25094 Some old doc I had.
25096 2005-07-27 Wim Taymans <wim@fluendo.com>
25098 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25099 (gst_dp_event_from_packet):
25100 Fix serialization of seek events.
25102 2005-07-27 Wim Taymans <wim@fluendo.com>
25104 * check/gst-libs/gdp.c: (GST_START_TEST):
25105 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25106 Fix compilation and fix event serialization.
25108 2005-07-27 Wim Taymans <wim@fluendo.com>
25111 * docs/design/part-TODO.txt:
25112 * docs/design/part-events.txt:
25115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25116 (gst_base_sink_event), (gst_base_sink_do_sync),
25117 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25118 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25119 (gst_base_src_do_seek), (gst_base_src_event_handler),
25120 (gst_base_src_loop):
25121 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25122 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25123 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25124 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25125 (gst_base_transform_set_passthrough),
25126 (gst_base_transform_is_passthrough):
25127 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25128 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25134 * gst/gstelement.c: (gst_element_seek):
25135 * gst/gstelement.h:
25136 Update gst_element_seek.
25138 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25139 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25140 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25141 (gst_event_new_eos), (gst_event_new_newsegment),
25142 (gst_event_parse_newsegment), (gst_event_new_tag),
25143 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25144 (gst_event_parse_qos), (gst_event_new_seek),
25145 (gst_event_parse_seek), (gst_event_new_navigation):
25147 Make GstEvent use GstStructure. Add parsing code, make sure the
25148 API is sufficiently generic.
25149 Mark possible directions of events and serialization.
25151 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25152 (_gst_message_copy), (gst_message_new_segment_start),
25153 (gst_message_new_segment_done), (gst_message_new_custom),
25154 (gst_message_parse_segment_start),
25155 (gst_message_parse_segment_done):
25158 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25159 (gst_pad_set_caps), (gst_pad_send_event):
25160 Update for new events.
25161 Catch events sent in wrong directions.
25163 * gst/gstqueue.c: (gst_queue_link_src),
25164 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25165 (gst_queue_handle_src_query):
25170 Remove event code from this file.
25172 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25173 (gst_dp_event_from_packet):
25176 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25178 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25179 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25180 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25181 Make debugging actually useful.
25183 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25185 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25186 (gst_pad_fixate_caps):
25187 Implement default fixation once again, so that gst_pad_fixate()
25188 actually does anything at all. This probably needs to be some
25189 sort of a last resort, and use profile-based fixation first, but
25190 since that doesn't exist yet, this is the best we have. Fixes
25191 visualization in Totem.
25193 2005-07-22 Wim Taymans <wim@fluendo.com>
25195 * docs/design/part-events.txt:
25198 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25199 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25200 (gst_base_sink_activate_pull):
25201 Some more comments.
25203 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25204 (gst_fake_src_create):
25205 Fix handoff marshall.
25207 * gst/elements/gstidentity.c: (gst_identity_class_init),
25208 (gst_identity_transform_ip):
25209 We're a real inplace element.
25211 * gst/gstbus.c: (gst_bus_post):
25212 Added some comments.
25214 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25215 * tests/muxing/case1.c: (main):
25216 * tests/sched/dynamic-pipeline.c: (main):
25217 * tests/sched/interrupt1.c: (main):
25218 * tests/sched/interrupt2.c: (main):
25219 * tests/sched/interrupt3.c: (main):
25220 * tests/sched/runxml.c: (main):
25221 * tests/sched/sched-stress.c: (main):
25222 * tests/seeking/seeking1.c: (event_received), (main):
25223 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25225 * tests/threadstate/threadstate3.c: (main):
25226 * tests/threadstate/threadstate4.c: (main):
25227 * tests/threadstate/threadstate5.c: (main):
25230 2005-07-21 Wim Taymans <wim@fluendo.com>
25232 * docs/design/part-seeking.txt:
25233 Some small additions.
25235 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25236 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25237 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25238 * gst/base/gstbasesink.h:
25239 discont values are gint64, handle the math correctly.
25241 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25242 Make the basesrc report error if the source pad is not linked.
25244 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25245 (gst_queue_loop), (gst_queue_handle_src_query),
25246 (gst_queue_src_activate_push):
25247 Make queue collect data even if the srcpad is not linked.
25248 Start pushing out data as soon as it is linked.
25250 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25252 Added gst_flow_get_name() to ease error reporting.
25254 2005-07-20 Wim Taymans <wim@fluendo.com>
25256 * gst/gstmessage.c: (gst_message_new_segment_start),
25257 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25258 (gst_message_parse_segment_done):
25259 * gst/gstmessage.h:
25260 Added a bunch of messages for advanced seeking.
25262 * gst/parse/grammar.y:
25263 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25264 (gst_dpman_state_changed):
25265 Fix some new-pad -> pad-added signals
25267 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25269 * docs/manual/appendix-porting.xml:
25270 * docs/pwg/appendix-porting.xml:
25271 Document new-pad/state-change signal renames and the FixedList
25274 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25276 * docs/manual/advanced-autoplugging.xml:
25277 * docs/manual/basics-helloworld.xml:
25278 * docs/manual/basics-pads.xml:
25279 * docs/random/ds/0.9-suggested-changes:
25280 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25281 * gst/gstelement.h:
25285 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25286 (gst_structure_parse_array), (gst_structure_parse_value):
25287 * gst/gstvalue.c: (gst_type_is_fixed),
25288 (gst_value_list_prepend_value), (gst_value_list_append_value),
25289 (gst_value_list_get_size), (gst_value_list_get_value),
25290 (gst_value_transform_array_string), (gst_value_serialize_array),
25291 (gst_value_deserialize_array), (gst_value_intersect_array),
25292 (gst_value_is_fixed), (_gst_value_initialize):
25294 GstElement::new-pad -> pad-added, GstElement::state-change ->
25295 state-changed, GstValueFixedList -> GstValueArray, add format and
25296 flags as their own arguments in gst_element_seek() (should improve
25297 "bindeability"), remove function generators since they don't work
25298 under a whole bunch of compilers (they were deprecated already
25301 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25303 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25304 (_gst_debug_register_funcptr):
25306 Fix illegal cast on some platforms (#309253).
25308 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25310 * gst/gstmessage.c: (gst_message_new_custom):
25311 * gst/gstmessage.h:
25312 Add _new_custom, make _new_application a macro to _new_custom.
25314 2005-07-20 Wim Taymans <wim@fluendo.com>
25316 * gst/base/gstbasesrc.c: (gst_base_src_init),
25317 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25318 * gst/base/gstbasesrc.h:
25319 Add a gboolean to decide when to push out a discont.
25321 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25322 (gst_queue_loop), (gst_queue_handle_src_query),
25323 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25324 (gst_queue_set_property), (gst_queue_get_property):
25327 * tests/threadstate/threadstate1.c: (main):
25328 Make a thread test compile and run... very silly..
25331 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25333 * docs/manual/appendix-porting.xml:
25334 Mention removal of libgstgconf-0.9.la and existence of gconf
25337 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25339 * docs/pwg/advanced-clock.xml:
25340 * docs/pwg/appendix-porting.xml:
25341 * docs/pwg/intro-preface.xml:
25342 * docs/pwg/other-base.xml:
25343 * docs/pwg/other-manager.xml:
25344 * docs/pwg/other-nton.xml:
25345 * docs/pwg/other-ntoone.xml:
25346 * docs/pwg/other-oneton.xml:
25347 * docs/pwg/pwg.xml:
25348 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25349 demuxer), remove n-to-n (was never written), fix some code examples
25350 and links and update the porting section to include all this.
25352 2005-07-19 Wim Taymans <wim@fluendo.com>
25354 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25355 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25356 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25357 (gst_queue_src_activate_push), (gst_queue_change_state),
25358 (gst_queue_get_property):
25360 Propagate GstFlowReturn more intelligently upstream and output
25361 an ERROR/EOS when streaming stopped due to fatal error.
25363 2005-07-19 Wim Taymans <wim@fluendo.com>
25365 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25366 Don't block forever for the state change to complete, the
25367 pipeline already did with a sensible timeout.
25369 2005-07-19 Wim Taymans <wim@fluendo.com>
25371 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25372 Make sure we never call the create function is we
25375 2005-07-19 Andy Wingo <wingo@pobox.com>
25377 * gst/parse/parse.l: Attempt to solve bug #172815.
25379 2005-07-19 Wim Taymans <wim@fluendo.com>
25381 * docs/design/part-clocks.txt:
25382 * docs/design/part-events.txt:
25383 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25384 Small docs updates.
25385 Only update the seeking values when we are not
25388 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25390 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25391 Oops, ignore the result of gst_pad_push_event here.
25393 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25395 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25396 (gst_base_src_activate_push):
25397 Send discont event from the loop function, as pads
25398 aren't activated yet in the activate_push handler.
25400 * gst/gstbin.c: (bin_bus_handler):
25401 Don't leak element name.
25403 2005-07-18 Andy Wingo <wingo@pobox.com>
25405 * configure.ac: Use AS_LIBTOOL_TAGS.
25407 2005-07-18 Wim Taymans <wim@fluendo.com>
25409 * docs/gst/gstreamer.types:
25410 Remove deleted types.
25412 2005-07-18 Wim Taymans <wim@fluendo.com>
25414 * check/elements/gstfakesrc.c: (GST_START_TEST):
25417 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25418 (init_popt_callback):
25420 * gst/gst_private.h:
25421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25422 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25425 * gst/gstconfig.h.in:
25426 * gst/gstelement.c: (gst_element_class_init),
25427 (gst_element_set_base_time), (gst_element_get_base_time),
25428 (iterator_fold_with_resync), (gst_element_change_state),
25429 (gst_element_dispose), (gst_element_get_bus):
25430 * gst/gstelement.h:
25431 * gst/gstelementfactory.h:
25432 * gst/gsterror.c: (_gst_core_errors_init):
25435 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25437 * gst/gstinfo.c: (_gst_debug_init):
25438 * gst/gstmessage.c: (_gst_message_copy):
25439 * gst/gstmessage.h:
25440 * gst/gstminiobject.h:
25443 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25444 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25447 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25448 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25449 (gst_pipeline_get_last_stream_time):
25450 * gst/gstpipeline.h:
25451 * gst/gstpluginfeature.h:
25453 * gst/gstscheduler.c:
25454 * gst/gstscheduler.h:
25455 * gst/gststructure.h:
25456 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25457 (gst_task_finalize), (gst_task_func), (gst_task_create),
25458 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25459 (gst_task_stop), (gst_task_pause):
25461 * gst/gsttypefind.h:
25463 * gst/registries/gstlibxmlregistry.c: (load_feature),
25464 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25465 * gst/registries/gstxmlregistry.c:
25466 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25467 * gst/schedulers/threadscheduler.c:
25468 * libs/gst/control/dparammanager.h:
25469 * tools/gst-inspect.c: (print_element_list),
25470 (print_plugin_features), (print_element_features):
25471 * tools/gst-xmlinspect.c: (print_element_list),
25472 (print_plugin_info), (main):
25473 Removed plugable schedulers.
25474 Removed Scheduler/Manager from elements.
25475 Removed gsttypes.h, rearranged includes.
25476 Removed dependency pad<->element, element<>pipeline, and
25477 various others, fix includes.
25478 implement gst_pad_get_parent() with gst_object_get_parent()
25479 Make GstTask sefcontained.
25480 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25482 Fix endless loop in iterator_fold_with_resync.
25485 2005-07-18 Wim Taymans <wim@fluendo.com>
25491 2005-07-18 Wim Taymans <wim@fluendo.com>
25494 No more cothreads.h
25496 2005-07-18 Wim Taymans <wim@fluendo.com>
25500 Let's remove these.
25502 2005-07-18 Wim Taymans <wim@fluendo.com>
25504 * docs/design/part-dynamic.txt:
25505 * docs/design/part-events.txt:
25506 * docs/design/part-seeking.txt:
25507 Some more docs in the works.
25509 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25510 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25511 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25512 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25513 (gst_base_transform_handle_buffer),
25514 (gst_base_transform_sink_activate_push),
25515 (gst_base_transform_src_activate_pull),
25516 (gst_base_transform_set_passthrough),
25517 (gst_base_transform_is_passthrough):
25520 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25523 * gst/gstevent.c: (gst_event_finalize):
25526 * gst/gstutils.c: (gst_element_unlink),
25527 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25528 (gst_pad_proxy_setcaps):
25530 Add _get_parent_element() to get a pads parent as an element.
25532 2005-07-18 Wim Taymans <wim@fluendo.com>
25534 * check/gst/gstbin.c: (GST_START_TEST):
25537 2005-07-18 Wim Taymans <wim@fluendo.com>
25539 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25540 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25541 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25542 (gst_base_sink_event), (gst_base_sink_do_sync),
25543 (gst_base_sink_chain), (gst_base_sink_loop),
25544 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25545 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25547 Fix logic for returning ASYNC when not prerolled.
25549 2005-07-18 Wim Taymans <wim@fluendo.com>
25551 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25552 Fix nasty refcount bug.
25554 2005-07-16 Philippe Khalaf <burger@speedy.org>
25556 * gst/elements/gstfdsrc.c:
25557 * gst/elements/gstfdsrc.h:
25558 * gst/elements/gstelements.c:
25559 * gst/elements/Makefile.am:
25560 Ported fdsrc to 0.9.
25562 2005-07-16 Wim Taymans <wim@fluendo.com>
25564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25565 (gst_base_sink_do_sync):
25568 2005-07-16 Wim Taymans <wim@fluendo.com>
25570 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25571 (gst_base_sink_event), (gst_base_sink_get_times),
25572 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25573 * gst/base/gstbasesink.h:
25574 Store and use discont values when syncing buffers as described
25577 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25578 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25579 (gst_base_src_activate_push):
25580 Push discont event when starting.
25582 * gst/elements/gstidentity.c: (gst_identity_transform):
25585 * gst/gstbin.c: (gst_bin_change_state):
25586 Small cleanups in base_time distribution.
25588 * gst/gstelement.c: (gst_element_set_base_time),
25589 (gst_element_get_base_time), (gst_element_change_state):
25590 * gst/gstelement.h:
25591 Added methods for the base_time of the element.
25594 * gst/gstpipeline.c: (gst_pipeline_send_event),
25595 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25596 (gst_pipeline_get_last_stream_time):
25597 * gst/gstpipeline.h:
25599 Handle seeking as described in design doc, remove stream_time
25601 Cleanups clock and stream_time selection code. Added accessors
25602 for the stream_time.
25605 2005-07-16 Andy Wingo <wingo@pobox.com>
25607 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25610 2005-07-16 Wim Taymans <wim@fluendo.com>
25612 * check/gst/gstbin.c: (GST_START_TEST):
25613 Make elements silent as the deep_notify refs the
25614 parent, which might make the test fail.
25616 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25617 Don't hold the lock for too long.
25619 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25621 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25622 Don't unref the caps we passed to gst_caps_make_writable() after
25623 passing them. gst_caps_make_writable() will do that for us.
25625 2005-07-15 Andy Wingo <wingo@pobox.com>
25627 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25630 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25631 own marshalling function for the handoff signal. Properly type the
25632 buffer as a buffer. Fixes some warnings. Should do a more general
25634 (gst_identity_class_init): Plug into the right marshaller.
25636 2005-07-15 Wim Taymans <wim@fluendo.com>
25638 * docs/design/part-TODO.txt:
25639 * docs/design/part-clocks.txt:
25640 * docs/design/part-element-sink.txt:
25641 * docs/design/part-events.txt:
25642 * docs/design/part-gstpipeline.txt:
25643 Updated docs, mostly DISCONT related.
25645 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25647 * docs/pwg/building-pads.xml:
25648 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25650 2005-07-15 Andy Wingo <wingo@pobox.com>
25652 * tools/gst-typefind.c: Update, add copyright block.
25654 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25655 Normalize and truncate caps before fixation.
25658 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25659 discards all but the first structure from its argument.
25661 2005-07-15 Wim Taymans <wim@fluendo.com>
25663 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25664 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25665 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25666 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25667 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25668 (gst_base_transform_chain), (gst_base_transform_change_state),
25669 (gst_base_transform_set_passthrough),
25670 (gst_base_transform_is_passthrough):
25671 * gst/base/gstbasetransform.h:
25672 Make passthrough work using the bufferpools.
25673 Changed API a bit, subclasses have to write into a buffer
25674 provided by the base class.
25675 More debug info in nego functions.
25677 * gst/elements/gstidentity.c: (gst_identity_init),
25678 (gst_identity_transform):
25679 Port to new base class.
25681 2005-07-15 Wim Taymans <wim@fluendo.com>
25683 * gst/gstmessage.c: (gst_message_new_state_changed):
25684 * tools/gst-launch.c: (event_loop), (main):
25685 Totally dump messages in -launch with the -m option.
25686 Fix message name for State messages,
25688 2005-07-14 Wim Taymans <wim@fluendo.com>
25690 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25691 Post error messages on errors.
25693 2005-07-14 Wim Taymans <wim@fluendo.com>
25695 * gst/gstcaps.c: (gst_caps_do_simplify):
25699 Define error for stream stopped.
25701 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25702 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25703 Do proper return values.
25705 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25706 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25707 (gst_pad_get_range):
25708 Better return values.
25711 Reorganise return values, add macro to check for fatal errors.
25713 * gst/gstqueue.c: (gst_queue_chain):
25714 Return proper GstFlowReturn values,
25716 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25718 * docs/gst/gstreamer-sections.txt:
25719 * docs/gst/gstreamer.types:
25720 * docs/gst/tmpl/gst.sgml:
25721 * docs/gst/tmpl/gstbasesink.sgml:
25722 * docs/gst/tmpl/gstbasesrc.sgml:
25723 * docs/gst/tmpl/gstbasetransform.sgml:
25724 * docs/gst/tmpl/gstbin.sgml:
25725 * docs/gst/tmpl/gstbuffer.sgml:
25726 * docs/gst/tmpl/gstcaps.sgml:
25727 * docs/gst/tmpl/gstclock.sgml:
25728 * docs/gst/tmpl/gstcompat.sgml:
25729 * docs/gst/tmpl/gstconfig.sgml:
25730 * docs/gst/tmpl/gstelement.sgml:
25731 * docs/gst/tmpl/gstelementdetails.sgml:
25732 * docs/gst/tmpl/gstelementfactory.sgml:
25733 * docs/gst/tmpl/gstenumtypes.sgml:
25734 * docs/gst/tmpl/gsterror.sgml:
25735 * docs/gst/tmpl/gstevent.sgml:
25736 * docs/gst/tmpl/gstfakesink.sgml:
25737 * docs/gst/tmpl/gstfakesrc.sgml:
25738 * docs/gst/tmpl/gstfilesink.sgml:
25739 * docs/gst/tmpl/gstfilesrc.sgml:
25740 * docs/gst/tmpl/gstfilter.sgml:
25741 * docs/gst/tmpl/gstformat.sgml:
25742 * docs/gst/tmpl/gstghostpad.sgml:
25743 * docs/gst/tmpl/gstimplementsinterface.sgml:
25744 * docs/gst/tmpl/gstindex.sgml:
25745 * docs/gst/tmpl/gstindexfactory.sgml:
25746 * docs/gst/tmpl/gstinfo.sgml:
25747 * docs/gst/tmpl/gstiterator.sgml:
25748 * docs/gst/tmpl/gstmacros.sgml:
25749 * docs/gst/tmpl/gstmemchunk.sgml:
25750 * docs/gst/tmpl/gstminiobject.sgml:
25751 * docs/gst/tmpl/gstobject.sgml:
25752 * docs/gst/tmpl/gstpad.sgml:
25753 * docs/gst/tmpl/gstpadtemplate.sgml:
25754 * docs/gst/tmpl/gstparse.sgml:
25755 * docs/gst/tmpl/gstpipeline.sgml:
25756 * docs/gst/tmpl/gstplugin.sgml:
25757 * docs/gst/tmpl/gstpluginfeature.sgml:
25758 * docs/gst/tmpl/gstquery.sgml:
25759 * docs/gst/tmpl/gstqueue.sgml:
25760 * docs/gst/tmpl/gstregistry.sgml:
25761 * docs/gst/tmpl/gstregistrypool.sgml:
25762 * docs/gst/tmpl/gstscheduler.sgml:
25763 * docs/gst/tmpl/gstschedulerfactory.sgml:
25764 * docs/gst/tmpl/gststructure.sgml:
25765 * docs/gst/tmpl/gstsystemclock.sgml:
25766 * docs/gst/tmpl/gsttaglist.sgml:
25767 * docs/gst/tmpl/gsttagsetter.sgml:
25768 * docs/gst/tmpl/gsttrace.sgml:
25769 * docs/gst/tmpl/gsttrashstack.sgml:
25770 * docs/gst/tmpl/gsttypefind.sgml:
25771 * docs/gst/tmpl/gsttypefindfactory.sgml:
25772 * docs/gst/tmpl/gsttypes.sgml:
25773 * docs/gst/tmpl/gsturihandler.sgml:
25774 * docs/gst/tmpl/gsturitype.sgml:
25775 * docs/gst/tmpl/gstutils.sgml:
25776 * docs/gst/tmpl/gstvalue.sgml:
25777 * docs/gst/tmpl/gstversion.sgml:
25778 * docs/gst/tmpl/gstxml.sgml:
25779 * docs/libs/tmpl/gstcontrol.sgml:
25780 * docs/libs/tmpl/gstdataprotocol.sgml:
25781 * docs/libs/tmpl/gstdparam.sgml:
25782 * docs/libs/tmpl/gstdplinint.sgml:
25783 * docs/libs/tmpl/gstdpman.sgml:
25784 * docs/libs/tmpl/gstdpsmooth.sgml:
25785 * docs/libs/tmpl/gstgetbits.sgml:
25786 * docs/libs/tmpl/gstunitconvert.sgml:
25787 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25788 (gst_push_src_base_init), (gst_push_src_class_init),
25789 (gst_push_src_init), (gst_push_src_create):
25790 * gst/base/gstpushsrc.h:
25791 * gst/elements/gstelements.c:
25792 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25793 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25794 (gst_fake_sink_init), (gst_fake_sink_set_property),
25795 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25796 (gst_fake_sink_event), (gst_fake_sink_preroll),
25797 (gst_fake_sink_render), (gst_fake_sink_change_state):
25798 * gst/elements/gstfakesink.h:
25799 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25800 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25801 (gst_fake_src_base_init), (gst_fake_src_class_init),
25802 (gst_fake_src_init), (gst_fake_src_event_handler),
25803 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25804 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25805 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25806 (gst_fake_src_create_buffer), (gst_fake_src_create),
25807 (gst_fake_src_start), (gst_fake_src_stop):
25808 * gst/elements/gstfakesrc.h:
25809 * gst/elements/gstfilesink.c: (_do_init),
25810 (gst_file_sink_base_init), (gst_file_sink_class_init),
25811 (gst_file_sink_init), (gst_file_sink_dispose),
25812 (gst_file_sink_set_location), (gst_file_sink_set_property),
25813 (gst_file_sink_get_property), (gst_file_sink_open_file),
25814 (gst_file_sink_close_file), (gst_file_sink_query),
25815 (gst_file_sink_event), (gst_file_sink_render),
25816 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25817 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25818 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25819 * gst/elements/gstfilesink.h:
25820 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25821 (gst_file_src_class_init), (gst_file_src_init),
25822 (gst_file_src_finalize), (gst_file_src_set_location),
25823 (gst_file_src_set_property), (gst_file_src_get_property),
25824 (gst_file_src_map_region), (gst_file_src_map_small_region),
25825 (gst_file_src_create_mmap), (gst_file_src_create_read),
25826 (gst_file_src_create), (gst_file_src_is_seekable),
25827 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25828 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25829 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25830 (gst_file_src_uri_handler_init):
25831 * gst/elements/gstfilesrc.h:
25832 more autistic cleanliness in functions/names/defines
25834 2005-07-13 Andy Wingo <wingo@pobox.com>
25836 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25837 source couldn't negotiate.
25839 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25843 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25844 function. I am channeling Hades. Put your boots on suckers!!!
25846 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25848 * testsuite/caps/Makefile.am:
25849 * testsuite/caps/value_compare.c:
25850 * testsuite/caps/value_intersect.c:
25851 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25852 move two testsuite apps over to the check dir
25854 2005-07-12 Wim Taymans <wim@fluendo.com>
25856 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25857 Added more debug info in the negotiate process.
25859 * gst/gstmessage.h:
25860 Prepare for segment playback.
25862 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25868 * tools/gst-launch.c: (main):
25869 NULL pipeline on errors.
25871 2005-07-12 Andy Wingo <wingo@pobox.com>
25873 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25874 not it comes from a malloc region. Make sure our copy gets freed.
25876 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25878 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25879 * check/gst/gstmessage.c: (GST_START_TEST):
25880 * check/gst/gststructure.c: (GST_START_TEST),
25881 (gst_structure_suite), (main):
25883 * gst/gstelement.c: (gst_element_message_full):
25884 clean up GError and debug string now that they get copied
25885 * gst/gstmessage.c: (gst_message_new_error),
25886 (gst_message_new_warning), (gst_message_parse_error),
25887 (gst_message_parse_warning):
25888 use GST_TYPE_G_ERROR for structure_new, and take copies of
25889 arguments, so that we don't mess up refcounting
25891 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25893 * check/Makefile.am:
25894 add per-test valgrind targets
25895 * check/gst-libs/gdp.c: (GST_START_TEST),
25896 (gst_data_protocol_suite), (main):
25899 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25901 * check/Makefile.am:
25902 instate more valgrindable tests
25903 * check/elements/gstfakesrc.c: (chain_func), (event_func),
25904 (GST_START_TEST), (fakesrc_suite):
25905 * check/gst/gstpad.c: (GST_START_TEST):
25906 * check/gst/gststructure.c: (GST_START_TEST):
25908 * docs/gst/tmpl/gstminiobject.sgml:
25909 * gst/gstpad.c: (gst_pad_finalize):
25910 fix the static mutex leak
25912 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25914 * check/Makefile.am:
25915 add two more tests for valgrinding
25916 * check/gst/gstvalue.c: (GST_START_TEST):
25917 test refcount of deserialized buffer, found a leak
25918 * docs/gst/gstreamer-docs.sgml:
25919 * docs/gst/gstreamer-sections.txt:
25920 * docs/gst/gstreamer.types:
25921 * docs/gst/tmpl/gstminiobject.sgml:
25922 add miniobject to docs
25923 * gst/gstminiobject.c:
25925 * gst/gstvalue.c: (gst_value_deserialize_buffer),
25926 (gst_string_unwrap):
25927 fix a hard-to-find invalid write for one of the tests
25928 fix a leak for deserialized buffers
25930 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25932 * docs/pwg/advanced-events.xml:
25933 * docs/pwg/advanced-request.xml:
25934 * docs/pwg/advanced-scheduling.xml:
25935 * docs/pwg/appendix-porting.xml:
25936 * docs/pwg/building-boiler.xml:
25937 * docs/pwg/intro-preface.xml:
25938 * docs/pwg/other-ntoone.xml:
25939 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25940 of example code and explanation for pad activation, loop() and
25941 getrange() functions and a bit more. Remove old comments pointing
25943 * examples/pwg/Makefile.am:
25944 Add loop/getrange examples.
25946 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25949 check for valgrind binary + some fixes
25951 valgrind suppressions for the tests
25952 * check/Makefile.am:
25953 add a valgrind: target that valgrinds the unit tests
25954 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25955 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25956 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25957 * check/gst/gstghostpad.c:
25959 * check/gst/gstdata.c:
25961 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25962 (thread_unref), (gst_mini_object_suite), (main):
25964 * gst/gst.c: (gst_deinit):
25966 add a method to clean up.
25967 * gst/gstsystemclock.c: (gst_system_clock_dispose),
25968 (gst_system_clock_obtain):
25969 allow for disposing the system clock.
25970 * tools/gst-launch.c: (main):
25973 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25975 * docs/gst/tmpl/gstbasesrc.sgml:
25976 * docs/gst/tmpl/gstfakesrc.sgml:
25977 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25978 (gst_base_src_init), (gst_base_src_set_property),
25979 (gst_base_src_get_property), (gst_base_src_get_range),
25980 (gst_base_src_start):
25981 * gst/base/gstbasesrc.h:
25982 add num-buffers property
25983 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25984 (gst_fakesrc_init), (gst_fakesrc_set_property),
25985 (gst_fakesrc_get_property), (gst_fakesrc_create),
25986 (gst_fakesrc_start):
25987 remove num-buffers property
25989 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
25991 * docs/gst/gstreamer-sections.txt:
25992 * docs/gst/tmpl/gstbasesink.sgml:
25993 * docs/gst/tmpl/gstbasesrc.sgml:
25994 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25995 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25996 (gst_base_sink_finalize), (gst_base_sink_set_clock),
25997 (gst_base_sink_set_property), (gst_base_sink_get_property),
25998 (gst_base_sink_handle_object), (gst_base_sink_event),
25999 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26000 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26001 (gst_base_sink_loop), (gst_base_sink_deactivate),
26002 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26003 (gst_base_sink_change_state):
26004 * gst/base/gstbasesink.h:
26005 * gst/base/gstbasesrc.h:
26006 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26007 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26008 (gst_filesink_init):
26009 more macro splitting
26011 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26013 * gst/gstelement.c: (gst_element_get_bus):
26015 * tools/gst-launch.c: (check_intr), (event_loop):
26018 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26020 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26023 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26025 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26026 (gst_base_src_finalize):
26027 add finalize method and clean up properly
26028 * gst/gstpipeline.c: (gst_pipeline_dispose):
26031 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26033 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26035 add more things to check
26036 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26037 * gst/gstelement.c:
26040 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26042 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26043 (GST_START_TEST), (fakesrc_suite):
26044 * check/gst-libs/gdp.c: (GST_START_TEST):
26045 * check/gst/gst.c: (GST_START_TEST):
26046 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26047 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26048 * check/gst/gstbus.c: (GST_START_TEST):
26049 * check/gst/gstcaps.c: (GST_START_TEST):
26050 * check/gst/gstdata.c: (GST_START_TEST):
26051 * check/gst/gstelement.c: (GST_START_TEST):
26052 * check/gst/gstghostpad.c: (GST_START_TEST):
26053 * check/gst/gstiterator.c: (GST_START_TEST):
26054 * check/gst/gstmessage.c: (GST_START_TEST):
26055 * check/gst/gstobject.c: (GST_START_TEST):
26056 * check/gst/gstpad.c: (GST_START_TEST):
26057 * check/gst/gststructure.c: (GST_START_TEST):
26058 * check/gst/gstsystemclock.c: (GST_START_TEST),
26059 (gst_systemclock_suite):
26060 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26061 * check/gst/gstvalue.c: (GST_START_TEST):
26062 * check/pipelines/cleanup.c: (GST_START_TEST):
26063 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26064 * check/states/sinks.c: (GST_START_TEST):
26065 * check/gstcheck.c: (gst_check_init):
26066 * check/gstcheck.h:
26067 add debugging category
26068 use GST_START_TEST now, so we add a debug line
26070 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26072 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26073 add test for state change message on a bin
26074 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26076 * gst/gstbin.c: (gst_bin_init):
26077 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26078 * gst/gstelement.c: (gst_element_post_message),
26079 (gst_element_set_state):
26080 * gst/gstelementfactory.c: (gst_element_factory_create):
26081 * gst/gstmessage.c: (gst_message_new):
26082 * gst/gstscheduler.c:
26083 various debugging additions and cleanups
26085 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26087 * check/Makefile.am:
26088 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26090 adding tests for elements
26091 * gst/gstelement.c: (gst_element_dispose):
26093 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26095 * gst/registries/gstlibxmlregistry.c: (load_feature):
26096 plug more leaks. A simple gst_init() now is leakfree, yay.
26098 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26100 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26101 (gst_xml_registry_load):
26102 plug another memleak
26104 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26107 use GST_SET_ERROR_CFLAGS
26108 * docs/faq/cvs.xml:
26109 change to ERROR_CFLAGS
26111 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26114 make GST_ERROR_CFLAGS overridable and re-enable Werror
26115 * docs/faq/cvs.xml:
26116 add a note about error CFLAGS
26117 * docs/gst/tmpl/gstfakesrc.sgml:
26118 * gst/elements/gstfakesrc.c:
26119 comment out some unused code
26120 * gst/gst.c: (split_and_iterate):
26121 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26125 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26127 * common/Makefile.am:
26128 * common/gtk-doc.mak:
26129 * docs/gst/Makefile.am:
26130 factor out gtk-doc.mak
26132 2005-07-07 Wim Taymans <wim@fluendo.com>
26134 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26135 (gst_thread_scheduler_dispose):
26136 Unlock the STREAM_LOCK completely.
26138 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26140 * check/Makefile.am:
26141 * check/elements/.cvsignore:
26142 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26143 (START_TEST), (fakesrc_suite), (main):
26144 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26145 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26146 (gst_fakesrc_create), (gst_fakesrc_start):
26147 * gst/elements/gstfakesrc.h:
26148 adding a first element test
26150 2005-07-07 Andy Wingo <wingo@pobox.com>
26152 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26155 2005-07-07 Wim Taymans <wim@fluendo.com>
26161 2005-07-07 Wim Taymans <wim@fluendo.com>
26163 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26164 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26165 Allow subclasses to implement their own negotiation.
26167 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26169 * docs/design/part-gstbin.txt:
26170 * docs/design/part-gstpipeline.txt:
26171 Update design notes to reflect the movement of
26172 responsibility for bus handling from GstPipeline to
26175 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26178 Remove unnecessary queue2/3/4 examples.
26180 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26182 * examples/Makefile.am:
26183 * examples/helloworld/helloworld.c: (event_loop), (main):
26184 * examples/queue/queue.c: (event_loop), (main):
26185 * examples/queue2/queue2.c: (main):
26186 Update a couple of the examples to work again.
26188 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26189 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26190 Spelling corrections and extra debug.
26192 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26193 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26194 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26196 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26197 (gst_pipeline_change_state):
26198 * gst/gstpipeline.h:
26199 Move the bus handler for children to the GstBin, and create a
26200 separate bus for receiving messages from children to the one the
26201 bus sends 'upwards' on.
26203 2005-07-06 Wim Taymans <wim@fluendo.com>
26206 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26207 (gst_base_sink_handle_object), (gst_base_sink_loop),
26208 (gst_base_sink_change_state):
26209 * gst/base/gstbasesink.h:
26210 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26211 (gst_base_src_init), (gst_base_src_setcaps),
26212 (gst_base_src_getcaps), (gst_base_src_loop),
26213 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26214 (gst_base_src_start), (gst_base_src_change_state):
26215 * gst/base/gstbasesrc.h:
26216 Make basesrc negotiate.
26217 Handle the case where preroll fails in basesink.
26220 2005-07-06 Wim Taymans <wim@fluendo.com>
26222 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26223 Implement the fixate function.
26224 Clean up acceptcaps.
26226 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26228 * docs/pwg/building-filterfactory.xml:
26229 * docs/pwg/pwg.xml:
26230 Remove never-written filter-factory chapter; I'll add the various
26231 base classes to part 4 ("other element types") later on.
26233 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26235 * docs/pwg/advanced-negotiation.xml:
26236 * docs/pwg/building-boiler.xml:
26237 * docs/pwg/building-pads.xml:
26238 * docs/pwg/pwg.xml:
26239 * examples/pwg/Makefile.am:
26240 Add a chapter on caps negotiation, simplify the original code
26241 samples a bit w.r.t. caps negotiation, add link to the advanced
26242 section. Add a bunch of examples showing different use cases of
26243 different types of caps negotiation. Upstream renegotiation isn't
26244 fully documented yet since nobody knows how that works.
26246 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26248 * check/gst/gstpad.c:
26249 * check/gstcheck.c:
26250 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26251 if pad has no parent, return NULL as list of internal links
26253 2005-07-05 Andy Wingo <wingo@pobox.com>
26255 * gst/elements/gstfilesrc.c:
26256 * gst/elements/gstfakesrc.c:
26257 * gst/base/gstpushsrc.c:
26258 * gst/base/gstbasesrc.h:
26259 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26261 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26264 better report generation target (lcov needs a patch)
26266 2005-07-05 Andy Wingo <wingo@pobox.com>
26268 * gst/elements, testsuite: Null if we got it...
26270 2005-07-05 Wim Taymans <wim@fluendo.com>
26273 * libs/gst/dataprotocol/Makefile.am:
26274 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26275 * libs/gst/dataprotocol/dataprotocol.h:
26276 * pkgconfig/Makefile.am:
26277 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26278 * pkgconfig/gstreamer-dataprotocol.pc.in:
26279 Ported dataprotol to 0.9.
26280 Added pkgconfig files.
26282 2005-07-05 Andy Wingo <wingo@pobox.com>
26284 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26285 Default to returning TRUE for the case when tranform_caps returns
26286 a fixed caps, like for identity or volume.
26288 * check/gst/gstbus.c (pound_bus_with_messages):
26289 * check/gst/gstmessage.c (START_TEST):
26290 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26291 message API change.
26293 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26294 logic weaks here: always run transform_caps, trying passthrough
26295 operation only if the original caps intersects with the transform.
26297 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26298 source and sink caps.
26300 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26301 Intersect the peer caps with the pad template before going into
26303 (gst_base_transform_transform_caps): More debugging.
26305 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26308 2005-07-04 Edward Hervey <edward@fluendo.com>
26312 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26315 2005-07-04 Andy Wingo <wingo@pobox.com>
26317 * check/gst/gstpad.c: Only set explicit caps on pads.
26319 2005-07-01 Andy Wingo <wingo@pobox.com>
26321 * tests/network-clock.scm: Commentary update.
26323 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26324 Didn't really make sense, not implementable with basetransform,
26326 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26327 attempt at implementing the sync property, needs an unlock method.
26329 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26330 New func, by default returns the same caps (the identity
26332 (gst_base_transform_getcaps): Uses transform_caps to return
26333 something sensible.
26334 (gst_base_transform_setcaps): Complicated logic to get caps on
26335 both pads, even if they are different, and to call set_caps once
26336 for every time both pads get their caps set.
26337 (gst_base_transform_handle_buffer): Give the ref to the transform
26338 function. Allows in-place modification of the buffer.
26340 * gst/base/gstbasetransform.h (transform_caps): New class method.
26341 Given caps on one side, what can I do on the other.
26342 (set_caps): Take two caps, one for each side of the element.
26345 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26346 caps in place. This is safe because we can check the mutability of
26347 the caps, and a good idea because fixate functions are just called
26348 as a matter of last resort. (Not actually implemented.)
26349 (gst_pad_set_caps): If the caps we're setting is actually the same
26350 as the existing pad caps, just update the pointer without calling
26351 setcaps. Assert that caps is either NULL or fixed, as per the
26354 * gst/gstghostpad.c: Update for fixate changes.
26356 2005-07-02 Andy Wingo <wingo@pobox.com>
26359 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26360 two refcounts makes it immutable, which is enough. Doc more.
26362 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26364 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26365 Put the mini_object into GValue as a mini_object,
26366 not a gpointer, since that's how we declared
26369 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26371 * examples/pwg/Makefile.am:
26372 Fix buildbot again.
26374 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26376 * docs/pwg/building-testapp.xml:
26378 * examples/pwg/Makefile.am:
26381 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26384 * examples/Makefile.am:
26385 * examples/pwg/Makefile.am:
26386 * examples/pwg/extract.pl:
26387 Enable building the PWG examples.
26388 * docs/pwg/advanced-interfaces.xml:
26389 Add URI interface stub.
26390 * docs/pwg/advanced-types.xml:
26391 * docs/pwg/other-autoplugger.xml:
26392 * docs/pwg/appendix-porting.xml:
26393 * docs/pwg/pwg.xml:
26394 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26395 * docs/pwg/building-boiler.xml:
26396 * docs/pwg/building-chainfn.xml:
26397 * docs/pwg/building-pads.xml:
26398 * docs/pwg/building-props.xml:
26399 * docs/pwg/building-state.xml:
26400 * docs/pwg/building-testapp.xml:
26401 Update the building-*.xml parts for 0.9 changes. All examples
26402 code blocks compile in examples/pwg/*.
26404 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26406 * docs/manual/advanced-autoplugging.xml:
26407 * docs/manual/appendix-checklist.xml:
26408 * docs/manual/appendix-integration.xml:
26409 * docs/manual/highlevel-components.xml:
26410 Fix playbin/decodebin examples, update docs a bit, mention bus
26411 instead of signals in various places, mention kmplayer and
26412 kaffeine since they have a working GStreamer backend in the KDE
26415 2005-06-30 Wim Taymans <wim@fluendo.com>
26418 * docs/design/draft-ghostpads.txt:
26419 * docs/design/draft-push-pull.txt:
26420 * docs/design/draft-query.txt:
26421 * docs/design/part-TODO.txt:
26422 * docs/design/part-query.txt:
26423 Added CHANGES-0.9 doc, updated status of other docs.
26428 2005-06-30 Wim Taymans <wim@fluendo.com>
26430 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26431 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26432 (gst_base_sink_change_state):
26433 * gst/base/gstbasesink.h:
26434 Some tweaks, only EOS and a buffer complete a preroll.
26436 2005-06-30 Andy Wingo <wingo@pobox.com>
26438 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26439 activate_push down to the internal pad as well.
26441 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26443 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26445 * gst/gsttaginterface.c:
26446 Some documentation fixes (#307394 and #307397).
26448 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26450 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26452 * gst/gstvalue.c: (gst_value_intersect_list):
26453 Fix memleak (#309125).
26455 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26457 * docs/manual/advanced-dataaccess.xml:
26458 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26459 * docs/manual/basics-pads.xml:
26460 Add reference for filtered caps to above chapter.
26462 2005-06-30 Wim Taymans <wim@fluendo.com>
26464 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26465 (gst_bin_change_state):
26467 Lame attempt at making the state change function a bit
26470 2005-06-30 Wim Taymans <wim@fluendo.com>
26472 * docs/design/part-clocks.txt:
26473 * docs/design/part-element-sink.txt:
26474 * docs/design/part-events.txt:
26475 * docs/design/part-preroll.txt:
26476 * docs/design/part-states.txt:
26477 Some more tweeks and additions to the docs.
26479 2005-06-30 Wim Taymans <wim@fluendo.com>
26481 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26482 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26483 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26484 (gst_pad_check_pull_range), (gst_pad_get_range),
26485 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26487 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26488 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26489 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26490 (gst_pad_remove_buffer_probe):
26491 Removed atomic operations, use existing LOCK.
26492 Move exception handling out of main code path.
26494 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26496 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26497 (silly_return_true_function), (gst_pad_class_init),
26498 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26499 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26500 (gst_pad_send_event):
26501 Fix accumulator, add default value by using _emitv() instead
26502 of _emit() for signal emission.
26504 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26506 * docs/manual/advanced-dataaccess.xml:
26507 * examples/manual/Makefile.am:
26509 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26512 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26514 * gst/elements/gstfilesink.c: (gst_filesink_render):
26515 Simplify code so that we don't have to handle short
26516 writes and return GST_FLOW_ERROR if an error occured.
26518 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26520 * docs/gst/gstreamer-docs.sgml:
26521 Remove probes more.
26523 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26525 * docs/gst/gstreamer-sections.txt:
26526 * docs/gst/tmpl/gstpad.sgml:
26527 * docs/gst/tmpl/gstprobe.sgml:
26529 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26530 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26531 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26532 (gst_pad_push_event), (gst_pad_send_event):
26534 * gst/gstutils.c: (gst_pad_add_data_probe),
26535 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26536 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26537 (gst_pad_remove_buffer_probe):
26539 Remove old probes, add new g-signal-based probes and some utility
26542 2005-06-29 Edward Hervey <edward@fluendo.com>
26544 * gst/gstelementfactory.c:
26547 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26548 the definition to the header file.
26550 2005-06-29 Andy Wingo <wingo@pobox.com>
26552 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26553 plugins from the source directory.
26555 2005-06-29 Wim Taymans <wim@fluendo.com>
26557 * docs/gst/tmpl/gstbuffer.sgml:
26558 * docs/gst/tmpl/gstclock.sgml:
26559 Some fixings for blantently wrong text.
26561 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26563 * check/Makefile.am:
26564 * gst/gst.c: (add_path_func), (init_pre):
26565 * gst/gstregistry.c: (gst_registry_add_path):
26566 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26567 only scan the GST_PLUGIN_PATH locations, and not add
26570 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26572 * docs/gst/gstreamer-sections.txt:
26573 * docs/gst/tmpl/gstbasesrc.sgml:
26574 * gst/gstelement.c:
26575 * gst/gstelement.h:
26580 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26582 * docs/manual/advanced-autoplugging.xml:
26583 Fix autoplugging example.
26585 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26587 * docs/manual/advanced-autoplugging.xml:
26588 * docs/manual/mime-world.fig:
26589 Try to get autoplugging working, fix type detection. Fix text
26590 in hello-world image.
26592 2005-06-29 Wim Taymans <wim@fluendo.com>
26594 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26595 (gst_base_sink_change_state):
26599 map SIGNAL and BROADCAST to the right function.
26602 Remove redundant braces.
26604 * gst/gstpad.c: (gst_pad_set_caps):
26605 Don't call setcaps function when reseting caps to NULL.
26607 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26608 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26609 (gst_system_clock_id_unschedule):
26610 Use BROADCAST as this is what we do.
26612 2005-06-29 Wim Taymans <wim@fluendo.com>
26614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26615 We are actually prerolling before commiting the state
26618 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26620 * docs/manual/advanced-clocks.xml:
26621 * docs/manual/advanced-interfaces.xml:
26622 * docs/manual/advanced-metadata.xml:
26623 * docs/manual/advanced-position.xml:
26624 * docs/manual/advanced-schedulers.xml:
26625 * docs/manual/advanced-threads.xml:
26626 * docs/manual/appendix-porting.xml:
26627 * docs/manual/basics-bins.xml:
26628 * docs/manual/basics-bus.xml:
26629 * docs/manual/basics-elements.xml:
26630 * docs/manual/basics-helloworld.xml:
26631 * docs/manual/basics-pads.xml:
26632 * docs/manual/highlevel-components.xml:
26633 * docs/manual/manual.xml:
26634 * docs/manual/thread.fig:
26635 Update (until threads/scheduling) Application Development Manual;
26636 remove GstThread, add GstBus, add simple porting checklist, add
26637 documentation for tag writing, clocks, make all examples until this
26638 part compile and run.
26639 * examples/manual/Makefile.am:
26640 Update from changes to Application Development Manual; add bus
26641 example, remove thread example.
26643 2005-06-28 Wim Taymans <wim@fluendo.com>
26645 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26646 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26647 (gst_bus_source_dispatch):
26648 Add debugging messages.
26649 Make internal methods static.
26650 Handle the case where the bus is flushed in the handler.
26652 * gst/gstelement.c: (gst_element_get_bus):
26653 Fix refcount in _get_bus();
26655 * gst/gstpipeline.c: (gst_pipeline_change_state),
26656 (gst_pipeline_get_clock_func):
26657 Clock refcounting fixes.
26658 Handle the case where preroll timed out more gracefully.
26660 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26661 Clean up the internal thread in dispose. This is needed
26662 for subclasses that actually get disposed.
26664 * gst/schedulers/threadscheduler.c:
26665 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26666 (gst_thread_scheduler_dispose):
26667 Free thread pool in dispose.
26669 2005-06-28 Andy Wingo <wingo@pobox.com>
26671 * tests/network-clock-utils.scm (debug, print-event): New utils.
26673 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26674 (*packet-loss*): Unified loss probability.
26675 (network-time): Report out-of-band events.
26677 * tests/plot-data: Add support for out-of-band events. Hack it
26678 into this script instead of passing it down the pipe; should fix
26681 2005-06-28 Wim Taymans <wim@fluendo.com>
26683 * docs/gst/gstreamer.types:
26684 * docs/gst/tmpl/gstbasesrc.sgml:
26685 * docs/gst/tmpl/gstpad.sgml:
26688 2005-06-28 Wim Taymans <wim@fluendo.com>
26690 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26691 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26692 (gst_proxy_pad_do_fixatecaps):
26693 Correctly proxy the check_pull_range function.
26695 2005-06-28 Andy Wingo <wingo@pobox.com>
26697 * tests/network-clock.scm: Removed need for slib.
26699 2005-06-28 Wim Taymans <wim@fluendo.com>
26701 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26702 (gst_basesink_preroll_queue_flush):
26703 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26704 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26705 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26706 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26707 (gst_proxy_pad_set_property):
26710 * gst/gstqueue.c: (gst_queue_init):
26711 The deprecated pad loop function is removed now.
26713 2005-06-28 Andy Wingo <wingo@pobox.com>
26715 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26716 New parameters, simulate network packet loss.
26718 * tests/network-clock-utils.scm: Initialize the RNG.
26720 2005-06-28 Wim Taymans <wim@fluendo.com>
26722 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26723 (gst_basesink_event), (gst_basesink_deactivate):
26724 Flushing the preroll queue always needs to unlock the waiters.
26726 2005-06-28 Edward Hervey <edward@fluendo.com>
26728 * gst/gstpipeline.c: (gst_pipeline_send_event):
26729 Wheen a seek was successful on a pipeline, set the stream_time to the
26730 seek offset in order to have a synchronized stream_time.
26732 2005-06-28 Wim Taymans <wim@fluendo.com>
26734 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26735 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26736 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26737 (gst_proxy_pad_do_fixatecaps):
26738 Call wrapper function instead of just calling the function
26739 pointers. This takes care of any locking and whatmore.
26741 2005-06-28 Wim Taymans <wim@fluendo.com>
26743 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26744 (gst_pad_pull_range):
26746 CONNECTED -> LINKED.
26748 2005-06-28 Andy Wingo <wingo@pobox.com>
26750 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26751 source-munging commit!!!
26753 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26754 (gst_object_sink): Take gpointer arguments, not GstObject --
26755 avoids casts. Like GLib.
26757 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26760 2005-06-27 Andy Wingo <wingo@pobox.com>
26762 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26765 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26766 returns a sorted copy of the trace list.
26767 (gst_alloc_trace_print_live): New API, only prints traces with
26768 live objects. Sort the list.
26769 (gst_alloc_trace_print_all): Sort the list.
26770 (gst_alloc_trace_print): Align columns.
26772 * gst/elements/gstttypefindelement.c:
26773 * gst/elements/gsttee.c:
26774 * gst/base/gstbasesrc.c:
26775 * gst/base/gstbasesink.c:
26776 * gst/base/gstbasetransform.c:
26777 * gst/gstqueue.c: Adapt for pad activation changes.
26779 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26781 (gst_pipeline_dispose): Drop ref on sched.
26783 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26784 (gst_pad_activate_default): Push mode by default.
26785 (pre_activate_switch, post_activate_switch): New stubs, things to
26786 do before and after switching activation modes on pads.
26787 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26788 the pad's activate function to choose which mode to activate.
26789 Shortcut on deactivation and call the right function directly.
26790 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26792 (gst_pad_activate_push): New API, same for push mode.
26793 (gst_pad_set_activate_function)
26794 (gst_pad_set_activatepull_function)
26795 (gst_pad_set_activatepush_function): Setters for new API.
26797 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26798 Trace all miniobjects.
26799 (gst_mini_object_make_writable): Unref the arg if we copy, like
26800 gst_caps_make_writable.
26802 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26804 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26805 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26806 Adapt for new pad API.
26808 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26810 * gst/gstelement.h:
26811 * gst/gstelement.c (gst_element_iterate_src_pads)
26812 (gst_element_iterate_sink_pads): New API functions.
26814 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26815 should fold into gstiterator.c in some form.
26816 (gst_element_pads_activate): Simplified via use of fold and
26817 delegation of decisions to gstpad->activate.
26819 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26822 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26823 class once in init, like gstmessage. Didn't run into this issue
26824 but it seems correct. Don't initialize a trace, gstminiobject does
26827 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26828 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26830 (assert_live_count): New util function, uses alloc traces to check
26833 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26834 To be modified when unlink drops the internal pad.
26836 2005-06-27 Wim Taymans <wim@fluendo.com>
26838 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26839 (gst_bin_change_state):
26840 Cleanup the get_state() function a little, make sure it
26841 iterates the same set of elements.
26842 Added stub iterate_state_order().
26844 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26846 * docs/gst/gstreamer-docs.sgml:
26847 * docs/gst/gstreamer-sections.txt:
26848 * docs/gst/gstreamer.types:
26849 * docs/gst/tmpl/gstbasesink.sgml:
26850 * docs/gst/tmpl/gstbasesrc.sgml:
26851 * docs/gst/tmpl/gstbasetransform.sgml:
26852 * docs/gst/tmpl/gstelement.sgml:
26853 * docs/gst/tmpl/gstiterator.sgml:
26854 * gst/base/gstbasesrc.c:
26855 * gst/base/gstbasesrc.h:
26856 * gst/base/gstbasetransform.h:
26857 * gst/gstelement.c:
26858 * gst/gstiterator.h:
26859 adding basetransform and iterator docs
26861 2005-06-27 Andy Wingo <wingo@pobox.com>
26863 * docs/design/part-activation.txt: Notes on how activation should
26864 work -- not quite implemented yet.
26866 2005-06-25 Wim Taymans <wim@fluendo.com>
26868 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26869 At least get the chain function correct, needs more
26872 2005-06-25 Wim Taymans <wim@fluendo.com>
26874 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26875 (gst_basesink_handle_object), (gst_basesink_event),
26876 (gst_basesink_do_sync), (gst_basesink_handle_event),
26877 (gst_basesink_change_state):
26879 Right, two problems here: ghostpads don't take locks and
26880 glib _rec_mutex_lock_full() with depth==0 still locks.
26881 Catch illegal locking and g_warn them.
26883 2005-06-25 Wim Taymans <wim@fluendo.com>
26885 * check/states/sinks.c: (START_TEST), (gst_object_suite):
26886 Have to check for completion now...
26888 2005-06-25 Wim Taymans <wim@fluendo.com>
26890 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26891 (gst_basesink_handle_object), (gst_basesink_event),
26892 (gst_basesink_do_sync), (gst_basesink_handle_event),
26893 (gst_basesink_change_state):
26895 Unlock STREAM_LOCK whatever the recursion was.
26897 2005-06-25 Wim Taymans <wim@fluendo.com>
26899 * gst/base/gstbasesink.c: (gst_basesink_set_property),
26900 (gst_basesink_preroll_queue_empty),
26901 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26902 (gst_basesink_event), (gst_basesink_do_sync),
26903 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26904 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26905 (gst_basesink_change_state):
26906 Reworked the base sink, handle event and buffer serialisation
26907 correctly and removed possible deadlock.
26908 Handle EOS correctly.
26910 2005-06-25 Wim Taymans <wim@fluendo.com>
26912 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26913 (gst_pipeline_change_state):
26914 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26915 Allow elements to post EOS in the state change function.
26916 Fix up -launch, make it exit the poll loop when the
26917 pipeline actually changed state.
26918 Fix up warning parsing in -launch.
26920 2005-06-25 Wim Taymans <wim@fluendo.com>
26922 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26923 (gst_tee_sink_activate):
26924 Core takes STREAM_LOCK for us now.
26926 2005-06-25 Wim Taymans <wim@fluendo.com>
26928 * gst/gstelement.c: (gst_element_get_state_func),
26929 (gst_element_set_state):
26930 * gst/gstelement.h:
26931 * gst/gstmessage.c: (gst_message_parse_error),
26932 (gst_message_parse_warning):
26933 Keep track of current target state while performing a state
26934 change so that subclasses can do something interesting.
26935 Fix parsing of warning/error messages when GError is NULL.
26937 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
26939 * docs/gst/Makefile.am:
26940 * docs/gst/gstreamer-docs.sgml:
26941 * docs/gst/gstreamer-sections.txt:
26942 * docs/gst/gstreamer.types:
26943 * docs/gst/tmpl/gstbasesink.sgml:
26944 * docs/gst/tmpl/gstbasesrc.sgml:
26945 * docs/gst/tmpl/gstbin.sgml:
26946 * docs/gst/tmpl/gstcompat.sgml:
26947 * docs/gst/tmpl/gstfakesink.sgml:
26948 * docs/gst/tmpl/gstfakesrc.sgml:
26949 * docs/gst/tmpl/gstfilesink.sgml:
26950 * docs/gst/tmpl/gstfilesrc.sgml:
26951 * docs/gst/tmpl/gstindex.sgml:
26952 * docs/manual/appendix-quotes.xml:
26953 * gst/base/gstbasesrc.h:
26954 * gst/elements/gstfakesrc.h:
26955 * gst/gstmessage.h:
26956 start pulling in base classes and elements in our docs
26958 2005-06-24 Stefan Kost <ensonic@users.sf.net>
26960 * docs/gst/Makefile.am:
26961 * docs/libs/Makefile.am:
26962 fixed make distcheck with gtk-doc 1.3
26964 2005-06-23 Wim Taymans <wim@fluendo.com>
26966 * gst/gstelement.c: (gst_element_get_state_func),
26967 (gst_element_set_state), (gst_element_change_state):
26968 When the state did not change, also report NO_PREROLL
26971 2005-06-23 Wim Taymans <wim@fluendo.com>
26973 * gst/gstpad.c: (gst_pad_event_default):
26974 * gst/gstqueue.c: (gst_queue_loop):
26975 No unsafe task pausing please.
26977 2005-06-23 Wim Taymans <wim@fluendo.com>
26979 * gst/schedulers/threadscheduler.c:
26980 (gst_thread_scheduler_task_start),
26981 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26982 Ref the task before pushing it on the threadpool. This
26983 makes sure that we have a ref when the threadfunction is
26986 2005-06-23 Andy Wingo <wingo@pobox.com>
26988 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
26989 offset is greater than the file's size.
26991 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
26992 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
26993 * gst/gstobject.c (gst_object_class_init): Make the class lock
26994 recursive. Wim won't let me drop deep_notify. Decodebin works
26995 again, whoopdy doo.
26997 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
26998 internal pad, and hacks accordingly. Doesn't do it on the target
26999 pad because we change its caps. Probably catches all cases of
27001 (gst_ghost_pad_set_property): Connect to notify::caps as
27004 * tests/network-clock.scm (plot-simulation): Pipe data to the
27005 elite python skript.
27007 * tests/network-clock-utils.scm (define-parameter): New macro,
27008 defines a parameter that can be set via the command line.
27009 (set-parameter!, parse-parameter-arguments): Command line args
27012 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27015 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27017 * gst/elements/gsttypefindelement.c:
27018 (gst_type_find_element_handle_event):
27019 Don't restart typefinding on a discont.
27020 * gst/gstelement.c: (gst_element_set_state):
27021 Debug spelling fix.
27022 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27023 Allow changing mode of an active pad.
27024 Debug output fixes.
27025 * gst/registries/gstlibxmlregistry.c: (load_feature):
27026 Don't cast a static pad template to a normal pad template.
27028 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27030 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27031 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27032 remove gst_strtoll completely, since it didn't actually do
27033 anything more than what g_ascii_strtoull already does.
27034 check for range errors when deserializing
27035 do a cast for the unsigned cases; but further fixing needs
27036 a decision on what the interpretation of "(int)" and
27037 deserialization should be for values that fall outside the
27038 type's boundaries (ie, refuse, or interpret as casting)
27040 2005-06-23 Wim Taymans <wim@fluendo.com>
27042 * check/Makefile.am:
27043 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27044 * docs/design/part-live-source.txt:
27045 * docs/design/part-states.txt:
27046 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27047 (gst_basesrc_set_live), (gst_basesrc_is_live),
27048 (gst_basesrc_get_range), (gst_basesrc_activate),
27049 (gst_basesrc_change_state):
27050 * gst/base/gstbasesrc.h:
27051 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27052 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27053 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27054 * gst/gstelement.c: (gst_element_get_state_func),
27055 (gst_element_set_state):
27056 * gst/gstelement.h:
27058 * tools/gst-launch.c: (event_loop), (main):
27059 Added support for live sources and other elements that
27061 Updated design docs, added live-source design doc.
27062 Implemented live source functionality in basesrc
27063 Fix error condition in _bin_get_state()
27064 Implement live source handling in -launch.
27065 Added check for live sources.
27066 Fixed case in GstBin where elements were changed state
27070 2005-06-23 Andy Wingo <wingo@pobox.com>
27072 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27073 borken refcounting.
27075 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27076 gst_caps_replace takes care of this for us.
27078 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27079 gst_pad_set_caps on the target, not just its setcaps() function.
27081 * tests/network-clock.scm:
27082 * tests/network-clock-utils.scm: A network clock simulator.
27083 Something of an algorithmic testbed before doing something in C.
27085 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27087 * check/Makefile.am:
27088 * check/gst/capslist.h:
27089 copy over from 0.8, and add two with bitmasks specified with
27091 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27092 add test to parse everything from capslist.h
27093 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27095 add test for structure deserialization
27096 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27097 add tests for deserialization of strings to int types
27098 * gst/gststructure.c: (gst_structure_nth_field_name):
27099 * gst/gststructure.h:
27100 add a way to get the name of a field referenced by index
27101 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27102 instead of checking if the resulting long long lies between
27103 min and max, we check if the long long would fit into
27104 a number of bytes for the final type.
27105 This fixes cases where a string represents 2^32 - 1, which
27106 when cast to int would be the (valid) -1, but is bigger than
27109 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27111 * gst/parse/grammar.y:
27112 add a log line for type deserialization
27114 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27116 * check/gst/gstvalue.c: (START_TEST):
27117 * gst/gstvalue.c: (gst_value_deserialize):
27118 return long long, not int, so gint64 deserialization actually
27119 works. Is there any flag that makes the compiler check this ?
27122 2005-06-22 Wim Taymans <wim@fluendo.com>
27125 Added convenience macros for setting buffers in GValue.
27127 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27129 * check/gst/.cvsignore:
27130 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27131 add a test deserializing int64, and comment part out because
27134 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27136 * check/Makefile.am:
27137 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27138 * testsuite/Makefile.am:
27139 * testsuite/caps/Makefile.am:
27140 * testsuite/caps/value_serialize.c:
27141 * testsuite/test_gst_init.c:
27142 move a value_serialize test over
27144 2005-06-20 Wim Taymans <wim@fluendo.com>
27149 * gst/gstvalue.c: (gst_value_compare_buffer),
27150 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27151 (gst_value_compare_flags), (gst_value_serialize_flags),
27152 (gst_value_deserialize_flags), (_gst_value_initialize):
27153 Fix serialisation of buffers, they are not boxed types anymore
27155 2005-06-20 Wim Taymans <wim@fluendo.com>
27157 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27158 Testcase to show error in buffer-on-caps serialisation.
27160 2005-06-20 Andy Wingo <wingo@pobox.com>
27162 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27163 will be adding to later.
27165 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27166 if its socks fill with rocks.
27167 (gst_system_clock_obtain): Set the name on object construction.
27168 Avoid double-checked locking.
27170 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27172 * gst/gsturi.c: (gst_element_make_from_uri):
27173 Fix potential endless loop.
27175 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27177 * check/Makefile.am:
27179 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27181 move over from testsuite dir and clean up
27184 * testsuite/Makefile.am:
27185 * testsuite/tags/.cvsignore:
27186 * testsuite/tags/Makefile.am:
27187 * testsuite/tags/merge.c:
27188 remove testsuite/tags
27190 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27192 * docs/gst/gstreamer-sections.txt:
27193 * docs/gst/tmpl/gstenumtypes.sgml:
27194 * win32/gstenumtypes.c:
27195 clean up documentation build a little
27197 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27199 * check/gstcheck.h:
27200 add macros for checking refcounts on objects and caps
27201 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27202 add some more unit tests
27203 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27204 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27205 fix leaked refcounts (I hope :)) so unittest works
27209 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27211 * configure.ac: back to HEAD
27213 === release 0.9.1 ===
27215 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27221 2005-06-17 Andy Wingo <wingo@pobox.com>
27223 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27224 assert; it's always possible that the pad gets deactivated in
27225 between the checks in gstpad.c and the implementation. Rely on
27226 finish_preroll() to return a FLUSHING or similar instead of on the
27229 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27230 clock and post an EOS message if we come out of finish_preroll in
27233 2005-06-16 David Schleef <ds@schleef.org>
27235 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27236 (gst_capsfilter_set_property): Allow NULL as possible value
27237 for filter_caps property, indicating GST_CAPS_ANY.
27239 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27241 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27243 * gst/schedulers/Makefile.am:
27245 * gstreamer.spec.in:
27248 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27250 * gstreamer.spec.in:
27253 2005-06-08 Andy Wingo <wingo@pobox.com>
27255 * gst/gstutils.c: RPAD fixes all around.
27256 (gst_element_link_pads): Refcounting fixes.
27258 * tools/gst-inspect.c:
27259 * tools/gst-xmlinspect.c:
27261 * gst/base/gsttypefindhelper.c:
27262 * gst/base/gstbasesink.c:
27263 * gst/gstqueue.c: RPAD fixes.
27265 * gst/gstghostpad.h:
27266 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27267 pads. The tricky thing is they provide both source and sink
27268 interfaces, since they proxy the internal pad for the external
27269 pad, and vice versa. Implement with lower-level ProxyPad objects,
27270 with the interior proxy pad as a child of the exterior ghost pad.
27271 Should write a doc on this.
27273 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27274 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27277 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27278 pads are real pads. No ghost pads in this file. Not documenting
27279 the myriad s/RPAD/PAD/ and REALIZE fixes.
27280 (gst_pad_class_init): Add properties for "direction" and
27281 "template". Both are construct-only, so they can't change during
27282 the life of the pad. Fixes properly deriving from GstPad.
27283 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27284 derived objects, just set properties when creating the objects via
27286 (gst_pad_get_parent): Implement as a function, return NULL if the
27287 parent is not an element.
27288 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27289 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27291 * gst/gstobject.c (gst_object_class_init): Make name a construct
27292 property. Don't set it in the object init.
27294 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27295 with UNKNOWN direction.
27296 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27297 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27298 (gst_element_remove_pad): Remove ghost-pad special cases.
27299 (gst_element_pads_activate): Remove rpad cruft.
27301 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27302 catch the pad's-parent-not-an-element case.
27304 * gst/gst.h: Include gstghostpad.h.
27306 * gst/gst.c (init_post): No more real, ghost pads.
27308 * gst/Makefile.am: Add gstghostpad.[ch].
27310 * check/Makefile.am:
27311 * check/gst/gstbin.c:
27312 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27313 into a bin creates ghost pads, and that the refcounts are right.
27314 Partly moved from gstbin.c.
27316 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27318 * check/gst-libs/.cvsignore:
27319 * check/gst/.cvsignore:
27320 * check/pipelines/.cvsignore:
27322 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27323 (START_TEST), (cleanup_suite), (main):
27324 add some tests related to cleanup after running pipelines
27326 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27328 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27329 add a testsuite for GstBuffer
27331 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27333 * gst/gstminiobject.h:
27334 add defines for accessing the refcount
27336 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27338 * Makefile.am: added support for html unit test coverage reports
27340 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27342 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27343 Free existing caps if the capsfilter changes. Add a FIXME about
27344 setting those caps on the pads.
27346 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27347 Before adding a ghost pad to a parent bin, check that there isn't
27348 already one for the element on the bin. Prevents infinite recursion
27349 when using decodebin in parse pipelines. Andy says he'll rewrite the
27350 way this works anyway, so ignore the hack.
27352 2005-06-02 Andy Wingo <wingo@pobox.com>
27354 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27355 file size, pass it on to the type find helper.
27357 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27358 segment_start and segment_end properly according to the seek
27359 method. Segment_end is still a bit flaky because offset can be
27360 negative for CUR and END cases, but it takes -1 as an "unset"
27363 2005-06-02 Wim Taymans <wim@fluendo.com>
27365 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27366 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27367 (gst_basesink_activate):
27368 * gst/base/gstbasesink.h:
27369 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27370 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27371 (gst_pad_query), (gst_pad_start_task):
27373 * gst/gstqueue.c: (gst_queue_bufferalloc),
27374 (gst_queue_handle_sink_event), (gst_queue_chain):
27375 Bufferalloc: return GstFlowReturn to more accuratly report
27376 why allocation failed.
27378 2005-06-02 Wim Taymans <wim@fluendo.com>
27380 * gst/gstpipeline.c: (gst_pipeline_send_event):
27381 Take snapshot of state without blocking.
27383 2005-06-02 Wim Taymans <wim@fluendo.com>
27385 * docs/design/part-TODO.txt:
27386 * docs/design/part-caps.txt:
27387 * docs/design/part-clocks.txt:
27388 * docs/design/part-negotiation.txt:
27389 * docs/design/part-preroll.txt:
27392 2005-05-30 Wim Taymans <wim@fluendo.com>
27394 * gst/elements/gstidentity.c: (gst_identity_event),
27395 (gst_identity_transform), (gst_identity_get_property):
27396 Protect last_message property as it is accessed from
27399 2005-05-30 Wim Taymans <wim@fluendo.com>
27401 * gst/gstelement.c: (gst_element_init),
27402 (gst_element_pads_activate), (gst_element_change_state):
27403 Slicker pad activation code.
27405 2005-05-30 Wim Taymans <wim@fluendo.com>
27408 * gst/gstelement.h:
27409 * gst/gstelementfactory.h:
27411 Move elementfactory methods to separate .h file.
27413 2005-05-30 Wim Taymans <wim@fluendo.com>
27415 * docs/design/part-overview.txt:
27416 * gst/gstsystemclock.h:
27417 Small typo fixes, doc updates.
27419 2005-05-30 Wim Taymans <wim@fluendo.com>
27421 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27422 (init_popt_callback):
27423 Remove cpu-opt flag.
27425 2005-05-30 Wim Taymans <wim@fluendo.com>
27427 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27428 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27430 Avoid typechecking in places where not needed.
27431 Added accessor for malloc_data.
27433 2005-05-30 Wim Taymans <wim@fluendo.com>
27435 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27436 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27437 (gst_pad_configure_sink), (gst_pad_configure_src),
27438 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27439 (gst_pad_start_task):
27440 Propagate errors from _set_caps() in configure_src/sink
27441 functions instead of returning TRUE.
27442 FLUSH events can travel up and downstream
27445 2005-05-30 Wim Taymans <wim@fluendo.com>
27447 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27448 (gst_basesink_activate):
27449 Handle EOS in preroll.
27451 2005-05-30 Wim Taymans <wim@fluendo.com>
27453 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27454 (gst_queue_loop), (gst_queue_handle_src_event):
27455 Remove old pieces of code
27456 Flushing the queue in an upstream event is a very bad idea.
27458 2005-05-26 Andy Wingo <wingo@pobox.com>
27460 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27461 gst_value_set_mini_object so as to add a ref on the object (which
27462 will be removed when the value is unset).
27464 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27465 arg type in ::handoff.
27467 * gst/gstelement.c (gst_element_change_state): Also deactivate
27468 pads in READY->NULL, just in case the element didn't make it to
27469 PAUSED. Wingo tested, Wim approved.
27471 2005-05-26 Wim Taymans <wim@fluendo.com>
27473 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27474 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27475 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27476 A flushing pad cannot be used to alloc_buffer from.
27478 2005-05-26 Wim Taymans <wim@fluendo.com>
27480 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27481 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27482 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27483 (gst_bus_create_watch), (gst_bus_add_watch_full):
27485 Implement a real GSource and use g_main_context_wakeup() to
27486 signal new messages instead of the socketpair.
27488 2005-05-25 Wim Taymans <wim@fluendo.com>
27490 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27491 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27492 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27493 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27494 (gst_pad_send_event), (gst_pad_start_task):
27495 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27496 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27497 (gst_queue_sink_activate), (gst_queue_src_activate),
27498 (gst_queue_change_state):
27500 Fix state changes for non sinks. We now change sinks, then elements
27501 with unconnected srcpads, then the rest.
27502 More efficient queue unlocking in flush and state changes.
27503 Set the pad activate mode even if it does not have an activate
27506 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27508 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27509 Don't go in pull mode for non-seekable sources.
27510 * gst/elements/gsttypefindelement.h:
27511 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27512 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27513 (free_entry), (stop_typefinding),
27514 (gst_type_find_element_handle_event), (find_peek),
27515 (gst_type_find_element_chain), (do_pull_typefind),
27516 (gst_type_find_element_change_state):
27517 Allow typefinding (w/o seeking) in push-mode, simplified version
27518 of what was in 0.8.
27519 * gst/gstutils.c: (gst_buffer_join):
27521 gst_buffer_join() from 0.8.
27523 2005-05-25 Wim Taymans <wim@fluendo.com>
27525 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27526 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27527 (gst_pad_send_event), (gst_pad_start_task):
27528 Disable attempt at mode switching until it is figured out.
27530 2005-05-25 Wim Taymans <wim@fluendo.com>
27532 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27533 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27534 (gst_basesink_finish_preroll), (gst_basesink_chain),
27535 (gst_basesink_loop), (gst_basesink_activate),
27536 (gst_basesink_change_state):
27537 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27538 (gst_basesrc_get_range), (gst_basesrc_loop),
27539 (gst_basesrc_activate):
27540 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27541 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27542 (gst_real_pad_init), (gst_real_pad_set_property),
27543 (gst_real_pad_get_property), (gst_pad_set_active),
27544 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27545 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27546 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27547 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27548 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27549 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27550 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27551 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27552 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27553 (gst_pad_stop_task):
27555 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27556 (gst_queue_loop), (gst_queue_src_activate):
27557 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27558 (gst_task_get_state):
27560 * gst/schedulers/threadscheduler.c:
27561 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27562 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27564 Remove ACTIVE pad flag, use FLUSHING everywhere
27565 Added _pad_chain(), _pad_get_range() to call chain/getrange
27567 Add locks around IS_FLUSHING when reading.
27568 Take STREAM lock in chain(), get_range() functions so plugins
27569 don't need to take it anymore.
27573 2005-05-25 Wim Taymans <wim@fluendo.com>
27575 * tools/gst-launch.c: (event_loop):
27576 Unref message after using its contents instead of
27579 2005-05-24 Wim Taymans <wim@fluendo.com>
27581 * docs/design/draft-ghostpads.txt:
27582 * docs/design/draft-push-pull.txt:
27583 * docs/design/draft-query.txt:
27584 * docs/design/part-overview.txt:
27585 Docs updates, added general overview doc.
27587 2005-05-21 David Schleef <ds@schleef.org>
27589 * docs/gst/tmpl/old/GstBin.sgml:
27590 * docs/gst/tmpl/old/GstBuffer.sgml:
27591 * docs/gst/tmpl/old/GstCaps.sgml:
27592 * docs/gst/tmpl/old/GstClock.sgml:
27593 * docs/gst/tmpl/old/GstCompat.sgml:
27594 * docs/gst/tmpl/old/GstData.sgml:
27595 * docs/gst/tmpl/old/GstElement.sgml:
27596 * docs/gst/tmpl/old/GstEvent.sgml:
27597 * docs/gst/tmpl/old/GstIndex.sgml:
27598 * docs/gst/tmpl/old/GstStructure.sgml:
27599 * docs/gst/tmpl/old/GstTag.sgml:
27600 * docs/gst/tmpl/old/cothreads.sgml:
27601 * docs/gst/tmpl/old/cothreads_compat.sgml:
27602 * docs/gst/tmpl/old/gettext.sgml:
27603 * docs/gst/tmpl/old/gobject2gtk.sgml:
27604 * docs/gst/tmpl/old/grammar.tab.sgml:
27605 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27606 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27607 * docs/gst/tmpl/old/gst_private.sgml:
27608 * docs/gst/tmpl/old/gstaggregator.sgml:
27609 * docs/gst/tmpl/old/gstarch.sgml:
27610 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27611 * docs/gst/tmpl/old/gstbufferstore.sgml:
27612 * docs/gst/tmpl/old/gstdata_private.sgml:
27613 * docs/gst/tmpl/old/gstdisksink.sgml:
27614 * docs/gst/tmpl/old/gstdisksrc.sgml:
27615 * docs/gst/tmpl/old/gstelementfactory.sgml:
27616 * docs/gst/tmpl/old/gstextratypes.sgml:
27617 * docs/gst/tmpl/old/gstfakesink.sgml:
27618 * docs/gst/tmpl/old/gstfakesrc.sgml:
27619 * docs/gst/tmpl/old/gstfdsink.sgml:
27620 * docs/gst/tmpl/old/gstfdsrc.sgml:
27621 * docs/gst/tmpl/old/gstfilesink.sgml:
27622 * docs/gst/tmpl/old/gstfilesrc.sgml:
27623 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27624 * docs/gst/tmpl/old/gstidentity.sgml:
27625 * docs/gst/tmpl/old/gstindexfactory.sgml:
27626 * docs/gst/tmpl/old/gstmarshal.sgml:
27627 * docs/gst/tmpl/old/gstmd5sink.sgml:
27628 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27629 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27630 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27631 * docs/gst/tmpl/old/gstpipefilter.sgml:
27632 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27633 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27634 * docs/gst/tmpl/old/gstshaper.sgml:
27635 * docs/gst/tmpl/old/gstspider.sgml:
27636 * docs/gst/tmpl/old/gstspideridentity.sgml:
27637 * docs/gst/tmpl/old/gststatistics.sgml:
27638 * docs/gst/tmpl/old/gsttee.sgml:
27639 * docs/gst/tmpl/old/gsttimecache.sgml:
27640 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27641 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27642 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27643 * docs/gst/tmpl/old/types.sgml:
27644 I didn't intend to add these or check them in.
27646 2005-05-19 David Schleef <ds@schleef.org>
27648 * configure.ac: Use -no-common everywhere. In a sane world, it
27649 would be the default in libtool, because without it, you can't
27650 build DLLs on Windows.
27651 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27652 * docs/gst/gstreamer-sections.txt:
27653 * docs/gst/tmpl/gstcpu.sgml:
27654 * docs/gst/tmpl/gstdata.sgml:
27655 * docs/gst/tmpl/gstthread.sgml:
27657 2005-05-19 David Schleef <ds@schleef.org>
27659 * gst/gstminiobject.c: (gst_value_set_mini_object),
27660 (gst_value_take_mini_object), (gst_value_get_mini_object):
27661 * gst/gstminiobject.h: Add GValue set/get functions.
27663 2005-05-19 Wim Taymans <wim@fluendo.com>
27665 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27666 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27667 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27669 * gst/gstbus.c: (gst_bus_post):
27670 * gst/gstelement.c: (gst_element_get_random_pad):
27671 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27672 Make subbufer unref the parent in finalize.
27673 some more debugging info.
27676 2005-05-19 Wim Taymans <wim@fluendo.com>
27678 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27679 (gst_basesink_init), (gst_basesink_finalize),
27680 (gst_basesink_activate), (gst_basesink_change_state):
27681 Don't free preroll queue too early.
27683 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27687 Hi, I'm outdated. Please shoot me.
27689 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27691 * gst/gstpipeline.c: (gst_pipeline_send_event):
27692 Do not access variables after they have been deleted.
27694 2005-05-19 Wim Taymans <wim@fluendo.com>
27696 * tools/gst-inspect.c: (print_plugin_features):
27697 A plugin feature does unfortunatly not use the
27700 2005-05-18 Wim Taymans <wim@fluendo.com>
27702 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27703 Port _span() functions to new subbuffers.
27705 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27707 * gst/gstbin.c: (gst_bin_add_func):
27708 Fix clock settery in bins when adding kids after the clock has
27711 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27713 * gst/elements/gstidentity.c: (gst_identity_class_init):
27714 Workaround until signals support GstMiniObject.
27716 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27719 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27721 2005-05-18 Wim Taymans <wim@fluendo.com>
27723 * gst/base/Makefile.am:
27724 * gst/base/gstadapter.c: (gst_adapter_base_init),
27725 (gst_adapter_class_init), (gst_adapter_init),
27726 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27727 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27728 (gst_adapter_flush), (gst_adapter_available),
27729 (gst_adapter_available_fast):
27730 * gst/base/gstadapter.h:
27731 Ported and added adapter to the base classes.
27733 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27736 * gst/gstmessage.c:
27737 Make sure the class is reffed/unreffed once before threads can be
27738 used. Fixes #304551.
27740 2005-05-17 Wim Taymans <wim@fluendo.com>
27742 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27743 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27744 * gst/gstminiobject.c: (gst_mini_object_get_type),
27745 (gst_mini_object_free):
27746 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27747 (gst_pad_push), (gst_pad_push_event):
27748 * gst/gstqueue.c: (gst_queue_change_state):
27749 Don't queue buffers in basesink when we are flushing.
27750 Unref buffer when flushing in basesink.
27751 Flush queue when going to READY
27752 Unref buffer when _push() returns an error.
27753 Don't free MiniObject instance when refcount is incremented
27754 in _finalize() so that we can recover objects.
27756 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27758 * docs/manual/advanced-schedulers.xml:
27759 * docs/manual/appendix-checklist.xml:
27760 * docs/pwg/advanced-clock.xml:
27761 * docs/pwg/advanced-interfaces.xml:
27762 * docs/pwg/advanced-request.xml:
27763 * docs/pwg/advanced-types.xml:
27764 * docs/pwg/intro-preface.xml:
27765 * examples/plugins/example.c: (gst_example_get_type),
27766 (gst_example_class_init), (gst_example_chain),
27767 (gst_example_set_property), (gst_example_get_property),
27768 (gst_example_change_state), (plugin_init):
27769 * examples/plugins/example.h:
27772 2005-05-17 Wim Taymans <wim@fluendo.com>
27774 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27775 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27776 * gst/gstqueue.c: (gst_queue_change_state):
27777 Clear queue when going to READY.
27778 Remove IN_SETCAPS flag too.
27780 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27782 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27783 Remove implicit cast from gboolean to GstElementStateReturn;
27784 make sure we still return failure in paused => ready case if
27785 the parent class fails to change state and our own stop
27788 2005-05-17 Wim Taymans <wim@fluendo.com>
27790 * tools/gst-launch.c: (event_loop):
27791 Message was unreffed too soon.
27793 2005-05-16 Andy Wingo <wingo@pobox.com>
27795 * gst/gstbin.c (sink_iterator_filter): Err... um...
27797 * check/gst/gstbin.c (test_ghost_pads): New test for the
27798 ghosting-if-elements-not-in-same-bin behavior.
27800 2005-05-16 David Schleef <ds@schleef.org>
27802 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27803 accessing refcount directly.
27805 2005-05-15 David Schleef <ds@schleef.org>
27807 * check/Makefile.am: remove GstData checks
27808 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27809 * gst/Makefile.am: add miniobject, remove data
27810 * gst/gst.h: add miniobject, remove data
27811 * gst/gstdata.c: remove
27812 * gst/gstdata.h: remove
27813 * gst/gstdata_private.h: remove
27814 * gst/gsttypes.h: remove GstEvent and GstMessage
27815 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27816 * gst/gstmarshal.list: change BOXED -> OBJECT
27818 Implement GstMiniObject.
27819 * gst/gstminiobject.c:
27820 * gst/gstminiobject.h:
27822 Modify to be subclasses of GstMiniObject.
27823 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27824 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27825 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27826 (gst_subbuffer_get_type), (gst_subbuffer_init),
27827 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27830 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27831 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27832 (_gst_event_copy), (gst_event_new):
27834 * gst/gstmessage.c: (_gst_message_initialize),
27835 (gst_message_get_type), (gst_message_class_init),
27836 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27837 (gst_message_new), (gst_message_new_error),
27838 (gst_message_new_warning), (gst_message_new_tag),
27839 (gst_message_new_state_changed), (gst_message_new_application):
27840 * gst/gstmessage.h:
27841 * gst/gstprobe.c: (gst_probe_perform),
27842 (gst_probe_dispatcher_dispatch):
27844 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27845 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27846 (_gst_query_copy), (gst_query_new):
27848 Update elements for GstData -> GstMiniObject changes
27850 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27851 (gst_queue_chain), (gst_queue_loop):
27852 * gst/elements/gstbufferstore.c:
27853 (gst_buffer_store_add_buffer_func),
27854 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27855 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27856 (gst_fakesink_render):
27857 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27858 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27859 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27860 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27861 (gst_filesrc_create_read):
27862 * gst/elements/gstidentity.c: (gst_identity_class_init):
27863 * gst/elements/gsttypefindelement.c:
27864 (gst_type_find_element_src_event), (free_entry_buffers),
27865 (gst_type_find_element_handle_event):
27866 * libs/gst/dataprotocol/dataprotocol.c:
27867 (gst_dp_header_from_buffer):
27868 * libs/gst/dataprotocol/dataprotocol.h:
27869 * libs/gst/dataprotocol/dp-private.h:
27871 2005-05-15 David Schleef <ds@schleef.org>
27873 * gst/elements/gstelements.c: Don't include headers that were
27876 2005-05-15 David Schleef <ds@schleef.org>
27878 * gst/elements/Makefile.am: Remove some elements that don't
27879 need to be in the core (or even exist at all).
27880 * gst/elements/gstaggregator.c:
27881 * gst/elements/gstaggregator.h:
27882 * gst/elements/gstmd5sink.c:
27883 * gst/elements/gstmd5sink.h:
27884 * gst/elements/gstmultifilesrc.c:
27885 * gst/elements/gstmultifilesrc.h:
27886 * gst/elements/gstpipefilter.c:
27887 * gst/elements/gstpipefilter.h:
27888 * gst/elements/gstshaper.c:
27889 * gst/elements/gstshaper.h:
27890 * gst/elements/gststatistics.c:
27891 * gst/elements/gststatistics.h:
27892 * po/POTFILES.in: Remove above files.
27894 2005-05-14 Andy Wingo <wingo@pobox.com>
27896 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27897 so as to get the refs right.
27898 (sink_iterator_filter): New function, wraps bin_element_is_sink,
27899 unreffing objects that don't pass the filter.
27901 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27902 gst_element_set_bus.
27903 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27904 normal cases, this will destroy the bus.
27906 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27909 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27912 2005-05-13 Andy Wingo <wingo@pobox.com>
27914 * gst/gstutils.c (gst_element_link_pads): Instead of calling
27915 gst_pad_link, call pad_link_maybe_ghosting,
27916 (pad_link_maybe_ghosting): Links pads, making sure that the
27917 elements being linked are in the same bin.
27918 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27919 Helpers for pad_link_maybe_ghosting.
27921 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
27924 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27926 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
27928 * docs/design/part-element-source.txt:
27931 2005-05-12 Wim Taymans <wim@fluendo.com>
27933 * gst/base/gstbasesink.c: (gst_basesink_init),
27934 (gst_basesink_activate):
27935 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27936 (gst_basesrc_is_seekable):
27937 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27938 (bin_element_is_sink), (gst_bin_change_state):
27939 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27940 * gst/gstelement.h:
27941 Identify sinks by their flag to avoid overly complicated
27943 Do state changes even for elements not reachable from the
27945 BaseSink is a sink now :)
27946 Some more debugging info in the basesrc.
27949 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27951 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27952 Implement _query on a bin, similar to _send_event.
27954 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
27956 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27957 Discont event offset format should be GST_FORMAT_BYTES,
27958 not GST_FORMAT_TIME.
27960 2005-05-12 Wim Taymans <wim@fluendo.com>
27962 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27963 Same fix as Ronald's but without the signal.
27965 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27967 * gst/gstutils.c: (gst_element_query_position):
27968 No, an element is not a pad.
27970 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27972 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27973 (gst_bin_get_state):
27974 If a child is removed from a bin while we remove the child from
27975 the bin and while we're retrieving its state, signal this to the
27976 get_state function so we abort the wait (instead of waiting for
27977 a timeout) and can immediately re-iterate over all other elements.
27979 2005-05-12 Wim Taymans <wim@fluendo.com>
27981 * gst/base/Makefile.am:
27982 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27983 (gst_basesrc_start):
27984 * gst/base/gstbasesrc.h:
27985 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27986 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27987 (gst_pushsrc_init), (gst_pushsrc_create):
27988 * gst/base/gstpushsrc.h:
27989 Added is_seekable to BaseSrc
27990 Added simple PushSrc.
27992 2005-05-11 Wim Taymans <wim@fluendo.com>
27994 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27995 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27996 (gst_element_link_pads), (gst_element_query_position),
27997 (gst_element_query_convert), (intersect_caps_func),
27998 (gst_pad_query_position), (gst_pad_query_convert):
27999 Fix refcounting in utils function.
28000 No point in trying to activate a pad when it's added, it could
28001 be added from the state change function and then we deadlock, the
28002 element has to decide what to do.
28004 2005-05-10 Andy Wingo <wingo@pobox.com>
28006 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28007 *all* the arguments.
28009 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28010 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28011 lock (according to the docs -- if this is wrong change the docs).
28013 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28014 flush messages in the NULL state.
28016 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28017 message immediately and return.
28018 (gst_bus_set_flushing): New function. If a bus is flushing, it
28019 flushes out any queued messages and immediately unrefs new
28020 messages. This is so when an element goes to NULL, all of the
28021 unhandled messages coming from it can be freed, and their
28022 references to the element dropped. In other words: message source
28023 ref considered harmful :P
28025 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28026 we're finished with it.
28028 * gst/gstmessage.c (gst_message_new_state_changed):
28030 2005-05-10 Wim Taymans <wim@fluendo.com>
28032 * gst/gstvalue.c: (gst_value_compare_flags),
28033 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28034 (_gst_value_initialize):
28035 Added flags serialize/deserialize/compare code.
28037 2005-05-09 Andy Wingo <wingo@pobox.com>
28039 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28040 Intersect the peer's caps with our caps.
28042 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28044 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28045 * gst/elements/gsttypefindelement.c: (find_peek):
28046 Handle negative offsets better. Fixes decodebin.
28048 2005-05-09 Wim Taymans <wim@fluendo.com>
28050 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28051 (gst_base_transform_event):
28052 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28053 Implement accept_caps.
28054 Fix silly lock/unlock mismatch in base class.
28056 2005-05-09 Wim Taymans <wim@fluendo.com>
28058 * docs/design/draft-push-pull.txt:
28059 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28060 * gst/elements/gstfilesink.c: (gst_filesink_init),
28061 (gst_filesink_query):
28062 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28063 (gst_type_find_handle_src_query), (find_element_get_length):
28064 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28065 * gst/gstelement.h:
28066 * gst/gstmessage.c:
28067 * gst/gstmessage.h:
28068 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28069 (gst_real_pad_get_caps_unlocked),
28070 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28071 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28072 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28073 (gst_real_pad_dispose), (gst_real_pad_finalize),
28074 (gst_pad_load_and_link), (gst_pad_save_thyself),
28075 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28076 (gst_pad_check_pull_range), (gst_pad_pull_range),
28077 (gst_pad_template_get_type), (gst_pad_template_class_init),
28078 (gst_pad_template_init), (gst_pad_template_dispose),
28079 (name_is_valid), (gst_static_pad_template_get),
28080 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28081 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28082 (gst_pad_get_element_private), (gst_pad_start_task),
28083 (gst_pad_pause_task), (gst_pad_stop_task),
28084 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28085 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28086 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28087 (gst_ghost_pad_new):
28089 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28090 (gst_query_new_position), (gst_query_set_position),
28091 (gst_query_parse_position), (gst_query_new_convert),
28092 (gst_query_set_convert), (gst_query_parse_convert):
28094 * gst/gstqueryutils.c:
28095 * gst/gstqueryutils.h:
28096 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28097 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28098 (gst_queue_handle_src_query):
28099 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28100 (gst_element_query_position), (gst_element_query_convert),
28101 (intersect_caps_func), (gst_pad_query_position),
28102 (gst_pad_query_convert):
28104 * tools/gst-inspect.c: (print_pad_info):
28105 * tools/gst-xmlinspect.c: (print_element_info):
28106 Remove old query functions. Ported old code.
28107 Added position/convert helper functions to gstutils.
28108 Reordered gstpad.c code, grouping relevant things.
28109 Remove gst_message_new(), always need to speficy a specific
28113 2005-05-09 Andy Wingo <wingo@pobox.com>
28115 * gst/gstiterator.h: Add some includes.
28117 * gst/gstqueryutils.h: Include more headers.
28120 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28121 some uses of gst_pad_query.
28123 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28124 NULL out parameters.
28125 (gst_query_new_position): New proc, allocates a new position
28128 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28129 gstqueryutils.c to the build.
28131 * gst/gststructure.c (gst_structure_set_valist): Implement with
28132 the generic G_VALUE_COLLECT.
28134 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28136 * gst/Makefile.am: (gst_headers):
28137 Added gstqueryutils.h to the list of headers to install, that was
28138 a 'nachty' move wingo :)
28140 2005-05-06 Andy Wingo <wingo@pobox.com>
28143 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28144 GstData, init a memchunk.
28145 (standard_definitions): Add a few query types, deprecate a few.
28146 (gst_query_get_type): New proc.
28147 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28149 (gst_query_new_application, gst_query_get_structure): New public
28152 * docs/design/draft-query.txt: Removed LINKS from the query types,
28153 because all the rest can be dispatched to other pads -- seemed
28154 ugly to have a query that couldn't be dispatched. internal_links
28155 is fine as a pad method.
28157 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28158 in gstpad.c, but maintain binary compatibility for the moment.
28159 Will fix before 0.9 is out.
28161 * gst/gstqueryutils.c:
28162 * gst/gstqueryutils.h: New files, implement 3 methods for each
28163 query type: parse_query, parse_response, and set. Probably need an
28166 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28168 * gst/elements/gstfilesink.c (gst_filesink_query2):
28169 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28170 query_types, and formats methods.
28172 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28173 (gst_pad_set_query2_function): New functions.
28174 (gst_real_pad_init): Set query2_default as the default query2
28175 function. Basically just dispatches to internally linked pads.
28179 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28180 without using the atomic operations. Only one thread can possibly
28181 be accessing the data at this point. Changed so as to avoid
28182 gst_atomic operations.
28184 2005-05-06 Wim Taymans <wim@fluendo.com>
28186 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28187 Also set caps if we use the fallback buffer alloc.
28189 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28191 * docs/gst/Makefile.am:
28192 * docs/gst/gstreamer-docs.sgml:
28193 * docs/gst/gstreamer-sections.txt:
28194 * docs/gst/tmpl/gstatomic.sgml:
28195 * docs/gst/tmpl/gstmemchunk.sgml:
28196 * testsuite/elements/struct_i386.h:
28197 * win32/GStreamer.vcproj:
28199 Purge GstAtomic stuff from docs and win32 makefiles as well
28201 2005-05-06 Wim Taymans <wim@fluendo.com>
28203 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28204 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28205 * gst/gstpad.c: (gst_pad_peer_get_caps):
28206 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28207 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28208 (gst_queue_src_activate), (gst_queue_change_state):
28210 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28211 (intersect_caps_func):
28212 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28213 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28214 Some fixes for the peer_get_caps() change.
28216 2005-05-06 Wim Taymans <wim@fluendo.com>
28218 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28219 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28220 (gst_basesink_activate):
28221 Actually do something with error codes returned from the push
28224 2005-05-06 Wim Taymans <wim@fluendo.com>
28226 * docs/design/part-element-sink.txt:
28227 * docs/design/part-element-source.txt:
28228 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28229 (gst_basesink_event), (gst_basesink_activate):
28230 * gst/base/gstbasesink.h:
28231 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28232 (gst_basesrc_activate):
28233 * gst/base/gstbasesrc.h:
28234 * gst/gstelement.c: (gst_element_pads_activate):
28235 Some more documentation.
28236 Fixed scheduling decision in _pads_activate().
28238 2005-05-05 Andy Wingo <wingo@pobox.com>
28240 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28243 2005-05-05 Wim Taymans <wim@fluendo.com>
28245 * gst/base/Makefile.am:
28246 * gst/base/gstbasesink.h:
28247 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28248 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28249 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28250 (gst_collectpads_class_init), (gst_collectpads_init),
28251 (gst_collectpads_finalize), (gst_collectpads_new),
28252 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28253 (find_pad), (gst_collectpads_remove_pad),
28254 (gst_collectpads_is_active), (gst_collectpads_collect),
28255 (gst_collectpads_collect_range), (gst_collectpads_start),
28256 (gst_collectpads_stop), (gst_collectpads_peek),
28257 (gst_collectpads_pop), (gst_collectpads_available),
28258 (gst_collectpads_read), (gst_collectpads_flush),
28259 (gst_collectpads_chain):
28260 * gst/base/gstcollectpads.h:
28261 * gst/elements/Makefile.am:
28262 * gst/elements/gstelements.c:
28263 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28264 (gst_fakesink_get_times), (gst_fakesink_event),
28265 (gst_fakesink_preroll), (gst_fakesink_render):
28266 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28267 (gst_filesink_init), (gst_filesink_set_location),
28268 (gst_filesink_open_file), (gst_filesink_close_file),
28269 (gst_filesink_pad_query), (gst_filesink_event),
28270 (gst_filesink_render), (gst_filesink_change_state):
28271 * gst/elements/gstfilesink.h:
28272 Added object to help in making collect pad based elements.
28274 Make event function in sink baseclass return gboolean.
28276 2005-05-05 Wim Taymans <wim@fluendo.com>
28278 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28279 (gst_bin_get_by_name):
28281 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28282 (gst_clock_finalize):
28283 * gst/gstdata.c: (gst_data_replace):
28285 * gst/gstelement.c: (gst_element_request_pad),
28286 (gst_element_pads_activate):
28287 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28288 (gst_object_unref):
28289 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28290 (gst_pad_set_checkgetrange_function),
28291 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28292 (gst_pad_check_pull_range), (gst_pad_pull_range),
28293 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28294 (gst_pad_pause_task), (gst_pad_stop_task):
28295 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28296 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28297 Fix name lookup in GstBin.
28298 Added _data_replace() function and _buffer_replace()
28299 Use finalize method to clean up clock.
28300 Fix refcounting on request pads.
28301 Fix pad schedule mode error.
28302 Some more object refcounting debug info,
28305 2005-05-04 Andy Wingo <wingo@pobox.com>
28307 * check/Makefile.am:
28308 * docs/gst/tmpl/gstatomic.sgml:
28309 * docs/gst/tmpl/gstplugin.sgml:
28310 * gst/base/gstbasesink.c: (gst_basesink_activate):
28311 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28312 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28313 (gst_basesrc_query), (gst_basesrc_set_property),
28314 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28315 (gst_basesrc_activate):
28316 * gst/base/gstbasesrc.h:
28317 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28318 (gst_base_transform_src_activate):
28319 * gst/elements/gstelements.c:
28320 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28321 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28322 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28323 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28324 (gst_type_find_element_checkgetrange),
28325 (gst_type_find_element_activate):
28326 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28327 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28328 (gst_caps_load_thyself):
28329 * gst/gstelement.c: (gst_element_pads_activate),
28330 (gst_element_save_thyself), (gst_element_restore_thyself):
28331 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28332 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28334 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28335 (gst_xml_parse_file), (gst_xml_parse_memory),
28336 (gst_xml_get_element), (gst_xml_make_element):
28337 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28338 (_file_index_id_save_xml), (gst_file_index_commit):
28339 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28340 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28342 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28343 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28344 * tools/gst-complete.c: (main):
28345 * tools/gst-compprep.c: (main):
28346 * tools/gst-inspect.c: (print_element_properties_info):
28347 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28348 * tools/gst-xmlinspect.c: (print_element_properties):
28351 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28353 * gst/gstplugin.c: (gst_plugin_check_module),
28354 (gst_plugin_check_file), (gst_plugin_load_file):
28355 apply patch from #172526 to make register work on MacOSX
28357 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28359 * docs/gst/tmpl/gstconfig.sgml:
28360 * gst/gstconfig.h.in:
28361 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28362 * testsuite/debug/printf_extension.c: (main):
28363 Do not use GST_PTR_FORMAT on pointers to types with
28364 sizeof < sizeof(gpointer). Fixes test on 64-bit
28365 * testsuite/elements/property.h:
28366 use correct printf format
28368 2005-05-02 Wim Taymans <wim@fluendo.com>
28370 * docs/design/draft-push-pull.txt:
28371 * docs/design/draft-query.txt:
28372 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28373 (gst_basesrc_start):
28374 Added draft for new query API.
28375 Added draft for better selecting scheduling methods.
28376 Make basesrc ignore length if the subclass does not support
28379 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28382 possible fixes for automake-1.5 - _LIBADD is reserved
28384 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28386 * docs/faq/Makefile.am:
28387 * docs/manual/Makefile.am:
28388 * docs/manuals.mak:
28389 * docs/pwg/Makefile.am:
28391 possible fixes for automake-1.5
28393 2005-04-28 Wim Taymans <wim@fluendo.com>
28395 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28396 (gst_basesink_pad_getcaps), (gst_basesink_init),
28397 (gst_basesink_do_sync):
28398 * gst/gstclock.c: (gst_clock_entry_new):
28399 * gst/gstevent.c: (gst_event_discont_get_value):
28400 * gst/gstpipeline.c: (pipeline_bus_handler),
28401 (gst_pipeline_change_state):
28402 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28403 Better debugging of clocking info.
28404 Allow NULL values when getting discont values.
28406 2005-04-27 Wim Taymans <wim@fluendo.com>
28408 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28409 * check/gst/gstpad.c: (gst_pad_suite):
28410 Increase timeout for checks.
28412 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28414 * check/Makefile.am:
28415 fix the broken rule for cleanup. Apparently this rule is
28416 only needed on FC2, so maybe this warrants further autotool
28419 2005-04-26 Wim Taymans <wim@fluendo.com>
28421 * gst/gsttrashstack.h:
28422 Ooohh. a nasty one! After having a failed pop() from the stack,
28423 it's possible that the stack is empty. In that case, don't
28424 follow the NULL pointer.
28426 2005-04-25 Wim Taymans <wim@fluendo.com>
28428 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28429 (gst_pad_set_checkgetrange_function),
28430 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28431 (gst_pad_check_pull_range), (gst_pad_pull_range),
28432 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28433 (gst_pad_pause_task), (gst_pad_stop_task):
28434 * gst/gstplugin.c: (gst_plugin_load):
28436 Remove gst_library_load as it does more harm than good with
28437 the new g_module flags.
28438 Revert bogus caps template check in pad linking, pad caps
28439 are important when linking not the template, which is more
28440 general than the current caps.
28442 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28444 * gst/autoplug/.cvsignore:
28445 * gst/autoplug/Makefile.am:
28446 * gst/autoplug/gstsearchfuncs.c:
28447 * gst/autoplug/gstsearchfuncs.h:
28448 * gst/autoplug/gstspider.c:
28449 * gst/autoplug/gstspider.h:
28450 * gst/autoplug/gstspideridentity.c:
28451 * gst/autoplug/gstspideridentity.h:
28452 * gst/autoplug/spidertest.c:
28455 2005-04-25 Wim Taymans <wim@fluendo.com>
28457 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28458 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28459 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28460 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28462 Added stubs for unimplemented functions.
28464 2005-04-24 David Schleef <ds@schleef.org>
28466 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28469 2005-04-24 David Schleef <ds@schleef.org>
28471 Convert everything from GstAtomicInt to g_atomic_int_*, and
28476 * gst/gstatomic_impl.h:
28484 * gst/gstdata_private.h:
28488 * gst/gstmessage.c:
28491 * gst/gststructure.c:
28492 * gst/gststructure.h:
28493 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28496 2005-04-24 David Schleef <ds@schleef.org>
28498 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28499 make the regressions tests work. Remove some code that is no
28501 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28502 Disable warning for pads without templates.
28504 2005-04-24 David Schleef <ds@schleef.org>
28506 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28507 functions that handle filtered links.
28508 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28510 * gst/gstutils.c: Fix/remove utility functions that handle
28513 * gst/gstvalue.c: Add serialization/deserialization of caps
28514 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28515 requires fixing so that the filter caps notation creates
28516 a capsfilter element and sets the filter_caps property. I
28517 think everyone probably wants to keep the shorthand notation.
28518 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28519 * docs/gst/tmpl/gstpad.sgml:
28521 * gst/elements/gstelements.c: Register capsfilter element.
28522 * gst/Makefile.am: fix spacing
28523 * docs/random/ds/0.9-suggested-changes: random
28525 2005-04-23 David Schleef <ds@schleef.org>
28527 * gst/elements/Makefile.am:
28528 * gst/elements/gstcapsfilter.c: New element that acts like an
28529 identity, but filters caps. Will eventually replace filtered
28530 caps in pad linking.
28531 * gst/gstutils.c: (gst_element_create_all_pads): New function
28532 to create all the ALWAYS pads that are registered with an
28533 element class. This functionality should eventually be
28534 merged in with GstElement initialization.
28536 * testsuite/trigger/README: part of trigger test code that should
28537 have been checked in a long time ago.
28539 2005-04-23 David Schleef <ds@schleef.org>
28541 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28542 needed with new versions of libtool (nobody will confirm this),
28543 and hard to carry around.
28544 * gst/autoplug/Makefile.am:
28545 * gst/base/Makefile.am:
28546 * gst/elements/Makefile.am:
28547 * gst/indexers/Makefile.am:
28548 * gst/schedulers/Makefile.am:
28549 * libs/gst/bytestream/Makefile.am:
28550 * libs/gst/control/Makefile.am:
28551 * libs/gst/dataprotocol/Makefile.am:
28552 * libs/gst/getbits/Makefile.am:
28554 2005-04-21 Wim Taymans <wim@fluendo.com>
28556 * docs/design/draft-push-pull.txt:
28557 * docs/design/part-MT-refcounting.txt:
28558 * docs/design/part-TODO.txt:
28559 * docs/design/part-caps.txt:
28560 * docs/design/part-events.txt:
28561 * docs/design/part-gstbus.txt:
28562 * docs/design/part-gstpipeline.txt:
28563 * docs/design/part-messages.txt:
28564 * docs/design/part-push-pull.txt:
28565 * docs/design/part-query.txt:
28568 2005-04-21 Wim Taymans <wim@fluendo.com>
28570 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28571 (gst_message_new), (gst_message_new_error),
28572 (gst_message_new_warning), (gst_message_new_tag),
28573 (gst_message_new_state_changed), (gst_message_new_application),
28574 (gst_message_get_structure):
28575 * gst/gstmessage.h:
28576 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28577 (gst_structure_copy_conditional):
28578 Use parent refcount in GstMessage to ensure GstStructure
28580 Cleaned up headers a bit.
28583 2005-04-20 Wim Taymans <wim@fluendo.com>
28585 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28586 (gst_basesink_pad_getcaps), (gst_basesink_init),
28587 (gst_basesink_chain_unlocked):
28588 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28589 (gst_type_find_helper):
28590 * gst/elements/gsttypefindelement.c:
28591 (gst_type_find_element_have_type), (gst_type_find_element_init),
28592 (stop_typefinding), (gst_type_find_element_handle_event),
28593 (find_suggest), (gst_type_find_element_chain),
28594 (gst_type_find_element_checkgetrange),
28595 (gst_type_find_element_getrange), (do_typefind),
28596 (gst_type_find_element_activate):
28597 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28598 (gst_buffer_default_free), (gst_buffer_default_copy),
28599 (gst_buffer_set_caps):
28600 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28601 (gst_caps_replace):
28602 * gst/gstmessage.c: (gst_message_new),
28603 (gst_message_new_state_changed):
28604 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28605 (gst_pad_set_checkgetrange_function),
28606 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28607 (gst_pad_set_caps), (gst_pad_check_pull_range),
28608 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28610 * gst/gsttypefind.c: (gst_type_find_register):
28611 Make gst_caps_replace() work like other _replace() functions.
28612 Use _caps_replace() where possible.
28613 Make sure _message_new() initialises its field.
28614 Add gst_static_pad_template_get_caps()
28617 2005-04-18 Andy Wingo <wingo@pobox.com>
28619 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28620 on the peer, not the pad. I think that was a typo. Pass an extra
28621 arg to see if random access is possible. Activate the pads as
28622 PULL_RANGE if possible.
28624 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28626 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28627 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28630 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28632 * docs/faq/using.xml:
28633 Add note on gstreamer-properties (#154996).
28635 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28637 * docs/random/bbb/optional-properties:
28638 Some analysis on optional properties.
28640 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28642 * docs/gst/tmpl/gstelementfactory.sgml:
28643 * gst/gstelement.h:
28644 * gst/gstelementfactory.c: (gst_element_factory_init),
28645 (gst_element_factory_cleanup), (gst_element_register),
28646 (__gst_element_factory_add_static_pad_template),
28647 (gst_element_factory_get_static_pad_templates),
28648 (gst_element_factory_can_src_caps),
28649 (gst_element_factory_can_sink_caps):
28650 * gst/registries/Makefile.am:
28651 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28652 (gst_xml_registry_class_init), (gst_xml_registry_init),
28653 (gst_xml_registry_new), (gst_xml_registry_set_property),
28654 (gst_xml_registry_get_property), (get_time), (make_dir),
28655 (gst_xml_registry_get_perms_func),
28656 (plugin_times_older_than_recurse), (plugin_times_older_than),
28657 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28658 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28659 (add_to_char_array), (read_string), (read_uint), (read_enum),
28660 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28661 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28662 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28663 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28664 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28665 (gst_xml_registry_rebuild):
28666 * gst/registries/gstlibxmlregistry.h:
28667 * tools/gst-compprep.c: (main):
28668 * tools/gst-inspect.c: (print_pad_templates_info):
28669 * tools/gst-xmlinspect.c: (print_element_info):
28670 Use libxml2 for registry parsing, use staticpadtemplates in
28671 elementfactories. Makes gst_init() +/- 10x faster.
28673 2005-04-12 Wim Taymans <wim@fluendo.com>
28675 * gst/base/Makefile.am:
28676 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28677 (gst_basesink_pad_getcaps), (gst_basesink_init),
28678 (gst_basesink_event), (gst_basesink_change_state):
28679 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28680 (gst_basesrc_init), (gst_basesrc_query),
28681 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28682 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28683 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28684 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28685 (gst_basesrc_stop), (gst_basesrc_activate),
28686 (gst_basesrc_change_state):
28687 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28688 (helper_find_suggest), (gst_type_find_helper):
28689 * gst/base/gsttypefindhelper.h:
28690 * gst/elements/Makefile.am:
28691 * gst/elements/gstelements.c:
28692 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28693 (gst_fakesink_get_times), (gst_fakesink_event),
28694 (gst_fakesink_preroll), (gst_fakesink_render):
28695 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28696 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28697 (gst_fakesrc_get_property), (gst_fakesrc_create),
28698 (gst_fakesrc_start), (gst_fakesrc_stop):
28699 * gst/elements/gstfakesrc.h:
28700 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28701 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28702 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28703 (gst_filesrc_create_read), (gst_filesrc_create),
28704 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28705 (gst_filesrc_start):
28706 * gst/elements/gsttypefindelement.c:
28707 (gst_type_find_element_have_type), (gst_type_find_element_init),
28708 (start_typefinding), (stop_typefinding), (push_buffer_store),
28709 (gst_type_find_element_handle_event),
28710 (gst_type_find_element_chain),
28711 (gst_type_find_element_checkgetrange),
28712 (gst_type_find_element_getrange), (do_typefind),
28713 (gst_type_find_element_activate),
28714 (gst_type_find_element_change_state):
28715 * gst/elements/gsttypefindelement.h:
28716 * gst/gstpipeline.c: (pipeline_bus_handler):
28717 Added typefind helper.
28718 Small preroll fix in the base sink.
28719 Disable typefind code in basesrc.
28720 Crude port of typefindelement.
28724 2005-04-11 Wim Taymans <wim@fluendo.com>
28726 * check/gst/gstbus.c: (gstbus_suite):
28727 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28728 * check/gstcheck.h:
28729 Fix up the timeout so that the test does not fail.
28731 2005-04-06 Wim Taymans <wim@fluendo.com>
28734 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28735 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28736 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28737 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28738 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28739 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28740 (gst_basesrc_stop), (gst_basesrc_activate),
28741 (gst_basesrc_change_state), (basesrc_find_peek),
28742 (basesrc_find_suggest), (gst_basesrc_type_find):
28743 * gst/base/gstbasesrc.h:
28744 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28745 (gst_filesrc_class_init), (gst_filesrc_init),
28746 (gst_filesrc_finalize), (gst_filesrc_set_location),
28747 (gst_filesrc_set_property), (gst_filesrc_get_property),
28748 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28749 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28750 (gst_filesrc_create_read), (gst_filesrc_create),
28751 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28752 * gst/elements/gstfilesrc.h:
28753 * gst/gstelement.c: (gst_element_get_state_func),
28754 (gst_element_lost_state), (gst_element_pads_activate):
28755 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28756 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28757 (gst_pad_pull_range):
28759 More work on the generic source base class, implement seeking,
28761 Make filesrc extend the base source class.
28762 Added gst_pad_set_checkgetrange_function to GstPad.
28764 2005-04-06 Andy Wingo <wingo@pobox.com>
28766 * pkgconfig/gstreamer-base.pc.in:
28767 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28769 * pkgconfig/Makefile.am:
28770 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28772 2005-04-04 Wim Taymans <wim@fluendo.com>
28774 * gst/base/Makefile.am:
28776 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28777 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28778 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28779 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28780 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28781 (gst_basesrc_base_init), (gst_basesrc_class_init),
28782 (gst_basesrc_init), (gst_basesrc_get_formats),
28783 (gst_basesrc_get_query_types), (gst_basesrc_query),
28784 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28785 (gst_basesrc_set_property), (gst_basesrc_get_property),
28786 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28787 (gst_basesrc_loop), (gst_basesrc_activate),
28788 (gst_basesrc_change_state):
28789 * gst/base/gstbasesrc.h:
28790 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28791 (gst_fakesrc_class_init), (gst_fakesrc_init),
28792 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28793 (gst_fakesrc_get_property), (gst_fakesrc_create):
28794 * gst/elements/gstfakesrc.h:
28795 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28796 (gst_filesrc_open_file), (gst_filesrc_loop),
28797 (gst_filesrc_activate), (filesrc_find_peek),
28798 (gst_filesrc_type_find):
28799 Made base source class, make fakesrc extend it.
28800 Add comments to basesink class.
28801 Some filesrc cleanup.
28803 2005-03-31 David Schleef <ds@schleef.org>
28805 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28806 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28807 expected to link against libgstreamer.
28808 * gst/base/Makefile.am: link against libgstreamer
28809 * gst/elements/Makefile.am: same
28811 2005-03-31 Andy Wingo <wingo@pobox.com>
28813 * tests/instantiate/Makefile.am:
28814 * tests/instantiate/caps.c: Add test to test speed of caps copy
28817 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28818 GMemChunk to be fair.
28820 * gst/gsttrashstack.h: Remove warning about using the fallback
28821 trash stack implementation, it's still faster than malloc.
28823 2005-03-30 Andy Wingo <wingo@pobox.com>
28825 * tests/complexity.c: Add a copyright.
28827 2005-03-31 Wim Taymans <wim@fluendo.com>
28829 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28830 (gst_base_transform_class_init), (gst_base_transform_init),
28831 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28832 (gst_base_transform_get_property),
28833 (gst_base_transform_sink_activate),
28834 (gst_base_transform_src_activate),
28835 (gst_base_transform_change_state):
28836 * gst/base/gstbasetransform.h:
28837 * gst/elements/gstidentity.c: (gst_identity_class_init),
28838 (gst_identity_event), (gst_identity_check_perfect),
28839 (gst_identity_transform), (gst_identity_start),
28840 (gst_identity_stop):
28841 Added start/stop methods to transform base class so subclasses
28842 don't need to deal with state changes even.
28844 2005-03-31 Wim Taymans <wim@fluendo.com>
28846 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28847 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28849 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28850 (gst_pad_pull_range):
28851 Added rate to the discont event to prepare for variable speed
28852 and reverse playback.
28854 2005-03-29 David Schleef <ds@schleef.org>
28857 * testsuite/trigger/Makefile.am:
28858 * testsuite/trigger/trigger.c: A little example program to show
28859 how trigger-based elements can work.
28861 2005-03-29 Wim Taymans <wim@fluendo.com>
28863 * gst/base/Makefile.am:
28865 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28866 (gst_basesink_base_init), (gst_basesink_class_init),
28867 (gst_basesink_pad_getcaps), (gst_basesink_init),
28868 (gst_basesink_activate), (gst_basesink_change_state):
28869 * gst/base/gstbasesink.h:
28870 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28871 (gst_base_transform_base_init), (gst_base_transform_finalize),
28872 (gst_base_transform_class_init), (gst_base_transform_init),
28873 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28874 (gst_base_transform_event), (gst_base_transform_getrange),
28875 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28876 (gst_base_transform_set_property),
28877 (gst_base_transform_get_property),
28878 (gst_base_transform_sink_activate),
28879 (gst_base_transform_src_activate),
28880 (gst_base_transform_change_state):
28881 * gst/base/gstbasetransform.h:
28882 * gst/elements/gstidentity.c: (gst_identity_finalize),
28883 (gst_identity_class_init), (gst_identity_init),
28884 (gst_identity_event), (gst_identity_check_perfect),
28885 (gst_identity_transform), (gst_identity_set_property),
28886 (gst_identity_get_property), (gst_identity_change_state):
28887 * gst/elements/gstidentity.h:
28888 * gst/gstelement.c: (gst_element_get_state_func),
28889 (gst_element_lost_state), (gst_element_pads_activate):
28890 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28891 (gst_pad_check_pull_range), (gst_pad_pull_range):
28893 Simplify pad activation.
28894 Added function to check if pull_range can be performed.
28895 Error out when pulling inactive or flushing pads.
28896 Removed const from refcounted types as it does not make sense.
28897 Simplify pad templates in basesink
28898 Added base class for simple 1-to-1 transforms.
28899 Make identity subclass the base transform.
28901 2005-03-29 Andy Wingo <wingo@pobox.com>
28903 * docs/libs/gstreamer-libs-overrides.txt:
28904 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28905 really don't understand what's going on, but like whatever. I want
28908 * docs/gst/Makefile.am:
28909 * docs/libs/Makefile.am: Dist the overrides files.
28911 * check/Makefile.am (clean-local): Remove .libs directories.
28913 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28914 elements to EXTRA_DIST, so po/ files are happy.
28916 * po/POTFILES.in: Er, remove it here.
28918 * po/POTFILES: Remove gstspider.c.
28920 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28922 * docs/libs/gstreamer-libs-docs.sgml:
28923 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28926 * tests/complexity.c (main): Set the length of the preroll queue
28927 on the sinks to prevent a lockup.
28929 * libs/gst/dataprotocol/Makefile.am:
28930 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28931 the same as the one in check/gst-libs/gdp.c.
28933 * po/, docs/gst/: Commit automatic changes to docs and po files.
28935 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28936 the versioned libgstbase.
28938 * check/Makefile.am: Depend on an unversioned gst-register, seems
28939 to make autoconf happier.
28941 * gst/base/Makefile.am: Make libgstbase a versioned lib.
28943 2005-03-28 Wim Taymans <wim@fluendo.com>
28946 * docs/design/part-gstelement.txt:
28947 * docs/design/part-negotiation.txt:
28948 * docs/design/part-preroll.txt:
28949 * docs/design/part-scheduling.txt:
28950 * docs/design/part-states.txt:
28952 * gst/base/Makefile.am:
28954 * gst/base/gstbasesink.c: (gst_basesink_get_template),
28955 (gst_basesink_base_init), (gst_basesink_class_init),
28956 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28957 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28958 (gst_basesink_set_pad_functions),
28959 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28960 (gst_basesink_set_property), (gst_basesink_get_property),
28961 (gst_base_sink_get_template), (gst_base_sink_get_caps),
28962 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28963 (gst_basesink_preroll_queue_push),
28964 (gst_basesink_preroll_queue_empty),
28965 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28966 (gst_basesink_event), (gst_basesink_get_times),
28967 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28968 (gst_basesink_chain_unlocked), (gst_basesink_chain),
28969 (gst_basesink_loop), (gst_basesink_activate),
28970 (gst_basesink_change_state):
28971 * gst/base/gstbasesink.h:
28972 * gst/elements/Makefile.am:
28973 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28974 (gst_fakesink_class_init), (gst_fakesink_init),
28975 (gst_fakesink_set_property), (gst_fakesink_get_property),
28976 (gst_fakesink_get_times), (gst_fakesink_event),
28977 (gst_fakesink_preroll), (gst_fakesink_render),
28978 (gst_fakesink_change_state):
28979 * gst/elements/gstfakesink.h:
28980 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28981 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28982 * gst/gstelement.c: (gst_element_add_pad),
28983 (gst_element_get_state_func), (gst_element_abort_state),
28984 (gst_element_commit_state), (gst_element_lost_state),
28985 (gst_element_set_state), (gst_element_pads_activate):
28986 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28987 * gst/gstpipeline.c: (gst_pipeline_send_event),
28988 (gst_pipeline_change_state):
28989 Added state change code.
28990 Added/updated docs.
28991 Added sink base class, make fakesink extend the base class.
28992 Small cleanups in GstPipeline.
28994 2005-03-26 David Schleef <ds@schleef.org>
28996 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
28997 is broken and should be implemented in a different library.
28998 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
28999 * gst/gst.h: remove gstcpu.h
29000 * gst/gstcpu.c: remove
29001 * gst/gstcpu.h: remove
29002 * gst/Makefile.am.future: Remove this file. It's ancient.
29004 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29006 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29007 (gst_bin_send_event):
29008 Add default event/set_manager handlers. The set_manager handler
29009 takes care that the manager is distributed over kids that were
29010 already in the bin before the manager was set. The event handler
29011 is a utility virtual function that sends the event over all sinks,
29012 so that gst_element_send_event (bin, event); has the expected
29014 * gst/gstpad.c: (gst_pad_event_default):
29015 Re-install default event handling for discontinuities, so that
29016 seeking works without requiring hacks in applications or extra
29018 * gst/gstpipeline.c: (gst_pipeline_class_init),
29019 (gst_pipeline_send_event):
29020 Half hack, half utility: set a pipeline to PAUSED for seek events,
29021 since that is the only way we can guarantee a/v sync. Means that
29022 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29023 and it "just works".
29025 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29027 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29028 Lock/unlock mismatch.
29030 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29032 * docs/faq/gst-uninstalled:
29033 add gst-plugins-base
29034 * docs/gst/Makefile.am:
29035 don't error out until docs are fixed
29036 * docs/gst/gstreamer.types:
29039 2005-03-22 Wim Taymans <wim@fluendo.com>
29041 * check/Makefile.am:
29042 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29043 * gst/gststructure.c: (gst_structure_set_valist),
29044 (gst_structure_copy_conditional):
29045 Activated more tests.
29046 Added message test.
29047 Added G_TYPE_POINTER to GstStructure.
29050 2005-03-22 Wim Taymans <wim@fluendo.com>
29052 * docs/design/part-TODO.txt:
29053 * docs/design/part-events.txt:
29054 * docs/design/part-gstbin.txt:
29055 * docs/design/part-gstbus.txt:
29056 * docs/design/part-gstpipeline.txt:
29057 * docs/design/part-messages.txt:
29059 * gst/gstmessage.c:
29062 2005-03-21 Wim Taymans <wim@fluendo.com>
29064 * gst/gstbus.c: (gst_bus_post):
29065 Fix copy-and-paste error.
29067 2005-03-21 Wim Taymans <wim@fluendo.com>
29069 * check/Makefile.am:
29071 * gst/elements/Makefile.am:
29072 * gst/elements/gstelements.c:
29073 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29074 (gst_fakesink_event), (gst_fakesink_chain):
29075 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29076 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29077 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29078 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29079 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29080 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29081 (gst_fakesrc_loop), (gst_fakesrc_activate),
29082 (gst_fakesrc_change_state):
29083 * gst/elements/gstfakesrc.h:
29084 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29085 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29086 (gst_filesrc_open_file), (gst_filesrc_loop),
29087 (gst_filesrc_activate), (gst_filesrc_change_state),
29088 (filesrc_find_peek), (filesrc_find_suggest),
29089 (gst_filesrc_type_find):
29090 * gst/elements/gstidentity.c: (gst_identity_finalize),
29091 (gst_identity_class_init), (gst_identity_init),
29092 (gst_identity_proxy_getcaps), (identity_queue_push),
29093 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29094 (gst_identity_getrange), (gst_identity_chain),
29095 (gst_identity_sink_loop), (gst_identity_src_loop),
29096 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29097 (gst_identity_set_property), (gst_identity_get_property),
29098 (gst_identity_change_state):
29099 * gst/elements/gstidentity.h:
29100 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29101 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29102 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29103 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29104 (gst_tee_sink_activate):
29105 * gst/elements/gsttee.h:
29106 * gst/gst.c: (gst_register_core_elements), (init_post):
29108 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29109 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29110 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29111 (gst_bin_change_state):
29113 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29114 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29115 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29116 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29117 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29118 (bus_watch_callback), (bus_watch_destroy),
29119 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29120 (poll_timeout), (gst_bus_poll):
29124 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29125 (gst_element_post_message), (gst_element_message_full),
29126 (gst_element_get_state_func), (gst_element_get_state),
29127 (gst_element_abort_state), (gst_element_commit_state),
29128 (gst_element_lost_state), (gst_element_set_state),
29129 (gst_element_pads_activate), (gst_element_change_state),
29130 (gst_element_dispose), (gst_element_set_manager_func),
29131 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29132 (gst_element_set_manager), (gst_element_get_manager),
29133 (gst_element_set_bus), (gst_element_get_bus),
29134 (gst_element_set_scheduler), (gst_element_get_scheduler):
29135 * gst/gstelement.h:
29136 * gst/gstevent.c: (gst_event_new_segment_seek),
29137 (gst_event_new_flush):
29139 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29140 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29141 (gst_message_new_eos), (gst_message_new_error),
29142 (gst_message_new_warning), (gst_message_new_tag),
29143 (gst_message_new_state_changed), (gst_message_new_application),
29144 (gst_message_get_structure), (gst_message_parse_tag),
29145 (gst_message_parse_state_changed), (gst_message_parse_error),
29146 (gst_message_parse_warning):
29147 * gst/gstmessage.h:
29148 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29149 (gst_real_pad_set_property), (gst_pad_set_active),
29150 (gst_pad_is_active), (gst_pad_set_blocked_async),
29151 (gst_pad_set_blocked), (gst_pad_is_blocked),
29152 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29153 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29154 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29155 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29156 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29157 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29158 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29159 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29160 (gst_pad_set_caps), (gst_pad_configure_sink),
29161 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29162 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29163 (gst_real_pad_dispose), (gst_real_pad_finalize),
29164 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29165 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29166 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29168 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29169 (pipeline_bus_handler), (gst_pipeline_change_state),
29170 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29171 * gst/gstpipeline.h:
29173 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29174 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29175 (gst_queue_link_src), (gst_queue_bufferalloc),
29176 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29177 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29178 (gst_queue_loop), (gst_queue_handle_src_event),
29179 (gst_queue_handle_src_query), (gst_queue_src_activate),
29180 (gst_queue_change_state):
29182 * gst/gstscheduler.c: (gst_scheduler_init),
29183 (gst_scheduler_dispose), (gst_scheduler_create_task),
29184 (gst_scheduler_factory_create):
29185 * gst/gstscheduler.h:
29186 * gst/gststructure.c: (gst_structure_get_type),
29187 (gst_structure_copy_conditional):
29188 * gst/gststructure.h:
29189 * gst/gsttaginterface.h:
29190 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29191 (gst_task_init), (gst_task_dispose), (gst_task_create),
29192 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29198 * gst/schedulers/Makefile.am:
29199 * gst/schedulers/cothreads_compat.h:
29200 * gst/schedulers/entryscheduler.c:
29201 * gst/schedulers/faircothreads.c:
29202 * gst/schedulers/faircothreads.h:
29203 * gst/schedulers/fairscheduler.c:
29204 * gst/schedulers/gstbasicscheduler.c:
29205 * gst/schedulers/gstoptimalscheduler.c:
29206 * gst/schedulers/gthread-cothreads.h:
29207 * gst/schedulers/threadscheduler.c:
29208 (gst_thread_scheduler_task_get_type),
29209 (gst_thread_scheduler_task_class_init),
29210 (gst_thread_scheduler_task_init),
29211 (gst_thread_scheduler_task_start),
29212 (gst_thread_scheduler_task_stop),
29213 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29214 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29215 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29216 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29218 * libs/gst/Makefile.am:
29219 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29220 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29221 (gst_file_pad_parent_set):
29222 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29223 (gst_dp_event_from_packet):
29224 * tests/complexity.c: (main):
29225 * tests/mass_elements.c: (main):
29226 * testsuite/states/locked.c: (message_received), (main):
29227 * testsuite/states/parent.c: (main):
29228 * tools/gst-inspect.c: (print_element_flag_info),
29229 (print_implementation_info), (print_pad_info):
29230 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29232 * tools/gst-md5sum.c: (event_loop), (main):
29233 * tools/gst-typefind.c: (main):
29234 * tools/gst-xmlinspect.c: (print_element_info):
29236 Added GstBus for mainloop integration.
29237 Added GstMessage for sending notifications on the bus.
29238 Added GstTask as an abstraction for pipeline entry points.
29240 Removed Schedulers.
29241 Simplified GstQueue for multithreaded core.
29242 Made _link threadsafe, removed old capsnego.
29243 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29244 Added pad blocking functions.
29245 Reworked scheduling functions in GstPad to prepare for
29246 scheduling updates soon.
29247 Moved events out of data stream.
29248 Simplified GstEvent types.
29249 Added return values to push/pull.
29250 Removed clocking from GstElement.
29251 Added prototypes for state change function for next merge.
29252 Removed iterate from bins and state change management.
29253 Fixed some elements, disabled others for now.
29254 Fixed -inspect and -launch.
29255 Added check for GstBus.
29257 2005-03-10 Wim Taymans <wim@fluendo.com>
29259 * docs/design/part-MT-refcounting.txt:
29260 * docs/design/part-clocks.txt:
29261 * docs/design/part-gstelement.txt:
29262 * docs/design/part-gstobject.txt:
29263 * docs/design/part-standards.txt:
29264 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29265 (gst_bin_remove_func), (gst_bin_remove):
29269 * testsuite/clock/clock1.c: (main):
29270 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29272 * testsuite/dlopen/loadgst.c: (do_test):
29273 * testsuite/refcounting/bin.c: (add_remove_test1),
29274 (add_remove_test2), (main):
29275 * testsuite/refcounting/element.c: (main):
29276 * testsuite/refcounting/element_pad.c: (main):
29277 * testsuite/refcounting/pad.c: (main):
29278 * tools/gst-launch.c: (sigint_handler_sighandler):
29279 * tools/gst-typefind.c: (main):
29281 Added doc about clock.
29282 removed gst_bin_iterate_recurse_up(), marked methods
29284 Fix more testsuites.
29286 2005-03-09 Wim Taymans <wim@fluendo.com>
29288 * gst/gstpad.c: (gst_pad_get_direction),
29289 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29290 (gst_pad_collect_valist):
29291 * testsuite/bins/interface.c: (main):
29292 * testsuite/caps/audioscale.c: (test_caps):
29293 * testsuite/caps/caps.c: (test1), (test2), (test3):
29294 * testsuite/caps/deserialize.c: (main):
29295 * testsuite/caps/enumcaps.c: (main):
29296 * testsuite/caps/filtercaps.c: (main):
29297 * testsuite/caps/intersect2.c: (main):
29298 * testsuite/caps/random.c: (main):
29299 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29300 * testsuite/caps/sets.c: (check_caps):
29301 * testsuite/caps/simplify.c: (check_caps), (main):
29302 * testsuite/caps/subtract.c: (check_caps):
29303 Fix _pad_get_direction wrt ghostpads.
29304 Fix caps testsuite.
29306 2005-03-09 Wim Taymans <wim@fluendo.com>
29308 * check/Makefile.am:
29309 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29310 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29311 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29312 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29313 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29314 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29315 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29316 (bin_element_is_sink), (gst_bin_iterate_sinks),
29317 (gst_bin_iterate_all_by_interface):
29319 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29320 (gst_element_change_state), (gst_element_dispose),
29321 (gst_element_finalize), (gst_element_set_loop_function):
29322 * gst/gstelement.h:
29323 * gst/gstiterator.c: (find_custom_fold_func):
29324 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29325 (gst_pad_collectv), (gst_pad_collect_valist),
29326 (gst_pad_template_new):
29327 * gst/gstpipeline.c: (gst_pipeline_class_init),
29328 (gst_pipeline_dispose), (gst_pipeline_set_property),
29329 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29330 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29331 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29333 * gst/schedulers/entryscheduler.c:
29334 * gst/schedulers/gstbasicscheduler.c:
29335 (gst_basic_scheduler_cothreaded_chain),
29336 (gst_basic_scheduler_chain_add_element):
29337 * testsuite/bins/interface.c: (main):
29339 Added GstSystemClock test.
29340 Implemented clock distribution code in GstBin.
29341 Implemented iterate sinks method for future use.
29342 Rearranged gstelement.h
29343 Fix GstIterator comparison bug.
29344 Moved some code to GstPipeline, mostly clocking related.
29346 2005-03-09 Wim Taymans <wim@fluendo.com>
29349 * gst/gst_private.h:
29350 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29351 (gst_bin_remove_func), (gst_bin_remove),
29352 (gst_bin_get_by_name_recurse_up):
29353 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29354 (gst_clock_id_compare_func), (gst_clock_id_wait),
29355 (gst_clock_id_wait_async), (gst_clock_init),
29356 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29357 * gst/gstelement.h:
29358 * gst/gstinfo.c: (_gst_debug_init):
29360 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29361 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29363 Bump version number, we're now 0.9.0
29364 Add future debugging category.
29365 Fix NULL _unref() in _get_by_name_recurse_up
29366 Rearrange gstpad.h.
29369 2005-03-08 Wim Taymans <wim@fluendo.com>
29371 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29372 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29373 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29374 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29375 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29376 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29377 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29378 * gst/elements/gstidentity.c: (gst_identity_class_init):
29379 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29380 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29381 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29382 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29383 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29385 * gst/gstelement.c: (gst_element_class_init),
29386 (gst_element_base_class_init), (gst_element_init),
29387 (gst_element_get_random_pad), (gst_element_wait_state_change),
29388 (gst_element_change_state), (gst_element_dispose),
29389 (gst_element_finalize), (gst_element_set_loop_function):
29390 * gst/gstelement.h:
29391 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29392 * gst/gstthread.c: (gst_thread_class_init),
29393 (gst_thread_release_children_locks), (gst_thread_change_state):
29394 * gst/schedulers/gstbasicscheduler.c:
29395 (gst_basic_scheduler_loopfunc_wrapper),
29396 (gst_basic_scheduler_chain_wrapper),
29397 (gst_basic_scheduler_src_wrapper),
29398 (gst_basic_scheduler_remove_element):
29399 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29400 Remove threadsafe properties. Fix elements because GObject
29401 complains when installing a property before declaring a
29402 set/get_property handler.
29403 Rearrange gstelement.h file, use STATE macros for state locks.
29404 Free mutexes in the finalize method instead of dispose.
29406 2005-03-08 Wim Taymans <wim@fluendo.com>
29408 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29409 * gst/gstthread.c: (gst_thread_release_children_locks):
29410 Added parentage check.
29411 Fix build og GstThread again.
29413 2005-03-08 Wim Taymans <wim@fluendo.com>
29415 * docs/design/part-MT-refcounting.txt:
29416 * docs/design/part-conventions.txt:
29417 * docs/design/part-gstobject.txt:
29418 * docs/design/part-relations.txt:
29419 * docs/design/part-standards.txt:
29420 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29421 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29422 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29423 (gst_bin_iterate_all_by_interface):
29426 * gst/gstelement.c: (gst_element_class_init),
29427 (gst_element_change_state), (gst_element_set_loop_function):
29428 * gst/gstelement.h:
29429 * gst/gstiterator.c:
29430 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29431 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29432 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29433 (gst_object_set_parent), (gst_object_unparent),
29434 (gst_object_check_uniqueness):
29436 Docs updates, clean up some headers.
29438 2005-03-07 Wim Taymans <wim@fluendo.com>
29440 * check/.cvsignore:
29441 * check/Makefile.am:
29442 * check/gst-libs/.cvsignore:
29443 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29444 * check/gst/.cvsignore:
29445 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29446 (START_TEST), (gstbus_suite), (main):
29447 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29448 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29449 (gst_data_suite), (main):
29450 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29451 (add_fold_func), (gstiterator_suite), (main):
29452 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29453 (thread_name_object), (thread_name_object_default),
29454 (gst_object_name_compare), (gst_object_suite), (main):
29455 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29456 (gst_pad_suite), (main):
29457 * check/gstcheck.c: (gst_check_log_message_func),
29458 (gst_check_log_critical_func), (gst_check_init):
29459 * check/gstcheck.h:
29460 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29461 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29464 2005-03-07 Wim Taymans <wim@fluendo.com>
29466 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29467 (gst_list_iterator_next), (gst_list_iterator_resync),
29468 (gst_list_iterator_free), (gst_iterator_new_list),
29469 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29470 (gst_iterator_free), (gst_iterator_push), (filter_next),
29471 (filter_resync), (filter_uninit), (filter_free),
29472 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29473 (gst_iterator_foreach), (find_custom_fold_func),
29474 (gst_iterator_find_custom):
29475 * gst/gstiterator.h:
29476 Added missing files.
29478 2005-03-07 Wim Taymans <wim@fluendo.com>
29482 * docs/design/part-MT-refcounting.txt:
29483 * docs/design/part-conventions.txt:
29484 * docs/design/part-gstobject.txt:
29485 * docs/design/part-relations.txt:
29486 * examples/mixer/mixer.c: (main):
29487 * examples/thread/thread.c: (eos), (main):
29489 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29490 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29491 (gst_spider_plug_from_srcpad):
29492 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29493 (gst_spider_identity_change_state),
29494 (gst_spider_identity_sink_loop_type_finding):
29495 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29496 * gst/elements/gstidentity.c: (gst_identity_init):
29497 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29498 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29499 * gst/elements/gsttypefindelement.c: (free_entry):
29502 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29503 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29504 (gst_bin_set_index), (gst_bin_set_element_sched),
29505 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29506 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29507 (gst_bin_iterate_elements), (iterate_child_recurse),
29508 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29509 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29510 (compare_interface), (gst_bin_get_by_interface),
29511 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29513 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29514 (gst_buffer_default_free), (gst_buffer_default_copy),
29515 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29516 (gst_buffer_create_sub):
29518 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29519 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29520 (gst_caps_unref), (gst_static_caps_get),
29521 (gst_caps_remove_and_get_structure), (gst_caps_append),
29522 (gst_caps_append_structure), (gst_caps_remove_structure),
29523 (gst_caps_copy_nth), (gst_caps_set_simple),
29524 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29525 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29526 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29527 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29528 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29529 (gst_caps_structure_figure_out_union),
29530 (gst_caps_switch_structures), (gst_caps_do_simplify),
29531 (gst_caps_replace), (gst_caps_from_string),
29532 (gst_caps_copy_conditional):
29534 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29535 (_gst_clock_id_free), (gst_clock_id_unref),
29536 (gst_clock_id_compare_func), (gst_clock_id_wait),
29537 (gst_clock_id_wait_async), (gst_clock_class_init),
29538 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29539 (gst_clock_get_time), (gst_clock_set_time_adjust),
29540 (gst_clock_set_property), (gst_clock_get_property):
29543 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29544 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29546 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29547 (gst_element_requires_clock), (gst_element_provides_clock),
29548 (gst_element_set_clock), (gst_element_clock_wait),
29549 (gst_element_wait), (gst_element_set_time_delay),
29550 (gst_element_is_indexable), (gst_element_add_pad),
29551 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29552 (pad_compare_name), (gst_element_get_static_pad),
29553 (gst_element_request_pad), (gst_element_get_request_pad),
29554 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29555 (gst_element_class_get_pad_template_list),
29556 (gst_element_class_get_pad_template), (gst_element_error_func),
29557 (gst_element_get_random_pad), (gst_element_get_event_masks),
29558 (gst_element_send_event), (gst_element_seek),
29559 (gst_element_get_query_types), (gst_element_query),
29560 (gst_element_get_formats), (gst_element_convert),
29561 (gst_element_is_locked_state), (gst_element_set_locked_state),
29562 (gst_element_sync_state_with_parent), (gst_element_change_state),
29563 (gst_element_finalize), (gst_element_yield),
29564 (gst_element_interrupt), (gst_element_set_scheduler),
29565 (gst_element_get_scheduler), (gst_element_set_loop_function):
29566 * gst/gstelement.h:
29568 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29569 (gst_format_get_by_nick), (gst_format_get_details),
29570 (gst_format_iterate_definitions):
29572 * gst/gstindex.c: (gst_index_gtype_resolver):
29575 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29576 (gst_mem_chunk_free):
29577 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29578 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29579 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29580 (gst_object_dispatch_properties_changed),
29581 (gst_object_set_name_default), (gst_object_set_name),
29582 (gst_object_get_name), (gst_object_set_name_prefix),
29583 (gst_object_get_name_prefix), (gst_object_set_parent),
29584 (gst_object_get_parent), (gst_object_unparent),
29585 (gst_object_check_uniqueness), (gst_object_save_thyself),
29586 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29587 (gst_object_set_property), (gst_object_get_property),
29588 (gst_object_get_path_string):
29590 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29591 (gst_real_pad_init), (gst_real_pad_get_property),
29592 (gst_pad_custom_new), (gst_pad_get_direction),
29593 (gst_pad_set_active), (gst_pad_is_active),
29594 (gst_pad_set_event_function), (gst_pad_is_linked),
29595 (gst_pad_link_free), (gst_pad_link_intersect),
29596 (gst_pad_link_fixate), (gst_pad_set_caps),
29597 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29598 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29599 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29600 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29601 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29602 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29603 (gst_pad_realize), (gst_pad_get_allowed_caps),
29604 (gst_real_pad_dispose), (gst_real_pad_finalize),
29605 (gst_pad_collectv), (gst_pad_collect_valist),
29606 (gst_pad_template_dispose), (gst_pad_template_new),
29607 (gst_pad_get_internal_links):
29609 * gst/gstpipeline.c: (gst_pipeline_dispose),
29610 (gst_pipeline_change_state):
29611 * gst/gstpipeline.h:
29613 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29614 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29615 * gst/gstpluginfeature.h:
29616 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29617 * gst/gstquery.c: (_gst_query_type_initialize),
29618 (gst_query_type_register), (gst_query_type_get_by_nick),
29619 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29621 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29622 * gst/gstscheduler.c: (gst_scheduler_add_element),
29623 (gst_scheduler_factory_create):
29624 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29625 (gst_structure_free), (gst_structure_set_name),
29626 (gst_structure_id_set_value), (gst_structure_set_value),
29627 (gst_structure_set_valist), (gst_structure_remove_field),
29628 (gst_structure_remove_fields),
29629 (gst_structure_remove_fields_valist),
29630 (gst_structure_remove_all_fields), (gst_structure_foreach),
29631 (gst_structure_map_in_place),
29632 (gst_caps_structure_fixate_field_nearest_int),
29633 (gst_caps_structure_fixate_field_nearest_double):
29634 * gst/gststructure.h:
29635 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29636 (gst_system_clock_init), (gst_system_clock_dispose),
29637 (gst_system_clock_async_thread),
29638 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29639 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29640 * gst/gstsystemclock.h:
29641 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29642 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29643 * gst/gsttaginterface.c:
29644 * gst/gstthread.c: (gst_thread_dispose),
29645 (gst_thread_release_children_locks), (gst_thread_change_state),
29646 (gst_thread_main_loop):
29647 * gst/gsttrashstack.h:
29648 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29650 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29651 (gst_element_request_pad), (gst_element_get_pad_from_template),
29652 (gst_element_request_compatible_pad),
29653 (gst_element_get_compatible_pad_filtered),
29654 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29655 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29656 (gst_element_link_many), (gst_element_link),
29657 (gst_element_link_pads), (gst_element_unlink_pads),
29658 (gst_element_unlink_many), (gst_element_unlink),
29659 (gst_pad_can_link_filtered), (gst_pad_can_link),
29660 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29661 (gst_object_default_error), (gst_bin_add_many),
29662 (gst_bin_remove_many), (gst_element_populate_std_props),
29663 (gst_element_class_install_std_props), (gst_buffer_merge),
29664 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29665 (link_fold_func), (gst_pad_proxy_setcaps):
29667 * gst/gstvalue.c: (gst_value_deserialize_string):
29668 * gst/parse/grammar.y:
29669 * gst/schedulers/gstbasicscheduler.c:
29670 (gst_basic_scheduler_cothreaded_chain),
29671 (gst_basic_scheduler_chain_recursive_add),
29672 (gst_basic_scheduler_pad_link):
29673 * gst/schedulers/gstoptimalscheduler.c:
29674 (get_group_schedule_function),
29675 (gst_opt_scheduler_state_transition),
29676 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29677 * libs/gst/bytestream/bytestream.c:
29678 * libs/gst/dataprotocol/dataprotocol.c:
29679 (gst_dp_header_from_buffer):
29682 * tests/threadstate/threadstate2.c: (eos):
29683 * tools/gst-compprep.c: (main):
29684 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29685 (print_pad_info), (print_children_info):
29686 * tools/gst-launch.c: (idle_func), (main):
29687 * tools/gst-md5sum.c: (idle_func), (main):
29688 * tools/gst-xmlinspect.c: (print_element_info):
29689 First THREADED backport attempt, focusing on adding locks and
29690 making sure the API is threadsafe. Needs more work. More docs
29693 2005-02-24 Andy Wingo <wingo@pobox.com>
29695 * tests/bench-complexity.scm:
29696 * tests/complexity.gnuplot: New files, good for running complexity
29699 * tests/Makefile.am:
29700 * tests/complexity.c: New test, sets up N elements, at each level
29701 teeing into M streams per element. Eeeenteresting.
29703 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29704 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29705 running bench-mass_elements.scm.
29707 * tests/bench-mass_elements.scm: New script, runs mass_elements
29708 for various numbers of identities, outputting the results to a
29709 file. Requires guile 1.6. Just for testing.
29711 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29713 * gst/schedulers/fairscheduler.c:
29714 compile with debug disabled
29716 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29719 hunting season on 0.9 is now OPEN