1 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
3 * docs/design/draft-framestep.txt:
4 Some ideas about a framestep API
6 * docs/design/part-element-transform.txt:
7 Start design and use cases for basetransform in order to get it
10 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
13 Make it known that gst_bus_poll() is pure evil (fixes #538810).
15 2008-06-20 Stefan Kost <ensonic@users.sf.net>
17 * plugins/elements/gstcapsfilter.c:
18 * plugins/elements/gstfakesink.c:
19 * plugins/elements/gstfakesrc.c:
20 * plugins/elements/gstfdsink.c:
21 * plugins/elements/gstfdsrc.c:
22 * plugins/elements/gstfilesink.c:
23 * plugins/elements/gstfilesrc.c:
24 * plugins/elements/gstidentity.c:
25 * plugins/elements/gstmultiqueue.c:
26 * plugins/elements/gstqueue.c:
27 * plugins/elements/gsttee.c:
28 * plugins/elements/gsttypefindelement.c:
29 Remove short_description. Add basic docs for gsttypefindelement.
30 Simplify markup for fakesrc/fdsrc.
32 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
34 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
37 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
39 Patch by: joel larsson <tilljoel at gmail dot com>
41 * docs/plugins/gstreamer-plugins.args:
42 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
43 (gst_fd_src_init), (gst_fd_src_update_fd),
44 (gst_fd_src_set_property), (gst_fd_src_get_property),
46 * plugins/elements/gstfdsrc.h:
47 Add timeout property like udpsrc. Fixes #538628.
48 Add some more docs and example pipelines.
50 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
52 * docs/libs/gstreamer-libs-sections.txt:
53 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
54 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
55 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
56 (gst_base_sink_do_sync):
57 * libs/gst/base/gstbasesink.h:
58 * win32/common/libgstbase.def:
59 Add method to allow sinks to specify additional delay between the sync
60 times and the actual rendering of the data.
61 API: gst_base_sink_set_render_delay()
62 API: gst_base_sink_get_render_delay()
64 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
67 Bump version number back to dev -> 0.10.20.1
69 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
71 * docs/gst/gstreamer-sections.txt:
72 * gst/gsttaglist.c: (_gst_tag_initialize):
74 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
77 2008-06-20 Stefan Kost <ensonic@users.sf.net>
79 * libs/gst/controller/gstcontroller.c:
80 Revert one change, that make ret value possible uninitialized.
82 2008-06-20 Stefan Kost <ensonic@users.sf.net>
84 * libs/gst/controller/gstcontroller.c:
85 Use freeze/thaw notify to sync notify emission a bit (its also more
86 efficient). Move debug output to LOG (is called a lot in a loop).
87 Always unset g_values if the have been initialized.
89 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
91 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
92 (gst_base_sink_wait_eos), (gst_base_sink_event):
93 If we have not seen a buffer before EOS, use the segment values to
94 report the current position instead of invalid positions.
96 2008-06-20 Stefan Kost <ensonic@users.sf.net>
98 * docs/plugins/tmpl/.cvsignore:
99 * tests/check/gst/.cvsignore:
102 2008-06-20 Stefan Kost <ensonic@users.sf.net>
104 * libs/gst/controller/gstinterpolation.c:
105 * libs/gst/controller/gstinterpolationcontrolsource.c:
106 * tests/check/libs/controller.c:
107 Rewrite handling of default values. Fix overflow with unsigned types
108 in linear interpolation. Remove now obsolete _first_value() function.
109 Add more tests. Fixes #538201.
111 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
113 * libs/gst/base/gstbasetransform.c:
114 (gst_base_transform_class_init), (gst_base_transform_init),
115 (gst_base_transform_transform_caps),
116 (gst_base_transform_prepare_output_buffer):
118 When a buffer is writable, its metadata is also writable so we don't
119 need to subbuffer (which then makes the buffer not-writable anymore).
121 === release 0.10.20 ===
123 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
126 releasing 0.10.20, "You Crazy Diamond"
128 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
131 0.10.19.3 pre-release
133 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
137 Rename DATADIR to GST_DATADIR to avoid build problems
138 on win32. Patch By: David Schleef <ds@schleef.org>
141 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
144 Explicitely link with -ldl if dladdr() is found there. Before it was
145 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
146 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
148 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
150 * gst/gsterror.c: (_gst_stream_errors_init):
151 Fix typo (spotted by Fabricio Godoy, #536723).
153 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
156 0.10.19.2 pre-release
158 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
160 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
161 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
163 Make sure we don't generate invalid QoS messages.
165 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
167 * gst/gstevent.c: (gst_event_new_qos):
168 Add some assert and docs for invalid input to the qos function.
170 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
172 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
173 (gst_base_sink_get_position):
174 The reported position must always be smaller than the last seen
175 timestamps (or timestamp + duration for reverse).
177 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
179 Patch by: Rob Bradford <rob at robster dot org dot uk>
181 * gst/gstregistry.c: (gst_registry_scan_path_level):
182 Don't recurse into .debug directories as some distros install
183 the debugging symbols next to the plugins in .debug directories
184 and dlopen() crashes on them sometimes. Fixes bug #508070.
186 Add FIXME for 0.11 to not recurse into directories at all because
187 it's very inconsistent to the behaviour of other PATH environment
190 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
192 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
193 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
194 Fix position query range checks in reverse playback.
196 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
200 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
201 clear of the reference to the resulting pad must be released later
202 or not, resulting in possible leaks. Fixes bug #533865.
204 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
206 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
208 * gst/gstelementfactory.c:
209 Small doc fix. Fixes #535285.
211 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
213 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
215 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
216 (gst_base_src_get_range), (gst_base_src_pad_get_range),
217 (gst_base_src_loop), (gst_base_src_set_flushing),
218 (gst_base_src_change_state):
219 Make sending an EOS event to the basesrc non-blocking even if the
220 implementation does blocking waits in the create function. This is done
221 by unlocking the create function when EOS is sent.
224 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
226 * tools/gst-inspect.c: (print_element_properties_info):
227 If possible print the element type of GValueArray properties.
229 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
232 Remove an unused field from the private GstListIterator struct.
234 2008-05-27 Stefan Kost <ensonic@users.sf.net>
236 * libs/gst/controller/gstcontroller.c:
237 Add parameter guards.
239 2008-05-27 Stefan Kost <ensonic@users.sf.net>
241 * tests/check/gst/gstpipeline.c:
242 Revert test change and add comment why it should not work.
244 2008-05-27 Stefan Kost <ensonic@users.sf.net>
246 * tests/check/gst/gstpipeline.c:
247 Extending the test a little to verify that we also get the NULL state-
250 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
252 * gst/gstpreset.c: (gst_preset_default_get_meta),
253 (gst_preset_get_preset_names), (gst_preset_get_property_names),
254 (gst_preset_load_preset), (gst_preset_save_preset),
255 (gst_preset_rename_preset), (gst_preset_delete_preset),
256 (gst_preset_set_meta):
257 Add Since: markers to docs blurbs.
259 * win32/common/libgstreamer.def:
260 Add recently-added API.
262 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
264 Patch by: Stefan Kost <ensonic@users.sf.net>
267 Add DATADIR for storing presets.
269 * docs/gst/gstreamer-docs.sgml:
270 * docs/gst/gstreamer-sections.txt:
271 * docs/gst/gstreamer.types.in:
272 Add GstPreset to docs.
276 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
277 (preset_open_and_parse_header), (preset_parse_version),
278 (preset_merge), (preset_get_keyfile),
279 (gst_preset_default_get_preset_names),
280 (gst_preset_default_get_property_names),
281 (gst_preset_default_load_preset),
282 (gst_preset_default_save_presets_file),
283 (gst_preset_default_save_preset),
284 (gst_preset_default_rename_preset),
285 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
286 (gst_preset_default_get_meta), (gst_preset_default_randomize),
287 (gst_preset_default_reset), (gst_preset_get_preset_names),
288 (gst_preset_get_property_names), (gst_preset_load_preset),
289 (gst_preset_save_preset), (gst_preset_rename_preset),
290 (gst_preset_delete_preset), (gst_preset_set_meta),
291 (gst_preset_get_meta), (gst_preset_class_init),
292 (gst_preset_base_init), (gst_preset_get_type):
294 Add GstPreset to core. Fixes #396779
296 * tests/check/Makefile.am:
297 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
298 (gst_preset_test_set_property), (gst_preset_test_class_init),
299 (gst_preset_test_base_init), (gst_preset_test_get_type),
300 (gst_preset_test_plugin_init), (GST_START_TEST),
301 (remove_preset_file), (test_setup), (test_teardown),
303 Add GstPreset unit tests.
305 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
307 * gst/gstpad.c: (gst_pad_event_default_dispatch):
308 The default event function on a sinkpad should return TRUE when
309 there are no internal links but should collect the return values from
310 the internal links otherwise.
312 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
314 * plugins/elements/gsttypefindelement.c:
315 (gst_type_find_element_src_event),
316 (gst_type_find_element_handle_event):
317 Use faster and safer _pad_push_event().
319 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
321 * docs/gst/gstreamer-sections.txt:
322 * gst/gstutils.c: (element_find_unlinked_pad),
323 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
325 API: add gst_bin_find_unlinked_pad()
326 API: deprecate gst_bin_find_unconnected_pad() (#401456)
328 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
334 Fixed a bunch of typos.
336 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
339 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
340 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
341 (gst_parse_bin_from_description_full):
343 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
345 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
347 * docs/pwg/advanced-tagging.xml:
348 Small docs update, can't be bothered to rewrite the nonsensical
351 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
354 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
356 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
358 * gst/parse/grammar.y:
359 Remove unneeded casts.
361 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
363 * gst/parse/grammar.y:
364 * tests/check/pipelines/parse-launch.c:
365 Get all missing elements from a parse launch string if possible
366 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
368 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
370 * tests/check/Makefile.am:
371 * tests/check/pipelines/parse-launch.c:
372 Add some unit tests for the new gst_parse_launch*_full() API.
373 (Exposes a previously-existing memory leak in the error code
374 path, so adding to VALGRIND_TO_FIX for now).
376 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
378 * docs/gst/gstreamer-sections.txt:
379 * gst/gst.c: (init_post):
380 * gst/gst_private.h: (_GstParseContext):
381 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
382 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
383 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
384 (gst_parse_launch_full):
385 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
386 (GstParseFlags), (GstParseContext):
387 * gst/gstutils.c: (gst_parse_bin_from_description),
388 (gst_parse_bin_from_description_full):
390 * gst/parse/grammar.y:
392 * win32/common/libgstreamer.def:
393 Add new gst_parse_*_full API (#528178):
394 API: gst_parse_launch_full()
395 API: gst_parse_launchv_full()
396 API: gst_parse_bin_from_description_full()
397 API: gst_parse_context_new()
398 API: gst_parse_context_free()
399 API: gst_parse_context_get_missing_elements()
401 2008-05-23 Stefan Kost <ensonic@users.sf.net>
403 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
405 * docs/faq/gst-uninstalled:
406 Also support ffmpeg in gst-uninstalled.
408 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
411 After discussion on IRC use the binary registry as default
412 but allow to disable it with --disable-binary-registry.
414 * win32/common/libgstreamer.def:
415 Add the two new symbols for the binary registry.
417 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
419 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
420 * gst/gstutils.c: (gst_parse_bin_from_description):
421 * gst/parse/grammar.y: (graph):
422 More guards against bad input; typo fix; some minor clean-ups.
424 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
426 Patch by: Sjoerd Simons <sjoerd at luon dot net>
428 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
429 If nothing else can be used, use the last buffer's start time as
430 the segment's last stop. Fixes bug #534258.
432 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
434 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
435 Move size sanity check to the right place: downstream may return
436 a buffer with a smaller size if the buffer caps are different than
437 the requested ones, as may happen when doing reverse negotiation.
439 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
441 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
442 (gst_file_sink_render):
443 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
444 (gst_file_src_start):
445 Small cleanups. Add note adbout g_fopen() on windows and why we don't
448 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
450 * gst/gstpad.c: (gst_pad_load_and_link):
451 * gst/gstutils.c: (gst_element_link_pads),
452 (gst_element_unlink_pads):
453 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
454 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
455 (gst_check_teardown_sink_pad),
456 (gst_check_element_push_buffer_list):
457 * tests/check/elements/fakesink.c: (GST_START_TEST):
458 * tests/check/elements/filesink.c:
459 * tests/check/elements/filesrc.c: (GST_START_TEST):
460 * tests/check/elements/multiqueue.c: (setup_multiqueue),
461 (mq_sinkpad_to_srcpad):
462 * tests/check/elements/tee.c: (GST_START_TEST):
463 * tests/check/generic/sinks.c: (GST_START_TEST):
464 * tests/check/gst/gstbin.c: (GST_START_TEST):
465 * tests/check/gst/gstevent.c: (GST_START_TEST):
466 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
467 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
468 * tests/check/gst/gstquery.c: (GST_START_TEST):
469 * tests/check/gst/gstutils.c: (GST_START_TEST):
470 * tests/check/libs/basesrc.c: (GST_START_TEST):
471 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
472 (gst_parse_test_element_change_state):
473 Don't use gst_element_get_pad().
475 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
478 Fix installing plugin documentation when gtk-doc is disabled.
480 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
482 * docs/manual/advanced-autoplugging.xml:
483 * docs/manual/basics-helloworld.xml:
484 * docs/manual/basics-pads.xml:
485 * docs/manual/highlevel-components.xml:
486 Avoid using a bad function in the example code.
488 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
490 * gst/gstclock.c: (gst_clock_set_calibration):
491 Fix debug of the new clock rate.
493 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
495 * win32/common/libgstbase.def:
496 Add gst_base_sink_wait_clock() to the exported symbols.
498 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
500 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
502 * libs/gst/base/gstbasetransform.c:
503 (gst_base_transform_sink_event):
504 Unref events that the GstBaseTransform::event vfunc didn't want to
505 have forwarded by the base class. Closes a leak in identity.
508 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
510 * docs/libs/gstreamer-libs-sections.txt:
511 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
512 * libs/gst/base/gstbasesink.h:
513 Expose a method that was previously used internally to synchronize
514 against the clock because it can be useful for subclasses too.
515 API: GstBaseSink::gst_base_sink_wait_clock()
517 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
519 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
520 Add sanity check to make sure we don't get smaller buffers
521 than requested (and fallback to normal buffer alloc if we do).
523 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
525 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
526 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
527 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
528 Refactor adjusting the running_time with latency and offset into a
530 When doing clipping, we still want to use the subclass get_times method,
531 just in case the DURATION or TIMESTAMP are not set.
533 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
535 * docs/gst/gstreamer-sections.txt:
536 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
538 * win32/common/libgstreamer.def:
539 API: add gst_type_find_suggest_simple(), #533740.
541 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
543 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
544 Use right error code when typefinding fails, so we can use
545 the default (translated) error messages.
547 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
549 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
550 (gst_base_src_start):
551 When the subclass did not set caps on outgoing buffers, configure the
552 caps we negotiated on the source pad.
553 When the typefind helper does not find caps, error out properly instead
554 of doing things with NULL caps.
556 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
559 Tabs to spaces, oh yes!
561 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
563 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
564 Add David's and Benjamin's tests for array intersection to the
565 unit test suite (#147931).
567 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
570 Document that gst_event_new_tag() and gst_event_new_navigation()
571 take ownership of the taglist/structure passed to them. (#533635).
573 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
576 Don't descend into the plugins dir if plugin docs building
580 Add a note about the new type:GTypeName syntax for the plugin
581 documentation .types file.
583 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
585 * gst/gstmessage.c: (gst_message_new_error),
586 (gst_message_new_warning), (gst_message_new_info):
588 Mark the debug string parameters as const. Fixes bug #533490.
590 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
592 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
593 Sort buffer cache list by end offsets. This makes sure that we don't
594 stop to search for a cached buffer that contains the requested data
596 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
597 more efficient. Fixes bug #459862.
599 2008-05-14 Stefan Kost <ensonic@users.sf.net>
602 Explain why we copy the list.
608 Add one debug-log statement to help tracing probelms with linking pads.
610 2008-05-12 Stefan Kost <ensonic@users.sf.net>
612 * tests/check/gst/gstinfo.c:
613 Add a test for removing the default log handler. Seems to fail under
616 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
618 * gst/gstpad.c: (gst_pad_peer_accept_caps):
619 Release pad lock before calling out to avoid a possible deadlock.
621 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
623 * gst/parse/grammar.y:
624 Remove unneeded value unset.
626 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
627 Add unit test for de/serialization of caps.
629 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
631 * plugins/elements/gstfakesink.c:
632 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
633 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
634 (gst_fake_src_class_init):
635 Use custom marshalers that take GstMiniObject as first parameter.
636 Using OBJECT as parameter while a GstMiniObject is given will lead
637 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
639 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
641 * plugins/elements/gsttypefindelement.c:
642 (gst_type_find_element_handle_event),
643 (gst_type_find_element_send_cached_events),
644 (gst_type_find_element_change_state):
645 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
648 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
650 * plugins/elements/gsttypefindelement.c:
651 (gst_type_find_handle_src_query), (stop_typefinding),
652 (gst_type_find_element_handle_event),
653 (gst_type_find_element_send_cached_events),
654 (gst_type_find_element_change_state):
655 Forward FLUSH_START events immediately and clean up instead of
658 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
660 Patch by: Sjoerd Simons <sjoerd at luon dot net>
662 * libs/gst/base/gstbasetransform.c:
663 (gst_base_transform_buffer_alloc):
664 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
665 fall back to default negotiation in the chain function if the caps
666 are different from what was requested. Fixes bug #526768.
668 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
671 * tests/check/gst/gstsegment.c:
672 No, let's not use g_slice_{dup|copy} here, since they only exist
673 since GLib 2.14 and we still depend only on >= 2.12. Also add
674 unit test for gst_segment_copy().
676 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
678 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
679 Try to fix 'dereferencing type-punned pointer will break strict
680 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
681 changed the default GType typedef from gulong to gsize at some point,
682 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
683 g_once_* functions all take a gsize * though, so work around the type
684 mismatch for C++ by doing everything in gsize and casting to GType
687 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
689 * plugins/elements/gstmultiqueue.c:
690 Add documentation for the signals to push our core plugin docs
691 coverage back up to 100%.
693 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
695 * gst/gstinfo.h (GST_FUNCTION):
696 Reverted GST_FUNCTION to the old version as we don't want the
697 full signature in C++ code. Also added support for MSVC.
699 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
702 Intern the type name string, similar to what G_DEFINE_TYPE does.
704 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
707 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
709 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
711 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
713 * libs/gst/base/gstbasetransform.c:
714 (gst_base_transform_buffer_alloc):
715 Don't passthrough buffer allocation too easily if the caps change.
716 This breaks when working in passthrough mode and upstream changes
717 it's caps. Fixes bug #526768.
719 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
721 * gst/gstinfo.c (gst_debug_log_valist):
722 Improved the __FILE__ part of debug output for MSVC.
724 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
726 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
727 Declaration after statement fix for compilers like MSVC.
729 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
731 * win32/common/config.h.in:
732 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
733 use the real thing than having "???" unconditionally.
735 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
737 * gst/gstinfo.h (GST_FUNCTION):
738 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
740 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
742 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
745 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
746 (gst_base_sink_set_flushing):
747 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
750 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
752 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
753 (gst_fake_src_init), (gst_fake_src_set_property),
754 (gst_fake_src_get_property), (gst_fake_src_start):
755 * plugins/elements/gstfakesrc.h:
756 Added format property to control the format of the newsegment events.
757 API: GstFakeSrc:format
759 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
761 * win32/common/libgstreamer.def:
762 Add gst_pad_has_name() to the exported symbols.
764 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
766 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
767 * libs/gst/base/gstbasetransform.c:
768 (gst_base_transform_prepare_output_buffer):
769 Don't allow negative sizes when allocating new buffers.
772 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
774 Patch by: Sjoerd Simons <sjoerd at luon net>
776 * gst/gstbus.c: (gst_bus_source_dispatch):
777 Don't print a warning if the queue is empty when we try to pop
778 here. That could happen if another thread or callback set the
779 bus to flushing between the source's check/prepare and the
780 dispatch being called (#531538).
782 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
784 * plugins/elements/gstmultiqueue.c:
787 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
789 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
790 Add unit test for deserializing uint64s and check some really large
791 numbers in the int64 test.
793 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
795 * tools/gst-inspect.c: (n_print), (print_hierarchy),
796 (print_interfaces), (print_element_properties_info),
798 Use "%s" as format string instead of printing strings directly.
800 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
802 * gst/gstclock.c: (gst_clock_set_calibration):
803 Make some checks actually useful.
805 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
806 Remove some unused code. Unsigned integers tend to be >= 0.
808 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
810 * gst/gstminiobject.c: (gst_value_get_mini_object):
811 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
812 function was not in the unscheduled 0.10.19 release.
814 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
816 * gst/gstregistry.c: (gst_registry_scan_path_level):
817 Only print one log message per non-plugin file.
819 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
821 * gst/gstinfo.c: (gst_debug_log_default):
822 Fix alignment of debug log columns on 64-bit.
824 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
826 * docs/libs/Makefile.am:
827 * docs/libs/gstreamer-libs-sections.txt:
828 Ignore private controller headers for docs.
830 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
832 * libs/gst/controller/gstcontrollerprivate.h:
833 * libs/gst/controller/gsthelper.c:
834 * libs/gst/controller/gstinterpolation.c:
835 * libs/gst/controller/gstinterpolationcontrolsource.c:
836 (gst_interpolation_control_source_set_interpolation_mode):
837 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
838 * libs/gst/controller/lib.c:
839 Move some private declarations into private headers.
841 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
843 * gst/gstdebugutils.c: (debug_dump_element_pad):
844 Remove some code that is unused after Stefan's refactoring and uses
845 uninitialized variables now, resulting in a compiler warning.
847 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
849 * gst/gstregistry.c: (gst_registry_scan_path_level):
850 Run g_str_has_suffix() only on the file name, not the
853 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
855 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
856 Since we're not called only from the chain function any longer,
857 we can't assume that there's always data in the queue, so move
858 the is_full check to the beginning of the loop (otherwise we'd
859 hit the assert when changing the limit properties while the
860 queue is empty or not running yet).
861 Also, only set a discont if items were actually removed from
864 * tests/check/elements/queue.c: (test_leaky_downstream):
865 Test case for the above.
867 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
869 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
871 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
872 (gst_queue_chain), (queue_capacity_change),
873 (gst_queue_set_property):
874 When changing thr max capacity of a leaky queue, immediatly drop buffers
875 instead of waiting for a push on the sinkpad. Fixes #530637.
877 2008-04-30 Stefan Kost <ensonic@users.sf.net>
879 * gst/gstdebugutils.c:
880 Refactor code and fix handling of ghostpads and their proxypads.
882 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
884 * docs/gst/gstreamer-sections.txt:
885 * gst/gstevent.c: (gst_event_has_name):
887 * tests/check/gst/gstevent.c: (GST_START_TEST):
888 Add method to conveniently check the name of a custom event with
889 gst_event_has_name().
890 Reformat the event docs so that related methods are put together instead
891 of the default alphabetical sort.
892 Update unit test with new method.
893 API: GstEvent::gst_event_has_name()
895 2008-04-28 Michael Smith <msmith@songbirdnest.com>
897 * libs/gst/check/Makefile.am:
898 Don't add an explicit link to libgstreamer-0.10.la; it's already
899 included in GST_OBJ_LIBS.
901 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
904 Register GstClock type from a type-safe context. Fixes bug #530317.
906 2008-04-25 Michael Smith <msmith@songbirdnest.com>
908 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
910 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
912 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
914 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
916 Use the GLib stuff to create a private structure.
917 Add some locking around some dispose methods to make them a little
918 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
920 2008-04-25 Stefan Kost <ensonic@users.sf.net>
922 * libs/gst/base/gstbasesink.h:
923 * libs/gst/base/gstbasesrc.h:
924 * libs/gst/base/gstbasetransform.h:
925 * libs/gst/base/gstcollectpads.h:
926 Fix doc typos and unify caps a bit.
928 2008-04-25 Stefan Kost <ensonic@users.sf.net>
930 * tools/gst-launch.1.in:
931 Forgot to also add the envvar docs here.
933 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
935 * gst/gst.c: (init_post), (gst_deinit):
936 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
937 (test_concurrent_create), (gst_pipeline_suite):
938 Ref some more classes in gst_init() to work around thread-safety
939 issues in pre-2.16 GLibs, and add basic unit test.
941 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
943 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
944 (gst_base_sink_send_event):
945 Rearrange the latency query code. We always want to do the upstream
946 query, even if we are not live so that the upstream elements can get the
947 latency results too. If we fail doing the query and we are live, we
948 return TRUE afterwards.
950 2008-04-24 Stefan Kost <ensonic@users.sf.net>
952 patch by: Jason Zhao <e3423c@motorola.com>
954 * docs/gst/running.xml:
956 Enable/disable scan_and_update_registry() based on commandline switch
957 or environment variable. Fixes #520468.
960 Fix typo in my previous commit.
962 2008-04-24 Stefan Kost <ensonic@users.sf.net>
964 * gst/gstregistrybinary.c:
965 Add a warning if we hit unhandled factories when saving.
966 More debug logging detail, but move to LOG category.
968 2008-04-24 Stefan Kost <ensonic@users.sf.net>
971 Tell the *truth* when improving the documentation.
973 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
975 * gst/gstelementfactory.c: (gst_element_factory_make):
976 Unref the factory after it was used the last time, not before.
978 * gst/gstindexfactory.c: (gst_index_factory_make):
979 Improve debugging a bit and don't leak a ref to the index factory with
982 2008-04-23 Stefan Kost <ensonic@users.sf.net>
985 Improve the documentation.
987 2008-04-23 Stefan Kost <ensonic@users.sf.net>
990 The glib macro seems to be borked. Use g_slice_copy directly and cast
991 in the hope that this fixes the warning on 64bit.
993 2008-04-23 Stefan Kost <ensonic@users.sf.net>
996 Document the new function. Use g_slice_dup() (no need for
999 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1001 * docs/gst/gstreamer-sections.txt:
1002 Move GParamSepc macros to standart section.
1005 Dn't document _get_type - its in private section in docs anyway and
1006 this doc-blob was incomplete.
1009 Fix wrong symbol names in docs.
1012 Add once doc sentence.
1014 * tests/check/gst/.cvsignore:
1017 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1019 * docs/gst/Makefile.am:
1020 And remove those libs here.
1022 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1024 * docs/libs/Makefile.am:
1025 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1027 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1029 Patch by: Olivier Crete <tester at tester dot ca>
1031 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1032 Add the min-threshold to the min latency if possible. Fixes #529148.
1034 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1036 * docs/gst/gstreamer.types.in:
1037 Stupid editor, I removed that line as it should go in yet.
1039 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1041 * docs/gst/gstreamer.types.in:
1042 * docs/libs/gstreamer-libs.types:
1043 Remove library types fro core docs and have them in libs docs.
1044 Reformat and cleanup. Add comment for miniobject types.
1046 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1048 * gst/gsturi.c: (gst_uri_get_protocol):
1049 Fix leak: g_strdown operates on the string in place, while
1050 g_ascii_strdown() returns a newly-allocated string.
1052 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1054 * tools/gst-inspect.c: (print_uri_handler_info),
1055 (print_element_info):
1056 Print the URI protocols and the URI type supported by the element.
1058 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1060 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1061 Use g_value_take_string() instead of the deprecated
1062 g_value_set_string_take_ownership().
1064 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1066 * gst/gstregistrybinary.c: (_gst_crc32):
1067 Return the old CRC instead of 0 if we give a NULL buffer
1068 or a buffer with a length of 0.
1070 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1072 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1073 (gst_uri_get_protocol), (gst_uri_has_protocol),
1074 (gst_uri_construct), (gst_uri_handler_set_uri):
1075 A valid URI scheme can also include '+', '-' and '.' additional
1076 to alphanumeric characters as per RFC 3986 Section 3.1.
1078 Handle URI schemes case insensitive in all places and convert
1079 to lower-case when constructing an URI or setting an URI with
1080 the GstURIHandler interface. Fixes bug #528868.
1081 All elements can still assume (as before) that they will
1082 get passed URIs with a lower-case URI scheme by the GstURIHandler
1085 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1087 * gst/gstcaps.c: (gst_static_caps_get):
1088 * gst/gstclock.c: (gst_clock_entry_new):
1089 Don't use g_atomic_set_int where it's not needed.
1091 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1093 * gst/gstvalue.c: (gst_value_deserialize_caps):
1094 * gst/parse/grammar.y:
1097 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1099 * gst/gstutils.c: (gst_atomic_int_set):
1100 Use g_atomic_int_set() here too instead of assignment +
1103 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1107 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1108 now that we depend on new enough GLib.
1110 * gst/gstcaps.c: (gst_static_caps_get):
1111 * gst/gstclock.c: (gst_clock_entry_new):
1112 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1113 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1114 (gst_debug_category_set_threshold):
1115 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1116 (gst_base_sink_set_qos_enabled):
1117 * libs/gst/net/gstnettimeprovider.c:
1118 (gst_net_time_provider_set_property):
1119 Use g_atomic_int_set() instead of gst_atomic_int_set().
1121 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1124 Also use G_GINT64_CONSTANT for the queries.
1126 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1129 Use G_GINT64_CONSTANT in varargs function.
1131 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1133 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1134 Initialize the registry magic with zeroes.
1136 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1138 * gst/gstregistrybinary.c: (_gst_crc32),
1139 (gst_registry_binary_write),
1140 (gst_registry_binary_initialize_magic),
1141 (gst_registry_binary_write_cache),
1142 (gst_registry_binary_check_magic),
1143 (gst_registry_binary_read_cache):
1144 * gst/gstregistrybinary.h:
1145 Add crc32 checksum to the binary registry file and check this before
1146 accepting a registry file.
1148 Also free the data list when writing to the registry file fails.
1150 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1152 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1153 (gst_registry_binary_load_feature),
1154 (gst_registry_binary_load_plugin):
1155 If an element supports the Uri interface, returns a valid pointer
1156 to the supported URI protocols but this pointer contains nothing
1157 don't try to save that as it will corrupt the registry.
1159 Don't unref the plugin if we added it to the registry already but
1160 fail to load a feature as gst_registry_add_plugin() takes ownership
1163 Improve debugging a bit.
1165 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1168 Clarify some tag item docs after discussion on irc.
1170 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1172 * docs/gst/gstreamer-docs.sgml:
1173 Remove commented out plugins (they have their own docs). Update
1176 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1178 * docs/gst/gstreamer-docs.sgml:
1179 * docs/gst/gstreamer-sections.txt:
1180 * gst/gstparamspecs.c:
1181 * gst/gstparamspecs.h:
1182 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1183 docs to own section.
1186 This now only documents GValue.
1188 * docs/libs/gstreamer-libs-sections.txt:
1189 * libs/gst/controller/gstcontroller.h:
1190 Remove GST_PARAM_CONTROLLABLE.
1192 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1195 Correct file path. Tell about how to use -overrides.txt.
1196 * docs/design/draft-tagreading.txt:
1197 Small design update.
1199 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1201 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1202 (gst_registry_binary_load_plugin):
1203 Fix a typo in a debug message and revert change from yesterday as
1204 gst_registry_add_plugin() will only fail if something is really wrong
1205 already and we can't survive it anyway.
1207 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1209 * gst/gst.c: (init_post), (gst_deinit):
1210 Pre-register GstGError GType from a thread-safe context
1211 (fixes #527967); unref enum type classes in deinit.
1213 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1215 Patch by: Rene Stadler <mail at renestadler de>
1217 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1218 Merging an empty list with another list in KEEP_ALL mode should
1219 yield an empty list as result and not the second list (#512578).
1221 * tests/check/gst/gsttagsetter.c:
1222 Add unit test for tag merge modes and the aforementioned bug.
1224 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1226 Patch by: Rene Stadler <mail at renestadler de>
1229 Fix description to match the order in the table (#512577).
1231 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1233 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1235 * libs/gst/net/gstnettimepacket.h:
1236 * docs/libs/gstreamer-libs-sections.txt:
1237 Define socklen_t as int if it's not defined yet. Fixes compilation
1238 with MSVC6 and other versions where socklen_t is not defined in
1239 the windows headers (#518022).
1241 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1243 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1244 If gst_registry_add_plugin() fails our reference to the plugin is
1245 invalid so don't try to use it anymore and instead error out.
1247 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1249 * tools/gst-xmlinspect.c: (print_element_info), (main):
1250 De-cruft a bit. If no argument is specified, print all elements in
1251 XML syntax rather than a freestyle list of elements like gst-inspect.
1252 Also, don't print XML header chunk unless we actually have something
1253 to print (ie. don't print it before an error message); print error
1254 message to stderr not stdout. Remove support for printing plugin
1255 info (it would just output something freestyle along the lines of
1256 gst-inspect so far), which fixes #514507. Also add license header.
1258 2008-04-11 Julien Moutte <julien@fluendo.com>
1261 * configure.ac: Merge platform specific defines, introduce a new
1262 define on OS X to remember that forking when updating registry is
1264 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1266 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1268 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1269 condition that leads to absolutely no plugins being registered on
1272 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1274 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1276 * gst/gstutils.c: (gst_pad_add_data_probe),
1277 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1278 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1279 (gst_pad_add_buffer_probe_full):
1281 * docs/gst/gstreamer-sections.txt:
1282 * win32/common/libgstreamer.def:
1283 Add gst_pad_add_*_probe_full() functions with a notify callback that
1284 lets the caller free the data it passes to the probe functions. This
1285 is useful for bindings such as gst-python or gstreamermm (#526814).
1286 API: gst_pad_add_data_probe_full
1287 API: gst_pad_add_buffer_probe_full
1288 API: gst_pad_add_event_probe_full
1290 * tests/check/gst/gstutils.c:
1291 Add minimal unit test to make sure freeing the data actually works
1294 * tests/benchmarks/.cvsignore:
1295 Random cvsignore addendum.
1297 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1299 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1300 (GST_DEBUG_BIN_TO_DOT_FILE):
1301 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1302 to it in the docs (since these are macros the types of the arguments
1303 won't be shown in the docs otherwise).
1305 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1308 Do not abort on out of memory for pad_alloc_buffer.
1310 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1312 * libs/gst/check/gstcheck.c:
1313 Remove blank line between symbol name ad parameters to fix gtkdoc
1316 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1318 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1320 * docs/gst/gstreamer-sections.txt:
1323 * win32/common/libgstreamer.def:
1324 Expose gst_segment_copy() to make things easier for the c++ bindings.
1326 API: gst_segment_copy()
1328 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1330 * gst/gst.c: (gst_init_get_option_group), (init_post):
1331 Fix const position; ref GType classes for enum types to work
1332 around thread-safety issues in GLib versions < 2.16.
1334 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1336 * docs/design/part-buffering.txt:
1337 Fix some typos and set the estimated total for push mode to -1.
1339 * gst/gstquery.c: (gst_query_new_buffering):
1340 Set buffering-left to 0 as we're not buffering by default.
1342 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1343 Implement BUFFERING query.
1345 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1347 Based on patch by: Milosz Derezynski <internalerror gmail com>
1349 * gst/gsterror.c: (_gst_stream_errors_init):
1351 Add two new error codes for encrypted content. Fixes #524659.
1352 API: GST_STREAM_ERROR_DECRYPT
1353 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1355 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1360 * win32/common/libgstreamer.def:
1363 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1365 * plugins/elements/gstidentity.c: (gst_identity_event),
1366 (gst_identity_start):
1367 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1368 event after processing some data. Fixes bug #526042.
1370 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1372 * docs/gst/gstreamer-sections.txt:
1373 * gst/gstquery.c: (gst_query_parse_latency),
1374 (gst_query_set_buffering_percent),
1375 (gst_query_parse_buffering_percent),
1376 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1378 Rename _avail -> _range
1379 API: gst_query_set_buffering_range
1380 API: gst_query_parse_buffering_range
1382 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1384 * docs/design/part-buffering.txt:
1387 * gst/gstquery.c: (gst_query_parse_latency),
1388 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1389 (gst_query_parse_buffering_percent):
1391 Add busy field and quark for the buffering query so that the app can
1392 only use the query to see if buffering is in progress.
1394 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1396 * docs/gst/gstreamer-sections.txt:
1397 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1398 (gst_message_parse_buffering_stats):
1400 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1401 (gst_query_parse_latency), (gst_query_new_buffering),
1402 (gst_query_set_buffering_percent),
1403 (gst_query_parse_buffering_percent),
1404 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1405 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1407 Reorder the message docs and headers for clarity.
1408 Add aditional buffering stats API for messages.
1409 Add buffering query.
1410 Convert some leftover queries to use GstQuark.
1411 API: gst_message_set_buffering_stats
1412 API: gst_message_parse_buffering_stats
1413 API: GST_QUERY_BUFFERING
1414 API: GstBufferingMode
1415 API: gst_query_new_buffering
1416 API: gst_query_set_buffering_percent
1417 API: gst_query_parse_buffering_percent
1418 API: gst_query_set_buffering_stats
1419 API: gst_query_parse_buffering_stats
1421 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1423 * gst/gstmessage.c: (gst_message_new_error),
1424 (gst_message_new_warning), (gst_message_new_info),
1425 (gst_message_new_buffering), (gst_message_new_state_changed),
1426 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1427 (gst_message_new_new_clock), (gst_message_new_segment_start),
1428 (gst_message_new_segment_done), (gst_message_new_duration),
1429 (gst_message_new_async_start), (gst_message_parse_buffering),
1430 (gst_message_parse_state_changed),
1431 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1432 (gst_message_parse_new_clock), (gst_message_parse_error),
1433 (gst_message_parse_warning), (gst_message_parse_info),
1434 (gst_message_parse_segment_start),
1435 (gst_message_parse_segment_done), (gst_message_parse_duration),
1436 (gst_message_parse_async_start):
1437 Use GstQuark for messages.
1439 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1441 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1443 Add some more quarks needed for messages and queries.
1445 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1447 * docs/design/part-buffering.txt:
1448 Remove the "none" buffering mode, STREAM is a good default.
1449 Move estimated-time to the avail query, that's when it will be needed.
1450 Other small typo fixes and updates.
1452 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1454 * gst/gstindex.c: (gst_index_resolver_get_type):
1455 Don't put descriptions into the nick field of a GEnumValue: it's not
1456 meant for that and some language bindings rely on the nick field to
1457 construct constants and the like. Fixes #526705.
1459 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1464 Merge other changes from 0.10.19 release branch.
1466 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1468 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1471 Actually build dlls when cross-compiling with mingw32.
1474 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1476 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1479 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1481 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1483 * docs/design/draft-latency.txt:
1486 * docs/design/part-buffering.txt:
1487 Update design docs with more buffering ideas.
1489 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1492 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1494 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1497 Revert part that belongs to the preset patch.
1499 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1502 Add qoutes to the define. Fixes # 525961.
1504 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1506 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1507 (gst_file_index_load), (gst_file_index_add_id),
1508 (gst_file_index_get_assoc_entry):
1509 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1510 (gst_mem_index_free_id), (gst_mem_index_add_id),
1511 (gst_mem_index_index_format):
1512 Use GSlice when possible.
1514 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1516 * libs/gst/controller/gstinterpolationcontrolsource.c:
1517 (gst_control_point_free),
1518 (gst_interpolation_control_source_set_internal):
1519 Use GSlice for allocating the control points.
1521 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1523 * plugins/elements/gsttypefindelement.c:
1524 (gst_type_find_element_class_init),
1525 (gst_type_find_element_set_property),
1526 (gst_type_find_element_get_property),
1527 (gst_type_find_element_activate):
1528 * plugins/elements/gsttypefindelement.h:
1530 Fix pad leak when peer query fails.
1531 We can still typefind when the peer returns -1.
1532 Add property to force caps and bypass typefinding. This will be used in
1536 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1541 * gst/glib-compat-private.h:
1542 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1543 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1544 Unconditionally use GSlice for allocation.
1546 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1547 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1548 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1549 (gst_structure_free):
1550 Use GSlice for allocation.
1552 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1554 * gst/parse/Makefile.am:
1555 * gst/parse/grammar.tab.pre.c:
1556 * gst/parse/grammar.tab.pre.h:
1557 * gst/parse/lex._gst_parse_yy.pre.c:
1558 Require a new enough flex and bison and remove the parser hacks to use
1559 a pre-regenerated version.
1561 2008-04-01 Julien Moutte <julien@fluendo.com>
1563 patch by: Jason Zhao <E3423C@motorola.com>
1565 * configure.ac: Add a configure switch to disable option parsing
1569 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1572 * gst/gstregistry.c:
1573 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1574 and handle this case.
1577 Add a comment here describing, why we stat each plugin and not try to
1580 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1582 * libs/gst/base/gstbasetransform.c:
1583 (gst_base_transform_prepare_output_buffer):
1584 Also unset the GAP flag on buffers if we're working inplace but
1585 the element is not GAP-aware.
1587 Mark a comment as FIXME 0.11.
1589 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1592 Fix type in log message and add one to ease seeing how long registry
1593 cache verification takes.
1595 * gst/gstregistry.c:
1596 Only test plugin filenames against G_MODULE_SUFFIX.
1598 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1600 * gst/gstdebugutils.c:
1601 Improve handling ghost/proxy pads.
1603 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1605 * docs/gst/gstreamer-sections.txt:
1608 Expose macro to docs and fix link to it.
1610 2008-03-27 Michael Smith <msmith@fluendo.com>
1612 * libs/gst/dataprotocol/dataprotocol.c:
1613 (gst_dp_packet_from_event_1_0):
1614 When calculating GDP body CRC, use the correct pointer.
1615 Fixes part of #522401.
1617 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1619 Patch by: Mark Nauwelaerts <manauw at skynet be>
1621 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1622 (gst_identity_init), (gst_identity_prepare_output_buffer):
1623 Identity is not always a passthrough element, it can modify the buffer
1624 timestamps when it has a datarate and operates in single-segment mode.
1625 We therefore make it an in_place filter with a custom buffer prepare
1626 function that conditionally makes the input buffer metadata writable
1627 when needed. Fixes #523985.
1629 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1631 Patch by: Mark Nauwelaerts <manauw at skynet be>
1634 * libs/gst/base/gstbasesrc.h:
1635 * libs/gst/base/gstbasetransform.c:
1636 * libs/gst/check/gstcheck.c:
1637 Small documentation fixes. Fixes #523978.
1639 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1641 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1642 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1643 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1645 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1647 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1648 (single_queue_underrun_cb):
1649 When trying to make room in the queue, bump the max allowed buffers
1650 bigger than the current amount of buffers in the queue. this fixes some
1651 nasty deadlocks in multiqueue when dynamically changing the limits of
1654 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1656 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1658 * gst/gstcaps.c: (gst_caps_set_simple),
1659 (gst_caps_set_simple_valist), (gst_caps_intersect):
1661 Constify the field gchar * params in set_simple and friends.
1664 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1666 * gst/gstvalue.c: (gst_value_transform_object_string):
1667 Transform a GstObject to a more meaningfull string that includes the
1668 object type in addition to its name.
1670 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1673 ChangeLog surgery to add bugnumber to commit.
1675 2008-03-23 Rene Stadler <mail@renestadler.de>
1677 * libs/gst/base/gstbasetransform.c:
1678 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1680 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1682 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1683 Rename constant everywhere and don't forget one occurence.
1685 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1687 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1688 Align memory to the pointer size even if the architecture allows
1689 unaligned memory access. Unaligned memory access usually comes with
1690 performance penality.
1692 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1694 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1695 (gst_registry_binary_check_magic),
1696 (gst_registry_binary_load_pad_template),
1697 (gst_registry_binary_load_feature),
1698 (gst_registry_binary_load_plugin):
1699 Align memory to the pointer size instead of always 32 bit. Fixes
1700 unaligned memory accesses on ia64 and friends.
1702 * gst/gstregistrybinary.h:
1703 Bump binary registry format version for this as it changes the
1704 format on those architectures that don't have unaligned access
1705 and 64 bit pointers.
1707 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1709 * docs/pwg/advanced-dparams.xml:
1710 * docs/pwg/building-props.xml:
1711 * docs/pwg/other-source.xml:
1712 * gst/glib-compat.h:
1713 * gst/gstbin.c: (gst_bin_class_init):
1714 * gst/gstclock.c: (gst_clock_class_init):
1715 * gst/gstindex.c: (gst_index_class_init):
1716 * gst/gstobject.c: (gst_object_class_init):
1717 * gst/gstpad.c: (gst_pad_class_init):
1718 * gst/gstpipeline.c: (gst_pipeline_class_init):
1719 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1720 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1721 * libs/gst/base/gstbasetransform.c:
1722 (gst_base_transform_class_init):
1723 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1724 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1725 (_gst_check_fault_handler_sighandler),
1726 (_gst_check_fault_handler_setup), (gst_check_init):
1727 * libs/gst/controller/gstcontroller.c:
1728 (_gst_controller_class_init):
1729 * libs/gst/controller/gstlfocontrolsource.c:
1730 (gst_lfo_control_source_class_init):
1731 * libs/gst/net/gstnetclientclock.c:
1732 (gst_net_client_clock_class_init):
1733 * libs/gst/net/gstnettimeprovider.c:
1734 (gst_net_time_provider_class_init):
1735 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1736 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1737 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1738 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1739 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1740 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1741 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1742 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1743 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1744 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1745 * plugins/elements/gsttee.c: (gst_tee_class_init):
1746 * plugins/elements/gsttypefindelement.c:
1747 (gst_type_find_element_class_init):
1748 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1749 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1750 use it everywhere for GParamSpecs that use static strings (i.e. all).
1751 This gives us less memory usage, fewer allocations and thus less
1752 memory defragmentation. Fixes bug #523806.
1754 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1756 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1757 (gst_param_spec_mini_object):
1758 * gst/gstminiobject.h:
1759 * win32/common/libgstreamer.def:
1760 * docs/gst/gstreamer-sections.txt:
1761 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1762 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1763 GstParamSpecMiniObject into a public header for this.
1765 This make GstMiniObject a bit more consistent with GObject and makes
1766 it possible to extend the param specs.
1768 gst_value_dup_mini_object is mainly useful for set_property methods.
1772 * tools/gst-inspect.c: (print_element_properties_info):
1773 Print something useful for GstMiniObject properties and not just
1776 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1778 * docs/gst/gstreamer-sections.txt:
1779 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1780 (gst_registry_binary_check_magic):
1781 * gst/gstregistrybinary.h:
1782 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1783 and add it to the (private part) of the docs to fix the build.
1785 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1787 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1788 (gst_registry_binary_check_magic),
1789 (gst_registry_binary_read_cache):
1790 * gst/gstregistrybinary.h:
1791 Don't use GST_MAJORMINOR for the binary registry version. Instead
1792 hardcode a value that must be changed whenever the format changes
1793 in an incompatible way.
1794 Also don't GST_ERROR when there is a version mismatch, just
1795 regenerate the registry silently.
1797 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1800 Back to development - 0.10.18.1
1802 === release 0.10.18 ===
1804 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1807 releasing 0.10.18, "So far away"
1809 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1812 * win32/common/config.h:
1813 0.10.17.4 pre-release
1815 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1817 Patch by: Ole André Vadla Ravnås
1818 <ole dot andre dot ravnas at tandberg dot com>
1820 * docs/gst/gstreamer-sections.txt:
1821 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1822 (gst_poll_update_winsock_event_mask),
1823 (gst_poll_prepare_winsock_active_sets),
1824 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1825 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1826 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1827 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1828 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1830 * win32/common/libgstreamer.def:
1831 Add new function gst_poll_fd_ignored() for improved Windows
1833 Various minor fixes and cleanups. See #520808.
1835 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1837 * gst/gstindex.c: (gst_index_entry_free):
1839 Don't free key strings which we don't own. Fixes crash in
1840 gst_index_entry_free() (#522741).
1842 * tests/check/Makefile.am:
1843 * tests/check/gst/.cvsignore:
1844 * tests/check/gst/gstindex.c: (test_index_entries),
1845 (gst_index_suite), (gst_index):
1846 Add unit test for the above.
1848 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1850 * win32/common/libgstreamer.def:
1851 Remove symbols that were removed recently. Fixes bug #521740.
1853 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1856 * win32/common/config.h:
1857 0.10.17.3 pre-release
1859 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1861 Patch by: Ole André Vadla Ravnås
1862 <ole dot andre dot ravnas at tandberg dot com>
1864 * docs/gst/gstreamer-sections.txt:
1865 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1866 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1867 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1868 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1869 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1870 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1871 (gst_poll_fd_can_write), (gst_poll_wait),
1872 (gst_poll_set_controllable), (gst_poll_restart),
1873 (gst_poll_set_flushing):
1875 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1876 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1877 (gst_net_time_provider_new):
1878 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1879 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1880 * tests/benchmarks/gstpollstress.c: (main):
1881 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1882 Remove GstPollMode from the API, it does not make sense to let the
1883 application control this.
1884 Add support for Win32.
1885 Fix the testsuite. Fixes #520671.
1887 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1889 Patch by: Ole André Vadla Ravnås
1890 <ole dot andre dot ravnas at tandberg dot com>
1892 * gst/gstregistrybinary.c:
1893 Include io.h for write() and close() when building with MSVC. Fixes
1896 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1899 * gst/gst_private.h:
1900 * gst/gstconfig.h.in:
1901 * gst/gstregistry.h:
1902 * gst/gstregistrybinary.c:
1903 * win32/common/gstconfig.h:
1904 Move registry backend API to private headers where we can. Add
1905 fixme-0.11 comments for the others. Add stubs for the xml backend when
1906 using the binary to ensure they functions exists (they should not be
1907 used though). Fixes #520756.
1909 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1912 * win32/common/config.h:
1915 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1917 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1918 (gst_registry_binary_read_cache):
1919 * gst/gstregistryxml.c: (gst_registry_save):
1920 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1921 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1922 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1923 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1924 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1927 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1929 * gst/gstminiobject.c:
1930 Import gst_private.h before any other header that might include other
1931 glib headers. This fixes the build on windows using native compilers.
1933 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1935 * win32/common/gstconfig.h:
1936 Add here too, just for completeness.
1938 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1941 * gst/gstconfig.h.in:
1942 * gst/gstregistry.h:
1943 Fix broken use of config.h-defined preprocessor directive in a public
1944 header file. Add a corresponding define to gstconfig.h, since we can't
1945 really remove those function declarations from the header file now
1946 (or can we? and why are they there in the first place?).
1948 2008-03-03 Andy Wingo <wingo@pobox.com>
1950 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1953 * gst/gststructure.c (gst_structure_from_string): Warn if
1954 structure_from_string didn't consume the whole string, but the
1955 caller did not provide an end pointer.
1957 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
1959 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1961 * gst/gstregistryxml.c: (read_string), (load_feature):
1962 Strings allocated by libxml2 should be freed with xmlFree(), not
1963 with g_free(). Fixes issues on windows in certain contexts (#519698).
1965 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
1967 * gst/gstinterface.c: (gst_element_implements_interface):
1968 Don't crash if the element supports the interface queried, but does
1969 not implement GstImplementsInterface. Fixes #519584.
1971 * tests/check/Makefile.am:
1972 * tests/check/gst/.cvsignore:
1973 * tests/check/gst/gstinterface.c:
1974 Add unit test for the above.
1976 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1978 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1981 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1983 * gst/gstsegment.c: (gst_segment_set_seek),
1984 (gst_segment_to_stream_time):
1985 Improve some comment.
1986 Update variables where it makes more sense.
1988 2008-02-29 Rene Stadler <mail@renestadler.de>
1990 * gst/gsturi.c: (gst_uri_handler_get_protocols):
1991 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
1992 URIHandlers implemented using language bindings.
1994 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1996 * gst/gstelementfactory.h:
1997 * tests/check/elements/fakesink.c:
1998 * tests/check/elements/fakesrc.c: (setup_fakesrc):
1999 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2000 * tests/check/elements/filesink.c: (setup_filesink):
2001 * tests/check/elements/filesrc.c: (setup_filesrc):
2002 * tests/check/elements/identity.c: (setup_identity):
2003 * tests/check/elements/tee.c:
2004 * tests/check/generic/sinks.c:
2005 * tests/check/generic/states.c: (setup), (teardown):
2006 * tests/check/gst/gst.c:
2007 * tests/check/gst/gstabi.c:
2008 * tests/check/gst/gstbin.c:
2009 * tests/check/gst/gstbus.c: (pull_messages):
2010 * tests/check/gst/gstcaps.c:
2011 * tests/check/gst/gstelement.c:
2012 * tests/check/gst/gstevent.c:
2013 * tests/check/gst/gstghostpad.c:
2014 * tests/check/gst/gstiterator.c:
2015 * tests/check/gst/gstmessage.c:
2016 * tests/check/gst/gstminiobject.c: (my_foo_init):
2017 * tests/check/gst/gstobject.c: (thread_name_object),
2019 * tests/check/gst/gstpad.c:
2020 * tests/check/gst/gstplugin.c:
2021 * tests/check/gst/gstpoll.c:
2022 * tests/check/gst/gstquery.c:
2023 * tests/check/gst/gstsegment.c:
2024 * tests/check/gst/gststructure.c:
2025 * tests/check/gst/gstsystemclock.c:
2026 * tests/check/gst/gsttask.c:
2027 * tests/check/gst/gstutils.c:
2028 * tests/check/gst/gstvalue.c:
2029 * tests/check/gst/struct_hppa.h:
2030 * tests/check/gst/struct_i386.h:
2031 * tests/check/gst/struct_ppc32.h:
2032 * tests/check/gst/struct_ppc64.h:
2033 * tests/check/gst/struct_x86_64.h:
2034 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2035 * tests/check/libs/basesrc.c:
2036 * tests/check/libs/controller.c: (GST_START_TEST):
2037 * tests/check/libs/gdp.c:
2038 * tests/check/libs/gstnetclientclock.c:
2039 * tests/check/libs/gstnettimeprovider.c:
2040 * tests/check/libs/libsabi.c:
2041 * tests/check/libs/struct_hppa.h:
2042 * tests/check/libs/struct_i386.h:
2043 * tests/check/libs/struct_ppc32.h:
2044 * tests/check/libs/struct_ppc64.h:
2045 * tests/check/libs/struct_x86_64.h:
2046 * tests/check/pipelines/cleanup.c:
2047 * tests/check/pipelines/simple-launch-lines.c:
2048 * tests/check/pipelines/stress.c:
2049 And correct even more valid sparse warnings.
2051 * win32/common/libgstreamer.def:
2052 Add gst_poll_fd_init to the list of symbols.
2054 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2056 * gst/gstconfig.h.in:
2057 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2058 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2059 (gst_check_log_critical_func), (gst_check_drop_buffers),
2060 (gst_check_element_push_buffer_list):
2061 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2062 (gst_controller_get_type):
2063 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2064 (gst_object_get_controller), (gst_object_get_control_source):
2065 * libs/gst/controller/gstinterpolationcontrolsource.c:
2066 (gst_interpolation_control_source_new):
2067 * libs/gst/controller/gstlfocontrolsource.c:
2068 (gst_lfo_control_source_new):
2069 * libs/gst/dataprotocol/dataprotocol.c:
2070 (gst_dp_event_from_packet_0_2):
2071 * plugins/elements/gstfdsrc.c:
2072 * plugins/elements/gstmultiqueue.c:
2073 * plugins/elements/gsttee.c:
2074 * plugins/elements/gsttypefindelement.c:
2075 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2076 (gst_file_index_add_association):
2077 * plugins/indexers/gstmemindex.c:
2078 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2079 * tests/check/elements/queue.c: (setup_queue):
2080 * tests/check/gst/gstpipeline.c:
2081 * tests/check/libs/collectpads.c: (setup), (teardown),
2082 (gst_collect_pads_suite):
2083 * tests/examples/adapter/adapter_test.c:
2084 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2085 * tests/examples/xml/createxml.c:
2086 * tests/examples/xml/runxml.c:
2087 * tools/gst-inspect.c:
2089 Correct all relevant warnings found by the sparse semantic code
2090 analyzer. This include marking several symbols static, using
2091 NULL instead of 0 for pointers, not using variable sized arrays
2092 on the stack, moving variable declarations to the beginning of
2093 a block and using "foo (void)" instead of "foo ()" for declarations.
2095 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2097 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2098 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2099 Don't reset GstPollFDs, this is not necessary at all.
2101 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2102 (delayed_restart), (delayed_control):
2103 Use GST_POLL_FD_INIT.
2105 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2107 * gst/gstpoll.c: (gst_poll_fd_init):
2111 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2112 Use some more init macros.
2114 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2116 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2117 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2118 Use init macros and functions.
2120 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2122 * docs/gst/gstreamer-sections.txt:
2123 * gst/gstpoll.c: (gst_poll_fd_init):
2125 Add INIT macro and _init method for initializing the GstPollFD.
2127 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2129 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2130 (gst_fd_sink_update_fd):
2131 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2132 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2133 (delayed_restart), (delayed_control):
2134 Initialize some uninitialized variables as spotted by valgrind.
2136 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2138 * tests/benchmarks/Makefile.am:
2139 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2141 Add poll stress test.
2143 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2145 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2147 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2148 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2149 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2150 * plugins/elements/gstfdsink.h:
2151 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2152 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2153 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2154 (gst_fd_src_uri_set_uri):
2155 * plugins/elements/gstfdsrc.h:
2156 Port to GstPoll. See #505417.
2158 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2160 * win32/common/libgstreamer.def:
2161 Add new gst_poll_ symbols to win32 defs.
2163 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2165 * docs/libs/gstreamer-libs-sections.txt:
2166 * libs/gst/net/gstnetclientclock.c:
2167 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2168 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2169 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2170 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2171 * libs/gst/net/gstnetclientclock.h:
2172 * libs/gst/net/gstnettimeprovider.c:
2173 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2174 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2175 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2176 (gst_net_time_provider_new):
2177 * libs/gst/net/gstnettimeprovider.h:
2178 Use a private stuct to not break ABI.
2180 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2182 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2184 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2185 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2186 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2187 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2188 * libs/gst/net/gstnetclientclock.h:
2189 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2190 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2191 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2192 (gst_net_time_provider_new):
2193 * libs/gst/net/gstnettimeprovider.h:
2194 Massive code removal and cleanups because of GstPoll.
2197 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2200 Add checks for poll, ppoll and pselect.
2202 * docs/gst/gstreamer-docs.sgml:
2203 * docs/gst/gstreamer-sections.txt:
2204 Add docs for GstPoll.
2208 * gst/gstpoll.c: (find_index), (selectable_fds),
2209 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2210 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2211 (gst_poll_set_mode), (gst_poll_get_mode),
2212 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2213 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2214 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2215 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2216 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2217 (gst_poll_fd_can_write), (gst_poll_wait),
2218 (gst_poll_set_controllable), (gst_poll_restart),
2219 (gst_poll_set_flushing):
2221 Add generic poll abstraction. We ideally don't want to have this in core
2222 here but in glib intead...
2223 This code will be used in various network elements and ultimately for
2224 the nanosecond precision monotonic clock (that's why it's here in core).
2225 It'll allow us to implement cancelable socket operations for windows too.
2227 * tests/check/Makefile.am:
2228 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2229 (delayed_stop), (delayed_restart), (delayed_flush),
2230 (delayed_control), (gst_poll_suite):
2231 Add GstPoll unit test.
2233 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2236 Improve documentation of gst_filter_run(). Fixes #518627.
2238 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2241 Add a few lines about the new 'check-inspected-versions' target.
2243 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2245 * tests/check/gst/gstevent.c:
2246 Add qos to the event test. Rename tcase/tsuite; is not only about
2249 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2251 * plugins/elements/gstqueue.c:
2252 Ensure that buffer metadata is writeable, before modifying. Spotted by
2255 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2257 * plugins/elements/gstqueue.c:
2258 * plugins/elements/gstqueue.h:
2259 When dropping buffers in leaky modes, mark next buffers we sent as
2262 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2264 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2265 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2267 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2269 * plugins/elements/Makefile.am:
2270 * plugins/elements/gstbufferstore.c:
2271 * plugins/elements/gstbufferstore.h:
2272 * plugins/elements/gsttypefindelement.h:
2273 Remove GstBufferStore, no idea why we were still building it.
2274 It's not used anywhere and superseded by GstAdapter.
2276 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2277 (gst_file_src_create_mmap):
2278 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2279 Printf format fixes for 64-bit integers.
2281 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2284 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2285 We're not in 0.8 times anymore.
2287 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2289 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2290 (gst_check_element_push_buffer_list):
2291 * libs/gst/check/gstcheck.h:
2292 Make the declaration in the header for
2293 gst_check_element_push_buffer_list match the implementation.
2295 Fix up spelling, grammar and wording of the documentation in a few
2296 places, and add the Since keyword to new API functions.
2297 Use g_list_delete_link instead of g_list_remove in
2298 gst_check_drop_buffers, since it's immeasurably more efficient.
2300 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2301 Use new gst_check_drop_buffers function where appropriate.
2303 * win32/common/libgstbase.def:
2304 * win32/common/libgstreamer.def:
2305 Add new symbols gst_collect_pads_take_buffer,
2306 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2309 Changelog surgery to add API keyword to new gst_check API.
2311 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2313 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2314 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2315 Update pre-generated flex files with flex 2.3.34.
2317 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2319 * gst/gstminiobject.c:
2320 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2321 friendly to subclasses and not require them to know all internals
2322 of their parent class.
2324 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2326 * docs/libs/gstreamer-libs-sections.txt:
2327 * libs/gst/base/gstcollectpads.c:
2328 * libs/gst/base/gstcollectpads.h:
2329 Add sub-buffer functions to collectpads. Fixes #516187.
2330 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2332 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2335 Copy selected buffer-flags when creating subbuffers.
2338 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2340 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2341 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2342 * gst/gstmessage.c: (gst_message_class_init),
2343 (gst_message_finalize):
2344 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2345 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2346 (gst_mmap_buffer_finalize):
2347 Properly chain up finalize functions to the parent class.
2349 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2351 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2353 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2354 (gst_index_set_resolver_full):
2356 Add new function with option to dispose of user_data in resolver.
2357 Actually call the dispose function when finalizing the object and not
2358 just when changing the resolver/filter.
2359 API: GstIndex::gst_index_set_resolver_full()
2361 * docs/gst/gstreamer-sections.txt:
2362 Add new function to docs. Fixes #515469.
2364 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2366 * gst/gstindex.c: (gst_index_finalize):
2367 Chain up finalize to the parent class. Fixes leaking the GstObject
2368 name and other things.
2370 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2373 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2374 pre-releases or releases.
2376 * docs/faq/gst-uninstalled:
2379 * docs/random/release:
2380 Change one of the steps - we only upload core & base to Gnome FTP
2382 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2384 * gst/gstconfig.h.in:
2385 Add 'id' for example.
2389 * plugins/elements/gstfdsink.c:
2390 Link to signals. Doc and comment fixes.
2392 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2394 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2395 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2396 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2397 unused and unimplemented; finally, it is plugin features, not
2398 plugins, that have ranks.
2400 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2402 * gst/gstpluginfeature.h:
2403 Clarify GstRank range docs.
2405 2008-02-05 David Schleef <ds@schleef.org>
2407 * gst/gst.c: Add a separate gst_deinitialized that prevents
2408 gst_init() from being called after gst_deinit(). Fixes #509559
2410 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2412 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2413 (gst_bin_class_init):
2414 * gst/gstelement.c: (gst_element_base_class_init),
2415 (gst_element_class_add_pad_template):
2416 * gst/gstpadtemplate.c: (gst_pad_template_init):
2417 * gst/gstpipeline.c: (gst_pipeline_get_type),
2418 (gst_pipeline_base_init), (gst_pipeline_class_init):
2419 * libs/gst/base/gstbasesink.c:
2420 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2421 (gst_base_src_base_init), (gst_base_src_class_init):
2422 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2423 (gst_capsfilter_class_init):
2424 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2425 (gst_fake_sink_class_init):
2426 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2427 (gst_fake_src_class_init):
2428 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2429 (gst_fd_sink_class_init):
2430 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2431 (gst_fd_src_class_init):
2432 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2433 (gst_file_sink_class_init):
2434 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2435 (gst_file_src_class_init):
2436 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2437 (gst_identity_class_init):
2438 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2439 (gst_multi_queue_class_init):
2440 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2441 (gst_queue_class_init):
2442 * plugins/elements/gsttee.c: (gst_tee_base_init),
2443 (gst_tee_class_init):
2444 * plugins/elements/gsttypefindelement.c:
2445 (gst_type_find_element_base_init),
2446 (gst_type_find_element_class_init):
2447 * tests/check/gst/gstelement.c: (gst_element_suite):
2448 Revert previous changes to the behaviour of GstPadTemplates, etc
2449 and the possiblity to call them in class_init as it breaks too
2450 many elements. Reopens bug #491501.
2452 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2455 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2457 * tools/gst-launch.c:
2458 Dump one graph per pipeline state-change and state change name
2459 (if GST_DEBUG_DUMP_DOT_DIR is set).
2461 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2464 * tests/check/gst/gstpad.c:
2465 Be sure that we have a new copy of the caps and not
2466 reffed caps from a template
2468 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2470 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2471 * gst/gstpipeline.c: (gst_pipeline_get_type),
2472 (gst_pipeline_class_init):
2473 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2474 (gst_base_sink_class_init):
2475 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2476 (gst_base_src_class_init):
2477 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2478 (gst_base_transform_class_init):
2479 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2480 (gst_collect_pads_class_init):
2481 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2482 * libs/gst/net/gstnettimeprovider.c:
2483 (gst_net_time_provider_base_init),
2484 (gst_net_time_provider_class_init):
2485 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2486 (gst_capsfilter_class_init):
2487 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2488 (gst_fake_sink_class_init):
2489 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2490 (gst_fake_src_class_init):
2491 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2492 (gst_fd_sink_class_init):
2493 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2494 (gst_fd_src_class_init):
2495 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2496 (gst_file_sink_class_init):
2497 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2498 (gst_file_src_class_init):
2499 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2500 (gst_identity_class_init):
2501 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2502 (gst_multi_queue_class_init):
2503 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2504 (gst_queue_class_init):
2505 * plugins/elements/gsttee.c: (gst_tee_base_init),
2506 (gst_tee_class_init):
2507 * plugins/elements/gsttypefindelement.c:
2508 (gst_type_find_element_base_init),
2509 (gst_type_find_element_class_init):
2510 Don't use base_init where not absolutely necessary. For example it's
2511 not necessary anymore for adding pad templates or setting element
2514 Leave empty base_init functions in several places as GST_BOILERPLATE
2515 still defines and uses them.
2517 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2519 * gst/gstelement.c: (gst_element_base_class_init),
2520 (gst_element_class_add_pad_template):
2521 * gst/gstpadtemplate.c:
2522 Make it possible (and recommended) to set element details and add
2523 pad templates in the class_init functions by copying the details/pad
2524 templates in GstElement's base_init.
2526 Also make it possible to replace existing pad templates by adding
2527 a new one with the same name. This was done in a hackish fashion
2528 in same elements before already.
2530 Don't reference pad templates that are added a second time. A
2531 new pad template has a refcount of one and is not floating anymore
2532 and to be owned by the element's class. Make this more explicit by
2533 mentioning it in the docs of gst_element_class_add_pad_template().
2535 These changes are backwards compatible. Fixes bug #491501.
2537 * tests/check/gst/gstelement.c:
2538 Add unit test for setting element details, adding pad templates and
2539 replacing them in a subclass.
2541 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2543 * tools/gst-inspect.c: (print_interfaces),
2544 (print_element_properties_info), (print_pad_info),
2545 (print_signal_info), (print_element_info):
2546 Fix a few memory leaks.
2548 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2550 * docs/libs/gstreamer-libs-sections.txt:
2551 * libs/gst/check/gstcheck.c:
2552 * libs/gst/check/gstcheck.h:
2553 Add more functions for unit testing: gst_check_drop_buffers,
2554 gst_check_caps_equal, gst_check_element_push_buffer_list,
2555 gst_check_element_push_buffer
2556 API: gst_check_drop_buffers
2557 API: gst_check_caps_equal
2558 API: gst_check_element_push_buffer_list
2559 API: gst_check_element_push_buffer
2561 2008-02-01 Julien Moutte <julien@fluendo.com>
2563 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2564 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2565 (gst_index_finalize), (gst_index_entry_free),
2566 (gst_index_add_association): Fix memory leaks.
2567 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2568 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2569 (gst_mem_index_free_format), (gst_mem_index_free_id),
2570 (gst_mem_index_finalize): Fix memory leaks.
2571 * win32/common/config.h: Updated to CVS HEAD.
2573 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2576 Some more details about how the plugin docs works.
2578 * docs/plugins/gstreamer-plugins-sections.txt:
2581 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2583 * gst/parse/grammar.tab.pre.c:
2584 * gst/parse/grammar.tab.pre.h:
2585 * gst/parse/grammar.y:
2586 * gst/parse/lex._gst_parse_yy.pre.c:
2587 Add delayed set-property. This allows to set properties on dynamicaly
2588 created objects (pads in videomxer). Fixes #509391.
2590 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2593 Check if caps are not NULL (fix bug #510194)
2595 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2597 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2598 (gst_base_sink_get_position_paused):
2599 Add fixme regarding EOS in pull mode.
2600 Fix position reporting in PAUSED for negative rates.
2602 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2604 * gst/gstminiobject.c: (gst_mini_object_replace):
2605 When replacing a miniobject, do a quick equality check first so that we
2606 can avoid a ref/unref pair.
2608 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2610 * docs/design/part-synchronisation.txt:
2613 * docs/plugins/Makefile.am:
2614 * docs/plugins/gstreamer-plugins-docs.sgml:
2615 * docs/plugins/gstreamer-plugins-sections.txt:
2616 * plugins/elements/gstmultiqueue.c:
2617 Add multiqueue to the docs.
2619 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2624 === release 0.10.17 ===
2626 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2629 releasing 0.10.17, "Due Negligence"
2631 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2634 Revert caps != NULL check temporarily for 0.10.17 release.
2636 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2639 Check if caps are not NULL (fix bug #510194)
2641 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2644 Fix compilation on systems that have posix timers but no
2647 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2650 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2652 * tools/gst-inspect.c:
2653 Revert previous commit in preparation for an impromptu 0.10.17 release
2655 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2657 * tools/gst-inspect.c: (print_interfaces),
2658 (print_element_properties_info), (print_pad_info),
2659 (print_signal_info), (print_element_info):
2660 Fix a few memory leaks.
2662 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2667 === release 0.10.16 ===
2669 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2672 releasing 0.10.16, "Special Dispensation"
2674 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2677 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2678 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2679 not fail when trying to crosscompile on OpenEmbedded (#511750).
2681 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2684 Use $(MAKE) instead of make to fix the build if GNU make is
2685 called different. Fixes bug #510747.
2687 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2689 * gst/gstplugin.c: (_gst_plugin_initialize):
2690 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2691 again, which I broke two commits ago when changing the API
2692 of gst_plugin_register_static(): the g_list_foreach() in
2693 _gst_plugin_register_static still assumed the old function
2694 signature and would therefore fail (re-fixes #510187).
2696 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2697 (_gst_plugin_register_static), (gst_plugin_register_static):
2698 Revert the (technically correct) change to call g_thread_init() from
2699 the pre-main() constructor. This will break programs which call
2700 g_thread_init() without an if (!g_thread_supported()) guard in their
2701 main function. We could just blame it on GLib or the application, but
2702 it's probably best to just avoid this altogether and simply not use
2703 any GLib functions here and use plain old malloc() with a simple
2704 array to store the plugins to register later when gst_init() is
2705 finally called (re-fixes #510187).
2707 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2708 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2709 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2710 (GST_START_TEST), (gst_plugin_suite):
2711 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2714 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2716 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2717 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2718 This makes gtk-doc complain, but results in slightly better
2719 compiler errors. The old _gst_plugin_register_static() is
2720 still guarded, so there'll be a compiler warning about that
2721 instead. Fixes #510187 too.
2723 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2725 * gst/gst.c: (init_post):
2726 * gst/gstplugin.c: (_gst_plugin_register_static),
2727 (gst_plugin_register_static), (_gst_plugin_initialize):
2728 * gst/gstplugin.h: (GstPluginFilter):
2729 Change API of gst_plugin_register_static() to not take
2730 a GstPluginDesc, but rather just take all the arguments
2731 in a GstPluginDesc directly. This is more intuitive and
2732 avoids certain mistakes when porting code from
2733 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2736 * tests/check/gst/gstplugin.c:
2737 Fix up for changed API.
2739 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2741 * docs/faq/legal.xml:
2742 Update FAQ, Totem actually has an exception these days.
2744 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2746 * win32/common/libgstreamer.def:
2747 Add new API declarations
2749 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2751 * gst/gstminiobject.c:
2752 Spelling fixes for the API docs.
2754 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2756 * libs/gst/base/gstbasetransform.c:
2757 Fix long property description for QoS.
2759 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2762 _gst_trace_on is already provided by gsttrace.h, no need to declare
2765 * docs/libs/gstreamer-libs-sections.txt:
2766 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2767 and remove strange tcase_add_test which is outputting a warning.
2769 * libs/gst/check/gstcheck.c:
2770 * libs/gst/check/gstcheck.h:
2771 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2772 and define them in gstcheck.c instead of having every .c file whcih
2773 includes gstcheck.h be defining its own copy and relying on symbol
2774 interposing to marry them all, which doesn't work on Solaris.
2776 * tests/check/elements/identity.c: (GST_START_TEST):
2777 Don't define 'buffers' locally, it comes from libgstcheck.
2779 * tests/check/generic/sinks.c: (send_buffer):
2780 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2782 * tests/check/gst/gststructure.c: (GST_START_TEST):
2783 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2784 * tests/check/gst/gstutils.c: (GST_START_TEST):
2785 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2786 Add a bunch of casts to make various constants fit the types
2787 they're being assigned to.
2789 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2791 * gst/gstchildproxy.c:
2792 Improve docs and add some ideas for making this more general-purpose.
2794 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2796 * gst/gst_private.h: (GST_CAT_TYPES):
2797 Add GST_CAT_TYPES, for consistency, and so that the other
2798 debug categories don't make fun of it. Spotted by Saur on IRC.
2800 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2802 * gst/parse/Makefile.am:
2803 Move types.h from EXTRA_DIST to noinst_HEADERS.
2805 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2808 Add -Wno-portability to the automake parameters to stop warnings
2809 about GNU make extensions being used. We require GNU make in almost
2810 every Makefile anyway.
2813 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2814 at the same time is required for per target flags.
2816 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2819 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2820 __GNUC__ is defined before using it.
2822 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2824 * docs/gst/gstreamer-sections.txt:
2825 * gst/gst.c: (init_post):
2826 * gst/gstplugin.c: (_gst_plugin_register_static),
2827 (gst_plugin_register_static), (_gst_plugin_initialize),
2828 (gst_plugin_register_func):
2829 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2830 API: add gst_plugin_register_static() and deprecate
2831 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2833 Also, in _gst_plugin_register_static(), make sure to call
2834 g_thread_init() before calling GLib functions such as
2835 g_list_append() if we're not initialised yet, since that
2836 may lead to random crashes with older GSlice/GLib versions.
2838 * tests/check/gst/gstplugin.c:
2839 Adapt unit test to above changes.
2841 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2843 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2844 * gst/gstcaps.c: (gst_caps_to_string):
2845 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2846 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2847 Yet another gratuitous GString micro-optimisation: add a (private)
2848 function that serialises a structure appending to an existing
2849 GString, so that when we serialise caps we don't need to alloc+free
2850 a throwaway GString for each structure (each of which also entailing
2851 multiple reallocs on the way); also use g_string_sized_new() in
2852 various places with an approximate string length to avoid reallocs
2853 within GString. See #500143.
2855 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2857 * gst/gststructure.c: (gst_structure_id_set_value):
2858 Always check UTF-8 conformance of structure strings and not only
2859 if the debugging system is enabled; reasoning: the behaviour of
2860 the actual code shouldn't really change depending on whether the
2861 debugging system is enabled or not (#508291).
2863 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2866 Remove old coverage target in favour of "make lcov".
2868 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2870 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2871 (gst_base_src_loop):
2872 The start segment for reverse playback goes from start to last_stop.
2874 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2876 Patch by: Peter Kjellerstedt <pkj axis com>
2879 Cast the results from the timeval/spec_to_time macros to what the
2880 docs say it casts to, a GstClockTime. fixes #508175.
2882 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2885 Update some comments.
2887 * tools/gst-inspect.c: (print_element_properties_info):
2888 Improve printing of flags.
2890 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2892 * libs/gst/base/gstbasetransform.c:
2893 (gst_base_transform_transform_size):
2894 Print element name with g_warning() if there's a problem
2897 2008-01-07 David Schleef <ds@schleef.org>
2899 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2901 * libs/gst/controller/gstcontroller.h:
2902 * libs/gst/controller/gstcontrolsource.h:
2903 * libs/gst/controller/gstinterpolationcontrolsource.h:
2904 * libs/gst/controller/gstlfocontrolsource.h:
2905 * libs/gst/dataprotocol/dataprotocol.h:
2906 Fix empty prototypes. Fixes bug #507957.
2908 2008-01-07 David Schleef <ds@schleef.org>
2910 * docs/faq/dependencies.xml: Fix typo.
2912 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2914 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2915 (gst_base_src_loop):
2916 Don't update the last_stop position in do_seek, that's the position we
2918 Read backwards when we have a negative rate.
2920 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2921 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2923 Add check for reverse reading.
2925 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2927 Patch by: Alexis Ballier <aballier at gentoo org>
2929 * tests/check/gst/gstabi.c:
2930 * tests/check/gst/struct_ppc64.h:
2931 * tests/check/libs/libsabi.c:
2932 * tests/check/libs/struct_ppc64.h:
2933 Decide which header to include based on the userland ABI target
2934 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2935 for 64-bit userland (#503590). Might need something similar for
2938 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2940 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2941 Log the reason why fopen fails in addition to the fact that it failed.
2943 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2945 * gst/parse/parse.l:
2946 Use "%option never-interactive" to prevent useless calls to isatty()
2947 on every input when parsing. Also use "%option noinput" to not define
2948 the static input/yyinput functions which we don't use anyway. This
2949 removes a compiler warning with gcc 4.3 and saves some bytes in the
2952 * gst/parse/lex._gst_parse_yy.pre.c:
2953 Regenerated for the above change.
2955 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2957 * gst/gstpad.c: (fixate_value):
2958 Don't crash when trying to fixate and empty list.
2961 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
2963 * docs/faq/gst-uninstalled:
2964 Clarify the comments to make the usage of this script and what it
2965 does easier to understand.
2967 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
2969 * tools/gst-plot-timeline.py:
2970 Add more options to gst-plot-timeline
2972 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
2974 * docs/design/part-synchronisation.txt:
2975 Some more info on how the stream_time in GstBaseSink is done.
2977 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
2979 * tests/check/generic/sinks.c: (gst_sinks_suite):
2980 Put back the tcase_set_timeout(), apparently it's needed after
2981 all; fix it up in a way that makes things work with valgrind too.
2983 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
2985 * gst/gstdebugutils.c:
2986 Add warning when failed to open file for writing.
2988 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2990 Based on patch by: Laurent Glayal <spglegle yahoo fr>
2992 * gst/gstvalue.c: (gst_value_is_fixed):
2993 Optimisation: bail out of the loop as early as possible (#500143).
2995 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2997 * gst/gstcaps.c: (gst_caps_to_string):
2998 * gst/gstinfo.c: (gst_debug_construct_term_color):
2999 * gst/gstparse.c: (gst_parse_launchv):
3000 * gst/gstutils.c: (gst_util_dump_mem):
3001 * gst/gstvalue.c: (gst_value_serialize_any_list),
3002 (gst_value_transform_any_list_string):
3003 Bunch of gratuitous nano-optimisations.
3005 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3007 * tests/check/generic/sinks.c: (async_done_func),
3008 (async_done_eos_func):
3009 Fix leak in unit test (bus sync handler must unref the message
3010 if it returns GST_BUS_DROP). Don't fiddle with the default test
3011 timeout, this is smaller than the current preconfigured value
3012 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3013 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3015 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3017 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3020 Check for stdio_ext.h for the filesink changes.
3022 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3023 (gst_file_sink_class_init), (gst_file_sink_init),
3024 (gst_file_sink_dispose), (gst_file_sink_set_property),
3025 (gst_file_sink_get_property), (gst_file_sink_open_file),
3026 (gst_file_sink_close_file):
3027 * plugins/elements/gstfilesink.h:
3028 Add two properties to control the buffering mode and size.
3029 API: GstFileSink::buffer-mode
3030 API: GstFileSink::buffer-size
3033 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3035 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3036 Add some more docs to explain why a FIXME was wrongly added.
3038 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3041 Fix typo in the gst_object_{ref,unref} documentation.
3043 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3045 * tests/check/libs/controller.c:
3046 * tests/check/libs/typefindhelper.c:
3047 * tests/check/pipelines/parse-launch.c:
3048 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3049 going to be deprecated (see #498924).
3051 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3053 * gst/gsttypefind.c: (gst_type_find_register):
3054 Make gst_type_find_register work for static typefind functions,
3055 ie. allow passing plugin == NULL (prerequisite for #498924).
3057 * gst/gstelementfactory.c: (gst_element_register):
3058 Small docs addition.
3060 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3062 * gst/gstpad.c: (gst_pad_dispose):
3063 Really unlink the peer pad instead of setting the peer pointer to NULL
3064 when we dispose the pad.
3065 This correctly calls the unlink functions and makes sure that the peer
3066 does not have a handle to invalid memory. See #504671.
3068 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3069 Add testsuite for above case.
3071 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3073 Patch by: Peter Kjellerstedt <pkj axis com>
3075 * libs/gst/check/gstcheck.h:
3076 Fix detection of the check version we're compiling against (would
3077 otherwise break if check goes v0.10.0); correctly report the
3078 name of the failed test again in case of failure, instead of
3079 just 'tf' (fixes #504499).
3081 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3083 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3084 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3085 (gst_base_src_loop), (gst_base_src_set_flushing),
3086 (gst_base_src_change_state):
3087 Allow sending EOS to the source to make it send out an EOS event from
3088 the streaming thread.
3089 Update docs and deprecate the old NULL/READY shutdown method.
3091 * tests/check/libs/basesrc.c: (GST_START_TEST),
3092 (gst_basesrc_suite):
3093 Add unit test for controlled shutdown.
3095 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3097 * docs/design/part-synchronisation.txt:
3100 * gst/gstsegment.c: (gst_segment_set_seek),
3101 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3102 (gst_segment_to_running_time):
3103 The seek format can be different from the segment format when the start
3104 and stop values are not to be updated, when we only do a rate change for
3107 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3108 (gst_segment_suite):
3109 Add a testcase for the rate-only seeks, checking that the format is
3110 correctly ignored when start and stop are not updated.
3112 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3114 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3116 * win32/vs8/grammar.vcproj:
3117 * win32/vs8/libgstcontroller.vcproj:
3118 * win32/vs8/libgstreamer.vcproj:
3119 Fix compilation with VS8 and include some missing files.
3121 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3124 Small docs addition: mention that the strings returned by
3125 gst_tag_list_get_string*() are in UTF-8 encoding.
3127 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3130 The check-exports stuff moved to common/win32.mak, so include that.
3132 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3134 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3135 (gst_base_src_perform_seek), (gst_base_src_get_range),
3136 (gst_base_src_set_playing), (gst_base_src_change_state):
3137 Make _wait_playing() not check any variables so that we can call this
3138 function from subclasses. Move the checks elsewhere similar to
3139 _wait_preroll() in basesink.
3141 Only signal the LIVE cond when we are going back to PLAYING.
3143 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3145 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3146 Use g_remove() and g_rename(). Check result of g_rename(), and
3147 don't leak the open file descriptor if we error out when writing.
3149 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3150 Must check the return value of close() after writing out the new
3151 registry file. Sometimes write problems such as out-of-diskspace
3152 are only reported when the file is closed and not already during
3153 the write. This may have caused partial/broken registry files in
3154 some rare circumstances. Should fix #503675.
3156 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3158 * docs/gst/.cvsignore:
3159 * docs/libs/.cvsignore:
3160 * docs/plugins/.cvsignore:
3161 Ignore files generated by new common/* modifications
3163 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3165 * win32/common/libgstbase.def:
3166 Yes, you can also have a <TAB> if you want.
3168 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3170 * win32/common/libgstbase.def:
3171 Add new basetransform API to win export file.
3173 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3175 * tests/check/gst/gstbin.c:
3176 Adjust the test to the refcount change two days ago.
3178 2007-12-14 David Schleef <ds@schleef.org>
3180 * docs/faq/getting.xml: Fix typo.
3182 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3184 * docs/libs/gstreamer-libs-sections.txt:
3185 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3186 (gst_base_transform_prepare_output_buffer),
3187 (gst_base_transform_set_gap_aware):
3188 * libs/gst/base/gstbasetransform.h:
3189 API: Add gst_base_transform_set_gap_aware() to control whether
3190 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3191 get buffers with this flag at all. Fixes #503231.
3193 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3195 * libs/gst/base/gstbasesink.c:
3196 * libs/gst/base/gstbasesrc.c:
3197 * libs/gst/base/gstbasetransform.c:
3198 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3199 thread. Correct log message in gstbasesrc.c.
3201 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3203 * gst/gstutils.c: (element_find_unconnected_pad):
3204 Fix possible compiler warning (#503417).
3206 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3208 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3209 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3211 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3213 * tools/gst-inspect.c: (print_element_properties_info):
3214 Add support for GstFraction properties.
3216 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3219 Add check-exports target and run it as part of 'make check'
3220 (see #499140 and #493983).
3222 * gst/gst_private.h:
3223 * gst/gstelementfactory.h:
3224 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3225 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3226 (_priv_gst_in_valgrind):
3227 * gst/gstinfo.h: (GstLogFunction):
3228 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3229 (gst_type_find_register):
3230 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3231 (gst_type_find_factory_get_type):
3232 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3233 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3234 (gst_controller_new_valist), (gst_controller_new_list),
3235 (_gst_controller_dispose), (_gst_controller_class_init):
3236 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3237 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3238 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3239 (gst_object_get_controller), (gst_object_set_controller),
3240 (gst_object_suggest_next_sync), (gst_object_sync_values),
3241 (gst_object_set_control_source), (gst_object_get_control_source),
3242 (gst_object_get_value_arrays), (gst_object_get_value_array),
3243 (gst_object_get_control_rate), (gst_object_set_control_rate):
3244 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3245 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3246 Make some functions that should be static static; rename some
3247 private symbols so that they don't get exported; add some FIXME
3248 comments so we can move accidentally exported functions into
3249 our private section in 0.11.
3251 * win32/common/libgstreamer.def:
3252 Add gst_utils_get_timestamp().
3254 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3258 Add more missing "Since:" tags to docs.
3260 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3263 Add mising "Since:" to docs.
3265 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3268 Include "glib-compat-private.h" to fix the build on system with
3269 glib < 2.10. Fixes #503131.
3271 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3275 Actually its not PURE as it gets the time from elsewhere.
3277 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3279 * docs/gst/gstreamer-sections.txt:
3281 * gst/gstdebugutils.c:
3285 * libs/gst/base/gstbasesink.c:
3286 * tools/gst-launch.c:
3287 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3288 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3289 Thanks Tim for spotting.
3290 API: gst_util_get_timestamp
3292 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3295 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3297 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3299 * gst/gststructure.c: (gst_structure_validate_name),
3300 (gst_structure_new_valist), (gst_structure_parse_value),
3301 (gst_structure_from_string):
3302 Don't crash in _from_string() if the structure name is not valid
3303 (fixes #501560). Allow structure names to start with a number
3304 again (this apparently broke the ubuntu codec installer).
3306 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3308 Add unit test for the crash; update unit tests for new behaviour.
3310 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3313 Clarify gst_element_get_compatible_pad() documentation.
3316 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3318 * tests/check/Makefile.am:
3319 Don't forget to dist {gst,libs}/struct_hppa.h.
3321 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3323 * libs/gst/base/gstbasesink.c:
3324 Use new API to get elapsed time.
3326 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3328 * gst/gstdebugutils.c:
3330 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3332 * tools/gst-launch.c:
3333 Use new API to get elapsed time.
3335 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3337 * docs/gst/gstreamer-sections.txt:
3339 * gst/gstdebugutils.c:
3341 Rename new API + ChangeLog surgery to remove old name from last entry..
3343 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3345 * docs/gst/gstreamer-sections.txt:
3347 * gst/gstdebugutils.c:
3349 Now hide the different clock stuff behind a macro.
3351 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3354 * gst/gstdebugutils.c:
3356 Apply the posix-timer check from #361155. Conditionally use the posix
3357 timer for logging. This gives better timestamp precission, less
3358 overhead and no ntp jitter.
3360 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3362 * gst/gstminiobject.c: (gst_mini_object_get_type),
3363 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3364 (gst_mini_object_finalize), (gst_mini_object_copy),
3365 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3366 (gst_mini_object_replace), (param_mini_object_validate),
3367 (gst_param_spec_mini_object_get_type):
3368 Some cleanup and checking against invalid function parameters.
3370 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3372 * docs/gst/gstreamer-sections.txt:
3374 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3375 (gst_systemclock_suite):
3376 Start merging in the easy bits of #361155, the monotonic clock patch.
3377 This one adds a few handy macros with docs and a testsuite.
3379 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3381 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3382 Be a bit smarter when seeking, like, don't try to do a seek when it's
3383 not needed. This avoids errors when the file is not seekable.
3386 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3388 * docs/gst/gstreamer-docs.sgml:
3389 * docs/gst/gstreamer-sections.txt:
3390 * docs/gst/gstreamer.types.in:
3395 * plugins/elements/gstqueue.c:
3396 Due to popular request remove preset interface again. :-(.
3398 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3400 * tools/gst-inspect.c:
3401 Print 'default value' for enums and flags too.
3403 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3405 * docs/random/ensonic/profiling.txt:
3409 Fix typo and give better log output.
3411 * gst/gstdebugutils.c:
3412 * gst/gstdebugutils.h:
3413 More ideas, make graphs a bit smaller and fix param name in macro.
3415 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3418 Try harder to use the return value from fgets().
3420 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3423 For theses two fgets we handle the error below.
3425 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3427 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3428 Only send upstream events upstream. Fixes #498746.
3430 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3432 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3434 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3435 (gst_identity_init), (gst_identity_transform_ip),
3436 (gst_identity_set_property), (gst_identity_get_property):
3437 * plugins/elements/gstidentity.h:
3438 Add property to disable handoff signal emission. Fixes #498694.
3439 API: GstIdentity::signal-handoffs
3441 2007-11-21 Julien Moutte <julien@fluendo.com>
3443 * docs/faq/gst-uninstalled: Yet another missing library for the
3444 uninstalled script (fft)
3446 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3448 * docs/faq/developing.xml:
3449 Add a question about how to submit new translations.
3451 * docs/random/release:
3452 Update the contact email address for the Translation Project
3454 * plugins/elements/gstfdsrc.c:
3455 The parent_class for fdsrc is pushsrc, not GstElement.
3457 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3460 Plug a leak and fix saving.
3462 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3464 * docs/gst/gstreamer-sections.txt:
3465 Add new gst_preset__get_property_names() function to the docs
3468 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3472 Change _get_preset_names API to return a strv with copies. Add
3473 _get_property_names to allow implementations to filter and provide
3474 good default implementation.
3476 2007-11-20 Julien MOUTTE <julien@moutte.net>
3478 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3481 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3484 More cleanups, docs, and TODOs from comments that now slowly come in.
3486 2007-11-19 Julien MOUTTE <julien@moutte.net>
3488 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3491 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3494 Fix bogus warning and make the property type specific code more
3497 2007-11-19 Julien MOUTTE <julien@moutte.net>
3499 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3502 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3504 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3505 (gst_bin_add_func), (gst_bin_remove_func),
3506 (gst_bin_change_state_func), (gst_bin_continue_func):
3507 Change email, cleanups add some more debug and comments.
3508 Also set bus and clock on new elements when the pipeline was in error.
3510 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3513 * gst/gstdebugutils.c:
3514 Fix build with --disable-gst-debug. Fixes #497859.
3515 Spotted by Sameer Naik.
3517 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3520 Little documentation improvment.
3523 More TODO cleanups. Remove c++ comments.
3525 * libs/gst/controller/gstcontroller.c:
3526 Add TODO and use quark from static string.
3528 * tests/check/gst/gstmessage.c:
3529 * tests/check/gst/gststructure.c:
3530 Use quark from static string.
3532 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3535 Add some comments and TODOs.
3538 Add padding for future changes.
3540 * plugins/elements/gstqueue.c:
3541 Implement the iface.
3543 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3545 * docs/gst/gstreamer-docs.sgml:
3546 * docs/gst/gstreamer-sections.txt:
3547 * docs/gst/gstreamer.types.in:
3552 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3554 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3560 === release 0.10.15 ===
3562 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3565 releasing 0.10.15, "October"
3567 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3569 * win32/vs6/libgstreamer.dsp:
3570 Convert line endings back to DOS.
3572 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3574 * docs/design/draft-tagreading.txt:
3575 * docs/random/ensonic/profiling.txt:
3576 Update fast tagreading draft and performance profiling ideas.
3578 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3580 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3581 Don't hold the object lock when unreffing a buffer because it could
3582 cause a deadlock when the finalize function wants to grab the object
3583 lock too. Fixes #495133.
3585 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3587 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3588 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3589 Also accumulate time correctly when doing reverse playback. Fixes
3591 When converting to running and stream time, use default values for
3592 start/stop/time/accum when comparing different formats. Fixes #494245.
3594 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3595 Do running/stream time in TIME format.
3597 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3598 (gst_segment_suite):
3599 2 new unit tests for segment accumulation.
3601 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3603 * gst/gst.c: (init_pre):
3604 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3605 (_gst_debug_bin_to_dot_file):
3606 Move getenv() back into gst_init, so everyone can live happily
3607 ever after. Make sure the symbol isn't exported though.
3609 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3611 Patch by: Sebastien Moutte <sebastien moutte net>
3613 * win32/common/gstenumtypes.c:
3614 * win32/common/gstenumtypes.h:
3617 * win32/vs6/libgstreamer.dsp:
3618 Update vs6 project files (#494343).
3620 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3622 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3623 (gst_base_src_perform_seek), (gst_base_src_default_event),
3624 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3625 (gst_base_src_activate_pull):
3626 Unify flushing code, remove some old unlock code that is no longer used.
3627 Take the streaming lock when seeking to avoid races. Fixes #492729.
3628 Added some more comments.
3630 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3632 * gst/gst.c: (_gst_disable_segtrap):
3633 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3634 we can use gst_segtrap_is_enabled() there now that we have that API.
3635 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3636 to do the getenv here (and export the variable).
3638 * gst/gstdebugutils.c: (debug_dump_element),
3639 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3640 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3642 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3643 (gst_debug_log_default):
3644 Rename _gst_info_start_time to priv_gst_info_start_time so it
3645 doesn't get exported (was never in any header).
3647 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3648 (gst_plugin_loading_mutex):
3649 Make static mutex gst_plugin_loading_mutex really static (was never
3650 in any header), and use gst_segtrap_is_enabled() instead of
3651 _gst_disable_segtrap.
3653 * gst/gsttrace.c: (_gst_trace_default):
3654 Make local _gst_trace_default static (was never in any header).
3656 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3658 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3660 * win32/common/libgstbase.def:
3661 * win32/common/libgstcontroller.def:
3662 * win32/common/libgstdataprotocol.def:
3663 * win32/common/libgstnet.def:
3664 * win32/common/libgstreamer.def:
3665 Add more missing symbols, remove some duplicates, and sort
3666 as the 'sort' command sorts it (partially fixes #493983).
3668 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3670 * gst/gstelement.c: (gst_element_set_state_func):
3671 Only change the state cookie if a different state was set on the
3672 element. See #492729.
3674 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3677 Remove unused and uninitialised type variables that were still
3678 exported for some reason (they were never in any header files
3681 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3683 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3684 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3685 (gst_base_sink_event), (gst_base_sink_get_position_last),
3686 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3687 (gst_base_sink_change_state):
3688 Don't try to report a 0 position when we don't know, return -1 and FALSE
3689 instead. This mostly happens when we are prerolling.
3690 Make sure we can report the right position before we post the ASYNC_DONE
3691 message so that a message handler can query position without races.
3693 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3694 (async_done_handoff), (async_done_func), (send_buffer),
3695 (async_done_eos_func), (gst_sinks_suite):
3696 Add two tests for the above.
3698 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3701 Update with new email address.
3703 * docs/design/part-TODO.txt:
3704 Add some more info about future pad-block and negotiation changes.
3706 * docs/design/part-buffering.txt:
3707 Add some ideas about buffering reporting.
3709 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3711 * tests/check/gst/gstobject.c:
3712 Disable silly racy test that always fails on this combination of CPU
3715 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3717 Patch by: Murray Cumming <murrayc@murrayc.com>
3720 Corrected the registration of the parent-set and parent-unset
3721 signals: The parameter is a GstObject, not a GObject (#493134).
3723 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3725 * gst/gst_private.h:
3734 Move declaration of private _gst_foo_initialize() functions into
3735 our private header file where they should have been all along.
3737 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3739 * docs/plugins/gstreamer-plugins-sections.txt:
3740 * gst/gstdebugutils.h:
3742 * plugins/elements/gstqueue.c:
3743 gtk-doc fixes; trailing-comma-in-enum fix.
3745 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3747 * gst/gst.c: (gst_deinit):
3748 Clean up on deinit (not the external ones though, doesn't seem to be
3749 needed for some reason).
3751 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3753 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3754 Remove __declspec(dllimport) for MSVC that was copied over into core
3755 from a plugin, obviously without ever having been tested (note the
3756 single underscore in _declspec in the initial commit), and that doesn't
3757 really make sense. See #492077.
3759 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3761 * gst/gst.c: (init_post):
3762 * gst/gstevent.c: (_gst_event_initialize):
3763 * gst/gstquery.c: (_gst_query_initialize):
3764 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3765 g_type_class_ref() other types as well, see #349410 and #64764.
3767 * gst/gstbuffer.c: (_gst_buffer_initialize):
3768 * gst/gstmessage.c: (_gst_message_initialize):
3769 Simplify existing g_type_class_ref().
3771 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3773 * gst/gstformat.c: (_gst_format_initialize):
3774 g_type_class_ref() our GstFormat type to make sure we avoid the
3775 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3776 bug #64764. Should fix intermittent tee unit test failures (#474823).
3778 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3780 * tests/check/elements/tee.c: (test_num_buffers):
3781 Simplify, simplify, simplify - or not. Rewrite unit test
3782 not to use gst_parse_launch(); allow N sub-streams. Increasing
3783 the number of sub-streams seems to reproduce #474823 more easily.
3785 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3787 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3790 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3791 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3792 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3793 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3794 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3795 so use _pipe() directly (#492077).
3797 * win32/common/dirent.c: (_treaddir):
3798 Add a couple of casts to make it build without warnings with MSVC.
3800 * win32/common/libgstreamer.def:
3801 Add some more symbols that need to be exported.
3803 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3805 * tests/examples/metadata/read-metadata.c: (message_loop):
3806 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3807 arriving in a second or third tag message are added to
3808 the tag list as well.
3810 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3812 * libs/gst/base/gstbasesrc.c:
3813 Its "Since:" and not "@Since:". And remove an superflous cast.
3815 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3817 * docs/libs/gstreamer-libs-sections.txt:
3818 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3819 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3820 (gst_base_sink_get_property), (gst_base_sink_render_object),
3821 (gst_base_sink_preroll_object),
3822 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3823 (gst_base_sink_change_state):
3824 * libs/gst/base/gstbasesink.h:
3825 Add a new last-buffer property that contains the last buffer used in
3826 basesink for preroll or rendering. useful for making snapshots.
3827 API: gst_base_sink_get_last_buffer()
3828 API: GstBaseSink::last-buffer
3830 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3832 * docs/gst/running.xml:
3834 * gst/gstdebugutils.c:
3835 * gst/gstdebugutils.h:
3836 * tools/gst-launch.c:
3837 Improve bin graph dumping, by using the envvar to specify a path.
3838 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3840 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3842 * plugins/elements/gsttypefindelement.c:
3843 (gst_type_find_element_handle_event),
3844 (gst_type_find_element_activate):
3845 Post special error message if we can't determine the type of a stream
3848 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3850 * docs/gst/running.xml:
3851 * gst/gstdebugutils.c:
3852 Document new env-var. Add one log-line after dumpng a graph.
3854 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3857 Ugly hack to put the (recently removed and non-portable, apparently)
3858 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3859 GNU ld, because without that 'make check' fails miserably on my debian
3860 stable box. Someone with more knowledge of linker intricacies and
3861 portability issues than me fix this properly please.
3863 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3865 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3866 Reset last seen position after flushing so that we don't report the old
3869 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3871 * gst/gstelementfactory.c: (gst_element_register):
3873 Patch from Alessandro Decina adding get_type_full and
3874 get_protocols_full private vfuncs to the URIHandler interface
3875 to allow bindings to support creating URI handlers.
3876 Partially fixes: #339279
3877 API: GstURIHandlerInterface::get_type_full
3878 API: GstURIHandlerInterface::get_protocols_full
3880 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3882 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3883 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3884 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3885 Make it so that pads are considered linked until a buffer is pushed
3886 and discovered otherwise. This avoids problems with decodebin2 hanging
3887 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3890 Make sure we lock the multiqueue when updating the max-size properties.
3892 Fix a crash on Solaris in a debug statement in get_request_pad that
3893 passes a NULL string to GST_DEBUG.
3895 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3896 (run_output_order_test):
3897 Fix the test to allow the first buffer on not-linked pads to come out
3898 of sequence while multiqueue discovers that they are not-linked.
3900 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3903 * libs/gst/check/Makefile.am:
3904 Use a custom export symbol regex for libgstcheck, as it needs
3905 to export symbols that don't match the standard GStreamer gst_*
3906 pattern, and --export-dynamic is not portable (only works on
3909 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3910 (gst_check_setup_sink_pad):
3911 Make sure to pass a message parameter to the fail_* macros.
3913 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3914 Fix some compiler warnings.
3916 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3918 * tests/check/gst/gststructure.c: (test_to_string):
3919 Disable test that checks that white spaces are not allowed
3920 in structure names or field names, since we need to
3921 support that for now for backwards compatibility reasons.
3923 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3925 * docs/gst/gstreamer-sections.txt:
3928 API: add GST_TAG_ARTIST_SORTNAME
3929 API: add GST_TAG_ALBUM_SORTNAME
3930 API: add GST_TAG_TITLE_SORTNAME
3931 Add tag variants for sorting (#414539).
3933 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3935 * gst/gststructure.c:
3936 Also allow white space for names so we don't break
3937 backwards compatibility.
3939 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3941 * docs/design/part-TODO.txt:
3942 * docs/design/part-segments.txt:
3943 * docs/design/part-streams.txt:
3946 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3948 * docs/gst/gstreamer-sections.txt:
3949 Fixed documentation from my previous commit (added new API add
3950 gst_value_set_structure(), add gst_value_get_structure() and
3951 GST_VALUE_HOLDS_STRUCTURE).
3953 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3955 * gst/gstdebugutils.c:
3956 Reflow code to fix uninitialized variable warning.
3958 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3960 * gst/gstcaps.c: (gst_caps_to_string),
3961 (gst_caps_from_string_inplace):
3962 * gst/gststructure.c: (gst_structure_get_abbrs),
3963 (gst_structure_to_string), (gst_structure_from_string):
3964 * gst/gstvalue.c: (gst_value_set_structure),
3965 (gst_value_get_structure), (gst_value_serialize_structure),
3966 (gst_value_deserialize_structure), (_gst_value_initialize):
3968 * tests/check/gst/gststructure.c: (GST_START_TEST),
3969 (gst_structure_suite):
3970 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3971 Added GstStructure to gst_value_table and its related functions.
3972 Changed gst_structure_to_string to print ';' in the end.
3973 Changed gst_caps_to_string to not print ';' beteween its
3974 fields (structures) anymore and remove the lastes ';' from latest
3975 structure. Now it is possible to have nested structures.
3976 In addition, backward compatibilty is assured by accepting '\0' as
3977 end delimiter. Fixes: #487969.
3978 API: add gst_value_set_structure()
3979 API: add gst_value_get_structure()
3980 API: add GST_VALUE_HOLDS_STRUCTURE
3982 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
3985 When no GSource callback has been set up, tell developer
3986 to use a function that actually exists.
3988 2007-10-17 Stefan Kost <ensonic@users.sf.net>
3990 * docs/gst/gstreamer-sections.txt:
3994 * gst/gstdebugutils.c:
3995 * gst/gstdebugutils.h:
3998 * tools/gst-launch.c:
3999 Allow dumping pipelines as dot graphs. Fixes #456573.
4001 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4003 * gst/gststructure.c:
4004 Allow '+' as well, it can be part of media or mime types
4005 such as image/svg+xml.
4007 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4009 * docs/gst/gstreamer-sections.txt:
4012 API: add gst_bus_pop_filtered
4013 API: add gst_bus_timed_pop_filtered
4014 Two new functions for waiting for specific message types on the
4015 bus for a specified amount of time without iterating any main
4016 loops or main contexts.
4018 * tests/check/gst/gstbus.c:
4019 Some tests for the new functions.
4021 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4023 * docs/libs/gstreamer-libs-sections.txt:
4024 Make gtk-doc ignore stuff it should ignore.
4026 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4028 * libs/gst/check/gstcheck.c:
4029 * libs/gst/check/gstcheck.h:
4030 Allow runtime selection of unit tests to run via the GST_CHECKS
4031 environment variable (test case function names, comma-separated).
4033 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4035 * gst/gststructure.c:
4036 * tests/check/gst/gststructure.c:
4037 Revert serialisation change and constrain structure-names after
4038 consensus on irc. Update api documentation to reflect the change.
4040 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4042 * gst/gststructure.c:
4043 Improve serialization and fix tests.
4045 * tests/check/gst/gststructure.c:
4046 Add another test that covers why I actually did the previous structure
4049 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4051 * tools/gst-inspect.c: (print_element_info):
4052 Don't crash when inspecting an element.
4054 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4056 * tests/check/gst/gststructure.c:
4057 Add unit test for escaping of structure name when serialising
4058 and deserialising to/from strings.
4060 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4062 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4063 (gst_single_queue_new):
4064 * plugins/elements/gstqueue.c: (gst_queue_init),
4065 (gst_queue_push_one):
4066 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4067 upstream is tricked into thinking it can suggest a format downstream
4068 while downstream does not support that format. The real problem is that
4069 core calls acceptcaps when pushing a buffer with new caps, for which we
4070 do a little workaround by setting the caps on the srcpad ourselves
4071 before pushing the buffer (until this is figured out). Fixes #486758.
4073 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4075 * gst/gststructure.c:
4077 Add some more comments and debug output. Quote structure name to fix
4078 deserialisation of some strings.
4080 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4083 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4084 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4086 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4088 * tools/gst-inspect.c:
4089 Save approx. 400 1 byte allocs when printing. Use API to acces element
4095 * tools/gst-xmlinspect.c:
4096 Use API to acces element details.
4098 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4101 Fix some spelling errors.
4103 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4105 * gst/gstbin.c: (bin_handle_async_done):
4106 Correctly set the next state if all of our async children commited their
4107 state. This makes sure we can actually cancel the state change in
4108 progress. Fixes a regression in Rhythmbox when seeking.
4110 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4113 Don't shadow local variable.
4116 Don't shadow global function name.
4118 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4120 * gst/gstelementfactory.c:
4121 * gst/gstpluginfeature.c:
4122 * gst/gstpluginfeature.h:
4123 * gst/gstregistrybinary.c:
4124 * gst/gstregistryxml.c:
4125 * gst/gsttypefind.c:
4126 Use already-interned string for the private GstPluginFeature
4129 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4131 * docs/libs/gstreamer-libs-sections.txt:
4132 Add new API to docs; fixes the build.
4134 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4136 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4138 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4139 (gst_base_sink_event):
4140 * libs/gst/base/gstbasesink.h:
4141 Add function to wait for EOS, subclasses can use this to correctly wait
4142 for devices to drain before performing the EOS logic. Fixes #485343.
4143 API: gst_base_sink_wait_eos()
4145 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4148 Cast description string constants in GST_PLUGIN_DEFINE macros
4149 to a (gchar*) to make C++ code using these macros compile
4150 without warning with g++-4.2 (see #462737). Even if slightly
4151 ugly, this seems preferable to putting the description strings
4152 into the GLib quark table or making the structure member a
4153 const gchar * and doing casts in core code that allocs and
4154 frees these strings, or requiring a cast in the C++ code.
4156 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4159 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4160 to print the entire class/function signature into the log
4161 file for C++ code. This only affects C++ code, for C code
4162 everything remains the same.
4164 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4166 * gst/gstbin.c: (remove_from_queue):
4167 Work around a problem with pipelines containing (semi)loops until a
4168 proper, more complicated solution is ready. See #475455.
4170 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4174 * gst/gstregistrybinary.c:
4175 * gst/gstregistryxml.c:
4176 Put more strings into the GLib quark table. No need to keep
4177 a hundred-something copies of identical version strings,
4178 license strings, package name strings and package origin
4181 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4183 * docs/manual/advanced-dataaccess.xml:
4184 Don't imply that it's okay to unconditionally change
4185 buffer data or buffer metadata in a pad probe callback,
4186 and a bunch of other comments. Fixes #430031.
4188 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4190 * win32/common/gstenumtypes.c:
4191 * win32/common/gstenumtypes.h:
4192 * win32/common/gstversion.h:
4193 Update generated files.
4195 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4197 * docs/manual/advanced-autoplugging.xml:
4198 Prefix section with broken code with a warning (see #342432).
4200 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4202 * docs/manual/appendix-integration.xml:
4203 * docs/manual/basics-init.xml:
4204 Call g_thread_init() before g_option_context_new() to
4205 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4207 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4209 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4210 (gst_base_sink_queue_object_unlocked),
4211 (gst_base_sink_queue_object), (gst_base_sink_event),
4212 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4213 When we received EOS and are waiting for when to post the EOS message,
4214 our state is prerolled and we should not return ASYNC.
4215 Reorganize some code paths to implement this behavior.
4217 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4219 Add unit test to verify above EOS fix.
4221 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4223 * plugins/elements/gsttypefindelement.c:
4224 (gst_type_find_element_have_type), (gst_type_find_element_init),
4225 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4226 Move detecting the input caps of the sinkpad to the setcaps function.
4227 This allows us to update the output caps when we receive new input caps
4228 instead of always using the first detected caps.
4230 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4232 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4233 (gst_base_sink_get_position):
4234 Don't try to preroll non-async elements after a flush.
4235 Subtract latency form clock times when reporting position.
4237 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4239 * gst/gstpad.c: (gst_pad_pause_task):
4241 Small comment and documentation update.
4243 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4245 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4246 (gst_base_src_set_live), (gst_base_src_is_live),
4247 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4248 (gst_base_src_default_event), (gst_base_src_wait),
4249 (gst_base_src_do_sync), (gst_base_src_get_range),
4250 (gst_base_src_pad_get_range), (gst_base_src_loop),
4251 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4252 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4253 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4254 (gst_base_src_change_state):
4255 Rework the locking of basesrc in a similar fashion to basesink. We
4256 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4257 us to handle live sources and semi live ones much better.
4259 Fix unlocking when seeking, shutting down and pausing in live sources.
4261 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4263 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4264 Fix compilation again.
4266 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4269 Use meaningful categories for the logs to clean the default one.
4271 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4273 * tests/check/pipelines/cleanup.c:
4274 Print message name and not just number.
4276 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4278 * docs/design/draft-tagreading.txt:
4279 Add some more thoughts.
4281 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4283 * tests/check/pipelines/simple-launch-lines.c:
4284 Print message name and not just number.
4286 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4288 * libs/gst/base/gsttypefindhelper.c:
4289 Speedup typefinding. This is work in progress (see #459862).
4291 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4294 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4295 Spotted by Josep Torra Valles <josep@fluendo.com>.
4297 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4300 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4301 field has moved to GstObject.
4303 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4305 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4306 (gst_base_src_get_range), (gst_base_src_change_state):
4307 Call unlock for live sources so that they can't get stuck in _create and
4308 produce a buffer before they are set back to PLAYING.
4310 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4312 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4313 (gst_queue_locked_dequeue):
4314 Comment the segment-related code... in the PROPER function.
4315 See #482147 and my commit from yesterday.
4317 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4319 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4320 Also initialize the counter that calculates the first timestamp on a
4321 buffer correctly for non-live sources.
4323 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4325 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4326 Disable code that's breaking the current-time-level reporting.
4329 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4331 * docs/gst/gstreamer-sections.txt:
4332 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4333 as they shouldn't show up. Fixes the docs build.
4335 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4338 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4339 Define M_PI which is used in files which are including gstinfo.h.
4340 VS6 includes doesn't define it.
4341 * win32/common/libgstbase.def:
4342 * win32/common/libgstcontroller.def:
4343 * win32/common/libgstreamer.def:
4344 Add new exported functions and variables.
4345 * win32/vs6/libgstcontroller.dsp:
4346 * win32/vs6/libgstreamer.dsp:
4347 Update the list of files to build.
4349 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4351 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4353 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4354 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4355 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4356 Improve debugging. Fixes #480858.
4358 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4360 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4362 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4363 First patch of code cleanups, use the macros and right arguments in the
4364 macros to signal and lock the queue. See #480858.
4366 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4368 * gst/gstbus.c: (poll_func):
4369 Improve debugging when dealing with _poll().
4371 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4373 * gst/gstregistryxml.c:
4374 Fix memory leak I introduced a few days ago.
4376 2007-09-26 Michael Smith <msmith@fluendo.com>
4378 * gst/gstbuffer.c: (gst_buffer_finalize):
4379 Make it once again possible to free GstBuffers in the default
4381 The poisoning scribbles on parts of the miniobject we need in
4385 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4387 * docs/gst/gstreamer-sections.txt:
4390 API: add GST_TAG_COMPOSER, fixes #459809.
4392 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4396 Add the 3-clause BSD license and the MIT/X11 license to the license
4397 list. Fixes #479784.
4399 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4401 * docs/faq/getting.xml:
4402 Add Q+A about different GStreamer versions (#364056).
4404 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4406 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4407 (gst_base_sink_event), (gst_base_sink_change_state):
4408 Return correct gboolean from query function.
4410 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4412 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4413 (gst_base_sink_event), (gst_base_sink_query),
4414 (gst_base_sink_change_state):
4415 Simplify latency query.
4416 When not synchronizing, we can report latency without querying the peer
4419 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4423 Fix small typos in the docs.
4425 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4427 * docs/design/draft-latency.txt:
4428 * docs/design/draft-push-pull.txt:
4429 * docs/design/draft-tagreading.txt:
4430 * docs/design/part-MT-refcounting.txt:
4431 * docs/design/part-activation.txt:
4432 * docs/design/part-block.txt:
4433 * docs/design/part-element-source.txt:
4434 * docs/design/part-events.txt:
4435 * docs/design/part-gstbin.txt:
4436 * docs/design/part-gstelement.txt:
4437 * docs/design/part-gstobject.txt:
4438 * docs/design/part-gstpipeline.txt:
4439 * docs/design/part-messages.txt:
4440 * docs/design/part-preroll.txt:
4441 * docs/design/part-push-pull.txt:
4442 * docs/design/part-qos.txt:
4443 * docs/design/part-query.txt:
4444 * docs/design/part-scheduling.txt:
4445 * docs/design/part-seeking.txt:
4446 * docs/design/part-segments.txt:
4447 * docs/design/part-states.txt:
4448 Documentation updates and typo fixes.
4450 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4452 * plugins/elements/gstfakesink.c:
4453 Add some debug text to error message to indicate that
4454 we errored out on request.
4456 * tools/gst-launch.c:
4457 When the state change to PLAYING fails, check for an
4458 error message on the bus and print it.
4460 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4462 translated by: Jorge González González <aloriel@gmail.com>
4466 Added Spanish translation.
4468 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4470 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4471 Fix printf arguments.
4473 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4475 * tests/check/generic/states.c:
4476 Improved state change unit test.
4478 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4481 Move priv to the right place.
4483 * gst/gstsystemclock.c:
4484 Add FIXME: and improve log.
4486 * tests/check/Makefile.am:
4487 * tests/examples/manual/Makefile.am:
4488 Work with all types of registries.
4490 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4492 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4493 Don't unref the event after pushing it. Fixes #478401.
4495 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4498 * tests/examples/manual/.cvsignore:
4499 Ignore registries in any format.
4501 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4503 * gst/glib-compat-private.h:
4504 Add compatibility macro for g_intern_string() for
4505 GLib-2.8 (any reason we can't just bump the
4506 requirement to at least 2.10?)
4508 * gst/gstpadtemplate.h:
4509 * gst/gstelementfactory.c:
4510 * gst/gstregistryxml.c:
4511 * gst/gstregistrybinary.c:
4512 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4513 up the internal code accordingly. This shouldn't be a problem, since
4514 there is no reason external code could ever assume the string in such
4515 a structure is dynamically allocated unless it did that itself; the
4516 use of g_strdup() is private to element factories. The new code also
4517 saves some memory by putting pad template name strings into the GLib
4518 quark table instead of allocating them dynamically.
4519 Declaring this field constant fixes warnings with g++-4.2 when using
4520 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4522 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4524 * gst/gstelementfactory.c:
4525 Release static caps. Fixes #475723.
4527 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4531 Make some internal API take const gchar * instead of just
4532 gchar * to avoid compiler warnings with g++-4.2.2 when
4533 passing string constants (partially fixes #478092).
4535 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4537 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4538 A latency query fails when one of the sinks fail.
4540 * gst/gstelement.c: (gst_element_set_base_time):
4543 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4545 * gst/gstbin.c: (gst_bin_continue_func):
4546 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4547 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4548 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4550 Fix minor compilation warnings shown with Forte.
4552 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4554 * plugins/elements/gstqueue.c: (apply_buffer),
4555 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4556 Measure queue level based on the diff between head and tail timestamps
4557 even when pushing the first buffer.
4559 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4561 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4562 (gst_base_sink_event), (gst_base_sink_change_state):
4563 Sinks that don't preroll can always be queried for the latency.
4564 Don't post ASYNC start when we are not async.
4566 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4568 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4569 (gst_queue_handle_sink_event), (gst_queue_chain),
4570 (gst_queue_push_one), (gst_queue_handle_src_query),
4571 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4572 * plugins/elements/gstqueue.h:
4573 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4574 push more buffers but allow pushing of EOS and NEWSEGMENT.
4575 Add some more debug info here and there. Fixes #476514.
4577 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4579 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4580 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4581 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4582 (gst_base_sink_set_flushing), (gst_base_sink_query),
4583 (gst_base_sink_change_state):
4584 Latency query is allowed after we are prerolled. Introduce a new flag
4585 for this and stop abusing other variables.
4587 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4589 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4590 Push OOB events downstream when we get them in send_event. This allows
4591 the application to insert events in the pipeline.
4592 Add some more comments.
4594 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4596 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4597 (do_bin_latency), (gst_bin_change_state_func):
4598 * gst/gstpipeline.c: (gst_pipeline_change_state):
4599 Move latency query from GstPipeline to GstBin so that we can also
4600 use it when async-handling is enabled on bins.
4602 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4604 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4605 (gst_base_src_do_sync), (gst_base_src_change_state):
4607 Clean up the timestamping and syncing code for pseudo live sources.
4609 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4611 Patch by: Steve Fink <sphink gmail com>
4613 * docs/manual/appendix-checklist.xml:
4614 Mention less -R switch in the section about debug output (#474055).
4616 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4618 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4619 Queue can latency to the pipeline up to the configured max size in time.
4620 Report this fact in the latency query.
4622 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4624 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4626 * libs/gst/controller/gstinterpolation.c:
4627 * libs/gst/controller/gstlfocontrolsource.c:
4628 Use gst_guint64_to_gdouble() when converting from a uint64 or
4629 GstClockTime to double to fix the build on win32. Fixes #474371.
4631 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4633 * gst/gstbuffer.c: (gst_buffer_finalize):
4634 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4635 When finalizing a buffer the complete struct is filled with 0xff,
4636 thus making a use of the buffer after the final unref impossible.
4638 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4640 * tests/check/libs/controller.c: (GST_START_TEST):
4641 Use fail_unless_equals_int(a, b) instead of
4642 fail_unless_equals (a == b) to get better output on failures.
4644 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4646 * tests/check/gst/gsturi.c:
4647 Also check for the other file URI variant on win32.
4649 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4651 * gst/gsturi.c: (gst_uri_get_location):
4652 If there's no hostname, we want to return 'c:/foo/bar.txt'
4653 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4655 * tests/check/gst/gsturi.c:
4656 Unit test for the above and a few more things.
4658 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4660 * docs/design/part-live-source.txt:
4661 Add docs on how live sources should timestamp.
4663 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4664 Add some more debug info.
4665 For subclasses that are live and like to sync, add aditional startup
4666 latency to sync time and timestamps so that we timstamp according to the
4669 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4672 Also do a g_type_class_ref() for the subbuffer type in
4675 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4677 * docs/gst/gstreamer-sections.txt:
4678 * gst/gstpad.c: (gst_pad_peer_query):
4680 Add function to perform a query on the peer of a pad.
4681 API: gst_pad_peer_query()
4683 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4685 * tests/check/gst/gstsystemclock.c:
4686 Cleanup the test a little (use gst-logging and not g_message). Improve
4687 test to check if a wait reached the target.
4689 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4691 * docs/libs/gstreamer-libs-sections.txt:
4692 Add new API to docs and fix the build.
4694 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4696 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4697 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4698 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4699 (gst_base_src_get_property), (gst_base_src_do_sync):
4700 * libs/gst/base/gstbasesrc.h:
4701 Add property to make the basesrc timestamp buffers based on the current
4703 API: GstBaseSrc::do-timestamp
4704 API: gst_base_src_set_do_timestamp()
4705 API: gst_base_src_get_do_timestamp()
4707 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4709 * docs/random/release:
4710 Really make sure translations are up-to-date before
4711 a release (#465010).
4713 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4715 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4716 Always destroy the timer, also in error cases.
4718 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4720 * docs/manual/highlevel-xml.xml:
4721 Fix XML example code. Fixes #472714.
4723 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4725 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4726 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4727 (gst_base_sink_query):
4728 Protect eos and have_preroll with the OBJECT lock so we don't need to
4729 take the PREROLL lock when querying the latency. Fixes #473846.
4731 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4734 Give some log-messages a category.
4736 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4738 * gst/gststructure.c:
4739 (gst_structure_fixate_field_nearest_fraction):
4740 Fix fraction list fixation code. Take the fraction with the smallest
4741 difference with the target instead of the first one in the list.
4743 * tests/check/gst/gststructure.c: (GST_START_TEST),
4744 (gst_structure_suite):
4745 Added test to verify correct fraction list fixation behaviour.
4747 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4749 * win32/common/libgstreamer.def:
4750 Export gst_bus_add_signal_watch too.
4752 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4754 * docs/libs/gstreamer-libs-sections.txt:
4755 Add new methods to docs.
4757 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4758 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4759 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4760 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4761 * libs/gst/base/gstbasesink.h:
4762 Add ts-offset property to fine-tune the synchronisation.
4763 API: GstBaseSink::ts-offset property
4764 API: gst_base_sink_set_ts_offset()
4765 API: gst_base_sink_get_ts_offset()
4767 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4769 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4770 (gst_base_sink_init), (gst_base_sink_set_sync),
4771 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4772 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4773 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4774 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4775 (gst_base_sink_get_property), (gst_base_sink_change_state):
4776 * libs/gst/base/gstbasesink.h:
4777 Add async property to instruct the sink never to inform the parent about
4778 ASYNC state changes, update docs.
4779 Check argument with g_return_* for the public functions.
4780 API: GstBaseSink::async property
4781 API: gst_base_sink_set_async_enabled()
4782 API: gst_base_sink_is_async_enabled()
4784 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4786 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4789 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4790 (gst_base_src_default_query), (gst_base_src_wait),
4791 (gst_base_src_do_sync), (gst_base_src_change_state):
4792 Rearrange some code so that we can add support for measuring the
4795 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4797 * docs/random/ensonic/dynlink.txt:
4798 More thoughs on this.
4800 * plugins/elements/gstcapsfilter.c:
4801 Add bugzilla ticket number to FIXME comment.
4803 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4805 * docs/design/part-TODO.txt:
4806 * docs/design/part-block.txt:
4809 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4812 Revert patch which uses $(gst_headers) instead of $^ because it
4815 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4817 * tests/check/gst/gstbin.c: (GST_START_TEST):
4818 Fix leaks in the new unit test.
4820 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4823 Don't use GST_INFO before the debug system is actually initialised
4824 (shouldn't do any harm, but won't print anything either, so we can
4825 just as well remove it).
4828 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4829 compilers that don't support variadic macros (such as MSVC), should
4830 check for debug_level <= __gst_debug_min as well, since that's the
4831 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4832 inline helper functions. Should improve performance a bit, but also
4833 makes sure uses of GST_INFO et.al are ignored if the debugging
4834 system isn't initialised yet (instead of printing an assertion
4837 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4839 patch by: David Nečas <yeti@physics.muni.cz>
4842 Replace some non portable makefile constructs.
4844 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4846 * common/gtk-doc-plugins.mak:
4847 Grrrrr. Don't remove the types file on make clean.
4849 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4851 * tools/gst-launch.1.in:
4852 Add colorspace to example pipeline. Fixes #458274.
4854 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4856 * docs/random/release:
4857 The release manager should run 'make download-po' before making a
4858 release to make sure translations are up-to-date.
4864 Add some new translations.
4866 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4868 * tools/gst-launch.c: (event_loop), (main):
4869 Don´t try to do any state management when a live pipeline posts
4871 Also make the buffering string translatable.
4873 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4875 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4876 (bin_handle_async_start), (gst_bin_handle_message_func):
4878 When adding elements, insert messages into the bus of the newly added
4879 element and make sure the element is the source of the message. This
4880 allows the parent bin to intercept the message and do the
4881 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4882 messages to the app (which is not allowed).
4885 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4886 Fix testsuite so that is does not work around messages that should not
4887 have been posted in the first place.
4889 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4891 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4892 (update_degree), (gst_bin_sort_iterator_next):
4893 Fix annoying bug in the sorted iterator where a sink that is not really
4894 a sink (when it has downstream links) screwed up the iterator.
4896 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4897 Unit test to verify the fix.
4899 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4902 Add some more docs for the messages.
4904 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4905 (gst_base_sink_query):
4906 Add some more debugging.
4908 * tools/gst-launch.c: (event_loop):
4909 When interrupting, don't try to set pipeline to PAUSED twice.
4911 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4914 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4915 (bin_handle_async_start), (gst_bin_handle_message_func):
4916 Move ASYNC_START message posting to where it belongs, similar to
4918 Don't post ASYNC_START when we are in error.
4919 Post ASYNC_START when we added an async element to a bin.
4921 2007-08-14 Julien MOUTTE <julien@moutte.net>
4923 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4924 generation from vargs. Fixes #466595.
4926 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4928 * gst/gstbin.c: (gst_bin_element_set_state):
4929 Always change the state of a NO_PREROLL element even if it has ASYNC
4930 elements inside (in case of a bin).
4932 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4933 Unit test for this case.
4935 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4937 * libs/gst/check/gstbufferstraw.c:
4938 * libs/gst/check/gstcheck.h:
4939 * libs/gst/controller/gstcontroller.c:
4940 * libs/gst/controller/gstcontrolsource.h:
4941 * libs/gst/controller/gstlfocontrolsource.h:
4942 * plugins/elements/gstcapsfilter.h:
4943 * plugins/elements/gstfdsink.h:
4944 * plugins/elements/gstfdsrc.h:
4945 Add more missing docs.
4947 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4949 * gst/gststructure.c:
4950 Add Since tag to docs.
4952 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4954 * docs/gst/gstreamer-sections.txt:
4955 * gst/gststructure.c: (gst_structure_get_uint):
4956 * gst/gststructure.h:
4957 Add function to get uint from a structure.
4958 API: gst_structure_get_uint()
4960 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4962 * gst/gstcaps.c: (gst_caps_set_simple_valist),
4963 (gst_caps_intersect):
4964 Fix proper check for simple caps.
4966 2007-08-10 Stefan Kost <ensonic@users.sf.net>
4968 * docs/gst/Makefile.am:
4969 * docs/libs/Makefile.am:
4970 Remove cruft and do some cleanups.
4972 * docs/gst/gstreamer-docs.sgml:
4973 * docs/libs/gstreamer-libs-docs.sgml:
4974 Prepare for comming gtkdoc features (rebase against online docs).
4976 2007-08-10 Michael Smith <msmith@fluendo.com>
4978 * docs/gst/gstreamer-sections.txt:
4979 Add gst_registry_add_path to docs.
4981 2007-08-10 Michael Smith <msmith@fluendo.com>
4983 * gst/gstregistry.h:
4984 Add gst_registry_add_path, which was missing from this header.
4986 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
4988 * libs/gst/controller/gstlfocontrolsource.c:
4991 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4993 * libs/gst/base/gstbasesink.c:
4994 Don't send an async_start message during downwards state change if
4995 target state is less than READY
4997 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4999 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5003 Added Hungarian translation.
5005 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5012 Updated translations.
5014 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5016 * libs/gst/controller/Makefile.am:
5017 Dist gstlfocontrolsourceprivate.h
5019 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5021 * docs/libs/gstreamer-libs.types:
5022 Don't register the enum type gst_lfo_waveform_get_type() in the
5023 .types file - only GObject derived types belong.
5025 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5027 Patch by: <arenevier at fdn dot fr>
5030 Remove comma from last element in enum to avoid compile errors when
5031 using -pendantic. Fixes #464366.
5033 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5035 * docs/design/part-TODO.txt:
5036 Add some more TODO items
5038 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5041 * gst/gstcaps.c: (gst_caps_intersect):
5042 Optimize trivial intersection case between identical caps pointers.
5044 * gst/gstelement.c: (gst_element_continue_state),
5045 (gst_element_set_state_func):
5047 Fix spelling and grammar mistakes.
5049 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5053 Update POTFILES. Fixes #461599.
5055 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5058 Fix confusing typo in debug output.
5060 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5062 reviewed by: Stefan Kost <ensonic@users.sf.net>
5064 * libs/gst/controller/Makefile.am:
5065 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5066 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5067 (gst_lfo_control_source_new),
5068 (gst_lfo_control_source_set_waveform),
5069 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5070 (gst_lfo_control_source_finalize),
5071 (gst_lfo_control_source_dispose),
5072 (gst_lfo_control_source_set_property),
5073 (gst_lfo_control_source_get_property),
5074 (gst_lfo_control_source_class_init):
5075 * libs/gst/controller/gstlfocontrolsource.h:
5076 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5077 API: Add GstLFOControlSource, a control source that gives values
5078 for specific timestamps based on several periodic waveforms.
5081 * tests/check/libs/controller.c: (GST_START_TEST),
5082 (gst_controller_suite):
5083 * docs/libs/gstreamer-libs-docs.sgml:
5084 * docs/libs/gstreamer-libs-sections.txt:
5085 * docs/libs/gstreamer-libs.types:
5086 Add documentation and unit tests for GstLFOControlSource.
5088 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5093 === release 0.10.14 ===
5095 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5098 releasing 0.10.14, "Breathing Vacuum"
5100 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5102 * gst/gstelement.c: (gst_element_class_set_details_simple):
5104 Make strings passed to gst_element_class_set_details_simple()
5105 constant, as they should be (#462752).
5107 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5109 * gst/gstbin.c: (gst_bin_change_state_func),
5110 (bin_handle_async_done), (gst_bin_handle_message_func):
5111 Don't forget about the fact that some element went ASYNC even after a
5112 resync. This makes us post the ASYNC_DONE message correctly.
5115 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5117 * gst/gstregistry.c: (gst_registry_add_feature):
5118 When replacing an existing feature in the registry, make sure to
5119 continue holding a reference until we've replaced the name string
5120 within our feature hash table. Make sure to use g_hash_table_replace
5121 instead of g_hash_table_insert to ensure the new name string is used
5122 as a key instead of the old one that we're about to free.
5125 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5127 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5128 (gst_plugin_feature_set_name):
5129 Revert patch from #459466 until after the release and we can work
5130 out exactly what the problem is (if any).
5132 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5134 * docs/gst/gstreamer-sections.txt:
5137 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5139 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5141 * docs/libs/Makefile.am:
5142 Include our build-prefix libs and includes before the generic ones to
5143 avoid linking against the installed libs when we want the build-tree
5146 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5148 Patch by: Steve Fink <sphink gmail com>
5150 * docs/pwg/building-testapp.xml:
5151 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5152 if people try to build or install the example from the plugin
5153 template against a GStreamer from package using the configure
5156 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5158 Patch by: Steve Fink <sphink gmail com>
5160 * tools/gst-inspect.1.in:
5161 Document --print-all and --print-plugin-auto-install-info command
5162 line options in man page.
5164 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5166 * docs/gst/gstreamer-sections.txt:
5167 Add docs for new api function.
5169 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5171 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5172 * gst/gstelementfactory.h:
5173 API: gst_element_factory_has_interface()
5174 Added method to check if an element factory implements a named
5177 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5180 * docs/gst/gstreamer.types.in:
5181 Another conditional doc check.
5184 * gst/gstparamspecs.h:
5185 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5190 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5192 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5193 (gst_registry_binary_load_feature),
5194 (gst_registry_binary_load_plugin),
5195 (gst_registry_binary_read_cache):
5196 Print error just once and with additional info.
5198 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5200 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5201 (helper_find_suggest), (helper_find_get_length),
5202 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5203 (gst_type_find_helper_for_buffer):
5204 Cleanup the typefindhelper code and add private doc comments.
5206 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5208 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5209 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5210 Fix capsfilter for cases where the caps set on capsfilter will provide
5211 additional information.
5214 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5216 * gst/gsttypefindfactory.c:
5217 Fix docs that recommened wrong function to use.
5219 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5221 * tools/gst-inspect.c: (print_plugin_features):
5222 Also give media-type for typefinders in element output.
5224 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5226 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5227 (gst_registry_remove_features_for_plugin_unlocked),
5228 (gst_registry_add_feature), (gst_registry_remove_feature),
5229 (gst_registry_lookup_feature_locked):
5230 * gst/gstregistry.h:
5231 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5234 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5236 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5237 (gst_plugin_feature_set_name):
5238 Avoid double memory usage for pluginfeature names. Fixes #459466.
5240 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5243 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5244 driving the pipeline may need to explicitly check for NOT_LINKED as
5245 well, since IS_FATAL doesn't cover that.
5247 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5249 * docs/pwg/advanced-types.xml:
5250 Fix typo and duplicate entry in video formats list.
5252 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5254 * libs/gst/controller/gstinterpolation.c:
5255 Also round to the nearest int when using cubic interpolation.
5257 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5259 * libs/gst/controller/gstinterpolation.c:
5260 When linearly interpolating integer types, round to the nearest int
5261 by adding 0.5. Don't do it for float/double types.
5262 Fixes the failing controller test on my machine, which is somehow
5263 rounding differently than on the buildbots.
5265 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5267 * tools/gst-plot-timeline.py:
5268 Better log parsing (categories can have -). Adjust text vs. lines, so
5269 that they span the same y-range.
5271 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5273 * docs/random/ensonic/audiobaseclasses.txt:
5274 * docs/random/ensonic/dynlink.txt:
5275 * docs/random/ensonic/profiling.txt:
5278 * docs/random/moving-plugins:
5279 Add note to use g_assert type macros.
5281 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5284 * libs/gst/check/Makefile.am:
5285 Add libm check as we use in for plugins.
5287 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5289 * gst/gstbin.c: (gst_bin_continue_func):
5290 Check that the state_cookie hasn't changed since the continue_func
5291 was scheduled. Avoids problems where the state changes back to
5292 something it shouldn't be because it was changed in the meantime.
5294 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5296 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5297 (gst_registry_binary_save_string),
5298 (gst_registry_binary_save_pad_template),
5299 (gst_registry_binary_save_feature),
5300 (gst_registry_binary_save_plugin),
5301 (gst_registry_binary_load_feature),
5302 (gst_registry_binary_load_plugin),
5303 (gst_registry_binary_read_cache):
5304 Fix memory leak. Be less verbose in the log.
5306 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5308 * tests/check/elements/.cvsignore:
5309 Add file to cvsignore as commanded.
5311 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5313 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5314 (mq_dummypad_event), (run_output_order_test):
5315 Use a GStaticMutex to protect all cases where libcheck
5316 fail_if/fail_unless macros might be called from multiple threads
5317 simultaneously to avoid errors like:
5318 "check_pack.c:107: :-1081725400:Bad message type arg"
5320 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5322 * tests/check/pipelines/stress.c: (GST_START_TEST):
5323 Make sure we set the pipeline back to the NULL state before
5324 dropping our final reference.
5326 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5328 * tests/check/elements/tee.c: (GST_START_TEST):
5329 Make the tee stress-test a little less stressful so it doesn't just
5330 time out on slow-machines, and remove a small race when it's starting
5331 up by adding a get_state() call.
5333 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5336 Avoid reading registry twice on startup. Fixes #457322.
5338 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5340 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5341 * pkgconfig/gstreamer-check.pc.in:
5342 Substitute the CFLAGS for libcheck into our .pc file too so that
5343 dependent modules will pick it up properly if libcheck is installed
5344 into some other prefix.
5346 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5349 Revert the pkg-config check for libcheck, since it pulls in the
5350 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5351 a proper solution, either from the check project, or something else.
5353 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5356 Use pkg-config to locate check.
5358 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5365 Add deprecation guards.
5367 * libs/gst/base/gstcollectpads.h:
5368 Don't document object (this is implicitly private).
5370 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5372 * gst/gststructure.c: (gst_structure_parse_value):
5373 When deserialising foo=bar without a type cast, check if it's a
5374 boolean before falling back to a string type, otherwise things like
5375 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5376 because the filtercaps end up having a signed=(string)true field,
5377 which causes problems later when intersection caps.
5379 * tests/check/gst/gststructure.c: (GST_START_TEST):
5380 Add a unit test for this.
5382 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5384 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5386 * libs/gst/controller/Makefile.am:
5387 * libs/gst/controller/gstcontroller.c:
5388 (gst_controlled_property_add_interpolation_control_source),
5389 (gst_controlled_property_new), (gst_controlled_property_free),
5390 (gst_controller_find_controlled_property),
5391 (gst_controller_new_valist), (gst_controller_new_list),
5392 (gst_controller_new), (gst_controller_remove_properties_valist),
5393 (gst_controller_remove_properties_list),
5394 (gst_controller_remove_properties),
5395 (gst_controller_set_property_disabled),
5396 (gst_controller_set_disabled), (gst_controller_set_control_source),
5397 (gst_controller_get_control_source), (gst_controller_get),
5398 (gst_controller_sync_values), (gst_controller_get_value_array),
5399 (_gst_controller_dispose), (gst_controller_get_type),
5400 (gst_controlled_property_set_interpolation_mode),
5401 (gst_controller_set), (gst_controller_set_from_list),
5402 (gst_controller_unset), (gst_controller_unset_all),
5403 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5404 * libs/gst/controller/gstcontroller.h:
5405 * libs/gst/controller/gstcontrollerprivate.h:
5406 * libs/gst/controller/gstcontrolsource.c:
5407 (gst_control_source_class_init), (gst_control_source_init),
5408 (gst_control_source_get_value),
5409 (gst_control_source_get_value_array), (gst_control_source_bind):
5410 * libs/gst/controller/gstcontrolsource.h:
5411 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5412 (gst_object_get_control_source):
5413 * libs/gst/controller/gstinterpolation.c:
5414 (gst_interpolation_control_source_find_control_point_node),
5415 (gst_interpolation_control_source_get_first_value),
5416 (_interpolate_none_get), (interpolate_none_get),
5417 (interpolate_none_get_boolean_value_array),
5418 (interpolate_none_get_enum_value_array),
5419 (interpolate_none_get_string_value_array),
5420 (_interpolate_trigger_get), (interpolate_trigger_get),
5421 (interpolate_trigger_get_boolean_value_array),
5422 (interpolate_trigger_get_enum_value_array),
5423 (interpolate_trigger_get_string_value_array):
5424 * libs/gst/controller/gstinterpolationcontrolsource.c:
5425 (gst_control_point_free), (gst_interpolation_control_source_reset),
5426 (gst_interpolation_control_source_new),
5427 (gst_interpolation_control_source_set_interpolation_mode),
5428 (gst_interpolation_control_source_bind),
5429 (gst_control_point_compare), (gst_control_point_find),
5430 (gst_interpolation_control_source_set_internal),
5431 (gst_interpolation_control_source_set),
5432 (gst_interpolation_control_source_set_from_list),
5433 (gst_interpolation_control_source_unset),
5434 (gst_interpolation_control_source_unset_all),
5435 (gst_interpolation_control_source_get_all),
5436 (gst_interpolation_control_source_get_count),
5437 (gst_interpolation_control_source_init),
5438 (gst_interpolation_control_source_finalize),
5439 (gst_interpolation_control_source_dispose),
5440 (gst_interpolation_control_source_class_init):
5441 * libs/gst/controller/gstinterpolationcontrolsource.h:
5442 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5443 API: Refactor GstController into the core controller which can take
5444 a GstControlSource for providing actual values for timestamps.
5445 Implement a interpolation control source and use this for backward
5446 compatibility, deprecate a bunch of functions that are now handled
5447 by GstControlSource or GstInterpolationControlSource.
5448 Make it possible to disable the controller completely or only for
5449 specific properties. Fixes #450711.
5450 * docs/libs/gstreamer-libs-docs.sgml:
5451 * docs/libs/gstreamer-libs-sections.txt:
5452 * docs/libs/gstreamer-libs.types:
5453 Add new functions and classes to the docs.
5454 * tests/check/libs/controller.c: (GST_START_TEST),
5455 (gst_controller_suite):
5456 * tests/examples/controller/audio-example.c: (main):
5457 Port unit test and example to the new API and add some new
5460 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5462 Patch by: Mark Nauwelaerts <manauw at skynet be>
5464 * plugins/elements/gstmultiqueue.c:
5465 (gst_multi_queue_get_internal_links), (apply_buffer),
5466 (single_queue_overrun_cb), (gst_single_queue_new):
5467 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5468 the pipeline layout can be tracked correctly. Fixes #453732.
5470 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5472 * docs/gst/Makefile.am:
5473 * docs/libs/Makefile.am:
5474 * docs/plugins/Makefile.am:
5475 Simplify --extra-dir as gtkdoc scans recursively.
5477 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5479 * tools/gst-launch.c: (main):
5480 When we got an error, there is no point in waiting for preroll when
5483 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5485 * plugins/elements/gsttee.c: (gst_tee_base_init),
5486 (gst_tee_request_new_pad), (gst_tee_release_pad),
5487 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5488 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5490 Be a lot smarter when deciding what srcpad to use for proxying
5491 the buffer_alloc. Also handle pad added/removed when doing so.
5493 Keep track of what pads we already pushed on in case we have pads
5494 added/removed while pushing. Fixes #374639
5496 * tests/check/Makefile.am:
5497 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5499 Added unit test for pad resync.
5501 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5505 Updated translations.
5507 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5509 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5513 Added new Finnish translation.
5515 2007-06-28 Wim Taymans <wim@fluendo.com>
5517 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5518 (single_queue_overrun_cb):
5519 When figuring out when a queue is filled, use our internal time estimate
5520 based on segments, just like check_full does.
5522 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5524 * gst/gstminiobject.c: (gst_mini_object_get_type):
5525 Remove 3 do-nothing methods.
5527 2007-06-27 Wim Taymans <wim@fluendo.com>
5529 Patch by: Tim Angus <tim at ngus dot net>
5531 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5532 (gst_capsfilter_set_property):
5533 Take a reference instead of a copy when setting "caps".
5534 Fix documentation to clarify this behaviour. Fixes #449414.
5536 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5538 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5539 * gst/gstplugin.c: (gst_plugin_init):
5540 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5541 * gst/gstquery.c: (gst_query_get_type):
5542 * gst/gstregistry.c: (gst_registry_init):
5543 * gst/gsturi.c: (gst_uri_handler_base_init):
5544 Remove empty instance_init() functions to save relocs and lessen the
5545 noise. Remove some of the function prototypes that are doubled by
5548 2007-06-27 Wim Taymans <wim@fluendo.com>
5550 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5552 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5553 Add peer and direction in the XML serialisation of ghostpads.
5556 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5559 Preserve useful information, thanks Tim.
5561 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5563 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5564 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5565 (gst_single_queue_push_one), (gst_multi_queue_loop),
5566 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5567 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5568 (compute_high_id), (gst_single_queue_new):
5569 * plugins/elements/gstmultiqueue.h:
5570 Take the multiqueue lock when updating the fill level so we don't get
5573 After applying a buffer or event on the src pad segment, make sure to
5574 call gst_data_queue_limits_changed() to get the data queue to unblock
5575 and check the filled state again.
5577 Rework the not-linked pad handling so the logic is that not-linked
5578 pads can push as fast as they like, but only so they never get
5579 ahead of any linked pads.
5581 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5582 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5583 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5585 Add a test to check that not-linked pads always stay behind
5590 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5592 * docs/random/release:
5593 Some updates to the release procedure.
5595 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5597 * gst/gstelementfactory.c: (__gst_element_details_clear):
5598 Microoptimization that saves stunning 80 bytes.
5600 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5602 * docs/plugins/gstreamer-plugins.args:
5603 * docs/plugins/inspect/plugin-coreelements.xml:
5604 * docs/plugins/inspect/plugin-coreindexers.xml:
5605 Update docs with caps info.
5607 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5610 Updated Italian translation.
5612 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5616 Update Vietnamese translations.
5618 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5620 * libs/gst/base/gstbasesink.c:
5621 Remove unused signal enum.
5623 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5625 * docs/gst/gstreamer-sections.txt:
5627 * gst/gstutils.c: (gst_type_register_static_full):
5628 Beef up and include the docs for gst_type_register_static_full and
5629 gst_element_class_set_details_simple and add the API keyword
5632 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5634 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5635 (update_time_level), (gst_single_queue_push_one),
5636 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5637 (single_queue_overrun_cb), (single_queue_underrun_cb),
5638 (single_queue_check_full):
5639 Fix setting max-* properties after adding queues.
5640 Use IS_FILLED for checking visible items.
5641 Signal overrun if multiple queues overrun.
5642 Add extra debug output.
5643 Patch by: Wim Taymans <wim@fluendo.com>
5645 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5647 * gst/gstelement.c: (gst_element_class_set_details_simple):
5649 * gst/gstutils.c: (gst_type_register_static_full):
5651 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5652 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5653 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5654 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5655 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5656 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5657 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5658 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5659 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5660 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5661 (apply_buffer), (gst_queue_chain):
5662 * plugins/elements/gsttee.c: (gst_tee_base_init):
5663 * plugins/elements/gsttypefindelement.c:
5664 (gst_type_find_element_base_init),
5665 (gst_type_find_element_class_init):
5666 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5667 API: add gst_type_register_static_full
5668 API: add gst_element_class_set_details_simple
5670 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5672 * docs/pwg/advanced-types.xml:
5673 Fix typo in iana.org URI.
5675 2007-06-19 Andy Wingo <wingo@pobox.com>
5677 * tests/check/pipelines/simple-launch-lines.c
5678 (test_state_change_returns): Enable pull-mode tests now that
5679 basesink has been fixed.
5681 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5682 Changed from gst_base_sink_is_prerolled, reversing the sense of
5683 the return value. Returns FALSE also if the sink is in pull mode,
5684 in which case it needs no preroll.
5685 (gst_base_sink_query, gst_base_sink_change_state): Update for
5686 needs_preroll change.
5687 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5688 chaining up, in which we return SUCCESS directly if we activated
5689 in pull mode instead of ASYNC. Involves countering an async_start
5690 message sent before chaining up; not sure if this is correct, in
5691 an ideal world we only send async-start when activating in push
5694 * tests/check/pipelines/simple-launch-lines.c
5695 (test_state_change_returns): New test, partially disabled until
5698 2007-06-19 Wim Taymans <wim@fluendo.com>
5700 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5701 (gst_multi_queue_sink_event):
5704 2007-06-19 Wim Taymans <wim@fluendo.com>
5706 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5707 (gst_bin_change_state_func), (bin_push_state_continue),
5708 (bin_handle_async_start), (bin_handle_async_done),
5709 (gst_bin_handle_message_func):
5710 Move the common code for posting state-change messages into
5712 Broadcast the state signal after we posted the messages.
5713 Mark the bin as busy when it's doing a state-change.
5714 Make sure async-start/done messages don't interfere with the bin's
5715 state when it's busy.
5716 After the state change, let the bin check which elements completed the
5717 state change while it was busy so that it can update its state.
5719 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5721 * docs/random/release:
5722 Add a note about updating the doap file to the release checklist
5724 2007-06-18 Wim Taymans <wim@fluendo.com>
5726 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5727 (gst_single_queue_push_one), (gst_multi_queue_chain),
5728 (gst_multi_queue_sink_event):
5729 Make sure we don't reference the buffer/event after we have given away
5730 ownership in the queue.
5732 2007-06-18 Wim Taymans <wim@fluendo.com>
5734 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5735 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5736 Update queue state _after_ adding the item in the queue because else we
5737 could end up being full without the element added yet.
5739 2007-06-18 Wim Taymans <wim@fluendo.com>
5741 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5742 (gst_bin_remove_func), (gst_bin_get_state_func),
5743 (gst_bin_element_set_state), (gst_bin_continue_func),
5744 (bin_push_state_continue), (bin_handle_async_start),
5745 (bin_handle_async_done), (gst_bin_handle_message_func):
5747 Immediatly commit the toplevel bin state when receiving an async-done
5748 message. This enables us to avoid spawning a thread to commit the state
5749 in some common cases and it also avoids some races.
5750 Avoid spawning a state thread when adding/removing async elements to a
5751 toplevel bin. Instead we immediatly update the bin state.
5752 Get rid of iterating all the children when getting the state in the bin
5753 because it is now always up-to-date.
5754 Fix bug where locked elements would always return _SUCCESS even it they
5755 returned NO_PREROLL before being locked.
5756 Fix the order of the state_change, async-start/done messages that was
5757 sometimes incorrect.
5758 Mark the state_dirty field as deprecated, we don't need it anymore as we
5759 are always up-to-date.
5761 * gst/gstelement.c: (gst_element_get_state_func),
5762 (gst_element_continue_state):
5763 Small debug inprovements.
5764 Return the previous element state return when nothing is pending instead
5765 of blindly returning SUCCESS.
5767 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5769 Add a whole bunch of new testcases.
5771 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5775 Update translations.
5777 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5780 Fix typo in the docs.
5782 2007-06-15 Wim Taymans <wim@fluendo.com>
5784 * docs/libs/gstreamer-libs-sections.txt:
5785 Add docs for new methods.
5787 2007-06-15 Wim Taymans <wim@fluendo.com>
5789 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5790 (gst_multi_queue_item_new):
5791 Don't use GSlice because we don't depend on >= 2.10 yet.
5793 2007-06-15 Wim Taymans <wim@fluendo.com>
5795 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5796 (update_time_level), (apply_segment), (apply_buffer),
5797 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5798 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5799 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5800 (single_queue_underrun_cb), (single_queue_check_full):
5801 Remove debug printf.
5803 2007-06-15 Wim Taymans <wim@fluendo.com>
5805 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5806 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5807 (gst_data_queue_set_flushing), (gst_data_queue_push),
5808 (gst_data_queue_pop), (gst_data_queue_drop_head),
5809 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5810 * libs/gst/base/gstdataqueue.h:
5812 Added methods to get the current levels and to inform the queue that the
5813 'full' limits changed.
5815 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5816 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5817 (gst_single_queue_flush), (update_time_level), (apply_segment),
5818 (apply_buffer), (gst_single_queue_push_one),
5819 (gst_multi_queue_item_steal_object),
5820 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5821 (gst_multi_queue_loop), (gst_multi_queue_chain),
5822 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5823 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5824 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5825 (single_queue_underrun_cb), (single_queue_check_full),
5826 (gst_single_queue_new):
5827 Keep track of time in the queue by measuring the difference between
5828 running_time on input and output. This gives more accurate results and
5829 can compensate for segments correctly.
5830 Make a queue by default only 5 buffers deep. We will now increase the
5831 buffer size depending on the filledness of the other queues.
5832 Factor out commong flush code.
5833 Make sure we don't add additional refcounts to buffers when we can avoid
5835 Propagate GstFlowReturn differently.
5836 Use GSlice for intermediate GstMultiQueueItems.
5838 Resize queues on over and underruns based on filled level of other
5840 When checking if the queue is filled, prefer to measure in time if we
5841 can and fall back to bytes when no time is known.
5843 * plugins/elements/gstqueue.c:
5846 2007-06-15 Wim Taymans <wim@fluendo.com>
5848 * libs/gst/base/gstbasetransform.c:
5849 (gst_base_transform_sink_event):
5850 Work around the brokenness of the event vmethod in basetransform. Prefer
5851 to return TRUE when the subclass returned FALSE (meaning don't forward
5854 * libs/gst/base/gstbasetransform.h:
5857 2007-06-15 Wim Taymans <wim@fluendo.com>
5859 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5860 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5861 (gst_base_src_default_query), (gst_base_src_get_range),
5862 (gst_base_src_start):
5863 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5866 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5868 * docs/pwg/advanced-types.xml:
5869 Added more formats to caps table.
5871 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5873 * tools/gst-launch.c: (main):
5874 Remove crufy code. GOption does not need this workaround.
5876 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5878 * libs/gst/controller/gstcontroller.c:
5879 (gst_controlled_property_set_interpolation_mode):
5880 Fix wrong getter for enums in controller.
5882 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5884 * libs/gst/check/gstcheck.c: (gst_check_init):
5885 Intercept criticals and warnings in the Gst-Phonon log domain, so
5886 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5889 2007-06-14 Edward Hervey <edward@fluendo.com>
5891 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5892 Since this file doesn't include "gst.h" it will not go through the
5893 macros that disable GST_LOG if debugging was disabled.
5895 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5897 * libs/gst/check/Makefile.am:
5898 * libs/gst/check/gstcheck.h:
5899 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5900 * pkgconfig/gstreamer-check.pc.in:
5901 Ugly 'fix' for the controller unit test on the p5 bot: in
5902 fail_unless_equals_float() check whether the values are 'almost
5903 equal' by allowing a small absolute error, which should be good
5904 enough for our use cases (normal numbers and values close to 0).
5905 Proper fixage left to floating point arithmetic aficionados.
5907 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5909 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5910 (gst_base_sink_render_object), (gst_base_sink_get_position):
5911 Add two breaks thats where missing.
5913 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5915 * docs/libs/gstreamer-libs-sections.txt:
5916 * libs/gst/check/gstcheck.h:
5917 API: add fail_unless_equals_float() and assert_equals_float().
5918 Add documentation for some of the macros.
5920 * tests/check/libs/controller.c: (GST_START_TEST):
5921 Use newly-added asserts.
5923 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5925 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5926 Show the caps change in the log to help spotting the case of not
5927 exactly matching caps.
5929 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5931 * docs/pwg/building-boiler.xml:
5932 Fix typos, spotted by Thijs Vermeir (#447190).
5934 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5936 * docs/plugins/tmpl/.cvsignore:
5937 Ignore file to keep the buildbots happy
5939 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5941 * docs/plugins/Makefile.am:
5942 * docs/plugins/gstreamer-plugins-docs.sgml:
5943 * docs/plugins/gstreamer-plugins-sections.txt:
5944 Pull fdsink into the docs too.
5946 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5948 * libs/gst/controller/gstinterpolation.c:
5949 Actually use the new functions with min/max checks for the trigger and
5950 none interpolation modes for get() and get_value_array() instead of
5953 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5955 * libs/gst/controller/gstcontroller.c:
5956 (gst_controlled_property_free):
5957 Unset the minimum and maximum GValues when freeing the corresponding
5958 GstControllerProperty struct.
5960 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
5962 * libs/gst/controller/gstcontroller.c:
5963 (gst_controlled_property_new):
5964 * libs/gst/controller/gstcontrollerprivate.h:
5965 * libs/gst/controller/gstinterpolation.c:
5966 (gst_controlled_property_find_control_point_node),
5967 (interpolate_none_get), (interpolate_none_get_enum_value_array),
5968 (interpolate_none_get_string_value_array),
5969 (interpolate_trigger_get),
5970 (interpolate_trigger_get_enum_value_array),
5971 (interpolate_trigger_get_string_value_array):
5972 Protect against values larger or smaller than the minimum or maximum
5973 allowed value for the property when using values that can be compared.
5975 Optimize trigger interpolator a bit by taking the last requested value
5976 into account instead of always looping through the complete list.
5978 Fix coding style a bit, everywhere else we use "return foo" instead
5981 * tests/check/libs/controller.c: (GST_START_TEST),
5982 (gst_controller_suite):
5983 Add unit test for the protection against too large or too small
5986 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
5988 * docs/random/slomo/controller.txt:
5989 Add some thoughts about the future of the controller.
5991 2007-06-08 Wim Taymans <wim@fluendo.com>
5993 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5994 Don't overflow in retimestamping code.
5996 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
5998 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5999 Use gst_util_guint64_to_gdouble for conversions.
6000 * win32/common/libgstreamer.def:
6001 Add new exported functions.
6003 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6006 Small docs addition.
6008 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6011 Remove that test line again.
6013 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6016 Test commit mail sending.
6018 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6021 Fix typo and test commit mail sending.
6023 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6025 * tests/examples/controller/audio-example.c:
6026 Improve comment and test commit mail sending.
6028 2007-06-07 Wim Taymans <wim@fluendo.com>
6030 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6031 (gst_bin_remove_func), (gst_bin_element_set_state),
6032 (bin_handle_async_start), (bin_handle_async_done),
6033 (gst_bin_handle_message_func):
6034 Add helper function to find messages.
6035 Generate the async-done messages together with the state change
6037 Small cleanups in handling toplevel bins.
6039 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6041 * libs/gst/base/gstdataqueue.c:
6042 * libs/gst/base/gstdataqueue.h:
6043 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6044 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6045 (gst_multi_queue_sink_event):
6046 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6047 Fix multiqueue leaking buffers and events when downstream or the
6048 queue are flushing. Make refcounting assumptions explicit and
6049 document them (shouldn't break existing code that uses it other than
6050 maybe leak miniobjects, but that already happens anyway). Add unit
6051 test for the most common flushing case. Fixes #423700.
6053 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6055 * libs/gst/controller/gstcontroller.c:
6056 Clarify docs: The get_all, get_value_array(s) functions
6057 don't modify the GObject properties.
6059 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6061 * libs/gst/controller/gstcontroller.c:
6062 (gst_controlled_property_set_interpolation_mode),
6063 (gst_controlled_property_prepend_default),
6064 (gst_controlled_property_new), (gst_controller_set_unlocked),
6065 (gst_controller_set), (gst_controller_set_from_list),
6066 (gst_controller_unset), (gst_controller_unset_all):
6067 * libs/gst/controller/gstcontrollerprivate.h:
6068 * libs/gst/controller/gstinterpolation.c:
6069 Factor out the 'set' logic into gst_controller_set_unlocked for the
6070 gst_controller_set and gst_controller_set_from_list functions.
6072 To make life of the interpolators easier always add a control point
6073 at timestamp zero with the default value.
6075 In the linear interpolator make things more obvious by better variable
6078 Implement cubic interpolation mode (by using a natural cubic spline)
6079 and map the quadratic interpolation mode to this too (as quadratic
6080 doesn't make much sense, see discussion on the list).
6082 * tests/check/libs/controller.c: (GST_START_TEST),
6083 (gst_controller_suite):
6084 Add unit test for the cubic interpolation mode and check everywhere
6085 if the interpolation mode could be set as expected.
6087 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6089 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6090 Don't use GLib-2.10 functions, we still depend on
6091 GLib-how-old-is-it-again-2.8.
6093 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6095 * docs/gst/gstreamer-sections.txt:
6099 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6100 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6101 (_gst_param_fraction_values_cmp),
6102 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6103 * gst/gstparamspecs.h:
6105 * tests/check/Makefile.am:
6106 * tests/check/gst/.cvsignore:
6107 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6108 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6109 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6110 (GST_START_TEST), (gst_param_spec_suite):
6111 API: add GstParamSpecFraction, so elements can have fraction
6112 properties without lots of painful string parsing (#444648).
6114 2007-06-05 Wim Taymans <wim@fluendo.com>
6116 * gst/gstobject.c: (gst_object_class_init):
6117 Fix signal signature.
6120 Add small clarification in the api docs.
6122 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6123 States are protected with object lock.
6125 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6128 I should probably be listed as an author by now.
6130 * docs/random/release:
6131 Update the release doc
6133 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6136 Make docs for gst_value_compare() mention return enums that
6139 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6144 === release 0.10.13 ===
6146 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6149 releasing 0.10.13, "With or without you"
6151 2007-05-25 Wim Taymans <wim@fluendo.com>
6153 * gst/gstbin.c: (bin_handle_async_done):
6154 Make sure that the child bin stops after completing the async state
6155 change so that the parent can continue the state change to PLAYING.
6158 2007-05-25 Wim Taymans <wim@fluendo.com>
6160 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6161 (unref_data), (gst_collect_pads_remove_pad),
6162 (gst_collect_pads_check_pads):
6163 Use additional refcounting to avoid crashes when dynamically adding and
6164 removing pads. Fixes #420206.
6166 2007-05-24 Wim Taymans <wim@fluendo.com>
6168 * tools/gst-launch.c: (event_loop):
6169 When buffering goes from a two digit to a single digit number, make sure
6170 to remove the old second digit by writing a blank over it.
6172 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6174 * libs/gst/base/gstdataqueue.c:
6175 Eliminate tabs and trailing comma in enum list; fix some typos.
6177 2007-05-24 Wim Taymans <wim@fluendo.com>
6179 * tests/check/gst/gstbin.c: (GST_START_TEST):
6180 Allow refcount of 3 and 4 because some state thread might still be busy
6183 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6185 * plugins/elements/Makefile.am:
6186 * plugins/elements/gstmultiqueue.h:
6187 * plugins/elements/gstqueue.h:
6188 These are not installed headers, no need for padding.
6190 2007-05-24 Wim Taymans <wim@fluendo.com>
6192 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6193 (gst_bin_continue_func):
6194 Enable latency for next release.
6195 Restore STATE_LOCK around recalc_state that was left out during the
6196 rewrite and could result in racy behaviour when _get_state and
6197 recalc_state are run concurrently. See #440463.
6199 2007-05-23 Wim Taymans <wim@fluendo.com>
6201 * tests/check/gst/gstsystemclock.c: (store_callback),
6203 Improve test_async_order to also work when both timers are already
6204 expired when we get scheduled to check it.
6206 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6208 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6209 (gst_bin_set_property), (gst_bin_get_property),
6210 (gst_bin_remove_func), (gst_bin_handle_message_func):
6212 'private' is a c++ keyword, let's not use that in header files,
6213 otherwise c++ compilers will throw a tantrum.
6215 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6217 * plugins/elements/gstelements.c:
6218 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6219 (gst_file_sink_get_current_offset):
6220 * plugins/indexers/gstindexers.c: (plugin_init):
6221 Use #ifdef for HAVE_XYZ for consistency.
6223 * tests/check/Makefile.am:
6224 * tests/check/elements/.cvsignore:
6225 * tests/check/elements/filesink.c: (setup_filesink),
6226 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6227 Add some unit tests for filesink.
6229 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6231 Patch by: Mark Nauwelaerts <manauw at skynet be>
6233 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6234 (gst_file_sink_query), (gst_file_sink_do_seek),
6235 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6236 * plugins/elements/gstfilesink.h:
6237 Fix position reporting; rename data_written member to current_pos to
6238 reflect its real meaning (fixes #412648).
6240 2007-05-22 Edward Hervey <edward@fluendo.com>
6242 * docs/gst/gstreamer-sections.txt:
6243 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6244 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6245 (gst_bin_remove_func), (gst_bin_handle_message_func):
6247 Add a property for bins that handle the state change of their childs.
6250 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6252 * libs/gst/controller/gstinterpolation.c:
6253 Use an array of the correct type when using _get_value_array with
6254 linear interpolation.
6256 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6258 * gst/gstelement.c (gst_element_requires_clock,
6259 gst_element_provides_clock, gst_element_request_pad,
6260 gst_element_class_set_details, gst_element_class_set_details_simple,
6261 gst_element_default_send_event, gst_element_abort_state,
6262 gst_element_continue_state, gst_element_set_state,
6263 gst_element_set_state_func, iterator_activate_fold_with_resync):
6264 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6265 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6266 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6267 gst_pad_get_range, gst_pad_pull_range):
6268 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6269 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6270 GstPadActivateModeFunction, GstPadChainFunction,
6271 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6272 GstPadFixateCapsFunction, GstPadTemplate):
6273 * gst/gstpipeline.c (gst_pipeline_change_state,
6274 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6275 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6276 gst_pipeline_get_delay):
6277 Whitespace and docs fixes.
6279 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6281 * libs/gst/controller/gstinterpolation.c:
6282 (interpolate_trigger_get_enum_value_array),
6283 (interpolate_trigger_get_string_value_array):
6284 Add support for retrieving value arrays when using the trigger
6287 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6289 * libs/gst/controller/gstcontroller.c:
6290 (gst_controller_get_value_array):
6291 * libs/gst/controller/gstcontroller.h:
6292 Clarify the docs of gst_controller_get_value_array(): The array where
6293 the values should be written to must be allocated as there seems to be
6294 no way to get the size of a random GType. This doesn't change any
6295 behaviour. Also fix some typos all over the place and remove an unused,
6296 commented function that is not necessary as g_object_set() could be
6298 * tests/check/libs/controller.c: (GST_START_TEST),
6299 (gst_controller_suite):
6300 Add unit test for gst_controller_get_value_array().
6302 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6304 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6306 Disable part of the gst_buffer_try_new_and_alloc test, because
6307 it can happily succeed on 64-bit systems where there's more address
6310 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6312 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6313 Add unit test for the improved caps checking from bug #421543.
6315 2007-05-21 Wim Taymans <wim@fluendo.com>
6317 * docs/design/part-synchronisation.txt:
6320 * gst/gstbin.c: (gst_bin_query):
6321 * plugins/elements/gstqueue.c: (apply_segment):
6327 2007-05-21 Wim Taymans <wim@fluendo.com>
6329 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6330 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6331 (gst_pad_configure_src):
6332 Added simple version of improved caps checking. It was previously
6333 assumed that a setcaps function would check the validity of the caps but
6334 people prefer us to check caps against the template automatically.
6337 2007-05-21 Wim Taymans <wim@fluendo.com>
6339 * libs/gst/base/gstbasetransform.h:
6340 Fix macro for locking/unlocking the transform lock.
6342 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6344 * docs/plugins/tmpl/.cvsignore:
6347 2007-05-18 Edward Hervey <edward@fluendo.com>
6349 * plugins/elements/gstqueue.c: (gst_queue_loop):
6350 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6351 for the subtle art of warning a potentially blocking thread that it
6352 should check the source pad return value, and relay the information
6355 2007-05-18 Edward Hervey <edward@fluendo.com>
6357 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6358 Release the queue lock !
6360 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6362 * docs/libs/gstreamer-libs-sections.txt:
6363 Add the two new controller functions to the appropiate places.
6365 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6367 reviewed by: Stefan Kost <ensonic@users.sf.net>
6369 * libs/gst/controller/gstcontroller.c:
6370 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6371 (_gst_controller_get_property), (_gst_controller_set_property),
6372 (_gst_controller_init), (_gst_controller_class_init):
6373 * libs/gst/controller/gstcontroller.h:
6374 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6375 (gst_object_get_control_rate), (gst_object_set_control_rate):
6376 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6377 Add API that provides sync suggestion timestamps for elements that
6378 call gst_object_sync_values() from which those elements can subdivide
6379 their processing loop to get the best results for the controlled
6380 properties. For now it just suggests last_sync + control_rate as
6381 new timestamp but this will be improved in the future.
6383 While doing that change the control-rate property to a GstClockTime
6384 from guint and change it's meaning from samples to nanoseconds as
6385 the GstController doesn't know anything about sampling rate. Strictly
6386 speaking this breaks ABI but as the control-rate property didn't do
6387 anything in the past and as such couldn't be used this should be no
6390 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6392 reviewed by: Stefan Kost <ensonic@users.sf.net>
6394 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6395 (gst_controller_unset_all):
6396 * libs/gst/controller/gstcontrollerprivate.h:
6397 * libs/gst/controller/gstinterpolation.c:
6398 (gst_controlled_property_find_control_point_node):
6399 Save last synced value from the list to continue searching from there
6400 in future syncs. This speeds everything up a bit.
6402 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6404 reviewed by: Stefan Kost <ensonic@users.sf.net>
6406 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6407 (gst_control_point_find), (gst_controlled_property_new),
6408 (gst_control_point_free), (gst_controlled_property_free),
6409 (gst_controller_set), (gst_controller_set_from_list),
6410 (gst_controller_unset), (gst_controller_unset_all),
6411 (gst_controller_sync_values):
6412 * libs/gst/controller/gstcontroller.h:
6413 * libs/gst/controller/gstcontrollerprivate.h:
6414 * libs/gst/controller/gstinterpolation.c:
6415 (gst_controlled_property_find_control_point_node),
6416 (interpolate_none_get), (interpolate_trigger_get):
6417 Add a new private GstControlPoint struct which "inherits" from
6418 GstTimedValue to allow different interpolators to store internal
6419 values next to each control point. From the outside everything is
6420 still a GstControlPoint so we don't loose binary compatibility.
6421 Also fixup all the GValue handling to not leak GValues or list nodes.
6422 * tests/check/libs/controller.c: (GST_START_TEST):
6423 Free the list nodes and GValues in the controller_misc test.
6425 2007-05-17 Edward Hervey <edward@fluendo.com>
6430 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6432 * gst/gstplugin.c: (gst_plugin_load_file):
6433 If we fail to load a plugin because of unresolved symbols or missing
6434 libraries and spew a warning to stderr, we may just as well mention
6435 which plugin it was that failed to load.
6437 2007-05-13 David Schleef <ds@schleef.org>
6439 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6440 handles the case when ENABLE_GTK_DOC is false, and installs
6441 the prebuilt documentation. So gtk-doc subdirs are
6442 unconditionally enabled. Fixes: #349099.
6444 2007-05-13 David Schleef <ds@schleef.org>
6446 * gst/gstutils.h: Reword some documentation.
6448 2007-05-12 David Schleef <ds@schleef.org>
6450 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6451 do anything with the passed "module" parameter, so remove it.
6452 Allows removal of additional vestigal code.
6454 2007-05-12 David Schleef <ds@schleef.org>
6457 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6458 Switch to using g_stat() because it's more portable.
6460 2007-05-12 David Schleef <ds@schleef.org>
6463 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6464 parsing for embedded systems.
6465 * gst/gstelementfactory.c:
6466 Allow gst_element_register() to be called with plugin==NULL.
6467 Did nobody notice that static elements were broken?
6469 2007-05-12 Wim Taymans <wim@fluendo.com>
6471 * tools/gst-launch.c: (event_loop):
6472 Give more interesting info when buffering starts and stops.
6473 Fix case where buffering starts but we fail to update the buffering flag
6474 because the target state is not PLAYING.
6476 2007-05-12 Wim Taymans <wim@fluendo.com>
6478 * plugins/elements/gstqueue.c: (gst_queue_init),
6479 (gst_queue_finalize), (update_time_level), (apply_segment),
6480 (apply_buffer), (gst_queue_locked_flush),
6481 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6482 (gst_queue_handle_sink_event), (gst_queue_chain),
6483 (gst_queue_push_one), (gst_queue_loop):
6484 * plugins/elements/gstqueue.h:
6485 Refactor an cleanup queue a bit.
6486 Do better time level calculations that also work when the srcpad is not
6488 Remove some unneeded debug lines.
6490 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6491 Added testcase for time level measurement.
6492 Try to make some stuff more racefree.
6494 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6496 * gst/gsturi.c: (gst_element_make_from_uri):
6497 Don't leak plugin feature.
6499 * tests/check/Makefile.am:
6500 * tests/check/gst/.cvsignore:
6501 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6502 Add brain-dead unit test.
6504 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6506 Patch by: Jeroen Wouters <woutersj at gmail com>
6508 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6509 Treat protocol strings in a case-insensitive way (#437563).
6511 2007-05-11 Michael Smith <msmith@fluendo.com>
6513 * gst/gstplugin.c: (gst_plugin_load_file):
6514 * gst/gstregistry.c: (gst_registry_scan_path_level):
6515 Don't print a g_warning for any failure to load a shared object.
6516 Instead, push this down into gstplugin.c, and warn _only_ if we
6517 failed to open the module (i.e. failure to link).
6518 Avoids warnings on normal, working, non-plugin .so files.
6520 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6522 * gst/gstplugin.c (gst_plugin_load_file):
6523 * gst/gstregistry.c (GST_CAT_DEFAULT,
6524 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6525 Print a g_warning if there was an error when loading a plugins during
6526 registry scan. The shuld help beginners starting with gst-plugin
6529 2007-05-10 Wim Taymans <wim@fluendo.com>
6531 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6532 (update_time_level), (gst_queue_locked_flush),
6533 (gst_queue_handle_sink_event), (gst_queue_chain),
6534 (gst_queue_push_one), (gst_queue_loop):
6535 * plugins/elements/gstqueue.h:
6536 Be smarter when calculating the current amount of data in the queue by
6537 measuring the difference between start and end timestamps (in running
6538 time) inside the queue. Fixes #432876.
6539 API: GstQueue::pushing to notify elements that we are pushing data again
6540 since the running signal is rather broken for this purpose.
6542 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6544 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6545 gst_queue_base_init, gst_queue_init):
6548 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6550 * win32/common/libgstreamer.def:
6551 Add new exported functions.
6552 * win32/vs6/grammar.dsp:
6553 Use grammar pre-generated files.
6555 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6557 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6560 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6562 * gst/gstutils.c: (gst_parse_bin_from_description):
6564 Maintain API and ABI when --disable-parse is used. Now that
6565 we have an appropriate error code, we can just return NULL and the
6566 appropriate error when gst_parse_launch() is used despite it having
6567 been disabled (#342564).
6569 * tests/check/Makefile.am:
6570 * tests/check/pipelines/.cvsignore:
6571 * tests/check/pipelines/parse-disabled.c:
6572 Make sure these functions exist and return NULL plus a GError when
6573 --disable-parse is used.
6575 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6577 * tests/benchmarks/complexity.c: (main):
6578 * tests/benchmarks/mass-elements.c: (main):
6579 Set a good example and don't leak messages.
6581 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6583 * docs/gst/Makefile.am:
6584 * docs/libs/Makefile.am:
6585 Correct fixxrefs options.
6587 * docs/plugins/Makefile.am:
6588 * docs/plugins/gstreamer-plugins-docs.sgml:
6589 * docs/plugins/gstreamer-plugins-sections.txt:
6590 * plugins/elements/Makefile.am:
6591 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6592 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6593 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6594 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6595 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6596 _GstCapsFilterClass, trans_class):
6597 * plugins/elements/gstelements.c (name, rank, type, _elements):
6598 * plugins/elements/gstidentity.c
6599 (gst_identity_check_imperfect_timestamp,
6600 gst_identity_check_imperfect_offset):
6601 Document capsfilter and add doc-blurb to identity.
6603 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6605 * libs/gst/controller/gstcontroller.c:
6606 (gst_controlled_property_set_interpolation_mode):
6607 * libs/gst/controller/gstinterpolation.c:
6608 Don't crash if someone tries to set an interpolation mode that
6609 is invalid or that isn't supported yet. Fixes #422295.
6611 * tests/check/libs/controller.c: (GST_START_TEST),
6612 (gst_controller_suite):
6613 Add a test case for the above.
6615 2007-05-03 Edward Hervey <edward@fluendo.com>
6617 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6618 Properly set the last_stop position on GstSegment. This will only happen
6619 if there is a buffer to push out.
6621 2007-05-03 Wim Taymans <wim@fluendo.com>
6623 * libs/gst/base/gstbasetransform.c:
6624 (gst_base_transform_buffer_alloc):
6625 always_in_place does not mean that the sink and source caps are the
6626 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6628 2007-05-03 Wim Taymans <wim@fluendo.com>
6630 * docs/libs/gstreamer-libs-sections.txt:
6631 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6632 (gst_base_src_default_query), (gst_base_src_get_range):
6633 * libs/gst/base/gstbasesrc.h:
6634 API: gst_base_src_query_latency(). Added method so that subclasses can
6635 easily get the latency values of the base source class.
6637 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6639 * tools/gst-inspect.c (print_implementation_info):
6642 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6644 * tools/Makefile.am:
6645 * tools/gst-launch.1.in:
6646 Don't create a customised man page based on the host architecture,
6647 describe the default registry path generically. That way the man
6648 page is the same for all architectures and packagers have one
6649 multilib issue less to deal with. Fixes #434926.
6651 2007-05-02 Wim Taymans <wim@fluendo.com>
6654 Fix documentation as spotted by rg on IRC.
6656 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6659 Improve docs for gst_element_{link,unlink}.
6661 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6663 * docs/design/part-events.txt:
6664 * docs/design/part-overview.txt:
6668 * libs/gst/base/gstbasesink.c:
6669 Typo fixes; minor docs addition.
6671 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6673 * docs/gst/gstreamer-sections.txt:
6674 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6675 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6677 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6678 or src that supports a given URI protocol exists.
6680 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6682 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6683 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6684 Set the location to NULL if "file://" is set as URI. Otherwise
6685 some random previous URI would still be set if "file://" is
6686 set on an already used filesink/filesrc.
6688 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6690 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6691 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6692 Special case the "file://" URI as as this is used by some
6693 applications to test with gst_element_make_from_uri if there's
6694 an element that supports the URI protocol.
6695 Also move the g_path_is_absolute() check for the location part
6696 of the URI to also check this for "file://localhost/bla" URIs.
6698 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6700 * docs/gst/gstreamer-sections.txt:
6701 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6703 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6705 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6707 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6709 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6710 (gst_registry_binary_load_pad_template),
6711 (gst_registry_binary_load_plugin),
6712 (gst_registry_binary_read_cache):
6713 * gst/gstregistrybinary.h:
6714 Implement no-mmap alternative for registry reading. Do code cleanups.
6715 Add more comments about avoiding strdups for all text data. Comments
6718 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6720 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6721 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6722 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6723 Comment structs and reformat to fix the build (that stuff should go
6724 into a priv. header).
6726 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6728 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6729 (gst_registry_binary_load_feature):
6730 * gst/gstregistrybinary.h:
6731 Refactor so that we can implement multiple features. Add support for
6732 TypeFindFactory features.
6734 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6736 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6739 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6741 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6743 * gst/gstbin.c: (gst_bin_element_set_state),
6744 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6745 (bin_handle_async_done), (gst_bin_handle_message_func):
6746 Fix build with --gst-disable-gst-debug
6748 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6750 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6751 Make sure streaming has finished before calling the ::stop() vfunc,
6752 since that vfunc might clear state which is being used in the
6753 streaming thread. This fixes a race that caused crashes in
6754 audioresample when shutting down a pipeline (#420106).
6756 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6758 * docs/gst/gstreamer-sections.txt:
6759 That was one byte missing.
6761 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6764 * docs/gst/gstreamer-sections.txt:
6766 * gst/gstconfig.h.in:
6767 * gst/gstobject.c: (gst_object_class_init),
6768 (gst_signal_object_class_init):
6770 2nd attempt to have a xml-less build as a joined effort of #413123
6773 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6775 * docs/design/draft-tagreading.txt:
6776 Added open issues/thoughts to draft.
6778 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6780 * gst/parse/grammar.tab.pre.c:
6781 * gst/parse/grammar.tab.pre.h:
6782 * gst/parse/lex._gst_parse_yy.pre.c:
6783 Update the prebuild parser sources.
6785 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6787 * gst/parse/Makefile.am:
6788 And now fix the building of the flex sources. Now everything should
6791 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6793 * gst/parse/Makefile.am:
6794 Now hopefully fix the build failures by setting proper rule
6795 dependencies and moving instead of copying.
6797 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6799 * tests/benchmarks/complexity.gnuplot:
6800 * tests/benchmarks/complexity.scm:
6801 * tests/benchmarks/mass-elements.gnuplot:
6802 * tests/benchmarks/mass-elements.scm:
6803 Total licensification.
6805 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6807 * gst/parse/Makefile.am:
6808 Fix the build by correcting the rule that gave wrong files to flex.
6810 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6812 * tests/benchmarks/complexity.c:
6813 * tests/benchmarks/mass-elements.c:
6814 Change licence to LGPL as granted by Benjamin and Andy.
6816 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6818 * gst/parse/Makefile.am:
6819 Add correct grammar.tab.h dependency if compiling without new enough
6820 flex. Fixes #431150.
6822 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6824 * gst/parse/Makefile.am:
6825 Fix typo and use outdated sources if the flex/bison sources are newer
6826 than the pregenerated ones but flex is too old. Print a warning in
6827 that case. This should fix the build on the build bot.
6829 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6831 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6832 * gst/parse/Makefile.am:
6833 * gst/parse/grammar.y:
6834 * gst/parse/parse.l:
6835 Make the parser reentrant and recursively callable. This requires flex
6836 >= 2.5.31, for older versions pregenerated sources are used as we
6837 can't bump the build dependency. Finally fixes #349180.
6839 * gst/gstparse.c: (gst_parse_launch):
6840 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6843 * docs/gst/Makefile.am:
6844 * docs/gst/Makefile.am:
6845 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6846 (__gst_parse_strfree), (__gst_parse_link_new),
6847 (__gst_parse_link_free), (__gst_parse_chain_new),
6848 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6849 (gst_parse_element_set), (gst_parse_free_link),
6850 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6851 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6852 (_gst_parse_launch):
6853 * gst/parse/grammar.tab.pre.h:
6854 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6855 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6856 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6857 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6858 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6859 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6860 (_gst_parse_yypop_buffer_state),
6861 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6862 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6863 (yy_fatal_error), (_gst_parse_yyget_extra),
6864 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6865 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6866 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6867 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6868 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6869 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6870 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6871 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6872 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6873 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6874 (_gst_parse_yyfree):
6875 If the installed flex version is too old use pre-generated parser
6876 sources. These pre-generated parser sources are always updated when
6877 the actual flex/bison sources change but require everybody who wants
6878 to change something in the parser to have flex >= 2.5.31 installed.
6880 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6882 * common/m4/gst-gettext.m4:
6883 * gst/gst-i18n-lib.h:
6884 Make --disable-nls to work
6886 2007-04-17 Wim Taymans <wim@fluendo.com>
6888 * gst/gstconfig.h.in:
6889 Revert previous change that broke the build.
6891 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6895 * gst/gstconfig.h.in:
6896 Drop libxml2 dependency when building with
6897 --enable-binary-registry --disable-loadsave
6899 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6901 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6902 (gst_registry_binary_read_cache):
6903 * gst/gstregistrybinary.h:
6904 Remove unnecessary <sys/mman.h> include which broke the win32 build
6905 with MingW; move includes from header file to .c file, even if the
6906 header file isn't installed; use g_strerror() where UTF-8 strings
6907 are expected, such as in GST_DEBUG messages.
6909 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6911 * docs/libs/gstreamer-libs-sections.txt:
6912 Remove bogus addition for API I didn't end up keeping.
6914 * libs/gst/base/gstbasesrc.h:
6915 Mention Since: 0.10.13 in the documentation.
6917 Add the API keyword to the previous ChangeLog entry.
6919 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6921 * docs/libs/gstreamer-libs-sections.txt:
6922 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6923 (gst_base_src_default_prepare_seek_segment),
6924 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6925 * libs/gst/base/gstbasesrc.h:
6926 Allow basesrc derived classes to execute seeks in other formats
6927 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6928 to prepare the GstSegment in any format that their perform_seek method
6929 will be able to understand. The default implementation provides the
6930 old behaviour of attempting to convert the seek offsets to the
6931 configured native format.
6933 API: basesrc::prepare_seek_segment vmethod.
6935 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6937 * gst/gstelement.c: (gst_element_get_state_func):
6938 Don't output the same debug statement twice.
6940 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6941 (gst_adapter_peek), (gst_adapter_take_buffer):
6942 Optimise the case where we have buffers at the head of the queue that
6943 can be joined quickly (because they're contiguous sub-buffers) by
6944 merging them together rather than copying data out into new memory.
6946 * gst/parse/grammar.y:
6947 * tests/check/pipelines/parse-launch.c:
6948 Fix a leak in an error path for parse_launch, and add a check
6949 for it to the testsuite.
6951 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6953 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6954 Don't deadlock when releasing a pad - gst_pad_set_active may try
6955 and take the multiqueue lock too.
6957 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
6959 * gst/gsterror.c: (_gst_core_errors_init):
6961 API: add GST_CORE_ERROR_DISABLED (#392804).
6963 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6965 * docs/faq/gst-uninstalled:
6966 don't get empty paths on the PATH variables
6967 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6968 Don't format for the uncommon terminal width of 84 characters.
6970 2007-04-06 Wim Taymans <wim@fluendo.com>
6972 * gst/gstpipeline.c: (reset_stream_time),
6973 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6974 Only try to select a different pipeline clock when we went back to
6975 PAUSED and not when we merely got flushed.
6977 2007-04-05 Michael Smith <msmith@fluendo.com>
6979 * tools/gst-launch.1.in:
6980 fractions are better supported in gstreamer than ractions, so
6981 suggest using those.
6983 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
6985 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6989 Added Danish translation.
6991 2007-04-05 Wim Taymans <wim@fluendo.com>
6993 * libs/gst/base/gstbasesink.c:
6994 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6995 Fix leak caused when refusing newsegment after EOS.
6997 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6998 (gst_fake_sink_init), (gst_fake_sink_set_property),
6999 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7000 (gst_fake_sink_render), (gst_fake_sink_change_state):
7001 * plugins/elements/gstfakesink.h:
7002 Add num-buffers property to make the element generate EOS after a
7003 configurable amount of buffers.
7004 API: fakesink::num-buffers property.
7006 * tests/check/elements/fakesink.c: (GST_START_TEST),
7008 Fix GstBus leak in test.
7009 Test for fakesink num-buffers.
7011 2007-04-05 Wim Taymans <wim@fluendo.com>
7013 * libs/gst/base/gstbasesink.c:
7014 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7015 (gst_base_sink_change_state):
7016 Don't accept anything after an EOS, return UNEXPECTED instead.
7018 * tests/check/elements/fakesink.c: (GST_START_TEST),
7020 Unit test for new EOS behaviour.
7022 2007-04-05 Wim Taymans <wim@fluendo.com>
7024 * gst/gstelement.c: (gst_element_get_request_pad):
7025 Make padtemplates also work when they don't contain %s or %d.
7027 2007-04-05 Wim Taymans <wim@fluendo.com>
7029 * docs/gst/gstreamer-sections.txt:
7030 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7031 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7033 Improve _adjust_unlocked() so that it overflows less.
7034 Add gst_clock_unadjust_unlocked to convert from external time to
7035 internal time based on calibration.
7036 Add some more debug.
7037 API: GstClock::gst_clock_unadjust_unlocked()
7039 2007-04-03 Wim Taymans <wim@fluendo.com>
7041 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7043 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7044 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7045 when releasing sink pad. Fixes #425400.
7047 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7049 * docs/random/ensonic/dynlink.txt:
7050 More work on proposal for new core api.
7052 * docs/libs/gstreamer-libs-sections.txt:
7053 * libs/gst/base/gstbasetransform.h:
7054 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7056 * libs/gst/controller/gstcontroller.c:
7057 (on_object_controlled_property_changed),
7058 (gst_controller_sync_values),
7059 (gst_controller_set_interpolation_mode):
7060 * libs/gst/controller/gstcontroller.h:
7061 Less verbose logging add docs for unimplemented parts and correctly
7062 return when using unavailable parts.
7064 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7066 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7067 Move all the debug to the CLOCK category, and associate it with
7070 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7072 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7073 Make take_buffer a bit quicker by removing redundant checks
7074 caused by calling gst_adapter_take.
7076 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7078 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7081 * tests/check/Makefile.am:
7082 * tests/check/elements/.cvsignore:
7083 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7084 (GST_START_TEST), (multiqueue_suite):
7085 Add some dead simple unit tests for the 'multiqueue' element
7086 (some bits don't work yet and are disabled for now).
7088 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7090 * gst/gstelement.c: (gst_element_get_request_pad),
7091 (gst_element_class_get_request_pad_template):
7092 Make gst_element_get_request_pad() create request pads only for
7093 request pad templates and not for, say, sometimes pad templates.
7095 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7097 * docs/design/draft-klass.txt:
7098 Add example that needs more thinking.
7100 * docs/design/draft-missing-plugins.txt:
7101 More thoughts about wrapper plugins.
7103 * docs/random/ensonic/embedded.txt:
7104 * docs/random/ensonic/profiling.txt:
7107 2007-03-25 Wim Taymans <wim@fluendo.com>
7109 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7110 (gst_base_src_loop):
7111 Only push the segment events in the PLAYING state for live sources.
7113 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7115 * gst/gstpipeline.c: (gst_pipeline_change_state):
7116 Modify the clock distribution path in PAUSED->PLAYING so that we
7117 never attempt to choose a new clock unless we're actually leaving
7118 the PAUSED state for the first time. This prevents choosing a
7119 different clock when the state_change gets called for a 2nd time due
7120 to some element doing an async state change.
7122 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7124 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7125 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7126 (gst_pad_chain_unchecked), (gst_pad_push):
7127 Revert last commit. This needs some more thoughts.
7129 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7131 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7132 (gst_pad_chain_unchecked), (gst_pad_push):
7133 Check in set_caps if the caps are compatible with the pad and remove
7134 two functions that are redundant now. Fixes #421543.
7136 2007-03-22 Wim Taymans <wim@fluendo.com>
7138 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7139 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7140 Unref some more to make valgrind happy.
7142 2007-03-22 Wim Taymans <wim@fluendo.com>
7144 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7145 (gst_system_clock_id_wait_jitter),
7146 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7147 Fix anoying regression that survived a few releases. When adding an
7148 async entry while blocking on a sync entry, the sync entry will unblock
7149 but still be busy, so it should continue to wait instead of returning
7151 Add some comments here and there.
7153 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7154 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7155 Add testcase for this.
7157 2007-03-22 Wim Taymans <wim@fluendo.com>
7159 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7160 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7161 WRONG_STATE and can silently pause the task. All other cases should
7164 2007-03-22 Wim Taymans <wim@fluendo.com>
7166 Patch by: Ville Syrjala <syrjala at sci dot fi>
7168 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7169 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7172 2007-03-21 Michael Smith <msmith@fluendo.com>
7174 * docs/pwg/advanced-types.xml:
7175 Fix some errors in the typefinding docs pointed out on irc.
7177 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7179 * libs/gst/base/gstbasesrc.c:
7180 Clarify FIXME comment in the face of having added unlock_stop()
7182 2007-03-21 Wim Taymans <wim@fluendo.com>
7184 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7185 Prepare for release where we warn against possible app breakage in the
7186 case of live pipelines along with an env var to enable/disable live
7187 preroll mode (GST_COMPAT=[no-]live-preroll).
7189 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7191 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7192 So we should use correct constants for checking for None offset.
7194 2007-03-20 Wim Taymans <wim@fluendo.com>
7196 * docs/design/part-block.txt:
7197 Mention the fact that the newly switched element should be set to at
7200 2007-03-20 Wim Taymans <wim@fluendo.com>
7203 Fix compilation with registry disabled as spotted by Saur.
7205 2007-03-20 Wim Taymans <wim@fluendo.com>
7207 Patch by: Olivier Crete <tester at tester dot ca>
7209 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7210 Look at the pending state too when syncing the element state to the
7211 parent. Fixes #420133.
7213 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7215 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7216 (gst_base_sink_change_state):
7217 * libs/gst/base/gstbasesink.h:
7218 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7219 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7220 (gst_base_src_deactivate):
7221 * libs/gst/base/gstbasesrc.h:
7222 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7223 for sub-classes to correctly clear any state they set trying to
7224 unlock, such as clearing out unlock commands from a command fd.
7225 API: basesrc::unlock_stop
7226 API: basesink::unlock_stop
7228 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7229 (gst_fd_sink_render), (gst_fd_sink_unlock),
7230 (gst_fd_sink_unlock_stop):
7231 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7232 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7233 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7235 Implement unlock_stop in fdsrc and fdsink.
7236 Implement seeking in fdsrc when a seekable fd is passed, as in
7237 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7239 2007-03-19 Wim Taymans <wim@fluendo.com>
7241 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7243 * gst/gstelement.c: (gst_element_class_init):
7244 Fix pad-added and pad-removed signal signatures so that the pad type is
7245 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7247 2007-03-19 Wim Taymans <wim@fluendo.com>
7249 * docs/gst/gstreamer-sections.txt:
7250 Add new element field and method.
7252 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7253 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7254 (gst_bin_recalc_state), (gst_bin_get_state_func),
7255 (gst_bin_element_set_state), (gst_bin_change_state_func),
7256 (gst_bin_continue_func), (bin_bus_handler),
7257 (bin_push_state_continue), (bin_handle_async_start),
7258 (bin_handle_async_done), (gst_bin_handle_message_func):
7259 Make async state changes a bit smarter by using new ASYNC_START and
7260 ASYNC_DONE messages. This reduces the number of times we run the state
7261 recalculation thread.
7262 Don't change state of element with a pending ASYNC_START message.
7263 Deprecate STATE_DIRTY messages.
7265 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7266 (gst_element_get_state_func), (gst_element_continue_state),
7267 (gst_element_lost_state), (gst_element_set_state_func),
7268 (gst_element_change_state):
7270 Keep the state that was last set by the app in a new element field.
7271 Don't allow state changes when handling an element event.
7272 Post ASYNC_START and ASYNC_DONE messages.
7273 Change lost_state so that we go to PAUSED and wait for the parent to set
7274 us to PLAYING again (so latency calculation can be performed)
7275 Export gst_element_change_state() method so that subclasses can use it.
7276 API: gst_element_change_state()
7277 API: GST_STATE_TARGET
7279 * gst/gstpipeline.c: (gst_pipeline_class_init),
7280 (reset_stream_time), (gst_pipeline_change_state),
7281 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7282 Using the new ASYNC_START message we can reset the base_time when
7283 needed. This can then be used to implement base_time redistribution in
7284 flushing seeks so that we can remove the explicit seek handling.
7285 Perform latency query and configuration when going to PLAYING.
7287 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7288 (gst_base_sink_query), (gst_base_sink_change_state):
7289 Post new ASYNC_START/ASYNC_DONE messages.
7291 * tests/check/generic/sinks.c: (GST_START_TEST):
7292 Fix test because the bin will not set the async element to PLAYING right
7295 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7296 Make the message check a little stronger.
7297 Handle ASYNC messages.
7299 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7300 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7301 Expect ASYNC_DONE messages.
7303 2007-03-19 Wim Taymans <wim@fluendo.com>
7305 * docs/gst/gstreamer-sections.txt:
7306 * gst/gstmessage.c: (gst_message_new_async_start),
7307 (gst_message_new_async_done), (gst_message_parse_info),
7308 (gst_message_parse_async_start):
7310 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7313 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7315 * tools/gst-inspect.c:
7316 (print_plugin_automatic_install_info_codecs):
7317 Now that we don't check for the 'Codec' keyword any longer in the
7318 klass, we shouldn't spew a warning if the klass isn't a decoder or
7319 encoder (since it might be a Source/Network, for example).
7321 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7323 * tools/gst-inspect.c:
7324 (print_plugin_automatic_install_info_codecs):
7325 Don't require decoder/demuxer/depayloader elements or
7326 encoder/muxer/paylader elements to have 'Codec' as part of their
7327 factory class string when introspecting a plugin's capabilities.
7328 draft-klass.txt mentions that it might be removed in future, and
7329 flump3dec doesn't have it as part of its class string, so chances
7330 are others might also not have it.
7332 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7354 Update translations from translation project
7356 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7358 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7359 (gst_child_proxy_set_property):
7360 Invert precondition check to be alike the ones in the mimiced gobject
7363 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7365 * docs/design/draft-tagreading.txt:
7366 * docs/random/ensonic/audiobaseclasses.txt:
7367 Do some Architect work.
7369 * gst/gstobject.c: (gst_object_set_name):
7373 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7375 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7377 * gst/gstsystemclock.c: (gst_system_clock_init),
7378 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7379 Defer starting the async system clock thread until the first async
7380 wait is scheduled. Fixes #414986.
7382 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7384 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7385 (gst_single_queue_free):
7386 Fix small leak (free GstSingleQueue structure too, not only contents).
7388 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7390 * gst/gstbin.c:(gst_bin_add):
7391 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7392 * win32/common/libgstbase.def:
7393 * win32/common/libgstreamer.def:
7394 Add new exported functions.
7396 2007-03-09 Wim Taymans <wim@fluendo.com>
7398 * docs/plugins/gstreamer-plugins-sections.txt:
7401 2007-03-09 Wim Taymans <wim@fluendo.com>
7403 * docs/gst/gstreamer-sections.txt:
7404 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7406 Add metadata copy functions. Fixes #393099.
7407 API: gst_buffer_copy_metadata()
7409 * gst/gstutils.c: (gst_buffer_stamp):
7410 * libs/gst/base/gstbasetransform.c:
7411 (gst_base_transform_prepare_output_buffer):
7412 Use new metadata copy functions.
7414 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7416 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7417 (gst_identity_init), (gst_identity_check_perfect),
7418 (gst_identity_check_imperfect_timestamp),
7419 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7420 (gst_identity_set_property), (gst_identity_get_property):
7421 * plugins/elements/gstidentity.h:
7422 Separate out check-imperfect-timestamp and check-imperfect-offset.
7423 Put back check-perfect as it was to keep compatibility.
7425 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7427 * gst/gstelement.c: (gst_element_dispose):
7428 There's no need to warn if VOID_PENDING is not NONE here, as
7429 long as the state is NULL it's ok, and that's checked immediately
7432 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7434 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7435 Fix check for perfect stream to ignore buffers with -1
7436 offsets/offset ends when checking data contiguity.
7438 2007-03-08 Wim Taymans <wim@fluendo.com>
7440 * tools/gst-launch.c: (event_loop):
7441 Print INFO messages.
7443 2007-03-08 Wim Taymans <wim@fluendo.com>
7445 * libs/gst/base/gstbasetransform.c:
7446 (gst_base_transform_sink_eventfunc),
7447 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7448 (gst_base_transform_activate):
7449 * libs/gst/base/gstbasetransform.h:
7450 Add support for dropping buffers with custom GstFlowReturn.
7451 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7452 buffers or dropped buffers.
7454 * docs/libs/gstreamer-libs-sections.txt:
7455 docs for new custom return code.
7457 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7458 Use drop support in base class to implement drop-probability.
7460 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7462 * gst/gst.c: (load_plugin_func):
7463 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7464 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7465 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7466 Remove newlines at end of debug log strings.
7468 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7470 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7471 Only post bus message at max, once per buffer received.
7473 2007-03-07 Wim Taymans <wim@fluendo.com>
7475 * docs/design/Makefile.am:
7476 * docs/design/part-synchronisation.txt:
7477 Add doc about synchronisation
7479 * docs/design/draft-latency.txt:
7480 * docs/design/part-TODO.txt:
7481 * docs/design/part-clocks.txt:
7482 * docs/design/part-events.txt:
7483 * docs/design/part-gstbus.txt:
7484 * docs/design/part-gstpipeline.txt:
7485 * docs/design/part-live-source.txt:
7486 * docs/design/part-messages.txt:
7487 * docs/design/part-overview.txt:
7488 * docs/design/part-streams.txt:
7489 * docs/design/part-trickmodes.txt:
7490 Documentation updates.
7492 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7495 Update the doap file.
7497 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7499 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7500 Rename non-perfect to imperfect for Mike and for the sanctity of the
7502 Also make sure bus message gets emitted for data-incontiguities.
7504 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7506 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7507 (gst_identity_start):
7508 * plugins/elements/gstidentity.h:
7509 Emit bus message if check-perfect is true and we encounter a
7510 non-perfect stream between 2 consecutive buffers.
7513 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7518 === release 0.10.12 ===
7520 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7523 releasing 0.10.12, "Inevitable Demise"
7525 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7528 Version 0.10.11.2 (0.10.12 pre-release)
7529 Bump libtool versioning.
7531 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7533 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7534 Log flow-names and not numbers.
7536 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7539 Convert to new AG_GST style.
7541 2007-02-28 Wim Taymans <wim@fluendo.com>
7543 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7544 Don't unref query twice.
7546 2007-02-28 Wim Taymans <wim@fluendo.com>
7548 * gst/gstvalue.c: (gst_value_transform_object_string),
7549 (_gst_value_initialize):
7550 Implement GstObject -> string transform so we print object names
7551 when serializing GValues containing GstObjects.
7553 2007-02-28 Wim Taymans <wim@fluendo.com>
7555 * docs/gst/gstreamer-sections.txt:
7556 Add new stuff to docs.
7558 2007-02-28 Wim Taymans <wim@fluendo.com>
7560 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7561 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7562 (gst_base_sink_change_state):
7563 Improve latency query code.
7564 Don't leak latency events.
7566 * tests/check/gst/gstbin.c: (GST_START_TEST):
7569 2007-02-28 Wim Taymans <wim@fluendo.com>
7571 * gst/gstelement.c: (gst_element_message_full),
7572 (gst_element_get_state_func):
7574 Improve docs a little. Added Since: for new macro.
7576 * gst/gstobject.c: (gst_object_sink):
7577 * gst/gstpipeline.c: (gst_pipeline_change_state),
7578 (gst_pipeline_set_new_stream_time):
7579 * gst/gstpipeline.h:
7580 Improve debugging and docs.
7582 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7585 2007-02-28 Wim Taymans <wim@fluendo.com>
7587 * gst/gstelement.c: (gst_element_message_full),
7588 (gst_element_set_locked_state), (gst_element_get_state_func),
7589 (gst_element_change_state):
7590 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7591 Documentation updates.
7592 Small code cleanups.
7594 * gst/gstmessage.c: (gst_message_new_info),
7595 (gst_message_parse_info):
7597 API: gst_message_new_info()
7598 API: gst_message_parse_info()
7599 Add INFO message create and parse code.
7601 2007-02-28 Wim Taymans <wim@fluendo.com>
7603 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7604 (bin_query_latency_done):
7605 Also report the live parameter of a latency query.
7607 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7609 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7610 Copy the current generic/states example from -base and adapt so
7611 we can use the exact same code everywhere.
7612 Check a STATES_IGNORE_ELEMENTS env var which can be used
7613 to ignore certain element factories for this test, which is
7614 what is being done in -base
7615 * tests/check/Makefile.am:
7616 Mention this environment variable.
7618 2007-02-27 Wim Taymans <wim@fluendo.com>
7620 * docs/gst/gstreamer-sections.txt:
7621 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7622 (gst_bus_timed_pop), (gst_bus_pop):
7624 API: gst_bus_timed_pop()
7625 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7626 message to arrive on the bus.
7628 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7630 Two unit tests for new _timed_pop() function.
7632 2007-02-23 Wim Taymans <wim@fluendo.com>
7634 * gst/gstpipeline.c: (gst_pipeline_change_state),
7635 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7636 Don't ref a NULL clock in _provide_clock_func().
7637 Don't allow an INVALID delay.
7638 Don't try to calculate base_time with an invalid start_time.
7639 Also distribute and notify a NULL clock when it was selected.
7641 * tools/gst-launch.c: (event_loop):
7642 Don't crash when a NULL clock was selected in the pipeline.
7644 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7646 * docs/design/Makefile.am:
7647 * docs/design/draft-missing-plugins.txt:
7648 * docs/random/draft-missing-plugins.txt:
7649 Some small updates: update plugin system identifier prefix
7650 ('gstreamer.net' to 'gstreamer'), mention our new install
7651 API in libgstbaseutils rather than libgimme-codec, add
7652 reference to the online docs.
7654 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7656 * win32/common/config.h:
7657 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7658 use moap cl ci to only check in what is mentioned in the ChangeLog.
7660 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7662 * docs/gst/gstreamer-sections.txt:
7664 Fix up documentation to link to the correct GstGError section.
7665 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7667 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7669 * tools/gst-launch.c: (event_loop):
7670 Make sure that we actually show the important message part of a
7672 No need to check if the gerror is not NULL to free; first of all
7673 g_free accepts NULL; and second the default error handler would
7674 segfault if gerror was NULL.
7676 2007-02-21 Wim Taymans <wim@fluendo.com>
7678 * docs/gst/gstreamer-sections.txt:
7679 Removed docs as well.
7681 2007-02-21 Wim Taymans <wim@fluendo.com>
7683 * gst/gstmessage.c: (gst_message_parse_duration):
7685 Remove new messages for release.
7687 2007-02-20 Wim Taymans <wim@fluendo.com>
7689 * docs/design/part-gstghostpad.txt:
7690 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7691 (gst_ghost_pad_new_full):
7692 Make the ghostpad a parent of the internal pad again for better backward
7693 compatibility. Don't write code that relies on this however.
7695 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7696 (gst_pad_link_check_hierarchy):
7697 Require that parents should be GstElements in the hierarchy check.
7699 2007-02-20 Wim Taymans <wim@fluendo.com>
7701 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7702 (gst_bin_change_state_func), (bin_query_min_max_init),
7703 (bin_query_latency_fold), (bin_query_latency_done),
7706 Implement latency query.
7708 2007-02-20 Wim Taymans <wim@fluendo.com>
7710 * docs/design/part-gstghostpad.txt:
7711 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7712 (gst_ghost_pad_internal_do_activate_push),
7713 (gst_ghost_pad_internal_do_activate_pull),
7714 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7715 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7716 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7717 Do not set the internal pad as a parent anymore so we can avoid
7718 hierarchy linking errors when the ghostpad has no parent yet. This also
7719 fixes failed activation because of unlinked internal pads, which in
7720 turn fixes the impossible case where you have to activate a pad before
7721 you can add it to a running element.
7724 * gst/gstpad.c: (pre_activate), (post_activate),
7725 (gst_pad_set_active), (gst_pad_activate_pull),
7726 (gst_pad_activate_push), (gst_pad_check_pull_range):
7727 Add some more debug info.
7728 Mark activation mode in pre_activate so that we don't try to activate in
7729 endless loops. Fixes #385084.
7731 2007-02-19 Wim Taymans <wim@fluendo.com>
7733 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7734 (gst_base_transform_check_get_range):
7735 Implement a checkgetrange function instead of relying on the default
7736 core behaviour that assumes we can operate in pull mode if we have a
7737 getrange function. First step at fixing #385084.
7739 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7741 * gst/gstchildproxy.h:
7742 * libs/gst/base/gstbasesink.h:
7743 * libs/gst/base/gstbasesrc.h:
7744 * libs/gst/base/gstbasetransform.h:
7745 More docs coverage and some ChangeLog surgery (add missing names)
7747 2007-02-15 Wim Taymans <wim@fluendo.com>
7749 * docs/design/part-TODO.txt:
7750 * docs/design/part-activation.txt:
7751 * docs/design/part-block.txt:
7752 * docs/design/part-buffering.txt:
7753 * docs/design/part-clocks.txt:
7754 * docs/design/part-element-source.txt:
7755 * docs/design/part-events.txt:
7756 * docs/design/part-gstbin.txt:
7757 * docs/design/part-gstbus.txt:
7758 * docs/design/part-gstpipeline.txt:
7759 * docs/design/part-live-source.txt:
7760 * docs/design/part-messages.txt:
7761 * docs/design/part-overview.txt:
7762 * docs/design/part-qos.txt:
7763 * docs/design/part-query.txt:
7764 * docs/design/part-states.txt:
7765 * docs/design/part-trickmodes.txt:
7766 Some doc updates. Start renaming from stream_time to running_time where
7767 it was used wrongly.
7769 2007-02-15 Wim Taymans <wim@fluendo.com>
7771 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7772 Answer LATENCY query.
7774 2007-02-15 Wim Taymans <wim@fluendo.com>
7776 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7780 2007-02-15 Wim Taymans <wim@fluendo.com>
7782 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7783 (gst_pad_dispatcher):
7784 Improve debugging of default pad dispatcher and query functions.
7786 2007-02-15 Wim Taymans <wim@fluendo.com>
7788 * docs/gst/gstreamer-sections.txt:
7789 Remove old unused method.
7791 2007-02-13 Wim Taymans <wim@fluendo.com>
7793 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7796 2007-02-13 Wim Taymans <wim@fluendo.com>
7798 * docs/design/part-seeking.txt:
7801 * gst/gstsegment.c: (gst_segment_set_seek):
7802 Revert old bogus change that should make seeking work again.
7804 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7806 * docs/random/ensonic/dynlink.txt:
7807 * docs/random/ensonic/interfaces.txt:
7808 * docs/random/ensonic/receipies.txt:
7809 Possible dynamic reconnection api, plus some type fixes the other two
7812 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7814 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7815 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7816 Also check for an absolute path following file:// in the filesrc
7817 element. Remove redundant check and call g_path_is_absolute() on the
7820 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7822 * docs/design/draft-klass.txt:
7823 Add existing category analysis.
7826 Fix doc example, framerate is a fraction.
7828 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7831 * docs/gst/Makefile.am:
7832 * docs/gst/gstreamer-sections.txt:
7833 * docs/libs/Makefile.am:
7834 Erm, forgot a bunch of --extra-dir.
7836 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7839 * docs/gst/Makefile.am:
7840 * docs/libs/Makefile.am:
7841 * docs/plugins/Makefile.am:
7842 Add crossreferences to glib/gobject docs.
7844 2007-02-12 Wim Taymans <wim@fluendo.com>
7846 * docs/design/draft-latency.txt:
7849 * docs/libs/gstreamer-libs-sections.txt:
7850 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7851 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7852 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7853 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7854 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7855 (gst_base_sink_get_position), (gst_base_sink_query),
7856 (gst_base_sink_change_state):
7857 * libs/gst/base/gstbasesink.h:
7858 API: gst_base_sink_query_latency() to let subclasses query the upstream
7860 API: gst_base_sink_get_latency() to let subclasses query the configured
7861 latency in the sink.
7862 Implement query and set latency.
7864 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7865 don't continue preroll when we are flushing. Fixes #405284.
7867 * tests/check/pipelines/stress.c: (change_state_timeout),
7868 (quit_timeout), (GST_START_TEST), (stress_suite):
7871 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7873 Patch by: René Stadler <mail at renestadler de>
7875 * docs/gst/gstreamer-sections.txt:
7876 * gst/gsttaglist.c: (_gst_tag_initialize):
7878 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7880 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7882 * docs/libs/Makefile.am:
7883 Fix path to core docs.
7885 * gst/gstbin.c: (gst_bin_get_by_interface),
7886 (gst_bin_iterate_all_by_interface):
7887 Refix docs by also renaming 'interface' to 'iface' in implementation.
7889 * docs/gst/gstreamer-sections.txt:
7891 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7892 * gst/gstchildproxy.h:
7893 * gst/gstelementfactory.c:
7894 * gst/gstpadtemplate.h:
7895 * libs/gst/controller/gstcontroller.c:
7896 (gst_controlled_property_new):
7899 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7901 * gst/gstbin.h:(gst_bin_get_by_interface),
7902 (gst_bin_iterate_all_by_interface):
7903 Replace interface parameter name by iface as interface is
7904 a reserved keyword in Visual Studio for C++ projects so it removes
7905 a build error for application developpers using VS.
7906 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7907 Fix a bug on Windows in uri format check. Now the prefix checked
7908 is file:// and next we check if the path after file:// is absolute.
7909 * win32/common/libgstbase.def:
7910 * win32/common/libgstdataprotocol.def:
7911 * win32/common/libgstgstreamer.def:
7912 Add new exported functions.
7914 2007-02-09 Andy Wingo <wingo@pobox.com>
7916 * tests/check/pipelines/simple-launch-lines.c
7917 (simple_launch_lines_suite, test_tee): Disable tee test until I
7918 have time to fix it :-(
7920 * tests/check/Makefile.am (noinst_HEADERS):
7921 * tests/check/libs/libsabi.c:
7922 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7923 * tests/check/gst/gstabi.c:
7924 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7926 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7927 tests for push and pull tee behavior.
7929 * plugins/elements/gsttee.h:
7930 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7931 mark as deprecated as well as unimplemented. It was a crack idea.
7932 Add support for tee operating in pull mode, off by default.
7934 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7935 normal-case logs down to LOG, raise errors to WARNING.
7936 (gst_registry_xml_read_cache): Don't log before calling a function
7939 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7940 exit (registry finalize).
7941 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7942 DEBUG log when we emit signals that people don't even have the
7943 chance to connect to.
7944 (gst_registry_scan_path_level): Less logging in the normal case.
7946 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7948 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7950 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7951 Correctly generate EOS for non-seekable files. We don't have a total
7952 length for them and would get an unexpected end of file if we only
7953 special-cased for regular files. (Fixes: #404569)
7955 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7957 * tests/check/elements/filesrc.c: (GST_START_TEST),
7959 Add unit test for the GstURIHandler interface in filesrc. This also
7960 tests the newly added file://localhost/foo/bar support.
7962 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
7964 * gst/gstelementfactory.h:
7965 The klass string is not a hierarchy. Add reference to the design doc
7966 for more information and common types.
7968 2007-02-02 Wim Taymans <wim@fluendo.com>
7970 * gst/gstquery.c: (gst_query_new_latency):
7971 Remove old structure field.
7973 2007-02-02 Stefan Kost <ensonic@users.sf.net>
7975 * tools/gst-launch.1.in:
7976 Give example for network streaming (#351998)
7978 2007-02-02 Wim Taymans <wim@fluendo.com>
7980 * docs/gst/gstreamer-sections.txt:
7981 Add docs for new methods.
7983 * gst/gstevent.c: (gst_event_new_latency),
7984 (gst_event_parse_latency):
7986 Add new LATENCY event to configure latency in a pipeline.
7987 API: gst_event_new_latency
7988 API: gst_event_parse_latency
7990 * gst/gstmessage.c: (gst_message_new_buffering),
7991 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7992 (gst_message_new_latency), (gst_message_parse_buffering),
7993 (gst_message_parse_lost_preroll):
7995 Added messages used in draft-latency.
7996 API: gst_message_new_lost_preroll
7997 API: gst_message_parse_lost_preroll
7998 API: gst_message_new_prerolled
7999 API: gst_message_new_latency
8001 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8002 (gst_query_parse_latency):
8004 Implemented new latency query as in design doc.
8005 API: gst_query_new_latency
8006 API: gst_query_set_latency
8007 API: gst_query_parse_latency
8009 2007-02-02 Wim Taymans <wim@fluendo.com>
8011 * docs/design/draft-latency.txt:
8012 Slight redesign to allow for dynamic latency adjustments.
8014 * docs/design/part-negotiation.txt:
8017 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8019 reviewed by: Wim Taymans <wim@fluendo.com>
8021 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8022 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8023 Allow file://localhost/foo/bar URLs and correctly fail for every other
8024 hostname that one sets. This was gnomevfssrc is linked for those if
8025 installed as it can handle it (#403172)
8027 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8029 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8031 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8032 (unref_data), (gst_collect_pads_add_pad_full):
8033 * libs/gst/base/gstcollectpads.h:
8034 Don't put the previously added destroy notify in the GstCollectData
8035 struct as all it's padding is already used and we don't want to break
8036 ABI. Instead put in the pad's GObject data for now. This should be
8037 cleaned up for 0.11 (#402393).
8039 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8041 reviewed by: Wim Taymans <wim@fluendo.com>
8043 * docs/libs/gstreamer-libs-sections.txt:
8044 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8045 (unref_data), (gst_collect_pads_add_pad),
8046 (gst_collect_pads_add_pad_full):
8047 * libs/gst/base/gstcollectpads.h:
8048 API: Add function to specify a destroy notification for custom
8049 GstCollectData when adding new pads in GstCollectPads (#402393).
8051 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8054 Update Swedish translation (#378255).
8056 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8058 * docs/design/draft-klass.txt:
8059 Fix the previous change, this is a list of categories and not a hierarchy.
8061 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8063 * docs/design/draft-klass.txt:
8064 Add info about how to get a list of used classes.
8066 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8068 * plugins/elements/gsttypefindelement.c:
8069 (gst_type_find_element_chain_do_typefinding),
8070 (gst_type_find_element_change_state):
8071 Don't leak found caps in chain function (no idea why that never
8072 showed up as a leak anywhere).
8074 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8077 Fix and expand GstPluginDesc API docs.
8079 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8082 * gst/gstelementfactory.c:
8083 * gst/gstpadtemplate.h:
8086 * libs/gst/controller/gstcontroller.c:
8087 (gst_controlled_property_new):
8088 * tests/examples/controller/audio-example.c:
8091 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8094 comment about refining the xml deps
8097 comments about moving away from jade for docs
8100 recommit the ifdefs to use the binary registry
8102 * gst/gstbin.c: (gst_bin_change_state_func):
8103 this break is obsolete
8105 * gst/gstelementfactory.h:
8106 better GST_ELEMENT_DETAILS docs, add comment about translation
8111 * gst/gstobject.c: (gst_signal_object_get_type):
8112 add G_UNLIKELY as usual
8114 * gst/gstpad.c: (gst_pad_event_default):
8115 add fall trhu comment
8117 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8118 (gst_registry_binary_initialize_magic),
8119 (gst_registry_binary_save_string),
8120 (gst_registry_binary_save_pad_template),
8121 (gst_registry_binary_save_feature),
8122 (gst_registry_binary_save_plugin),
8123 (gst_registry_binary_write_cache),
8124 (gst_registry_binary_check_magic),
8125 (gst_registry_binary_load_pad_template),
8126 (gst_registry_binary_load_feature),
8127 (gst_registry_binary_load_plugin),
8128 (gst_registry_binary_read_cache):
8129 comment typo and formatting
8131 * gst/gstutils.c: (gst_element_state_get_name),
8132 (gst_element_state_change_return_get_name):
8133 remove obsolete breaks
8135 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8136 add FIXME 0.11 and remove cpp comment
8138 2007-01-29 Edward Hervey <edward@fluendo.com>
8140 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8141 Fix print statement in an even more portable way.
8143 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8145 * docs/gst/gstreamer-sections.txt:
8147 API: add GST_ROUND_DOWN_* macros (#401781).
8149 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8151 * docs/gst/gstreamer.types.in:
8152 * gst/gstregistry.c: (gst_registry_class_init):
8153 Document registry signals and make gtk-doc pick them up (#401381).
8155 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8157 * docs/pwg/building-testapp.xml:
8158 Add some audioconverts and audioresample to the pipeline, and some
8159 more comments and error handling.
8161 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8163 * docs/manual/manual.xml:
8167 2007-01-26 Wim Taymans <wim@fluendo.com>
8169 * gst/gstcaps.c: (gst_static_caps_get):
8170 Init caps flags too.
8172 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8174 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8176 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8177 If not using mmap'ed files try to seek to the end instead of the
8178 start to determine whether we can seek at all. This fixes the case
8179 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8180 seeks for everything afterwards fail. Fixes #400656
8182 2007-01-25 Wim Taymans <wim@fluendo.com>
8184 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8185 Add some refcount debugging.
8186 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8187 in multiple streaming threads.
8189 2007-01-25 Wim Taymans <wim@fluendo.com>
8191 Patch by: David Schleef <ds at schleef dot org>
8193 * docs/libs/gstreamer-libs-sections.txt:
8194 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8195 * libs/gst/base/gstadapter.h:
8196 API: gst_adapter_copy() that can reduce the amount of memcpy when
8197 getting data from the adapter. Fixes #388201.
8199 2007-01-25 Edward Hervey <edward@fluendo.com>
8201 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8202 In print statements, "%x" is for guint. Fixes build on macosx.
8204 2007-01-24 Edward Hervey <edward@fluendo.com>
8206 * plugins/elements/gstmultiqueue.c:
8207 (gst_multi_queue_loop):
8209 (single_queue_overrun_cb), (single_queue_underrun_cb),
8210 (single_queue_check_full), (gst_single_queue_new):
8211 Implement single queue growth system.
8212 This uses the extra-size properties, and will grow single queues by
8213 that much if one goes full whereas there are others empty. This is
8214 called extra-mode in the code.
8215 When a single queue's levels go back below the initial max-size
8216 limits, it is no longer in extra-mode. This is to ensure we don't
8217 consume too much memory.
8220 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8222 * gst/gst.c: (gst_init_get_option_group):
8223 Make warning about late g_thread_init() calls a bit more explicit,
8224 so that it's more obvious to application developers what they need
8225 to do if a user files a bug against their application.
8227 2007-01-22 Edward Hervey <edward@fluendo.com>
8229 * plugins/elements/gstmultiqueue.c:
8230 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8231 Remove previous hack of unsetting the flushing flag for the source pad
8232 instead of activating it. Instead, fix the source pad activate function
8233 so that it no longer depends on having a parent set or not.
8235 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8237 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8239 * docs/manual/basics-bus.xml:
8240 Fix example code, gst_element_unref() doesn't exist any longer.
8242 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8244 Patch by: Mark Nauwelaerts <manauw at skynet be>
8247 Fix two docs typoes (#399094).
8249 2007-01-19 Edward Hervey <edward@fluendo.com>
8251 * docs/faq/gst-uninstalled:
8252 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8253 depending on libgstbaseutils can work in uninstalled environment.
8255 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8258 * gst/gsttagsetter.c:
8259 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8260 statement for new tag.
8262 2007-01-17 Edward Hervey <edward@fluendo.com>
8264 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8265 When dynamically creating single queues, activate sinkpad before adding
8267 We should be doing the same thing for the source pad, but we can't
8268 since it would call a method which needs the parent to be set in order
8269 to work propertly. Instead of activating the source pad, we just unset
8270 the flushing flag, which is the minimal requirement for adding a pad
8271 to an element in a state greater than READY.
8273 2007-01-17 Edward Hervey <edward@fluendo.com>
8275 * docs/faq/gst-uninstalled:
8276 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8279 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8281 * tests/check/gst/gstabi.c:
8282 * tests/check/gst/struct_hppa.h:
8283 * tests/check/libs/libsabi.c:
8284 * tests/check/libs/struct_hppa.h:
8285 Add ABI structs for HPPA (see #393796).
8287 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8289 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8290 Actually write ABI structs to the file specified in the GST_ABI
8291 environment variable, as the message we print claims we would.
8293 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8295 * tests/check/gst/gsttask.c:
8298 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8300 * gst/gsttaglist.c: (_gst_tag_initialize):
8301 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8302 previous two entries.
8304 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8306 * docs/gst/gstreamer-sections.txt:
8307 * gst/gsttaglist.c: (_gst_tag_initialize):
8309 Add tag support for beat-per-minute.
8311 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8313 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8314 (gst_registry_binary_initialize_magic),
8315 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8316 (gst_registry_binary_save_pad_template),
8317 (gst_registry_binary_save_feature),
8318 (gst_registry_binary_save_plugin),
8319 (gst_registry_binary_write_cache),
8320 (gst_registry_binary_check_magic),
8321 (gst_registry_binary_load_pad_template),
8322 (gst_registry_binary_load_feature),
8323 (gst_registry_binary_load_plugin),
8324 (gst_registry_binary_read_cache):
8325 * gst/gstregistrybinary.h:
8326 Use glib types, cleanup comments, impement interfaces and uri-types.
8328 2007-01-13 Andy Wingo <wingo@pobox.com>
8330 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8331 getrange() to return buffers with other caps, while we fix
8332 demuxers and typefind, or otherwise change part-negotiation.txt.
8334 2007-01-12 Andy Wingo <wingo@pobox.com>
8336 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8337 Factor start/stop into this private function instead of partially
8338 in activate functions and partially in the change_state function.
8339 Fixes setup before the element has changed from READY->PAUSED, as
8340 is the case in pull-mode pipelines.
8341 (gst_base_transform_sink_activate_push)
8342 (gst_base_transform_src_activate_pull): Refactor to use
8343 gst_base_transform_activate().
8344 (gst_base_transform_change_state): Removed, not needed any more.
8346 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8347 Truncate before fixating.
8349 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8350 Don't set_caps() if the result of fixating is ANY, as it's not
8351 supported, and not necessary in the case of a link with no
8352 template caps on either side. Fixes tests/check/libs/basesrc in
8353 some pull-mode tests.
8355 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8356 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8357 (gst_base_transform_src_activate_pull):
8358 Track the activation mode.
8359 (gst_base_transform_setcaps): In pull mode, when activating the
8360 src pad, after activating the sink pad, activate the sink pad's
8361 peer, as discussed in part-negotiation.txt.
8363 * libs/gst/base/gstbasesrc.h:
8364 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8365 vmethod, as in basesink.
8367 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8369 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8370 mode, first proxy the setcaps to the peer pad.
8371 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8373 (gst_base_sink_default_activate_pull): Rename from
8374 gst_base_sink_activate_pull.
8375 (gst_base_sink_negotiate_pull): New function, performs negotiation
8376 in pull mode before calling ::activate_pull().
8377 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8378 vmethod instead of the default implementation. I have no idea how
8379 this worked before. Negotiate before calling activate_pull.
8381 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8382 sink pads in pull mode. In addition to being correct, fixes
8383 filesrc ! decodebin ! identity ! fakesink.
8384 (gst_pad_get_range, gst_pad_pull_range): Don't call
8385 gst_pad_set_caps() if the caps changes; instead error out with
8386 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8388 2007-01-12 Andy Wingo <wingo@pobox.com>
8390 * docs/design/part-negotiation.txt: Update with more policy.
8392 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8394 * libs/gst/check/gstbufferstraw.h:
8395 * libs/gst/check/gstcheck.h:
8396 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8399 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8401 * tests/check/Makefile.am:
8402 * tests/check/gst/.cvsignore:
8403 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8404 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8405 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8406 (GST_START_TEST), (gst_tag_setter_suite):
8407 Add minimal unit test for beforementioned GstTagSetter bug.
8409 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8411 Patch by: René Stadler <mail at renestadler dot de>
8413 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8414 gst_tag_list_merge() returns a new list, so it's not the best idea
8415 to ingore its return value. Effectively meant that tags could only
8416 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8417 Also add function guard to require a non-NULL taglist as input (has
8418 always been so due to gst_tag_list_copy(), just making it explicit).
8420 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8422 * docs/random/draft-missing-plugins.txt:
8423 Some additions: mention new API that is supposed to be used at the
8424 various stages; short blob about new gst-inspect introspection
8425 option; mention potential future problem with plugins that have
8426 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8428 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8430 * tools/gst-inspect.c:
8431 (print_plugin_automatic_install_info_codecs),
8432 (print_plugin_automatic_install_info_protocols),
8433 (print_plugin_automatic_install_info), (main):
8434 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8435 introspect plugin files and get machine-parsable output that corresponds
8436 to the last bit of the missing-plugin installer string (small gotcha:
8437 doesn't take into account ranks).
8439 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8442 * docs/gst/gstreamer-sections.txt:
8444 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8445 (gst_registry_lookup_locked):
8446 * gst/gstregistry.h:
8447 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8448 (gst_registry_binary_initialize_magic),
8449 (gst_registry_binary_save_string),
8450 (gst_registry_binary_save_pad_template),
8451 (gst_registry_binary_save_feature),
8452 (gst_registry_binary_save_plugin),
8453 (gst_registry_binary_write_cache),
8454 (gst_registry_binary_check_magic),
8455 (gst_registry_binary_load_pad_template),
8456 (gst_registry_binary_load_feature),
8457 (gst_registry_binary_load_plugin),
8458 (gst_registry_binary_read_cache):
8459 * gst/gstregistrybinary.h:
8460 * gst/gstregistryxml.c: (load_feature),
8461 (gst_registry_xml_read_cache):
8462 commit binary registry (disabled by default, see #359653)
8464 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8466 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8467 Fix 'make check' too.
8469 2007-01-10 Andy Wingo <wingo@pobox.com>
8471 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8474 * docs/design/part-negotiation.txt: Update with, um, one way that
8475 pull-mode negotiation might work?
8478 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8479 that the pad must be a src pad; makes sense to call it the other
8480 way in pull mode, and the logic is symmetric anyway.
8482 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8484 * plugins/elements/gstfilesink.c:
8485 Include <stdio.h> for fseeko().
8487 2007-01-10 Wim Taymans <wim@fluendo.com>
8491 Reserve LATENCY event.
8493 2007-01-09 Wim Taymans <wim@fluendo.com>
8495 * docs/design/draft-latency.txt:
8498 2007-01-09 Wim Taymans <wim@fluendo.com>
8500 * docs/design/draft-latency.txt:
8504 * gst/gststructure.c:
8508 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8510 * tests/check/.cvsignore:
8511 Ignore test-registry.xml as well.
8513 2007-01-09 Wim Taymans <wim@fluendo.com>
8515 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8516 unref data at the end when we are done with the pad.
8518 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8520 * docs/gst/gstreamer-sections.txt:
8521 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8522 (init_post), (gst_deinit), (gst_update_registry):
8524 API: add gst_update_registry() (#391296).
8526 * tests/check/Makefile.am:
8527 * tests/check/gst/gstregistry.c:
8528 * tests/check/gst/.cvsignore:
8529 Simple unit test for the above.
8531 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8533 * gst/gstregistry.c: (gst_registry_scan_path_level):
8534 Plugin extension on HP-UX is .sl, add that to the list of approved
8535 plugin extensions (see #393796).
8537 * tests/check/gst/gstpad.c: (GST_START_TEST):
8538 ulong => gulong. Fixes compilation with HP-UX compiler.
8540 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8541 Fix compilation if valgrind headers are not available.
8543 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8545 * win32/common/libgstreamer.def:
8546 Add new exported function.
8547 * win32/vs6/libgstbase.dsp:
8548 Add gstdataqueue.c to the build.
8549 * win32/vs6/libgstcoreelements.dsp:
8550 Add gstmultiqueue.c to the build.
8552 2007-01-06 Andy Wingo <wingo@pobox.com>
8554 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8555 activate_pull(), providing for a way to specialize the process of
8556 spawning a thread to pull on the sink pad. There is a default
8559 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8560 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8561 (gst_base_sink_init): Renamed pad activation functions (inserting
8562 "_pad" in their names). Refactor to use the new activate_pull
8563 vmethod, as appropriate.
8564 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8565 default activate_pull function to start a task pulling from the
8566 sink pad, as before.
8568 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8569 on the pads if necessary, as in push()/chain(). Update docs.
8570 Shouldn't affect existing pull() usage as it is currently only
8571 being used on buffers without caps.
8573 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8575 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8577 Call g_thread_init() first thing in gst_init() / gst_check_init().
8578 When initialisation is done via gst_init_get_option_group() and
8579 GOption parsing, issue a warning if the GLib thread system has not
8580 been initialised yet by the time gst_init_get_option_group() is
8581 called, as it's quite likely other GLib functions such as
8582 g_option_context_new() have been called already then, and
8583 g_thread_init() must be called before any other GLib function. The
8584 application in question must be fixed in that case, since memory
8585 corruption might happen otherwise.
8586 We issue the warning because even if the GLib folks decide to work
8587 around the problem on their end in future, this is still an issue
8588 with all GLib versions >= 2.10.0, so we should warn until we depend
8589 on a GLib version we know to be safe.
8590 Update documentation as well.
8593 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8595 * tools/gst-inspect.c: (main):
8596 * tools/gst-launch.c: (main):
8597 * tools/gst-typefind.c: (main):
8598 * tools/gst-xmlinspect.c: (main):
8599 Call g_thread_init() really really early, before any other GLib
8600 function (see #342564 and recent discussion on gtk-devel-list).
8602 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8604 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8606 * gst/gst_private.h:
8607 * gst/gstconfig.h.in:
8609 On win32, all the __declspec stuff for symbol exporting is
8610 apparently only needed with MSVC, but doesn't work with MingW.
8611 Fixes compilation with MingW and #391909.
8613 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8615 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8616 Change some GST_ERROR_OBJECT that aren't really errors to
8617 GST_WARNING_OBJECT in order to reduce terminal spam.
8619 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8621 * tests/check/Makefile.am:
8622 disable test again, as there seem to be still race problems
8624 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8626 * tests/check/Makefile.am:
8627 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8628 (GST_START_TEST), (queue_suite):
8629 enable queue test again, add tests for the leaky behaviour
8631 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8634 * tests/examples/Makefile.am:
8635 Compile adapter test/example only if the required headers are
8636 available (fixes #391915).
8638 2007-01-01 David Schleef <ds@schleef.org>
8641 Restore the previous signal handler for SIGSEGV instead of
8642 setting to default, since we may have stolen it away from
8643 someone. (i.e., Mono)
8645 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8647 * docs/random/draft-missing-plugins.txt:
8648 Some small additions and clarifications.
8650 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8652 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8653 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8654 since that can lead to random memory corruptions and crashes
8655 (may or may not be related to #383244, #386711, and #386711).
8657 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8659 * tests/check/.cvsignore:
8660 * tests/check/Makefile.am:
8661 sync .cvsignome and CLEANFILES
8663 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8665 * tests/check/Makefile.am:
8668 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8670 * docs/design/part-states.txt:
8671 two tiny additional comments
8673 * gst/gststructure.c:
8676 * tests/check/Makefile.am:
8677 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8679 disable test for now, unless it gets fixed
8681 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8683 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8685 fix race in underrun test
8687 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8689 * tests/check/elements/.cvsignore:
8692 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8694 try to narrow test failure
8696 2006-12-21 David Schleef <ds@schleef.org>
8698 * plugins/elements/gstfakesrc.c:
8699 Use g_random_int_range(), since it produces better random
8700 numbers in a range than almost-correct floating point code.
8702 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8704 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8705 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8706 (gst_check_teardown_sink_pad):
8707 do not automatically (de)activate pads
8709 * tests/check/Makefile.am:
8710 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8711 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8712 add new, yet simple tests for queue
8714 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8715 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8716 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8718 * tests/check/elements/identity.c: (cleanup_identity):
8719 consistent pad (de)activation
8721 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8723 Patch by: Sebastian Dröge <slomo ubuntu com>
8725 * libs/gst/base/gstcollectpads.c:
8726 Fix two doc typos (#387866).
8728 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8730 * docs/manual/advanced-dparams.xml:
8731 Fix typo (g_object_control_properties() doesn't exist).
8733 2006-12-19 Edward Hervey <edward@fluendo.com>
8735 * gst/gstsegment.c: (gst_segment_set_seek):
8736 Fine tune the cases where the segment start/stop values are really
8738 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8739 Add tests for the return values of gst_segment_set_seek().
8741 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8746 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8748 Fix incorrect documentation and flesh it out a bit more.
8749 Set default values for the max properties on the GParamSpec as well,
8750 so it shows up correctly in gst-inspect.
8752 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8754 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8755 Correct docs of queue, add more detail and crosslink it more.
8757 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8759 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8760 Print additional debug info when the stream isn't perfectly
8761 timestamped; don't try to use invalid durations.
8763 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8765 * docs/design/Makefile.am:
8766 Dist new design docs.
8768 2006-12-16 Wim Taymans <wim@fluendo.com>
8770 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8772 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8773 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8774 (gst_collect_pads_stop), (gst_collect_pads_event),
8775 (gst_collect_pads_chain):
8776 * libs/gst/base/gstcollectpads.h:
8777 Add refcounting to the collectpads data so we can track when it's safe
8778 to free the data. Fixes #383382.
8780 2006-12-15 Wim Taymans <wim@fluendo.com>
8782 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8783 (gst_collect_pads_remove_pad):
8784 Automatically activate/deactivate pads when they are added to a
8785 started/stoped collectpads.
8787 2006-12-15 Wim Taymans <wim@fluendo.com>
8789 * gst/gstelement.c: (gst_element_add_pad):
8790 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8791 * gst/gstpad.c: (gst_pad_init):
8792 Set pads to FLUSHING when they are created. Check, warn and fix when a
8793 demuxer adds an inactive pad to itself when running. Fixes #339326.
8795 2006-12-15 Wim Taymans <wim@fluendo.com>
8797 * gst/gstelement.c: (gst_element_class_init),
8798 (gst_element_default_send_event), (gst_element_send_event),
8799 (gst_element_default_query), (gst_element_query):
8800 Expose default element send_event and query handling as vmethods that
8801 subclasses can chain up to.
8803 2006-12-15 Wim Taymans <wim@fluendo.com>
8805 * gst/gstelement.c: (gst_element_set_state_func):
8806 Small documentation fixes.
8808 2006-12-15 Wim Taymans <wim@fluendo.com>
8810 * docs/design/draft-latency.txt:
8811 Checked in draft for handling latency in pipelines.
8813 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8817 * gstreamer.spec.in:
8820 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8822 * gst/gst.c: (init_pre), (init_post):
8823 init_pre() and init_post() might be called via our GOptionGroup or
8824 from gst_init(), and we should skip both of them if we've already
8825 been initialised, otherwise we will init some things twice or add
8826 two default log functions.
8828 2006-12-13 Edward Hervey <edward@fluendo.com>
8830 * docs/manual/basics-bus.xml:
8831 No, gst_main_loop does not exist. Its g_main_loop.
8832 Discovered by somebody who abused the copy-paste technique of coding :)
8834 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8836 * gst/gstghostpad.c:
8837 Log ghostpad debug stuff to the GST_PADS category as well rather
8838 than just to the default category.
8840 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8843 * gst/gst.c: (init_pre):
8844 Add some basic system details such as OS and architecture
8845 to the debug output if possible, courtesy of uname().
8847 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8849 * docs/gst/running.xml:
8850 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8851 environment variables.
8853 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8855 * tests/check/gst/gstbin.c: (GST_START_TEST):
8856 It is acceptable to have a refcount of 2 or 3 at this point in the
8857 test, because the pipeline might be just posting its state_change
8858 message. The next line then waits for that message to appear using
8859 bus_poll, so that should be fine too.
8861 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8863 * gst/gst.c: (ensure_current_registry_forking):
8864 Ignore EINTR when reading from the child registry pipe.
8865 Explicitly ignore the return value from close, since it makes no
8868 * gst/gstminiobject.c: (gst_mini_object_ref),
8869 (gst_mini_object_unref):
8870 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8872 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8873 When removing cached plugins, remove their features too, so they're
8874 not visible after they've disappeared.
8876 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8877 In the unlikely case that we are linking pads with no parents, don't
8878 crash trying to get the non-existent parent bin.
8880 * gst/parse/grammar.y:
8881 Output debug in the PIPELINE category
8883 2005-03-08 Wim Taymans <wim@fluendo.com>
8885 Patch by: René Stadler <mail at renestadler dot de>
8887 * gst/gstclock.c: (gst_clock_new_periodic_id):
8888 Reject invalid clock times for interval of periodic ids.
8891 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8893 * gst/gstelementfactory.c: (gst_element_factory_create):
8894 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8895 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8896 * tools/gst-inspect.c: (print_element_info):
8897 Fix refcounting of gst_plugin_feature_load to match the docs.
8900 2006-12-07 Wim Taymans <wim@fluendo.com>
8902 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8903 (gst_base_sink_get_position):
8904 Improve debugging of events.
8906 2006-12-07 Wim Taymans <wim@fluendo.com>
8908 Patch by: René Stadler <mail at renestadler dot de>
8910 * gst/gstclock.c: (gst_clock_id_wait):
8911 Make period ids add the interval to the origial requested time instead
8912 of the possibly updated time which can be wrong when there are multiple
8913 waiters for the same id. Fixes #382592.
8915 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8916 (gst_system_clock_id_wait_jitter_unlocked),
8917 (gst_system_clock_id_wait_jitter):
8918 Fix restart in the async notify thread when an async entry is added to
8919 the front of the list. Fixes #381492.
8921 * tests/check/gst/gstsystemclock.c: (store_callback),
8922 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8923 Added test for multiple async waits.
8924 Added test for async wait order.
8926 2006-12-07 Wim Taymans <wim@fluendo.com>
8928 * gst/gstbin.c: (gst_bin_query):
8929 Add some more docs about the POSITION query.
8931 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8934 Bump version nano - back to CVS.
8936 === release 0.10.11 ===
8938 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8941 releasing 0.10.11, "Love never runs on time"
8943 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8945 * win32/common/libgstbase.def:
8946 * win32/common/libgstreamer.def:
8947 * win32/vs8/libgstbase.vcproj:
8948 * win32/vs8/libgstcoreelements.vcproj:
8949 * win32/vs8/libgstreamer.vcproj:
8950 Fix compilation on win32 under VS8
8951 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8952 Partially fixes #381175
8954 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8956 * gst/gstvalue.c: (gst_value_compare_fraction):
8957 If someone is foolish enough to compare 2 fractions with denominator =
8958 0, return UNORDERED rather than aborting.
8960 2006-11-28 Edward Hervey <edward@fluendo.com>
8962 * libs/gst/base/Makefile.am:
8963 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8964 (gst_data_queue_base_init), (gst_data_queue_class_init),
8965 (gst_data_queue_init), (gst_data_queue_new),
8966 (gst_data_queue_cleanup), (gst_data_queue_finalize),
8967 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8968 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8969 (gst_data_queue_is_empty), (gst_data_queue_is_full),
8970 (gst_data_queue_set_flushing), (gst_data_queue_push),
8971 (gst_data_queue_pop), (gst_data_queue_drop_head),
8972 (gst_data_queue_set_property), (gst_data_queue_get_property):
8973 * libs/gst/base/gstdataqueue.h:
8974 New GstDataQueue object for threadsafe queueing. Most useful for
8975 elements that need some queueing functionnality.
8976 * docs/libs/gstreamer-libs-docs.sgml:
8977 * docs/libs/gstreamer-libs-sections.txt:
8978 Insert documentation for GstDataQueue
8979 * plugins/elements/Makefile.am:
8980 * plugins/elements/gstelements.c:
8981 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8982 (gst_multi_queue_class_init), (gst_multi_queue_init),
8983 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8984 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8985 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8986 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8987 (gst_multi_queue_loop), (gst_multi_queue_chain),
8988 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8989 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8990 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8991 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8992 (wake_up_next_non_linked), (compute_next_non_linked),
8993 (single_queue_overrun_cb), (single_queue_underrun_cb),
8994 (single_queue_check_full), (gst_single_queue_new):
8995 * plugins/elements/gstmultiqueue.h:
8996 New multiqueue element, using GstDataQueue. Used for queuing multiple
8998 Closes #344639 and #347785
9000 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9002 * docs/pwg/advanced-types.xml:
9003 add more missing type details
9005 * tools/gst-run.c: (main):
9006 remove unused variable
9008 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9010 * docs/libs/Makefile.am:
9011 * docs/libs/gstreamer-libs.types:
9012 add types of base classes to enable gobject specific stuff in the docs
9014 * docs/random/ensonic/embedded.txt:
9015 more ideas about isolating platform specific things
9017 2006-11-20 Wim Taymans <wim@fluendo.com>
9019 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9021 * libs/gst/check/gstcheck.h:
9022 Fix compilation and running against 0.9.4. Fixes #377332.
9024 2006-11-20 Wim Taymans <wim@fluendo.com>
9026 * gst/gstsegment.c: (gst_segment_set_seek),
9027 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9028 (gst_segment_to_running_time):
9029 Fix boundary checking in to_running_time() and to_stream_time().
9032 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9033 stream and running time can now be calculated for the complete
9036 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9038 * gst/gstpad.c: (gst_pad_push_event):
9039 Can't access event structure after giving away ownership of
9042 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9044 * docs/random/ensonic/embedded.txt:
9045 * docs/random/ensonic/profiling.txt:
9046 * docs/random/ensonic/receipies.txt:
9049 2006-11-13 Wim Taymans <wim@fluendo.com>
9051 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9054 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9056 2006-11-13 Wim Taymans <wim@fluendo.com>
9058 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9060 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9061 Store new length in segment duration so we don't keep on calling the
9062 potentially expensize get_size() call. Fixes #370865.
9064 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9066 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9068 * win32/common/libgstreamer.def:
9069 Add two missing symbols (#366492).
9071 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9073 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9074 (gst_adapter_take_buffer):
9075 Fix format string to use all its arguments.
9076 Remove useless >= check on a guint
9078 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9080 * tests/examples/adapter/.cvsignore:
9081 Ignore build file as commanded by the build-bot
9083 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9085 * tests/examples/adapter/Makefile.am:
9086 * tests/examples/adapter/adapter_test.c: (run_test_take),
9087 (run_test_take_buffer), (run_tests), (main):
9089 Add new files from the previous commit
9091 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9095 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9096 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9097 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9098 * libs/gst/base/gstadapter.h:
9099 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9100 (GST_START_TEST), (gst_adapter_suite):
9101 * tests/examples/Makefile.am:
9102 Do some optimisation work in GstAdapter to avoid copies in more cases.
9103 It could still do slightly better by merging buffers when
9104 gst_buffer_is_span_fast is true, but is already faster.
9106 Also, avoid traversing a single-linked list to append each incoming
9107 buffer inside the adapter.
9109 Add simple test app that times the adapter behaviour in different
9110 situations, and extend the unit test to check that bytes enter and
9111 exit the adapter in their original order.
9113 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9115 * docs/random/draft-missing-plugins.txt:
9116 Update: use element message instead of adding a new message
9117 type to the core; don't provide GStreamer API to initiate the
9118 plugin download, just provide API to compose the strings needed
9119 and let an external libgimmestuff handle the rest.
9121 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9123 * tools/gst-inspect.c: (print_element_properties_info):
9124 Print a string instead of 'unknown type' for GValueArray properties
9126 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9128 * docs/random/draft-missing-plugins.txt:
9131 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9133 * tests/examples/typefind/typefind.c: (type_found), (main):
9134 Make typefind element example work again (#371894); add a
9137 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9139 * docs/random/draft-missing-plugins.txt:
9140 Commit initial draft about how to deal with missing plugins,
9141 needs work (API too).
9143 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9145 * docs/pwg/advanced-types.xml:
9146 documents the new caps elements (see #363118)
9148 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9150 * gst/gstplugin.c: (gst_plugin_load_file):
9151 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9152 (gst_file_src_map_region), (gst_file_src_start):
9153 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9154 (gst_file_index_commit):
9155 Use g_strerror() instead of strerror() - we want UTF-8.
9157 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9159 Patch by: Peter Kjellerstedt <pkj at axis com>
9161 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9162 Another printf fix (#371493).
9164 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9166 * tests/check/gst/gsttag.c:
9167 relicence (okay with author=company)
9169 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9171 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9172 (gst_pad_push_event):
9173 Enhance debug and improve docs
9178 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9180 * docs/random/ensonic/distributed.txt:
9181 * docs/random/ensonic/profiling.txt:
9184 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9186 * docs/gst/gstreamer-sections.txt:
9187 add new API and fix the build
9189 * gst/gstbin.c: (gst_bin_recalc_state):
9190 * gst/gstelement.c: (gst_element_message_full),
9191 (gst_element_get_state_func), (gst_element_set_state_func):
9192 use new API and improve logging
9194 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9196 API: add function to get StateChangereturn names to improve logs
9198 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9200 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9201 I'm considering shooting the next person to put strerror stuff
9202 in the translateable part of the message.
9204 2006-11-03 Wim Taymans <wim@fluendo.com>
9206 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9207 Get the type and printf conversion specifiers right.
9209 2006-11-03 Wim Taymans <wim@fluendo.com>
9211 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9213 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9214 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9215 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9216 Some small cleanups. Improve debugging.
9218 Signal all waiting threads with a broadcast instead of just one.
9221 2006-11-03 Wim Taymans <wim@fluendo.com>
9223 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9224 (gst_fd_src_create):
9226 Only update fd when it's different from the old.
9228 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9230 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9231 Printf fixes for PPC/OSX, take two (#369366).
9233 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9235 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9237 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9238 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9239 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9240 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9241 don't cast to long long for portability reasons, but use
9242 GLib's types instead.
9244 2006-10-30 Michael Smith <msmith@fluendo.com>
9246 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9247 Get the arguments to lseek() the right way around.
9250 2006-10-30 Wim Taymans <wim@fluendo.com>
9252 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9255 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9257 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9259 Patch by: Kjartan Maraas <kmaraas at gnome org>
9261 * docs/design/part-MT-refcounting.txt:
9262 * docs/random/wtay/capsnego2-docs:
9265 Typo fixes (#366212).
9267 2006-10-28 Wim Taymans <wim@fluendo.com>
9269 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9272 * win32/common/libgstbase.def:
9273 * win32/common/libgstreamer.def:
9274 * win32/vs8/libgstbase.vcproj:
9275 * win32/vs8/libgstcontroller.vcproj:
9276 Add needed entries in .def files.
9278 Rearrange def files in vs8 solutions. Fixes #366286.
9280 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9282 * win32/common/gstconfig.h:
9283 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9284 hand-made win32 gstconfig.h. Fixes #366321.
9286 2006-10-27 Wim Taymans <wim@fluendo.com>
9288 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9289 (gst_ghost_pad_new_full):
9290 Make acceptcaps return TRUE when we don't have a target, just like
9293 2006-10-27 Wim Taymans <wim@fluendo.com>
9295 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9296 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9298 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9300 * gst/gststructure.c: (gst_structure_id_set_value):
9301 If someone tries to set a non-UTF8 string field on a structure,
9302 don't just print a warning, but also ignore the request and do
9303 not change/add that field to the structure.
9305 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9308 2006-10-25 David Schleef <ds@schleef.org>
9311 g_hash_table_insert() needs a cast to a non-const pointer duh.
9313 2006-10-25 David Schleef <ds@schleef.org>
9317 Change name parameter of _gst_debug_register_funcptr to const
9318 to reflect the constness of its use in the function as well
9319 as to quiet a gcc warning.
9321 2006-10-25 Edward Hervey <edward@fluendo.com>
9323 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9324 Don't push the buffer if it's empty.
9327 2006-10-24 Wim Taymans <wim@fluendo.com>
9332 * libs/gst/base/gstbasetransform.c:
9333 (gst_base_transform_sink_eventfunc):
9334 Debug segment values *after* updating them as this is more
9337 2006-10-23 Wim Taymans <wim@fluendo.com>
9339 * docs/design/part-events.txt:
9342 * docs/design/part-block.txt:
9343 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9344 (gst_pad_push_event):
9345 Revert BLOCKING patch, it tries to be smart without really having a
9346 clear idea what or how. So, now we discard all FLUSHING events again on
9347 a blocking pad. Should fix gnonlin again.
9349 2006-10-23 Wim Taymans <wim@fluendo.com>
9351 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9353 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9354 (gst_base_src_start), (gst_base_src_activate_push):
9355 Make sure size is always initialized. Fixes #364388.
9357 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9359 * docs/random/ensonic/distributed.txt:
9360 add some ideas about doing distributed processing
9362 * docs/random/ensonic/profiling.txt:
9363 get_rusage look promising
9365 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9367 * docs/manual/basics-helloworld.xml:
9368 Add a cast in example to fix compile warning
9370 2006-10-18 Wim Taymans <wim@fluendo.com>
9372 * gst/gstsegment.c: (gst_segment_set_last_stop),
9373 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9374 Relax arg checking again, -1 is allowed.
9376 2006-10-18 Wim Taymans <wim@fluendo.com>
9378 * gst/gstsegment.c: (gst_segment_set_last_stop),
9379 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9380 _set_last_stop() must be with a value != -1
9381 A _TYPE_SET to -1 means seek to 0.
9382 Calc last_stop correctly for negative rates.
9383 Make sure we work with positive durations when updating a segment.
9385 2006-10-18 Wim Taymans <wim@fluendo.com>
9387 * docs/design/part-live-source.txt:
9391 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9394 Add an explicit cast to GstBuffer** to keep old code that added an
9395 explicit cast to GstMiniObject** for gst_mini_object_replace()
9396 compiling without warning.
9398 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9400 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9401 check for validity of dates
9403 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9405 * docs/gst/gstreamer-sections.txt:
9406 Forgot this one, makes gtk-doc shut up.
9408 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9410 Patch by: Peter Kjellerstedt <pkj at axis com>
9413 Don't define xmlNodePtr to gpointer if the core was built with
9414 --disable-loadsave and --disable-registry, this will break
9415 applications that want to use libxml2 but are buildling against a
9416 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9417 instead so we don't have to mess with the libxml2 namespace
9420 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9423 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9424 type-punned pointer warnings.
9426 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9429 Add casts to the correct return type to state <=> state transition
9432 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9434 * docs/design/part-live-source.txt:
9435 describe howto handle latency
9437 * docs/random/ensonic/profiling.txt:
9440 * tools/gst-plot-timeline.py:
9441 fix log parsing for solaris, remove unused function
9443 2006-10-16 Wim Taymans <wim@fluendo.com>
9445 * docs/design/part-trickmodes.txt:
9447 Update some docs regarding reverse playback.
9449 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9451 Patch by: Marcus Granado <mrc dot gran at gmail com>
9453 * win32/vs8/grammar.vcproj:
9454 Error out with a warning if glib-genmarshal.exe is not in path,
9455 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9457 2006-10-13 Wim Taymans <wim@fluendo.com>
9459 * gst/gstsegment.c: (gst_segment_set_seek):
9460 When seeking to stop -1, set last_stop (current position) to the
9461 duration of the segment.
9463 2006-10-13 Wim Taymans <wim@fluendo.com>
9466 Clarify _NO_PREROLL a bit more.
9471 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9472 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9473 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9474 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9475 due to wrong locking order. Fixes #361769.
9476 Remove some redundant/misplaced checks in pad_block.
9478 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9479 For negative rates, count backwards from the duration.
9481 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9483 * gst/gsterror.c: (_gst_library_errors_init):
9484 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9485 up with something better).
9487 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9489 * win32/vs6/libgstreamer.dsp:
9490 * win32/vs7/libgstreamer.vcproj:
9491 * win32/vs8/libgstreamer.vcproj:
9492 Don't reference glib-compat.c which is currently not used and not
9493 disted; add gstquark.c which was recently added. Fixes #361730.
9495 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9497 * win32/common/libgstbase.def:
9498 * win32/common/libgstcontroller.def:
9499 * win32/common/libgstreamer.def:
9500 Add gst_caps_merge() and a bunch of other recently-added functions.
9503 2006-10-11 Wim Taymans <wim@fluendo.com>
9505 * docs/plugins/gstreamer-plugins.args:
9506 * docs/plugins/inspect/plugin-coreelements.xml:
9507 * docs/plugins/inspect/plugin-coreindexers.xml:
9508 Update element args.
9510 * gst/gstsystemclock.c:
9511 Small comment update.
9513 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9514 (gst_tee_request_new_pad), (gst_tee_release_pad),
9515 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9516 (gst_tee_sink_activate_pull):
9517 * plugins/elements/gsttee.h:
9519 Add default property defines.
9520 Implement release pad function.
9521 Give properties better blubs etc.
9522 Activate pads before adding them to a running tee.
9523 Do simple buffer_alloc on the first requested pad.
9524 Post error when activation fails.
9526 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9528 * gst/gst.c: (ensure_current_registry_forking):
9529 Check return value of write() to make compiler happy.
9531 2006-10-11 Wim Taymans <wim@fluendo.com>
9533 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9535 * plugins/elements/gstqueue.c: (gst_queue_chain):
9536 Recheck queue filledness after signalling the overrun when we're about
9537 to leak downstream because we released the lock when emitting the signal
9538 and the queue could be empty again. Fixes #352345.
9540 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9542 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9543 Fix refcounting here too, just like we did for _new_valist() a few
9544 days ago (#357180) (thanks to René Stadler). Also remove all those
9545 'Since: 0.9' from the gtk-doc blobs.
9547 * tests/check/libs/controller.c: (controller_refcount_new_list),
9548 (gst_controller_suite):
9549 Unit test for the above.
9551 2006-10-10 Wim Taymans <wim@fluendo.com>
9553 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9555 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9556 (gst_pad_save_thyself):
9558 Write pad direction in XML output. Fixes #345496.
9560 2006-10-10 Wim Taymans <wim@fluendo.com>
9562 Patch by: René Stadler <mail at renestadler dot de>
9564 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9565 (gst_controller_new_list), (_gst_controller_dispose),
9566 (_gst_controller_finalize), (_gst_controller_class_init):
9567 Take ref to controlled object so that it cannot disappear.
9570 2006-10-10 Wim Taymans <wim@fluendo.com>
9572 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9573 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9574 (gst_check_teardown_sink_pad):
9575 Activate/deactivate pads in setup/teardown respectively.
9577 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9579 Patch by: Josep Torra Valles <josep@fluendo.com>
9582 Cast values when making gstenumtypes.h. This pacifies Forte
9583 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9586 2006-10-09 Wim Taymans <wim@fluendo.com>
9588 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9589 Rename some more @cur to @start to fix docs.
9591 * gst/gstsegment.c: (gst_segment_set_seek):
9593 time and start must always stay in sync as defined in design doc.
9595 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9596 Rename param to fix docs.
9598 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9599 Check that start and time are in sync.
9601 * tests/check/pipelines/parse-launch.c:
9602 (gst_parse_test_element_change_state):
9603 Activate pad before adding to the element.
9605 2006-10-09 Wim Taymans <wim@fluendo.com>
9607 * docs/design/part-qos.txt:
9612 Update seek event docs regarding negative rates.
9613 Rename @cur to @start.
9615 * gst/gstsegment.c: (gst_segment_set_seek):
9617 Update set_seek docs regarding negative rates.
9618 Correctly update last_stop to @stop when dealing with negative
9620 Rename @cur to @start.
9622 * tests/check/gst/gstpad.c: (GST_START_TEST):
9623 Activate pads before trying to use them.
9625 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9626 (gst_segment_suite):
9627 Add simple check for segments and negative rates.
9629 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9631 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9633 * docs/gst/gstreamer-sections.txt:
9634 API: add gst_tag_list_is_empty() (#360467).
9636 * tests/check/gst/gsttag.c: (GST_START_TEST):
9639 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9642 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9643 a value that doesn't fit on enumeration.
9645 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9647 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9648 Remove local debugging system and use Gstreamer's instead.
9650 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9652 Patch by: Josep Torra Valles <josep@fluendo.com>
9654 * common/m4/gst-error.m4:
9655 Disable warning of statement not reached on Forte.
9657 Fix warning on Forte (value doesn't fit on enumeration).
9658 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9659 Fix warning on Forte (value doesn't fit on enumeration).
9660 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9661 DEBUG macro says it takes minimum of 2 args and so Forte
9662 complains about the use with just 1 arg.
9663 * plugins/elements/gstfdsink.c:
9664 * plugins/elements/gstfdsrc.c:
9665 * plugins/elements/gstfilesink.c:
9666 * plugins/elements/gstfilesrc.c:
9667 Use correct return type for the uri handler implementations.
9669 All these fix warnings in Forte. Fixes bug #360860.
9671 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9674 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9675 format string, so don't use G_GNUC_PRINTF for those versions.
9677 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9679 * gst/gsttaglist.c: (gst_is_tag_list):
9681 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9683 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9684 Small test for the above.
9686 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9689 Less tabs, more spaces.
9691 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9694 Those two function declarations do actually belong there, revert
9695 commit from yesterday that turned them intro macros.
9697 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9699 Patch by: Josep Torra Valles <josep@fluendo.com>
9701 * gst/gst.c: (gst_init_get_option_group):
9702 Fix empty declaration and type mismatch.
9703 * gst/gstbin.c: (gst_bin_change_state_func):
9705 * gst/gstelement.c: (gst_element_continue_state),
9706 (gst_element_set_state_func), (gst_element_change_state),
9707 (gst_element_change_state_func):
9708 Fix type mismatches.
9709 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9710 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9711 Cast as appropriate.
9712 * gst/gstobject.c: (gst_class_signal_connect):
9713 Cast as appropriate. The function pointer parameter really
9714 has the wrong type but would break API if we change it.
9716 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9717 order of including string.h.
9718 * gst/gstutils.c: (gst_element_state_get_name):
9719 Remove unreachable line.
9720 * gst/gstxml.c: (gst_xml_parse_doc):
9722 All these caught by Forte.
9724 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9726 Patch by: Josep Torra Valles <josep@fluendo.com>
9728 * common/m4/gst-error.m4:
9730 We need to disable warnings on Forte for empty declarations
9731 due to gst-indent adding ;s to lines that just use macros
9732 where the macro actually doesn't need a ; at end to end
9735 2006-10-06 Wim Taymans <wim@fluendo.com>
9737 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9738 (gst_file_sink_close_file), (gst_file_sink_event),
9739 (gst_file_sink_render):
9740 Add some FIXME for the NEWSEGMENT handling.
9742 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9744 * gst/parse/grammar.y:
9745 Remove static function gst_parse_element_lock as all it does
9746 is return. Looks like cruft from 0.8.
9748 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9750 Patch by: Josep Torra Valles <josep@fluendo.com>
9752 * common/m4/gst-error.m4:
9754 * libs/gst/net/Makefile.am:
9755 Fix a compilation issue with Forte on Solaris. inet_aton is in
9758 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9760 * gst/gstpad.c: (pre_activate):
9761 * gst/gstregistry.c: (gst_registry_scan_path_level):
9762 * gst/gstregistryxml.c: (load_plugin):
9763 * libs/gst/controller/gstcontroller.c:
9764 (gst_controlled_property_set_interpolation_mode):
9765 * libs/gst/dataprotocol/dataprotocol.c:
9766 (gst_dp_packet_from_event_1_0):
9767 * libs/gst/net/gstnetclientclock.c:
9768 (gst_net_client_clock_observe_times):
9769 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9772 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9775 * docs/gst/gstreamer-sections.txt:
9776 * gst/gstconfig.h.in:
9779 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9780 whether we can use G_GNUC_PRINTF in other header files and at
9781 least check the printf format/arguments of debug messages and
9782 GST_ELEMENT_ERROR messages when the printf extension is not
9784 Replace more tabs with spaces in gstinfo.h and remove two spurious
9785 function declarations in GST_DISABLE_DEBUG part with macros.
9787 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9789 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9790 More docs for the sync-message signal (mention that it is not
9791 emitted by default); log message structures of messages posted on
9794 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9796 * gst/gst.c: (ensure_current_registry_forking):
9797 Use a pipe pair to receive status results from the forked child, and
9798 ignore the result from waitpid. Fixes #355499
9800 2006-10-02 Wim Taymans <wim@fluendo.com>
9802 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9803 (gst_ghost_pad_suite):
9806 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9809 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9811 2006-10-02 Edward Hervey <edward@fluendo.com>
9813 * docs/design/part-block.txt:
9814 Further explain the use of flushing on blocked pads.
9815 * docs/gst/gstreamer-sections.txt:
9816 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9817 (gst_pad_push_event):
9819 Added new GstPadFlag : GST_PAD_BLOCKING.
9820 Adds the notion of pads really blocking, which enables to properly
9821 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9823 API: gst_pad_is_blocking()
9824 API: GST_PAD_IS_BLOCKING() macro
9825 API: GST_PAD_BLOCKING GstPadFlag
9827 2006-10-02 Wim Taymans <wim@fluendo.com>
9829 Patch by: mrcgran <mrc.gran at gmail dot com>
9831 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9832 Filter the proxied caps against the padtemplate if we have one.
9834 * gst/gstquery.c: (gst_query_new_segment):
9835 Add include for gstinfo.h so that compilation with
9836 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9838 2006-10-02 Wim Taymans <wim@fluendo.com>
9840 Patch by: Alessandro Decina <alessandro at nnva org>
9842 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9843 (gst_file_sink_set_location), (gst_file_sink_open_file),
9844 (gst_file_sink_close_file), (gst_file_sink_event),
9845 (gst_file_sink_render):
9846 Set file to NULL when closing filesink so that we can set a new filename
9847 in READY. Fixes #358613.
9849 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9851 Patch by: Alessandro Decina <alessandro at nnva org>
9853 * gst/gstevent.c: (_gst_event_copy):
9854 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9855 with event structures by setting the parent refcount address of the
9856 copied structure to the address of the refcount member of the newly
9857 copied event rather than the address of the refcount member of the
9858 original event. Fixes #358737.
9860 * tests/check/gst/gstevent.c: (GST_START_TEST):
9861 Unit test for the above.
9863 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9865 * docs/design/Makefile.am:
9866 Dist some more files.
9868 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9870 * tests/check/libs/controller.c: (GST_START_TEST),
9871 (gst_controller_suite):
9872 Add test for the previous fix; add some more tests
9873 for correct refcounting behaviour; fix a few leaks
9874 in test cases; call gst_controller_init() at start
9877 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9879 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9880 (gst_controller_set_from_list):
9881 Don't g_return_val_if_fail() on timed values with invalid timestamps
9882 inside a critical section without unlocking the mutex. Spotted by
9883 René Stadler. (#357617)
9884 Also, fix up refcounting properly: when returning an existing
9885 controller, we should increase the reference only once and not
9886 once per property and when trying to control a property again
9887 we should also increase the refcount.
9889 2006-09-29 Wim Taymans <wim@fluendo.com>
9891 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9892 * libs/gst/net/gstnettimeprovider.c:
9893 (gst_net_time_provider_thread):
9894 Stop reading commands when EOF as well.
9896 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9897 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9898 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9899 Unify description of the dump property.
9901 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9903 * tests/examples/manual/.cvsignore:
9904 OK, so it's actually cvsignore that needs changing. Stop laughing.
9906 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9908 * tests/examples/manual/Makefile.am:
9909 Gah, declare vars *before* using them
9911 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9913 * gst/gst.c: (init_pre), (scan_and_update_registry),
9914 (ensure_current_registry_nonforking),
9915 (ensure_current_registry_forking), (ensure_current_registry),
9916 (init_post), (gst_debug_help), (gst_deinit):
9917 * gst/gst_private.h:
9918 * gst/gstregistry.c: (gst_registry_finalize),
9919 (gst_registry_remove_features_for_plugin_unlocked),
9920 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9921 (gst_registry_scan_path),
9922 (_priv_gst_registry_remove_cache_plugins),
9923 (_priv_gst_registry_cleanup):
9924 * gst/gstregistry.h:
9925 Re-commit the registry changes, along with an extra fix:
9926 When a cached plugin is encountered at a different file path,
9927 update the stored path in the registry cache so that the parent
9928 process knows where it actually is now when it re-reads the registry
9929 cache. Fixes the thing that broke distcheck with the previous commit.
9931 * tests/check/Makefile.am:
9932 Clean up files named 'core' too when running make clean.
9934 * tests/examples/manual/Makefile.am:
9935 Set up a registry path for running these tests, and clean it properly
9938 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9941 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9942 want gmodule-no-export-2.0.pc instead so that we don't drag in
9943 --export-dynamic on every project that links to GStreamer.
9945 Also, make our export regex only match the start of symbols, rather
9946 than any symbol that contains '_gst' somewhere.
9948 * libs/gst/check/Makefile.am:
9949 The libgstcheck we build does however need export-dynamic, as it
9950 produces some symbols that don't match our _gst... style regex.
9953 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9955 * gst/gst.c: (init_pre), (scan_and_update_registry),
9956 (ensure_current_registry_nonforking),
9957 (ensure_current_registry_forking), (ensure_current_registry),
9958 (init_post), (gst_debug_help), (gst_deinit):
9959 * gst/gst_private.h:
9960 * gst/gstregistry.c: (gst_registry_finalize),
9961 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9962 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9963 (_gst_registry_cleanup):
9964 * gst/gstregistry.h:
9965 Revert previous change until I figure out why it breaks distcheck.
9967 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9969 * gst/gst.c: (init_pre), (scan_and_update_registry),
9970 (ensure_current_registry_nonforking),
9971 (ensure_current_registry_forking), (ensure_current_registry),
9972 (init_post), (gst_debug_help), (gst_deinit):
9974 Make init_pre and init_post take the full complement of GOptionFunc
9975 args so they can return useful GErrors. Make the registry updating
9978 Call _priv_gst_registry_remove_cache_plugins after scanning files to
9979 ensure that the registry we're about to write out doesn't contain
9980 stale information about old-deleted plugin files.
9982 Make _priv_gst_registry_remove_cache_plugins return a boolean so
9983 that deletion of plugin files is considered a registry change.
9985 * gst/gst_private.h:
9986 * gst/gstregistry.c: (gst_registry_finalize),
9987 (gst_registry_remove_features_for_plugin_unlocked),
9988 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9989 (gst_registry_scan_path),
9990 (_priv_gst_registry_remove_cache_plugins),
9991 (_priv_gst_registry_cleanup):
9992 * gst/gstregistry.h:
9993 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9994 by adding _priv prefix, so that they won't appear in the global
9995 symbol table. They still do atm though because of #318031. Move the
9996 prototypes to gst_private.h
9998 When removing a plugin, remove all features for that plugin too.
10001 2006-09-27 Wim Taymans <wim@fluendo.com>
10003 * docs/random/moving-plugins:
10004 Make it clear that the "compiled-in descriptions" really mean
10005 the element details.
10007 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10008 (gst_base_sink_wait_preroll):
10011 * docs/libs/gstreamer-libs-sections.txt:
10012 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10013 (gst_base_src_get_range), (gst_base_src_activate_push):
10014 * libs/gst/base/gstbasesrc.h:
10015 Added function to block while waiting for PLAYING, this function
10016 is used by live sources that block on the clock.
10017 API: gst_base_src_wait_playing()
10019 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10021 Patch by: Peter Kjellerstedt <pkj at axis com>
10024 gst-element-check.m4 is generated and should therefore be
10025 copied from the build dir rather than the source dir (#357593).
10026 'make distcheck' hasn't noticed this because we were disting
10027 the file as well, so stop doing that.
10029 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10031 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10032 Add some tests for gst_caps_intersect().
10034 * tools/gst-launch.c: (event_loop):
10035 Print all buffering percentages we get, even the 100% one.
10037 2006-09-26 Wim Taymans <wim@fluendo.com>
10039 * tools/gst-inspect.c: (print_element_properties_info),
10040 (print_signal_info):
10041 Fix printing of flags to match the look of enums.
10043 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10045 * gst/gstelementfactory.c:
10046 Fix typo in docs blurb.
10048 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10050 * gst/gsturi.c: (search_by_entry):
10051 Don't assert/crash here if a uri handler doesn't return any
10052 supported protocols. The list of protocols could be generated
10053 dynamically at runtime or at plugin registration, and an error
10054 in the underlying library shouldn't be fatal (#353301).
10056 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10059 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10060 (spotted by Peter Kjellerstedt).
10062 2006-09-23 Wim Taymans <wim@fluendo.com>
10064 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10066 * libs/gst/base/gstbasesrc.c:
10067 (gst_base_src_default_check_get_range), (gst_base_src_start),
10068 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10069 (gst_base_src_change_state):
10070 Match _start/_stop calls in the activate functions. Remove redundant
10071 _stop call from the state change function. Fixes #356910.
10072 Turn failure DEBUG into ERROR.
10074 2006-09-22 Wim Taymans <wim@fluendo.com>
10076 * docs/design/part-buffering.txt:
10077 * gst/gstmessage.c: (gst_message_new_buffering),
10078 (gst_message_parse_buffering):
10079 Update docs about buffering.
10081 * docs/design/part-trickmodes.txt:
10084 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10086 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10087 (gst_controller_new_list):
10088 Ref instances when returning them again (fixes #357180)
10090 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10092 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10093 Don't forget to release proxy lock when there's an error.
10095 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10098 Add extra initialisers for Caps things, to fix some plugin warnings
10101 2006-09-18 Wim Taymans <wim@fluendo.com>
10103 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10104 Also set template on the internal pad so that a getcaps from the
10105 target pad returns the template caps.
10107 2006-09-18 Wim Taymans <wim@fluendo.com>
10109 * gst/gstelement.c: (gst_element_post_message),
10110 (gst_element_dispose):
10111 Use _DEBUG_OBJECT some more.
10113 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10116 * tools/gst-launch.c: (main):
10117 If the toplevel element is not a GstPipeline, it must be put in a
10118 pipeline so that a bus and clock is selected.
10120 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10122 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10123 JITTER, RATE, and LATENCY query should be handled by the
10124 default case and not by the CONVERT query code.
10126 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10128 * gst/gstformat.c: (gst_format_register):
10129 Fix locking order (must take lock before using n_values).
10131 * gst/gstvalue.c: (gst_value_serialize_enum),
10132 (gst_value_deserialize_enum_iter_cmp),
10133 (gst_value_deserialize_enum):
10134 Fix serialisation/deserialisation of custom registered GstFormats.
10136 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10137 Unit test for custom format serialisation/deserialisation.
10139 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10141 * docs/pwg/building-boiler.xml:
10142 * plugins/elements/gstcapsfilter.c:
10143 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10146 2006-09-16 Edward Hervey <edward@fluendo.com>
10148 * libs/gst/base/gstbasetransform.c:
10149 (gst_base_transform_buffer_alloc):
10150 Check if requested caps are the same as the sinks caps IF
10151 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10153 This fixes the renegotiation issues stated in #352827.
10155 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10158 * docs/manual/advanced-autoplugging.xml:
10159 * tests/examples/Makefile.am:
10160 * tests/examples/manual/.cvsignore:
10161 * tests/examples/manual/Makefile.am:
10162 * tests/examples/manual/extract.pl:
10163 Extract the manual examples again like we used to do.
10166 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10168 * win32/common/config.h:
10171 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10174 Documents how to receive errors.
10176 2006-09-15 Wim Taymans <wim@fluendo.com>
10178 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10179 (event_loop), (main):
10180 Added some comments here and there.
10181 Post an application message when an interrupt is caught instead of doing
10182 an uncontrolled state change.
10183 Clean up the event loop.
10184 Handle buffering messages, pause/resume the pipeline.
10185 Make shutdown because of an interrupt more reliable.
10187 2006-09-15 Wim Taymans <wim@fluendo.com>
10189 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10190 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10191 (gst_base_sink_preroll_object):
10192 Make sure that our internal state is correct when we commit our state
10193 asynchronously. This solves a race where a state change to PLAYING
10194 could cause the sink to remain blocked in preroll in some situations.
10196 2006-09-15 Wim Taymans <wim@fluendo.com>
10198 * tools/gst-inspect.c: (print_element_properties_info),
10199 (print_signal_info):
10200 List flags as hex so it's easier to deal with.
10202 2006-09-15 Wim Taymans <wim@fluendo.com>
10204 * docs/libs/gstreamer-libs-sections.txt:
10205 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10206 (gst_base_sink_do_sync):
10207 * libs/gst/base/gstbasesink.h:
10208 Expose logic to wait for preroll so that subclasses such as audiosink
10209 can also use this method.
10210 API: gst_base_sink_wait_preroll()
10212 2006-09-15 Wim Taymans <wim@fluendo.com>
10214 * gst/gstobject.c: (gst_object_set_parent):
10215 * gst/gstpipeline.c: (do_pipeline_seek):
10216 Small cleanups in docs and code.
10218 * gst/gstsegment.c: (gst_segment_clip):
10219 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10220 if stop == start and start is in the segment, no clipping should be
10221 done. Also add a test for this.
10223 2006-09-15 Wim Taymans <wim@fluendo.com>
10225 * docs/design/part-buffering.txt:
10226 * docs/gst/gstreamer-sections.txt:
10227 * gst/gstmessage.c: (gst_message_new_buffering),
10228 (gst_message_parse_buffering):
10229 * gst/gstmessage.h:
10230 Added methods to create and parse BUFFERING messages.
10231 Added preliminary docs about buffering.
10232 API: gst_message_new_buffering
10233 API: gst_message_parse_buffering
10235 2006-09-06 Wim Taymans <wim@fluendo.com>
10238 Update documentation.
10240 * gst/gstelement.c: (gst_element_class_init),
10241 (gst_element_release_request_pad), (gst_element_set_clock),
10242 (gst_element_get_index), (gst_element_add_pad),
10243 (gst_element_remove_pad), (gst_element_get_random_pad),
10244 (gst_element_send_event), (gst_element_get_query_types),
10245 (gst_element_query), (gst_element_post_message),
10246 (gst_element_message_full), (gst_element_continue_state),
10247 (gst_element_lost_state), (gst_element_save_thyself),
10248 (gst_element_restore_thyself):
10249 Documentation updates.
10250 Rename last bit of the new-pad -> pad-added signal rename.
10251 Fix the case where an element query would only work if the source
10253 Avoid some useless type checking in message handling.
10258 Documentation updates.
10260 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10262 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10263 add an INFO line for when we actually update the fd
10265 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10270 === release 0.10.10 ===
10272 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10275 releasing 0.10.10, "Pais"
10277 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10279 * docs/manual/advanced-position.xml:
10280 Fix typo in sample code.
10282 2006-09-05 Wim Taymans <wim@fluendo.com>
10284 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10285 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10286 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10287 * libs/gst/net/gstnetclientclock.h:
10288 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10289 * libs/gst/net/gstnettimepacket.h:
10290 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10291 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10292 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10293 * libs/gst/net/gstnettimeprovider.h:
10294 Make stuff compile on windows. Fixes #345295.
10296 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10298 * gst/gst.c: (ensure_current_registry_forking):
10299 Print better details when child was terminated by signal.
10301 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10303 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10304 Print a warning rather than g_assert() if a plugin feature
10305 is a URI handler but returns no protocols (#353976).
10307 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10309 * docs/random/moving-plugins:
10312 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10314 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10315 Fix locking order, handle NULL function values properly.
10320 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10321 Initialise variable before using it and fix debug statement to
10322 print the address of the function rather than the address of the
10323 variable on the stack holding the address of the function.
10325 2006-09-01 Wim Taymans <wim@fluendo.com>
10327 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10328 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10329 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10330 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10331 (gst_ghost_pad_parent_unset),
10332 (gst_ghost_pad_internal_do_activate_push),
10333 (gst_ghost_pad_internal_do_activate_pull),
10334 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10335 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10336 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10337 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10338 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10339 (gst_ghost_pad_new_no_target_from_template),
10340 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10342 Avoid needless typechecking in macros.
10343 Since the internal pad is always present and never changes, there is
10344 no need to locking or ref when retrieving it.
10345 Improve debugging a bit.
10346 Handle link errors when setting the target. Fixes #341029.
10348 2006-09-01 Wim Taymans <wim@fluendo.com>
10350 * docs/libs/gstreamer-libs-sections.txt:
10351 * docs/plugins/gstreamer-plugins-sections.txt:
10352 Fix docs some more.
10354 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10355 (gst_collect_pads_event):
10356 * libs/gst/base/gstcollectpads.h:
10357 Documentation updates.
10358 Free queued buffer when removing a pad.
10360 2006-08-31 Michael Smith <msmith@fluendo.com>
10362 * gst/gstutils.c: (gst_element_link_pads),
10363 (gst_element_link_pads_filtered):
10364 Ensure that we set a capsfilter to NULL if we failed to link it
10365 when doing filtered linking, to avoid criticals.
10367 No need to check for unreffing srcpad, which is explicly NULLed
10368 above (a trivial code cleanup).
10370 2006-08-31 Wim Taymans <wim@fluendo.com>
10372 * docs/design/part-gstghostpad.txt:
10373 Update ascii art in documentation.
10375 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10376 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10377 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10378 (gst_ghost_pad_internal_do_activate_push),
10379 (gst_ghost_pad_internal_do_activate_pull),
10380 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10381 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10382 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10383 (gst_ghost_pad_set_target):
10384 Small cleanups and leak fixes.
10385 Remove some checks now that the internal pad is never NULL.
10386 Fix the case where linking pads without a target would create nasty
10387 criticals. Fixes #341029.
10388 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10389 value of _set_target().
10391 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10392 (gst_ghost_pad_suite):
10393 Some more tests for creating and linking untargeted ghostpads.
10395 2006-08-31 Edward Hervey <edward@fluendo.com>
10397 * docs/gst/gstreamer-sections.txt:
10398 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10399 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10400 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10401 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10402 (gst_ghost_pad_new_from_template),
10403 (gst_ghost_pad_new_no_target_from_template):
10404 * gst/gstghostpad.h:
10405 Refactored *_new() functions.
10406 Templates are now used as a g_object_new() parameter.
10407 Use template in _do_getcaps() if we don't have a target.
10408 Small documentation cleanups.
10409 Added two new constructors:
10410 gst_ghost_pad_new_from_template()
10411 gst_ghost_pad_new_no_target_from_template()
10412 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10413 (gst_ghost_pad_suite):
10414 Added tests for new ghostpad instanciation functions.
10416 API additions: gst_ghost_pad_new_from_template,
10417 gst_ghost_pad_new_no_target_from_template
10419 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10421 * docs/random/ensonic/profiling.txt:
10422 Ideas about qos profiling.
10424 2006-08-29 Wim Taymans <wim@fluendo.com>
10426 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10430 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10433 Improve and detypofy docs.
10435 * tests/check/Makefile.am:
10436 * tests/check/gst/.cvsignore:
10437 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10438 Add a basic test suite for GstXML.
10440 2006-08-29 Wim Taymans <wim@fluendo.com>
10442 * gst/gstelement.c: (activate_pads), (clear_caps),
10443 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10444 Clear the pad caps when the element shut down all of the pads and
10445 is not streaming data that could modify the caps.
10448 2006-08-28 Michael Smith <msmith@fluendo.com>
10450 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10451 Revert previous change; I misunderstood single-segment mode.
10453 2006-08-28 Michael Smith <msmith@fluendo.com>
10455 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10456 Unset DISCONT on buffers when using single-segment mode.
10458 2006-08-28 Wim Taymans <wim@fluendo.com>
10460 * gst/gstcaps.c: (gst_caps_merge_structure):
10462 Fix docs and indentation again.
10464 * tests/check/gst/gstquery.c: (GST_START_TEST):
10465 Fix leak in tests and add some more tests.
10467 2006-08-28 Edward Hervey <edward@fluendo.com>
10469 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10470 Inform GstSegment of the last stop position in order for the current
10471 segment to have a proper duration if it doesn't have a specific stop
10472 position from which a duration could be calculated.
10473 This bug was noticeable when a non-flushing, non-update new segment was
10474 followed by another segment (all buffers from the new segment were being
10477 2006-08-28 Wim Taymans <wim@fluendo.com>
10479 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10480 Small comment update.
10482 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10483 (gst_identity_transform_ip):
10484 Drop-probability is broken, mention this in the code with a
10485 FIXME and also in the property description.
10486 Make silent also be silent about the drop messages.
10488 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10490 * docs/manual/appendix-win32.xml:
10491 Remove mention of popt, we don't depend on that any
10492 longer (#353136). Add some comments pointing out that
10493 this section is slightly outdated.
10495 2006-08-28 Wim Taymans <wim@fluendo.com>
10497 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10499 * gst/gstquery.c: (gst_query_new_segment):
10500 * tests/check/gst/gstquery.c: (GST_START_TEST):
10501 Initialize variables when creating a new segment query.
10504 2006-08-28 Wim Taymans <wim@fluendo.com>
10506 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10508 * gst/gstelement.c: (gst_element_get_bus):
10509 * tests/check/gst/gstelement.c: (GST_START_TEST):
10510 Check for NULL before _reffing the bus. Fixes #353122.
10512 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10514 * docs/manual/basics-bus.xml:
10515 Docs update: fix wrong callback return value explanation; add
10516 some lines about the implicit relationship between main loop
10517 and main context; remove duplicate main loop variable declaration.
10519 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10521 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10522 Don't leak caps in unit test; add a few more simple
10525 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10527 * docs/gst/gstreamer-sections.txt:
10528 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10529 (gst_caps_structure_is_subset), (gst_caps_merge),
10530 (gst_caps_merge_structure):
10532 * libs/gst/base/gstbasetransform.c:
10533 (gst_base_transform_transform_caps):
10534 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10535 implement caps merging (fixes #352580)
10537 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10539 * tools/Makefile.am:
10540 * tools/gst-plot-timeline.py:
10541 add debug-log plotting developer tool (#340674)
10543 2006-08-23 Wim Taymans <wim@fluendo.com>
10545 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10546 (gst_pad_stop_task):
10547 Improve debugging for task functions.
10549 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10550 (gst_task_start), (gst_task_pause), (gst_task_join):
10551 Make sure that the task function started and finished after a
10553 Don't try to push the task function on the threadpool multiple
10555 Improve the g_warning message with some useful suggestions
10556 about how to fix the problem.
10558 2006-08-23 Wim Taymans <wim@fluendo.com>
10560 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10561 Handle RESYNC correctly in _proxy_getcaps.
10563 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10565 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10566 (gst_xml_parse_memory), (gst_xml_get_element):
10567 Chain up to parent class in dispose function and also
10568 unref the elements in the toplevel_elements GList.
10569 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10570 Always return a reference in gst_xml_get_element() rather
10571 than only sometimes.
10573 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10574 Don't leak GstXml object.
10576 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10578 * docs/gst/gstreamer-sections.txt:
10579 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10582 * libs/gst/base/gstbasetransform.c:
10583 (gst_base_transform_transform_caps):
10584 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10587 2006-08-21 Edward Hervey <edward@fluendo.com>
10589 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10590 Implement GObject::dispose virtual method in GstXML so we can free the
10591 top_elements GList.
10593 2006-08-21 Wim Taymans <wim@fluendo.com>
10595 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10596 (gst_buffer_create_sub):
10597 Copy duration/offset_end/caps when creating a subbuffer of the
10599 Make the subbuffer read-only when we make the metadata writable for
10600 now. Fixes #351768.
10602 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10603 Added check for metadata copy when creating subbuffers.
10605 2006-08-21 Edward Hervey <edward@fluendo.com>
10607 * libs/gst/base/gstbasetransform.c:
10608 (gst_base_transform_buffer_alloc):
10609 Only call downstream buffer_alloc if transform element is passthrough
10610 or always_in_place. Closes #350449.
10612 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10615 ChangeLog surgery to add comments to previous changes
10617 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10622 * gst/gstpad.c: (gst_pad_set_active):
10623 Be more verbose in the log
10625 * libs/gst/base/gstbasetransform.c:
10626 (gst_base_transform_transform_caps):
10627 Simplify caps to get rid of duplicates, fixes #345444
10629 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10633 Use these optimizations only internally.
10635 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10637 * gst/gstvalue.c: (gst_value_compare_list),
10638 (gst_value_compare_fraction_range),
10639 (gst_value_intersect_fraction_fraction_range),
10640 (gst_value_intersect_fraction_range_fraction_range),
10641 (gst_value_subtract_fraction_fraction_range),
10642 (gst_value_subtract_fraction_range_fraction_range),
10643 (gst_value_get_compare_func), (gst_value_compare),
10644 (gst_value_compare_with_func):
10646 Saves the expensive lookup of the compare function in many cases
10649 2006-08-18 Edward Hervey <edward@fluendo.com>
10651 * tests/check/gst/gstinfo.c: (gst_info_suite):
10652 Disable test that require gstdebug if it wasn't built in core.
10654 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10656 * docs/random/ensonic/logging.txt:
10659 * gst/gstinfo.c: (gst_debug_log_default):
10660 reorder fields, save some columns, add optional color codes for log
10663 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10665 * docs/random/ensonic/logging.txt:
10666 add ideas about making the logs a bit more useful
10668 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10670 * docs/pwg/advanced-events.xml:
10671 * docs/pwg/titlepage.xml:
10672 Update for 0.10 API (#340627). Add myself
10675 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10677 * docs/libs/gstreamer-libs-docs.sgml:
10678 * docs/libs/gstreamer-libs-sections.txt:
10679 * libs/gst/check/gstbufferstraw.c:
10680 Make gstcheck stuff show up in docs (still needs to
10681 be documented properly though).
10683 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10685 * docs/gst/gstreamer-sections.txt:
10687 * gst/gst.c: (init_post):
10688 * gst/gst_private.h:
10689 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10691 * gst/gstquery.c: (gst_query_new_position),
10692 (gst_query_set_position), (gst_query_parse_position),
10693 (gst_query_new_duration), (gst_query_set_duration),
10694 (gst_query_parse_duration), (gst_query_new_convert),
10695 (gst_query_set_convert), (gst_query_parse_convert),
10696 (gst_query_new_segment), (gst_query_set_segment),
10697 (gst_query_parse_segment), (gst_query_new_seeking),
10698 (gst_query_set_seeking), (gst_query_parse_seeking):
10699 Add internal helpers for pre-registering quarks from static strings
10700 and using the quark values directly instead of looking them up when
10701 creating and parsing queries. Can be used for event construction too.
10704 2006-08-16 Wim Taymans <wim@fluendo.com>
10709 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10711 * gst/gstutils.c: (gst_util_set_value_from_string):
10712 Fix memleak (#351502).
10714 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10715 Add unit test for most of gst_util_set_value_from_string()
10716 (not that one would want to encourage use of this function).
10718 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10720 * libs/gst/check/gstcheck.h:
10721 Use const gchar * variables in fail_unless_equals_string
10722 macro to avoid compiler warnings (and don't use tabs for
10725 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10727 * tools/gst-launch.c: (print_tag):
10728 More space on the left for the tag names, to cater
10729 for the 'extended comment' tag (not touching the
10730 string for the first line since it's translated).
10732 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10734 * libs/gst/check/gstcheck.h:
10735 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10736 print something when they fail.
10738 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10740 * docs/gst/gstreamer-sections.txt:
10741 * gst/gsttaglist.c: (_gst_tag_initialize):
10742 * gst/gsttaglist.h:
10743 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10744 Also change merge function for GST_TAG_COMMENT to
10747 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10749 * gst/gstinfo.c: (gst_debug_print_object):
10750 Make GST_PTR_FORMAT print messages as well.
10752 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10753 (GST_START_TEST), (gst_info_suite):
10756 2006-08-14 Edward Hervey <edward@fluendo.com>
10758 * gst/gstelementfactory.c: (gst_element_register):
10759 If the GstElementClass doesn't have a GstElementDetails with all fields
10760 filled up correctly (longname, description AND author), then error out
10761 nicely instead of crashing.
10763 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10765 * gst/gststructure.c:
10766 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10769 Expand on the difference between arrays and lists as we use them.
10771 2006-08-14 Wim Taymans <wim@fluendo.com>
10773 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10774 If the parent state change function failed, don't assume we can safely
10775 stop the source, this will be done when the pads are deactivated.
10777 2006-08-14 Wim Taymans <wim@fluendo.com>
10780 * gst/gsttask.c: (gst_task_join):
10783 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10784 (gst_pad_stop_task):
10785 When pad (de)activation failed for some reason, restore the old
10786 activation mode and set the pad to flushing instead of assuming the
10787 pad is deactivated.
10788 If the _task_join() failed, reinstall the task on the pad so that it can
10789 be stopped later and return an error.
10791 2006-08-11 Andy Wingo <wingo@pobox.com>
10794 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10795 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10796 is only for users of API that don't want to see deprecated
10797 functions in the headers; people that want to compile out
10798 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10799 CFLAGS. Fixes the build of multifdsink, or will soon..
10801 2006-08-11 Wim Taymans <wim@fluendo.com>
10803 * docs/gst/gstreamer-sections.txt:
10804 Add GstClockClass vmethod docs.
10807 Mark #endif with comment for associated #if
10809 * gst/gstclock.c: (gst_clock_id_wait):
10811 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10812 most clock implementations.
10814 Flesh out docs about resolution methods.
10815 API: GstClockClass::wait_jitter
10817 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10818 (gst_system_clock_async_thread),
10819 (gst_system_clock_id_wait_jitter_unlocked),
10820 (gst_system_clock_id_wait_jitter):
10821 Use base class wait_jitter variant for improved performance
10822 due to less clock polling.
10824 2006-08-11 Edward Hervey <edward@fluendo.com>
10826 * gst/gst.c: (gst_init_check), (init_post):
10827 Set gst as being initialized before scanning/updating the registry,
10828 since there might be my python plugin loader that calls gst_init() and
10829 we don't want to loop back in.
10832 2006-08-11 Wim Taymans <wim@fluendo.com>
10834 * docs/design/part-qos.txt:
10835 Bring docs in line with the code. Mostly the sign of the jitter was
10836 wrong in the docs. Fixes #349943.
10839 Fix the docs for the jitter.
10841 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10842 (gst_event_parse_tag), (gst_event_new_buffer_size),
10843 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10844 (gst_event_new_seek), (gst_event_parse_seek),
10845 (gst_event_new_navigation):
10846 Make sure the GstStructure has no parent when creating custom
10848 Add some more argument checking so that we avoid 0.0 rates.
10849 Flesh out the docs for the QoS event some more.
10851 2006-08-11 Wim Taymans <wim@fluendo.com>
10853 * docs/gst/gstreamer-sections.txt:
10854 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10855 (ensure_current_registry_forking), (ensure_current_registry),
10856 (parse_one_option), (parse_goption_arg), (gst_deinit),
10857 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10860 Added API and command line option to disable registry forking in
10861 addition to the environment variable.
10862 Constify some static arrays.
10863 Added some more debug.
10864 Don't deinit twice.
10865 API: gst_registry_fork_is_enabled()
10866 API: gst_registry_fork_set_enabled()
10867 API: --gst-disable-registry-fork command line option
10870 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10872 * gst/gst.c: (gst_init):
10873 Fix typo in error message.
10875 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10877 * libs/gst/controller/gstcontroller.h:
10878 fix ABI size-correction
10880 * tests/check/libs/gdp.c: (gst_dp_suite):
10881 make tests that use deprecated API conditional
10883 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10885 * docs/libs/gstreamer-libs-sections.txt:
10886 * libs/gst/controller/gstcontroller.c:
10887 (_gst_controller_get_property), (_gst_controller_set_property),
10888 (_gst_controller_init), (_gst_controller_class_init):
10889 * libs/gst/controller/gstcontroller.h:
10890 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10891 (gst_object_set_control_rate):
10892 API: add gst_object_{s,g}et_control_rate(), add private data section,
10895 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10896 * libs/gst/dataprotocol/dataprotocol.h:
10897 add deprecation guards to make gtk-doc happy and allow disabling cruft
10899 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10901 * tests/check/Makefile.am:
10902 * tests/check/gst/.cvsignore:
10903 Let's enable the new unit test as well.
10905 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10908 * docs/gst/gstreamer-sections.txt:
10909 * gst/gstconfig.h.in:
10910 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10911 (_gst_info_printf_extension_ptr),
10912 (_gst_info_printf_extension_segment):
10913 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10914 register that lets us easily dump GstSegments into debug
10917 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10918 (info_segment_format_printf_extension), (gst_info_suite):
10919 Add simple unit test that logs a bunch of different segments (not
10920 valgrinded at the moment because of leaks in
10921 gst_debug_add_log_function).
10923 2006-08-09 Edward Hervey <edward@fluendo.com>
10925 * libs/gst/base/gstbasetransform.c:
10926 (gst_base_transform_buffer_alloc):
10927 Even if we can't figure out the proper format to request downstream,
10928 call buffer_alloc() downstream with the input parameters without setting
10929 the caps on the srcpad. This will force negotiation in the chain
10933 2006-08-08 Edward Hervey <edward@fluendo.com>
10935 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10936 Unlinking from a pad without a target is now a perfectly valid case
10937 which should NOT raise an assertion.
10938 This case would happen if a linked ghostpad its target set to NULL after
10939 it was previously linked.
10941 2006-08-08 Edward Hervey <edward@fluendo.com>
10943 * tests/check/libs/gdp.c:
10944 Also comment out the test (see below).
10946 2006-08-08 Edward Hervey <edward@fluendo.com>
10948 * tests/check/libs/gdp.c: (gst_dp_suite):
10949 Use the architecture information from config.h and not gcc macros
10950 in order to properly disable a test that fails on PPC64.
10952 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10954 * gst/gstelement.c: (gst_element_remove_pad):
10955 Don't crash printing the warning if the pad has no parent.
10957 2006-08-02 Wim Taymans <wim@fluendo.com>
10959 * libs/gst/dataprotocol/dataprotocol.c:
10960 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10961 (gst_dp_crc), (gst_dp_header_payload_length),
10962 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10963 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10964 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10965 (gst_dp_event_from_packet), (gst_dp_validate_header),
10966 (gst_dp_validate_payload):
10967 Make debug category static
10968 Constify the crc table.
10969 Do some more arg checking in public functions.
10970 Fix some docs and do some small cleanups.
10972 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10973 Add some more checks to see if GDP deals with bogus input.
10975 2006-07-31 Wim Taymans <wim@fluendo.com>
10977 * gst/gstvalue.c: (gst_value_compare_list):
10978 Fix GstValueList comparison code. Fixes #347293.
10980 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10981 Check to test GstValueList comparison.
10983 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10985 * gst/gstelementfactory.c: (gst_element_factory_create):
10986 Remove unnecessary ref/unref pair
10988 * gst/parse/grammar.y:
10989 Make sure to free the parse buffer on all code paths.
10990 Move a g_free up to the error handler where it's easier to see.
10992 * tests/check/gst/gstevent.c: (test_event):
10993 Extending timeout for downstream travelling events to 10 seconds to
10994 hopefully avoid intermittent failure on the buildbots.
10996 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10997 Don't manually set the state of the src element - it will happen as a
10998 natural consequence of the pipeline changing state, and that way it
10999 will do it in the right order too.
11001 2006-07-31 Wim Taymans <wim@fluendo.com>
11003 * libs/gst/base/gstbasetransform.c:
11004 (gst_base_transform_buffer_alloc):
11005 Use OBJECT_LOCK and refcounting to get the pad caps in the
11006 buffer_alloc function because the caps could change while we are
11007 busy with them. Fixes #349105
11009 2006-07-31 Wim Taymans <wim@fluendo.com>
11011 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11012 Protect _PAD_CAPS with OBJECT_LOCK.
11014 2006-07-31 Wim Taymans <wim@fluendo.com>
11016 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11017 (gst_pad_get_property), (gst_pad_activate_pull),
11018 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11019 (gst_pad_set_activate_function),
11020 (gst_pad_set_activatepull_function),
11021 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11022 (gst_pad_set_getrange_function),
11023 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11024 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11025 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11026 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11027 (gst_pad_set_acceptcaps_function),
11028 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11029 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11030 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11031 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11032 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11033 (gst_pad_configure_sink), (gst_pad_configure_src),
11034 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11035 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11036 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11037 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11038 (gst_pad_send_event):
11039 Use _DEBUG_OBJECT when it makes sense.
11040 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11041 Small cleanups and code reflows.
11042 Avoid caps refcounting in _accept_caps.
11043 Refactor alloc_buffer so that the code performed on the peer is in a
11044 separate function. Also if the pad does not implement a buffer alloc
11045 function, we should still check if the pad is flushing before falling
11046 back to the default allocator.
11048 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11050 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11051 Make all uses of identity and fakesink have silent=true to avoid
11052 serialising every passing data structure, which is breaking tests
11053 on FC4 for some unknown reason.
11055 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11057 * gst/parse/Makefile.am:
11058 * gst/parse/grammar.y:
11059 * gst/parse/parse.l:
11060 Reverted previous patch as it required to bump the flex dependency to
11061 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11063 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11065 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11067 * gst/parse/Makefile.am:
11068 * gst/parse/grammar.y:
11069 * gst/parse/parse.l:
11070 push & pop the state of the lexer for reentrant use case
11073 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11075 * libs/gst/base/gstbasesrc.h:
11076 Note in the docs that the ::newsegment vfunc is not actually used by
11079 2006-07-28 Wim Taymans <wim@fluendo.com>
11081 * libs/gst/base/gstcollectpads.c:
11082 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11083 (gst_collect_pads_clear), (gst_collect_pads_flush),
11084 (gst_collect_pads_event), (gst_collect_pads_chain):
11085 When flushing a pad, also clear the queued buffer so that we don't
11086 accidentally use it when we shouldn't.
11087 Fix leaks by inreffing incomming buffer.
11088 Flush out queued buffers in case of errors.
11091 2006-07-28 Wim Taymans <wim@fluendo.com>
11093 * docs/random/phonon-gst:
11094 Random notes about a Phonon backend.
11096 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11098 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11100 * tests/check/libs/gdp.c: (gst_dp_suite):
11101 Take a whack at fixing the ppc compile using a different define to
11102 disable the broken test.
11104 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11105 Remove excess g_print()
11107 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11109 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11110 Oops, meant to uncomment this line too to dampen the noise a bit.
11112 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11114 * gst/parse/grammar.y:
11115 * gst/parse/parse.l:
11116 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11117 (GST_START_TEST), (parse_suite):
11118 Fix some of the leaks exposed by extending the parse-launch testsuite,
11119 and move the 3 I can't figure out into a separate test that won't run
11120 the pipelines unless the appropriate line is uncommented.
11122 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11124 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11125 Requesting 0 bytes before the end of the file should result in
11126 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11129 2006-07-27 Wim Taymans <wim@fluendo.com>
11131 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11132 Fix useless assert, a uint is always positive.
11134 * gst/gststructure.c: (gst_structure_nth_field_name),
11135 (gst_structure_foreach), (gst_structure_map_in_place):
11136 Check input arguments for public functions to avoid obvious crashes.
11138 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11139 * plugins/elements/gstfakesink.h:
11140 Do less useless typechecking.
11142 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11144 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11145 Do not use mmap() by default since there are a number of error
11146 conditions that we would like to handle in a non-fatal way that
11147 will result in a SIGBUS if we use mmap(). Examples: external
11148 devices (USB harddrive, portable music player) being unplugged
11149 while in use; file on mounted CD/DVD that can't be read because
11150 the medium is partly damaged. Fixes #348455 and #348475.
11152 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11155 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11156 rates are a gdouble
11158 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11160 * gst/gstregistry.c:
11161 Move big documentation comment into class section header, so that it
11162 appears in the API docs.
11164 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11166 * docs/gst/gstreamer-sections.txt:
11167 Oops. Commit the docs additions too for new API.
11168 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11170 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11172 * gst/gststructure.c: (gst_structure_id_set),
11173 (gst_structure_id_set_valist):
11174 * gst/gststructure.h:
11175 Add API for setting values into structures without performing
11176 a quark lookup, if the appropriate quark is already known.
11178 API: gst_structure_id_set
11179 API: gst_structure_id_set_valist
11181 * gst/parse/grammar.y:
11182 * gst/parse/parse.l:
11183 Remove some dead code shown by the coverage information.
11184 Don't throw a critical g_warning when encountering a syntax error,
11185 just warn and let the normal error path handle it.
11187 * plugins/elements/gstelements.c:
11188 Bump the rank of filesink up to PRIMARY so that it is preferred over
11189 gnomevfssink for file:// sink uri's
11191 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11192 (GST_START_TEST), (run_delayed_test),
11193 (gst_parse_test_element_base_init),
11194 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11195 (gst_parse_test_element_change_state),
11196 (gst_register_parse_element), (parse_suite):
11197 Beef up the tests for parse syntax to check that more error cases
11198 fail as they are supposed to. Increases the test coverage a bit.
11200 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11202 * docs/manual/basics-elements.xml:
11203 Fix gst_element_link() example.
11206 Mention in API docs that one should usually gst_bin_add()
11207 elements to a bin or pipeline before doing the linking.
11209 2006-07-26 Wim Taymans <wim@fluendo.com>
11211 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11212 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11213 Avoid function call for known types by keeping the buffer and
11214 subbuffer GType global.
11216 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11217 Random silly optimisations in read() path.
11219 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11221 * tools/gst-launch.c: (main):
11222 If the top-level of the parse is a normal bin, it doesn't do the
11223 right logic to run as a top-level element, so place it inside a
11226 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11228 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11229 Remove superfluous g_object_notify() calls, GObject does
11230 that for us automatically.
11232 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11235 on Win32, use dllspec to export the debug category symbols
11237 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11239 * gst/gsttaglist.c: (_gst_tag_initialize):
11240 Allow more than one GST_TAG_IMAGE per taglist.
11242 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11244 * gst/gstminiobject.c:
11246 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11247 (gst_fd_src_create):
11248 log recurring events at LOG level
11249 add more debug for when the fd gets set
11251 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11253 * gst/gstparse.c: (gst_parse_launch):
11254 Also remove reentrance checks if flex is MT safe (#348179)
11255 Fix my empty ChangeLog entry below
11257 2006-07-21 Andy Wingo <wingo@pobox.com>
11259 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11261 * libs/gst/check/Makefile.am
11262 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11263 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11264 * libs/gst/check/gstbufferstraw.h:
11265 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11266 functions, thus proving I am still a GStreamer haxor. OK I wrote
11267 them a long time ago, but anyways.
11269 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11272 * gst/gstparse.c: (gst_parse_launch):
11273 Check for flex version and omit mutex if we have a MT save flex
11276 2006-07-21 Wim Taymans <wim@fluendo.com>
11278 * gst/gstparse.c: (gst_parse_launch):
11279 Protect recursive calls to _parse with a recursive mutex
11282 2006-07-21 Wim Taymans <wim@fluendo.com>
11284 * tests/check/gst/gstpad.c: (GST_START_TEST):
11287 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11289 * gst/gstparse.c: (gst_parse_launch):
11290 Do not hang on recursive usage of gst_parse_launch()
11292 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11294 * gst/gsttaglist.c:
11295 Add some more docs, comments and FIXME 0.11s here and there
11296 and also fix some typos.
11298 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11300 * gst/gstsegment.h:
11301 Convert tabs to spaces for better readability.
11303 2006-07-20 Edward Hervey <edward@fluendo.com>
11305 * tests/check/libs/gdp.c: (gst_dp_suite):
11306 the test_buffer test fails at line 140 on ppc64 at the following
11308 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11309 GST_BUFFER_FLAG_IN_CAPS),
11310 "GST_BUFFER_IN_CAPS flag should have been copied !");
11311 See bug #348114 for more details.
11313 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11315 * docs/pwg/advanced-scheduling.xml:
11317 Fix typos (#348000).
11319 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11321 * docs/pwg/intro-basics.xml:
11322 Fix wrong links (#347927).
11324 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11326 * gst/gstregistry.h:
11327 * gst/gstregistryxml.c: (load_feature),
11328 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11329 * win32/common/config.h:
11330 make --disable-index work (#342564)
11332 2006-07-18 Wim Taymans <wim@fluendo.com>
11334 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11338 The attached patch adds two missing defines to gsttrace.h when tracing
11339 is disabled. It also corrects one existing define.
11342 2006-07-17 Wim Taymans <wim@fluendo.com>
11344 * docs/gst/gstreamer-sections.txt:
11345 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11347 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11348 Add two functions to check and change the SIGSEGV behaviour
11349 when loading plugins.
11350 Don't mess with the SIGSEGV handler when we were told not to.
11352 API: gst_segtrap_is_enabled
11353 API: gst_segtrap_set_enabled
11355 2006-07-14 Wim Taymans <wim@fluendo.com>
11357 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11358 * tests/check/elements/filesrc.c: (GST_START_TEST):
11359 Revert fix for regression in #347408 after release.
11361 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11363 Patch by: Antoine Tremblay <hexa00 at gmail com>
11365 * gst/gstutils.c: (gst_element_unlink):
11366 Free iterator when done (#347311).
11368 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11369 And add a test case for this.
11371 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11374 Bump nano back to CVS
11376 === release 0.10.9 ===
11378 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11381 releasing 0.10.9, "On the road again"
11383 2006-07-13 Wim Taymans <wim@fluendo.com>
11385 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11386 * tests/check/elements/filesrc.c: (GST_START_TEST):
11387 Revert pull-0 fix for release. Disable check. Fixes #347408.
11389 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11391 * libs/gst/dataprotocol/dataprotocol.c:
11392 (gst_dp_event_from_packet_1_0):
11393 Fixes #347337: failure to deserialize event packets with
11394 empty payload (only event type)
11396 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11399 do not install a .c file in the header directory
11401 2006-07-13 Edward Hervey <edward@fluendo.com>
11403 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11404 GhostPad no longer implicitely use the padtemplates of the targets.
11407 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11409 * gst/gstvalue.c: (gst_value_compare_list),
11410 (gst_value_compare_array), (_gst_value_initialize):
11411 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11412 Make GstValueArray comparison be order dependent as designed.
11413 Add checks for value lists and value array comparisons.
11416 2006-07-11 Edward Hervey <edward@fluendo.com>
11418 * gst/gstbin.c: (activate_pads),
11419 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11420 (gst_bin_change_state_func):
11421 (de)activate src pads before calling state_change on the childs.
11422 This is to avoid the case where a src ghostpad is blocked (holding the
11423 stream lock), which would block the deactivation of the ghostpad's
11425 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11426 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11427 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11428 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11429 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11430 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11431 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11432 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11433 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11434 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11435 (gst_ghost_pad_class_init),
11436 (gst_ghost_pad_internal_do_activate_push),
11437 (gst_ghost_pad_internal_do_activate_pull),
11438 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11439 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11440 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11441 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11442 GhostPads now create their internal GstProxyPad at creation (and not
11443 when they're linked, as it was being done previously).
11444 The internal and target pads are linked straight away.
11445 The data will also travel through the other pad in order to make
11446 pad blocking and probes non-hackish (the probe/block now really happens
11447 on the GhostPad and not on the target).
11448 * gst/gstpad.c: (gst_pad_set_blocked_async),
11449 (gst_pad_link_prepare), (gst_pad_push_event):
11450 Remove previous ghostpad cruft.
11451 * gst/gstutils.c: (gst_pad_add_data_probe),
11452 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11453 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11454 (gst_pad_remove_buffer_probe):
11455 Remove previous ghost pad cruft.
11456 Added more detailed debug statements.
11457 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11458 Fix the testsuite for refcounting changes.
11459 The comments about who has references were correct, but the refcount
11460 being checked wasn't the same (!?!).
11464 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11466 * docs/gst/gstreamer-sections.txt:
11467 * gst/gstconfig.h.in:
11468 More docs for configuration options, add docs to gtk-doc.
11470 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11473 * gst/gstconfig.h.in:
11474 * win32/common/config.h:
11475 Fix build when disabling tracing (fixes #344016). Also start to document
11476 the defines that disable the sub-systems.
11478 2006-07-10 Edward Hervey <edward@fluendo.com>
11480 * gst/gst.c: (ensure_current_registry_forking):
11481 let's make valgrind happy...
11483 2006-07-09 Wim Taymans <wim@fluendo.com>
11485 * gst/gstelement.c: (activate_pads),
11486 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11487 Better pad activation code: Reset the collect value too on resync.
11490 2006-07-09 Wim Taymans <wim@fluendo.com>
11492 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11493 (gst_pad_activate_push):
11494 Use some more macros where it makes sense.
11495 Allow pad mode switching instead of asserting. When a pad
11496 is activated in one mode and we activate it in another,
11497 deactivate it first before activating it in a different mode.
11500 2006-07-08 Andy Wingo <wingo@pobox.com>
11502 * tools/gst-launch.c (main): Handle err == NULL.
11504 * gst/gst.c (init_post, ensure_current_registry)
11505 (ensure_current_registry_forking)
11506 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11507 factoring out the registry scanning into separate functions. Don't
11508 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11509 Better environment var name/interface suggestions accepted.
11511 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11513 * gst/gstobject.c: (gst_object_set_name_default),
11514 (gst_object_set_name):
11515 Random micro-optimisation: don't use a hash table
11516 with strings as keys and the usual strdup/strcmp
11517 involved, but rather just use the GQuark of the
11518 type name as key, since it needs to be looked up
11519 anyway to get the type name string.
11521 * tests/check/gst/gstobject.c: (GST_START_TEST):
11524 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11526 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11527 (gst_bin_iterate_all_by_interface):
11528 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11529 GTypes are gulongs and thus the top 4 bytes might be cut
11530 off on some platforms when doing GPOINTER_TO_INT, leading
11531 to invalid GTypes and bad things happening (see RH bug #179654).
11532 Also add a check to make sure the type passed in is really
11535 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11540 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11544 * gst-element-check.m4:
11545 * gst-element-check.m4.in:
11546 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11547 instead of the unversioned gst-inspect (#324176, #168659).
11549 2006-07-06 Wim Taymans <wim@fluendo.com>
11551 * gst/gstmessage.h:
11552 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11555 2006-07-06 Wim Taymans <wim@fluendo.com>
11557 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11558 (gst_base_src_wait), (gst_base_src_update_length),
11559 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11560 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11561 (gst_base_src_loop), (gst_base_src_start),
11562 (gst_base_src_activate_pull):
11564 blocksize == 0 now means the default blocksize when working in push
11566 Remove some pointless asserts in _wait function.
11567 Fix offset/length calculations and EOS handling. We can now pull 0
11568 bytes as well, which is allowed.
11569 use _check_get_range() to decide if we can operate in _pull based
11571 Fix refcounting leak when check_get_range function was not
11573 API GstBaseSrc::blocksize range can be 0 too now (default)
11575 * tests/check/elements/filesrc.c: (GST_START_TEST),
11577 Added check to test _get_range() behaviour.
11579 2006-07-06 Wim Taymans <wim@fluendo.com>
11581 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11582 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11583 (gst_pad_pull_range):
11585 Lots of comments and docs added to the pad functions.
11586 Flesh out the expected behaviour of the get_range() functions.
11588 2006-07-06 Wim Taymans <wim@fluendo.com>
11593 * gst/gstiterator.h:
11597 Remove comma at end of enumerator list.
11599 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11601 * win32/common/libgstbase.def:
11602 * win32/common/libgstdataprotocol.def:
11603 * win32/common/libsgtreamer.def:
11604 Add new exported functions.
11606 2006-07-05 Wim Taymans <wim@fluendo.com>
11608 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11609 Add some more docs here and there.
11611 2006-07-05 Wim Taymans <wim@fluendo.com>
11613 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11614 (gst_base_sink_loop), (gst_base_sink_get_position):
11615 When operating in pull mode update the offset so that we
11618 2006-07-05 Wim Taymans <wim@fluendo.com>
11620 * gst/gstregistryxml.c: (read_string):
11621 Avoid strdup. (will happen in libxml, but hey!)
11624 Add some more docs.
11626 2006-07-05 Wim Taymans <wim@fluendo.com>
11628 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11629 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11630 (gst_buffer_suite):
11631 No point in checking if the size of the subbuffer > 0, the
11632 code handles it correclty as demonstrated by unit test.
11633 Also add a unit test for the zero sized _new_and_alloc and
11634 _copy. Fixes #346663.
11636 2006-07-05 Wim Taymans <wim@fluendo.com>
11638 * libs/gst/base/gstbasetransform.c:
11639 (gst_base_transform_prepare_output_buffer),
11640 (gst_base_transform_buffer_alloc),
11641 (gst_base_transform_handle_buffer):
11642 Make sure the buffer we pass to transform_ip has a refcount of
11643 1 and thus is writable. Fixes #343196
11645 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11647 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11648 (gst_file_src_init), (gst_file_src_set_property),
11649 (gst_file_src_get_property), (gst_file_src_map_region):
11650 * plugins/elements/gstfilesrc.h:
11651 Add "sequential" property, off by default, to use madvise and hint
11652 to the kernel that sequential access is desired.
11653 Touch all retrieved pages by default to ensure they are pulled
11654 into memory. (Closes #345720)
11656 2006-07-03 Wim Taymans <wim@fluendo.com>
11658 * docs/design/part-block.txt:
11659 * docs/design/part-dynamic.txt:
11660 Small docs updates.
11662 2006-07-03 Wim Taymans <wim@fluendo.com>
11664 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11665 (gst_caps_unref), (gst_static_caps_get),
11666 (gst_caps_append_structure):
11667 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11668 Use GSlice when the glib we build against is >= 2.10
11670 2006-07-03 Wim Taymans <wim@fluendo.com>
11672 * gst/gstelement.c: (gst_element_pads_activate):
11673 Small cleanup in pad activation code.
11675 2006-07-03 Wim Taymans <wim@fluendo.com>
11677 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11679 * gst/gst-i18n-app.h:
11680 * gst/gst-i18n-lib.h:
11681 * tools/gst-inspect.c: (print_signal_info):
11682 The attached patch will make the inclusion of gettext.h unconditional in
11683 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11684 libintl.h in tools/gst-inspect.c.
11685 This allows use of --disable-nls again and fixes #344642.
11687 2006-07-03 Edward Hervey <edward@fluendo.com>
11689 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11690 Implement pad blocking on events according to part-block.txt.
11691 More comments on behaviour.
11692 * tests/check/gst/gstevent.c: (test_event):
11693 Send event to peer pad of blocked pad (else it will block).
11695 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11697 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11698 (gst_check_run_suite):
11699 if we get the wrong message, give us the types as string
11700 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11702 * tests/check/elements/filesrc.c: (GST_START_TEST):
11703 add a test for trying to open a non-existing file
11705 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11707 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11708 add a test for adding self
11710 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11712 * libs/gst/check/gstcheck.h:
11713 add some assert_ as alias for fail_unless_*
11714 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11715 increase test coverage
11717 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11720 include lcov.mak for lcov coverage generation
11721 * tools/Makefile.am:
11724 2006-07-02 Edward Hervey <edward@fluendo.com>
11726 * tests/check/elements/.cvsignore:
11729 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11732 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11733 * tests/check/Makefile.am:
11734 clean up gcov files
11736 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11738 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11739 remove gst_caps_simplify; it was not declared and not used
11740 and deprecated in 0.8
11742 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11744 * docs/faq/gst-uninstalled:
11745 don't put empty paths on PYTHONPATH
11746 * docs/gst/gstreamer-sections.txt:
11747 remove some symbols that are not there
11749 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11751 * gst/gstcaps.c: (gst_caps_compare_structures):
11753 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11754 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11757 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11759 * libs/gst/dataprotocol/Makefile.am:
11760 build dataprotocol test by linking to the lib, instead of
11761 compiling the source, so we get coverage
11762 * tests/check/Makefile.am:
11763 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11764 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11765 add a test for filesrc
11767 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11769 * tests/check/gst/gststructure.c: (GST_START_TEST),
11770 (gst_structure_suite):
11771 Push coverage from 59.04% to 70.00%
11773 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11775 * tests/check/Makefile.am:
11776 gst-inspect every element; this makes sure that we also get
11777 coverage on element's get/set functions
11779 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11782 set CFLAGS and friends to -O0 if gcov is being used
11785 * libs/gst/base/Makefile.am:
11786 * libs/gst/check/Makefile.am:
11787 * libs/gst/controller/Makefile.am:
11788 * libs/gst/dataprotocol/Makefile.am:
11789 * libs/gst/net/Makefile.am:
11790 * plugins/elements/Makefile.am:
11791 * plugins/indexers/Makefile.am:
11792 add makefile rules to generate gcov data and clean up
11793 * tests/check/Makefile.am:
11794 add a coverage target that generates an html overview
11797 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11799 * tests/check/elements/fakesink.c:
11800 * tests/check/elements/fakesrc.c:
11801 * tests/check/elements/fdsrc.c:
11802 * tests/check/elements/identity.c:
11803 * tests/check/generic/sinks.c: (gst_sinks_suite):
11804 * tests/check/generic/states.c:
11805 * tests/check/gst/gst.c:
11806 * tests/check/gst/gstabi.c:
11807 * tests/check/gst/gstbin.c:
11808 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11809 * tests/check/gst/gstbus.c: (gst_bus_suite):
11810 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11811 * tests/check/gst/gstelement.c:
11812 * tests/check/gst/gstevent.c: (gst_event_suite):
11813 * tests/check/gst/gstghostpad.c:
11814 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11815 * tests/check/gst/gstmessage.c: (gst_message_suite):
11816 * tests/check/gst/gstminiobject.c:
11817 * tests/check/gst/gstobject.c:
11818 * tests/check/gst/gstpad.c:
11819 * tests/check/gst/gstpipeline.c:
11820 * tests/check/gst/gstplugin.c:
11821 * tests/check/gst/gstquery.c: (gst_query_suite):
11822 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11823 * tests/check/gst/gststructure.c:
11824 * tests/check/gst/gstsystemclock.c:
11825 * tests/check/gst/gsttag.c:
11826 * tests/check/gst/gsttask.c: (gst_task_suite):
11827 * tests/check/gst/gstutils.c:
11828 * tests/check/gst/gstvalue.c:
11829 * tests/check/libs/adapter.c:
11830 * tests/check/libs/basesrc.c:
11831 * tests/check/libs/collectpads.c:
11832 * tests/check/libs/controller.c:
11833 * tests/check/libs/gdp.c: (gst_dp_suite):
11834 * tests/check/libs/gstnetclientclock.c:
11835 * tests/check/libs/gstnettimeprovider.c:
11836 * tests/check/libs/libsabi.c: (libsabi_suite):
11837 * tests/check/libs/typefindhelper.c:
11838 * tests/check/pipelines/cleanup.c:
11839 * tests/check/pipelines/parse-launch.c:
11840 * tests/check/pipelines/simple-launch-lines.c:
11841 * tests/check/pipelines/stress.c: (stress_suite):
11844 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11846 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11847 * libs/gst/check/gstcheck.h:
11848 create a macro and function so that the simple unit test
11849 case can be just one macro to create main()
11851 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11853 * gst/gstbin.c: (gst_bin_restore_thyself):
11854 * gst/gstxml.c: (gst_xml_make_element):
11855 Fix deserialisation from XML. Set parent manually
11856 instead of using gst_bin_add(), since gst_bin_add()
11857 will unlink all pads of the element being added.
11860 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11862 Patch by: Peter Kjellerstedt <pkj at axis com>
11864 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11865 Fix missing g_strdup() and double free when using the
11866 --gst-plugin-load command line option (#346097).
11868 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11871 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11873 * libs/gst/net/gstnetclientclock.c:
11874 * libs/gst/net/gstnettimeprovider.c:
11875 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11877 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11879 * docs/manual/advanced-dataaccess.xml:
11880 Fix buffer probe example compilation in
11883 2006-06-22 Edward Hervey <edward@fluendo.com>
11885 * gst/gstelement.c: (gst_element_pads_activate):
11886 We need to deactivate src pads first and then sink pads.
11887 The reason is the src pads might be blocking while holding the streaming
11888 lock, so we need to deactivate them first so that deactivating the sink
11889 pads doesn't block (since it will require the streaming lock).
11891 2006-06-22 Wim Taymans <wim@fluendo.com>
11893 * libs/gst/base/gstbasetransform.c:
11894 (gst_base_transform_buffer_alloc):
11895 Forgot to remove two unneeded unrefs.
11896 Simplify a check _is_equal allready checks the obvious case.
11898 2006-06-22 Wim Taymans <wim@fluendo.com>
11900 * docs/design/part-block.txt:
11901 Some docs about what pad_block should do.
11903 2006-06-22 Wim Taymans <wim@fluendo.com>
11905 * gst/gstcaps.c: (gst_caps_replace):
11906 Fix crasher when passed NULL. Doc clarification.
11907 Optimize for the trivial case.
11909 * gst/gstpipeline.c: (gst_pipeline_change_state):
11912 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11913 Small documentation cleanup.
11915 * libs/gst/base/gstbasetransform.c:
11916 (gst_base_transform_buffer_alloc):
11917 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11918 is what we need and it avoids a whole lot of redundant
11919 refcount operations.
11921 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11923 Patch by: Philip Jägenstedt <philip at lysator liu se>
11925 * docs/manual/advanced-dataaccess.xml:
11926 Fix 'Embedding static elements' section to use
11927 GST_PLUGIN_DEFINE_STATIC (#345607).
11929 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11931 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11932 Attempt to 'fix' spuriously failing test case: it seems like the
11933 timeout of half a second is simply too small when the system is under
11934 load otherwise, and the timeout doesn't really seem to serve any
11935 particular purpose here. Give the pipeline a few seconds to preroll
11936 first, and then give it another half a second to go from PAUSED to
11937 PLAYING and marshal the message into the main thread.
11939 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11941 * tools/gst-feedback-m.m:
11942 Don't only use unversioned tools, try versioned tools as well
11945 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11947 * gst/gstbus.c: (gst_bus_class_init):
11948 Fix some typos, make docs more explicit.
11950 2006-06-20 Wim Taymans <wim@fluendo.com>
11952 * tests/check/gst/gstghostpad.c: (block_callback),
11953 (GST_START_TEST), (gst_ghost_pad_suite):
11954 Added some more ghostpad tests, mainly blocking
11957 2006-06-16 Wim Taymans <wim@fluendo.com>
11959 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11960 (gst_file_sink_close_file), (gst_file_sink_do_seek),
11961 (gst_file_sink_event), (gst_file_sink_render):
11962 * plugins/elements/gstfilesink.h:
11963 Check if we can seek in the file instead of assuming
11964 we always can. Post an error when we are asked to seek in a
11965 non-seekable file (like a fifo). Fixes #343312.
11968 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11970 * tools/gst-launch.1.in:
11971 Un-garble (fourcc) bit in filtered caps section.
11973 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11975 * docs/manual/advanced-autoplugging.xml:
11976 * docs/manual/basics-helloworld.xml:
11977 * docs/manual/highlevel-components.xml:
11978 Don't leak bus reference in sample code.
11980 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
11983 Add default for new --enable-plugin-docs switch.
11986 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11989 * docs/Makefile.am:
11990 Use new ENABLE_PLUGIN_DOCS conditional.
11992 2006-06-14 Wim Taymans <wim@fluendo.com>
11994 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11995 Make it clear with a FIXME and a real define what the #if 0
11996 previously disabled.
11998 2006-06-14 Wim Taymans <wim@fluendo.com>
12000 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12001 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12002 * libs/gst/base/gstbasetransform.c:
12003 (gst_base_transform_sink_eventfunc):
12004 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12005 Don't randomly and silently reset a segment when the format
12006 changes as this is a bug somewhere upstream. Fixes #330379.
12008 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12010 Patch by: Wouter Paesen <wouter at kangaroot net>
12012 * libs/gst/controller/gstcontroller.c:
12013 (gst_controlled_property_new):
12014 Fix controlling of float properties (#344849).
12016 * tests/check/libs/controller.c:
12017 (gst_test_mono_source_get_property),
12018 (gst_test_mono_source_set_property),
12019 (gst_test_mono_source_class_init), (GST_START_TEST):
12020 While we're at it, add some float stuff to unit test.
12022 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12025 * docs/images/gdp-header.svg:
12027 * docs/libs/Makefile.am:
12028 * docs/libs/gdp-header.png:
12029 * libs/gst/dataprotocol/dataprotocol.c:
12030 add it to the API docs
12031 * docs/manual/intro-motivation.xml:
12034 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12036 * gst/gst.c: (scan_and_update_registry), (init_post):
12037 If the fork()'ed child process can't write the updated registry cache
12038 file to disk for some reason, make it exit with a failure exit code,
12039 so that the parent can then re-scan the plugins itself and update the
12040 registry structures in memory and work with that (rather than failing
12041 when creating elements because seemingly no plugins are available).
12042 Refactor registry scanning code into separate function for this and
12043 also separate fork() and non-fork() code paths. Fixes #344748.
12045 2006-06-13 Wim Taymans <wim@fluendo.com>
12047 * docs/manual/advanced-dataaccess.xml:
12048 Fix wrong PluginDesc. Fixes #344755.
12050 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12052 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12053 Fix silly bug that prevented us from creating
12054 ~/.gstreamer-0.10 and writing the registry in one
12055 go (the first call to g_mkstemp() would overwrite the
12056 placeholder in the template string, so the second call
12057 to g_mkstemp() after creating the missing directory
12058 would then error out with 'invalid argument').
12060 2006-06-13 Edward Hervey <edward@fluendo.com>
12062 * gst/gst.c: (init_post):
12065 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12067 * gst/glib-compat-private.h:
12068 * gst/glib-compat.c:
12069 * gst/glib-compat.h:
12070 * gst/gstvalue.c: (gst_value_serialize_flags):
12071 remove GLib 2.6 compatibility code
12073 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12075 * gst/parse/Makefile.am:
12076 Fix build with 'make -j N' even more (#340016).
12078 2006-06-12 Wim Taymans <wim@fluendo.com>
12080 * docs/gst/gstreamer-sections.txt:
12083 2006-06-12 Wim Taymans <wim@fluendo.com>
12085 * gst/gstsegment.c: (gst_segment_set_duration),
12086 (gst_segment_set_last_stop), (gst_segment_set_seek),
12087 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12088 (gst_segment_to_running_time), (gst_segment_clip):
12089 Use G_UNLIKELY to help the compiler a bit.
12091 2006-06-12 Wim Taymans <wim@fluendo.com>
12093 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12095 * gst/gstevent.c: (gst_event_get_type):
12096 * gst/gstmessage.c:
12097 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12099 constify quark registration strings. Fixes #344115
12100 Avoid unneeded type checking is _pad_push() by internally
12101 calling gst_pad_chain_unchecked().
12103 2006-06-12 Wim Taymans <wim@fluendo.com>
12105 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12106 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12107 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12108 (gst_buffer_is_span_fast), (gst_buffer_span):
12109 Init _type for consistency.
12110 Use _FLAGS macro to avoid type check.
12111 Avoid unneeded type checks in subbufer code.
12113 2006-06-12 Wim Taymans <wim@fluendo.com>
12115 * gst/gst.c: (gst_debug_help):
12116 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12117 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12118 (gst_plugin_feature_list_free):
12119 * gst/gstregistry.c: (gst_registry_add_plugin),
12120 (gst_registry_add_feature), (gst_registry_plugin_filter),
12121 (gst_registry_feature_filter), (gst_registry_find_plugin),
12122 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12123 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12124 * gst/gstregistryxml.c: (load_feature),
12125 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12126 * gst/gstminiobject.c: (gst_mini_object_unref),
12127 (gst_mini_object_replace), (gst_value_mini_object_free),
12128 (gst_value_mini_object_copy):
12129 Use _CAST macros to avoid unneeded type checking.
12130 Added some more G_UNLIKELY.
12132 2006-06-12 Wim Taymans <wim@fluendo.com>
12135 Avoid unneeded type checking.
12136 API: GST_BUFFER_IS_DISCONT
12138 * gst/gstminiobject.h:
12139 Avoid type check in flag accessor.
12141 * gst/gstelementfactory.h:
12143 * gst/gstpluginfeature.h:
12145 API: GST_ELEMENT_FACTORY_CAST
12146 API: GST_PLUGIN_CAST
12147 API: GST_PLUGIN_FEATURE_CAST
12149 2006-06-12 Wim Taymans <wim@fluendo.com>
12151 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12152 (gst_object_unref):
12153 Add G_UNLIKELY in type registration.
12154 Avoid type check in _ref/_unref since that is also
12157 2006-06-12 Wim Taymans <wim@fluendo.com>
12159 * gst/gsterror.c: (gst_g_error_get_type):
12160 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12161 (gst_static_pad_template_get_type):
12162 * gst/gsttaglist.c: (gst_tag_list_get_type):
12163 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12164 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12165 * gst/gsturi.c: (gst_uri_handler_get_type):
12166 * gst/gstvalue.c: (gst_date_get_type):
12167 * gst/gstxml.c: (gst_xml_get_type):
12168 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12169 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12170 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12171 Add G_UNLIKELY in type registration.
12173 2006-06-12 Wim Taymans <wim@fluendo.com>
12175 * tools/gst-inspect.c: (print_signal_info):
12176 Properly print enum values.
12178 2006-06-12 Wim Taymans <wim@fluendo.com>
12180 * gst/gstinfo.c: (gst_debug_set_active),
12181 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12183 Add some G_[UN]LIKELY.
12184 Maintain __gst_debug_min to avoid formatting the arguments of
12185 debug messages that will be dropped anyway to avoid a lot of
12186 overhead from the debugging system.
12188 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12191 * po/POTFILES.skip:
12192 add missing files containing translatable strings, tell intltool about
12195 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12197 * tests/check/libs/.cvsignore:
12198 add test-binary to ignore list
12200 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12202 * docs/libs/gstreamer-libs-docs.sgml:
12203 reorder (put dp into a chapter) and indent
12205 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12210 === release 0.10.8 ===
12212 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12215 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12217 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12219 * gst/gst.c: (init_post):
12220 move pid declaration to declaration block
12222 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12224 * gst/gst.c: (init_post):
12225 use _exit() instead of exit() in our forked child; this ensures
12226 that none of the registered exit handlers from whatever is using
12227 GStreamer get executed. This fixes gnome-mixer-applet failing
12228 to load, because ORBit would shut down.
12229 Spotted by: Edward Hervey <edward@fluendo.com>
12230 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12233 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12238 === release 0.10.7 ===
12240 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12243 releasing 0.10.7, "Soepeke, ik zie ou"
12245 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12268 * win32/common/config.h:
12269 0.10.6.2 prerelease
12271 2006-06-07 Wim Taymans <wim@fluendo.com>
12273 * gst/gstindex.c: (gst_index_gtype_resolver):
12274 * tools/gst-xmlinspect.c: (print_plugin_info):
12275 Fix leak spotted by coverity checker. Fixes #343827
12276 Fix another other leak found by paolo borelli.
12278 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12280 * libs/gst/dataprotocol/dataprotocol.c:
12281 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12282 (gst_dp_version_get_type), (gst_dp_init),
12283 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12284 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12285 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12286 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12287 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12288 (gst_dp_packetizer_free):
12289 * libs/gst/dataprotocol/dataprotocol.h:
12290 API: add a GstDPPacketizer object, and create/free functions
12291 API: add GstDPVersion enum
12292 Add 1.0 event function that uses the string serialization
12293 Serialize more useful buffer flags
12296 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12298 * tests/check/Makefile.am:
12299 * tests/check/gst/gstabi.c:
12300 * tests/check/gst/struct_ppc64.h:
12301 * tests/check/libs/libsabi.c:
12302 * tests/check/libs/struct_ppc64.h:
12303 add ppc64 structure sizes
12305 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12307 * tests/check/Makefile.am:
12308 * tests/check/gst/gstabi.c:
12309 * tests/check/gst/struct_x86_64.h:
12310 * tests/check/libs/libsabi.c:
12311 * tests/check/libs/struct_x86_64.h:
12312 generate and add structure size lists for x86_64
12314 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12316 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12317 * libs/gst/check/gstcheck.h:
12318 factor out the method from tests that checks size of structures,
12319 and add code to generate the header containing these sizes
12320 * tests/check/gst/gstabi.c: (GST_START_TEST):
12321 * tests/check/gst/struct_i386.h:
12322 * tests/check/libs/libsabi.c: (GST_START_TEST):
12323 * tests/check/libs/struct_i386.h:
12326 2006-06-06 Michael Smith <msmith@fluendo.com>
12328 * gst/gstsegment.h:
12329 Don't use c++-style comments, fixes #343929
12331 2006-06-05 Edward Hervey <edward@fluendo.com>
12334 plugin_paths is not used if we build without registry support.
12336 * gst/gstsegment.c: (gst_segment_copy):
12337 _copy() was always returning NULL...
12339 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12341 * libs/gst/dataprotocol/dataprotocol.c:
12342 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12343 (gst_dp_packet_from_event):
12344 factor out CRC code
12346 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12348 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12349 make sure we unset caps
12351 2006-06-02 Michael Smith <msmith@fluendo.com>
12353 * libs/gst/check/gstcheck.c: (gst_check_init),
12354 (gst_check_chain_func):
12355 * libs/gst/check/gstcheck.h:
12356 Add a cond/mutex to the check support lib, signal this whenever we
12357 add to the buffers list. This will allow tests to not busy-wait on
12360 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12362 * libs/gst/dataprotocol/dataprotocol.c:
12363 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12364 (gst_dp_packet_from_event):
12365 factor out some common header init code
12367 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12369 * docs/libs/gstreamer-libs-sections.txt:
12370 * docs/libs/tmpl/gstdataprotocol.sgml:
12371 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12372 * libs/gst/dataprotocol/dataprotocol.h:
12373 API: make gst_dp_crc() public
12375 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12377 * plugins/indexers/gstindexers.c: (plugin_init):
12378 conditionally register fileindexer (fixes #343598)
12380 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12382 * gst/gsttagsetter.h:
12383 Can't cast ifaces to a class
12385 * libs/gst/net/gstnetclientclock.h:
12386 * libs/gst/net/gstnettimeprovider.h:
12387 * plugins/elements/gstfakesink.h:
12388 * plugins/elements/gstfakesrc.h:
12389 * plugins/elements/gstfdsink.h:
12390 * plugins/elements/gstfdsrc.h:
12391 * plugins/elements/gstfilesink.h:
12392 * plugins/elements/gstfilesrc.h:
12393 * plugins/elements/gstidentity.h:
12394 * plugins/elements/gstqueue.h:
12395 * plugins/elements/gsttee.h:
12396 * plugins/indexers/gstfileindex.c:
12397 * plugins/indexers/gstmemindex.c:
12398 * tests/old/examples/plugins/example.h:
12399 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12401 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12403 * libs/gst/dataprotocol/dataprotocol.c:
12404 (gst_dp_header_from_buffer):
12405 make sure we zero the whole ABI-compatible area
12407 2006-06-01 Wim Taymans <wim@fluendo.com>
12409 Patch by: Alessandro Decina <alessandro at nnva dot org>
12411 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12412 Make sure the EOS flag is cleared from pads after a flush
12413 or stop. Fixes #343538.
12415 * tests/check/libs/collectpads.c: (GST_START_TEST),
12416 (gst_collect_pads_suite):
12417 Added test for collectpads reusage after EOS.
12419 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12422 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12423 * win32/common/libgstbase.def:
12424 export gst_collect_pads_set_flushing
12425 * win32/common/libgstreamer.def:
12426 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12427 gst_value_fraction_multiply
12428 * win32/vs6/gst_inspect.dsp:
12429 add a link to intl.lib
12431 2006-05-30 Wim Taymans <wim@fluendo.com>
12433 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12434 (gst_collect_pads_chain):
12435 Handle the case where a pad is removed from the collection
12436 that could cause the other pads to become collectable.
12438 2006-05-30 Wim Taymans <wim@fluendo.com>
12440 * gst/gstelement.c:
12441 Clarify the use of _release_request_pad() and
12442 _get_request_pad() a bit better.
12444 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12445 (gst_adapter_take_buffer):
12446 Fix some doc and comment typos.
12448 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12450 * docs/gst/gstreamer-sections.txt:
12451 * docs/libs/gstreamer-libs-sections.txt:
12452 add declared symbols
12454 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12456 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12457 Add debug that can be enabled using a #define at the top of the file,
12458 for dumping stats about how late/early we were when waking up from
12459 waiting on the clock.
12461 2006-05-30 Wim Taymans <wim@fluendo.com>
12463 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12464 When rebuilding the pad list, don't leak the previous list.
12466 2006-05-30 Wim Taymans <wim@fluendo.com>
12468 Patch by: Lutz Mueller <lutz at topfrose dot de>
12470 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12471 (gst_base_src_get_query_types), (gst_base_src_update_length):
12472 Publish supported query types.
12473 Update last_stop field in get_range mode so the position
12474 query works. Fixes #342321.
12476 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12478 * docs/gst/gstreamer-sections.txt:
12479 * gst/gsttaglist.c: (_gst_tag_initialize):
12480 * gst/gsttaglist.h:
12481 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12483 2006-05-30 Wim Taymans <wim@fluendo.com>
12485 Patch by: Alessandro Decina <alessandro at nnva dot org>
12487 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12488 Unlock mutex when removing an unknown pad.
12491 * tests/check/Makefile.am:
12492 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12493 (push_event), (setup), (teardown), (GST_START_TEST),
12494 (gst_collect_pads_suite), (main):
12495 Added collecpads check, disabled for now as check crashes for
12498 2006-05-29 Wim Taymans <wim@fluendo.com>
12500 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12501 Don't leak pads lists.
12503 2006-05-29 Wim Taymans <wim@fluendo.com>
12505 * docs/libs/gstreamer-libs-sections.txt:
12506 * libs/gst/base/gstcollectpads.c:
12507 (gst_collect_pads_set_flushing_unlocked),
12508 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12509 (gst_collect_pads_stop):
12510 * libs/gst/base/gstcollectpads.h:
12511 API: gst_collect_pads_set_flushing()
12512 Added api to set the pads to flushing, useful for seeking
12513 code in elements using collectpads.
12514 Clear segment when receiving a flush.
12516 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12518 * gst/gst.c: (add_path_func), (init_post):
12519 Don't scan registry paths passed via --gst-plugin-path immediately
12520 (will crash, because absolutely nothing is set up and no types are
12521 registered etc.); do this later in init_post(). Fixes #343057.
12523 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12525 * gst/gst.c: (init_post):
12526 if we have fork, fork while reading/rebuilding the registry
12527 so the parent doesn't take the hit of having all plugins loaded
12528 in memory. Fixes #342777.
12530 Check if we have fork()
12531 * win32/common/config.h.in:
12534 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12536 * plugins/elements/gstelements.c:
12537 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12538 (gst_file_src_init), (gst_file_src_set_property),
12539 (gst_file_src_get_property), (gst_file_src_start):
12540 * plugins/elements/gstfilesrc.h:
12541 API: GstFileSrc::use-mmap
12543 Add a use-mmap property to enable easier testing of all code paths.
12544 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12545 in the absence of gnomevfssrc. (Closes #340501)
12547 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12549 * tools/gst-inspect.c:
12550 Add missing include, removes warning of ngettext not being defined on
12553 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12555 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12556 Handle NULL input and output pointers silently as a failed conversion,
12557 rather than g_warnings.
12559 2006-05-25 Wim Taymans <wim@fluendo.com>
12561 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12562 Initialize variable before using. Fixes #342820.
12564 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12566 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12567 Fix off-by-one bug that would only allow peeks of N-1 bytes
12568 from the start even if the buffer to typefind on contains
12569 in fact N bytes of data (makes vorbis typefinding from a
12570 vorbis identification header buffer work).
12572 * tests/check/Makefile.am:
12573 * tests/check/libs/.cvsignore:
12574 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12575 (gst_typefindhelper_suite), (main), (foobar_typefind),
12577 Add very basic unit test for gst_type_find_helper_for_buffer()
12578 that checks for the problem fixed above.
12580 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12582 * tools/gst-inspect.c: (print_interfaces),
12583 (print_element_properties_info), (print_element_list), (main):
12584 add more translatable strings
12586 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12588 Patch by: Julien Moutte <julien at moutte net>
12590 * docs/gst/gstreamer-sections.txt:
12591 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12593 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12594 (gst_fake_sink_preroll):
12595 * plugins/elements/gstfakesink.h:
12596 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12598 2006-05-23 Wim Taymans <wim@fluendo.com>
12600 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12602 Added _CUSTOM error and success GstFlowReturn that can be
12603 used be elements internally.
12604 Added macro to check for SUCCESS flowreturns.
12605 API: GST_FLOW_CUSTOM_SUCCESS
12606 API: GST_FLOW_CUSTOM_ERROR
12607 API: GST_FLOW_IS_SUCCESS
12609 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12610 Added check for GstFlowReturn sanity.
12612 2006-05-23 Wim Taymans <wim@fluendo.com>
12614 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12616 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12617 (gst_collect_pads_event):
12618 clear/reset segment info in FLUSH_STOP.
12621 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12623 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12624 (gst_collect_pads_check_collected):
12625 Flush queued buffer on _stop(), fixes playing again (#342454)
12627 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12629 * tests/check/gst/gststructure.c: (GST_START_TEST),
12630 (gst_structure_suite):
12631 add a test for a complete structure
12633 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12635 * docs/faq/developing.xml:
12636 * docs/faq/faq.xml:
12637 * docs/faq/troubleshooting.xml:
12638 * docs/faq/using.xml:
12639 Some minor FAQ updates that won't change the fact that
12640 our FAQ is badly structured, full of information hardly
12641 anyone new to GStreamer needs to know and lacking lots
12642 of information people constantly ask for.
12644 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12646 * gst/gstpad.c: (gst_pad_set_caps):
12647 Short-circuit gst_pad_set_caps if setting the existing
12648 caps pointer again, and avoid printing debug and
12649 reffing/unreffing the caps.
12651 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12652 There's actually no need to set the caps before pushing -
12653 the acceptcaps method will handle it anyway.
12655 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12657 * docs/gst/gstreamer-sections.txt:
12658 * win32/common/libgstreamer.def:
12659 * gst/gstutils.c: (gst_element_seek_simple):
12661 API: add gst_element_seek_simple() (#342238).
12663 2006-05-18 Edward Hervey <edward@fluendo.com>
12665 * gst/gsttypefind.c: (gst_type_find_get_type):
12666 * gst/gsttypefind.h:
12667 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12668 registered for GstTypeFind pointers. This allows wrapping the structure
12669 in bindings (i.e. gst-python).
12671 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12673 * gst/gsttagsetter.c:
12674 Docs additions and fixes (see #339918).
12676 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12678 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12679 The caps intersection algorithm can produce multiple copies of the
12680 caps. Until that is fixed, we need to simplify the result to be
12681 sure whether the allowed caps are fixed or not.
12683 * plugins/elements/gstqueue.c: (gst_queue_init),
12684 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12685 (gst_queue_push_one):
12686 Proxied buffer alloc should not set the caps on the source pad.
12687 When pushing buffers, we always accept the caps change that triggers.
12688 This prevents negotiation errors caused by caps changing mid-stream
12689 and then being refused on our source pad (because upstream is now
12690 refusing those caps).
12692 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12694 * tests/examples/helloworld/helloworld.c: (main):
12695 Must plug audioconvert and audioresample between decoder
12698 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12700 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12701 (load_feature), (load_plugin):
12702 Allow empty strings for some of the plugin fields so we don't
12703 drop valid plugin entries that were written out correctly
12706 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12708 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12709 Use g_remove and g_rename instead of remove and rename that don't
12710 handle utf8 characters. rename was failing for users who had specific
12711 characters in their name then the registry was built at each
12713 * win32/vs6/gst_inspect.dsp:
12714 * win32/vs6/gst_launch.dsp:
12715 * win32/vs6/libgstbase.dsp:
12716 * win32/vs6/libgstcoreelements.dsp:
12717 * win32/vs6/libgstreamer.dsp:
12718 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12719 build of libgstreamer and clean unused libraries in projects link
12722 2006-05-17 Edward Hervey <edward@fluendo.com>
12724 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12725 The queue is not responsible for pushing an EOS when receiving a fatal
12726 flow error. It's up to the real element driving the pipeline to do that.
12728 2006-05-16 Edward Hervey <edward@fluendo.com>
12730 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12731 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12732 buffer returned a fatal error. It should just send an EOS and stop
12734 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12735 when pushing buffers on the queue and will be able to handle the event.
12737 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12739 * docs/manual/basics-bins.xml:
12740 * docs/manual/basics-init.xml:
12741 Fix typos and minor errors in sample code (#341856).
12743 2006-05-16 Wim Taymans <wim@fluendo.com>
12745 * docs/design/part-qos.txt:
12746 Fix indexes in formulas to make more sense.
12748 2006-05-15 Wim Taymans <wim@fluendo.com>
12750 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12751 Don't report POSITION based on clock time if sync is
12752 disabled in a sink.
12754 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12757 Add cast to make compiler happy - refcount variable was a gint
12758 in GstObject but is a guint in GObject and g_atomic_int_get()
12761 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12763 * gst/parse/Makefile.am:
12764 chain commands using &&, which also makes parallel make work
12766 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12768 * docs/gst/gstreamer-sections.txt:
12771 * gst/gstmessage.h:
12774 === release 0.10.6 ===
12776 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12779 releasing 0.10.6, "Take the cannoli"
12781 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12783 * tools/gst-launch.c: (print_tag):
12784 Fix use of uninitialized variable in the hypothetical
12785 case that some broken plugin creates a GST_TAG_IMAGE
12786 tag containing a NULL buffer (#341667).
12788 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12790 * tools/gst-launch.c: (print_tag):
12791 Print something more intelligible for image tags when
12792 using the -t switch (#341556).
12794 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12799 define GST_MAJORMINOR so we have it available in win32/common/config.h
12800 Possibly remove it from our Makefile.am files later
12801 * win32/common/config.h:
12802 * win32/common/config.h.in:
12803 added GST_MAJORMINOR
12804 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12805 * win32/common/gstversion.h:
12808 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12811 Update win32 files listing.
12812 * win32/common/gstversion.h:
12813 Add GST_MAJORMINOR definition.
12814 * win32/common/libgstreamer.def:
12815 Add new exported functions.
12817 2006-05-12 Michael Smith <msmith@fluendo.com>
12819 * gst/gstplugin.c: (gst_plugin_load_file):
12820 If an so file has no plugin entry point, unload the module.
12822 2006-05-11 Wim Taymans <wim@fluendo.com>
12824 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12825 (gst_queue_set_property):
12826 Don't forget to signal the _chain or _loop function
12827 when the queue size or thresholds change since that might
12828 cause them to make progres again.
12830 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12832 * gst/gstclock.c: (gst_clock_class_init):
12833 * gst/gstindex.c: (gst_index_class_init):
12834 * gst/gstobject.c: (gst_object_class_init):
12835 * gst/gstpad.c: (gst_pad_class_init):
12836 * gst/gstpipeline.c: (gst_pipeline_class_init):
12837 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12838 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12839 * libs/gst/base/gstbasetransform.c:
12840 (gst_base_transform_class_init):
12841 * libs/gst/net/gstnetclientclock.c:
12842 (gst_net_client_clock_class_init):
12843 * libs/gst/net/gstnettimeprovider.c:
12844 (gst_net_time_provider_class_init):
12845 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12846 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12847 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12848 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12849 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12850 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12851 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12852 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12853 * plugins/elements/gsttee.c: (gst_tee_class_init):
12854 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12855 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12856 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12858 2006-05-11 Wim Taymans <wim@fluendo.com>
12860 * gst/gstbuffer.c: (_gst_buffer_initialize):
12861 Register subbufer along with the buffer type so that
12862 it does not accidentally gets registered from N
12863 different streaming threads in a non threadsafe way.
12865 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12869 * gst/gstmessage.h:
12870 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12871 gst_event_ref() and gst_message_ref() functions again
12872 (ugly hack, please do fix if there's a better way besides
12873 overrides.txt, which doesn't seem to work).
12875 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12877 * libs/gst/check/gstcheck.h:
12878 add an assert for setting state to avoid lots of repetitive code
12881 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12883 * gst/gstvalue.c: (gst_value_serialize_flags):
12884 fix a leak if no flags are set
12885 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12888 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12890 * docs/manual/basics-pads.xml:
12891 Expand a bit on caps and filtered links and update
12892 examples that were still using the no longer existing
12893 gst_pad_link_filtered() (#338206).
12895 2006-05-10 Wim Taymans <wim@fluendo.com>
12897 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12898 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12899 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12900 (gst_collect_pads_stop):
12901 * libs/gst/base/gstcollectpads.h:
12902 No need to call _stop in _finalize.
12903 Iterate the main pad list in _finalize.
12904 Added some more debug.
12905 Free lists and data in the right order.
12906 Also free data whem doing _remove_pad when stopped for
12907 backward compatibility protect ::started with PAD_LOCK as
12910 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12912 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12913 (gst_structure_parse_value):
12915 rename a method so that it actually says what it does better
12917 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12919 * gst/gstevent.c: (_gst_event_initialize):
12920 * gst/gstformat.c: (_gst_format_initialize):
12921 make sure some essential types used by events are registered
12922 as part of gst_init()
12923 * gst/gstvalue.c: (gst_value_serialize_flags):
12924 if no flags are set, serialize them to a value that represents NONE
12925 so that deserializing them works
12926 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12927 add tests for serialization and deserialization of flags
12929 2006-05-10 Wim Taymans <wim@fluendo.com>
12931 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12932 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12933 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12934 (gst_collect_pads_event), (gst_collect_pads_chain):
12937 Catch and return errors from the collect function
12938 Refuse data on eos pads.
12940 2006-05-10 Edward Hervey <edward@fluendo.com>
12942 * gst/gstinterface.h:
12943 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12944 GInterface type checking.
12945 They were previously using non-defined macros.
12947 2006-05-09 Wim Taymans <wim@fluendo.com>
12949 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12950 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12951 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12952 (gst_collect_pads_start), (gst_collect_pads_stop),
12953 (gst_collect_pads_peek), (gst_collect_pads_pop),
12954 (gst_collect_pads_available), (gst_collect_pads_read),
12955 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12956 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12957 (gst_collect_pads_chain):
12958 * libs/gst/base/gstcollectpads.h:
12959 Clean up the mess that is collectpads, add comments and
12960 FIXMEs where needed.
12961 Maintain a separate pad list so we can add pads while
12962 collecting the other ones. For this we need a new separate
12964 Fix memory leak in finalize.
12965 Refactor some weird code to set/unset pad flushing flags, mark
12967 Don't crash in _available, _read, _flush when we're EOS.
12969 * tests/check/libs/.cvsignore:
12970 Ignore adapter check binary.
12972 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12974 * gst/gstindex.c: (gst_index_resolver_get_type):
12975 * plugins/elements/gstfakesink.c:
12976 (gst_fake_sink_state_error_get_type):
12977 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12978 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12979 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12980 Const-ify GEnumValue arrays.
12982 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12984 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12985 Add test case for flags + gst_buffer_make_metadata_writable().
12987 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12989 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12990 gst_buffer_make_metadata_writable() should maintain the
12991 buffer flags (those that make sense at least) (see #340859).
12993 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12995 * tools/gst-inspect.c:
12996 * tools/gst-launch.c:
12997 * tools/gst-typefind.c:
12998 * tools/gst-xmlinspect.c:
13000 Fix up includes: need to include stdlib.h in tools.h for exit().
13002 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13004 * gst/gsttaglist.c: (_gst_tag_initialize):
13005 * gst/gsttaglist.h:
13006 API: add GST_TAG_IMAGE tag (#340721).
13008 2006-05-08 Wim Taymans <wim@fluendo.com>
13011 Added some docs for the segment query.
13013 2006-05-08 Wim Taymans <wim@fluendo.com>
13015 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13016 (gst_base_src_loop), (gst_base_src_change_state):
13017 Always push non-flushing serialized events in the streaming
13020 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13022 * gst/gsterror.c: (_gst_stream_errors_init):
13023 Add a missing error string.
13025 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13027 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13028 Add applied_rate to the debug
13030 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13031 Copy applied_rate into the outgoing NEWSEGMENT event
13033 2006-05-08 Wim Taymans <wim@fluendo.com>
13035 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13037 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13038 (gst_base_sink_change_state):
13039 call ::unlock before taking the PREROLL_LOCK so we can safely
13040 handle elements that lock in ::render.
13043 2006-05-08 Edward Hervey <edward@fluendo.com>
13045 * autogen.sh: (CONFIGURE_DEF_OPT):
13046 Darwin's libtoolize is in fact called glibtoolize.
13047 Adding glibtoolize to the list of accepted names for libtoolize.
13049 2006-05-08 Wim Taymans <wim@fluendo.com>
13051 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13052 Unify error handling, don't post an error message
13053 when a push() returns EOS but perform our normal EOS
13054 handling code. Fixes #340772.
13056 2006-05-08 Wim Taymans <wim@fluendo.com>
13058 * docs/design/part-overview.txt:
13059 Make upsteam/downstream concepts more clear.
13060 Give an example of serialized/non-serialized events.
13062 * docs/design/part-events.txt:
13063 * docs/design/part-streams.txt:
13064 Mention applied_rate.
13066 * docs/design/part-trickmodes.txt:
13067 Mention applied rate, flesh out some more use cases.
13069 * gst/gstevent.c: (gst_event_new_new_segment),
13070 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13071 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13072 (gst_event_parse_tag), (gst_event_new_buffer_size),
13073 (gst_event_parse_buffer_size), (gst_event_new_qos),
13074 (gst_event_parse_qos), (gst_event_parse_seek),
13075 (gst_event_new_navigation):
13077 Add applied_rate field to NEWSEGMENT event.
13078 API: gst_event_new_new_segment_full()
13079 API: gst_event_parse_new_segment_full()
13081 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13082 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13083 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13084 * gst/gstsegment.h:
13085 Add applied_rate to GstSegment structure.
13086 Make calculation of stream_time and running_time more correct
13087 wrt rate/applied_rate.
13088 Add some more docs.
13089 API: GstSegment::applied_rate field
13090 API: gst_segment_set_newsegment_full();
13092 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13093 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13094 * libs/gst/base/gstbasetransform.c:
13095 (gst_base_transform_sink_eventfunc),
13096 (gst_base_transform_handle_buffer):
13097 Parse and use applied_rate in the GstSegment field.
13099 * tests/check/gst/gstevent.c: (GST_START_TEST):
13100 Add check for applied_rate field.
13102 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13103 (gstsegments_suite):
13104 Add more checks for various GstSegment operations.
13106 2006-05-08 Wim Taymans <wim@fluendo.com>
13108 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13109 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13110 (gst_base_sink_get_position), (gst_base_sink_change_state):
13111 Store the sync time of the buffer end position separatly in a
13112 new variable eos_rtime so we can properly sync the EOS event.
13114 Fix the docs for gst_base_sink_set_qos_enabled().
13115 Don't set segment start to invalid value when we receive a
13116 non TIME newsegment.
13117 get closer to handling position reporting for negative rates
13120 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13123 Docs about how to print caps for debug purposes.
13125 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13126 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13128 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13130 * gst/gstelement.c:
13131 use full enum names and preprend a '%' in docs strings to make recent
13132 gtk-doc turn that into a link
13134 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13136 * docs/manual/basics-bins.xml:
13137 * docs/manual/basics-bus.xml:
13138 * docs/manual/basics-pads.xml:
13139 Some typo fixes, some additions, some clarifications.
13141 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13143 * tools/gst-inspect.c: (main):
13144 * tools/gst-launch.c: (main):
13145 * tools/gst-run.c: (main):
13146 * tools/gst-typefind.c: (main):
13147 * tools/gst-xmlinspect.c: (main):
13148 Use the string passed to g_option_context_new() for
13149 what it's intended for - the program name is already
13152 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13154 * tools/Makefile.am:
13155 * tools/gst-inspect.c: (main):
13156 * tools/gst-launch.c: (main):
13157 * tools/gst-xmlinspect.c: (main):
13159 Add back --version command line option (#340460).
13161 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13162 Add --version option and use GOption for argument parsing; refactor a
13163 bit; accept directories as arguments and recurse into them; lastly,
13164 print a decent error message when things go wrong.
13166 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13168 * docs/manual/basics-bins.xml:
13169 Don't mention GstThread (#340611)
13170 * docs/manual/basics-elements.xml:
13171 Update link to GObject tutorial (#340607)
13173 2006-05-05 Wim Taymans <wim@fluendo.com>
13176 * gst/gstminiobject.c:
13177 Add note about refcounting and miniobject/buffer writeability
13178 to docs. Fixes #340604
13180 * gst/gstelementfactory.h:
13181 Added some explanation about @klass.
13183 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13185 * docs/manual/intro-motivation.xml:
13186 * docs/manual/manual.xml:
13187 Avoid CORBA & Bonobo references (#340598)
13189 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13191 * docs/manual/basics-bus.xml:
13192 * docs/manual/basics-pads.xml:
13193 Fix up some inaccuracies and omissions (#340609)
13195 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13197 * gst/gstghostpad.c:
13198 Small typo in docs (#340625)
13200 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13202 * gst/parse/Makefile.am:
13203 Make 'make -j' proof (see #340698).
13205 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13208 Require GLib-2.8 here as well.
13210 2006-05-05 Wim Taymans <wim@fluendo.com>
13212 * gst/glib-compat.c:
13213 * gst/gst.c: (init_pre):
13214 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13215 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13216 (gst_object_dispatch_properties_changed):
13218 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13219 * gst/gststructure.c: (gst_structure_set_valist):
13220 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13221 Remove pre glib2.8 compatibility, fixes #340508
13223 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13225 * gst/gsttaglist.h:
13226 Mention type of tags in doc blurbs.
13228 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13230 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13231 (gst_pad_configure_src), (gst_pad_push):
13232 Restore acceptcaps checking behaviour now that good plugins have
13235 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13237 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13244 * gst/gstmessage.c:
13248 * gst/parse/Makefile.am:
13249 * libs/gst/base/gstadapter.c:
13250 * libs/gst/base/gstbasesrc.c:
13251 * libs/gst/base/gstpushsrc.c:
13252 * libs/gst/base/gsttypefindhelper.c:
13253 * plugins/elements/gstfakesrc.c:
13254 * plugins/elements/gstidentity.c:
13255 Make sure gstprivate.h and/or config.h are
13256 always included first, otherwise some of our
13257 defines (like _FILE_OFFSET_BITS) might be
13258 redefined in the system headers. Fixes build
13259 on opensolaris (#340016).
13261 2006-05-04 Wim Taymans <wim@fluendo.com>
13263 * docs/libs/gstreamer-libs-sections.txt:
13264 API: addition: gst_adapter_take_buffer()
13266 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13267 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13268 (gst_adapter_available_fast):
13269 * libs/gst/base/gstadapter.h:
13270 Prepare for optimizing the hell out of this hugely inefficient
13272 Added gst_adapter_take_buffer() so we can at least start thinking
13273 about subbuffering and merging.
13274 Added some comments.
13276 * tests/check/Makefile.am:
13277 * tests/check/libs/adapter.c: (GST_START_TEST),
13278 (gst_adapter_suite), (main):
13279 Added GstAdapter check.
13281 2006-05-04 Wim Taymans <wim@fluendo.com>
13283 * docs/design/part-overview.txt:
13284 Fix some typos, add blurb about buffer flags.
13286 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13288 * docs/libs/gstreamer-libs-sections.txt:
13289 make sure GstBaseTransformClass shows up in the docs
13290 * libs/gst/base/gstbasetransform.c:
13291 * libs/gst/base/gstbasetransform.h:
13292 move docs so gtk-doc picks it up now
13294 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13296 * docs/libs/gstreamer-libs-sections.txt:
13297 add missing symbols to docs
13299 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13301 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13302 back out the newsegment handling change, see #340060 for ongoing
13305 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13307 * tools/gst-run.c: (get_candidates), (main):
13308 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13309 work); fix typo in error message. Fixes #340079.
13311 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13313 * common/Makefile.am:
13314 * docs/Makefile.am:
13315 * docs/faq/Makefile.am:
13316 * docs/gst/Makefile.am:
13317 * docs/libs/Makefile.am:
13318 * docs/manual/Makefile.am:
13319 * docs/plugins/Makefile.am:
13320 * docs/pwg/Makefile.am:
13321 * docs/slides/Makefile.am:
13323 * common/upload.mak:
13324 move upload.mak to common
13326 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13328 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13329 add more asserts on refcounts
13330 do more cleanup at end of tests
13331 fix test leaks showing in FC5
13333 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13335 * plugins/elements/gsttypefindelement.c:
13336 (gst_type_find_element_handle_event):
13337 reverted wrong change and reflowed code to avoid others falling into
13340 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13342 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13343 fix changelog entry about last collectpads change,
13344 add notes about proper fix
13346 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13349 * gst/gstregistry.c: (gst_registry_scan_path_level),
13350 (gst_registry_scan_path):
13351 * gst/gstregistry.h:
13352 only write out registry if it has changed, fixes #338339
13354 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13357 * gst/gstpipeline.c:
13358 * plugins/elements/gstcapsfilter.c:
13359 * plugins/elements/gstfakesink.c:
13360 * plugins/elements/gstfakesrc.c:
13361 * plugins/elements/gstfdsink.c:
13362 * plugins/elements/gstfdsrc.c:
13363 * plugins/elements/gstfilesink.c:
13364 * plugins/elements/gstfilesrc.c:
13365 * plugins/elements/gstidentity.c:
13366 * plugins/elements/gstqueue.c:
13367 * plugins/elements/gsttee.c:
13368 * plugins/elements/gsttypefindelement.c:
13369 (gst_type_find_element_handle_event):
13370 make GstElementDetails const
13372 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13374 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13375 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13376 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13377 more detailed debug and formatting cleanup,
13378 forward newsegments to src-pad (so that e.g. adder not eats them)
13380 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13382 * gst/gstutils.c: (gst_element_link_pads):
13383 cleanup double code
13385 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13387 * libs/gst/controller/gstcontroller.c:
13388 (gst_controller_sync_values):
13390 * tests/check/libs/controller.c: (GST_START_TEST),
13391 (gst_controller_suite):
13392 a new test for live value handling
13394 2006-04-28 Wim Taymans <wim@fluendo.com>
13396 * gst/gstutils.c: (push_and_ref):
13397 Added some more docs.
13398 Fix refcount issue whith gst_element_found_tags() helper
13399 function. Fixes #338335
13401 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13402 Added testsuite for gst_element_found_tags().
13404 2006-04-28 Michael Smith <msmith@fluendo.com>
13406 * gst/gstvalue.c: (gst_value_serialize_flags):
13407 Avoid NULL dereference when trying to serialize flags containing
13410 2006-04-28 Michael Smith <msmith@fluendo.com>
13412 * plugins/elements/gsttypefindelement.c:
13413 (gst_type_find_element_handle_event):
13414 If we get EOS before any data is accumulated, don't use
13415 uninitialised local variables.
13417 2006-04-28 Michael Smith <msmith@fluendo.com>
13419 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13420 (gst_dp_event_from_packet):
13421 Fixes in reading/writing events over GDP (not currently used?) -
13422 dereferencing NULL events for unknown/invalid event types, memory
13423 leak, and change g_warning to GST_WARNING.
13425 2006-04-28 Wim Taymans <wim@fluendo.com>
13427 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13428 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13429 (gst_base_sink_get_position), (gst_base_sink_change_state):
13430 When frame dropping is enabled, we should not ignore frames
13431 without a duration.
13432 Update some documentation.
13434 2006-04-28 Wim Taymans <wim@fluendo.com>
13436 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13437 (gst_base_src_send_event), (gst_base_src_change_state):
13438 Documentation updates.
13440 2006-04-28 Wim Taymans <wim@fluendo.com>
13442 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13443 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13444 handle EAGAIN, EINTR and short writes correctly. Also clean
13445 up some error cases, avoid a deadlock on bad file descriptors and
13446 use GST_DEBUG_OBJECT.
13449 2006-04-28 Wim Taymans <wim@fluendo.com>
13451 * gst/gstvalue.c: (gst_value_serialize_buffer),
13452 (gst_value_deserialize_buffer):
13453 Don't try to serialize a GValue with a NULL buffer.
13456 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13457 Added check for serialisation of NULL buffers.
13459 2006-04-28 Wim Taymans <wim@fluendo.com>
13461 * gst/gstminiobject.c: (gst_value_take_mini_object):
13462 Taking a NULL miniobject is valid, fix the case where
13463 we try to unref the NULL miniobject.
13465 2006-04-28 Wim Taymans <wim@fluendo.com>
13467 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13469 * gst/gstbin.c: (gst_bin_handle_message_func):
13471 Don't leak bin refcount when a state recalc is
13472 in progress and we delay another one #339808.
13474 2006-04-28 Wim Taymans <wim@fluendo.com>
13476 * docs/design/part-TODO.txt:
13477 Mention QoS as an ongoing work item.
13479 * docs/design/part-buffering.txt:
13480 New doc about buffering that needs to be fleshed out
13483 * docs/design/part-qos.txt:
13484 More QoS policy for decoders/demuxers/transforms
13486 * docs/design/part-trickmodes.txt:
13489 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13494 === release 0.10.5 ===
13496 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13499 releasing 0.10.5, "Fogo"
13501 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13503 patch by: Wim Taymans
13505 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13506 (gst_pad_configure_src), (gst_pad_push):
13507 * gst/gstpipeline.c: (gst_pipeline_init):
13508 Fix internal data flow errors. Fixes #338711.
13510 2006-04-12 Wim Taymans <wim@fluendo.com>
13512 * tests/check/gst/gstelement.c: (GST_START_TEST):
13513 Don't leak the factory.
13515 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13518 * win32/common/config.h:
13521 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13523 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13524 (gst_controller_unset_all):
13525 Free allocated GstTimedValues when freeing list nodes.
13526 Should fix leaks 'make check-valgrind' complains about.
13528 * win32/common/libgstcontroller.def:
13529 Add gst_controller_unset_all.
13531 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13533 * docs/libs/gstreamer-libs-sections.txt:
13534 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13535 (gst_controller_unset_all):
13536 * libs/gst/controller/gstcontroller.h:
13537 API: Added new method gst_controller_unset_all()
13538 fixed gst_controller_unset()
13539 * tests/check/libs/controller.c: (GST_START_TEST),
13540 (gst_controller_suite):
13541 Added two testcases for new and fixed method
13543 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13545 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13546 MSG_DONTWAIT is not defined on Cygwin, so work
13547 around that (fixes #317048).
13549 2006-04-11 Wim Taymans <wim@fluendo.com>
13551 * gst/gstelementfactory.c: (gst_element_register),
13552 (gst_element_factory_create), (gst_element_factory_make):
13555 Updated docs (Fixes #131079)
13557 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13560 * tests/check/gst/gstelement.c: (GST_START_TEST),
13561 (gst_element_suite):
13562 Added testcase for elementfactory class field.
13564 2006-04-10 Wim Taymans <wim@fluendo.com>
13566 * gst/gstsegment.c:
13567 Added some more docs.
13569 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13570 (gst_base_sink_reset_qos):
13571 Calculate more accurate rate values.
13573 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13575 * gst/gst_private.h:
13576 add a new #ifdef to use __declspec(dllimport) only for
13577 other modules and not for gstreamer core
13578 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13579 use gst_guint64_to_gdouble for conversion
13580 * win32/common/libgstreamer.def:
13581 add new exported functions
13582 * win32/vs6/gst_inspect.dsp:
13583 * win32/vs6/gst_launch.dsp:
13584 * win32/vs6/libgstbase.dsp:
13585 * win32/vs6/libgstcontroller.dsp:
13586 * win32/vs6/libgstcoreelements.dsp:
13587 * win32/vs6/libgstdataprotocol.dsp:
13588 * win32/vs6/libgstnet.dsp:
13589 update project files
13591 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13593 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13594 * gst/gstclock.c: (gst_clock_class_init):
13595 * gst/gstelement.c: (gst_element_class_init):
13596 * gst/gstindex.c: (gst_index_class_init):
13597 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13598 * gst/gstobject.c: (gst_object_class_init),
13599 (gst_signal_object_class_init):
13600 * gst/gstpad.c: (gst_pad_class_init):
13601 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13602 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13603 * gst/gstregistry.c: (gst_registry_class_init):
13604 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13605 * gst/gsttask.c: (gst_task_class_init):
13606 * gst/gstxml.c: (gst_xml_class_init):
13607 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13608 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13609 (gst_base_src_loop):
13610 * libs/gst/controller/gstcontroller.c:/
13611 (_gst_controller_class_init):
13612 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13613 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13614 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13615 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13616 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13617 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13619 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13621 * gst/gstpad.c: (gst_pad_link):
13622 Must set peer pads before calling the link function, otherwise
13623 a task started from a link function might get a flow-not-linked
13624 result when trying to push because the other thread where the
13625 linking happens hasn't had a chance to set the peers yet. This
13626 might happen for example when a queue gets linked to a downstream
13627 element, as queue starts a streaming task when its source pad
13628 gets linked. Happens in real life when playing back flac/musepack
13629 files in playbin (#332390).
13631 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13635 * libs/gst/base/gstadapter.h:
13636 * libs/gst/base/gstbasesink.h:
13637 * libs/gst/base/gstbasesrc.h:
13638 * libs/gst/base/gstbasetransform.h:
13639 * libs/gst/base/gstcollectpads.h:
13640 * libs/gst/base/gstpushsrc.h:
13641 Fix broken GObject macros
13643 2006-04-07 Wim Taymans <wim@fluendo.com>
13645 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13646 Initialize start and stop times, thanks valgrind.
13648 2006-04-07 Wim Taymans <wim@fluendo.com>
13650 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13651 Be a bit nicer to badly behaving upstream elements that expect
13652 us to deal with non TIME segments and timestamps (such as fakesrc
13655 2006-04-07 Wim Taymans <wim@fluendo.com>
13658 Small documentation clarification about the signal watch.
13660 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13661 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13662 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13663 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13664 (gst_base_sink_get_position_last),
13665 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13666 Convert and store timestamps in stream time and running time, the
13667 raw timestamps are not useful, also document this better.
13668 Use different window sizes for good and bad QoS observations so
13669 we react to badness a little quicker.
13670 Keep track of the amount of rendered and dropped buffers.
13671 Send QoS timestamps in running time.
13673 * libs/gst/base/gstbasetransform.c:
13674 (gst_base_transform_sink_eventfunc),
13675 (gst_base_transform_handle_buffer):
13676 Compare QoS timestamps against running time.
13678 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13681 Typo fixes in docs.
13683 2006-04-06 Michael Smith <msmith@fluendo.com>
13685 * gst/gstpad.c: (gst_pad_set_property):
13686 Use g_value_get_object() instead of g_value_dup_gst_object(),
13687 to avoid double-reffing the pad template (which we then sink,
13688 so this worked previously if (and only if) the pad template
13691 * gst/gstpadtemplate.c: (gst_pad_template_init),
13692 (gst_pad_template_pad_created):
13693 Never return floating references to pad templates, create
13694 them as initially-sunken.
13696 Document an extra function (and make this stop sinking our
13697 pad template, since that is now guaranteed to do nothing,
13698 since we created it sunken).
13700 * gst/gstghostpad.c:
13703 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13705 * gst/gstinfo.c: (__gst_in_valgrind):
13708 * plugins/elements/gsttypefindelement.c:
13709 (gst_type_find_element_chain):
13710 Don't leak buffer caps.
13712 2006-04-06 Michael Smith <msmith@fluendo.com>
13714 * gst/parse/grammar.y:
13715 Fix a leak in parse-launch for any source-or-sink named element
13718 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13719 Unref the pipeline if it exists after we've failed parsing.
13721 2006-04-05 Michael Smith <msmith@fluendo.com>
13723 * gst/gstpipeline.c: (gst_pipeline_init):
13724 When we create a pipeline bus, initially create it in flushing mode.
13725 Fixes leaks in at least one test, and makes a new pipeline work the
13726 same as one that has gone to READY and then back to NULL.
13728 * gst/gstelement.c:
13731 2006-04-05 Michael Smith <msmith@fluendo.com>
13733 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13734 Unref a pad we reffed.
13735 * tests/check/gst/gstutils.c: (GST_START_TEST):
13738 2006-04-05 Michael Smith <msmith@fluendo.com>
13740 * gst/gstquery.c: (gst_query_set_formats),
13741 (gst_query_set_formatsv):
13742 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13744 2006-04-05 Michael Smith <msmith@fluendo.com>
13746 * tests/check/generic/sinks.c: (GST_START_TEST):
13747 Fix a variety of memleaks in sinks check, which are only sometimes
13748 shown by running the tests under valgrind (weird?).
13750 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13752 * docs/version.entities.in:
13753 Fix the substituted entity name after thomas' changes on the
13756 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13758 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13761 2006-04-05 Andy Wingo <wingo@pobox.com>
13763 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13765 * libs/gst/base/gstbasetransform.c
13766 (gst_base_transform_sink_eventfunc): When resetting our segment on
13767 FLUSH_STOP, also update the flag saying we haven't seen a
13770 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13772 Patch by: Paolo Borelli <pborelli at katamail dot com>
13774 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13775 (gst_plugin_check_license):
13776 minor clean-ups: G_DEFINE_TYPE already takes care of the
13777 parent_class stuff, no need to do it twice. Mark array of
13778 license strings as constant. (#337103)
13780 2006-04-04 Michael Smith <msmith@fluendo.com>
13782 * tools/gst-inspect.c: (print_element_list):
13783 Free the right plugin list; fixes a memory leak.
13785 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13787 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13789 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13790 Don't error out on empty buffers (#336945).
13792 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13794 * docs/libs/gstreamer-libs-sections.txt:
13795 * gst/gsttaglist.c:
13796 * libs/gst/base/gstbasesink.c:
13797 * libs/gst/base/gstbasesink.h:
13798 * libs/gst/base/gstbasesrc.c:
13799 * libs/gst/base/gstbasesrc.h:
13800 Documentation updates. Make BaseSink and BaseSrc docs contain the
13801 class structure so that people can actually see the prototypes for
13802 virtual functions they're supposed to be overriding.
13804 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13806 * plugins/elements/gsttypefindelement.c:
13807 (gst_type_find_element_chain):
13808 More debug info; when skipping typefinding, send cached
13809 events in all cases.
13811 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13814 use new AS_VERSION and AS_NANO macros
13815 * gst/gst-i18n-lib.h:
13818 * gst/gstversion.h.in:
13819 * win32/common/config.h:
13820 * win32/common/config.h.in:
13823 2006-03-31 Michael Smith <msmith@fluendo.com>
13825 * plugins/elements/gsttypefindelement.c:
13826 (gst_type_find_element_chain):
13827 Do not typefind content if the buffers already have caps.
13828 Neccesary for icydemux (#333657), and the right thing to do anyway.
13830 2006-03-30 Wim Taymans <wim@fluendo.com>
13832 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13833 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13834 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13835 (gst_base_sink_record_qos_observation),
13836 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13837 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13838 (gst_base_sink_change_state):
13839 More QoS measurements as described in the design doc.
13840 Get rid of ringbuffer with observations, running average is
13841 more simple and equally good.
13842 Calculates valid proportion now.
13843 Added beginning of flood measurement.
13845 2006-03-29 Wim Taymans <wim@fluendo.com>
13847 * docs/design/part-qos.txt:
13849 Small documentation updates and additions.
13851 2006-03-29 Wim Taymans <wim@fluendo.com>
13853 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13854 (gst_base_src_send_event), (gst_base_src_loop),
13855 (gst_base_src_change_state):
13856 Perform the EOS logic when we reach the segment stop position.
13857 Fix compilation on gcc4.1
13859 2006-03-29 Wim Taymans <wim@fluendo.com>
13861 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13863 * plugins/elements/gstqueue.c: (gst_queue_init),
13864 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13865 (gst_queue_set_property):
13866 * plugins/elements/gstqueue.h:
13867 In queue, when EOS is received, if minimum threshold > max_size -
13868 current_level, there is chance that queue blocks forever in conditional
13869 item del wait. This is because the queue is not emptied completely due
13870 to minimum threshold. Here is another approach. Instead of setting
13871 cur_levels to max in EOS, just zero all minimum threshold levels. This
13872 should make sure that queue gives out all data. When going to READY
13873 (stop) state, just reset the original minimum threshold levels.
13876 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13878 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13879 (gst_type_find_element_handle_event),
13880 (gst_type_find_element_send_cached_events),
13881 (gst_type_find_element_change_state):
13882 * plugins/elements/gsttypefindelement.h:
13883 When typefinding is done in push mode, we should cache
13884 events we receive during typefinding instead of just
13885 dropping them (e.g. newsegment, custom events from
13886 dvdreadsrc etc.) and then send them out once we've
13887 determined the type of the stream (and decodebin
13888 has had a chance to plug in a decoder/demuxer).
13890 2006-03-27 Wim Taymans <wim@fluendo.com>
13892 * docs/design/part-qos.txt:
13895 2006-03-27 Wim Taymans <wim@fluendo.com>
13897 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13899 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13900 (gst_base_src_send_event), (gst_base_src_change_state):
13901 Handle element seek correctly when we are streaming.
13904 2006-03-24 Michael Smith <msmith@fluendo.com>
13906 * docs/faq/gst-uninstalled:
13907 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13908 allow you to correctly run intalled applications built against old
13909 core, using plugins that require updated core (e.g. running
13910 installed totem against a full uninstalled gstreamer stack)
13912 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13914 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13917 2006-03-24 Wim Taymans <wim@fluendo.com>
13919 * docs/gst/gstreamer-sections.txt:
13920 Rearrange the order of the methods so that related methods
13921 are grouped together in sections.
13923 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13925 * gst/gstelement.c:
13926 Little clarification in the docs
13928 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13932 * plugins/elements/gstidentity.c:
13933 * plugins/elements/gstqueue.c:
13934 * plugins/elements/gsttee.c:
13935 * plugins/elements/gsttypefindelement.c:
13936 GST_ELEMENT_DETAILS formatting
13938 2006-03-24 Wim Taymans <wim@fluendo.com>
13940 * libs/gst/base/gstbasesink.h:
13941 Only add fields, not insert or we break ABI.
13943 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13945 * win32/common/libgstbase.def:
13946 * win32/common/libgstreamer.def:
13947 Update, add recently added functions.
13949 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13951 * docs/gst/gstreamer-sections.txt:
13952 * gst/gstutils.c: (gst_pad_query_peer_position),
13953 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13955 API: add some new utility functions:
13956 - gst_pad_query_peer_position()
13957 - gst_pad_query_peer_duration()
13958 - gst_pad_query_peer_convert()
13960 2006-03-23 Wim Taymans <wim@fluendo.com>
13962 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13963 (gst_base_sink_init), (gst_base_sink_finalize),
13964 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13965 (gst_base_sink_set_property), (gst_base_sink_get_property),
13966 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13967 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13968 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13969 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13970 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13971 (gst_base_sink_preroll_object), (gst_base_sink_event),
13972 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13973 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13974 (gst_base_sink_query), (gst_base_sink_change_state):
13975 Decouple max-lateness and the fact that QoS messages are generated
13976 with a new property (qos).
13977 added API: GstBaseSink::async_play()
13978 Add vmethod so subclasses can be notified of ASYNC playing
13980 Collect timestamp start and stop to report better current
13981 position in EOS/PLAYING/PAUSED/READY/NULL.
13982 Refactor QoS/frame dropping and other measurements.
13983 API: GstBaseSrc::qos
13986 * libs/gst/base/gstbasesink.h:
13987 Added Private struct.
13988 API: gst_base_sink_set_qos_enabled()
13989 API: gst_base_sink_is_qos_enabled()
13991 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13993 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13994 If compiling against GLib-2.8 or newer, try to read the
13995 registry file using GMappedFile first before falling back
13996 to fopen() + fread() (#332151).
13998 2006-03-22 Wim Taymans <wim@fluendo.com>
14000 * gst/gstinfo.c: (gst_debug_set_active),
14001 (gst_debug_category_set_threshold):
14002 Disable debugging unless explicitly activated.
14005 2006-03-22 Wim Taymans <wim@fluendo.com>
14007 * gst/gstelement.c: (gst_element_set_locked_state),
14008 (gst_element_dispose):
14009 Cleanup the error case.
14011 * gst/gstobject.c: (gst_object_dispose):
14012 print a critical when some object was disposed with
14013 a parent, also revive the object since it might
14016 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14018 * tools/gst-launch.1.in:
14021 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14024 * tests/check/Makefile.am:
14025 disable some tests when we don't have a registry
14026 * tests/check/gst/gstutils.c: (gst_utils_suite):
14027 don't build the part that needs parsing
14029 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14032 * tests/examples/Makefile.am:
14033 fix --disable-parse build
14035 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14037 * tools/gst-feedback.1.in:
14038 Fix typo: s/feeback/feedback/ (#133494).
14040 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14042 * tools/Makefile.am:
14043 * tools/gst-launch.1.in:
14044 Add FILES section and correct entry about GST_REGISTRY_PATH
14045 environment variable (#133495; #133494).
14047 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14049 * tools/Makefile.am:
14050 * tools/gst-md5sum.1.in:
14051 * tools/gst-md5sum.c:
14052 Remove gst-md5sum and man page (the md5sink element
14053 required was removed ages ago)
14055 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14057 * gst/gststructure.c: (gst_structure_id_set_value):
14058 Make sure that string fields in structures/taglists
14059 contain valid UTF-8 - we don't want to pass rubbish to
14060 applications because of a buggy plugin (cp. #334167).
14062 2006-03-21 Edward Hervey <edward@fluendo.com>
14064 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14065 (gst_bin_handle_message_func):
14066 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14067 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14068 (gst_element_set_bus_func):
14069 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14070 * gst/gstminiobject.c: (gst_value_set_mini_object),
14071 (gst_value_take_mini_object):
14072 * gst/gstpad.c: (gst_pad_set_pad_template):
14073 * gst/gstpipeline.c: (gst_pipeline_dispose),
14074 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14075 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14076 (gst_collect_pads_chain):
14077 * libs/gst/net/gstnettimeprovider.c:
14078 (gst_net_time_provider_set_property):
14079 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14080 It's in fact all issues with gst_*object_replace().
14082 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14084 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14086 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14087 * pkgconfig/gstreamer-check.pc.in:
14088 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14090 2006-03-21 Edward Hervey <edward@fluendo.com>
14094 * gst/gstmessage.h:
14095 gst_[buffer|event|message]_ref() macros are replaced by a static
14096 inline functions because gcc-4.1 will about if the return value
14098 * tests/check/gst/gstevent.c: (event_probe):
14099 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14101 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14104 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14105 the type' case. (Closes: #335195 for now). In the future, when we
14106 depend on GLib 2.10, we could also intern the type name using
14107 g_intern_static_string()
14109 2006-03-20 Wim Taymans <wim@fluendo.com>
14111 * gst/gstbin.c: (gst_bin_handle_message_func),
14112 (bin_query_max_init), (bin_query_position_fold),
14113 (bin_query_position_done), (gst_bin_query):
14114 Position query should also take max of all streams.
14116 2006-03-20 Wim Taymans <wim@fluendo.com>
14118 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14119 (gst_fake_src_finalize):
14120 Fix leaks in fakesrc.
14122 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14123 Fix leaks in the testcase.
14125 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14127 * gst/gst_private.h:
14128 add win32 specific import decoration(__declspec(dllimport))
14129 for all extern GstDebugCategory * variables
14130 * win32/common/libgstbase.def:
14131 * win32/common/libgstcontroller.def:
14132 * win32/common/libgstreamer.def:
14133 Add some exports, remove empty lines
14134 * win32/common/libgstdataprotocol.def:
14135 * win32/common/libgstdataprotocol.dsp:
14136 * win32/common/libgstnet.def:
14137 * win32/common/libgstnet.dsp:
14138 new project files and exportation files added
14140 2006-03-19 Wim Taymans <wim@fluendo.com>
14142 * tests/check/libs/basesrc.c: (eos_event_counter):
14143 Use proper return value for probe.
14145 2006-03-17 Wim Taymans <wim@fluendo.com>
14147 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14149 Don't leak buffers, caps and pads on negotiation errors.
14151 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14153 * docs/faq/cvs.xml:
14154 * docs/faq/dependencies.xml:
14155 * docs/faq/developing.xml:
14156 * docs/faq/faq.xml:
14157 * docs/faq/general.xml:
14158 * docs/faq/getting.xml:
14159 * docs/faq/legal.xml:
14160 * docs/faq/troubleshooting.xml:
14161 * docs/faq/using.xml:
14162 Faq review and update.
14164 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14166 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14168 Don't pound the cpu to pieces by checking get_caps when accept_caps
14169 is called with the same caps as the pad already has.
14170 Use GST_DEBUG_OBJECT when outputting caps change information.
14172 2006-03-15 Wim Taymans <wim@fluendo.com>
14174 * gst/gstclock.c: (gst_clock_class_init):
14177 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14182 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14183 (gst_pad_accept_caps), (gst_pad_configure_sink),
14184 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14185 Make the default acceptcaps behaviour be to check the requested
14186 caps against the gst_pad_get_caps output.
14188 Ensure that gst_pad_accept_caps is used to check caps when a pad
14189 doesn't have a setcaps function, so that pads automatically refuse
14190 caps that they don't allow in their pad template. (Fixes #332986)
14192 When a buffer with attached caps is pushed, ensure that the source
14193 pad receives those caps even if the element didn't call
14194 gst_pad_set_caps first.
14196 2006-03-15 Wim Taymans <wim@fluendo.com>
14198 * libs/gst/base/gstadapter.c:
14201 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14203 * win32/common/libgstbase.def:
14204 * win32/common/libgstcontroller.def:
14205 * win32/common/libgstreamer.def:
14206 Add a whole bunch of missing functions (#334434).
14208 2006-03-14 Wim Taymans <wim@fluendo.com>
14210 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14211 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14212 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14213 Better debug info when we receive a segment event.
14214 Reorganize a bit so we can pass the get_times() results around.
14215 Use the segment format when calculating the running time.
14216 Don't do QoS is sync is disabled or we have no clock or the
14217 element does not want us to sync to the clock.
14218 Don't drop buffers if QoS is disabled for now.
14220 2006-03-14 Wim Taymans <wim@fluendo.com>
14222 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14223 Marked the stats property as unimplemented so people don't get
14225 Add debug message when regression goes wrong.
14226 Added some more docs.
14228 2006-03-14 Wim Taymans <wim@fluendo.com>
14230 * gst/gstsegment.c: (gst_segment_to_stream_time):
14231 Return correct return type in case of errors.
14233 2006-03-14 Wim Taymans <wim@fluendo.com>
14235 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14236 Don't segfault on invalid formats.
14238 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14240 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14241 Can't use gst_segment_to_running_time() when the segment
14242 is not in GST_TIME_FORMAT (like with filesink, for example).
14243 Stops flac encoding pipelines from spewing critical warnings
14246 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14248 * gst/gstpipeline.c: (gst_pipeline_class_init):
14249 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14251 * plugins/elements/gsttypefindelement.c:
14252 (gst_type_find_element_handle_event):
14253 Don't try to typefind empty streams.
14255 2006-03-14 Wim Taymans <wim@fluendo.com>
14257 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14258 (gst_base_sink_do_qos):
14259 Separate QoS calculation.
14260 Only drop buffers when lateness is bigger than the
14261 duration of the buffer.
14263 2006-03-13 Wim Taymans <wim@fluendo.com>
14265 * gst/gstpipeline.c: (gst_pipeline_set_property),
14266 (gst_pipeline_get_property), (do_pipeline_seek),
14267 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14268 (gst_pipeline_get_delay):
14269 Don't deadlock when reading properties.
14271 2006-03-13 Wim Taymans <wim@fluendo.com>
14273 * libs/gst/base/gstbasetransform.c:
14274 (gst_base_transform_class_init), (gst_base_transform_init),
14275 (gst_base_transform_sink_event),
14276 (gst_base_transform_sink_eventfunc),
14277 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14278 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14279 (gst_base_transform_set_property),
14280 (gst_base_transform_get_property),
14281 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14282 (gst_base_transform_set_qos_enabled),
14283 (gst_base_transform_is_qos_enabled):
14284 * libs/gst/base/gstbasetransform.h:
14285 Make basetransform virtual method for src events too.
14286 Handle QOS in basetransform.
14287 API: gst_base_transform_update_qos()
14288 API: gst_base_transform_set_qos_enabled()
14289 API: gst_base_transform_is_qos_enabled()
14291 2006-03-13 Wim Taymans <wim@fluendo.com>
14293 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14294 (gst_base_sink_do_sync):
14296 Use QOS debug category.
14298 2006-03-13 Wim Taymans <wim@fluendo.com>
14300 * plugins/elements/gstqueue.c:
14301 Very small doc update.
14303 2006-03-13 Wim Taymans <wim@fluendo.com>
14305 * gst/gst_private.h:
14306 * gst/gstinfo.c: (_gst_debug_init):
14307 Added QOS debug category
14309 2006-03-13 Wim Taymans <wim@fluendo.com>
14311 * docs/gst/gstreamer-sections.txt:
14312 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14314 * gst/gstbus.c: (gst_bus_class_init):
14317 * gst/gstelement.c: (gst_element_set_locked_state):
14318 * gst/gstsegment.c:
14319 Documentation updates.
14321 * gst/gstpipeline.c: (gst_pipeline_get_type),
14322 (gst_pipeline_class_init), (gst_pipeline_init),
14323 (gst_pipeline_dispose), (gst_pipeline_set_property),
14324 (gst_pipeline_get_property), (do_pipeline_seek),
14325 (gst_pipeline_send_event), (gst_pipeline_change_state),
14326 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14327 (gst_pipeline_get_delay):
14328 * gst/gstpipeline.h:
14329 Added methods for setting the delay.
14330 API: gst_pipeline_set_delay()
14331 API: gst_pipeline_get_delay()
14332 Add pipeline debug category
14335 Don't reset stream time when seek failed.
14337 2006-03-13 Wim Taymans <wim@fluendo.com>
14339 * docs/design/draft-klass.txt:
14340 * docs/design/part-clocks.txt:
14341 * docs/design/part-events.txt:
14342 * docs/design/part-gstbin.txt:
14343 * docs/design/part-gstpipeline.txt:
14344 * docs/design/part-messages.txt:
14345 * docs/design/part-negotiation.txt:
14346 * docs/design/part-overview.txt:
14347 * docs/design/part-preroll.txt:
14348 * docs/design/part-seeking.txt:
14349 * docs/design/part-states.txt:
14350 * docs/design/part-streams.txt:
14351 Documentation updates.
14353 2006-03-12 Julien MOUTTE <julien@moutte.net>
14355 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14356 us to leak strings...
14358 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14360 * libs/gst/net/gstnettimeprovider.c:
14362 * win32/common/config.h:
14365 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14367 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14370 Don't check for libgnomeui (leftover from old examples
14371 that aren't built or disted any longer) (#334303).
14373 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14375 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14376 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14377 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14378 there's no space left on the device.
14380 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14383 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14384 to cast the input to GstClockTime before comparing with
14385 another GstClockTime value.
14387 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14392 === release 0.10.4 ===
14394 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14397 releasing 0.10.4, "Light"
14399 2006-03-10 Michael Smith <msmith@fluendo.com>
14401 * libs/gst/dataprotocol/dataprotocol.c:
14402 Fix docs for dataprocotol to not get the return types completely
14403 wrong for a few functions.
14405 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14407 * docs/gst/gstreamer-sections.txt:
14408 * gst/gstpipeline.c: (gst_pipeline_class_init),
14409 (gst_pipeline_init), (gst_pipeline_set_property),
14410 (gst_pipeline_get_property), (gst_pipeline_change_state),
14411 (gst_pipeline_set_auto_flush_bus),
14412 (gst_pipeline_get_auto_flush_bus):
14413 * gst/gstpipeline.h:
14414 Add new API: gst_pipeline_set_auto_flush_bus() and
14415 gst_pipeline_get_auto_flush_bus() to disable automatic
14416 flushing of the pipeline's GstBus when going from READY
14417 to NULL state (#332045).
14419 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14421 * docs/gst/gstreamer-sections.txt:
14422 * gst/gsturi.c: (gst_uri_has_protocol):
14424 Add new API: gst_uri_has_protocol() (#333779).
14426 2006-03-09 Wim Taymans <wim@fluendo.com>
14428 * gst/gstclock.c: (gst_clock_entry_new),
14429 (gst_clock_id_compare_func), (gst_clock_id_wait),
14430 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14431 (gst_clock_init), (gst_clock_get_internal_time),
14432 (gst_clock_set_master), (do_linear_regression),
14433 (gst_clock_add_observation), (gst_clock_set_property):
14437 Fix a possible segfault when the window-size is made smaller.
14438 Calculate jitter before performing the clock wait. Ideally
14439 the clock implementation should calculate jitter but we need
14440 API breakage for that.
14442 * gst/gstsystemclock.c: (gst_system_clock_init):
14445 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14446 Remove leftover else
14448 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14449 (gst_systemclock_suite):
14450 Added check to test GST_CLOCK_DIFF.
14452 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14454 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14455 (gst_type_find_helper_get_range):
14456 If we are provided with the size, we should implement
14457 GstTypeFind::get_length, so that typefind functions who
14458 want to can actually peek at the middle of a file.
14460 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14462 * docs/manual/advanced-dataaccess.xml:
14463 Add some very very basic error checking.
14465 * docs/pwg/appendix-checklist.xml:
14466 Some updates to the list of things to check when writing an element.
14468 2006-03-08 Wim Taymans <wim@fluendo.com>
14470 * docs/design/part-element-transform.txt:
14471 Added some docs about the design of tranform elements.
14473 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14474 (gst_base_src_loop), (gst_base_src_change_state):
14475 Mark buffers with the DISCONT flag.
14477 2006-03-08 Michael Smith <msmith@fluendo.com>
14479 * gst/gstregistry.h:
14480 * gst/gstregistryxml.c: (gst_registry_save),
14481 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14482 (gst_registry_xml_save_pad_template),
14483 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14484 (gst_registry_xml_write_cache):
14485 Rewrite registry-saving to avoid race conditions and check for
14488 2006-03-08 Wim Taymans <wim@fluendo.com>
14490 * libs/gst/base/gstbasetransform.c:
14491 (gst_base_transform_transform_caps),
14492 (gst_base_transform_transform_size),
14493 (gst_base_transform_prepare_output_buffer),
14494 (gst_base_transform_get_unit_size),
14495 (gst_base_transform_buffer_alloc),
14496 (gst_base_transform_handle_buffer),
14497 (gst_base_transform_change_state):
14498 Cleanups, separate normal flow from errors, add sensible
14500 Don't try to renegotiate when allocating an output buffer.
14501 Also copy DISCONT buffer flag when copying a buffer.
14502 Reset the transform after we finish streaming, not during.
14504 2006-03-08 Wim Taymans <wim@fluendo.com>
14506 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14507 Use last buffer timestamp in qos message.
14509 2006-03-07 Wim Taymans <wim@fluendo.com>
14511 Patch by: Christophe Fergeau
14513 * docs/pwg/advanced-tagging.xml:
14514 * docs/pwg/building-pads.xml:
14517 2006-03-07 Wim Taymans <wim@fluendo.com>
14519 * docs/libs/gstreamer-libs-sections.txt:
14520 Added basesink new methods.
14524 Docs updates. Flesh out the QoS docs.
14526 * libs/gst/base/gstadapter.c:
14527 Small doc clarification about ownership and flushing.
14529 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14530 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14531 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14532 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14533 * libs/gst/base/gstbasesink.h:
14535 Added new methods to allow subclass to control max-lateness
14537 Generate very basic QoS events based on last sync observation.
14538 Updated docs, fix typo, added some QoS blurb.
14540 * libs/gst/base/gstbasesrc.c:
14541 Remove obsolete _get_state() calls from docs.
14543 2006-03-07 Wim Taymans <wim@fluendo.com>
14545 * docs/libs/gstreamer-libs-sections.txt:
14546 * libs/gst/base/gstbasetransform.h:
14547 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14548 Fix docs for GstBaseSrc.
14550 2006-03-07 Wim Taymans <wim@fluendo.com>
14552 * docs/gst/gstreamer-sections.txt:
14555 * libs/gst/base/gstbasetransform.h:
14556 Small documentation fixes.
14558 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14561 Document thread-unsafety of gst_value_register_foo_func()
14562 when used at the same time as gst_value_foo() (#322628).
14564 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14566 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14567 (gst_push_src_check_get_range):
14568 Push sources don't support pull mode by default.
14570 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14572 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14573 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14574 (gst_base_src_default_check_get_range):
14575 * libs/gst/base/gstbasesrc.h:
14576 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14577 provide default implementation, and rename
14578 gst_base_src_check_get_range() to
14579 gst_base_src_pad_check_get_range() for clarity.
14581 2006-03-06 Wim Taymans <wim@fluendo.com>
14583 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14584 Make property overridable.
14586 2006-03-06 Wim Taymans <wim@fluendo.com>
14588 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14589 (gst_base_sink_init), (gst_base_sink_set_property),
14590 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14591 * libs/gst/base/gstbasesink.h:
14592 API addition: Make max-lateness a property.
14594 2006-03-06 Wim Taymans <wim@fluendo.com>
14596 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14597 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14598 Don't ever draw a frame that is >10ms late.
14600 2006-03-06 Michael Smith <msmith@fluendo.com>
14602 * gst/gstmessage.c: (_gst_message_copy):
14603 When copying a message, set the parent_refcount of the enclosed
14604 structure to point at the copy, not the original message.
14606 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14608 Patch by: Christophe Fergeau
14611 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14612 usable in c++ code (#333417)
14614 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14617 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14619 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14621 * libs/gst/base/gstbasetransform.c:
14622 (gst_base_transform_transform_caps):
14623 Make sure caps are writable before passing them to
14626 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14629 Fix some minor docs errors.
14631 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14633 Patch by: Ross Burton <ross at burtonini dot com>
14635 * gst/gsterror.c: (_gst_resource_errors_init):
14637 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14639 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14642 Add a check and output a g_warning when GStreamer is built
14643 against GLib 2.6 but running against 2.8 or higher, and vice
14644 versa. (Closes: #323542)
14646 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14648 * gst/parse/parse.l:
14649 Commit patch for parse_launch syntax from #331255. Removes
14650 support for quoted strings and mimetypes when writing filtered
14651 caps. See the bug report for more details - I'm pretty sure this
14652 obscure feature is not in use by _anyone_ anywhere.
14654 With this simple change, the size of the gstreamer.so here
14655 drops from 2193KB to 1565KB.
14657 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14659 * plugins/elements/gsttypefindelement.h:
14660 * plugins/elements/gsttypefindelement.c:
14661 (gst_type_find_element_src_event), (start_typefinding),
14662 (stop_typefinding), (gst_type_find_element_handle_event),
14663 (gst_type_find_element_chain),
14664 (gst_type_find_element_chain_do_typefinding):
14665 Use gst_type_find_helper_for_buffer() for chain-based
14668 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14670 * plugins/elements/gsttypefindelement.c:
14671 (gst_type_find_element_class_init),
14672 (gst_type_find_element_set_property),
14673 (gst_type_find_element_get_property):
14674 Deprecate "maximum" property (not only was it only taken into
14675 account for typefinding in push-mode anyway, it also was never
14676 actually possible to set it in the first place because the
14677 property was registered with the numeric property ID for the
14678 "minimum" property). Register "maximum" property correctly,
14679 for the sake of future copy'n'pasters. Remove some cruft
14680 from property get/set functions.
14682 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14684 * plugins/elements/gsttypefindelement.c:
14685 (gst_type_find_element_activate):
14686 Use gst_type_find_helper_get_range() here, so we
14687 can honour the "minimum" property and also emit
14688 the signal with the correct probability of the found caps.
14690 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14692 * docs/libs/gstreamer-libs-sections.txt:
14693 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14694 (helper_find_suggest), (gst_type_find_helper_get_range),
14695 (gst_type_find_helper):
14696 * libs/gst/base/gsttypefindhelper.h:
14697 New API: gst_type_find_helper_get_range() (#333042).
14699 2006-03-02 Michael Smith <msmith@fluendo.com>
14701 * gst/gstregistryxml.c: (load_feature):
14702 Asserting on a failure to read part of the registry is Not Cool.
14703 Just log a warning and return NULL (which is already handled)
14705 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14707 * win32/common/libgstbase.def:
14708 added export of gst_type_find_helper_for_buffer
14709 * win32/common/libgstbase.def:
14710 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14711 gst_ghost_pad_get_target
14713 2006-02-28 Wim Taymans <wim@fluendo.com>
14715 * docs/design/draft-klass.txt:
14717 Added Connector to mark elements that are only used to
14718 allow pipeline connections.
14719 Moved Debug to extra feature since most of them are
14720 functionally something else.
14722 2006-02-28 Wim Taymans <wim@fluendo.com>
14724 * docs/design/draft-klass.txt:
14725 Some updates and clarifications.
14727 2006-02-28 Wim Taymans <wim@fluendo.com>
14729 * docs/design/draft-klass.txt:
14730 Proposal for klass field values.
14732 * docs/design/part-streams.txt:
14733 Start of a doc describing stream anatomy.
14735 2006-02-28 Wim Taymans <wim@fluendo.com>
14737 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14738 Help the compiler a bit with type registration.
14739 Use existing forward cod path instead of duplicating it when
14740 handling a message.
14742 * gst/gstbus.c: (gst_bus_get_type):
14743 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14744 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14745 * gst/gstclock.c: (gst_clock_get_type):
14746 * gst/gstelement.c: (gst_element_get_type),
14747 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14748 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14749 * gst/gstminiobject.c: (gst_mini_object_get_type):
14750 * gst/gstpad.c: (gst_pad_get_type):
14751 * gst/gstsegment.c: (gst_segment_get_type):
14752 * gst/gststructure.c: (gst_structure_get_type):
14753 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14754 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14756 Help compiler with type registration.
14758 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14761 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14763 * plugins/elements/gsttypefindelement.c:
14764 (gst_type_find_element_handle_event):
14765 When we get an EOS event and have not found a type yet
14766 (most likely because we had not yet accumulated
14767 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14768 type given the data we have so far. Fixes typefinding
14769 for very short streams again, most notably quicktime
14770 redirections as used on Apple's trailer site (#331701).
14772 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14774 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14775 (gst_type_find_helper):
14776 Try typefinding factories with the highest rank first.
14778 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14780 * docs/libs/gstreamer-libs-docs.sgml:
14781 * docs/libs/gstreamer-libs-sections.txt:
14782 * libs/gst/base/gsttypefindhelper.c:
14783 Add section for typefind helper and add documentation
14784 for the old and the new function.
14786 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14788 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14789 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14790 (gst_type_find_helper_for_buffer):
14791 * libs/gst/base/gsttypefindhelper.h:
14792 New API: gst_type_find_helper_for_buffer() (#332723).
14794 2006-02-27 Michael Smith <msmith@fluendo.com>
14796 Patch by: Loïc Minier
14799 * docs/Makefile.am:
14800 * docs/slides/Makefile.am:
14801 prevent CVS directories getting disted.
14803 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14805 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14806 Use the REFCOUNTING category for caps refcounting.
14808 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14810 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14811 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14813 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14815 * plugins/elements/gsttypefindelement.c:
14816 (gst_type_find_element_activate):
14817 Use gst_pad_check_pull_range() before _activate_pull()
14818 to avoid unnecessary open/close (see #331690).
14820 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14823 Docs enhancement: make it crystal clear what the
14824 gst_pad_add_*_probe() callbacks should look like.
14826 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14828 * libs/gst/base/gstbasesrc.c:
14829 Document how applications can stop recording from
14830 live sources (see #330996).
14832 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14834 * tests/check/Makefile.am:
14835 * tests/check/libs/basesrc.c: (eos_event_counter),
14836 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14837 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14838 (gst_basesrc_suite), (main):
14839 ... and add some tests for the base source EOS stuff.
14841 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14843 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14844 Test case originally showed the problem fixed below,
14845 but was then amended. Add checks back at the place
14846 where they used to be.
14848 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14850 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14851 (gst_base_src_init), (gst_base_src_loop),
14852 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14853 (gst_base_src_change_state):
14854 * libs/gst/base/gstbasesrc.h:
14855 Don't unconditionally send EOS when going from PAUSED to
14856 READY state, esp. make sure we don't send two EOS events
14857 in some cases (e.g. one when reaching EOS and one when
14858 going from PAUSED to READY). Also, we don't want to send
14859 EOS events when operating in pull mode. However, we do
14860 want to send an EOS event when shutting down a live
14861 source explicitly, for example (fixes #330996).
14863 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14865 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14866 Update src->read_position after a seek when not using mmap.
14867 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14869 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14875 Make things work with --disable-parse as they do with
14876 --disable-load-save - the symbols involved disappear, but the
14877 header is still installed and GST_DISABLE_PARSE is included via
14880 2006-02-20 Julien MOUTTE <julien@moutte.net>
14882 * libs/gst/base/gstbasetransform.c:
14883 (gst_base_transform_change_state): Fix a stupid bug. I was
14884 sure I compiled that.
14886 2006-02-20 Julien MOUTTE <julien@moutte.net>
14888 * gst/gstpad.c: (gst_pad_set_blocked_async):
14889 * gst/gstutils.c: (gst_pad_add_data_probe),
14890 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14891 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14892 (gst_pad_remove_buffer_probe): Make those function act on the
14893 ghostpad target when it's a ghostpad. (Closes #331727)
14895 2006-02-20 Julien MOUTTE <julien@moutte.net>
14897 * libs/gst/base/gstbasetransform.c:
14898 (gst_base_transform_change_state): Make basetransform reusable.
14901 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14903 * docs/random/release:
14904 Move the current documentation of how to do a release to the top
14907 * gst/gstbin.c: (gst_bin_class_init),
14908 (gst_bin_handle_message_func):
14909 Allow multiple state-recalculation threads. (Closes #328873)
14911 2006-02-19 Julien MOUTTE <julien@moutte.net>
14913 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14914 * gst/gstpad.c: (gst_pad_set_event_function),
14915 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14916 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14917 2 strings. You can't use the STR_NULL macro on that.
14919 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14921 * gst/gstpad.c: (gst_pad_set_event_function),
14922 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14923 (gst_pad_set_getcaps_function)
14924 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14925 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14926 So now, we can use --gst-debug-level=5 on Windows
14927 * win32/common/libgstcontroller.def:
14928 Added export of gst_controller_init
14929 * win32/vs6/libgstcontroller.dsp:
14930 Fixed Release post build configuration
14932 2006-02-17 Wim Taymans <wim@fluendo.com>
14934 * tests/check/gst/gstquery.c: (GST_START_TEST):
14935 Added another check.
14937 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14939 * plugins/elements/gsttypefindelement.c: (find_peek):
14940 We can do peeks at non-zero offsets, as long as they
14941 fall within the buffer we have.
14943 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14945 * tests/check/Makefile.am:
14946 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14947 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14948 (parse_suite), (main):
14949 Add testsuite for parse launch syntax
14951 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14953 * plugins/elements/gsttypefindelement.c:
14954 (gst_type_find_element_chain):
14955 When typefinding is unsuccessful in the chain function, don't
14956 error out immediately. Only error out with NO_CAPS_FOUND if
14957 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14958 otherwise simply wait for more data so we can try typefinding
14959 again with more data later. Also, don't attempt to typefind
14960 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14961 this should improve typefinding from network sources where the
14962 size of the first buffer can be somewhat random.
14964 2006-02-14 Wim Taymans <wim@fluendo.com>
14966 * docs/gst/gstreamer-sections.txt:
14967 * gst/gstpadtemplate.c:
14968 * gst/gstpadtemplate.h:
14969 Fix padtemplate docs, fixes #328805.
14971 2006-02-14 Wim Taymans <wim@fluendo.com>
14973 * tools/gst-launch.c: (main):
14974 NO_PREROLL is not an ERROR so don't send confusing messages
14977 2006-02-14 Wim Taymans <wim@fluendo.com>
14979 Patch by: Torsten Schoenfeld
14981 * gst/gstregistry.c: (gst_registry_get_default),
14982 (_gst_registry_cleanup):
14983 Protect default registry with lock and ref/sink it.
14986 2006-02-14 Wim Taymans <wim@fluendo.com>
14989 * gst/gstquery.c: (gst_query_list_add_format),
14990 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14991 (gst_query_parse_formats_nth):
14992 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14995 2006-02-14 Wim Taymans <wim@fluendo.com>
14997 * docs/gst/gstreamer-sections.txt:
14998 Reworked query docs.
15000 * gst/gstquery.c: (gst_query_new_formats),
15001 (gst_query_list_add_format), (gst_query_set_formats),
15002 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15003 (gst_query_parse_formats_nth):
15005 Flesh out formats query, added some new methods.
15006 Fix part of #324398.
15008 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15009 Added query creation tests.
15011 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15013 * gst/gstpad.c: (fixate_value):
15014 Add a default fixation for fraction lists.
15016 2006-02-13 Wim Taymans <wim@fluendo.com>
15018 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15019 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15022 Detect and warn for obvious deadlocks. fixes #320340
15023 Fix error case where lock was not released.
15025 * tests/check/Makefile.am:
15026 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15027 (task_func), (gst_element_suite), (main):
15030 2006-02-13 Wim Taymans <wim@fluendo.com>
15032 * docs/gst/gstreamer-sections.txt:
15034 Add new functions to docs.
15036 2006-02-13 Wim Taymans <wim@fluendo.com>
15038 * docs/design/part-TODO.txt:
15039 Updated TODO list, basesrc supports seeking to non-bytes
15042 * docs/design/part-element-sink.txt:
15045 * gst/gstbin.c: (bin_replace_message),
15046 (gst_bin_handle_message_func):
15047 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15048 * gst/gstevent.c: (gst_event_finalize):
15049 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15050 (gst_pad_send_event):
15051 Use shiny new _TYPE_NAME macros.
15053 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15054 Move debug statement up.
15056 * gst/gstelement.c: (gst_element_set_locked_state):
15057 Add some debugging.
15059 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15061 * docs/gst/gstreamer-sections.txt:
15062 * gst/gstmessage.h:
15064 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15065 macros (#330906). Also, document the already existing
15066 GST_QUERY_TYPE macro.
15068 2006-02-13 Wim Taymans <wim@fluendo.com>
15070 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15071 (event_probe), (GST_START_TEST):
15072 Only events up to the pipeline EOS are counted, there are
15073 some more when going to NULL currently which we don't care
15076 2006-02-13 Wim Taymans <wim@fluendo.com>
15078 * gst/gstpad.c: (gst_pad_send_event):
15079 Correctly check flushing and emit probes. fixes #330125
15081 2006-02-10 Andy Wingo <wingo@pobox.com>
15083 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15085 (gst_bus_init): Cache the location of the private data in the
15086 instance structure.
15087 (gst_bus_enable_sync_message_emission)
15088 (gst_bus_disable_sync_message_emission): Implement new public
15090 (gst_bus_post): Emit the sync-message signal if the user asked for
15093 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15094 location of the bus-private structure.
15095 (gst_bus_enable_sync_message_emission)
15096 (gst_bus_disable_sync_message_emission): API addition
15098 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15100 Patch by: Vincent Torri
15102 * docs/pwg/building-boiler.xml:
15103 PWG patch from #326800
15105 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15108 * docs/Makefile.am:
15109 * docs/design/Makefile.am:
15112 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15117 === release 0.10.3 ===
15119 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15122 releasing 0.10.3, "Like a virgin"
15124 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15127 2nd prerelease of 0.10.3
15128 Bump libtool versioning.
15130 2006-02-07 Andy Wingo <wingo@pobox.com>
15132 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15133 update last_stop if we're in TIME format and the timestamp is
15136 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15137 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15138 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15139 If we get a new newsegment with a different format, adapt
15142 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15143 of 0. Not a problem, really.
15145 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15148 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15153 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15156 project files updated to the default vs7 configuration
15157 * win32/common/libgstbase.def:
15158 * win32/common/libgstreamer.def:
15160 removed empty lines,
15161 sorted all exported symbols alphabetically
15162 * win32/common/dirent.c:
15163 * win32/common/dirent.h:
15164 * win32/common/gchar.h:
15165 use windows line end.
15167 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15169 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15170 Send EOS event when stopping.
15172 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15175 Tell folks what to do if the plugin-foobar.xml file
15176 hasn't been generated for a newly-added plugin.
15178 2006-02-05 Julien MOUTTE <julien@moutte.net>
15180 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15181 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15182 (gst_collect_pads_start), (gst_collect_pads_stop),
15183 (gst_collect_pads_event): Collectpads now holds a reference
15184 to the GstPad that was added. Indeed we don't want to look
15185 at pads that might just go away with no warning...
15187 2006-02-05 Julien MOUTTE <julien@moutte.net>
15189 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15190 (gst_collect_pads_start), (gst_collect_pads_stop),
15191 (gst_collect_pads_event), (gst_collect_pads_chain):
15192 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15193 Mark Nauwelaerts's patch on bug #328491.
15195 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15197 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15199 Add some simple tests for gst_parse_bin_from_description() and
15200 gst_bin_find_unconnected_pad() (#329069).
15202 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15204 * tools/gst-launch.c: (event_loop), (main):
15205 Catch errors during preroll (#320084).
15207 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15209 * plugins/elements/gsttypefindelement.c:
15210 (gst_type_find_element_activate):
15211 Post TYPE_NOT_FOUND error message when typefinding
15212 is unsuccessful in the activate function as well.
15214 2006-02-02 Wim Taymans <wim@fluendo.com>
15216 * docs/design/part-element-sink.txt:
15219 2006-02-02 Wim Taymans <wim@fluendo.com>
15221 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15222 (gst_base_sink_render_object),
15223 (gst_base_sink_queue_object_unlocked):
15224 Only keep track of prerollable items when we are
15226 Before rendering after preroll, always check if we
15228 Added some more debugging.
15230 2006-02-02 Wim Taymans <wim@fluendo.com>
15232 * gst/gstelement.c: (gst_element_continue_state),
15233 (gst_element_set_state_func), (gst_element_change_state):
15234 Fixed #326576, been running this for quite some time with
15235 no regressions at all.
15237 2006-02-02 Wim Taymans <wim@fluendo.com>
15240 Added more suppressions
15242 2006-02-02 Wim Taymans <wim@fluendo.com>
15244 * docs/design/part-element-sink.txt:
15247 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15248 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15249 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15250 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15251 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15252 (gst_base_sink_preroll_object),
15253 (gst_base_sink_queue_object_unlocked),
15254 (gst_base_sink_queue_object), (gst_base_sink_event),
15255 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15256 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15257 (gst_base_sink_get_position), (gst_base_sink_change_state):
15258 * libs/gst/base/gstbasesink.h:
15259 Totally refactored matching the design doc.
15260 Use two segments, one to clip incomming buffers and another to
15262 Handle queueing correctly, bypass the queue when playing.
15263 Make EOS cancelable.
15264 Handle errors correctly when operating in pull based mode.
15266 * tests/check/elements/fakesink.c: (GST_START_TEST),
15268 Added new check for sinks.
15270 2006-02-02 Wim Taymans <wim@fluendo.com>
15272 * gst/gstsegment.c: (gst_segment_clip):
15273 No reason to refuse to clip when start == -1
15275 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15278 * docs/manual/intro-basics.xml:
15279 * docs/manual/intro-preface.xml:
15280 * docs/manual/manual.xml:
15281 * docs/pwg/advanced-dparams.xml:
15282 * docs/pwg/intro-basics.xml:
15283 * docs/pwg/intro-preface.xml:
15284 * docs/pwg/pwg.xml:
15285 describe dparams (controller) for plugins
15286 unify docs a little more
15288 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15290 * docs/gst/gstreamer-sections.txt:
15291 * gst/gstutils.c: (element_find_unconnected_pad),
15292 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15294 Add new API: gst_parse_bin_from_description() and
15295 gst_bin_find_unconnected_pad() (#329069).
15297 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15299 * docs/manual/README:
15300 uncover a nasty detail of the docs build
15302 2006-01-31 Wim Taymans <wim@fluendo.com>
15304 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15305 Don't cache duration messages if we're not going to use or
15308 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15310 * docs/manual/advanced-dparams.xml:
15311 * docs/pwg/advanced-dparams.xml:
15315 * libs/gst/controller/lib.c: (gst_controller_init):
15318 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15320 * gst/gstelement.c: (gst_element_message_full):
15321 also show file/line/func if no additional debug was given
15323 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15325 * win32/vs7/grammar.vcproj:
15326 activate copy of autogenerated files for Release mode
15328 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15330 * win32/common/libgstreamer.def:
15331 export gst_value_compare
15333 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15335 * plugins/elements/Makefile.am:
15336 * plugins/elements/gstelements.c:
15337 * plugins/elements/gstfdsink.c: (_do_init),
15338 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15339 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15340 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15341 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15342 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15343 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15344 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15345 * plugins/elements/gstfdsink.h:
15346 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15348 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15350 * docs/manual/advanced-dparams.xml:
15351 describe controller
15352 * docs/manual/advanced-position.xml:
15353 * docs/manual/basics-init.xml:
15354 * docs/manual/manual.xml:
15355 * docs/manual/titlepage.xml:
15356 * docs/pwg/pwg.xml:
15357 * docs/pwg/titlepage.xml:
15358 cleanup xml (more to come)
15359 * libs/gst/controller/gstcontroller.c:
15362 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15364 * win32/vs6/grammar.dsp:
15365 add autogen of gstmarshal.c,h for Release mode
15367 2006-01-30 Wim Taymans <wim@fluendo.com>
15369 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15370 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15371 (gst_base_sink_handle_object), (gst_base_sink_event),
15372 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15373 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15374 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15375 (gst_base_sink_deactivate), (gst_base_sink_activate),
15376 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15377 (gst_base_sink_query), (gst_base_sink_change_state):
15378 Basesink cleanups, remove some old code.
15379 Handle the case where a subclass can preroll in the render
15380 method (mostly audiosinks).
15381 Handle more events.
15382 Remove some locks around variables that are now protected
15383 with the PREROLL_LOCK (clock_id, flushing, ..).
15384 Optimize position query some more, do correct locking.
15385 Remove old code to push queue in state change, this is not
15386 needed anymore since preroll blocks on all prerollable items
15388 Almost implemented as described in design doc.
15390 2006-01-30 Wim Taymans <wim@fluendo.com>
15392 * tests/check/gst/gstbin.c: (GST_START_TEST):
15393 Wait for refcount to settle down before checking.
15395 2006-01-30 Wim Taymans <wim@fluendo.com>
15397 * docs/design/part-element-sink.txt:
15398 Pseudo code overview of desired sink behaviour regarding
15401 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15402 * win32/vs6/grammar.dsp:
15403 fix some bugs in Release mode for autogenerated files
15405 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15406 * win32/common/libgstbase.def:
15407 * win32/common/libgstreamer.def:
15408 export some new symbols: gst_base_src_set_format,
15409 gst_iterator_next, gst_structure_set_valist
15411 2006-01-29 Julien MOUTTE <julien@moutte.net>
15413 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15414 Set pad functions unconditionally. Fixes #329105.
15416 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15418 add vs8 project files created by Sergey Scobich
15420 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15422 * gst/gstutils.c: (gst_element_unlink_pads):
15423 Don't leak pad references.
15425 * tests/check/elements/fakesink.c: (GST_START_TEST):
15426 * tests/check/generic/sinks.c: (GST_START_TEST):
15427 * tests/check/generic/states.c: (GST_START_TEST):
15428 * tests/check/gst/gstbin.c: (GST_START_TEST):
15429 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15430 * tests/check/gst/gstelement.c: (GST_START_TEST):
15431 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15432 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15433 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15434 Fix a bunch of leaks. Make generic/sinks.c
15435 use a bit less cpu by slowing the buffer rate
15436 between fakesrc and fakesink.
15438 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15440 * gst/gstelement.c: (gst_element_send_event):
15443 * gst/gstiterator.c:
15444 * gst/gstiterator.h:
15445 * gst/gstpad.c: (gst_pad_send_event):
15446 * gst/gststructure.c:
15450 * libs/gst/base/gstadapter.c:
15451 doc fixes, to link to function, just write gst_cool_function(), don't
15454 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15456 * plugins/elements/gsttee.c: (gst_tee_do_push),
15457 (gst_tee_handle_buffer):
15458 Always prefer an actual return value from a src
15459 pad in place of NOT_LINKED. This means we return
15460 WRONG_STATE when all src pads are WRONG_STATE
15461 instead of NOT_LINKED.
15463 Lock when replacing the last message to prevent
15464 racing with the get_property method.
15468 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15470 * tests/check/Makefile.am:
15471 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15473 Add a very simple check that should have caught the memleak I fixed
15474 last night (if not for the slice allocator hiding it)
15476 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15478 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15479 (gst_bin_remove_func), (gst_bin_handle_message_func),
15480 (bin_query_duration_fold), (bin_query_generic_fold):
15481 Clean up references to the clock provider when disposed or when
15482 handling a clock-lost message from it.
15484 Unref sinks when performing a query via gst_iterator_fold, as the
15485 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15487 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15488 (gst_clock_set_master):
15489 Drop our reference to the master clock, if any, when we are disposed.
15491 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15492 Chain up in dispose.
15494 2006-01-26 Wim Taymans <wim@fluendo.com>
15496 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15497 Add some debugging.
15499 2006-01-26 Julien MOUTTE <julien@moutte.net>
15501 * plugins/elements/gsttee.c: (gst_tee_do_push),
15502 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15503 handles pad being NOT_LINKED or in WRONG_STATE.
15505 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15510 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15513 remove obsolete entry
15515 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15517 * docs/gst/gstreamer-sections.txt:
15518 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15519 (gst_bin_iterate_sources), (gst_bin_send_event):
15521 * gst/gstelement.c: (gst_element_send_event):
15523 * gst/gstpad.c: (gst_pad_send_event):
15524 added code for downstream events, reviewed docs in gstevent.c
15526 2006-01-25 Julien MOUTTE <julien@moutte.net>
15528 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15529 We only query position using the clock in the playing state.
15530 Query peer in the other cases.
15531 * win32/common/config.h: Updates.
15533 2006-01-24 Wim Taymans <wim@fluendo.com>
15535 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15536 A clock entry that is scheduled for the exact time of the
15537 clock is still in time.
15539 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15540 (gst_base_sink_do_sync):
15541 Add some more debug info.
15543 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15546 Add new vs7 project files and solution.
15548 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15551 all files removed as they were out-dated.
15553 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15555 * docs/random/release:
15557 * gst/gstbin.c: (gst_bin_init):
15558 * gst/gstbus.c: (gst_bus_new):
15560 * gst/gstpipeline.c: (gst_pipeline_init):
15561 use gst_bus_new(), improve logging, fix docs
15562 * win32/common/config.h:
15563 update for cvs build
15565 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15568 up required version of automake to 1.7
15570 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15572 * win32/common/libgstreamer.def:
15573 export gst_buffer_is_metadata_writable
15575 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15577 * docs/gst/gstreamer-sections.txt:
15579 Add gst_event_replace() (#327001)
15581 2006-01-20 Wim Taymans <wim@fluendo.com>
15583 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15584 Make it actually compile too..
15586 2006-01-20 Wim Taymans <wim@fluendo.com>
15589 Clarify behaviour of _is_equal() when passing NULL parameters.
15591 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15592 (gst_pad_set_caps):
15593 Cleanups. Don't unref NULL caps.
15594 When setting the same caps, protect caps of the pad with
15596 Use full functionality of _is_equal() when comparing caps.
15598 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15600 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15601 Don't loop infinitely if there are no buffers to present. Partially
15602 fixes #327197, but collectpads is just broken for reusing elements
15603 to do multiple encodes atm.
15605 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15607 * tools/gst-inspect.c: (print_element_features):
15608 * tools/gst-xmlinspect.c: (main):
15609 URL_HANDLER is not a plugin feature we can search for in
15612 2006-01-19 Edward Hervey <edward@fluendo.com>
15614 * gst/gstelement.c: (gst_element_pads_activate):
15615 When activating, do src pads first, then sink pads.
15616 When de-activating, do sink pads first, then src pads.
15618 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15620 * docs/gst/gstreamer-sections.txt:
15621 Add gst_index_add_associationv to the docs
15623 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15628 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15629 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15630 Do some refactoring. Doesn't actually change functionality,
15631 but makes landing the DRAIN event easier later.
15633 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15635 * docs/pwg/advanced-scheduling.xml:
15636 Update from 0.9.x to 0.10 API and make example a bit
15639 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15641 * docs/gst/gstreamer-sections.txt:
15642 Add gst_buffer_(is|make)_metadata_writable methods.
15644 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15646 * docs/design/part-sparsestreams.txt:
15647 Update sparse streams doc, hopefully for greater clarity
15649 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15651 * docs/design/part-events.txt:
15652 Remove mention of FILLER events.
15655 * docs/design/part-sparsestreams.txt:
15656 Write some things about using NEWSEGMENT to keep sparse streams
15659 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15661 * gst/gstbin.c: (gst_bin_dispose):
15662 Guard gst_object_unref call against a NULL object (dispose
15663 can theoretically be called multiple times).
15665 2006-01-18 Wim Taymans <wim@fluendo.com>
15667 * gst/gstbin.c: (gst_bin_element_set_state):
15668 * gst/gstclock.c: (gst_clock_id_wait):
15669 Added some more debug info.
15671 * libs/gst/base/gstadapter.c:
15674 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15675 (gst_base_sink_do_sync), (gst_base_sink_chain):
15676 Added some comments.
15678 2006-01-18 Wim Taymans <wim@fluendo.com>
15680 * tests/check/Makefile.am:
15681 * tests/check/elements/fakesink.c: (chain_async_buffer),
15682 (chain_async), (chain_async_return), (GST_START_TEST),
15683 (fakesink_suite), (main):
15684 Added fakesink test that checks prerolling and clipping
15687 * tests/check/gst/gstutils.c: (GST_START_TEST):
15688 Make check run faster so that buildbots don't timeout.
15690 2006-01-18 Wim Taymans <wim@fluendo.com>
15692 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15693 (gst_base_sink_do_sync):
15695 When the sink finishes blocking on the preroll buffer, it can
15696 immediatly render it instead of rendering when the next buffer
15699 2006-01-18 Wim Taymans <wim@fluendo.com>
15701 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15702 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15703 (gst_base_sink_chain):
15705 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15706 Don't store _last_stop if the buffer is dropped.
15708 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15710 * plugins/elements/gsttypefindelement.c:
15711 (gst_type_find_element_class_init):
15712 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15713 object method handler that sets the caps on the pad and we want
15714 that to happen before we emit the signal (fixes e.g. feeding a
15715 plain text file to decodebin).
15717 2006-01-18 Christian Schaller <Christian@fluendo.com>
15719 * gst/gstplugin.c: Add MPL and Proprietary as license options
15721 2006-01-18 Andy Wingo <wingo@pobox.com>
15723 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15724 symbol was exported before, it appears this was just an oversight.
15726 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15728 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15729 prototype to gint. OK since this prototype was not in the header.
15731 2006-01-17 Andy Wingo <wingo@pobox.com>
15733 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15734 registry while we remove plugins.
15736 * tools/gst-inspect.c (print_element_info): Don't unref the
15737 factory arg, that should be the responsibility of whatever code
15738 received the ref. Fixes a double-free when called from
15739 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15740 (main): Unref the factory if we have one.
15741 (print_element_list): No change -- relies on the
15742 plugin_feature_list_free to free the list of features.
15744 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15746 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15747 (gst_buffer_make_metadata_writable):
15749 * libs/gst/base/gstbasetransform.c:
15750 (gst_base_transform_prepare_output_buf):
15751 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15752 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15753 Replace gst_buffer_(make|is)_metadata_writable patch now
15754 that the release is out.
15756 2006-01-17 Andy Wingo <wingo@pobox.com>
15758 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15759 in the present tense without reference to versions.
15761 * gst/gstregistry.c (gst_registry_add_plugin)
15762 (gst_registry_remove_plugin, gst_registry_remove_feature)
15763 (gst_registry_find_feature, gst_registry_get_feature_list)
15764 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15765 (gst_registry_lookup, gst_registry_scan_path)
15766 (_gst_registry_remove_cache_plugins)
15767 (gst_registry_get_feature_list_by_plugin): Add argument
15770 === release 0.10.2 ===
15772 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15775 releasing 0.10.2, "If man is five"
15777 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15781 * libs/gst/base/gstbasetransform.c:
15782 (gst_base_transform_prepare_output_buf):
15783 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15784 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15785 Back out patch until after the release.
15787 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15789 * gst/gstminiobject.c:
15790 Spelling fix in docs.
15791 * ChangeLog - remove conflict indicator
15793 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15795 Reviewed By: Andy Wingo
15797 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15798 (gst_buffer_make_metadata_writable):
15800 Add gst_buffer_(is|make)_metadata_writable as analogues of
15801 gst_buffer_(is|make)_writable.
15803 * libs/gst/base/gstbasetransform.c:
15804 (gst_base_transform_prepare_output_buf):
15805 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15806 Use name gst_buffer_(is|make)_metadata_writable functions.
15808 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15809 Test gst_buffer_(is|make)_metadata_writable
15813 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15815 * docs/manual/Makefile.am:
15816 don't do parallel make
15819 * win32/common/config.h.in:
15820 add generations for HOST_CPU and GST_MAJORMINOR
15821 * win32/common/config.h:
15822 commit generated result
15824 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15826 * docs/manual/appendix-integration.xml:
15827 Update GNOME integration section to use gst_init_get_option_group()
15828 instead of the old popt stuff (#322911). Also, GNOME applications
15829 should now use gconf*sink and gconf*src instead of the old gconf
15832 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15835 * docs/gst/gstreamer-docs.sgml:
15836 * docs/gst/gstreamer-sections.txt:
15837 * docs/libs/gstreamer-libs-sections.txt:
15838 add new API entries to the docs
15839 * libs/gst/controller/Makefile.am:
15840 * libs/gst/controller/gstcontroller.c:
15841 * libs/gst/controller/gstcontroller.h:
15842 * libs/gst/controller/gstcontrollerprivate.h:
15843 * libs/gst/controller/gsthelper.c:
15844 * libs/gst/controller/gstinterpolation.c:
15845 move private structs to private header
15847 gstreamer-0.7 -> gstreamer-0.10
15848 * tests/check/libs/struct_i386.h:
15849 remove private structs
15851 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15853 * plugins/indexers/Makefile.am:
15854 Fixes as part of #317048
15856 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15858 * plugins/indexers/Makefile.am:
15859 fix #316086 - compilation when mmap is missing
15861 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15863 * libs/gst/base/gstbasesink.c:
15864 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15865 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15866 * win32/common/config.h:
15867 added some defines GST_MAJORMINOR and HOST_CPU
15868 * win32/common/libgstbase.def:
15869 * win32/common/libgstreamer.def:
15870 added some exported functions.
15872 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15874 * libs/gst/controller/gstcontroller.c:
15875 (gst_controlled_property_set_interpolation_mode),
15876 (gst_controlled_property_new):
15877 * libs/gst/controller/gstcontroller.h:
15878 * libs/gst/controller/gstinterpolation.c:
15879 (interpolate_none_get_string_value_array):
15880 make G_TYPE_STRING controlable
15882 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15885 * tools/gst-feedback.1.in:
15886 * tools/gst-inspect.1.in:
15887 * tools/gst-launch.1.in:
15888 * tools/gst-md5sum.1.in:
15889 * tools/gst-typefind.1.in:
15890 * tools/gst-xmlinspect.1.in:
15891 * tools/gst-xmllaunch.1.in:
15892 cleanup man-pages, remove reference to gst-register, document env-vars
15894 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15896 * gst/gstbuffer.c: (gst_buffer_span):
15897 gst_buffer_span should copy the timestamp of the first buffer
15898 if they were both originally overlapping subbuffers of the
15899 same parent, using the same logic as the 'slow copy' case.
15901 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15903 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15904 Need to awaken ALL the pads when we pop a buffer, otherwise
15905 collectpads only works when there is 2 input streams.
15907 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15909 * docs/random/ensonic/media-device-daemon.txt:
15912 fix doc example, add clarification
15913 * tools/gst-launch.1.in:
15914 add initial info about GST_PLUGIN_PATH, needs more work
15916 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15918 * docs/manual/basics-bins.xml:
15919 * docs/manual/basics-elements.xml:
15920 * docs/manual/intro-basics.xml:
15921 Some more minor docs additions and updates.
15923 2006-01-11 Wim Taymans <wim@fluendo.com>
15925 * docs/manual/basics-bins.xml:
15926 * docs/manual/basics-elements.xml:
15927 Some small fixes as pointed out by Ser-ver on IRC.
15929 2006-01-10 Edward Hervey <edward@fluendo.com>
15931 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15932 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15933 the single-segment mode.
15935 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15937 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15939 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15940 (gst_base_src_perform_seek), (gst_base_src_send_event),
15941 (gst_base_src_set_property), (gst_base_src_get_property),
15942 (gst_base_src_loop), (gst_base_src_start),
15943 (gst_base_src_activate_push):
15944 * libs/gst/base/gstbasesrc.h:
15945 Name (private) union; makes Sun's Forte compiler happy (#324900).
15947 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15950 gst-register is gone.
15952 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15954 * gst/gstvalue.c: (_gst_value_initialize):
15955 make the G_TYPE_DATE instantiation work if debug is disabled
15957 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
15959 * gst/gstmessage.c: (gst_message_parse_tag),
15960 (gst_message_parse_error), (gst_message_parse_warning):
15961 Don't crash when return location for error/warning debug
15962 string is NULL; add fact that return locations can be
15963 NULL to docs where appropriate.
15965 2006-01-05 Wim Taymans <wim@fluendo.com>
15967 * gst/gstplugin.c: (gst_plugin_load_file):
15968 Replace strdup by g_strdup.
15970 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15972 * docs/pwg/advanced-types.xml:
15975 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15977 submitted by: Abel Cheung
15981 Added Chinese (traditional) translation
15983 2006-01-04 Wim Taymans <wim@fluendo.com>
15985 * docs/manual/basics-pads.xml:
15986 * docs/plugins/Makefile.am:
15987 * docs/plugins/gstreamer-plugins-docs.sgml:
15988 * docs/plugins/gstreamer-plugins-sections.txt:
15989 * docs/pwg/advanced-clock.xml:
15990 * docs/pwg/advanced-scheduling.xml:
15991 * docs/pwg/advanced-types.xml:
15992 * plugins/elements/gstfdsink.c:
15993 * plugins/elements/gstfdsrc.c:
15994 * plugins/elements/gstfdsrc.h:
15995 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15996 * plugins/elements/gstidentity.h:
15997 * plugins/elements/gstqueue.h:
15998 * plugins/elements/gsttee.c:
15999 * plugins/elements/gsttee.h:
16000 * plugins/elements/gsttypefindelement.c:
16001 (gst_type_find_element_class_init):
16002 * plugins/elements/gsttypefindelement.h:
16003 Small updates to various docs.
16004 Added core plugins to docs.
16006 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16009 add a suppression for liboil's uninitialized variable
16011 2006-01-02 James Livingston <jrl at ids dot org dot au>
16013 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16016 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16017 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16018 compiler switch is being used (#325429).
16020 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16022 * gst/gstbin.c: (gst_bin_query):
16023 Disable duration query caching in bins until it gets
16024 fixed (see #324807).
16026 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16028 * tools/gst-inspect.c: (print_element_properties_info):
16029 Handle properties of POINTER and BOXED type.
16031 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16033 * gst/gst.c: (init_post):
16034 Init tags stuff and some other things before loading
16035 any static plugins (there may be other static plugins
16036 than just the GStreamer ones, and they may want to
16037 register their own tags or formats or whatever, and
16038 preferably without segfaulting).
16040 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16041 Print at least a warning in the debug logs if we drop a
16042 query just because we don't know how to adjust the value
16043 in the particular format.
16045 2005-12-24 David Schleef <ds@schleef.org>
16047 * tools/gstreamer-completion:
16048 Replacement for gst-complete written in sh and sed. Only
16049 completes names of features, but that's 90% of what I want
16050 it for. Properties are not available in registry.xml. (Maybe
16053 === release 0.10.1 ===
16055 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16058 releasing 0.10.1, "Nollaig chridheil"
16060 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16062 * docs/faq/cvs.xml:
16063 Add missing quote, should be make ERROR_CFLAGS="".
16065 2005-12-20 Wim Taymans <wim@fluendo.com>
16067 * docs/design/part-trickmodes.txt:
16068 More documentation on trickmodes.
16070 2005-12-20 Edward Hervey <edward@fluendo.com>
16072 * gst/gstcaps.c: (gst_static_caps_get_type):
16074 API addition: GST_TYPE_STATIC_CAPS
16075 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16076 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16077 * gst/gstpadtemplate.h:
16078 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16079 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16082 2005-12-18 Wim Taymans <wim@fluendo.com>
16084 * libs/gst/base/gstadapter.c:
16085 * libs/gst/base/gstadapter.h:
16086 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16087 (gst_base_sink_get_position):
16088 * libs/gst/base/gstbasesink.h:
16089 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16090 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16091 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16092 (gst_base_src_send_event), (gst_base_src_update_length),
16093 (gst_base_src_get_range), (gst_base_src_loop),
16094 (gst_base_src_start):
16095 * libs/gst/base/gstbasesrc.h:
16096 * libs/gst/base/gstbasetransform.h:
16097 * libs/gst/base/gstcollectpads.h:
16098 * libs/gst/base/gstpushsrc.c:
16099 * libs/gst/base/gstpushsrc.h:
16100 * libs/gst/dataprotocol/dataprotocol.c:
16101 * libs/gst/dataprotocol/dataprotocol.h:
16102 * libs/gst/net/gstnetclientclock.h:
16103 * libs/gst/net/gstnettimeprovider.h:
16104 Documentation updates.
16106 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16108 * docs/manual/basics-helloworld.xml:
16109 Remove superfluous closing bracket in helloworld example.
16111 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16113 * tools/gst-launch.1.in:
16114 Update gst-launch man page; add a section with useful
16115 environment variables. Fixes #323882.
16117 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16120 * gst/gst_private.h:
16121 change some char* into char[]
16123 2005-12-16 Wim Taymans <wim@fluendo.com>
16125 * gst/gstregistryxml.c: (load_feature):
16127 Don't use g_object_unref on GstObjects so that we avoid
16128 leaks on unsafe glibs.
16130 2005-12-16 Wim Taymans <wim@fluendo.com>
16132 * gst/gstbin.c: (gst_bin_recalc_state):
16135 2005-12-16 Wim Taymans <wim@fluendo.com>
16137 * common/check.mak:
16138 Added make forever target for check.
16140 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16142 * gst/gst.c: (init_post):
16143 make the registry cache file HOST_CPU-dependent
16145 2005-12-16 Andy Wingo <wingo@pobox.com>
16147 * plugins/elements/gstbufferstore.c
16148 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16151 * tests/check/gst/gstobject.c
16152 (test_fake_object_name_threaded_unique): Pay attention to
16153 g_list_sort return value.
16155 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16157 * tools/gst-feedback-m.m:
16158 Update for 0.9/0.10 (fixes #323870).
16160 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16162 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16163 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16165 * tests/check/gst/gstminiobject.c: (my_foo_init),
16166 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16167 (test_value_collection), (gst_mini_object_suite):
16168 Add test to ensure refcounts end up as expected when passing
16169 GstMiniObjects through g_object_get() and g_object_set().
16171 2005-12-14 Julien MOUTTE <julien@moutte.net>
16173 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16174 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16175 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16176 of collectpads. This version removes a lot of races without
16177 touching API/ABI. Yay !
16179 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16181 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16182 Don't allow activation of a srcpad in pull_range if it has no
16184 Change some debug statements to be a little clearer
16186 * plugins/elements/gsttypefindelement.c:
16187 (gst_type_find_handle_src_query):
16188 Check that we have a peer before executing queries thereupon.
16190 * tests/examples/metadata/read-metadata.c: (message_loop):
16191 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16192 immediately return us any available message with 0 timeout.
16194 2005-12-12 Michael Smith <msmith@fluendo.com>
16196 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16197 Don't unref factories after calling them.
16198 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16199 * plugins/elements/gsttypefindelement.c:
16200 (gst_type_find_element_chain):
16201 Free lists of factories after using them. Fixing typefinding memory
16204 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16206 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16207 (gst_plugin_feature_load):
16208 more meaningful debug output
16210 * tests/Makefile.am:
16211 * tests/old/examples/Makefile.am:
16212 make make distcheck happy again
16214 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16216 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16217 Catch the special case where we are operating chain-based,
16218 but the downstream peer pad has no chain function. Emit a
16219 custom error message in this case instead of letting the
16220 core generate one implying that this is some sort of core
16221 bug. It's not, it just means that whatever got plugged
16222 into the pipeline downstream when we announced the type
16223 can only operate pull-based, while our source can only
16224 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16225 Error string has not been marked for translation yet, as
16226 it probably needs some more work first.
16228 (gst_type_find_element_get_best_possibility):
16229 Add helper function to find the best of all available
16230 found possibilities that qualify given the min. threshold.
16232 (gst_type_find_element_handle_event):
16233 Fix the case where we get an EOS while still in TYPEFIND
16234 mode (we want to chose the best of all possible types,
16235 not just the first type that happens to be in our unsorted
16236 list of possible types).
16238 (gst_type_find_element_chain):
16239 Make sure we return GST_FLOW_ERROR when we errored out
16240 in stop_typefinding(); also, don't just find the best of
16241 all found type entries and then use the last examined
16242 type entry, but actually use the best entry.
16244 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16246 * tests/examples/typefind/typefind.c: (type_found):
16247 * tests/examples/xml/runxml.c: (xml_loaded):
16248 More gcc4 fixes and a mem leak fix.
16250 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16252 * tests/examples/xml/createxml.c: (object_saved):
16255 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16257 * tests/Makefile.am:
16258 enable the examples even more
16260 2005-12-12 Andy Wingo <wingo@pobox.com>
16262 * libs/gst/net/gstnettimeprovider.c
16263 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16264 (gst_net_time_provider_set_property)
16265 (gst_net_time_provider_get_property):
16266 API addition: Export "active" as a GObject property.
16267 (gst_net_time_provider_thread): Only respond to time queries if
16268 the time provider is active.
16270 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16271 NetTimeProvider, preserving binary compat.
16273 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16275 * tests/examples/controller/audio-example.c: (main):
16276 * tests/examples/launch/Makefile.am:
16277 convert comments again
16279 2005-12-12 Wim Taymans <wim@fluendo.com>
16281 * libs/gst/base/gstpushsrc.c:
16284 2005-12-12 Wim Taymans <wim@fluendo.com>
16286 * docs/libs/gstreamer-libs-sections.txt:
16287 Added new symbol to docs.
16289 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16290 (gst_base_src_init), (gst_base_src_set_format),
16291 (gst_base_src_default_query), (gst_base_src_query),
16292 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16293 (gst_base_src_perform_seek), (gst_base_src_send_event),
16294 (gst_base_src_default_event), (gst_base_src_event_handler),
16295 (gst_base_src_set_property), (gst_base_src_get_property),
16296 (gst_base_src_wait), (gst_base_src_do_sync),
16297 (gst_base_src_update_length), (gst_base_src_get_range),
16298 (gst_base_src_check_get_range), (gst_base_src_loop),
16299 (gst_base_src_default_negotiate), (gst_base_src_start),
16300 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16301 (gst_base_src_change_state):
16302 * libs/gst/base/gstbasesrc.h:
16303 Implement seeking to other formats than _BYTES.
16304 Implement more seeking methods correctly.
16306 Added query vmethod.
16307 Added do_seek vmethod to make life easier for subclasses
16309 API addition: gst_base_src_set_format()
16311 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16313 * tests/examples/Makefile.am:
16316 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16319 * docs/random/ensonic/media-device-daemon.txt:
16320 * tests/examples/controller/.cvsignore:
16321 * tests/examples/controller/Makefile.am:
16322 * tests/examples/controller/audio-example.c: (main):
16323 * tests/examples/helloworld/.cvsignore:
16324 * tests/examples/helloworld/Makefile.am:
16325 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16326 * tests/examples/launch/.cvsignore:
16327 * tests/examples/launch/Makefile.am:
16328 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16329 * tests/examples/metadata/.cvsignore:
16330 * tests/examples/metadata/Makefile.am:
16331 * tests/examples/metadata/read-metadata.c: (message_loop),
16332 (make_pipeline), (print_tag), (main):
16333 * tests/examples/queue/.cvsignore:
16334 * tests/examples/queue/Makefile.am:
16335 * tests/examples/queue/queue.c: (event_loop), (main):
16336 * tests/examples/typefind/.cvsignore:
16337 * tests/examples/typefind/Makefile.am:
16338 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16340 * tests/examples/xml/.cvsignore:
16341 * tests/examples/xml/Makefile.am:
16342 * tests/examples/xml/createxml.c: (object_saved), (main):
16343 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16344 * tests/old/examples/Makefile.am:
16345 * tests/old/examples/TODO:
16346 * tests/old/examples/controller/.cvsignore:
16347 * tests/old/examples/controller/Makefile.am:
16348 * tests/old/examples/controller/audio-example.c:
16349 * tests/old/examples/helloworld/.cvsignore:
16350 * tests/old/examples/helloworld/Makefile.am:
16351 * tests/old/examples/helloworld/helloworld.c:
16352 * tests/old/examples/launch/.cvsignore:
16353 * tests/old/examples/launch/Makefile.am:
16354 * tests/old/examples/launch/mp3parselaunch.c:
16355 * tests/old/examples/launch/mp3play:
16356 * tests/old/examples/manual/Makefile.am:
16357 * tests/old/examples/metadata/Makefile.am:
16358 * tests/old/examples/metadata/read-metadata.c:
16359 * tests/old/examples/queue/.cvsignore:
16360 * tests/old/examples/queue/Makefile.am:
16361 * tests/old/examples/queue/queue.c:
16362 * tests/old/examples/typefind/.cvsignore:
16363 * tests/old/examples/typefind/Makefile.am:
16364 * tests/old/examples/typefind/typefind.c:
16365 * tests/old/examples/xml/.cvsignore:
16366 * tests/old/examples/xml/Makefile.am:
16367 * tests/old/examples/xml/createxml.c:
16368 * tests/old/examples/xml/runxml.c:
16369 applied some simple fixing to some examples
16370 re-enabled the working examples
16372 2005-12-12 Wim Taymans <wim@fluendo.com>
16374 * gst/gstsegment.c: (gst_segment_init),
16375 (gst_segment_set_last_stop), (gst_segment_set_seek),
16376 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16377 (gst_segment_to_running_time):
16378 Added more documentation.
16379 Make sure the last_pos value is updated properly.
16380 Make sure to_stream_time and to_running_time don't
16381 operate on wrong values.
16383 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16386 2005-12-12 Michael Smith <msmith@fluendo.com>
16388 * plugins/elements/gsttypefindelement.c: (free_entry),
16389 (gst_type_find_element_chain):
16390 Now that we're not leaking factories, make sure we keep references
16391 to them while we need them.
16393 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16395 * tests/check/gst/struct_i386.h:
16396 ifdef out the XML structs
16398 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16400 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16401 floor is not needed, F is always positive; this obviates the
16402 need for adding -lm when building without libxml
16404 2005-12-12 Wim Taymans <wim@fluendo.com>
16406 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16407 Take current playback rate into account when reporting
16410 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16412 * docs/manual/mime-world.fig:
16413 Let's try this again, this time with a file that is
16414 actually in XFig format.
16416 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16418 * docs/manual/mime-world.fig:
16419 Add audioconvert element to diagram so that it
16420 matches the text and the code (fixes #319526).
16422 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16424 * docs/pwg/building-chainfn.xml:
16425 * docs/pwg/building-pads.xml:
16426 * docs/pwg/building-state.xml:
16427 * docs/pwg/other-source.xml:
16428 Update state change stuff for 0.10 (fixes #322969).
16430 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16432 * docs/manual/advanced-dataaccess.xml:
16433 * docs/manual/appendix-checklist.xml:
16434 * docs/manual/appendix-programs.xml:
16435 * docs/manual/basics-pads.xml:
16436 * docs/manual/highlevel-components.xml:
16437 * docs/manual/manual.xml:
16438 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16439 add converters in front of pipelines; remove curly
16440 brackets for threads stuff, they no longer exist; use
16441 GST_TYPE_FRACTION for framerates; update some pieces of
16442 code to 0.10, but there's plenty more to do.
16444 * docs/manual/appendix-porting.xml:
16445 Expand on asynchroneous state changes; s/0.9/0.10/;
16446 mention disappearance of gst_init_get_popt_table()
16449 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16451 * docs/faq/using.xml:
16452 Spider no longer exists, and neither does gst-launch-ext.
16453 Update examples to use decodebin and playbin and put
16454 converters in front of sinks (fixes #323726).
16456 2005-12-09 Michael Smith <msmith@fluendo.com>
16458 * plugins/elements/gsttypefindelement.c: (find_peek),
16459 (gst_type_find_element_chain):
16460 Fix leaking element factories in typefinding.
16461 Fix problem where we forgot about a probable type on non-seekable
16462 files, and thus later mis-typefound it.
16464 2005-12-09 Michael Smith <msmith@fluendo.com>
16466 * common/m4/gst-makecontext.m4:
16467 * common/m4/gst-mcsc.m4:
16469 * win32/common/config.h:
16470 * win32/common/config.h.in:
16471 Remove makecontext stuff; not used in 0.10 and causes problems on
16472 HPUX according to bug #322441
16474 2005-12-07 Wim Taymans <wim@fluendo.com>
16476 * tests/check/Makefile.am:
16477 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16479 * tests/check/libs/struct_i386.h:
16480 Added ABI check for libs
16482 2005-12-07 Wim Taymans <wim@fluendo.com>
16484 * tests/check/Makefile.am:
16485 And add the struct_i386.h to dist.
16487 2005-12-07 Wim Taymans <wim@fluendo.com>
16489 * tests/check/Makefile.am:
16490 * tests/check/gst/.cvsignore:
16491 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16493 * tests/check/gst/struct_i386.h:
16494 Added check for ABI compatibility.
16496 2005-12-07 Wim Taymans <wim@fluendo.com>
16498 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16499 (gst_fake_src_get_times), (gst_fake_src_create):
16500 Fix broken sync option, fixes #323259
16502 2005-12-07 Wim Taymans <wim@fluendo.com>
16507 * gst/gstcaps.c: (gst_caps_is_equal):
16508 Don't assert on NULL <--> X. Fixes #323260
16510 * gst/gstminiobject.c: (gst_mini_object_replace):
16511 If we're doing atomic operations, we might just as well use
16512 the proper way to get an atomic pointer.
16514 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16515 Clean up debugging.
16517 2005-12-07 Michael Smith <msmith@fluendo.com>
16519 * gst/parse/grammar.y:
16520 Remove handling of { } for threads.
16522 2005-12-06 David Schleef <ds@schleef.org>
16524 * libs/gst/base/gstbasetransform.c: speling fix.
16526 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16528 * docs/libs/tmpl/gstdataprotocol.sgml:
16529 * docs/random/omega/testing/gstobject.c:
16532 * gst/gstelement.c:
16533 * gst/gstelementfactory.c:
16536 * gst/gstghostpad.c:
16538 * gst/gstpadtemplate.c:
16539 * gst/gstregistryxml.c:
16540 * gst/gsttaglist.c:
16541 * gst/gsttagsetter.c:
16542 * gst/gsttypefind.c:
16544 * libs/gst/base/gstbasesrc.c:
16545 * libs/gst/net/gstnetclientclock.c:
16546 * libs/gst/net/gstnettimeprovider.c:
16547 * plugins/elements/gstfakesrc.c:
16548 * plugins/elements/gstfdsrc.c:
16549 * plugins/elements/gstfilesrc.c:
16550 * plugins/elements/gstidentity.c:
16551 * plugins/elements/gstqueue.c:
16552 * plugins/elements/gsttypefindelement.c:
16553 * plugins/indexers/gstfileindex.c:
16554 * plugins/indexers/gstmemindex.c:
16555 * tests/check/gst/gsttag.c:
16556 * tests/old/examples/cutter/cutter.c:
16557 * tests/old/examples/mixer/mixer.c:
16558 * tests/old/examples/xml/runxml.c: (main):
16559 * tests/old/testsuite/caps/normalisation.c:
16560 * tests/old/testsuite/debug/global.c:
16561 * tests/old/testsuite/parse/parse1.c:
16562 * tools/gst-xmlinspect.c:
16563 * win32/common/dirent.c:
16566 === release 0.10.0 ===
16568 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16571 releasing 0.10.0, "Maroilles"
16573 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16575 submitted by: Funda Wang <fundawang@linux.net.cn>
16579 added Chinese (Traditional) translation
16581 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16583 * docs/gst/gstreamer-sections.txt:
16584 * docs/libs/tmpl/gstdataprotocol.sgml:
16585 * docs/random/thomasvs/TODO:
16590 2005-12-05 Andy Wingo <wingo@pobox.com>
16592 patch by: Wim Taymans <wim@fluendo.com>
16594 * libs/gst/base/gstbasetransform.c
16595 (gst_base_transform_prepare_output_buf)
16596 (gst_base_transform_buffer_alloc):
16597 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16598 alloc_buffer_and_set_caps.
16600 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16601 set_caps on the source pad.
16602 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16603 alloc_buffer used to do. Fixes #322874.
16605 * docs/gst/gstreamer-sections.txt:
16606 * docs/design/part-negotiation.txt:
16607 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16610 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16612 patch by: Sebastien Moutte
16615 * win32/common/config.h.in:
16616 * win32/vs6/libgstcontroller.dsp:
16619 2005-12-05 Wim Taymans <wim@fluendo.com>
16621 * gst/gstcaps.c: (gst_caps_is_equal):
16622 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16623 (gst_fake_src_create):
16624 Back out previous code changes, leave doc updates, file bugs
16627 2005-12-05 Wim Taymans <wim@fluendo.com>
16629 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16630 (gst_fake_src_get_times), (gst_fake_src_create):
16631 * plugins/elements/gstfakesrc.h:
16632 Fix broken sync code.
16634 2005-12-05 Wim Taymans <wim@fluendo.com>
16636 * gst/gstcaps.c: (gst_caps_is_equal):
16637 Comparing NULL against !NULL yields different caps, not a
16640 2005-12-05 Wim Taymans <wim@fluendo.com>
16642 * gst/gstpipeline.c:
16643 Fix small typo in docs.
16645 2005-12-05 Andy Wingo <wingo@pobox.com>
16647 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16649 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16650 registries/plugins with a MAJORMINOR one.
16651 (plugin_desc): Rename library from gstcoreleements to
16652 staticelements. Fixes #323222.
16654 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16656 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16657 Change debug category to 'collectpads' from 'collect_pads'
16660 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16662 patch by: Sebastien Moutte
16664 * libs/gst/controller/gstinterpolation.c:
16665 use convert function for uint64/double
16666 * win32/vs6/libgstcontroller.dsp:
16669 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16671 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16672 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16674 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16675 add tests that seem to show that the guint64/gdouble conversions
16678 2005-12-02 Wim Taymans <wim@fluendo.com>
16680 * gst/gstregistry.c: (gst_registry_add_path):
16681 * gst/gstregistry.h:
16682 * gst/gstregistryxml.c:
16685 2005-12-02 Wim Taymans <wim@fluendo.com>
16687 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16688 (gst_util_uint64_scale_int):
16691 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16692 Add debug log line.
16694 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16697 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16700 * win32/common/config.h:
16701 * win32/vs6/gstreamer.dsw:
16702 * win32/vs6/libgstcoreelements.dsp:
16703 * win32/vs6/libgstelements.dsp:
16704 renamed core elements plugin
16706 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16708 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16710 do piece-wise major/minor comparison so 0.9 < 0.10
16711 also allow .exe extensions for tools
16713 2005-12-02 Michael Smith <msmith@fluendo.com>
16716 Escape a % to make gtkdoc happier; bug 322958.
16718 === release 0.9.7 ===
16720 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16723 releasing 0.9.7, "My Dog Has No Nose"
16725 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16727 * common/gst-xmlinspect.py:
16729 * docs/libs/tmpl/gstdataprotocol.sgml:
16730 * docs/random/release:
16749 * win32/common/config.h:
16750 * win32/common/config.h.in:
16751 * win32/vs6/gst_inspect.dsp:
16752 * win32/vs6/gst_launch.dsp:
16753 * win32/vs6/libgstbase.dsp:
16754 * win32/vs6/libgstelements.dsp:
16755 * win32/vs6/libgstreamer.dsp:
16756 * win32/vs7/GStreamer.vcproj:
16757 * win32/vs7/gst-inspect.vcproj:
16758 * win32/vs7/gst-launch.vcproj:
16759 * win32/vs7/libgstbase.vcproj:
16760 bump GST_MAJORMINOR to 0.10
16761 reset libtool version
16763 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16767 Added Bulgarian translation by (Alexander Shopov)
16769 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16771 * tests/check/gst/gstplugin.c:
16774 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16776 * common/gst-xmlinspect.py:
16777 * common/gtk-doc-plugins.mak:
16779 * docs/Makefile.am:
16780 * docs/gst/Makefile.am:
16781 * docs/gst/gstreamer-docs.sgml:
16782 * docs/gst/gstreamer-sections.txt:
16783 * docs/gst/gstreamer.types:
16784 * docs/gst/gstreamer.types.in:
16785 * docs/plugins/Makefile.am:
16786 * docs/plugins/gstreamer-plugins-docs.sgml:
16787 * docs/plugins/gstreamer-plugins-sections.txt:
16788 * docs/plugins/gstreamer-plugins.types:
16789 * docs/plugins/inspect.stamp:
16790 * docs/plugins/inspect/plugin-coreelements.xml:
16791 * docs/plugins/inspect/plugin-coreindexers.xml:
16792 * docs/plugins/scanobj-build.stamp:
16793 * gstreamer.spec.in:
16794 * plugins/elements/Makefile.am:
16795 * plugins/elements/gstelements.c:
16796 * plugins/elements/gstfakesink.c:
16797 * plugins/elements/gstfakesrc.c:
16798 * plugins/elements/gstfilesink.c:
16799 * plugins/elements/gstfilesrc.c:
16800 * plugins/elements/gstqueue.c:
16801 * plugins/indexers/Makefile.am:
16802 * plugins/indexers/gstindexers.c:
16803 document core plugins in a separate document just like all the
16805 rename these plugins to something starting with core
16807 2005-12-01 Andy Wingo <wingo@pobox.com>
16809 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16810 padding here before, but it missed the commit.
16812 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16814 * libs/gst/controller/gstinterpolation.c:
16815 whitespace prices have crashed, we should feel free to use some now
16816 use gst_guint64_to_gdouble
16818 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16820 * libs/gst/controller/gstcontroller.c:
16821 * libs/gst/controller/gsthelper.c:
16822 * libs/gst/controller/gstinterpolation.c:
16823 * libs/gst/controller/lib.c:
16824 wrap config.h include
16826 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16828 * docs/gst/gstreamer-sections.txt:
16831 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16833 * plugins/elements/gstelements.c:
16834 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16835 (gst_fd_sink__class_init), (gst_fd_sink__init),
16836 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16837 (gst_fd_sink__get_property):
16838 * plugins/elements/gstfdsink.h:
16839 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16840 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16841 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16842 (gst_fd_src_unlock), (gst_fd_src_set_property),
16843 (gst_fd_src_get_property), (gst_fd_src_create),
16844 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16845 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16846 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16847 (gst_fd_src_uri_handler_init):
16848 * plugins/elements/gstfdsrc.h:
16849 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16852 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16854 * docs/gst/Makefile.am:
16855 * docs/gst/gstreamer.types.in:
16859 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16865 * gst/gstregistry.h:
16866 * tests/benchmarks/complexity.c:
16867 * tests/benchmarks/mass-elements.c:
16868 * tests/check/Makefile.am:
16869 * tools/Makefile.am:
16870 * tools/gst-inspect.c:
16871 * tools/gst-xmlinspect.c:
16872 various fixes to make
16873 --disable-nls --disable-registry --disable-loadsave
16874 --disable-parse --disable-gst-debug
16875 work and get the core .so down to 360444 bytes after stripping
16877 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16882 * docs/random/thomasvs/TODO:
16883 * tests/Makefile.am:
16887 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16889 * win32/GStreamer.vcproj:
16892 * win32/Makefile.inspect:
16893 * win32/Makefile.launch:
16894 * win32/Makefile.register:
16895 * win32/README.txt:
16896 * win32/gst-inspect.vcproj:
16897 * win32/gst-launch.vcproj:
16898 * win32/gst-register.vcproj:
16899 * win32/gstelements.vcproj:
16900 * win32/gstgetbits.def:
16901 * win32/gstgetbits.vcproj:
16902 * win32/gstreamer-dbg.def:
16903 * win32/gstreamer.def:
16904 * win32/libgstbase.def:
16905 * win32/libgstbase.vcproj:
16906 * win32/link_oldruntime.c:
16910 * win32/msvc71.sln:
16911 move even more stuff, win32/ is nice and clean now
16913 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16915 * libs/gst/control/.cvsignore:
16920 * win32/gstbytestream.def:
16921 * win32/gstbytestream.vcproj:
16922 * win32/gstconfig.h:
16923 * win32/gstenumtypes.c:
16924 * win32/gstenumtypes.h:
16925 * win32/gstoptimalscheduler.vcproj:
16926 * win32/gstversion.h:
16928 * win32/testsuite/bins.vcproj:
16929 * win32/testsuite/bytestream.vcproj:
16930 * win32/testsuite/caps.vcproj:
16931 * win32/testsuite/cleanup.vcproj:
16932 * win32/testsuite/clock.vcproj:
16933 * win32/testsuite/debug.vcproj:
16934 * win32/testsuite/dlopen.vcproj:
16935 * win32/testsuite/dynparams.vcproj:
16936 * win32/testsuite/elements.vcproj:
16937 * win32/testsuite/ghostpads.vcproj:
16938 * win32/testsuite/indexers.vcproj:
16939 * win32/testsuite/negotiation.vcproj:
16940 * win32/testsuite/parse.vcproj:
16941 * win32/testsuite/plugin.vcproj:
16942 * win32/testsuite/refcounting.vcproj:
16943 * win32/testsuite/schedulers.vcproj:
16944 * win32/testsuite/states.vcproj:
16945 * win32/testsuite/tags.vcproj:
16946 * win32/testsuite/threads.vcproj:
16947 remove old win32 stuff that isn't maintained and should be
16950 2005-11-30 Andy Wingo <wingo@pobox.com>
16952 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16953 loading the gst.interfaces python module bork.
16955 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16956 available since GLib 2.2. Fixes #318031.
16958 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16961 * check/.cvsignore:
16962 * check/Makefile.am:
16963 * check/elements/.cvsignore:
16964 * check/elements/fakesrc.c:
16965 * check/elements/fdsrc.c:
16966 * check/elements/identity.c:
16967 * check/generic/.cvsignore:
16968 * check/generic/states.c:
16969 * check/gst-libs/.cvsignore:
16970 * check/gst-libs/controller.c:
16971 * check/gst-libs/gdp.c:
16972 * check/gst/.cvsignore:
16973 * check/gst/capslist.h:
16975 * check/gst/gstbin.c:
16976 * check/gst/gstbuffer.c:
16977 * check/gst/gstbus.c:
16978 * check/gst/gstcaps.c:
16979 * check/gst/gstelement.c:
16980 * check/gst/gstevent.c:
16981 * check/gst/gstghostpad.c:
16982 * check/gst/gstiterator.c:
16983 * check/gst/gstmessage.c:
16984 * check/gst/gstminiobject.c:
16985 * check/gst/gstobject.c:
16986 * check/gst/gstpad.c:
16987 * check/gst/gstpipeline.c:
16988 * check/gst/gstplugin.c:
16989 * check/gst/gstsegment.c:
16990 * check/gst/gststructure.c:
16991 * check/gst/gstsystemclock.c:
16992 * check/gst/gsttag.c:
16993 * check/gst/gstutils.c:
16994 * check/gst/gstvalue.c:
16995 * check/net/.cvsignore:
16996 * check/net/gstnetclientclock.c:
16997 * check/net/gstnettimeprovider.c:
16998 * check/pipelines/.cvsignore:
16999 * check/pipelines/cleanup.c:
17000 * check/pipelines/simple_launch_lines.c:
17001 * check/pipelines/stress.c:
17002 * check/states/.cvsignore:
17003 * check/states/sinks.c:
17005 * examples/Makefile.am:
17006 * examples/appreader/.cvsignore:
17007 * examples/appreader/Makefile.am:
17008 * examples/appreader/appreader.c:
17009 * examples/controller/.cvsignore:
17010 * examples/controller/Makefile.am:
17011 * examples/controller/audio-example.c:
17012 * examples/cutter/.cvsignore:
17013 * examples/cutter/Makefile.am:
17014 * examples/cutter/cutter.c:
17015 * examples/cutter/cutter.h:
17016 * examples/events/Makefile.am:
17017 * examples/events/seek.c:
17018 * examples/helloworld/.cvsignore:
17019 * examples/helloworld/Makefile.am:
17020 * examples/helloworld/helloworld.c:
17021 * examples/helloworld2/.cvsignore:
17022 * examples/helloworld2/Makefile.am:
17023 * examples/helloworld2/helloworld2.c:
17024 * examples/launch/.cvsignore:
17025 * examples/launch/Makefile.am:
17026 * examples/launch/mp3parselaunch.c:
17027 * examples/launch/mp3play:
17028 * examples/manual/.cvsignore:
17029 * examples/manual/Makefile.am:
17030 * examples/manual/extract.pl:
17031 * examples/metadata/Makefile.am:
17032 * examples/metadata/read-metadata.c:
17033 * examples/mixer/.cvsignore:
17034 * examples/mixer/Makefile.am:
17035 * examples/mixer/mixer.c:
17036 * examples/mixer/mixer.h:
17037 * examples/pingpong/.cvsignore:
17038 * examples/pingpong/Makefile.am:
17039 * examples/pingpong/pingpong.c:
17040 * examples/plugins/.cvsignore:
17041 * examples/plugins/Makefile.am:
17042 * examples/plugins/example.c:
17043 * examples/plugins/example.h:
17044 * examples/pwg/.cvsignore:
17045 * examples/pwg/Makefile.am:
17046 * examples/pwg/extract.pl:
17047 * examples/queue/.cvsignore:
17048 * examples/queue/Makefile.am:
17049 * examples/queue/queue.c:
17050 * examples/queue2/.cvsignore:
17051 * examples/queue2/Makefile.am:
17052 * examples/queue2/queue2.c:
17053 * examples/queue3/.cvsignore:
17054 * examples/queue3/Makefile.am:
17055 * examples/queue3/queue3.c:
17056 * examples/queue4/.cvsignore:
17057 * examples/queue4/Makefile.am:
17058 * examples/queue4/queue4.c:
17059 * examples/retag/.cvsignore:
17060 * examples/retag/Makefile.am:
17061 * examples/retag/retag.c:
17062 * examples/retag/transcode.c:
17063 * examples/thread/.cvsignore:
17064 * examples/thread/Makefile.am:
17065 * examples/thread/thread.c:
17066 * examples/typefind/.cvsignore:
17067 * examples/typefind/Makefile.am:
17068 * examples/typefind/typefind.c:
17069 * examples/xml/.cvsignore:
17070 * examples/xml/Makefile.am:
17071 * examples/xml/createxml.c:
17072 * examples/xml/runxml.c:
17073 * tests/Makefile.am:
17074 * tests/check/Makefile.am:
17075 * testsuite/.cvsignore:
17076 * testsuite/Makefile.am:
17078 * testsuite/caps/.cvsignore:
17079 * testsuite/caps/Makefile.am:
17080 * testsuite/caps/app_fixate.c:
17081 * testsuite/caps/audioscale.c:
17082 * testsuite/caps/caps.c:
17083 * testsuite/caps/caps.h:
17084 * testsuite/caps/caps_strings:
17085 * testsuite/caps/compatibility.c:
17086 * testsuite/caps/deserialize.c:
17087 * testsuite/caps/enumcaps.c:
17088 * testsuite/caps/eratosthenes.c:
17089 * testsuite/caps/filtercaps.c:
17090 * testsuite/caps/fixed.c:
17091 * testsuite/caps/fraction-convert.c:
17092 * testsuite/caps/fraction-multiply-and-zero.c:
17093 * testsuite/caps/intersect2.c:
17094 * testsuite/caps/intersection.c:
17095 * testsuite/caps/normalisation.c:
17096 * testsuite/caps/random.c:
17097 * testsuite/caps/renegotiate.c:
17098 * testsuite/caps/sets.c:
17099 * testsuite/caps/simplify.c:
17100 * testsuite/caps/string-conversions.c:
17101 * testsuite/caps/structure.c:
17102 * testsuite/caps/subtract.c:
17103 * testsuite/caps/union.c:
17104 * testsuite/debug/.cvsignore:
17105 * testsuite/debug/Makefile.am:
17106 * testsuite/debug/category.c:
17107 * testsuite/debug/commandline.c:
17108 * testsuite/debug/global.c:
17109 * testsuite/debug/output.c:
17110 * testsuite/debug/printf_extension.c:
17111 * testsuite/dlopen/.cvsignore:
17112 * testsuite/dlopen/Makefile.am:
17113 * testsuite/dlopen/dlopen_gst.c:
17114 * testsuite/dlopen/loadgst.c:
17115 * testsuite/elements/.cvsignore:
17116 * testsuite/elements/Makefile.am:
17117 * testsuite/elements/gst-inspect-check.in:
17118 * testsuite/elements/struct_i386.h:
17119 * testsuite/elements/struct_size.c:
17120 * testsuite/indexers/.cvsignore:
17121 * testsuite/indexers/Makefile.am:
17122 * testsuite/indexers/cache1.c:
17123 * testsuite/indexers/indexdump.c:
17124 * testsuite/parse/.cvsignore:
17125 * testsuite/parse/Makefile.am:
17126 * testsuite/parse/parse1.c:
17127 * testsuite/parse/parse2.c:
17128 * testsuite/plugin/.cvsignore:
17129 * testsuite/plugin/Makefile.am:
17130 * testsuite/plugin/README:
17131 * testsuite/plugin/dynamic.c:
17132 * testsuite/plugin/linked.c:
17133 * testsuite/plugin/loading.c:
17134 * testsuite/plugin/registry.c:
17135 * testsuite/plugin/static.c:
17136 * testsuite/plugin/static2.c:
17137 * testsuite/plugin/testplugin.c:
17138 * testsuite/plugin/testplugin2.c:
17139 * testsuite/plugin/testplugin2_s.c:
17140 * testsuite/plugin/testplugin_s.c:
17141 * testsuite/refcounting/.cvsignore:
17142 * testsuite/refcounting/Makefile.am:
17143 * testsuite/refcounting/bin.c:
17144 * testsuite/refcounting/element.c:
17145 * testsuite/refcounting/element_pad.c:
17146 * testsuite/refcounting/mainloop.c:
17147 * testsuite/refcounting/mem.c:
17148 * testsuite/refcounting/mem.h:
17149 * testsuite/refcounting/object.c:
17150 * testsuite/refcounting/pad.c:
17151 * testsuite/refcounting/sched.c:
17152 * testsuite/refcounting/thread.c:
17153 * testsuite/states/.cvsignore:
17154 * testsuite/states/Makefile.am:
17155 * testsuite/states/bin.c:
17156 * testsuite/states/locked.c:
17157 * testsuite/states/parent.c:
17158 * testsuite/threads/.cvsignore:
17159 * testsuite/threads/159566.c:
17160 * testsuite/threads/159852.c:
17161 * testsuite/threads/Makefile.am:
17162 * testsuite/threads/queue.c:
17163 * testsuite/threads/signals.c:
17164 * testsuite/threads/staticrec.c:
17165 * testsuite/threads/thread.c:
17166 * testsuite/threads/threadb.c:
17167 * testsuite/threads/threadc.c:
17168 * testsuite/threads/threadd.c:
17169 * testsuite/threads/threade.c:
17170 * testsuite/threads/threadf.c:
17171 * testsuite/threads/threadg.c:
17172 * testsuite/threads/threadh.c:
17173 * testsuite/threads/threadi.c:
17174 move all of these under tests
17176 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17179 * tests/Makefile.am:
17182 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17184 * docs/gst/gstreamer-sections.txt:
17185 * tests/sched/.cvsignore:
17186 * tests/sched/Makefile.am:
17187 * tests/sched/cases/(fs-fs).xml:
17188 * tests/sched/cases/(fs-i-fs).xml:
17189 * tests/sched/cases/(fs-i-i-fs).xml:
17190 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17191 * tests/sched/dynamic-pipeline.c:
17192 * tests/sched/interrupt1.c:
17193 * tests/sched/interrupt2.c:
17194 * tests/sched/interrupt3.c:
17195 * tests/sched/runtestcases:
17196 * tests/sched/runxml.c:
17197 * tests/sched/sched-stress.c:
17198 * tests/sched/sort.c:
17199 * tests/sched/testcases:
17200 * tests/sched/testcases1.tc:
17201 * tests/seeking/.cvsignore:
17202 * tests/seeking/Makefile.am:
17203 * tests/seeking/seeking1.c:
17204 * tests/threadstate/.cvsignore:
17205 * tests/threadstate/Makefile.am:
17206 * tests/threadstate/test1.c:
17207 * tests/threadstate/test2.c:
17208 * tests/threadstate/threadstate1.c:
17209 * tests/threadstate/threadstate2.c:
17210 * tests/threadstate/threadstate3.c:
17211 * tests/threadstate/threadstate4.c:
17212 * tests/threadstate/threadstate5.c:
17213 remove obsolete tests
17215 * tests/bench-complexity.scm:
17216 * tests/bench-mass_elements.scm:
17217 * tests/complexity.c:
17218 * tests/complexity.gnuplot:
17219 * tests/instantiate/.cvsignore:
17220 * tests/instantiate/Makefile.am:
17221 * tests/instantiate/caps.c:
17222 * tests/mass_elements.c:
17223 * tests/network-clock-utils.scm:
17224 * tests/network-clock.scm:
17226 First pass at cleaning up tests/ dir before moving the rest
17227 Combined with CVS surgery
17229 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17232 queue has moved, update
17234 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17236 * docs/gst/gstreamer-sections.txt:
17237 remove double entries from the docs
17238 * gst/gst_private.h:
17239 * gst/gstinfo.c: (_gst_debug_init):
17240 remove the THREAD debug category
17244 * docs/gst/gstreamer.types:
17245 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17246 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17247 completely move queue and fix up debugging categories
17249 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17251 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17252 make initialization portable, using LL is not
17254 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17256 * win32/common/gstconfig.h:
17259 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17261 * win32/common/libgstreamer.def:
17262 rename symbols; sort base section
17264 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17266 * gst/gstclock.c: (do_linear_regression):
17267 remove crack non-portable handrolled DEBUG macro
17269 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17271 * docs/random/release:
17273 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17274 (gst_object_flags_get_type), (register_gst_bin_flags),
17275 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17276 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17277 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17278 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17279 (gst_caps_flags_get_type), (register_gst_clock_return),
17280 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17281 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17282 (gst_clock_flags_get_type), (register_gst_state),
17283 (gst_state_get_type), (register_gst_state_change_return),
17284 (gst_state_change_return_get_type), (register_gst_state_change),
17285 (gst_state_change_get_type), (register_gst_element_flags),
17286 (gst_element_flags_get_type), (register_gst_core_error),
17287 (gst_core_error_get_type), (register_gst_library_error),
17288 (gst_library_error_get_type), (register_gst_resource_error),
17289 (gst_resource_error_get_type), (register_gst_stream_error),
17290 (gst_stream_error_get_type), (register_gst_event_type_flags),
17291 (gst_event_type_flags_get_type), (register_gst_event_type),
17292 (gst_event_type_get_type), (register_gst_seek_type),
17293 (gst_seek_type_get_type), (register_gst_seek_flags),
17294 (gst_seek_flags_get_type), (register_gst_format),
17295 (gst_format_get_type), (register_gst_index_certainty),
17296 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17297 (gst_index_entry_type_get_type),
17298 (register_gst_index_lookup_method),
17299 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17300 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17301 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17302 (gst_index_flags_get_type), (register_gst_debug_level),
17303 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17304 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17305 (gst_iterator_result_get_type), (register_gst_iterator_item),
17306 (gst_iterator_item_get_type), (register_gst_message_type),
17307 (gst_message_type_get_type), (register_gst_mini_object_flags),
17308 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17309 (gst_pad_link_return_get_type), (register_gst_flow_return),
17310 (gst_flow_return_get_type), (register_gst_activate_mode),
17311 (gst_activate_mode_get_type), (register_gst_pad_direction),
17312 (gst_pad_direction_get_type), (register_gst_pad_flags),
17313 (gst_pad_flags_get_type), (register_gst_pad_presence),
17314 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17315 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17316 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17317 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17318 (gst_plugin_flags_get_type), (register_gst_rank),
17319 (gst_rank_get_type), (register_gst_query_type),
17320 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17321 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17322 (gst_tag_flag_get_type), (register_gst_task_state),
17323 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17324 (gst_alloc_trace_flags_get_type),
17325 (register_gst_type_find_probability),
17326 (gst_type_find_probability_get_type), (register_gst_uri_type),
17327 (gst_uri_type_get_type), (register_gst_parse_error),
17328 (gst_parse_error_get_type):
17329 * win32/common/gstenumtypes.h:
17330 * win32/common/gstversion.h:
17331 update visual studio generated files
17333 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17335 * win32/vs6/libgstbase.dsp:
17336 * win32/vs6/libgstelements.dsp:
17337 update project files for new locations
17339 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17344 reinstate and update
17349 * docs/random/LICENSE:
17352 2005-11-30 Edward Hervey <edward@fluendo.com>
17354 * gst/gsttypefind.c: (gst_type_find_register):
17355 * gst/gsttypefind.h:
17356 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17357 (gst_type_find_factory_dispose):
17358 * gst/gsttypefindfactory.h:
17359 Fix memory leak in GstTypeFindFactory.
17361 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17364 * plugins/elements/Makefile.am:
17365 * plugins/elements/gstelements.c:
17366 * plugins/elements/gstqueue.c:
17367 move queue from core to the elements plugin
17369 2005-11-29 Andy Wingo <wingo@pobox.com>
17371 * libs/gst/base/gstbasetransform.h:
17372 * libs/gst/base/gstbasesrc.h:
17373 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17375 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17376 of pointers by which to pad very extensible base classes (like the
17377 ones in libs/gst/base).
17379 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17381 * docs/gst/gstreamer-docs.sgml:
17382 * docs/gst/gstreamer-sections.txt:
17383 * docs/libs/gstreamer-libs-docs.sgml:
17384 * docs/libs/gstreamer-libs-sections.txt:
17385 moving documentation from core to lib
17387 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17389 * check/Makefile.am:
17391 * docs/gst/Makefile.am:
17393 * gst/base/.cvsignore:
17394 * gst/base/Makefile.am:
17396 * gst/base/gstadapter.c:
17397 * gst/base/gstadapter.h:
17398 * gst/base/gstbasesink.c:
17399 * gst/base/gstbasesink.h:
17400 * gst/base/gstbasesrc.c:
17401 * gst/base/gstbasesrc.h:
17402 * gst/base/gstbasetransform.c:
17403 * gst/base/gstbasetransform.h:
17404 * gst/base/gstcollectpads.c:
17405 * gst/base/gstcollectpads.h:
17406 * gst/base/gstpushsrc.c:
17407 * gst/base/gstpushsrc.h:
17408 * gst/base/gsttypefindhelper.c:
17409 * gst/base/gsttypefindhelper.h:
17410 * gst/check/Makefile.am:
17411 * gst/check/gstcheck.c:
17412 * gst/check/gstcheck.h:
17413 * gst/net/Makefile.am:
17414 * gst/net/gstnet.h:
17415 * gst/net/gstnetclientclock.c:
17416 * gst/net/gstnetclientclock.h:
17417 * gst/net/gstnettimepacket.c:
17418 * gst/net/gstnettimepacket.h:
17419 * gst/net/gstnettimeprovider.c:
17420 * gst/net/gstnettimeprovider.h:
17421 * libs/gst/Makefile.am:
17422 * libs/gst/base/Makefile.am:
17423 * libs/gst/base/gstbasetransform.c:
17424 * libs/gst/check/Makefile.am:
17425 * plugins/elements/Makefile.am:
17427 CVS surgery + support to move base, check, and net out of gst
17430 2005-11-29 Andy Wingo <wingo@pobox.com>
17432 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17434 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17437 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17439 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17441 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17443 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17444 padding; reduces object size by about 30%. We don't expect
17445 anything else to go into gstobject.
17447 * gst/gstminiobject.h (struct _GstMiniObject)
17448 (struct _GstMiniObjectClass): Only one pointer of padding; the
17449 payload is only a pointer and two ints anyway. For the class there
17450 are only two methods as well.
17452 * gst/gstelement.h (struct _GstElementClass): Removed
17453 the state_changed signal callback, it is not used.
17455 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17457 * docs/gst/gstreamer.types:
17458 fix includes, though they are a little dinky
17460 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17462 * check/Makefile.am:
17463 look in the right place for elements, a lot more chance of
17466 remove indexers and elements subdirs
17467 * plugins/Makefile.am:
17468 make indexers conditional
17470 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17474 * plugins/elements/Makefile.am:
17475 * plugins/elements/gstcapsfilter.c:
17476 * plugins/elements/gstfilesink.c:
17477 * plugins/elements/gstfilesrc.c:
17478 * plugins/elements/gstidentity.c:
17479 * plugins/indexers/Makefile.am:
17480 do CVS surgery and related build fixery to move elements
17481 and indexers in a new gstreamer/plugins directory, out of the
17484 2005-11-29 Andy Wingo <wingo@pobox.com>
17486 * check/Makefile.am:
17487 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17488 * pkgconfig/gstreamer-net.pc.in:
17489 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17492 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17494 * tools/Makefile.am:
17495 * tools/gst-complete.1.in:
17496 * tools/gst-complete.c:
17497 * tools/gst-compprep.1.in:
17498 * tools/gst-compprep.c:
17499 removing -compprep and -complete
17501 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17503 * gst/gstevent.c: (gst_event_new_new_segment),
17504 (gst_event_parse_new_segment):
17506 fix #320529 - clean up new_segment API and structure.
17507 Let's hope everyone was using the methods, and not the structure.
17509 2005-11-29 Edward Hervey <edward@fluendo.com>
17511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17512 (gst_base_sink_event), (gst_base_sink_do_sync),
17513 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17514 Properly handle non GST_FORMAT_TIME segment
17515 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17516 Properly handle non GST_FORMAT_TIME segment
17517 * gst/gstsegment.c:
17518 This function is valid if the accumulator is 0 and the format
17519 is different from the requested format.
17521 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17523 * docs/gst/gstreamer-sections.txt:
17524 Add gst_query_new_seeking and gst_query_parse_seeking to the
17527 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17529 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17530 Treat a pad alloc with new caps the same as if we were not
17531 negotiated, in order to allow a changing upstream output
17532 to produce a new format of data.
17534 2005-11-29 Edward Hervey <edward@fluendo.com>
17536 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17537 (gst_base_transform_event), (gst_base_transform_eventfunc):
17538 The event virtual method is now properly implemented, with a default
17540 Sub classes should call the parent_class event method. They should
17541 return FALSE if they had a problem handling the given event, or don't
17542 want GstBaseTransform to send that even downstream
17543 * gst/elements/gstidentity.c: (gst_identity_class_init),
17544 (gst_identity_init), (gst_identity_event),
17545 (gst_identity_transform_ip), (gst_identity_set_property),
17546 (gst_identity_get_property):
17547 * gst/elements/gstidentity.h:
17548 Added the single-segment boolean property.
17549 If set to TRUE, it will output a single segment of data, starting from
17550 0, will eat up all incoming newsegment, and modify the timestamp of the
17551 buffers accordingly
17553 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17555 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17556 Don't ref NULL target pad (#322751). Improve docs.
17558 2005-11-29 Michael Smith <msmith@fluendo.com>
17560 * gst/gstregistryxml.c: (load_plugin):
17561 Don't crash if we failed to load a feature from a plugin.
17563 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17565 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17567 use more check API and less GLib API
17569 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17572 don't run checks if we don't have check
17573 * common/check.mak:
17574 remove the registry when running make torture
17575 * docs/gst/gstreamer-sections.txt:
17576 remove second multiply
17577 * gst/gstqueue.c: (gst_queue_loop):
17578 fix a compile warning when disabling debug
17580 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17583 Hey! Let's print the pad name if the pointer != NULL instead
17584 of when it == NULL :-)
17586 2005-11-28 Wim Taymans <wim@fluendo.com>
17588 * check/gst/gstutils.c: (GST_START_TEST):
17589 Updated check, add some scaling accuracy checking code.
17591 * gst/gstutils.c: (gst_util_div128_64),
17592 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17593 (gst_util_uint64_scale_int):
17594 Fix 6 times faster division code. Optimize for common
17595 1/1 and less common X/1 cases.
17597 2005-11-28 Wim Taymans <wim@fluendo.com>
17599 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17602 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17603 (do_linear_regression), (gst_clock_add_observation):
17605 Release lock when the clock cannot be slaved.
17606 Catch the case where the regression returned an invalid denominator.
17608 * gst/gstutils.c: (gst_util_div128_64_iterate),
17609 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17610 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17611 Add protentially more performant non-iterative 128/64 divide function
17612 that unfortunatly does not work yet.
17613 Shortcut the trivial 0/X = 0 case.
17614 Remove the warnings on overflow.
17616 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17618 * gst/gstplugin.c: (gst_plugin_register_func):
17619 everything causing a plugin not to load should be at least a WARNING
17621 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17623 * docs/random/ensonic/dparams.txt:
17624 some TODOs for the next dev cycle
17625 * libs/gst/controller/gstcontroller.c:
17626 (gst_controlled_property_set_interpolation_mode),
17627 (gst_controlled_property_new):
17628 * libs/gst/controller/gstcontroller.h:
17629 use base type to assign acccessor functions
17631 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17633 * check/Makefile.am:
17634 Oops, that should have been top_srcdir
17636 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17638 * check/Makefile.am:
17639 * check/elements/fdsrc.c: (GST_START_TEST):
17640 Use a cmdline define to specify the location of a file to use for
17641 testing, to avoid breaking distcheck.
17643 2005-11-28 Andy Wingo <wingo@pobox.com>
17645 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17647 2005-11-28 Edward Hervey <edward@fluendo.com>
17649 * tools/gst-launch.c: (main):
17650 Clarify the output strings, makes it easier to translate.
17653 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17656 don't try and build net if we don't even have <sys/socket.h>
17658 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17660 * check/Makefile.am:
17661 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17662 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17663 Add tests for fdsrc seekability
17665 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17666 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17667 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17668 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17669 * gst/elements/gstfdsrc.h:
17670 fdsrc should not be a 'live' source.
17671 Implement seeking on seekable fd's.
17673 * gst/gstquery.c: (gst_query_new_seeking),
17674 (gst_query_parse_seeking):
17676 Implement SEEKING query functions:
17677 *_new_seeking and *_parse_seeking
17679 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17681 * gst/gstelement.c: (gst_element_dispose):
17684 * gst/gstiterator.c:
17685 * gst/gststructure.c:
17688 * libs/gst/controller/gstcontroller.c:
17689 (gst_controlled_property_set_interpolation_mode):
17690 * libs/gst/controller/gstcontroller.h:
17691 * libs/gst/controller/gstinterpolation.c:
17692 (interpolate_none_get_enum_value_array):
17693 support controlling enums
17695 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17698 Improve documentation for gst_value_union().
17701 Change return value for union, intersect and subtract functions
17702 from gint to gboolean.
17704 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17706 * gst/gstvalue.c: (gst_value_serialize_any_list),
17707 (gst_value_transform_any_list_string),
17708 (gst_value_deserialize_list), (gst_value_deserialize_array),
17709 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17710 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17711 (gst_value_set_fraction_range_full),
17712 (gst_value_deserialize_fraction_range),
17713 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17714 (gst_value_deserialize_boolean),
17715 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17716 (gst_value_serialize_float), (gst_value_deserialize_float),
17717 (gst_string_wrap), (gst_value_deserialize_string),
17718 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17719 (gst_value_union_int_range_int_range),
17720 (gst_value_intersect_int_range_int_range),
17721 (gst_value_intersect_double_range_double_range),
17722 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17723 (gst_value_subtract_int_range_int_range),
17724 (gst_value_subtract_double_double_range),
17725 (gst_value_subtract_double_range_double_range),
17726 (gst_value_deserialize_fraction):
17728 Use gint, gdouble and gchar in our API instead of int, double and
17729 char (and make usage in gstvalue.c more consistent).
17731 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17733 * check/Makefile.am:
17734 * libs/gst/controller/Makefile.am:
17735 * libs/gst/dataprotocol/Makefile.am:
17736 fix up Makefile.am and remove GST_ENABLE_NEW
17738 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17742 * gst/base/Makefile.am:
17743 * gst/check/Makefile.am:
17744 * gst/elements/Makefile.am:
17745 * gst/net/Makefile.am:
17746 update LDFLAGS use some more
17748 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17750 * common/m4/gst-doc.m4:
17753 2005-11-26 Edward Hervey <edward@fluendo.com>
17755 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17756 This shouldn't issue a g_warning since it returns NULL if it
17757 couldn't find the plugin, and all functions using this behave
17758 properly on a NULL return. Switching to a GST_WARNING.
17760 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17762 * gst/gstbin.c: (gst_bin_handle_message_func):
17763 Don't leak clock messages.
17765 2005-11-25 Wim Taymans <wim@fluendo.com>
17767 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17768 (gst_util_uint64_scale_int):
17769 Optimisations, remove unneeded vars.
17771 2005-11-25 Wim Taymans <wim@fluendo.com>
17773 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17774 Added more checks for the high precision uint64 cases.
17776 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17777 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17778 Implement high precision (guint64 * guint64) / guint64.
17780 2005-11-24 Wim Taymans <wim@fluendo.com>
17782 * gst/base/gstbasesrc.c: (gst_base_src_query):
17783 Fix wrong percentage query.
17785 * gst/gstutils.c: (gst_util_uint64_scale),
17786 (gst_util_uint64_scale_int):
17787 Add some more common cases that can be handled
17788 efficiently to _scale.
17790 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17792 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17793 (gst_mini_object_suite):
17794 don't use check calls from threads; check probably isn't
17795 threadsafe and using a lock to make it threadsafe would
17796 defeat the purpose of this check
17797 * gst/check/gstcheck.c:
17798 * gst/check/gstcheck.h:
17799 use GST_DEBUG some more
17801 2005-11-24 Wim Taymans <wim@fluendo.com>
17803 * gst/gstutils.c: (gst_util_uint64_scale),
17804 (gst_util_uint64_scale_int):
17805 Chain trivial case to _scale_int.
17807 2005-11-24 Wim Taymans <wim@fluendo.com>
17809 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17810 Added test for scaling.
17815 * gst/gstutils.c: (gst_util_uint64_scale_int):
17816 Implemented high precision scaling code.
17818 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17821 do not crash on pad==NULL
17823 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17825 Patch by: Stefan Kost
17827 * common/gtk-doc.mak:
17828 * docs/gst/Makefile.am:
17829 * docs/libs/Makefile.am:
17830 Fix distcheck issues for the libraries docs build
17833 2005-11-24 Michael Smith <msmith@fluendo.com>
17835 * docs/manual/basics-helloworld.xml:
17836 Fix bug #315027: memory leak in example code in docs.
17838 2005-11-24 Michael Smith <msmith@fluendo.com>
17840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17841 Unlock the PREROLL_LOCK in a failure case.
17843 2005-11-24 Wim Taymans <wim@fluendo.com>
17845 * docs/gst/gstreamer-sections.txt:
17846 * gst/base/gstadapter.h:
17847 * gst/base/gstbasesink.h:
17848 * gst/base/gstbasesrc.h:
17849 * gst/base/gstbasetransform.h:
17850 * gst/base/gstpushsrc.h:
17851 * gst/elements/gstfakesink.h:
17852 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17853 * gst/elements/gstfakesrc.h:
17854 * gst/elements/gstfilesink.h:
17855 * gst/elements/gstfilesrc.h:
17858 * gst/gstbuffer.c: (_gst_buffer_copy):
17861 * gst/gstchildproxy.c:
17863 * gst/gstelement.c:
17864 * gst/gstelementfactory.c:
17865 * gst/gstelementfactory.h:
17867 * gst/gstghostpad.h:
17869 * gst/gstinterface.h:
17870 * gst/gstminiobject.c:
17871 * gst/gstminiobject.h:
17874 * gst/gstpadtemplate.h:
17875 * gst/gstpipeline.h:
17876 * gst/gstpluginfeature.h:
17879 * gst/gsttaglist.c:
17880 * gst/gsttaglist.h:
17881 * gst/gsttagsetter.c:
17882 * gst/gsttagsetter.h:
17885 * gst/gsttypefind.h:
17888 * gst/net/gstnetclientclock.c:
17889 * gst/net/gstnetclientclock.h:
17890 * gst/net/gstnettimepacket.c:
17891 * gst/net/gstnettimeprovider.c:
17892 * gst/net/gstnettimeprovider.h:
17895 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17897 * configure.ac: back to HEAD
17899 === release 0.9.6 ===
17901 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17904 releasing 0.9.6, "Always On Time"
17906 2005-11-23 Wim Taymans <wim@fluendo.com>
17908 * docs/gst/gstreamer-sections.txt:
17909 * gst/glib-compat.c:
17910 * gst/gsttagsetter.c:
17912 * gst/net/gstnetclientclock.c:
17913 * gst/net/gstnettimepacket.h:
17916 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17918 * docs/faq/using.xml:
17919 * docs/libs/tmpl/gstcontrol.sgml:
17920 * docs/manual/advanced-dparams.xml:
17921 * docs/manual/appendix-checklist.xml:
17922 * docs/manual/basics-elements.xml:
17923 * docs/pwg/other-source.xml:
17924 * docs/random/moving-plugins:
17926 * tools/gst-launch.1.in:
17927 remove mentions of sinesrc
17929 2005-11-23 Michael Smith <msmith@fluendo.com>
17931 * docs/gst/gstreamer-sections.txt:
17932 Update for new API and API changes.
17934 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17936 Documentation typo fix.
17937 * gst/net/gstnettimepacket.c:
17938 Documentation fixes for arguments.
17940 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17942 * gst/gststructure.c: (gst_structure_get_fraction),
17943 (gst_structure_parse_value),
17944 (gst_structure_fixate_field_nearest_fraction):
17945 * gst/gststructure.h:
17946 * gst/gstutils.c: (gst_util_uint64_scale_int):
17948 * scripts/update-funcnames:
17950 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17951 Make gst_structure_fixate_field_nearest_fraction take a numerator
17952 and denominator argument instead of a GValue
17953 add gst_structure_get_fraction helper function.
17955 2005-11-23 Wim Taymans <wim@fluendo.com>
17957 * docs/design/part-TODO.txt:
17960 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17961 * gst/net/gstnetclientclock.h:
17962 Use parent fields for timeout and window_size.
17964 2005-11-23 Andy Wingo <wingo@pobox.com>
17966 * check/net/gstnetclientclock.c (test_functioning): Adjust to
17967 rate_num/rate_denom change.
17969 * gst/net/gstnetclientclock.c
17970 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17971 OBJECT_LOCK. Don't call add_observation with the lock.
17973 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17975 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17977 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17978 deal with rate as a fraction whose numerator and denominator are
17979 GstClockTime values.
17980 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17981 master; the other fields are protected by the SLAVE_LOCK.
17982 (do_linear_regression): Note that this must be called with the
17984 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17985 OBJECT_LOCK. Call set_calibration instead of touching the
17986 variables directly.
17987 (gst_clock_set_property, gst_clock_get_property): Protect
17988 master/slave parameters with the SLAVE_LOCK.
17990 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17991 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17992 note that all of the instance variables that add_observation and
17993 the set_master functions use are protected by that lock and not
17995 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17997 * gst/gstclock.c (gst_clock_add_observation): No longer requires
17998 the caller to take the object lock.
18000 2005-11-23 Wim Taymans <wim@fluendo.com>
18002 * gst/gsterror.c: (_gst_core_errors_init):
18004 Add error for clock stuff.
18006 * gst/gstpipeline.c: (gst_pipeline_change_state),
18007 (gst_pipeline_set_clock):
18008 Post clock error when clock cannot be used in a pipeline.
18010 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18012 * docs/gst/gstreamer-sections.txt:
18013 make two symbols from gstinfo private for the docs
18014 * gst/base/gstcollectpads.h:
18016 fix doc typos, update docs
18018 2005-11-22 Wim Taymans <wim@fluendo.com>
18020 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18021 (gst_base_sink_wait), (gst_base_sink_do_sync),
18022 (gst_base_sink_handle_event):
18023 * gst/base/gstbasesink.h:
18024 No need to store the clock, the parent element class already
18027 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18028 Updates for clock_set returning a gboolean
18030 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18031 (gst_clock_id_wait_async), (gst_clock_class_init),
18032 (gst_clock_init), (gst_clock_finalize),
18033 (gst_clock_get_internal_time), (gst_clock_get_time),
18034 (gst_clock_slave_callback), (gst_clock_set_master),
18035 (gst_clock_get_master), (do_linear_regression),
18036 (gst_clock_add_observation), (gst_clock_set_property),
18037 (gst_clock_get_property):
18039 Implement master/slave. When setting a clock as a slave, a
18040 periodic timeout is scheduled to sample master and slave times.
18041 Then the slave clock is recalibrated to match offset and rate
18042 of the master clock.
18043 Update logging a bit.
18044 Add flag so that a clock can state that is cannot be slaved to
18047 * gst/gstelement.c: (gst_element_set_clock):
18048 * gst/gstelement.h:
18049 The set clock returns a gboolean for when an element cannot
18050 deal with the selected clock in the pipeline.
18052 * gst/gstpipeline.c: (gst_pipeline_change_state),
18053 (gst_pipeline_set_clock):
18054 * gst/gstpipeline.h:
18055 Handle the case where the selected clock cannot be set on
18058 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18059 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18060 (gst_net_client_clock_set_property),
18061 (gst_net_client_clock_get_property),
18062 (gst_net_client_clock_observe_times):
18063 * gst/net/gstnetclientclock.h:
18064 Use regression code in GstClock parent, remove duplicated
18067 2005-11-22 Michael Smith <msmith@fluendo.com>
18069 * gst/gstutils.c: (gst_util_clock_time_scale):
18071 * docs/gst/gstreamer-sections.txt:
18072 Rename method to have extra underscore.
18074 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18076 * gst/elements/Makefile.am:
18077 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18078 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18079 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18080 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18081 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18082 * gst/elements/gstfakesrc.h:
18083 * gst/gstqueue.c: (queue_leaky_get_type):
18084 correctly fix GEnumValues so that nick is the short lowercase
18086 * tools/gst-inspect.c: (print_element_properties_info):
18087 also show the nick, since it's useful to use from parse_launch
18091 2005-11-22 Michael Smith <msmith@fluendo.com>
18093 * gst/gstutils.c: (gst_util_clocktime_scale):
18095 * docs/gst/gstreamer-sections.txt:
18096 Add util method for scaling a clocktime by a fraction. Useful
18097 implementation is left as an exercise for the reader.
18099 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18101 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18102 If needed, allocate storage in the destination value during
18105 2005-11-22 Edward Hervey <edward@fluendo.com>
18107 * docs/gst/gstreamer-sections.txt:
18110 * gst/gsturitype.c:
18111 * gst/gsturitype.h:
18112 * gst/gstutils.c: (gst_util_set_object_arg):
18113 * tools/gst-compprep.c: (main):
18114 * tools/gst-inspect.c: (print_element_properties_info):
18115 Removed GstURI, closes bug #321061
18117 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18119 * check/gst/gststructure.c: (GST_START_TEST):
18120 * gst/gststructure.c: (gst_structure_parse_value):
18121 Oops, broke automatic string type parsing.
18122 Add a test to catch it in future.
18124 2005-11-22 Andy Wingo <wingo@pobox.com>
18126 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18127 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18128 Actually rename the function implementations. Grr.
18130 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18132 * check/gst/capslist.h:
18134 * check/gst/gststructure.c: (GST_START_TEST),
18135 (gst_structure_suite):
18136 Test automatic value type detection in gst_structure_from_string.
18137 * gst/gststructure.c: (gst_structure_parse_value):
18138 Add fraction as a type we try and guess automatically in
18139 caps/structure strings.
18141 2005-11-22 Andy Wingo <wingo@pobox.com>
18143 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18145 * gst/gsttagsetter.h:
18146 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18147 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18148 (gst_tag_setter_add_tag_valist)
18149 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18150 _add_values, _add_valist, and _add_valist_values. Since this is an
18151 interface the function suffixes should be more explicit so
18152 language binding don't end up with element.add_valist ->
18153 gst_tag_setter_add_valist, for example. Fixes #322069.
18155 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18157 * check/gst/gstcaps.c: (GST_START_TEST):
18158 Extend caps string tests to check that a caps to string
18159 conversion is reversible and produces the same caps.
18161 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18162 Output "fraction" as the generic type fraction range, so caps
18163 serialisation and deserialisation works.
18164 * check/gst/capslist.h:
18165 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18166 Support 'MIN' and 'MAX' for deserialising fractions.
18168 2005-11-22 Andy Wingo <wingo@pobox.com>
18170 * gst/gstevent.h (gst_event_new_new_segment)
18171 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18172 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18173 Renamed from *_newsegment, *_buffersize, *_notarget.
18175 * scripts/update-funcnames: New script, performs the changes
18178 2005-11-22 Wim Taymans <wim@fluendo.com>
18180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18181 Make sure the GstFlowReturn is returned.
18183 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18184 (gst_bus_add_signal_watch):
18186 add gst_bus_add_signal_watch_full.
18188 * gst/gstplugin.c: (gst_plugin_load_file):
18189 Small style cleanup.
18191 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18193 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18194 Block the fakesrc srcpad when we send an event, to avoid
18195 contention on the stream_lock causing random test failures.
18197 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18199 * check/gst/gstvalue.c: (GST_START_TEST):
18200 * gst/gstvalue.c: (gst_value_fraction_subtract):
18203 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18206 include "gstchildproxy.h"
18207 * gst/gstchildproxy.h:
18208 * libs/gst/controller/gstcontroller.h:
18209 use G_GNUC_NULL_TERMINATED
18211 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18213 * check/gst/capslist.h:
18214 * check/gst/gstcaps.c: (GST_START_TEST):
18215 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18216 * gst/gststructure.c: (gst_structure_parse_range),
18217 (gst_structure_fixate_field_nearest_fraction):
18218 * gst/gststructure.h:
18219 * gst/gstvalue.c: (gst_value_init_fraction_range),
18220 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18221 (gst_value_collect_fraction_range),
18222 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18223 (gst_value_set_fraction_range_full),
18224 (gst_value_get_fraction_range_min),
18225 (gst_value_get_fraction_range_max),
18226 (gst_value_serialize_fraction_range),
18227 (gst_value_transform_fraction_range_string),
18228 (gst_value_compare_fraction_range),
18229 (gst_value_deserialize_fraction_range),
18230 (gst_value_intersect_fraction_fraction_range),
18231 (gst_value_intersect_fraction_range_fraction_range),
18232 (gst_value_subtract_fraction_fraction_range),
18233 (gst_value_subtract_fraction_range_fraction),
18234 (gst_value_subtract_fraction_range_fraction_range),
18235 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18236 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18237 (gst_value_transform_string_fraction), (_gst_value_initialize):
18239 Implement fraction ranges and extend GstFraction to support
18240 arithmetic subtraction, as well as deserialization from integer
18241 strings such as "100"
18242 Add a testsuite as for int and double range set operations
18244 2005-11-21 Andy Wingo <wingo@pobox.com>
18246 * gst/gsttaglist.h:
18248 * gst/gststructure.h: Add glib-compat.h.
18250 2005-11-21 Wim Taymans <wim@fluendo.com>
18252 * gst/gstbin.c: (gst_bin_change_state_func):
18255 2005-11-21 Wim Taymans <wim@fluendo.com>
18257 * gst/gstsegment.h:
18258 And add a nice define too.
18260 2005-11-21 Wim Taymans <wim@fluendo.com>
18262 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18263 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18264 (gst_segment_set_duration), (gst_segment_set_last_stop),
18265 (gst_segment_set_seek), (gst_segment_set_newsegment),
18266 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18267 (gst_segment_clip):
18268 * gst/gstsegment.h:
18269 Make binding friendly.
18271 2005-11-21 Andy Wingo <wingo@pobox.com>
18273 * gst/gsttagsetter.h:
18274 * gst/gsttaglist.h:
18275 * gst/gststructure.h:
18277 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18280 * gst/gsterror.c (_gst_core_errors_init):
18281 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18284 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18285 (noinst_HEADERS): noinst the -private.
18287 2005-11-21 Michael Smith <msmith@fluendo.com>
18290 * gst/gstregistry.h:
18291 Remove unimplemented declarations for which we can see no sensible
18294 2005-11-21 Andy Wingo <wingo@pobox.com>
18296 * gst/gst.h: Include glib-compat.h.
18298 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18300 * gst/glib-compat.c: Include the public and the private header.
18302 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18306 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18308 * check/gst/gstevent.c (create_custom_events): Check that
18309 FLUSH_STOP is serialized.
18311 * check/elements/identity.c (event_func):
18312 * check/elements/fakesrc.c (event_func): No stream lock, the core
18315 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18316 stream lock taking, yay.
18318 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18319 ensure that core takes the stream lock.
18321 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18324 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18325 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18326 it already. For the flush start we do take it though so we get the
18327 right preroll state change messages.
18329 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18330 the stream lock here, the core does it for us.
18332 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18333 GST_STREAM_GET_LOCK.
18334 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18335 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18336 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18337 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18338 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18339 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18341 * gst/gstpad.c: Update for stream lock name change.
18343 * gst/base/gstbasesink.c: Update for preroll lock name change.
18345 2005-11-21 Wim Taymans <wim@fluendo.com>
18347 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18348 (gst_clock_get_master):
18350 * gst/gstsystemclock.c: (gst_system_clock_init):
18351 Convert Clock flags to object flags.
18352 Added methods to manage master/slave clocks.
18354 2005-11-21 Wim Taymans <wim@fluendo.com>
18356 * check/gst/gstsegment.c: (GST_START_TEST):
18357 * docs/design/part-TODO.txt:
18358 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18359 (gst_base_sink_event), (gst_base_sink_do_sync),
18360 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18361 (gst_base_sink_query), (gst_base_sink_change_state):
18362 * gst/base/gstbasesink.h:
18363 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18364 (gst_base_src_default_newsegment),
18365 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18366 (gst_base_src_get_range), (gst_base_src_loop),
18367 (gst_base_src_change_state):
18368 * gst/base/gstbasesrc.h:
18369 * gst/base/gstbasetransform.c:
18370 (gst_base_transform_prepare_output_buf),
18371 (gst_base_transform_event), (gst_base_transform_change_state):
18372 * gst/base/gstbasetransform.h:
18373 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18374 (gst_collect_pads_event):
18375 * gst/base/gstcollectpads.h:
18376 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18377 (gst_fake_src_create):
18378 * gst/elements/gstfakesrc.h:
18379 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18380 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18381 (gst_segment_set_last_stop), (gst_segment_set_seek),
18382 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18383 (gst_segment_to_running_time), (gst_segment_clip):
18384 * gst/gstsegment.h:
18385 More segment updates, replace code in plugins with segment
18388 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18390 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18391 Don't ignore sscanf results
18393 2005-11-21 Andy Wingo <wingo@pobox.com>
18395 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18398 * *.c: Ran scripts/update-macros. Oh yes.
18400 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18401 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18404 * scripts/update-macros: New script. Run it on your files to
18405 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18408 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18410 * docs/gst/Makefile.am:
18411 * docs/gst/gstreamer-docs.sgml:
18412 * docs/gst/gstreamer-sections.txt:
18413 * docs/gst/gstreamer.types:
18415 more docs fixes, add new api to the docs
18417 2005-11-21 Andy Wingo <wingo@pobox.com>
18419 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18420 state_broadcast call.
18422 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18424 2005-11-21 Julien MOUTTE <julien@moutte.net>
18426 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18427 function calls for arrays.
18429 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18431 * docs/random/ensonic/media-device-daemon.txt:
18432 wild idea, can this be done?
18433 * docs/gst/gstreamer-sections.txt:
18438 * gst/gstpluginfeature.c:
18442 doc fixes and additions
18444 2005-11-21 Andy Wingo <wingo@pobox.com>
18446 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18447 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18448 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18449 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18450 private to the basesrc implementation.
18452 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18453 behalf of event function if necessary. It should no longer be
18454 necessary to take the stream lock in pad's event functions. Fixes
18457 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18458 * docs/gst/gstreamer-sections.txt:
18459 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18460 (gst_structure_fixate_field_nearest_double),
18461 (gst_structure_fixate_field_boolean):
18462 * gst/gststructure.h:
18463 * win32/common/libgstreamer.def:
18464 * win32/gstreamer.def:
18466 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18469 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18471 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18472 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18473 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18474 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18475 (gst_fdsrc_uri_handler_init):
18476 * gst/elements/gstfdsrc.h:
18477 Port fd:// URI handler from 0.8 to fdsrc
18479 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18481 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18482 (gst_value_serialize_fourcc):
18484 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18485 consistent with our other format defines (#320324).
18487 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18489 * gst/gstvalue.c: (gst_value_is_fixed):
18490 Revert previous commit. Value lists are by definition
18491 not fixed, as they are a list of possible values.
18493 2005-11-21 Andy Wingo <wingo@pobox.com>
18495 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18496 during the stable series if we need it. Fixes #319178.
18498 * gst/gstevent.c (gst_event_new_filler): Removed.
18500 * check/gst/gstevent.c: Update comment about filler events.
18502 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18504 * gst/gstvalue.c: (gst_value_is_fixed):
18505 Should handle both value arrays and value lists.
18507 2005-11-21 Andy Wingo <wingo@pobox.com>
18509 patch by: Alessandro Dessina <alessandro nnva org>
18511 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18512 functions to access arrays. Fixes #321962.
18514 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18516 * docs/gst/gstreamer.types:
18517 gst_collectpads_get_type => gst_collect_pads_get_type.
18519 * gst/base/gstbasetransform.c:
18520 Remove unused SIGNAL_HANDOFF enum.
18522 2005-11-21 Andy Wingo <wingo@pobox.com>
18524 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18525 the event type (upstream, downstream, serialized). Renamed
18526 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18527 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18528 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18530 * gst/gstevent.c: Update for new CUSTOM event names.
18532 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18535 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18538 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18540 * docs/gst/gstreamer-sections.txt:
18541 * win32/common/libgstbase.def:
18542 * win32/libgstbase.def:
18543 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18544 (gst_collect_pads_class_init), (gst_collect_pads_init),
18545 (gst_collect_pads_finalize), (gst_collect_pads_new),
18546 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18547 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18548 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18549 (gst_collect_pads_start), (gst_collect_pads_stop),
18550 (gst_collect_pads_peek), (gst_collect_pads_pop),
18551 (gst_collect_pads_available), (gst_collect_pads_read),
18552 (gst_collect_pads_flush), (gst_collect_pads_event),
18553 (gst_collect_pads_chain):
18554 * gst/base/gstcollectpads.h:
18555 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18556 unimplemented functions as unimplemented. Add padding to
18557 GstCollectData. (#320766, #320423)
18559 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18561 * gst/gstmessage.c:
18562 Improve docs for DURATION message (usage of duration parameter)
18565 2005-11-20 Wim Taymans <wim@fluendo.com>
18567 * check/Makefile.am:
18568 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18572 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18573 (gst_segment_set_seek), (gst_segment_set_newsegment),
18574 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18575 (gst_segment_clip):
18576 * gst/gstsegment.h:
18577 Added segment helper structure and methods. Not fully implemented
18579 Added segment check.
18581 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18583 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18584 Add a deserialisation test for fractions
18585 * examples/metadata/read-metadata.c: (message_loop),
18586 (make_pipeline), (main):
18587 Fix up metadata reading sample.
18588 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18590 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18591 Don't try and fixate empty caps
18592 * gst/gst_private.h:
18593 Wrap in G_BEGIN_DECLS/G_END_DECLS
18594 * gst/gstvalue.c: (gst_value_collect_fraction),
18595 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18596 (gst_value_transform_string_fraction),
18597 (gst_value_compare_fraction):
18598 Add some extra guards to ensure that we don't end up
18599 with an invalid denominator of 0 in a gstfraction and
18600 that fractions always get reduced.
18602 2005-11-20 Wim Taymans <wim@fluendo.com>
18604 * docs/gst/gstreamer-sections.txt:
18606 * gst/gstelement.c:
18615 2005-11-20 Wim Taymans <wim@fluendo.com>
18617 * docs/design/part-TODO.txt:
18619 Make a proper enum of the flag.
18621 2005-11-19 Wim Taymans <wim@fluendo.com>
18623 * docs/design/part-TODO.txt:
18624 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18625 (gst_format_to_quark), (gst_format_register):
18627 * gst/gstquery.c: (_gst_query_initialize),
18628 (gst_query_type_get_name), (gst_query_type_to_quark),
18629 (gst_query_type_register):
18631 Add type to quark and type to string conversions.
18633 2005-11-19 Andy Wingo <wingo@pobox.com>
18635 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18638 2005-11-19 Wim Taymans <wim@fluendo.com>
18640 * docs/design/part-TODO.txt:
18641 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18642 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18643 (gst_bin_handle_message_func):
18645 Make message handling overridable.
18647 2005-11-19 Andy Wingo <wingo@pobox.com>
18649 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18652 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18654 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18655 is a GstClockTime. Fixes #321710.
18657 * gst/gstclock.h (GstClock): Remove offset property. Add
18658 internal_calibration and external_calibration. Fix padding. Pad
18659 also by GstClockTime so we don't run into problems.
18661 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18662 (gst_clock_get_rate_offset): Remove.
18663 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18666 * gst/gstutils.c (g_static_rec_cond_wait)
18667 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18669 * gst/gstbin.c: Remove terrible continue_state prototype.
18671 * gst/gstelement.h (gst_element_continue_state): Make public.
18673 * gst/gstelement.h:
18674 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18675 by continue_state. Fixes #319389.
18677 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18678 Really fixes #168438. However I don't see anywhere where the
18679 filter function is called... stupid GStreamer...
18681 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18682 don't have a dispose function, so it won't get called when the
18683 object is unreffed, but oh well!
18685 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18686 allows a destroy function to be set so user_data can be freed.
18688 (gst_index_set_filter): Call gst_index_set_filter_full.
18690 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18692 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18693 string should produce an error, given the lack of a way to
18694 represent NULL strings. Fixes #165650.
18697 * gst/gstvalue.c (gst_value_array_append_value)
18698 (gst_value_array_prepend_value, gst_value_array_get_size)
18699 (gst_value_array_get_value): New API, copied from
18700 gst_value_list_*, only operates on arrays.
18701 (gst_value_list_append_value, gst_value_list_prepend_value)
18702 (gst_value_list_concat, gst_value_list_get_size)
18703 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18705 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18706 init_list, because it works on both.
18707 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18708 (gst_value_copy_list_or_array): Renamed from copy_list.
18709 (gst_value_free_list_or_array): Renamed from free_list.
18710 (gst_value_collect_list_or_array): Renamed from collect_list.
18711 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18712 (gst_value_list_or_array_peek_pointer): Renamed from
18714 (_gst_value_array_value_table, _gst_value_list_value_table):
18715 Update value table functions.
18716 (gst_value_compare_list_or_array): Renamed from compare_list.
18718 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18721 * gst/gsttaglist.c:
18722 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18723 GstTagList*. Fixes #143472.
18725 * gst/gststructure.h: Clarify what the foreach/map functions can
18726 or can't do to their arguments.
18728 2005-11-18 Wim Taymans <wim@fluendo.com>
18730 * gst/gstclock.c: (gst_clock_set_calibration),
18731 (gst_clock_get_calibration):
18733 Calibration can be set with internal time equal to current
18736 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18742 2005-11-18 Andy Wingo <wingo@pobox.com>
18745 * pkgconfig/gstreamer-net.pc.in:
18746 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18747 * pkgconfig/Makefile.am: Add net pkgconfig files.
18749 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18752 * gst/gstghostpad.c:
18758 2005-11-18 Andy Wingo <wingo@pobox.com>
18760 * gst/net/gstnetclientclock.c: Turn off debugging.
18762 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18763 times connverge somewhat. Can't make a real test.
18765 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18766 integer arithmetic. Return the minimum of the domain, which can be
18767 set as "internal" for gst_clock_set_calibration.
18768 (gst_net_client_clock_observe_times): Call _set_calibration.
18769 (gst_net_client_clock_new): Call _set_calibration instead of
18772 * check/net/gstnetclientclock.c (test_functioning): Use the right
18776 * gst/gstclock.c (gst_clock_get_calibration)
18777 (gst_clock_set_calibration): New functions, obsolete the ones I
18778 added yesterday. Doh. Precision issues mean we have to extrapolate
18779 from a point in the more recent past than 1970.
18780 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18782 (gst_clock_adjust_unlocked): Use the right calibration data.
18784 2005-11-18 Edward Hervey <edward@fluendo.com>
18786 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18787 Also reset the ->current_* values in READY->PAUSED
18789 2005-11-18 Andy Wingo <wingo@pobox.com>
18791 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18792 Whoops, check the right fd. Also add some debugging.
18793 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18794 (do_linear_regression): Add a crapload of debugging. Subtract off
18795 the minimum values from the input series to discard unneeded bits.
18796 Use only int arithmetic. There is still double arithmetic when
18797 calculating the intercept that needs fixing. Return boolean to
18798 indicate success; FALSE would mean the domain or range is too
18799 great. Still needs fixes.
18801 2005-11-18 Wim Taymans <wim@fluendo.com>
18803 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18804 For the current position in stream time, we need to subtract
18807 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18808 Release lock before calling the callback function of async
18811 2005-11-18 Andy Wingo <wingo@pobox.com>
18813 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18814 Port goes all the way to MAXUINT16.
18816 * gst/net/gstnettimeprovider.c: Make the port range the same as
18817 for the kernel: 0 assigns, otherwise ports are less than
18820 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18823 * check/net/gstnetclientclock.c (test_functioning): Add the start
18826 2005-11-18 Wim Taymans <wim@fluendo.com>
18828 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18829 (gst_bin_remove_func), (bin_bus_handler):
18831 Removing a clock provider from a bin, triggers a clock lost message
18832 so that a new clock will be selected.
18833 Adding a clock to a bin triggers a clock provider message.
18834 Make sure we reselect a clock when we received a clock lost message.
18835 Keep a reference to the element that provided the clock.
18837 2005-11-18 Andy Wingo <wingo@pobox.com>
18839 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18840 the clock initially so it produces values around the base time.
18841 (gst_net_client_clock_class_init): Typo fix.
18842 (gst_net_client_clock_thread): Add note on when the socket gets
18845 2005-11-17 Wim Taymans <wim@fluendo.com>
18847 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18848 Free remote and local time arrays.
18850 2005-11-17 Wim Taymans <wim@fluendo.com>
18852 * gst/net/gstnetclientclock.c: (do_linear_regression),
18853 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18854 Fix compilation, uninitialized vars and a forgotten continue.
18856 2005-11-17 Andy Wingo <wingo@pobox.com>
18858 * check/Makefile.am (check_PROGRAMS):
18859 * check/net/gstnetclientclock.c: Add a most minimal test for the
18860 net client clock. More to come later.
18862 * gst/net/gstnet.h:
18863 * gst/net/Makefile.am: Add netclientclock.
18865 * gst/net/gstnetclientclock.h:
18866 * gst/net/gstnetclientclock.c: New files, implement an untested
18867 GstClock that takes its time from a network time provider.
18868 Implements the algorithm in network-clock.scm.
18870 * tests/network-clock.scm (*window-size*): Rename from
18872 * tests/network-clock.scm (network-time):
18873 * tests/network-clock-utils.scm (q-push): Update callers.
18875 2005-11-17 Wim Taymans <wim@fluendo.com>
18877 * gst/gstbin.c: (gst_bin_provide_clock_func),
18878 (gst_bin_sort_iterator_new):
18879 And unref the child too..
18881 2005-11-17 Wim Taymans <wim@fluendo.com>
18883 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18884 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18885 Refactor the sort iterator so it can be used while holding the
18887 Make clock selection select a clock closest to the source.
18889 2005-11-17 Michael Smith <msmith@fluendo.com>
18891 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18892 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18894 Anonymous structs are a gcc (and some other compilers) extension, so
18895 don't use them. Since this is only for ABI-compatibility, and our
18896 API/ABI freeze is over in a few days, this whole thing will only
18897 last a few days, so don't bother trying to think up a meaningful
18898 name for the struct.
18900 2005-11-17 Andy Wingo <wingo@pobox.com>
18902 * gst/gstclock.h (GstClock): Add rate and offset properties,
18903 preserving ABI stability. Add rate/offset accessors. Will file bug
18904 for the freeze break.
18906 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18907 and offset, trying to keep precision and avoiding
18908 underflow/overflow.
18909 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18910 functions. Make gst_clock_set_time_adjust obsolete.
18911 (gst_clock_set_time_adjust): Note that this function is obsolete.
18912 Will file bug soon.
18914 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18915 greppable by using GST_PADDING-1+1.
18917 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18919 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18921 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18922 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18924 * gst/gstpadtemplate.h:
18925 * gst/gstpluginfeature.h:
18926 Don't use c++ style comments in headers (#321638).
18928 2005-11-16 Andy Wingo <wingo@pobox.com>
18930 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18933 * check/net/gstnettimeprovider.c: Check to see that the time
18934 provider actually provides times. Works, yo!
18936 2005-11-16 Wim Taymans <wim@fluendo.com>
18938 * check/Makefile.am:
18941 * check/elements/fakesrc.c: (GST_START_TEST):
18942 Set element to NULL before disposing it.
18944 2005-11-16 Andy Wingo <wingo@pobox.com>
18946 * gst/net/Makefile.am:
18947 * gst/net/gstnet.h:
18948 * gst/net/gstnettimeprovider.c:
18949 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18950 provider, include it from gstnet.h, and add it to the build.
18952 * gst/net/gstnettimepacket.h:
18953 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18954 sending and receiving.
18956 2005-11-16 Wim Taymans <wim@fluendo.com>
18958 * check/Makefile.am:
18959 Enable valgrind check.
18961 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18962 (gst_fake_src_alloc_buffer):
18965 2005-11-16 Wim Taymans <wim@fluendo.com>
18967 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18968 Call parent finalize too.
18970 2005-11-16 Wim Taymans <wim@fluendo.com>
18972 * check/Makefile.am:
18973 Enable valgrind check that should work fine now.
18975 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18976 * gst/gstqueue.c: (gst_queue_init):
18977 Fix memleaks in pad allocation.
18979 2005-11-16 Andy Wingo <wingo@pobox.com>
18981 * gst/net/Makefile.am:
18982 * gst/net/gstnet.h: New part of core to hold network elements and
18983 objects. Put in core because it exposes API that applications want
18984 to use. The library is named libgstnet-tempname right now because
18985 of the existing libgstnet in gst-plugins-base. Solution is
18986 probably to rename the one in plugins-base; will file a bug for
18989 * gst/net/gstnettimeprovider.c:
18990 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18991 get_time call over the network.
18994 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18996 * check/Makefile.am:
18997 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18998 get additions shortly.
19000 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19002 * gst/gstpad.c: (gst_pad_new_from_static_template):
19004 add gst_pad_new_from_static_template functions
19005 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19006 (gst_check_setup_sink_pad):
19007 * gst/elements/gsttee.c: (gst_tee_init):
19010 2005-11-16 Wim Taymans <wim@fluendo.com>
19012 * gst/gstpad.c: (gst_pad_pause_task):
19013 Removed warning, it's not really an error either.
19015 2005-11-16 Wim Taymans <wim@fluendo.com>
19017 * gst/base/gstbasetransform.c:
19018 (gst_base_transform_prepare_output_buf),
19019 (gst_base_transform_event):
19020 Check if the caps are NULL, this can happen if the element
19021 is shutting down and the pad caps are set to NULL.
19023 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19025 * gst/elements/gsttee.c: (gst_tee_init):
19026 fix pad template leak in tee
19028 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19030 * gst/glib-compat.c: (g_value_dup_gst_object):
19031 * gst/glib-compat.h:
19032 * gst/gstpad.c: (gst_pad_set_property):
19033 use gst_object_ref when setting the pad template; this will
19034 trigger the pad template leaks on GLib 2.6 and the slaves
19036 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19038 * gst/glib-compat.c: (gst_flags_get_first_value):
19039 * gst/glib-compat.h:
19040 * gst/gstregistryxml.c:
19041 remove functions copied from GLib 2.6
19043 2005-11-16 Michael Smith <msmith@fluendo.com>
19046 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19047 do, but only breaks with newer valgrind versions. We're not a
19048 valgrind tool, we have no link-time dependencies on libcoregrind.
19050 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19052 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19054 * gst/gstmessage.h:
19057 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19059 * gst/base/gstbasesrc.c: (gst_base_src_init):
19060 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19061 * gst/gstqueue.c: (gst_queue_init):
19062 * gst/gstregistryxml.c: (load_feature):
19063 Revert all these unrefs, they don't even pass make check !
19065 2005-11-15 Johan Dahlin <johan@gnome.org>
19067 * gst/base/gstbasesrc.c: (gst_base_src_init):
19068 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19069 * gst/gstqueue.c: (gst_queue_init):
19070 Free pad templates, fixes a couple of leaks.
19072 2005-11-15 Daniel Fischer <dan at f3c dot com>
19074 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19076 * gst/gstpad.c: (gst_pad_get_property):
19077 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19078 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19081 2005-11-15 Wim Taymans <wim@fluendo.com>
19086 2005-11-15 Andy Wingo <wingo@pobox.com>
19088 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19090 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19091 using GST_CLOCK_TIME_NONE to disable base time management.
19092 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19093 time if it was NONE before.
19094 (gst_pipeline_change_state): Only munge the base time if
19095 stream_time != GST_CLOCK_TIME_NONE.
19097 * check/gst/gstpipeline.c (test_base_time): Punt around the
19098 problem of the probe not being called, because that's not the
19099 issue I'm looking at. Add a check that setting stream_time to NONE
19100 disables base time management.
19102 2005-11-15 Wim Taymans <wim@fluendo.com>
19104 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19105 segment_stop == -1 at startup.
19107 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19108 (gst_base_transform_change_state):
19109 Init segment values at start.
19111 2005-11-15 Wim Taymans <wim@fluendo.com>
19113 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19114 0 segment values are 0 in any format.
19116 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19117 * gst/base/gstbasetransform.h:
19118 Parse newsegment correctly in basetransform
19120 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19121 Sync to clock using updated segment values.
19123 2005-11-15 Andy Wingo <wingo@pobox.com>
19125 * check/gst/gstpipeline.c (test_base_time): Add check that the
19126 base time and stream time are reset correctly.
19128 2005-11-15 Wim Taymans <wim@fluendo.com>
19130 * docs/design/part-TODO.txt:
19131 Some more TODO items.
19133 2005-11-15 Andy Wingo <wingo@pobox.com>
19135 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19136 error if the user selected "no clock" as the clocking method.
19138 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19139 timestamps with live capture.
19141 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19142 is 0 but we are a live source, timestamp the buffers using the
19145 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19147 * docs/gst/gstreamer-sections.txt:
19149 * gst/gstghostpad.c:
19154 2005-11-14 Wim Taymans <wim@fluendo.com>
19157 add suppressions from Wim's Debian machine
19159 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19162 add suppressions from Andy's AMD64 Ubuntu machine
19164 2005-11-14 Andy Wingo <wingo@pobox.com>
19166 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19167 STATE_LOCK not necessary. Fixes #311489.
19169 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19172 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19173 this function is not implemented.
19175 2005-11-14 Julien MOUTTE <julien@moutte.net>
19177 * gst/base/gstbasetransform.c:
19178 (gst_base_transform_prepare_output_buf):
19179 Ref the source pad caps while we need them.
19182 2005-11-11 Wim Taymans <wim@fluendo.com>
19184 * docs/gst/gstreamer-sections.txt:
19185 Added some docs for GstCollectData.
19187 * gst/base/gstadapter.c:
19188 Some small code example fix.
19190 * gst/base/gstcollectpads.c:
19191 * gst/base/gstcollectpads.h:
19192 Document some more.
19194 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19196 * configure.ac: back to HEAD
19198 === release 0.9.5 ===
19200 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19203 releasing 0.9.5, "Bike Lunch Day"
19205 2005-11-11 Wim Taymans <wim@fluendo.com>
19207 * gst/gstbuffer.c: (_gst_buffer_copy):
19210 * gst/gstcaps.c: (gst_caps_is_equal):
19212 Make _is_equal fast in the trivial cases.
19214 * gst/gstminiobject.c:
19215 * gst/gstminiobject.h:
19216 More docs. Spifify .h file.
19221 2005-11-11 Wim Taymans <wim@fluendo.com>
19223 * gst/base/gstbasetransform.c:
19224 (gst_base_transform_prepare_output_buf),
19225 (gst_base_transform_handle_buffer):
19227 If we're processing a buffer and need to allocate an output
19228 buffer, we cannot accept a format change. If we did get a
19229 format change, we have to alloc a buffer ourselves of the
19232 2005-11-11 Wim Taymans <wim@fluendo.com>
19234 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19235 While checking the flag for reentrancy in the gstcaps function
19236 is nice to detect recursive invocations, it also makes it
19237 impossible to call getcaps from multiple threads, which must be
19238 possible. So, checking for recursive calls has to go.
19240 2005-11-11 Michael Smith <msmith@fluendo.com>
19242 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19243 Don't sync on buffers that fall partially outside our current
19244 segment. Prevents an assertion failure/abort playing some files.
19246 2005-11-10 Andy Wingo <wingo@pobox.com>
19248 * check/gst/gstbin.c (test_message_state_changed_children): Style
19251 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19252 gst_bus_poll with the signal watch. Ensures that poll and a signal
19253 watch see the same messages.
19255 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19256 a poll and a watch at the same time get the same messages.
19258 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19260 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19261 * gst/gstcaps.c: (gst_caps_intersect):
19262 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19263 and it's not needed.
19265 2005-11-10 Wim Taymans <wim@fluendo.com>
19267 * docs/design/part-TODO.txt:
19270 2005-11-10 Wim Taymans <wim@fluendo.com>
19272 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19273 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19274 (gst_base_src_do_sync), (gst_base_src_get_range):
19275 Implement clock sync in base class.
19277 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19279 patch by: Tim-Philipp Müller <tim at centricular dot net>
19281 * gst/gststructure.c: (gst_structure_parse_field),
19282 (gst_structure_from_string):
19283 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19284 so that gst_parse_launch() can deal with spaces in filtered link
19285 caps (fixes #164479)
19286 * check/gst/capslist.h:
19287 * check/gst/gststructure.c: (GST_START_TEST):
19288 add unit tests for this change
19290 2005-11-10 Wim Taymans <wim@fluendo.com>
19292 * docs/gst/gstreamer-sections.txt:
19293 * gst/gstelement.c:
19294 * gst/gstelement.h:
19295 Fix docs, move some STATE macros to private.
19297 2005-11-10 Wim Taymans <wim@fluendo.com>
19299 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19300 Added check for bug #317341
19304 Some more spiffifying.
19306 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19307 Call peer linkfunction if we are a source pad. Totally fixes
19311 Update docs, source pads should call the peer linkfunction
19312 so they can atomically perform the pad link.
19314 2005-11-09 Wim Taymans <wim@fluendo.com>
19318 Uber-spiffy-spiffify some more.
19320 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19322 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19323 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19324 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19325 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19326 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19327 * gst/gstpad.c: (gst_pad_init):
19328 Use GST_DEBUG_FUNCPTR() more extensively.
19330 2005-11-09 Wim Taymans <wim@fluendo.com>
19332 * gst/gstobject.c: (gst_object_class_init):
19334 Documentation fixes.
19336 2005-11-09 Edward Hervey <edward@fluendo.com>
19338 * gst/gsttypefindfactory.c:
19341 2005-11-09 Edward Hervey <edward@fluendo.com>
19343 * gst/base/gsttypefindhelper.c:
19344 * gst/gsttypefind.c:
19345 * gst/gsttypefind.h:
19348 2005-11-09 Wim Taymans <wim@fluendo.com>
19350 * gst/gstiterator.c:
19357 2005-11-09 Wim Taymans <wim@fluendo.com>
19363 2005-11-09 Wim Taymans <wim@fluendo.com>
19365 * docs/gst/gstreamer-sections.txt:
19366 Moved the message async delivery private lock and cond
19367 to the private section.
19369 * gst/gstmessage.c:
19370 * gst/gstmessage.h:
19373 2005-11-09 Edward Hervey <edward@fluendo.com>
19375 * docs/gst/gstreamer-sections.txt:
19378 Document GstURIHandler
19380 2005-11-09 Wim Taymans <wim@fluendo.com>
19382 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19383 (gst_iterator_find_custom):
19384 * gst/gstiterator.h:
19387 2005-11-09 Wim Taymans <wim@fluendo.com>
19390 Document another field.
19392 * gst/gststructure.c:
19393 * gst/gststructure.h:
19396 2005-11-09 Wim Taymans <wim@fluendo.com>
19399 Documented structs.
19401 2005-11-09 Wim Taymans <wim@fluendo.com>
19403 * docs/gst/gstreamer-sections.txt:
19404 Added some new macros.
19411 2005-11-09 Wim Taymans <wim@fluendo.com>
19413 * docs/design/part-TODO.txt:
19414 Some more items for the TODO
19420 2005-11-09 Andy Wingo <wingo@pobox.com>
19422 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19423 to work on something else now tho...
19425 * gst/base/gstadapter.c: More adapter docs.
19427 * gst/elements/gstfilesink.c (gst_file_sink_start)
19428 (gst_file_sink_stop): New functions, replace the state change
19430 (gst_file_sink_class_init): Hook up the start and stop functions.
19431 (gst_file_sink_base_init): Don't set the state change handler any
19432 more. It was a bit ugly too, being set from here...
19433 (gst_file_sink_get_property, gst_file_sink_set_property):
19435 (gst_file_sink_set_location): More robust check that doesn't call
19436 GST_STATE. Ugggggg.
19438 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19440 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19441 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19443 2005-11-08 Wim Taymans <wim@fluendo.com>
19445 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19446 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19447 (gst_base_sink_chain), (gst_base_sink_change_state):
19448 * gst/base/gstbasesink.h:
19449 * gst/base/gstbasesrc.h:
19450 * gst/gstelement.h:
19452 Avoid excessive typechecking in macros.
19454 * gst/gstminiobject.c: (gst_mini_object_get_type),
19455 (gst_mini_object_init), (gst_mini_object_new),
19456 (gst_mini_object_free):
19457 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19458 (gst_object_finalize):
19459 Remove cruft code, optimize alloc_trace.
19461 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19463 * docs/faq/gst-uninstalled:
19464 fix up PS1 for systems that try to reset it
19466 2005-11-07 Wim Taymans <wim@fluendo.com>
19468 * gst/base/gstbasesrc.c: (gst_base_src_init),
19469 (gst_base_src_get_range):
19470 Set the segment_end to -1 initially. Fixed typefind.
19472 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19474 * gst/base/gstadapter.c:
19475 Debug category should be 'adapter', not 'GstAdapter'.
19477 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19478 (gst_collectpads_class_init), (gst_collectpads_init),
19479 (gst_collectpads_peek), (gst_collectpads_pop),
19480 (gst_collectpads_event), (gst_collectpads_chain):
19481 Add debug category and some debugging output. Use boilerplate
19482 macros. Remove some extraneous words from docs.
19484 2005-11-05 Andy Wingo <wingo@pobox.com>
19486 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19489 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19491 * docs/gst/gstreamer-sections.txt:
19494 * gst/gstminiobject.h:
19499 2005-11-04 Wim Taymans <wim@fluendo.com>
19501 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19502 Small update to stop at the configured segment_end
19505 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19507 * gst/gstregistry.c:
19508 * gst/gstregistry.h:
19511 2005-11-04 Edward Hervey <edward@fluendo.com>
19513 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19514 Check if we are doing a segment seek and have arrived at the
19515 end of that segment.
19517 2005-11-04 Wim Taymans <wim@fluendo.com>
19519 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19520 Don't leak a mutex unlock in case of an error.
19525 2005-11-04 Wim Taymans <wim@fluendo.com>
19527 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19529 Get the context to wake up only once.
19531 2005-11-03 Wim Taymans <wim@fluendo.com>
19533 * check/states/sinks.c: (GST_START_TEST):
19534 Uncomment fixed check.
19536 * docs/design/part-TODO.txt:
19539 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19540 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19541 (gst_base_sink_get_position):
19542 If we are going to PLAYING, post the right pending state
19543 when we post the intermediate paused message.
19545 * gst/gstelement.c: (gst_element_continue_state),
19546 (gst_element_set_state_func), (gst_element_change_state):
19547 Don't post state changes that were between the same state
19548 and were not ASYNC.
19550 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19552 * docs/gst/gstreamer-sections.txt:
19555 * gst/gstminiobject.h:
19558 more docs and doc style fixes
19560 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19562 * docs/gst/gstreamer-sections.txt:
19563 * gst/gstelement.c:
19564 * gst/gstminiobject.c:
19567 2005-11-03 Andy Wingo <wingo@pobox.com>
19569 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19570 state-changed messages actually have the right order and the right
19573 2005-11-03 Wim Taymans <wim@fluendo.com>
19575 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19576 Added some more checks. Specifically the case where NO_PREROLL
19577 elements are in the pipeline.
19579 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19580 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19581 (gst_base_sink_get_position):
19582 Post READY->PAUSED state change messages too.
19583 Fix bug where VOID was posted as pending state...
19585 * gst/gstbin.c: (gst_bin_recalc_state):
19586 use _element_continue_state() to continue the state change.
19588 * gst/gstelement.c: (gst_element_continue_state),
19589 (gst_element_commit_state), (gst_element_set_state_func),
19590 (gst_element_change_state), (gst_element_change_state_func):
19591 Lots of state change cleanups, assign the STATE_RETURN in
19592 a new continue_state() function that also propagates the
19593 last return value from a state change to the app.
19594 Update some debug statements with proper category.
19596 2005-11-03 Wim Taymans <wim@fluendo.com>
19598 * docs/design/part-events.txt:
19599 * docs/design/part-gstpipeline.txt:
19600 * docs/design/part-messages.txt:
19601 * docs/design/part-overview.txt:
19602 * docs/design/part-seeking.txt:
19603 * docs/design/part-states.txt:
19604 * docs/design/part-trickmodes.txt:
19605 * docs/manual/advanced-position.xml:
19606 Small docs updates.
19609 People think !! is ugly, this looks better.
19611 * gst/gstpad.c: (gst_pad_set_blocked_async):
19612 Remove !! since it's fixed elsewhere now.
19614 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19616 * gst/gstminiobject.h:
19618 Add !! to _FLAG_IS_SET macros to make the result boolean.
19620 2005-11-03 Edward Hervey <edward@fluendo.com>
19622 * gst/gstpad.c: (gst_pad_set_blocked_async):
19623 comparing a flag and a gboolean rarely returns coherent results...
19624 Added two characters (!!) to make that work correctly.
19626 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19628 * gst/gstbus.c: (gst_bus_class_init):
19631 * gst/gstqueue.c: (gst_queue_loop):
19632 Don't assume a miniobject that isn't a buffer is an
19633 event (it could be that there is a refcounting
19634 problem somewhere and the pointer is stale and
19635 refers to an already destroyed miniobject).
19637 2005-11-03 Julien MOUTTE <julien@moutte.net>
19639 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19641 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19643 * docs/manual/advanced-position.xml:
19644 Update seek example and explanations to current 0.9 API.
19646 * gst/elements/gsttypefindelement.c:
19647 (gst_type_find_element_activate):
19648 Remove FIXME comment now that the found caps
19651 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19653 * gst/gstregistryxml.c: (load_feature):
19654 Add another GST_STR_NULL instance
19656 2005-11-02 Edward Hervey <edward@fluendo.com>
19658 * gst/gstpad.c: (handle_pad_block):
19659 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19661 2005-11-02 Wim Taymans <wim@fluendo.com>
19666 * gst/gstelement.c: (gst_element_commit_state):
19667 Remove unused value.
19669 * gst/gstiterator.c:
19670 Mention that the returned element is reffed in the docs.
19672 2005-11-02 Wim Taymans <wim@fluendo.com>
19674 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19675 (gst_pad_push), (gst_pad_push_event):
19676 Unlock blocked pads when they are flushed.
19678 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19681 * docs/gst/gstreamer-sections.txt:
19684 * gst/gstregistry.c: (gst_registry_scan_path_level):
19685 fix for a nasty little missed situation where an installed plug-in
19686 which was in the cache did not get overridden by an uninstalled one
19687 which was earlier in the plugin path because the newly created plugin
19688 for the uninstalled one (not in the registry) didn't get its
19689 ->registered set to TRUE
19691 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19693 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19694 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19695 (gst_collectpads_is_active), (gst_collectpads_collect),
19696 (gst_collectpads_collect_range), (gst_collectpads_start),
19697 (gst_collectpads_stop), (gst_collectpads_peek),
19698 (gst_collectpads_pop), (gst_collectpads_available),
19699 (gst_collectpads_read), (gst_collectpads_flush):
19700 Guard public API with assertions.
19703 Fix docs for gst_pad_set_link_function().
19705 2005-11-02 Johan Dahlin <johan@gnome.org>
19707 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19708 Unref found_caps after we used it.
19710 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19712 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19713 Don't try to ref NULL.
19715 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19717 * win32/common/config.h.in:
19718 provide a GST_FUNCTION that just gives a string for now
19720 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19722 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19723 (gst_object_flags_get_type), (register_gst_bin_flags),
19724 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19725 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19726 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19727 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19728 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19729 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19730 (gst_clock_flags_get_type), (register_gst_state),
19731 (gst_state_get_type), (register_gst_state_change_return),
19732 (gst_state_change_return_get_type), (register_gst_state_change),
19733 (gst_state_change_get_type), (register_gst_element_flags),
19734 (gst_element_flags_get_type), (register_gst_core_error),
19735 (gst_core_error_get_type), (register_gst_library_error),
19736 (gst_library_error_get_type), (register_gst_resource_error),
19737 (gst_resource_error_get_type), (register_gst_stream_error),
19738 (gst_stream_error_get_type), (register_gst_event_type),
19739 (gst_event_type_get_type), (register_gst_seek_type),
19740 (gst_seek_type_get_type), (register_gst_seek_flags),
19741 (gst_seek_flags_get_type), (register_gst_format),
19742 (gst_format_get_type), (register_gst_index_certainty),
19743 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19744 (gst_index_entry_type_get_type),
19745 (register_gst_index_lookup_method),
19746 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19747 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19748 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19749 (gst_index_flags_get_type), (register_gst_debug_level),
19750 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19751 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19752 (gst_iterator_result_get_type), (register_gst_iterator_item),
19753 (gst_iterator_item_get_type), (register_gst_message_type),
19754 (gst_message_type_get_type), (register_gst_mini_object_flags),
19755 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19756 (gst_pad_link_return_get_type), (register_gst_flow_return),
19757 (gst_flow_return_get_type), (register_gst_activate_mode),
19758 (gst_activate_mode_get_type), (register_gst_pad_direction),
19759 (gst_pad_direction_get_type), (register_gst_pad_flags),
19760 (gst_pad_flags_get_type), (register_gst_pad_presence),
19761 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19762 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19763 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19764 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19765 (gst_plugin_flags_get_type), (register_gst_rank),
19766 (gst_rank_get_type), (register_gst_query_type),
19767 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19768 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19769 (gst_tag_flag_get_type), (register_gst_task_state),
19770 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19771 (gst_alloc_trace_flags_get_type),
19772 (register_gst_type_find_probability),
19773 (gst_type_find_probability_get_type), (register_gst_uri_type),
19774 (gst_uri_type_get_type), (register_gst_parse_error),
19775 (gst_parse_error_get_type):
19776 * win32/common/gstversion.h:
19777 update win32 copies
19779 2005-11-01 Luca Ognibene <luogni@tin.it>
19782 fix docs. popt is dead, long live GOption.
19784 2005-10-31 Wim Taymans <wim@fluendo.com>
19789 2005-10-31 Andy Wingo <wingo@pobox.com>
19793 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19795 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19796 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19797 the possibility of deadlocks here if code calling notify() or
19798 set() has a lock that can be taken in another notify handler (ABBA
19799 with class lock and e.g. python GIL state lock).
19801 2005-10-28 Julien MOUTTE <julien@moutte.net>
19803 * gst/gstbus.c: Doc updates.
19805 2005-10-28 Wim Taymans <wim@fluendo.com>
19807 * docs/design/part-TODO.txt:
19808 * gst/gstiterator.c:
19809 * gst/gstsystemclock.c:
19810 * gst/gstsystemclock.h:
19813 2005-10-28 Edward Hervey <edward@fluendo.com>
19815 * docs/gst/gstreamer-docs.sgml:
19816 * docs/gst/gstreamer-sections.txt:
19817 the GstURIType documentation page is private, it only defines GstURIType
19818 which should be defined in the GstURIHandler page
19820 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19822 * gst/gstbin.c: (gst_bin_class_init):
19825 Documentation updates.
19827 2005-10-28 Wim Taymans <wim@fluendo.com>
19829 * docs/gst/gstreamer-sections.txt:
19832 Documented the clocks.
19834 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19836 * docs/gst/gstreamer-sections.txt:
19837 move some macros to private sections
19838 * gst/gstminiobject.c:
19839 * gst/gstminiobject.h:
19840 add descriptions provided by ds and some more
19842 mark macro as to be removed
19844 2005-10-28 Wim Taymans <wim@fluendo.com>
19846 * docs/design/part-TODO.txt:
19847 Add an item to TODO.
19849 * gst/gstiterator.c: (gst_iterator_fold),
19850 (gst_iterator_find_custom):
19851 * gst/gstiterator.h:
19854 2005-10-28 Wim Taymans <wim@fluendo.com>
19856 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19857 (gst_base_transform_init):
19860 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19861 An EOS event marks the queue as completely filled.
19863 2005-10-27 Wim Taymans <wim@fluendo.com>
19865 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19866 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19867 Some more debugging.
19869 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19870 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19871 (gst_base_transform_event), (gst_base_transform_getrange),
19872 (gst_base_transform_chain):
19873 * gst/base/gstbasetransform.h:
19875 Protect transform and concurrent buffer alloc with a new lock.
19876 Try not to break ABI/API.
19878 2005-10-27 Wim Taymans <wim@fluendo.com>
19880 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19881 (gst_base_src_init), (gst_base_src_query),
19882 (gst_base_src_default_newsegment),
19883 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19884 (gst_base_src_send_event), (gst_base_src_event_handler),
19885 (gst_base_src_pad_get_range), (gst_base_src_loop),
19886 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19887 (gst_base_src_start), (gst_base_src_deactivate),
19888 (gst_base_src_activate_push), (gst_base_src_change_state):
19889 Move some stuff around and cleanup things.
19891 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19893 * gst/base/gstbasesrc.c: (gst_base_src_query):
19894 Add missing break statements.
19896 2005-10-27 Wim Taymans <wim@fluendo.com>
19898 * check/gst/gstbin.c: (GST_START_TEST):
19899 An extra refcount is taken in basesrc.
19901 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19902 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19903 (gst_base_src_loop):
19904 Small cleanups, check for flushing after being unlocked from the
19905 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19906 Don't send out EOS when going to READY.
19908 2005-10-27 Wim Taymans <wim@fluendo.com>
19910 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19911 (gst_base_sink_get_position):
19914 * gst/gstbin.c: (message_check), (bin_replace_message),
19915 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19916 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19917 (bin_query_duration_init), (bin_query_duration_fold),
19918 (bin_query_duration_done), (bin_query_generic_fold),
19920 * tools/gst-launch.c: (main):
19923 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19925 * examples/controller/audio-example.c: (main):
19926 * examples/queue/queue.c: (event_loop):
19927 * gst/base/gstbasetransform.h:
19928 * gst/gstelement.c: (gst_element_send_event):
19930 * gst/gstpad.c: (gst_pad_send_event):
19933 changing log priority in error situations
19935 2005-10-25 Wim Taymans <wim@fluendo.com>
19937 * gst/gstbin.c: (message_check), (bin_replace_message),
19938 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19939 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19940 (bin_query_duration_init), (bin_query_duration_fold),
19941 (bin_query_duration_done), (bin_query_generic_fold),
19943 Some doc and debug updates.
19944 Cache previously requested query DURATION for speed. invalidate
19945 cached duration if element posts a DURATION message.
19947 2005-10-25 Wim Taymans <wim@fluendo.com>
19949 * docs/design/part-TODO.txt:
19952 * gst/gstbin.c: (message_check), (bin_replace_message),
19953 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19954 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19955 (bin_query_duration_init), (bin_query_duration_fold),
19956 (bin_query_duration_done), (bin_query_generic_fold),
19958 Handle SEGMENT_START/DONE messages correctly.
19959 More evolved query algorithm that handles duration queries
19962 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19963 (gst_element_get_state_func), (gst_element_abort_state),
19964 (gst_element_commit_state), (gst_element_lost_state):
19965 Some more debugging.
19967 * gst/gstmessage.h:
19970 2005-10-25 Wim Taymans <wim@fluendo.com>
19972 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19973 Don't use invalid stream_time.
19975 * gst/gstevent.c: (gst_event_new_newsegment):
19976 stream_time in newsegment cannot be undefined.
19978 2005-10-24 Wim Taymans <wim@fluendo.com>
19983 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19985 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19987 2005-10-24 Stefan Kost <ensonic@users.sf.net>
19989 * docs/libs/tmpl/gstdparam.sgml:
19990 * docs/libs/tmpl/gstdplinint.sgml:
19991 * docs/libs/tmpl/gstdpman.sgml:
19992 * docs/libs/tmpl/gstdpsmooth.sgml:
19993 * docs/libs/tmpl/gstunitconvert.sgml:
19996 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20001 === release 0.9.4 ===
20003 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20006 releasing 0.9.4, "Tyrannosaurus Rex"
20008 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20010 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20011 (gst_file_sink_get_current_offset):
20012 Use fseeko() and ftello() if available. When falling back on
20013 lseek() to get the current offset, fflush() first to make sure
20014 everything is up-to-date and we get the right offset.
20016 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20018 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20019 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20020 * gst/gsterror.c: (_gst_stream_errors_init):
20022 * gst/gstqueue.c: (gst_queue_loop):
20024 remove prematurely added error category and clean up the instances
20026 2005-10-21 Wim Taymans <wim@fluendo.com>
20028 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20029 (gst_base_sink_get_position), (gst_base_sink_query),
20030 (gst_base_sink_change_state):
20031 Simply set the right flag when going to playing, that's all
20032 we need to do instead of calling a function inside the object
20033 lock (that could take the lock as well and deadlock)
20035 2005-10-21 Wim Taymans <wim@fluendo.com>
20037 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20038 (gst_base_src_loop):
20039 Don't warn, the peer element knows what to do best when
20040 the seek failed, it might try something else.
20042 2005-10-21 Wim Taymans <wim@fluendo.com>
20044 * gst/base/gstbasesrc.c: (gst_base_src_init),
20045 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20048 2005-10-21 Wim Taymans <wim@fluendo.com>
20050 * docs/design/part-segments.txt:
20053 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20054 Correctly set caps, even on the subbufer.
20056 2005-10-21 Wim Taymans <wim@fluendo.com>
20058 * docs/gst/gstreamer-docs.sgml:
20059 * docs/gst/gstreamer-sections.txt:
20060 * gst/gstelement.h:
20063 * gst/gstmessage.h:
20066 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20070 And 2% more doc coverage.
20072 2005-10-21 Andy Wingo <wingo@pobox.com>
20074 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20075 position reporting.
20077 2005-10-20 Wim Taymans <wim@fluendo.com>
20079 * gst/gsterror.c: (gst_error_get_message):
20082 * gst/gststructure.c:
20087 2005-10-20 Wim Taymans <wim@fluendo.com>
20092 Another 1% more coverage.
20094 2005-10-20 Wim Taymans <wim@fluendo.com>
20096 * docs/gst/gstreamer-sections.txt:
20097 * gst/gstelement.c: (gst_element_get_state_func),
20098 (gst_element_abort_state), (gst_element_commit_state),
20099 (gst_element_lost_state):
20101 * gst/gstquery.c: (gst_query_set_position),
20102 (gst_query_parse_position), (gst_query_set_duration),
20103 (gst_query_parse_duration), (gst_query_new_convert):
20105 Yay! 1% more docs coverage.
20107 2005-10-20 Wim Taymans <wim@fluendo.com>
20110 * gst/gstquery.c: (gst_query_set_position),
20111 (gst_query_parse_position), (gst_query_set_duration),
20112 (gst_query_parse_duration), (gst_query_new_convert):
20114 * gst/gstutils.c: (gst_element_query_convert):
20116 Docs and consistency fixes.
20118 2005-10-20 Wim Taymans <wim@fluendo.com>
20124 2005-10-20 Wim Taymans <wim@fluendo.com>
20126 * gst/gstbin.c: (message_check), (bin_replace_message),
20127 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20128 (update_degree), (gst_bin_sort_iterator_next),
20129 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20130 Reworked the message handling a bit, cache the messages instead of
20131 only the senders. alows us to do more in the future.
20133 2005-10-20 Wim Taymans <wim@fluendo.com>
20135 * docs/design/part-TODO.txt:
20138 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20139 (gst_base_sink_query):
20140 Don't use clock time to report position when in EOS.
20142 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20144 * tools/gst-inspect.c: (print_interfaces),
20145 (print_element_properties_info), (print_element_info):
20146 Fix interface output with gst-inspect -a; don't print
20147 newlines after double/float properties.
20149 2005-10-20 Wim Taymans <wim@fluendo.com>
20151 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20152 (gst_base_sink_query):
20153 Speed up current position calculation.
20155 * gst/base/gstbasesrc.c: (gst_base_src_query),
20156 (gst_base_src_default_newsegment):
20157 Correctly set stream position in newsegment.
20159 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20160 (update_degree), (gst_bin_sort_iterator_next),
20161 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20162 * gst/gstmessage.c: (gst_message_new_custom):
20163 Clean up debugging info
20165 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20166 (gst_queue_loop), (gst_queue_handle_src_query):
20169 2005-10-19 Wim Taymans <wim@fluendo.com>
20171 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20172 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20173 Fix query handling again.
20175 2005-10-19 Wim Taymans <wim@fluendo.com>
20177 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20178 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20179 * gst/base/gstbasesrc.c: (gst_base_src_query):
20180 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20181 * gst/elements/gsttypefindelement.c:
20182 (gst_type_find_handle_src_query), (find_element_get_length),
20183 (gst_type_find_element_activate):
20186 * gst/gstquery.c: (gst_query_new_position),
20187 (gst_query_set_position), (gst_query_parse_position),
20188 (gst_query_new_duration), (gst_query_set_duration),
20189 (gst_query_parse_duration), (gst_query_set_segment),
20190 (gst_query_parse_segment):
20192 Bundling query position/duration is not a good idea since duration
20193 does not change much and we don't want to recalculate it for every
20194 position query, so they are separated again..
20195 Base value in segment query is not needed.
20197 * gst/gstqueue.c: (gst_queue_handle_src_query):
20198 * gst/gstutils.c: (gst_element_query_position),
20199 (gst_element_query_duration), (gst_pad_query_position),
20200 (gst_pad_query_duration):
20202 Updates for query API change.
20203 Added some docs here and there.
20205 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20207 * check/gst/gstbin.c: (GST_START_TEST):
20208 * check/gst/gstghostpad.c: (GST_START_TEST):
20209 * check/pipelines/cleanup.c: (GST_START_TEST):
20210 wait on thread to die so we can check refcount correctly
20212 2005-10-18 Wim Taymans <wim@fluendo.com>
20214 * check/pipelines/stress.c: (GST_START_TEST):
20215 Make check a little more time consuming.
20217 2005-10-18 Wim Taymans <wim@fluendo.com>
20219 * check/Makefile.am:
20220 * check/pipelines/stress.c: (GST_START_TEST),
20221 (simple_launch_lines_suite), (main):
20222 Small state change torture test.
20224 * docs/design/part-states.txt:
20225 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20226 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20227 (gst_base_sink_change_state):
20228 Never take state lock from streaming thread, clean up ugly
20229 hacks. Unfortunatly core does not yet support nice ways to
20230 async commit state.
20232 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20234 Start state recalc if a STATE_DIRTY message is posted, but only
20235 on the toplevel bin.
20237 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20238 (gst_element_get_state_func), (gst_element_abort_state),
20239 (gst_element_commit_state), (gst_element_lost_state),
20240 (gst_element_set_state_func), (gst_element_change_state):
20241 * gst/gstelement.h:
20242 State variables are now protected with the LOCK, the state
20243 lock is only used to serialize _set_state().
20245 2005-10-18 Wim Taymans <wim@fluendo.com>
20247 * check/gst/gstbin.c: (GST_START_TEST):
20248 * check/gst/gstmessage.c: (GST_START_TEST):
20249 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20250 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20252 * gst/gstelement.c: (gst_element_abort_state),
20253 (gst_element_commit_state), (gst_element_lost_state):
20254 * gst/gstmessage.c: (gst_message_new_state_changed),
20255 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20256 (gst_message_new_segment_done), (gst_message_new_duration),
20257 (gst_message_parse_state_changed),
20258 (gst_message_parse_segment_start),
20259 (gst_message_parse_segment_done), (gst_message_parse_duration):
20260 * gst/gstmessage.h:
20261 * tools/gst-launch.c: (event_loop):
20262 Seriously, this is better than a previous commit as we only need
20263 to notify the fact that an element changed state in a streaming
20264 thread, marking the state of the parents dirty, hence the
20265 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20268 2005-10-18 Wim Taymans <wim@fluendo.com>
20270 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20271 (gst_bin_recalc_func):
20272 * gst/gstelement.c: (gst_element_set_clock),
20273 (gst_element_abort_state), (gst_element_lost_state):
20274 Cleanups, prepare for state change fixes.
20276 2005-10-18 Wim Taymans <wim@fluendo.com>
20279 * gst/gstelement.c: (gst_element_class_init),
20280 (gst_element_set_state), (gst_element_set_state_func):
20281 * gst/gstelement.h:
20282 Pending ABI changes.
20283 GThreadPool in GstBinClass to monitor async state changes.
20284 state_cookie in GstElement to detect concurrent gst/set state.
20285 set_state is now virtual too in case a very complicated element
20286 has to be constructed.
20288 2005-10-18 Wim Taymans <wim@fluendo.com>
20290 * check/gst/gstbin.c: (GST_START_TEST):
20291 * check/gst/gstmessage.c: (GST_START_TEST):
20292 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20293 * gst/gstbin.c: (bin_bus_handler):
20294 * gst/gstelement.c: (gst_element_commit_state),
20295 (gst_element_lost_state):
20296 * gst/gstmessage.c: (gst_message_new_state_changed),
20297 (gst_message_new_segment_start), (gst_message_new_segment_done),
20298 (gst_message_new_duration), (gst_message_parse_state_changed),
20299 (gst_message_parse_segment_start),
20300 (gst_message_parse_segment_done), (gst_message_parse_duration):
20301 * gst/gstmessage.h:
20302 * tools/gst-launch.c: (event_loop):
20303 Make messages future proof.
20304 state-change gets a flag if it was a message comming from the
20306 segment-start/stop can also be specified in other formats.
20307 A message to notify an app that a pipeline changed playback
20309 Also fix a GstMessage leak in -launch
20311 2005-10-18 Andy Wingo <wingo@pobox.com>
20313 * gst/gstelement.c (gst_element_dispose): More helpful message.
20315 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20317 reviewed by: <delete if not using a buddy>
20319 * common/gtk-doc.mak:
20321 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20323 * gst/gstregistry.c: (gst_registry_scan_path_level):
20324 unref a plug-in we get that was already initialized
20326 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20328 * docs/gst/gstreamer-sections.txt:
20329 * docs/libs/gstreamer-libs-sections.txt:
20330 * gst/gstelement.h:
20331 add new api entries
20332 hide internal macro
20334 2005-10-17 Andy Wingo <wingo@pobox.com>
20336 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20339 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20341 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20343 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20344 (gst_element_get_state_func): Better debug message.
20345 (gst_element_commit_state): s/INFO/DEBUG/.
20346 (gst_element_lost_state, gst_element_change_state):
20348 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20349 (gst_message_new_custom): s/INFO/LOG/.
20351 2005-10-17 Michael Smith <msmith@fluendo.com>
20353 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20354 Check if end time is valid using end time, not start time.
20356 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20358 * check/gst-libs/controller.c: (GST_START_TEST),
20359 (gst_controller_suite):
20360 * libs/gst/controller/gstcontroller.c:
20361 (gst_controlled_property_set_interpolation_mode):
20362 * libs/gst/controller/gstcontroller.h:
20363 * libs/gst/controller/gstinterpolation.c:
20364 * testsuite/controller/.cvsignore:
20365 * testsuite/controller/Makefile.am:
20366 * testsuite/controller/interpolator.c:
20367 merge controller testsuites
20369 remove mem-chunk from docs
20371 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20373 * gst/gstmemchunk.c:
20374 * gst/gstmemchunk.h:
20375 * gst/gsttrashstack.c:
20376 * gst/gsttrashstack.h:
20377 out. get out. you're fired. to the Attic !
20379 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20381 * gst/gstcaps.c: (gst_caps_intersect):
20382 fix signedness issues in a (hopefully) correct way
20383 * gst/gstelement.c: (gst_element_pads_activate):
20385 * gst/gstobject.c: (gst_object_set_parent):
20388 2005-10-17 Julien MOUTTE <julien@moutte.net>
20390 * gst/gstvalue.h: Fix prototypes.
20392 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20394 * docs/gst/gstreamer-sections.txt:
20395 * gst/gst.c: (gst_version_string):
20397 * gst/gstversion.h.in:
20398 * win32/common/libgstreamer.def:
20399 add gst_version_string ()
20401 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20405 * gst/gst.c: (init_post):
20406 * win32/common/config.h.in:
20408 * gst/gstcaps.c: (gst_caps_intersect):
20409 use gint64, the range could be bigger than a guint
20411 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20414 document potential problem in 2038
20416 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20418 * gst/gstcaps.c: (gst_caps_intersect):
20419 Fix guint j diving under 0
20421 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20424 * win32/common/config.h:
20425 * win32/common/config.h.in:
20426 check for process.h, declares getpid() on Windows
20428 include process.h if we have it
20429 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20430 * gst/gstmemchunk.h:
20431 fix signedness issues
20432 * win32/common/libgstreamer.def:
20435 2005-10-16 Julien MOUTTE <julien@moutte.net>
20437 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20438 fix. Because of unsigned ints, caps intersection was going nuts and
20439 trying to access structures with G_MAXUINT index. That fixes
20440 videotestsrc ! ffmpegcolorspace ! fakesink
20441 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20444 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20447 use the gettext macro
20448 * gst/elements/gstelements.c:
20450 * gst/indexers/gstindexers.c:
20451 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20452 * win32/common/config.h:
20454 * win32/common/config.h.in:
20455 add the template to generate config.h
20456 * win32/common/gstenumtypes.c:
20457 * win32/common/gstversion.h:
20460 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20462 * gst/gst.c: (gst_version):
20463 * gst/gstversion.h.in:
20466 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20469 Oops, add missing closing bracket.
20471 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20474 use common m4's for argument checking
20476 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20478 * docs/gst/gstreamer-sections.txt:
20480 Add GST_EVENT_TYPE_NAME() macro.
20482 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20485 * gst/gstpluginfeature.c:
20487 privatize more symbols
20489 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20492 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20493 everything that uses GStreamer API should have the includes
20495 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20497 * docs/gst/gstreamer-sections.txt:
20498 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20500 give each value a _get_type, removes the DATA exports
20502 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20506 remove _gst_registry_auto_load, not used anymore
20507 * gst/gstbin.c: (gst_bin_get_type):
20509 * gst/gstelement.c: (gst_element_get_type):
20510 * gst/gstelement.h:
20511 * gst/gstobject.c: (gst_object_get_type):
20513 * gst/gstpad.c: (gst_pad_get_type):
20515 make _get_type functions similar, fixes data export from library
20517 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20520 correctly make conditionals
20521 * gst/elements/Makefile.am:
20522 * gst/elements/gstelements.c:
20523 fix typo causing fdsrc not to build
20525 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20527 * testsuite/Makefile.am:
20528 * testsuite/bytestream/.cvsignore:
20529 * testsuite/bytestream/Makefile.am:
20530 * testsuite/bytestream/filepadsink.c:
20531 * testsuite/bytestream/gstbstest.c:
20532 * testsuite/bytestream/test1.c:
20533 * testsuite/bytestream/testfile1:
20534 * testsuite/caps/normalisation.c:
20535 * testsuite/caps/random.c: (main):
20536 * testsuite/cleanup/.cvsignore:
20537 * testsuite/cleanup/Makefile.am:
20538 * testsuite/cleanup/cleanup1.c:
20539 * testsuite/cleanup/cleanup2.c:
20540 * testsuite/cleanup/cleanup3.c:
20541 * testsuite/cleanup/cleanup4.c:
20542 * testsuite/cleanup/cleanup5.c:
20543 * testsuite/controller/interpolator.c:
20544 * testsuite/debug/printf_extension.c: (main):
20545 * testsuite/elements/tee.c:
20546 * testsuite/negotiation/.cvsignore:
20547 * testsuite/negotiation/Makefile.am:
20548 * testsuite/negotiation/pad_link.c:
20549 * testsuite/pad/Makefile.am:
20550 * testsuite/pad/chainnopull.c:
20551 * testsuite/pad/getnopush.c:
20552 * testsuite/pad/link.c:
20553 * testsuite/refcounting/sched.c: (create_pipeline):
20554 * testsuite/registry/Makefile.am:
20555 * testsuite/registry/gst-print-formats.c:
20556 * testsuite/schedulers/.cvsignore:
20557 * testsuite/schedulers/142183-2.c:
20558 * testsuite/schedulers/142183.c:
20559 * testsuite/schedulers/143777-2.c:
20560 * testsuite/schedulers/143777.c:
20561 * testsuite/schedulers/147713.c:
20562 * testsuite/schedulers/147819.c:
20563 * testsuite/schedulers/147894-2.c:
20564 * testsuite/schedulers/147894.c:
20565 * testsuite/schedulers/Makefile.am:
20566 * testsuite/schedulers/group_link.c:
20567 * testsuite/schedulers/queue_link.c:
20568 * testsuite/schedulers/relink.c:
20569 * testsuite/schedulers/unlink.c:
20570 * testsuite/schedulers/unref.c:
20571 * testsuite/schedulers/useless_iteration.c:
20572 * testsuite/states/bin.c:
20573 clean out/remove some stuff from the testsuite directories
20575 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20578 check for some headers
20579 * gst/elements/Makefile.am:
20580 * gst/elements/gstelements.c:
20581 don't compile fdsrc without sys/socket.h
20582 * gst/indexers/Makefile.am:
20583 * gst/indexers/gstindexers.c: (plugin_init):
20584 don't compile fileindex without mmap
20586 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20593 * check/Makefile.am:
20594 * docs/gst/Makefile.am:
20595 * examples/helloworld/Makefile.am:
20597 * gst/base/Makefile.am:
20598 * gst/check/Makefile.am:
20599 * gst/elements/Makefile.am:
20600 * gst/indexers/Makefile.am:
20601 * gst/parse/Makefile.am:
20602 * libs/gst/controller/Makefile.am:
20603 * libs/gst/dataprotocol/Makefile.am:
20604 * examples/helloworld/helloworld.c: (event_loop):
20605 compile fixes, though it's not being compiled currently
20607 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20609 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20610 Add some simple tests for the new taglist date API.
20612 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20614 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20615 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20616 Beautify 'last-message' output: print 'none' for buffer timestamps
20617 and durations if none is set; improve alignment with next messages.
20619 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20621 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20622 * gst/gstpluginfeature.h:
20623 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20624 * gst/gstregistry.h:
20625 * docs/gst/gstreamer-sections.txt:
20626 Add new API to check plugin feature version requirements.
20628 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20629 Some basic tests for the above.
20631 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20633 * gst/gststructure.c: (gst_structure_to_string):
20634 guard against NULL printf - happens when for example
20635 a message structure with GstClock gets serialized
20637 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20639 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20640 Fix presumable copy'n'pasto.
20642 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20644 * gst/elements/gstfakesrc.h:
20645 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20646 * gst/elements/gsttypefindelement.c:
20647 fix some signedness
20648 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20649 I wonder if this could actually write +2GB files before
20651 2005-10-13 Andy Wingo <wingo@pobox.com>
20653 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20654 Fix Timmeke Waymans bug.
20655 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20656 string of the proper length to gst_caps_from_string. There's a
20657 potential for, before this fix, that this could cause someone
20658 connecting over the network to cause a segfault if the payload is
20659 not NUL-terminated.
20661 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20663 * docs/design/draft-push-pull.txt:
20664 * docs/design/part-overview.txt:
20665 * docs/random/TODO-pre-0.9:
20666 * docs/random/old/ChangeLog.gstreamer:
20667 * gst/base/gstpushsrc.c:
20671 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20673 * gst/glib-compat.c: (gst_flags_get_first_value):
20674 * gst/glib-compat.h:
20675 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20676 (gst_value_compare_double), (gst_value_serialize_flags):
20677 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20680 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20683 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20685 * tools/gst-launch.c: (event_loop):
20686 print out clock nicely
20688 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20690 * docs/gst/gstreamer-sections.txt:
20691 * gst/gsttaglist.h:
20692 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20693 (gst_tag_list_get_date_index):
20694 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20695 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20697 2005-10-13 Julien MOUTTE <julien@moutte.net>
20699 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20700 (gst_collectpads_chain):
20701 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20704 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20706 * docs/gst/gstreamer-sections.txt:
20709 * tools/gst-inspect.c: (main):
20710 * tools/gst-launch.c: (main):
20711 * tools/gst-run.c: (main):
20712 * tools/gst-xmlinspect.c: (main):
20713 fix GOption context leaks
20716 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20720 * win32/common/config.h:
20722 * win32/vs6/grammar.dsp:
20723 * win32/vs6/libgstelements.dsp:
20724 * win32/vs6/libgstreamer.dsp:
20727 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20730 * gst/base/gstbasesrc.c: (gst_base_src_query):
20731 fix more guint64<->gdouble conversions
20733 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20736 add win32-update target
20737 * win32/common/gstconfig.h:
20738 * win32/common/gstenumtypes.c:
20739 * win32/common/gstenumtypes.h:
20740 * win32/common/gstversion.h:
20741 add files that visual studio can't generate
20743 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20746 add a win32-update target
20749 2005-10-12 Wim Taymans <wim@fluendo.com>
20751 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20752 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20753 * gst/gstelement.c: (gst_element_commit_state),
20754 (gst_element_set_state):
20755 Protect flags with proper lock.
20756 unref provided cached clock in dispose.
20758 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20761 * gst/gstminiobject.h:
20763 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20764 removed unused flags from miniobject
20767 2005-10-12 Wim Taymans <wim@fluendo.com>
20769 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20770 (gst_file_sink_event), (gst_file_sink_render):
20771 Flush before seeking.
20773 2005-10-12 Andy Wingo <wingo@pobox.com>
20775 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20776 always been the case.
20778 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20780 * check/gst/gstbin.c: (GST_START_TEST):
20781 * docs/gst/gstreamer-sections.txt:
20782 * gst/base/gstbasesink.c: (gst_base_sink_init):
20783 * gst/base/gstbasesrc.c: (gst_base_src_init),
20784 (gst_base_src_get_range), (gst_base_src_check_get_range),
20785 (gst_base_src_start), (gst_base_src_stop):
20786 * gst/base/gstbasesrc.h:
20787 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20788 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20789 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20793 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20795 * gst/gstelement.c: (gst_element_is_locked_state),
20796 (gst_element_set_locked_state), (gst_element_commit_state),
20797 (gst_element_set_state):
20798 * gst/gstelement.h:
20799 * gst/gstindex.c: (gst_index_init):
20801 * gst/gstminiobject.h:
20802 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20803 (gst_object_set_parent):
20805 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20806 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20808 * gst/gstpadtemplate.h:
20809 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20810 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20811 * gst/gstpipeline.h:
20812 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20813 (gst_file_index_commit):
20814 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20815 * testsuite/pad/link.c: (gst_test_src_init),
20816 (gst_test_filter_init), (gst_test_sink_init):
20817 * testsuite/states/locked.c: (main):
20818 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20819 moved bitshift from macro to enum definition
20821 2005-10-12 Wim Taymans <wim@fluendo.com>
20823 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20824 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20825 (gst_file_sink_render):
20826 Some more debugging info.
20828 2005-10-12 Wim Taymans <wim@fluendo.com>
20830 * docs/design/part-states.txt:
20831 * tools/gst-launch.c: (main):
20833 Revert non-intentional change.
20835 2005-10-12 Wim Taymans <wim@fluendo.com>
20837 * check/gst/gstbin.c: (GST_START_TEST):
20838 * check/gst/gstelement.c: (GST_START_TEST):
20839 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20840 * check/gst/gstghostpad.c: (GST_START_TEST):
20841 * check/gst/gstpipeline.c: (GST_START_TEST):
20842 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20843 * check/states/sinks.c: (GST_START_TEST):
20844 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20845 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20846 (gst_bin_remove_func), (gst_bin_get_state_func),
20847 (gst_bin_recalc_state), (gst_bin_change_state_func),
20849 * gst/gstelement.c: (gst_element_get_state_func),
20850 (gst_element_get_state), (gst_element_abort_state),
20851 (gst_element_commit_state), (gst_element_set_state),
20852 (gst_element_change_state), (gst_element_change_state_func):
20853 * gst/gstelement.h:
20854 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20855 (gst_pipeline_provide_clock_func):
20856 * gst/gstutils.c: (gst_element_link_pads_filtered):
20857 * tools/gst-launch.c: (main):
20858 * tools/gst-typefind.c: (main):
20859 Use GstClockTime in _get_state() instead of GTimeVal.
20860 Remove old code in gstutils.c
20862 2005-10-12 Andy Wingo <wingo@pobox.com>
20864 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20867 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20868 there is no task. Shouldn't affect any code, as nothing in our
20869 plugins checks this return value.
20870 (gst_pad_stop_task): Also take the stream lock if the pad has no
20871 task. Docs updated.
20873 2005-10-12 Wim Taymans <wim@fluendo.com>
20875 * gst/gstpad.c: (pre_activate), (post_activate),
20876 (gst_pad_activate_pull), (gst_pad_activate_push):
20877 Cleanup activation code. Reset old state if
20880 2005-10-12 Wim Taymans <wim@fluendo.com>
20882 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20883 (gst_base_sink_change_state):
20884 No need to prerol after receiving EOS.
20886 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20887 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20888 * gst/elements/gstidentity.c: (gst_identity_event):
20889 Print events more verbosely.
20891 2005-10-12 Wim Taymans <wim@fluendo.com>
20893 * check/Makefile.am:
20894 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20895 * check/states/sinks2.c:
20896 Moved sinks2 testcode in sinks check.
20898 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20899 (gst_bin_remove_func), (gst_bin_recalc_state),
20900 (gst_bin_change_state_func), (bin_bus_handler):
20901 Fix potential race condition when _get_state() iterated over an
20902 ASYNC element right before it posted a state completion.
20905 Do proper cast here.
20907 * gst/gstevent.c: (gst_event_new_newsegment),
20908 (gst_event_parse_newsegment):
20909 A playback rate of 0.0 is not allowed.
20911 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20913 * win32/common/config.h:
20914 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20915 (_trewinddir), (_ttelldir), (_tseekdir):
20916 * win32/common/dirent.h:
20917 * win32/common/gtchar.h:
20918 * win32/common/libgstbase.def:
20919 * win32/common/libgstreamer.def:
20920 * win32/vs6/grammar.dsp:
20921 * win32/vs6/gst_inspect.dsp:
20922 * win32/vs6/gst_launch.dsp:
20923 * win32/vs6/gstreamer.dsw:
20924 * win32/vs6/libgstbase.dsp:
20925 * win32/vs6/libgstelements.dsp:
20926 * win32/vs6/libgstreamer.dsp:
20927 Visual Studio 6 project files, and a new common directory.
20930 2005-10-11 Wim Taymans <wim@fluendo.com>
20932 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20933 (gst_base_sink_do_sync), (gst_base_sink_query),
20934 (gst_base_sink_change_state):
20935 * gst/base/gstbasesink.h:
20936 Correctly parse newsegment info.
20938 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20940 * gst/gst.c: (init_post):
20941 split plugin paths correctly
20943 2005-10-11 Wim Taymans <wim@fluendo.com>
20945 * check/gst/gstevent.c: (GST_START_TEST):
20946 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20947 (gst_base_sink_change_state):
20948 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20949 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20950 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20951 * gst/gstevent.c: (gst_event_new_newsegment),
20952 (gst_event_parse_newsegment):
20954 Added extra flag to newsegment for future API freeze.
20955 Updated check and base elements.
20957 2005-10-11 Julien MOUTTE <julien@moutte.net>
20959 * gst/base/gstcollectpads.c: (gst_collectpads_init),
20960 (gst_collectpads_add_pad), (gst_collectpads_pop),
20961 (gst_collectpads_event), (gst_collectpads_chain):
20962 * gst/base/gstcollectpads.h: Handle EOS correctly.
20964 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20966 * tools/gst-launch.c: (main):
20967 more null protecting
20969 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20971 * gst/gst-i18n-lib.h:
20972 check for ENABLE_NLS, not GETTEXT_PACKAGE
20973 * gst/gstregistry.c: (gst_registry_add_plugin),
20974 (gst_registry_scan_path_level),
20975 (_gst_registry_remove_cache_plugins):
20976 protect possibly NULL strings
20977 * gst/parse/types.h:
20978 config.h already included before
20979 * tools/gst-inspect.c: (main):
20980 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20981 check for ENABLE_NLS, not GETTEXT_PACKAGE
20982 * tools/gst-launch.c: (main):
20983 check for ENABLE_NLS, not GETTEXT_PACKAGE
20985 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20988 if we don't have glib, fail before testing 2.8
20989 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20990 fix a leak, should fix plugins-base testsuite
20992 2005-10-11 Andy Wingo <wingo@pobox.com>
20994 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20995 take the mode we're going to as an arg. Go head and set the mode
20996 and flushing flags now, so that if the activate function starts a
20997 thread all the flags will be in the right state.
20998 (post_activate): Renamed also. Just handle making sure streaming
20999 finishes for the deactivation case, and setting the deactivated
21001 (gst_pad_set_active): Complain loudly if deactivation fails.
21002 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21003 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21004 remove the terrible hack.
21006 2005-10-11 Wim Taymans <wim@fluendo.com>
21008 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21009 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21010 (gst_bin_recalc_state), (gst_bin_change_state_func),
21011 (gst_bin_dispose), (bin_bus_handler):
21013 Prepare to make current EOS message queue more generic.
21016 * gst/gstevent.c: (gst_event_new_newsegment),
21017 (gst_event_parse_newsegment):
21019 Rename base to stream_time.
21021 * gst/gstmessage.h:
21024 2005-10-11 Wim Taymans <wim@fluendo.com>
21026 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21027 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21028 (gst_bin_change_state_func), (bin_bus_handler):
21030 Work on proper clock selection.
21032 2005-10-11 Edward Hervey <edward@fluendo.com>
21034 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21035 * libs/gst/controller/gstcontroller.h:
21036 Added GList* version of _remove_properties() in order to be able to wrap
21039 2005-10-11 Wim Taymans <wim@fluendo.com>
21041 * docs/design/part-states.txt:
21044 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21045 (gst_bin_change_state_func), (bin_bus_handler):
21046 Doc updates. Don't distribute the same clock over and over again.
21052 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21053 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21054 (gst_pad_send_event):
21056 Make probe emission threadsafe again.
21057 Register quarks and move _get_name() from utils.
21060 * gst/gstpipeline.c: (gst_pipeline_class_init),
21061 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21062 Only redistribute the clock of it changed.
21064 * gst/gstsystemclock.h:
21069 Moved the _flow_get_name() to GstPad.
21071 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21073 * check/gst-libs/gdp.c: (GST_START_TEST):
21074 * check/gst/gstcaps.c: (GST_START_TEST):
21075 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21076 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21077 (gst_dp_packet_from_caps):
21078 fix more valgrind warnings before turning up the heat
21080 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21082 * gst/parse/grammar.y:
21083 some cleanup before the hacking
21085 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21087 * gst/base/gstbasesrc.c: (gst_base_src_query):
21089 * gst/gstutils.c: (gst_guint64_to_gdouble),
21090 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21092 externalize, basesrc uses it
21093 obviously the implementation needs testing
21095 2005-10-10 Wim Taymans <wim@fluendo.com>
21097 * tests/sched/Makefile.am:
21098 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21099 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21101 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21103 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21104 apparently converting from guint64 to double is not implemented
21107 2005-10-10 Wim Taymans <wim@fluendo.com>
21109 * check/Makefile.am:
21110 * check/generic/states.c: (GST_START_TEST):
21111 * check/gst/gstbin.c: (GST_START_TEST):
21112 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21113 * check/states/sinks.c: (GST_START_TEST):
21114 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21116 Check fixes, use API as stated in design docs, remove hacks.
21118 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21119 (gst_base_sink_change_state):
21120 Catch stopping our task while we're shutting down.
21122 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21123 (gst_bin_remove_func), (gst_bin_get_state_func),
21124 (gst_bin_recalc_state), (gst_bin_change_state_func),
21127 * gst/gstelement.c: (gst_element_init),
21128 (gst_element_get_state_func), (gst_element_abort_state),
21129 (gst_element_commit_state), (gst_element_lost_state),
21130 (gst_element_set_state), (gst_element_change_state),
21131 (gst_element_change_state_func):
21132 * gst/gstelement.h:
21133 New state change algorithm (see #318116)
21135 * gst/gstpipeline.c: (gst_pipeline_class_init),
21136 (gst_pipeline_init), (gst_pipeline_set_property),
21137 (gst_pipeline_get_property), (do_pipeline_seek),
21138 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21139 * gst/gstpipeline.h:
21140 Remove crude state change hacks.
21143 Remove crude hacks.
21145 * tools/gst-launch.c: (main):
21146 Fixes for state change. Needs some more work to fully use the
21149 2005-10-10 Andy Wingo <wingo@pobox.com>
21151 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21153 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21154 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21157 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21159 * gst/gstiterator.c: (gst_iterator_new):
21160 Fix my previous commit: GTypes passed to gst_iterator_new()
21161 can be fundamental types.
21163 2005-10-10 Wim Taymans <wim@fluendo.com>
21165 * gst/gstelement.c: (gst_element_iterate_pad_list),
21166 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21167 (gst_element_iterate_sink_pads):
21168 Use src/sink pads lists for the respective iterators instead
21171 2005-10-10 Andy Wingo <wingo@pobox.com>
21173 Merged in popt removal + GOption addition patch from Ronald, bug
21176 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21177 GstElement macros around, remove popt-related symbols, add goption
21180 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21182 * docs/gst/Makefile.am:
21183 * docs/libs/Makefile.am: No POPT_CFLAGS.
21185 * examples/manual/Makefile.am:
21186 * docs/manual/basics-init.xml: Doc updates with an example.
21188 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21189 (gst_init), (parse_one_option), (parse_goption_arg):
21190 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21191 bit of hand merging and debugging to get the GOption stuff working
21194 * tests/Makefile.am:
21195 * tools/Makefile.am:
21196 * tools/gst-inspect.c: (main):
21197 * tools/gst-launch.c: (main):
21198 * tools/gst-run.c: (main):
21199 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21201 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21203 * gst/gstiterator.c: (gst_iterator_new):
21204 Add assertions to make sure passed GType is likely to really
21205 be a GType (as the compiler won't catch it if the size and
21206 GType arguments get mixed up, see #318447).
21208 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21210 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21212 * gst/gstbin.c: (gst_bin_iterate_sorted):
21213 Pass GType and size arguments to gst_iterator_new() in the right
21214 order (maybe we should make _new() take the GType as first argument
21215 just like _new_list()?) (#318447).
21218 2005-10-10 Wim Taymans <wim@fluendo.com>
21220 * gst/gstelement.c: (gst_element_finalize):
21221 And free the GStaticRecMutex too
21223 2005-10-10 Andy Wingo <wingo@pobox.com>
21225 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21226 Allocate and free the mutex properly.
21228 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21230 (GstElement): The state_lock is now recursive. Rebuild your
21231 plugins, suckers. Old macros adapted.
21233 * docs/gst/gstreamer-sections.txt: Doc updates.
21236 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21237 (g_static_rec_cond_wait): Ported from state changes patch, while
21238 we wait on bug #317802 to be solved in a well-distributed GLib.
21240 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21241 gst_element_change_state, variable name changes.
21242 (gst_element_change_state): Split out of gst_element_set_state in
21243 preparation for the state change merge. Doesn't pay attention to
21244 the 'transition' argument.
21245 (gst_element_set_state): Updates, hopefully purely cosmetic.
21246 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21247 state change patch.
21248 (gst_element_get_state_func): Renamed from get_state, cosmetic
21251 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21253 * gst/elements/gstelements.c:
21254 * win32/GStreamer.vcproj:
21256 * win32/dirent.c: (_tseekdir):
21257 * win32/gst-inspect.vcproj:
21258 * win32/gst-launch.vcproj:
21259 * win32/gstconfig.h:
21260 * win32/gstelements.vcproj:
21261 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21262 * win32/gstreamer.def:
21263 * win32/msvc71.sln:
21264 updates for the win32 build (patch from Sebastien Moutte)
21266 2005-10-10 Andy Wingo <wingo@pobox.com>
21268 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21269 gst_bin_get_state, cleaned up (but no logic changes).
21270 (bin_element_is_sink): Comment updates.
21271 (sink_iterator_filter): Remove needless cast.
21272 (gst_bin_iterate_sinks): Doc update.
21273 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21274 cleaned up (but no logic changes).
21276 * check/states/sinks.c (test_src_sink): Cleanups from the state
21278 (test_livesrc_sink): Sync on the state.
21280 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21281 the state change patch.
21283 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21286 * check/gst/gstbin.c: Merge in some style fixes and additional
21287 checks from Wim's state change patch.
21289 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21291 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21292 (gst_type_find_helper):
21293 Check whether we have the requested data already in our list of
21294 cached buffers before pulling a new buffer; also make the buffer
21295 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21297 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21302 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21303 don't use long long, it's not portable. Replacing with
21304 gint64 seems to work; let's hope no skeletons fall out of the closet.
21306 2005-10-10 Andy Wingo <wingo@pobox.com>
21308 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21310 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21312 * docs/gst/gstreamer-sections.txt:
21317 * gst/gstmessage.c: (gst_message_parse_state_changed):
21320 more docs, fix compilation
21322 2005-10-09 Philippe Khalaf <burger@speedy.org>
21323 * gst/gstmessage.c:
21324 Fixed a few forgotten variables on previous commit
21326 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21328 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21329 Fix evil typefind crasher: getrange() might return a short
21330 buffer at the end of a file, but gst_type_find_peek() must
21331 either return the full data as requested or NULL, but
21332 never a short buffer.
21334 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21336 * gst/gstmessage.c: (gst_message_new_state_changed),
21337 (gst_message_parse_state_changed):
21338 * gst/gstmessage.h:
21339 don't use "new", it's a C++ keyword
21341 2005-10-08 Wim Taymans <wim@fluendo.com>
21343 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21344 * gst/gstelement.c: (gst_element_post_message):
21345 * gst/gstpipeline.c: (gst_pipeline_change_state):
21346 Small docs and debug updates.
21348 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21350 * docs/gst/gstreamer-sections.txt:
21351 * gst/gstelementfactory.c:
21353 * gst/gsttaglist.c:
21356 2005-10-08 Wim Taymans <wim@fluendo.com>
21358 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21359 (gst_bin_dispose), (bin_bus_handler):
21360 Fix typos, add comments.
21361 Clear EOS list when going to PAUSED from any direction and do it
21362 in a threadsafe way.
21363 Get base time in a threadsafe way too.
21364 Fix confusing debug in the change_state function.
21365 Various other small cleanups.
21367 * gst/gstelement.c: (gst_element_post_message):
21368 Fix very verbose bus posting code.
21370 * gst/gstpipeline.c: (gst_pipeline_class_init),
21371 (gst_pipeline_set_property), (gst_pipeline_get_property),
21372 (gst_pipeline_change_state):
21373 Small ARG_ -> PROP_ cleanup
21375 2005-10-08 Wim Taymans <wim@fluendo.com>
21377 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21378 Do a less CPU demanding EOS check because we can.
21380 2005-10-08 Wim Taymans <wim@fluendo.com>
21382 * libs/gst/dataprotocol/dataprotocol.c:
21383 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21384 (gst_dp_packet_from_event):
21385 * libs/gst/dataprotocol/dataprotocol.h:
21386 * libs/gst/dataprotocol/dp-private.h:
21387 It's about time we bump the version number.
21388 Since event types don't fit in the guint8 anymore describing
21389 the payload type, make payload type 16 bits wide.
21391 2005-10-08 Wim Taymans <wim@fluendo.com>
21393 * docs/design/part-TODO.txt:
21394 * docs/design/part-clocks.txt:
21395 * docs/design/part-events.txt:
21396 * docs/design/part-gstbin.txt:
21397 * docs/design/part-gstelement.txt:
21398 * docs/design/part-gstpipeline.txt:
21399 * docs/design/part-live-source.txt:
21400 * docs/design/part-messages.txt:
21401 * docs/design/part-overview.txt:
21402 * docs/design/part-states.txt:
21405 2005-10-08 Wim Taymans <wim@fluendo.com>
21409 Fix event quark registration.
21410 Add some space between events so we can insert them in the
21413 2005-10-08 Wim Taymans <wim@fluendo.com>
21415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21416 (gst_base_sink_handle_buffer):
21417 Better log message.
21420 * gst/gstelement.h:
21423 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21424 (gst_queue_set_property), (gst_queue_get_property):
21426 Remove old unused properties.
21428 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21429 * docs/gst/gstreamer-sections.txt:
21430 * gst/gstmessage.c:
21431 * gst/gstmessage.h:
21432 * gst/gstminiobject.c:
21433 * gst/gstminiobject.h:
21437 lots of new docs and doc fixes
21439 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21441 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21443 * gst/gstregistry.c: (gst_registry_lookup_locked),
21444 (gst_registry_scan_path_level):
21445 * gst/gstregistryxml.c: (load_plugin):
21446 Only ever load one plugin for a given plugin basename.
21447 This ensures correct overriding of GST_PLUGIN_PATH over
21448 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21449 system installed plugins.
21451 2005-10-08 Wim Taymans <wim@fluendo.com>
21453 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21454 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21455 Prepare for doing QOS.
21457 2005-10-08 Wim Taymans <wim@fluendo.com>
21459 * check/gst/gstbin.c: (GST_START_TEST):
21460 * check/pipelines/cleanup.c: (GST_START_TEST):
21461 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21462 Allow new clock message too.
21464 2005-10-08 Wim Taymans <wim@fluendo.com>
21466 * gst/gstmessage.c: (gst_message_new_error),
21467 (gst_message_new_warning), (gst_message_new_tag),
21468 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21469 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21470 (gst_message_new_segment_start), (gst_message_new_segment_done),
21471 (gst_message_parse_state_changed),
21472 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21473 (gst_message_parse_new_clock):
21474 * gst/gstmessage.h:
21475 Also carry the clock in question.
21477 2005-10-08 Wim Taymans <wim@fluendo.com>
21479 * gst/gstmessage.c: (gst_message_new_custom),
21480 (gst_message_new_eos), (gst_message_new_error),
21481 (gst_message_new_warning), (gst_message_new_tag),
21482 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21483 (gst_message_new_new_clock), (gst_message_new_segment_start),
21484 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21485 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21486 * gst/gstmessage.h:
21488 Added clock related messages.
21490 * gst/gstpipeline.c: (gst_pipeline_change_state):
21491 Post message when the clock changed.
21493 * tools/gst-launch.c: (event_loop):
21496 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21498 * tools/gst-inspect.c: (print_element_properties_info):
21499 Can't pass NULL strings to g_print() on windows.
21501 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21503 * docs/Makefile.am:
21504 * docs/gst/Makefile.am:
21505 * docs/gst/gstreamer-docs.sgml:
21506 * docs/gst/running.xml:
21507 * docs/version.entities.in:
21508 add a chapter on running GStreamer.
21509 document GST_DEBUG and GST_PLUGIN* env vars
21511 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21516 remove PLUGINS_BUILDDIR stuff
21517 * gst/gst.c: (init_post):
21518 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21520 remove, it was condescending and not needed
21522 2005-10-08 Wim Taymans <wim@fluendo.com>
21524 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21525 (gst_base_sink_handle_object), (gst_base_sink_event),
21526 (gst_base_sink_wait), (gst_base_sink_handle_event),
21527 (gst_base_sink_change_state):
21528 * gst/base/gstbasesink.h:
21529 Repost EOS message while going to PLAYING if still EOS.
21530 Make sure that when receiving a FLUSH_START we don't attempt
21531 to sync on the clock anymore.
21533 2005-10-08 Wim Taymans <wim@fluendo.com>
21535 * tools/gst-launch.c: (event_loop):
21536 Better message printout.
21538 2005-10-08 Wim Taymans <wim@fluendo.com>
21540 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21541 (gst_bin_child_proxy_get_children_count):
21542 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21543 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21544 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21545 (gst_child_proxy_set_valist):
21546 * gst/parse/grammar.y:
21547 Make ChildProxy threadsafe and fix mem leaks.
21549 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21551 * gst/gst.c: (init_post):
21552 debug the GST_PLUGIN_ env vars
21554 2005-10-08 Wim Taymans <wim@fluendo.com>
21556 * check/gst/gstbin.c: (GST_START_TEST):
21557 * check/gst/gstmessage.c: (GST_START_TEST):
21558 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21559 * gst/gstelement.c: (gst_element_commit_state),
21560 (gst_element_lost_state):
21561 * gst/gstmessage.c: (gst_message_new_state_changed),
21562 (gst_message_parse_state_changed):
21563 * gst/gstmessage.h:
21564 * tools/gst-launch.c: (event_loop):
21565 Added extra field to STATE_CHANGE message with the pending
21566 state, which will be different from the new state soon.
21568 2005-10-08 Wim Taymans <wim@fluendo.com>
21570 * gst/gstbus.c: (gst_bus_pop):
21572 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21573 Small cleanups and doc updates.
21575 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21577 * gst/gst.c: (init_pre):
21578 * gst/gstbin.c: (gst_bin_add_func):
21579 log distributing clocks and base time
21580 * gst/gstregistry.c: (gst_registry_add_plugin),
21581 (gst_registry_scan_path_level), (gst_registry_scan_path):
21582 clean up the debugging output a little
21583 * gst/gstutils.c: (gst_element_state_get_name):
21584 warn about a memleak (I've actually seen this be used, though
21585 it was probably a bug)
21587 2005-10-07 Wim Taymans <wim@fluendo.com>
21589 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21590 (gst_base_src_init), (gst_base_src_default_newsegment),
21591 (gst_base_src_newsegment), (gst_base_src_do_seek),
21592 (gst_base_src_loop), (gst_base_src_start):
21593 * gst/base/gstbasesrc.h:
21594 Make the newsegment event customizable by subclasses.
21596 2005-10-07 Wim Taymans <wim@fluendo.com>
21598 * gst/gstevent.c: (gst_event_new_buffersize),
21599 (gst_event_parse_buffersize):
21601 New event for future idea.
21603 2005-10-07 Andy Wingo <wingo@pobox.com>
21605 * gst/gstelement.c (gst_element_post_message): Doc update.
21607 * docs/gst/gstreamer-sections.txt: Update.
21609 * gst/gstmessage.c (gst_message_new_application): Made into a
21610 function like honest API calls.
21611 (gst_message_new_element): New message type.
21613 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21615 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21616 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21619 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21620 NO_PREROLL from gst_element_change_state to fall through.
21622 2005-10-07 Wim Taymans <wim@fluendo.com>
21624 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21625 (gst_ghost_pad_do_activate_push):
21626 Activating a ghostpad with no internal pad in push mode
21629 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21632 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21633 Fixes compilation on Windows.
21635 2005-10-07 Michael Smith <msmith@fluendo.com>
21637 * tools/gst-inspect.c:
21638 Print out feature and plugin count at the end when printing out
21641 2005-10-04 Michael Smith <msmith@fluendo.com>
21643 * gst/gsterror.c: (_gst_stream_errors_init):
21644 Add another error string used in a few existing plugins.
21647 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21648 * tools/gst-inspect.c: (print_element_info):
21649 When a feature disappears from a plugin (and the feature exists in
21650 the cached registry file), things went horribly wrong. This isn't a
21651 complete fix, we should actually be removing the 'missing' features
21652 from the features list when we load the actual plugin. That's not
21655 2005-10-04 Johan Dahlin <johan@gnome.org>
21657 * check/gst/gstiterator.c: (GST_START_TEST):
21658 * gst/gstbin.c: (gst_bin_iterate_elements),
21659 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21660 * gst/gstelement.c: (gst_element_iterate_pads):
21661 * gst/gstformat.c: (gst_format_iterate_definitions):
21662 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21663 (gst_iterator_new_list), (gst_iterator_filter):
21664 * gst/gstiterator.h:
21665 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21666 Add a GType to GstIterator, update callsites and tests.
21668 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21670 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21671 give events a chance to be handled by event probes when the pad
21674 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21676 * gst/gstevent.c: (gst_event_type_get_name),
21677 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21679 add string representations for event types
21681 2005-10-06 Wim Taymans <wim@fluendo.com>
21683 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21684 Don't use NULL pointers.
21686 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21688 * gst/gst_private.h:
21690 * gst/gstelement.c:
21692 * gst/gstpluginfeature.c:
21693 widen the debug category in output to fit the biggest one we have
21694 add a bus category and use it
21695 play with the colors
21696 fix up some categories
21698 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21700 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21701 add push activation of sink ghost pads.
21702 Andye, please verify
21704 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21706 * gst/gstutils.c: (gst_element_link_pads):
21707 fix a bug in the case where neither element has a pad
21708 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21709 add a test for that case
21711 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21713 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21714 emit have-data before checking for peers. This allows
21715 for probe handlers to connect elements. This helps autopluggers.
21716 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21718 add six checks, linked/unlinked with no/true/false probe
21720 2005-10-04 Wim Taymans <wim@fluendo.com>
21722 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21723 (gst_fake_sink_event), (gst_fake_sink_preroll),
21724 (gst_fake_sink_render), (gst_fake_sink_change_state):
21725 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21726 (gst_fake_src_get_property), (gst_fake_src_create),
21727 (gst_fake_src_stop):
21728 * gst/elements/gstidentity.c: (gst_identity_stop):
21729 Protect last_message with lock.
21731 2005-10-04 Edward Hervey <edward@fluendo.com>
21734 Added precision in the comments for GST_FORMAT_DEFAULT
21736 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21738 * tools/gst-launch.c: (main):
21739 Don't try to run erroneous pipelines.
21741 2005-10-04 Julien MOUTTE <julien@moutte.net>
21743 * gst/gstbus.c: We don't need this header.
21745 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21748 back to development
21750 === release 0.9.3 ===
21752 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21756 Releasing 0.9.3, "Unregistered"
21758 2005-10-03 Andy Wingo <wingo@pobox.com>
21760 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21761 whereby calling a pad's activatepush() function can start a thread
21762 that starts to push or pull before the pad gets the FLUSHING flag
21763 unset. Hack around it by holding the stream lock until the flag is
21764 set. Need to replace this with a proper solution. Together with
21765 the ghost pad fixes, this fixes mp3 playing/tagreading.
21767 * docs/design/part-gstghostpad.txt: Add a note about activation of
21768 proxy pads outside of ghost pads.
21770 * gst/gstghostpad.c: Implement the ghost pad activation design.
21772 2005-10-02 Andy Wingo <wingo@pobox.com>
21774 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21775 It is volatile, after all.
21777 * docs/design/part-gstghostpad.txt: Flesh out activation with
21780 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21783 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21786 Fix (unused) AM_CONDITIONAL tests.
21788 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21790 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21792 * gst/gstutils.c: (gst_pad_query_convert):
21793 Add assertion that makes sure src_val is >=0, just like
21794 gst_query_new_convert() has. (#315895)
21796 2005-09-30 Edward Hervey <edward@fluendo.com>
21798 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21799 Let's not iterate pads we're not interested in, it avoids getting
21800 sky-high refcounts on sinkpad.
21802 2005-09-30 Wim Taymans <wim@fluendo.com>
21804 * gst/gstelement.c: (gst_element_set_state),
21805 (gst_element_change_state):
21806 Small tweak, element in ASYNC remains ASYNC.
21808 2005-09-30 Wim Taymans <wim@fluendo.com>
21810 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21811 Only error is an error.
21813 * gst/gstbin.c: (gst_bin_change_state):
21816 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21817 Also call pad_block in pad alloc.
21819 * gst/gstutils.c: (gst_flow_get_name):
21822 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21824 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21825 (gst_base_src_get_range):
21826 Fix documentation typos. Add some more debug info.
21828 2005-09-29 David Schleef <ds@schleef.org>
21830 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21831 more end-user friendly.
21832 * tools/gst-inspect.c: (main): Check if command-line argument is
21833 a file and attempt to load that file as a plugin.
21835 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21837 * check/gst/gstbin.c:
21838 * check/states/sinks.c:
21839 fix tests for the new warning
21840 * check/gst/gstpipeline.c:
21841 add a test for pipeline and bus interaction
21842 * gst/gstelement.c:
21843 elements should be NULL if they get disposed; add a warning if not
21845 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21848 for 2.6 refcounting, make debug log more correct by printing
21849 the actual refcounts at the time of swap (Wim)
21851 2005-09-29 Andy Wingo <wingo@pobox.com>
21853 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21854 removes signal watches previously added via
21855 gst_bus_add_signal_watch.
21856 (gst_bus_add_signal_watch): Don't return the source id, just store
21857 it on the bus if there wasn't an id already.
21859 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21860 add_signal_watch and remove_signal_watch.
21862 2005-09-29 Edward Hervey <edward@fluendo.com>
21864 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21865 Better if we actually iterate the list :)
21867 2005-09-29 Wim Taymans <wim@fluendo.com>
21869 * check/gst/gstbin.c: (GST_START_TEST):
21870 Change for new bus API.
21872 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21873 (send_messages), (GST_START_TEST), (gstbus_suite):
21874 Change for new bus signal API.
21876 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21877 (gst_bus_source_prepare), (gst_bus_source_check),
21878 (gst_bus_create_watch), (gst_bus_add_watch_full),
21879 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21880 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21882 Remove support for multiple GSources operating on different
21883 message types as it is too complex and unneeded when using
21885 Added support for receiving signals from the bus.
21887 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21889 * docs/libs/tmpl/gstdataprotocol.sgml:
21890 * docs/manual/advanced-dataaccess.xml:
21891 * gst/elements/gstcapsfilter.c:
21893 rename filter-caps to caps property
21895 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21897 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21898 More robust fraction string parsing.
21900 * docs/pwg/appendix-porting.xml:
21901 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21903 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21905 * gst/gstcaps.c: (gst_caps_do_simplify):
21906 Thou shalt not free a structure and then continue using it
21907 in the next loop iteration.
21909 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21911 Add test case for caps simplification.
21913 2005-09-29 Wim Taymans <wim@fluendo.com>
21915 * check/gst/gstbin.c: (GST_START_TEST):
21918 2005-09-29 Wim Taymans <wim@fluendo.com>
21920 * check/gst/gstbin.c: (GST_START_TEST):
21923 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21924 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21925 (find_element), (gst_bin_sort_iterator_next),
21926 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21927 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21928 (gst_bin_change_state), (gst_bin_dispose):
21929 A bin does not have a bus, it gets the bus from the parent.
21931 * gst/gstelement.c: (gst_element_requires_clock),
21932 (gst_element_provides_clock), (gst_element_is_indexable),
21933 (gst_element_is_locked_state), (gst_element_change_state),
21934 (gst_element_set_bus_func):
21937 * gst/gstpipeline.c: (gst_pipeline_class_init),
21938 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21939 The pipeline provides a bus.
21941 2005-09-28 Johan Dahlin <johan@gnome.org>
21943 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21944 gst_structure_get_enum instead of gst_structure_get_int
21946 * gst/gststructure.c (gst_structure_get_enum): Impl.
21948 * gst/gststructure.h (gst_structure_get_enum): Add
21950 * docs/gst/gstreamer-sections.txt: Ditto
21952 * gst/gstmessage.c (gst_message_new_state_changed): Use
21953 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21954 which does introspection.
21955 Reviewed by Christian Schaller
21957 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21959 * gst/gstinfo.c: (gst_debug_log_default):
21960 don't do dummy g_strdup()s
21961 * libs/gst/controller/gstcontroller.c:
21962 (on_object_controlled_property_changed),
21963 (gst_controlled_property_new), (gst_controller_new_valist),
21964 (gst_controller_new_list),
21965 (gst_controller_remove_properties_valist), (gst_controller_set),
21966 (gst_controller_get), (gst_controller_sync_values),
21967 (gst_controller_get_value_array), (_gst_controller_class_init),
21968 (gst_controller_get_type):
21969 * libs/gst/controller/gstcontroller.h:
21970 * libs/gst/controller/gstinterpolation.c:
21971 (gst_controlled_property_find_timed_value_node):
21972 convert // to /**/ comments
21974 2005-09-28 Wim Taymans <wim@fluendo.com>
21976 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21977 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21978 (gst_bus_sync_signal_handler):
21980 Added async-message and sync-message signals to the bus.
21981 Added helper BusFunc to emit signals for all posted messages.
21983 * gst/gstmessage.c: (gst_message_type_get_name),
21984 (gst_message_type_to_quark), (gst_message_get_type):
21985 * gst/gstmessage.h:
21986 Register quarks for message names.
21988 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21990 * docs/libs/gstreamer-libs-sections.txt:
21991 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21992 (gst_controller_new_list):
21993 * libs/gst/controller/gstcontroller.h:
21994 added another constructor for language bindings
21996 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
21998 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22002 * gst/gstinfo.c: (_gst_debug_init):
22003 slightly more readable color for refcount debugging
22005 2005-09-28 Wim Taymans <wim@fluendo.com>
22007 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22008 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22009 (find_element), (gst_bin_sort_iterator_next),
22010 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22011 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22012 (gst_bin_change_state), (gst_bin_dispose):
22013 Small doc fixes. get_clock -> provide_clock.
22015 * gst/gstelement.c: (gst_element_class_init),
22016 (gst_element_provides_clock), (gst_element_provide_clock),
22017 (gst_element_get_clock), (gst_element_commit_state),
22018 (gst_element_lost_state):
22019 * gst/gstelement.h:
22020 Make get/set_clock() symetric. Add provide_clock vmethod since
22021 that is actually what this function does.
22023 * gst/gstpipeline.c: (gst_pipeline_class_init),
22024 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22025 (gst_pipeline_get_clock):
22026 get_clock -> provide_clock.
22028 2005-09-28 Andy Wingo <wingo@pobox.com>
22030 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22031 lieu of real docs...
22033 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22035 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22037 * gst/elements/gstcapsfilter.c:
22038 * gst/elements/gstfakesink.c:
22039 * gst/elements/gstfakesrc.c:
22040 * gst/elements/gstfdsink.c:
22041 * gst/elements/gstfdsrc.c:
22042 * gst/elements/gstfilesink.c:
22043 * gst/elements/gstfilesrc.c:
22044 * gst/elements/gstidentity.c:
22045 * gst/elements/gsttee.c:
22046 * gst/elements/gsttypefindelement.c:
22047 Make element details static.
22049 2005-09-28 Wim Taymans <wim@fluendo.com>
22051 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22052 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22053 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22054 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22055 (gst_bin_change_state), (gst_bin_dispose):
22056 Some documentation updates.
22057 Clean up dispose handlers.
22059 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22060 * gst/gstpad.c: (gst_pad_dispose):
22061 Clean up dispose handler.
22063 * gst/gstpipeline.c: (gst_pipeline_change_state):
22064 Removed spurious UNLOCK.
22066 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22068 * docs/gst/gstreamer-sections.txt:
22069 * gst/base/gstbasesrc.h:
22070 * gst/gstelement.h:
22074 * gst/gstpipeline.c:
22075 * gst/gstpipeline.h:
22078 added two new functions to the docs
22079 documents all undocumented GstXXXFlags
22080 completed some incomplete docs
22082 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22084 * gst/gstbin.c: (gst_bin_dispose):
22085 * gst/gstelement.c: (gst_element_dispose):
22086 remove now useless and leaky resurrection code in dispose
22087 * gst/base/gstbasesrc.c: (gst_base_src_init):
22088 * gst/gstelementfactory.c: (gst_element_factory_create):
22089 * gst/gstobject.c: (gst_object_set_parent):
22092 2005-09-27 Wim Taymans <wim@fluendo.com>
22094 * docs/design/part-TODO.txt:
22097 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22098 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22099 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22100 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22101 (gst_bin_change_state):
22102 * gst/gstelement.h:
22103 Remove element variable, we keep element info in the iterator now.
22105 2005-09-27 Andy Wingo <wingo@pobox.com>
22107 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22110 2005-09-27 Wim Taymans <wim@fluendo.com>
22112 * check/gst/gstbin.c: (GST_START_TEST):
22113 Enable check that works now.
22115 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22116 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22117 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22118 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22119 (gst_bin_change_state):
22121 Redid the state change algorithm using a topological sort algo.
22122 Handles all cases correctly.
22123 Exposed iterator for state change order.
22125 * gst/gstelement.h:
22126 Temp storage for state changes. Need to get rid of this soon.
22128 2005-09-27 Wim Taymans <wim@fluendo.com>
22130 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22131 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22132 (link_fold_func), (gst_pad_proxy_setcaps):
22133 Leak fixes, the fold functions need to unref the passed object and
22134 _get_parent_*() returns ref to parent.
22136 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22138 * check/gst/gstbuffer.c: (test_make_writable):
22139 Plug leak in test case and fix 'make check-valgrind'
22141 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22143 * gst/gstbuffer.c: (gst_subbuffer_init):
22144 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22145 works correctly in all circumstances (we could have just copied
22146 the parent buffer's readonly flag, but conceptually it seems
22147 cleaner to mark all subbuffers as read-only). (based on patch
22148 by Alessandro Decina, #314710).
22150 * check/gst/gstbuffer.c: (create_read_only_buffer),
22151 (test_make_writable), (test_subbuffer_make_writable),
22153 Add some tests for gst_buffer_make_writable().
22155 2005-09-27 Wim Taymans <wim@fluendo.com>
22157 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22158 use gst_object_has_ancestor().
22160 * gst/gstobject.c: (gst_object_has_ancestor):
22162 gst_object_has_ancestor() copied from gstbin.c as it is a
22165 * tests/instantiate/create.c: (create_all_elements):
22166 * tests/lat.c: (handoff_src), (handoff_sink):
22167 * tests/sched/runxml.c: (main):
22168 * tests/seeking/seeking1.c: (main):
22169 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22171 Fix compilation of some tests.
22173 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22176 Remove comment. GST_TYPE_G_ERROR is here to stay,
22177 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22178 (#316961, #300610).
22180 2005-09-26 Wim Taymans <wim@fluendo.com>
22182 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22183 Added check that shows error in state change order.
22185 2005-09-26 Wim Taymans <wim@fluendo.com>
22187 * gst/gstbin.c: (gst_bin_change_state):
22188 Make state change function use 3 queues again, we were
22189 adding elements in the wrong order.
22191 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22194 * gst/gstpad.c: (gst_pad_dispose):
22195 Added some debug info first.
22197 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22199 * docs/design/draft-push-pull.txt:
22200 * docs/design/part-events.txt:
22201 * docs/design/part-overview.txt:
22202 * docs/design/part-scheduling.txt:
22203 Replace all _pull_region() with _pull_range()
22205 2005-09-26 Andy Wingo <wingo@pobox.com>
22207 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22209 * check/gst-libs/controller.c: Update for controller api change.
22212 * tests/Makefile.am:
22213 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22214 over by GLib bug 118439.
22216 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22217 routines to a function.
22219 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22221 * libs/gst/controller/gsthelper.c:
22222 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22223 (gst_object_sync_values): Renamed from sink_values. Ugh.
22225 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22227 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22228 Renamed from controller_key, as it is exported.
22230 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22232 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22237 * gst/gstpadtemplate.h:
22240 * gst/gstqueryutils.c:
22241 * gst/gstqueryutils.h:
22242 remove queryutils headers after moving the two used functions
22243 to gstquery. also fixes build problem for gstsiddec
22245 2005-09-26 Michael Smith <msmith@fluendo.com>
22247 * tools/gst-launch.1.in:
22248 Correct documentation in manpage of debug syntax
22250 2005-09-26 Wim Taymans <wim@fluendo.com>
22252 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22253 (gst_base_src_is_seekable), (gst_base_src_change_state):
22254 Some more debugging info.
22256 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22258 * docs/gst/gstreamer-sections.txt:
22259 * gst/base/gstbasetransform.h:
22263 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22265 * docs/gst/.cvsignore:
22266 * docs/gst/tmpl/.cvsignore:
22267 * docs/gst/tmpl/gstpipeline.sgml:
22268 * docs/gst/tmpl/gstplugin.sgml:
22269 * gst/gstpipeline.c:
22272 inlined the last two docs files
22273 removed the tmpl directory from cvs (no more conflicts here!)
22275 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22277 * docs/gst/gstreamer-sections.txt:
22278 * docs/gst/tmpl/.cvsignore:
22279 * docs/gst/tmpl/gstpad.sgml:
22280 * docs/gst/tmpl/gstpadtemplate.sgml:
22282 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22283 (gst_pad_finalize), (gst_pad_set_pad_template):
22285 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22286 (gst_pad_template_class_init), (gst_pad_template_init),
22287 (gst_pad_template_dispose), (name_is_valid),
22288 (gst_static_pad_template_get), (gst_pad_template_new),
22289 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22290 (gst_pad_template_pad_created):
22291 * gst/gstpadtemplate.h:
22292 inlined two more docs
22293 factored gstpadtemplate out of gstpad
22295 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22297 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22298 (test_children_state_change_order_semi_sink):
22299 Fix test case: we can't rely on a fixed state change order when
22300 going from READY => PAUSED because the sink might commit its
22301 new state first when the first buffer created by the source
22302 reaches the sink before the source has finished its change state.
22303 (Test case still fails at times, see #316856, comment 5 onwards)
22305 2005-09-24 Wim Taymans <wim@fluendo.com>
22307 * docs/design/part-events.txt:
22308 * docs/design/part-gstbus.txt:
22309 * docs/design/part-gstpipeline.txt:
22310 * docs/design/part-messages.txt:
22311 * docs/design/part-overview.txt:
22312 * docs/design/part-segments.txt:
22316 * gst/gstelement.c:
22319 * gst/gstiterator.c:
22320 Various documentation updates.
22322 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22325 Well, that's embarassing. Luckily we weren't using
22326 GST_CLOCK_DIFF anywhere.
22328 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22330 * common/gtk-doc.mak:
22331 don't fail on building XML, FC4 slave shows a bunch of doc
22332 missing bits that I don't get
22334 * gst/gstpipeline.c:
22335 * gst/gststructure.c:
22338 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22340 * docs/design/part-gstbin.txt:
22341 * docs/design/part-gstbus.txt:
22343 Add blurb about how the bus goes into flushing mode and
22344 drops all messages when its bin goes from READY into NULL
22347 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22349 * docs/gst/gstreamer-sections.txt:
22350 * gst/gststructure.c: (gst_structure_get_clock_time):
22351 * gst/gststructure.h:
22352 add a method to get a GstClockTime out of a structure
22354 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22356 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22357 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22358 Added test to check state change order in bins (can still be made
22359 to fail here under heavy disk load; bails out with 'Push on pad
22360 fakesink:sink0, but it was not activated in push mode').
22362 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22363 Fix state change order when there is only a semi sink (#316856)
22365 * gst/gstbus.c: (gst_bus_class_init):
22366 Use _class_peek_parent(), not _class_ref(); fix docs to say
22367 'default main context' instead of 'mainloop' where that is
22370 * gst/gstelement.c: (gst_element_commit_state),
22371 (gst_element_set_state):
22372 Fix typos in debug messages
22374 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22377 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22378 * gst/gstpluginfeature.c:
22380 various doc updates
22381 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22382 change an assert into an error until it gets fixed properly
22384 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22386 * docs/gst/gstreamer-sections.txt:
22387 * docs/gst/tmpl/.cvsignore:
22388 * docs/gst/tmpl/gstelement.sgml:
22389 * docs/gst/tmpl/gstinfo.sgml:
22390 * docs/gst/tmpl/gstobject.sgml:
22391 * gst/gstelement.c:
22392 * gst/gstelement.h:
22395 * gst/gstobject.c: (gst_object_class_init):
22397 inlined 3 more biiiig doc files and added some missing docs on the fly
22399 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22401 * check/gst/.cvsignore:
22402 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22403 * gst/gstregistryxml.c: (load_plugin),
22404 (gst_registry_xml_save_plugin):
22405 put back source in registry. add checks for find_plugin.
22406 * testsuite/states/bin.c: (assert_state), (empty_bin),
22407 (test_adding_one_element), (main):
22408 * testsuite/states/locked.c: (main):
22409 some compile/run fixes
22411 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22413 * check/gst/gstvalue.c: (GST_START_TEST):
22414 fix leaks in the test itself
22416 2005-09-22 Wim Taymans <wim@fluendo.com>
22418 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22419 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22420 (gst_base_sink_query):
22421 Prepare for more accurate position reporting and query
22424 * gst/gstelement.c: (gst_element_send_event),
22425 (gst_element_set_state):
22428 2005-09-22 Wim Taymans <wim@fluendo.com>
22430 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22431 (gst_query_parse_segment):
22433 More documentation.
22434 Add segment query for future use.
22436 2005-09-22 Wim Taymans <wim@fluendo.com>
22438 * gst/gstbin.c: (gst_bin_add_func):
22439 Some more debug info.
22441 * gst/gstelement.c: (gst_element_send_event):
22442 Simplify send_event
22444 * gst/gstelement.h:
22445 Don't know how flags got broken.
22450 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22452 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22453 Add simplistic test suite for GST_TYPE_DATE serialisation and
22456 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22458 * docs/gst/gstreamer-sections.txt:
22459 * gst/gststructure.c: (gst_structure_set_valist),
22460 (gst_structure_get_date):
22461 * gst/gststructure.h:
22462 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22463 (gst_date_copy), (gst_value_compare_date),
22464 (gst_value_serialize_date), (gst_value_deserialize_date),
22465 (gst_value_transform_date_string),
22466 (gst_value_transform_string_date), (_gst_value_initialize):
22468 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22469 bunch of utility functions along with a hack that checks that
22470 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22471 is required. Part of the grand scheme in #170777.
22473 2005-09-22 Andy Wingo <wingo@pobox.com>
22475 * gst/gstconfig.h.in: Psych out gtk-doc.
22477 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22479 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22481 * tools/gst-inspect.c (print_element_list): Plug some
22482 inconsequential leaks.
22484 * gst/gstregistry.c (gst_registry_get_default): Doc.
22486 * check/gst/gstplugin.c:
22487 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22488 * gst/gstelementfactory.c (gst_element_factory_create):
22489 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22492 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22493 (gst_plugin_feature_load): Doc, don't eat refs.
22495 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22496 (gst_plugin_list_free): Doc.
22497 (gst_plugin_load_file): Doc updates.
22499 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22500 accessors returning refcounted objects, return a ref.
22502 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22503 accessor for caps. IDEMPOTENCE. Oh yes.
22505 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22507 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22509 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22510 (_gst_debug_register_funcptr):
22511 Add mutex to serialise access to the hash table with
22512 the function pointer => function name string mapping;
22513 make that hash table static scope (#316809).
22515 * gst/registries/.cvsignore:
22516 Remove left-over file.
22518 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22520 * docs/pwg/appendix-porting.xml:
22521 And something about newsegment events and caps-on-buffers to
22522 the porting guide (feel free to improve).
22524 2005-09-21 Andy Wingo <wingo@pobox.com>
22526 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22527 data and event probes on the same pad.
22528 (test_buffer_probe_once): Test that removing probes from within
22529 the probe functions works.
22531 2005-09-21 Andy Wingo <wingo@pobox.com>
22533 * check/gst/gstutils.c: New file.
22534 (test_buffer_probe_n_times): A simple buffer probe test. More to
22537 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22538 have-data::buffer, not have-data.
22539 (gst_pad_add_event_probe): Likewise for have-data::event.
22540 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22541 peer' isn't quite right yet though.
22542 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22543 (gst_pad_remove_data_probe): Change to take the guint handler_id
22544 as their arg, not the function+data, which is more glib-like.
22546 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22547 the signal emission to indicate if the data is a buffer or an
22549 (gst_pad_get_type): Initialize buffer and event quarks.
22550 (gst_pad_class_init): have-data is now a detailed signal, yes it
22553 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22555 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22556 * gst/gstutils.c: (gst_util_set_value_from_string),
22557 (gst_util_set_object_arg):
22558 Don't put functional code in g_return_if_fail() or
22559 g_return_val_if_fail() statements, otherwise things will
22560 break when G_DISABLE_CHECKS is defined during compilation.
22562 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22564 * docs/gst/tmpl/.cvsignore:
22565 * docs/gst/tmpl/gstvalue.sgml:
22568 inlied another one and added some obvious docs
22570 2005-09-21 Wim Taymans <wim@fluendo.com>
22572 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22573 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22574 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22575 (gst_fdsrc_get_property), (gst_fdsrc_create):
22576 * gst/elements/gstfdsrc.h:
22577 Properly implement fdsrc. Removed signal and timeout,
22578 better implemented somewhere else.
22580 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22582 * docs/gst/tmpl/.cvsignore:
22583 * docs/gst/tmpl/gstimplementsinterface.sgml:
22584 * gst/gstinterface.c:
22587 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22589 * docs/gst/gstreamer-sections.txt:
22590 * docs/gst/tmpl/.cvsignore:
22591 * docs/gst/tmpl/gstenumtypes.sgml:
22592 remove obsolete doc file
22594 2005-09-21 David Schleef <ds@schleef.org>
22596 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22597 little beer, fix a little leak.
22599 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22601 * docs/gst/gstreamer-docs.sgml:
22602 * docs/gst/gstreamer-sections.txt:
22603 * docs/gst/tmpl/.cvsignore:
22607 * gst/gstelement.h:
22608 * gst/gstindex.c: (gst_index_class_init):
22610 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22611 (gst_index_factory_class_init), (gst_index_factory_init),
22612 (gst_index_factory_finalize), (gst_index_factory_new),
22613 (gst_index_factory_destroy), (gst_index_factory_find),
22614 (gst_index_factory_create), (gst_index_factory_make):
22615 * gst/gstindexfactory.h:
22616 * gst/gstpluginfeature.c:
22617 * gst/gstpluginfeature.h:
22618 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22619 more docs inlined, splitted gstindex.{c,h}
22621 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22623 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22626 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22628 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22629 Set sync to FALSE by default.
22631 2005-09-20 Wim Taymans <wim@fluendo.com>
22633 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22634 (gst_base_sink_init):
22635 Make sync property settable from subclass.
22637 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22638 (gst_fake_sink_change_state):
22639 Set sync to FALSE by default.
22641 2005-09-20 Wim Taymans <wim@fluendo.com>
22643 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22644 * tools/gst-launch.c: (main):
22645 The timeout handler should have lower priority than the source
22646 so we don't timeout before popping a message with 0 timeout.
22647 Dump error messages after failed state change.
22649 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22651 * tools/gst-inspect.c: (print_element_properties_info):
22654 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22656 * check/gst/gstevent.c:
22657 * gst/elements/gstfakesink.c:
22658 * gst/elements/gstfakesink.h:
22659 remove the sync property from fakesink.
22660 has the side effect of setting sync TRUE
22661 for fakesink, which is a change. Anyone who knows how
22662 to fix this nicely in a GObject-y way, feel free.
22664 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22666 * docs/gst/gstreamer-docs.sgml:
22667 remove probe refsection
22669 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22671 * check/Makefile.am:
22672 disable valgrinding the controller test again
22673 * docs/gst/gstreamer-sections.txt:
22674 update for api-changes
22676 2005-09-20 Wim Taymans <wim@fluendo.com>
22678 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22679 (gst_base_sink_set_property), (gst_base_sink_get_property),
22680 (gst_base_sink_do_sync):
22681 * gst/base/gstbasesink.h:
22682 Added sync property to basesink to disable clock sync.
22684 2005-09-20 Andy Wingo <wingo@pobox.com>
22686 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22687 eating the caller's refcount.
22689 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22690 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22693 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22694 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22695 of GLib 2.8 public, so we can know which refcount to check in
22698 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22699 (gst_object_init): Only set the gst refcount if we're going ahead
22700 with the refcount hack.
22702 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22704 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22705 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22706 more leaks plumbed, added more debug-logging
22710 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22712 * gst/gstmessage.c:
22713 remove include of gstmemchunk.h
22715 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22717 * gst/gstclock.c: (_gst_clock_id_free):
22718 Commit from the Political Party For More Atomic CVS Commits,
22719 so that people don't waste too much of their day fishing
22720 out obvious leaks out of massive commits.
22721 Oh, and fix a pretty damn obvious leak in the memchunk
22724 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22726 * check/Makefile.am:
22727 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22728 plug mem-leak, re-add to valgrindable tests
22730 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22733 unbreak the build for those who have chronic arthritis
22734 and typing "make check" is just too taxing on the hands
22736 2005-09-20 Andy Wingo <wingo@pobox.com>
22738 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22739 really want it out, you should fix plugins at the same time.
22741 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22744 * docs/gst/gstreamer-sections.txt:
22746 added missing symbols to api docs
22747 disable ref-count hack if we have glib >= 2.8
22749 2005-09-19 David Schleef <ds@schleef.org>
22751 * docs/gst/Makefile.am: Ignore a few more internal headers
22752 * docs/gst/gstreamer-docs.sgml: Remove old sections
22753 * docs/gst/gstreamer-sections.txt: Remove old sections
22754 * docs/gst/tmpl/gstobject.sgml: update
22755 * docs/gst/tmpl/gstplugin.sgml: update
22756 * docs/gst/tmpl/gstpluginfeature.sgml: update
22757 * docs/random/ds/0.9-suggested-changes: update.
22758 * gst/Makefile.am: remove memchunk and trashstack, since they're
22760 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22761 * gst/gst.h: don't include some headers
22762 * gst/gstchildproxy.c: add gstmarshal.h
22763 * gst/gstclock.c: Don't use memchunks
22764 * gst/gstminiobject.c: Add some docs
22765 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22766 * gst/gstobject.h: same
22767 * gst/gstplugin.c: include gstmacros.h
22768 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22769 * gst/gstquery.c: don't use memchunks
22770 * gst/gstregistry.c: rename gst_registry_deinit()
22771 * gst/gstregistry.h: same
22773 2005-09-19 David Schleef <ds@schleef.org>
22775 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22776 * docs/libs/gstreamer-libs-sections.txt:
22777 * docs/libs/tmpl/gstgetbits.sgml:
22778 * docs/libs/tmpl/gstputbits.sgml:
22780 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22782 * win32/gstenumtypes.c:
22783 * win32/gstenumtypes.h:
22786 2005-09-19 Wim Taymans <wim@fluendo.com>
22788 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22789 Automatically PAUSE and RESUME a pipeline when a flushing seek
22792 2005-09-19 Andy Wingo <wingo@pobox.com>
22794 * gst/gstregistry.h: Spacing fixen.
22796 2005-09-19 Wim Taymans <wim@fluendo.com>
22798 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22799 Handle state change failure more correctly.
22801 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22803 * check/Makefile.am:
22804 * check/pipelines/cleanup.c: (run_pipeline):
22805 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22807 enable cleanup again after fixing the leak
22809 some more info on docs
22811 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22813 * check/Makefile.am:
22814 re-enable tests now that leaks are plugged
22816 * check/gst/gstbin.c:
22817 * check/gst/gstpipeline.c:
22818 add some more tests while fixing leaks
22819 * common/check.mak:
22820 make sure binaries are uptodate when valgrinding/gdbing
22822 * gst/gstelementfactory.c:
22823 remove a ref too many, and add a FIXME for when we get
22824 round to disposing of classes
22826 fix the refcounting when loading a plugin from a file and
22827 the code pretends that the pointer is the same even though
22828 of course it can change
22829 * gst/gstpluginfeature.c:
22830 unref plugins marked cached (a bit confusing as a name)
22831 as the docs state should be done
22832 various doc additions to explain refcounting
22833 * gst/gstregistry.c:
22834 * gst/gstregistryxml.c:
22837 2005-09-19 Wim Taymans <wim@fluendo.com>
22839 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22840 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22841 (send_messages), (GST_START_TEST), (gstbus_suite):
22842 * check/gst/gstpipeline.c: (GST_START_TEST):
22843 * check/pipelines/cleanup.c: (run_pipeline):
22844 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22846 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22847 (gst_bus_source_check), (gst_bus_source_dispatch),
22848 (gst_bus_create_watch), (gst_bus_add_watch_full),
22849 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22851 * tools/gst-launch.c: (event_loop):
22852 * tools/gst-md5sum.c: (event_loop):
22853 GstBusHandler -> GstBusFunc, return value has the same meaning as
22854 any other GSource (FALSE == remove source).
22855 _add_watch() and _add_watch_full() now take a MessageType mask to
22856 only handle specific types of messages.
22857 _poll() returns the GstMessage instead of the message type to avoid
22859 _have_pending() takes a MessageType mask now too.
22860 Added testsuite for multiple bus watches.
22861 Fix testsuites and applications for new bus API.
22863 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22865 * check/Makefile.am:
22866 mark a bunch of the tests as to fix until we fix them
22868 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22870 * common/check.mak:
22871 use GST_PLUGIN settings for valgrind tests as well, so we're
22872 valgrinding the correct thing
22873 * gst/gst.c: (init_post):
22876 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22878 * gst/gst.c: (init_post), (gst_deinit):
22879 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22880 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22881 * gst/gstindex.c: (gst_index_factory_class_init),
22882 (gst_index_factory_finalize):
22883 * gst/gstobject.c: (gst_object_dispose):
22884 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22885 (gst_plugin_load_file), (gst_plugin_desc_free):
22886 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22887 (gst_plugin_feature_finalize):
22888 * gst/gstregistry.c: (gst_registry_class_init),
22889 (gst_registry_init), (gst_registry_finalize),
22890 (gst_registry_get_default), (gst_registry_deinit):
22891 * gst/gstregistry.h:
22892 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22893 various cleanups and memleak plugging. make valgrind is happy now.
22895 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22897 * common/check.mak:
22898 add a check-valgrind target
22900 2005-09-18 David Schleef <ds@schleef.org>
22902 * tools/gst-inspect.c: Revert the GOption code.
22904 2005-09-17 David Schleef <ds@schleef.org>
22906 * check/Makefile.am: Fix environment variables.
22907 * check/gst/gstplugin.c: Fix for API changes.
22908 * tools/gst-inspect.c: Fix for API changes.
22909 * tools/gst-xmlinspect.c: Fix for API changes.
22910 * gst/gstelementfactory.c:
22913 * gst/gstpluginfeature.c:
22914 * gst/gstpluginfeature.h:
22915 * gst/gstregistry.c:
22916 * gst/gstregistry.h:
22917 * gst/gstregistryxml.c:
22918 * gst/gsttypefind.c:
22919 * gst/gsttypefindfactory.c:
22920 * gst/indexers/gstfileindex.c:
22921 * gst/indexers/gstmemindex.c:
22922 * gst/schedulers/Makefile.am:
22923 Change registry to keep track of both plugins and features,
22924 removing the feature tracking from plugins themselves.
22926 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22928 * check/Makefile.am:
22929 * tools/gst-register.1.in:
22930 remove gst-register
22932 2005-09-15 David Schleef <ds@schleef.org>
22934 * check/gst/gstplugin.c:
22935 * gst/gstelementfactory.c:
22937 * gst/gstpluginfeature.c:
22938 * gst/gstregistry.c:
22939 Getting tired of debugging. Disabled all the unreffing of
22940 plugins and features, which fixes the segfaults, but of
22941 course leaks like crazy. At least playbin works.
22943 2005-09-15 David Schleef <ds@schleef.org>
22945 * check/gst/gstplugin.c: (register_check_elements),
22946 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22948 * gst/elements/gsttypefindelement.c: Fix refcounting.
22949 * gst/gsttypefind.c:
22950 * gst/gsttypefindfactory.c:
22951 * gst/gsttypefindfactory.h:
22953 2005-09-15 David Schleef <ds@schleef.org>
22955 * gst/gstindex.c: get refcounting correct.
22956 * gst/gstregistry.c: Handle the case where a feature/plugin is
22959 2005-09-15 David Schleef <ds@schleef.org>
22961 * check/Makefile.am:
22962 * check/gst/gstplugin.c: Add test
22963 * gst/gstplugin.c: Fix problems noticed by testsuite
22965 * gst/gstregistry.c:
22966 * gst/gstregistry.h:
22968 2005-09-15 David Schleef <ds@schleef.org>
22970 * gst/gstplugin.c: Implement semi-decent recounting and locking
22971 in plugins and plugin features.
22973 * gst/gstpluginfeature.c:
22974 * gst/gstpluginfeature.h:
22975 * gst/gstregistry.c:
22977 2005-09-15 Michael Smith <msmith@fluendo.com>
22979 * gst/gstregistry.c: (gst_registry_get_feature_list):
22980 Implement this. Makes oggdemux work; decodebin still broken.
22982 2005-09-14 David Schleef <ds@schleef.org>
22984 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22986 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22987 * gst/check/Makefile.am:
22988 * libs/gst/controller/Makefile.am:
22989 * libs/gst/dataprotocol/Makefile.am:
22991 2005-09-14 David Schleef <ds@schleef.org>
22993 * configure.ac: Remove getbits library. Nothing uses it, and
22994 it should be in something like liboil if someone did want
22996 * libs/gst/Makefile.am:
22997 * libs/gst/getbits/Makefile.am:
22998 * libs/gst/getbits/gbtest.c:
22999 * libs/gst/getbits/getbits.c:
23000 * libs/gst/getbits/getbits.h:
23001 * libs/gst/getbits/gstgetbits_generic.c:
23002 * libs/gst/getbits/gstgetbits_i386.s:
23003 * libs/gst/getbits/gstgetbits_inl.h:
23005 2005-09-14 David Schleef <ds@schleef.org>
23007 * gst/Makefile.am: Dist glib-compat.h
23009 2005-09-14 David Schleef <ds@schleef.org>
23011 * configure.ac: Remove gst/registries, since it's no longer used.
23012 * gst/registries/Makefile.am:
23013 * gst/registries/gstlibxmlregistry.c:
23014 * gst/registries/gstlibxmlregistry.h:
23015 * gst/registries/gstxmlregistry.c:
23016 * gst/registries/gstxmlregistry.h:
23017 * gst/registries/registrytest.c:
23019 2005-09-14 David Schleef <ds@schleef.org>
23021 * gst/glib-compat.h:
23022 * gst/gstregistryxml.c:
23023 Convergence is near. Seriously.
23025 2005-09-14 David Schleef <ds@schleef.org>
23027 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23028 * gst/glib-compat.h:
23029 Attempt #4 to appease the buildbots.
23031 2005-09-14 David Schleef <ds@schleef.org>
23033 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23036 2005-09-14 David Schleef <ds@schleef.org>
23038 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23041 2005-09-14 David Schleef <ds@schleef.org>
23043 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23046 2005-09-14 David Schleef <ds@schleef.org>
23048 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23049 * gst/glib-compat.h: Add some functions that are in newer versions
23050 of glib than we care to require.
23051 * gst/gstregistryxml.c: Use them.
23053 2005-09-14 David Schleef <ds@schleef.org>
23055 * po/POTFILES.in: remove gst-register.c
23057 2005-09-14 David Schleef <ds@schleef.org>
23059 * docs/gst/gstreamer-docs.sgml:
23060 * docs/gst/gstreamer-sections.txt:
23061 * docs/gst/gstreamer.types:
23062 * docs/gst/tmpl/gstelement.sgml:
23063 * docs/gst/tmpl/gstplugin.sgml:
23064 * docs/gst/tmpl/gstpluginfeature.sgml:
23065 Documentation updates for registry changes.
23067 2005-09-14 David Schleef <ds@schleef.org>
23069 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23070 because we don't require glib-2.8.
23072 2005-09-14 David Schleef <ds@schleef.org>
23074 * gst/gstregistryxml.c: Added. Essentially moved out of the
23075 registries directory.
23077 2005-09-14 David Schleef <ds@schleef.org>
23079 * check/Makefile.am:
23080 * check/generic/states.c:
23084 * gst/gst_private.h:
23085 * gst/gstelementfactory.c:
23090 * gst/gstpluginfeature.c:
23091 * gst/gstpluginfeature.h:
23092 * gst/gstregistry.c:
23093 * gst/gstregistry.h:
23094 * gst/gstregistrypool.c: remove
23095 * gst/gstregistrypool.h: remove
23096 * gst/gsttypefind.c:
23097 * gst/gsttypefindfactory.c:
23099 * tools/Makefile.am:
23100 * tools/gst-compprep.c:
23101 * tools/gst-inspect.c:
23102 * tools/gst-register.c: remove
23103 * tools/gst-xmlinspect.c:
23104 Registry rewrite. Changes registry from being a file created
23105 by a tool into a simple cache file created automatically by
23106 libgstreamer. Removed gst-register (because it's no longer
23107 needed). Remove registry pools, because we only have one
23108 registry implementation (XML). Fix up other subsystems as
23111 2005-09-13 Michael Smith <msmith@fluendo.com>
23113 * gst/gstconfig.h.in:
23114 Don't Use windows linking attributes for MinGW. Fixes #316157
23116 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23118 * gst/gstutils.c: (set_state_async_thread_func),
23119 (gst_element_set_state_async):
23120 Apparently people think it's better if this function doesn't
23121 try to set the state to whatever state was asked for on the first
23122 call to this function for any object. Seriously.
23124 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23126 * check/gst/gstpipeline.c: (GST_START_TEST):
23127 * docs/gst/gstreamer-sections.txt:
23128 * gst/gstutils.c: (set_state_async_thread_func),
23129 (gst_element_set_state_async):
23131 add a "gst_element_set_state_async" method that
23132 sets the state and starts a thread to make sure the state
23133 change completes as best as it can
23135 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23137 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23138 codify design+behaviour in testsuite after discussion
23140 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23142 * docs/gst/tmpl/gstelement.sgml:
23143 * docs/manual/appendix-quotes.xml:
23145 * gst/gstelement.c: (gst_element_set_state):
23148 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23150 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23151 (gst_base_transform_prepare_output_buf),
23152 (gst_base_transform_handle_buffer):
23153 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23154 (gst_capsfilter_prepare_buf):
23155 Remove the requirement for sub-classes to call the parent
23156 implementation of prepare_output_buffer with a wrapper function.
23158 * gst/gsttaglist.h:
23159 * gst/gsttagsetter.h:
23160 Fix #define wrapper
23162 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23164 * docs/gst/gstreamer-sections.txt:
23167 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23169 * docs/gst/gstreamer-sections.txt:
23170 * docs/gst/tmpl/gstelement.sgml:
23171 * docs/gst/tmpl/gstplugin.sgml:
23172 * gst/gstminiobject.c:
23174 docs now stop throwing warnings
23176 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23178 * docs/gst/gstreamer-sections.txt:
23179 * docs/gst/gstreamer.types:
23180 * docs/gst/tmpl/gstpad.sgml:
23181 * docs/gst/tmpl/gsttypes.sgml:
23182 * gst/base/gstadapter.h:
23183 * gst/base/gstbasesink.h:
23184 * gst/base/gstbasesrc.h:
23190 * gst/gstelement.h:
23192 * gst/gstmessage.h:
23194 * gst/gststructure.c:
23195 * gst/registries/gstlibxmlregistry.h:
23196 various documentation fixes
23198 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23200 * docs/gst/gstreamer-sections.txt:
23201 * docs/gst/tmpl/gstvalue.sgml:
23202 rearrange gstvalue section
23203 * gst/gstutils.c: (gst_element_state_get_name):
23205 * gst/gstvalue.c: (_gst_value_initialize):
23209 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23211 * check/gst-libs/controller.c:
23212 Header include fix.
23213 * gst/base/gstbasetransform.c:
23214 (gst_base_transform_default_prepare_buf),
23215 (gst_base_transform_handle_buffer):
23216 * gst/base/gstbasetransform.h:
23217 Some more basetransform changes and fixes to enable sub-classes
23218 that modify buffer metadata only.
23219 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23220 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23221 (gst_capsfilter_prepare_buf):
23222 If the output pad has fixed allowed caps and input buffers
23223 don't have any, set the fixed caps on outgoing buffers.
23225 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23226 * check/elements/identity.c: (GST_START_TEST):
23227 Make the error a little clearer when the test fails because
23228 identity made a copy of the buffer.
23229 * docs/gst/gstreamer-sections.txt:
23230 New symbols in gstbasetransform.h
23231 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23232 (gst_base_transform_init), (gst_base_transform_transform_size),
23233 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23234 (gst_base_transform_default_prepare_buf),
23235 (gst_base_transform_get_unit_size),
23236 (gst_base_transform_buffer_alloc),
23237 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23238 (gst_base_transform_change_state),
23239 (gst_base_transform_set_passthrough),
23240 (gst_base_transform_set_in_place),
23241 (gst_base_transform_is_in_place):
23242 * gst/base/gstbasetransform.h:
23243 Change BaseTransform to separate in_place operate from same_caps
23244 output. in_place implies that the element can perform the transform
23245 on incoming buffers in-place, even if the caps on the output are
23247 Sub-class elements can now implement special buffer allocation
23248 methods for outgoing buffers if they wish to.
23249 Big documentation addition.
23250 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23251 * gst/elements/gstelements.c:
23252 Changes for basetransform modifications.
23253 * gst/elements/Makefile.am:
23254 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23255 Compile fix. Extra debug output.
23257 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23259 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23261 add tests for valid pad naming
23262 * gst/check/gstcheck.c: (gst_check_log_message_func),
23263 (gst_check_log_critical_func):
23265 remove printing of code, it is fragile when the code contains
23266 % and the line number is enough info
23267 * gst/check/gstcheck.h:
23268 * gst/gstpad.c: (gst_pad_template_new):
23271 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23274 say what CHECK flags we use
23275 * docs/libs/gstreamer-libs.types:
23276 * libs/gst/controller/Makefile.am:
23277 * libs/gst/controller/gst-controller.c:
23278 * libs/gst/controller/gst-controller.h:
23279 * libs/gst/controller/gst-helper.c:
23280 * libs/gst/controller/gst-interpolation.c:
23281 * libs/gst/controller/gstcontroller.c:
23282 * libs/gst/controller/gsthelper.c:
23283 * libs/gst/controller/gstinterpolation.c:
23284 * tools/gst-inspect.c: (print_plugin_info):
23285 we don't use dashes in header names
23287 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23289 * check/Makefile.am:
23290 * check/gst/.cvsignore:
23291 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23292 (gst_pipeline_suite), (main):
23293 adding a test for pipelines and state changes
23294 * gst/gstutils.c: (get_state_func):
23296 * gstreamer.spec.in:
23299 2005-09-08 Michael Smith <msmith@fluendo.com>
23301 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23302 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23303 (gst_file_src_is_seekable), (gst_file_src_get_size),
23304 (gst_file_src_start):
23305 * gst/elements/gstfilesrc.h:
23306 Various fixes for unseekable, unmmapable, and non-normal files, so
23307 that fallback to read() rather than mmap() works.
23308 * gst/gstevent.c: (gst_event_new_newsegment):
23309 Allow newsegment events with segment_start == segment_end, as will
23310 correctly happen if you use filesrc on a zero-size file, for
23313 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23315 * gst/gstplugin.c: (gst_plugin_load_file):
23316 Call g_module_close when we don't load the module
23318 * gst/registries/gstlibxmlregistry.c:
23319 (gst_xml_registry_get_property):
23320 Port leak fix from 0.8
23322 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23324 * docs/gst/gstreamer-docs.sgml:
23325 * docs/gst/tmpl/.cvsignore:
23326 * docs/gst/tmpl/gsttrace.sgml:
23327 * docs/gst/tmpl/gsttrashstack.sgml:
23330 * gst/gstelement.h:
23332 * gst/gstmessage.c:
23333 * gst/gstmessage.h:
23336 * gst/gsttaginterface.c:
23337 * gst/gsttaginterface.h:
23338 * gst/gsttaglist.c:
23339 * gst/gsttaglist.h:
23340 * gst/gsttagsetter.c:
23341 * gst/gsttagsetter.h:
23344 * gst/gsttrashstack.c:
23345 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23346 inlined docs for gsttrace, gsttrashstack
23348 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23351 * gst/elements/gstbufferstore.h:
23352 * gst/elements/gsttypefindelement.c:
23353 * gst/elements/gsttypefindelement.h:
23355 * gst/gsttypefind.c:
23356 * gst/gsttypefind.h:
23357 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23358 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23359 (gst_type_find_factory_dispose),
23360 (gst_type_find_factory_unload_thyself),
23361 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23362 (gst_type_find_factory_get_caps),
23363 (gst_type_find_factory_get_extensions),
23364 (gst_type_find_factory_call_function):
23365 * gst/gsttypefindfactory.h:
23366 * gst/registries/gstlibxmlregistry.c:
23367 * gst/registries/gstxmlregistry.c:
23368 splitted gsttypefind into gsttypefind, gsttypefindfactory
23370 2005-09-07 Andy Wingo <wingo@pobox.com>
23372 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23373 condition whereby the pad's task function is entered before the
23374 pad_mode variable was set.
23376 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23378 * gst/gstpad.c: (gst_pad_alloc_buffer):
23379 Catch misbehaving pad_alloc functions that don't
23380 set up caps and do it for them.
23382 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23384 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23385 test for pipe!=NULL
23386 * docs/gst/tmpl/.cvsignore:
23387 * docs/gst/tmpl/gstmemchunk.sgml:
23388 * docs/gst/tmpl/gstparse.sgml:
23389 * docs/gst/tmpl/gsttaglist.sgml:
23390 * docs/gst/tmpl/gsttagsetter.sgml:
23391 * docs/gst/tmpl/gsttypefind.sgml:
23392 * docs/gst/tmpl/gsttypefindfactory.sgml:
23393 * gst/gstmemchunk.c:
23396 * gst/gsttaginterface.c:
23397 * gst/gsttypefind.c:
23398 * gst/gsttypefind.h:
23401 === release 0.9.2 ===
23403 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23408 releasing 0.9.2, "South"
23410 2005-09-05 Andy Wingo <wingo@pobox.com>
23412 * gst/registries/gstxmlregistry.h:
23413 * gst/registries/gstxmlregistry.c: Um... resurrect...
23415 * gst/registries/gstxmlregistry.h:
23416 * gst/registries/gstxmlregistry.c: and update to newer API.
23417 Incidentally they should be a bit faster now that they don't have
23420 2005-09-05 Andy Wingo <wingo@pobox.com>
23422 * gst/registries/gstxmlregistry.h:
23423 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23424 replaced by the libxml registry a while back
23426 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23428 * docs/gst/tmpl/gstplugin.sgml:
23429 * gst/elements/gstelements.c:
23431 * gst/gstplugin.c: (gst_plugin_register_func),
23432 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23433 (gst_plugin_get_source):
23435 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23436 (gst_xml_registry_save_plugin):
23437 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23438 (gst_xml_registry_save_plugin):
23439 * tools/gst-inspect.c: (print_plugin_info):
23440 add a "source" plugin description field, to represent the source
23441 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23442 will set it to PACKAGE, which is automake's idea of the name of
23443 the source project.
23445 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23450 * docs/Makefile.am:
23451 * docs/faq/Makefile.am:
23452 * docs/gst/tmpl/gstelement.sgml:
23453 * docs/gst/tmpl/gsttypes.sgml:
23454 * docs/htmlinstall.mak:
23455 * docs/manual/Makefile.am:
23456 * docs/pwg/Makefile.am:
23457 reorganize doc build a little
23458 split out docbook and gtk-doc stuff
23459 have two separate --enable's and enable them through autogen
23460 but disable by default in configure (to be similar to other
23462 * gstreamer.spec.in:
23463 clean up docs install
23481 translation updates
23483 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23485 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23488 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23489 (gst_fake_sink_change_state):
23490 Make state change function thread-safe.
23492 * gst/gstpad.c: (gst_pad_alloc_buffer):
23493 Set offset on generic buffer allocated by fallback.
23495 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23497 * docs/gst/gstreamer-sections.txt:
23498 * docs/gst/tmpl/gstelement.sgml:
23500 * libs/gst/controller/gst-controller.c:
23501 (gst_controlled_property_set_interpolation_mode),
23502 (gst_controlled_property_new),
23503 (gst_controller_find_controlled_property):
23504 run the wingo-magic script against the docs
23506 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23508 * docs/gst/gstreamer-docs.sgml:
23509 * docs/gst/gstreamer-sections.txt:
23510 * docs/gst/tmpl/.cvsignore:
23511 * docs/gst/tmpl/gstelementdetails.sgml:
23512 * docs/gst/tmpl/gstelementfactory.sgml:
23515 * gst/gstelementfactory.c:
23516 * gst/gstelementfactory.h:
23517 merged elementdetails docs into elementfactory docs
23520 2005-09-02 Andy Wingo <wingo@pobox.com>
23522 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23523 consider this enum an enum and not a flags.
23525 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23527 * docs/gst/gstreamer-docs.sgml:
23528 * docs/gst/tmpl/.cvsignore:
23529 * docs/gst/tmpl/gstghostpad.sgml:
23530 * docs/gst/tmpl/gstiterator.sgml:
23531 * docs/gst/tmpl/gstmacros.sgml:
23532 * docs/gst/tmpl/gstrealpad.sgml:
23533 * docs/gst/tmpl/gstregistry.sgml:
23534 * docs/gst/tmpl/gstregistrypool.sgml:
23535 * docs/gst/tmpl/gststructure.sgml:
23536 * docs/gst/tmpl/gstsystemclock.sgml:
23537 * docs/gst/tmpl/gsttrace.sgml:
23538 * gst/gstghostpad.c:
23540 * gst/gstmemchunk.c:
23541 * gst/gstmemchunk.h:
23543 * gst/gstregistry.c:
23544 * gst/gstregistrypool.c:
23545 * gst/gststructure.c:
23546 * gst/gstsystemclock.c:
23549 2005-09-02 Andy Wingo <wingo@pobox.com>
23551 * gst/gstelement.h (GstState): Renamed from GstElementState,
23552 changed to be a normal enum instead of flags.
23553 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23554 munged to be GST_STATE_CHANGE_*.
23555 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23556 work with the new state representation.
23557 (GstStateChange): New enumeration of possible state transitions.
23558 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23559 (GstElementClass::change_state): Pass the GstStateChange along as
23560 an argument. Helps language bindings, so they don't have to use
23561 tricky lock-needing macros like GST_STATE_CHANGE ().
23563 * scripts/update-states (file): New script. Run it on a file to
23564 update it for state naming and API changes. Updates files in
23567 * All files updated for the new API.
23569 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23571 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23572 * gst/gstutils.c: (gst_util_set_value_from_string),
23573 (gst_util_set_object_arg):
23574 fix a bunch of unchecked return values
23575 * tools/gst-complete.c: (main):
23576 * gstreamer.spec.in:
23579 2005-09-01 Wim Taymans <wim@fluendo.com>
23581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23582 (gst_base_sink_event), (gst_base_sink_do_sync),
23583 (gst_base_sink_handle_event):
23584 * gst/base/gstbasesink.h:
23585 Handle newsegments more correctly.
23590 * gst/gstevent.c: (gst_event_new_newsegment):
23591 A newsegment cannot have a start_time of -1
23593 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23595 * win32/gstenumtypes.c:
23596 * win32/gstenumtypes.h:
23599 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23601 * libs/gst/controller/gst-controller.c:
23602 (gst_controlled_property_set_interpolation_mode),
23603 (gst_controlled_property_new):
23604 fixed boolean again
23606 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23608 * docs/faq/gst-uninstalled:
23613 * gst/gstutils.c: (gst_element_link_filtered):
23615 add gst_element_link_filtered
23617 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23619 * docs/gst/gstreamer-docs.sgml:
23620 * docs/gst/gstreamer-sections.txt:
23621 * docs/gst/tmpl/.cvsignore:
23622 * docs/gst/tmpl/gsterror.sgml:
23623 * docs/gst/tmpl/gstfilter.sgml:
23624 * docs/gst/tmpl/gsturihandler.sgml:
23625 * docs/gst/tmpl/gsturitype.sgml:
23626 * docs/gst/tmpl/gstutils.sgml:
23627 * docs/gst/tmpl/gstxml.sgml:
23632 * gst/gsturitype.c:
23635 inlined more docs, fixed double id-ref
23637 2005-08-31 Wim Taymans <wim@fluendo.com>
23639 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23640 (gst_base_transform_handle_buffer):
23641 Passthrough elements don't need the caps as they don't care.
23643 2005-08-31 Wim Taymans <wim@fluendo.com>
23645 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23646 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23647 Don't leak refcounts on buffers.
23649 2005-08-31 Wim Taymans <wim@fluendo.com>
23651 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23652 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23653 (gst_base_transform_chain), (gst_base_transform_change_state):
23654 * gst/base/gstbasetransform.h:
23655 Handle the case where we are not negotiated more gracefully.
23657 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23659 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23660 (gst_file_src_map_region):
23661 Set READONLY flag on mmap'ed buffers, otherwise
23662 gst_buffer_make_writable() won't work properly (#314708).
23664 2005-08-31 Wim Taymans <wim@fluendo.com>
23666 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23667 passthrough elements can even do inplace on non writable
23668 buffers (as they don't touch them).
23670 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23672 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23673 (gst_test_mono_source_set_property),
23674 (gst_test_mono_source_class_init), (GST_START_TEST),
23675 (gst_controller_suite):
23676 more tests (hehe I have the most)
23678 describe popping messages whenusing mulltiple sources
23679 * libs/gst/controller/gst-controller.c:
23680 (gst_controlled_property_set_interpolation_mode),
23681 (gst_controlled_property_new):
23682 * libs/gst/controller/gst-controller.h:
23683 * libs/gst/controller/gst-interpolation.c:
23684 implement boolean properties
23686 2005-08-31 Wim Taymans <wim@fluendo.com>
23688 * gst/gstminiobject.c: (gst_mini_object_ref):
23689 Cannot assert that the refcount has to be positive
23690 since a disposed object can be resurrected.
23692 2005-08-31 Wim Taymans <wim@fluendo.com>
23694 * gst/gstpad.c: (gst_pad_init):
23695 Revert change, need to first fix badly behaving
23698 2005-08-30 Wim Taymans <wim@fluendo.com>
23700 * check/elements/fakesrc.c: (setup_fakesrc):
23701 * check/elements/identity.c: (setup_identity):
23702 Activate pads before using them.
23704 2005-08-30 Wim Taymans <wim@fluendo.com>
23706 * gst/base/gstadapter.c: (gst_adapter_flush):
23707 Flushing out 0 bytes is ok for this function.
23709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23710 no newsegment gives a warning and sets the start/stop to
23713 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23714 (gst_base_transform_set_passthrough):
23717 * gst/gstminiobject.c: (gst_mini_object_ref):
23718 Check refcount here too.
23720 * gst/gstpad.c: (gst_pad_init):
23721 Pads are initially flushing and refusing data.
23723 * gst/gstutils.c: (gst_element_link_pads_filtered):
23724 When adding a capsfilter element make sure it has the
23725 same state as the parent bin.
23727 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23729 * docs/gst/tmpl/.cvsignore:
23730 * docs/gst/tmpl/gstformat.sgml:
23731 * docs/gst/tmpl/gstversion.sgml:
23735 * gst/gstversion.h.in:
23736 more docs and two more inlined
23738 2005-08-30 Wim Taymans <wim@fluendo.com>
23740 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23741 Don't sync to clock.
23743 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23745 * docs/gst/gstreamer-sections.txt:
23746 ultral33t func10ns deserve to appear in the docs actually
23747 * docs/gst/tmpl/.cvsignore:
23748 * docs/gst/tmpl/gstcompat.sgml:
23749 * docs/gst/tmpl/gstconfig.sgml:
23750 * gst/check/gstcheck.c:
23752 * gst/gstconfig.h.in:
23755 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23757 * docs/gst/tmpl/.cvsignore:
23758 * docs/gst/tmpl/gstquery.sgml:
23759 * docs/gst/tmpl/gstutils.sgml:
23762 inlined and extended docs
23764 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23766 * check/gst-libs/controller.c: (GST_START_TEST),
23767 (gst_controller_suite):
23769 * docs/gst/tmpl/gstutils.sgml:
23770 * docs/libs/gstreamer-libs-sections.txt:
23771 * docs/libs/tmpl/gstdataprotocol.sgml:
23773 * examples/controller/audio-example.c: (main):
23774 controller example works now
23777 * tools/gst-inspect.c: (print_element_properties_info):
23778 show param spec flags
23780 2005-08-29 Andy Wingo <wingo@pobox.com>
23782 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23784 2005-08-28 Andy Wingo <wingo@pobox.com>
23786 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23787 as having two arguments instead of just one. Allows superclasses
23788 to access information on subclasses -- see the terrible for() loop
23789 in gtype.c:g_type_create_instance for the reason why. All callers
23792 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23794 * docs/design/part-messages.txt:
23796 * docs/gst/tmpl/.cvsignore:
23797 * docs/gst/tmpl/gstcaps.sgml:
23798 * docs/gst/tmpl/gstclock.sgml:
23804 * gst/gstmessage.c:
23805 added descriptions for bus and message
23806 inline caps and clock docs
23808 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23810 * gst/gstmessage.c:
23811 * gst/gstmessage.h:
23814 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23816 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23819 2005-08-26 Andy Wingo <wingo@pobox.com>
23821 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23822 element_set_state's return val.
23823 (test_2_elements): Add test that's been disabled for months.
23825 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23826 can-activate-pull properties.
23828 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23829 can-activate-pull properties. Implement is_seekable so fakesrc can
23830 operate in pull mode.
23832 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23834 (gst_base_sink_activate, gst_base_sink_activate_pull)
23835 (gst_base_sink_activate_push): Make activation mode choosing work.
23837 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23838 is right. Make pull mode work. Post an eos before pausing in pull
23840 (gst_base_sink_change_state): Pay attention to the core's
23841 change_state() return val.
23843 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23844 has-getrange properties. Cleanups.
23846 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23847 has_getrange and replace with can_activate_pull and
23850 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23851 locking comments. Remove has_loop, has_chain and replace with
23852 can_activate_pull and can_activate_push.
23854 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23857 * examples/Makefile.am:
23858 * examples/metadata/Makefile.am:
23859 * examples/metadata/read-metadata.c: (message_loop),
23860 (have_pad_handler), (make_pipeline), (print_tag), (main):
23861 Add metadata reading example that loops over a list of filenames,
23862 dumping any tags found.
23864 * gst/gstbus.c: (gst_bus_dispose):
23865 * gst/gstelement.c: (gst_element_dispose):
23866 Release a few potentially-held references in dispose.
23868 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23870 * docs/gst/tmpl/gstminiobject.sgml:
23871 do *not* add tmpl/*.sgml files to CVS!
23873 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23875 * libs/gst/bytestream/.cvsignore:
23876 * libs/gst/bytestream/Makefile.am:
23877 * libs/gst/bytestream/adapter.c:
23878 * libs/gst/bytestream/adapter.h:
23879 * libs/gst/bytestream/bytestream.c:
23880 * libs/gst/bytestream/bytestream.h:
23881 * libs/gst/bytestream/filepad.c:
23882 * libs/gst/bytestream/filepad.h:
23883 removing obsolete files
23885 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23887 * docs/gst/gstreamer-docs.sgml:
23888 * docs/libs/gstreamer-libs-docs.sgml:
23889 disabed additional index entries again, as this makes docs-gen just
23890 slow and they aren't useful yet
23891 * docs/libs/gstreamer-libs-sections.txt:
23892 little -section.txt cleanup for libs
23894 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23896 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23897 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23898 fix up some debugging
23899 (gst_base_transform_get_unit_size),
23900 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23901 (gst_base_transform_handle_buffer):
23902 * gst/base/gstbasetransform.h:
23903 handle and store timed NEWSEGMENT events so that subclasses that
23904 calculate time by counting samples have a segment_start time they
23905 need to add to their timestamps - see audioresample
23907 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23910 removed ';' from the end of macro defs
23911 * docs/gst/gstreamer-docs.sgml:
23912 * docs/gst/gstreamer-sections.txt:
23913 * docs/gst/tmpl/.cvsignore:
23915 * gst/gstelement.c: (gst_element_class_init),
23916 (gst_element_set_state), (activate_pads),
23917 (gst_element_save_thyself):
23918 * gst/gstevent.c: (gst_event_new_newsegment):
23920 * gst/gstiterator.c:
23921 * gst/gstiterator.h:
23924 * gst/gstutils.c: (gst_pad_query_convert):
23926 fixed parameter name mismatches between source, header and docs
23927 added some more docs, resolved the last batch of unused elements in
23928 docs (now someone needs to doc them)
23930 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23932 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23933 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23934 don't walk through the plugins backwards. Where is all this
23935 reversed logic coming from ?
23937 2005-08-25 Wim Taymans <wim@fluendo.com>
23939 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23940 (gst_base_transform_transform_size),
23941 (gst_base_transform_configure_caps),
23942 (gst_base_transform_get_unit_size),
23943 (gst_base_transform_buffer_alloc),
23944 (gst_base_transform_change_state):
23945 * gst/base/gstbasetransform.h:
23946 Cache caps unit_size.
23947 Make sure we cannot negotiate up and downstream at the
23950 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23952 * gst/gst.c: (init_pre), (init_post):
23953 register the installed plugin path after the env var
23954 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23955 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23956 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23957 directories, so the tests can prefer uninstalled over installed
23959 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23961 * gst/base/gstbasetransform.h:
23966 2005-08-25 Wim Taymans <wim@fluendo.com>
23968 * gst/gstbin.c: (bin_bus_handler):
23969 Be a bit more conservative about the posted message.
23971 * gst/gstbus.c: (gst_bus_post):
23972 Some cleanups, warn wrong return values.
23974 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
23976 * check/gst/gstbin.c: (GST_START_TEST):
23977 * gst/gstbin.c: (bin_bus_handler):
23978 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23979 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23980 (gst_message_new_warning), (gst_message_new_tag),
23981 (gst_message_new_state_changed), (gst_message_new_segment_start),
23982 (gst_message_new_segment_done), (gst_message_new_custom):
23983 * gst/gstmessage.h:
23984 * tools/gst-launch.c: (event_loop):
23985 * tools/gst-md5sum.c: (event_loop):
23986 Revert unpopular change for GST_MESSAGE_SRC to GObject.
23988 2005-08-25 Wim Taymans <wim@fluendo.com>
23990 * check/generic/states.c: (GST_START_TEST):
23991 Cleanup can be done at the end.
23993 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23994 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23995 (gst_task_get_state), (gst_task_start), (gst_task_pause):
23996 Oh boy.. Thanks for finding this, Thomas.
23998 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24000 * docs/gst/gstreamer.types:
24001 added missing types
24003 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24005 * docs/gst/gstreamer-docs.sgml:
24006 * docs/gst/gstreamer-sections.txt:
24007 * docs/gst/tmpl/.cvsignore:
24009 * gst/gstiterator.c:
24011 * gst/registries/gstxmlregistry.h:
24012 added missing classes and symbols (123 more to go)
24013 removed removed symbols from section file
24014 fixed many doc-comments
24016 2005-08-24 Wim Taymans <wim@fluendo.com>
24018 * check/generic/states.c: (GST_START_TEST):
24019 Make sure all tasks are stopped.
24021 * check/gst/gstbin.c: (GST_START_TEST):
24022 Unref after usage for proper valgrinding.
24024 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24025 Really wait for the task to stop before destroying the
24028 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24029 (gst_queue_src_activate_push):
24030 Small cleanups. Don't stop the task when we did not start
24033 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24034 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24035 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24038 Protect the stream lock with the object lock.
24039 Disallow setting the stream lock when running.
24040 Add cleanup_all to wait for the threadpool to finish.
24041 Remove code to autoallocate a mutex if none was provided.
24042 Add _join() to wait for a task to stop.
24043 Protect the thread pool with a global lock.
24045 2005-08-24 Wim Taymans <wim@fluendo.com>
24047 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24048 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24049 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24050 * gst/base/gstbasesink.h:
24051 Handle newsegment events correctly.
24052 Drop buffers out of the segment range.
24054 2005-08-22 Andy Wingo <wingo@pobox.com>
24056 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24057 macro, implements an interface and gstimplementsinterface for a
24060 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24062 * check/Makefile.am:
24063 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24064 add a test that does a bunch of state changes on elements
24065 needs some fixing for valgrind
24066 * check/states/sinks.c: (gst_object_suite):
24069 add prototype for gst_caps_is_equal_fixed
24071 * gst/gstregistrypool.c:
24074 2005-08-24 Andy Wingo <wingo@pobox.com>
24076 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24077 convert a negative value. Doesn't make much sense. Mostly this is
24078 here to force callers to ensure -1 maps to -1.
24080 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24082 * docs/pwg/advanced-types.xml:
24083 Well done to Michael for catching my deliberate introduction
24084 of this spelling mistake.
24085 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24086 * gst/gstelement.h:
24087 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24088 unlink pads before removing the element from the bin.
24090 2005-08-24 Andy Wingo <wingo@pobox.com>
24092 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24093 the same thing as GST_DEBUG=*:4.
24094 (parse_debug_level, parse_debug_category): New helper parsers.
24096 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24098 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24099 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24100 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24101 (gst_base_transform_buffer_alloc),
24102 (gst_base_transform_handle_buffer):
24103 use gboolean return values and pointers to size so we can use the
24104 full GST_BUFFER_SIZE range (guint) for buffer sizes
24105 use GstPadDirection for transform_caps
24106 * gst/base/gstbasetransform.h:
24107 rename get_size to get_unit_size since that's what it is
24108 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24109 use GstPadDirection for transform_caps
24110 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24112 cleanup and debugging
24114 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24116 * gst/gstelement.c: (gst_element_class_init),
24117 (gst_element_set_state), (activate_pads),
24118 (gst_element_save_thyself):
24119 * tools/gst-compprep.c: (main):
24120 * tools/gst-inspect.c: (print_element_properties_info):
24121 * tools/gst-xmlinspect.c: (print_element_properties):
24122 Fixed long standing mem-leak
24124 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24126 * check/gst/gstbin.c: (GST_START_TEST):
24127 * gst/gstbin.c: (bin_bus_handler):
24128 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24129 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24130 (gst_message_new_warning), (gst_message_new_tag),
24131 (gst_message_new_state_changed), (gst_message_new_segment_start),
24132 (gst_message_new_segment_done), (gst_message_new_custom):
24133 * gst/gstmessage.h:
24134 * tools/gst-launch.c: (event_loop):
24135 * tools/gst-md5sum.c: (event_loop):
24136 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24137 that applications can sensibly post custom messages with references
24138 to their own objects.
24140 2005-08-24 Andy Wingo <wingo@pobox.com>
24142 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24145 2005-08-24 Wim Taymans <wim@fluendo.com>
24147 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24148 (gst_base_transform_transform_caps),
24149 (gst_base_transform_transform_size),
24150 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24151 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24152 (gst_base_transform_handle_buffer):
24153 * gst/base/gstbasetransform.h:
24154 Many fixes and new features added by Thomas. Can now also do
24155 transforms with variable sizes and a custom fixate_caps function.
24157 2005-08-24 Wim Taymans <wim@fluendo.com>
24159 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24163 Cast to ClockTime before formatting to time.
24168 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24170 * check/gst-libs/controller.c: (GST_START_TEST),
24171 (gst_controller_suite):
24172 * docs/gst/tmpl/gstcaps.sgml:
24173 * docs/gst/tmpl/gstghostpad.sgml:
24174 * docs/gst/tmpl/gstquery.sgml:
24175 * docs/gst/tmpl/gstutils.sgml:
24176 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24177 (gst_object_sink_values), (gst_object_get_value_arrays),
24178 (gst_object_get_value_array):
24179 gracefully handle helper method calls to objects that are not beeing
24180 controlled, added test case for that
24182 2005-08-23 Wim Taymans <wim@fluendo.com>
24184 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24185 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24186 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24187 (gst_event_parse_qos), (gst_event_new_seek),
24188 (gst_event_parse_seek):
24190 Some more debugging output and doc cleanups.
24192 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24193 Fix possible deadlock.
24195 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24197 * docs/gst/gstreamer-docs.sgml:
24198 * docs/gst/gstreamer-sections.txt:
24199 * docs/gst/gstreamer.types:
24200 * docs/gst/tmpl/.cvsignore:
24203 * gst/gstelement.c:
24205 added 100 symbols from gstreamer-unused.txt to the right sections
24206 fixed more broken comments
24207 added GstBus to docs
24209 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24211 * docs/gst/gstreamer-sections.txt:
24212 * docs/gst/tmpl/.cvsignore:
24213 * docs/gst/tmpl/gstbin.sgml:
24214 * docs/gst/tmpl/gstbuffer.sgml:
24215 * gst/base/gstbasesrc.c:
24216 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24219 * tools/gst-launch.1.in:
24220 inlined more doc comments, added missing comments and fixed comments
24223 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24225 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24229 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24231 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24232 * gst/gststructure.h:
24233 add a fixate function for booleans; add a FIXME that these func
24234 names should probably be gst_structure_fixate_*
24236 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24238 * docs/gst/gstreamer-docs.sgml:
24239 * docs/gst/gstreamer-sections.txt:
24241 * gst/gstbin.c: (gst_bin_get_type),
24242 (gst_bin_child_proxy_get_child_by_index),
24243 (gst_bin_child_proxy_get_children_count),
24244 (gst_bin_child_proxy_init):
24245 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24246 (gst_child_proxy_get_child_by_index),
24247 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24248 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24249 (gst_child_proxy_get), (gst_child_proxy_set_property),
24250 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24251 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24252 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24253 * gst/gstchildproxy.h:
24254 * gst/parse/grammar.y:
24255 * tools/gst-inspect.c: (print_interfaces),
24256 (print_element_properties_info), (print_element_info):
24257 ported gstchildproxy over from 0.8
24258 ported gst-inspect fixes and enhancements over from 0.8
24260 2005-08-22 Wim Taymans <wim@fluendo.com>
24262 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24263 (gst_base_transform_handle_buffer):
24264 Also call the transform function if we have ANY caps.
24266 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24269 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24271 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24272 Don't pretend to handle seek events if the source is not seekable
24274 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24276 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24277 Remove extra parameter to debug output
24279 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24280 (gst_base_src_do_seek), (gst_base_src_activate_push):
24281 Fix seek event handling.
24283 * gst/gstpipeline.c: (gst_pipeline_change_state):
24284 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24285 (gst_queue_src_activate_push):
24286 Don't start the src pad task on FLUSH_STOP if the pad
24290 2005-08-22 Wim Taymans <wim@fluendo.com>
24292 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24293 Added check for gst_static_caps_get() refcounting.
24295 2005-08-22 Wim Taymans <wim@fluendo.com>
24297 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24298 Make _static_caps_get() refcounting sane.
24300 * gst/gstelement.c: (gst_element_set_state):
24301 Add g_return_val_if_fail() to protect against segfaults.
24303 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24305 * docs/gst/tmpl/gstevent.sgml:
24308 inlined remaining docs, added missing doc comments
24310 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24312 * check/gst/gstbin.c: (GST_START_TEST):
24313 since we don't know when preroll is done, use refcount range
24315 * gst/check/gstcheck.h:
24316 add macro for checking refcount range
24318 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24320 * check/Makefile.am:
24321 clean up environment for when registry gets built versus
24322 when actual tests are run; valgrind seems to not report
24323 leaks if GST_PLUGIN_PATH is set to some specific values
24324 * check/gst/gstbin.c: (GST_START_TEST):
24325 add more refcounting checks; maybe this exposes a
24327 * common/check.mak:
24328 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24329 * gst/check/gstcheck.h:
24330 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24331 (gst_bin_change_state):
24332 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24333 add/fix debugging/whitespace
24335 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24337 * check/gst/gstevent.c: (event_probe), (test_event),
24339 Er, don't call gst_bin_watch_for_state_change you idiot.
24341 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24343 * check/Makefile.am:
24344 Use CHECK_CFLAGS and CHECK_LIBS
24345 * check/gst/gstevent.c: (event_probe), (test_event),
24348 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24349 (gst_base_src_start), (gst_base_src_stop),
24350 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24351 (gst_base_src_change_state):
24352 Sprinkle gst_base_src_stop liberally around error paths to fix
24353 problems reusing a source after failed state changes.
24354 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24355 (helper_find_suggest), (gst_type_find_helper):
24356 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24358 * docs/gst/tmpl/gstevent.sgml:
24359 Migrate part of the docs from the SGML file. Wait for ensonic to
24360 tell me how I did it wrong ;)
24361 * tools/gst-typefind.c: (main):
24362 Extra robustness to state changes between files.
24364 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24366 * check/Makefile.am:
24367 don't valgrind the controller test - it's leaking - Stefan, HELP
24368 * gst/check/gstcheck.c: (gst_check_message_error),
24369 (gst_check_chain_func), (gst_check_setup_element),
24370 (gst_check_teardown_element), (gst_check_setup_src_pad),
24371 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24372 (gst_check_teardown_sink_pad):
24373 * gst/check/gstcheck.h:
24374 add a bunch of methods to set up elements, and src and sink pads
24375 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24376 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24379 * gst/gstmessage.c:
24381 whitespace/doc fixes
24383 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24385 * gst/gstelement.h:
24386 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24387 be handled by the application and not always printed as well
24389 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24391 * check/Makefile.am:
24393 * gst/check/gstcheck.c: (gst_check_message_error):
24394 * gst/check/gstcheck.h:
24395 add a fail_unless_equals_int
24396 add fail_unless for error messages
24398 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24400 * check/Makefile.am:
24402 * common/Makefile.am:
24403 * common/check.mak:
24405 factor out some of the common stuff so we can use it
24407 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24409 * check/Makefile.am:
24410 * check/gst/gstiterator.c: (GST_START_TEST):
24411 * check/gst/gstsystemclock.c: (GST_START_TEST),
24412 (gst_systemclock_suite):
24413 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24415 valgrind more tests
24417 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24419 * check/elements/.cvsignore:
24420 * check/elements/gstfakesrc.c:
24421 rename to name of element
24422 * check/elements/identity.c: (chain_func), (event_func),
24423 (setup_identity), (cleanup_identity), (GST_START_TEST),
24424 (identity_suite), (main):
24425 add a test for identity
24426 * check/Makefile.am:
24427 * pkgconfig/Makefile.am:
24428 * pkgconfig/gstreamer-check.pc.in:
24429 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24433 move the check stuff to a library that gets installed
24434 * check/gst-libs/controller.c: (GST_START_TEST):
24435 * check/gst-libs/gdp.c:
24436 * check/gst/gst.c: (GST_START_TEST):
24437 * check/gst/gstbin.c:
24438 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24439 * check/gst/gstbus.c:
24440 * check/gst/gstcaps.c: (GST_START_TEST):
24441 * check/gst/gstelement.c:
24442 * check/gst/gstghostpad.c:
24443 * check/gst/gstiterator.c:
24444 * check/gst/gstmessage.c:
24445 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24446 * check/gst/gstobject.c:
24447 * check/gst/gstpad.c: (GST_START_TEST):
24448 * check/gst/gststructure.c: (GST_START_TEST):
24449 * check/gst/gstsystemclock.c: (GST_START_TEST),
24450 (gst_systemclock_suite):
24451 * check/gst/gsttag.c: (gst_tag_suite):
24452 * check/gst/gstvalue.c:
24453 * check/pipelines/cleanup.c:
24454 * check/pipelines/simple_launch_lines.c:
24455 * check/states/sinks.c:
24456 change include statement
24458 * docs/gst/gstreamer-sections.txt:
24459 * docs/gst/tmpl/gstpad.sgml:
24460 document more pad stuff
24461 * gst/gstminiobject.c: (gst_mini_object_ref),
24462 (gst_mini_object_unref):
24465 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24467 * docs/gst/tmpl/gst.sgml:
24469 eliminate another tmpl file, fix spelling in the long-description
24471 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24473 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24474 (test_event), (timediff), (gstevents_suite):
24475 Should fix build on 64-bit arch's
24477 2005-08-18 Andy Wingo <wingo@pobox.com>
24479 Make sure that when a pipeline goes to PLAYING, that data has
24480 actually hit the sink.
24482 * check/states/sinks.c (test_sink): A sink that doesn't get any
24483 data shouldn't return SUCCESS for going to either PLAYING or
24484 PAUSED. Test also the return values on the way back down.
24486 * gst/gstelement.c (gst_element_set_state): When changing the
24487 state of an element currently changing state asynchronously, go to
24488 lost-state after commiting the pending state. Makes future calls
24489 to get_state continue to return ASYNC.
24491 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24492 ASYNC when going to PLAYING if we still don't have preroll, as can
24493 happen with live sources.
24495 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24497 * docs/pwg/advanced-types.xml:
24498 Hack long paragraph into 2 chunks as a workaround for buggy
24499 jadetex version in sid and breezy that loops infinitely and
24502 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24504 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24505 (test_event), (timediff), (gstevents_suite):
24506 Provide more error margin in clock measurements to allow for
24507 g_get_current_time inaccuracies.
24509 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24511 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24512 (test_event), (timediff), (gstevents_suite):
24513 Fix error message output so I might be able to tell why the
24514 test works here but fails on the build farm.
24516 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24518 * check/Makefile.am:
24519 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24520 (test_event), (timediff), (gstevents_suite), (main):
24523 * docs/design/part-seeking.txt:
24524 Spelling correction
24526 * docs/gst/tmpl/gstevent.sgml:
24527 * docs/gst/tmpl/gstfakesrc.sgml:
24530 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24531 Treat a buffer-without-newsegment the same as a receiving
24532 a newsegment not in time format, and disable syncing to the clock
24535 * gst/gstbus.c: (gst_bus_set_sync_handler):
24536 Assert if anyone tries to replace the existing sync_handler for bus,
24537 as only the owner should be setting it.
24540 Have a fixed set of custom event enums with events identified by
24541 their structure name (as in 0.8), rather than a free-for-all
24542 allowing collisions between enum values from different plugins.
24544 * gst/gstpad.c: (gst_pad_class_init):
24547 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24548 Handle out-of-band downstream events from the sending thread.
24550 2005-08-17 Andy Wingo <wingo@pobox.com>
24552 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24553 play-timeout==0 to mean no timeout at all. In that case, don't
24554 bother with a get_state or a warning, just return directly, even
24557 * gst/base/gstbasetransform.c: Debug changes.
24560 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24561 ensure bins post state change messages. A bit of a hack but I can't
24562 think of a way to avoid it.
24564 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24566 2005-08-16 Andy Wingo <wingo@pobox.com>
24568 * gst/base/gstadapter.h:
24569 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24570 peek() but you own the data. Not terribly efficient atm.
24572 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24574 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24575 (gst_element_found_tags):
24577 Add two utility functions for tag handling.
24579 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24581 * docs/manual/advanced-dataaccess.xml:
24582 * docs/manual/basics-helloworld.xml:
24583 Fix docs to use _bin_add() before _link(), which fixes the examples
24584 with recent core versions (reported by Madhan Raj M
24585 <raj_madan@rediffmail.com>, #313199).
24587 2005-08-16 Wim Taymans <wim@fluendo.com>
24589 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24590 Added subtract checks.
24592 * docs/design/part-events.txt:
24593 Some more docs about newsegment
24595 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24598 * gst/gstcaps.c: (gst_caps_to_string):
24599 Add comments, cleanups.
24601 * gst/gstelement.c: (gst_element_save_thyself):
24604 * gst/gstvalue.c: (gst_value_collect_int_range),
24605 (gst_string_unwrap), (gst_value_union_int_int_range),
24606 (gst_value_union_int_range_int_range),
24607 (gst_value_intersect_int_int_range),
24608 (gst_value_intersect_int_range_int_range),
24609 (gst_value_intersect_double_double_range),
24610 (gst_value_intersect_double_range_double_range),
24611 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24612 (gst_value_subtract_int_range_int),
24613 (gst_value_subtract_double_range_double),
24614 (gst_value_subtract_double_range_double_range),
24615 (gst_value_subtract_from_list), (gst_value_subtract_list),
24616 (gst_value_can_compare), (gst_value_compare_fraction):
24617 Cleanups, add comments, remove unneeded asserts.
24619 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24621 * tools/gst-launch.c: (event_loop):
24622 don't convert NULL structures to strings
24624 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24626 * docs/gst/gstreamer-sections.txt:
24627 made some defines private
24628 * docs/gst/tmpl/gstconfig.sgml:
24629 * docs/gst/tmpl/gstqueue.sgml:
24630 * docs/gst/tmpl/gsttaglist.sgml:
24631 * docs/gst/tmpl/gsttypes.sgml:
24632 * docs/gst/tmpl/gstutils.sgml:
24633 * docs/pwg/appendix-porting.xml:
24634 * gst/base/gstbasesink.h:
24635 * gst/base/gstbasesrc.c:
24636 * gst/base/gstbasesrc.h:
24637 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24638 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24639 * gst/gstelement.c: (gst_element_class_init):
24640 * gst/gstpad.c: (gst_pad_class_init):
24641 * gst/gstqueue.c: (gst_queue_class_init):
24642 * gst/gstxml.c: (gst_xml_class_init):
24643 documented all undocumented signal inline
24644 * libs/gst/controller/gst-controller.h:
24647 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24649 * docs/pwg/appendix-porting.xml:
24650 Document _set_link_function -> _set_setcaps_function.
24652 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24654 * check/Makefile.am:
24655 add a .check target for running the check
24656 * check/gst-libs/controller.c: (GST_START_TEST):
24658 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24659 complete checks for gstbuffer; would be nice if I could get the
24660 gcov stuff to work so I can see if I actually completed gstbuffer.c
24661 * check/gstcheck.h:
24662 add ASSERT_BUFFER_REFCOUNT
24664 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24666 * docs/gst/gstreamer-sections.txt:
24667 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24669 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24670 spew out a warning if a tag that is already registered
24671 is re-registered, unless it is re-registered with a
24672 different type (#308438).
24674 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24676 * docs/pwg/appendix-porting.xml:
24677 * docs/pwg/building-state.xml:
24678 Add some paragraphs about state changes in 0.9 to the PWG
24679 and the porting guide, in particular about the new meaning
24680 of GST_STATE_PAUSED and how to write state change functions
24681 with concurrent access by multiple threads in mind.
24683 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24685 * docs/gst/gstreamer-docs.sgml:
24686 * docs/libs/gstreamer-libs-docs.sgml:
24687 added deprecation and since indexes
24688 * libs/gst/controller/gst-controller.c:
24689 * libs/gst/controller/gst-helper.c:
24693 2005-08-11 Wim Taymans <wim@fluendo.com>
24695 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24696 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24697 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24698 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24699 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24700 (gst_ghost_pad_set_target):
24701 Actually implement (re)setting the target on a ghostpad
24702 as described in the docs.
24704 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24706 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24707 Check whether GST_DEBUG_NO_COLOR environment variable is
24708 set and disable coloured debug output if that is the case.
24710 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24712 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24713 (gst_type_find_helper):
24714 The memory returned by gst_type_find_peek() needs to
24715 stay valid until the end of a typefind function, and
24716 typefind functions may keep results from different
24717 offsets around, so we can't just unref the buffer from
24718 the previous _peek(), but have to save all buffers
24719 returned by _peek() until typefinding is done and only
24722 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24724 * docs/gst/gstreamer-sections.txt:
24726 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24728 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24730 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24731 Fix a pretty good memleak.
24733 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24735 * gst/gstiterator.h:
24736 Fix wrong include and 'make distcheck'.
24738 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24740 * gst/gstbin.c: (bin_bus_handler):
24741 Use gst_element_post_message() instead.
24743 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24745 * gst/base/gstadapter.h:
24746 * gst/base/gstbasesink.h:
24747 * gst/base/gstbasesrc.h:
24748 * gst/base/gstbasetransform.h:
24749 * gst/base/gstcollectpads.h:
24750 * gst/base/gstpushsrc.h:
24751 * gst/gstiterator.h:
24752 Add padding to our base elements' class and instance structs and
24753 to GstIterator (you will need to rebuild all plugins and apps!)
24755 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24757 * gst/gstbin.c: (bin_bus_handler):
24758 Make default message forwarding from child->bus to bin->bus
24759 threadsafe and make it not emit warnings if the parent has no bus.
24761 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24763 * gst/gstelement.c: (activate_pads):
24764 On paused->ready, set pad->caps to NULL, as is the documented
24765 behaviour in this state change. Fixes playback of series of
24766 media files when visualization is enabled in Totem.
24768 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24770 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24771 Allow NULL as filter-caps (which means "any").
24773 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24775 * docs/libs/gstreamer-libs-sections.txt:
24776 * libs/gst/controller/gst-controller.c:
24777 * libs/gst/controller/gst-controller.h:
24778 * libs/gst/controller/gst-helper.c:
24779 adding more entries to the docs and fix small doc-bugs
24781 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24783 * docs/gst/gstreamer-docs.sgml:
24784 * docs/gst/gstreamer-sections.txt:
24785 * docs/gst/gstreamer.types:
24786 * docs/gst/tmpl/gstbasesink.sgml:
24787 * docs/gst/tmpl/gstbasesrc.sgml:
24788 * docs/gst/tmpl/gstbasetransform.sgml:
24789 * docs/gst/tmpl/gstfakesrc.sgml:
24790 * gst/base/gstcollectpads.c:
24791 * gst/base/gstcollectpads.h:
24792 * libs/gst/controller/gst-controller.c:
24793 * libs/gst/controller/gst-controller.h:
24794 * libs/gst/controller/gst-helper.c:
24795 * libs/gst/controller/gst-interpolation.c:
24796 * libs/gst/controller/lib.c:
24797 added long/short desc for controller docs
24798 added collectpads base class docs
24799 added correct includes to base-class docs
24801 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24803 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24804 (gst_test_mono_source_set_property),
24805 (gst_test_mono_source_class_init), (GST_START_TEST),
24806 (gst_controller_suite):
24807 * docs/gst/gstreamer-docs.sgml:
24808 * docs/gst/gstreamer-sections.txt:
24809 * docs/gst/gstreamer.types:
24810 * docs/libs/gstreamer-libs-docs.sgml:
24811 * docs/libs/gstreamer-libs-sections.txt:
24812 * gst/base/gstadapter.c:
24813 * libs/gst/controller/gst-controller.c:
24814 (gst_controlled_property_new), (gst_controlled_property_free),
24815 (gst_controller_new_valist),
24816 (gst_controller_remove_properties_valist),
24817 (gst_controller_sink_values), (_gst_controller_finalize):
24818 * libs/gst/controller/gst-controller.h:
24819 * libs/gst/controller/gst-helper.c:
24820 (gst_object_control_properties), (gst_object_uncontrol_properties),
24821 (gst_object_get_controller), (gst_object_set_controller),
24822 (gst_object_sink_values), (gst_object_get_value_arrays),
24823 (gst_object_get_value_array):
24824 more tests (and fixes) for the controller
24825 more docs for the controller
24826 integrated companies docs for the adapter
24828 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24830 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24831 (GST_START_TEST), (fakesrc_suite):
24832 add tests for sizetype
24834 2005-08-04 Andy Wingo <wingo@pobox.com>
24836 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24837 fixes buffer_alloc proxying among other things.
24839 * gst/base/gstbasetransform.c:
24840 * gst/base/gstbasetransform.h:
24841 Revert patch to gstbasetransform from 7-28 removing
24844 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24845 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24846 Semantics changed, should return not the size of the output buffer
24847 but the byte size of a buffer with a given caps.
24849 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24851 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24852 out) are not the pad caps until setcaps finishes.
24853 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24854 not-in-place case as well. Deal with changing from in-place to
24855 not-in-place within calling pad_alloc_buffer. Still a bit
24856 concerned about the overhead here...
24858 2005-08-03 Andy Wingo <wingo@pobox.com>
24860 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24861 fixating is an error.
24863 2005-08-04 Edward Hervey <edward@fluendo.com>
24865 * gst/base/gstadapter.h:
24866 Added gst_adapter_get_type() to the header
24868 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24870 * check/Makefile.am:
24871 * check/gst-libs/controller.c:
24872 * libs/gst/controller/gst-controller.c:
24873 (gst_controller_new_valist):
24874 added check test suite for the controller
24875 * gst/base/gstpushsrc.c:
24878 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24880 * docs/gst/Makefile.am:
24881 * docs/gst/gstreamer-docs.sgml:
24882 * docs/gst/gstreamer-sections.txt:
24883 * docs/gst/gstreamer.types:
24884 * docs/gst/tmpl/gstfakesrc.sgml:
24886 * gst/base/gstbasesink.c:
24887 * gst/base/gstbasesink.h:
24888 * gst/base/gstbasesrc.c:
24889 * gst/base/gstbasesrc.h:
24890 * gst/base/gstbasetransform.c:
24891 * gst/base/gstpushsrc.c:
24892 * gst/base/gstpushsrc.h:
24893 add short/long description docs to base classes
24894 add pushsrc to the docs
24895 remove consolidated doc fragments
24897 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24900 * docs/libs/Makefile.am:
24901 * docs/libs/gstreamer-libs-docs.sgml:
24902 * docs/libs/gstreamer-libs-sections.txt:
24903 * docs/libs/gstreamer-libs.types:
24904 * examples/Makefile.am:
24905 * examples/controller/.cvsignore:
24906 * examples/controller/Makefile.am:
24907 * examples/controller/audio-example.c: (main):
24908 * libs/gst/Makefile.am:
24909 * libs/gst/controller/.cvsignore:
24910 * libs/gst/controller/Makefile.am:
24911 * libs/gst/controller/gst-controller.c:
24912 (on_object_controlled_property_changed), (gst_timed_value_compare),
24913 (gst_timed_value_find),
24914 (gst_controlled_property_set_interpolation_mode),
24915 (gst_controlled_property_new), (gst_controlled_property_free),
24916 (gst_controller_find_controlled_property),
24917 (gst_controller_new_valist), (gst_controller_new),
24918 (gst_controller_remove_properties_valist),
24919 (gst_controller_remove_properties), (gst_controller_set),
24920 (gst_controller_set_from_list), (gst_controller_unset),
24921 (gst_controller_get), (gst_controller_get_all),
24922 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24923 (gst_controller_get_value_array),
24924 (gst_controller_set_interpolation_mode),
24925 (_gst_controller_finalize), (_gst_controller_init),
24926 (_gst_controller_class_init), (gst_controller_get_type):
24927 * libs/gst/controller/gst-controller.h:
24928 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24929 (g_object_uncontrol_properties), (g_object_get_controller),
24930 (g_object_set_controller), (g_object_sink_values),
24931 (g_object_get_value_arrays), (g_object_get_value_array):
24932 * libs/gst/controller/gst-interpolation.c:
24933 (gst_controlled_property_find_timed_value_node),
24934 (interpolate_none_get), (interpolate_trigger_get),
24935 (interpolate_trigger_get_value_array):
24936 * libs/gst/controller/lib.c: (gst_controller_init):
24937 * pkgconfig/Makefile.am:
24938 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24939 * pkgconfig/gstreamer-control.pc.in:
24940 * testsuite/Makefile.am:
24941 * testsuite/controller/.cvsignore:
24942 * testsuite/controller/Makefile.am:
24943 * testsuite/controller/interpolator.c: (main):
24944 added controller code
24945 removed dparam pc files
24947 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24948 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24949 (gst_collectpads_stop):
24950 Broadcast the condition when shutting down, to make sure we wake all
24951 threads up. Shut down pads on finalize, for safety.
24953 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24954 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24955 (gst_base_transform_handle_buffer),
24956 (gst_base_transform_change_state):
24957 Handle PAUSED->READY->PAUSED transition after negotiation
24959 * gst/gstmessage.c: (gst_message_init):
24960 Extra piece of debug for new messages.
24962 2005-08-01 Stefan Kost <ensonic@users.sf.net>
24965 * docs/gst/tmpl/gstbasesrc.sgml:
24966 * docs/gst/tmpl/gstelement.sgml:
24967 * docs/gst/tmpl/gstevent.sgml:
24968 * docs/gst/tmpl/gstfakesrc.sgml:
24969 * docs/gst/tmpl/gstformat.sgml:
24970 * docs/gst/tmpl/gstghostpad.sgml:
24971 * docs/gst/tmpl/gstpad.sgml:
24972 * docs/gst/tmpl/gstquery.sgml:
24973 * docs/gst/tmpl/gststructure.sgml:
24974 * docs/gst/tmpl/gsttaglist.sgml:
24975 * docs/gst/tmpl/gstvalue.sgml:
24976 * docs/libs/gstreamer-libs-docs.sgml:
24977 * docs/libs/gstreamer-libs-sections.txt:
24978 * docs/libs/gstreamer-libs.types:
24979 * libs/gst/Makefile.am:
24980 * libs/gst/control/.cvsignore:
24981 * libs/gst/control/Makefile.am:
24982 * libs/gst/control/control.c:
24983 * libs/gst/control/control.h:
24984 * libs/gst/control/dparam.c:
24985 * libs/gst/control/dparam.h:
24986 * libs/gst/control/dparam_smooth.c:
24987 * libs/gst/control/dparam_smooth.h:
24988 * libs/gst/control/dparamcommon.h:
24989 * libs/gst/control/dparammanager.c:
24990 * libs/gst/control/dparammanager.h:
24991 * libs/gst/control/dplinearinterp.c:
24992 * libs/gst/control/dplinearinterp.h:
24993 * libs/gst/control/unitconvert.c:
24994 * libs/gst/control/unitconvert.h:
24995 * testsuite/Makefile.am:
24996 * testsuite/dynparams/.cvsignore:
24997 * testsuite/dynparams/Makefile.am:
24998 * testsuite/dynparams/dparamstest.c:
24999 * tools/Makefile.am:
25000 * tools/gst-inspect.c: (print_element_info), (main):
25001 * tools/gst-xmlinspect.c: (print_element_info), (main):
25002 deactivate and remove dparams (libgstcontrol)
25004 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25006 * gst/elements/gsttypefindelement.c:
25007 (gst_type_find_element_have_type), (gst_type_find_element_init),
25008 (stop_typefinding), (gst_type_find_element_handle_event),
25009 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25010 * gst/elements/gsttypefindelement.h:
25011 Set caps on all outgoing buffers, not just the first one.
25013 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25015 * gst/elements/gsttypefindelement.c:
25016 (gst_type_find_element_have_type),
25017 (gst_type_find_element_check_set_buffer_caps),
25018 (gst_type_find_element_init), (stop_typefinding),
25019 (gst_type_find_element_handle_event),
25020 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25021 * gst/elements/gsttypefindelement.h:
25022 Set caps on first outgoing buffer when we've found the type.
25024 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25026 * docs/gst/gstreamer-docs.sgml:
25027 * docs/gst/gstreamer-sections.txt:
25028 * docs/gst/tmpl/gstscheduler.sgml:
25029 * docs/gst/tmpl/gstschedulerfactory.sgml:
25030 Remove some old cruft from docs.
25032 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25035 Fix inline docs for GstPadLinkReturn.
25037 * gst/gststructure.c: (gst_structure_has_name):
25038 * gst/gststructure.h:
25039 * docs/gst/gstreamer-sections.txt:
25040 New API: gst_structure_has_name().
25042 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25045 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25046 and _LARGEFILE_SOURCE in config.h as required. Do not
25047 export those flags in our .pc files any longer (#142209).
25049 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25051 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25052 (gst_file_sink_do_seek), (gst_file_sink_event),
25053 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25054 Redo seek/tell calls with large file support in mind; add some
25055 debugging messages; add log message that tells us when large
25056 file support is unavailable or not enabled for some reason.
25058 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25059 Add log message that tells us when large file support
25060 is unavailable or not enabled for some reason.
25062 2005-07-29 Wim Taymans <wim@fluendo.com>
25064 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25065 Added test for removing an element with ghostpad from a bin.
25066 Fixed test as current implementation does the right thing.
25068 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25069 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25070 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25071 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25072 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25073 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25074 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25075 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25076 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25077 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25078 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25079 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25080 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25081 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25082 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25083 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25084 * gst/gstghostpad.h:
25085 Clean up ghostpads, remove properties for internal stuff.
25088 Prepare for switching targets, not all use cases work yet.
25090 2005-07-29 Wim Taymans <wim@fluendo.com>
25092 * docs/design/part-gstghostpad.txt:
25095 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25096 (gst_bin_remove_func):
25097 Unlinking pads while holding the bin LOCK is not a good
25100 * gst/gstpad.c: (gst_pad_class_init),
25101 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25102 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25103 No prob setting template after creating the pad.
25105 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25107 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25108 (gst_bus_peek), (gst_bus_source_dispatch),
25109 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25110 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25111 gst_bus_poll may be called from other threads. Handle
25112 this nicely by not making poll_data disappear off the
25113 stack once gst_bus_poll returns.
25114 gst_bus_peek now increments the refcount on the returned
25117 2005-07-29 Wim Taymans <wim@fluendo.com>
25119 * docs/design/part-gstghostpad.txt:
25120 Overview of current GhostPad datastructures and use
25121 cases for changing the target.
25123 2005-07-28 Wim Taymans <wim@fluendo.com>
25125 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25126 Added checks for hierarchy consistency whan adding linked
25129 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25130 Added check to test element scheduling without bin/pipeline.
25132 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25133 First add elements to bin, then link.
25135 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25136 (gst_bin_remove_func):
25137 Unlink pads from elements added/removed from bin to maintain
25138 hierarchy consistency.
25140 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25142 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25143 (gst_base_transform_handle_buffer):
25144 * gst/base/gstbasetransform.h:
25145 Remove broken delay_configure (fixes renegotiation of software
25146 scaling pipelines); remove some leftover printf()s.
25148 2005-07-28 Wim Taymans <wim@fluendo.com>
25150 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25151 Added some more tests for wrong hierarchy
25153 * docs/design/part-overview.txt:
25156 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25159 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25160 (gst_element_dispose):
25161 Some more cleanups.
25163 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25164 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25165 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25166 (gst_pad_set_caps), (gst_pad_send_event):
25167 Check for correct hierarchy when linking pads. Moving to
25168 strict requirement for ghostpads when linking elements in
25172 Clean ups. Added WRONG_HIERARCHY return value.
25174 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25176 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25177 Better debug if no transform is possible.
25179 2005-07-27 Wim Taymans <wim@fluendo.com>
25181 * docs/random/wtay/network-transp:
25182 Some old doc I had.
25184 2005-07-27 Wim Taymans <wim@fluendo.com>
25186 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25187 (gst_dp_event_from_packet):
25188 Fix serialization of seek events.
25190 2005-07-27 Wim Taymans <wim@fluendo.com>
25192 * check/gst-libs/gdp.c: (GST_START_TEST):
25193 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25194 Fix compilation and fix event serialization.
25196 2005-07-27 Wim Taymans <wim@fluendo.com>
25199 * docs/design/part-TODO.txt:
25200 * docs/design/part-events.txt:
25203 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25204 (gst_base_sink_event), (gst_base_sink_do_sync),
25205 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25206 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25207 (gst_base_src_do_seek), (gst_base_src_event_handler),
25208 (gst_base_src_loop):
25209 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25210 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25211 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25212 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25213 (gst_base_transform_set_passthrough),
25214 (gst_base_transform_is_passthrough):
25215 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25216 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25222 * gst/gstelement.c: (gst_element_seek):
25223 * gst/gstelement.h:
25224 Update gst_element_seek.
25226 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25227 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25228 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25229 (gst_event_new_eos), (gst_event_new_newsegment),
25230 (gst_event_parse_newsegment), (gst_event_new_tag),
25231 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25232 (gst_event_parse_qos), (gst_event_new_seek),
25233 (gst_event_parse_seek), (gst_event_new_navigation):
25235 Make GstEvent use GstStructure. Add parsing code, make sure the
25236 API is sufficiently generic.
25237 Mark possible directions of events and serialization.
25239 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25240 (_gst_message_copy), (gst_message_new_segment_start),
25241 (gst_message_new_segment_done), (gst_message_new_custom),
25242 (gst_message_parse_segment_start),
25243 (gst_message_parse_segment_done):
25246 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25247 (gst_pad_set_caps), (gst_pad_send_event):
25248 Update for new events.
25249 Catch events sent in wrong directions.
25251 * gst/gstqueue.c: (gst_queue_link_src),
25252 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25253 (gst_queue_handle_src_query):
25258 Remove event code from this file.
25260 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25261 (gst_dp_event_from_packet):
25264 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25266 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25267 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25268 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25269 Make debugging actually useful.
25271 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25273 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25274 (gst_pad_fixate_caps):
25275 Implement default fixation once again, so that gst_pad_fixate()
25276 actually does anything at all. This probably needs to be some
25277 sort of a last resort, and use profile-based fixation first, but
25278 since that doesn't exist yet, this is the best we have. Fixes
25279 visualization in Totem.
25281 2005-07-22 Wim Taymans <wim@fluendo.com>
25283 * docs/design/part-events.txt:
25286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25287 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25288 (gst_base_sink_activate_pull):
25289 Some more comments.
25291 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25292 (gst_fake_src_create):
25293 Fix handoff marshall.
25295 * gst/elements/gstidentity.c: (gst_identity_class_init),
25296 (gst_identity_transform_ip):
25297 We're a real inplace element.
25299 * gst/gstbus.c: (gst_bus_post):
25300 Added some comments.
25302 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25303 * tests/muxing/case1.c: (main):
25304 * tests/sched/dynamic-pipeline.c: (main):
25305 * tests/sched/interrupt1.c: (main):
25306 * tests/sched/interrupt2.c: (main):
25307 * tests/sched/interrupt3.c: (main):
25308 * tests/sched/runxml.c: (main):
25309 * tests/sched/sched-stress.c: (main):
25310 * tests/seeking/seeking1.c: (event_received), (main):
25311 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25313 * tests/threadstate/threadstate3.c: (main):
25314 * tests/threadstate/threadstate4.c: (main):
25315 * tests/threadstate/threadstate5.c: (main):
25318 2005-07-21 Wim Taymans <wim@fluendo.com>
25320 * docs/design/part-seeking.txt:
25321 Some small additions.
25323 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25324 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25325 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25326 * gst/base/gstbasesink.h:
25327 discont values are gint64, handle the math correctly.
25329 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25330 Make the basesrc report error if the source pad is not linked.
25332 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25333 (gst_queue_loop), (gst_queue_handle_src_query),
25334 (gst_queue_src_activate_push):
25335 Make queue collect data even if the srcpad is not linked.
25336 Start pushing out data as soon as it is linked.
25338 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25340 Added gst_flow_get_name() to ease error reporting.
25342 2005-07-20 Wim Taymans <wim@fluendo.com>
25344 * gst/gstmessage.c: (gst_message_new_segment_start),
25345 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25346 (gst_message_parse_segment_done):
25347 * gst/gstmessage.h:
25348 Added a bunch of messages for advanced seeking.
25350 * gst/parse/grammar.y:
25351 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25352 (gst_dpman_state_changed):
25353 Fix some new-pad -> pad-added signals
25355 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25357 * docs/manual/appendix-porting.xml:
25358 * docs/pwg/appendix-porting.xml:
25359 Document new-pad/state-change signal renames and the FixedList
25362 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25364 * docs/manual/advanced-autoplugging.xml:
25365 * docs/manual/basics-helloworld.xml:
25366 * docs/manual/basics-pads.xml:
25367 * docs/random/ds/0.9-suggested-changes:
25368 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25369 * gst/gstelement.h:
25373 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25374 (gst_structure_parse_array), (gst_structure_parse_value):
25375 * gst/gstvalue.c: (gst_type_is_fixed),
25376 (gst_value_list_prepend_value), (gst_value_list_append_value),
25377 (gst_value_list_get_size), (gst_value_list_get_value),
25378 (gst_value_transform_array_string), (gst_value_serialize_array),
25379 (gst_value_deserialize_array), (gst_value_intersect_array),
25380 (gst_value_is_fixed), (_gst_value_initialize):
25382 GstElement::new-pad -> pad-added, GstElement::state-change ->
25383 state-changed, GstValueFixedList -> GstValueArray, add format and
25384 flags as their own arguments in gst_element_seek() (should improve
25385 "bindeability"), remove function generators since they don't work
25386 under a whole bunch of compilers (they were deprecated already
25389 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25391 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25392 (_gst_debug_register_funcptr):
25394 Fix illegal cast on some platforms (#309253).
25396 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25398 * gst/gstmessage.c: (gst_message_new_custom):
25399 * gst/gstmessage.h:
25400 Add _new_custom, make _new_application a macro to _new_custom.
25402 2005-07-20 Wim Taymans <wim@fluendo.com>
25404 * gst/base/gstbasesrc.c: (gst_base_src_init),
25405 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25406 * gst/base/gstbasesrc.h:
25407 Add a gboolean to decide when to push out a discont.
25409 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25410 (gst_queue_loop), (gst_queue_handle_src_query),
25411 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25412 (gst_queue_set_property), (gst_queue_get_property):
25415 * tests/threadstate/threadstate1.c: (main):
25416 Make a thread test compile and run... very silly..
25419 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25421 * docs/manual/appendix-porting.xml:
25422 Mention removal of libgstgconf-0.9.la and existence of gconf
25425 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25427 * docs/pwg/advanced-clock.xml:
25428 * docs/pwg/appendix-porting.xml:
25429 * docs/pwg/intro-preface.xml:
25430 * docs/pwg/other-base.xml:
25431 * docs/pwg/other-manager.xml:
25432 * docs/pwg/other-nton.xml:
25433 * docs/pwg/other-ntoone.xml:
25434 * docs/pwg/other-oneton.xml:
25435 * docs/pwg/pwg.xml:
25436 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25437 demuxer), remove n-to-n (was never written), fix some code examples
25438 and links and update the porting section to include all this.
25440 2005-07-19 Wim Taymans <wim@fluendo.com>
25442 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25443 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25444 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25445 (gst_queue_src_activate_push), (gst_queue_change_state),
25446 (gst_queue_get_property):
25448 Propagate GstFlowReturn more intelligently upstream and output
25449 an ERROR/EOS when streaming stopped due to fatal error.
25451 2005-07-19 Wim Taymans <wim@fluendo.com>
25453 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25454 Don't block forever for the state change to complete, the
25455 pipeline already did with a sensible timeout.
25457 2005-07-19 Wim Taymans <wim@fluendo.com>
25459 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25460 Make sure we never call the create function is we
25463 2005-07-19 Andy Wingo <wingo@pobox.com>
25465 * gst/parse/parse.l: Attempt to solve bug #172815.
25467 2005-07-19 Wim Taymans <wim@fluendo.com>
25469 * docs/design/part-clocks.txt:
25470 * docs/design/part-events.txt:
25471 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25472 Small docs updates.
25473 Only update the seeking values when we are not
25476 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25478 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25479 Oops, ignore the result of gst_pad_push_event here.
25481 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25483 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25484 (gst_base_src_activate_push):
25485 Send discont event from the loop function, as pads
25486 aren't activated yet in the activate_push handler.
25488 * gst/gstbin.c: (bin_bus_handler):
25489 Don't leak element name.
25491 2005-07-18 Andy Wingo <wingo@pobox.com>
25493 * configure.ac: Use AS_LIBTOOL_TAGS.
25495 2005-07-18 Wim Taymans <wim@fluendo.com>
25497 * docs/gst/gstreamer.types:
25498 Remove deleted types.
25500 2005-07-18 Wim Taymans <wim@fluendo.com>
25502 * check/elements/gstfakesrc.c: (GST_START_TEST):
25505 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25506 (init_popt_callback):
25508 * gst/gst_private.h:
25509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25510 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25513 * gst/gstconfig.h.in:
25514 * gst/gstelement.c: (gst_element_class_init),
25515 (gst_element_set_base_time), (gst_element_get_base_time),
25516 (iterator_fold_with_resync), (gst_element_change_state),
25517 (gst_element_dispose), (gst_element_get_bus):
25518 * gst/gstelement.h:
25519 * gst/gstelementfactory.h:
25520 * gst/gsterror.c: (_gst_core_errors_init):
25523 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25525 * gst/gstinfo.c: (_gst_debug_init):
25526 * gst/gstmessage.c: (_gst_message_copy):
25527 * gst/gstmessage.h:
25528 * gst/gstminiobject.h:
25531 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25532 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25535 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25536 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25537 (gst_pipeline_get_last_stream_time):
25538 * gst/gstpipeline.h:
25539 * gst/gstpluginfeature.h:
25541 * gst/gstscheduler.c:
25542 * gst/gstscheduler.h:
25543 * gst/gststructure.h:
25544 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25545 (gst_task_finalize), (gst_task_func), (gst_task_create),
25546 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25547 (gst_task_stop), (gst_task_pause):
25549 * gst/gsttypefind.h:
25551 * gst/registries/gstlibxmlregistry.c: (load_feature),
25552 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25553 * gst/registries/gstxmlregistry.c:
25554 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25555 * gst/schedulers/threadscheduler.c:
25556 * libs/gst/control/dparammanager.h:
25557 * tools/gst-inspect.c: (print_element_list),
25558 (print_plugin_features), (print_element_features):
25559 * tools/gst-xmlinspect.c: (print_element_list),
25560 (print_plugin_info), (main):
25561 Removed plugable schedulers.
25562 Removed Scheduler/Manager from elements.
25563 Removed gsttypes.h, rearranged includes.
25564 Removed dependency pad<->element, element<>pipeline, and
25565 various others, fix includes.
25566 implement gst_pad_get_parent() with gst_object_get_parent()
25567 Make GstTask sefcontained.
25568 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25570 Fix endless loop in iterator_fold_with_resync.
25573 2005-07-18 Wim Taymans <wim@fluendo.com>
25579 2005-07-18 Wim Taymans <wim@fluendo.com>
25582 No more cothreads.h
25584 2005-07-18 Wim Taymans <wim@fluendo.com>
25588 Let's remove these.
25590 2005-07-18 Wim Taymans <wim@fluendo.com>
25592 * docs/design/part-dynamic.txt:
25593 * docs/design/part-events.txt:
25594 * docs/design/part-seeking.txt:
25595 Some more docs in the works.
25597 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25598 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25599 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25600 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25601 (gst_base_transform_handle_buffer),
25602 (gst_base_transform_sink_activate_push),
25603 (gst_base_transform_src_activate_pull),
25604 (gst_base_transform_set_passthrough),
25605 (gst_base_transform_is_passthrough):
25608 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25611 * gst/gstevent.c: (gst_event_finalize):
25614 * gst/gstutils.c: (gst_element_unlink),
25615 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25616 (gst_pad_proxy_setcaps):
25618 Add _get_parent_element() to get a pads parent as an element.
25620 2005-07-18 Wim Taymans <wim@fluendo.com>
25622 * check/gst/gstbin.c: (GST_START_TEST):
25625 2005-07-18 Wim Taymans <wim@fluendo.com>
25627 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25628 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25629 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25630 (gst_base_sink_event), (gst_base_sink_do_sync),
25631 (gst_base_sink_chain), (gst_base_sink_loop),
25632 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25633 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25635 Fix logic for returning ASYNC when not prerolled.
25637 2005-07-18 Wim Taymans <wim@fluendo.com>
25639 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25640 Fix nasty refcount bug.
25642 2005-07-16 Philippe Khalaf <burger@speedy.org>
25644 * gst/elements/gstfdsrc.c:
25645 * gst/elements/gstfdsrc.h:
25646 * gst/elements/gstelements.c:
25647 * gst/elements/Makefile.am:
25648 Ported fdsrc to 0.9.
25650 2005-07-16 Wim Taymans <wim@fluendo.com>
25652 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25653 (gst_base_sink_do_sync):
25656 2005-07-16 Wim Taymans <wim@fluendo.com>
25658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25659 (gst_base_sink_event), (gst_base_sink_get_times),
25660 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25661 * gst/base/gstbasesink.h:
25662 Store and use discont values when syncing buffers as described
25665 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25666 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25667 (gst_base_src_activate_push):
25668 Push discont event when starting.
25670 * gst/elements/gstidentity.c: (gst_identity_transform):
25673 * gst/gstbin.c: (gst_bin_change_state):
25674 Small cleanups in base_time distribution.
25676 * gst/gstelement.c: (gst_element_set_base_time),
25677 (gst_element_get_base_time), (gst_element_change_state):
25678 * gst/gstelement.h:
25679 Added methods for the base_time of the element.
25682 * gst/gstpipeline.c: (gst_pipeline_send_event),
25683 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25684 (gst_pipeline_get_last_stream_time):
25685 * gst/gstpipeline.h:
25687 Handle seeking as described in design doc, remove stream_time
25689 Cleanups clock and stream_time selection code. Added accessors
25690 for the stream_time.
25693 2005-07-16 Andy Wingo <wingo@pobox.com>
25695 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25698 2005-07-16 Wim Taymans <wim@fluendo.com>
25700 * check/gst/gstbin.c: (GST_START_TEST):
25701 Make elements silent as the deep_notify refs the
25702 parent, which might make the test fail.
25704 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25705 Don't hold the lock for too long.
25707 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25709 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25710 Don't unref the caps we passed to gst_caps_make_writable() after
25711 passing them. gst_caps_make_writable() will do that for us.
25713 2005-07-15 Andy Wingo <wingo@pobox.com>
25715 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25718 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25719 own marshalling function for the handoff signal. Properly type the
25720 buffer as a buffer. Fixes some warnings. Should do a more general
25722 (gst_identity_class_init): Plug into the right marshaller.
25724 2005-07-15 Wim Taymans <wim@fluendo.com>
25726 * docs/design/part-TODO.txt:
25727 * docs/design/part-clocks.txt:
25728 * docs/design/part-element-sink.txt:
25729 * docs/design/part-events.txt:
25730 * docs/design/part-gstpipeline.txt:
25731 Updated docs, mostly DISCONT related.
25733 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25735 * docs/pwg/building-pads.xml:
25736 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25738 2005-07-15 Andy Wingo <wingo@pobox.com>
25740 * tools/gst-typefind.c: Update, add copyright block.
25742 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25743 Normalize and truncate caps before fixation.
25746 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25747 discards all but the first structure from its argument.
25749 2005-07-15 Wim Taymans <wim@fluendo.com>
25751 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25752 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25753 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25754 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25755 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25756 (gst_base_transform_chain), (gst_base_transform_change_state),
25757 (gst_base_transform_set_passthrough),
25758 (gst_base_transform_is_passthrough):
25759 * gst/base/gstbasetransform.h:
25760 Make passthrough work using the bufferpools.
25761 Changed API a bit, subclasses have to write into a buffer
25762 provided by the base class.
25763 More debug info in nego functions.
25765 * gst/elements/gstidentity.c: (gst_identity_init),
25766 (gst_identity_transform):
25767 Port to new base class.
25769 2005-07-15 Wim Taymans <wim@fluendo.com>
25771 * gst/gstmessage.c: (gst_message_new_state_changed):
25772 * tools/gst-launch.c: (event_loop), (main):
25773 Totally dump messages in -launch with the -m option.
25774 Fix message name for State messages,
25776 2005-07-14 Wim Taymans <wim@fluendo.com>
25778 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25779 Post error messages on errors.
25781 2005-07-14 Wim Taymans <wim@fluendo.com>
25783 * gst/gstcaps.c: (gst_caps_do_simplify):
25787 Define error for stream stopped.
25789 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25790 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25791 Do proper return values.
25793 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25794 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25795 (gst_pad_get_range):
25796 Better return values.
25799 Reorganise return values, add macro to check for fatal errors.
25801 * gst/gstqueue.c: (gst_queue_chain):
25802 Return proper GstFlowReturn values,
25804 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25806 * docs/gst/gstreamer-sections.txt:
25807 * docs/gst/gstreamer.types:
25808 * docs/gst/tmpl/gst.sgml:
25809 * docs/gst/tmpl/gstbasesink.sgml:
25810 * docs/gst/tmpl/gstbasesrc.sgml:
25811 * docs/gst/tmpl/gstbasetransform.sgml:
25812 * docs/gst/tmpl/gstbin.sgml:
25813 * docs/gst/tmpl/gstbuffer.sgml:
25814 * docs/gst/tmpl/gstcaps.sgml:
25815 * docs/gst/tmpl/gstclock.sgml:
25816 * docs/gst/tmpl/gstcompat.sgml:
25817 * docs/gst/tmpl/gstconfig.sgml:
25818 * docs/gst/tmpl/gstelement.sgml:
25819 * docs/gst/tmpl/gstelementdetails.sgml:
25820 * docs/gst/tmpl/gstelementfactory.sgml:
25821 * docs/gst/tmpl/gstenumtypes.sgml:
25822 * docs/gst/tmpl/gsterror.sgml:
25823 * docs/gst/tmpl/gstevent.sgml:
25824 * docs/gst/tmpl/gstfakesink.sgml:
25825 * docs/gst/tmpl/gstfakesrc.sgml:
25826 * docs/gst/tmpl/gstfilesink.sgml:
25827 * docs/gst/tmpl/gstfilesrc.sgml:
25828 * docs/gst/tmpl/gstfilter.sgml:
25829 * docs/gst/tmpl/gstformat.sgml:
25830 * docs/gst/tmpl/gstghostpad.sgml:
25831 * docs/gst/tmpl/gstimplementsinterface.sgml:
25832 * docs/gst/tmpl/gstindex.sgml:
25833 * docs/gst/tmpl/gstindexfactory.sgml:
25834 * docs/gst/tmpl/gstinfo.sgml:
25835 * docs/gst/tmpl/gstiterator.sgml:
25836 * docs/gst/tmpl/gstmacros.sgml:
25837 * docs/gst/tmpl/gstmemchunk.sgml:
25838 * docs/gst/tmpl/gstminiobject.sgml:
25839 * docs/gst/tmpl/gstobject.sgml:
25840 * docs/gst/tmpl/gstpad.sgml:
25841 * docs/gst/tmpl/gstpadtemplate.sgml:
25842 * docs/gst/tmpl/gstparse.sgml:
25843 * docs/gst/tmpl/gstpipeline.sgml:
25844 * docs/gst/tmpl/gstplugin.sgml:
25845 * docs/gst/tmpl/gstpluginfeature.sgml:
25846 * docs/gst/tmpl/gstquery.sgml:
25847 * docs/gst/tmpl/gstqueue.sgml:
25848 * docs/gst/tmpl/gstregistry.sgml:
25849 * docs/gst/tmpl/gstregistrypool.sgml:
25850 * docs/gst/tmpl/gstscheduler.sgml:
25851 * docs/gst/tmpl/gstschedulerfactory.sgml:
25852 * docs/gst/tmpl/gststructure.sgml:
25853 * docs/gst/tmpl/gstsystemclock.sgml:
25854 * docs/gst/tmpl/gsttaglist.sgml:
25855 * docs/gst/tmpl/gsttagsetter.sgml:
25856 * docs/gst/tmpl/gsttrace.sgml:
25857 * docs/gst/tmpl/gsttrashstack.sgml:
25858 * docs/gst/tmpl/gsttypefind.sgml:
25859 * docs/gst/tmpl/gsttypefindfactory.sgml:
25860 * docs/gst/tmpl/gsttypes.sgml:
25861 * docs/gst/tmpl/gsturihandler.sgml:
25862 * docs/gst/tmpl/gsturitype.sgml:
25863 * docs/gst/tmpl/gstutils.sgml:
25864 * docs/gst/tmpl/gstvalue.sgml:
25865 * docs/gst/tmpl/gstversion.sgml:
25866 * docs/gst/tmpl/gstxml.sgml:
25867 * docs/libs/tmpl/gstcontrol.sgml:
25868 * docs/libs/tmpl/gstdataprotocol.sgml:
25869 * docs/libs/tmpl/gstdparam.sgml:
25870 * docs/libs/tmpl/gstdplinint.sgml:
25871 * docs/libs/tmpl/gstdpman.sgml:
25872 * docs/libs/tmpl/gstdpsmooth.sgml:
25873 * docs/libs/tmpl/gstgetbits.sgml:
25874 * docs/libs/tmpl/gstunitconvert.sgml:
25875 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25876 (gst_push_src_base_init), (gst_push_src_class_init),
25877 (gst_push_src_init), (gst_push_src_create):
25878 * gst/base/gstpushsrc.h:
25879 * gst/elements/gstelements.c:
25880 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25881 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25882 (gst_fake_sink_init), (gst_fake_sink_set_property),
25883 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25884 (gst_fake_sink_event), (gst_fake_sink_preroll),
25885 (gst_fake_sink_render), (gst_fake_sink_change_state):
25886 * gst/elements/gstfakesink.h:
25887 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25888 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25889 (gst_fake_src_base_init), (gst_fake_src_class_init),
25890 (gst_fake_src_init), (gst_fake_src_event_handler),
25891 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25892 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25893 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25894 (gst_fake_src_create_buffer), (gst_fake_src_create),
25895 (gst_fake_src_start), (gst_fake_src_stop):
25896 * gst/elements/gstfakesrc.h:
25897 * gst/elements/gstfilesink.c: (_do_init),
25898 (gst_file_sink_base_init), (gst_file_sink_class_init),
25899 (gst_file_sink_init), (gst_file_sink_dispose),
25900 (gst_file_sink_set_location), (gst_file_sink_set_property),
25901 (gst_file_sink_get_property), (gst_file_sink_open_file),
25902 (gst_file_sink_close_file), (gst_file_sink_query),
25903 (gst_file_sink_event), (gst_file_sink_render),
25904 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25905 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25906 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25907 * gst/elements/gstfilesink.h:
25908 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25909 (gst_file_src_class_init), (gst_file_src_init),
25910 (gst_file_src_finalize), (gst_file_src_set_location),
25911 (gst_file_src_set_property), (gst_file_src_get_property),
25912 (gst_file_src_map_region), (gst_file_src_map_small_region),
25913 (gst_file_src_create_mmap), (gst_file_src_create_read),
25914 (gst_file_src_create), (gst_file_src_is_seekable),
25915 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25916 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25917 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25918 (gst_file_src_uri_handler_init):
25919 * gst/elements/gstfilesrc.h:
25920 more autistic cleanliness in functions/names/defines
25922 2005-07-13 Andy Wingo <wingo@pobox.com>
25924 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25925 source couldn't negotiate.
25927 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25931 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25932 function. I am channeling Hades. Put your boots on suckers!!!
25934 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25936 * testsuite/caps/Makefile.am:
25937 * testsuite/caps/value_compare.c:
25938 * testsuite/caps/value_intersect.c:
25939 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25940 move two testsuite apps over to the check dir
25942 2005-07-12 Wim Taymans <wim@fluendo.com>
25944 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25945 Added more debug info in the negotiate process.
25947 * gst/gstmessage.h:
25948 Prepare for segment playback.
25950 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25956 * tools/gst-launch.c: (main):
25957 NULL pipeline on errors.
25959 2005-07-12 Andy Wingo <wingo@pobox.com>
25961 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25962 not it comes from a malloc region. Make sure our copy gets freed.
25964 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25966 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25967 * check/gst/gstmessage.c: (GST_START_TEST):
25968 * check/gst/gststructure.c: (GST_START_TEST),
25969 (gst_structure_suite), (main):
25971 * gst/gstelement.c: (gst_element_message_full):
25972 clean up GError and debug string now that they get copied
25973 * gst/gstmessage.c: (gst_message_new_error),
25974 (gst_message_new_warning), (gst_message_parse_error),
25975 (gst_message_parse_warning):
25976 use GST_TYPE_G_ERROR for structure_new, and take copies of
25977 arguments, so that we don't mess up refcounting
25979 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25981 * check/Makefile.am:
25982 add per-test valgrind targets
25983 * check/gst-libs/gdp.c: (GST_START_TEST),
25984 (gst_data_protocol_suite), (main):
25987 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25989 * check/Makefile.am:
25990 instate more valgrindable tests
25991 * check/elements/gstfakesrc.c: (chain_func), (event_func),
25992 (GST_START_TEST), (fakesrc_suite):
25993 * check/gst/gstpad.c: (GST_START_TEST):
25994 * check/gst/gststructure.c: (GST_START_TEST):
25996 * docs/gst/tmpl/gstminiobject.sgml:
25997 * gst/gstpad.c: (gst_pad_finalize):
25998 fix the static mutex leak
26000 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26002 * check/Makefile.am:
26003 add two more tests for valgrinding
26004 * check/gst/gstvalue.c: (GST_START_TEST):
26005 test refcount of deserialized buffer, found a leak
26006 * docs/gst/gstreamer-docs.sgml:
26007 * docs/gst/gstreamer-sections.txt:
26008 * docs/gst/gstreamer.types:
26009 * docs/gst/tmpl/gstminiobject.sgml:
26010 add miniobject to docs
26011 * gst/gstminiobject.c:
26013 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26014 (gst_string_unwrap):
26015 fix a hard-to-find invalid write for one of the tests
26016 fix a leak for deserialized buffers
26018 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26020 * docs/pwg/advanced-events.xml:
26021 * docs/pwg/advanced-request.xml:
26022 * docs/pwg/advanced-scheduling.xml:
26023 * docs/pwg/appendix-porting.xml:
26024 * docs/pwg/building-boiler.xml:
26025 * docs/pwg/intro-preface.xml:
26026 * docs/pwg/other-ntoone.xml:
26027 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26028 of example code and explanation for pad activation, loop() and
26029 getrange() functions and a bit more. Remove old comments pointing
26031 * examples/pwg/Makefile.am:
26032 Add loop/getrange examples.
26034 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26037 check for valgrind binary + some fixes
26039 valgrind suppressions for the tests
26040 * check/Makefile.am:
26041 add a valgrind: target that valgrinds the unit tests
26042 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26043 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26044 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26045 * check/gst/gstghostpad.c:
26047 * check/gst/gstdata.c:
26049 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26050 (thread_unref), (gst_mini_object_suite), (main):
26052 * gst/gst.c: (gst_deinit):
26054 add a method to clean up.
26055 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26056 (gst_system_clock_obtain):
26057 allow for disposing the system clock.
26058 * tools/gst-launch.c: (main):
26061 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26063 * docs/gst/tmpl/gstbasesrc.sgml:
26064 * docs/gst/tmpl/gstfakesrc.sgml:
26065 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26066 (gst_base_src_init), (gst_base_src_set_property),
26067 (gst_base_src_get_property), (gst_base_src_get_range),
26068 (gst_base_src_start):
26069 * gst/base/gstbasesrc.h:
26070 add num-buffers property
26071 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26072 (gst_fakesrc_init), (gst_fakesrc_set_property),
26073 (gst_fakesrc_get_property), (gst_fakesrc_create),
26074 (gst_fakesrc_start):
26075 remove num-buffers property
26077 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26079 * docs/gst/gstreamer-sections.txt:
26080 * docs/gst/tmpl/gstbasesink.sgml:
26081 * docs/gst/tmpl/gstbasesrc.sgml:
26082 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26083 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26084 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26085 (gst_base_sink_set_property), (gst_base_sink_get_property),
26086 (gst_base_sink_handle_object), (gst_base_sink_event),
26087 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26088 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26089 (gst_base_sink_loop), (gst_base_sink_deactivate),
26090 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26091 (gst_base_sink_change_state):
26092 * gst/base/gstbasesink.h:
26093 * gst/base/gstbasesrc.h:
26094 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26095 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26096 (gst_filesink_init):
26097 more macro splitting
26099 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26101 * gst/gstelement.c: (gst_element_get_bus):
26103 * tools/gst-launch.c: (check_intr), (event_loop):
26106 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26108 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26111 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26113 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26114 (gst_base_src_finalize):
26115 add finalize method and clean up properly
26116 * gst/gstpipeline.c: (gst_pipeline_dispose):
26119 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26121 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26123 add more things to check
26124 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26125 * gst/gstelement.c:
26128 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26130 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26131 (GST_START_TEST), (fakesrc_suite):
26132 * check/gst-libs/gdp.c: (GST_START_TEST):
26133 * check/gst/gst.c: (GST_START_TEST):
26134 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26135 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26136 * check/gst/gstbus.c: (GST_START_TEST):
26137 * check/gst/gstcaps.c: (GST_START_TEST):
26138 * check/gst/gstdata.c: (GST_START_TEST):
26139 * check/gst/gstelement.c: (GST_START_TEST):
26140 * check/gst/gstghostpad.c: (GST_START_TEST):
26141 * check/gst/gstiterator.c: (GST_START_TEST):
26142 * check/gst/gstmessage.c: (GST_START_TEST):
26143 * check/gst/gstobject.c: (GST_START_TEST):
26144 * check/gst/gstpad.c: (GST_START_TEST):
26145 * check/gst/gststructure.c: (GST_START_TEST):
26146 * check/gst/gstsystemclock.c: (GST_START_TEST),
26147 (gst_systemclock_suite):
26148 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26149 * check/gst/gstvalue.c: (GST_START_TEST):
26150 * check/pipelines/cleanup.c: (GST_START_TEST):
26151 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26152 * check/states/sinks.c: (GST_START_TEST):
26153 * check/gstcheck.c: (gst_check_init):
26154 * check/gstcheck.h:
26155 add debugging category
26156 use GST_START_TEST now, so we add a debug line
26158 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26160 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26161 add test for state change message on a bin
26162 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26164 * gst/gstbin.c: (gst_bin_init):
26165 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26166 * gst/gstelement.c: (gst_element_post_message),
26167 (gst_element_set_state):
26168 * gst/gstelementfactory.c: (gst_element_factory_create):
26169 * gst/gstmessage.c: (gst_message_new):
26170 * gst/gstscheduler.c:
26171 various debugging additions and cleanups
26173 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26175 * check/Makefile.am:
26176 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26178 adding tests for elements
26179 * gst/gstelement.c: (gst_element_dispose):
26181 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26183 * gst/registries/gstlibxmlregistry.c: (load_feature):
26184 plug more leaks. A simple gst_init() now is leakfree, yay.
26186 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26188 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26189 (gst_xml_registry_load):
26190 plug another memleak
26192 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26195 use GST_SET_ERROR_CFLAGS
26196 * docs/faq/cvs.xml:
26197 change to ERROR_CFLAGS
26199 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26202 make GST_ERROR_CFLAGS overridable and re-enable Werror
26203 * docs/faq/cvs.xml:
26204 add a note about error CFLAGS
26205 * docs/gst/tmpl/gstfakesrc.sgml:
26206 * gst/elements/gstfakesrc.c:
26207 comment out some unused code
26208 * gst/gst.c: (split_and_iterate):
26209 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26213 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26215 * common/Makefile.am:
26216 * common/gtk-doc.mak:
26217 * docs/gst/Makefile.am:
26218 factor out gtk-doc.mak
26220 2005-07-07 Wim Taymans <wim@fluendo.com>
26222 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26223 (gst_thread_scheduler_dispose):
26224 Unlock the STREAM_LOCK completely.
26226 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26228 * check/Makefile.am:
26229 * check/elements/.cvsignore:
26230 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26231 (START_TEST), (fakesrc_suite), (main):
26232 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26233 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26234 (gst_fakesrc_create), (gst_fakesrc_start):
26235 * gst/elements/gstfakesrc.h:
26236 adding a first element test
26238 2005-07-07 Andy Wingo <wingo@pobox.com>
26240 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26243 2005-07-07 Wim Taymans <wim@fluendo.com>
26249 2005-07-07 Wim Taymans <wim@fluendo.com>
26251 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26252 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26253 Allow subclasses to implement their own negotiation.
26255 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26257 * docs/design/part-gstbin.txt:
26258 * docs/design/part-gstpipeline.txt:
26259 Update design notes to reflect the movement of
26260 responsibility for bus handling from GstPipeline to
26263 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26266 Remove unnecessary queue2/3/4 examples.
26268 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26270 * examples/Makefile.am:
26271 * examples/helloworld/helloworld.c: (event_loop), (main):
26272 * examples/queue/queue.c: (event_loop), (main):
26273 * examples/queue2/queue2.c: (main):
26274 Update a couple of the examples to work again.
26276 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26277 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26278 Spelling corrections and extra debug.
26280 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26281 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26282 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26284 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26285 (gst_pipeline_change_state):
26286 * gst/gstpipeline.h:
26287 Move the bus handler for children to the GstBin, and create a
26288 separate bus for receiving messages from children to the one the
26289 bus sends 'upwards' on.
26291 2005-07-06 Wim Taymans <wim@fluendo.com>
26294 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26295 (gst_base_sink_handle_object), (gst_base_sink_loop),
26296 (gst_base_sink_change_state):
26297 * gst/base/gstbasesink.h:
26298 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26299 (gst_base_src_init), (gst_base_src_setcaps),
26300 (gst_base_src_getcaps), (gst_base_src_loop),
26301 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26302 (gst_base_src_start), (gst_base_src_change_state):
26303 * gst/base/gstbasesrc.h:
26304 Make basesrc negotiate.
26305 Handle the case where preroll fails in basesink.
26308 2005-07-06 Wim Taymans <wim@fluendo.com>
26310 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26311 Implement the fixate function.
26312 Clean up acceptcaps.
26314 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26316 * docs/pwg/building-filterfactory.xml:
26317 * docs/pwg/pwg.xml:
26318 Remove never-written filter-factory chapter; I'll add the various
26319 base classes to part 4 ("other element types") later on.
26321 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26323 * docs/pwg/advanced-negotiation.xml:
26324 * docs/pwg/building-boiler.xml:
26325 * docs/pwg/building-pads.xml:
26326 * docs/pwg/pwg.xml:
26327 * examples/pwg/Makefile.am:
26328 Add a chapter on caps negotiation, simplify the original code
26329 samples a bit w.r.t. caps negotiation, add link to the advanced
26330 section. Add a bunch of examples showing different use cases of
26331 different types of caps negotiation. Upstream renegotiation isn't
26332 fully documented yet since nobody knows how that works.
26334 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26336 * check/gst/gstpad.c:
26337 * check/gstcheck.c:
26338 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26339 if pad has no parent, return NULL as list of internal links
26341 2005-07-05 Andy Wingo <wingo@pobox.com>
26343 * gst/elements/gstfilesrc.c:
26344 * gst/elements/gstfakesrc.c:
26345 * gst/base/gstpushsrc.c:
26346 * gst/base/gstbasesrc.h:
26347 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26349 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26352 better report generation target (lcov needs a patch)
26354 2005-07-05 Andy Wingo <wingo@pobox.com>
26356 * gst/elements, testsuite: Null if we got it...
26358 2005-07-05 Wim Taymans <wim@fluendo.com>
26361 * libs/gst/dataprotocol/Makefile.am:
26362 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26363 * libs/gst/dataprotocol/dataprotocol.h:
26364 * pkgconfig/Makefile.am:
26365 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26366 * pkgconfig/gstreamer-dataprotocol.pc.in:
26367 Ported dataprotol to 0.9.
26368 Added pkgconfig files.
26370 2005-07-05 Andy Wingo <wingo@pobox.com>
26372 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26373 Default to returning TRUE for the case when tranform_caps returns
26374 a fixed caps, like for identity or volume.
26376 * check/gst/gstbus.c (pound_bus_with_messages):
26377 * check/gst/gstmessage.c (START_TEST):
26378 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26379 message API change.
26381 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26382 logic weaks here: always run transform_caps, trying passthrough
26383 operation only if the original caps intersects with the transform.
26385 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26386 source and sink caps.
26388 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26389 Intersect the peer caps with the pad template before going into
26391 (gst_base_transform_transform_caps): More debugging.
26393 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26396 2005-07-04 Edward Hervey <edward@fluendo.com>
26400 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26403 2005-07-04 Andy Wingo <wingo@pobox.com>
26405 * check/gst/gstpad.c: Only set explicit caps on pads.
26407 2005-07-01 Andy Wingo <wingo@pobox.com>
26409 * tests/network-clock.scm: Commentary update.
26411 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26412 Didn't really make sense, not implementable with basetransform,
26414 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26415 attempt at implementing the sync property, needs an unlock method.
26417 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26418 New func, by default returns the same caps (the identity
26420 (gst_base_transform_getcaps): Uses transform_caps to return
26421 something sensible.
26422 (gst_base_transform_setcaps): Complicated logic to get caps on
26423 both pads, even if they are different, and to call set_caps once
26424 for every time both pads get their caps set.
26425 (gst_base_transform_handle_buffer): Give the ref to the transform
26426 function. Allows in-place modification of the buffer.
26428 * gst/base/gstbasetransform.h (transform_caps): New class method.
26429 Given caps on one side, what can I do on the other.
26430 (set_caps): Take two caps, one for each side of the element.
26433 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26434 caps in place. This is safe because we can check the mutability of
26435 the caps, and a good idea because fixate functions are just called
26436 as a matter of last resort. (Not actually implemented.)
26437 (gst_pad_set_caps): If the caps we're setting is actually the same
26438 as the existing pad caps, just update the pointer without calling
26439 setcaps. Assert that caps is either NULL or fixed, as per the
26442 * gst/gstghostpad.c: Update for fixate changes.
26444 2005-07-02 Andy Wingo <wingo@pobox.com>
26447 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26448 two refcounts makes it immutable, which is enough. Doc more.
26450 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26452 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26453 Put the mini_object into GValue as a mini_object,
26454 not a gpointer, since that's how we declared
26457 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26459 * examples/pwg/Makefile.am:
26460 Fix buildbot again.
26462 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26464 * docs/pwg/building-testapp.xml:
26466 * examples/pwg/Makefile.am:
26469 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26472 * examples/Makefile.am:
26473 * examples/pwg/Makefile.am:
26474 * examples/pwg/extract.pl:
26475 Enable building the PWG examples.
26476 * docs/pwg/advanced-interfaces.xml:
26477 Add URI interface stub.
26478 * docs/pwg/advanced-types.xml:
26479 * docs/pwg/other-autoplugger.xml:
26480 * docs/pwg/appendix-porting.xml:
26481 * docs/pwg/pwg.xml:
26482 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26483 * docs/pwg/building-boiler.xml:
26484 * docs/pwg/building-chainfn.xml:
26485 * docs/pwg/building-pads.xml:
26486 * docs/pwg/building-props.xml:
26487 * docs/pwg/building-state.xml:
26488 * docs/pwg/building-testapp.xml:
26489 Update the building-*.xml parts for 0.9 changes. All examples
26490 code blocks compile in examples/pwg/*.
26492 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26494 * docs/manual/advanced-autoplugging.xml:
26495 * docs/manual/appendix-checklist.xml:
26496 * docs/manual/appendix-integration.xml:
26497 * docs/manual/highlevel-components.xml:
26498 Fix playbin/decodebin examples, update docs a bit, mention bus
26499 instead of signals in various places, mention kmplayer and
26500 kaffeine since they have a working GStreamer backend in the KDE
26503 2005-06-30 Wim Taymans <wim@fluendo.com>
26506 * docs/design/draft-ghostpads.txt:
26507 * docs/design/draft-push-pull.txt:
26508 * docs/design/draft-query.txt:
26509 * docs/design/part-TODO.txt:
26510 * docs/design/part-query.txt:
26511 Added CHANGES-0.9 doc, updated status of other docs.
26516 2005-06-30 Wim Taymans <wim@fluendo.com>
26518 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26519 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26520 (gst_base_sink_change_state):
26521 * gst/base/gstbasesink.h:
26522 Some tweaks, only EOS and a buffer complete a preroll.
26524 2005-06-30 Andy Wingo <wingo@pobox.com>
26526 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26527 activate_push down to the internal pad as well.
26529 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26531 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26533 * gst/gsttaginterface.c:
26534 Some documentation fixes (#307394 and #307397).
26536 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26538 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26540 * gst/gstvalue.c: (gst_value_intersect_list):
26541 Fix memleak (#309125).
26543 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26545 * docs/manual/advanced-dataaccess.xml:
26546 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26547 * docs/manual/basics-pads.xml:
26548 Add reference for filtered caps to above chapter.
26550 2005-06-30 Wim Taymans <wim@fluendo.com>
26552 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26553 (gst_bin_change_state):
26555 Lame attempt at making the state change function a bit
26558 2005-06-30 Wim Taymans <wim@fluendo.com>
26560 * docs/design/part-clocks.txt:
26561 * docs/design/part-element-sink.txt:
26562 * docs/design/part-events.txt:
26563 * docs/design/part-preroll.txt:
26564 * docs/design/part-states.txt:
26565 Some more tweeks and additions to the docs.
26567 2005-06-30 Wim Taymans <wim@fluendo.com>
26569 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26570 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26571 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26572 (gst_pad_check_pull_range), (gst_pad_get_range),
26573 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26575 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26576 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26577 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26578 (gst_pad_remove_buffer_probe):
26579 Removed atomic operations, use existing LOCK.
26580 Move exception handling out of main code path.
26582 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26584 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26585 (silly_return_true_function), (gst_pad_class_init),
26586 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26587 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26588 (gst_pad_send_event):
26589 Fix accumulator, add default value by using _emitv() instead
26590 of _emit() for signal emission.
26592 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26594 * docs/manual/advanced-dataaccess.xml:
26595 * examples/manual/Makefile.am:
26597 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26600 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26602 * gst/elements/gstfilesink.c: (gst_filesink_render):
26603 Simplify code so that we don't have to handle short
26604 writes and return GST_FLOW_ERROR if an error occured.
26606 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26608 * docs/gst/gstreamer-docs.sgml:
26609 Remove probes more.
26611 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26613 * docs/gst/gstreamer-sections.txt:
26614 * docs/gst/tmpl/gstpad.sgml:
26615 * docs/gst/tmpl/gstprobe.sgml:
26617 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26618 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26619 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26620 (gst_pad_push_event), (gst_pad_send_event):
26622 * gst/gstutils.c: (gst_pad_add_data_probe),
26623 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26624 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26625 (gst_pad_remove_buffer_probe):
26627 Remove old probes, add new g-signal-based probes and some utility
26630 2005-06-29 Edward Hervey <edward@fluendo.com>
26632 * gst/gstelementfactory.c:
26635 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26636 the definition to the header file.
26638 2005-06-29 Andy Wingo <wingo@pobox.com>
26640 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26641 plugins from the source directory.
26643 2005-06-29 Wim Taymans <wim@fluendo.com>
26645 * docs/gst/tmpl/gstbuffer.sgml:
26646 * docs/gst/tmpl/gstclock.sgml:
26647 Some fixings for blantently wrong text.
26649 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26651 * check/Makefile.am:
26652 * gst/gst.c: (add_path_func), (init_pre):
26653 * gst/gstregistry.c: (gst_registry_add_path):
26654 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26655 only scan the GST_PLUGIN_PATH locations, and not add
26658 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26660 * docs/gst/gstreamer-sections.txt:
26661 * docs/gst/tmpl/gstbasesrc.sgml:
26662 * gst/gstelement.c:
26663 * gst/gstelement.h:
26668 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26670 * docs/manual/advanced-autoplugging.xml:
26671 Fix autoplugging example.
26673 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26675 * docs/manual/advanced-autoplugging.xml:
26676 * docs/manual/mime-world.fig:
26677 Try to get autoplugging working, fix type detection. Fix text
26678 in hello-world image.
26680 2005-06-29 Wim Taymans <wim@fluendo.com>
26682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26683 (gst_base_sink_change_state):
26687 map SIGNAL and BROADCAST to the right function.
26690 Remove redundant braces.
26692 * gst/gstpad.c: (gst_pad_set_caps):
26693 Don't call setcaps function when reseting caps to NULL.
26695 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26696 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26697 (gst_system_clock_id_unschedule):
26698 Use BROADCAST as this is what we do.
26700 2005-06-29 Wim Taymans <wim@fluendo.com>
26702 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26703 We are actually prerolling before commiting the state
26706 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26708 * docs/manual/advanced-clocks.xml:
26709 * docs/manual/advanced-interfaces.xml:
26710 * docs/manual/advanced-metadata.xml:
26711 * docs/manual/advanced-position.xml:
26712 * docs/manual/advanced-schedulers.xml:
26713 * docs/manual/advanced-threads.xml:
26714 * docs/manual/appendix-porting.xml:
26715 * docs/manual/basics-bins.xml:
26716 * docs/manual/basics-bus.xml:
26717 * docs/manual/basics-elements.xml:
26718 * docs/manual/basics-helloworld.xml:
26719 * docs/manual/basics-pads.xml:
26720 * docs/manual/highlevel-components.xml:
26721 * docs/manual/manual.xml:
26722 * docs/manual/thread.fig:
26723 Update (until threads/scheduling) Application Development Manual;
26724 remove GstThread, add GstBus, add simple porting checklist, add
26725 documentation for tag writing, clocks, make all examples until this
26726 part compile and run.
26727 * examples/manual/Makefile.am:
26728 Update from changes to Application Development Manual; add bus
26729 example, remove thread example.
26731 2005-06-28 Wim Taymans <wim@fluendo.com>
26733 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26734 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26735 (gst_bus_source_dispatch):
26736 Add debugging messages.
26737 Make internal methods static.
26738 Handle the case where the bus is flushed in the handler.
26740 * gst/gstelement.c: (gst_element_get_bus):
26741 Fix refcount in _get_bus();
26743 * gst/gstpipeline.c: (gst_pipeline_change_state),
26744 (gst_pipeline_get_clock_func):
26745 Clock refcounting fixes.
26746 Handle the case where preroll timed out more gracefully.
26748 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26749 Clean up the internal thread in dispose. This is needed
26750 for subclasses that actually get disposed.
26752 * gst/schedulers/threadscheduler.c:
26753 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26754 (gst_thread_scheduler_dispose):
26755 Free thread pool in dispose.
26757 2005-06-28 Andy Wingo <wingo@pobox.com>
26759 * tests/network-clock-utils.scm (debug, print-event): New utils.
26761 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26762 (*packet-loss*): Unified loss probability.
26763 (network-time): Report out-of-band events.
26765 * tests/plot-data: Add support for out-of-band events. Hack it
26766 into this script instead of passing it down the pipe; should fix
26769 2005-06-28 Wim Taymans <wim@fluendo.com>
26771 * docs/gst/gstreamer.types:
26772 * docs/gst/tmpl/gstbasesrc.sgml:
26773 * docs/gst/tmpl/gstpad.sgml:
26776 2005-06-28 Wim Taymans <wim@fluendo.com>
26778 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26779 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26780 (gst_proxy_pad_do_fixatecaps):
26781 Correctly proxy the check_pull_range function.
26783 2005-06-28 Andy Wingo <wingo@pobox.com>
26785 * tests/network-clock.scm: Removed need for slib.
26787 2005-06-28 Wim Taymans <wim@fluendo.com>
26789 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26790 (gst_basesink_preroll_queue_flush):
26791 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26792 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26793 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26794 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26795 (gst_proxy_pad_set_property):
26798 * gst/gstqueue.c: (gst_queue_init):
26799 The deprecated pad loop function is removed now.
26801 2005-06-28 Andy Wingo <wingo@pobox.com>
26803 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26804 New parameters, simulate network packet loss.
26806 * tests/network-clock-utils.scm: Initialize the RNG.
26808 2005-06-28 Wim Taymans <wim@fluendo.com>
26810 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26811 (gst_basesink_event), (gst_basesink_deactivate):
26812 Flushing the preroll queue always needs to unlock the waiters.
26814 2005-06-28 Edward Hervey <edward@fluendo.com>
26816 * gst/gstpipeline.c: (gst_pipeline_send_event):
26817 Wheen a seek was successful on a pipeline, set the stream_time to the
26818 seek offset in order to have a synchronized stream_time.
26820 2005-06-28 Wim Taymans <wim@fluendo.com>
26822 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26823 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26824 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26825 (gst_proxy_pad_do_fixatecaps):
26826 Call wrapper function instead of just calling the function
26827 pointers. This takes care of any locking and whatmore.
26829 2005-06-28 Wim Taymans <wim@fluendo.com>
26831 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26832 (gst_pad_pull_range):
26834 CONNECTED -> LINKED.
26836 2005-06-28 Andy Wingo <wingo@pobox.com>
26838 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26839 source-munging commit!!!
26841 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26842 (gst_object_sink): Take gpointer arguments, not GstObject --
26843 avoids casts. Like GLib.
26845 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26848 2005-06-27 Andy Wingo <wingo@pobox.com>
26850 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26853 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26854 returns a sorted copy of the trace list.
26855 (gst_alloc_trace_print_live): New API, only prints traces with
26856 live objects. Sort the list.
26857 (gst_alloc_trace_print_all): Sort the list.
26858 (gst_alloc_trace_print): Align columns.
26860 * gst/elements/gstttypefindelement.c:
26861 * gst/elements/gsttee.c:
26862 * gst/base/gstbasesrc.c:
26863 * gst/base/gstbasesink.c:
26864 * gst/base/gstbasetransform.c:
26865 * gst/gstqueue.c: Adapt for pad activation changes.
26867 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26869 (gst_pipeline_dispose): Drop ref on sched.
26871 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26872 (gst_pad_activate_default): Push mode by default.
26873 (pre_activate_switch, post_activate_switch): New stubs, things to
26874 do before and after switching activation modes on pads.
26875 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26876 the pad's activate function to choose which mode to activate.
26877 Shortcut on deactivation and call the right function directly.
26878 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26880 (gst_pad_activate_push): New API, same for push mode.
26881 (gst_pad_set_activate_function)
26882 (gst_pad_set_activatepull_function)
26883 (gst_pad_set_activatepush_function): Setters for new API.
26885 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26886 Trace all miniobjects.
26887 (gst_mini_object_make_writable): Unref the arg if we copy, like
26888 gst_caps_make_writable.
26890 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26892 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26893 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26894 Adapt for new pad API.
26896 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26898 * gst/gstelement.h:
26899 * gst/gstelement.c (gst_element_iterate_src_pads)
26900 (gst_element_iterate_sink_pads): New API functions.
26902 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26903 should fold into gstiterator.c in some form.
26904 (gst_element_pads_activate): Simplified via use of fold and
26905 delegation of decisions to gstpad->activate.
26907 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26910 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26911 class once in init, like gstmessage. Didn't run into this issue
26912 but it seems correct. Don't initialize a trace, gstminiobject does
26915 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26916 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26918 (assert_live_count): New util function, uses alloc traces to check
26921 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26922 To be modified when unlink drops the internal pad.
26924 2005-06-27 Wim Taymans <wim@fluendo.com>
26926 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26927 (gst_bin_change_state):
26928 Cleanup the get_state() function a little, make sure it
26929 iterates the same set of elements.
26930 Added stub iterate_state_order().
26932 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26934 * docs/gst/gstreamer-docs.sgml:
26935 * docs/gst/gstreamer-sections.txt:
26936 * docs/gst/gstreamer.types:
26937 * docs/gst/tmpl/gstbasesink.sgml:
26938 * docs/gst/tmpl/gstbasesrc.sgml:
26939 * docs/gst/tmpl/gstbasetransform.sgml:
26940 * docs/gst/tmpl/gstelement.sgml:
26941 * docs/gst/tmpl/gstiterator.sgml:
26942 * gst/base/gstbasesrc.c:
26943 * gst/base/gstbasesrc.h:
26944 * gst/base/gstbasetransform.h:
26945 * gst/gstelement.c:
26946 * gst/gstiterator.h:
26947 adding basetransform and iterator docs
26949 2005-06-27 Andy Wingo <wingo@pobox.com>
26951 * docs/design/part-activation.txt: Notes on how activation should
26952 work -- not quite implemented yet.
26954 2005-06-25 Wim Taymans <wim@fluendo.com>
26956 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26957 At least get the chain function correct, needs more
26960 2005-06-25 Wim Taymans <wim@fluendo.com>
26962 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26963 (gst_basesink_handle_object), (gst_basesink_event),
26964 (gst_basesink_do_sync), (gst_basesink_handle_event),
26965 (gst_basesink_change_state):
26967 Right, two problems here: ghostpads don't take locks and
26968 glib _rec_mutex_lock_full() with depth==0 still locks.
26969 Catch illegal locking and g_warn them.
26971 2005-06-25 Wim Taymans <wim@fluendo.com>
26973 * check/states/sinks.c: (START_TEST), (gst_object_suite):
26974 Have to check for completion now...
26976 2005-06-25 Wim Taymans <wim@fluendo.com>
26978 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26979 (gst_basesink_handle_object), (gst_basesink_event),
26980 (gst_basesink_do_sync), (gst_basesink_handle_event),
26981 (gst_basesink_change_state):
26983 Unlock STREAM_LOCK whatever the recursion was.
26985 2005-06-25 Wim Taymans <wim@fluendo.com>
26987 * gst/base/gstbasesink.c: (gst_basesink_set_property),
26988 (gst_basesink_preroll_queue_empty),
26989 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26990 (gst_basesink_event), (gst_basesink_do_sync),
26991 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26992 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26993 (gst_basesink_change_state):
26994 Reworked the base sink, handle event and buffer serialisation
26995 correctly and removed possible deadlock.
26996 Handle EOS correctly.
26998 2005-06-25 Wim Taymans <wim@fluendo.com>
27000 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27001 (gst_pipeline_change_state):
27002 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27003 Allow elements to post EOS in the state change function.
27004 Fix up -launch, make it exit the poll loop when the
27005 pipeline actually changed state.
27006 Fix up warning parsing in -launch.
27008 2005-06-25 Wim Taymans <wim@fluendo.com>
27010 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27011 (gst_tee_sink_activate):
27012 Core takes STREAM_LOCK for us now.
27014 2005-06-25 Wim Taymans <wim@fluendo.com>
27016 * gst/gstelement.c: (gst_element_get_state_func),
27017 (gst_element_set_state):
27018 * gst/gstelement.h:
27019 * gst/gstmessage.c: (gst_message_parse_error),
27020 (gst_message_parse_warning):
27021 Keep track of current target state while performing a state
27022 change so that subclasses can do something interesting.
27023 Fix parsing of warning/error messages when GError is NULL.
27025 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27027 * docs/gst/Makefile.am:
27028 * docs/gst/gstreamer-docs.sgml:
27029 * docs/gst/gstreamer-sections.txt:
27030 * docs/gst/gstreamer.types:
27031 * docs/gst/tmpl/gstbasesink.sgml:
27032 * docs/gst/tmpl/gstbasesrc.sgml:
27033 * docs/gst/tmpl/gstbin.sgml:
27034 * docs/gst/tmpl/gstcompat.sgml:
27035 * docs/gst/tmpl/gstfakesink.sgml:
27036 * docs/gst/tmpl/gstfakesrc.sgml:
27037 * docs/gst/tmpl/gstfilesink.sgml:
27038 * docs/gst/tmpl/gstfilesrc.sgml:
27039 * docs/gst/tmpl/gstindex.sgml:
27040 * docs/manual/appendix-quotes.xml:
27041 * gst/base/gstbasesrc.h:
27042 * gst/elements/gstfakesrc.h:
27043 * gst/gstmessage.h:
27044 start pulling in base classes and elements in our docs
27046 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27048 * docs/gst/Makefile.am:
27049 * docs/libs/Makefile.am:
27050 fixed make distcheck with gtk-doc 1.3
27052 2005-06-23 Wim Taymans <wim@fluendo.com>
27054 * gst/gstelement.c: (gst_element_get_state_func),
27055 (gst_element_set_state), (gst_element_change_state):
27056 When the state did not change, also report NO_PREROLL
27059 2005-06-23 Wim Taymans <wim@fluendo.com>
27061 * gst/gstpad.c: (gst_pad_event_default):
27062 * gst/gstqueue.c: (gst_queue_loop):
27063 No unsafe task pausing please.
27065 2005-06-23 Wim Taymans <wim@fluendo.com>
27067 * gst/schedulers/threadscheduler.c:
27068 (gst_thread_scheduler_task_start),
27069 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27070 Ref the task before pushing it on the threadpool. This
27071 makes sure that we have a ref when the threadfunction is
27074 2005-06-23 Andy Wingo <wingo@pobox.com>
27076 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27077 offset is greater than the file's size.
27079 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27080 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27081 * gst/gstobject.c (gst_object_class_init): Make the class lock
27082 recursive. Wim won't let me drop deep_notify. Decodebin works
27083 again, whoopdy doo.
27085 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27086 internal pad, and hacks accordingly. Doesn't do it on the target
27087 pad because we change its caps. Probably catches all cases of
27089 (gst_ghost_pad_set_property): Connect to notify::caps as
27092 * tests/network-clock.scm (plot-simulation): Pipe data to the
27093 elite python skript.
27095 * tests/network-clock-utils.scm (define-parameter): New macro,
27096 defines a parameter that can be set via the command line.
27097 (set-parameter!, parse-parameter-arguments): Command line args
27100 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27103 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27105 * gst/elements/gsttypefindelement.c:
27106 (gst_type_find_element_handle_event):
27107 Don't restart typefinding on a discont.
27108 * gst/gstelement.c: (gst_element_set_state):
27109 Debug spelling fix.
27110 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27111 Allow changing mode of an active pad.
27112 Debug output fixes.
27113 * gst/registries/gstlibxmlregistry.c: (load_feature):
27114 Don't cast a static pad template to a normal pad template.
27116 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27118 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27119 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27120 remove gst_strtoll completely, since it didn't actually do
27121 anything more than what g_ascii_strtoull already does.
27122 check for range errors when deserializing
27123 do a cast for the unsigned cases; but further fixing needs
27124 a decision on what the interpretation of "(int)" and
27125 deserialization should be for values that fall outside the
27126 type's boundaries (ie, refuse, or interpret as casting)
27128 2005-06-23 Wim Taymans <wim@fluendo.com>
27130 * check/Makefile.am:
27131 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27132 * docs/design/part-live-source.txt:
27133 * docs/design/part-states.txt:
27134 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27135 (gst_basesrc_set_live), (gst_basesrc_is_live),
27136 (gst_basesrc_get_range), (gst_basesrc_activate),
27137 (gst_basesrc_change_state):
27138 * gst/base/gstbasesrc.h:
27139 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27140 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27141 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27142 * gst/gstelement.c: (gst_element_get_state_func),
27143 (gst_element_set_state):
27144 * gst/gstelement.h:
27146 * tools/gst-launch.c: (event_loop), (main):
27147 Added support for live sources and other elements that
27149 Updated design docs, added live-source design doc.
27150 Implemented live source functionality in basesrc
27151 Fix error condition in _bin_get_state()
27152 Implement live source handling in -launch.
27153 Added check for live sources.
27154 Fixed case in GstBin where elements were changed state
27158 2005-06-23 Andy Wingo <wingo@pobox.com>
27160 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27161 borken refcounting.
27163 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27164 gst_caps_replace takes care of this for us.
27166 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27167 gst_pad_set_caps on the target, not just its setcaps() function.
27169 * tests/network-clock.scm:
27170 * tests/network-clock-utils.scm: A network clock simulator.
27171 Something of an algorithmic testbed before doing something in C.
27173 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27175 * check/Makefile.am:
27176 * check/gst/capslist.h:
27177 copy over from 0.8, and add two with bitmasks specified with
27179 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27180 add test to parse everything from capslist.h
27181 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27183 add test for structure deserialization
27184 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27185 add tests for deserialization of strings to int types
27186 * gst/gststructure.c: (gst_structure_nth_field_name):
27187 * gst/gststructure.h:
27188 add a way to get the name of a field referenced by index
27189 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27190 instead of checking if the resulting long long lies between
27191 min and max, we check if the long long would fit into
27192 a number of bytes for the final type.
27193 This fixes cases where a string represents 2^32 - 1, which
27194 when cast to int would be the (valid) -1, but is bigger than
27197 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27199 * gst/parse/grammar.y:
27200 add a log line for type deserialization
27202 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27204 * check/gst/gstvalue.c: (START_TEST):
27205 * gst/gstvalue.c: (gst_value_deserialize):
27206 return long long, not int, so gint64 deserialization actually
27207 works. Is there any flag that makes the compiler check this ?
27210 2005-06-22 Wim Taymans <wim@fluendo.com>
27213 Added convenience macros for setting buffers in GValue.
27215 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27217 * check/gst/.cvsignore:
27218 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27219 add a test deserializing int64, and comment part out because
27222 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27224 * check/Makefile.am:
27225 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27226 * testsuite/Makefile.am:
27227 * testsuite/caps/Makefile.am:
27228 * testsuite/caps/value_serialize.c:
27229 * testsuite/test_gst_init.c:
27230 move a value_serialize test over
27232 2005-06-20 Wim Taymans <wim@fluendo.com>
27237 * gst/gstvalue.c: (gst_value_compare_buffer),
27238 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27239 (gst_value_compare_flags), (gst_value_serialize_flags),
27240 (gst_value_deserialize_flags), (_gst_value_initialize):
27241 Fix serialisation of buffers, they are not boxed types anymore
27243 2005-06-20 Wim Taymans <wim@fluendo.com>
27245 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27246 Testcase to show error in buffer-on-caps serialisation.
27248 2005-06-20 Andy Wingo <wingo@pobox.com>
27250 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27251 will be adding to later.
27253 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27254 if its socks fill with rocks.
27255 (gst_system_clock_obtain): Set the name on object construction.
27256 Avoid double-checked locking.
27258 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27260 * gst/gsturi.c: (gst_element_make_from_uri):
27261 Fix potential endless loop.
27263 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27265 * check/Makefile.am:
27267 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27269 move over from testsuite dir and clean up
27272 * testsuite/Makefile.am:
27273 * testsuite/tags/.cvsignore:
27274 * testsuite/tags/Makefile.am:
27275 * testsuite/tags/merge.c:
27276 remove testsuite/tags
27278 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27280 * docs/gst/gstreamer-sections.txt:
27281 * docs/gst/tmpl/gstenumtypes.sgml:
27282 * win32/gstenumtypes.c:
27283 clean up documentation build a little
27285 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27287 * check/gstcheck.h:
27288 add macros for checking refcounts on objects and caps
27289 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27290 add some more unit tests
27291 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27292 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27293 fix leaked refcounts (I hope :)) so unittest works
27297 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27299 * configure.ac: back to HEAD
27301 === release 0.9.1 ===
27303 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27309 2005-06-17 Andy Wingo <wingo@pobox.com>
27311 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27312 assert; it's always possible that the pad gets deactivated in
27313 between the checks in gstpad.c and the implementation. Rely on
27314 finish_preroll() to return a FLUSHING or similar instead of on the
27317 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27318 clock and post an EOS message if we come out of finish_preroll in
27321 2005-06-16 David Schleef <ds@schleef.org>
27323 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27324 (gst_capsfilter_set_property): Allow NULL as possible value
27325 for filter_caps property, indicating GST_CAPS_ANY.
27327 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27329 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27331 * gst/schedulers/Makefile.am:
27333 * gstreamer.spec.in:
27336 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27338 * gstreamer.spec.in:
27341 2005-06-08 Andy Wingo <wingo@pobox.com>
27343 * gst/gstutils.c: RPAD fixes all around.
27344 (gst_element_link_pads): Refcounting fixes.
27346 * tools/gst-inspect.c:
27347 * tools/gst-xmlinspect.c:
27349 * gst/base/gsttypefindhelper.c:
27350 * gst/base/gstbasesink.c:
27351 * gst/gstqueue.c: RPAD fixes.
27353 * gst/gstghostpad.h:
27354 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27355 pads. The tricky thing is they provide both source and sink
27356 interfaces, since they proxy the internal pad for the external
27357 pad, and vice versa. Implement with lower-level ProxyPad objects,
27358 with the interior proxy pad as a child of the exterior ghost pad.
27359 Should write a doc on this.
27361 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27362 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27365 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27366 pads are real pads. No ghost pads in this file. Not documenting
27367 the myriad s/RPAD/PAD/ and REALIZE fixes.
27368 (gst_pad_class_init): Add properties for "direction" and
27369 "template". Both are construct-only, so they can't change during
27370 the life of the pad. Fixes properly deriving from GstPad.
27371 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27372 derived objects, just set properties when creating the objects via
27374 (gst_pad_get_parent): Implement as a function, return NULL if the
27375 parent is not an element.
27376 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27377 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27379 * gst/gstobject.c (gst_object_class_init): Make name a construct
27380 property. Don't set it in the object init.
27382 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27383 with UNKNOWN direction.
27384 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27385 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27386 (gst_element_remove_pad): Remove ghost-pad special cases.
27387 (gst_element_pads_activate): Remove rpad cruft.
27389 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27390 catch the pad's-parent-not-an-element case.
27392 * gst/gst.h: Include gstghostpad.h.
27394 * gst/gst.c (init_post): No more real, ghost pads.
27396 * gst/Makefile.am: Add gstghostpad.[ch].
27398 * check/Makefile.am:
27399 * check/gst/gstbin.c:
27400 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27401 into a bin creates ghost pads, and that the refcounts are right.
27402 Partly moved from gstbin.c.
27404 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27406 * check/gst-libs/.cvsignore:
27407 * check/gst/.cvsignore:
27408 * check/pipelines/.cvsignore:
27410 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27411 (START_TEST), (cleanup_suite), (main):
27412 add some tests related to cleanup after running pipelines
27414 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27416 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27417 add a testsuite for GstBuffer
27419 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27421 * gst/gstminiobject.h:
27422 add defines for accessing the refcount
27424 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27426 * Makefile.am: added support for html unit test coverage reports
27428 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27430 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27431 Free existing caps if the capsfilter changes. Add a FIXME about
27432 setting those caps on the pads.
27434 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27435 Before adding a ghost pad to a parent bin, check that there isn't
27436 already one for the element on the bin. Prevents infinite recursion
27437 when using decodebin in parse pipelines. Andy says he'll rewrite the
27438 way this works anyway, so ignore the hack.
27440 2005-06-02 Andy Wingo <wingo@pobox.com>
27442 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27443 file size, pass it on to the type find helper.
27445 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27446 segment_start and segment_end properly according to the seek
27447 method. Segment_end is still a bit flaky because offset can be
27448 negative for CUR and END cases, but it takes -1 as an "unset"
27451 2005-06-02 Wim Taymans <wim@fluendo.com>
27453 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27454 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27455 (gst_basesink_activate):
27456 * gst/base/gstbasesink.h:
27457 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27458 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27459 (gst_pad_query), (gst_pad_start_task):
27461 * gst/gstqueue.c: (gst_queue_bufferalloc),
27462 (gst_queue_handle_sink_event), (gst_queue_chain):
27463 Bufferalloc: return GstFlowReturn to more accuratly report
27464 why allocation failed.
27466 2005-06-02 Wim Taymans <wim@fluendo.com>
27468 * gst/gstpipeline.c: (gst_pipeline_send_event):
27469 Take snapshot of state without blocking.
27471 2005-06-02 Wim Taymans <wim@fluendo.com>
27473 * docs/design/part-TODO.txt:
27474 * docs/design/part-caps.txt:
27475 * docs/design/part-clocks.txt:
27476 * docs/design/part-negotiation.txt:
27477 * docs/design/part-preroll.txt:
27480 2005-05-30 Wim Taymans <wim@fluendo.com>
27482 * gst/elements/gstidentity.c: (gst_identity_event),
27483 (gst_identity_transform), (gst_identity_get_property):
27484 Protect last_message property as it is accessed from
27487 2005-05-30 Wim Taymans <wim@fluendo.com>
27489 * gst/gstelement.c: (gst_element_init),
27490 (gst_element_pads_activate), (gst_element_change_state):
27491 Slicker pad activation code.
27493 2005-05-30 Wim Taymans <wim@fluendo.com>
27496 * gst/gstelement.h:
27497 * gst/gstelementfactory.h:
27499 Move elementfactory methods to separate .h file.
27501 2005-05-30 Wim Taymans <wim@fluendo.com>
27503 * docs/design/part-overview.txt:
27504 * gst/gstsystemclock.h:
27505 Small typo fixes, doc updates.
27507 2005-05-30 Wim Taymans <wim@fluendo.com>
27509 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27510 (init_popt_callback):
27511 Remove cpu-opt flag.
27513 2005-05-30 Wim Taymans <wim@fluendo.com>
27515 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27516 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27518 Avoid typechecking in places where not needed.
27519 Added accessor for malloc_data.
27521 2005-05-30 Wim Taymans <wim@fluendo.com>
27523 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27524 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27525 (gst_pad_configure_sink), (gst_pad_configure_src),
27526 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27527 (gst_pad_start_task):
27528 Propagate errors from _set_caps() in configure_src/sink
27529 functions instead of returning TRUE.
27530 FLUSH events can travel up and downstream
27533 2005-05-30 Wim Taymans <wim@fluendo.com>
27535 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27536 (gst_basesink_activate):
27537 Handle EOS in preroll.
27539 2005-05-30 Wim Taymans <wim@fluendo.com>
27541 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27542 (gst_queue_loop), (gst_queue_handle_src_event):
27543 Remove old pieces of code
27544 Flushing the queue in an upstream event is a very bad idea.
27546 2005-05-26 Andy Wingo <wingo@pobox.com>
27548 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27549 gst_value_set_mini_object so as to add a ref on the object (which
27550 will be removed when the value is unset).
27552 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27553 arg type in ::handoff.
27555 * gst/gstelement.c (gst_element_change_state): Also deactivate
27556 pads in READY->NULL, just in case the element didn't make it to
27557 PAUSED. Wingo tested, Wim approved.
27559 2005-05-26 Wim Taymans <wim@fluendo.com>
27561 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27562 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27563 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27564 A flushing pad cannot be used to alloc_buffer from.
27566 2005-05-26 Wim Taymans <wim@fluendo.com>
27568 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27569 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27570 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27571 (gst_bus_create_watch), (gst_bus_add_watch_full):
27573 Implement a real GSource and use g_main_context_wakeup() to
27574 signal new messages instead of the socketpair.
27576 2005-05-25 Wim Taymans <wim@fluendo.com>
27578 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27579 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27580 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27581 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27582 (gst_pad_send_event), (gst_pad_start_task):
27583 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27584 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27585 (gst_queue_sink_activate), (gst_queue_src_activate),
27586 (gst_queue_change_state):
27588 Fix state changes for non sinks. We now change sinks, then elements
27589 with unconnected srcpads, then the rest.
27590 More efficient queue unlocking in flush and state changes.
27591 Set the pad activate mode even if it does not have an activate
27594 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27596 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27597 Don't go in pull mode for non-seekable sources.
27598 * gst/elements/gsttypefindelement.h:
27599 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27600 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27601 (free_entry), (stop_typefinding),
27602 (gst_type_find_element_handle_event), (find_peek),
27603 (gst_type_find_element_chain), (do_pull_typefind),
27604 (gst_type_find_element_change_state):
27605 Allow typefinding (w/o seeking) in push-mode, simplified version
27606 of what was in 0.8.
27607 * gst/gstutils.c: (gst_buffer_join):
27609 gst_buffer_join() from 0.8.
27611 2005-05-25 Wim Taymans <wim@fluendo.com>
27613 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27614 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27615 (gst_pad_send_event), (gst_pad_start_task):
27616 Disable attempt at mode switching until it is figured out.
27618 2005-05-25 Wim Taymans <wim@fluendo.com>
27620 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27621 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27622 (gst_basesink_finish_preroll), (gst_basesink_chain),
27623 (gst_basesink_loop), (gst_basesink_activate),
27624 (gst_basesink_change_state):
27625 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27626 (gst_basesrc_get_range), (gst_basesrc_loop),
27627 (gst_basesrc_activate):
27628 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27629 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27630 (gst_real_pad_init), (gst_real_pad_set_property),
27631 (gst_real_pad_get_property), (gst_pad_set_active),
27632 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27633 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27634 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27635 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27636 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27637 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27638 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27639 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27640 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27641 (gst_pad_stop_task):
27643 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27644 (gst_queue_loop), (gst_queue_src_activate):
27645 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27646 (gst_task_get_state):
27648 * gst/schedulers/threadscheduler.c:
27649 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27650 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27652 Remove ACTIVE pad flag, use FLUSHING everywhere
27653 Added _pad_chain(), _pad_get_range() to call chain/getrange
27655 Add locks around IS_FLUSHING when reading.
27656 Take STREAM lock in chain(), get_range() functions so plugins
27657 don't need to take it anymore.
27661 2005-05-25 Wim Taymans <wim@fluendo.com>
27663 * tools/gst-launch.c: (event_loop):
27664 Unref message after using its contents instead of
27667 2005-05-24 Wim Taymans <wim@fluendo.com>
27669 * docs/design/draft-ghostpads.txt:
27670 * docs/design/draft-push-pull.txt:
27671 * docs/design/draft-query.txt:
27672 * docs/design/part-overview.txt:
27673 Docs updates, added general overview doc.
27675 2005-05-21 David Schleef <ds@schleef.org>
27677 * docs/gst/tmpl/old/GstBin.sgml:
27678 * docs/gst/tmpl/old/GstBuffer.sgml:
27679 * docs/gst/tmpl/old/GstCaps.sgml:
27680 * docs/gst/tmpl/old/GstClock.sgml:
27681 * docs/gst/tmpl/old/GstCompat.sgml:
27682 * docs/gst/tmpl/old/GstData.sgml:
27683 * docs/gst/tmpl/old/GstElement.sgml:
27684 * docs/gst/tmpl/old/GstEvent.sgml:
27685 * docs/gst/tmpl/old/GstIndex.sgml:
27686 * docs/gst/tmpl/old/GstStructure.sgml:
27687 * docs/gst/tmpl/old/GstTag.sgml:
27688 * docs/gst/tmpl/old/cothreads.sgml:
27689 * docs/gst/tmpl/old/cothreads_compat.sgml:
27690 * docs/gst/tmpl/old/gettext.sgml:
27691 * docs/gst/tmpl/old/gobject2gtk.sgml:
27692 * docs/gst/tmpl/old/grammar.tab.sgml:
27693 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27694 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27695 * docs/gst/tmpl/old/gst_private.sgml:
27696 * docs/gst/tmpl/old/gstaggregator.sgml:
27697 * docs/gst/tmpl/old/gstarch.sgml:
27698 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27699 * docs/gst/tmpl/old/gstbufferstore.sgml:
27700 * docs/gst/tmpl/old/gstdata_private.sgml:
27701 * docs/gst/tmpl/old/gstdisksink.sgml:
27702 * docs/gst/tmpl/old/gstdisksrc.sgml:
27703 * docs/gst/tmpl/old/gstelementfactory.sgml:
27704 * docs/gst/tmpl/old/gstextratypes.sgml:
27705 * docs/gst/tmpl/old/gstfakesink.sgml:
27706 * docs/gst/tmpl/old/gstfakesrc.sgml:
27707 * docs/gst/tmpl/old/gstfdsink.sgml:
27708 * docs/gst/tmpl/old/gstfdsrc.sgml:
27709 * docs/gst/tmpl/old/gstfilesink.sgml:
27710 * docs/gst/tmpl/old/gstfilesrc.sgml:
27711 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27712 * docs/gst/tmpl/old/gstidentity.sgml:
27713 * docs/gst/tmpl/old/gstindexfactory.sgml:
27714 * docs/gst/tmpl/old/gstmarshal.sgml:
27715 * docs/gst/tmpl/old/gstmd5sink.sgml:
27716 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27717 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27718 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27719 * docs/gst/tmpl/old/gstpipefilter.sgml:
27720 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27721 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27722 * docs/gst/tmpl/old/gstshaper.sgml:
27723 * docs/gst/tmpl/old/gstspider.sgml:
27724 * docs/gst/tmpl/old/gstspideridentity.sgml:
27725 * docs/gst/tmpl/old/gststatistics.sgml:
27726 * docs/gst/tmpl/old/gsttee.sgml:
27727 * docs/gst/tmpl/old/gsttimecache.sgml:
27728 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27729 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27730 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27731 * docs/gst/tmpl/old/types.sgml:
27732 I didn't intend to add these or check them in.
27734 2005-05-19 David Schleef <ds@schleef.org>
27736 * configure.ac: Use -no-common everywhere. In a sane world, it
27737 would be the default in libtool, because without it, you can't
27738 build DLLs on Windows.
27739 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27740 * docs/gst/gstreamer-sections.txt:
27741 * docs/gst/tmpl/gstcpu.sgml:
27742 * docs/gst/tmpl/gstdata.sgml:
27743 * docs/gst/tmpl/gstthread.sgml:
27745 2005-05-19 David Schleef <ds@schleef.org>
27747 * gst/gstminiobject.c: (gst_value_set_mini_object),
27748 (gst_value_take_mini_object), (gst_value_get_mini_object):
27749 * gst/gstminiobject.h: Add GValue set/get functions.
27751 2005-05-19 Wim Taymans <wim@fluendo.com>
27753 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27754 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27755 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27757 * gst/gstbus.c: (gst_bus_post):
27758 * gst/gstelement.c: (gst_element_get_random_pad):
27759 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27760 Make subbufer unref the parent in finalize.
27761 some more debugging info.
27764 2005-05-19 Wim Taymans <wim@fluendo.com>
27766 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27767 (gst_basesink_init), (gst_basesink_finalize),
27768 (gst_basesink_activate), (gst_basesink_change_state):
27769 Don't free preroll queue too early.
27771 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27775 Hi, I'm outdated. Please shoot me.
27777 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27779 * gst/gstpipeline.c: (gst_pipeline_send_event):
27780 Do not access variables after they have been deleted.
27782 2005-05-19 Wim Taymans <wim@fluendo.com>
27784 * tools/gst-inspect.c: (print_plugin_features):
27785 A plugin feature does unfortunatly not use the
27788 2005-05-18 Wim Taymans <wim@fluendo.com>
27790 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27791 Port _span() functions to new subbuffers.
27793 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27795 * gst/gstbin.c: (gst_bin_add_func):
27796 Fix clock settery in bins when adding kids after the clock has
27799 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27801 * gst/elements/gstidentity.c: (gst_identity_class_init):
27802 Workaround until signals support GstMiniObject.
27804 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27807 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27809 2005-05-18 Wim Taymans <wim@fluendo.com>
27811 * gst/base/Makefile.am:
27812 * gst/base/gstadapter.c: (gst_adapter_base_init),
27813 (gst_adapter_class_init), (gst_adapter_init),
27814 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27815 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27816 (gst_adapter_flush), (gst_adapter_available),
27817 (gst_adapter_available_fast):
27818 * gst/base/gstadapter.h:
27819 Ported and added adapter to the base classes.
27821 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27824 * gst/gstmessage.c:
27825 Make sure the class is reffed/unreffed once before threads can be
27826 used. Fixes #304551.
27828 2005-05-17 Wim Taymans <wim@fluendo.com>
27830 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27831 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27832 * gst/gstminiobject.c: (gst_mini_object_get_type),
27833 (gst_mini_object_free):
27834 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27835 (gst_pad_push), (gst_pad_push_event):
27836 * gst/gstqueue.c: (gst_queue_change_state):
27837 Don't queue buffers in basesink when we are flushing.
27838 Unref buffer when flushing in basesink.
27839 Flush queue when going to READY
27840 Unref buffer when _push() returns an error.
27841 Don't free MiniObject instance when refcount is incremented
27842 in _finalize() so that we can recover objects.
27844 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27846 * docs/manual/advanced-schedulers.xml:
27847 * docs/manual/appendix-checklist.xml:
27848 * docs/pwg/advanced-clock.xml:
27849 * docs/pwg/advanced-interfaces.xml:
27850 * docs/pwg/advanced-request.xml:
27851 * docs/pwg/advanced-types.xml:
27852 * docs/pwg/intro-preface.xml:
27853 * examples/plugins/example.c: (gst_example_get_type),
27854 (gst_example_class_init), (gst_example_chain),
27855 (gst_example_set_property), (gst_example_get_property),
27856 (gst_example_change_state), (plugin_init):
27857 * examples/plugins/example.h:
27860 2005-05-17 Wim Taymans <wim@fluendo.com>
27862 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27863 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27864 * gst/gstqueue.c: (gst_queue_change_state):
27865 Clear queue when going to READY.
27866 Remove IN_SETCAPS flag too.
27868 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27870 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27871 Remove implicit cast from gboolean to GstElementStateReturn;
27872 make sure we still return failure in paused => ready case if
27873 the parent class fails to change state and our own stop
27876 2005-05-17 Wim Taymans <wim@fluendo.com>
27878 * tools/gst-launch.c: (event_loop):
27879 Message was unreffed too soon.
27881 2005-05-16 Andy Wingo <wingo@pobox.com>
27883 * gst/gstbin.c (sink_iterator_filter): Err... um...
27885 * check/gst/gstbin.c (test_ghost_pads): New test for the
27886 ghosting-if-elements-not-in-same-bin behavior.
27888 2005-05-16 David Schleef <ds@schleef.org>
27890 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27891 accessing refcount directly.
27893 2005-05-15 David Schleef <ds@schleef.org>
27895 * check/Makefile.am: remove GstData checks
27896 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27897 * gst/Makefile.am: add miniobject, remove data
27898 * gst/gst.h: add miniobject, remove data
27899 * gst/gstdata.c: remove
27900 * gst/gstdata.h: remove
27901 * gst/gstdata_private.h: remove
27902 * gst/gsttypes.h: remove GstEvent and GstMessage
27903 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27904 * gst/gstmarshal.list: change BOXED -> OBJECT
27906 Implement GstMiniObject.
27907 * gst/gstminiobject.c:
27908 * gst/gstminiobject.h:
27910 Modify to be subclasses of GstMiniObject.
27911 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27912 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27913 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27914 (gst_subbuffer_get_type), (gst_subbuffer_init),
27915 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27918 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27919 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27920 (_gst_event_copy), (gst_event_new):
27922 * gst/gstmessage.c: (_gst_message_initialize),
27923 (gst_message_get_type), (gst_message_class_init),
27924 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27925 (gst_message_new), (gst_message_new_error),
27926 (gst_message_new_warning), (gst_message_new_tag),
27927 (gst_message_new_state_changed), (gst_message_new_application):
27928 * gst/gstmessage.h:
27929 * gst/gstprobe.c: (gst_probe_perform),
27930 (gst_probe_dispatcher_dispatch):
27932 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27933 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27934 (_gst_query_copy), (gst_query_new):
27936 Update elements for GstData -> GstMiniObject changes
27938 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27939 (gst_queue_chain), (gst_queue_loop):
27940 * gst/elements/gstbufferstore.c:
27941 (gst_buffer_store_add_buffer_func),
27942 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27943 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27944 (gst_fakesink_render):
27945 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27946 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27947 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27948 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27949 (gst_filesrc_create_read):
27950 * gst/elements/gstidentity.c: (gst_identity_class_init):
27951 * gst/elements/gsttypefindelement.c:
27952 (gst_type_find_element_src_event), (free_entry_buffers),
27953 (gst_type_find_element_handle_event):
27954 * libs/gst/dataprotocol/dataprotocol.c:
27955 (gst_dp_header_from_buffer):
27956 * libs/gst/dataprotocol/dataprotocol.h:
27957 * libs/gst/dataprotocol/dp-private.h:
27959 2005-05-15 David Schleef <ds@schleef.org>
27961 * gst/elements/gstelements.c: Don't include headers that were
27964 2005-05-15 David Schleef <ds@schleef.org>
27966 * gst/elements/Makefile.am: Remove some elements that don't
27967 need to be in the core (or even exist at all).
27968 * gst/elements/gstaggregator.c:
27969 * gst/elements/gstaggregator.h:
27970 * gst/elements/gstmd5sink.c:
27971 * gst/elements/gstmd5sink.h:
27972 * gst/elements/gstmultifilesrc.c:
27973 * gst/elements/gstmultifilesrc.h:
27974 * gst/elements/gstpipefilter.c:
27975 * gst/elements/gstpipefilter.h:
27976 * gst/elements/gstshaper.c:
27977 * gst/elements/gstshaper.h:
27978 * gst/elements/gststatistics.c:
27979 * gst/elements/gststatistics.h:
27980 * po/POTFILES.in: Remove above files.
27982 2005-05-14 Andy Wingo <wingo@pobox.com>
27984 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27985 so as to get the refs right.
27986 (sink_iterator_filter): New function, wraps bin_element_is_sink,
27987 unreffing objects that don't pass the filter.
27989 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27990 gst_element_set_bus.
27991 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27992 normal cases, this will destroy the bus.
27994 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27997 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28000 2005-05-13 Andy Wingo <wingo@pobox.com>
28002 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28003 gst_pad_link, call pad_link_maybe_ghosting,
28004 (pad_link_maybe_ghosting): Links pads, making sure that the
28005 elements being linked are in the same bin.
28006 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28007 Helpers for pad_link_maybe_ghosting.
28009 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28012 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28014 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28016 * docs/design/part-element-source.txt:
28019 2005-05-12 Wim Taymans <wim@fluendo.com>
28021 * gst/base/gstbasesink.c: (gst_basesink_init),
28022 (gst_basesink_activate):
28023 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28024 (gst_basesrc_is_seekable):
28025 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28026 (bin_element_is_sink), (gst_bin_change_state):
28027 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28028 * gst/gstelement.h:
28029 Identify sinks by their flag to avoid overly complicated
28031 Do state changes even for elements not reachable from the
28033 BaseSink is a sink now :)
28034 Some more debugging info in the basesrc.
28037 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28039 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28040 Implement _query on a bin, similar to _send_event.
28042 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28044 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28045 Discont event offset format should be GST_FORMAT_BYTES,
28046 not GST_FORMAT_TIME.
28048 2005-05-12 Wim Taymans <wim@fluendo.com>
28050 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28051 Same fix as Ronald's but without the signal.
28053 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28055 * gst/gstutils.c: (gst_element_query_position):
28056 No, an element is not a pad.
28058 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28060 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28061 (gst_bin_get_state):
28062 If a child is removed from a bin while we remove the child from
28063 the bin and while we're retrieving its state, signal this to the
28064 get_state function so we abort the wait (instead of waiting for
28065 a timeout) and can immediately re-iterate over all other elements.
28067 2005-05-12 Wim Taymans <wim@fluendo.com>
28069 * gst/base/Makefile.am:
28070 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28071 (gst_basesrc_start):
28072 * gst/base/gstbasesrc.h:
28073 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28074 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28075 (gst_pushsrc_init), (gst_pushsrc_create):
28076 * gst/base/gstpushsrc.h:
28077 Added is_seekable to BaseSrc
28078 Added simple PushSrc.
28080 2005-05-11 Wim Taymans <wim@fluendo.com>
28082 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28083 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28084 (gst_element_link_pads), (gst_element_query_position),
28085 (gst_element_query_convert), (intersect_caps_func),
28086 (gst_pad_query_position), (gst_pad_query_convert):
28087 Fix refcounting in utils function.
28088 No point in trying to activate a pad when it's added, it could
28089 be added from the state change function and then we deadlock, the
28090 element has to decide what to do.
28092 2005-05-10 Andy Wingo <wingo@pobox.com>
28094 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28095 *all* the arguments.
28097 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28098 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28099 lock (according to the docs -- if this is wrong change the docs).
28101 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28102 flush messages in the NULL state.
28104 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28105 message immediately and return.
28106 (gst_bus_set_flushing): New function. If a bus is flushing, it
28107 flushes out any queued messages and immediately unrefs new
28108 messages. This is so when an element goes to NULL, all of the
28109 unhandled messages coming from it can be freed, and their
28110 references to the element dropped. In other words: message source
28111 ref considered harmful :P
28113 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28114 we're finished with it.
28116 * gst/gstmessage.c (gst_message_new_state_changed):
28118 2005-05-10 Wim Taymans <wim@fluendo.com>
28120 * gst/gstvalue.c: (gst_value_compare_flags),
28121 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28122 (_gst_value_initialize):
28123 Added flags serialize/deserialize/compare code.
28125 2005-05-09 Andy Wingo <wingo@pobox.com>
28127 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28128 Intersect the peer's caps with our caps.
28130 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28132 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28133 * gst/elements/gsttypefindelement.c: (find_peek):
28134 Handle negative offsets better. Fixes decodebin.
28136 2005-05-09 Wim Taymans <wim@fluendo.com>
28138 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28139 (gst_base_transform_event):
28140 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28141 Implement accept_caps.
28142 Fix silly lock/unlock mismatch in base class.
28144 2005-05-09 Wim Taymans <wim@fluendo.com>
28146 * docs/design/draft-push-pull.txt:
28147 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28148 * gst/elements/gstfilesink.c: (gst_filesink_init),
28149 (gst_filesink_query):
28150 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28151 (gst_type_find_handle_src_query), (find_element_get_length):
28152 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28153 * gst/gstelement.h:
28154 * gst/gstmessage.c:
28155 * gst/gstmessage.h:
28156 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28157 (gst_real_pad_get_caps_unlocked),
28158 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28159 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28160 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28161 (gst_real_pad_dispose), (gst_real_pad_finalize),
28162 (gst_pad_load_and_link), (gst_pad_save_thyself),
28163 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28164 (gst_pad_check_pull_range), (gst_pad_pull_range),
28165 (gst_pad_template_get_type), (gst_pad_template_class_init),
28166 (gst_pad_template_init), (gst_pad_template_dispose),
28167 (name_is_valid), (gst_static_pad_template_get),
28168 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28169 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28170 (gst_pad_get_element_private), (gst_pad_start_task),
28171 (gst_pad_pause_task), (gst_pad_stop_task),
28172 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28173 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28174 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28175 (gst_ghost_pad_new):
28177 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28178 (gst_query_new_position), (gst_query_set_position),
28179 (gst_query_parse_position), (gst_query_new_convert),
28180 (gst_query_set_convert), (gst_query_parse_convert):
28182 * gst/gstqueryutils.c:
28183 * gst/gstqueryutils.h:
28184 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28185 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28186 (gst_queue_handle_src_query):
28187 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28188 (gst_element_query_position), (gst_element_query_convert),
28189 (intersect_caps_func), (gst_pad_query_position),
28190 (gst_pad_query_convert):
28192 * tools/gst-inspect.c: (print_pad_info):
28193 * tools/gst-xmlinspect.c: (print_element_info):
28194 Remove old query functions. Ported old code.
28195 Added position/convert helper functions to gstutils.
28196 Reordered gstpad.c code, grouping relevant things.
28197 Remove gst_message_new(), always need to speficy a specific
28201 2005-05-09 Andy Wingo <wingo@pobox.com>
28203 * gst/gstiterator.h: Add some includes.
28205 * gst/gstqueryutils.h: Include more headers.
28208 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28209 some uses of gst_pad_query.
28211 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28212 NULL out parameters.
28213 (gst_query_new_position): New proc, allocates a new position
28216 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28217 gstqueryutils.c to the build.
28219 * gst/gststructure.c (gst_structure_set_valist): Implement with
28220 the generic G_VALUE_COLLECT.
28222 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28224 * gst/Makefile.am: (gst_headers):
28225 Added gstqueryutils.h to the list of headers to install, that was
28226 a 'nachty' move wingo :)
28228 2005-05-06 Andy Wingo <wingo@pobox.com>
28231 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28232 GstData, init a memchunk.
28233 (standard_definitions): Add a few query types, deprecate a few.
28234 (gst_query_get_type): New proc.
28235 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28237 (gst_query_new_application, gst_query_get_structure): New public
28240 * docs/design/draft-query.txt: Removed LINKS from the query types,
28241 because all the rest can be dispatched to other pads -- seemed
28242 ugly to have a query that couldn't be dispatched. internal_links
28243 is fine as a pad method.
28245 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28246 in gstpad.c, but maintain binary compatibility for the moment.
28247 Will fix before 0.9 is out.
28249 * gst/gstqueryutils.c:
28250 * gst/gstqueryutils.h: New files, implement 3 methods for each
28251 query type: parse_query, parse_response, and set. Probably need an
28254 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28256 * gst/elements/gstfilesink.c (gst_filesink_query2):
28257 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28258 query_types, and formats methods.
28260 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28261 (gst_pad_set_query2_function): New functions.
28262 (gst_real_pad_init): Set query2_default as the default query2
28263 function. Basically just dispatches to internally linked pads.
28267 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28268 without using the atomic operations. Only one thread can possibly
28269 be accessing the data at this point. Changed so as to avoid
28270 gst_atomic operations.
28272 2005-05-06 Wim Taymans <wim@fluendo.com>
28274 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28275 Also set caps if we use the fallback buffer alloc.
28277 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28279 * docs/gst/Makefile.am:
28280 * docs/gst/gstreamer-docs.sgml:
28281 * docs/gst/gstreamer-sections.txt:
28282 * docs/gst/tmpl/gstatomic.sgml:
28283 * docs/gst/tmpl/gstmemchunk.sgml:
28284 * testsuite/elements/struct_i386.h:
28285 * win32/GStreamer.vcproj:
28287 Purge GstAtomic stuff from docs and win32 makefiles as well
28289 2005-05-06 Wim Taymans <wim@fluendo.com>
28291 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28292 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28293 * gst/gstpad.c: (gst_pad_peer_get_caps):
28294 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28295 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28296 (gst_queue_src_activate), (gst_queue_change_state):
28298 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28299 (intersect_caps_func):
28300 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28301 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28302 Some fixes for the peer_get_caps() change.
28304 2005-05-06 Wim Taymans <wim@fluendo.com>
28306 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28307 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28308 (gst_basesink_activate):
28309 Actually do something with error codes returned from the push
28312 2005-05-06 Wim Taymans <wim@fluendo.com>
28314 * docs/design/part-element-sink.txt:
28315 * docs/design/part-element-source.txt:
28316 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28317 (gst_basesink_event), (gst_basesink_activate):
28318 * gst/base/gstbasesink.h:
28319 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28320 (gst_basesrc_activate):
28321 * gst/base/gstbasesrc.h:
28322 * gst/gstelement.c: (gst_element_pads_activate):
28323 Some more documentation.
28324 Fixed scheduling decision in _pads_activate().
28326 2005-05-05 Andy Wingo <wingo@pobox.com>
28328 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28331 2005-05-05 Wim Taymans <wim@fluendo.com>
28333 * gst/base/Makefile.am:
28334 * gst/base/gstbasesink.h:
28335 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28336 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28337 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28338 (gst_collectpads_class_init), (gst_collectpads_init),
28339 (gst_collectpads_finalize), (gst_collectpads_new),
28340 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28341 (find_pad), (gst_collectpads_remove_pad),
28342 (gst_collectpads_is_active), (gst_collectpads_collect),
28343 (gst_collectpads_collect_range), (gst_collectpads_start),
28344 (gst_collectpads_stop), (gst_collectpads_peek),
28345 (gst_collectpads_pop), (gst_collectpads_available),
28346 (gst_collectpads_read), (gst_collectpads_flush),
28347 (gst_collectpads_chain):
28348 * gst/base/gstcollectpads.h:
28349 * gst/elements/Makefile.am:
28350 * gst/elements/gstelements.c:
28351 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28352 (gst_fakesink_get_times), (gst_fakesink_event),
28353 (gst_fakesink_preroll), (gst_fakesink_render):
28354 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28355 (gst_filesink_init), (gst_filesink_set_location),
28356 (gst_filesink_open_file), (gst_filesink_close_file),
28357 (gst_filesink_pad_query), (gst_filesink_event),
28358 (gst_filesink_render), (gst_filesink_change_state):
28359 * gst/elements/gstfilesink.h:
28360 Added object to help in making collect pad based elements.
28362 Make event function in sink baseclass return gboolean.
28364 2005-05-05 Wim Taymans <wim@fluendo.com>
28366 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28367 (gst_bin_get_by_name):
28369 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28370 (gst_clock_finalize):
28371 * gst/gstdata.c: (gst_data_replace):
28373 * gst/gstelement.c: (gst_element_request_pad),
28374 (gst_element_pads_activate):
28375 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28376 (gst_object_unref):
28377 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28378 (gst_pad_set_checkgetrange_function),
28379 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28380 (gst_pad_check_pull_range), (gst_pad_pull_range),
28381 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28382 (gst_pad_pause_task), (gst_pad_stop_task):
28383 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28384 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28385 Fix name lookup in GstBin.
28386 Added _data_replace() function and _buffer_replace()
28387 Use finalize method to clean up clock.
28388 Fix refcounting on request pads.
28389 Fix pad schedule mode error.
28390 Some more object refcounting debug info,
28393 2005-05-04 Andy Wingo <wingo@pobox.com>
28395 * check/Makefile.am:
28396 * docs/gst/tmpl/gstatomic.sgml:
28397 * docs/gst/tmpl/gstplugin.sgml:
28398 * gst/base/gstbasesink.c: (gst_basesink_activate):
28399 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28400 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28401 (gst_basesrc_query), (gst_basesrc_set_property),
28402 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28403 (gst_basesrc_activate):
28404 * gst/base/gstbasesrc.h:
28405 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28406 (gst_base_transform_src_activate):
28407 * gst/elements/gstelements.c:
28408 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28409 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28410 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28411 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28412 (gst_type_find_element_checkgetrange),
28413 (gst_type_find_element_activate):
28414 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28415 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28416 (gst_caps_load_thyself):
28417 * gst/gstelement.c: (gst_element_pads_activate),
28418 (gst_element_save_thyself), (gst_element_restore_thyself):
28419 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28420 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28422 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28423 (gst_xml_parse_file), (gst_xml_parse_memory),
28424 (gst_xml_get_element), (gst_xml_make_element):
28425 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28426 (_file_index_id_save_xml), (gst_file_index_commit):
28427 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28428 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28430 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28431 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28432 * tools/gst-complete.c: (main):
28433 * tools/gst-compprep.c: (main):
28434 * tools/gst-inspect.c: (print_element_properties_info):
28435 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28436 * tools/gst-xmlinspect.c: (print_element_properties):
28439 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28441 * gst/gstplugin.c: (gst_plugin_check_module),
28442 (gst_plugin_check_file), (gst_plugin_load_file):
28443 apply patch from #172526 to make register work on MacOSX
28445 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28447 * docs/gst/tmpl/gstconfig.sgml:
28448 * gst/gstconfig.h.in:
28449 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28450 * testsuite/debug/printf_extension.c: (main):
28451 Do not use GST_PTR_FORMAT on pointers to types with
28452 sizeof < sizeof(gpointer). Fixes test on 64-bit
28453 * testsuite/elements/property.h:
28454 use correct printf format
28456 2005-05-02 Wim Taymans <wim@fluendo.com>
28458 * docs/design/draft-push-pull.txt:
28459 * docs/design/draft-query.txt:
28460 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28461 (gst_basesrc_start):
28462 Added draft for new query API.
28463 Added draft for better selecting scheduling methods.
28464 Make basesrc ignore length if the subclass does not support
28467 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28470 possible fixes for automake-1.5 - _LIBADD is reserved
28472 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28474 * docs/faq/Makefile.am:
28475 * docs/manual/Makefile.am:
28476 * docs/manuals.mak:
28477 * docs/pwg/Makefile.am:
28479 possible fixes for automake-1.5
28481 2005-04-28 Wim Taymans <wim@fluendo.com>
28483 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28484 (gst_basesink_pad_getcaps), (gst_basesink_init),
28485 (gst_basesink_do_sync):
28486 * gst/gstclock.c: (gst_clock_entry_new):
28487 * gst/gstevent.c: (gst_event_discont_get_value):
28488 * gst/gstpipeline.c: (pipeline_bus_handler),
28489 (gst_pipeline_change_state):
28490 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28491 Better debugging of clocking info.
28492 Allow NULL values when getting discont values.
28494 2005-04-27 Wim Taymans <wim@fluendo.com>
28496 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28497 * check/gst/gstpad.c: (gst_pad_suite):
28498 Increase timeout for checks.
28500 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28502 * check/Makefile.am:
28503 fix the broken rule for cleanup. Apparently this rule is
28504 only needed on FC2, so maybe this warrants further autotool
28507 2005-04-26 Wim Taymans <wim@fluendo.com>
28509 * gst/gsttrashstack.h:
28510 Ooohh. a nasty one! After having a failed pop() from the stack,
28511 it's possible that the stack is empty. In that case, don't
28512 follow the NULL pointer.
28514 2005-04-25 Wim Taymans <wim@fluendo.com>
28516 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28517 (gst_pad_set_checkgetrange_function),
28518 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28519 (gst_pad_check_pull_range), (gst_pad_pull_range),
28520 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28521 (gst_pad_pause_task), (gst_pad_stop_task):
28522 * gst/gstplugin.c: (gst_plugin_load):
28524 Remove gst_library_load as it does more harm than good with
28525 the new g_module flags.
28526 Revert bogus caps template check in pad linking, pad caps
28527 are important when linking not the template, which is more
28528 general than the current caps.
28530 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28532 * gst/autoplug/.cvsignore:
28533 * gst/autoplug/Makefile.am:
28534 * gst/autoplug/gstsearchfuncs.c:
28535 * gst/autoplug/gstsearchfuncs.h:
28536 * gst/autoplug/gstspider.c:
28537 * gst/autoplug/gstspider.h:
28538 * gst/autoplug/gstspideridentity.c:
28539 * gst/autoplug/gstspideridentity.h:
28540 * gst/autoplug/spidertest.c:
28543 2005-04-25 Wim Taymans <wim@fluendo.com>
28545 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28546 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28547 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28548 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28550 Added stubs for unimplemented functions.
28552 2005-04-24 David Schleef <ds@schleef.org>
28554 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28557 2005-04-24 David Schleef <ds@schleef.org>
28559 Convert everything from GstAtomicInt to g_atomic_int_*, and
28564 * gst/gstatomic_impl.h:
28572 * gst/gstdata_private.h:
28576 * gst/gstmessage.c:
28579 * gst/gststructure.c:
28580 * gst/gststructure.h:
28581 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28584 2005-04-24 David Schleef <ds@schleef.org>
28586 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28587 make the regressions tests work. Remove some code that is no
28589 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28590 Disable warning for pads without templates.
28592 2005-04-24 David Schleef <ds@schleef.org>
28594 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28595 functions that handle filtered links.
28596 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28598 * gst/gstutils.c: Fix/remove utility functions that handle
28601 * gst/gstvalue.c: Add serialization/deserialization of caps
28602 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28603 requires fixing so that the filter caps notation creates
28604 a capsfilter element and sets the filter_caps property. I
28605 think everyone probably wants to keep the shorthand notation.
28606 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28607 * docs/gst/tmpl/gstpad.sgml:
28609 * gst/elements/gstelements.c: Register capsfilter element.
28610 * gst/Makefile.am: fix spacing
28611 * docs/random/ds/0.9-suggested-changes: random
28613 2005-04-23 David Schleef <ds@schleef.org>
28615 * gst/elements/Makefile.am:
28616 * gst/elements/gstcapsfilter.c: New element that acts like an
28617 identity, but filters caps. Will eventually replace filtered
28618 caps in pad linking.
28619 * gst/gstutils.c: (gst_element_create_all_pads): New function
28620 to create all the ALWAYS pads that are registered with an
28621 element class. This functionality should eventually be
28622 merged in with GstElement initialization.
28624 * testsuite/trigger/README: part of trigger test code that should
28625 have been checked in a long time ago.
28627 2005-04-23 David Schleef <ds@schleef.org>
28629 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28630 needed with new versions of libtool (nobody will confirm this),
28631 and hard to carry around.
28632 * gst/autoplug/Makefile.am:
28633 * gst/base/Makefile.am:
28634 * gst/elements/Makefile.am:
28635 * gst/indexers/Makefile.am:
28636 * gst/schedulers/Makefile.am:
28637 * libs/gst/bytestream/Makefile.am:
28638 * libs/gst/control/Makefile.am:
28639 * libs/gst/dataprotocol/Makefile.am:
28640 * libs/gst/getbits/Makefile.am:
28642 2005-04-21 Wim Taymans <wim@fluendo.com>
28644 * docs/design/draft-push-pull.txt:
28645 * docs/design/part-MT-refcounting.txt:
28646 * docs/design/part-TODO.txt:
28647 * docs/design/part-caps.txt:
28648 * docs/design/part-events.txt:
28649 * docs/design/part-gstbus.txt:
28650 * docs/design/part-gstpipeline.txt:
28651 * docs/design/part-messages.txt:
28652 * docs/design/part-push-pull.txt:
28653 * docs/design/part-query.txt:
28656 2005-04-21 Wim Taymans <wim@fluendo.com>
28658 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28659 (gst_message_new), (gst_message_new_error),
28660 (gst_message_new_warning), (gst_message_new_tag),
28661 (gst_message_new_state_changed), (gst_message_new_application),
28662 (gst_message_get_structure):
28663 * gst/gstmessage.h:
28664 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28665 (gst_structure_copy_conditional):
28666 Use parent refcount in GstMessage to ensure GstStructure
28668 Cleaned up headers a bit.
28671 2005-04-20 Wim Taymans <wim@fluendo.com>
28673 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28674 (gst_basesink_pad_getcaps), (gst_basesink_init),
28675 (gst_basesink_chain_unlocked):
28676 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28677 (gst_type_find_helper):
28678 * gst/elements/gsttypefindelement.c:
28679 (gst_type_find_element_have_type), (gst_type_find_element_init),
28680 (stop_typefinding), (gst_type_find_element_handle_event),
28681 (find_suggest), (gst_type_find_element_chain),
28682 (gst_type_find_element_checkgetrange),
28683 (gst_type_find_element_getrange), (do_typefind),
28684 (gst_type_find_element_activate):
28685 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28686 (gst_buffer_default_free), (gst_buffer_default_copy),
28687 (gst_buffer_set_caps):
28688 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28689 (gst_caps_replace):
28690 * gst/gstmessage.c: (gst_message_new),
28691 (gst_message_new_state_changed):
28692 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28693 (gst_pad_set_checkgetrange_function),
28694 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28695 (gst_pad_set_caps), (gst_pad_check_pull_range),
28696 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28698 * gst/gsttypefind.c: (gst_type_find_register):
28699 Make gst_caps_replace() work like other _replace() functions.
28700 Use _caps_replace() where possible.
28701 Make sure _message_new() initialises its field.
28702 Add gst_static_pad_template_get_caps()
28705 2005-04-18 Andy Wingo <wingo@pobox.com>
28707 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28708 on the peer, not the pad. I think that was a typo. Pass an extra
28709 arg to see if random access is possible. Activate the pads as
28710 PULL_RANGE if possible.
28712 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28714 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28715 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28718 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28720 * docs/faq/using.xml:
28721 Add note on gstreamer-properties (#154996).
28723 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28725 * docs/random/bbb/optional-properties:
28726 Some analysis on optional properties.
28728 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28730 * docs/gst/tmpl/gstelementfactory.sgml:
28731 * gst/gstelement.h:
28732 * gst/gstelementfactory.c: (gst_element_factory_init),
28733 (gst_element_factory_cleanup), (gst_element_register),
28734 (__gst_element_factory_add_static_pad_template),
28735 (gst_element_factory_get_static_pad_templates),
28736 (gst_element_factory_can_src_caps),
28737 (gst_element_factory_can_sink_caps):
28738 * gst/registries/Makefile.am:
28739 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28740 (gst_xml_registry_class_init), (gst_xml_registry_init),
28741 (gst_xml_registry_new), (gst_xml_registry_set_property),
28742 (gst_xml_registry_get_property), (get_time), (make_dir),
28743 (gst_xml_registry_get_perms_func),
28744 (plugin_times_older_than_recurse), (plugin_times_older_than),
28745 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28746 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28747 (add_to_char_array), (read_string), (read_uint), (read_enum),
28748 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28749 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28750 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28751 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28752 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28753 (gst_xml_registry_rebuild):
28754 * gst/registries/gstlibxmlregistry.h:
28755 * tools/gst-compprep.c: (main):
28756 * tools/gst-inspect.c: (print_pad_templates_info):
28757 * tools/gst-xmlinspect.c: (print_element_info):
28758 Use libxml2 for registry parsing, use staticpadtemplates in
28759 elementfactories. Makes gst_init() +/- 10x faster.
28761 2005-04-12 Wim Taymans <wim@fluendo.com>
28763 * gst/base/Makefile.am:
28764 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28765 (gst_basesink_pad_getcaps), (gst_basesink_init),
28766 (gst_basesink_event), (gst_basesink_change_state):
28767 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28768 (gst_basesrc_init), (gst_basesrc_query),
28769 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28770 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28771 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28772 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28773 (gst_basesrc_stop), (gst_basesrc_activate),
28774 (gst_basesrc_change_state):
28775 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28776 (helper_find_suggest), (gst_type_find_helper):
28777 * gst/base/gsttypefindhelper.h:
28778 * gst/elements/Makefile.am:
28779 * gst/elements/gstelements.c:
28780 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28781 (gst_fakesink_get_times), (gst_fakesink_event),
28782 (gst_fakesink_preroll), (gst_fakesink_render):
28783 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28784 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28785 (gst_fakesrc_get_property), (gst_fakesrc_create),
28786 (gst_fakesrc_start), (gst_fakesrc_stop):
28787 * gst/elements/gstfakesrc.h:
28788 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28789 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28790 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28791 (gst_filesrc_create_read), (gst_filesrc_create),
28792 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28793 (gst_filesrc_start):
28794 * gst/elements/gsttypefindelement.c:
28795 (gst_type_find_element_have_type), (gst_type_find_element_init),
28796 (start_typefinding), (stop_typefinding), (push_buffer_store),
28797 (gst_type_find_element_handle_event),
28798 (gst_type_find_element_chain),
28799 (gst_type_find_element_checkgetrange),
28800 (gst_type_find_element_getrange), (do_typefind),
28801 (gst_type_find_element_activate),
28802 (gst_type_find_element_change_state):
28803 * gst/elements/gsttypefindelement.h:
28804 * gst/gstpipeline.c: (pipeline_bus_handler):
28805 Added typefind helper.
28806 Small preroll fix in the base sink.
28807 Disable typefind code in basesrc.
28808 Crude port of typefindelement.
28812 2005-04-11 Wim Taymans <wim@fluendo.com>
28814 * check/gst/gstbus.c: (gstbus_suite):
28815 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28816 * check/gstcheck.h:
28817 Fix up the timeout so that the test does not fail.
28819 2005-04-06 Wim Taymans <wim@fluendo.com>
28822 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28823 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28824 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28825 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28826 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28827 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28828 (gst_basesrc_stop), (gst_basesrc_activate),
28829 (gst_basesrc_change_state), (basesrc_find_peek),
28830 (basesrc_find_suggest), (gst_basesrc_type_find):
28831 * gst/base/gstbasesrc.h:
28832 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28833 (gst_filesrc_class_init), (gst_filesrc_init),
28834 (gst_filesrc_finalize), (gst_filesrc_set_location),
28835 (gst_filesrc_set_property), (gst_filesrc_get_property),
28836 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28837 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28838 (gst_filesrc_create_read), (gst_filesrc_create),
28839 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28840 * gst/elements/gstfilesrc.h:
28841 * gst/gstelement.c: (gst_element_get_state_func),
28842 (gst_element_lost_state), (gst_element_pads_activate):
28843 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28844 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28845 (gst_pad_pull_range):
28847 More work on the generic source base class, implement seeking,
28849 Make filesrc extend the base source class.
28850 Added gst_pad_set_checkgetrange_function to GstPad.
28852 2005-04-06 Andy Wingo <wingo@pobox.com>
28854 * pkgconfig/gstreamer-base.pc.in:
28855 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28857 * pkgconfig/Makefile.am:
28858 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28860 2005-04-04 Wim Taymans <wim@fluendo.com>
28862 * gst/base/Makefile.am:
28864 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28865 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28866 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28867 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28868 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28869 (gst_basesrc_base_init), (gst_basesrc_class_init),
28870 (gst_basesrc_init), (gst_basesrc_get_formats),
28871 (gst_basesrc_get_query_types), (gst_basesrc_query),
28872 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28873 (gst_basesrc_set_property), (gst_basesrc_get_property),
28874 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28875 (gst_basesrc_loop), (gst_basesrc_activate),
28876 (gst_basesrc_change_state):
28877 * gst/base/gstbasesrc.h:
28878 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28879 (gst_fakesrc_class_init), (gst_fakesrc_init),
28880 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28881 (gst_fakesrc_get_property), (gst_fakesrc_create):
28882 * gst/elements/gstfakesrc.h:
28883 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28884 (gst_filesrc_open_file), (gst_filesrc_loop),
28885 (gst_filesrc_activate), (filesrc_find_peek),
28886 (gst_filesrc_type_find):
28887 Made base source class, make fakesrc extend it.
28888 Add comments to basesink class.
28889 Some filesrc cleanup.
28891 2005-03-31 David Schleef <ds@schleef.org>
28893 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28894 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28895 expected to link against libgstreamer.
28896 * gst/base/Makefile.am: link against libgstreamer
28897 * gst/elements/Makefile.am: same
28899 2005-03-31 Andy Wingo <wingo@pobox.com>
28901 * tests/instantiate/Makefile.am:
28902 * tests/instantiate/caps.c: Add test to test speed of caps copy
28905 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28906 GMemChunk to be fair.
28908 * gst/gsttrashstack.h: Remove warning about using the fallback
28909 trash stack implementation, it's still faster than malloc.
28911 2005-03-30 Andy Wingo <wingo@pobox.com>
28913 * tests/complexity.c: Add a copyright.
28915 2005-03-31 Wim Taymans <wim@fluendo.com>
28917 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28918 (gst_base_transform_class_init), (gst_base_transform_init),
28919 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28920 (gst_base_transform_get_property),
28921 (gst_base_transform_sink_activate),
28922 (gst_base_transform_src_activate),
28923 (gst_base_transform_change_state):
28924 * gst/base/gstbasetransform.h:
28925 * gst/elements/gstidentity.c: (gst_identity_class_init),
28926 (gst_identity_event), (gst_identity_check_perfect),
28927 (gst_identity_transform), (gst_identity_start),
28928 (gst_identity_stop):
28929 Added start/stop methods to transform base class so subclasses
28930 don't need to deal with state changes even.
28932 2005-03-31 Wim Taymans <wim@fluendo.com>
28934 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28935 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28937 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28938 (gst_pad_pull_range):
28939 Added rate to the discont event to prepare for variable speed
28940 and reverse playback.
28942 2005-03-29 David Schleef <ds@schleef.org>
28945 * testsuite/trigger/Makefile.am:
28946 * testsuite/trigger/trigger.c: A little example program to show
28947 how trigger-based elements can work.
28949 2005-03-29 Wim Taymans <wim@fluendo.com>
28951 * gst/base/Makefile.am:
28953 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28954 (gst_basesink_base_init), (gst_basesink_class_init),
28955 (gst_basesink_pad_getcaps), (gst_basesink_init),
28956 (gst_basesink_activate), (gst_basesink_change_state):
28957 * gst/base/gstbasesink.h:
28958 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28959 (gst_base_transform_base_init), (gst_base_transform_finalize),
28960 (gst_base_transform_class_init), (gst_base_transform_init),
28961 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28962 (gst_base_transform_event), (gst_base_transform_getrange),
28963 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28964 (gst_base_transform_set_property),
28965 (gst_base_transform_get_property),
28966 (gst_base_transform_sink_activate),
28967 (gst_base_transform_src_activate),
28968 (gst_base_transform_change_state):
28969 * gst/base/gstbasetransform.h:
28970 * gst/elements/gstidentity.c: (gst_identity_finalize),
28971 (gst_identity_class_init), (gst_identity_init),
28972 (gst_identity_event), (gst_identity_check_perfect),
28973 (gst_identity_transform), (gst_identity_set_property),
28974 (gst_identity_get_property), (gst_identity_change_state):
28975 * gst/elements/gstidentity.h:
28976 * gst/gstelement.c: (gst_element_get_state_func),
28977 (gst_element_lost_state), (gst_element_pads_activate):
28978 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28979 (gst_pad_check_pull_range), (gst_pad_pull_range):
28981 Simplify pad activation.
28982 Added function to check if pull_range can be performed.
28983 Error out when pulling inactive or flushing pads.
28984 Removed const from refcounted types as it does not make sense.
28985 Simplify pad templates in basesink
28986 Added base class for simple 1-to-1 transforms.
28987 Make identity subclass the base transform.
28989 2005-03-29 Andy Wingo <wingo@pobox.com>
28991 * docs/libs/gstreamer-libs-overrides.txt:
28992 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28993 really don't understand what's going on, but like whatever. I want
28996 * docs/gst/Makefile.am:
28997 * docs/libs/Makefile.am: Dist the overrides files.
28999 * check/Makefile.am (clean-local): Remove .libs directories.
29001 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29002 elements to EXTRA_DIST, so po/ files are happy.
29004 * po/POTFILES.in: Er, remove it here.
29006 * po/POTFILES: Remove gstspider.c.
29008 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29010 * docs/libs/gstreamer-libs-docs.sgml:
29011 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29014 * tests/complexity.c (main): Set the length of the preroll queue
29015 on the sinks to prevent a lockup.
29017 * libs/gst/dataprotocol/Makefile.am:
29018 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29019 the same as the one in check/gst-libs/gdp.c.
29021 * po/, docs/gst/: Commit automatic changes to docs and po files.
29023 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29024 the versioned libgstbase.
29026 * check/Makefile.am: Depend on an unversioned gst-register, seems
29027 to make autoconf happier.
29029 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29031 2005-03-28 Wim Taymans <wim@fluendo.com>
29034 * docs/design/part-gstelement.txt:
29035 * docs/design/part-negotiation.txt:
29036 * docs/design/part-preroll.txt:
29037 * docs/design/part-scheduling.txt:
29038 * docs/design/part-states.txt:
29040 * gst/base/Makefile.am:
29042 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29043 (gst_basesink_base_init), (gst_basesink_class_init),
29044 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29045 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29046 (gst_basesink_set_pad_functions),
29047 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29048 (gst_basesink_set_property), (gst_basesink_get_property),
29049 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29050 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29051 (gst_basesink_preroll_queue_push),
29052 (gst_basesink_preroll_queue_empty),
29053 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29054 (gst_basesink_event), (gst_basesink_get_times),
29055 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29056 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29057 (gst_basesink_loop), (gst_basesink_activate),
29058 (gst_basesink_change_state):
29059 * gst/base/gstbasesink.h:
29060 * gst/elements/Makefile.am:
29061 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29062 (gst_fakesink_class_init), (gst_fakesink_init),
29063 (gst_fakesink_set_property), (gst_fakesink_get_property),
29064 (gst_fakesink_get_times), (gst_fakesink_event),
29065 (gst_fakesink_preroll), (gst_fakesink_render),
29066 (gst_fakesink_change_state):
29067 * gst/elements/gstfakesink.h:
29068 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29069 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29070 * gst/gstelement.c: (gst_element_add_pad),
29071 (gst_element_get_state_func), (gst_element_abort_state),
29072 (gst_element_commit_state), (gst_element_lost_state),
29073 (gst_element_set_state), (gst_element_pads_activate):
29074 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29075 * gst/gstpipeline.c: (gst_pipeline_send_event),
29076 (gst_pipeline_change_state):
29077 Added state change code.
29078 Added/updated docs.
29079 Added sink base class, make fakesink extend the base class.
29080 Small cleanups in GstPipeline.
29082 2005-03-26 David Schleef <ds@schleef.org>
29084 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29085 is broken and should be implemented in a different library.
29086 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29087 * gst/gst.h: remove gstcpu.h
29088 * gst/gstcpu.c: remove
29089 * gst/gstcpu.h: remove
29090 * gst/Makefile.am.future: Remove this file. It's ancient.
29092 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29094 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29095 (gst_bin_send_event):
29096 Add default event/set_manager handlers. The set_manager handler
29097 takes care that the manager is distributed over kids that were
29098 already in the bin before the manager was set. The event handler
29099 is a utility virtual function that sends the event over all sinks,
29100 so that gst_element_send_event (bin, event); has the expected
29102 * gst/gstpad.c: (gst_pad_event_default):
29103 Re-install default event handling for discontinuities, so that
29104 seeking works without requiring hacks in applications or extra
29106 * gst/gstpipeline.c: (gst_pipeline_class_init),
29107 (gst_pipeline_send_event):
29108 Half hack, half utility: set a pipeline to PAUSED for seek events,
29109 since that is the only way we can guarantee a/v sync. Means that
29110 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29111 and it "just works".
29113 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29115 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29116 Lock/unlock mismatch.
29118 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29120 * docs/faq/gst-uninstalled:
29121 add gst-plugins-base
29122 * docs/gst/Makefile.am:
29123 don't error out until docs are fixed
29124 * docs/gst/gstreamer.types:
29127 2005-03-22 Wim Taymans <wim@fluendo.com>
29129 * check/Makefile.am:
29130 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29131 * gst/gststructure.c: (gst_structure_set_valist),
29132 (gst_structure_copy_conditional):
29133 Activated more tests.
29134 Added message test.
29135 Added G_TYPE_POINTER to GstStructure.
29138 2005-03-22 Wim Taymans <wim@fluendo.com>
29140 * docs/design/part-TODO.txt:
29141 * docs/design/part-events.txt:
29142 * docs/design/part-gstbin.txt:
29143 * docs/design/part-gstbus.txt:
29144 * docs/design/part-gstpipeline.txt:
29145 * docs/design/part-messages.txt:
29147 * gst/gstmessage.c:
29150 2005-03-21 Wim Taymans <wim@fluendo.com>
29152 * gst/gstbus.c: (gst_bus_post):
29153 Fix copy-and-paste error.
29155 2005-03-21 Wim Taymans <wim@fluendo.com>
29157 * check/Makefile.am:
29159 * gst/elements/Makefile.am:
29160 * gst/elements/gstelements.c:
29161 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29162 (gst_fakesink_event), (gst_fakesink_chain):
29163 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29164 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29165 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29166 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29167 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29168 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29169 (gst_fakesrc_loop), (gst_fakesrc_activate),
29170 (gst_fakesrc_change_state):
29171 * gst/elements/gstfakesrc.h:
29172 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29173 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29174 (gst_filesrc_open_file), (gst_filesrc_loop),
29175 (gst_filesrc_activate), (gst_filesrc_change_state),
29176 (filesrc_find_peek), (filesrc_find_suggest),
29177 (gst_filesrc_type_find):
29178 * gst/elements/gstidentity.c: (gst_identity_finalize),
29179 (gst_identity_class_init), (gst_identity_init),
29180 (gst_identity_proxy_getcaps), (identity_queue_push),
29181 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29182 (gst_identity_getrange), (gst_identity_chain),
29183 (gst_identity_sink_loop), (gst_identity_src_loop),
29184 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29185 (gst_identity_set_property), (gst_identity_get_property),
29186 (gst_identity_change_state):
29187 * gst/elements/gstidentity.h:
29188 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29189 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29190 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29191 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29192 (gst_tee_sink_activate):
29193 * gst/elements/gsttee.h:
29194 * gst/gst.c: (gst_register_core_elements), (init_post):
29196 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29197 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29198 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29199 (gst_bin_change_state):
29201 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29202 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29203 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29204 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29205 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29206 (bus_watch_callback), (bus_watch_destroy),
29207 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29208 (poll_timeout), (gst_bus_poll):
29212 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29213 (gst_element_post_message), (gst_element_message_full),
29214 (gst_element_get_state_func), (gst_element_get_state),
29215 (gst_element_abort_state), (gst_element_commit_state),
29216 (gst_element_lost_state), (gst_element_set_state),
29217 (gst_element_pads_activate), (gst_element_change_state),
29218 (gst_element_dispose), (gst_element_set_manager_func),
29219 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29220 (gst_element_set_manager), (gst_element_get_manager),
29221 (gst_element_set_bus), (gst_element_get_bus),
29222 (gst_element_set_scheduler), (gst_element_get_scheduler):
29223 * gst/gstelement.h:
29224 * gst/gstevent.c: (gst_event_new_segment_seek),
29225 (gst_event_new_flush):
29227 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29228 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29229 (gst_message_new_eos), (gst_message_new_error),
29230 (gst_message_new_warning), (gst_message_new_tag),
29231 (gst_message_new_state_changed), (gst_message_new_application),
29232 (gst_message_get_structure), (gst_message_parse_tag),
29233 (gst_message_parse_state_changed), (gst_message_parse_error),
29234 (gst_message_parse_warning):
29235 * gst/gstmessage.h:
29236 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29237 (gst_real_pad_set_property), (gst_pad_set_active),
29238 (gst_pad_is_active), (gst_pad_set_blocked_async),
29239 (gst_pad_set_blocked), (gst_pad_is_blocked),
29240 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29241 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29242 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29243 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29244 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29245 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29246 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29247 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29248 (gst_pad_set_caps), (gst_pad_configure_sink),
29249 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29250 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29251 (gst_real_pad_dispose), (gst_real_pad_finalize),
29252 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29253 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29254 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29256 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29257 (pipeline_bus_handler), (gst_pipeline_change_state),
29258 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29259 * gst/gstpipeline.h:
29261 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29262 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29263 (gst_queue_link_src), (gst_queue_bufferalloc),
29264 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29265 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29266 (gst_queue_loop), (gst_queue_handle_src_event),
29267 (gst_queue_handle_src_query), (gst_queue_src_activate),
29268 (gst_queue_change_state):
29270 * gst/gstscheduler.c: (gst_scheduler_init),
29271 (gst_scheduler_dispose), (gst_scheduler_create_task),
29272 (gst_scheduler_factory_create):
29273 * gst/gstscheduler.h:
29274 * gst/gststructure.c: (gst_structure_get_type),
29275 (gst_structure_copy_conditional):
29276 * gst/gststructure.h:
29277 * gst/gsttaginterface.h:
29278 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29279 (gst_task_init), (gst_task_dispose), (gst_task_create),
29280 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29286 * gst/schedulers/Makefile.am:
29287 * gst/schedulers/cothreads_compat.h:
29288 * gst/schedulers/entryscheduler.c:
29289 * gst/schedulers/faircothreads.c:
29290 * gst/schedulers/faircothreads.h:
29291 * gst/schedulers/fairscheduler.c:
29292 * gst/schedulers/gstbasicscheduler.c:
29293 * gst/schedulers/gstoptimalscheduler.c:
29294 * gst/schedulers/gthread-cothreads.h:
29295 * gst/schedulers/threadscheduler.c:
29296 (gst_thread_scheduler_task_get_type),
29297 (gst_thread_scheduler_task_class_init),
29298 (gst_thread_scheduler_task_init),
29299 (gst_thread_scheduler_task_start),
29300 (gst_thread_scheduler_task_stop),
29301 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29302 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29303 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29304 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29306 * libs/gst/Makefile.am:
29307 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29308 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29309 (gst_file_pad_parent_set):
29310 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29311 (gst_dp_event_from_packet):
29312 * tests/complexity.c: (main):
29313 * tests/mass_elements.c: (main):
29314 * testsuite/states/locked.c: (message_received), (main):
29315 * testsuite/states/parent.c: (main):
29316 * tools/gst-inspect.c: (print_element_flag_info),
29317 (print_implementation_info), (print_pad_info):
29318 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29320 * tools/gst-md5sum.c: (event_loop), (main):
29321 * tools/gst-typefind.c: (main):
29322 * tools/gst-xmlinspect.c: (print_element_info):
29324 Added GstBus for mainloop integration.
29325 Added GstMessage for sending notifications on the bus.
29326 Added GstTask as an abstraction for pipeline entry points.
29328 Removed Schedulers.
29329 Simplified GstQueue for multithreaded core.
29330 Made _link threadsafe, removed old capsnego.
29331 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29332 Added pad blocking functions.
29333 Reworked scheduling functions in GstPad to prepare for
29334 scheduling updates soon.
29335 Moved events out of data stream.
29336 Simplified GstEvent types.
29337 Added return values to push/pull.
29338 Removed clocking from GstElement.
29339 Added prototypes for state change function for next merge.
29340 Removed iterate from bins and state change management.
29341 Fixed some elements, disabled others for now.
29342 Fixed -inspect and -launch.
29343 Added check for GstBus.
29345 2005-03-10 Wim Taymans <wim@fluendo.com>
29347 * docs/design/part-MT-refcounting.txt:
29348 * docs/design/part-clocks.txt:
29349 * docs/design/part-gstelement.txt:
29350 * docs/design/part-gstobject.txt:
29351 * docs/design/part-standards.txt:
29352 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29353 (gst_bin_remove_func), (gst_bin_remove):
29357 * testsuite/clock/clock1.c: (main):
29358 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29360 * testsuite/dlopen/loadgst.c: (do_test):
29361 * testsuite/refcounting/bin.c: (add_remove_test1),
29362 (add_remove_test2), (main):
29363 * testsuite/refcounting/element.c: (main):
29364 * testsuite/refcounting/element_pad.c: (main):
29365 * testsuite/refcounting/pad.c: (main):
29366 * tools/gst-launch.c: (sigint_handler_sighandler):
29367 * tools/gst-typefind.c: (main):
29369 Added doc about clock.
29370 removed gst_bin_iterate_recurse_up(), marked methods
29372 Fix more testsuites.
29374 2005-03-09 Wim Taymans <wim@fluendo.com>
29376 * gst/gstpad.c: (gst_pad_get_direction),
29377 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29378 (gst_pad_collect_valist):
29379 * testsuite/bins/interface.c: (main):
29380 * testsuite/caps/audioscale.c: (test_caps):
29381 * testsuite/caps/caps.c: (test1), (test2), (test3):
29382 * testsuite/caps/deserialize.c: (main):
29383 * testsuite/caps/enumcaps.c: (main):
29384 * testsuite/caps/filtercaps.c: (main):
29385 * testsuite/caps/intersect2.c: (main):
29386 * testsuite/caps/random.c: (main):
29387 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29388 * testsuite/caps/sets.c: (check_caps):
29389 * testsuite/caps/simplify.c: (check_caps), (main):
29390 * testsuite/caps/subtract.c: (check_caps):
29391 Fix _pad_get_direction wrt ghostpads.
29392 Fix caps testsuite.
29394 2005-03-09 Wim Taymans <wim@fluendo.com>
29396 * check/Makefile.am:
29397 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29398 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29399 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29400 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29401 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29402 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29403 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29404 (bin_element_is_sink), (gst_bin_iterate_sinks),
29405 (gst_bin_iterate_all_by_interface):
29407 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29408 (gst_element_change_state), (gst_element_dispose),
29409 (gst_element_finalize), (gst_element_set_loop_function):
29410 * gst/gstelement.h:
29411 * gst/gstiterator.c: (find_custom_fold_func):
29412 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29413 (gst_pad_collectv), (gst_pad_collect_valist),
29414 (gst_pad_template_new):
29415 * gst/gstpipeline.c: (gst_pipeline_class_init),
29416 (gst_pipeline_dispose), (gst_pipeline_set_property),
29417 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29418 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29419 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29421 * gst/schedulers/entryscheduler.c:
29422 * gst/schedulers/gstbasicscheduler.c:
29423 (gst_basic_scheduler_cothreaded_chain),
29424 (gst_basic_scheduler_chain_add_element):
29425 * testsuite/bins/interface.c: (main):
29427 Added GstSystemClock test.
29428 Implemented clock distribution code in GstBin.
29429 Implemented iterate sinks method for future use.
29430 Rearranged gstelement.h
29431 Fix GstIterator comparison bug.
29432 Moved some code to GstPipeline, mostly clocking related.
29434 2005-03-09 Wim Taymans <wim@fluendo.com>
29437 * gst/gst_private.h:
29438 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29439 (gst_bin_remove_func), (gst_bin_remove),
29440 (gst_bin_get_by_name_recurse_up):
29441 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29442 (gst_clock_id_compare_func), (gst_clock_id_wait),
29443 (gst_clock_id_wait_async), (gst_clock_init),
29444 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29445 * gst/gstelement.h:
29446 * gst/gstinfo.c: (_gst_debug_init):
29448 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29449 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29451 Bump version number, we're now 0.9.0
29452 Add future debugging category.
29453 Fix NULL _unref() in _get_by_name_recurse_up
29454 Rearrange gstpad.h.
29457 2005-03-08 Wim Taymans <wim@fluendo.com>
29459 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29460 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29461 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29462 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29463 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29464 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29465 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29466 * gst/elements/gstidentity.c: (gst_identity_class_init):
29467 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29468 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29469 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29470 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29471 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29473 * gst/gstelement.c: (gst_element_class_init),
29474 (gst_element_base_class_init), (gst_element_init),
29475 (gst_element_get_random_pad), (gst_element_wait_state_change),
29476 (gst_element_change_state), (gst_element_dispose),
29477 (gst_element_finalize), (gst_element_set_loop_function):
29478 * gst/gstelement.h:
29479 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29480 * gst/gstthread.c: (gst_thread_class_init),
29481 (gst_thread_release_children_locks), (gst_thread_change_state):
29482 * gst/schedulers/gstbasicscheduler.c:
29483 (gst_basic_scheduler_loopfunc_wrapper),
29484 (gst_basic_scheduler_chain_wrapper),
29485 (gst_basic_scheduler_src_wrapper),
29486 (gst_basic_scheduler_remove_element):
29487 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29488 Remove threadsafe properties. Fix elements because GObject
29489 complains when installing a property before declaring a
29490 set/get_property handler.
29491 Rearrange gstelement.h file, use STATE macros for state locks.
29492 Free mutexes in the finalize method instead of dispose.
29494 2005-03-08 Wim Taymans <wim@fluendo.com>
29496 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29497 * gst/gstthread.c: (gst_thread_release_children_locks):
29498 Added parentage check.
29499 Fix build og GstThread again.
29501 2005-03-08 Wim Taymans <wim@fluendo.com>
29503 * docs/design/part-MT-refcounting.txt:
29504 * docs/design/part-conventions.txt:
29505 * docs/design/part-gstobject.txt:
29506 * docs/design/part-relations.txt:
29507 * docs/design/part-standards.txt:
29508 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29509 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29510 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29511 (gst_bin_iterate_all_by_interface):
29514 * gst/gstelement.c: (gst_element_class_init),
29515 (gst_element_change_state), (gst_element_set_loop_function):
29516 * gst/gstelement.h:
29517 * gst/gstiterator.c:
29518 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29519 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29520 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29521 (gst_object_set_parent), (gst_object_unparent),
29522 (gst_object_check_uniqueness):
29524 Docs updates, clean up some headers.
29526 2005-03-07 Wim Taymans <wim@fluendo.com>
29528 * check/.cvsignore:
29529 * check/Makefile.am:
29530 * check/gst-libs/.cvsignore:
29531 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29532 * check/gst/.cvsignore:
29533 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29534 (START_TEST), (gstbus_suite), (main):
29535 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29536 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29537 (gst_data_suite), (main):
29538 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29539 (add_fold_func), (gstiterator_suite), (main):
29540 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29541 (thread_name_object), (thread_name_object_default),
29542 (gst_object_name_compare), (gst_object_suite), (main):
29543 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29544 (gst_pad_suite), (main):
29545 * check/gstcheck.c: (gst_check_log_message_func),
29546 (gst_check_log_critical_func), (gst_check_init):
29547 * check/gstcheck.h:
29548 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29549 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29552 2005-03-07 Wim Taymans <wim@fluendo.com>
29554 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29555 (gst_list_iterator_next), (gst_list_iterator_resync),
29556 (gst_list_iterator_free), (gst_iterator_new_list),
29557 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29558 (gst_iterator_free), (gst_iterator_push), (filter_next),
29559 (filter_resync), (filter_uninit), (filter_free),
29560 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29561 (gst_iterator_foreach), (find_custom_fold_func),
29562 (gst_iterator_find_custom):
29563 * gst/gstiterator.h:
29564 Added missing files.
29566 2005-03-07 Wim Taymans <wim@fluendo.com>
29570 * docs/design/part-MT-refcounting.txt:
29571 * docs/design/part-conventions.txt:
29572 * docs/design/part-gstobject.txt:
29573 * docs/design/part-relations.txt:
29574 * examples/mixer/mixer.c: (main):
29575 * examples/thread/thread.c: (eos), (main):
29577 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29578 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29579 (gst_spider_plug_from_srcpad):
29580 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29581 (gst_spider_identity_change_state),
29582 (gst_spider_identity_sink_loop_type_finding):
29583 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29584 * gst/elements/gstidentity.c: (gst_identity_init):
29585 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29586 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29587 * gst/elements/gsttypefindelement.c: (free_entry):
29590 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29591 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29592 (gst_bin_set_index), (gst_bin_set_element_sched),
29593 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29594 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29595 (gst_bin_iterate_elements), (iterate_child_recurse),
29596 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29597 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29598 (compare_interface), (gst_bin_get_by_interface),
29599 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29601 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29602 (gst_buffer_default_free), (gst_buffer_default_copy),
29603 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29604 (gst_buffer_create_sub):
29606 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29607 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29608 (gst_caps_unref), (gst_static_caps_get),
29609 (gst_caps_remove_and_get_structure), (gst_caps_append),
29610 (gst_caps_append_structure), (gst_caps_remove_structure),
29611 (gst_caps_copy_nth), (gst_caps_set_simple),
29612 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29613 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29614 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29615 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29616 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29617 (gst_caps_structure_figure_out_union),
29618 (gst_caps_switch_structures), (gst_caps_do_simplify),
29619 (gst_caps_replace), (gst_caps_from_string),
29620 (gst_caps_copy_conditional):
29622 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29623 (_gst_clock_id_free), (gst_clock_id_unref),
29624 (gst_clock_id_compare_func), (gst_clock_id_wait),
29625 (gst_clock_id_wait_async), (gst_clock_class_init),
29626 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29627 (gst_clock_get_time), (gst_clock_set_time_adjust),
29628 (gst_clock_set_property), (gst_clock_get_property):
29631 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29632 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29634 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29635 (gst_element_requires_clock), (gst_element_provides_clock),
29636 (gst_element_set_clock), (gst_element_clock_wait),
29637 (gst_element_wait), (gst_element_set_time_delay),
29638 (gst_element_is_indexable), (gst_element_add_pad),
29639 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29640 (pad_compare_name), (gst_element_get_static_pad),
29641 (gst_element_request_pad), (gst_element_get_request_pad),
29642 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29643 (gst_element_class_get_pad_template_list),
29644 (gst_element_class_get_pad_template), (gst_element_error_func),
29645 (gst_element_get_random_pad), (gst_element_get_event_masks),
29646 (gst_element_send_event), (gst_element_seek),
29647 (gst_element_get_query_types), (gst_element_query),
29648 (gst_element_get_formats), (gst_element_convert),
29649 (gst_element_is_locked_state), (gst_element_set_locked_state),
29650 (gst_element_sync_state_with_parent), (gst_element_change_state),
29651 (gst_element_finalize), (gst_element_yield),
29652 (gst_element_interrupt), (gst_element_set_scheduler),
29653 (gst_element_get_scheduler), (gst_element_set_loop_function):
29654 * gst/gstelement.h:
29656 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29657 (gst_format_get_by_nick), (gst_format_get_details),
29658 (gst_format_iterate_definitions):
29660 * gst/gstindex.c: (gst_index_gtype_resolver):
29663 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29664 (gst_mem_chunk_free):
29665 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29666 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29667 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29668 (gst_object_dispatch_properties_changed),
29669 (gst_object_set_name_default), (gst_object_set_name),
29670 (gst_object_get_name), (gst_object_set_name_prefix),
29671 (gst_object_get_name_prefix), (gst_object_set_parent),
29672 (gst_object_get_parent), (gst_object_unparent),
29673 (gst_object_check_uniqueness), (gst_object_save_thyself),
29674 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29675 (gst_object_set_property), (gst_object_get_property),
29676 (gst_object_get_path_string):
29678 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29679 (gst_real_pad_init), (gst_real_pad_get_property),
29680 (gst_pad_custom_new), (gst_pad_get_direction),
29681 (gst_pad_set_active), (gst_pad_is_active),
29682 (gst_pad_set_event_function), (gst_pad_is_linked),
29683 (gst_pad_link_free), (gst_pad_link_intersect),
29684 (gst_pad_link_fixate), (gst_pad_set_caps),
29685 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29686 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29687 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29688 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29689 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29690 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29691 (gst_pad_realize), (gst_pad_get_allowed_caps),
29692 (gst_real_pad_dispose), (gst_real_pad_finalize),
29693 (gst_pad_collectv), (gst_pad_collect_valist),
29694 (gst_pad_template_dispose), (gst_pad_template_new),
29695 (gst_pad_get_internal_links):
29697 * gst/gstpipeline.c: (gst_pipeline_dispose),
29698 (gst_pipeline_change_state):
29699 * gst/gstpipeline.h:
29701 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29702 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29703 * gst/gstpluginfeature.h:
29704 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29705 * gst/gstquery.c: (_gst_query_type_initialize),
29706 (gst_query_type_register), (gst_query_type_get_by_nick),
29707 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29709 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29710 * gst/gstscheduler.c: (gst_scheduler_add_element),
29711 (gst_scheduler_factory_create):
29712 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29713 (gst_structure_free), (gst_structure_set_name),
29714 (gst_structure_id_set_value), (gst_structure_set_value),
29715 (gst_structure_set_valist), (gst_structure_remove_field),
29716 (gst_structure_remove_fields),
29717 (gst_structure_remove_fields_valist),
29718 (gst_structure_remove_all_fields), (gst_structure_foreach),
29719 (gst_structure_map_in_place),
29720 (gst_caps_structure_fixate_field_nearest_int),
29721 (gst_caps_structure_fixate_field_nearest_double):
29722 * gst/gststructure.h:
29723 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29724 (gst_system_clock_init), (gst_system_clock_dispose),
29725 (gst_system_clock_async_thread),
29726 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29727 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29728 * gst/gstsystemclock.h:
29729 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29730 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29731 * gst/gsttaginterface.c:
29732 * gst/gstthread.c: (gst_thread_dispose),
29733 (gst_thread_release_children_locks), (gst_thread_change_state),
29734 (gst_thread_main_loop):
29735 * gst/gsttrashstack.h:
29736 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29738 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29739 (gst_element_request_pad), (gst_element_get_pad_from_template),
29740 (gst_element_request_compatible_pad),
29741 (gst_element_get_compatible_pad_filtered),
29742 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29743 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29744 (gst_element_link_many), (gst_element_link),
29745 (gst_element_link_pads), (gst_element_unlink_pads),
29746 (gst_element_unlink_many), (gst_element_unlink),
29747 (gst_pad_can_link_filtered), (gst_pad_can_link),
29748 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29749 (gst_object_default_error), (gst_bin_add_many),
29750 (gst_bin_remove_many), (gst_element_populate_std_props),
29751 (gst_element_class_install_std_props), (gst_buffer_merge),
29752 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29753 (link_fold_func), (gst_pad_proxy_setcaps):
29755 * gst/gstvalue.c: (gst_value_deserialize_string):
29756 * gst/parse/grammar.y:
29757 * gst/schedulers/gstbasicscheduler.c:
29758 (gst_basic_scheduler_cothreaded_chain),
29759 (gst_basic_scheduler_chain_recursive_add),
29760 (gst_basic_scheduler_pad_link):
29761 * gst/schedulers/gstoptimalscheduler.c:
29762 (get_group_schedule_function),
29763 (gst_opt_scheduler_state_transition),
29764 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29765 * libs/gst/bytestream/bytestream.c:
29766 * libs/gst/dataprotocol/dataprotocol.c:
29767 (gst_dp_header_from_buffer):
29770 * tests/threadstate/threadstate2.c: (eos):
29771 * tools/gst-compprep.c: (main):
29772 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29773 (print_pad_info), (print_children_info):
29774 * tools/gst-launch.c: (idle_func), (main):
29775 * tools/gst-md5sum.c: (idle_func), (main):
29776 * tools/gst-xmlinspect.c: (print_element_info):
29777 First THREADED backport attempt, focusing on adding locks and
29778 making sure the API is threadsafe. Needs more work. More docs
29781 2005-02-24 Andy Wingo <wingo@pobox.com>
29783 * tests/bench-complexity.scm:
29784 * tests/complexity.gnuplot: New files, good for running complexity
29787 * tests/Makefile.am:
29788 * tests/complexity.c: New test, sets up N elements, at each level
29789 teeing into M streams per element. Eeeenteresting.
29791 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29792 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29793 running bench-mass_elements.scm.
29795 * tests/bench-mass_elements.scm: New script, runs mass_elements
29796 for various numbers of identities, outputting the results to a
29797 file. Requires guile 1.6. Just for testing.
29799 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29801 * gst/schedulers/fairscheduler.c:
29802 compile with debug disabled
29804 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29807 hunting season on 0.9 is now OPEN