1 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
3 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
4 Increase code readability.
5 Don't try to compare buffer offsets when ther are invalid.
7 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
9 * docs/design/Makefile.am:
10 Dist some more design docs.
12 * docs/random/moving-plugins:
13 Small addition: good plugins mustn't have functional code
14 within assertion macros.
16 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
18 * docs/design/draft-framestep.txt:
19 Some ideas about a framestep API
21 * docs/design/part-element-transform.txt:
22 Start design and use cases for basetransform in order to get it
25 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
28 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
31 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
34 Make it known that gst_bus_poll() is pure evil (fixes #538810).
36 2008-06-20 Stefan Kost <ensonic@users.sf.net>
38 * plugins/elements/gstcapsfilter.c:
39 * plugins/elements/gstfakesink.c:
40 * plugins/elements/gstfakesrc.c:
41 * plugins/elements/gstfdsink.c:
42 * plugins/elements/gstfdsrc.c:
43 * plugins/elements/gstfilesink.c:
44 * plugins/elements/gstfilesrc.c:
45 * plugins/elements/gstidentity.c:
46 * plugins/elements/gstmultiqueue.c:
47 * plugins/elements/gstqueue.c:
48 * plugins/elements/gsttee.c:
49 * plugins/elements/gsttypefindelement.c:
50 Remove short_description. Add basic docs for gsttypefindelement.
51 Simplify markup for fakesrc/fdsrc.
53 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
55 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
58 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
60 Patch by: joel larsson <tilljoel at gmail dot com>
62 * docs/plugins/gstreamer-plugins.args:
63 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
64 (gst_fd_src_init), (gst_fd_src_update_fd),
65 (gst_fd_src_set_property), (gst_fd_src_get_property),
67 * plugins/elements/gstfdsrc.h:
68 Add timeout property like udpsrc. Fixes #538628.
69 Add some more docs and example pipelines.
71 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
73 * docs/libs/gstreamer-libs-sections.txt:
74 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
75 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
76 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
77 (gst_base_sink_do_sync):
78 * libs/gst/base/gstbasesink.h:
79 * win32/common/libgstbase.def:
80 Add method to allow sinks to specify additional delay between the sync
81 times and the actual rendering of the data.
82 API: gst_base_sink_set_render_delay()
83 API: gst_base_sink_get_render_delay()
85 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
88 Bump version number back to dev -> 0.10.20.1
90 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
92 * docs/gst/gstreamer-sections.txt:
93 * gst/gsttaglist.c: (_gst_tag_initialize):
95 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
98 2008-06-20 Stefan Kost <ensonic@users.sf.net>
100 * libs/gst/controller/gstcontroller.c:
101 Revert one change, that make ret value possible uninitialized.
103 2008-06-20 Stefan Kost <ensonic@users.sf.net>
105 * libs/gst/controller/gstcontroller.c:
106 Use freeze/thaw notify to sync notify emission a bit (its also more
107 efficient). Move debug output to LOG (is called a lot in a loop).
108 Always unset g_values if the have been initialized.
110 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
112 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
113 (gst_base_sink_wait_eos), (gst_base_sink_event):
114 If we have not seen a buffer before EOS, use the segment values to
115 report the current position instead of invalid positions.
117 2008-06-20 Stefan Kost <ensonic@users.sf.net>
119 * docs/plugins/tmpl/.cvsignore:
120 * tests/check/gst/.cvsignore:
123 2008-06-20 Stefan Kost <ensonic@users.sf.net>
125 * libs/gst/controller/gstinterpolation.c:
126 * libs/gst/controller/gstinterpolationcontrolsource.c:
127 * tests/check/libs/controller.c:
128 Rewrite handling of default values. Fix overflow with unsigned types
129 in linear interpolation. Remove now obsolete _first_value() function.
130 Add more tests. Fixes #538201.
132 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
134 * libs/gst/base/gstbasetransform.c:
135 (gst_base_transform_class_init), (gst_base_transform_init),
136 (gst_base_transform_transform_caps),
137 (gst_base_transform_prepare_output_buffer):
139 When a buffer is writable, its metadata is also writable so we don't
140 need to subbuffer (which then makes the buffer not-writable anymore).
142 === release 0.10.20 ===
144 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
147 releasing 0.10.20, "You Crazy Diamond"
149 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
152 0.10.19.3 pre-release
154 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
158 Rename DATADIR to GST_DATADIR to avoid build problems
159 on win32. Patch By: David Schleef <ds@schleef.org>
162 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
165 Explicitely link with -ldl if dladdr() is found there. Before it was
166 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
167 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
169 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
171 * gst/gsterror.c: (_gst_stream_errors_init):
172 Fix typo (spotted by Fabricio Godoy, #536723).
174 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
177 0.10.19.2 pre-release
179 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
181 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
182 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
184 Make sure we don't generate invalid QoS messages.
186 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
188 * gst/gstevent.c: (gst_event_new_qos):
189 Add some assert and docs for invalid input to the qos function.
191 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
193 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
194 (gst_base_sink_get_position):
195 The reported position must always be smaller than the last seen
196 timestamps (or timestamp + duration for reverse).
198 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
200 Patch by: Rob Bradford <rob at robster dot org dot uk>
202 * gst/gstregistry.c: (gst_registry_scan_path_level):
203 Don't recurse into .debug directories as some distros install
204 the debugging symbols next to the plugins in .debug directories
205 and dlopen() crashes on them sometimes. Fixes bug #508070.
207 Add FIXME for 0.11 to not recurse into directories at all because
208 it's very inconsistent to the behaviour of other PATH environment
211 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
213 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
214 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
215 Fix position query range checks in reverse playback.
217 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
221 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
222 clear of the reference to the resulting pad must be released later
223 or not, resulting in possible leaks. Fixes bug #533865.
225 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
227 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
229 * gst/gstelementfactory.c:
230 Small doc fix. Fixes #535285.
232 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
234 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
236 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
237 (gst_base_src_get_range), (gst_base_src_pad_get_range),
238 (gst_base_src_loop), (gst_base_src_set_flushing),
239 (gst_base_src_change_state):
240 Make sending an EOS event to the basesrc non-blocking even if the
241 implementation does blocking waits in the create function. This is done
242 by unlocking the create function when EOS is sent.
245 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
247 * tools/gst-inspect.c: (print_element_properties_info):
248 If possible print the element type of GValueArray properties.
250 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
253 Remove an unused field from the private GstListIterator struct.
255 2008-05-27 Stefan Kost <ensonic@users.sf.net>
257 * libs/gst/controller/gstcontroller.c:
258 Add parameter guards.
260 2008-05-27 Stefan Kost <ensonic@users.sf.net>
262 * tests/check/gst/gstpipeline.c:
263 Revert test change and add comment why it should not work.
265 2008-05-27 Stefan Kost <ensonic@users.sf.net>
267 * tests/check/gst/gstpipeline.c:
268 Extending the test a little to verify that we also get the NULL state-
271 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
273 * gst/gstpreset.c: (gst_preset_default_get_meta),
274 (gst_preset_get_preset_names), (gst_preset_get_property_names),
275 (gst_preset_load_preset), (gst_preset_save_preset),
276 (gst_preset_rename_preset), (gst_preset_delete_preset),
277 (gst_preset_set_meta):
278 Add Since: markers to docs blurbs.
280 * win32/common/libgstreamer.def:
281 Add recently-added API.
283 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
285 Patch by: Stefan Kost <ensonic@users.sf.net>
288 Add DATADIR for storing presets.
290 * docs/gst/gstreamer-docs.sgml:
291 * docs/gst/gstreamer-sections.txt:
292 * docs/gst/gstreamer.types.in:
293 Add GstPreset to docs.
297 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
298 (preset_open_and_parse_header), (preset_parse_version),
299 (preset_merge), (preset_get_keyfile),
300 (gst_preset_default_get_preset_names),
301 (gst_preset_default_get_property_names),
302 (gst_preset_default_load_preset),
303 (gst_preset_default_save_presets_file),
304 (gst_preset_default_save_preset),
305 (gst_preset_default_rename_preset),
306 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
307 (gst_preset_default_get_meta), (gst_preset_default_randomize),
308 (gst_preset_default_reset), (gst_preset_get_preset_names),
309 (gst_preset_get_property_names), (gst_preset_load_preset),
310 (gst_preset_save_preset), (gst_preset_rename_preset),
311 (gst_preset_delete_preset), (gst_preset_set_meta),
312 (gst_preset_get_meta), (gst_preset_class_init),
313 (gst_preset_base_init), (gst_preset_get_type):
315 Add GstPreset to core. Fixes #396779
317 * tests/check/Makefile.am:
318 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
319 (gst_preset_test_set_property), (gst_preset_test_class_init),
320 (gst_preset_test_base_init), (gst_preset_test_get_type),
321 (gst_preset_test_plugin_init), (GST_START_TEST),
322 (remove_preset_file), (test_setup), (test_teardown),
324 Add GstPreset unit tests.
326 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
328 * gst/gstpad.c: (gst_pad_event_default_dispatch):
329 The default event function on a sinkpad should return TRUE when
330 there are no internal links but should collect the return values from
331 the internal links otherwise.
333 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
335 * plugins/elements/gsttypefindelement.c:
336 (gst_type_find_element_src_event),
337 (gst_type_find_element_handle_event):
338 Use faster and safer _pad_push_event().
340 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
342 * docs/gst/gstreamer-sections.txt:
343 * gst/gstutils.c: (element_find_unlinked_pad),
344 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
346 API: add gst_bin_find_unlinked_pad()
347 API: deprecate gst_bin_find_unconnected_pad() (#401456)
349 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
355 Fixed a bunch of typos.
357 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
360 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
361 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
362 (gst_parse_bin_from_description_full):
364 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
366 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
368 * docs/pwg/advanced-tagging.xml:
369 Small docs update, can't be bothered to rewrite the nonsensical
372 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
375 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
377 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
379 * gst/parse/grammar.y:
380 Remove unneeded casts.
382 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
384 * gst/parse/grammar.y:
385 * tests/check/pipelines/parse-launch.c:
386 Get all missing elements from a parse launch string if possible
387 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
389 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
391 * tests/check/Makefile.am:
392 * tests/check/pipelines/parse-launch.c:
393 Add some unit tests for the new gst_parse_launch*_full() API.
394 (Exposes a previously-existing memory leak in the error code
395 path, so adding to VALGRIND_TO_FIX for now).
397 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
399 * docs/gst/gstreamer-sections.txt:
400 * gst/gst.c: (init_post):
401 * gst/gst_private.h: (_GstParseContext):
402 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
403 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
404 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
405 (gst_parse_launch_full):
406 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
407 (GstParseFlags), (GstParseContext):
408 * gst/gstutils.c: (gst_parse_bin_from_description),
409 (gst_parse_bin_from_description_full):
411 * gst/parse/grammar.y:
413 * win32/common/libgstreamer.def:
414 Add new gst_parse_*_full API (#528178):
415 API: gst_parse_launch_full()
416 API: gst_parse_launchv_full()
417 API: gst_parse_bin_from_description_full()
418 API: gst_parse_context_new()
419 API: gst_parse_context_free()
420 API: gst_parse_context_get_missing_elements()
422 2008-05-23 Stefan Kost <ensonic@users.sf.net>
424 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
426 * docs/faq/gst-uninstalled:
427 Also support ffmpeg in gst-uninstalled.
429 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
432 After discussion on IRC use the binary registry as default
433 but allow to disable it with --disable-binary-registry.
435 * win32/common/libgstreamer.def:
436 Add the two new symbols for the binary registry.
438 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
440 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
441 * gst/gstutils.c: (gst_parse_bin_from_description):
442 * gst/parse/grammar.y: (graph):
443 More guards against bad input; typo fix; some minor clean-ups.
445 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
447 Patch by: Sjoerd Simons <sjoerd at luon dot net>
449 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
450 If nothing else can be used, use the last buffer's start time as
451 the segment's last stop. Fixes bug #534258.
453 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
455 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
456 Move size sanity check to the right place: downstream may return
457 a buffer with a smaller size if the buffer caps are different than
458 the requested ones, as may happen when doing reverse negotiation.
460 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
462 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
463 (gst_file_sink_render):
464 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
465 (gst_file_src_start):
466 Small cleanups. Add note adbout g_fopen() on windows and why we don't
469 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
471 * gst/gstpad.c: (gst_pad_load_and_link):
472 * gst/gstutils.c: (gst_element_link_pads),
473 (gst_element_unlink_pads):
474 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
475 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
476 (gst_check_teardown_sink_pad),
477 (gst_check_element_push_buffer_list):
478 * tests/check/elements/fakesink.c: (GST_START_TEST):
479 * tests/check/elements/filesink.c:
480 * tests/check/elements/filesrc.c: (GST_START_TEST):
481 * tests/check/elements/multiqueue.c: (setup_multiqueue),
482 (mq_sinkpad_to_srcpad):
483 * tests/check/elements/tee.c: (GST_START_TEST):
484 * tests/check/generic/sinks.c: (GST_START_TEST):
485 * tests/check/gst/gstbin.c: (GST_START_TEST):
486 * tests/check/gst/gstevent.c: (GST_START_TEST):
487 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
488 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
489 * tests/check/gst/gstquery.c: (GST_START_TEST):
490 * tests/check/gst/gstutils.c: (GST_START_TEST):
491 * tests/check/libs/basesrc.c: (GST_START_TEST):
492 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
493 (gst_parse_test_element_change_state):
494 Don't use gst_element_get_pad().
496 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
499 Fix installing plugin documentation when gtk-doc is disabled.
501 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
503 * docs/manual/advanced-autoplugging.xml:
504 * docs/manual/basics-helloworld.xml:
505 * docs/manual/basics-pads.xml:
506 * docs/manual/highlevel-components.xml:
507 Avoid using a bad function in the example code.
509 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
511 * gst/gstclock.c: (gst_clock_set_calibration):
512 Fix debug of the new clock rate.
514 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
516 * win32/common/libgstbase.def:
517 Add gst_base_sink_wait_clock() to the exported symbols.
519 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
521 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
523 * libs/gst/base/gstbasetransform.c:
524 (gst_base_transform_sink_event):
525 Unref events that the GstBaseTransform::event vfunc didn't want to
526 have forwarded by the base class. Closes a leak in identity.
529 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
531 * docs/libs/gstreamer-libs-sections.txt:
532 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
533 * libs/gst/base/gstbasesink.h:
534 Expose a method that was previously used internally to synchronize
535 against the clock because it can be useful for subclasses too.
536 API: GstBaseSink::gst_base_sink_wait_clock()
538 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
540 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
541 Add sanity check to make sure we don't get smaller buffers
542 than requested (and fallback to normal buffer alloc if we do).
544 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
546 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
547 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
548 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
549 Refactor adjusting the running_time with latency and offset into a
551 When doing clipping, we still want to use the subclass get_times method,
552 just in case the DURATION or TIMESTAMP are not set.
554 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
556 * docs/gst/gstreamer-sections.txt:
557 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
559 * win32/common/libgstreamer.def:
560 API: add gst_type_find_suggest_simple(), #533740.
562 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
564 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
565 Use right error code when typefinding fails, so we can use
566 the default (translated) error messages.
568 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
570 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
571 (gst_base_src_start):
572 When the subclass did not set caps on outgoing buffers, configure the
573 caps we negotiated on the source pad.
574 When the typefind helper does not find caps, error out properly instead
575 of doing things with NULL caps.
577 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
580 Tabs to spaces, oh yes!
582 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
584 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
585 Add David's and Benjamin's tests for array intersection to the
586 unit test suite (#147931).
588 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
591 Document that gst_event_new_tag() and gst_event_new_navigation()
592 take ownership of the taglist/structure passed to them. (#533635).
594 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
597 Don't descend into the plugins dir if plugin docs building
601 Add a note about the new type:GTypeName syntax for the plugin
602 documentation .types file.
604 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
606 * gst/gstmessage.c: (gst_message_new_error),
607 (gst_message_new_warning), (gst_message_new_info):
609 Mark the debug string parameters as const. Fixes bug #533490.
611 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
613 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
614 Sort buffer cache list by end offsets. This makes sure that we don't
615 stop to search for a cached buffer that contains the requested data
617 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
618 more efficient. Fixes bug #459862.
620 2008-05-14 Stefan Kost <ensonic@users.sf.net>
623 Explain why we copy the list.
629 Add one debug-log statement to help tracing probelms with linking pads.
631 2008-05-12 Stefan Kost <ensonic@users.sf.net>
633 * tests/check/gst/gstinfo.c:
634 Add a test for removing the default log handler. Seems to fail under
637 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
639 * gst/gstpad.c: (gst_pad_peer_accept_caps):
640 Release pad lock before calling out to avoid a possible deadlock.
642 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
644 * gst/parse/grammar.y:
645 Remove unneeded value unset.
647 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
648 Add unit test for de/serialization of caps.
650 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
652 * plugins/elements/gstfakesink.c:
653 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
654 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
655 (gst_fake_src_class_init):
656 Use custom marshalers that take GstMiniObject as first parameter.
657 Using OBJECT as parameter while a GstMiniObject is given will lead
658 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
660 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
662 * plugins/elements/gsttypefindelement.c:
663 (gst_type_find_element_handle_event),
664 (gst_type_find_element_send_cached_events),
665 (gst_type_find_element_change_state):
666 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
669 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
671 * plugins/elements/gsttypefindelement.c:
672 (gst_type_find_handle_src_query), (stop_typefinding),
673 (gst_type_find_element_handle_event),
674 (gst_type_find_element_send_cached_events),
675 (gst_type_find_element_change_state):
676 Forward FLUSH_START events immediately and clean up instead of
679 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
681 Patch by: Sjoerd Simons <sjoerd at luon dot net>
683 * libs/gst/base/gstbasetransform.c:
684 (gst_base_transform_buffer_alloc):
685 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
686 fall back to default negotiation in the chain function if the caps
687 are different from what was requested. Fixes bug #526768.
689 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
692 * tests/check/gst/gstsegment.c:
693 No, let's not use g_slice_{dup|copy} here, since they only exist
694 since GLib 2.14 and we still depend only on >= 2.12. Also add
695 unit test for gst_segment_copy().
697 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
699 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
700 Try to fix 'dereferencing type-punned pointer will break strict
701 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
702 changed the default GType typedef from gulong to gsize at some point,
703 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
704 g_once_* functions all take a gsize * though, so work around the type
705 mismatch for C++ by doing everything in gsize and casting to GType
708 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
710 * plugins/elements/gstmultiqueue.c:
711 Add documentation for the signals to push our core plugin docs
712 coverage back up to 100%.
714 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
716 * gst/gstinfo.h (GST_FUNCTION):
717 Reverted GST_FUNCTION to the old version as we don't want the
718 full signature in C++ code. Also added support for MSVC.
720 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
723 Intern the type name string, similar to what G_DEFINE_TYPE does.
725 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
728 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
730 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
732 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
734 * libs/gst/base/gstbasetransform.c:
735 (gst_base_transform_buffer_alloc):
736 Don't passthrough buffer allocation too easily if the caps change.
737 This breaks when working in passthrough mode and upstream changes
738 it's caps. Fixes bug #526768.
740 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
742 * gst/gstinfo.c (gst_debug_log_valist):
743 Improved the __FILE__ part of debug output for MSVC.
745 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
747 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
748 Declaration after statement fix for compilers like MSVC.
750 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
752 * win32/common/config.h.in:
753 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
754 use the real thing than having "???" unconditionally.
756 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
758 * gst/gstinfo.h (GST_FUNCTION):
759 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
761 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
763 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
766 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
767 (gst_base_sink_set_flushing):
768 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
771 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
773 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
774 (gst_fake_src_init), (gst_fake_src_set_property),
775 (gst_fake_src_get_property), (gst_fake_src_start):
776 * plugins/elements/gstfakesrc.h:
777 Added format property to control the format of the newsegment events.
778 API: GstFakeSrc:format
780 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
782 * win32/common/libgstreamer.def:
783 Add gst_pad_has_name() to the exported symbols.
785 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
787 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
788 * libs/gst/base/gstbasetransform.c:
789 (gst_base_transform_prepare_output_buffer):
790 Don't allow negative sizes when allocating new buffers.
793 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
795 Patch by: Sjoerd Simons <sjoerd at luon net>
797 * gst/gstbus.c: (gst_bus_source_dispatch):
798 Don't print a warning if the queue is empty when we try to pop
799 here. That could happen if another thread or callback set the
800 bus to flushing between the source's check/prepare and the
801 dispatch being called (#531538).
803 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
805 * plugins/elements/gstmultiqueue.c:
808 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
810 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
811 Add unit test for deserializing uint64s and check some really large
812 numbers in the int64 test.
814 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
816 * tools/gst-inspect.c: (n_print), (print_hierarchy),
817 (print_interfaces), (print_element_properties_info),
819 Use "%s" as format string instead of printing strings directly.
821 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
823 * gst/gstclock.c: (gst_clock_set_calibration):
824 Make some checks actually useful.
826 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
827 Remove some unused code. Unsigned integers tend to be >= 0.
829 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
831 * gst/gstminiobject.c: (gst_value_get_mini_object):
832 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
833 function was not in the unscheduled 0.10.19 release.
835 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
837 * gst/gstregistry.c: (gst_registry_scan_path_level):
838 Only print one log message per non-plugin file.
840 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
842 * gst/gstinfo.c: (gst_debug_log_default):
843 Fix alignment of debug log columns on 64-bit.
845 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
847 * docs/libs/Makefile.am:
848 * docs/libs/gstreamer-libs-sections.txt:
849 Ignore private controller headers for docs.
851 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
853 * libs/gst/controller/gstcontrollerprivate.h:
854 * libs/gst/controller/gsthelper.c:
855 * libs/gst/controller/gstinterpolation.c:
856 * libs/gst/controller/gstinterpolationcontrolsource.c:
857 (gst_interpolation_control_source_set_interpolation_mode):
858 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
859 * libs/gst/controller/lib.c:
860 Move some private declarations into private headers.
862 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
864 * gst/gstdebugutils.c: (debug_dump_element_pad):
865 Remove some code that is unused after Stefan's refactoring and uses
866 uninitialized variables now, resulting in a compiler warning.
868 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
870 * gst/gstregistry.c: (gst_registry_scan_path_level):
871 Run g_str_has_suffix() only on the file name, not the
874 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
876 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
877 Since we're not called only from the chain function any longer,
878 we can't assume that there's always data in the queue, so move
879 the is_full check to the beginning of the loop (otherwise we'd
880 hit the assert when changing the limit properties while the
881 queue is empty or not running yet).
882 Also, only set a discont if items were actually removed from
885 * tests/check/elements/queue.c: (test_leaky_downstream):
886 Test case for the above.
888 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
890 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
892 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
893 (gst_queue_chain), (queue_capacity_change),
894 (gst_queue_set_property):
895 When changing thr max capacity of a leaky queue, immediatly drop buffers
896 instead of waiting for a push on the sinkpad. Fixes #530637.
898 2008-04-30 Stefan Kost <ensonic@users.sf.net>
900 * gst/gstdebugutils.c:
901 Refactor code and fix handling of ghostpads and their proxypads.
903 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
905 * docs/gst/gstreamer-sections.txt:
906 * gst/gstevent.c: (gst_event_has_name):
908 * tests/check/gst/gstevent.c: (GST_START_TEST):
909 Add method to conveniently check the name of a custom event with
910 gst_event_has_name().
911 Reformat the event docs so that related methods are put together instead
912 of the default alphabetical sort.
913 Update unit test with new method.
914 API: GstEvent::gst_event_has_name()
916 2008-04-28 Michael Smith <msmith@songbirdnest.com>
918 * libs/gst/check/Makefile.am:
919 Don't add an explicit link to libgstreamer-0.10.la; it's already
920 included in GST_OBJ_LIBS.
922 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
925 Register GstClock type from a type-safe context. Fixes bug #530317.
927 2008-04-25 Michael Smith <msmith@songbirdnest.com>
929 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
931 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
933 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
935 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
937 Use the GLib stuff to create a private structure.
938 Add some locking around some dispose methods to make them a little
939 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
941 2008-04-25 Stefan Kost <ensonic@users.sf.net>
943 * libs/gst/base/gstbasesink.h:
944 * libs/gst/base/gstbasesrc.h:
945 * libs/gst/base/gstbasetransform.h:
946 * libs/gst/base/gstcollectpads.h:
947 Fix doc typos and unify caps a bit.
949 2008-04-25 Stefan Kost <ensonic@users.sf.net>
951 * tools/gst-launch.1.in:
952 Forgot to also add the envvar docs here.
954 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
956 * gst/gst.c: (init_post), (gst_deinit):
957 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
958 (test_concurrent_create), (gst_pipeline_suite):
959 Ref some more classes in gst_init() to work around thread-safety
960 issues in pre-2.16 GLibs, and add basic unit test.
962 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
964 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
965 (gst_base_sink_send_event):
966 Rearrange the latency query code. We always want to do the upstream
967 query, even if we are not live so that the upstream elements can get the
968 latency results too. If we fail doing the query and we are live, we
969 return TRUE afterwards.
971 2008-04-24 Stefan Kost <ensonic@users.sf.net>
973 patch by: Jason Zhao <e3423c@motorola.com>
975 * docs/gst/running.xml:
977 Enable/disable scan_and_update_registry() based on commandline switch
978 or environment variable. Fixes #520468.
981 Fix typo in my previous commit.
983 2008-04-24 Stefan Kost <ensonic@users.sf.net>
985 * gst/gstregistrybinary.c:
986 Add a warning if we hit unhandled factories when saving.
987 More debug logging detail, but move to LOG category.
989 2008-04-24 Stefan Kost <ensonic@users.sf.net>
992 Tell the *truth* when improving the documentation.
994 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
996 * gst/gstelementfactory.c: (gst_element_factory_make):
997 Unref the factory after it was used the last time, not before.
999 * gst/gstindexfactory.c: (gst_index_factory_make):
1000 Improve debugging a bit and don't leak a ref to the index factory with
1003 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1005 * gst/gstregistry.c:
1006 Improve the documentation.
1008 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1011 The glib macro seems to be borked. Use g_slice_copy directly and cast
1012 in the hope that this fixes the warning on 64bit.
1014 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1017 Document the new function. Use g_slice_dup() (no need for
1018 gst_segment_init()).
1020 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1022 * docs/gst/gstreamer-sections.txt:
1023 Move GParamSepc macros to standart section.
1026 Dn't document _get_type - its in private section in docs anyway and
1027 this doc-blob was incomplete.
1030 Fix wrong symbol names in docs.
1033 Add once doc sentence.
1035 * tests/check/gst/.cvsignore:
1038 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1040 * docs/gst/Makefile.am:
1041 And remove those libs here.
1043 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1045 * docs/libs/Makefile.am:
1046 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1048 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1050 Patch by: Olivier Crete <tester at tester dot ca>
1052 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1053 Add the min-threshold to the min latency if possible. Fixes #529148.
1055 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1057 * docs/gst/gstreamer.types.in:
1058 Stupid editor, I removed that line as it should go in yet.
1060 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1062 * docs/gst/gstreamer.types.in:
1063 * docs/libs/gstreamer-libs.types:
1064 Remove library types fro core docs and have them in libs docs.
1065 Reformat and cleanup. Add comment for miniobject types.
1067 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1069 * gst/gsturi.c: (gst_uri_get_protocol):
1070 Fix leak: g_strdown operates on the string in place, while
1071 g_ascii_strdown() returns a newly-allocated string.
1073 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1075 * tools/gst-inspect.c: (print_uri_handler_info),
1076 (print_element_info):
1077 Print the URI protocols and the URI type supported by the element.
1079 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1081 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1082 Use g_value_take_string() instead of the deprecated
1083 g_value_set_string_take_ownership().
1085 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1087 * gst/gstregistrybinary.c: (_gst_crc32):
1088 Return the old CRC instead of 0 if we give a NULL buffer
1089 or a buffer with a length of 0.
1091 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1093 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1094 (gst_uri_get_protocol), (gst_uri_has_protocol),
1095 (gst_uri_construct), (gst_uri_handler_set_uri):
1096 A valid URI scheme can also include '+', '-' and '.' additional
1097 to alphanumeric characters as per RFC 3986 Section 3.1.
1099 Handle URI schemes case insensitive in all places and convert
1100 to lower-case when constructing an URI or setting an URI with
1101 the GstURIHandler interface. Fixes bug #528868.
1102 All elements can still assume (as before) that they will
1103 get passed URIs with a lower-case URI scheme by the GstURIHandler
1106 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1108 * gst/gstcaps.c: (gst_static_caps_get):
1109 * gst/gstclock.c: (gst_clock_entry_new):
1110 Don't use g_atomic_set_int where it's not needed.
1112 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1114 * gst/gstvalue.c: (gst_value_deserialize_caps):
1115 * gst/parse/grammar.y:
1118 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1120 * gst/gstutils.c: (gst_atomic_int_set):
1121 Use g_atomic_int_set() here too instead of assignment +
1124 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1128 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1129 now that we depend on new enough GLib.
1131 * gst/gstcaps.c: (gst_static_caps_get):
1132 * gst/gstclock.c: (gst_clock_entry_new):
1133 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1134 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1135 (gst_debug_category_set_threshold):
1136 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1137 (gst_base_sink_set_qos_enabled):
1138 * libs/gst/net/gstnettimeprovider.c:
1139 (gst_net_time_provider_set_property):
1140 Use g_atomic_int_set() instead of gst_atomic_int_set().
1142 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1145 Also use G_GINT64_CONSTANT for the queries.
1147 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1150 Use G_GINT64_CONSTANT in varargs function.
1152 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1154 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1155 Initialize the registry magic with zeroes.
1157 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1159 * gst/gstregistrybinary.c: (_gst_crc32),
1160 (gst_registry_binary_write),
1161 (gst_registry_binary_initialize_magic),
1162 (gst_registry_binary_write_cache),
1163 (gst_registry_binary_check_magic),
1164 (gst_registry_binary_read_cache):
1165 * gst/gstregistrybinary.h:
1166 Add crc32 checksum to the binary registry file and check this before
1167 accepting a registry file.
1169 Also free the data list when writing to the registry file fails.
1171 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1173 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1174 (gst_registry_binary_load_feature),
1175 (gst_registry_binary_load_plugin):
1176 If an element supports the Uri interface, returns a valid pointer
1177 to the supported URI protocols but this pointer contains nothing
1178 don't try to save that as it will corrupt the registry.
1180 Don't unref the plugin if we added it to the registry already but
1181 fail to load a feature as gst_registry_add_plugin() takes ownership
1184 Improve debugging a bit.
1186 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1189 Clarify some tag item docs after discussion on irc.
1191 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1193 * docs/gst/gstreamer-docs.sgml:
1194 Remove commented out plugins (they have their own docs). Update
1197 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1199 * docs/gst/gstreamer-docs.sgml:
1200 * docs/gst/gstreamer-sections.txt:
1201 * gst/gstparamspecs.c:
1202 * gst/gstparamspecs.h:
1203 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1204 docs to own section.
1207 This now only documents GValue.
1209 * docs/libs/gstreamer-libs-sections.txt:
1210 * libs/gst/controller/gstcontroller.h:
1211 Remove GST_PARAM_CONTROLLABLE.
1213 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1216 Correct file path. Tell about how to use -overrides.txt.
1217 * docs/design/draft-tagreading.txt:
1218 Small design update.
1220 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1222 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1223 (gst_registry_binary_load_plugin):
1224 Fix a typo in a debug message and revert change from yesterday as
1225 gst_registry_add_plugin() will only fail if something is really wrong
1226 already and we can't survive it anyway.
1228 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1230 * gst/gst.c: (init_post), (gst_deinit):
1231 Pre-register GstGError GType from a thread-safe context
1232 (fixes #527967); unref enum type classes in deinit.
1234 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1236 Patch by: Rene Stadler <mail at renestadler de>
1238 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1239 Merging an empty list with another list in KEEP_ALL mode should
1240 yield an empty list as result and not the second list (#512578).
1242 * tests/check/gst/gsttagsetter.c:
1243 Add unit test for tag merge modes and the aforementioned bug.
1245 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1247 Patch by: Rene Stadler <mail at renestadler de>
1250 Fix description to match the order in the table (#512577).
1252 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1254 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1256 * libs/gst/net/gstnettimepacket.h:
1257 * docs/libs/gstreamer-libs-sections.txt:
1258 Define socklen_t as int if it's not defined yet. Fixes compilation
1259 with MSVC6 and other versions where socklen_t is not defined in
1260 the windows headers (#518022).
1262 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1264 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1265 If gst_registry_add_plugin() fails our reference to the plugin is
1266 invalid so don't try to use it anymore and instead error out.
1268 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1270 * tools/gst-xmlinspect.c: (print_element_info), (main):
1271 De-cruft a bit. If no argument is specified, print all elements in
1272 XML syntax rather than a freestyle list of elements like gst-inspect.
1273 Also, don't print XML header chunk unless we actually have something
1274 to print (ie. don't print it before an error message); print error
1275 message to stderr not stdout. Remove support for printing plugin
1276 info (it would just output something freestyle along the lines of
1277 gst-inspect so far), which fixes #514507. Also add license header.
1279 2008-04-11 Julien Moutte <julien@fluendo.com>
1282 * configure.ac: Merge platform specific defines, introduce a new
1283 define on OS X to remember that forking when updating registry is
1285 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1287 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1289 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1290 condition that leads to absolutely no plugins being registered on
1293 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1295 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1297 * gst/gstutils.c: (gst_pad_add_data_probe),
1298 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1299 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1300 (gst_pad_add_buffer_probe_full):
1302 * docs/gst/gstreamer-sections.txt:
1303 * win32/common/libgstreamer.def:
1304 Add gst_pad_add_*_probe_full() functions with a notify callback that
1305 lets the caller free the data it passes to the probe functions. This
1306 is useful for bindings such as gst-python or gstreamermm (#526814).
1307 API: gst_pad_add_data_probe_full
1308 API: gst_pad_add_buffer_probe_full
1309 API: gst_pad_add_event_probe_full
1311 * tests/check/gst/gstutils.c:
1312 Add minimal unit test to make sure freeing the data actually works
1315 * tests/benchmarks/.cvsignore:
1316 Random cvsignore addendum.
1318 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1320 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1321 (GST_DEBUG_BIN_TO_DOT_FILE):
1322 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1323 to it in the docs (since these are macros the types of the arguments
1324 won't be shown in the docs otherwise).
1326 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1329 Do not abort on out of memory for pad_alloc_buffer.
1331 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1333 * libs/gst/check/gstcheck.c:
1334 Remove blank line between symbol name ad parameters to fix gtkdoc
1337 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1339 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1341 * docs/gst/gstreamer-sections.txt:
1344 * win32/common/libgstreamer.def:
1345 Expose gst_segment_copy() to make things easier for the c++ bindings.
1347 API: gst_segment_copy()
1349 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1351 * gst/gst.c: (gst_init_get_option_group), (init_post):
1352 Fix const position; ref GType classes for enum types to work
1353 around thread-safety issues in GLib versions < 2.16.
1355 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1357 * docs/design/part-buffering.txt:
1358 Fix some typos and set the estimated total for push mode to -1.
1360 * gst/gstquery.c: (gst_query_new_buffering):
1361 Set buffering-left to 0 as we're not buffering by default.
1363 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1364 Implement BUFFERING query.
1366 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1368 Based on patch by: Milosz Derezynski <internalerror gmail com>
1370 * gst/gsterror.c: (_gst_stream_errors_init):
1372 Add two new error codes for encrypted content. Fixes #524659.
1373 API: GST_STREAM_ERROR_DECRYPT
1374 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1376 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1381 * win32/common/libgstreamer.def:
1384 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1386 * plugins/elements/gstidentity.c: (gst_identity_event),
1387 (gst_identity_start):
1388 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1389 event after processing some data. Fixes bug #526042.
1391 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1393 * docs/gst/gstreamer-sections.txt:
1394 * gst/gstquery.c: (gst_query_parse_latency),
1395 (gst_query_set_buffering_percent),
1396 (gst_query_parse_buffering_percent),
1397 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1399 Rename _avail -> _range
1400 API: gst_query_set_buffering_range
1401 API: gst_query_parse_buffering_range
1403 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1405 * docs/design/part-buffering.txt:
1408 * gst/gstquery.c: (gst_query_parse_latency),
1409 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1410 (gst_query_parse_buffering_percent):
1412 Add busy field and quark for the buffering query so that the app can
1413 only use the query to see if buffering is in progress.
1415 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1417 * docs/gst/gstreamer-sections.txt:
1418 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1419 (gst_message_parse_buffering_stats):
1421 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1422 (gst_query_parse_latency), (gst_query_new_buffering),
1423 (gst_query_set_buffering_percent),
1424 (gst_query_parse_buffering_percent),
1425 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1426 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1428 Reorder the message docs and headers for clarity.
1429 Add aditional buffering stats API for messages.
1430 Add buffering query.
1431 Convert some leftover queries to use GstQuark.
1432 API: gst_message_set_buffering_stats
1433 API: gst_message_parse_buffering_stats
1434 API: GST_QUERY_BUFFERING
1435 API: GstBufferingMode
1436 API: gst_query_new_buffering
1437 API: gst_query_set_buffering_percent
1438 API: gst_query_parse_buffering_percent
1439 API: gst_query_set_buffering_stats
1440 API: gst_query_parse_buffering_stats
1442 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1444 * gst/gstmessage.c: (gst_message_new_error),
1445 (gst_message_new_warning), (gst_message_new_info),
1446 (gst_message_new_buffering), (gst_message_new_state_changed),
1447 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1448 (gst_message_new_new_clock), (gst_message_new_segment_start),
1449 (gst_message_new_segment_done), (gst_message_new_duration),
1450 (gst_message_new_async_start), (gst_message_parse_buffering),
1451 (gst_message_parse_state_changed),
1452 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1453 (gst_message_parse_new_clock), (gst_message_parse_error),
1454 (gst_message_parse_warning), (gst_message_parse_info),
1455 (gst_message_parse_segment_start),
1456 (gst_message_parse_segment_done), (gst_message_parse_duration),
1457 (gst_message_parse_async_start):
1458 Use GstQuark for messages.
1460 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1462 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1464 Add some more quarks needed for messages and queries.
1466 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1468 * docs/design/part-buffering.txt:
1469 Remove the "none" buffering mode, STREAM is a good default.
1470 Move estimated-time to the avail query, that's when it will be needed.
1471 Other small typo fixes and updates.
1473 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1475 * gst/gstindex.c: (gst_index_resolver_get_type):
1476 Don't put descriptions into the nick field of a GEnumValue: it's not
1477 meant for that and some language bindings rely on the nick field to
1478 construct constants and the like. Fixes #526705.
1480 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1485 Merge other changes from 0.10.19 release branch.
1487 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1489 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1492 Actually build dlls when cross-compiling with mingw32.
1495 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1497 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1500 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1502 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1504 * docs/design/draft-latency.txt:
1507 * docs/design/part-buffering.txt:
1508 Update design docs with more buffering ideas.
1510 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1513 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1515 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1518 Revert part that belongs to the preset patch.
1520 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1523 Add qoutes to the define. Fixes # 525961.
1525 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1527 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1528 (gst_file_index_load), (gst_file_index_add_id),
1529 (gst_file_index_get_assoc_entry):
1530 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1531 (gst_mem_index_free_id), (gst_mem_index_add_id),
1532 (gst_mem_index_index_format):
1533 Use GSlice when possible.
1535 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1537 * libs/gst/controller/gstinterpolationcontrolsource.c:
1538 (gst_control_point_free),
1539 (gst_interpolation_control_source_set_internal):
1540 Use GSlice for allocating the control points.
1542 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1544 * plugins/elements/gsttypefindelement.c:
1545 (gst_type_find_element_class_init),
1546 (gst_type_find_element_set_property),
1547 (gst_type_find_element_get_property),
1548 (gst_type_find_element_activate):
1549 * plugins/elements/gsttypefindelement.h:
1551 Fix pad leak when peer query fails.
1552 We can still typefind when the peer returns -1.
1553 Add property to force caps and bypass typefinding. This will be used in
1557 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1562 * gst/glib-compat-private.h:
1563 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1564 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1565 Unconditionally use GSlice for allocation.
1567 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1568 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1569 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1570 (gst_structure_free):
1571 Use GSlice for allocation.
1573 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1575 * gst/parse/Makefile.am:
1576 * gst/parse/grammar.tab.pre.c:
1577 * gst/parse/grammar.tab.pre.h:
1578 * gst/parse/lex._gst_parse_yy.pre.c:
1579 Require a new enough flex and bison and remove the parser hacks to use
1580 a pre-regenerated version.
1582 2008-04-01 Julien Moutte <julien@fluendo.com>
1584 patch by: Jason Zhao <E3423C@motorola.com>
1586 * configure.ac: Add a configure switch to disable option parsing
1590 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1593 * gst/gstregistry.c:
1594 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1595 and handle this case.
1598 Add a comment here describing, why we stat each plugin and not try to
1601 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1603 * libs/gst/base/gstbasetransform.c:
1604 (gst_base_transform_prepare_output_buffer):
1605 Also unset the GAP flag on buffers if we're working inplace but
1606 the element is not GAP-aware.
1608 Mark a comment as FIXME 0.11.
1610 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1613 Fix type in log message and add one to ease seeing how long registry
1614 cache verification takes.
1616 * gst/gstregistry.c:
1617 Only test plugin filenames against G_MODULE_SUFFIX.
1619 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1621 * gst/gstdebugutils.c:
1622 Improve handling ghost/proxy pads.
1624 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1626 * docs/gst/gstreamer-sections.txt:
1629 Expose macro to docs and fix link to it.
1631 2008-03-27 Michael Smith <msmith@fluendo.com>
1633 * libs/gst/dataprotocol/dataprotocol.c:
1634 (gst_dp_packet_from_event_1_0):
1635 When calculating GDP body CRC, use the correct pointer.
1636 Fixes part of #522401.
1638 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1640 Patch by: Mark Nauwelaerts <manauw at skynet be>
1642 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1643 (gst_identity_init), (gst_identity_prepare_output_buffer):
1644 Identity is not always a passthrough element, it can modify the buffer
1645 timestamps when it has a datarate and operates in single-segment mode.
1646 We therefore make it an in_place filter with a custom buffer prepare
1647 function that conditionally makes the input buffer metadata writable
1648 when needed. Fixes #523985.
1650 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1652 Patch by: Mark Nauwelaerts <manauw at skynet be>
1655 * libs/gst/base/gstbasesrc.h:
1656 * libs/gst/base/gstbasetransform.c:
1657 * libs/gst/check/gstcheck.c:
1658 Small documentation fixes. Fixes #523978.
1660 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1662 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1663 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1664 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1666 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1668 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1669 (single_queue_underrun_cb):
1670 When trying to make room in the queue, bump the max allowed buffers
1671 bigger than the current amount of buffers in the queue. this fixes some
1672 nasty deadlocks in multiqueue when dynamically changing the limits of
1675 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1677 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1679 * gst/gstcaps.c: (gst_caps_set_simple),
1680 (gst_caps_set_simple_valist), (gst_caps_intersect):
1682 Constify the field gchar * params in set_simple and friends.
1685 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1687 * gst/gstvalue.c: (gst_value_transform_object_string):
1688 Transform a GstObject to a more meaningfull string that includes the
1689 object type in addition to its name.
1691 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1694 ChangeLog surgery to add bugnumber to commit.
1696 2008-03-23 Rene Stadler <mail@renestadler.de>
1698 * libs/gst/base/gstbasetransform.c:
1699 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1701 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1703 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1704 Rename constant everywhere and don't forget one occurence.
1706 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1708 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1709 Align memory to the pointer size even if the architecture allows
1710 unaligned memory access. Unaligned memory access usually comes with
1711 performance penality.
1713 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1715 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1716 (gst_registry_binary_check_magic),
1717 (gst_registry_binary_load_pad_template),
1718 (gst_registry_binary_load_feature),
1719 (gst_registry_binary_load_plugin):
1720 Align memory to the pointer size instead of always 32 bit. Fixes
1721 unaligned memory accesses on ia64 and friends.
1723 * gst/gstregistrybinary.h:
1724 Bump binary registry format version for this as it changes the
1725 format on those architectures that don't have unaligned access
1726 and 64 bit pointers.
1728 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1730 * docs/pwg/advanced-dparams.xml:
1731 * docs/pwg/building-props.xml:
1732 * docs/pwg/other-source.xml:
1733 * gst/glib-compat.h:
1734 * gst/gstbin.c: (gst_bin_class_init):
1735 * gst/gstclock.c: (gst_clock_class_init):
1736 * gst/gstindex.c: (gst_index_class_init):
1737 * gst/gstobject.c: (gst_object_class_init):
1738 * gst/gstpad.c: (gst_pad_class_init):
1739 * gst/gstpipeline.c: (gst_pipeline_class_init):
1740 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1741 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1742 * libs/gst/base/gstbasetransform.c:
1743 (gst_base_transform_class_init):
1744 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1745 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1746 (_gst_check_fault_handler_sighandler),
1747 (_gst_check_fault_handler_setup), (gst_check_init):
1748 * libs/gst/controller/gstcontroller.c:
1749 (_gst_controller_class_init):
1750 * libs/gst/controller/gstlfocontrolsource.c:
1751 (gst_lfo_control_source_class_init):
1752 * libs/gst/net/gstnetclientclock.c:
1753 (gst_net_client_clock_class_init):
1754 * libs/gst/net/gstnettimeprovider.c:
1755 (gst_net_time_provider_class_init):
1756 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1757 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1758 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1759 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1760 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1761 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1762 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1763 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1764 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1765 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1766 * plugins/elements/gsttee.c: (gst_tee_class_init):
1767 * plugins/elements/gsttypefindelement.c:
1768 (gst_type_find_element_class_init):
1769 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1770 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1771 use it everywhere for GParamSpecs that use static strings (i.e. all).
1772 This gives us less memory usage, fewer allocations and thus less
1773 memory defragmentation. Fixes bug #523806.
1775 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1777 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1778 (gst_param_spec_mini_object):
1779 * gst/gstminiobject.h:
1780 * win32/common/libgstreamer.def:
1781 * docs/gst/gstreamer-sections.txt:
1782 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1783 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1784 GstParamSpecMiniObject into a public header for this.
1786 This make GstMiniObject a bit more consistent with GObject and makes
1787 it possible to extend the param specs.
1789 gst_value_dup_mini_object is mainly useful for set_property methods.
1793 * tools/gst-inspect.c: (print_element_properties_info):
1794 Print something useful for GstMiniObject properties and not just
1797 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1799 * docs/gst/gstreamer-sections.txt:
1800 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1801 (gst_registry_binary_check_magic):
1802 * gst/gstregistrybinary.h:
1803 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1804 and add it to the (private part) of the docs to fix the build.
1806 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1808 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1809 (gst_registry_binary_check_magic),
1810 (gst_registry_binary_read_cache):
1811 * gst/gstregistrybinary.h:
1812 Don't use GST_MAJORMINOR for the binary registry version. Instead
1813 hardcode a value that must be changed whenever the format changes
1814 in an incompatible way.
1815 Also don't GST_ERROR when there is a version mismatch, just
1816 regenerate the registry silently.
1818 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1821 Back to development - 0.10.18.1
1823 === release 0.10.18 ===
1825 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1828 releasing 0.10.18, "So far away"
1830 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1833 * win32/common/config.h:
1834 0.10.17.4 pre-release
1836 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1838 Patch by: Ole André Vadla Ravnås
1839 <ole dot andre dot ravnas at tandberg dot com>
1841 * docs/gst/gstreamer-sections.txt:
1842 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1843 (gst_poll_update_winsock_event_mask),
1844 (gst_poll_prepare_winsock_active_sets),
1845 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1846 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1847 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1848 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1849 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1851 * win32/common/libgstreamer.def:
1852 Add new function gst_poll_fd_ignored() for improved Windows
1854 Various minor fixes and cleanups. See #520808.
1856 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1858 * gst/gstindex.c: (gst_index_entry_free):
1860 Don't free key strings which we don't own. Fixes crash in
1861 gst_index_entry_free() (#522741).
1863 * tests/check/Makefile.am:
1864 * tests/check/gst/.cvsignore:
1865 * tests/check/gst/gstindex.c: (test_index_entries),
1866 (gst_index_suite), (gst_index):
1867 Add unit test for the above.
1869 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1871 * win32/common/libgstreamer.def:
1872 Remove symbols that were removed recently. Fixes bug #521740.
1874 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1877 * win32/common/config.h:
1878 0.10.17.3 pre-release
1880 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1882 Patch by: Ole André Vadla Ravnås
1883 <ole dot andre dot ravnas at tandberg dot com>
1885 * docs/gst/gstreamer-sections.txt:
1886 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1887 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1888 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1889 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1890 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1891 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1892 (gst_poll_fd_can_write), (gst_poll_wait),
1893 (gst_poll_set_controllable), (gst_poll_restart),
1894 (gst_poll_set_flushing):
1896 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1897 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1898 (gst_net_time_provider_new):
1899 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1900 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1901 * tests/benchmarks/gstpollstress.c: (main):
1902 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1903 Remove GstPollMode from the API, it does not make sense to let the
1904 application control this.
1905 Add support for Win32.
1906 Fix the testsuite. Fixes #520671.
1908 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1910 Patch by: Ole André Vadla Ravnås
1911 <ole dot andre dot ravnas at tandberg dot com>
1913 * gst/gstregistrybinary.c:
1914 Include io.h for write() and close() when building with MSVC. Fixes
1917 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1920 * gst/gst_private.h:
1921 * gst/gstconfig.h.in:
1922 * gst/gstregistry.h:
1923 * gst/gstregistrybinary.c:
1924 * win32/common/gstconfig.h:
1925 Move registry backend API to private headers where we can. Add
1926 fixme-0.11 comments for the others. Add stubs for the xml backend when
1927 using the binary to ensure they functions exists (they should not be
1928 used though). Fixes #520756.
1930 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1933 * win32/common/config.h:
1936 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1938 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1939 (gst_registry_binary_read_cache):
1940 * gst/gstregistryxml.c: (gst_registry_save):
1941 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1942 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1943 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1944 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1945 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1948 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1950 * gst/gstminiobject.c:
1951 Import gst_private.h before any other header that might include other
1952 glib headers. This fixes the build on windows using native compilers.
1954 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1956 * win32/common/gstconfig.h:
1957 Add here too, just for completeness.
1959 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1962 * gst/gstconfig.h.in:
1963 * gst/gstregistry.h:
1964 Fix broken use of config.h-defined preprocessor directive in a public
1965 header file. Add a corresponding define to gstconfig.h, since we can't
1966 really remove those function declarations from the header file now
1967 (or can we? and why are they there in the first place?).
1969 2008-03-03 Andy Wingo <wingo@pobox.com>
1971 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1974 * gst/gststructure.c (gst_structure_from_string): Warn if
1975 structure_from_string didn't consume the whole string, but the
1976 caller did not provide an end pointer.
1978 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
1980 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1982 * gst/gstregistryxml.c: (read_string), (load_feature):
1983 Strings allocated by libxml2 should be freed with xmlFree(), not
1984 with g_free(). Fixes issues on windows in certain contexts (#519698).
1986 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
1988 * gst/gstinterface.c: (gst_element_implements_interface):
1989 Don't crash if the element supports the interface queried, but does
1990 not implement GstImplementsInterface. Fixes #519584.
1992 * tests/check/Makefile.am:
1993 * tests/check/gst/.cvsignore:
1994 * tests/check/gst/gstinterface.c:
1995 Add unit test for the above.
1997 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1999 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2002 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2004 * gst/gstsegment.c: (gst_segment_set_seek),
2005 (gst_segment_to_stream_time):
2006 Improve some comment.
2007 Update variables where it makes more sense.
2009 2008-02-29 Rene Stadler <mail@renestadler.de>
2011 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2012 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2013 URIHandlers implemented using language bindings.
2015 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2017 * gst/gstelementfactory.h:
2018 * tests/check/elements/fakesink.c:
2019 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2020 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2021 * tests/check/elements/filesink.c: (setup_filesink):
2022 * tests/check/elements/filesrc.c: (setup_filesrc):
2023 * tests/check/elements/identity.c: (setup_identity):
2024 * tests/check/elements/tee.c:
2025 * tests/check/generic/sinks.c:
2026 * tests/check/generic/states.c: (setup), (teardown):
2027 * tests/check/gst/gst.c:
2028 * tests/check/gst/gstabi.c:
2029 * tests/check/gst/gstbin.c:
2030 * tests/check/gst/gstbus.c: (pull_messages):
2031 * tests/check/gst/gstcaps.c:
2032 * tests/check/gst/gstelement.c:
2033 * tests/check/gst/gstevent.c:
2034 * tests/check/gst/gstghostpad.c:
2035 * tests/check/gst/gstiterator.c:
2036 * tests/check/gst/gstmessage.c:
2037 * tests/check/gst/gstminiobject.c: (my_foo_init):
2038 * tests/check/gst/gstobject.c: (thread_name_object),
2040 * tests/check/gst/gstpad.c:
2041 * tests/check/gst/gstplugin.c:
2042 * tests/check/gst/gstpoll.c:
2043 * tests/check/gst/gstquery.c:
2044 * tests/check/gst/gstsegment.c:
2045 * tests/check/gst/gststructure.c:
2046 * tests/check/gst/gstsystemclock.c:
2047 * tests/check/gst/gsttask.c:
2048 * tests/check/gst/gstutils.c:
2049 * tests/check/gst/gstvalue.c:
2050 * tests/check/gst/struct_hppa.h:
2051 * tests/check/gst/struct_i386.h:
2052 * tests/check/gst/struct_ppc32.h:
2053 * tests/check/gst/struct_ppc64.h:
2054 * tests/check/gst/struct_x86_64.h:
2055 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2056 * tests/check/libs/basesrc.c:
2057 * tests/check/libs/controller.c: (GST_START_TEST):
2058 * tests/check/libs/gdp.c:
2059 * tests/check/libs/gstnetclientclock.c:
2060 * tests/check/libs/gstnettimeprovider.c:
2061 * tests/check/libs/libsabi.c:
2062 * tests/check/libs/struct_hppa.h:
2063 * tests/check/libs/struct_i386.h:
2064 * tests/check/libs/struct_ppc32.h:
2065 * tests/check/libs/struct_ppc64.h:
2066 * tests/check/libs/struct_x86_64.h:
2067 * tests/check/pipelines/cleanup.c:
2068 * tests/check/pipelines/simple-launch-lines.c:
2069 * tests/check/pipelines/stress.c:
2070 And correct even more valid sparse warnings.
2072 * win32/common/libgstreamer.def:
2073 Add gst_poll_fd_init to the list of symbols.
2075 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2077 * gst/gstconfig.h.in:
2078 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2079 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2080 (gst_check_log_critical_func), (gst_check_drop_buffers),
2081 (gst_check_element_push_buffer_list):
2082 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2083 (gst_controller_get_type):
2084 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2085 (gst_object_get_controller), (gst_object_get_control_source):
2086 * libs/gst/controller/gstinterpolationcontrolsource.c:
2087 (gst_interpolation_control_source_new):
2088 * libs/gst/controller/gstlfocontrolsource.c:
2089 (gst_lfo_control_source_new):
2090 * libs/gst/dataprotocol/dataprotocol.c:
2091 (gst_dp_event_from_packet_0_2):
2092 * plugins/elements/gstfdsrc.c:
2093 * plugins/elements/gstmultiqueue.c:
2094 * plugins/elements/gsttee.c:
2095 * plugins/elements/gsttypefindelement.c:
2096 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2097 (gst_file_index_add_association):
2098 * plugins/indexers/gstmemindex.c:
2099 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2100 * tests/check/elements/queue.c: (setup_queue):
2101 * tests/check/gst/gstpipeline.c:
2102 * tests/check/libs/collectpads.c: (setup), (teardown),
2103 (gst_collect_pads_suite):
2104 * tests/examples/adapter/adapter_test.c:
2105 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2106 * tests/examples/xml/createxml.c:
2107 * tests/examples/xml/runxml.c:
2108 * tools/gst-inspect.c:
2110 Correct all relevant warnings found by the sparse semantic code
2111 analyzer. This include marking several symbols static, using
2112 NULL instead of 0 for pointers, not using variable sized arrays
2113 on the stack, moving variable declarations to the beginning of
2114 a block and using "foo (void)" instead of "foo ()" for declarations.
2116 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2118 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2119 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2120 Don't reset GstPollFDs, this is not necessary at all.
2122 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2123 (delayed_restart), (delayed_control):
2124 Use GST_POLL_FD_INIT.
2126 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2128 * gst/gstpoll.c: (gst_poll_fd_init):
2132 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2133 Use some more init macros.
2135 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2137 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2138 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2139 Use init macros and functions.
2141 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2143 * docs/gst/gstreamer-sections.txt:
2144 * gst/gstpoll.c: (gst_poll_fd_init):
2146 Add INIT macro and _init method for initializing the GstPollFD.
2148 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2150 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2151 (gst_fd_sink_update_fd):
2152 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2153 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2154 (delayed_restart), (delayed_control):
2155 Initialize some uninitialized variables as spotted by valgrind.
2157 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2159 * tests/benchmarks/Makefile.am:
2160 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2162 Add poll stress test.
2164 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2166 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2168 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2169 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2170 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2171 * plugins/elements/gstfdsink.h:
2172 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2173 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2174 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2175 (gst_fd_src_uri_set_uri):
2176 * plugins/elements/gstfdsrc.h:
2177 Port to GstPoll. See #505417.
2179 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2181 * win32/common/libgstreamer.def:
2182 Add new gst_poll_ symbols to win32 defs.
2184 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2186 * docs/libs/gstreamer-libs-sections.txt:
2187 * libs/gst/net/gstnetclientclock.c:
2188 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2189 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2190 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2191 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2192 * libs/gst/net/gstnetclientclock.h:
2193 * libs/gst/net/gstnettimeprovider.c:
2194 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2195 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2196 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2197 (gst_net_time_provider_new):
2198 * libs/gst/net/gstnettimeprovider.h:
2199 Use a private stuct to not break ABI.
2201 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2203 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2205 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2206 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2207 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2208 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2209 * libs/gst/net/gstnetclientclock.h:
2210 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2211 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2212 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2213 (gst_net_time_provider_new):
2214 * libs/gst/net/gstnettimeprovider.h:
2215 Massive code removal and cleanups because of GstPoll.
2218 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2221 Add checks for poll, ppoll and pselect.
2223 * docs/gst/gstreamer-docs.sgml:
2224 * docs/gst/gstreamer-sections.txt:
2225 Add docs for GstPoll.
2229 * gst/gstpoll.c: (find_index), (selectable_fds),
2230 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2231 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2232 (gst_poll_set_mode), (gst_poll_get_mode),
2233 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2234 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2235 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2236 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2237 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2238 (gst_poll_fd_can_write), (gst_poll_wait),
2239 (gst_poll_set_controllable), (gst_poll_restart),
2240 (gst_poll_set_flushing):
2242 Add generic poll abstraction. We ideally don't want to have this in core
2243 here but in glib intead...
2244 This code will be used in various network elements and ultimately for
2245 the nanosecond precision monotonic clock (that's why it's here in core).
2246 It'll allow us to implement cancelable socket operations for windows too.
2248 * tests/check/Makefile.am:
2249 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2250 (delayed_stop), (delayed_restart), (delayed_flush),
2251 (delayed_control), (gst_poll_suite):
2252 Add GstPoll unit test.
2254 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2257 Improve documentation of gst_filter_run(). Fixes #518627.
2259 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2262 Add a few lines about the new 'check-inspected-versions' target.
2264 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2266 * tests/check/gst/gstevent.c:
2267 Add qos to the event test. Rename tcase/tsuite; is not only about
2270 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2272 * plugins/elements/gstqueue.c:
2273 Ensure that buffer metadata is writeable, before modifying. Spotted by
2276 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2278 * plugins/elements/gstqueue.c:
2279 * plugins/elements/gstqueue.h:
2280 When dropping buffers in leaky modes, mark next buffers we sent as
2283 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2285 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2286 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2288 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2290 * plugins/elements/Makefile.am:
2291 * plugins/elements/gstbufferstore.c:
2292 * plugins/elements/gstbufferstore.h:
2293 * plugins/elements/gsttypefindelement.h:
2294 Remove GstBufferStore, no idea why we were still building it.
2295 It's not used anywhere and superseded by GstAdapter.
2297 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2298 (gst_file_src_create_mmap):
2299 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2300 Printf format fixes for 64-bit integers.
2302 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2305 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2306 We're not in 0.8 times anymore.
2308 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2310 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2311 (gst_check_element_push_buffer_list):
2312 * libs/gst/check/gstcheck.h:
2313 Make the declaration in the header for
2314 gst_check_element_push_buffer_list match the implementation.
2316 Fix up spelling, grammar and wording of the documentation in a few
2317 places, and add the Since keyword to new API functions.
2318 Use g_list_delete_link instead of g_list_remove in
2319 gst_check_drop_buffers, since it's immeasurably more efficient.
2321 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2322 Use new gst_check_drop_buffers function where appropriate.
2324 * win32/common/libgstbase.def:
2325 * win32/common/libgstreamer.def:
2326 Add new symbols gst_collect_pads_take_buffer,
2327 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2330 Changelog surgery to add API keyword to new gst_check API.
2332 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2334 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2335 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2336 Update pre-generated flex files with flex 2.3.34.
2338 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2340 * gst/gstminiobject.c:
2341 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2342 friendly to subclasses and not require them to know all internals
2343 of their parent class.
2345 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2347 * docs/libs/gstreamer-libs-sections.txt:
2348 * libs/gst/base/gstcollectpads.c:
2349 * libs/gst/base/gstcollectpads.h:
2350 Add sub-buffer functions to collectpads. Fixes #516187.
2351 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2353 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2356 Copy selected buffer-flags when creating subbuffers.
2359 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2361 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2362 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2363 * gst/gstmessage.c: (gst_message_class_init),
2364 (gst_message_finalize):
2365 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2366 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2367 (gst_mmap_buffer_finalize):
2368 Properly chain up finalize functions to the parent class.
2370 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2372 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2374 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2375 (gst_index_set_resolver_full):
2377 Add new function with option to dispose of user_data in resolver.
2378 Actually call the dispose function when finalizing the object and not
2379 just when changing the resolver/filter.
2380 API: GstIndex::gst_index_set_resolver_full()
2382 * docs/gst/gstreamer-sections.txt:
2383 Add new function to docs. Fixes #515469.
2385 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2387 * gst/gstindex.c: (gst_index_finalize):
2388 Chain up finalize to the parent class. Fixes leaking the GstObject
2389 name and other things.
2391 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2394 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2395 pre-releases or releases.
2397 * docs/faq/gst-uninstalled:
2400 * docs/random/release:
2401 Change one of the steps - we only upload core & base to Gnome FTP
2403 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2405 * gst/gstconfig.h.in:
2406 Add 'id' for example.
2410 * plugins/elements/gstfdsink.c:
2411 Link to signals. Doc and comment fixes.
2413 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2415 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2416 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2417 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2418 unused and unimplemented; finally, it is plugin features, not
2419 plugins, that have ranks.
2421 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2423 * gst/gstpluginfeature.h:
2424 Clarify GstRank range docs.
2426 2008-02-05 David Schleef <ds@schleef.org>
2428 * gst/gst.c: Add a separate gst_deinitialized that prevents
2429 gst_init() from being called after gst_deinit(). Fixes #509559
2431 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2433 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2434 (gst_bin_class_init):
2435 * gst/gstelement.c: (gst_element_base_class_init),
2436 (gst_element_class_add_pad_template):
2437 * gst/gstpadtemplate.c: (gst_pad_template_init):
2438 * gst/gstpipeline.c: (gst_pipeline_get_type),
2439 (gst_pipeline_base_init), (gst_pipeline_class_init):
2440 * libs/gst/base/gstbasesink.c:
2441 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2442 (gst_base_src_base_init), (gst_base_src_class_init):
2443 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2444 (gst_capsfilter_class_init):
2445 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2446 (gst_fake_sink_class_init):
2447 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2448 (gst_fake_src_class_init):
2449 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2450 (gst_fd_sink_class_init):
2451 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2452 (gst_fd_src_class_init):
2453 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2454 (gst_file_sink_class_init):
2455 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2456 (gst_file_src_class_init):
2457 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2458 (gst_identity_class_init):
2459 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2460 (gst_multi_queue_class_init):
2461 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2462 (gst_queue_class_init):
2463 * plugins/elements/gsttee.c: (gst_tee_base_init),
2464 (gst_tee_class_init):
2465 * plugins/elements/gsttypefindelement.c:
2466 (gst_type_find_element_base_init),
2467 (gst_type_find_element_class_init):
2468 * tests/check/gst/gstelement.c: (gst_element_suite):
2469 Revert previous changes to the behaviour of GstPadTemplates, etc
2470 and the possiblity to call them in class_init as it breaks too
2471 many elements. Reopens bug #491501.
2473 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2476 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2478 * tools/gst-launch.c:
2479 Dump one graph per pipeline state-change and state change name
2480 (if GST_DEBUG_DUMP_DOT_DIR is set).
2482 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2485 * tests/check/gst/gstpad.c:
2486 Be sure that we have a new copy of the caps and not
2487 reffed caps from a template
2489 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2491 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2492 * gst/gstpipeline.c: (gst_pipeline_get_type),
2493 (gst_pipeline_class_init):
2494 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2495 (gst_base_sink_class_init):
2496 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2497 (gst_base_src_class_init):
2498 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2499 (gst_base_transform_class_init):
2500 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2501 (gst_collect_pads_class_init):
2502 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2503 * libs/gst/net/gstnettimeprovider.c:
2504 (gst_net_time_provider_base_init),
2505 (gst_net_time_provider_class_init):
2506 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2507 (gst_capsfilter_class_init):
2508 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2509 (gst_fake_sink_class_init):
2510 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2511 (gst_fake_src_class_init):
2512 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2513 (gst_fd_sink_class_init):
2514 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2515 (gst_fd_src_class_init):
2516 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2517 (gst_file_sink_class_init):
2518 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2519 (gst_file_src_class_init):
2520 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2521 (gst_identity_class_init):
2522 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2523 (gst_multi_queue_class_init):
2524 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2525 (gst_queue_class_init):
2526 * plugins/elements/gsttee.c: (gst_tee_base_init),
2527 (gst_tee_class_init):
2528 * plugins/elements/gsttypefindelement.c:
2529 (gst_type_find_element_base_init),
2530 (gst_type_find_element_class_init):
2531 Don't use base_init where not absolutely necessary. For example it's
2532 not necessary anymore for adding pad templates or setting element
2535 Leave empty base_init functions in several places as GST_BOILERPLATE
2536 still defines and uses them.
2538 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2540 * gst/gstelement.c: (gst_element_base_class_init),
2541 (gst_element_class_add_pad_template):
2542 * gst/gstpadtemplate.c:
2543 Make it possible (and recommended) to set element details and add
2544 pad templates in the class_init functions by copying the details/pad
2545 templates in GstElement's base_init.
2547 Also make it possible to replace existing pad templates by adding
2548 a new one with the same name. This was done in a hackish fashion
2549 in same elements before already.
2551 Don't reference pad templates that are added a second time. A
2552 new pad template has a refcount of one and is not floating anymore
2553 and to be owned by the element's class. Make this more explicit by
2554 mentioning it in the docs of gst_element_class_add_pad_template().
2556 These changes are backwards compatible. Fixes bug #491501.
2558 * tests/check/gst/gstelement.c:
2559 Add unit test for setting element details, adding pad templates and
2560 replacing them in a subclass.
2562 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2564 * tools/gst-inspect.c: (print_interfaces),
2565 (print_element_properties_info), (print_pad_info),
2566 (print_signal_info), (print_element_info):
2567 Fix a few memory leaks.
2569 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2571 * docs/libs/gstreamer-libs-sections.txt:
2572 * libs/gst/check/gstcheck.c:
2573 * libs/gst/check/gstcheck.h:
2574 Add more functions for unit testing: gst_check_drop_buffers,
2575 gst_check_caps_equal, gst_check_element_push_buffer_list,
2576 gst_check_element_push_buffer
2577 API: gst_check_drop_buffers
2578 API: gst_check_caps_equal
2579 API: gst_check_element_push_buffer_list
2580 API: gst_check_element_push_buffer
2582 2008-02-01 Julien Moutte <julien@fluendo.com>
2584 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2585 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2586 (gst_index_finalize), (gst_index_entry_free),
2587 (gst_index_add_association): Fix memory leaks.
2588 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2589 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2590 (gst_mem_index_free_format), (gst_mem_index_free_id),
2591 (gst_mem_index_finalize): Fix memory leaks.
2592 * win32/common/config.h: Updated to CVS HEAD.
2594 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2597 Some more details about how the plugin docs works.
2599 * docs/plugins/gstreamer-plugins-sections.txt:
2602 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2604 * gst/parse/grammar.tab.pre.c:
2605 * gst/parse/grammar.tab.pre.h:
2606 * gst/parse/grammar.y:
2607 * gst/parse/lex._gst_parse_yy.pre.c:
2608 Add delayed set-property. This allows to set properties on dynamicaly
2609 created objects (pads in videomxer). Fixes #509391.
2611 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2614 Check if caps are not NULL (fix bug #510194)
2616 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2618 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2619 (gst_base_sink_get_position_paused):
2620 Add fixme regarding EOS in pull mode.
2621 Fix position reporting in PAUSED for negative rates.
2623 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2625 * gst/gstminiobject.c: (gst_mini_object_replace):
2626 When replacing a miniobject, do a quick equality check first so that we
2627 can avoid a ref/unref pair.
2629 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2631 * docs/design/part-synchronisation.txt:
2634 * docs/plugins/Makefile.am:
2635 * docs/plugins/gstreamer-plugins-docs.sgml:
2636 * docs/plugins/gstreamer-plugins-sections.txt:
2637 * plugins/elements/gstmultiqueue.c:
2638 Add multiqueue to the docs.
2640 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2645 === release 0.10.17 ===
2647 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2650 releasing 0.10.17, "Due Negligence"
2652 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2655 Revert caps != NULL check temporarily for 0.10.17 release.
2657 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2660 Check if caps are not NULL (fix bug #510194)
2662 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2665 Fix compilation on systems that have posix timers but no
2668 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2671 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2673 * tools/gst-inspect.c:
2674 Revert previous commit in preparation for an impromptu 0.10.17 release
2676 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2678 * tools/gst-inspect.c: (print_interfaces),
2679 (print_element_properties_info), (print_pad_info),
2680 (print_signal_info), (print_element_info):
2681 Fix a few memory leaks.
2683 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2688 === release 0.10.16 ===
2690 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2693 releasing 0.10.16, "Special Dispensation"
2695 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2698 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2699 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2700 not fail when trying to crosscompile on OpenEmbedded (#511750).
2702 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2705 Use $(MAKE) instead of make to fix the build if GNU make is
2706 called different. Fixes bug #510747.
2708 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2710 * gst/gstplugin.c: (_gst_plugin_initialize):
2711 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2712 again, which I broke two commits ago when changing the API
2713 of gst_plugin_register_static(): the g_list_foreach() in
2714 _gst_plugin_register_static still assumed the old function
2715 signature and would therefore fail (re-fixes #510187).
2717 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2718 (_gst_plugin_register_static), (gst_plugin_register_static):
2719 Revert the (technically correct) change to call g_thread_init() from
2720 the pre-main() constructor. This will break programs which call
2721 g_thread_init() without an if (!g_thread_supported()) guard in their
2722 main function. We could just blame it on GLib or the application, but
2723 it's probably best to just avoid this altogether and simply not use
2724 any GLib functions here and use plain old malloc() with a simple
2725 array to store the plugins to register later when gst_init() is
2726 finally called (re-fixes #510187).
2728 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2729 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2730 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2731 (GST_START_TEST), (gst_plugin_suite):
2732 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2735 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2737 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2738 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2739 This makes gtk-doc complain, but results in slightly better
2740 compiler errors. The old _gst_plugin_register_static() is
2741 still guarded, so there'll be a compiler warning about that
2742 instead. Fixes #510187 too.
2744 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2746 * gst/gst.c: (init_post):
2747 * gst/gstplugin.c: (_gst_plugin_register_static),
2748 (gst_plugin_register_static), (_gst_plugin_initialize):
2749 * gst/gstplugin.h: (GstPluginFilter):
2750 Change API of gst_plugin_register_static() to not take
2751 a GstPluginDesc, but rather just take all the arguments
2752 in a GstPluginDesc directly. This is more intuitive and
2753 avoids certain mistakes when porting code from
2754 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2757 * tests/check/gst/gstplugin.c:
2758 Fix up for changed API.
2760 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2762 * docs/faq/legal.xml:
2763 Update FAQ, Totem actually has an exception these days.
2765 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2767 * win32/common/libgstreamer.def:
2768 Add new API declarations
2770 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2772 * gst/gstminiobject.c:
2773 Spelling fixes for the API docs.
2775 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2777 * libs/gst/base/gstbasetransform.c:
2778 Fix long property description for QoS.
2780 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2783 _gst_trace_on is already provided by gsttrace.h, no need to declare
2786 * docs/libs/gstreamer-libs-sections.txt:
2787 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2788 and remove strange tcase_add_test which is outputting a warning.
2790 * libs/gst/check/gstcheck.c:
2791 * libs/gst/check/gstcheck.h:
2792 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2793 and define them in gstcheck.c instead of having every .c file whcih
2794 includes gstcheck.h be defining its own copy and relying on symbol
2795 interposing to marry them all, which doesn't work on Solaris.
2797 * tests/check/elements/identity.c: (GST_START_TEST):
2798 Don't define 'buffers' locally, it comes from libgstcheck.
2800 * tests/check/generic/sinks.c: (send_buffer):
2801 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2803 * tests/check/gst/gststructure.c: (GST_START_TEST):
2804 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2805 * tests/check/gst/gstutils.c: (GST_START_TEST):
2806 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2807 Add a bunch of casts to make various constants fit the types
2808 they're being assigned to.
2810 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2812 * gst/gstchildproxy.c:
2813 Improve docs and add some ideas for making this more general-purpose.
2815 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2817 * gst/gst_private.h: (GST_CAT_TYPES):
2818 Add GST_CAT_TYPES, for consistency, and so that the other
2819 debug categories don't make fun of it. Spotted by Saur on IRC.
2821 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2823 * gst/parse/Makefile.am:
2824 Move types.h from EXTRA_DIST to noinst_HEADERS.
2826 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2829 Add -Wno-portability to the automake parameters to stop warnings
2830 about GNU make extensions being used. We require GNU make in almost
2831 every Makefile anyway.
2834 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2835 at the same time is required for per target flags.
2837 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2840 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2841 __GNUC__ is defined before using it.
2843 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2845 * docs/gst/gstreamer-sections.txt:
2846 * gst/gst.c: (init_post):
2847 * gst/gstplugin.c: (_gst_plugin_register_static),
2848 (gst_plugin_register_static), (_gst_plugin_initialize),
2849 (gst_plugin_register_func):
2850 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2851 API: add gst_plugin_register_static() and deprecate
2852 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2854 Also, in _gst_plugin_register_static(), make sure to call
2855 g_thread_init() before calling GLib functions such as
2856 g_list_append() if we're not initialised yet, since that
2857 may lead to random crashes with older GSlice/GLib versions.
2859 * tests/check/gst/gstplugin.c:
2860 Adapt unit test to above changes.
2862 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2864 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2865 * gst/gstcaps.c: (gst_caps_to_string):
2866 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2867 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2868 Yet another gratuitous GString micro-optimisation: add a (private)
2869 function that serialises a structure appending to an existing
2870 GString, so that when we serialise caps we don't need to alloc+free
2871 a throwaway GString for each structure (each of which also entailing
2872 multiple reallocs on the way); also use g_string_sized_new() in
2873 various places with an approximate string length to avoid reallocs
2874 within GString. See #500143.
2876 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2878 * gst/gststructure.c: (gst_structure_id_set_value):
2879 Always check UTF-8 conformance of structure strings and not only
2880 if the debugging system is enabled; reasoning: the behaviour of
2881 the actual code shouldn't really change depending on whether the
2882 debugging system is enabled or not (#508291).
2884 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2887 Remove old coverage target in favour of "make lcov".
2889 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2891 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2892 (gst_base_src_loop):
2893 The start segment for reverse playback goes from start to last_stop.
2895 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2897 Patch by: Peter Kjellerstedt <pkj axis com>
2900 Cast the results from the timeval/spec_to_time macros to what the
2901 docs say it casts to, a GstClockTime. fixes #508175.
2903 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2906 Update some comments.
2908 * tools/gst-inspect.c: (print_element_properties_info):
2909 Improve printing of flags.
2911 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2913 * libs/gst/base/gstbasetransform.c:
2914 (gst_base_transform_transform_size):
2915 Print element name with g_warning() if there's a problem
2918 2008-01-07 David Schleef <ds@schleef.org>
2920 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2922 * libs/gst/controller/gstcontroller.h:
2923 * libs/gst/controller/gstcontrolsource.h:
2924 * libs/gst/controller/gstinterpolationcontrolsource.h:
2925 * libs/gst/controller/gstlfocontrolsource.h:
2926 * libs/gst/dataprotocol/dataprotocol.h:
2927 Fix empty prototypes. Fixes bug #507957.
2929 2008-01-07 David Schleef <ds@schleef.org>
2931 * docs/faq/dependencies.xml: Fix typo.
2933 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2935 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2936 (gst_base_src_loop):
2937 Don't update the last_stop position in do_seek, that's the position we
2939 Read backwards when we have a negative rate.
2941 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2942 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2944 Add check for reverse reading.
2946 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2948 Patch by: Alexis Ballier <aballier at gentoo org>
2950 * tests/check/gst/gstabi.c:
2951 * tests/check/gst/struct_ppc64.h:
2952 * tests/check/libs/libsabi.c:
2953 * tests/check/libs/struct_ppc64.h:
2954 Decide which header to include based on the userland ABI target
2955 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2956 for 64-bit userland (#503590). Might need something similar for
2959 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2961 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2962 Log the reason why fopen fails in addition to the fact that it failed.
2964 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2966 * gst/parse/parse.l:
2967 Use "%option never-interactive" to prevent useless calls to isatty()
2968 on every input when parsing. Also use "%option noinput" to not define
2969 the static input/yyinput functions which we don't use anyway. This
2970 removes a compiler warning with gcc 4.3 and saves some bytes in the
2973 * gst/parse/lex._gst_parse_yy.pre.c:
2974 Regenerated for the above change.
2976 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2978 * gst/gstpad.c: (fixate_value):
2979 Don't crash when trying to fixate and empty list.
2982 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
2984 * docs/faq/gst-uninstalled:
2985 Clarify the comments to make the usage of this script and what it
2986 does easier to understand.
2988 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
2990 * tools/gst-plot-timeline.py:
2991 Add more options to gst-plot-timeline
2993 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
2995 * docs/design/part-synchronisation.txt:
2996 Some more info on how the stream_time in GstBaseSink is done.
2998 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3000 * tests/check/generic/sinks.c: (gst_sinks_suite):
3001 Put back the tcase_set_timeout(), apparently it's needed after
3002 all; fix it up in a way that makes things work with valgrind too.
3004 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3006 * gst/gstdebugutils.c:
3007 Add warning when failed to open file for writing.
3009 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3011 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3013 * gst/gstvalue.c: (gst_value_is_fixed):
3014 Optimisation: bail out of the loop as early as possible (#500143).
3016 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3018 * gst/gstcaps.c: (gst_caps_to_string):
3019 * gst/gstinfo.c: (gst_debug_construct_term_color):
3020 * gst/gstparse.c: (gst_parse_launchv):
3021 * gst/gstutils.c: (gst_util_dump_mem):
3022 * gst/gstvalue.c: (gst_value_serialize_any_list),
3023 (gst_value_transform_any_list_string):
3024 Bunch of gratuitous nano-optimisations.
3026 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3028 * tests/check/generic/sinks.c: (async_done_func),
3029 (async_done_eos_func):
3030 Fix leak in unit test (bus sync handler must unref the message
3031 if it returns GST_BUS_DROP). Don't fiddle with the default test
3032 timeout, this is smaller than the current preconfigured value
3033 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3034 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3036 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3038 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3041 Check for stdio_ext.h for the filesink changes.
3043 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3044 (gst_file_sink_class_init), (gst_file_sink_init),
3045 (gst_file_sink_dispose), (gst_file_sink_set_property),
3046 (gst_file_sink_get_property), (gst_file_sink_open_file),
3047 (gst_file_sink_close_file):
3048 * plugins/elements/gstfilesink.h:
3049 Add two properties to control the buffering mode and size.
3050 API: GstFileSink::buffer-mode
3051 API: GstFileSink::buffer-size
3054 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3056 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3057 Add some more docs to explain why a FIXME was wrongly added.
3059 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3062 Fix typo in the gst_object_{ref,unref} documentation.
3064 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3066 * tests/check/libs/controller.c:
3067 * tests/check/libs/typefindhelper.c:
3068 * tests/check/pipelines/parse-launch.c:
3069 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3070 going to be deprecated (see #498924).
3072 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3074 * gst/gsttypefind.c: (gst_type_find_register):
3075 Make gst_type_find_register work for static typefind functions,
3076 ie. allow passing plugin == NULL (prerequisite for #498924).
3078 * gst/gstelementfactory.c: (gst_element_register):
3079 Small docs addition.
3081 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3083 * gst/gstpad.c: (gst_pad_dispose):
3084 Really unlink the peer pad instead of setting the peer pointer to NULL
3085 when we dispose the pad.
3086 This correctly calls the unlink functions and makes sure that the peer
3087 does not have a handle to invalid memory. See #504671.
3089 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3090 Add testsuite for above case.
3092 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3094 Patch by: Peter Kjellerstedt <pkj axis com>
3096 * libs/gst/check/gstcheck.h:
3097 Fix detection of the check version we're compiling against (would
3098 otherwise break if check goes v0.10.0); correctly report the
3099 name of the failed test again in case of failure, instead of
3100 just 'tf' (fixes #504499).
3102 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3104 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3105 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3106 (gst_base_src_loop), (gst_base_src_set_flushing),
3107 (gst_base_src_change_state):
3108 Allow sending EOS to the source to make it send out an EOS event from
3109 the streaming thread.
3110 Update docs and deprecate the old NULL/READY shutdown method.
3112 * tests/check/libs/basesrc.c: (GST_START_TEST),
3113 (gst_basesrc_suite):
3114 Add unit test for controlled shutdown.
3116 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3118 * docs/design/part-synchronisation.txt:
3121 * gst/gstsegment.c: (gst_segment_set_seek),
3122 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3123 (gst_segment_to_running_time):
3124 The seek format can be different from the segment format when the start
3125 and stop values are not to be updated, when we only do a rate change for
3128 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3129 (gst_segment_suite):
3130 Add a testcase for the rate-only seeks, checking that the format is
3131 correctly ignored when start and stop are not updated.
3133 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3135 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3137 * win32/vs8/grammar.vcproj:
3138 * win32/vs8/libgstcontroller.vcproj:
3139 * win32/vs8/libgstreamer.vcproj:
3140 Fix compilation with VS8 and include some missing files.
3142 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3145 Small docs addition: mention that the strings returned by
3146 gst_tag_list_get_string*() are in UTF-8 encoding.
3148 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3151 The check-exports stuff moved to common/win32.mak, so include that.
3153 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3155 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3156 (gst_base_src_perform_seek), (gst_base_src_get_range),
3157 (gst_base_src_set_playing), (gst_base_src_change_state):
3158 Make _wait_playing() not check any variables so that we can call this
3159 function from subclasses. Move the checks elsewhere similar to
3160 _wait_preroll() in basesink.
3162 Only signal the LIVE cond when we are going back to PLAYING.
3164 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3166 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3167 Use g_remove() and g_rename(). Check result of g_rename(), and
3168 don't leak the open file descriptor if we error out when writing.
3170 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3171 Must check the return value of close() after writing out the new
3172 registry file. Sometimes write problems such as out-of-diskspace
3173 are only reported when the file is closed and not already during
3174 the write. This may have caused partial/broken registry files in
3175 some rare circumstances. Should fix #503675.
3177 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3179 * docs/gst/.cvsignore:
3180 * docs/libs/.cvsignore:
3181 * docs/plugins/.cvsignore:
3182 Ignore files generated by new common/* modifications
3184 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3186 * win32/common/libgstbase.def:
3187 Yes, you can also have a <TAB> if you want.
3189 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3191 * win32/common/libgstbase.def:
3192 Add new basetransform API to win export file.
3194 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3196 * tests/check/gst/gstbin.c:
3197 Adjust the test to the refcount change two days ago.
3199 2007-12-14 David Schleef <ds@schleef.org>
3201 * docs/faq/getting.xml: Fix typo.
3203 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3205 * docs/libs/gstreamer-libs-sections.txt:
3206 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3207 (gst_base_transform_prepare_output_buffer),
3208 (gst_base_transform_set_gap_aware):
3209 * libs/gst/base/gstbasetransform.h:
3210 API: Add gst_base_transform_set_gap_aware() to control whether
3211 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3212 get buffers with this flag at all. Fixes #503231.
3214 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3216 * libs/gst/base/gstbasesink.c:
3217 * libs/gst/base/gstbasesrc.c:
3218 * libs/gst/base/gstbasetransform.c:
3219 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3220 thread. Correct log message in gstbasesrc.c.
3222 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3224 * gst/gstutils.c: (element_find_unconnected_pad):
3225 Fix possible compiler warning (#503417).
3227 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3229 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3230 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3232 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3234 * tools/gst-inspect.c: (print_element_properties_info):
3235 Add support for GstFraction properties.
3237 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3240 Add check-exports target and run it as part of 'make check'
3241 (see #499140 and #493983).
3243 * gst/gst_private.h:
3244 * gst/gstelementfactory.h:
3245 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3246 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3247 (_priv_gst_in_valgrind):
3248 * gst/gstinfo.h: (GstLogFunction):
3249 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3250 (gst_type_find_register):
3251 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3252 (gst_type_find_factory_get_type):
3253 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3254 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3255 (gst_controller_new_valist), (gst_controller_new_list),
3256 (_gst_controller_dispose), (_gst_controller_class_init):
3257 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3258 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3259 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3260 (gst_object_get_controller), (gst_object_set_controller),
3261 (gst_object_suggest_next_sync), (gst_object_sync_values),
3262 (gst_object_set_control_source), (gst_object_get_control_source),
3263 (gst_object_get_value_arrays), (gst_object_get_value_array),
3264 (gst_object_get_control_rate), (gst_object_set_control_rate):
3265 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3266 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3267 Make some functions that should be static static; rename some
3268 private symbols so that they don't get exported; add some FIXME
3269 comments so we can move accidentally exported functions into
3270 our private section in 0.11.
3272 * win32/common/libgstreamer.def:
3273 Add gst_utils_get_timestamp().
3275 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3279 Add more missing "Since:" tags to docs.
3281 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3284 Add mising "Since:" to docs.
3286 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3289 Include "glib-compat-private.h" to fix the build on system with
3290 glib < 2.10. Fixes #503131.
3292 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3296 Actually its not PURE as it gets the time from elsewhere.
3298 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3300 * docs/gst/gstreamer-sections.txt:
3302 * gst/gstdebugutils.c:
3306 * libs/gst/base/gstbasesink.c:
3307 * tools/gst-launch.c:
3308 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3309 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3310 Thanks Tim for spotting.
3311 API: gst_util_get_timestamp
3313 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3316 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3318 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3320 * gst/gststructure.c: (gst_structure_validate_name),
3321 (gst_structure_new_valist), (gst_structure_parse_value),
3322 (gst_structure_from_string):
3323 Don't crash in _from_string() if the structure name is not valid
3324 (fixes #501560). Allow structure names to start with a number
3325 again (this apparently broke the ubuntu codec installer).
3327 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3329 Add unit test for the crash; update unit tests for new behaviour.
3331 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3334 Clarify gst_element_get_compatible_pad() documentation.
3337 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3339 * tests/check/Makefile.am:
3340 Don't forget to dist {gst,libs}/struct_hppa.h.
3342 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3344 * libs/gst/base/gstbasesink.c:
3345 Use new API to get elapsed time.
3347 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3349 * gst/gstdebugutils.c:
3351 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3353 * tools/gst-launch.c:
3354 Use new API to get elapsed time.
3356 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3358 * docs/gst/gstreamer-sections.txt:
3360 * gst/gstdebugutils.c:
3362 Rename new API + ChangeLog surgery to remove old name from last entry..
3364 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3366 * docs/gst/gstreamer-sections.txt:
3368 * gst/gstdebugutils.c:
3370 Now hide the different clock stuff behind a macro.
3372 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3375 * gst/gstdebugutils.c:
3377 Apply the posix-timer check from #361155. Conditionally use the posix
3378 timer for logging. This gives better timestamp precission, less
3379 overhead and no ntp jitter.
3381 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3383 * gst/gstminiobject.c: (gst_mini_object_get_type),
3384 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3385 (gst_mini_object_finalize), (gst_mini_object_copy),
3386 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3387 (gst_mini_object_replace), (param_mini_object_validate),
3388 (gst_param_spec_mini_object_get_type):
3389 Some cleanup and checking against invalid function parameters.
3391 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3393 * docs/gst/gstreamer-sections.txt:
3395 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3396 (gst_systemclock_suite):
3397 Start merging in the easy bits of #361155, the monotonic clock patch.
3398 This one adds a few handy macros with docs and a testsuite.
3400 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3402 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3403 Be a bit smarter when seeking, like, don't try to do a seek when it's
3404 not needed. This avoids errors when the file is not seekable.
3407 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3409 * docs/gst/gstreamer-docs.sgml:
3410 * docs/gst/gstreamer-sections.txt:
3411 * docs/gst/gstreamer.types.in:
3416 * plugins/elements/gstqueue.c:
3417 Due to popular request remove preset interface again. :-(.
3419 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3421 * tools/gst-inspect.c:
3422 Print 'default value' for enums and flags too.
3424 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3426 * docs/random/ensonic/profiling.txt:
3430 Fix typo and give better log output.
3432 * gst/gstdebugutils.c:
3433 * gst/gstdebugutils.h:
3434 More ideas, make graphs a bit smaller and fix param name in macro.
3436 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3439 Try harder to use the return value from fgets().
3441 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3444 For theses two fgets we handle the error below.
3446 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3448 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3449 Only send upstream events upstream. Fixes #498746.
3451 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3453 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3455 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3456 (gst_identity_init), (gst_identity_transform_ip),
3457 (gst_identity_set_property), (gst_identity_get_property):
3458 * plugins/elements/gstidentity.h:
3459 Add property to disable handoff signal emission. Fixes #498694.
3460 API: GstIdentity::signal-handoffs
3462 2007-11-21 Julien Moutte <julien@fluendo.com>
3464 * docs/faq/gst-uninstalled: Yet another missing library for the
3465 uninstalled script (fft)
3467 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3469 * docs/faq/developing.xml:
3470 Add a question about how to submit new translations.
3472 * docs/random/release:
3473 Update the contact email address for the Translation Project
3475 * plugins/elements/gstfdsrc.c:
3476 The parent_class for fdsrc is pushsrc, not GstElement.
3478 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3481 Plug a leak and fix saving.
3483 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3485 * docs/gst/gstreamer-sections.txt:
3486 Add new gst_preset__get_property_names() function to the docs
3489 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3493 Change _get_preset_names API to return a strv with copies. Add
3494 _get_property_names to allow implementations to filter and provide
3495 good default implementation.
3497 2007-11-20 Julien MOUTTE <julien@moutte.net>
3499 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3502 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3505 More cleanups, docs, and TODOs from comments that now slowly come in.
3507 2007-11-19 Julien MOUTTE <julien@moutte.net>
3509 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3512 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3515 Fix bogus warning and make the property type specific code more
3518 2007-11-19 Julien MOUTTE <julien@moutte.net>
3520 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3523 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3525 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3526 (gst_bin_add_func), (gst_bin_remove_func),
3527 (gst_bin_change_state_func), (gst_bin_continue_func):
3528 Change email, cleanups add some more debug and comments.
3529 Also set bus and clock on new elements when the pipeline was in error.
3531 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3534 * gst/gstdebugutils.c:
3535 Fix build with --disable-gst-debug. Fixes #497859.
3536 Spotted by Sameer Naik.
3538 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3541 Little documentation improvment.
3544 More TODO cleanups. Remove c++ comments.
3546 * libs/gst/controller/gstcontroller.c:
3547 Add TODO and use quark from static string.
3549 * tests/check/gst/gstmessage.c:
3550 * tests/check/gst/gststructure.c:
3551 Use quark from static string.
3553 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3556 Add some comments and TODOs.
3559 Add padding for future changes.
3561 * plugins/elements/gstqueue.c:
3562 Implement the iface.
3564 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3566 * docs/gst/gstreamer-docs.sgml:
3567 * docs/gst/gstreamer-sections.txt:
3568 * docs/gst/gstreamer.types.in:
3573 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3575 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3581 === release 0.10.15 ===
3583 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3586 releasing 0.10.15, "October"
3588 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3590 * win32/vs6/libgstreamer.dsp:
3591 Convert line endings back to DOS.
3593 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3595 * docs/design/draft-tagreading.txt:
3596 * docs/random/ensonic/profiling.txt:
3597 Update fast tagreading draft and performance profiling ideas.
3599 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3601 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3602 Don't hold the object lock when unreffing a buffer because it could
3603 cause a deadlock when the finalize function wants to grab the object
3604 lock too. Fixes #495133.
3606 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3608 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3609 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3610 Also accumulate time correctly when doing reverse playback. Fixes
3612 When converting to running and stream time, use default values for
3613 start/stop/time/accum when comparing different formats. Fixes #494245.
3615 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3616 Do running/stream time in TIME format.
3618 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3619 (gst_segment_suite):
3620 2 new unit tests for segment accumulation.
3622 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3624 * gst/gst.c: (init_pre):
3625 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3626 (_gst_debug_bin_to_dot_file):
3627 Move getenv() back into gst_init, so everyone can live happily
3628 ever after. Make sure the symbol isn't exported though.
3630 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3632 Patch by: Sebastien Moutte <sebastien moutte net>
3634 * win32/common/gstenumtypes.c:
3635 * win32/common/gstenumtypes.h:
3638 * win32/vs6/libgstreamer.dsp:
3639 Update vs6 project files (#494343).
3641 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3643 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3644 (gst_base_src_perform_seek), (gst_base_src_default_event),
3645 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3646 (gst_base_src_activate_pull):
3647 Unify flushing code, remove some old unlock code that is no longer used.
3648 Take the streaming lock when seeking to avoid races. Fixes #492729.
3649 Added some more comments.
3651 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3653 * gst/gst.c: (_gst_disable_segtrap):
3654 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3655 we can use gst_segtrap_is_enabled() there now that we have that API.
3656 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3657 to do the getenv here (and export the variable).
3659 * gst/gstdebugutils.c: (debug_dump_element),
3660 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3661 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3663 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3664 (gst_debug_log_default):
3665 Rename _gst_info_start_time to priv_gst_info_start_time so it
3666 doesn't get exported (was never in any header).
3668 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3669 (gst_plugin_loading_mutex):
3670 Make static mutex gst_plugin_loading_mutex really static (was never
3671 in any header), and use gst_segtrap_is_enabled() instead of
3672 _gst_disable_segtrap.
3674 * gst/gsttrace.c: (_gst_trace_default):
3675 Make local _gst_trace_default static (was never in any header).
3677 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3679 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3681 * win32/common/libgstbase.def:
3682 * win32/common/libgstcontroller.def:
3683 * win32/common/libgstdataprotocol.def:
3684 * win32/common/libgstnet.def:
3685 * win32/common/libgstreamer.def:
3686 Add more missing symbols, remove some duplicates, and sort
3687 as the 'sort' command sorts it (partially fixes #493983).
3689 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3691 * gst/gstelement.c: (gst_element_set_state_func):
3692 Only change the state cookie if a different state was set on the
3693 element. See #492729.
3695 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3698 Remove unused and uninitialised type variables that were still
3699 exported for some reason (they were never in any header files
3702 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3704 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3705 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3706 (gst_base_sink_event), (gst_base_sink_get_position_last),
3707 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3708 (gst_base_sink_change_state):
3709 Don't try to report a 0 position when we don't know, return -1 and FALSE
3710 instead. This mostly happens when we are prerolling.
3711 Make sure we can report the right position before we post the ASYNC_DONE
3712 message so that a message handler can query position without races.
3714 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3715 (async_done_handoff), (async_done_func), (send_buffer),
3716 (async_done_eos_func), (gst_sinks_suite):
3717 Add two tests for the above.
3719 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3722 Update with new email address.
3724 * docs/design/part-TODO.txt:
3725 Add some more info about future pad-block and negotiation changes.
3727 * docs/design/part-buffering.txt:
3728 Add some ideas about buffering reporting.
3730 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3732 * tests/check/gst/gstobject.c:
3733 Disable silly racy test that always fails on this combination of CPU
3736 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3738 Patch by: Murray Cumming <murrayc@murrayc.com>
3741 Corrected the registration of the parent-set and parent-unset
3742 signals: The parameter is a GstObject, not a GObject (#493134).
3744 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3746 * gst/gst_private.h:
3755 Move declaration of private _gst_foo_initialize() functions into
3756 our private header file where they should have been all along.
3758 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3760 * docs/plugins/gstreamer-plugins-sections.txt:
3761 * gst/gstdebugutils.h:
3763 * plugins/elements/gstqueue.c:
3764 gtk-doc fixes; trailing-comma-in-enum fix.
3766 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3768 * gst/gst.c: (gst_deinit):
3769 Clean up on deinit (not the external ones though, doesn't seem to be
3770 needed for some reason).
3772 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3774 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3775 Remove __declspec(dllimport) for MSVC that was copied over into core
3776 from a plugin, obviously without ever having been tested (note the
3777 single underscore in _declspec in the initial commit), and that doesn't
3778 really make sense. See #492077.
3780 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3782 * gst/gst.c: (init_post):
3783 * gst/gstevent.c: (_gst_event_initialize):
3784 * gst/gstquery.c: (_gst_query_initialize):
3785 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3786 g_type_class_ref() other types as well, see #349410 and #64764.
3788 * gst/gstbuffer.c: (_gst_buffer_initialize):
3789 * gst/gstmessage.c: (_gst_message_initialize):
3790 Simplify existing g_type_class_ref().
3792 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3794 * gst/gstformat.c: (_gst_format_initialize):
3795 g_type_class_ref() our GstFormat type to make sure we avoid the
3796 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3797 bug #64764. Should fix intermittent tee unit test failures (#474823).
3799 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3801 * tests/check/elements/tee.c: (test_num_buffers):
3802 Simplify, simplify, simplify - or not. Rewrite unit test
3803 not to use gst_parse_launch(); allow N sub-streams. Increasing
3804 the number of sub-streams seems to reproduce #474823 more easily.
3806 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3808 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3811 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3812 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3813 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3814 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3815 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3816 so use _pipe() directly (#492077).
3818 * win32/common/dirent.c: (_treaddir):
3819 Add a couple of casts to make it build without warnings with MSVC.
3821 * win32/common/libgstreamer.def:
3822 Add some more symbols that need to be exported.
3824 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3826 * tests/examples/metadata/read-metadata.c: (message_loop):
3827 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3828 arriving in a second or third tag message are added to
3829 the tag list as well.
3831 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3833 * libs/gst/base/gstbasesrc.c:
3834 Its "Since:" and not "@Since:". And remove an superflous cast.
3836 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3838 * docs/libs/gstreamer-libs-sections.txt:
3839 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3840 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3841 (gst_base_sink_get_property), (gst_base_sink_render_object),
3842 (gst_base_sink_preroll_object),
3843 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3844 (gst_base_sink_change_state):
3845 * libs/gst/base/gstbasesink.h:
3846 Add a new last-buffer property that contains the last buffer used in
3847 basesink for preroll or rendering. useful for making snapshots.
3848 API: gst_base_sink_get_last_buffer()
3849 API: GstBaseSink::last-buffer
3851 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3853 * docs/gst/running.xml:
3855 * gst/gstdebugutils.c:
3856 * gst/gstdebugutils.h:
3857 * tools/gst-launch.c:
3858 Improve bin graph dumping, by using the envvar to specify a path.
3859 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3861 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3863 * plugins/elements/gsttypefindelement.c:
3864 (gst_type_find_element_handle_event),
3865 (gst_type_find_element_activate):
3866 Post special error message if we can't determine the type of a stream
3869 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3871 * docs/gst/running.xml:
3872 * gst/gstdebugutils.c:
3873 Document new env-var. Add one log-line after dumpng a graph.
3875 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3878 Ugly hack to put the (recently removed and non-portable, apparently)
3879 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3880 GNU ld, because without that 'make check' fails miserably on my debian
3881 stable box. Someone with more knowledge of linker intricacies and
3882 portability issues than me fix this properly please.
3884 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3886 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3887 Reset last seen position after flushing so that we don't report the old
3890 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3892 * gst/gstelementfactory.c: (gst_element_register):
3894 Patch from Alessandro Decina adding get_type_full and
3895 get_protocols_full private vfuncs to the URIHandler interface
3896 to allow bindings to support creating URI handlers.
3897 Partially fixes: #339279
3898 API: GstURIHandlerInterface::get_type_full
3899 API: GstURIHandlerInterface::get_protocols_full
3901 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3903 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3904 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3905 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3906 Make it so that pads are considered linked until a buffer is pushed
3907 and discovered otherwise. This avoids problems with decodebin2 hanging
3908 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3911 Make sure we lock the multiqueue when updating the max-size properties.
3913 Fix a crash on Solaris in a debug statement in get_request_pad that
3914 passes a NULL string to GST_DEBUG.
3916 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3917 (run_output_order_test):
3918 Fix the test to allow the first buffer on not-linked pads to come out
3919 of sequence while multiqueue discovers that they are not-linked.
3921 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3924 * libs/gst/check/Makefile.am:
3925 Use a custom export symbol regex for libgstcheck, as it needs
3926 to export symbols that don't match the standard GStreamer gst_*
3927 pattern, and --export-dynamic is not portable (only works on
3930 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3931 (gst_check_setup_sink_pad):
3932 Make sure to pass a message parameter to the fail_* macros.
3934 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3935 Fix some compiler warnings.
3937 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3939 * tests/check/gst/gststructure.c: (test_to_string):
3940 Disable test that checks that white spaces are not allowed
3941 in structure names or field names, since we need to
3942 support that for now for backwards compatibility reasons.
3944 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3946 * docs/gst/gstreamer-sections.txt:
3949 API: add GST_TAG_ARTIST_SORTNAME
3950 API: add GST_TAG_ALBUM_SORTNAME
3951 API: add GST_TAG_TITLE_SORTNAME
3952 Add tag variants for sorting (#414539).
3954 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3956 * gst/gststructure.c:
3957 Also allow white space for names so we don't break
3958 backwards compatibility.
3960 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3962 * docs/design/part-TODO.txt:
3963 * docs/design/part-segments.txt:
3964 * docs/design/part-streams.txt:
3967 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3969 * docs/gst/gstreamer-sections.txt:
3970 Fixed documentation from my previous commit (added new API add
3971 gst_value_set_structure(), add gst_value_get_structure() and
3972 GST_VALUE_HOLDS_STRUCTURE).
3974 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3976 * gst/gstdebugutils.c:
3977 Reflow code to fix uninitialized variable warning.
3979 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3981 * gst/gstcaps.c: (gst_caps_to_string),
3982 (gst_caps_from_string_inplace):
3983 * gst/gststructure.c: (gst_structure_get_abbrs),
3984 (gst_structure_to_string), (gst_structure_from_string):
3985 * gst/gstvalue.c: (gst_value_set_structure),
3986 (gst_value_get_structure), (gst_value_serialize_structure),
3987 (gst_value_deserialize_structure), (_gst_value_initialize):
3989 * tests/check/gst/gststructure.c: (GST_START_TEST),
3990 (gst_structure_suite):
3991 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3992 Added GstStructure to gst_value_table and its related functions.
3993 Changed gst_structure_to_string to print ';' in the end.
3994 Changed gst_caps_to_string to not print ';' beteween its
3995 fields (structures) anymore and remove the lastes ';' from latest
3996 structure. Now it is possible to have nested structures.
3997 In addition, backward compatibilty is assured by accepting '\0' as
3998 end delimiter. Fixes: #487969.
3999 API: add gst_value_set_structure()
4000 API: add gst_value_get_structure()
4001 API: add GST_VALUE_HOLDS_STRUCTURE
4003 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4006 When no GSource callback has been set up, tell developer
4007 to use a function that actually exists.
4009 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4011 * docs/gst/gstreamer-sections.txt:
4015 * gst/gstdebugutils.c:
4016 * gst/gstdebugutils.h:
4019 * tools/gst-launch.c:
4020 Allow dumping pipelines as dot graphs. Fixes #456573.
4022 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4024 * gst/gststructure.c:
4025 Allow '+' as well, it can be part of media or mime types
4026 such as image/svg+xml.
4028 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4030 * docs/gst/gstreamer-sections.txt:
4033 API: add gst_bus_pop_filtered
4034 API: add gst_bus_timed_pop_filtered
4035 Two new functions for waiting for specific message types on the
4036 bus for a specified amount of time without iterating any main
4037 loops or main contexts.
4039 * tests/check/gst/gstbus.c:
4040 Some tests for the new functions.
4042 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4044 * docs/libs/gstreamer-libs-sections.txt:
4045 Make gtk-doc ignore stuff it should ignore.
4047 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4049 * libs/gst/check/gstcheck.c:
4050 * libs/gst/check/gstcheck.h:
4051 Allow runtime selection of unit tests to run via the GST_CHECKS
4052 environment variable (test case function names, comma-separated).
4054 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4056 * gst/gststructure.c:
4057 * tests/check/gst/gststructure.c:
4058 Revert serialisation change and constrain structure-names after
4059 consensus on irc. Update api documentation to reflect the change.
4061 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4063 * gst/gststructure.c:
4064 Improve serialization and fix tests.
4066 * tests/check/gst/gststructure.c:
4067 Add another test that covers why I actually did the previous structure
4070 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4072 * tools/gst-inspect.c: (print_element_info):
4073 Don't crash when inspecting an element.
4075 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4077 * tests/check/gst/gststructure.c:
4078 Add unit test for escaping of structure name when serialising
4079 and deserialising to/from strings.
4081 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4083 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4084 (gst_single_queue_new):
4085 * plugins/elements/gstqueue.c: (gst_queue_init),
4086 (gst_queue_push_one):
4087 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4088 upstream is tricked into thinking it can suggest a format downstream
4089 while downstream does not support that format. The real problem is that
4090 core calls acceptcaps when pushing a buffer with new caps, for which we
4091 do a little workaround by setting the caps on the srcpad ourselves
4092 before pushing the buffer (until this is figured out). Fixes #486758.
4094 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4096 * gst/gststructure.c:
4098 Add some more comments and debug output. Quote structure name to fix
4099 deserialisation of some strings.
4101 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4104 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4105 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4107 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4109 * tools/gst-inspect.c:
4110 Save approx. 400 1 byte allocs when printing. Use API to acces element
4116 * tools/gst-xmlinspect.c:
4117 Use API to acces element details.
4119 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4122 Fix some spelling errors.
4124 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4126 * gst/gstbin.c: (bin_handle_async_done):
4127 Correctly set the next state if all of our async children commited their
4128 state. This makes sure we can actually cancel the state change in
4129 progress. Fixes a regression in Rhythmbox when seeking.
4131 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4134 Don't shadow local variable.
4137 Don't shadow global function name.
4139 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4141 * gst/gstelementfactory.c:
4142 * gst/gstpluginfeature.c:
4143 * gst/gstpluginfeature.h:
4144 * gst/gstregistrybinary.c:
4145 * gst/gstregistryxml.c:
4146 * gst/gsttypefind.c:
4147 Use already-interned string for the private GstPluginFeature
4150 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4152 * docs/libs/gstreamer-libs-sections.txt:
4153 Add new API to docs; fixes the build.
4155 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4157 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4159 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4160 (gst_base_sink_event):
4161 * libs/gst/base/gstbasesink.h:
4162 Add function to wait for EOS, subclasses can use this to correctly wait
4163 for devices to drain before performing the EOS logic. Fixes #485343.
4164 API: gst_base_sink_wait_eos()
4166 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4169 Cast description string constants in GST_PLUGIN_DEFINE macros
4170 to a (gchar*) to make C++ code using these macros compile
4171 without warning with g++-4.2 (see #462737). Even if slightly
4172 ugly, this seems preferable to putting the description strings
4173 into the GLib quark table or making the structure member a
4174 const gchar * and doing casts in core code that allocs and
4175 frees these strings, or requiring a cast in the C++ code.
4177 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4180 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4181 to print the entire class/function signature into the log
4182 file for C++ code. This only affects C++ code, for C code
4183 everything remains the same.
4185 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4187 * gst/gstbin.c: (remove_from_queue):
4188 Work around a problem with pipelines containing (semi)loops until a
4189 proper, more complicated solution is ready. See #475455.
4191 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4195 * gst/gstregistrybinary.c:
4196 * gst/gstregistryxml.c:
4197 Put more strings into the GLib quark table. No need to keep
4198 a hundred-something copies of identical version strings,
4199 license strings, package name strings and package origin
4202 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4204 * docs/manual/advanced-dataaccess.xml:
4205 Don't imply that it's okay to unconditionally change
4206 buffer data or buffer metadata in a pad probe callback,
4207 and a bunch of other comments. Fixes #430031.
4209 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4211 * win32/common/gstenumtypes.c:
4212 * win32/common/gstenumtypes.h:
4213 * win32/common/gstversion.h:
4214 Update generated files.
4216 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4218 * docs/manual/advanced-autoplugging.xml:
4219 Prefix section with broken code with a warning (see #342432).
4221 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4223 * docs/manual/appendix-integration.xml:
4224 * docs/manual/basics-init.xml:
4225 Call g_thread_init() before g_option_context_new() to
4226 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4228 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4230 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4231 (gst_base_sink_queue_object_unlocked),
4232 (gst_base_sink_queue_object), (gst_base_sink_event),
4233 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4234 When we received EOS and are waiting for when to post the EOS message,
4235 our state is prerolled and we should not return ASYNC.
4236 Reorganize some code paths to implement this behavior.
4238 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4240 Add unit test to verify above EOS fix.
4242 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4244 * plugins/elements/gsttypefindelement.c:
4245 (gst_type_find_element_have_type), (gst_type_find_element_init),
4246 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4247 Move detecting the input caps of the sinkpad to the setcaps function.
4248 This allows us to update the output caps when we receive new input caps
4249 instead of always using the first detected caps.
4251 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4253 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4254 (gst_base_sink_get_position):
4255 Don't try to preroll non-async elements after a flush.
4256 Subtract latency form clock times when reporting position.
4258 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4260 * gst/gstpad.c: (gst_pad_pause_task):
4262 Small comment and documentation update.
4264 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4266 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4267 (gst_base_src_set_live), (gst_base_src_is_live),
4268 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4269 (gst_base_src_default_event), (gst_base_src_wait),
4270 (gst_base_src_do_sync), (gst_base_src_get_range),
4271 (gst_base_src_pad_get_range), (gst_base_src_loop),
4272 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4273 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4274 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4275 (gst_base_src_change_state):
4276 Rework the locking of basesrc in a similar fashion to basesink. We
4277 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4278 us to handle live sources and semi live ones much better.
4280 Fix unlocking when seeking, shutting down and pausing in live sources.
4282 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4284 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4285 Fix compilation again.
4287 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4290 Use meaningful categories for the logs to clean the default one.
4292 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4294 * tests/check/pipelines/cleanup.c:
4295 Print message name and not just number.
4297 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4299 * docs/design/draft-tagreading.txt:
4300 Add some more thoughts.
4302 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4304 * tests/check/pipelines/simple-launch-lines.c:
4305 Print message name and not just number.
4307 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4309 * libs/gst/base/gsttypefindhelper.c:
4310 Speedup typefinding. This is work in progress (see #459862).
4312 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4315 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4316 Spotted by Josep Torra Valles <josep@fluendo.com>.
4318 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4321 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4322 field has moved to GstObject.
4324 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4326 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4327 (gst_base_src_get_range), (gst_base_src_change_state):
4328 Call unlock for live sources so that they can't get stuck in _create and
4329 produce a buffer before they are set back to PLAYING.
4331 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4333 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4334 (gst_queue_locked_dequeue):
4335 Comment the segment-related code... in the PROPER function.
4336 See #482147 and my commit from yesterday.
4338 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4340 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4341 Also initialize the counter that calculates the first timestamp on a
4342 buffer correctly for non-live sources.
4344 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4346 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4347 Disable code that's breaking the current-time-level reporting.
4350 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4352 * docs/gst/gstreamer-sections.txt:
4353 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4354 as they shouldn't show up. Fixes the docs build.
4356 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4359 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4360 Define M_PI which is used in files which are including gstinfo.h.
4361 VS6 includes doesn't define it.
4362 * win32/common/libgstbase.def:
4363 * win32/common/libgstcontroller.def:
4364 * win32/common/libgstreamer.def:
4365 Add new exported functions and variables.
4366 * win32/vs6/libgstcontroller.dsp:
4367 * win32/vs6/libgstreamer.dsp:
4368 Update the list of files to build.
4370 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4372 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4374 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4375 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4376 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4377 Improve debugging. Fixes #480858.
4379 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4381 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4383 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4384 First patch of code cleanups, use the macros and right arguments in the
4385 macros to signal and lock the queue. See #480858.
4387 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4389 * gst/gstbus.c: (poll_func):
4390 Improve debugging when dealing with _poll().
4392 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4394 * gst/gstregistryxml.c:
4395 Fix memory leak I introduced a few days ago.
4397 2007-09-26 Michael Smith <msmith@fluendo.com>
4399 * gst/gstbuffer.c: (gst_buffer_finalize):
4400 Make it once again possible to free GstBuffers in the default
4402 The poisoning scribbles on parts of the miniobject we need in
4406 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4408 * docs/gst/gstreamer-sections.txt:
4411 API: add GST_TAG_COMPOSER, fixes #459809.
4413 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4417 Add the 3-clause BSD license and the MIT/X11 license to the license
4418 list. Fixes #479784.
4420 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4422 * docs/faq/getting.xml:
4423 Add Q+A about different GStreamer versions (#364056).
4425 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4427 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4428 (gst_base_sink_event), (gst_base_sink_change_state):
4429 Return correct gboolean from query function.
4431 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4433 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4434 (gst_base_sink_event), (gst_base_sink_query),
4435 (gst_base_sink_change_state):
4436 Simplify latency query.
4437 When not synchronizing, we can report latency without querying the peer
4440 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4444 Fix small typos in the docs.
4446 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4448 * docs/design/draft-latency.txt:
4449 * docs/design/draft-push-pull.txt:
4450 * docs/design/draft-tagreading.txt:
4451 * docs/design/part-MT-refcounting.txt:
4452 * docs/design/part-activation.txt:
4453 * docs/design/part-block.txt:
4454 * docs/design/part-element-source.txt:
4455 * docs/design/part-events.txt:
4456 * docs/design/part-gstbin.txt:
4457 * docs/design/part-gstelement.txt:
4458 * docs/design/part-gstobject.txt:
4459 * docs/design/part-gstpipeline.txt:
4460 * docs/design/part-messages.txt:
4461 * docs/design/part-preroll.txt:
4462 * docs/design/part-push-pull.txt:
4463 * docs/design/part-qos.txt:
4464 * docs/design/part-query.txt:
4465 * docs/design/part-scheduling.txt:
4466 * docs/design/part-seeking.txt:
4467 * docs/design/part-segments.txt:
4468 * docs/design/part-states.txt:
4469 Documentation updates and typo fixes.
4471 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4473 * plugins/elements/gstfakesink.c:
4474 Add some debug text to error message to indicate that
4475 we errored out on request.
4477 * tools/gst-launch.c:
4478 When the state change to PLAYING fails, check for an
4479 error message on the bus and print it.
4481 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4483 translated by: Jorge González González <aloriel@gmail.com>
4487 Added Spanish translation.
4489 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4491 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4492 Fix printf arguments.
4494 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4496 * tests/check/generic/states.c:
4497 Improved state change unit test.
4499 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4502 Move priv to the right place.
4504 * gst/gstsystemclock.c:
4505 Add FIXME: and improve log.
4507 * tests/check/Makefile.am:
4508 * tests/examples/manual/Makefile.am:
4509 Work with all types of registries.
4511 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4513 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4514 Don't unref the event after pushing it. Fixes #478401.
4516 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4519 * tests/examples/manual/.cvsignore:
4520 Ignore registries in any format.
4522 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4524 * gst/glib-compat-private.h:
4525 Add compatibility macro for g_intern_string() for
4526 GLib-2.8 (any reason we can't just bump the
4527 requirement to at least 2.10?)
4529 * gst/gstpadtemplate.h:
4530 * gst/gstelementfactory.c:
4531 * gst/gstregistryxml.c:
4532 * gst/gstregistrybinary.c:
4533 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4534 up the internal code accordingly. This shouldn't be a problem, since
4535 there is no reason external code could ever assume the string in such
4536 a structure is dynamically allocated unless it did that itself; the
4537 use of g_strdup() is private to element factories. The new code also
4538 saves some memory by putting pad template name strings into the GLib
4539 quark table instead of allocating them dynamically.
4540 Declaring this field constant fixes warnings with g++-4.2 when using
4541 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4543 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4545 * gst/gstelementfactory.c:
4546 Release static caps. Fixes #475723.
4548 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4552 Make some internal API take const gchar * instead of just
4553 gchar * to avoid compiler warnings with g++-4.2.2 when
4554 passing string constants (partially fixes #478092).
4556 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4558 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4559 A latency query fails when one of the sinks fail.
4561 * gst/gstelement.c: (gst_element_set_base_time):
4564 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4566 * gst/gstbin.c: (gst_bin_continue_func):
4567 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4568 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4569 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4571 Fix minor compilation warnings shown with Forte.
4573 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4575 * plugins/elements/gstqueue.c: (apply_buffer),
4576 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4577 Measure queue level based on the diff between head and tail timestamps
4578 even when pushing the first buffer.
4580 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4582 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4583 (gst_base_sink_event), (gst_base_sink_change_state):
4584 Sinks that don't preroll can always be queried for the latency.
4585 Don't post ASYNC start when we are not async.
4587 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4589 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4590 (gst_queue_handle_sink_event), (gst_queue_chain),
4591 (gst_queue_push_one), (gst_queue_handle_src_query),
4592 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4593 * plugins/elements/gstqueue.h:
4594 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4595 push more buffers but allow pushing of EOS and NEWSEGMENT.
4596 Add some more debug info here and there. Fixes #476514.
4598 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4600 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4601 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4602 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4603 (gst_base_sink_set_flushing), (gst_base_sink_query),
4604 (gst_base_sink_change_state):
4605 Latency query is allowed after we are prerolled. Introduce a new flag
4606 for this and stop abusing other variables.
4608 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4610 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4611 Push OOB events downstream when we get them in send_event. This allows
4612 the application to insert events in the pipeline.
4613 Add some more comments.
4615 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4617 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4618 (do_bin_latency), (gst_bin_change_state_func):
4619 * gst/gstpipeline.c: (gst_pipeline_change_state):
4620 Move latency query from GstPipeline to GstBin so that we can also
4621 use it when async-handling is enabled on bins.
4623 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4625 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4626 (gst_base_src_do_sync), (gst_base_src_change_state):
4628 Clean up the timestamping and syncing code for pseudo live sources.
4630 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4632 Patch by: Steve Fink <sphink gmail com>
4634 * docs/manual/appendix-checklist.xml:
4635 Mention less -R switch in the section about debug output (#474055).
4637 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4639 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4640 Queue can latency to the pipeline up to the configured max size in time.
4641 Report this fact in the latency query.
4643 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4645 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4647 * libs/gst/controller/gstinterpolation.c:
4648 * libs/gst/controller/gstlfocontrolsource.c:
4649 Use gst_guint64_to_gdouble() when converting from a uint64 or
4650 GstClockTime to double to fix the build on win32. Fixes #474371.
4652 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4654 * gst/gstbuffer.c: (gst_buffer_finalize):
4655 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4656 When finalizing a buffer the complete struct is filled with 0xff,
4657 thus making a use of the buffer after the final unref impossible.
4659 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4661 * tests/check/libs/controller.c: (GST_START_TEST):
4662 Use fail_unless_equals_int(a, b) instead of
4663 fail_unless_equals (a == b) to get better output on failures.
4665 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4667 * tests/check/gst/gsturi.c:
4668 Also check for the other file URI variant on win32.
4670 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4672 * gst/gsturi.c: (gst_uri_get_location):
4673 If there's no hostname, we want to return 'c:/foo/bar.txt'
4674 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4676 * tests/check/gst/gsturi.c:
4677 Unit test for the above and a few more things.
4679 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4681 * docs/design/part-live-source.txt:
4682 Add docs on how live sources should timestamp.
4684 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4685 Add some more debug info.
4686 For subclasses that are live and like to sync, add aditional startup
4687 latency to sync time and timestamps so that we timstamp according to the
4690 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4693 Also do a g_type_class_ref() for the subbuffer type in
4696 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4698 * docs/gst/gstreamer-sections.txt:
4699 * gst/gstpad.c: (gst_pad_peer_query):
4701 Add function to perform a query on the peer of a pad.
4702 API: gst_pad_peer_query()
4704 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4706 * tests/check/gst/gstsystemclock.c:
4707 Cleanup the test a little (use gst-logging and not g_message). Improve
4708 test to check if a wait reached the target.
4710 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4712 * docs/libs/gstreamer-libs-sections.txt:
4713 Add new API to docs and fix the build.
4715 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4717 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4718 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4719 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4720 (gst_base_src_get_property), (gst_base_src_do_sync):
4721 * libs/gst/base/gstbasesrc.h:
4722 Add property to make the basesrc timestamp buffers based on the current
4724 API: GstBaseSrc::do-timestamp
4725 API: gst_base_src_set_do_timestamp()
4726 API: gst_base_src_get_do_timestamp()
4728 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4730 * docs/random/release:
4731 Really make sure translations are up-to-date before
4732 a release (#465010).
4734 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4736 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4737 Always destroy the timer, also in error cases.
4739 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4741 * docs/manual/highlevel-xml.xml:
4742 Fix XML example code. Fixes #472714.
4744 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4746 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4747 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4748 (gst_base_sink_query):
4749 Protect eos and have_preroll with the OBJECT lock so we don't need to
4750 take the PREROLL lock when querying the latency. Fixes #473846.
4752 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4755 Give some log-messages a category.
4757 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4759 * gst/gststructure.c:
4760 (gst_structure_fixate_field_nearest_fraction):
4761 Fix fraction list fixation code. Take the fraction with the smallest
4762 difference with the target instead of the first one in the list.
4764 * tests/check/gst/gststructure.c: (GST_START_TEST),
4765 (gst_structure_suite):
4766 Added test to verify correct fraction list fixation behaviour.
4768 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4770 * win32/common/libgstreamer.def:
4771 Export gst_bus_add_signal_watch too.
4773 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4775 * docs/libs/gstreamer-libs-sections.txt:
4776 Add new methods to docs.
4778 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4779 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4780 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4781 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4782 * libs/gst/base/gstbasesink.h:
4783 Add ts-offset property to fine-tune the synchronisation.
4784 API: GstBaseSink::ts-offset property
4785 API: gst_base_sink_set_ts_offset()
4786 API: gst_base_sink_get_ts_offset()
4788 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4790 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4791 (gst_base_sink_init), (gst_base_sink_set_sync),
4792 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4793 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4794 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4795 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4796 (gst_base_sink_get_property), (gst_base_sink_change_state):
4797 * libs/gst/base/gstbasesink.h:
4798 Add async property to instruct the sink never to inform the parent about
4799 ASYNC state changes, update docs.
4800 Check argument with g_return_* for the public functions.
4801 API: GstBaseSink::async property
4802 API: gst_base_sink_set_async_enabled()
4803 API: gst_base_sink_is_async_enabled()
4805 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4807 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4810 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4811 (gst_base_src_default_query), (gst_base_src_wait),
4812 (gst_base_src_do_sync), (gst_base_src_change_state):
4813 Rearrange some code so that we can add support for measuring the
4816 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4818 * docs/random/ensonic/dynlink.txt:
4819 More thoughs on this.
4821 * plugins/elements/gstcapsfilter.c:
4822 Add bugzilla ticket number to FIXME comment.
4824 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4826 * docs/design/part-TODO.txt:
4827 * docs/design/part-block.txt:
4830 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4833 Revert patch which uses $(gst_headers) instead of $^ because it
4836 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4838 * tests/check/gst/gstbin.c: (GST_START_TEST):
4839 Fix leaks in the new unit test.
4841 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4844 Don't use GST_INFO before the debug system is actually initialised
4845 (shouldn't do any harm, but won't print anything either, so we can
4846 just as well remove it).
4849 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4850 compilers that don't support variadic macros (such as MSVC), should
4851 check for debug_level <= __gst_debug_min as well, since that's the
4852 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4853 inline helper functions. Should improve performance a bit, but also
4854 makes sure uses of GST_INFO et.al are ignored if the debugging
4855 system isn't initialised yet (instead of printing an assertion
4858 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4860 patch by: David Nečas <yeti@physics.muni.cz>
4863 Replace some non portable makefile constructs.
4865 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4867 * common/gtk-doc-plugins.mak:
4868 Grrrrr. Don't remove the types file on make clean.
4870 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4872 * tools/gst-launch.1.in:
4873 Add colorspace to example pipeline. Fixes #458274.
4875 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4877 * docs/random/release:
4878 The release manager should run 'make download-po' before making a
4879 release to make sure translations are up-to-date.
4885 Add some new translations.
4887 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4889 * tools/gst-launch.c: (event_loop), (main):
4890 Don´t try to do any state management when a live pipeline posts
4892 Also make the buffering string translatable.
4894 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4896 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4897 (bin_handle_async_start), (gst_bin_handle_message_func):
4899 When adding elements, insert messages into the bus of the newly added
4900 element and make sure the element is the source of the message. This
4901 allows the parent bin to intercept the message and do the
4902 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4903 messages to the app (which is not allowed).
4906 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4907 Fix testsuite so that is does not work around messages that should not
4908 have been posted in the first place.
4910 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4912 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4913 (update_degree), (gst_bin_sort_iterator_next):
4914 Fix annoying bug in the sorted iterator where a sink that is not really
4915 a sink (when it has downstream links) screwed up the iterator.
4917 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4918 Unit test to verify the fix.
4920 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4923 Add some more docs for the messages.
4925 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4926 (gst_base_sink_query):
4927 Add some more debugging.
4929 * tools/gst-launch.c: (event_loop):
4930 When interrupting, don't try to set pipeline to PAUSED twice.
4932 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4935 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4936 (bin_handle_async_start), (gst_bin_handle_message_func):
4937 Move ASYNC_START message posting to where it belongs, similar to
4939 Don't post ASYNC_START when we are in error.
4940 Post ASYNC_START when we added an async element to a bin.
4942 2007-08-14 Julien MOUTTE <julien@moutte.net>
4944 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4945 generation from vargs. Fixes #466595.
4947 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4949 * gst/gstbin.c: (gst_bin_element_set_state):
4950 Always change the state of a NO_PREROLL element even if it has ASYNC
4951 elements inside (in case of a bin).
4953 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4954 Unit test for this case.
4956 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4958 * libs/gst/check/gstbufferstraw.c:
4959 * libs/gst/check/gstcheck.h:
4960 * libs/gst/controller/gstcontroller.c:
4961 * libs/gst/controller/gstcontrolsource.h:
4962 * libs/gst/controller/gstlfocontrolsource.h:
4963 * plugins/elements/gstcapsfilter.h:
4964 * plugins/elements/gstfdsink.h:
4965 * plugins/elements/gstfdsrc.h:
4966 Add more missing docs.
4968 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4970 * gst/gststructure.c:
4971 Add Since tag to docs.
4973 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4975 * docs/gst/gstreamer-sections.txt:
4976 * gst/gststructure.c: (gst_structure_get_uint):
4977 * gst/gststructure.h:
4978 Add function to get uint from a structure.
4979 API: gst_structure_get_uint()
4981 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4983 * gst/gstcaps.c: (gst_caps_set_simple_valist),
4984 (gst_caps_intersect):
4985 Fix proper check for simple caps.
4987 2007-08-10 Stefan Kost <ensonic@users.sf.net>
4989 * docs/gst/Makefile.am:
4990 * docs/libs/Makefile.am:
4991 Remove cruft and do some cleanups.
4993 * docs/gst/gstreamer-docs.sgml:
4994 * docs/libs/gstreamer-libs-docs.sgml:
4995 Prepare for comming gtkdoc features (rebase against online docs).
4997 2007-08-10 Michael Smith <msmith@fluendo.com>
4999 * docs/gst/gstreamer-sections.txt:
5000 Add gst_registry_add_path to docs.
5002 2007-08-10 Michael Smith <msmith@fluendo.com>
5004 * gst/gstregistry.h:
5005 Add gst_registry_add_path, which was missing from this header.
5007 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5009 * libs/gst/controller/gstlfocontrolsource.c:
5012 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5014 * libs/gst/base/gstbasesink.c:
5015 Don't send an async_start message during downwards state change if
5016 target state is less than READY
5018 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5020 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5024 Added Hungarian translation.
5026 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5033 Updated translations.
5035 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5037 * libs/gst/controller/Makefile.am:
5038 Dist gstlfocontrolsourceprivate.h
5040 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5042 * docs/libs/gstreamer-libs.types:
5043 Don't register the enum type gst_lfo_waveform_get_type() in the
5044 .types file - only GObject derived types belong.
5046 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5048 Patch by: <arenevier at fdn dot fr>
5051 Remove comma from last element in enum to avoid compile errors when
5052 using -pendantic. Fixes #464366.
5054 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5056 * docs/design/part-TODO.txt:
5057 Add some more TODO items
5059 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5062 * gst/gstcaps.c: (gst_caps_intersect):
5063 Optimize trivial intersection case between identical caps pointers.
5065 * gst/gstelement.c: (gst_element_continue_state),
5066 (gst_element_set_state_func):
5068 Fix spelling and grammar mistakes.
5070 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5074 Update POTFILES. Fixes #461599.
5076 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5079 Fix confusing typo in debug output.
5081 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5083 reviewed by: Stefan Kost <ensonic@users.sf.net>
5085 * libs/gst/controller/Makefile.am:
5086 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5087 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5088 (gst_lfo_control_source_new),
5089 (gst_lfo_control_source_set_waveform),
5090 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5091 (gst_lfo_control_source_finalize),
5092 (gst_lfo_control_source_dispose),
5093 (gst_lfo_control_source_set_property),
5094 (gst_lfo_control_source_get_property),
5095 (gst_lfo_control_source_class_init):
5096 * libs/gst/controller/gstlfocontrolsource.h:
5097 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5098 API: Add GstLFOControlSource, a control source that gives values
5099 for specific timestamps based on several periodic waveforms.
5102 * tests/check/libs/controller.c: (GST_START_TEST),
5103 (gst_controller_suite):
5104 * docs/libs/gstreamer-libs-docs.sgml:
5105 * docs/libs/gstreamer-libs-sections.txt:
5106 * docs/libs/gstreamer-libs.types:
5107 Add documentation and unit tests for GstLFOControlSource.
5109 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5114 === release 0.10.14 ===
5116 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5119 releasing 0.10.14, "Breathing Vacuum"
5121 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5123 * gst/gstelement.c: (gst_element_class_set_details_simple):
5125 Make strings passed to gst_element_class_set_details_simple()
5126 constant, as they should be (#462752).
5128 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5130 * gst/gstbin.c: (gst_bin_change_state_func),
5131 (bin_handle_async_done), (gst_bin_handle_message_func):
5132 Don't forget about the fact that some element went ASYNC even after a
5133 resync. This makes us post the ASYNC_DONE message correctly.
5136 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5138 * gst/gstregistry.c: (gst_registry_add_feature):
5139 When replacing an existing feature in the registry, make sure to
5140 continue holding a reference until we've replaced the name string
5141 within our feature hash table. Make sure to use g_hash_table_replace
5142 instead of g_hash_table_insert to ensure the new name string is used
5143 as a key instead of the old one that we're about to free.
5146 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5148 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5149 (gst_plugin_feature_set_name):
5150 Revert patch from #459466 until after the release and we can work
5151 out exactly what the problem is (if any).
5153 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5155 * docs/gst/gstreamer-sections.txt:
5158 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5160 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5162 * docs/libs/Makefile.am:
5163 Include our build-prefix libs and includes before the generic ones to
5164 avoid linking against the installed libs when we want the build-tree
5167 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5169 Patch by: Steve Fink <sphink gmail com>
5171 * docs/pwg/building-testapp.xml:
5172 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5173 if people try to build or install the example from the plugin
5174 template against a GStreamer from package using the configure
5177 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5179 Patch by: Steve Fink <sphink gmail com>
5181 * tools/gst-inspect.1.in:
5182 Document --print-all and --print-plugin-auto-install-info command
5183 line options in man page.
5185 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5187 * docs/gst/gstreamer-sections.txt:
5188 Add docs for new api function.
5190 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5192 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5193 * gst/gstelementfactory.h:
5194 API: gst_element_factory_has_interface()
5195 Added method to check if an element factory implements a named
5198 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5201 * docs/gst/gstreamer.types.in:
5202 Another conditional doc check.
5205 * gst/gstparamspecs.h:
5206 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5211 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5213 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5214 (gst_registry_binary_load_feature),
5215 (gst_registry_binary_load_plugin),
5216 (gst_registry_binary_read_cache):
5217 Print error just once and with additional info.
5219 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5221 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5222 (helper_find_suggest), (helper_find_get_length),
5223 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5224 (gst_type_find_helper_for_buffer):
5225 Cleanup the typefindhelper code and add private doc comments.
5227 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5229 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5230 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5231 Fix capsfilter for cases where the caps set on capsfilter will provide
5232 additional information.
5235 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5237 * gst/gsttypefindfactory.c:
5238 Fix docs that recommened wrong function to use.
5240 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5242 * tools/gst-inspect.c: (print_plugin_features):
5243 Also give media-type for typefinders in element output.
5245 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5247 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5248 (gst_registry_remove_features_for_plugin_unlocked),
5249 (gst_registry_add_feature), (gst_registry_remove_feature),
5250 (gst_registry_lookup_feature_locked):
5251 * gst/gstregistry.h:
5252 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5255 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5257 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5258 (gst_plugin_feature_set_name):
5259 Avoid double memory usage for pluginfeature names. Fixes #459466.
5261 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5264 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5265 driving the pipeline may need to explicitly check for NOT_LINKED as
5266 well, since IS_FATAL doesn't cover that.
5268 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5270 * docs/pwg/advanced-types.xml:
5271 Fix typo and duplicate entry in video formats list.
5273 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5275 * libs/gst/controller/gstinterpolation.c:
5276 Also round to the nearest int when using cubic interpolation.
5278 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5280 * libs/gst/controller/gstinterpolation.c:
5281 When linearly interpolating integer types, round to the nearest int
5282 by adding 0.5. Don't do it for float/double types.
5283 Fixes the failing controller test on my machine, which is somehow
5284 rounding differently than on the buildbots.
5286 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5288 * tools/gst-plot-timeline.py:
5289 Better log parsing (categories can have -). Adjust text vs. lines, so
5290 that they span the same y-range.
5292 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5294 * docs/random/ensonic/audiobaseclasses.txt:
5295 * docs/random/ensonic/dynlink.txt:
5296 * docs/random/ensonic/profiling.txt:
5299 * docs/random/moving-plugins:
5300 Add note to use g_assert type macros.
5302 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5305 * libs/gst/check/Makefile.am:
5306 Add libm check as we use in for plugins.
5308 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5310 * gst/gstbin.c: (gst_bin_continue_func):
5311 Check that the state_cookie hasn't changed since the continue_func
5312 was scheduled. Avoids problems where the state changes back to
5313 something it shouldn't be because it was changed in the meantime.
5315 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5317 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5318 (gst_registry_binary_save_string),
5319 (gst_registry_binary_save_pad_template),
5320 (gst_registry_binary_save_feature),
5321 (gst_registry_binary_save_plugin),
5322 (gst_registry_binary_load_feature),
5323 (gst_registry_binary_load_plugin),
5324 (gst_registry_binary_read_cache):
5325 Fix memory leak. Be less verbose in the log.
5327 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5329 * tests/check/elements/.cvsignore:
5330 Add file to cvsignore as commanded.
5332 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5334 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5335 (mq_dummypad_event), (run_output_order_test):
5336 Use a GStaticMutex to protect all cases where libcheck
5337 fail_if/fail_unless macros might be called from multiple threads
5338 simultaneously to avoid errors like:
5339 "check_pack.c:107: :-1081725400:Bad message type arg"
5341 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5343 * tests/check/pipelines/stress.c: (GST_START_TEST):
5344 Make sure we set the pipeline back to the NULL state before
5345 dropping our final reference.
5347 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5349 * tests/check/elements/tee.c: (GST_START_TEST):
5350 Make the tee stress-test a little less stressful so it doesn't just
5351 time out on slow-machines, and remove a small race when it's starting
5352 up by adding a get_state() call.
5354 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5357 Avoid reading registry twice on startup. Fixes #457322.
5359 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5361 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5362 * pkgconfig/gstreamer-check.pc.in:
5363 Substitute the CFLAGS for libcheck into our .pc file too so that
5364 dependent modules will pick it up properly if libcheck is installed
5365 into some other prefix.
5367 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5370 Revert the pkg-config check for libcheck, since it pulls in the
5371 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5372 a proper solution, either from the check project, or something else.
5374 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5377 Use pkg-config to locate check.
5379 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5386 Add deprecation guards.
5388 * libs/gst/base/gstcollectpads.h:
5389 Don't document object (this is implicitly private).
5391 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5393 * gst/gststructure.c: (gst_structure_parse_value):
5394 When deserialising foo=bar without a type cast, check if it's a
5395 boolean before falling back to a string type, otherwise things like
5396 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5397 because the filtercaps end up having a signed=(string)true field,
5398 which causes problems later when intersection caps.
5400 * tests/check/gst/gststructure.c: (GST_START_TEST):
5401 Add a unit test for this.
5403 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5405 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5407 * libs/gst/controller/Makefile.am:
5408 * libs/gst/controller/gstcontroller.c:
5409 (gst_controlled_property_add_interpolation_control_source),
5410 (gst_controlled_property_new), (gst_controlled_property_free),
5411 (gst_controller_find_controlled_property),
5412 (gst_controller_new_valist), (gst_controller_new_list),
5413 (gst_controller_new), (gst_controller_remove_properties_valist),
5414 (gst_controller_remove_properties_list),
5415 (gst_controller_remove_properties),
5416 (gst_controller_set_property_disabled),
5417 (gst_controller_set_disabled), (gst_controller_set_control_source),
5418 (gst_controller_get_control_source), (gst_controller_get),
5419 (gst_controller_sync_values), (gst_controller_get_value_array),
5420 (_gst_controller_dispose), (gst_controller_get_type),
5421 (gst_controlled_property_set_interpolation_mode),
5422 (gst_controller_set), (gst_controller_set_from_list),
5423 (gst_controller_unset), (gst_controller_unset_all),
5424 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5425 * libs/gst/controller/gstcontroller.h:
5426 * libs/gst/controller/gstcontrollerprivate.h:
5427 * libs/gst/controller/gstcontrolsource.c:
5428 (gst_control_source_class_init), (gst_control_source_init),
5429 (gst_control_source_get_value),
5430 (gst_control_source_get_value_array), (gst_control_source_bind):
5431 * libs/gst/controller/gstcontrolsource.h:
5432 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5433 (gst_object_get_control_source):
5434 * libs/gst/controller/gstinterpolation.c:
5435 (gst_interpolation_control_source_find_control_point_node),
5436 (gst_interpolation_control_source_get_first_value),
5437 (_interpolate_none_get), (interpolate_none_get),
5438 (interpolate_none_get_boolean_value_array),
5439 (interpolate_none_get_enum_value_array),
5440 (interpolate_none_get_string_value_array),
5441 (_interpolate_trigger_get), (interpolate_trigger_get),
5442 (interpolate_trigger_get_boolean_value_array),
5443 (interpolate_trigger_get_enum_value_array),
5444 (interpolate_trigger_get_string_value_array):
5445 * libs/gst/controller/gstinterpolationcontrolsource.c:
5446 (gst_control_point_free), (gst_interpolation_control_source_reset),
5447 (gst_interpolation_control_source_new),
5448 (gst_interpolation_control_source_set_interpolation_mode),
5449 (gst_interpolation_control_source_bind),
5450 (gst_control_point_compare), (gst_control_point_find),
5451 (gst_interpolation_control_source_set_internal),
5452 (gst_interpolation_control_source_set),
5453 (gst_interpolation_control_source_set_from_list),
5454 (gst_interpolation_control_source_unset),
5455 (gst_interpolation_control_source_unset_all),
5456 (gst_interpolation_control_source_get_all),
5457 (gst_interpolation_control_source_get_count),
5458 (gst_interpolation_control_source_init),
5459 (gst_interpolation_control_source_finalize),
5460 (gst_interpolation_control_source_dispose),
5461 (gst_interpolation_control_source_class_init):
5462 * libs/gst/controller/gstinterpolationcontrolsource.h:
5463 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5464 API: Refactor GstController into the core controller which can take
5465 a GstControlSource for providing actual values for timestamps.
5466 Implement a interpolation control source and use this for backward
5467 compatibility, deprecate a bunch of functions that are now handled
5468 by GstControlSource or GstInterpolationControlSource.
5469 Make it possible to disable the controller completely or only for
5470 specific properties. Fixes #450711.
5471 * docs/libs/gstreamer-libs-docs.sgml:
5472 * docs/libs/gstreamer-libs-sections.txt:
5473 * docs/libs/gstreamer-libs.types:
5474 Add new functions and classes to the docs.
5475 * tests/check/libs/controller.c: (GST_START_TEST),
5476 (gst_controller_suite):
5477 * tests/examples/controller/audio-example.c: (main):
5478 Port unit test and example to the new API and add some new
5481 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5483 Patch by: Mark Nauwelaerts <manauw at skynet be>
5485 * plugins/elements/gstmultiqueue.c:
5486 (gst_multi_queue_get_internal_links), (apply_buffer),
5487 (single_queue_overrun_cb), (gst_single_queue_new):
5488 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5489 the pipeline layout can be tracked correctly. Fixes #453732.
5491 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5493 * docs/gst/Makefile.am:
5494 * docs/libs/Makefile.am:
5495 * docs/plugins/Makefile.am:
5496 Simplify --extra-dir as gtkdoc scans recursively.
5498 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5500 * tools/gst-launch.c: (main):
5501 When we got an error, there is no point in waiting for preroll when
5504 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5506 * plugins/elements/gsttee.c: (gst_tee_base_init),
5507 (gst_tee_request_new_pad), (gst_tee_release_pad),
5508 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5509 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5511 Be a lot smarter when deciding what srcpad to use for proxying
5512 the buffer_alloc. Also handle pad added/removed when doing so.
5514 Keep track of what pads we already pushed on in case we have pads
5515 added/removed while pushing. Fixes #374639
5517 * tests/check/Makefile.am:
5518 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5520 Added unit test for pad resync.
5522 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5526 Updated translations.
5528 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5530 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5534 Added new Finnish translation.
5536 2007-06-28 Wim Taymans <wim@fluendo.com>
5538 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5539 (single_queue_overrun_cb):
5540 When figuring out when a queue is filled, use our internal time estimate
5541 based on segments, just like check_full does.
5543 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5545 * gst/gstminiobject.c: (gst_mini_object_get_type):
5546 Remove 3 do-nothing methods.
5548 2007-06-27 Wim Taymans <wim@fluendo.com>
5550 Patch by: Tim Angus <tim at ngus dot net>
5552 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5553 (gst_capsfilter_set_property):
5554 Take a reference instead of a copy when setting "caps".
5555 Fix documentation to clarify this behaviour. Fixes #449414.
5557 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5559 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5560 * gst/gstplugin.c: (gst_plugin_init):
5561 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5562 * gst/gstquery.c: (gst_query_get_type):
5563 * gst/gstregistry.c: (gst_registry_init):
5564 * gst/gsturi.c: (gst_uri_handler_base_init):
5565 Remove empty instance_init() functions to save relocs and lessen the
5566 noise. Remove some of the function prototypes that are doubled by
5569 2007-06-27 Wim Taymans <wim@fluendo.com>
5571 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5573 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5574 Add peer and direction in the XML serialisation of ghostpads.
5577 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5580 Preserve useful information, thanks Tim.
5582 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5584 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5585 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5586 (gst_single_queue_push_one), (gst_multi_queue_loop),
5587 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5588 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5589 (compute_high_id), (gst_single_queue_new):
5590 * plugins/elements/gstmultiqueue.h:
5591 Take the multiqueue lock when updating the fill level so we don't get
5594 After applying a buffer or event on the src pad segment, make sure to
5595 call gst_data_queue_limits_changed() to get the data queue to unblock
5596 and check the filled state again.
5598 Rework the not-linked pad handling so the logic is that not-linked
5599 pads can push as fast as they like, but only so they never get
5600 ahead of any linked pads.
5602 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5603 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5604 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5606 Add a test to check that not-linked pads always stay behind
5611 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5613 * docs/random/release:
5614 Some updates to the release procedure.
5616 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5618 * gst/gstelementfactory.c: (__gst_element_details_clear):
5619 Microoptimization that saves stunning 80 bytes.
5621 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5623 * docs/plugins/gstreamer-plugins.args:
5624 * docs/plugins/inspect/plugin-coreelements.xml:
5625 * docs/plugins/inspect/plugin-coreindexers.xml:
5626 Update docs with caps info.
5628 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5631 Updated Italian translation.
5633 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5637 Update Vietnamese translations.
5639 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5641 * libs/gst/base/gstbasesink.c:
5642 Remove unused signal enum.
5644 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5646 * docs/gst/gstreamer-sections.txt:
5648 * gst/gstutils.c: (gst_type_register_static_full):
5649 Beef up and include the docs for gst_type_register_static_full and
5650 gst_element_class_set_details_simple and add the API keyword
5653 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5655 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5656 (update_time_level), (gst_single_queue_push_one),
5657 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5658 (single_queue_overrun_cb), (single_queue_underrun_cb),
5659 (single_queue_check_full):
5660 Fix setting max-* properties after adding queues.
5661 Use IS_FILLED for checking visible items.
5662 Signal overrun if multiple queues overrun.
5663 Add extra debug output.
5664 Patch by: Wim Taymans <wim@fluendo.com>
5666 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5668 * gst/gstelement.c: (gst_element_class_set_details_simple):
5670 * gst/gstutils.c: (gst_type_register_static_full):
5672 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5673 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5674 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5675 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5676 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5677 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5678 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5679 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5680 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5681 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5682 (apply_buffer), (gst_queue_chain):
5683 * plugins/elements/gsttee.c: (gst_tee_base_init):
5684 * plugins/elements/gsttypefindelement.c:
5685 (gst_type_find_element_base_init),
5686 (gst_type_find_element_class_init):
5687 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5688 API: add gst_type_register_static_full
5689 API: add gst_element_class_set_details_simple
5691 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5693 * docs/pwg/advanced-types.xml:
5694 Fix typo in iana.org URI.
5696 2007-06-19 Andy Wingo <wingo@pobox.com>
5698 * tests/check/pipelines/simple-launch-lines.c
5699 (test_state_change_returns): Enable pull-mode tests now that
5700 basesink has been fixed.
5702 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5703 Changed from gst_base_sink_is_prerolled, reversing the sense of
5704 the return value. Returns FALSE also if the sink is in pull mode,
5705 in which case it needs no preroll.
5706 (gst_base_sink_query, gst_base_sink_change_state): Update for
5707 needs_preroll change.
5708 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5709 chaining up, in which we return SUCCESS directly if we activated
5710 in pull mode instead of ASYNC. Involves countering an async_start
5711 message sent before chaining up; not sure if this is correct, in
5712 an ideal world we only send async-start when activating in push
5715 * tests/check/pipelines/simple-launch-lines.c
5716 (test_state_change_returns): New test, partially disabled until
5719 2007-06-19 Wim Taymans <wim@fluendo.com>
5721 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5722 (gst_multi_queue_sink_event):
5725 2007-06-19 Wim Taymans <wim@fluendo.com>
5727 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5728 (gst_bin_change_state_func), (bin_push_state_continue),
5729 (bin_handle_async_start), (bin_handle_async_done),
5730 (gst_bin_handle_message_func):
5731 Move the common code for posting state-change messages into
5733 Broadcast the state signal after we posted the messages.
5734 Mark the bin as busy when it's doing a state-change.
5735 Make sure async-start/done messages don't interfere with the bin's
5736 state when it's busy.
5737 After the state change, let the bin check which elements completed the
5738 state change while it was busy so that it can update its state.
5740 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5742 * docs/random/release:
5743 Add a note about updating the doap file to the release checklist
5745 2007-06-18 Wim Taymans <wim@fluendo.com>
5747 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5748 (gst_single_queue_push_one), (gst_multi_queue_chain),
5749 (gst_multi_queue_sink_event):
5750 Make sure we don't reference the buffer/event after we have given away
5751 ownership in the queue.
5753 2007-06-18 Wim Taymans <wim@fluendo.com>
5755 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5756 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5757 Update queue state _after_ adding the item in the queue because else we
5758 could end up being full without the element added yet.
5760 2007-06-18 Wim Taymans <wim@fluendo.com>
5762 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5763 (gst_bin_remove_func), (gst_bin_get_state_func),
5764 (gst_bin_element_set_state), (gst_bin_continue_func),
5765 (bin_push_state_continue), (bin_handle_async_start),
5766 (bin_handle_async_done), (gst_bin_handle_message_func):
5768 Immediatly commit the toplevel bin state when receiving an async-done
5769 message. This enables us to avoid spawning a thread to commit the state
5770 in some common cases and it also avoids some races.
5771 Avoid spawning a state thread when adding/removing async elements to a
5772 toplevel bin. Instead we immediatly update the bin state.
5773 Get rid of iterating all the children when getting the state in the bin
5774 because it is now always up-to-date.
5775 Fix bug where locked elements would always return _SUCCESS even it they
5776 returned NO_PREROLL before being locked.
5777 Fix the order of the state_change, async-start/done messages that was
5778 sometimes incorrect.
5779 Mark the state_dirty field as deprecated, we don't need it anymore as we
5780 are always up-to-date.
5782 * gst/gstelement.c: (gst_element_get_state_func),
5783 (gst_element_continue_state):
5784 Small debug inprovements.
5785 Return the previous element state return when nothing is pending instead
5786 of blindly returning SUCCESS.
5788 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5790 Add a whole bunch of new testcases.
5792 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5796 Update translations.
5798 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5801 Fix typo in the docs.
5803 2007-06-15 Wim Taymans <wim@fluendo.com>
5805 * docs/libs/gstreamer-libs-sections.txt:
5806 Add docs for new methods.
5808 2007-06-15 Wim Taymans <wim@fluendo.com>
5810 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5811 (gst_multi_queue_item_new):
5812 Don't use GSlice because we don't depend on >= 2.10 yet.
5814 2007-06-15 Wim Taymans <wim@fluendo.com>
5816 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5817 (update_time_level), (apply_segment), (apply_buffer),
5818 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5819 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5820 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5821 (single_queue_underrun_cb), (single_queue_check_full):
5822 Remove debug printf.
5824 2007-06-15 Wim Taymans <wim@fluendo.com>
5826 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5827 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5828 (gst_data_queue_set_flushing), (gst_data_queue_push),
5829 (gst_data_queue_pop), (gst_data_queue_drop_head),
5830 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5831 * libs/gst/base/gstdataqueue.h:
5833 Added methods to get the current levels and to inform the queue that the
5834 'full' limits changed.
5836 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5837 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5838 (gst_single_queue_flush), (update_time_level), (apply_segment),
5839 (apply_buffer), (gst_single_queue_push_one),
5840 (gst_multi_queue_item_steal_object),
5841 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5842 (gst_multi_queue_loop), (gst_multi_queue_chain),
5843 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5844 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5845 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5846 (single_queue_underrun_cb), (single_queue_check_full),
5847 (gst_single_queue_new):
5848 Keep track of time in the queue by measuring the difference between
5849 running_time on input and output. This gives more accurate results and
5850 can compensate for segments correctly.
5851 Make a queue by default only 5 buffers deep. We will now increase the
5852 buffer size depending on the filledness of the other queues.
5853 Factor out commong flush code.
5854 Make sure we don't add additional refcounts to buffers when we can avoid
5856 Propagate GstFlowReturn differently.
5857 Use GSlice for intermediate GstMultiQueueItems.
5859 Resize queues on over and underruns based on filled level of other
5861 When checking if the queue is filled, prefer to measure in time if we
5862 can and fall back to bytes when no time is known.
5864 * plugins/elements/gstqueue.c:
5867 2007-06-15 Wim Taymans <wim@fluendo.com>
5869 * libs/gst/base/gstbasetransform.c:
5870 (gst_base_transform_sink_event):
5871 Work around the brokenness of the event vmethod in basetransform. Prefer
5872 to return TRUE when the subclass returned FALSE (meaning don't forward
5875 * libs/gst/base/gstbasetransform.h:
5878 2007-06-15 Wim Taymans <wim@fluendo.com>
5880 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5881 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5882 (gst_base_src_default_query), (gst_base_src_get_range),
5883 (gst_base_src_start):
5884 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5887 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5889 * docs/pwg/advanced-types.xml:
5890 Added more formats to caps table.
5892 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5894 * tools/gst-launch.c: (main):
5895 Remove crufy code. GOption does not need this workaround.
5897 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5899 * libs/gst/controller/gstcontroller.c:
5900 (gst_controlled_property_set_interpolation_mode):
5901 Fix wrong getter for enums in controller.
5903 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5905 * libs/gst/check/gstcheck.c: (gst_check_init):
5906 Intercept criticals and warnings in the Gst-Phonon log domain, so
5907 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5910 2007-06-14 Edward Hervey <edward@fluendo.com>
5912 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5913 Since this file doesn't include "gst.h" it will not go through the
5914 macros that disable GST_LOG if debugging was disabled.
5916 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5918 * libs/gst/check/Makefile.am:
5919 * libs/gst/check/gstcheck.h:
5920 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5921 * pkgconfig/gstreamer-check.pc.in:
5922 Ugly 'fix' for the controller unit test on the p5 bot: in
5923 fail_unless_equals_float() check whether the values are 'almost
5924 equal' by allowing a small absolute error, which should be good
5925 enough for our use cases (normal numbers and values close to 0).
5926 Proper fixage left to floating point arithmetic aficionados.
5928 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5930 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5931 (gst_base_sink_render_object), (gst_base_sink_get_position):
5932 Add two breaks thats where missing.
5934 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5936 * docs/libs/gstreamer-libs-sections.txt:
5937 * libs/gst/check/gstcheck.h:
5938 API: add fail_unless_equals_float() and assert_equals_float().
5939 Add documentation for some of the macros.
5941 * tests/check/libs/controller.c: (GST_START_TEST):
5942 Use newly-added asserts.
5944 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5946 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5947 Show the caps change in the log to help spotting the case of not
5948 exactly matching caps.
5950 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5952 * docs/pwg/building-boiler.xml:
5953 Fix typos, spotted by Thijs Vermeir (#447190).
5955 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5957 * docs/plugins/tmpl/.cvsignore:
5958 Ignore file to keep the buildbots happy
5960 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5962 * docs/plugins/Makefile.am:
5963 * docs/plugins/gstreamer-plugins-docs.sgml:
5964 * docs/plugins/gstreamer-plugins-sections.txt:
5965 Pull fdsink into the docs too.
5967 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5969 * libs/gst/controller/gstinterpolation.c:
5970 Actually use the new functions with min/max checks for the trigger and
5971 none interpolation modes for get() and get_value_array() instead of
5974 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5976 * libs/gst/controller/gstcontroller.c:
5977 (gst_controlled_property_free):
5978 Unset the minimum and maximum GValues when freeing the corresponding
5979 GstControllerProperty struct.
5981 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
5983 * libs/gst/controller/gstcontroller.c:
5984 (gst_controlled_property_new):
5985 * libs/gst/controller/gstcontrollerprivate.h:
5986 * libs/gst/controller/gstinterpolation.c:
5987 (gst_controlled_property_find_control_point_node),
5988 (interpolate_none_get), (interpolate_none_get_enum_value_array),
5989 (interpolate_none_get_string_value_array),
5990 (interpolate_trigger_get),
5991 (interpolate_trigger_get_enum_value_array),
5992 (interpolate_trigger_get_string_value_array):
5993 Protect against values larger or smaller than the minimum or maximum
5994 allowed value for the property when using values that can be compared.
5996 Optimize trigger interpolator a bit by taking the last requested value
5997 into account instead of always looping through the complete list.
5999 Fix coding style a bit, everywhere else we use "return foo" instead
6002 * tests/check/libs/controller.c: (GST_START_TEST),
6003 (gst_controller_suite):
6004 Add unit test for the protection against too large or too small
6007 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6009 * docs/random/slomo/controller.txt:
6010 Add some thoughts about the future of the controller.
6012 2007-06-08 Wim Taymans <wim@fluendo.com>
6014 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6015 Don't overflow in retimestamping code.
6017 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6019 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6020 Use gst_util_guint64_to_gdouble for conversions.
6021 * win32/common/libgstreamer.def:
6022 Add new exported functions.
6024 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6027 Small docs addition.
6029 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6032 Remove that test line again.
6034 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6037 Test commit mail sending.
6039 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6042 Fix typo and test commit mail sending.
6044 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6046 * tests/examples/controller/audio-example.c:
6047 Improve comment and test commit mail sending.
6049 2007-06-07 Wim Taymans <wim@fluendo.com>
6051 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6052 (gst_bin_remove_func), (gst_bin_element_set_state),
6053 (bin_handle_async_start), (bin_handle_async_done),
6054 (gst_bin_handle_message_func):
6055 Add helper function to find messages.
6056 Generate the async-done messages together with the state change
6058 Small cleanups in handling toplevel bins.
6060 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6062 * libs/gst/base/gstdataqueue.c:
6063 * libs/gst/base/gstdataqueue.h:
6064 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6065 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6066 (gst_multi_queue_sink_event):
6067 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6068 Fix multiqueue leaking buffers and events when downstream or the
6069 queue are flushing. Make refcounting assumptions explicit and
6070 document them (shouldn't break existing code that uses it other than
6071 maybe leak miniobjects, but that already happens anyway). Add unit
6072 test for the most common flushing case. Fixes #423700.
6074 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6076 * libs/gst/controller/gstcontroller.c:
6077 Clarify docs: The get_all, get_value_array(s) functions
6078 don't modify the GObject properties.
6080 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6082 * libs/gst/controller/gstcontroller.c:
6083 (gst_controlled_property_set_interpolation_mode),
6084 (gst_controlled_property_prepend_default),
6085 (gst_controlled_property_new), (gst_controller_set_unlocked),
6086 (gst_controller_set), (gst_controller_set_from_list),
6087 (gst_controller_unset), (gst_controller_unset_all):
6088 * libs/gst/controller/gstcontrollerprivate.h:
6089 * libs/gst/controller/gstinterpolation.c:
6090 Factor out the 'set' logic into gst_controller_set_unlocked for the
6091 gst_controller_set and gst_controller_set_from_list functions.
6093 To make life of the interpolators easier always add a control point
6094 at timestamp zero with the default value.
6096 In the linear interpolator make things more obvious by better variable
6099 Implement cubic interpolation mode (by using a natural cubic spline)
6100 and map the quadratic interpolation mode to this too (as quadratic
6101 doesn't make much sense, see discussion on the list).
6103 * tests/check/libs/controller.c: (GST_START_TEST),
6104 (gst_controller_suite):
6105 Add unit test for the cubic interpolation mode and check everywhere
6106 if the interpolation mode could be set as expected.
6108 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6110 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6111 Don't use GLib-2.10 functions, we still depend on
6112 GLib-how-old-is-it-again-2.8.
6114 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6116 * docs/gst/gstreamer-sections.txt:
6120 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6121 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6122 (_gst_param_fraction_values_cmp),
6123 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6124 * gst/gstparamspecs.h:
6126 * tests/check/Makefile.am:
6127 * tests/check/gst/.cvsignore:
6128 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6129 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6130 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6131 (GST_START_TEST), (gst_param_spec_suite):
6132 API: add GstParamSpecFraction, so elements can have fraction
6133 properties without lots of painful string parsing (#444648).
6135 2007-06-05 Wim Taymans <wim@fluendo.com>
6137 * gst/gstobject.c: (gst_object_class_init):
6138 Fix signal signature.
6141 Add small clarification in the api docs.
6143 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6144 States are protected with object lock.
6146 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6149 I should probably be listed as an author by now.
6151 * docs/random/release:
6152 Update the release doc
6154 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6157 Make docs for gst_value_compare() mention return enums that
6160 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6165 === release 0.10.13 ===
6167 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6170 releasing 0.10.13, "With or without you"
6172 2007-05-25 Wim Taymans <wim@fluendo.com>
6174 * gst/gstbin.c: (bin_handle_async_done):
6175 Make sure that the child bin stops after completing the async state
6176 change so that the parent can continue the state change to PLAYING.
6179 2007-05-25 Wim Taymans <wim@fluendo.com>
6181 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6182 (unref_data), (gst_collect_pads_remove_pad),
6183 (gst_collect_pads_check_pads):
6184 Use additional refcounting to avoid crashes when dynamically adding and
6185 removing pads. Fixes #420206.
6187 2007-05-24 Wim Taymans <wim@fluendo.com>
6189 * tools/gst-launch.c: (event_loop):
6190 When buffering goes from a two digit to a single digit number, make sure
6191 to remove the old second digit by writing a blank over it.
6193 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6195 * libs/gst/base/gstdataqueue.c:
6196 Eliminate tabs and trailing comma in enum list; fix some typos.
6198 2007-05-24 Wim Taymans <wim@fluendo.com>
6200 * tests/check/gst/gstbin.c: (GST_START_TEST):
6201 Allow refcount of 3 and 4 because some state thread might still be busy
6204 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6206 * plugins/elements/Makefile.am:
6207 * plugins/elements/gstmultiqueue.h:
6208 * plugins/elements/gstqueue.h:
6209 These are not installed headers, no need for padding.
6211 2007-05-24 Wim Taymans <wim@fluendo.com>
6213 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6214 (gst_bin_continue_func):
6215 Enable latency for next release.
6216 Restore STATE_LOCK around recalc_state that was left out during the
6217 rewrite and could result in racy behaviour when _get_state and
6218 recalc_state are run concurrently. See #440463.
6220 2007-05-23 Wim Taymans <wim@fluendo.com>
6222 * tests/check/gst/gstsystemclock.c: (store_callback),
6224 Improve test_async_order to also work when both timers are already
6225 expired when we get scheduled to check it.
6227 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6229 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6230 (gst_bin_set_property), (gst_bin_get_property),
6231 (gst_bin_remove_func), (gst_bin_handle_message_func):
6233 'private' is a c++ keyword, let's not use that in header files,
6234 otherwise c++ compilers will throw a tantrum.
6236 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6238 * plugins/elements/gstelements.c:
6239 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6240 (gst_file_sink_get_current_offset):
6241 * plugins/indexers/gstindexers.c: (plugin_init):
6242 Use #ifdef for HAVE_XYZ for consistency.
6244 * tests/check/Makefile.am:
6245 * tests/check/elements/.cvsignore:
6246 * tests/check/elements/filesink.c: (setup_filesink),
6247 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6248 Add some unit tests for filesink.
6250 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6252 Patch by: Mark Nauwelaerts <manauw at skynet be>
6254 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6255 (gst_file_sink_query), (gst_file_sink_do_seek),
6256 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6257 * plugins/elements/gstfilesink.h:
6258 Fix position reporting; rename data_written member to current_pos to
6259 reflect its real meaning (fixes #412648).
6261 2007-05-22 Edward Hervey <edward@fluendo.com>
6263 * docs/gst/gstreamer-sections.txt:
6264 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6265 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6266 (gst_bin_remove_func), (gst_bin_handle_message_func):
6268 Add a property for bins that handle the state change of their childs.
6271 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6273 * libs/gst/controller/gstinterpolation.c:
6274 Use an array of the correct type when using _get_value_array with
6275 linear interpolation.
6277 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6279 * gst/gstelement.c (gst_element_requires_clock,
6280 gst_element_provides_clock, gst_element_request_pad,
6281 gst_element_class_set_details, gst_element_class_set_details_simple,
6282 gst_element_default_send_event, gst_element_abort_state,
6283 gst_element_continue_state, gst_element_set_state,
6284 gst_element_set_state_func, iterator_activate_fold_with_resync):
6285 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6286 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6287 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6288 gst_pad_get_range, gst_pad_pull_range):
6289 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6290 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6291 GstPadActivateModeFunction, GstPadChainFunction,
6292 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6293 GstPadFixateCapsFunction, GstPadTemplate):
6294 * gst/gstpipeline.c (gst_pipeline_change_state,
6295 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6296 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6297 gst_pipeline_get_delay):
6298 Whitespace and docs fixes.
6300 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6302 * libs/gst/controller/gstinterpolation.c:
6303 (interpolate_trigger_get_enum_value_array),
6304 (interpolate_trigger_get_string_value_array):
6305 Add support for retrieving value arrays when using the trigger
6308 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6310 * libs/gst/controller/gstcontroller.c:
6311 (gst_controller_get_value_array):
6312 * libs/gst/controller/gstcontroller.h:
6313 Clarify the docs of gst_controller_get_value_array(): The array where
6314 the values should be written to must be allocated as there seems to be
6315 no way to get the size of a random GType. This doesn't change any
6316 behaviour. Also fix some typos all over the place and remove an unused,
6317 commented function that is not necessary as g_object_set() could be
6319 * tests/check/libs/controller.c: (GST_START_TEST),
6320 (gst_controller_suite):
6321 Add unit test for gst_controller_get_value_array().
6323 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6325 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6327 Disable part of the gst_buffer_try_new_and_alloc test, because
6328 it can happily succeed on 64-bit systems where there's more address
6331 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6333 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6334 Add unit test for the improved caps checking from bug #421543.
6336 2007-05-21 Wim Taymans <wim@fluendo.com>
6338 * docs/design/part-synchronisation.txt:
6341 * gst/gstbin.c: (gst_bin_query):
6342 * plugins/elements/gstqueue.c: (apply_segment):
6348 2007-05-21 Wim Taymans <wim@fluendo.com>
6350 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6351 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6352 (gst_pad_configure_src):
6353 Added simple version of improved caps checking. It was previously
6354 assumed that a setcaps function would check the validity of the caps but
6355 people prefer us to check caps against the template automatically.
6358 2007-05-21 Wim Taymans <wim@fluendo.com>
6360 * libs/gst/base/gstbasetransform.h:
6361 Fix macro for locking/unlocking the transform lock.
6363 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6365 * docs/plugins/tmpl/.cvsignore:
6368 2007-05-18 Edward Hervey <edward@fluendo.com>
6370 * plugins/elements/gstqueue.c: (gst_queue_loop):
6371 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6372 for the subtle art of warning a potentially blocking thread that it
6373 should check the source pad return value, and relay the information
6376 2007-05-18 Edward Hervey <edward@fluendo.com>
6378 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6379 Release the queue lock !
6381 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6383 * docs/libs/gstreamer-libs-sections.txt:
6384 Add the two new controller functions to the appropiate places.
6386 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6388 reviewed by: Stefan Kost <ensonic@users.sf.net>
6390 * libs/gst/controller/gstcontroller.c:
6391 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6392 (_gst_controller_get_property), (_gst_controller_set_property),
6393 (_gst_controller_init), (_gst_controller_class_init):
6394 * libs/gst/controller/gstcontroller.h:
6395 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6396 (gst_object_get_control_rate), (gst_object_set_control_rate):
6397 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6398 Add API that provides sync suggestion timestamps for elements that
6399 call gst_object_sync_values() from which those elements can subdivide
6400 their processing loop to get the best results for the controlled
6401 properties. For now it just suggests last_sync + control_rate as
6402 new timestamp but this will be improved in the future.
6404 While doing that change the control-rate property to a GstClockTime
6405 from guint and change it's meaning from samples to nanoseconds as
6406 the GstController doesn't know anything about sampling rate. Strictly
6407 speaking this breaks ABI but as the control-rate property didn't do
6408 anything in the past and as such couldn't be used this should be no
6411 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6413 reviewed by: Stefan Kost <ensonic@users.sf.net>
6415 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6416 (gst_controller_unset_all):
6417 * libs/gst/controller/gstcontrollerprivate.h:
6418 * libs/gst/controller/gstinterpolation.c:
6419 (gst_controlled_property_find_control_point_node):
6420 Save last synced value from the list to continue searching from there
6421 in future syncs. This speeds everything up a bit.
6423 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6425 reviewed by: Stefan Kost <ensonic@users.sf.net>
6427 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6428 (gst_control_point_find), (gst_controlled_property_new),
6429 (gst_control_point_free), (gst_controlled_property_free),
6430 (gst_controller_set), (gst_controller_set_from_list),
6431 (gst_controller_unset), (gst_controller_unset_all),
6432 (gst_controller_sync_values):
6433 * libs/gst/controller/gstcontroller.h:
6434 * libs/gst/controller/gstcontrollerprivate.h:
6435 * libs/gst/controller/gstinterpolation.c:
6436 (gst_controlled_property_find_control_point_node),
6437 (interpolate_none_get), (interpolate_trigger_get):
6438 Add a new private GstControlPoint struct which "inherits" from
6439 GstTimedValue to allow different interpolators to store internal
6440 values next to each control point. From the outside everything is
6441 still a GstControlPoint so we don't loose binary compatibility.
6442 Also fixup all the GValue handling to not leak GValues or list nodes.
6443 * tests/check/libs/controller.c: (GST_START_TEST):
6444 Free the list nodes and GValues in the controller_misc test.
6446 2007-05-17 Edward Hervey <edward@fluendo.com>
6451 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6453 * gst/gstplugin.c: (gst_plugin_load_file):
6454 If we fail to load a plugin because of unresolved symbols or missing
6455 libraries and spew a warning to stderr, we may just as well mention
6456 which plugin it was that failed to load.
6458 2007-05-13 David Schleef <ds@schleef.org>
6460 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6461 handles the case when ENABLE_GTK_DOC is false, and installs
6462 the prebuilt documentation. So gtk-doc subdirs are
6463 unconditionally enabled. Fixes: #349099.
6465 2007-05-13 David Schleef <ds@schleef.org>
6467 * gst/gstutils.h: Reword some documentation.
6469 2007-05-12 David Schleef <ds@schleef.org>
6471 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6472 do anything with the passed "module" parameter, so remove it.
6473 Allows removal of additional vestigal code.
6475 2007-05-12 David Schleef <ds@schleef.org>
6478 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6479 Switch to using g_stat() because it's more portable.
6481 2007-05-12 David Schleef <ds@schleef.org>
6484 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6485 parsing for embedded systems.
6486 * gst/gstelementfactory.c:
6487 Allow gst_element_register() to be called with plugin==NULL.
6488 Did nobody notice that static elements were broken?
6490 2007-05-12 Wim Taymans <wim@fluendo.com>
6492 * tools/gst-launch.c: (event_loop):
6493 Give more interesting info when buffering starts and stops.
6494 Fix case where buffering starts but we fail to update the buffering flag
6495 because the target state is not PLAYING.
6497 2007-05-12 Wim Taymans <wim@fluendo.com>
6499 * plugins/elements/gstqueue.c: (gst_queue_init),
6500 (gst_queue_finalize), (update_time_level), (apply_segment),
6501 (apply_buffer), (gst_queue_locked_flush),
6502 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6503 (gst_queue_handle_sink_event), (gst_queue_chain),
6504 (gst_queue_push_one), (gst_queue_loop):
6505 * plugins/elements/gstqueue.h:
6506 Refactor an cleanup queue a bit.
6507 Do better time level calculations that also work when the srcpad is not
6509 Remove some unneeded debug lines.
6511 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6512 Added testcase for time level measurement.
6513 Try to make some stuff more racefree.
6515 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6517 * gst/gsturi.c: (gst_element_make_from_uri):
6518 Don't leak plugin feature.
6520 * tests/check/Makefile.am:
6521 * tests/check/gst/.cvsignore:
6522 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6523 Add brain-dead unit test.
6525 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6527 Patch by: Jeroen Wouters <woutersj at gmail com>
6529 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6530 Treat protocol strings in a case-insensitive way (#437563).
6532 2007-05-11 Michael Smith <msmith@fluendo.com>
6534 * gst/gstplugin.c: (gst_plugin_load_file):
6535 * gst/gstregistry.c: (gst_registry_scan_path_level):
6536 Don't print a g_warning for any failure to load a shared object.
6537 Instead, push this down into gstplugin.c, and warn _only_ if we
6538 failed to open the module (i.e. failure to link).
6539 Avoids warnings on normal, working, non-plugin .so files.
6541 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6543 * gst/gstplugin.c (gst_plugin_load_file):
6544 * gst/gstregistry.c (GST_CAT_DEFAULT,
6545 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6546 Print a g_warning if there was an error when loading a plugins during
6547 registry scan. The shuld help beginners starting with gst-plugin
6550 2007-05-10 Wim Taymans <wim@fluendo.com>
6552 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6553 (update_time_level), (gst_queue_locked_flush),
6554 (gst_queue_handle_sink_event), (gst_queue_chain),
6555 (gst_queue_push_one), (gst_queue_loop):
6556 * plugins/elements/gstqueue.h:
6557 Be smarter when calculating the current amount of data in the queue by
6558 measuring the difference between start and end timestamps (in running
6559 time) inside the queue. Fixes #432876.
6560 API: GstQueue::pushing to notify elements that we are pushing data again
6561 since the running signal is rather broken for this purpose.
6563 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6565 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6566 gst_queue_base_init, gst_queue_init):
6569 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6571 * win32/common/libgstreamer.def:
6572 Add new exported functions.
6573 * win32/vs6/grammar.dsp:
6574 Use grammar pre-generated files.
6576 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6578 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6581 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6583 * gst/gstutils.c: (gst_parse_bin_from_description):
6585 Maintain API and ABI when --disable-parse is used. Now that
6586 we have an appropriate error code, we can just return NULL and the
6587 appropriate error when gst_parse_launch() is used despite it having
6588 been disabled (#342564).
6590 * tests/check/Makefile.am:
6591 * tests/check/pipelines/.cvsignore:
6592 * tests/check/pipelines/parse-disabled.c:
6593 Make sure these functions exist and return NULL plus a GError when
6594 --disable-parse is used.
6596 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6598 * tests/benchmarks/complexity.c: (main):
6599 * tests/benchmarks/mass-elements.c: (main):
6600 Set a good example and don't leak messages.
6602 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6604 * docs/gst/Makefile.am:
6605 * docs/libs/Makefile.am:
6606 Correct fixxrefs options.
6608 * docs/plugins/Makefile.am:
6609 * docs/plugins/gstreamer-plugins-docs.sgml:
6610 * docs/plugins/gstreamer-plugins-sections.txt:
6611 * plugins/elements/Makefile.am:
6612 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6613 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6614 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6615 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6616 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6617 _GstCapsFilterClass, trans_class):
6618 * plugins/elements/gstelements.c (name, rank, type, _elements):
6619 * plugins/elements/gstidentity.c
6620 (gst_identity_check_imperfect_timestamp,
6621 gst_identity_check_imperfect_offset):
6622 Document capsfilter and add doc-blurb to identity.
6624 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6626 * libs/gst/controller/gstcontroller.c:
6627 (gst_controlled_property_set_interpolation_mode):
6628 * libs/gst/controller/gstinterpolation.c:
6629 Don't crash if someone tries to set an interpolation mode that
6630 is invalid or that isn't supported yet. Fixes #422295.
6632 * tests/check/libs/controller.c: (GST_START_TEST),
6633 (gst_controller_suite):
6634 Add a test case for the above.
6636 2007-05-03 Edward Hervey <edward@fluendo.com>
6638 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6639 Properly set the last_stop position on GstSegment. This will only happen
6640 if there is a buffer to push out.
6642 2007-05-03 Wim Taymans <wim@fluendo.com>
6644 * libs/gst/base/gstbasetransform.c:
6645 (gst_base_transform_buffer_alloc):
6646 always_in_place does not mean that the sink and source caps are the
6647 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6649 2007-05-03 Wim Taymans <wim@fluendo.com>
6651 * docs/libs/gstreamer-libs-sections.txt:
6652 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6653 (gst_base_src_default_query), (gst_base_src_get_range):
6654 * libs/gst/base/gstbasesrc.h:
6655 API: gst_base_src_query_latency(). Added method so that subclasses can
6656 easily get the latency values of the base source class.
6658 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6660 * tools/gst-inspect.c (print_implementation_info):
6663 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6665 * tools/Makefile.am:
6666 * tools/gst-launch.1.in:
6667 Don't create a customised man page based on the host architecture,
6668 describe the default registry path generically. That way the man
6669 page is the same for all architectures and packagers have one
6670 multilib issue less to deal with. Fixes #434926.
6672 2007-05-02 Wim Taymans <wim@fluendo.com>
6675 Fix documentation as spotted by rg on IRC.
6677 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6680 Improve docs for gst_element_{link,unlink}.
6682 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6684 * docs/design/part-events.txt:
6685 * docs/design/part-overview.txt:
6689 * libs/gst/base/gstbasesink.c:
6690 Typo fixes; minor docs addition.
6692 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6694 * docs/gst/gstreamer-sections.txt:
6695 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6696 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6698 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6699 or src that supports a given URI protocol exists.
6701 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6703 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6704 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6705 Set the location to NULL if "file://" is set as URI. Otherwise
6706 some random previous URI would still be set if "file://" is
6707 set on an already used filesink/filesrc.
6709 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6711 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6712 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6713 Special case the "file://" URI as as this is used by some
6714 applications to test with gst_element_make_from_uri if there's
6715 an element that supports the URI protocol.
6716 Also move the g_path_is_absolute() check for the location part
6717 of the URI to also check this for "file://localhost/bla" URIs.
6719 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6721 * docs/gst/gstreamer-sections.txt:
6722 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6724 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6726 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6728 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6730 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6731 (gst_registry_binary_load_pad_template),
6732 (gst_registry_binary_load_plugin),
6733 (gst_registry_binary_read_cache):
6734 * gst/gstregistrybinary.h:
6735 Implement no-mmap alternative for registry reading. Do code cleanups.
6736 Add more comments about avoiding strdups for all text data. Comments
6739 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6741 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6742 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6743 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6744 Comment structs and reformat to fix the build (that stuff should go
6745 into a priv. header).
6747 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6749 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6750 (gst_registry_binary_load_feature):
6751 * gst/gstregistrybinary.h:
6752 Refactor so that we can implement multiple features. Add support for
6753 TypeFindFactory features.
6755 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6757 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6760 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6762 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6764 * gst/gstbin.c: (gst_bin_element_set_state),
6765 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6766 (bin_handle_async_done), (gst_bin_handle_message_func):
6767 Fix build with --gst-disable-gst-debug
6769 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6771 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6772 Make sure streaming has finished before calling the ::stop() vfunc,
6773 since that vfunc might clear state which is being used in the
6774 streaming thread. This fixes a race that caused crashes in
6775 audioresample when shutting down a pipeline (#420106).
6777 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6779 * docs/gst/gstreamer-sections.txt:
6780 That was one byte missing.
6782 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6785 * docs/gst/gstreamer-sections.txt:
6787 * gst/gstconfig.h.in:
6788 * gst/gstobject.c: (gst_object_class_init),
6789 (gst_signal_object_class_init):
6791 2nd attempt to have a xml-less build as a joined effort of #413123
6794 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6796 * docs/design/draft-tagreading.txt:
6797 Added open issues/thoughts to draft.
6799 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6801 * gst/parse/grammar.tab.pre.c:
6802 * gst/parse/grammar.tab.pre.h:
6803 * gst/parse/lex._gst_parse_yy.pre.c:
6804 Update the prebuild parser sources.
6806 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6808 * gst/parse/Makefile.am:
6809 And now fix the building of the flex sources. Now everything should
6812 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6814 * gst/parse/Makefile.am:
6815 Now hopefully fix the build failures by setting proper rule
6816 dependencies and moving instead of copying.
6818 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6820 * tests/benchmarks/complexity.gnuplot:
6821 * tests/benchmarks/complexity.scm:
6822 * tests/benchmarks/mass-elements.gnuplot:
6823 * tests/benchmarks/mass-elements.scm:
6824 Total licensification.
6826 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6828 * gst/parse/Makefile.am:
6829 Fix the build by correcting the rule that gave wrong files to flex.
6831 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6833 * tests/benchmarks/complexity.c:
6834 * tests/benchmarks/mass-elements.c:
6835 Change licence to LGPL as granted by Benjamin and Andy.
6837 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6839 * gst/parse/Makefile.am:
6840 Add correct grammar.tab.h dependency if compiling without new enough
6841 flex. Fixes #431150.
6843 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6845 * gst/parse/Makefile.am:
6846 Fix typo and use outdated sources if the flex/bison sources are newer
6847 than the pregenerated ones but flex is too old. Print a warning in
6848 that case. This should fix the build on the build bot.
6850 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6852 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6853 * gst/parse/Makefile.am:
6854 * gst/parse/grammar.y:
6855 * gst/parse/parse.l:
6856 Make the parser reentrant and recursively callable. This requires flex
6857 >= 2.5.31, for older versions pregenerated sources are used as we
6858 can't bump the build dependency. Finally fixes #349180.
6860 * gst/gstparse.c: (gst_parse_launch):
6861 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6864 * docs/gst/Makefile.am:
6865 * docs/gst/Makefile.am:
6866 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6867 (__gst_parse_strfree), (__gst_parse_link_new),
6868 (__gst_parse_link_free), (__gst_parse_chain_new),
6869 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6870 (gst_parse_element_set), (gst_parse_free_link),
6871 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6872 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6873 (_gst_parse_launch):
6874 * gst/parse/grammar.tab.pre.h:
6875 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6876 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6877 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6878 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6879 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6880 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6881 (_gst_parse_yypop_buffer_state),
6882 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6883 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6884 (yy_fatal_error), (_gst_parse_yyget_extra),
6885 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6886 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6887 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6888 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6889 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6890 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6891 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6892 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6893 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6894 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6895 (_gst_parse_yyfree):
6896 If the installed flex version is too old use pre-generated parser
6897 sources. These pre-generated parser sources are always updated when
6898 the actual flex/bison sources change but require everybody who wants
6899 to change something in the parser to have flex >= 2.5.31 installed.
6901 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6903 * common/m4/gst-gettext.m4:
6904 * gst/gst-i18n-lib.h:
6905 Make --disable-nls to work
6907 2007-04-17 Wim Taymans <wim@fluendo.com>
6909 * gst/gstconfig.h.in:
6910 Revert previous change that broke the build.
6912 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6916 * gst/gstconfig.h.in:
6917 Drop libxml2 dependency when building with
6918 --enable-binary-registry --disable-loadsave
6920 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6922 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6923 (gst_registry_binary_read_cache):
6924 * gst/gstregistrybinary.h:
6925 Remove unnecessary <sys/mman.h> include which broke the win32 build
6926 with MingW; move includes from header file to .c file, even if the
6927 header file isn't installed; use g_strerror() where UTF-8 strings
6928 are expected, such as in GST_DEBUG messages.
6930 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6932 * docs/libs/gstreamer-libs-sections.txt:
6933 Remove bogus addition for API I didn't end up keeping.
6935 * libs/gst/base/gstbasesrc.h:
6936 Mention Since: 0.10.13 in the documentation.
6938 Add the API keyword to the previous ChangeLog entry.
6940 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6942 * docs/libs/gstreamer-libs-sections.txt:
6943 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6944 (gst_base_src_default_prepare_seek_segment),
6945 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6946 * libs/gst/base/gstbasesrc.h:
6947 Allow basesrc derived classes to execute seeks in other formats
6948 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6949 to prepare the GstSegment in any format that their perform_seek method
6950 will be able to understand. The default implementation provides the
6951 old behaviour of attempting to convert the seek offsets to the
6952 configured native format.
6954 API: basesrc::prepare_seek_segment vmethod.
6956 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6958 * gst/gstelement.c: (gst_element_get_state_func):
6959 Don't output the same debug statement twice.
6961 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6962 (gst_adapter_peek), (gst_adapter_take_buffer):
6963 Optimise the case where we have buffers at the head of the queue that
6964 can be joined quickly (because they're contiguous sub-buffers) by
6965 merging them together rather than copying data out into new memory.
6967 * gst/parse/grammar.y:
6968 * tests/check/pipelines/parse-launch.c:
6969 Fix a leak in an error path for parse_launch, and add a check
6970 for it to the testsuite.
6972 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6974 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6975 Don't deadlock when releasing a pad - gst_pad_set_active may try
6976 and take the multiqueue lock too.
6978 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
6980 * gst/gsterror.c: (_gst_core_errors_init):
6982 API: add GST_CORE_ERROR_DISABLED (#392804).
6984 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6986 * docs/faq/gst-uninstalled:
6987 don't get empty paths on the PATH variables
6988 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6989 Don't format for the uncommon terminal width of 84 characters.
6991 2007-04-06 Wim Taymans <wim@fluendo.com>
6993 * gst/gstpipeline.c: (reset_stream_time),
6994 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6995 Only try to select a different pipeline clock when we went back to
6996 PAUSED and not when we merely got flushed.
6998 2007-04-05 Michael Smith <msmith@fluendo.com>
7000 * tools/gst-launch.1.in:
7001 fractions are better supported in gstreamer than ractions, so
7002 suggest using those.
7004 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7006 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7010 Added Danish translation.
7012 2007-04-05 Wim Taymans <wim@fluendo.com>
7014 * libs/gst/base/gstbasesink.c:
7015 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7016 Fix leak caused when refusing newsegment after EOS.
7018 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7019 (gst_fake_sink_init), (gst_fake_sink_set_property),
7020 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7021 (gst_fake_sink_render), (gst_fake_sink_change_state):
7022 * plugins/elements/gstfakesink.h:
7023 Add num-buffers property to make the element generate EOS after a
7024 configurable amount of buffers.
7025 API: fakesink::num-buffers property.
7027 * tests/check/elements/fakesink.c: (GST_START_TEST),
7029 Fix GstBus leak in test.
7030 Test for fakesink num-buffers.
7032 2007-04-05 Wim Taymans <wim@fluendo.com>
7034 * libs/gst/base/gstbasesink.c:
7035 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7036 (gst_base_sink_change_state):
7037 Don't accept anything after an EOS, return UNEXPECTED instead.
7039 * tests/check/elements/fakesink.c: (GST_START_TEST),
7041 Unit test for new EOS behaviour.
7043 2007-04-05 Wim Taymans <wim@fluendo.com>
7045 * gst/gstelement.c: (gst_element_get_request_pad):
7046 Make padtemplates also work when they don't contain %s or %d.
7048 2007-04-05 Wim Taymans <wim@fluendo.com>
7050 * docs/gst/gstreamer-sections.txt:
7051 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7052 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7054 Improve _adjust_unlocked() so that it overflows less.
7055 Add gst_clock_unadjust_unlocked to convert from external time to
7056 internal time based on calibration.
7057 Add some more debug.
7058 API: GstClock::gst_clock_unadjust_unlocked()
7060 2007-04-03 Wim Taymans <wim@fluendo.com>
7062 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7064 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7065 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7066 when releasing sink pad. Fixes #425400.
7068 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7070 * docs/random/ensonic/dynlink.txt:
7071 More work on proposal for new core api.
7073 * docs/libs/gstreamer-libs-sections.txt:
7074 * libs/gst/base/gstbasetransform.h:
7075 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7077 * libs/gst/controller/gstcontroller.c:
7078 (on_object_controlled_property_changed),
7079 (gst_controller_sync_values),
7080 (gst_controller_set_interpolation_mode):
7081 * libs/gst/controller/gstcontroller.h:
7082 Less verbose logging add docs for unimplemented parts and correctly
7083 return when using unavailable parts.
7085 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7087 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7088 Move all the debug to the CLOCK category, and associate it with
7091 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7093 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7094 Make take_buffer a bit quicker by removing redundant checks
7095 caused by calling gst_adapter_take.
7097 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7099 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7102 * tests/check/Makefile.am:
7103 * tests/check/elements/.cvsignore:
7104 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7105 (GST_START_TEST), (multiqueue_suite):
7106 Add some dead simple unit tests for the 'multiqueue' element
7107 (some bits don't work yet and are disabled for now).
7109 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7111 * gst/gstelement.c: (gst_element_get_request_pad),
7112 (gst_element_class_get_request_pad_template):
7113 Make gst_element_get_request_pad() create request pads only for
7114 request pad templates and not for, say, sometimes pad templates.
7116 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7118 * docs/design/draft-klass.txt:
7119 Add example that needs more thinking.
7121 * docs/design/draft-missing-plugins.txt:
7122 More thoughts about wrapper plugins.
7124 * docs/random/ensonic/embedded.txt:
7125 * docs/random/ensonic/profiling.txt:
7128 2007-03-25 Wim Taymans <wim@fluendo.com>
7130 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7131 (gst_base_src_loop):
7132 Only push the segment events in the PLAYING state for live sources.
7134 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7136 * gst/gstpipeline.c: (gst_pipeline_change_state):
7137 Modify the clock distribution path in PAUSED->PLAYING so that we
7138 never attempt to choose a new clock unless we're actually leaving
7139 the PAUSED state for the first time. This prevents choosing a
7140 different clock when the state_change gets called for a 2nd time due
7141 to some element doing an async state change.
7143 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7145 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7146 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7147 (gst_pad_chain_unchecked), (gst_pad_push):
7148 Revert last commit. This needs some more thoughts.
7150 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7152 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7153 (gst_pad_chain_unchecked), (gst_pad_push):
7154 Check in set_caps if the caps are compatible with the pad and remove
7155 two functions that are redundant now. Fixes #421543.
7157 2007-03-22 Wim Taymans <wim@fluendo.com>
7159 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7160 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7161 Unref some more to make valgrind happy.
7163 2007-03-22 Wim Taymans <wim@fluendo.com>
7165 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7166 (gst_system_clock_id_wait_jitter),
7167 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7168 Fix anoying regression that survived a few releases. When adding an
7169 async entry while blocking on a sync entry, the sync entry will unblock
7170 but still be busy, so it should continue to wait instead of returning
7172 Add some comments here and there.
7174 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7175 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7176 Add testcase for this.
7178 2007-03-22 Wim Taymans <wim@fluendo.com>
7180 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7181 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7182 WRONG_STATE and can silently pause the task. All other cases should
7185 2007-03-22 Wim Taymans <wim@fluendo.com>
7187 Patch by: Ville Syrjala <syrjala at sci dot fi>
7189 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7190 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7193 2007-03-21 Michael Smith <msmith@fluendo.com>
7195 * docs/pwg/advanced-types.xml:
7196 Fix some errors in the typefinding docs pointed out on irc.
7198 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7200 * libs/gst/base/gstbasesrc.c:
7201 Clarify FIXME comment in the face of having added unlock_stop()
7203 2007-03-21 Wim Taymans <wim@fluendo.com>
7205 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7206 Prepare for release where we warn against possible app breakage in the
7207 case of live pipelines along with an env var to enable/disable live
7208 preroll mode (GST_COMPAT=[no-]live-preroll).
7210 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7212 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7213 So we should use correct constants for checking for None offset.
7215 2007-03-20 Wim Taymans <wim@fluendo.com>
7217 * docs/design/part-block.txt:
7218 Mention the fact that the newly switched element should be set to at
7221 2007-03-20 Wim Taymans <wim@fluendo.com>
7224 Fix compilation with registry disabled as spotted by Saur.
7226 2007-03-20 Wim Taymans <wim@fluendo.com>
7228 Patch by: Olivier Crete <tester at tester dot ca>
7230 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7231 Look at the pending state too when syncing the element state to the
7232 parent. Fixes #420133.
7234 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7236 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7237 (gst_base_sink_change_state):
7238 * libs/gst/base/gstbasesink.h:
7239 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7240 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7241 (gst_base_src_deactivate):
7242 * libs/gst/base/gstbasesrc.h:
7243 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7244 for sub-classes to correctly clear any state they set trying to
7245 unlock, such as clearing out unlock commands from a command fd.
7246 API: basesrc::unlock_stop
7247 API: basesink::unlock_stop
7249 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7250 (gst_fd_sink_render), (gst_fd_sink_unlock),
7251 (gst_fd_sink_unlock_stop):
7252 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7253 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7254 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7256 Implement unlock_stop in fdsrc and fdsink.
7257 Implement seeking in fdsrc when a seekable fd is passed, as in
7258 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7260 2007-03-19 Wim Taymans <wim@fluendo.com>
7262 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7264 * gst/gstelement.c: (gst_element_class_init):
7265 Fix pad-added and pad-removed signal signatures so that the pad type is
7266 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7268 2007-03-19 Wim Taymans <wim@fluendo.com>
7270 * docs/gst/gstreamer-sections.txt:
7271 Add new element field and method.
7273 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7274 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7275 (gst_bin_recalc_state), (gst_bin_get_state_func),
7276 (gst_bin_element_set_state), (gst_bin_change_state_func),
7277 (gst_bin_continue_func), (bin_bus_handler),
7278 (bin_push_state_continue), (bin_handle_async_start),
7279 (bin_handle_async_done), (gst_bin_handle_message_func):
7280 Make async state changes a bit smarter by using new ASYNC_START and
7281 ASYNC_DONE messages. This reduces the number of times we run the state
7282 recalculation thread.
7283 Don't change state of element with a pending ASYNC_START message.
7284 Deprecate STATE_DIRTY messages.
7286 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7287 (gst_element_get_state_func), (gst_element_continue_state),
7288 (gst_element_lost_state), (gst_element_set_state_func),
7289 (gst_element_change_state):
7291 Keep the state that was last set by the app in a new element field.
7292 Don't allow state changes when handling an element event.
7293 Post ASYNC_START and ASYNC_DONE messages.
7294 Change lost_state so that we go to PAUSED and wait for the parent to set
7295 us to PLAYING again (so latency calculation can be performed)
7296 Export gst_element_change_state() method so that subclasses can use it.
7297 API: gst_element_change_state()
7298 API: GST_STATE_TARGET
7300 * gst/gstpipeline.c: (gst_pipeline_class_init),
7301 (reset_stream_time), (gst_pipeline_change_state),
7302 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7303 Using the new ASYNC_START message we can reset the base_time when
7304 needed. This can then be used to implement base_time redistribution in
7305 flushing seeks so that we can remove the explicit seek handling.
7306 Perform latency query and configuration when going to PLAYING.
7308 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7309 (gst_base_sink_query), (gst_base_sink_change_state):
7310 Post new ASYNC_START/ASYNC_DONE messages.
7312 * tests/check/generic/sinks.c: (GST_START_TEST):
7313 Fix test because the bin will not set the async element to PLAYING right
7316 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7317 Make the message check a little stronger.
7318 Handle ASYNC messages.
7320 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7321 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7322 Expect ASYNC_DONE messages.
7324 2007-03-19 Wim Taymans <wim@fluendo.com>
7326 * docs/gst/gstreamer-sections.txt:
7327 * gst/gstmessage.c: (gst_message_new_async_start),
7328 (gst_message_new_async_done), (gst_message_parse_info),
7329 (gst_message_parse_async_start):
7331 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7334 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7336 * tools/gst-inspect.c:
7337 (print_plugin_automatic_install_info_codecs):
7338 Now that we don't check for the 'Codec' keyword any longer in the
7339 klass, we shouldn't spew a warning if the klass isn't a decoder or
7340 encoder (since it might be a Source/Network, for example).
7342 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7344 * tools/gst-inspect.c:
7345 (print_plugin_automatic_install_info_codecs):
7346 Don't require decoder/demuxer/depayloader elements or
7347 encoder/muxer/paylader elements to have 'Codec' as part of their
7348 factory class string when introspecting a plugin's capabilities.
7349 draft-klass.txt mentions that it might be removed in future, and
7350 flump3dec doesn't have it as part of its class string, so chances
7351 are others might also not have it.
7353 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7375 Update translations from translation project
7377 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7379 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7380 (gst_child_proxy_set_property):
7381 Invert precondition check to be alike the ones in the mimiced gobject
7384 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7386 * docs/design/draft-tagreading.txt:
7387 * docs/random/ensonic/audiobaseclasses.txt:
7388 Do some Architect work.
7390 * gst/gstobject.c: (gst_object_set_name):
7394 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7396 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7398 * gst/gstsystemclock.c: (gst_system_clock_init),
7399 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7400 Defer starting the async system clock thread until the first async
7401 wait is scheduled. Fixes #414986.
7403 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7405 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7406 (gst_single_queue_free):
7407 Fix small leak (free GstSingleQueue structure too, not only contents).
7409 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7411 * gst/gstbin.c:(gst_bin_add):
7412 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7413 * win32/common/libgstbase.def:
7414 * win32/common/libgstreamer.def:
7415 Add new exported functions.
7417 2007-03-09 Wim Taymans <wim@fluendo.com>
7419 * docs/plugins/gstreamer-plugins-sections.txt:
7422 2007-03-09 Wim Taymans <wim@fluendo.com>
7424 * docs/gst/gstreamer-sections.txt:
7425 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7427 Add metadata copy functions. Fixes #393099.
7428 API: gst_buffer_copy_metadata()
7430 * gst/gstutils.c: (gst_buffer_stamp):
7431 * libs/gst/base/gstbasetransform.c:
7432 (gst_base_transform_prepare_output_buffer):
7433 Use new metadata copy functions.
7435 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7437 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7438 (gst_identity_init), (gst_identity_check_perfect),
7439 (gst_identity_check_imperfect_timestamp),
7440 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7441 (gst_identity_set_property), (gst_identity_get_property):
7442 * plugins/elements/gstidentity.h:
7443 Separate out check-imperfect-timestamp and check-imperfect-offset.
7444 Put back check-perfect as it was to keep compatibility.
7446 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7448 * gst/gstelement.c: (gst_element_dispose):
7449 There's no need to warn if VOID_PENDING is not NONE here, as
7450 long as the state is NULL it's ok, and that's checked immediately
7453 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7455 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7456 Fix check for perfect stream to ignore buffers with -1
7457 offsets/offset ends when checking data contiguity.
7459 2007-03-08 Wim Taymans <wim@fluendo.com>
7461 * tools/gst-launch.c: (event_loop):
7462 Print INFO messages.
7464 2007-03-08 Wim Taymans <wim@fluendo.com>
7466 * libs/gst/base/gstbasetransform.c:
7467 (gst_base_transform_sink_eventfunc),
7468 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7469 (gst_base_transform_activate):
7470 * libs/gst/base/gstbasetransform.h:
7471 Add support for dropping buffers with custom GstFlowReturn.
7472 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7473 buffers or dropped buffers.
7475 * docs/libs/gstreamer-libs-sections.txt:
7476 docs for new custom return code.
7478 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7479 Use drop support in base class to implement drop-probability.
7481 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7483 * gst/gst.c: (load_plugin_func):
7484 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7485 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7486 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7487 Remove newlines at end of debug log strings.
7489 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7491 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7492 Only post bus message at max, once per buffer received.
7494 2007-03-07 Wim Taymans <wim@fluendo.com>
7496 * docs/design/Makefile.am:
7497 * docs/design/part-synchronisation.txt:
7498 Add doc about synchronisation
7500 * docs/design/draft-latency.txt:
7501 * docs/design/part-TODO.txt:
7502 * docs/design/part-clocks.txt:
7503 * docs/design/part-events.txt:
7504 * docs/design/part-gstbus.txt:
7505 * docs/design/part-gstpipeline.txt:
7506 * docs/design/part-live-source.txt:
7507 * docs/design/part-messages.txt:
7508 * docs/design/part-overview.txt:
7509 * docs/design/part-streams.txt:
7510 * docs/design/part-trickmodes.txt:
7511 Documentation updates.
7513 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7516 Update the doap file.
7518 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7520 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7521 Rename non-perfect to imperfect for Mike and for the sanctity of the
7523 Also make sure bus message gets emitted for data-incontiguities.
7525 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7527 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7528 (gst_identity_start):
7529 * plugins/elements/gstidentity.h:
7530 Emit bus message if check-perfect is true and we encounter a
7531 non-perfect stream between 2 consecutive buffers.
7534 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7539 === release 0.10.12 ===
7541 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7544 releasing 0.10.12, "Inevitable Demise"
7546 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7549 Version 0.10.11.2 (0.10.12 pre-release)
7550 Bump libtool versioning.
7552 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7554 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7555 Log flow-names and not numbers.
7557 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7560 Convert to new AG_GST style.
7562 2007-02-28 Wim Taymans <wim@fluendo.com>
7564 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7565 Don't unref query twice.
7567 2007-02-28 Wim Taymans <wim@fluendo.com>
7569 * gst/gstvalue.c: (gst_value_transform_object_string),
7570 (_gst_value_initialize):
7571 Implement GstObject -> string transform so we print object names
7572 when serializing GValues containing GstObjects.
7574 2007-02-28 Wim Taymans <wim@fluendo.com>
7576 * docs/gst/gstreamer-sections.txt:
7577 Add new stuff to docs.
7579 2007-02-28 Wim Taymans <wim@fluendo.com>
7581 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7582 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7583 (gst_base_sink_change_state):
7584 Improve latency query code.
7585 Don't leak latency events.
7587 * tests/check/gst/gstbin.c: (GST_START_TEST):
7590 2007-02-28 Wim Taymans <wim@fluendo.com>
7592 * gst/gstelement.c: (gst_element_message_full),
7593 (gst_element_get_state_func):
7595 Improve docs a little. Added Since: for new macro.
7597 * gst/gstobject.c: (gst_object_sink):
7598 * gst/gstpipeline.c: (gst_pipeline_change_state),
7599 (gst_pipeline_set_new_stream_time):
7600 * gst/gstpipeline.h:
7601 Improve debugging and docs.
7603 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7606 2007-02-28 Wim Taymans <wim@fluendo.com>
7608 * gst/gstelement.c: (gst_element_message_full),
7609 (gst_element_set_locked_state), (gst_element_get_state_func),
7610 (gst_element_change_state):
7611 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7612 Documentation updates.
7613 Small code cleanups.
7615 * gst/gstmessage.c: (gst_message_new_info),
7616 (gst_message_parse_info):
7618 API: gst_message_new_info()
7619 API: gst_message_parse_info()
7620 Add INFO message create and parse code.
7622 2007-02-28 Wim Taymans <wim@fluendo.com>
7624 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7625 (bin_query_latency_done):
7626 Also report the live parameter of a latency query.
7628 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7630 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7631 Copy the current generic/states example from -base and adapt so
7632 we can use the exact same code everywhere.
7633 Check a STATES_IGNORE_ELEMENTS env var which can be used
7634 to ignore certain element factories for this test, which is
7635 what is being done in -base
7636 * tests/check/Makefile.am:
7637 Mention this environment variable.
7639 2007-02-27 Wim Taymans <wim@fluendo.com>
7641 * docs/gst/gstreamer-sections.txt:
7642 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7643 (gst_bus_timed_pop), (gst_bus_pop):
7645 API: gst_bus_timed_pop()
7646 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7647 message to arrive on the bus.
7649 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7651 Two unit tests for new _timed_pop() function.
7653 2007-02-23 Wim Taymans <wim@fluendo.com>
7655 * gst/gstpipeline.c: (gst_pipeline_change_state),
7656 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7657 Don't ref a NULL clock in _provide_clock_func().
7658 Don't allow an INVALID delay.
7659 Don't try to calculate base_time with an invalid start_time.
7660 Also distribute and notify a NULL clock when it was selected.
7662 * tools/gst-launch.c: (event_loop):
7663 Don't crash when a NULL clock was selected in the pipeline.
7665 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7667 * docs/design/Makefile.am:
7668 * docs/design/draft-missing-plugins.txt:
7669 * docs/random/draft-missing-plugins.txt:
7670 Some small updates: update plugin system identifier prefix
7671 ('gstreamer.net' to 'gstreamer'), mention our new install
7672 API in libgstbaseutils rather than libgimme-codec, add
7673 reference to the online docs.
7675 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7677 * win32/common/config.h:
7678 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7679 use moap cl ci to only check in what is mentioned in the ChangeLog.
7681 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7683 * docs/gst/gstreamer-sections.txt:
7685 Fix up documentation to link to the correct GstGError section.
7686 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7688 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7690 * tools/gst-launch.c: (event_loop):
7691 Make sure that we actually show the important message part of a
7693 No need to check if the gerror is not NULL to free; first of all
7694 g_free accepts NULL; and second the default error handler would
7695 segfault if gerror was NULL.
7697 2007-02-21 Wim Taymans <wim@fluendo.com>
7699 * docs/gst/gstreamer-sections.txt:
7700 Removed docs as well.
7702 2007-02-21 Wim Taymans <wim@fluendo.com>
7704 * gst/gstmessage.c: (gst_message_parse_duration):
7706 Remove new messages for release.
7708 2007-02-20 Wim Taymans <wim@fluendo.com>
7710 * docs/design/part-gstghostpad.txt:
7711 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7712 (gst_ghost_pad_new_full):
7713 Make the ghostpad a parent of the internal pad again for better backward
7714 compatibility. Don't write code that relies on this however.
7716 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7717 (gst_pad_link_check_hierarchy):
7718 Require that parents should be GstElements in the hierarchy check.
7720 2007-02-20 Wim Taymans <wim@fluendo.com>
7722 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7723 (gst_bin_change_state_func), (bin_query_min_max_init),
7724 (bin_query_latency_fold), (bin_query_latency_done),
7727 Implement latency query.
7729 2007-02-20 Wim Taymans <wim@fluendo.com>
7731 * docs/design/part-gstghostpad.txt:
7732 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7733 (gst_ghost_pad_internal_do_activate_push),
7734 (gst_ghost_pad_internal_do_activate_pull),
7735 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7736 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7737 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7738 Do not set the internal pad as a parent anymore so we can avoid
7739 hierarchy linking errors when the ghostpad has no parent yet. This also
7740 fixes failed activation because of unlinked internal pads, which in
7741 turn fixes the impossible case where you have to activate a pad before
7742 you can add it to a running element.
7745 * gst/gstpad.c: (pre_activate), (post_activate),
7746 (gst_pad_set_active), (gst_pad_activate_pull),
7747 (gst_pad_activate_push), (gst_pad_check_pull_range):
7748 Add some more debug info.
7749 Mark activation mode in pre_activate so that we don't try to activate in
7750 endless loops. Fixes #385084.
7752 2007-02-19 Wim Taymans <wim@fluendo.com>
7754 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7755 (gst_base_transform_check_get_range):
7756 Implement a checkgetrange function instead of relying on the default
7757 core behaviour that assumes we can operate in pull mode if we have a
7758 getrange function. First step at fixing #385084.
7760 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7762 * gst/gstchildproxy.h:
7763 * libs/gst/base/gstbasesink.h:
7764 * libs/gst/base/gstbasesrc.h:
7765 * libs/gst/base/gstbasetransform.h:
7766 More docs coverage and some ChangeLog surgery (add missing names)
7768 2007-02-15 Wim Taymans <wim@fluendo.com>
7770 * docs/design/part-TODO.txt:
7771 * docs/design/part-activation.txt:
7772 * docs/design/part-block.txt:
7773 * docs/design/part-buffering.txt:
7774 * docs/design/part-clocks.txt:
7775 * docs/design/part-element-source.txt:
7776 * docs/design/part-events.txt:
7777 * docs/design/part-gstbin.txt:
7778 * docs/design/part-gstbus.txt:
7779 * docs/design/part-gstpipeline.txt:
7780 * docs/design/part-live-source.txt:
7781 * docs/design/part-messages.txt:
7782 * docs/design/part-overview.txt:
7783 * docs/design/part-qos.txt:
7784 * docs/design/part-query.txt:
7785 * docs/design/part-states.txt:
7786 * docs/design/part-trickmodes.txt:
7787 Some doc updates. Start renaming from stream_time to running_time where
7788 it was used wrongly.
7790 2007-02-15 Wim Taymans <wim@fluendo.com>
7792 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7793 Answer LATENCY query.
7795 2007-02-15 Wim Taymans <wim@fluendo.com>
7797 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7801 2007-02-15 Wim Taymans <wim@fluendo.com>
7803 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7804 (gst_pad_dispatcher):
7805 Improve debugging of default pad dispatcher and query functions.
7807 2007-02-15 Wim Taymans <wim@fluendo.com>
7809 * docs/gst/gstreamer-sections.txt:
7810 Remove old unused method.
7812 2007-02-13 Wim Taymans <wim@fluendo.com>
7814 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7817 2007-02-13 Wim Taymans <wim@fluendo.com>
7819 * docs/design/part-seeking.txt:
7822 * gst/gstsegment.c: (gst_segment_set_seek):
7823 Revert old bogus change that should make seeking work again.
7825 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7827 * docs/random/ensonic/dynlink.txt:
7828 * docs/random/ensonic/interfaces.txt:
7829 * docs/random/ensonic/receipies.txt:
7830 Possible dynamic reconnection api, plus some type fixes the other two
7833 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7835 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7836 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7837 Also check for an absolute path following file:// in the filesrc
7838 element. Remove redundant check and call g_path_is_absolute() on the
7841 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7843 * docs/design/draft-klass.txt:
7844 Add existing category analysis.
7847 Fix doc example, framerate is a fraction.
7849 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7852 * docs/gst/Makefile.am:
7853 * docs/gst/gstreamer-sections.txt:
7854 * docs/libs/Makefile.am:
7855 Erm, forgot a bunch of --extra-dir.
7857 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7860 * docs/gst/Makefile.am:
7861 * docs/libs/Makefile.am:
7862 * docs/plugins/Makefile.am:
7863 Add crossreferences to glib/gobject docs.
7865 2007-02-12 Wim Taymans <wim@fluendo.com>
7867 * docs/design/draft-latency.txt:
7870 * docs/libs/gstreamer-libs-sections.txt:
7871 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7872 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7873 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7874 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7875 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7876 (gst_base_sink_get_position), (gst_base_sink_query),
7877 (gst_base_sink_change_state):
7878 * libs/gst/base/gstbasesink.h:
7879 API: gst_base_sink_query_latency() to let subclasses query the upstream
7881 API: gst_base_sink_get_latency() to let subclasses query the configured
7882 latency in the sink.
7883 Implement query and set latency.
7885 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7886 don't continue preroll when we are flushing. Fixes #405284.
7888 * tests/check/pipelines/stress.c: (change_state_timeout),
7889 (quit_timeout), (GST_START_TEST), (stress_suite):
7892 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7894 Patch by: René Stadler <mail at renestadler de>
7896 * docs/gst/gstreamer-sections.txt:
7897 * gst/gsttaglist.c: (_gst_tag_initialize):
7899 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7901 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7903 * docs/libs/Makefile.am:
7904 Fix path to core docs.
7906 * gst/gstbin.c: (gst_bin_get_by_interface),
7907 (gst_bin_iterate_all_by_interface):
7908 Refix docs by also renaming 'interface' to 'iface' in implementation.
7910 * docs/gst/gstreamer-sections.txt:
7912 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7913 * gst/gstchildproxy.h:
7914 * gst/gstelementfactory.c:
7915 * gst/gstpadtemplate.h:
7916 * libs/gst/controller/gstcontroller.c:
7917 (gst_controlled_property_new):
7920 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7922 * gst/gstbin.h:(gst_bin_get_by_interface),
7923 (gst_bin_iterate_all_by_interface):
7924 Replace interface parameter name by iface as interface is
7925 a reserved keyword in Visual Studio for C++ projects so it removes
7926 a build error for application developpers using VS.
7927 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7928 Fix a bug on Windows in uri format check. Now the prefix checked
7929 is file:// and next we check if the path after file:// is absolute.
7930 * win32/common/libgstbase.def:
7931 * win32/common/libgstdataprotocol.def:
7932 * win32/common/libgstgstreamer.def:
7933 Add new exported functions.
7935 2007-02-09 Andy Wingo <wingo@pobox.com>
7937 * tests/check/pipelines/simple-launch-lines.c
7938 (simple_launch_lines_suite, test_tee): Disable tee test until I
7939 have time to fix it :-(
7941 * tests/check/Makefile.am (noinst_HEADERS):
7942 * tests/check/libs/libsabi.c:
7943 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7944 * tests/check/gst/gstabi.c:
7945 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7947 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7948 tests for push and pull tee behavior.
7950 * plugins/elements/gsttee.h:
7951 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7952 mark as deprecated as well as unimplemented. It was a crack idea.
7953 Add support for tee operating in pull mode, off by default.
7955 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7956 normal-case logs down to LOG, raise errors to WARNING.
7957 (gst_registry_xml_read_cache): Don't log before calling a function
7960 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7961 exit (registry finalize).
7962 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7963 DEBUG log when we emit signals that people don't even have the
7964 chance to connect to.
7965 (gst_registry_scan_path_level): Less logging in the normal case.
7967 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7969 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7971 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7972 Correctly generate EOS for non-seekable files. We don't have a total
7973 length for them and would get an unexpected end of file if we only
7974 special-cased for regular files. (Fixes: #404569)
7976 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7978 * tests/check/elements/filesrc.c: (GST_START_TEST),
7980 Add unit test for the GstURIHandler interface in filesrc. This also
7981 tests the newly added file://localhost/foo/bar support.
7983 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
7985 * gst/gstelementfactory.h:
7986 The klass string is not a hierarchy. Add reference to the design doc
7987 for more information and common types.
7989 2007-02-02 Wim Taymans <wim@fluendo.com>
7991 * gst/gstquery.c: (gst_query_new_latency):
7992 Remove old structure field.
7994 2007-02-02 Stefan Kost <ensonic@users.sf.net>
7996 * tools/gst-launch.1.in:
7997 Give example for network streaming (#351998)
7999 2007-02-02 Wim Taymans <wim@fluendo.com>
8001 * docs/gst/gstreamer-sections.txt:
8002 Add docs for new methods.
8004 * gst/gstevent.c: (gst_event_new_latency),
8005 (gst_event_parse_latency):
8007 Add new LATENCY event to configure latency in a pipeline.
8008 API: gst_event_new_latency
8009 API: gst_event_parse_latency
8011 * gst/gstmessage.c: (gst_message_new_buffering),
8012 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8013 (gst_message_new_latency), (gst_message_parse_buffering),
8014 (gst_message_parse_lost_preroll):
8016 Added messages used in draft-latency.
8017 API: gst_message_new_lost_preroll
8018 API: gst_message_parse_lost_preroll
8019 API: gst_message_new_prerolled
8020 API: gst_message_new_latency
8022 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8023 (gst_query_parse_latency):
8025 Implemented new latency query as in design doc.
8026 API: gst_query_new_latency
8027 API: gst_query_set_latency
8028 API: gst_query_parse_latency
8030 2007-02-02 Wim Taymans <wim@fluendo.com>
8032 * docs/design/draft-latency.txt:
8033 Slight redesign to allow for dynamic latency adjustments.
8035 * docs/design/part-negotiation.txt:
8038 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8040 reviewed by: Wim Taymans <wim@fluendo.com>
8042 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8043 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8044 Allow file://localhost/foo/bar URLs and correctly fail for every other
8045 hostname that one sets. This was gnomevfssrc is linked for those if
8046 installed as it can handle it (#403172)
8048 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8050 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8053 (unref_data), (gst_collect_pads_add_pad_full):
8054 * libs/gst/base/gstcollectpads.h:
8055 Don't put the previously added destroy notify in the GstCollectData
8056 struct as all it's padding is already used and we don't want to break
8057 ABI. Instead put in the pad's GObject data for now. This should be
8058 cleaned up for 0.11 (#402393).
8060 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8062 reviewed by: Wim Taymans <wim@fluendo.com>
8064 * docs/libs/gstreamer-libs-sections.txt:
8065 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8066 (unref_data), (gst_collect_pads_add_pad),
8067 (gst_collect_pads_add_pad_full):
8068 * libs/gst/base/gstcollectpads.h:
8069 API: Add function to specify a destroy notification for custom
8070 GstCollectData when adding new pads in GstCollectPads (#402393).
8072 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8075 Update Swedish translation (#378255).
8077 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8079 * docs/design/draft-klass.txt:
8080 Fix the previous change, this is a list of categories and not a hierarchy.
8082 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8084 * docs/design/draft-klass.txt:
8085 Add info about how to get a list of used classes.
8087 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8089 * plugins/elements/gsttypefindelement.c:
8090 (gst_type_find_element_chain_do_typefinding),
8091 (gst_type_find_element_change_state):
8092 Don't leak found caps in chain function (no idea why that never
8093 showed up as a leak anywhere).
8095 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8098 Fix and expand GstPluginDesc API docs.
8100 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8103 * gst/gstelementfactory.c:
8104 * gst/gstpadtemplate.h:
8107 * libs/gst/controller/gstcontroller.c:
8108 (gst_controlled_property_new):
8109 * tests/examples/controller/audio-example.c:
8112 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8115 comment about refining the xml deps
8118 comments about moving away from jade for docs
8121 recommit the ifdefs to use the binary registry
8123 * gst/gstbin.c: (gst_bin_change_state_func):
8124 this break is obsolete
8126 * gst/gstelementfactory.h:
8127 better GST_ELEMENT_DETAILS docs, add comment about translation
8132 * gst/gstobject.c: (gst_signal_object_get_type):
8133 add G_UNLIKELY as usual
8135 * gst/gstpad.c: (gst_pad_event_default):
8136 add fall trhu comment
8138 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8139 (gst_registry_binary_initialize_magic),
8140 (gst_registry_binary_save_string),
8141 (gst_registry_binary_save_pad_template),
8142 (gst_registry_binary_save_feature),
8143 (gst_registry_binary_save_plugin),
8144 (gst_registry_binary_write_cache),
8145 (gst_registry_binary_check_magic),
8146 (gst_registry_binary_load_pad_template),
8147 (gst_registry_binary_load_feature),
8148 (gst_registry_binary_load_plugin),
8149 (gst_registry_binary_read_cache):
8150 comment typo and formatting
8152 * gst/gstutils.c: (gst_element_state_get_name),
8153 (gst_element_state_change_return_get_name):
8154 remove obsolete breaks
8156 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8157 add FIXME 0.11 and remove cpp comment
8159 2007-01-29 Edward Hervey <edward@fluendo.com>
8161 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8162 Fix print statement in an even more portable way.
8164 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8166 * docs/gst/gstreamer-sections.txt:
8168 API: add GST_ROUND_DOWN_* macros (#401781).
8170 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8172 * docs/gst/gstreamer.types.in:
8173 * gst/gstregistry.c: (gst_registry_class_init):
8174 Document registry signals and make gtk-doc pick them up (#401381).
8176 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8178 * docs/pwg/building-testapp.xml:
8179 Add some audioconverts and audioresample to the pipeline, and some
8180 more comments and error handling.
8182 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8184 * docs/manual/manual.xml:
8188 2007-01-26 Wim Taymans <wim@fluendo.com>
8190 * gst/gstcaps.c: (gst_static_caps_get):
8191 Init caps flags too.
8193 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8195 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8197 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8198 If not using mmap'ed files try to seek to the end instead of the
8199 start to determine whether we can seek at all. This fixes the case
8200 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8201 seeks for everything afterwards fail. Fixes #400656
8203 2007-01-25 Wim Taymans <wim@fluendo.com>
8205 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8206 Add some refcount debugging.
8207 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8208 in multiple streaming threads.
8210 2007-01-25 Wim Taymans <wim@fluendo.com>
8212 Patch by: David Schleef <ds at schleef dot org>
8214 * docs/libs/gstreamer-libs-sections.txt:
8215 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8216 * libs/gst/base/gstadapter.h:
8217 API: gst_adapter_copy() that can reduce the amount of memcpy when
8218 getting data from the adapter. Fixes #388201.
8220 2007-01-25 Edward Hervey <edward@fluendo.com>
8222 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8223 In print statements, "%x" is for guint. Fixes build on macosx.
8225 2007-01-24 Edward Hervey <edward@fluendo.com>
8227 * plugins/elements/gstmultiqueue.c:
8228 (gst_multi_queue_loop):
8230 (single_queue_overrun_cb), (single_queue_underrun_cb),
8231 (single_queue_check_full), (gst_single_queue_new):
8232 Implement single queue growth system.
8233 This uses the extra-size properties, and will grow single queues by
8234 that much if one goes full whereas there are others empty. This is
8235 called extra-mode in the code.
8236 When a single queue's levels go back below the initial max-size
8237 limits, it is no longer in extra-mode. This is to ensure we don't
8238 consume too much memory.
8241 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8243 * gst/gst.c: (gst_init_get_option_group):
8244 Make warning about late g_thread_init() calls a bit more explicit,
8245 so that it's more obvious to application developers what they need
8246 to do if a user files a bug against their application.
8248 2007-01-22 Edward Hervey <edward@fluendo.com>
8250 * plugins/elements/gstmultiqueue.c:
8251 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8252 Remove previous hack of unsetting the flushing flag for the source pad
8253 instead of activating it. Instead, fix the source pad activate function
8254 so that it no longer depends on having a parent set or not.
8256 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8258 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8260 * docs/manual/basics-bus.xml:
8261 Fix example code, gst_element_unref() doesn't exist any longer.
8263 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8265 Patch by: Mark Nauwelaerts <manauw at skynet be>
8268 Fix two docs typoes (#399094).
8270 2007-01-19 Edward Hervey <edward@fluendo.com>
8272 * docs/faq/gst-uninstalled:
8273 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8274 depending on libgstbaseutils can work in uninstalled environment.
8276 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8279 * gst/gsttagsetter.c:
8280 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8281 statement for new tag.
8283 2007-01-17 Edward Hervey <edward@fluendo.com>
8285 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8286 When dynamically creating single queues, activate sinkpad before adding
8288 We should be doing the same thing for the source pad, but we can't
8289 since it would call a method which needs the parent to be set in order
8290 to work propertly. Instead of activating the source pad, we just unset
8291 the flushing flag, which is the minimal requirement for adding a pad
8292 to an element in a state greater than READY.
8294 2007-01-17 Edward Hervey <edward@fluendo.com>
8296 * docs/faq/gst-uninstalled:
8297 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8300 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8302 * tests/check/gst/gstabi.c:
8303 * tests/check/gst/struct_hppa.h:
8304 * tests/check/libs/libsabi.c:
8305 * tests/check/libs/struct_hppa.h:
8306 Add ABI structs for HPPA (see #393796).
8308 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8310 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8311 Actually write ABI structs to the file specified in the GST_ABI
8312 environment variable, as the message we print claims we would.
8314 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8316 * tests/check/gst/gsttask.c:
8319 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8321 * gst/gsttaglist.c: (_gst_tag_initialize):
8322 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8323 previous two entries.
8325 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8327 * docs/gst/gstreamer-sections.txt:
8328 * gst/gsttaglist.c: (_gst_tag_initialize):
8330 Add tag support for beat-per-minute.
8332 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8334 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8335 (gst_registry_binary_initialize_magic),
8336 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8337 (gst_registry_binary_save_pad_template),
8338 (gst_registry_binary_save_feature),
8339 (gst_registry_binary_save_plugin),
8340 (gst_registry_binary_write_cache),
8341 (gst_registry_binary_check_magic),
8342 (gst_registry_binary_load_pad_template),
8343 (gst_registry_binary_load_feature),
8344 (gst_registry_binary_load_plugin),
8345 (gst_registry_binary_read_cache):
8346 * gst/gstregistrybinary.h:
8347 Use glib types, cleanup comments, impement interfaces and uri-types.
8349 2007-01-13 Andy Wingo <wingo@pobox.com>
8351 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8352 getrange() to return buffers with other caps, while we fix
8353 demuxers and typefind, or otherwise change part-negotiation.txt.
8355 2007-01-12 Andy Wingo <wingo@pobox.com>
8357 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8358 Factor start/stop into this private function instead of partially
8359 in activate functions and partially in the change_state function.
8360 Fixes setup before the element has changed from READY->PAUSED, as
8361 is the case in pull-mode pipelines.
8362 (gst_base_transform_sink_activate_push)
8363 (gst_base_transform_src_activate_pull): Refactor to use
8364 gst_base_transform_activate().
8365 (gst_base_transform_change_state): Removed, not needed any more.
8367 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8368 Truncate before fixating.
8370 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8371 Don't set_caps() if the result of fixating is ANY, as it's not
8372 supported, and not necessary in the case of a link with no
8373 template caps on either side. Fixes tests/check/libs/basesrc in
8374 some pull-mode tests.
8376 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8377 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8378 (gst_base_transform_src_activate_pull):
8379 Track the activation mode.
8380 (gst_base_transform_setcaps): In pull mode, when activating the
8381 src pad, after activating the sink pad, activate the sink pad's
8382 peer, as discussed in part-negotiation.txt.
8384 * libs/gst/base/gstbasesrc.h:
8385 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8386 vmethod, as in basesink.
8388 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8390 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8391 mode, first proxy the setcaps to the peer pad.
8392 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8394 (gst_base_sink_default_activate_pull): Rename from
8395 gst_base_sink_activate_pull.
8396 (gst_base_sink_negotiate_pull): New function, performs negotiation
8397 in pull mode before calling ::activate_pull().
8398 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8399 vmethod instead of the default implementation. I have no idea how
8400 this worked before. Negotiate before calling activate_pull.
8402 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8403 sink pads in pull mode. In addition to being correct, fixes
8404 filesrc ! decodebin ! identity ! fakesink.
8405 (gst_pad_get_range, gst_pad_pull_range): Don't call
8406 gst_pad_set_caps() if the caps changes; instead error out with
8407 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8409 2007-01-12 Andy Wingo <wingo@pobox.com>
8411 * docs/design/part-negotiation.txt: Update with more policy.
8413 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8415 * libs/gst/check/gstbufferstraw.h:
8416 * libs/gst/check/gstcheck.h:
8417 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8420 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8422 * tests/check/Makefile.am:
8423 * tests/check/gst/.cvsignore:
8424 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8425 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8426 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8427 (GST_START_TEST), (gst_tag_setter_suite):
8428 Add minimal unit test for beforementioned GstTagSetter bug.
8430 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8432 Patch by: René Stadler <mail at renestadler dot de>
8434 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8435 gst_tag_list_merge() returns a new list, so it's not the best idea
8436 to ingore its return value. Effectively meant that tags could only
8437 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8438 Also add function guard to require a non-NULL taglist as input (has
8439 always been so due to gst_tag_list_copy(), just making it explicit).
8441 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8443 * docs/random/draft-missing-plugins.txt:
8444 Some additions: mention new API that is supposed to be used at the
8445 various stages; short blob about new gst-inspect introspection
8446 option; mention potential future problem with plugins that have
8447 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8449 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8451 * tools/gst-inspect.c:
8452 (print_plugin_automatic_install_info_codecs),
8453 (print_plugin_automatic_install_info_protocols),
8454 (print_plugin_automatic_install_info), (main):
8455 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8456 introspect plugin files and get machine-parsable output that corresponds
8457 to the last bit of the missing-plugin installer string (small gotcha:
8458 doesn't take into account ranks).
8460 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8463 * docs/gst/gstreamer-sections.txt:
8465 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8466 (gst_registry_lookup_locked):
8467 * gst/gstregistry.h:
8468 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8469 (gst_registry_binary_initialize_magic),
8470 (gst_registry_binary_save_string),
8471 (gst_registry_binary_save_pad_template),
8472 (gst_registry_binary_save_feature),
8473 (gst_registry_binary_save_plugin),
8474 (gst_registry_binary_write_cache),
8475 (gst_registry_binary_check_magic),
8476 (gst_registry_binary_load_pad_template),
8477 (gst_registry_binary_load_feature),
8478 (gst_registry_binary_load_plugin),
8479 (gst_registry_binary_read_cache):
8480 * gst/gstregistrybinary.h:
8481 * gst/gstregistryxml.c: (load_feature),
8482 (gst_registry_xml_read_cache):
8483 commit binary registry (disabled by default, see #359653)
8485 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8487 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8488 Fix 'make check' too.
8490 2007-01-10 Andy Wingo <wingo@pobox.com>
8492 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8495 * docs/design/part-negotiation.txt: Update with, um, one way that
8496 pull-mode negotiation might work?
8499 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8500 that the pad must be a src pad; makes sense to call it the other
8501 way in pull mode, and the logic is symmetric anyway.
8503 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8505 * plugins/elements/gstfilesink.c:
8506 Include <stdio.h> for fseeko().
8508 2007-01-10 Wim Taymans <wim@fluendo.com>
8512 Reserve LATENCY event.
8514 2007-01-09 Wim Taymans <wim@fluendo.com>
8516 * docs/design/draft-latency.txt:
8519 2007-01-09 Wim Taymans <wim@fluendo.com>
8521 * docs/design/draft-latency.txt:
8525 * gst/gststructure.c:
8529 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8531 * tests/check/.cvsignore:
8532 Ignore test-registry.xml as well.
8534 2007-01-09 Wim Taymans <wim@fluendo.com>
8536 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8537 unref data at the end when we are done with the pad.
8539 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8541 * docs/gst/gstreamer-sections.txt:
8542 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8543 (init_post), (gst_deinit), (gst_update_registry):
8545 API: add gst_update_registry() (#391296).
8547 * tests/check/Makefile.am:
8548 * tests/check/gst/gstregistry.c:
8549 * tests/check/gst/.cvsignore:
8550 Simple unit test for the above.
8552 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8554 * gst/gstregistry.c: (gst_registry_scan_path_level):
8555 Plugin extension on HP-UX is .sl, add that to the list of approved
8556 plugin extensions (see #393796).
8558 * tests/check/gst/gstpad.c: (GST_START_TEST):
8559 ulong => gulong. Fixes compilation with HP-UX compiler.
8561 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8562 Fix compilation if valgrind headers are not available.
8564 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8566 * win32/common/libgstreamer.def:
8567 Add new exported function.
8568 * win32/vs6/libgstbase.dsp:
8569 Add gstdataqueue.c to the build.
8570 * win32/vs6/libgstcoreelements.dsp:
8571 Add gstmultiqueue.c to the build.
8573 2007-01-06 Andy Wingo <wingo@pobox.com>
8575 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8576 activate_pull(), providing for a way to specialize the process of
8577 spawning a thread to pull on the sink pad. There is a default
8580 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8581 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8582 (gst_base_sink_init): Renamed pad activation functions (inserting
8583 "_pad" in their names). Refactor to use the new activate_pull
8584 vmethod, as appropriate.
8585 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8586 default activate_pull function to start a task pulling from the
8587 sink pad, as before.
8589 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8590 on the pads if necessary, as in push()/chain(). Update docs.
8591 Shouldn't affect existing pull() usage as it is currently only
8592 being used on buffers without caps.
8594 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8596 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8598 Call g_thread_init() first thing in gst_init() / gst_check_init().
8599 When initialisation is done via gst_init_get_option_group() and
8600 GOption parsing, issue a warning if the GLib thread system has not
8601 been initialised yet by the time gst_init_get_option_group() is
8602 called, as it's quite likely other GLib functions such as
8603 g_option_context_new() have been called already then, and
8604 g_thread_init() must be called before any other GLib function. The
8605 application in question must be fixed in that case, since memory
8606 corruption might happen otherwise.
8607 We issue the warning because even if the GLib folks decide to work
8608 around the problem on their end in future, this is still an issue
8609 with all GLib versions >= 2.10.0, so we should warn until we depend
8610 on a GLib version we know to be safe.
8611 Update documentation as well.
8614 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8616 * tools/gst-inspect.c: (main):
8617 * tools/gst-launch.c: (main):
8618 * tools/gst-typefind.c: (main):
8619 * tools/gst-xmlinspect.c: (main):
8620 Call g_thread_init() really really early, before any other GLib
8621 function (see #342564 and recent discussion on gtk-devel-list).
8623 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8625 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8627 * gst/gst_private.h:
8628 * gst/gstconfig.h.in:
8630 On win32, all the __declspec stuff for symbol exporting is
8631 apparently only needed with MSVC, but doesn't work with MingW.
8632 Fixes compilation with MingW and #391909.
8634 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8636 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8637 Change some GST_ERROR_OBJECT that aren't really errors to
8638 GST_WARNING_OBJECT in order to reduce terminal spam.
8640 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8642 * tests/check/Makefile.am:
8643 disable test again, as there seem to be still race problems
8645 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8647 * tests/check/Makefile.am:
8648 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8649 (GST_START_TEST), (queue_suite):
8650 enable queue test again, add tests for the leaky behaviour
8652 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8655 * tests/examples/Makefile.am:
8656 Compile adapter test/example only if the required headers are
8657 available (fixes #391915).
8659 2007-01-01 David Schleef <ds@schleef.org>
8662 Restore the previous signal handler for SIGSEGV instead of
8663 setting to default, since we may have stolen it away from
8664 someone. (i.e., Mono)
8666 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8668 * docs/random/draft-missing-plugins.txt:
8669 Some small additions and clarifications.
8671 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8673 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8674 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8675 since that can lead to random memory corruptions and crashes
8676 (may or may not be related to #383244, #386711, and #386711).
8678 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8680 * tests/check/.cvsignore:
8681 * tests/check/Makefile.am:
8682 sync .cvsignome and CLEANFILES
8684 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8686 * tests/check/Makefile.am:
8689 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8691 * docs/design/part-states.txt:
8692 two tiny additional comments
8694 * gst/gststructure.c:
8697 * tests/check/Makefile.am:
8698 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8700 disable test for now, unless it gets fixed
8702 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8704 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8706 fix race in underrun test
8708 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8710 * tests/check/elements/.cvsignore:
8713 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8715 try to narrow test failure
8717 2006-12-21 David Schleef <ds@schleef.org>
8719 * plugins/elements/gstfakesrc.c:
8720 Use g_random_int_range(), since it produces better random
8721 numbers in a range than almost-correct floating point code.
8723 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8725 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8726 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8727 (gst_check_teardown_sink_pad):
8728 do not automatically (de)activate pads
8730 * tests/check/Makefile.am:
8731 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8732 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8733 add new, yet simple tests for queue
8735 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8736 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8737 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8739 * tests/check/elements/identity.c: (cleanup_identity):
8740 consistent pad (de)activation
8742 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8744 Patch by: Sebastian Dröge <slomo ubuntu com>
8746 * libs/gst/base/gstcollectpads.c:
8747 Fix two doc typos (#387866).
8749 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8751 * docs/manual/advanced-dparams.xml:
8752 Fix typo (g_object_control_properties() doesn't exist).
8754 2006-12-19 Edward Hervey <edward@fluendo.com>
8756 * gst/gstsegment.c: (gst_segment_set_seek):
8757 Fine tune the cases where the segment start/stop values are really
8759 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8760 Add tests for the return values of gst_segment_set_seek().
8762 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8767 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8769 Fix incorrect documentation and flesh it out a bit more.
8770 Set default values for the max properties on the GParamSpec as well,
8771 so it shows up correctly in gst-inspect.
8773 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8775 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8776 Correct docs of queue, add more detail and crosslink it more.
8778 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8780 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8781 Print additional debug info when the stream isn't perfectly
8782 timestamped; don't try to use invalid durations.
8784 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8786 * docs/design/Makefile.am:
8787 Dist new design docs.
8789 2006-12-16 Wim Taymans <wim@fluendo.com>
8791 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8793 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8794 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8795 (gst_collect_pads_stop), (gst_collect_pads_event),
8796 (gst_collect_pads_chain):
8797 * libs/gst/base/gstcollectpads.h:
8798 Add refcounting to the collectpads data so we can track when it's safe
8799 to free the data. Fixes #383382.
8801 2006-12-15 Wim Taymans <wim@fluendo.com>
8803 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8804 (gst_collect_pads_remove_pad):
8805 Automatically activate/deactivate pads when they are added to a
8806 started/stoped collectpads.
8808 2006-12-15 Wim Taymans <wim@fluendo.com>
8810 * gst/gstelement.c: (gst_element_add_pad):
8811 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8812 * gst/gstpad.c: (gst_pad_init):
8813 Set pads to FLUSHING when they are created. Check, warn and fix when a
8814 demuxer adds an inactive pad to itself when running. Fixes #339326.
8816 2006-12-15 Wim Taymans <wim@fluendo.com>
8818 * gst/gstelement.c: (gst_element_class_init),
8819 (gst_element_default_send_event), (gst_element_send_event),
8820 (gst_element_default_query), (gst_element_query):
8821 Expose default element send_event and query handling as vmethods that
8822 subclasses can chain up to.
8824 2006-12-15 Wim Taymans <wim@fluendo.com>
8826 * gst/gstelement.c: (gst_element_set_state_func):
8827 Small documentation fixes.
8829 2006-12-15 Wim Taymans <wim@fluendo.com>
8831 * docs/design/draft-latency.txt:
8832 Checked in draft for handling latency in pipelines.
8834 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8838 * gstreamer.spec.in:
8841 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8843 * gst/gst.c: (init_pre), (init_post):
8844 init_pre() and init_post() might be called via our GOptionGroup or
8845 from gst_init(), and we should skip both of them if we've already
8846 been initialised, otherwise we will init some things twice or add
8847 two default log functions.
8849 2006-12-13 Edward Hervey <edward@fluendo.com>
8851 * docs/manual/basics-bus.xml:
8852 No, gst_main_loop does not exist. Its g_main_loop.
8853 Discovered by somebody who abused the copy-paste technique of coding :)
8855 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8857 * gst/gstghostpad.c:
8858 Log ghostpad debug stuff to the GST_PADS category as well rather
8859 than just to the default category.
8861 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8864 * gst/gst.c: (init_pre):
8865 Add some basic system details such as OS and architecture
8866 to the debug output if possible, courtesy of uname().
8868 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8870 * docs/gst/running.xml:
8871 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8872 environment variables.
8874 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8876 * tests/check/gst/gstbin.c: (GST_START_TEST):
8877 It is acceptable to have a refcount of 2 or 3 at this point in the
8878 test, because the pipeline might be just posting its state_change
8879 message. The next line then waits for that message to appear using
8880 bus_poll, so that should be fine too.
8882 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8884 * gst/gst.c: (ensure_current_registry_forking):
8885 Ignore EINTR when reading from the child registry pipe.
8886 Explicitly ignore the return value from close, since it makes no
8889 * gst/gstminiobject.c: (gst_mini_object_ref),
8890 (gst_mini_object_unref):
8891 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8893 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8894 When removing cached plugins, remove their features too, so they're
8895 not visible after they've disappeared.
8897 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8898 In the unlikely case that we are linking pads with no parents, don't
8899 crash trying to get the non-existent parent bin.
8901 * gst/parse/grammar.y:
8902 Output debug in the PIPELINE category
8904 2005-03-08 Wim Taymans <wim@fluendo.com>
8906 Patch by: René Stadler <mail at renestadler dot de>
8908 * gst/gstclock.c: (gst_clock_new_periodic_id):
8909 Reject invalid clock times for interval of periodic ids.
8912 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8914 * gst/gstelementfactory.c: (gst_element_factory_create):
8915 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8916 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8917 * tools/gst-inspect.c: (print_element_info):
8918 Fix refcounting of gst_plugin_feature_load to match the docs.
8921 2006-12-07 Wim Taymans <wim@fluendo.com>
8923 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8924 (gst_base_sink_get_position):
8925 Improve debugging of events.
8927 2006-12-07 Wim Taymans <wim@fluendo.com>
8929 Patch by: René Stadler <mail at renestadler dot de>
8931 * gst/gstclock.c: (gst_clock_id_wait):
8932 Make period ids add the interval to the origial requested time instead
8933 of the possibly updated time which can be wrong when there are multiple
8934 waiters for the same id. Fixes #382592.
8936 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8937 (gst_system_clock_id_wait_jitter_unlocked),
8938 (gst_system_clock_id_wait_jitter):
8939 Fix restart in the async notify thread when an async entry is added to
8940 the front of the list. Fixes #381492.
8942 * tests/check/gst/gstsystemclock.c: (store_callback),
8943 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8944 Added test for multiple async waits.
8945 Added test for async wait order.
8947 2006-12-07 Wim Taymans <wim@fluendo.com>
8949 * gst/gstbin.c: (gst_bin_query):
8950 Add some more docs about the POSITION query.
8952 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8955 Bump version nano - back to CVS.
8957 === release 0.10.11 ===
8959 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8962 releasing 0.10.11, "Love never runs on time"
8964 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8966 * win32/common/libgstbase.def:
8967 * win32/common/libgstreamer.def:
8968 * win32/vs8/libgstbase.vcproj:
8969 * win32/vs8/libgstcoreelements.vcproj:
8970 * win32/vs8/libgstreamer.vcproj:
8971 Fix compilation on win32 under VS8
8972 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8973 Partially fixes #381175
8975 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8977 * gst/gstvalue.c: (gst_value_compare_fraction):
8978 If someone is foolish enough to compare 2 fractions with denominator =
8979 0, return UNORDERED rather than aborting.
8981 2006-11-28 Edward Hervey <edward@fluendo.com>
8983 * libs/gst/base/Makefile.am:
8984 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8985 (gst_data_queue_base_init), (gst_data_queue_class_init),
8986 (gst_data_queue_init), (gst_data_queue_new),
8987 (gst_data_queue_cleanup), (gst_data_queue_finalize),
8988 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8989 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8990 (gst_data_queue_is_empty), (gst_data_queue_is_full),
8991 (gst_data_queue_set_flushing), (gst_data_queue_push),
8992 (gst_data_queue_pop), (gst_data_queue_drop_head),
8993 (gst_data_queue_set_property), (gst_data_queue_get_property):
8994 * libs/gst/base/gstdataqueue.h:
8995 New GstDataQueue object for threadsafe queueing. Most useful for
8996 elements that need some queueing functionnality.
8997 * docs/libs/gstreamer-libs-docs.sgml:
8998 * docs/libs/gstreamer-libs-sections.txt:
8999 Insert documentation for GstDataQueue
9000 * plugins/elements/Makefile.am:
9001 * plugins/elements/gstelements.c:
9002 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9003 (gst_multi_queue_class_init), (gst_multi_queue_init),
9004 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9005 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9006 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9007 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9008 (gst_multi_queue_loop), (gst_multi_queue_chain),
9009 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9010 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9011 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9012 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9013 (wake_up_next_non_linked), (compute_next_non_linked),
9014 (single_queue_overrun_cb), (single_queue_underrun_cb),
9015 (single_queue_check_full), (gst_single_queue_new):
9016 * plugins/elements/gstmultiqueue.h:
9017 New multiqueue element, using GstDataQueue. Used for queuing multiple
9019 Closes #344639 and #347785
9021 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9023 * docs/pwg/advanced-types.xml:
9024 add more missing type details
9026 * tools/gst-run.c: (main):
9027 remove unused variable
9029 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9031 * docs/libs/Makefile.am:
9032 * docs/libs/gstreamer-libs.types:
9033 add types of base classes to enable gobject specific stuff in the docs
9035 * docs/random/ensonic/embedded.txt:
9036 more ideas about isolating platform specific things
9038 2006-11-20 Wim Taymans <wim@fluendo.com>
9040 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9042 * libs/gst/check/gstcheck.h:
9043 Fix compilation and running against 0.9.4. Fixes #377332.
9045 2006-11-20 Wim Taymans <wim@fluendo.com>
9047 * gst/gstsegment.c: (gst_segment_set_seek),
9048 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9049 (gst_segment_to_running_time):
9050 Fix boundary checking in to_running_time() and to_stream_time().
9053 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9054 stream and running time can now be calculated for the complete
9057 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9059 * gst/gstpad.c: (gst_pad_push_event):
9060 Can't access event structure after giving away ownership of
9063 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9065 * docs/random/ensonic/embedded.txt:
9066 * docs/random/ensonic/profiling.txt:
9067 * docs/random/ensonic/receipies.txt:
9070 2006-11-13 Wim Taymans <wim@fluendo.com>
9072 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9075 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9077 2006-11-13 Wim Taymans <wim@fluendo.com>
9079 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9081 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9082 Store new length in segment duration so we don't keep on calling the
9083 potentially expensize get_size() call. Fixes #370865.
9085 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9087 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9089 * win32/common/libgstreamer.def:
9090 Add two missing symbols (#366492).
9092 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9094 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9095 (gst_adapter_take_buffer):
9096 Fix format string to use all its arguments.
9097 Remove useless >= check on a guint
9099 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9101 * tests/examples/adapter/.cvsignore:
9102 Ignore build file as commanded by the build-bot
9104 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9106 * tests/examples/adapter/Makefile.am:
9107 * tests/examples/adapter/adapter_test.c: (run_test_take),
9108 (run_test_take_buffer), (run_tests), (main):
9110 Add new files from the previous commit
9112 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9116 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9117 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9118 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9119 * libs/gst/base/gstadapter.h:
9120 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9121 (GST_START_TEST), (gst_adapter_suite):
9122 * tests/examples/Makefile.am:
9123 Do some optimisation work in GstAdapter to avoid copies in more cases.
9124 It could still do slightly better by merging buffers when
9125 gst_buffer_is_span_fast is true, but is already faster.
9127 Also, avoid traversing a single-linked list to append each incoming
9128 buffer inside the adapter.
9130 Add simple test app that times the adapter behaviour in different
9131 situations, and extend the unit test to check that bytes enter and
9132 exit the adapter in their original order.
9134 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9136 * docs/random/draft-missing-plugins.txt:
9137 Update: use element message instead of adding a new message
9138 type to the core; don't provide GStreamer API to initiate the
9139 plugin download, just provide API to compose the strings needed
9140 and let an external libgimmestuff handle the rest.
9142 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9144 * tools/gst-inspect.c: (print_element_properties_info):
9145 Print a string instead of 'unknown type' for GValueArray properties
9147 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9149 * docs/random/draft-missing-plugins.txt:
9152 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9154 * tests/examples/typefind/typefind.c: (type_found), (main):
9155 Make typefind element example work again (#371894); add a
9158 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9160 * docs/random/draft-missing-plugins.txt:
9161 Commit initial draft about how to deal with missing plugins,
9162 needs work (API too).
9164 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9166 * docs/pwg/advanced-types.xml:
9167 documents the new caps elements (see #363118)
9169 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9171 * gst/gstplugin.c: (gst_plugin_load_file):
9172 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9173 (gst_file_src_map_region), (gst_file_src_start):
9174 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9175 (gst_file_index_commit):
9176 Use g_strerror() instead of strerror() - we want UTF-8.
9178 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9180 Patch by: Peter Kjellerstedt <pkj at axis com>
9182 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9183 Another printf fix (#371493).
9185 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9187 * tests/check/gst/gsttag.c:
9188 relicence (okay with author=company)
9190 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9192 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9193 (gst_pad_push_event):
9194 Enhance debug and improve docs
9199 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9201 * docs/random/ensonic/distributed.txt:
9202 * docs/random/ensonic/profiling.txt:
9205 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9207 * docs/gst/gstreamer-sections.txt:
9208 add new API and fix the build
9210 * gst/gstbin.c: (gst_bin_recalc_state):
9211 * gst/gstelement.c: (gst_element_message_full),
9212 (gst_element_get_state_func), (gst_element_set_state_func):
9213 use new API and improve logging
9215 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9217 API: add function to get StateChangereturn names to improve logs
9219 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9221 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9222 I'm considering shooting the next person to put strerror stuff
9223 in the translateable part of the message.
9225 2006-11-03 Wim Taymans <wim@fluendo.com>
9227 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9228 Get the type and printf conversion specifiers right.
9230 2006-11-03 Wim Taymans <wim@fluendo.com>
9232 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9234 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9235 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9236 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9237 Some small cleanups. Improve debugging.
9239 Signal all waiting threads with a broadcast instead of just one.
9242 2006-11-03 Wim Taymans <wim@fluendo.com>
9244 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9245 (gst_fd_src_create):
9247 Only update fd when it's different from the old.
9249 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9251 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9252 Printf fixes for PPC/OSX, take two (#369366).
9254 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9256 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9258 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9259 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9260 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9261 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9262 don't cast to long long for portability reasons, but use
9263 GLib's types instead.
9265 2006-10-30 Michael Smith <msmith@fluendo.com>
9267 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9268 Get the arguments to lseek() the right way around.
9271 2006-10-30 Wim Taymans <wim@fluendo.com>
9273 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9276 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9278 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9280 Patch by: Kjartan Maraas <kmaraas at gnome org>
9282 * docs/design/part-MT-refcounting.txt:
9283 * docs/random/wtay/capsnego2-docs:
9286 Typo fixes (#366212).
9288 2006-10-28 Wim Taymans <wim@fluendo.com>
9290 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9293 * win32/common/libgstbase.def:
9294 * win32/common/libgstreamer.def:
9295 * win32/vs8/libgstbase.vcproj:
9296 * win32/vs8/libgstcontroller.vcproj:
9297 Add needed entries in .def files.
9299 Rearrange def files in vs8 solutions. Fixes #366286.
9301 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9303 * win32/common/gstconfig.h:
9304 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9305 hand-made win32 gstconfig.h. Fixes #366321.
9307 2006-10-27 Wim Taymans <wim@fluendo.com>
9309 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9310 (gst_ghost_pad_new_full):
9311 Make acceptcaps return TRUE when we don't have a target, just like
9314 2006-10-27 Wim Taymans <wim@fluendo.com>
9316 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9317 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9319 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9321 * gst/gststructure.c: (gst_structure_id_set_value):
9322 If someone tries to set a non-UTF8 string field on a structure,
9323 don't just print a warning, but also ignore the request and do
9324 not change/add that field to the structure.
9326 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9329 2006-10-25 David Schleef <ds@schleef.org>
9332 g_hash_table_insert() needs a cast to a non-const pointer duh.
9334 2006-10-25 David Schleef <ds@schleef.org>
9338 Change name parameter of _gst_debug_register_funcptr to const
9339 to reflect the constness of its use in the function as well
9340 as to quiet a gcc warning.
9342 2006-10-25 Edward Hervey <edward@fluendo.com>
9344 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9345 Don't push the buffer if it's empty.
9348 2006-10-24 Wim Taymans <wim@fluendo.com>
9353 * libs/gst/base/gstbasetransform.c:
9354 (gst_base_transform_sink_eventfunc):
9355 Debug segment values *after* updating them as this is more
9358 2006-10-23 Wim Taymans <wim@fluendo.com>
9360 * docs/design/part-events.txt:
9363 * docs/design/part-block.txt:
9364 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9365 (gst_pad_push_event):
9366 Revert BLOCKING patch, it tries to be smart without really having a
9367 clear idea what or how. So, now we discard all FLUSHING events again on
9368 a blocking pad. Should fix gnonlin again.
9370 2006-10-23 Wim Taymans <wim@fluendo.com>
9372 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9374 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9375 (gst_base_src_start), (gst_base_src_activate_push):
9376 Make sure size is always initialized. Fixes #364388.
9378 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9380 * docs/random/ensonic/distributed.txt:
9381 add some ideas about doing distributed processing
9383 * docs/random/ensonic/profiling.txt:
9384 get_rusage look promising
9386 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9388 * docs/manual/basics-helloworld.xml:
9389 Add a cast in example to fix compile warning
9391 2006-10-18 Wim Taymans <wim@fluendo.com>
9393 * gst/gstsegment.c: (gst_segment_set_last_stop),
9394 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9395 Relax arg checking again, -1 is allowed.
9397 2006-10-18 Wim Taymans <wim@fluendo.com>
9399 * gst/gstsegment.c: (gst_segment_set_last_stop),
9400 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9401 _set_last_stop() must be with a value != -1
9402 A _TYPE_SET to -1 means seek to 0.
9403 Calc last_stop correctly for negative rates.
9404 Make sure we work with positive durations when updating a segment.
9406 2006-10-18 Wim Taymans <wim@fluendo.com>
9408 * docs/design/part-live-source.txt:
9412 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9415 Add an explicit cast to GstBuffer** to keep old code that added an
9416 explicit cast to GstMiniObject** for gst_mini_object_replace()
9417 compiling without warning.
9419 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9421 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9422 check for validity of dates
9424 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9426 * docs/gst/gstreamer-sections.txt:
9427 Forgot this one, makes gtk-doc shut up.
9429 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9431 Patch by: Peter Kjellerstedt <pkj at axis com>
9434 Don't define xmlNodePtr to gpointer if the core was built with
9435 --disable-loadsave and --disable-registry, this will break
9436 applications that want to use libxml2 but are buildling against a
9437 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9438 instead so we don't have to mess with the libxml2 namespace
9441 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9444 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9445 type-punned pointer warnings.
9447 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9450 Add casts to the correct return type to state <=> state transition
9453 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9455 * docs/design/part-live-source.txt:
9456 describe howto handle latency
9458 * docs/random/ensonic/profiling.txt:
9461 * tools/gst-plot-timeline.py:
9462 fix log parsing for solaris, remove unused function
9464 2006-10-16 Wim Taymans <wim@fluendo.com>
9466 * docs/design/part-trickmodes.txt:
9468 Update some docs regarding reverse playback.
9470 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9472 Patch by: Marcus Granado <mrc dot gran at gmail com>
9474 * win32/vs8/grammar.vcproj:
9475 Error out with a warning if glib-genmarshal.exe is not in path,
9476 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9478 2006-10-13 Wim Taymans <wim@fluendo.com>
9480 * gst/gstsegment.c: (gst_segment_set_seek):
9481 When seeking to stop -1, set last_stop (current position) to the
9482 duration of the segment.
9484 2006-10-13 Wim Taymans <wim@fluendo.com>
9487 Clarify _NO_PREROLL a bit more.
9492 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9493 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9494 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9495 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9496 due to wrong locking order. Fixes #361769.
9497 Remove some redundant/misplaced checks in pad_block.
9499 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9500 For negative rates, count backwards from the duration.
9502 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9504 * gst/gsterror.c: (_gst_library_errors_init):
9505 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9506 up with something better).
9508 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9510 * win32/vs6/libgstreamer.dsp:
9511 * win32/vs7/libgstreamer.vcproj:
9512 * win32/vs8/libgstreamer.vcproj:
9513 Don't reference glib-compat.c which is currently not used and not
9514 disted; add gstquark.c which was recently added. Fixes #361730.
9516 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9518 * win32/common/libgstbase.def:
9519 * win32/common/libgstcontroller.def:
9520 * win32/common/libgstreamer.def:
9521 Add gst_caps_merge() and a bunch of other recently-added functions.
9524 2006-10-11 Wim Taymans <wim@fluendo.com>
9526 * docs/plugins/gstreamer-plugins.args:
9527 * docs/plugins/inspect/plugin-coreelements.xml:
9528 * docs/plugins/inspect/plugin-coreindexers.xml:
9529 Update element args.
9531 * gst/gstsystemclock.c:
9532 Small comment update.
9534 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9535 (gst_tee_request_new_pad), (gst_tee_release_pad),
9536 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9537 (gst_tee_sink_activate_pull):
9538 * plugins/elements/gsttee.h:
9540 Add default property defines.
9541 Implement release pad function.
9542 Give properties better blubs etc.
9543 Activate pads before adding them to a running tee.
9544 Do simple buffer_alloc on the first requested pad.
9545 Post error when activation fails.
9547 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9549 * gst/gst.c: (ensure_current_registry_forking):
9550 Check return value of write() to make compiler happy.
9552 2006-10-11 Wim Taymans <wim@fluendo.com>
9554 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9556 * plugins/elements/gstqueue.c: (gst_queue_chain):
9557 Recheck queue filledness after signalling the overrun when we're about
9558 to leak downstream because we released the lock when emitting the signal
9559 and the queue could be empty again. Fixes #352345.
9561 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9563 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9564 Fix refcounting here too, just like we did for _new_valist() a few
9565 days ago (#357180) (thanks to René Stadler). Also remove all those
9566 'Since: 0.9' from the gtk-doc blobs.
9568 * tests/check/libs/controller.c: (controller_refcount_new_list),
9569 (gst_controller_suite):
9570 Unit test for the above.
9572 2006-10-10 Wim Taymans <wim@fluendo.com>
9574 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9576 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9577 (gst_pad_save_thyself):
9579 Write pad direction in XML output. Fixes #345496.
9581 2006-10-10 Wim Taymans <wim@fluendo.com>
9583 Patch by: René Stadler <mail at renestadler dot de>
9585 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9586 (gst_controller_new_list), (_gst_controller_dispose),
9587 (_gst_controller_finalize), (_gst_controller_class_init):
9588 Take ref to controlled object so that it cannot disappear.
9591 2006-10-10 Wim Taymans <wim@fluendo.com>
9593 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9594 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9595 (gst_check_teardown_sink_pad):
9596 Activate/deactivate pads in setup/teardown respectively.
9598 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9600 Patch by: Josep Torra Valles <josep@fluendo.com>
9603 Cast values when making gstenumtypes.h. This pacifies Forte
9604 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9607 2006-10-09 Wim Taymans <wim@fluendo.com>
9609 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9610 Rename some more @cur to @start to fix docs.
9612 * gst/gstsegment.c: (gst_segment_set_seek):
9614 time and start must always stay in sync as defined in design doc.
9616 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9617 Rename param to fix docs.
9619 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9620 Check that start and time are in sync.
9622 * tests/check/pipelines/parse-launch.c:
9623 (gst_parse_test_element_change_state):
9624 Activate pad before adding to the element.
9626 2006-10-09 Wim Taymans <wim@fluendo.com>
9628 * docs/design/part-qos.txt:
9633 Update seek event docs regarding negative rates.
9634 Rename @cur to @start.
9636 * gst/gstsegment.c: (gst_segment_set_seek):
9638 Update set_seek docs regarding negative rates.
9639 Correctly update last_stop to @stop when dealing with negative
9641 Rename @cur to @start.
9643 * tests/check/gst/gstpad.c: (GST_START_TEST):
9644 Activate pads before trying to use them.
9646 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9647 (gst_segment_suite):
9648 Add simple check for segments and negative rates.
9650 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9652 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9654 * docs/gst/gstreamer-sections.txt:
9655 API: add gst_tag_list_is_empty() (#360467).
9657 * tests/check/gst/gsttag.c: (GST_START_TEST):
9660 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9663 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9664 a value that doesn't fit on enumeration.
9666 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9668 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9669 Remove local debugging system and use Gstreamer's instead.
9671 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9673 Patch by: Josep Torra Valles <josep@fluendo.com>
9675 * common/m4/gst-error.m4:
9676 Disable warning of statement not reached on Forte.
9678 Fix warning on Forte (value doesn't fit on enumeration).
9679 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9680 Fix warning on Forte (value doesn't fit on enumeration).
9681 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9682 DEBUG macro says it takes minimum of 2 args and so Forte
9683 complains about the use with just 1 arg.
9684 * plugins/elements/gstfdsink.c:
9685 * plugins/elements/gstfdsrc.c:
9686 * plugins/elements/gstfilesink.c:
9687 * plugins/elements/gstfilesrc.c:
9688 Use correct return type for the uri handler implementations.
9690 All these fix warnings in Forte. Fixes bug #360860.
9692 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9695 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9696 format string, so don't use G_GNUC_PRINTF for those versions.
9698 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9700 * gst/gsttaglist.c: (gst_is_tag_list):
9702 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9704 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9705 Small test for the above.
9707 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9710 Less tabs, more spaces.
9712 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9715 Those two function declarations do actually belong there, revert
9716 commit from yesterday that turned them intro macros.
9718 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9720 Patch by: Josep Torra Valles <josep@fluendo.com>
9722 * gst/gst.c: (gst_init_get_option_group):
9723 Fix empty declaration and type mismatch.
9724 * gst/gstbin.c: (gst_bin_change_state_func):
9726 * gst/gstelement.c: (gst_element_continue_state),
9727 (gst_element_set_state_func), (gst_element_change_state),
9728 (gst_element_change_state_func):
9729 Fix type mismatches.
9730 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9731 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9732 Cast as appropriate.
9733 * gst/gstobject.c: (gst_class_signal_connect):
9734 Cast as appropriate. The function pointer parameter really
9735 has the wrong type but would break API if we change it.
9737 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9738 order of including string.h.
9739 * gst/gstutils.c: (gst_element_state_get_name):
9740 Remove unreachable line.
9741 * gst/gstxml.c: (gst_xml_parse_doc):
9743 All these caught by Forte.
9745 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9747 Patch by: Josep Torra Valles <josep@fluendo.com>
9749 * common/m4/gst-error.m4:
9751 We need to disable warnings on Forte for empty declarations
9752 due to gst-indent adding ;s to lines that just use macros
9753 where the macro actually doesn't need a ; at end to end
9756 2006-10-06 Wim Taymans <wim@fluendo.com>
9758 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9759 (gst_file_sink_close_file), (gst_file_sink_event),
9760 (gst_file_sink_render):
9761 Add some FIXME for the NEWSEGMENT handling.
9763 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9765 * gst/parse/grammar.y:
9766 Remove static function gst_parse_element_lock as all it does
9767 is return. Looks like cruft from 0.8.
9769 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9771 Patch by: Josep Torra Valles <josep@fluendo.com>
9773 * common/m4/gst-error.m4:
9775 * libs/gst/net/Makefile.am:
9776 Fix a compilation issue with Forte on Solaris. inet_aton is in
9779 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9781 * gst/gstpad.c: (pre_activate):
9782 * gst/gstregistry.c: (gst_registry_scan_path_level):
9783 * gst/gstregistryxml.c: (load_plugin):
9784 * libs/gst/controller/gstcontroller.c:
9785 (gst_controlled_property_set_interpolation_mode):
9786 * libs/gst/dataprotocol/dataprotocol.c:
9787 (gst_dp_packet_from_event_1_0):
9788 * libs/gst/net/gstnetclientclock.c:
9789 (gst_net_client_clock_observe_times):
9790 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9793 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9796 * docs/gst/gstreamer-sections.txt:
9797 * gst/gstconfig.h.in:
9800 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9801 whether we can use G_GNUC_PRINTF in other header files and at
9802 least check the printf format/arguments of debug messages and
9803 GST_ELEMENT_ERROR messages when the printf extension is not
9805 Replace more tabs with spaces in gstinfo.h and remove two spurious
9806 function declarations in GST_DISABLE_DEBUG part with macros.
9808 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9810 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9811 More docs for the sync-message signal (mention that it is not
9812 emitted by default); log message structures of messages posted on
9815 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9817 * gst/gst.c: (ensure_current_registry_forking):
9818 Use a pipe pair to receive status results from the forked child, and
9819 ignore the result from waitpid. Fixes #355499
9821 2006-10-02 Wim Taymans <wim@fluendo.com>
9823 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9824 (gst_ghost_pad_suite):
9827 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9830 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9832 2006-10-02 Edward Hervey <edward@fluendo.com>
9834 * docs/design/part-block.txt:
9835 Further explain the use of flushing on blocked pads.
9836 * docs/gst/gstreamer-sections.txt:
9837 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9838 (gst_pad_push_event):
9840 Added new GstPadFlag : GST_PAD_BLOCKING.
9841 Adds the notion of pads really blocking, which enables to properly
9842 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9844 API: gst_pad_is_blocking()
9845 API: GST_PAD_IS_BLOCKING() macro
9846 API: GST_PAD_BLOCKING GstPadFlag
9848 2006-10-02 Wim Taymans <wim@fluendo.com>
9850 Patch by: mrcgran <mrc.gran at gmail dot com>
9852 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9853 Filter the proxied caps against the padtemplate if we have one.
9855 * gst/gstquery.c: (gst_query_new_segment):
9856 Add include for gstinfo.h so that compilation with
9857 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9859 2006-10-02 Wim Taymans <wim@fluendo.com>
9861 Patch by: Alessandro Decina <alessandro at nnva org>
9863 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9864 (gst_file_sink_set_location), (gst_file_sink_open_file),
9865 (gst_file_sink_close_file), (gst_file_sink_event),
9866 (gst_file_sink_render):
9867 Set file to NULL when closing filesink so that we can set a new filename
9868 in READY. Fixes #358613.
9870 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9872 Patch by: Alessandro Decina <alessandro at nnva org>
9874 * gst/gstevent.c: (_gst_event_copy):
9875 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9876 with event structures by setting the parent refcount address of the
9877 copied structure to the address of the refcount member of the newly
9878 copied event rather than the address of the refcount member of the
9879 original event. Fixes #358737.
9881 * tests/check/gst/gstevent.c: (GST_START_TEST):
9882 Unit test for the above.
9884 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9886 * docs/design/Makefile.am:
9887 Dist some more files.
9889 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9891 * tests/check/libs/controller.c: (GST_START_TEST),
9892 (gst_controller_suite):
9893 Add test for the previous fix; add some more tests
9894 for correct refcounting behaviour; fix a few leaks
9895 in test cases; call gst_controller_init() at start
9898 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9900 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9901 (gst_controller_set_from_list):
9902 Don't g_return_val_if_fail() on timed values with invalid timestamps
9903 inside a critical section without unlocking the mutex. Spotted by
9904 René Stadler. (#357617)
9905 Also, fix up refcounting properly: when returning an existing
9906 controller, we should increase the reference only once and not
9907 once per property and when trying to control a property again
9908 we should also increase the refcount.
9910 2006-09-29 Wim Taymans <wim@fluendo.com>
9912 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9913 * libs/gst/net/gstnettimeprovider.c:
9914 (gst_net_time_provider_thread):
9915 Stop reading commands when EOF as well.
9917 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9918 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9919 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9920 Unify description of the dump property.
9922 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9924 * tests/examples/manual/.cvsignore:
9925 OK, so it's actually cvsignore that needs changing. Stop laughing.
9927 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9929 * tests/examples/manual/Makefile.am:
9930 Gah, declare vars *before* using them
9932 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9934 * gst/gst.c: (init_pre), (scan_and_update_registry),
9935 (ensure_current_registry_nonforking),
9936 (ensure_current_registry_forking), (ensure_current_registry),
9937 (init_post), (gst_debug_help), (gst_deinit):
9938 * gst/gst_private.h:
9939 * gst/gstregistry.c: (gst_registry_finalize),
9940 (gst_registry_remove_features_for_plugin_unlocked),
9941 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9942 (gst_registry_scan_path),
9943 (_priv_gst_registry_remove_cache_plugins),
9944 (_priv_gst_registry_cleanup):
9945 * gst/gstregistry.h:
9946 Re-commit the registry changes, along with an extra fix:
9947 When a cached plugin is encountered at a different file path,
9948 update the stored path in the registry cache so that the parent
9949 process knows where it actually is now when it re-reads the registry
9950 cache. Fixes the thing that broke distcheck with the previous commit.
9952 * tests/check/Makefile.am:
9953 Clean up files named 'core' too when running make clean.
9955 * tests/examples/manual/Makefile.am:
9956 Set up a registry path for running these tests, and clean it properly
9959 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9962 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9963 want gmodule-no-export-2.0.pc instead so that we don't drag in
9964 --export-dynamic on every project that links to GStreamer.
9966 Also, make our export regex only match the start of symbols, rather
9967 than any symbol that contains '_gst' somewhere.
9969 * libs/gst/check/Makefile.am:
9970 The libgstcheck we build does however need export-dynamic, as it
9971 produces some symbols that don't match our _gst... style regex.
9974 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9976 * gst/gst.c: (init_pre), (scan_and_update_registry),
9977 (ensure_current_registry_nonforking),
9978 (ensure_current_registry_forking), (ensure_current_registry),
9979 (init_post), (gst_debug_help), (gst_deinit):
9980 * gst/gst_private.h:
9981 * gst/gstregistry.c: (gst_registry_finalize),
9982 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9983 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9984 (_gst_registry_cleanup):
9985 * gst/gstregistry.h:
9986 Revert previous change until I figure out why it breaks distcheck.
9988 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9990 * gst/gst.c: (init_pre), (scan_and_update_registry),
9991 (ensure_current_registry_nonforking),
9992 (ensure_current_registry_forking), (ensure_current_registry),
9993 (init_post), (gst_debug_help), (gst_deinit):
9995 Make init_pre and init_post take the full complement of GOptionFunc
9996 args so they can return useful GErrors. Make the registry updating
9999 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10000 ensure that the registry we're about to write out doesn't contain
10001 stale information about old-deleted plugin files.
10003 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10004 that deletion of plugin files is considered a registry change.
10006 * gst/gst_private.h:
10007 * gst/gstregistry.c: (gst_registry_finalize),
10008 (gst_registry_remove_features_for_plugin_unlocked),
10009 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10010 (gst_registry_scan_path),
10011 (_priv_gst_registry_remove_cache_plugins),
10012 (_priv_gst_registry_cleanup):
10013 * gst/gstregistry.h:
10014 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10015 by adding _priv prefix, so that they won't appear in the global
10016 symbol table. They still do atm though because of #318031. Move the
10017 prototypes to gst_private.h
10019 When removing a plugin, remove all features for that plugin too.
10022 2006-09-27 Wim Taymans <wim@fluendo.com>
10024 * docs/random/moving-plugins:
10025 Make it clear that the "compiled-in descriptions" really mean
10026 the element details.
10028 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10029 (gst_base_sink_wait_preroll):
10032 * docs/libs/gstreamer-libs-sections.txt:
10033 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10034 (gst_base_src_get_range), (gst_base_src_activate_push):
10035 * libs/gst/base/gstbasesrc.h:
10036 Added function to block while waiting for PLAYING, this function
10037 is used by live sources that block on the clock.
10038 API: gst_base_src_wait_playing()
10040 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10042 Patch by: Peter Kjellerstedt <pkj at axis com>
10045 gst-element-check.m4 is generated and should therefore be
10046 copied from the build dir rather than the source dir (#357593).
10047 'make distcheck' hasn't noticed this because we were disting
10048 the file as well, so stop doing that.
10050 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10052 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10053 Add some tests for gst_caps_intersect().
10055 * tools/gst-launch.c: (event_loop):
10056 Print all buffering percentages we get, even the 100% one.
10058 2006-09-26 Wim Taymans <wim@fluendo.com>
10060 * tools/gst-inspect.c: (print_element_properties_info),
10061 (print_signal_info):
10062 Fix printing of flags to match the look of enums.
10064 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10066 * gst/gstelementfactory.c:
10067 Fix typo in docs blurb.
10069 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10071 * gst/gsturi.c: (search_by_entry):
10072 Don't assert/crash here if a uri handler doesn't return any
10073 supported protocols. The list of protocols could be generated
10074 dynamically at runtime or at plugin registration, and an error
10075 in the underlying library shouldn't be fatal (#353301).
10077 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10080 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10081 (spotted by Peter Kjellerstedt).
10083 2006-09-23 Wim Taymans <wim@fluendo.com>
10085 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10087 * libs/gst/base/gstbasesrc.c:
10088 (gst_base_src_default_check_get_range), (gst_base_src_start),
10089 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10090 (gst_base_src_change_state):
10091 Match _start/_stop calls in the activate functions. Remove redundant
10092 _stop call from the state change function. Fixes #356910.
10093 Turn failure DEBUG into ERROR.
10095 2006-09-22 Wim Taymans <wim@fluendo.com>
10097 * docs/design/part-buffering.txt:
10098 * gst/gstmessage.c: (gst_message_new_buffering),
10099 (gst_message_parse_buffering):
10100 Update docs about buffering.
10102 * docs/design/part-trickmodes.txt:
10105 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10107 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10108 (gst_controller_new_list):
10109 Ref instances when returning them again (fixes #357180)
10111 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10113 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10114 Don't forget to release proxy lock when there's an error.
10116 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10119 Add extra initialisers for Caps things, to fix some plugin warnings
10122 2006-09-18 Wim Taymans <wim@fluendo.com>
10124 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10125 Also set template on the internal pad so that a getcaps from the
10126 target pad returns the template caps.
10128 2006-09-18 Wim Taymans <wim@fluendo.com>
10130 * gst/gstelement.c: (gst_element_post_message),
10131 (gst_element_dispose):
10132 Use _DEBUG_OBJECT some more.
10134 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10137 * tools/gst-launch.c: (main):
10138 If the toplevel element is not a GstPipeline, it must be put in a
10139 pipeline so that a bus and clock is selected.
10141 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10143 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10144 JITTER, RATE, and LATENCY query should be handled by the
10145 default case and not by the CONVERT query code.
10147 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10149 * gst/gstformat.c: (gst_format_register):
10150 Fix locking order (must take lock before using n_values).
10152 * gst/gstvalue.c: (gst_value_serialize_enum),
10153 (gst_value_deserialize_enum_iter_cmp),
10154 (gst_value_deserialize_enum):
10155 Fix serialisation/deserialisation of custom registered GstFormats.
10157 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10158 Unit test for custom format serialisation/deserialisation.
10160 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10162 * docs/pwg/building-boiler.xml:
10163 * plugins/elements/gstcapsfilter.c:
10164 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10167 2006-09-16 Edward Hervey <edward@fluendo.com>
10169 * libs/gst/base/gstbasetransform.c:
10170 (gst_base_transform_buffer_alloc):
10171 Check if requested caps are the same as the sinks caps IF
10172 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10174 This fixes the renegotiation issues stated in #352827.
10176 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10179 * docs/manual/advanced-autoplugging.xml:
10180 * tests/examples/Makefile.am:
10181 * tests/examples/manual/.cvsignore:
10182 * tests/examples/manual/Makefile.am:
10183 * tests/examples/manual/extract.pl:
10184 Extract the manual examples again like we used to do.
10187 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10189 * win32/common/config.h:
10192 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10195 Documents how to receive errors.
10197 2006-09-15 Wim Taymans <wim@fluendo.com>
10199 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10200 (event_loop), (main):
10201 Added some comments here and there.
10202 Post an application message when an interrupt is caught instead of doing
10203 an uncontrolled state change.
10204 Clean up the event loop.
10205 Handle buffering messages, pause/resume the pipeline.
10206 Make shutdown because of an interrupt more reliable.
10208 2006-09-15 Wim Taymans <wim@fluendo.com>
10210 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10211 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10212 (gst_base_sink_preroll_object):
10213 Make sure that our internal state is correct when we commit our state
10214 asynchronously. This solves a race where a state change to PLAYING
10215 could cause the sink to remain blocked in preroll in some situations.
10217 2006-09-15 Wim Taymans <wim@fluendo.com>
10219 * tools/gst-inspect.c: (print_element_properties_info),
10220 (print_signal_info):
10221 List flags as hex so it's easier to deal with.
10223 2006-09-15 Wim Taymans <wim@fluendo.com>
10225 * docs/libs/gstreamer-libs-sections.txt:
10226 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10227 (gst_base_sink_do_sync):
10228 * libs/gst/base/gstbasesink.h:
10229 Expose logic to wait for preroll so that subclasses such as audiosink
10230 can also use this method.
10231 API: gst_base_sink_wait_preroll()
10233 2006-09-15 Wim Taymans <wim@fluendo.com>
10235 * gst/gstobject.c: (gst_object_set_parent):
10236 * gst/gstpipeline.c: (do_pipeline_seek):
10237 Small cleanups in docs and code.
10239 * gst/gstsegment.c: (gst_segment_clip):
10240 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10241 if stop == start and start is in the segment, no clipping should be
10242 done. Also add a test for this.
10244 2006-09-15 Wim Taymans <wim@fluendo.com>
10246 * docs/design/part-buffering.txt:
10247 * docs/gst/gstreamer-sections.txt:
10248 * gst/gstmessage.c: (gst_message_new_buffering),
10249 (gst_message_parse_buffering):
10250 * gst/gstmessage.h:
10251 Added methods to create and parse BUFFERING messages.
10252 Added preliminary docs about buffering.
10253 API: gst_message_new_buffering
10254 API: gst_message_parse_buffering
10256 2006-09-06 Wim Taymans <wim@fluendo.com>
10259 Update documentation.
10261 * gst/gstelement.c: (gst_element_class_init),
10262 (gst_element_release_request_pad), (gst_element_set_clock),
10263 (gst_element_get_index), (gst_element_add_pad),
10264 (gst_element_remove_pad), (gst_element_get_random_pad),
10265 (gst_element_send_event), (gst_element_get_query_types),
10266 (gst_element_query), (gst_element_post_message),
10267 (gst_element_message_full), (gst_element_continue_state),
10268 (gst_element_lost_state), (gst_element_save_thyself),
10269 (gst_element_restore_thyself):
10270 Documentation updates.
10271 Rename last bit of the new-pad -> pad-added signal rename.
10272 Fix the case where an element query would only work if the source
10274 Avoid some useless type checking in message handling.
10279 Documentation updates.
10281 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10283 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10284 add an INFO line for when we actually update the fd
10286 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10291 === release 0.10.10 ===
10293 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10296 releasing 0.10.10, "Pais"
10298 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10300 * docs/manual/advanced-position.xml:
10301 Fix typo in sample code.
10303 2006-09-05 Wim Taymans <wim@fluendo.com>
10305 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10306 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10307 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10308 * libs/gst/net/gstnetclientclock.h:
10309 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10310 * libs/gst/net/gstnettimepacket.h:
10311 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10312 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10313 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10314 * libs/gst/net/gstnettimeprovider.h:
10315 Make stuff compile on windows. Fixes #345295.
10317 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10319 * gst/gst.c: (ensure_current_registry_forking):
10320 Print better details when child was terminated by signal.
10322 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10324 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10325 Print a warning rather than g_assert() if a plugin feature
10326 is a URI handler but returns no protocols (#353976).
10328 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10330 * docs/random/moving-plugins:
10333 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10335 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10336 Fix locking order, handle NULL function values properly.
10341 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10342 Initialise variable before using it and fix debug statement to
10343 print the address of the function rather than the address of the
10344 variable on the stack holding the address of the function.
10346 2006-09-01 Wim Taymans <wim@fluendo.com>
10348 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10349 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10350 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10351 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10352 (gst_ghost_pad_parent_unset),
10353 (gst_ghost_pad_internal_do_activate_push),
10354 (gst_ghost_pad_internal_do_activate_pull),
10355 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10356 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10357 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10358 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10359 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10360 (gst_ghost_pad_new_no_target_from_template),
10361 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10363 Avoid needless typechecking in macros.
10364 Since the internal pad is always present and never changes, there is
10365 no need to locking or ref when retrieving it.
10366 Improve debugging a bit.
10367 Handle link errors when setting the target. Fixes #341029.
10369 2006-09-01 Wim Taymans <wim@fluendo.com>
10371 * docs/libs/gstreamer-libs-sections.txt:
10372 * docs/plugins/gstreamer-plugins-sections.txt:
10373 Fix docs some more.
10375 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10376 (gst_collect_pads_event):
10377 * libs/gst/base/gstcollectpads.h:
10378 Documentation updates.
10379 Free queued buffer when removing a pad.
10381 2006-08-31 Michael Smith <msmith@fluendo.com>
10383 * gst/gstutils.c: (gst_element_link_pads),
10384 (gst_element_link_pads_filtered):
10385 Ensure that we set a capsfilter to NULL if we failed to link it
10386 when doing filtered linking, to avoid criticals.
10388 No need to check for unreffing srcpad, which is explicly NULLed
10389 above (a trivial code cleanup).
10391 2006-08-31 Wim Taymans <wim@fluendo.com>
10393 * docs/design/part-gstghostpad.txt:
10394 Update ascii art in documentation.
10396 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10397 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10398 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10399 (gst_ghost_pad_internal_do_activate_push),
10400 (gst_ghost_pad_internal_do_activate_pull),
10401 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10402 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10403 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10404 (gst_ghost_pad_set_target):
10405 Small cleanups and leak fixes.
10406 Remove some checks now that the internal pad is never NULL.
10407 Fix the case where linking pads without a target would create nasty
10408 criticals. Fixes #341029.
10409 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10410 value of _set_target().
10412 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10413 (gst_ghost_pad_suite):
10414 Some more tests for creating and linking untargeted ghostpads.
10416 2006-08-31 Edward Hervey <edward@fluendo.com>
10418 * docs/gst/gstreamer-sections.txt:
10419 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10420 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10421 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10422 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10423 (gst_ghost_pad_new_from_template),
10424 (gst_ghost_pad_new_no_target_from_template):
10425 * gst/gstghostpad.h:
10426 Refactored *_new() functions.
10427 Templates are now used as a g_object_new() parameter.
10428 Use template in _do_getcaps() if we don't have a target.
10429 Small documentation cleanups.
10430 Added two new constructors:
10431 gst_ghost_pad_new_from_template()
10432 gst_ghost_pad_new_no_target_from_template()
10433 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10434 (gst_ghost_pad_suite):
10435 Added tests for new ghostpad instanciation functions.
10437 API additions: gst_ghost_pad_new_from_template,
10438 gst_ghost_pad_new_no_target_from_template
10440 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10442 * docs/random/ensonic/profiling.txt:
10443 Ideas about qos profiling.
10445 2006-08-29 Wim Taymans <wim@fluendo.com>
10447 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10451 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10454 Improve and detypofy docs.
10456 * tests/check/Makefile.am:
10457 * tests/check/gst/.cvsignore:
10458 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10459 Add a basic test suite for GstXML.
10461 2006-08-29 Wim Taymans <wim@fluendo.com>
10463 * gst/gstelement.c: (activate_pads), (clear_caps),
10464 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10465 Clear the pad caps when the element shut down all of the pads and
10466 is not streaming data that could modify the caps.
10469 2006-08-28 Michael Smith <msmith@fluendo.com>
10471 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10472 Revert previous change; I misunderstood single-segment mode.
10474 2006-08-28 Michael Smith <msmith@fluendo.com>
10476 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10477 Unset DISCONT on buffers when using single-segment mode.
10479 2006-08-28 Wim Taymans <wim@fluendo.com>
10481 * gst/gstcaps.c: (gst_caps_merge_structure):
10483 Fix docs and indentation again.
10485 * tests/check/gst/gstquery.c: (GST_START_TEST):
10486 Fix leak in tests and add some more tests.
10488 2006-08-28 Edward Hervey <edward@fluendo.com>
10490 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10491 Inform GstSegment of the last stop position in order for the current
10492 segment to have a proper duration if it doesn't have a specific stop
10493 position from which a duration could be calculated.
10494 This bug was noticeable when a non-flushing, non-update new segment was
10495 followed by another segment (all buffers from the new segment were being
10498 2006-08-28 Wim Taymans <wim@fluendo.com>
10500 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10501 Small comment update.
10503 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10504 (gst_identity_transform_ip):
10505 Drop-probability is broken, mention this in the code with a
10506 FIXME and also in the property description.
10507 Make silent also be silent about the drop messages.
10509 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10511 * docs/manual/appendix-win32.xml:
10512 Remove mention of popt, we don't depend on that any
10513 longer (#353136). Add some comments pointing out that
10514 this section is slightly outdated.
10516 2006-08-28 Wim Taymans <wim@fluendo.com>
10518 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10520 * gst/gstquery.c: (gst_query_new_segment):
10521 * tests/check/gst/gstquery.c: (GST_START_TEST):
10522 Initialize variables when creating a new segment query.
10525 2006-08-28 Wim Taymans <wim@fluendo.com>
10527 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10529 * gst/gstelement.c: (gst_element_get_bus):
10530 * tests/check/gst/gstelement.c: (GST_START_TEST):
10531 Check for NULL before _reffing the bus. Fixes #353122.
10533 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10535 * docs/manual/basics-bus.xml:
10536 Docs update: fix wrong callback return value explanation; add
10537 some lines about the implicit relationship between main loop
10538 and main context; remove duplicate main loop variable declaration.
10540 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10542 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10543 Don't leak caps in unit test; add a few more simple
10546 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10548 * docs/gst/gstreamer-sections.txt:
10549 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10550 (gst_caps_structure_is_subset), (gst_caps_merge),
10551 (gst_caps_merge_structure):
10553 * libs/gst/base/gstbasetransform.c:
10554 (gst_base_transform_transform_caps):
10555 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10556 implement caps merging (fixes #352580)
10558 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10560 * tools/Makefile.am:
10561 * tools/gst-plot-timeline.py:
10562 add debug-log plotting developer tool (#340674)
10564 2006-08-23 Wim Taymans <wim@fluendo.com>
10566 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10567 (gst_pad_stop_task):
10568 Improve debugging for task functions.
10570 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10571 (gst_task_start), (gst_task_pause), (gst_task_join):
10572 Make sure that the task function started and finished after a
10574 Don't try to push the task function on the threadpool multiple
10576 Improve the g_warning message with some useful suggestions
10577 about how to fix the problem.
10579 2006-08-23 Wim Taymans <wim@fluendo.com>
10581 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10582 Handle RESYNC correctly in _proxy_getcaps.
10584 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10586 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10587 (gst_xml_parse_memory), (gst_xml_get_element):
10588 Chain up to parent class in dispose function and also
10589 unref the elements in the toplevel_elements GList.
10590 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10591 Always return a reference in gst_xml_get_element() rather
10592 than only sometimes.
10594 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10595 Don't leak GstXml object.
10597 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10599 * docs/gst/gstreamer-sections.txt:
10600 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10603 * libs/gst/base/gstbasetransform.c:
10604 (gst_base_transform_transform_caps):
10605 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10608 2006-08-21 Edward Hervey <edward@fluendo.com>
10610 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10611 Implement GObject::dispose virtual method in GstXML so we can free the
10612 top_elements GList.
10614 2006-08-21 Wim Taymans <wim@fluendo.com>
10616 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10617 (gst_buffer_create_sub):
10618 Copy duration/offset_end/caps when creating a subbuffer of the
10620 Make the subbuffer read-only when we make the metadata writable for
10621 now. Fixes #351768.
10623 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10624 Added check for metadata copy when creating subbuffers.
10626 2006-08-21 Edward Hervey <edward@fluendo.com>
10628 * libs/gst/base/gstbasetransform.c:
10629 (gst_base_transform_buffer_alloc):
10630 Only call downstream buffer_alloc if transform element is passthrough
10631 or always_in_place. Closes #350449.
10633 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10636 ChangeLog surgery to add comments to previous changes
10638 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10643 * gst/gstpad.c: (gst_pad_set_active):
10644 Be more verbose in the log
10646 * libs/gst/base/gstbasetransform.c:
10647 (gst_base_transform_transform_caps):
10648 Simplify caps to get rid of duplicates, fixes #345444
10650 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10654 Use these optimizations only internally.
10656 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10658 * gst/gstvalue.c: (gst_value_compare_list),
10659 (gst_value_compare_fraction_range),
10660 (gst_value_intersect_fraction_fraction_range),
10661 (gst_value_intersect_fraction_range_fraction_range),
10662 (gst_value_subtract_fraction_fraction_range),
10663 (gst_value_subtract_fraction_range_fraction_range),
10664 (gst_value_get_compare_func), (gst_value_compare),
10665 (gst_value_compare_with_func):
10667 Saves the expensive lookup of the compare function in many cases
10670 2006-08-18 Edward Hervey <edward@fluendo.com>
10672 * tests/check/gst/gstinfo.c: (gst_info_suite):
10673 Disable test that require gstdebug if it wasn't built in core.
10675 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10677 * docs/random/ensonic/logging.txt:
10680 * gst/gstinfo.c: (gst_debug_log_default):
10681 reorder fields, save some columns, add optional color codes for log
10684 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10686 * docs/random/ensonic/logging.txt:
10687 add ideas about making the logs a bit more useful
10689 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10691 * docs/pwg/advanced-events.xml:
10692 * docs/pwg/titlepage.xml:
10693 Update for 0.10 API (#340627). Add myself
10696 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10698 * docs/libs/gstreamer-libs-docs.sgml:
10699 * docs/libs/gstreamer-libs-sections.txt:
10700 * libs/gst/check/gstbufferstraw.c:
10701 Make gstcheck stuff show up in docs (still needs to
10702 be documented properly though).
10704 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10706 * docs/gst/gstreamer-sections.txt:
10708 * gst/gst.c: (init_post):
10709 * gst/gst_private.h:
10710 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10712 * gst/gstquery.c: (gst_query_new_position),
10713 (gst_query_set_position), (gst_query_parse_position),
10714 (gst_query_new_duration), (gst_query_set_duration),
10715 (gst_query_parse_duration), (gst_query_new_convert),
10716 (gst_query_set_convert), (gst_query_parse_convert),
10717 (gst_query_new_segment), (gst_query_set_segment),
10718 (gst_query_parse_segment), (gst_query_new_seeking),
10719 (gst_query_set_seeking), (gst_query_parse_seeking):
10720 Add internal helpers for pre-registering quarks from static strings
10721 and using the quark values directly instead of looking them up when
10722 creating and parsing queries. Can be used for event construction too.
10725 2006-08-16 Wim Taymans <wim@fluendo.com>
10730 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10732 * gst/gstutils.c: (gst_util_set_value_from_string):
10733 Fix memleak (#351502).
10735 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10736 Add unit test for most of gst_util_set_value_from_string()
10737 (not that one would want to encourage use of this function).
10739 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10741 * libs/gst/check/gstcheck.h:
10742 Use const gchar * variables in fail_unless_equals_string
10743 macro to avoid compiler warnings (and don't use tabs for
10746 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10748 * tools/gst-launch.c: (print_tag):
10749 More space on the left for the tag names, to cater
10750 for the 'extended comment' tag (not touching the
10751 string for the first line since it's translated).
10753 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10755 * libs/gst/check/gstcheck.h:
10756 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10757 print something when they fail.
10759 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10761 * docs/gst/gstreamer-sections.txt:
10762 * gst/gsttaglist.c: (_gst_tag_initialize):
10763 * gst/gsttaglist.h:
10764 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10765 Also change merge function for GST_TAG_COMMENT to
10768 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10770 * gst/gstinfo.c: (gst_debug_print_object):
10771 Make GST_PTR_FORMAT print messages as well.
10773 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10774 (GST_START_TEST), (gst_info_suite):
10777 2006-08-14 Edward Hervey <edward@fluendo.com>
10779 * gst/gstelementfactory.c: (gst_element_register):
10780 If the GstElementClass doesn't have a GstElementDetails with all fields
10781 filled up correctly (longname, description AND author), then error out
10782 nicely instead of crashing.
10784 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10786 * gst/gststructure.c:
10787 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10790 Expand on the difference between arrays and lists as we use them.
10792 2006-08-14 Wim Taymans <wim@fluendo.com>
10794 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10795 If the parent state change function failed, don't assume we can safely
10796 stop the source, this will be done when the pads are deactivated.
10798 2006-08-14 Wim Taymans <wim@fluendo.com>
10801 * gst/gsttask.c: (gst_task_join):
10804 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10805 (gst_pad_stop_task):
10806 When pad (de)activation failed for some reason, restore the old
10807 activation mode and set the pad to flushing instead of assuming the
10808 pad is deactivated.
10809 If the _task_join() failed, reinstall the task on the pad so that it can
10810 be stopped later and return an error.
10812 2006-08-11 Andy Wingo <wingo@pobox.com>
10815 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10816 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10817 is only for users of API that don't want to see deprecated
10818 functions in the headers; people that want to compile out
10819 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10820 CFLAGS. Fixes the build of multifdsink, or will soon..
10822 2006-08-11 Wim Taymans <wim@fluendo.com>
10824 * docs/gst/gstreamer-sections.txt:
10825 Add GstClockClass vmethod docs.
10828 Mark #endif with comment for associated #if
10830 * gst/gstclock.c: (gst_clock_id_wait):
10832 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10833 most clock implementations.
10835 Flesh out docs about resolution methods.
10836 API: GstClockClass::wait_jitter
10838 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10839 (gst_system_clock_async_thread),
10840 (gst_system_clock_id_wait_jitter_unlocked),
10841 (gst_system_clock_id_wait_jitter):
10842 Use base class wait_jitter variant for improved performance
10843 due to less clock polling.
10845 2006-08-11 Edward Hervey <edward@fluendo.com>
10847 * gst/gst.c: (gst_init_check), (init_post):
10848 Set gst as being initialized before scanning/updating the registry,
10849 since there might be my python plugin loader that calls gst_init() and
10850 we don't want to loop back in.
10853 2006-08-11 Wim Taymans <wim@fluendo.com>
10855 * docs/design/part-qos.txt:
10856 Bring docs in line with the code. Mostly the sign of the jitter was
10857 wrong in the docs. Fixes #349943.
10860 Fix the docs for the jitter.
10862 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10863 (gst_event_parse_tag), (gst_event_new_buffer_size),
10864 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10865 (gst_event_new_seek), (gst_event_parse_seek),
10866 (gst_event_new_navigation):
10867 Make sure the GstStructure has no parent when creating custom
10869 Add some more argument checking so that we avoid 0.0 rates.
10870 Flesh out the docs for the QoS event some more.
10872 2006-08-11 Wim Taymans <wim@fluendo.com>
10874 * docs/gst/gstreamer-sections.txt:
10875 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10876 (ensure_current_registry_forking), (ensure_current_registry),
10877 (parse_one_option), (parse_goption_arg), (gst_deinit),
10878 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10881 Added API and command line option to disable registry forking in
10882 addition to the environment variable.
10883 Constify some static arrays.
10884 Added some more debug.
10885 Don't deinit twice.
10886 API: gst_registry_fork_is_enabled()
10887 API: gst_registry_fork_set_enabled()
10888 API: --gst-disable-registry-fork command line option
10891 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10893 * gst/gst.c: (gst_init):
10894 Fix typo in error message.
10896 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10898 * libs/gst/controller/gstcontroller.h:
10899 fix ABI size-correction
10901 * tests/check/libs/gdp.c: (gst_dp_suite):
10902 make tests that use deprecated API conditional
10904 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10906 * docs/libs/gstreamer-libs-sections.txt:
10907 * libs/gst/controller/gstcontroller.c:
10908 (_gst_controller_get_property), (_gst_controller_set_property),
10909 (_gst_controller_init), (_gst_controller_class_init):
10910 * libs/gst/controller/gstcontroller.h:
10911 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10912 (gst_object_set_control_rate):
10913 API: add gst_object_{s,g}et_control_rate(), add private data section,
10916 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10917 * libs/gst/dataprotocol/dataprotocol.h:
10918 add deprecation guards to make gtk-doc happy and allow disabling cruft
10920 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10922 * tests/check/Makefile.am:
10923 * tests/check/gst/.cvsignore:
10924 Let's enable the new unit test as well.
10926 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10929 * docs/gst/gstreamer-sections.txt:
10930 * gst/gstconfig.h.in:
10931 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10932 (_gst_info_printf_extension_ptr),
10933 (_gst_info_printf_extension_segment):
10934 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10935 register that lets us easily dump GstSegments into debug
10938 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10939 (info_segment_format_printf_extension), (gst_info_suite):
10940 Add simple unit test that logs a bunch of different segments (not
10941 valgrinded at the moment because of leaks in
10942 gst_debug_add_log_function).
10944 2006-08-09 Edward Hervey <edward@fluendo.com>
10946 * libs/gst/base/gstbasetransform.c:
10947 (gst_base_transform_buffer_alloc):
10948 Even if we can't figure out the proper format to request downstream,
10949 call buffer_alloc() downstream with the input parameters without setting
10950 the caps on the srcpad. This will force negotiation in the chain
10954 2006-08-08 Edward Hervey <edward@fluendo.com>
10956 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10957 Unlinking from a pad without a target is now a perfectly valid case
10958 which should NOT raise an assertion.
10959 This case would happen if a linked ghostpad its target set to NULL after
10960 it was previously linked.
10962 2006-08-08 Edward Hervey <edward@fluendo.com>
10964 * tests/check/libs/gdp.c:
10965 Also comment out the test (see below).
10967 2006-08-08 Edward Hervey <edward@fluendo.com>
10969 * tests/check/libs/gdp.c: (gst_dp_suite):
10970 Use the architecture information from config.h and not gcc macros
10971 in order to properly disable a test that fails on PPC64.
10973 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10975 * gst/gstelement.c: (gst_element_remove_pad):
10976 Don't crash printing the warning if the pad has no parent.
10978 2006-08-02 Wim Taymans <wim@fluendo.com>
10980 * libs/gst/dataprotocol/dataprotocol.c:
10981 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10982 (gst_dp_crc), (gst_dp_header_payload_length),
10983 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10984 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10985 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10986 (gst_dp_event_from_packet), (gst_dp_validate_header),
10987 (gst_dp_validate_payload):
10988 Make debug category static
10989 Constify the crc table.
10990 Do some more arg checking in public functions.
10991 Fix some docs and do some small cleanups.
10993 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10994 Add some more checks to see if GDP deals with bogus input.
10996 2006-07-31 Wim Taymans <wim@fluendo.com>
10998 * gst/gstvalue.c: (gst_value_compare_list):
10999 Fix GstValueList comparison code. Fixes #347293.
11001 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11002 Check to test GstValueList comparison.
11004 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11006 * gst/gstelementfactory.c: (gst_element_factory_create):
11007 Remove unnecessary ref/unref pair
11009 * gst/parse/grammar.y:
11010 Make sure to free the parse buffer on all code paths.
11011 Move a g_free up to the error handler where it's easier to see.
11013 * tests/check/gst/gstevent.c: (test_event):
11014 Extending timeout for downstream travelling events to 10 seconds to
11015 hopefully avoid intermittent failure on the buildbots.
11017 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11018 Don't manually set the state of the src element - it will happen as a
11019 natural consequence of the pipeline changing state, and that way it
11020 will do it in the right order too.
11022 2006-07-31 Wim Taymans <wim@fluendo.com>
11024 * libs/gst/base/gstbasetransform.c:
11025 (gst_base_transform_buffer_alloc):
11026 Use OBJECT_LOCK and refcounting to get the pad caps in the
11027 buffer_alloc function because the caps could change while we are
11028 busy with them. Fixes #349105
11030 2006-07-31 Wim Taymans <wim@fluendo.com>
11032 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11033 Protect _PAD_CAPS with OBJECT_LOCK.
11035 2006-07-31 Wim Taymans <wim@fluendo.com>
11037 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11038 (gst_pad_get_property), (gst_pad_activate_pull),
11039 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11040 (gst_pad_set_activate_function),
11041 (gst_pad_set_activatepull_function),
11042 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11043 (gst_pad_set_getrange_function),
11044 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11045 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11046 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11047 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11048 (gst_pad_set_acceptcaps_function),
11049 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11050 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11051 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11052 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11053 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11054 (gst_pad_configure_sink), (gst_pad_configure_src),
11055 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11056 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11057 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11058 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11059 (gst_pad_send_event):
11060 Use _DEBUG_OBJECT when it makes sense.
11061 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11062 Small cleanups and code reflows.
11063 Avoid caps refcounting in _accept_caps.
11064 Refactor alloc_buffer so that the code performed on the peer is in a
11065 separate function. Also if the pad does not implement a buffer alloc
11066 function, we should still check if the pad is flushing before falling
11067 back to the default allocator.
11069 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11071 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11072 Make all uses of identity and fakesink have silent=true to avoid
11073 serialising every passing data structure, which is breaking tests
11074 on FC4 for some unknown reason.
11076 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11078 * gst/parse/Makefile.am:
11079 * gst/parse/grammar.y:
11080 * gst/parse/parse.l:
11081 Reverted previous patch as it required to bump the flex dependency to
11082 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11084 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11086 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11088 * gst/parse/Makefile.am:
11089 * gst/parse/grammar.y:
11090 * gst/parse/parse.l:
11091 push & pop the state of the lexer for reentrant use case
11094 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11096 * libs/gst/base/gstbasesrc.h:
11097 Note in the docs that the ::newsegment vfunc is not actually used by
11100 2006-07-28 Wim Taymans <wim@fluendo.com>
11102 * libs/gst/base/gstcollectpads.c:
11103 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11104 (gst_collect_pads_clear), (gst_collect_pads_flush),
11105 (gst_collect_pads_event), (gst_collect_pads_chain):
11106 When flushing a pad, also clear the queued buffer so that we don't
11107 accidentally use it when we shouldn't.
11108 Fix leaks by inreffing incomming buffer.
11109 Flush out queued buffers in case of errors.
11112 2006-07-28 Wim Taymans <wim@fluendo.com>
11114 * docs/random/phonon-gst:
11115 Random notes about a Phonon backend.
11117 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11119 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11121 * tests/check/libs/gdp.c: (gst_dp_suite):
11122 Take a whack at fixing the ppc compile using a different define to
11123 disable the broken test.
11125 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11126 Remove excess g_print()
11128 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11130 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11131 Oops, meant to uncomment this line too to dampen the noise a bit.
11133 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11135 * gst/parse/grammar.y:
11136 * gst/parse/parse.l:
11137 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11138 (GST_START_TEST), (parse_suite):
11139 Fix some of the leaks exposed by extending the parse-launch testsuite,
11140 and move the 3 I can't figure out into a separate test that won't run
11141 the pipelines unless the appropriate line is uncommented.
11143 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11145 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11146 Requesting 0 bytes before the end of the file should result in
11147 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11150 2006-07-27 Wim Taymans <wim@fluendo.com>
11152 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11153 Fix useless assert, a uint is always positive.
11155 * gst/gststructure.c: (gst_structure_nth_field_name),
11156 (gst_structure_foreach), (gst_structure_map_in_place):
11157 Check input arguments for public functions to avoid obvious crashes.
11159 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11160 * plugins/elements/gstfakesink.h:
11161 Do less useless typechecking.
11163 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11165 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11166 Do not use mmap() by default since there are a number of error
11167 conditions that we would like to handle in a non-fatal way that
11168 will result in a SIGBUS if we use mmap(). Examples: external
11169 devices (USB harddrive, portable music player) being unplugged
11170 while in use; file on mounted CD/DVD that can't be read because
11171 the medium is partly damaged. Fixes #348455 and #348475.
11173 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11176 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11177 rates are a gdouble
11179 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11181 * gst/gstregistry.c:
11182 Move big documentation comment into class section header, so that it
11183 appears in the API docs.
11185 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11187 * docs/gst/gstreamer-sections.txt:
11188 Oops. Commit the docs additions too for new API.
11189 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11191 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11193 * gst/gststructure.c: (gst_structure_id_set),
11194 (gst_structure_id_set_valist):
11195 * gst/gststructure.h:
11196 Add API for setting values into structures without performing
11197 a quark lookup, if the appropriate quark is already known.
11199 API: gst_structure_id_set
11200 API: gst_structure_id_set_valist
11202 * gst/parse/grammar.y:
11203 * gst/parse/parse.l:
11204 Remove some dead code shown by the coverage information.
11205 Don't throw a critical g_warning when encountering a syntax error,
11206 just warn and let the normal error path handle it.
11208 * plugins/elements/gstelements.c:
11209 Bump the rank of filesink up to PRIMARY so that it is preferred over
11210 gnomevfssink for file:// sink uri's
11212 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11213 (GST_START_TEST), (run_delayed_test),
11214 (gst_parse_test_element_base_init),
11215 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11216 (gst_parse_test_element_change_state),
11217 (gst_register_parse_element), (parse_suite):
11218 Beef up the tests for parse syntax to check that more error cases
11219 fail as they are supposed to. Increases the test coverage a bit.
11221 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11223 * docs/manual/basics-elements.xml:
11224 Fix gst_element_link() example.
11227 Mention in API docs that one should usually gst_bin_add()
11228 elements to a bin or pipeline before doing the linking.
11230 2006-07-26 Wim Taymans <wim@fluendo.com>
11232 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11233 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11234 Avoid function call for known types by keeping the buffer and
11235 subbuffer GType global.
11237 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11238 Random silly optimisations in read() path.
11240 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11242 * tools/gst-launch.c: (main):
11243 If the top-level of the parse is a normal bin, it doesn't do the
11244 right logic to run as a top-level element, so place it inside a
11247 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11249 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11250 Remove superfluous g_object_notify() calls, GObject does
11251 that for us automatically.
11253 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11256 on Win32, use dllspec to export the debug category symbols
11258 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11260 * gst/gsttaglist.c: (_gst_tag_initialize):
11261 Allow more than one GST_TAG_IMAGE per taglist.
11263 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11265 * gst/gstminiobject.c:
11267 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11268 (gst_fd_src_create):
11269 log recurring events at LOG level
11270 add more debug for when the fd gets set
11272 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11274 * gst/gstparse.c: (gst_parse_launch):
11275 Also remove reentrance checks if flex is MT safe (#348179)
11276 Fix my empty ChangeLog entry below
11278 2006-07-21 Andy Wingo <wingo@pobox.com>
11280 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11282 * libs/gst/check/Makefile.am
11283 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11284 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11285 * libs/gst/check/gstbufferstraw.h:
11286 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11287 functions, thus proving I am still a GStreamer haxor. OK I wrote
11288 them a long time ago, but anyways.
11290 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11293 * gst/gstparse.c: (gst_parse_launch):
11294 Check for flex version and omit mutex if we have a MT save flex
11297 2006-07-21 Wim Taymans <wim@fluendo.com>
11299 * gst/gstparse.c: (gst_parse_launch):
11300 Protect recursive calls to _parse with a recursive mutex
11303 2006-07-21 Wim Taymans <wim@fluendo.com>
11305 * tests/check/gst/gstpad.c: (GST_START_TEST):
11308 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11310 * gst/gstparse.c: (gst_parse_launch):
11311 Do not hang on recursive usage of gst_parse_launch()
11313 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11315 * gst/gsttaglist.c:
11316 Add some more docs, comments and FIXME 0.11s here and there
11317 and also fix some typos.
11319 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11321 * gst/gstsegment.h:
11322 Convert tabs to spaces for better readability.
11324 2006-07-20 Edward Hervey <edward@fluendo.com>
11326 * tests/check/libs/gdp.c: (gst_dp_suite):
11327 the test_buffer test fails at line 140 on ppc64 at the following
11329 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11330 GST_BUFFER_FLAG_IN_CAPS),
11331 "GST_BUFFER_IN_CAPS flag should have been copied !");
11332 See bug #348114 for more details.
11334 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11336 * docs/pwg/advanced-scheduling.xml:
11338 Fix typos (#348000).
11340 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11342 * docs/pwg/intro-basics.xml:
11343 Fix wrong links (#347927).
11345 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11347 * gst/gstregistry.h:
11348 * gst/gstregistryxml.c: (load_feature),
11349 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11350 * win32/common/config.h:
11351 make --disable-index work (#342564)
11353 2006-07-18 Wim Taymans <wim@fluendo.com>
11355 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11359 The attached patch adds two missing defines to gsttrace.h when tracing
11360 is disabled. It also corrects one existing define.
11363 2006-07-17 Wim Taymans <wim@fluendo.com>
11365 * docs/gst/gstreamer-sections.txt:
11366 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11368 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11369 Add two functions to check and change the SIGSEGV behaviour
11370 when loading plugins.
11371 Don't mess with the SIGSEGV handler when we were told not to.
11373 API: gst_segtrap_is_enabled
11374 API: gst_segtrap_set_enabled
11376 2006-07-14 Wim Taymans <wim@fluendo.com>
11378 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11379 * tests/check/elements/filesrc.c: (GST_START_TEST):
11380 Revert fix for regression in #347408 after release.
11382 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11384 Patch by: Antoine Tremblay <hexa00 at gmail com>
11386 * gst/gstutils.c: (gst_element_unlink):
11387 Free iterator when done (#347311).
11389 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11390 And add a test case for this.
11392 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11395 Bump nano back to CVS
11397 === release 0.10.9 ===
11399 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11402 releasing 0.10.9, "On the road again"
11404 2006-07-13 Wim Taymans <wim@fluendo.com>
11406 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11407 * tests/check/elements/filesrc.c: (GST_START_TEST):
11408 Revert pull-0 fix for release. Disable check. Fixes #347408.
11410 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11412 * libs/gst/dataprotocol/dataprotocol.c:
11413 (gst_dp_event_from_packet_1_0):
11414 Fixes #347337: failure to deserialize event packets with
11415 empty payload (only event type)
11417 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11420 do not install a .c file in the header directory
11422 2006-07-13 Edward Hervey <edward@fluendo.com>
11424 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11425 GhostPad no longer implicitely use the padtemplates of the targets.
11428 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11430 * gst/gstvalue.c: (gst_value_compare_list),
11431 (gst_value_compare_array), (_gst_value_initialize):
11432 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11433 Make GstValueArray comparison be order dependent as designed.
11434 Add checks for value lists and value array comparisons.
11437 2006-07-11 Edward Hervey <edward@fluendo.com>
11439 * gst/gstbin.c: (activate_pads),
11440 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11441 (gst_bin_change_state_func):
11442 (de)activate src pads before calling state_change on the childs.
11443 This is to avoid the case where a src ghostpad is blocked (holding the
11444 stream lock), which would block the deactivation of the ghostpad's
11446 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11447 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11448 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11449 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11450 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11451 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11452 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11453 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11454 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11455 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11456 (gst_ghost_pad_class_init),
11457 (gst_ghost_pad_internal_do_activate_push),
11458 (gst_ghost_pad_internal_do_activate_pull),
11459 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11460 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11461 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11462 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11463 GhostPads now create their internal GstProxyPad at creation (and not
11464 when they're linked, as it was being done previously).
11465 The internal and target pads are linked straight away.
11466 The data will also travel through the other pad in order to make
11467 pad blocking and probes non-hackish (the probe/block now really happens
11468 on the GhostPad and not on the target).
11469 * gst/gstpad.c: (gst_pad_set_blocked_async),
11470 (gst_pad_link_prepare), (gst_pad_push_event):
11471 Remove previous ghostpad cruft.
11472 * gst/gstutils.c: (gst_pad_add_data_probe),
11473 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11474 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11475 (gst_pad_remove_buffer_probe):
11476 Remove previous ghost pad cruft.
11477 Added more detailed debug statements.
11478 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11479 Fix the testsuite for refcounting changes.
11480 The comments about who has references were correct, but the refcount
11481 being checked wasn't the same (!?!).
11485 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11487 * docs/gst/gstreamer-sections.txt:
11488 * gst/gstconfig.h.in:
11489 More docs for configuration options, add docs to gtk-doc.
11491 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11494 * gst/gstconfig.h.in:
11495 * win32/common/config.h:
11496 Fix build when disabling tracing (fixes #344016). Also start to document
11497 the defines that disable the sub-systems.
11499 2006-07-10 Edward Hervey <edward@fluendo.com>
11501 * gst/gst.c: (ensure_current_registry_forking):
11502 let's make valgrind happy...
11504 2006-07-09 Wim Taymans <wim@fluendo.com>
11506 * gst/gstelement.c: (activate_pads),
11507 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11508 Better pad activation code: Reset the collect value too on resync.
11511 2006-07-09 Wim Taymans <wim@fluendo.com>
11513 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11514 (gst_pad_activate_push):
11515 Use some more macros where it makes sense.
11516 Allow pad mode switching instead of asserting. When a pad
11517 is activated in one mode and we activate it in another,
11518 deactivate it first before activating it in a different mode.
11521 2006-07-08 Andy Wingo <wingo@pobox.com>
11523 * tools/gst-launch.c (main): Handle err == NULL.
11525 * gst/gst.c (init_post, ensure_current_registry)
11526 (ensure_current_registry_forking)
11527 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11528 factoring out the registry scanning into separate functions. Don't
11529 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11530 Better environment var name/interface suggestions accepted.
11532 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11534 * gst/gstobject.c: (gst_object_set_name_default),
11535 (gst_object_set_name):
11536 Random micro-optimisation: don't use a hash table
11537 with strings as keys and the usual strdup/strcmp
11538 involved, but rather just use the GQuark of the
11539 type name as key, since it needs to be looked up
11540 anyway to get the type name string.
11542 * tests/check/gst/gstobject.c: (GST_START_TEST):
11545 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11547 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11548 (gst_bin_iterate_all_by_interface):
11549 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11550 GTypes are gulongs and thus the top 4 bytes might be cut
11551 off on some platforms when doing GPOINTER_TO_INT, leading
11552 to invalid GTypes and bad things happening (see RH bug #179654).
11553 Also add a check to make sure the type passed in is really
11556 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11561 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11565 * gst-element-check.m4:
11566 * gst-element-check.m4.in:
11567 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11568 instead of the unversioned gst-inspect (#324176, #168659).
11570 2006-07-06 Wim Taymans <wim@fluendo.com>
11572 * gst/gstmessage.h:
11573 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11576 2006-07-06 Wim Taymans <wim@fluendo.com>
11578 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11579 (gst_base_src_wait), (gst_base_src_update_length),
11580 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11581 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11582 (gst_base_src_loop), (gst_base_src_start),
11583 (gst_base_src_activate_pull):
11585 blocksize == 0 now means the default blocksize when working in push
11587 Remove some pointless asserts in _wait function.
11588 Fix offset/length calculations and EOS handling. We can now pull 0
11589 bytes as well, which is allowed.
11590 use _check_get_range() to decide if we can operate in _pull based
11592 Fix refcounting leak when check_get_range function was not
11594 API GstBaseSrc::blocksize range can be 0 too now (default)
11596 * tests/check/elements/filesrc.c: (GST_START_TEST),
11598 Added check to test _get_range() behaviour.
11600 2006-07-06 Wim Taymans <wim@fluendo.com>
11602 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11603 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11604 (gst_pad_pull_range):
11606 Lots of comments and docs added to the pad functions.
11607 Flesh out the expected behaviour of the get_range() functions.
11609 2006-07-06 Wim Taymans <wim@fluendo.com>
11614 * gst/gstiterator.h:
11618 Remove comma at end of enumerator list.
11620 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11622 * win32/common/libgstbase.def:
11623 * win32/common/libgstdataprotocol.def:
11624 * win32/common/libsgtreamer.def:
11625 Add new exported functions.
11627 2006-07-05 Wim Taymans <wim@fluendo.com>
11629 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11630 Add some more docs here and there.
11632 2006-07-05 Wim Taymans <wim@fluendo.com>
11634 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11635 (gst_base_sink_loop), (gst_base_sink_get_position):
11636 When operating in pull mode update the offset so that we
11639 2006-07-05 Wim Taymans <wim@fluendo.com>
11641 * gst/gstregistryxml.c: (read_string):
11642 Avoid strdup. (will happen in libxml, but hey!)
11645 Add some more docs.
11647 2006-07-05 Wim Taymans <wim@fluendo.com>
11649 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11650 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11651 (gst_buffer_suite):
11652 No point in checking if the size of the subbuffer > 0, the
11653 code handles it correclty as demonstrated by unit test.
11654 Also add a unit test for the zero sized _new_and_alloc and
11655 _copy. Fixes #346663.
11657 2006-07-05 Wim Taymans <wim@fluendo.com>
11659 * libs/gst/base/gstbasetransform.c:
11660 (gst_base_transform_prepare_output_buffer),
11661 (gst_base_transform_buffer_alloc),
11662 (gst_base_transform_handle_buffer):
11663 Make sure the buffer we pass to transform_ip has a refcount of
11664 1 and thus is writable. Fixes #343196
11666 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11668 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11669 (gst_file_src_init), (gst_file_src_set_property),
11670 (gst_file_src_get_property), (gst_file_src_map_region):
11671 * plugins/elements/gstfilesrc.h:
11672 Add "sequential" property, off by default, to use madvise and hint
11673 to the kernel that sequential access is desired.
11674 Touch all retrieved pages by default to ensure they are pulled
11675 into memory. (Closes #345720)
11677 2006-07-03 Wim Taymans <wim@fluendo.com>
11679 * docs/design/part-block.txt:
11680 * docs/design/part-dynamic.txt:
11681 Small docs updates.
11683 2006-07-03 Wim Taymans <wim@fluendo.com>
11685 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11686 (gst_caps_unref), (gst_static_caps_get),
11687 (gst_caps_append_structure):
11688 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11689 Use GSlice when the glib we build against is >= 2.10
11691 2006-07-03 Wim Taymans <wim@fluendo.com>
11693 * gst/gstelement.c: (gst_element_pads_activate):
11694 Small cleanup in pad activation code.
11696 2006-07-03 Wim Taymans <wim@fluendo.com>
11698 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11700 * gst/gst-i18n-app.h:
11701 * gst/gst-i18n-lib.h:
11702 * tools/gst-inspect.c: (print_signal_info):
11703 The attached patch will make the inclusion of gettext.h unconditional in
11704 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11705 libintl.h in tools/gst-inspect.c.
11706 This allows use of --disable-nls again and fixes #344642.
11708 2006-07-03 Edward Hervey <edward@fluendo.com>
11710 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11711 Implement pad blocking on events according to part-block.txt.
11712 More comments on behaviour.
11713 * tests/check/gst/gstevent.c: (test_event):
11714 Send event to peer pad of blocked pad (else it will block).
11716 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11718 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11719 (gst_check_run_suite):
11720 if we get the wrong message, give us the types as string
11721 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11723 * tests/check/elements/filesrc.c: (GST_START_TEST):
11724 add a test for trying to open a non-existing file
11726 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11728 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11729 add a test for adding self
11731 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11733 * libs/gst/check/gstcheck.h:
11734 add some assert_ as alias for fail_unless_*
11735 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11736 increase test coverage
11738 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11741 include lcov.mak for lcov coverage generation
11742 * tools/Makefile.am:
11745 2006-07-02 Edward Hervey <edward@fluendo.com>
11747 * tests/check/elements/.cvsignore:
11750 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11753 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11754 * tests/check/Makefile.am:
11755 clean up gcov files
11757 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11759 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11760 remove gst_caps_simplify; it was not declared and not used
11761 and deprecated in 0.8
11763 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11765 * docs/faq/gst-uninstalled:
11766 don't put empty paths on PYTHONPATH
11767 * docs/gst/gstreamer-sections.txt:
11768 remove some symbols that are not there
11770 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11772 * gst/gstcaps.c: (gst_caps_compare_structures):
11774 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11775 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11778 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11780 * libs/gst/dataprotocol/Makefile.am:
11781 build dataprotocol test by linking to the lib, instead of
11782 compiling the source, so we get coverage
11783 * tests/check/Makefile.am:
11784 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11785 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11786 add a test for filesrc
11788 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11790 * tests/check/gst/gststructure.c: (GST_START_TEST),
11791 (gst_structure_suite):
11792 Push coverage from 59.04% to 70.00%
11794 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11796 * tests/check/Makefile.am:
11797 gst-inspect every element; this makes sure that we also get
11798 coverage on element's get/set functions
11800 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11803 set CFLAGS and friends to -O0 if gcov is being used
11806 * libs/gst/base/Makefile.am:
11807 * libs/gst/check/Makefile.am:
11808 * libs/gst/controller/Makefile.am:
11809 * libs/gst/dataprotocol/Makefile.am:
11810 * libs/gst/net/Makefile.am:
11811 * plugins/elements/Makefile.am:
11812 * plugins/indexers/Makefile.am:
11813 add makefile rules to generate gcov data and clean up
11814 * tests/check/Makefile.am:
11815 add a coverage target that generates an html overview
11818 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11820 * tests/check/elements/fakesink.c:
11821 * tests/check/elements/fakesrc.c:
11822 * tests/check/elements/fdsrc.c:
11823 * tests/check/elements/identity.c:
11824 * tests/check/generic/sinks.c: (gst_sinks_suite):
11825 * tests/check/generic/states.c:
11826 * tests/check/gst/gst.c:
11827 * tests/check/gst/gstabi.c:
11828 * tests/check/gst/gstbin.c:
11829 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11830 * tests/check/gst/gstbus.c: (gst_bus_suite):
11831 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11832 * tests/check/gst/gstelement.c:
11833 * tests/check/gst/gstevent.c: (gst_event_suite):
11834 * tests/check/gst/gstghostpad.c:
11835 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11836 * tests/check/gst/gstmessage.c: (gst_message_suite):
11837 * tests/check/gst/gstminiobject.c:
11838 * tests/check/gst/gstobject.c:
11839 * tests/check/gst/gstpad.c:
11840 * tests/check/gst/gstpipeline.c:
11841 * tests/check/gst/gstplugin.c:
11842 * tests/check/gst/gstquery.c: (gst_query_suite):
11843 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11844 * tests/check/gst/gststructure.c:
11845 * tests/check/gst/gstsystemclock.c:
11846 * tests/check/gst/gsttag.c:
11847 * tests/check/gst/gsttask.c: (gst_task_suite):
11848 * tests/check/gst/gstutils.c:
11849 * tests/check/gst/gstvalue.c:
11850 * tests/check/libs/adapter.c:
11851 * tests/check/libs/basesrc.c:
11852 * tests/check/libs/collectpads.c:
11853 * tests/check/libs/controller.c:
11854 * tests/check/libs/gdp.c: (gst_dp_suite):
11855 * tests/check/libs/gstnetclientclock.c:
11856 * tests/check/libs/gstnettimeprovider.c:
11857 * tests/check/libs/libsabi.c: (libsabi_suite):
11858 * tests/check/libs/typefindhelper.c:
11859 * tests/check/pipelines/cleanup.c:
11860 * tests/check/pipelines/parse-launch.c:
11861 * tests/check/pipelines/simple-launch-lines.c:
11862 * tests/check/pipelines/stress.c: (stress_suite):
11865 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11867 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11868 * libs/gst/check/gstcheck.h:
11869 create a macro and function so that the simple unit test
11870 case can be just one macro to create main()
11872 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11874 * gst/gstbin.c: (gst_bin_restore_thyself):
11875 * gst/gstxml.c: (gst_xml_make_element):
11876 Fix deserialisation from XML. Set parent manually
11877 instead of using gst_bin_add(), since gst_bin_add()
11878 will unlink all pads of the element being added.
11881 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11883 Patch by: Peter Kjellerstedt <pkj at axis com>
11885 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11886 Fix missing g_strdup() and double free when using the
11887 --gst-plugin-load command line option (#346097).
11889 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11892 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11894 * libs/gst/net/gstnetclientclock.c:
11895 * libs/gst/net/gstnettimeprovider.c:
11896 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11898 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11900 * docs/manual/advanced-dataaccess.xml:
11901 Fix buffer probe example compilation in
11904 2006-06-22 Edward Hervey <edward@fluendo.com>
11906 * gst/gstelement.c: (gst_element_pads_activate):
11907 We need to deactivate src pads first and then sink pads.
11908 The reason is the src pads might be blocking while holding the streaming
11909 lock, so we need to deactivate them first so that deactivating the sink
11910 pads doesn't block (since it will require the streaming lock).
11912 2006-06-22 Wim Taymans <wim@fluendo.com>
11914 * libs/gst/base/gstbasetransform.c:
11915 (gst_base_transform_buffer_alloc):
11916 Forgot to remove two unneeded unrefs.
11917 Simplify a check _is_equal allready checks the obvious case.
11919 2006-06-22 Wim Taymans <wim@fluendo.com>
11921 * docs/design/part-block.txt:
11922 Some docs about what pad_block should do.
11924 2006-06-22 Wim Taymans <wim@fluendo.com>
11926 * gst/gstcaps.c: (gst_caps_replace):
11927 Fix crasher when passed NULL. Doc clarification.
11928 Optimize for the trivial case.
11930 * gst/gstpipeline.c: (gst_pipeline_change_state):
11933 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11934 Small documentation cleanup.
11936 * libs/gst/base/gstbasetransform.c:
11937 (gst_base_transform_buffer_alloc):
11938 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11939 is what we need and it avoids a whole lot of redundant
11940 refcount operations.
11942 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11944 Patch by: Philip Jägenstedt <philip at lysator liu se>
11946 * docs/manual/advanced-dataaccess.xml:
11947 Fix 'Embedding static elements' section to use
11948 GST_PLUGIN_DEFINE_STATIC (#345607).
11950 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11952 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11953 Attempt to 'fix' spuriously failing test case: it seems like the
11954 timeout of half a second is simply too small when the system is under
11955 load otherwise, and the timeout doesn't really seem to serve any
11956 particular purpose here. Give the pipeline a few seconds to preroll
11957 first, and then give it another half a second to go from PAUSED to
11958 PLAYING and marshal the message into the main thread.
11960 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11962 * tools/gst-feedback-m.m:
11963 Don't only use unversioned tools, try versioned tools as well
11966 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11968 * gst/gstbus.c: (gst_bus_class_init):
11969 Fix some typos, make docs more explicit.
11971 2006-06-20 Wim Taymans <wim@fluendo.com>
11973 * tests/check/gst/gstghostpad.c: (block_callback),
11974 (GST_START_TEST), (gst_ghost_pad_suite):
11975 Added some more ghostpad tests, mainly blocking
11978 2006-06-16 Wim Taymans <wim@fluendo.com>
11980 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11981 (gst_file_sink_close_file), (gst_file_sink_do_seek),
11982 (gst_file_sink_event), (gst_file_sink_render):
11983 * plugins/elements/gstfilesink.h:
11984 Check if we can seek in the file instead of assuming
11985 we always can. Post an error when we are asked to seek in a
11986 non-seekable file (like a fifo). Fixes #343312.
11989 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11991 * tools/gst-launch.1.in:
11992 Un-garble (fourcc) bit in filtered caps section.
11994 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11996 * docs/manual/advanced-autoplugging.xml:
11997 * docs/manual/basics-helloworld.xml:
11998 * docs/manual/highlevel-components.xml:
11999 Don't leak bus reference in sample code.
12001 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12004 Add default for new --enable-plugin-docs switch.
12007 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12010 * docs/Makefile.am:
12011 Use new ENABLE_PLUGIN_DOCS conditional.
12013 2006-06-14 Wim Taymans <wim@fluendo.com>
12015 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12016 Make it clear with a FIXME and a real define what the #if 0
12017 previously disabled.
12019 2006-06-14 Wim Taymans <wim@fluendo.com>
12021 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12022 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12023 * libs/gst/base/gstbasetransform.c:
12024 (gst_base_transform_sink_eventfunc):
12025 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12026 Don't randomly and silently reset a segment when the format
12027 changes as this is a bug somewhere upstream. Fixes #330379.
12029 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12031 Patch by: Wouter Paesen <wouter at kangaroot net>
12033 * libs/gst/controller/gstcontroller.c:
12034 (gst_controlled_property_new):
12035 Fix controlling of float properties (#344849).
12037 * tests/check/libs/controller.c:
12038 (gst_test_mono_source_get_property),
12039 (gst_test_mono_source_set_property),
12040 (gst_test_mono_source_class_init), (GST_START_TEST):
12041 While we're at it, add some float stuff to unit test.
12043 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12046 * docs/images/gdp-header.svg:
12048 * docs/libs/Makefile.am:
12049 * docs/libs/gdp-header.png:
12050 * libs/gst/dataprotocol/dataprotocol.c:
12051 add it to the API docs
12052 * docs/manual/intro-motivation.xml:
12055 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12057 * gst/gst.c: (scan_and_update_registry), (init_post):
12058 If the fork()'ed child process can't write the updated registry cache
12059 file to disk for some reason, make it exit with a failure exit code,
12060 so that the parent can then re-scan the plugins itself and update the
12061 registry structures in memory and work with that (rather than failing
12062 when creating elements because seemingly no plugins are available).
12063 Refactor registry scanning code into separate function for this and
12064 also separate fork() and non-fork() code paths. Fixes #344748.
12066 2006-06-13 Wim Taymans <wim@fluendo.com>
12068 * docs/manual/advanced-dataaccess.xml:
12069 Fix wrong PluginDesc. Fixes #344755.
12071 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12073 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12074 Fix silly bug that prevented us from creating
12075 ~/.gstreamer-0.10 and writing the registry in one
12076 go (the first call to g_mkstemp() would overwrite the
12077 placeholder in the template string, so the second call
12078 to g_mkstemp() after creating the missing directory
12079 would then error out with 'invalid argument').
12081 2006-06-13 Edward Hervey <edward@fluendo.com>
12083 * gst/gst.c: (init_post):
12086 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12088 * gst/glib-compat-private.h:
12089 * gst/glib-compat.c:
12090 * gst/glib-compat.h:
12091 * gst/gstvalue.c: (gst_value_serialize_flags):
12092 remove GLib 2.6 compatibility code
12094 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12096 * gst/parse/Makefile.am:
12097 Fix build with 'make -j N' even more (#340016).
12099 2006-06-12 Wim Taymans <wim@fluendo.com>
12101 * docs/gst/gstreamer-sections.txt:
12104 2006-06-12 Wim Taymans <wim@fluendo.com>
12106 * gst/gstsegment.c: (gst_segment_set_duration),
12107 (gst_segment_set_last_stop), (gst_segment_set_seek),
12108 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12109 (gst_segment_to_running_time), (gst_segment_clip):
12110 Use G_UNLIKELY to help the compiler a bit.
12112 2006-06-12 Wim Taymans <wim@fluendo.com>
12114 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12116 * gst/gstevent.c: (gst_event_get_type):
12117 * gst/gstmessage.c:
12118 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12120 constify quark registration strings. Fixes #344115
12121 Avoid unneeded type checking is _pad_push() by internally
12122 calling gst_pad_chain_unchecked().
12124 2006-06-12 Wim Taymans <wim@fluendo.com>
12126 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12127 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12128 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12129 (gst_buffer_is_span_fast), (gst_buffer_span):
12130 Init _type for consistency.
12131 Use _FLAGS macro to avoid type check.
12132 Avoid unneeded type checks in subbufer code.
12134 2006-06-12 Wim Taymans <wim@fluendo.com>
12136 * gst/gst.c: (gst_debug_help):
12137 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12138 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12139 (gst_plugin_feature_list_free):
12140 * gst/gstregistry.c: (gst_registry_add_plugin),
12141 (gst_registry_add_feature), (gst_registry_plugin_filter),
12142 (gst_registry_feature_filter), (gst_registry_find_plugin),
12143 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12144 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12145 * gst/gstregistryxml.c: (load_feature),
12146 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12147 * gst/gstminiobject.c: (gst_mini_object_unref),
12148 (gst_mini_object_replace), (gst_value_mini_object_free),
12149 (gst_value_mini_object_copy):
12150 Use _CAST macros to avoid unneeded type checking.
12151 Added some more G_UNLIKELY.
12153 2006-06-12 Wim Taymans <wim@fluendo.com>
12156 Avoid unneeded type checking.
12157 API: GST_BUFFER_IS_DISCONT
12159 * gst/gstminiobject.h:
12160 Avoid type check in flag accessor.
12162 * gst/gstelementfactory.h:
12164 * gst/gstpluginfeature.h:
12166 API: GST_ELEMENT_FACTORY_CAST
12167 API: GST_PLUGIN_CAST
12168 API: GST_PLUGIN_FEATURE_CAST
12170 2006-06-12 Wim Taymans <wim@fluendo.com>
12172 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12173 (gst_object_unref):
12174 Add G_UNLIKELY in type registration.
12175 Avoid type check in _ref/_unref since that is also
12178 2006-06-12 Wim Taymans <wim@fluendo.com>
12180 * gst/gsterror.c: (gst_g_error_get_type):
12181 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12182 (gst_static_pad_template_get_type):
12183 * gst/gsttaglist.c: (gst_tag_list_get_type):
12184 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12185 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12186 * gst/gsturi.c: (gst_uri_handler_get_type):
12187 * gst/gstvalue.c: (gst_date_get_type):
12188 * gst/gstxml.c: (gst_xml_get_type):
12189 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12190 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12191 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12192 Add G_UNLIKELY in type registration.
12194 2006-06-12 Wim Taymans <wim@fluendo.com>
12196 * tools/gst-inspect.c: (print_signal_info):
12197 Properly print enum values.
12199 2006-06-12 Wim Taymans <wim@fluendo.com>
12201 * gst/gstinfo.c: (gst_debug_set_active),
12202 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12204 Add some G_[UN]LIKELY.
12205 Maintain __gst_debug_min to avoid formatting the arguments of
12206 debug messages that will be dropped anyway to avoid a lot of
12207 overhead from the debugging system.
12209 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12212 * po/POTFILES.skip:
12213 add missing files containing translatable strings, tell intltool about
12216 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12218 * tests/check/libs/.cvsignore:
12219 add test-binary to ignore list
12221 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12223 * docs/libs/gstreamer-libs-docs.sgml:
12224 reorder (put dp into a chapter) and indent
12226 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12231 === release 0.10.8 ===
12233 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12236 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12238 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12240 * gst/gst.c: (init_post):
12241 move pid declaration to declaration block
12243 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12245 * gst/gst.c: (init_post):
12246 use _exit() instead of exit() in our forked child; this ensures
12247 that none of the registered exit handlers from whatever is using
12248 GStreamer get executed. This fixes gnome-mixer-applet failing
12249 to load, because ORBit would shut down.
12250 Spotted by: Edward Hervey <edward@fluendo.com>
12251 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12254 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12259 === release 0.10.7 ===
12261 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12264 releasing 0.10.7, "Soepeke, ik zie ou"
12266 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12289 * win32/common/config.h:
12290 0.10.6.2 prerelease
12292 2006-06-07 Wim Taymans <wim@fluendo.com>
12294 * gst/gstindex.c: (gst_index_gtype_resolver):
12295 * tools/gst-xmlinspect.c: (print_plugin_info):
12296 Fix leak spotted by coverity checker. Fixes #343827
12297 Fix another other leak found by paolo borelli.
12299 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12301 * libs/gst/dataprotocol/dataprotocol.c:
12302 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12303 (gst_dp_version_get_type), (gst_dp_init),
12304 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12305 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12306 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12307 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12308 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12309 (gst_dp_packetizer_free):
12310 * libs/gst/dataprotocol/dataprotocol.h:
12311 API: add a GstDPPacketizer object, and create/free functions
12312 API: add GstDPVersion enum
12313 Add 1.0 event function that uses the string serialization
12314 Serialize more useful buffer flags
12317 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12319 * tests/check/Makefile.am:
12320 * tests/check/gst/gstabi.c:
12321 * tests/check/gst/struct_ppc64.h:
12322 * tests/check/libs/libsabi.c:
12323 * tests/check/libs/struct_ppc64.h:
12324 add ppc64 structure sizes
12326 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12328 * tests/check/Makefile.am:
12329 * tests/check/gst/gstabi.c:
12330 * tests/check/gst/struct_x86_64.h:
12331 * tests/check/libs/libsabi.c:
12332 * tests/check/libs/struct_x86_64.h:
12333 generate and add structure size lists for x86_64
12335 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12337 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12338 * libs/gst/check/gstcheck.h:
12339 factor out the method from tests that checks size of structures,
12340 and add code to generate the header containing these sizes
12341 * tests/check/gst/gstabi.c: (GST_START_TEST):
12342 * tests/check/gst/struct_i386.h:
12343 * tests/check/libs/libsabi.c: (GST_START_TEST):
12344 * tests/check/libs/struct_i386.h:
12347 2006-06-06 Michael Smith <msmith@fluendo.com>
12349 * gst/gstsegment.h:
12350 Don't use c++-style comments, fixes #343929
12352 2006-06-05 Edward Hervey <edward@fluendo.com>
12355 plugin_paths is not used if we build without registry support.
12357 * gst/gstsegment.c: (gst_segment_copy):
12358 _copy() was always returning NULL...
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 CRC code
12367 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12369 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12370 make sure we unset caps
12372 2006-06-02 Michael Smith <msmith@fluendo.com>
12374 * libs/gst/check/gstcheck.c: (gst_check_init),
12375 (gst_check_chain_func):
12376 * libs/gst/check/gstcheck.h:
12377 Add a cond/mutex to the check support lib, signal this whenever we
12378 add to the buffers list. This will allow tests to not busy-wait on
12381 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12383 * libs/gst/dataprotocol/dataprotocol.c:
12384 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12385 (gst_dp_packet_from_event):
12386 factor out some common header init code
12388 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12390 * docs/libs/gstreamer-libs-sections.txt:
12391 * docs/libs/tmpl/gstdataprotocol.sgml:
12392 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12393 * libs/gst/dataprotocol/dataprotocol.h:
12394 API: make gst_dp_crc() public
12396 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12398 * plugins/indexers/gstindexers.c: (plugin_init):
12399 conditionally register fileindexer (fixes #343598)
12401 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12403 * gst/gsttagsetter.h:
12404 Can't cast ifaces to a class
12406 * libs/gst/net/gstnetclientclock.h:
12407 * libs/gst/net/gstnettimeprovider.h:
12408 * plugins/elements/gstfakesink.h:
12409 * plugins/elements/gstfakesrc.h:
12410 * plugins/elements/gstfdsink.h:
12411 * plugins/elements/gstfdsrc.h:
12412 * plugins/elements/gstfilesink.h:
12413 * plugins/elements/gstfilesrc.h:
12414 * plugins/elements/gstidentity.h:
12415 * plugins/elements/gstqueue.h:
12416 * plugins/elements/gsttee.h:
12417 * plugins/indexers/gstfileindex.c:
12418 * plugins/indexers/gstmemindex.c:
12419 * tests/old/examples/plugins/example.h:
12420 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12422 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12424 * libs/gst/dataprotocol/dataprotocol.c:
12425 (gst_dp_header_from_buffer):
12426 make sure we zero the whole ABI-compatible area
12428 2006-06-01 Wim Taymans <wim@fluendo.com>
12430 Patch by: Alessandro Decina <alessandro at nnva dot org>
12432 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12433 Make sure the EOS flag is cleared from pads after a flush
12434 or stop. Fixes #343538.
12436 * tests/check/libs/collectpads.c: (GST_START_TEST),
12437 (gst_collect_pads_suite):
12438 Added test for collectpads reusage after EOS.
12440 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12443 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12444 * win32/common/libgstbase.def:
12445 export gst_collect_pads_set_flushing
12446 * win32/common/libgstreamer.def:
12447 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12448 gst_value_fraction_multiply
12449 * win32/vs6/gst_inspect.dsp:
12450 add a link to intl.lib
12452 2006-05-30 Wim Taymans <wim@fluendo.com>
12454 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12455 (gst_collect_pads_chain):
12456 Handle the case where a pad is removed from the collection
12457 that could cause the other pads to become collectable.
12459 2006-05-30 Wim Taymans <wim@fluendo.com>
12461 * gst/gstelement.c:
12462 Clarify the use of _release_request_pad() and
12463 _get_request_pad() a bit better.
12465 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12466 (gst_adapter_take_buffer):
12467 Fix some doc and comment typos.
12469 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12471 * docs/gst/gstreamer-sections.txt:
12472 * docs/libs/gstreamer-libs-sections.txt:
12473 add declared symbols
12475 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12477 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12478 Add debug that can be enabled using a #define at the top of the file,
12479 for dumping stats about how late/early we were when waking up from
12480 waiting on the clock.
12482 2006-05-30 Wim Taymans <wim@fluendo.com>
12484 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12485 When rebuilding the pad list, don't leak the previous list.
12487 2006-05-30 Wim Taymans <wim@fluendo.com>
12489 Patch by: Lutz Mueller <lutz at topfrose dot de>
12491 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12492 (gst_base_src_get_query_types), (gst_base_src_update_length):
12493 Publish supported query types.
12494 Update last_stop field in get_range mode so the position
12495 query works. Fixes #342321.
12497 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12499 * docs/gst/gstreamer-sections.txt:
12500 * gst/gsttaglist.c: (_gst_tag_initialize):
12501 * gst/gsttaglist.h:
12502 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12504 2006-05-30 Wim Taymans <wim@fluendo.com>
12506 Patch by: Alessandro Decina <alessandro at nnva dot org>
12508 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12509 Unlock mutex when removing an unknown pad.
12512 * tests/check/Makefile.am:
12513 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12514 (push_event), (setup), (teardown), (GST_START_TEST),
12515 (gst_collect_pads_suite), (main):
12516 Added collecpads check, disabled for now as check crashes for
12519 2006-05-29 Wim Taymans <wim@fluendo.com>
12521 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12522 Don't leak pads lists.
12524 2006-05-29 Wim Taymans <wim@fluendo.com>
12526 * docs/libs/gstreamer-libs-sections.txt:
12527 * libs/gst/base/gstcollectpads.c:
12528 (gst_collect_pads_set_flushing_unlocked),
12529 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12530 (gst_collect_pads_stop):
12531 * libs/gst/base/gstcollectpads.h:
12532 API: gst_collect_pads_set_flushing()
12533 Added api to set the pads to flushing, useful for seeking
12534 code in elements using collectpads.
12535 Clear segment when receiving a flush.
12537 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12539 * gst/gst.c: (add_path_func), (init_post):
12540 Don't scan registry paths passed via --gst-plugin-path immediately
12541 (will crash, because absolutely nothing is set up and no types are
12542 registered etc.); do this later in init_post(). Fixes #343057.
12544 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12546 * gst/gst.c: (init_post):
12547 if we have fork, fork while reading/rebuilding the registry
12548 so the parent doesn't take the hit of having all plugins loaded
12549 in memory. Fixes #342777.
12551 Check if we have fork()
12552 * win32/common/config.h.in:
12555 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12557 * plugins/elements/gstelements.c:
12558 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12559 (gst_file_src_init), (gst_file_src_set_property),
12560 (gst_file_src_get_property), (gst_file_src_start):
12561 * plugins/elements/gstfilesrc.h:
12562 API: GstFileSrc::use-mmap
12564 Add a use-mmap property to enable easier testing of all code paths.
12565 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12566 in the absence of gnomevfssrc. (Closes #340501)
12568 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12570 * tools/gst-inspect.c:
12571 Add missing include, removes warning of ngettext not being defined on
12574 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12576 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12577 Handle NULL input and output pointers silently as a failed conversion,
12578 rather than g_warnings.
12580 2006-05-25 Wim Taymans <wim@fluendo.com>
12582 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12583 Initialize variable before using. Fixes #342820.
12585 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12587 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12588 Fix off-by-one bug that would only allow peeks of N-1 bytes
12589 from the start even if the buffer to typefind on contains
12590 in fact N bytes of data (makes vorbis typefinding from a
12591 vorbis identification header buffer work).
12593 * tests/check/Makefile.am:
12594 * tests/check/libs/.cvsignore:
12595 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12596 (gst_typefindhelper_suite), (main), (foobar_typefind),
12598 Add very basic unit test for gst_type_find_helper_for_buffer()
12599 that checks for the problem fixed above.
12601 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12603 * tools/gst-inspect.c: (print_interfaces),
12604 (print_element_properties_info), (print_element_list), (main):
12605 add more translatable strings
12607 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12609 Patch by: Julien Moutte <julien at moutte net>
12611 * docs/gst/gstreamer-sections.txt:
12612 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12614 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12615 (gst_fake_sink_preroll):
12616 * plugins/elements/gstfakesink.h:
12617 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12619 2006-05-23 Wim Taymans <wim@fluendo.com>
12621 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12623 Added _CUSTOM error and success GstFlowReturn that can be
12624 used be elements internally.
12625 Added macro to check for SUCCESS flowreturns.
12626 API: GST_FLOW_CUSTOM_SUCCESS
12627 API: GST_FLOW_CUSTOM_ERROR
12628 API: GST_FLOW_IS_SUCCESS
12630 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12631 Added check for GstFlowReturn sanity.
12633 2006-05-23 Wim Taymans <wim@fluendo.com>
12635 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12637 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12638 (gst_collect_pads_event):
12639 clear/reset segment info in FLUSH_STOP.
12642 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12644 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12645 (gst_collect_pads_check_collected):
12646 Flush queued buffer on _stop(), fixes playing again (#342454)
12648 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12650 * tests/check/gst/gststructure.c: (GST_START_TEST),
12651 (gst_structure_suite):
12652 add a test for a complete structure
12654 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12656 * docs/faq/developing.xml:
12657 * docs/faq/faq.xml:
12658 * docs/faq/troubleshooting.xml:
12659 * docs/faq/using.xml:
12660 Some minor FAQ updates that won't change the fact that
12661 our FAQ is badly structured, full of information hardly
12662 anyone new to GStreamer needs to know and lacking lots
12663 of information people constantly ask for.
12665 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12667 * gst/gstpad.c: (gst_pad_set_caps):
12668 Short-circuit gst_pad_set_caps if setting the existing
12669 caps pointer again, and avoid printing debug and
12670 reffing/unreffing the caps.
12672 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12673 There's actually no need to set the caps before pushing -
12674 the acceptcaps method will handle it anyway.
12676 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12678 * docs/gst/gstreamer-sections.txt:
12679 * win32/common/libgstreamer.def:
12680 * gst/gstutils.c: (gst_element_seek_simple):
12682 API: add gst_element_seek_simple() (#342238).
12684 2006-05-18 Edward Hervey <edward@fluendo.com>
12686 * gst/gsttypefind.c: (gst_type_find_get_type):
12687 * gst/gsttypefind.h:
12688 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12689 registered for GstTypeFind pointers. This allows wrapping the structure
12690 in bindings (i.e. gst-python).
12692 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12694 * gst/gsttagsetter.c:
12695 Docs additions and fixes (see #339918).
12697 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12699 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12700 The caps intersection algorithm can produce multiple copies of the
12701 caps. Until that is fixed, we need to simplify the result to be
12702 sure whether the allowed caps are fixed or not.
12704 * plugins/elements/gstqueue.c: (gst_queue_init),
12705 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12706 (gst_queue_push_one):
12707 Proxied buffer alloc should not set the caps on the source pad.
12708 When pushing buffers, we always accept the caps change that triggers.
12709 This prevents negotiation errors caused by caps changing mid-stream
12710 and then being refused on our source pad (because upstream is now
12711 refusing those caps).
12713 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12715 * tests/examples/helloworld/helloworld.c: (main):
12716 Must plug audioconvert and audioresample between decoder
12719 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12721 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12722 (load_feature), (load_plugin):
12723 Allow empty strings for some of the plugin fields so we don't
12724 drop valid plugin entries that were written out correctly
12727 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12729 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12730 Use g_remove and g_rename instead of remove and rename that don't
12731 handle utf8 characters. rename was failing for users who had specific
12732 characters in their name then the registry was built at each
12734 * win32/vs6/gst_inspect.dsp:
12735 * win32/vs6/gst_launch.dsp:
12736 * win32/vs6/libgstbase.dsp:
12737 * win32/vs6/libgstcoreelements.dsp:
12738 * win32/vs6/libgstreamer.dsp:
12739 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12740 build of libgstreamer and clean unused libraries in projects link
12743 2006-05-17 Edward Hervey <edward@fluendo.com>
12745 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12746 The queue is not responsible for pushing an EOS when receiving a fatal
12747 flow error. It's up to the real element driving the pipeline to do that.
12749 2006-05-16 Edward Hervey <edward@fluendo.com>
12751 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12752 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12753 buffer returned a fatal error. It should just send an EOS and stop
12755 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12756 when pushing buffers on the queue and will be able to handle the event.
12758 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12760 * docs/manual/basics-bins.xml:
12761 * docs/manual/basics-init.xml:
12762 Fix typos and minor errors in sample code (#341856).
12764 2006-05-16 Wim Taymans <wim@fluendo.com>
12766 * docs/design/part-qos.txt:
12767 Fix indexes in formulas to make more sense.
12769 2006-05-15 Wim Taymans <wim@fluendo.com>
12771 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12772 Don't report POSITION based on clock time if sync is
12773 disabled in a sink.
12775 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12778 Add cast to make compiler happy - refcount variable was a gint
12779 in GstObject but is a guint in GObject and g_atomic_int_get()
12782 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12784 * gst/parse/Makefile.am:
12785 chain commands using &&, which also makes parallel make work
12787 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12789 * docs/gst/gstreamer-sections.txt:
12792 * gst/gstmessage.h:
12795 === release 0.10.6 ===
12797 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12800 releasing 0.10.6, "Take the cannoli"
12802 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12804 * tools/gst-launch.c: (print_tag):
12805 Fix use of uninitialized variable in the hypothetical
12806 case that some broken plugin creates a GST_TAG_IMAGE
12807 tag containing a NULL buffer (#341667).
12809 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12811 * tools/gst-launch.c: (print_tag):
12812 Print something more intelligible for image tags when
12813 using the -t switch (#341556).
12815 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12820 define GST_MAJORMINOR so we have it available in win32/common/config.h
12821 Possibly remove it from our Makefile.am files later
12822 * win32/common/config.h:
12823 * win32/common/config.h.in:
12824 added GST_MAJORMINOR
12825 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12826 * win32/common/gstversion.h:
12829 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12832 Update win32 files listing.
12833 * win32/common/gstversion.h:
12834 Add GST_MAJORMINOR definition.
12835 * win32/common/libgstreamer.def:
12836 Add new exported functions.
12838 2006-05-12 Michael Smith <msmith@fluendo.com>
12840 * gst/gstplugin.c: (gst_plugin_load_file):
12841 If an so file has no plugin entry point, unload the module.
12843 2006-05-11 Wim Taymans <wim@fluendo.com>
12845 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12846 (gst_queue_set_property):
12847 Don't forget to signal the _chain or _loop function
12848 when the queue size or thresholds change since that might
12849 cause them to make progres again.
12851 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12853 * gst/gstclock.c: (gst_clock_class_init):
12854 * gst/gstindex.c: (gst_index_class_init):
12855 * gst/gstobject.c: (gst_object_class_init):
12856 * gst/gstpad.c: (gst_pad_class_init):
12857 * gst/gstpipeline.c: (gst_pipeline_class_init):
12858 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12859 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12860 * libs/gst/base/gstbasetransform.c:
12861 (gst_base_transform_class_init):
12862 * libs/gst/net/gstnetclientclock.c:
12863 (gst_net_client_clock_class_init):
12864 * libs/gst/net/gstnettimeprovider.c:
12865 (gst_net_time_provider_class_init):
12866 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12867 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12868 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12869 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12870 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12871 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12872 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12873 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12874 * plugins/elements/gsttee.c: (gst_tee_class_init):
12875 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12876 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12877 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12879 2006-05-11 Wim Taymans <wim@fluendo.com>
12881 * gst/gstbuffer.c: (_gst_buffer_initialize):
12882 Register subbufer along with the buffer type so that
12883 it does not accidentally gets registered from N
12884 different streaming threads in a non threadsafe way.
12886 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12890 * gst/gstmessage.h:
12891 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12892 gst_event_ref() and gst_message_ref() functions again
12893 (ugly hack, please do fix if there's a better way besides
12894 overrides.txt, which doesn't seem to work).
12896 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12898 * libs/gst/check/gstcheck.h:
12899 add an assert for setting state to avoid lots of repetitive code
12902 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12904 * gst/gstvalue.c: (gst_value_serialize_flags):
12905 fix a leak if no flags are set
12906 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12909 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12911 * docs/manual/basics-pads.xml:
12912 Expand a bit on caps and filtered links and update
12913 examples that were still using the no longer existing
12914 gst_pad_link_filtered() (#338206).
12916 2006-05-10 Wim Taymans <wim@fluendo.com>
12918 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12919 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12920 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12921 (gst_collect_pads_stop):
12922 * libs/gst/base/gstcollectpads.h:
12923 No need to call _stop in _finalize.
12924 Iterate the main pad list in _finalize.
12925 Added some more debug.
12926 Free lists and data in the right order.
12927 Also free data whem doing _remove_pad when stopped for
12928 backward compatibility protect ::started with PAD_LOCK as
12931 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12933 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12934 (gst_structure_parse_value):
12936 rename a method so that it actually says what it does better
12938 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12940 * gst/gstevent.c: (_gst_event_initialize):
12941 * gst/gstformat.c: (_gst_format_initialize):
12942 make sure some essential types used by events are registered
12943 as part of gst_init()
12944 * gst/gstvalue.c: (gst_value_serialize_flags):
12945 if no flags are set, serialize them to a value that represents NONE
12946 so that deserializing them works
12947 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12948 add tests for serialization and deserialization of flags
12950 2006-05-10 Wim Taymans <wim@fluendo.com>
12952 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12953 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12954 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12955 (gst_collect_pads_event), (gst_collect_pads_chain):
12958 Catch and return errors from the collect function
12959 Refuse data on eos pads.
12961 2006-05-10 Edward Hervey <edward@fluendo.com>
12963 * gst/gstinterface.h:
12964 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12965 GInterface type checking.
12966 They were previously using non-defined macros.
12968 2006-05-09 Wim Taymans <wim@fluendo.com>
12970 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12971 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12972 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12973 (gst_collect_pads_start), (gst_collect_pads_stop),
12974 (gst_collect_pads_peek), (gst_collect_pads_pop),
12975 (gst_collect_pads_available), (gst_collect_pads_read),
12976 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12977 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12978 (gst_collect_pads_chain):
12979 * libs/gst/base/gstcollectpads.h:
12980 Clean up the mess that is collectpads, add comments and
12981 FIXMEs where needed.
12982 Maintain a separate pad list so we can add pads while
12983 collecting the other ones. For this we need a new separate
12985 Fix memory leak in finalize.
12986 Refactor some weird code to set/unset pad flushing flags, mark
12988 Don't crash in _available, _read, _flush when we're EOS.
12990 * tests/check/libs/.cvsignore:
12991 Ignore adapter check binary.
12993 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12995 * gst/gstindex.c: (gst_index_resolver_get_type):
12996 * plugins/elements/gstfakesink.c:
12997 (gst_fake_sink_state_error_get_type):
12998 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12999 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13000 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13001 Const-ify GEnumValue arrays.
13003 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13005 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13006 Add test case for flags + gst_buffer_make_metadata_writable().
13008 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13010 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13011 gst_buffer_make_metadata_writable() should maintain the
13012 buffer flags (those that make sense at least) (see #340859).
13014 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13016 * tools/gst-inspect.c:
13017 * tools/gst-launch.c:
13018 * tools/gst-typefind.c:
13019 * tools/gst-xmlinspect.c:
13021 Fix up includes: need to include stdlib.h in tools.h for exit().
13023 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13025 * gst/gsttaglist.c: (_gst_tag_initialize):
13026 * gst/gsttaglist.h:
13027 API: add GST_TAG_IMAGE tag (#340721).
13029 2006-05-08 Wim Taymans <wim@fluendo.com>
13032 Added some docs for the segment query.
13034 2006-05-08 Wim Taymans <wim@fluendo.com>
13036 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13037 (gst_base_src_loop), (gst_base_src_change_state):
13038 Always push non-flushing serialized events in the streaming
13041 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13043 * gst/gsterror.c: (_gst_stream_errors_init):
13044 Add a missing error string.
13046 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13048 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13049 Add applied_rate to the debug
13051 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13052 Copy applied_rate into the outgoing NEWSEGMENT event
13054 2006-05-08 Wim Taymans <wim@fluendo.com>
13056 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13058 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13059 (gst_base_sink_change_state):
13060 call ::unlock before taking the PREROLL_LOCK so we can safely
13061 handle elements that lock in ::render.
13064 2006-05-08 Edward Hervey <edward@fluendo.com>
13066 * autogen.sh: (CONFIGURE_DEF_OPT):
13067 Darwin's libtoolize is in fact called glibtoolize.
13068 Adding glibtoolize to the list of accepted names for libtoolize.
13070 2006-05-08 Wim Taymans <wim@fluendo.com>
13072 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13073 Unify error handling, don't post an error message
13074 when a push() returns EOS but perform our normal EOS
13075 handling code. Fixes #340772.
13077 2006-05-08 Wim Taymans <wim@fluendo.com>
13079 * docs/design/part-overview.txt:
13080 Make upsteam/downstream concepts more clear.
13081 Give an example of serialized/non-serialized events.
13083 * docs/design/part-events.txt:
13084 * docs/design/part-streams.txt:
13085 Mention applied_rate.
13087 * docs/design/part-trickmodes.txt:
13088 Mention applied rate, flesh out some more use cases.
13090 * gst/gstevent.c: (gst_event_new_new_segment),
13091 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13092 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13093 (gst_event_parse_tag), (gst_event_new_buffer_size),
13094 (gst_event_parse_buffer_size), (gst_event_new_qos),
13095 (gst_event_parse_qos), (gst_event_parse_seek),
13096 (gst_event_new_navigation):
13098 Add applied_rate field to NEWSEGMENT event.
13099 API: gst_event_new_new_segment_full()
13100 API: gst_event_parse_new_segment_full()
13102 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13103 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13104 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13105 * gst/gstsegment.h:
13106 Add applied_rate to GstSegment structure.
13107 Make calculation of stream_time and running_time more correct
13108 wrt rate/applied_rate.
13109 Add some more docs.
13110 API: GstSegment::applied_rate field
13111 API: gst_segment_set_newsegment_full();
13113 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13114 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13115 * libs/gst/base/gstbasetransform.c:
13116 (gst_base_transform_sink_eventfunc),
13117 (gst_base_transform_handle_buffer):
13118 Parse and use applied_rate in the GstSegment field.
13120 * tests/check/gst/gstevent.c: (GST_START_TEST):
13121 Add check for applied_rate field.
13123 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13124 (gstsegments_suite):
13125 Add more checks for various GstSegment operations.
13127 2006-05-08 Wim Taymans <wim@fluendo.com>
13129 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13130 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13131 (gst_base_sink_get_position), (gst_base_sink_change_state):
13132 Store the sync time of the buffer end position separatly in a
13133 new variable eos_rtime so we can properly sync the EOS event.
13135 Fix the docs for gst_base_sink_set_qos_enabled().
13136 Don't set segment start to invalid value when we receive a
13137 non TIME newsegment.
13138 get closer to handling position reporting for negative rates
13141 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13144 Docs about how to print caps for debug purposes.
13146 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13147 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13149 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13151 * gst/gstelement.c:
13152 use full enum names and preprend a '%' in docs strings to make recent
13153 gtk-doc turn that into a link
13155 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13157 * docs/manual/basics-bins.xml:
13158 * docs/manual/basics-bus.xml:
13159 * docs/manual/basics-pads.xml:
13160 Some typo fixes, some additions, some clarifications.
13162 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13164 * tools/gst-inspect.c: (main):
13165 * tools/gst-launch.c: (main):
13166 * tools/gst-run.c: (main):
13167 * tools/gst-typefind.c: (main):
13168 * tools/gst-xmlinspect.c: (main):
13169 Use the string passed to g_option_context_new() for
13170 what it's intended for - the program name is already
13173 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13175 * tools/Makefile.am:
13176 * tools/gst-inspect.c: (main):
13177 * tools/gst-launch.c: (main):
13178 * tools/gst-xmlinspect.c: (main):
13180 Add back --version command line option (#340460).
13182 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13183 Add --version option and use GOption for argument parsing; refactor a
13184 bit; accept directories as arguments and recurse into them; lastly,
13185 print a decent error message when things go wrong.
13187 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13189 * docs/manual/basics-bins.xml:
13190 Don't mention GstThread (#340611)
13191 * docs/manual/basics-elements.xml:
13192 Update link to GObject tutorial (#340607)
13194 2006-05-05 Wim Taymans <wim@fluendo.com>
13197 * gst/gstminiobject.c:
13198 Add note about refcounting and miniobject/buffer writeability
13199 to docs. Fixes #340604
13201 * gst/gstelementfactory.h:
13202 Added some explanation about @klass.
13204 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13206 * docs/manual/intro-motivation.xml:
13207 * docs/manual/manual.xml:
13208 Avoid CORBA & Bonobo references (#340598)
13210 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13212 * docs/manual/basics-bus.xml:
13213 * docs/manual/basics-pads.xml:
13214 Fix up some inaccuracies and omissions (#340609)
13216 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13218 * gst/gstghostpad.c:
13219 Small typo in docs (#340625)
13221 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13223 * gst/parse/Makefile.am:
13224 Make 'make -j' proof (see #340698).
13226 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13229 Require GLib-2.8 here as well.
13231 2006-05-05 Wim Taymans <wim@fluendo.com>
13233 * gst/glib-compat.c:
13234 * gst/gst.c: (init_pre):
13235 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13236 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13237 (gst_object_dispatch_properties_changed):
13239 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13240 * gst/gststructure.c: (gst_structure_set_valist):
13241 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13242 Remove pre glib2.8 compatibility, fixes #340508
13244 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13246 * gst/gsttaglist.h:
13247 Mention type of tags in doc blurbs.
13249 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13251 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13252 (gst_pad_configure_src), (gst_pad_push):
13253 Restore acceptcaps checking behaviour now that good plugins have
13256 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13258 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13265 * gst/gstmessage.c:
13269 * gst/parse/Makefile.am:
13270 * libs/gst/base/gstadapter.c:
13271 * libs/gst/base/gstbasesrc.c:
13272 * libs/gst/base/gstpushsrc.c:
13273 * libs/gst/base/gsttypefindhelper.c:
13274 * plugins/elements/gstfakesrc.c:
13275 * plugins/elements/gstidentity.c:
13276 Make sure gstprivate.h and/or config.h are
13277 always included first, otherwise some of our
13278 defines (like _FILE_OFFSET_BITS) might be
13279 redefined in the system headers. Fixes build
13280 on opensolaris (#340016).
13282 2006-05-04 Wim Taymans <wim@fluendo.com>
13284 * docs/libs/gstreamer-libs-sections.txt:
13285 API: addition: gst_adapter_take_buffer()
13287 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13288 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13289 (gst_adapter_available_fast):
13290 * libs/gst/base/gstadapter.h:
13291 Prepare for optimizing the hell out of this hugely inefficient
13293 Added gst_adapter_take_buffer() so we can at least start thinking
13294 about subbuffering and merging.
13295 Added some comments.
13297 * tests/check/Makefile.am:
13298 * tests/check/libs/adapter.c: (GST_START_TEST),
13299 (gst_adapter_suite), (main):
13300 Added GstAdapter check.
13302 2006-05-04 Wim Taymans <wim@fluendo.com>
13304 * docs/design/part-overview.txt:
13305 Fix some typos, add blurb about buffer flags.
13307 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13309 * docs/libs/gstreamer-libs-sections.txt:
13310 make sure GstBaseTransformClass shows up in the docs
13311 * libs/gst/base/gstbasetransform.c:
13312 * libs/gst/base/gstbasetransform.h:
13313 move docs so gtk-doc picks it up now
13315 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13317 * docs/libs/gstreamer-libs-sections.txt:
13318 add missing symbols to docs
13320 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13322 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13323 back out the newsegment handling change, see #340060 for ongoing
13326 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13328 * tools/gst-run.c: (get_candidates), (main):
13329 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13330 work); fix typo in error message. Fixes #340079.
13332 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13334 * common/Makefile.am:
13335 * docs/Makefile.am:
13336 * docs/faq/Makefile.am:
13337 * docs/gst/Makefile.am:
13338 * docs/libs/Makefile.am:
13339 * docs/manual/Makefile.am:
13340 * docs/plugins/Makefile.am:
13341 * docs/pwg/Makefile.am:
13342 * docs/slides/Makefile.am:
13344 * common/upload.mak:
13345 move upload.mak to common
13347 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13349 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13350 add more asserts on refcounts
13351 do more cleanup at end of tests
13352 fix test leaks showing in FC5
13354 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13356 * plugins/elements/gsttypefindelement.c:
13357 (gst_type_find_element_handle_event):
13358 reverted wrong change and reflowed code to avoid others falling into
13361 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13363 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13364 fix changelog entry about last collectpads change,
13365 add notes about proper fix
13367 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13370 * gst/gstregistry.c: (gst_registry_scan_path_level),
13371 (gst_registry_scan_path):
13372 * gst/gstregistry.h:
13373 only write out registry if it has changed, fixes #338339
13375 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13378 * gst/gstpipeline.c:
13379 * plugins/elements/gstcapsfilter.c:
13380 * plugins/elements/gstfakesink.c:
13381 * plugins/elements/gstfakesrc.c:
13382 * plugins/elements/gstfdsink.c:
13383 * plugins/elements/gstfdsrc.c:
13384 * plugins/elements/gstfilesink.c:
13385 * plugins/elements/gstfilesrc.c:
13386 * plugins/elements/gstidentity.c:
13387 * plugins/elements/gstqueue.c:
13388 * plugins/elements/gsttee.c:
13389 * plugins/elements/gsttypefindelement.c:
13390 (gst_type_find_element_handle_event):
13391 make GstElementDetails const
13393 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13395 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13396 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13397 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13398 more detailed debug and formatting cleanup,
13399 forward newsegments to src-pad (so that e.g. adder not eats them)
13401 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13403 * gst/gstutils.c: (gst_element_link_pads):
13404 cleanup double code
13406 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13408 * libs/gst/controller/gstcontroller.c:
13409 (gst_controller_sync_values):
13411 * tests/check/libs/controller.c: (GST_START_TEST),
13412 (gst_controller_suite):
13413 a new test for live value handling
13415 2006-04-28 Wim Taymans <wim@fluendo.com>
13417 * gst/gstutils.c: (push_and_ref):
13418 Added some more docs.
13419 Fix refcount issue whith gst_element_found_tags() helper
13420 function. Fixes #338335
13422 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13423 Added testsuite for gst_element_found_tags().
13425 2006-04-28 Michael Smith <msmith@fluendo.com>
13427 * gst/gstvalue.c: (gst_value_serialize_flags):
13428 Avoid NULL dereference when trying to serialize flags containing
13431 2006-04-28 Michael Smith <msmith@fluendo.com>
13433 * plugins/elements/gsttypefindelement.c:
13434 (gst_type_find_element_handle_event):
13435 If we get EOS before any data is accumulated, don't use
13436 uninitialised local variables.
13438 2006-04-28 Michael Smith <msmith@fluendo.com>
13440 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13441 (gst_dp_event_from_packet):
13442 Fixes in reading/writing events over GDP (not currently used?) -
13443 dereferencing NULL events for unknown/invalid event types, memory
13444 leak, and change g_warning to GST_WARNING.
13446 2006-04-28 Wim Taymans <wim@fluendo.com>
13448 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13449 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13450 (gst_base_sink_get_position), (gst_base_sink_change_state):
13451 When frame dropping is enabled, we should not ignore frames
13452 without a duration.
13453 Update some documentation.
13455 2006-04-28 Wim Taymans <wim@fluendo.com>
13457 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13458 (gst_base_src_send_event), (gst_base_src_change_state):
13459 Documentation updates.
13461 2006-04-28 Wim Taymans <wim@fluendo.com>
13463 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13464 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13465 handle EAGAIN, EINTR and short writes correctly. Also clean
13466 up some error cases, avoid a deadlock on bad file descriptors and
13467 use GST_DEBUG_OBJECT.
13470 2006-04-28 Wim Taymans <wim@fluendo.com>
13472 * gst/gstvalue.c: (gst_value_serialize_buffer),
13473 (gst_value_deserialize_buffer):
13474 Don't try to serialize a GValue with a NULL buffer.
13477 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13478 Added check for serialisation of NULL buffers.
13480 2006-04-28 Wim Taymans <wim@fluendo.com>
13482 * gst/gstminiobject.c: (gst_value_take_mini_object):
13483 Taking a NULL miniobject is valid, fix the case where
13484 we try to unref the NULL miniobject.
13486 2006-04-28 Wim Taymans <wim@fluendo.com>
13488 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13490 * gst/gstbin.c: (gst_bin_handle_message_func):
13492 Don't leak bin refcount when a state recalc is
13493 in progress and we delay another one #339808.
13495 2006-04-28 Wim Taymans <wim@fluendo.com>
13497 * docs/design/part-TODO.txt:
13498 Mention QoS as an ongoing work item.
13500 * docs/design/part-buffering.txt:
13501 New doc about buffering that needs to be fleshed out
13504 * docs/design/part-qos.txt:
13505 More QoS policy for decoders/demuxers/transforms
13507 * docs/design/part-trickmodes.txt:
13510 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13515 === release 0.10.5 ===
13517 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13520 releasing 0.10.5, "Fogo"
13522 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13524 patch by: Wim Taymans
13526 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13527 (gst_pad_configure_src), (gst_pad_push):
13528 * gst/gstpipeline.c: (gst_pipeline_init):
13529 Fix internal data flow errors. Fixes #338711.
13531 2006-04-12 Wim Taymans <wim@fluendo.com>
13533 * tests/check/gst/gstelement.c: (GST_START_TEST):
13534 Don't leak the factory.
13536 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13539 * win32/common/config.h:
13542 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13544 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13545 (gst_controller_unset_all):
13546 Free allocated GstTimedValues when freeing list nodes.
13547 Should fix leaks 'make check-valgrind' complains about.
13549 * win32/common/libgstcontroller.def:
13550 Add gst_controller_unset_all.
13552 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13554 * docs/libs/gstreamer-libs-sections.txt:
13555 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13556 (gst_controller_unset_all):
13557 * libs/gst/controller/gstcontroller.h:
13558 API: Added new method gst_controller_unset_all()
13559 fixed gst_controller_unset()
13560 * tests/check/libs/controller.c: (GST_START_TEST),
13561 (gst_controller_suite):
13562 Added two testcases for new and fixed method
13564 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13566 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13567 MSG_DONTWAIT is not defined on Cygwin, so work
13568 around that (fixes #317048).
13570 2006-04-11 Wim Taymans <wim@fluendo.com>
13572 * gst/gstelementfactory.c: (gst_element_register),
13573 (gst_element_factory_create), (gst_element_factory_make):
13576 Updated docs (Fixes #131079)
13578 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13581 * tests/check/gst/gstelement.c: (GST_START_TEST),
13582 (gst_element_suite):
13583 Added testcase for elementfactory class field.
13585 2006-04-10 Wim Taymans <wim@fluendo.com>
13587 * gst/gstsegment.c:
13588 Added some more docs.
13590 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13591 (gst_base_sink_reset_qos):
13592 Calculate more accurate rate values.
13594 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13596 * gst/gst_private.h:
13597 add a new #ifdef to use __declspec(dllimport) only for
13598 other modules and not for gstreamer core
13599 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13600 use gst_guint64_to_gdouble for conversion
13601 * win32/common/libgstreamer.def:
13602 add new exported functions
13603 * win32/vs6/gst_inspect.dsp:
13604 * win32/vs6/gst_launch.dsp:
13605 * win32/vs6/libgstbase.dsp:
13606 * win32/vs6/libgstcontroller.dsp:
13607 * win32/vs6/libgstcoreelements.dsp:
13608 * win32/vs6/libgstdataprotocol.dsp:
13609 * win32/vs6/libgstnet.dsp:
13610 update project files
13612 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13614 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13615 * gst/gstclock.c: (gst_clock_class_init):
13616 * gst/gstelement.c: (gst_element_class_init):
13617 * gst/gstindex.c: (gst_index_class_init):
13618 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13619 * gst/gstobject.c: (gst_object_class_init),
13620 (gst_signal_object_class_init):
13621 * gst/gstpad.c: (gst_pad_class_init):
13622 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13623 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13624 * gst/gstregistry.c: (gst_registry_class_init):
13625 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13626 * gst/gsttask.c: (gst_task_class_init):
13627 * gst/gstxml.c: (gst_xml_class_init):
13628 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13629 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13630 (gst_base_src_loop):
13631 * libs/gst/controller/gstcontroller.c:/
13632 (_gst_controller_class_init):
13633 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13634 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13635 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13636 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13637 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13638 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13640 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13642 * gst/gstpad.c: (gst_pad_link):
13643 Must set peer pads before calling the link function, otherwise
13644 a task started from a link function might get a flow-not-linked
13645 result when trying to push because the other thread where the
13646 linking happens hasn't had a chance to set the peers yet. This
13647 might happen for example when a queue gets linked to a downstream
13648 element, as queue starts a streaming task when its source pad
13649 gets linked. Happens in real life when playing back flac/musepack
13650 files in playbin (#332390).
13652 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13656 * libs/gst/base/gstadapter.h:
13657 * libs/gst/base/gstbasesink.h:
13658 * libs/gst/base/gstbasesrc.h:
13659 * libs/gst/base/gstbasetransform.h:
13660 * libs/gst/base/gstcollectpads.h:
13661 * libs/gst/base/gstpushsrc.h:
13662 Fix broken GObject macros
13664 2006-04-07 Wim Taymans <wim@fluendo.com>
13666 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13667 Initialize start and stop times, thanks valgrind.
13669 2006-04-07 Wim Taymans <wim@fluendo.com>
13671 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13672 Be a bit nicer to badly behaving upstream elements that expect
13673 us to deal with non TIME segments and timestamps (such as fakesrc
13676 2006-04-07 Wim Taymans <wim@fluendo.com>
13679 Small documentation clarification about the signal watch.
13681 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13682 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13683 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13684 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13685 (gst_base_sink_get_position_last),
13686 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13687 Convert and store timestamps in stream time and running time, the
13688 raw timestamps are not useful, also document this better.
13689 Use different window sizes for good and bad QoS observations so
13690 we react to badness a little quicker.
13691 Keep track of the amount of rendered and dropped buffers.
13692 Send QoS timestamps in running time.
13694 * libs/gst/base/gstbasetransform.c:
13695 (gst_base_transform_sink_eventfunc),
13696 (gst_base_transform_handle_buffer):
13697 Compare QoS timestamps against running time.
13699 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13702 Typo fixes in docs.
13704 2006-04-06 Michael Smith <msmith@fluendo.com>
13706 * gst/gstpad.c: (gst_pad_set_property):
13707 Use g_value_get_object() instead of g_value_dup_gst_object(),
13708 to avoid double-reffing the pad template (which we then sink,
13709 so this worked previously if (and only if) the pad template
13712 * gst/gstpadtemplate.c: (gst_pad_template_init),
13713 (gst_pad_template_pad_created):
13714 Never return floating references to pad templates, create
13715 them as initially-sunken.
13717 Document an extra function (and make this stop sinking our
13718 pad template, since that is now guaranteed to do nothing,
13719 since we created it sunken).
13721 * gst/gstghostpad.c:
13724 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13726 * gst/gstinfo.c: (__gst_in_valgrind):
13729 * plugins/elements/gsttypefindelement.c:
13730 (gst_type_find_element_chain):
13731 Don't leak buffer caps.
13733 2006-04-06 Michael Smith <msmith@fluendo.com>
13735 * gst/parse/grammar.y:
13736 Fix a leak in parse-launch for any source-or-sink named element
13739 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13740 Unref the pipeline if it exists after we've failed parsing.
13742 2006-04-05 Michael Smith <msmith@fluendo.com>
13744 * gst/gstpipeline.c: (gst_pipeline_init):
13745 When we create a pipeline bus, initially create it in flushing mode.
13746 Fixes leaks in at least one test, and makes a new pipeline work the
13747 same as one that has gone to READY and then back to NULL.
13749 * gst/gstelement.c:
13752 2006-04-05 Michael Smith <msmith@fluendo.com>
13754 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13755 Unref a pad we reffed.
13756 * tests/check/gst/gstutils.c: (GST_START_TEST):
13759 2006-04-05 Michael Smith <msmith@fluendo.com>
13761 * gst/gstquery.c: (gst_query_set_formats),
13762 (gst_query_set_formatsv):
13763 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13765 2006-04-05 Michael Smith <msmith@fluendo.com>
13767 * tests/check/generic/sinks.c: (GST_START_TEST):
13768 Fix a variety of memleaks in sinks check, which are only sometimes
13769 shown by running the tests under valgrind (weird?).
13771 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13773 * docs/version.entities.in:
13774 Fix the substituted entity name after thomas' changes on the
13777 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13779 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13782 2006-04-05 Andy Wingo <wingo@pobox.com>
13784 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13786 * libs/gst/base/gstbasetransform.c
13787 (gst_base_transform_sink_eventfunc): When resetting our segment on
13788 FLUSH_STOP, also update the flag saying we haven't seen a
13791 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13793 Patch by: Paolo Borelli <pborelli at katamail dot com>
13795 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13796 (gst_plugin_check_license):
13797 minor clean-ups: G_DEFINE_TYPE already takes care of the
13798 parent_class stuff, no need to do it twice. Mark array of
13799 license strings as constant. (#337103)
13801 2006-04-04 Michael Smith <msmith@fluendo.com>
13803 * tools/gst-inspect.c: (print_element_list):
13804 Free the right plugin list; fixes a memory leak.
13806 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13808 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13810 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13811 Don't error out on empty buffers (#336945).
13813 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13815 * docs/libs/gstreamer-libs-sections.txt:
13816 * gst/gsttaglist.c:
13817 * libs/gst/base/gstbasesink.c:
13818 * libs/gst/base/gstbasesink.h:
13819 * libs/gst/base/gstbasesrc.c:
13820 * libs/gst/base/gstbasesrc.h:
13821 Documentation updates. Make BaseSink and BaseSrc docs contain the
13822 class structure so that people can actually see the prototypes for
13823 virtual functions they're supposed to be overriding.
13825 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13827 * plugins/elements/gsttypefindelement.c:
13828 (gst_type_find_element_chain):
13829 More debug info; when skipping typefinding, send cached
13830 events in all cases.
13832 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13835 use new AS_VERSION and AS_NANO macros
13836 * gst/gst-i18n-lib.h:
13839 * gst/gstversion.h.in:
13840 * win32/common/config.h:
13841 * win32/common/config.h.in:
13844 2006-03-31 Michael Smith <msmith@fluendo.com>
13846 * plugins/elements/gsttypefindelement.c:
13847 (gst_type_find_element_chain):
13848 Do not typefind content if the buffers already have caps.
13849 Neccesary for icydemux (#333657), and the right thing to do anyway.
13851 2006-03-30 Wim Taymans <wim@fluendo.com>
13853 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13854 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13855 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13856 (gst_base_sink_record_qos_observation),
13857 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13858 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13859 (gst_base_sink_change_state):
13860 More QoS measurements as described in the design doc.
13861 Get rid of ringbuffer with observations, running average is
13862 more simple and equally good.
13863 Calculates valid proportion now.
13864 Added beginning of flood measurement.
13866 2006-03-29 Wim Taymans <wim@fluendo.com>
13868 * docs/design/part-qos.txt:
13870 Small documentation updates and additions.
13872 2006-03-29 Wim Taymans <wim@fluendo.com>
13874 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13875 (gst_base_src_send_event), (gst_base_src_loop),
13876 (gst_base_src_change_state):
13877 Perform the EOS logic when we reach the segment stop position.
13878 Fix compilation on gcc4.1
13880 2006-03-29 Wim Taymans <wim@fluendo.com>
13882 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13884 * plugins/elements/gstqueue.c: (gst_queue_init),
13885 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13886 (gst_queue_set_property):
13887 * plugins/elements/gstqueue.h:
13888 In queue, when EOS is received, if minimum threshold > max_size -
13889 current_level, there is chance that queue blocks forever in conditional
13890 item del wait. This is because the queue is not emptied completely due
13891 to minimum threshold. Here is another approach. Instead of setting
13892 cur_levels to max in EOS, just zero all minimum threshold levels. This
13893 should make sure that queue gives out all data. When going to READY
13894 (stop) state, just reset the original minimum threshold levels.
13897 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13899 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13900 (gst_type_find_element_handle_event),
13901 (gst_type_find_element_send_cached_events),
13902 (gst_type_find_element_change_state):
13903 * plugins/elements/gsttypefindelement.h:
13904 When typefinding is done in push mode, we should cache
13905 events we receive during typefinding instead of just
13906 dropping them (e.g. newsegment, custom events from
13907 dvdreadsrc etc.) and then send them out once we've
13908 determined the type of the stream (and decodebin
13909 has had a chance to plug in a decoder/demuxer).
13911 2006-03-27 Wim Taymans <wim@fluendo.com>
13913 * docs/design/part-qos.txt:
13916 2006-03-27 Wim Taymans <wim@fluendo.com>
13918 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13920 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13921 (gst_base_src_send_event), (gst_base_src_change_state):
13922 Handle element seek correctly when we are streaming.
13925 2006-03-24 Michael Smith <msmith@fluendo.com>
13927 * docs/faq/gst-uninstalled:
13928 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13929 allow you to correctly run intalled applications built against old
13930 core, using plugins that require updated core (e.g. running
13931 installed totem against a full uninstalled gstreamer stack)
13933 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13935 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13938 2006-03-24 Wim Taymans <wim@fluendo.com>
13940 * docs/gst/gstreamer-sections.txt:
13941 Rearrange the order of the methods so that related methods
13942 are grouped together in sections.
13944 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13946 * gst/gstelement.c:
13947 Little clarification in the docs
13949 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13953 * plugins/elements/gstidentity.c:
13954 * plugins/elements/gstqueue.c:
13955 * plugins/elements/gsttee.c:
13956 * plugins/elements/gsttypefindelement.c:
13957 GST_ELEMENT_DETAILS formatting
13959 2006-03-24 Wim Taymans <wim@fluendo.com>
13961 * libs/gst/base/gstbasesink.h:
13962 Only add fields, not insert or we break ABI.
13964 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13966 * win32/common/libgstbase.def:
13967 * win32/common/libgstreamer.def:
13968 Update, add recently added functions.
13970 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13972 * docs/gst/gstreamer-sections.txt:
13973 * gst/gstutils.c: (gst_pad_query_peer_position),
13974 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13976 API: add some new utility functions:
13977 - gst_pad_query_peer_position()
13978 - gst_pad_query_peer_duration()
13979 - gst_pad_query_peer_convert()
13981 2006-03-23 Wim Taymans <wim@fluendo.com>
13983 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13984 (gst_base_sink_init), (gst_base_sink_finalize),
13985 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13986 (gst_base_sink_set_property), (gst_base_sink_get_property),
13987 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13988 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13989 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13990 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13991 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13992 (gst_base_sink_preroll_object), (gst_base_sink_event),
13993 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13994 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13995 (gst_base_sink_query), (gst_base_sink_change_state):
13996 Decouple max-lateness and the fact that QoS messages are generated
13997 with a new property (qos).
13998 added API: GstBaseSink::async_play()
13999 Add vmethod so subclasses can be notified of ASYNC playing
14001 Collect timestamp start and stop to report better current
14002 position in EOS/PLAYING/PAUSED/READY/NULL.
14003 Refactor QoS/frame dropping and other measurements.
14004 API: GstBaseSrc::qos
14007 * libs/gst/base/gstbasesink.h:
14008 Added Private struct.
14009 API: gst_base_sink_set_qos_enabled()
14010 API: gst_base_sink_is_qos_enabled()
14012 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14014 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14015 If compiling against GLib-2.8 or newer, try to read the
14016 registry file using GMappedFile first before falling back
14017 to fopen() + fread() (#332151).
14019 2006-03-22 Wim Taymans <wim@fluendo.com>
14021 * gst/gstinfo.c: (gst_debug_set_active),
14022 (gst_debug_category_set_threshold):
14023 Disable debugging unless explicitly activated.
14026 2006-03-22 Wim Taymans <wim@fluendo.com>
14028 * gst/gstelement.c: (gst_element_set_locked_state),
14029 (gst_element_dispose):
14030 Cleanup the error case.
14032 * gst/gstobject.c: (gst_object_dispose):
14033 print a critical when some object was disposed with
14034 a parent, also revive the object since it might
14037 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14039 * tools/gst-launch.1.in:
14042 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14045 * tests/check/Makefile.am:
14046 disable some tests when we don't have a registry
14047 * tests/check/gst/gstutils.c: (gst_utils_suite):
14048 don't build the part that needs parsing
14050 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14053 * tests/examples/Makefile.am:
14054 fix --disable-parse build
14056 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14058 * tools/gst-feedback.1.in:
14059 Fix typo: s/feeback/feedback/ (#133494).
14061 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14063 * tools/Makefile.am:
14064 * tools/gst-launch.1.in:
14065 Add FILES section and correct entry about GST_REGISTRY_PATH
14066 environment variable (#133495; #133494).
14068 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14070 * tools/Makefile.am:
14071 * tools/gst-md5sum.1.in:
14072 * tools/gst-md5sum.c:
14073 Remove gst-md5sum and man page (the md5sink element
14074 required was removed ages ago)
14076 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14078 * gst/gststructure.c: (gst_structure_id_set_value):
14079 Make sure that string fields in structures/taglists
14080 contain valid UTF-8 - we don't want to pass rubbish to
14081 applications because of a buggy plugin (cp. #334167).
14083 2006-03-21 Edward Hervey <edward@fluendo.com>
14085 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14086 (gst_bin_handle_message_func):
14087 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14088 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14089 (gst_element_set_bus_func):
14090 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14091 * gst/gstminiobject.c: (gst_value_set_mini_object),
14092 (gst_value_take_mini_object):
14093 * gst/gstpad.c: (gst_pad_set_pad_template):
14094 * gst/gstpipeline.c: (gst_pipeline_dispose),
14095 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14096 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14097 (gst_collect_pads_chain):
14098 * libs/gst/net/gstnettimeprovider.c:
14099 (gst_net_time_provider_set_property):
14100 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14101 It's in fact all issues with gst_*object_replace().
14103 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14105 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14107 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14108 * pkgconfig/gstreamer-check.pc.in:
14109 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14111 2006-03-21 Edward Hervey <edward@fluendo.com>
14115 * gst/gstmessage.h:
14116 gst_[buffer|event|message]_ref() macros are replaced by a static
14117 inline functions because gcc-4.1 will about if the return value
14119 * tests/check/gst/gstevent.c: (event_probe):
14120 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14122 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14125 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14126 the type' case. (Closes: #335195 for now). In the future, when we
14127 depend on GLib 2.10, we could also intern the type name using
14128 g_intern_static_string()
14130 2006-03-20 Wim Taymans <wim@fluendo.com>
14132 * gst/gstbin.c: (gst_bin_handle_message_func),
14133 (bin_query_max_init), (bin_query_position_fold),
14134 (bin_query_position_done), (gst_bin_query):
14135 Position query should also take max of all streams.
14137 2006-03-20 Wim Taymans <wim@fluendo.com>
14139 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14140 (gst_fake_src_finalize):
14141 Fix leaks in fakesrc.
14143 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14144 Fix leaks in the testcase.
14146 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14148 * gst/gst_private.h:
14149 add win32 specific import decoration(__declspec(dllimport))
14150 for all extern GstDebugCategory * variables
14151 * win32/common/libgstbase.def:
14152 * win32/common/libgstcontroller.def:
14153 * win32/common/libgstreamer.def:
14154 Add some exports, remove empty lines
14155 * win32/common/libgstdataprotocol.def:
14156 * win32/common/libgstdataprotocol.dsp:
14157 * win32/common/libgstnet.def:
14158 * win32/common/libgstnet.dsp:
14159 new project files and exportation files added
14161 2006-03-19 Wim Taymans <wim@fluendo.com>
14163 * tests/check/libs/basesrc.c: (eos_event_counter):
14164 Use proper return value for probe.
14166 2006-03-17 Wim Taymans <wim@fluendo.com>
14168 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14170 Don't leak buffers, caps and pads on negotiation errors.
14172 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14174 * docs/faq/cvs.xml:
14175 * docs/faq/dependencies.xml:
14176 * docs/faq/developing.xml:
14177 * docs/faq/faq.xml:
14178 * docs/faq/general.xml:
14179 * docs/faq/getting.xml:
14180 * docs/faq/legal.xml:
14181 * docs/faq/troubleshooting.xml:
14182 * docs/faq/using.xml:
14183 Faq review and update.
14185 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14187 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14189 Don't pound the cpu to pieces by checking get_caps when accept_caps
14190 is called with the same caps as the pad already has.
14191 Use GST_DEBUG_OBJECT when outputting caps change information.
14193 2006-03-15 Wim Taymans <wim@fluendo.com>
14195 * gst/gstclock.c: (gst_clock_class_init):
14198 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14203 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14204 (gst_pad_accept_caps), (gst_pad_configure_sink),
14205 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14206 Make the default acceptcaps behaviour be to check the requested
14207 caps against the gst_pad_get_caps output.
14209 Ensure that gst_pad_accept_caps is used to check caps when a pad
14210 doesn't have a setcaps function, so that pads automatically refuse
14211 caps that they don't allow in their pad template. (Fixes #332986)
14213 When a buffer with attached caps is pushed, ensure that the source
14214 pad receives those caps even if the element didn't call
14215 gst_pad_set_caps first.
14217 2006-03-15 Wim Taymans <wim@fluendo.com>
14219 * libs/gst/base/gstadapter.c:
14222 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14224 * win32/common/libgstbase.def:
14225 * win32/common/libgstcontroller.def:
14226 * win32/common/libgstreamer.def:
14227 Add a whole bunch of missing functions (#334434).
14229 2006-03-14 Wim Taymans <wim@fluendo.com>
14231 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14232 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14233 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14234 Better debug info when we receive a segment event.
14235 Reorganize a bit so we can pass the get_times() results around.
14236 Use the segment format when calculating the running time.
14237 Don't do QoS is sync is disabled or we have no clock or the
14238 element does not want us to sync to the clock.
14239 Don't drop buffers if QoS is disabled for now.
14241 2006-03-14 Wim Taymans <wim@fluendo.com>
14243 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14244 Marked the stats property as unimplemented so people don't get
14246 Add debug message when regression goes wrong.
14247 Added some more docs.
14249 2006-03-14 Wim Taymans <wim@fluendo.com>
14251 * gst/gstsegment.c: (gst_segment_to_stream_time):
14252 Return correct return type in case of errors.
14254 2006-03-14 Wim Taymans <wim@fluendo.com>
14256 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14257 Don't segfault on invalid formats.
14259 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14261 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14262 Can't use gst_segment_to_running_time() when the segment
14263 is not in GST_TIME_FORMAT (like with filesink, for example).
14264 Stops flac encoding pipelines from spewing critical warnings
14267 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14269 * gst/gstpipeline.c: (gst_pipeline_class_init):
14270 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14272 * plugins/elements/gsttypefindelement.c:
14273 (gst_type_find_element_handle_event):
14274 Don't try to typefind empty streams.
14276 2006-03-14 Wim Taymans <wim@fluendo.com>
14278 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14279 (gst_base_sink_do_qos):
14280 Separate QoS calculation.
14281 Only drop buffers when lateness is bigger than the
14282 duration of the buffer.
14284 2006-03-13 Wim Taymans <wim@fluendo.com>
14286 * gst/gstpipeline.c: (gst_pipeline_set_property),
14287 (gst_pipeline_get_property), (do_pipeline_seek),
14288 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14289 (gst_pipeline_get_delay):
14290 Don't deadlock when reading properties.
14292 2006-03-13 Wim Taymans <wim@fluendo.com>
14294 * libs/gst/base/gstbasetransform.c:
14295 (gst_base_transform_class_init), (gst_base_transform_init),
14296 (gst_base_transform_sink_event),
14297 (gst_base_transform_sink_eventfunc),
14298 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14299 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14300 (gst_base_transform_set_property),
14301 (gst_base_transform_get_property),
14302 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14303 (gst_base_transform_set_qos_enabled),
14304 (gst_base_transform_is_qos_enabled):
14305 * libs/gst/base/gstbasetransform.h:
14306 Make basetransform virtual method for src events too.
14307 Handle QOS in basetransform.
14308 API: gst_base_transform_update_qos()
14309 API: gst_base_transform_set_qos_enabled()
14310 API: gst_base_transform_is_qos_enabled()
14312 2006-03-13 Wim Taymans <wim@fluendo.com>
14314 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14315 (gst_base_sink_do_sync):
14317 Use QOS debug category.
14319 2006-03-13 Wim Taymans <wim@fluendo.com>
14321 * plugins/elements/gstqueue.c:
14322 Very small doc update.
14324 2006-03-13 Wim Taymans <wim@fluendo.com>
14326 * gst/gst_private.h:
14327 * gst/gstinfo.c: (_gst_debug_init):
14328 Added QOS debug category
14330 2006-03-13 Wim Taymans <wim@fluendo.com>
14332 * docs/gst/gstreamer-sections.txt:
14333 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14335 * gst/gstbus.c: (gst_bus_class_init):
14338 * gst/gstelement.c: (gst_element_set_locked_state):
14339 * gst/gstsegment.c:
14340 Documentation updates.
14342 * gst/gstpipeline.c: (gst_pipeline_get_type),
14343 (gst_pipeline_class_init), (gst_pipeline_init),
14344 (gst_pipeline_dispose), (gst_pipeline_set_property),
14345 (gst_pipeline_get_property), (do_pipeline_seek),
14346 (gst_pipeline_send_event), (gst_pipeline_change_state),
14347 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14348 (gst_pipeline_get_delay):
14349 * gst/gstpipeline.h:
14350 Added methods for setting the delay.
14351 API: gst_pipeline_set_delay()
14352 API: gst_pipeline_get_delay()
14353 Add pipeline debug category
14356 Don't reset stream time when seek failed.
14358 2006-03-13 Wim Taymans <wim@fluendo.com>
14360 * docs/design/draft-klass.txt:
14361 * docs/design/part-clocks.txt:
14362 * docs/design/part-events.txt:
14363 * docs/design/part-gstbin.txt:
14364 * docs/design/part-gstpipeline.txt:
14365 * docs/design/part-messages.txt:
14366 * docs/design/part-negotiation.txt:
14367 * docs/design/part-overview.txt:
14368 * docs/design/part-preroll.txt:
14369 * docs/design/part-seeking.txt:
14370 * docs/design/part-states.txt:
14371 * docs/design/part-streams.txt:
14372 Documentation updates.
14374 2006-03-12 Julien MOUTTE <julien@moutte.net>
14376 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14377 us to leak strings...
14379 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14381 * libs/gst/net/gstnettimeprovider.c:
14383 * win32/common/config.h:
14386 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14388 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14391 Don't check for libgnomeui (leftover from old examples
14392 that aren't built or disted any longer) (#334303).
14394 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14396 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14397 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14398 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14399 there's no space left on the device.
14401 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14404 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14405 to cast the input to GstClockTime before comparing with
14406 another GstClockTime value.
14408 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14413 === release 0.10.4 ===
14415 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14418 releasing 0.10.4, "Light"
14420 2006-03-10 Michael Smith <msmith@fluendo.com>
14422 * libs/gst/dataprotocol/dataprotocol.c:
14423 Fix docs for dataprocotol to not get the return types completely
14424 wrong for a few functions.
14426 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14428 * docs/gst/gstreamer-sections.txt:
14429 * gst/gstpipeline.c: (gst_pipeline_class_init),
14430 (gst_pipeline_init), (gst_pipeline_set_property),
14431 (gst_pipeline_get_property), (gst_pipeline_change_state),
14432 (gst_pipeline_set_auto_flush_bus),
14433 (gst_pipeline_get_auto_flush_bus):
14434 * gst/gstpipeline.h:
14435 Add new API: gst_pipeline_set_auto_flush_bus() and
14436 gst_pipeline_get_auto_flush_bus() to disable automatic
14437 flushing of the pipeline's GstBus when going from READY
14438 to NULL state (#332045).
14440 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14442 * docs/gst/gstreamer-sections.txt:
14443 * gst/gsturi.c: (gst_uri_has_protocol):
14445 Add new API: gst_uri_has_protocol() (#333779).
14447 2006-03-09 Wim Taymans <wim@fluendo.com>
14449 * gst/gstclock.c: (gst_clock_entry_new),
14450 (gst_clock_id_compare_func), (gst_clock_id_wait),
14451 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14452 (gst_clock_init), (gst_clock_get_internal_time),
14453 (gst_clock_set_master), (do_linear_regression),
14454 (gst_clock_add_observation), (gst_clock_set_property):
14458 Fix a possible segfault when the window-size is made smaller.
14459 Calculate jitter before performing the clock wait. Ideally
14460 the clock implementation should calculate jitter but we need
14461 API breakage for that.
14463 * gst/gstsystemclock.c: (gst_system_clock_init):
14466 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14467 Remove leftover else
14469 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14470 (gst_systemclock_suite):
14471 Added check to test GST_CLOCK_DIFF.
14473 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14475 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14476 (gst_type_find_helper_get_range):
14477 If we are provided with the size, we should implement
14478 GstTypeFind::get_length, so that typefind functions who
14479 want to can actually peek at the middle of a file.
14481 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14483 * docs/manual/advanced-dataaccess.xml:
14484 Add some very very basic error checking.
14486 * docs/pwg/appendix-checklist.xml:
14487 Some updates to the list of things to check when writing an element.
14489 2006-03-08 Wim Taymans <wim@fluendo.com>
14491 * docs/design/part-element-transform.txt:
14492 Added some docs about the design of tranform elements.
14494 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14495 (gst_base_src_loop), (gst_base_src_change_state):
14496 Mark buffers with the DISCONT flag.
14498 2006-03-08 Michael Smith <msmith@fluendo.com>
14500 * gst/gstregistry.h:
14501 * gst/gstregistryxml.c: (gst_registry_save),
14502 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14503 (gst_registry_xml_save_pad_template),
14504 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14505 (gst_registry_xml_write_cache):
14506 Rewrite registry-saving to avoid race conditions and check for
14509 2006-03-08 Wim Taymans <wim@fluendo.com>
14511 * libs/gst/base/gstbasetransform.c:
14512 (gst_base_transform_transform_caps),
14513 (gst_base_transform_transform_size),
14514 (gst_base_transform_prepare_output_buffer),
14515 (gst_base_transform_get_unit_size),
14516 (gst_base_transform_buffer_alloc),
14517 (gst_base_transform_handle_buffer),
14518 (gst_base_transform_change_state):
14519 Cleanups, separate normal flow from errors, add sensible
14521 Don't try to renegotiate when allocating an output buffer.
14522 Also copy DISCONT buffer flag when copying a buffer.
14523 Reset the transform after we finish streaming, not during.
14525 2006-03-08 Wim Taymans <wim@fluendo.com>
14527 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14528 Use last buffer timestamp in qos message.
14530 2006-03-07 Wim Taymans <wim@fluendo.com>
14532 Patch by: Christophe Fergeau
14534 * docs/pwg/advanced-tagging.xml:
14535 * docs/pwg/building-pads.xml:
14538 2006-03-07 Wim Taymans <wim@fluendo.com>
14540 * docs/libs/gstreamer-libs-sections.txt:
14541 Added basesink new methods.
14545 Docs updates. Flesh out the QoS docs.
14547 * libs/gst/base/gstadapter.c:
14548 Small doc clarification about ownership and flushing.
14550 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14551 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14552 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14553 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14554 * libs/gst/base/gstbasesink.h:
14556 Added new methods to allow subclass to control max-lateness
14558 Generate very basic QoS events based on last sync observation.
14559 Updated docs, fix typo, added some QoS blurb.
14561 * libs/gst/base/gstbasesrc.c:
14562 Remove obsolete _get_state() calls from docs.
14564 2006-03-07 Wim Taymans <wim@fluendo.com>
14566 * docs/libs/gstreamer-libs-sections.txt:
14567 * libs/gst/base/gstbasetransform.h:
14568 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14569 Fix docs for GstBaseSrc.
14571 2006-03-07 Wim Taymans <wim@fluendo.com>
14573 * docs/gst/gstreamer-sections.txt:
14576 * libs/gst/base/gstbasetransform.h:
14577 Small documentation fixes.
14579 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14582 Document thread-unsafety of gst_value_register_foo_func()
14583 when used at the same time as gst_value_foo() (#322628).
14585 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14587 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14588 (gst_push_src_check_get_range):
14589 Push sources don't support pull mode by default.
14591 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14593 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14594 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14595 (gst_base_src_default_check_get_range):
14596 * libs/gst/base/gstbasesrc.h:
14597 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14598 provide default implementation, and rename
14599 gst_base_src_check_get_range() to
14600 gst_base_src_pad_check_get_range() for clarity.
14602 2006-03-06 Wim Taymans <wim@fluendo.com>
14604 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14605 Make property overridable.
14607 2006-03-06 Wim Taymans <wim@fluendo.com>
14609 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14610 (gst_base_sink_init), (gst_base_sink_set_property),
14611 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14612 * libs/gst/base/gstbasesink.h:
14613 API addition: Make max-lateness a property.
14615 2006-03-06 Wim Taymans <wim@fluendo.com>
14617 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14618 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14619 Don't ever draw a frame that is >10ms late.
14621 2006-03-06 Michael Smith <msmith@fluendo.com>
14623 * gst/gstmessage.c: (_gst_message_copy):
14624 When copying a message, set the parent_refcount of the enclosed
14625 structure to point at the copy, not the original message.
14627 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14629 Patch by: Christophe Fergeau
14632 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14633 usable in c++ code (#333417)
14635 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14638 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14640 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14642 * libs/gst/base/gstbasetransform.c:
14643 (gst_base_transform_transform_caps):
14644 Make sure caps are writable before passing them to
14647 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14650 Fix some minor docs errors.
14652 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14654 Patch by: Ross Burton <ross at burtonini dot com>
14656 * gst/gsterror.c: (_gst_resource_errors_init):
14658 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14660 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14663 Add a check and output a g_warning when GStreamer is built
14664 against GLib 2.6 but running against 2.8 or higher, and vice
14665 versa. (Closes: #323542)
14667 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14669 * gst/parse/parse.l:
14670 Commit patch for parse_launch syntax from #331255. Removes
14671 support for quoted strings and mimetypes when writing filtered
14672 caps. See the bug report for more details - I'm pretty sure this
14673 obscure feature is not in use by _anyone_ anywhere.
14675 With this simple change, the size of the gstreamer.so here
14676 drops from 2193KB to 1565KB.
14678 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14680 * plugins/elements/gsttypefindelement.h:
14681 * plugins/elements/gsttypefindelement.c:
14682 (gst_type_find_element_src_event), (start_typefinding),
14683 (stop_typefinding), (gst_type_find_element_handle_event),
14684 (gst_type_find_element_chain),
14685 (gst_type_find_element_chain_do_typefinding):
14686 Use gst_type_find_helper_for_buffer() for chain-based
14689 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14691 * plugins/elements/gsttypefindelement.c:
14692 (gst_type_find_element_class_init),
14693 (gst_type_find_element_set_property),
14694 (gst_type_find_element_get_property):
14695 Deprecate "maximum" property (not only was it only taken into
14696 account for typefinding in push-mode anyway, it also was never
14697 actually possible to set it in the first place because the
14698 property was registered with the numeric property ID for the
14699 "minimum" property). Register "maximum" property correctly,
14700 for the sake of future copy'n'pasters. Remove some cruft
14701 from property get/set functions.
14703 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14705 * plugins/elements/gsttypefindelement.c:
14706 (gst_type_find_element_activate):
14707 Use gst_type_find_helper_get_range() here, so we
14708 can honour the "minimum" property and also emit
14709 the signal with the correct probability of the found caps.
14711 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14713 * docs/libs/gstreamer-libs-sections.txt:
14714 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14715 (helper_find_suggest), (gst_type_find_helper_get_range),
14716 (gst_type_find_helper):
14717 * libs/gst/base/gsttypefindhelper.h:
14718 New API: gst_type_find_helper_get_range() (#333042).
14720 2006-03-02 Michael Smith <msmith@fluendo.com>
14722 * gst/gstregistryxml.c: (load_feature):
14723 Asserting on a failure to read part of the registry is Not Cool.
14724 Just log a warning and return NULL (which is already handled)
14726 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14728 * win32/common/libgstbase.def:
14729 added export of gst_type_find_helper_for_buffer
14730 * win32/common/libgstbase.def:
14731 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14732 gst_ghost_pad_get_target
14734 2006-02-28 Wim Taymans <wim@fluendo.com>
14736 * docs/design/draft-klass.txt:
14738 Added Connector to mark elements that are only used to
14739 allow pipeline connections.
14740 Moved Debug to extra feature since most of them are
14741 functionally something else.
14743 2006-02-28 Wim Taymans <wim@fluendo.com>
14745 * docs/design/draft-klass.txt:
14746 Some updates and clarifications.
14748 2006-02-28 Wim Taymans <wim@fluendo.com>
14750 * docs/design/draft-klass.txt:
14751 Proposal for klass field values.
14753 * docs/design/part-streams.txt:
14754 Start of a doc describing stream anatomy.
14756 2006-02-28 Wim Taymans <wim@fluendo.com>
14758 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14759 Help the compiler a bit with type registration.
14760 Use existing forward cod path instead of duplicating it when
14761 handling a message.
14763 * gst/gstbus.c: (gst_bus_get_type):
14764 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14765 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14766 * gst/gstclock.c: (gst_clock_get_type):
14767 * gst/gstelement.c: (gst_element_get_type),
14768 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14769 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14770 * gst/gstminiobject.c: (gst_mini_object_get_type):
14771 * gst/gstpad.c: (gst_pad_get_type):
14772 * gst/gstsegment.c: (gst_segment_get_type):
14773 * gst/gststructure.c: (gst_structure_get_type):
14774 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14775 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14777 Help compiler with type registration.
14779 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14782 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14784 * plugins/elements/gsttypefindelement.c:
14785 (gst_type_find_element_handle_event):
14786 When we get an EOS event and have not found a type yet
14787 (most likely because we had not yet accumulated
14788 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14789 type given the data we have so far. Fixes typefinding
14790 for very short streams again, most notably quicktime
14791 redirections as used on Apple's trailer site (#331701).
14793 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14795 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14796 (gst_type_find_helper):
14797 Try typefinding factories with the highest rank first.
14799 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14801 * docs/libs/gstreamer-libs-docs.sgml:
14802 * docs/libs/gstreamer-libs-sections.txt:
14803 * libs/gst/base/gsttypefindhelper.c:
14804 Add section for typefind helper and add documentation
14805 for the old and the new function.
14807 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14809 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14810 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14811 (gst_type_find_helper_for_buffer):
14812 * libs/gst/base/gsttypefindhelper.h:
14813 New API: gst_type_find_helper_for_buffer() (#332723).
14815 2006-02-27 Michael Smith <msmith@fluendo.com>
14817 Patch by: Loïc Minier
14820 * docs/Makefile.am:
14821 * docs/slides/Makefile.am:
14822 prevent CVS directories getting disted.
14824 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14826 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14827 Use the REFCOUNTING category for caps refcounting.
14829 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14831 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14832 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14834 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14836 * plugins/elements/gsttypefindelement.c:
14837 (gst_type_find_element_activate):
14838 Use gst_pad_check_pull_range() before _activate_pull()
14839 to avoid unnecessary open/close (see #331690).
14841 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14844 Docs enhancement: make it crystal clear what the
14845 gst_pad_add_*_probe() callbacks should look like.
14847 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14849 * libs/gst/base/gstbasesrc.c:
14850 Document how applications can stop recording from
14851 live sources (see #330996).
14853 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14855 * tests/check/Makefile.am:
14856 * tests/check/libs/basesrc.c: (eos_event_counter),
14857 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14858 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14859 (gst_basesrc_suite), (main):
14860 ... and add some tests for the base source EOS stuff.
14862 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14864 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14865 Test case originally showed the problem fixed below,
14866 but was then amended. Add checks back at the place
14867 where they used to be.
14869 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14871 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14872 (gst_base_src_init), (gst_base_src_loop),
14873 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14874 (gst_base_src_change_state):
14875 * libs/gst/base/gstbasesrc.h:
14876 Don't unconditionally send EOS when going from PAUSED to
14877 READY state, esp. make sure we don't send two EOS events
14878 in some cases (e.g. one when reaching EOS and one when
14879 going from PAUSED to READY). Also, we don't want to send
14880 EOS events when operating in pull mode. However, we do
14881 want to send an EOS event when shutting down a live
14882 source explicitly, for example (fixes #330996).
14884 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14886 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14887 Update src->read_position after a seek when not using mmap.
14888 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14890 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14896 Make things work with --disable-parse as they do with
14897 --disable-load-save - the symbols involved disappear, but the
14898 header is still installed and GST_DISABLE_PARSE is included via
14901 2006-02-20 Julien MOUTTE <julien@moutte.net>
14903 * libs/gst/base/gstbasetransform.c:
14904 (gst_base_transform_change_state): Fix a stupid bug. I was
14905 sure I compiled that.
14907 2006-02-20 Julien MOUTTE <julien@moutte.net>
14909 * gst/gstpad.c: (gst_pad_set_blocked_async):
14910 * gst/gstutils.c: (gst_pad_add_data_probe),
14911 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14912 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14913 (gst_pad_remove_buffer_probe): Make those function act on the
14914 ghostpad target when it's a ghostpad. (Closes #331727)
14916 2006-02-20 Julien MOUTTE <julien@moutte.net>
14918 * libs/gst/base/gstbasetransform.c:
14919 (gst_base_transform_change_state): Make basetransform reusable.
14922 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14924 * docs/random/release:
14925 Move the current documentation of how to do a release to the top
14928 * gst/gstbin.c: (gst_bin_class_init),
14929 (gst_bin_handle_message_func):
14930 Allow multiple state-recalculation threads. (Closes #328873)
14932 2006-02-19 Julien MOUTTE <julien@moutte.net>
14934 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14935 * gst/gstpad.c: (gst_pad_set_event_function),
14936 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14937 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14938 2 strings. You can't use the STR_NULL macro on that.
14940 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14942 * gst/gstpad.c: (gst_pad_set_event_function),
14943 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14944 (gst_pad_set_getcaps_function)
14945 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14946 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14947 So now, we can use --gst-debug-level=5 on Windows
14948 * win32/common/libgstcontroller.def:
14949 Added export of gst_controller_init
14950 * win32/vs6/libgstcontroller.dsp:
14951 Fixed Release post build configuration
14953 2006-02-17 Wim Taymans <wim@fluendo.com>
14955 * tests/check/gst/gstquery.c: (GST_START_TEST):
14956 Added another check.
14958 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14960 * plugins/elements/gsttypefindelement.c: (find_peek):
14961 We can do peeks at non-zero offsets, as long as they
14962 fall within the buffer we have.
14964 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14966 * tests/check/Makefile.am:
14967 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14968 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14969 (parse_suite), (main):
14970 Add testsuite for parse launch syntax
14972 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14974 * plugins/elements/gsttypefindelement.c:
14975 (gst_type_find_element_chain):
14976 When typefinding is unsuccessful in the chain function, don't
14977 error out immediately. Only error out with NO_CAPS_FOUND if
14978 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14979 otherwise simply wait for more data so we can try typefinding
14980 again with more data later. Also, don't attempt to typefind
14981 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14982 this should improve typefinding from network sources where the
14983 size of the first buffer can be somewhat random.
14985 2006-02-14 Wim Taymans <wim@fluendo.com>
14987 * docs/gst/gstreamer-sections.txt:
14988 * gst/gstpadtemplate.c:
14989 * gst/gstpadtemplate.h:
14990 Fix padtemplate docs, fixes #328805.
14992 2006-02-14 Wim Taymans <wim@fluendo.com>
14994 * tools/gst-launch.c: (main):
14995 NO_PREROLL is not an ERROR so don't send confusing messages
14998 2006-02-14 Wim Taymans <wim@fluendo.com>
15000 Patch by: Torsten Schoenfeld
15002 * gst/gstregistry.c: (gst_registry_get_default),
15003 (_gst_registry_cleanup):
15004 Protect default registry with lock and ref/sink it.
15007 2006-02-14 Wim Taymans <wim@fluendo.com>
15010 * gst/gstquery.c: (gst_query_list_add_format),
15011 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15012 (gst_query_parse_formats_nth):
15013 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15016 2006-02-14 Wim Taymans <wim@fluendo.com>
15018 * docs/gst/gstreamer-sections.txt:
15019 Reworked query docs.
15021 * gst/gstquery.c: (gst_query_new_formats),
15022 (gst_query_list_add_format), (gst_query_set_formats),
15023 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15024 (gst_query_parse_formats_nth):
15026 Flesh out formats query, added some new methods.
15027 Fix part of #324398.
15029 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15030 Added query creation tests.
15032 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15034 * gst/gstpad.c: (fixate_value):
15035 Add a default fixation for fraction lists.
15037 2006-02-13 Wim Taymans <wim@fluendo.com>
15039 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15040 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15043 Detect and warn for obvious deadlocks. fixes #320340
15044 Fix error case where lock was not released.
15046 * tests/check/Makefile.am:
15047 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15048 (task_func), (gst_element_suite), (main):
15051 2006-02-13 Wim Taymans <wim@fluendo.com>
15053 * docs/gst/gstreamer-sections.txt:
15055 Add new functions to docs.
15057 2006-02-13 Wim Taymans <wim@fluendo.com>
15059 * docs/design/part-TODO.txt:
15060 Updated TODO list, basesrc supports seeking to non-bytes
15063 * docs/design/part-element-sink.txt:
15066 * gst/gstbin.c: (bin_replace_message),
15067 (gst_bin_handle_message_func):
15068 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15069 * gst/gstevent.c: (gst_event_finalize):
15070 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15071 (gst_pad_send_event):
15072 Use shiny new _TYPE_NAME macros.
15074 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15075 Move debug statement up.
15077 * gst/gstelement.c: (gst_element_set_locked_state):
15078 Add some debugging.
15080 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15082 * docs/gst/gstreamer-sections.txt:
15083 * gst/gstmessage.h:
15085 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15086 macros (#330906). Also, document the already existing
15087 GST_QUERY_TYPE macro.
15089 2006-02-13 Wim Taymans <wim@fluendo.com>
15091 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15092 (event_probe), (GST_START_TEST):
15093 Only events up to the pipeline EOS are counted, there are
15094 some more when going to NULL currently which we don't care
15097 2006-02-13 Wim Taymans <wim@fluendo.com>
15099 * gst/gstpad.c: (gst_pad_send_event):
15100 Correctly check flushing and emit probes. fixes #330125
15102 2006-02-10 Andy Wingo <wingo@pobox.com>
15104 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15106 (gst_bus_init): Cache the location of the private data in the
15107 instance structure.
15108 (gst_bus_enable_sync_message_emission)
15109 (gst_bus_disable_sync_message_emission): Implement new public
15111 (gst_bus_post): Emit the sync-message signal if the user asked for
15114 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15115 location of the bus-private structure.
15116 (gst_bus_enable_sync_message_emission)
15117 (gst_bus_disable_sync_message_emission): API addition
15119 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15121 Patch by: Vincent Torri
15123 * docs/pwg/building-boiler.xml:
15124 PWG patch from #326800
15126 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15129 * docs/Makefile.am:
15130 * docs/design/Makefile.am:
15133 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15138 === release 0.10.3 ===
15140 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15143 releasing 0.10.3, "Like a virgin"
15145 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15148 2nd prerelease of 0.10.3
15149 Bump libtool versioning.
15151 2006-02-07 Andy Wingo <wingo@pobox.com>
15153 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15154 update last_stop if we're in TIME format and the timestamp is
15157 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15158 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15159 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15160 If we get a new newsegment with a different format, adapt
15163 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15164 of 0. Not a problem, really.
15166 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15169 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15174 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15177 project files updated to the default vs7 configuration
15178 * win32/common/libgstbase.def:
15179 * win32/common/libgstreamer.def:
15181 removed empty lines,
15182 sorted all exported symbols alphabetically
15183 * win32/common/dirent.c:
15184 * win32/common/dirent.h:
15185 * win32/common/gchar.h:
15186 use windows line end.
15188 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15190 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15191 Send EOS event when stopping.
15193 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15196 Tell folks what to do if the plugin-foobar.xml file
15197 hasn't been generated for a newly-added plugin.
15199 2006-02-05 Julien MOUTTE <julien@moutte.net>
15201 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15202 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15203 (gst_collect_pads_start), (gst_collect_pads_stop),
15204 (gst_collect_pads_event): Collectpads now holds a reference
15205 to the GstPad that was added. Indeed we don't want to look
15206 at pads that might just go away with no warning...
15208 2006-02-05 Julien MOUTTE <julien@moutte.net>
15210 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15211 (gst_collect_pads_start), (gst_collect_pads_stop),
15212 (gst_collect_pads_event), (gst_collect_pads_chain):
15213 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15214 Mark Nauwelaerts's patch on bug #328491.
15216 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15218 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15220 Add some simple tests for gst_parse_bin_from_description() and
15221 gst_bin_find_unconnected_pad() (#329069).
15223 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15225 * tools/gst-launch.c: (event_loop), (main):
15226 Catch errors during preroll (#320084).
15228 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15230 * plugins/elements/gsttypefindelement.c:
15231 (gst_type_find_element_activate):
15232 Post TYPE_NOT_FOUND error message when typefinding
15233 is unsuccessful in the activate function as well.
15235 2006-02-02 Wim Taymans <wim@fluendo.com>
15237 * docs/design/part-element-sink.txt:
15240 2006-02-02 Wim Taymans <wim@fluendo.com>
15242 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15243 (gst_base_sink_render_object),
15244 (gst_base_sink_queue_object_unlocked):
15245 Only keep track of prerollable items when we are
15247 Before rendering after preroll, always check if we
15249 Added some more debugging.
15251 2006-02-02 Wim Taymans <wim@fluendo.com>
15253 * gst/gstelement.c: (gst_element_continue_state),
15254 (gst_element_set_state_func), (gst_element_change_state):
15255 Fixed #326576, been running this for quite some time with
15256 no regressions at all.
15258 2006-02-02 Wim Taymans <wim@fluendo.com>
15261 Added more suppressions
15263 2006-02-02 Wim Taymans <wim@fluendo.com>
15265 * docs/design/part-element-sink.txt:
15268 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15269 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15270 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15271 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15272 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15273 (gst_base_sink_preroll_object),
15274 (gst_base_sink_queue_object_unlocked),
15275 (gst_base_sink_queue_object), (gst_base_sink_event),
15276 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15277 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15278 (gst_base_sink_get_position), (gst_base_sink_change_state):
15279 * libs/gst/base/gstbasesink.h:
15280 Totally refactored matching the design doc.
15281 Use two segments, one to clip incomming buffers and another to
15283 Handle queueing correctly, bypass the queue when playing.
15284 Make EOS cancelable.
15285 Handle errors correctly when operating in pull based mode.
15287 * tests/check/elements/fakesink.c: (GST_START_TEST),
15289 Added new check for sinks.
15291 2006-02-02 Wim Taymans <wim@fluendo.com>
15293 * gst/gstsegment.c: (gst_segment_clip):
15294 No reason to refuse to clip when start == -1
15296 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15299 * docs/manual/intro-basics.xml:
15300 * docs/manual/intro-preface.xml:
15301 * docs/manual/manual.xml:
15302 * docs/pwg/advanced-dparams.xml:
15303 * docs/pwg/intro-basics.xml:
15304 * docs/pwg/intro-preface.xml:
15305 * docs/pwg/pwg.xml:
15306 describe dparams (controller) for plugins
15307 unify docs a little more
15309 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15311 * docs/gst/gstreamer-sections.txt:
15312 * gst/gstutils.c: (element_find_unconnected_pad),
15313 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15315 Add new API: gst_parse_bin_from_description() and
15316 gst_bin_find_unconnected_pad() (#329069).
15318 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15320 * docs/manual/README:
15321 uncover a nasty detail of the docs build
15323 2006-01-31 Wim Taymans <wim@fluendo.com>
15325 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15326 Don't cache duration messages if we're not going to use or
15329 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15331 * docs/manual/advanced-dparams.xml:
15332 * docs/pwg/advanced-dparams.xml:
15336 * libs/gst/controller/lib.c: (gst_controller_init):
15339 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15341 * gst/gstelement.c: (gst_element_message_full):
15342 also show file/line/func if no additional debug was given
15344 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15346 * win32/vs7/grammar.vcproj:
15347 activate copy of autogenerated files for Release mode
15349 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15351 * win32/common/libgstreamer.def:
15352 export gst_value_compare
15354 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15356 * plugins/elements/Makefile.am:
15357 * plugins/elements/gstelements.c:
15358 * plugins/elements/gstfdsink.c: (_do_init),
15359 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15360 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15361 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15362 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15363 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15364 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15365 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15366 * plugins/elements/gstfdsink.h:
15367 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15369 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15371 * docs/manual/advanced-dparams.xml:
15372 describe controller
15373 * docs/manual/advanced-position.xml:
15374 * docs/manual/basics-init.xml:
15375 * docs/manual/manual.xml:
15376 * docs/manual/titlepage.xml:
15377 * docs/pwg/pwg.xml:
15378 * docs/pwg/titlepage.xml:
15379 cleanup xml (more to come)
15380 * libs/gst/controller/gstcontroller.c:
15383 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15385 * win32/vs6/grammar.dsp:
15386 add autogen of gstmarshal.c,h for Release mode
15388 2006-01-30 Wim Taymans <wim@fluendo.com>
15390 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15391 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15392 (gst_base_sink_handle_object), (gst_base_sink_event),
15393 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15394 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15395 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15396 (gst_base_sink_deactivate), (gst_base_sink_activate),
15397 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15398 (gst_base_sink_query), (gst_base_sink_change_state):
15399 Basesink cleanups, remove some old code.
15400 Handle the case where a subclass can preroll in the render
15401 method (mostly audiosinks).
15402 Handle more events.
15403 Remove some locks around variables that are now protected
15404 with the PREROLL_LOCK (clock_id, flushing, ..).
15405 Optimize position query some more, do correct locking.
15406 Remove old code to push queue in state change, this is not
15407 needed anymore since preroll blocks on all prerollable items
15409 Almost implemented as described in design doc.
15411 2006-01-30 Wim Taymans <wim@fluendo.com>
15413 * tests/check/gst/gstbin.c: (GST_START_TEST):
15414 Wait for refcount to settle down before checking.
15416 2006-01-30 Wim Taymans <wim@fluendo.com>
15418 * docs/design/part-element-sink.txt:
15419 Pseudo code overview of desired sink behaviour regarding
15422 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15423 * win32/vs6/grammar.dsp:
15424 fix some bugs in Release mode for autogenerated files
15426 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15427 * win32/common/libgstbase.def:
15428 * win32/common/libgstreamer.def:
15429 export some new symbols: gst_base_src_set_format,
15430 gst_iterator_next, gst_structure_set_valist
15432 2006-01-29 Julien MOUTTE <julien@moutte.net>
15434 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15435 Set pad functions unconditionally. Fixes #329105.
15437 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15439 add vs8 project files created by Sergey Scobich
15441 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15443 * gst/gstutils.c: (gst_element_unlink_pads):
15444 Don't leak pad references.
15446 * tests/check/elements/fakesink.c: (GST_START_TEST):
15447 * tests/check/generic/sinks.c: (GST_START_TEST):
15448 * tests/check/generic/states.c: (GST_START_TEST):
15449 * tests/check/gst/gstbin.c: (GST_START_TEST):
15450 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15451 * tests/check/gst/gstelement.c: (GST_START_TEST):
15452 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15453 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15454 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15455 Fix a bunch of leaks. Make generic/sinks.c
15456 use a bit less cpu by slowing the buffer rate
15457 between fakesrc and fakesink.
15459 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15461 * gst/gstelement.c: (gst_element_send_event):
15464 * gst/gstiterator.c:
15465 * gst/gstiterator.h:
15466 * gst/gstpad.c: (gst_pad_send_event):
15467 * gst/gststructure.c:
15471 * libs/gst/base/gstadapter.c:
15472 doc fixes, to link to function, just write gst_cool_function(), don't
15475 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15477 * plugins/elements/gsttee.c: (gst_tee_do_push),
15478 (gst_tee_handle_buffer):
15479 Always prefer an actual return value from a src
15480 pad in place of NOT_LINKED. This means we return
15481 WRONG_STATE when all src pads are WRONG_STATE
15482 instead of NOT_LINKED.
15484 Lock when replacing the last message to prevent
15485 racing with the get_property method.
15489 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15491 * tests/check/Makefile.am:
15492 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15494 Add a very simple check that should have caught the memleak I fixed
15495 last night (if not for the slice allocator hiding it)
15497 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15499 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15500 (gst_bin_remove_func), (gst_bin_handle_message_func),
15501 (bin_query_duration_fold), (bin_query_generic_fold):
15502 Clean up references to the clock provider when disposed or when
15503 handling a clock-lost message from it.
15505 Unref sinks when performing a query via gst_iterator_fold, as the
15506 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15508 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15509 (gst_clock_set_master):
15510 Drop our reference to the master clock, if any, when we are disposed.
15512 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15513 Chain up in dispose.
15515 2006-01-26 Wim Taymans <wim@fluendo.com>
15517 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15518 Add some debugging.
15520 2006-01-26 Julien MOUTTE <julien@moutte.net>
15522 * plugins/elements/gsttee.c: (gst_tee_do_push),
15523 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15524 handles pad being NOT_LINKED or in WRONG_STATE.
15526 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15531 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15534 remove obsolete entry
15536 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15538 * docs/gst/gstreamer-sections.txt:
15539 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15540 (gst_bin_iterate_sources), (gst_bin_send_event):
15542 * gst/gstelement.c: (gst_element_send_event):
15544 * gst/gstpad.c: (gst_pad_send_event):
15545 added code for downstream events, reviewed docs in gstevent.c
15547 2006-01-25 Julien MOUTTE <julien@moutte.net>
15549 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15550 We only query position using the clock in the playing state.
15551 Query peer in the other cases.
15552 * win32/common/config.h: Updates.
15554 2006-01-24 Wim Taymans <wim@fluendo.com>
15556 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15557 A clock entry that is scheduled for the exact time of the
15558 clock is still in time.
15560 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15561 (gst_base_sink_do_sync):
15562 Add some more debug info.
15564 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15567 Add new vs7 project files and solution.
15569 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15572 all files removed as they were out-dated.
15574 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15576 * docs/random/release:
15578 * gst/gstbin.c: (gst_bin_init):
15579 * gst/gstbus.c: (gst_bus_new):
15581 * gst/gstpipeline.c: (gst_pipeline_init):
15582 use gst_bus_new(), improve logging, fix docs
15583 * win32/common/config.h:
15584 update for cvs build
15586 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15589 up required version of automake to 1.7
15591 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15593 * win32/common/libgstreamer.def:
15594 export gst_buffer_is_metadata_writable
15596 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15598 * docs/gst/gstreamer-sections.txt:
15600 Add gst_event_replace() (#327001)
15602 2006-01-20 Wim Taymans <wim@fluendo.com>
15604 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15605 Make it actually compile too..
15607 2006-01-20 Wim Taymans <wim@fluendo.com>
15610 Clarify behaviour of _is_equal() when passing NULL parameters.
15612 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15613 (gst_pad_set_caps):
15614 Cleanups. Don't unref NULL caps.
15615 When setting the same caps, protect caps of the pad with
15617 Use full functionality of _is_equal() when comparing caps.
15619 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15621 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15622 Don't loop infinitely if there are no buffers to present. Partially
15623 fixes #327197, but collectpads is just broken for reusing elements
15624 to do multiple encodes atm.
15626 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15628 * tools/gst-inspect.c: (print_element_features):
15629 * tools/gst-xmlinspect.c: (main):
15630 URL_HANDLER is not a plugin feature we can search for in
15633 2006-01-19 Edward Hervey <edward@fluendo.com>
15635 * gst/gstelement.c: (gst_element_pads_activate):
15636 When activating, do src pads first, then sink pads.
15637 When de-activating, do sink pads first, then src pads.
15639 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15641 * docs/gst/gstreamer-sections.txt:
15642 Add gst_index_add_associationv to the docs
15644 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15649 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15650 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15651 Do some refactoring. Doesn't actually change functionality,
15652 but makes landing the DRAIN event easier later.
15654 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15656 * docs/pwg/advanced-scheduling.xml:
15657 Update from 0.9.x to 0.10 API and make example a bit
15660 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15662 * docs/gst/gstreamer-sections.txt:
15663 Add gst_buffer_(is|make)_metadata_writable methods.
15665 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15667 * docs/design/part-sparsestreams.txt:
15668 Update sparse streams doc, hopefully for greater clarity
15670 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15672 * docs/design/part-events.txt:
15673 Remove mention of FILLER events.
15676 * docs/design/part-sparsestreams.txt:
15677 Write some things about using NEWSEGMENT to keep sparse streams
15680 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15682 * gst/gstbin.c: (gst_bin_dispose):
15683 Guard gst_object_unref call against a NULL object (dispose
15684 can theoretically be called multiple times).
15686 2006-01-18 Wim Taymans <wim@fluendo.com>
15688 * gst/gstbin.c: (gst_bin_element_set_state):
15689 * gst/gstclock.c: (gst_clock_id_wait):
15690 Added some more debug info.
15692 * libs/gst/base/gstadapter.c:
15695 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15696 (gst_base_sink_do_sync), (gst_base_sink_chain):
15697 Added some comments.
15699 2006-01-18 Wim Taymans <wim@fluendo.com>
15701 * tests/check/Makefile.am:
15702 * tests/check/elements/fakesink.c: (chain_async_buffer),
15703 (chain_async), (chain_async_return), (GST_START_TEST),
15704 (fakesink_suite), (main):
15705 Added fakesink test that checks prerolling and clipping
15708 * tests/check/gst/gstutils.c: (GST_START_TEST):
15709 Make check run faster so that buildbots don't timeout.
15711 2006-01-18 Wim Taymans <wim@fluendo.com>
15713 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15714 (gst_base_sink_do_sync):
15716 When the sink finishes blocking on the preroll buffer, it can
15717 immediatly render it instead of rendering when the next buffer
15720 2006-01-18 Wim Taymans <wim@fluendo.com>
15722 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15723 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15724 (gst_base_sink_chain):
15726 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15727 Don't store _last_stop if the buffer is dropped.
15729 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15731 * plugins/elements/gsttypefindelement.c:
15732 (gst_type_find_element_class_init):
15733 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15734 object method handler that sets the caps on the pad and we want
15735 that to happen before we emit the signal (fixes e.g. feeding a
15736 plain text file to decodebin).
15738 2006-01-18 Christian Schaller <Christian@fluendo.com>
15740 * gst/gstplugin.c: Add MPL and Proprietary as license options
15742 2006-01-18 Andy Wingo <wingo@pobox.com>
15744 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15745 symbol was exported before, it appears this was just an oversight.
15747 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15749 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15750 prototype to gint. OK since this prototype was not in the header.
15752 2006-01-17 Andy Wingo <wingo@pobox.com>
15754 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15755 registry while we remove plugins.
15757 * tools/gst-inspect.c (print_element_info): Don't unref the
15758 factory arg, that should be the responsibility of whatever code
15759 received the ref. Fixes a double-free when called from
15760 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15761 (main): Unref the factory if we have one.
15762 (print_element_list): No change -- relies on the
15763 plugin_feature_list_free to free the list of features.
15765 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15767 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15768 (gst_buffer_make_metadata_writable):
15770 * libs/gst/base/gstbasetransform.c:
15771 (gst_base_transform_prepare_output_buf):
15772 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15773 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15774 Replace gst_buffer_(make|is)_metadata_writable patch now
15775 that the release is out.
15777 2006-01-17 Andy Wingo <wingo@pobox.com>
15779 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15780 in the present tense without reference to versions.
15782 * gst/gstregistry.c (gst_registry_add_plugin)
15783 (gst_registry_remove_plugin, gst_registry_remove_feature)
15784 (gst_registry_find_feature, gst_registry_get_feature_list)
15785 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15786 (gst_registry_lookup, gst_registry_scan_path)
15787 (_gst_registry_remove_cache_plugins)
15788 (gst_registry_get_feature_list_by_plugin): Add argument
15791 === release 0.10.2 ===
15793 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15796 releasing 0.10.2, "If man is five"
15798 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15802 * libs/gst/base/gstbasetransform.c:
15803 (gst_base_transform_prepare_output_buf):
15804 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15805 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15806 Back out patch until after the release.
15808 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15810 * gst/gstminiobject.c:
15811 Spelling fix in docs.
15812 * ChangeLog - remove conflict indicator
15814 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15816 Reviewed By: Andy Wingo
15818 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15819 (gst_buffer_make_metadata_writable):
15821 Add gst_buffer_(is|make)_metadata_writable as analogues of
15822 gst_buffer_(is|make)_writable.
15824 * libs/gst/base/gstbasetransform.c:
15825 (gst_base_transform_prepare_output_buf):
15826 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15827 Use name gst_buffer_(is|make)_metadata_writable functions.
15829 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15830 Test gst_buffer_(is|make)_metadata_writable
15834 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15836 * docs/manual/Makefile.am:
15837 don't do parallel make
15840 * win32/common/config.h.in:
15841 add generations for HOST_CPU and GST_MAJORMINOR
15842 * win32/common/config.h:
15843 commit generated result
15845 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15847 * docs/manual/appendix-integration.xml:
15848 Update GNOME integration section to use gst_init_get_option_group()
15849 instead of the old popt stuff (#322911). Also, GNOME applications
15850 should now use gconf*sink and gconf*src instead of the old gconf
15853 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15856 * docs/gst/gstreamer-docs.sgml:
15857 * docs/gst/gstreamer-sections.txt:
15858 * docs/libs/gstreamer-libs-sections.txt:
15859 add new API entries to the docs
15860 * libs/gst/controller/Makefile.am:
15861 * libs/gst/controller/gstcontroller.c:
15862 * libs/gst/controller/gstcontroller.h:
15863 * libs/gst/controller/gstcontrollerprivate.h:
15864 * libs/gst/controller/gsthelper.c:
15865 * libs/gst/controller/gstinterpolation.c:
15866 move private structs to private header
15868 gstreamer-0.7 -> gstreamer-0.10
15869 * tests/check/libs/struct_i386.h:
15870 remove private structs
15872 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15874 * plugins/indexers/Makefile.am:
15875 Fixes as part of #317048
15877 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15879 * plugins/indexers/Makefile.am:
15880 fix #316086 - compilation when mmap is missing
15882 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15884 * libs/gst/base/gstbasesink.c:
15885 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15886 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15887 * win32/common/config.h:
15888 added some defines GST_MAJORMINOR and HOST_CPU
15889 * win32/common/libgstbase.def:
15890 * win32/common/libgstreamer.def:
15891 added some exported functions.
15893 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15895 * libs/gst/controller/gstcontroller.c:
15896 (gst_controlled_property_set_interpolation_mode),
15897 (gst_controlled_property_new):
15898 * libs/gst/controller/gstcontroller.h:
15899 * libs/gst/controller/gstinterpolation.c:
15900 (interpolate_none_get_string_value_array):
15901 make G_TYPE_STRING controlable
15903 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15906 * tools/gst-feedback.1.in:
15907 * tools/gst-inspect.1.in:
15908 * tools/gst-launch.1.in:
15909 * tools/gst-md5sum.1.in:
15910 * tools/gst-typefind.1.in:
15911 * tools/gst-xmlinspect.1.in:
15912 * tools/gst-xmllaunch.1.in:
15913 cleanup man-pages, remove reference to gst-register, document env-vars
15915 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15917 * gst/gstbuffer.c: (gst_buffer_span):
15918 gst_buffer_span should copy the timestamp of the first buffer
15919 if they were both originally overlapping subbuffers of the
15920 same parent, using the same logic as the 'slow copy' case.
15922 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15924 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15925 Need to awaken ALL the pads when we pop a buffer, otherwise
15926 collectpads only works when there is 2 input streams.
15928 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15930 * docs/random/ensonic/media-device-daemon.txt:
15933 fix doc example, add clarification
15934 * tools/gst-launch.1.in:
15935 add initial info about GST_PLUGIN_PATH, needs more work
15937 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15939 * docs/manual/basics-bins.xml:
15940 * docs/manual/basics-elements.xml:
15941 * docs/manual/intro-basics.xml:
15942 Some more minor docs additions and updates.
15944 2006-01-11 Wim Taymans <wim@fluendo.com>
15946 * docs/manual/basics-bins.xml:
15947 * docs/manual/basics-elements.xml:
15948 Some small fixes as pointed out by Ser-ver on IRC.
15950 2006-01-10 Edward Hervey <edward@fluendo.com>
15952 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15953 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15954 the single-segment mode.
15956 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15958 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15960 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15961 (gst_base_src_perform_seek), (gst_base_src_send_event),
15962 (gst_base_src_set_property), (gst_base_src_get_property),
15963 (gst_base_src_loop), (gst_base_src_start),
15964 (gst_base_src_activate_push):
15965 * libs/gst/base/gstbasesrc.h:
15966 Name (private) union; makes Sun's Forte compiler happy (#324900).
15968 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15971 gst-register is gone.
15973 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15975 * gst/gstvalue.c: (_gst_value_initialize):
15976 make the G_TYPE_DATE instantiation work if debug is disabled
15978 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
15980 * gst/gstmessage.c: (gst_message_parse_tag),
15981 (gst_message_parse_error), (gst_message_parse_warning):
15982 Don't crash when return location for error/warning debug
15983 string is NULL; add fact that return locations can be
15984 NULL to docs where appropriate.
15986 2006-01-05 Wim Taymans <wim@fluendo.com>
15988 * gst/gstplugin.c: (gst_plugin_load_file):
15989 Replace strdup by g_strdup.
15991 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15993 * docs/pwg/advanced-types.xml:
15996 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15998 submitted by: Abel Cheung
16002 Added Chinese (traditional) translation
16004 2006-01-04 Wim Taymans <wim@fluendo.com>
16006 * docs/manual/basics-pads.xml:
16007 * docs/plugins/Makefile.am:
16008 * docs/plugins/gstreamer-plugins-docs.sgml:
16009 * docs/plugins/gstreamer-plugins-sections.txt:
16010 * docs/pwg/advanced-clock.xml:
16011 * docs/pwg/advanced-scheduling.xml:
16012 * docs/pwg/advanced-types.xml:
16013 * plugins/elements/gstfdsink.c:
16014 * plugins/elements/gstfdsrc.c:
16015 * plugins/elements/gstfdsrc.h:
16016 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16017 * plugins/elements/gstidentity.h:
16018 * plugins/elements/gstqueue.h:
16019 * plugins/elements/gsttee.c:
16020 * plugins/elements/gsttee.h:
16021 * plugins/elements/gsttypefindelement.c:
16022 (gst_type_find_element_class_init):
16023 * plugins/elements/gsttypefindelement.h:
16024 Small updates to various docs.
16025 Added core plugins to docs.
16027 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16030 add a suppression for liboil's uninitialized variable
16032 2006-01-02 James Livingston <jrl at ids dot org dot au>
16034 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16037 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16038 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16039 compiler switch is being used (#325429).
16041 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16043 * gst/gstbin.c: (gst_bin_query):
16044 Disable duration query caching in bins until it gets
16045 fixed (see #324807).
16047 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16049 * tools/gst-inspect.c: (print_element_properties_info):
16050 Handle properties of POINTER and BOXED type.
16052 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16054 * gst/gst.c: (init_post):
16055 Init tags stuff and some other things before loading
16056 any static plugins (there may be other static plugins
16057 than just the GStreamer ones, and they may want to
16058 register their own tags or formats or whatever, and
16059 preferably without segfaulting).
16061 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16062 Print at least a warning in the debug logs if we drop a
16063 query just because we don't know how to adjust the value
16064 in the particular format.
16066 2005-12-24 David Schleef <ds@schleef.org>
16068 * tools/gstreamer-completion:
16069 Replacement for gst-complete written in sh and sed. Only
16070 completes names of features, but that's 90% of what I want
16071 it for. Properties are not available in registry.xml. (Maybe
16074 === release 0.10.1 ===
16076 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16079 releasing 0.10.1, "Nollaig chridheil"
16081 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16083 * docs/faq/cvs.xml:
16084 Add missing quote, should be make ERROR_CFLAGS="".
16086 2005-12-20 Wim Taymans <wim@fluendo.com>
16088 * docs/design/part-trickmodes.txt:
16089 More documentation on trickmodes.
16091 2005-12-20 Edward Hervey <edward@fluendo.com>
16093 * gst/gstcaps.c: (gst_static_caps_get_type):
16095 API addition: GST_TYPE_STATIC_CAPS
16096 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16097 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16098 * gst/gstpadtemplate.h:
16099 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16100 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16103 2005-12-18 Wim Taymans <wim@fluendo.com>
16105 * libs/gst/base/gstadapter.c:
16106 * libs/gst/base/gstadapter.h:
16107 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16108 (gst_base_sink_get_position):
16109 * libs/gst/base/gstbasesink.h:
16110 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16111 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16112 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16113 (gst_base_src_send_event), (gst_base_src_update_length),
16114 (gst_base_src_get_range), (gst_base_src_loop),
16115 (gst_base_src_start):
16116 * libs/gst/base/gstbasesrc.h:
16117 * libs/gst/base/gstbasetransform.h:
16118 * libs/gst/base/gstcollectpads.h:
16119 * libs/gst/base/gstpushsrc.c:
16120 * libs/gst/base/gstpushsrc.h:
16121 * libs/gst/dataprotocol/dataprotocol.c:
16122 * libs/gst/dataprotocol/dataprotocol.h:
16123 * libs/gst/net/gstnetclientclock.h:
16124 * libs/gst/net/gstnettimeprovider.h:
16125 Documentation updates.
16127 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16129 * docs/manual/basics-helloworld.xml:
16130 Remove superfluous closing bracket in helloworld example.
16132 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16134 * tools/gst-launch.1.in:
16135 Update gst-launch man page; add a section with useful
16136 environment variables. Fixes #323882.
16138 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16141 * gst/gst_private.h:
16142 change some char* into char[]
16144 2005-12-16 Wim Taymans <wim@fluendo.com>
16146 * gst/gstregistryxml.c: (load_feature):
16148 Don't use g_object_unref on GstObjects so that we avoid
16149 leaks on unsafe glibs.
16151 2005-12-16 Wim Taymans <wim@fluendo.com>
16153 * gst/gstbin.c: (gst_bin_recalc_state):
16156 2005-12-16 Wim Taymans <wim@fluendo.com>
16158 * common/check.mak:
16159 Added make forever target for check.
16161 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16163 * gst/gst.c: (init_post):
16164 make the registry cache file HOST_CPU-dependent
16166 2005-12-16 Andy Wingo <wingo@pobox.com>
16168 * plugins/elements/gstbufferstore.c
16169 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16172 * tests/check/gst/gstobject.c
16173 (test_fake_object_name_threaded_unique): Pay attention to
16174 g_list_sort return value.
16176 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16178 * tools/gst-feedback-m.m:
16179 Update for 0.9/0.10 (fixes #323870).
16181 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16183 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16184 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16186 * tests/check/gst/gstminiobject.c: (my_foo_init),
16187 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16188 (test_value_collection), (gst_mini_object_suite):
16189 Add test to ensure refcounts end up as expected when passing
16190 GstMiniObjects through g_object_get() and g_object_set().
16192 2005-12-14 Julien MOUTTE <julien@moutte.net>
16194 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16195 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16196 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16197 of collectpads. This version removes a lot of races without
16198 touching API/ABI. Yay !
16200 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16202 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16203 Don't allow activation of a srcpad in pull_range if it has no
16205 Change some debug statements to be a little clearer
16207 * plugins/elements/gsttypefindelement.c:
16208 (gst_type_find_handle_src_query):
16209 Check that we have a peer before executing queries thereupon.
16211 * tests/examples/metadata/read-metadata.c: (message_loop):
16212 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16213 immediately return us any available message with 0 timeout.
16215 2005-12-12 Michael Smith <msmith@fluendo.com>
16217 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16218 Don't unref factories after calling them.
16219 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16220 * plugins/elements/gsttypefindelement.c:
16221 (gst_type_find_element_chain):
16222 Free lists of factories after using them. Fixing typefinding memory
16225 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16227 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16228 (gst_plugin_feature_load):
16229 more meaningful debug output
16231 * tests/Makefile.am:
16232 * tests/old/examples/Makefile.am:
16233 make make distcheck happy again
16235 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16237 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16238 Catch the special case where we are operating chain-based,
16239 but the downstream peer pad has no chain function. Emit a
16240 custom error message in this case instead of letting the
16241 core generate one implying that this is some sort of core
16242 bug. It's not, it just means that whatever got plugged
16243 into the pipeline downstream when we announced the type
16244 can only operate pull-based, while our source can only
16245 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16246 Error string has not been marked for translation yet, as
16247 it probably needs some more work first.
16249 (gst_type_find_element_get_best_possibility):
16250 Add helper function to find the best of all available
16251 found possibilities that qualify given the min. threshold.
16253 (gst_type_find_element_handle_event):
16254 Fix the case where we get an EOS while still in TYPEFIND
16255 mode (we want to chose the best of all possible types,
16256 not just the first type that happens to be in our unsorted
16257 list of possible types).
16259 (gst_type_find_element_chain):
16260 Make sure we return GST_FLOW_ERROR when we errored out
16261 in stop_typefinding(); also, don't just find the best of
16262 all found type entries and then use the last examined
16263 type entry, but actually use the best entry.
16265 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16267 * tests/examples/typefind/typefind.c: (type_found):
16268 * tests/examples/xml/runxml.c: (xml_loaded):
16269 More gcc4 fixes and a mem leak fix.
16271 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16273 * tests/examples/xml/createxml.c: (object_saved):
16276 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16278 * tests/Makefile.am:
16279 enable the examples even more
16281 2005-12-12 Andy Wingo <wingo@pobox.com>
16283 * libs/gst/net/gstnettimeprovider.c
16284 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16285 (gst_net_time_provider_set_property)
16286 (gst_net_time_provider_get_property):
16287 API addition: Export "active" as a GObject property.
16288 (gst_net_time_provider_thread): Only respond to time queries if
16289 the time provider is active.
16291 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16292 NetTimeProvider, preserving binary compat.
16294 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16296 * tests/examples/controller/audio-example.c: (main):
16297 * tests/examples/launch/Makefile.am:
16298 convert comments again
16300 2005-12-12 Wim Taymans <wim@fluendo.com>
16302 * libs/gst/base/gstpushsrc.c:
16305 2005-12-12 Wim Taymans <wim@fluendo.com>
16307 * docs/libs/gstreamer-libs-sections.txt:
16308 Added new symbol to docs.
16310 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16311 (gst_base_src_init), (gst_base_src_set_format),
16312 (gst_base_src_default_query), (gst_base_src_query),
16313 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16314 (gst_base_src_perform_seek), (gst_base_src_send_event),
16315 (gst_base_src_default_event), (gst_base_src_event_handler),
16316 (gst_base_src_set_property), (gst_base_src_get_property),
16317 (gst_base_src_wait), (gst_base_src_do_sync),
16318 (gst_base_src_update_length), (gst_base_src_get_range),
16319 (gst_base_src_check_get_range), (gst_base_src_loop),
16320 (gst_base_src_default_negotiate), (gst_base_src_start),
16321 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16322 (gst_base_src_change_state):
16323 * libs/gst/base/gstbasesrc.h:
16324 Implement seeking to other formats than _BYTES.
16325 Implement more seeking methods correctly.
16327 Added query vmethod.
16328 Added do_seek vmethod to make life easier for subclasses
16330 API addition: gst_base_src_set_format()
16332 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16334 * tests/examples/Makefile.am:
16337 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16340 * docs/random/ensonic/media-device-daemon.txt:
16341 * tests/examples/controller/.cvsignore:
16342 * tests/examples/controller/Makefile.am:
16343 * tests/examples/controller/audio-example.c: (main):
16344 * tests/examples/helloworld/.cvsignore:
16345 * tests/examples/helloworld/Makefile.am:
16346 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16347 * tests/examples/launch/.cvsignore:
16348 * tests/examples/launch/Makefile.am:
16349 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16350 * tests/examples/metadata/.cvsignore:
16351 * tests/examples/metadata/Makefile.am:
16352 * tests/examples/metadata/read-metadata.c: (message_loop),
16353 (make_pipeline), (print_tag), (main):
16354 * tests/examples/queue/.cvsignore:
16355 * tests/examples/queue/Makefile.am:
16356 * tests/examples/queue/queue.c: (event_loop), (main):
16357 * tests/examples/typefind/.cvsignore:
16358 * tests/examples/typefind/Makefile.am:
16359 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16361 * tests/examples/xml/.cvsignore:
16362 * tests/examples/xml/Makefile.am:
16363 * tests/examples/xml/createxml.c: (object_saved), (main):
16364 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16365 * tests/old/examples/Makefile.am:
16366 * tests/old/examples/TODO:
16367 * tests/old/examples/controller/.cvsignore:
16368 * tests/old/examples/controller/Makefile.am:
16369 * tests/old/examples/controller/audio-example.c:
16370 * tests/old/examples/helloworld/.cvsignore:
16371 * tests/old/examples/helloworld/Makefile.am:
16372 * tests/old/examples/helloworld/helloworld.c:
16373 * tests/old/examples/launch/.cvsignore:
16374 * tests/old/examples/launch/Makefile.am:
16375 * tests/old/examples/launch/mp3parselaunch.c:
16376 * tests/old/examples/launch/mp3play:
16377 * tests/old/examples/manual/Makefile.am:
16378 * tests/old/examples/metadata/Makefile.am:
16379 * tests/old/examples/metadata/read-metadata.c:
16380 * tests/old/examples/queue/.cvsignore:
16381 * tests/old/examples/queue/Makefile.am:
16382 * tests/old/examples/queue/queue.c:
16383 * tests/old/examples/typefind/.cvsignore:
16384 * tests/old/examples/typefind/Makefile.am:
16385 * tests/old/examples/typefind/typefind.c:
16386 * tests/old/examples/xml/.cvsignore:
16387 * tests/old/examples/xml/Makefile.am:
16388 * tests/old/examples/xml/createxml.c:
16389 * tests/old/examples/xml/runxml.c:
16390 applied some simple fixing to some examples
16391 re-enabled the working examples
16393 2005-12-12 Wim Taymans <wim@fluendo.com>
16395 * gst/gstsegment.c: (gst_segment_init),
16396 (gst_segment_set_last_stop), (gst_segment_set_seek),
16397 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16398 (gst_segment_to_running_time):
16399 Added more documentation.
16400 Make sure the last_pos value is updated properly.
16401 Make sure to_stream_time and to_running_time don't
16402 operate on wrong values.
16404 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16407 2005-12-12 Michael Smith <msmith@fluendo.com>
16409 * plugins/elements/gsttypefindelement.c: (free_entry),
16410 (gst_type_find_element_chain):
16411 Now that we're not leaking factories, make sure we keep references
16412 to them while we need them.
16414 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16416 * tests/check/gst/struct_i386.h:
16417 ifdef out the XML structs
16419 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16421 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16422 floor is not needed, F is always positive; this obviates the
16423 need for adding -lm when building without libxml
16425 2005-12-12 Wim Taymans <wim@fluendo.com>
16427 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16428 Take current playback rate into account when reporting
16431 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16433 * docs/manual/mime-world.fig:
16434 Let's try this again, this time with a file that is
16435 actually in XFig format.
16437 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16439 * docs/manual/mime-world.fig:
16440 Add audioconvert element to diagram so that it
16441 matches the text and the code (fixes #319526).
16443 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16445 * docs/pwg/building-chainfn.xml:
16446 * docs/pwg/building-pads.xml:
16447 * docs/pwg/building-state.xml:
16448 * docs/pwg/other-source.xml:
16449 Update state change stuff for 0.10 (fixes #322969).
16451 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16453 * docs/manual/advanced-dataaccess.xml:
16454 * docs/manual/appendix-checklist.xml:
16455 * docs/manual/appendix-programs.xml:
16456 * docs/manual/basics-pads.xml:
16457 * docs/manual/highlevel-components.xml:
16458 * docs/manual/manual.xml:
16459 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16460 add converters in front of pipelines; remove curly
16461 brackets for threads stuff, they no longer exist; use
16462 GST_TYPE_FRACTION for framerates; update some pieces of
16463 code to 0.10, but there's plenty more to do.
16465 * docs/manual/appendix-porting.xml:
16466 Expand on asynchroneous state changes; s/0.9/0.10/;
16467 mention disappearance of gst_init_get_popt_table()
16470 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16472 * docs/faq/using.xml:
16473 Spider no longer exists, and neither does gst-launch-ext.
16474 Update examples to use decodebin and playbin and put
16475 converters in front of sinks (fixes #323726).
16477 2005-12-09 Michael Smith <msmith@fluendo.com>
16479 * plugins/elements/gsttypefindelement.c: (find_peek),
16480 (gst_type_find_element_chain):
16481 Fix leaking element factories in typefinding.
16482 Fix problem where we forgot about a probable type on non-seekable
16483 files, and thus later mis-typefound it.
16485 2005-12-09 Michael Smith <msmith@fluendo.com>
16487 * common/m4/gst-makecontext.m4:
16488 * common/m4/gst-mcsc.m4:
16490 * win32/common/config.h:
16491 * win32/common/config.h.in:
16492 Remove makecontext stuff; not used in 0.10 and causes problems on
16493 HPUX according to bug #322441
16495 2005-12-07 Wim Taymans <wim@fluendo.com>
16497 * tests/check/Makefile.am:
16498 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16500 * tests/check/libs/struct_i386.h:
16501 Added ABI check for libs
16503 2005-12-07 Wim Taymans <wim@fluendo.com>
16505 * tests/check/Makefile.am:
16506 And add the struct_i386.h to dist.
16508 2005-12-07 Wim Taymans <wim@fluendo.com>
16510 * tests/check/Makefile.am:
16511 * tests/check/gst/.cvsignore:
16512 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16514 * tests/check/gst/struct_i386.h:
16515 Added check for ABI compatibility.
16517 2005-12-07 Wim Taymans <wim@fluendo.com>
16519 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16520 (gst_fake_src_get_times), (gst_fake_src_create):
16521 Fix broken sync option, fixes #323259
16523 2005-12-07 Wim Taymans <wim@fluendo.com>
16528 * gst/gstcaps.c: (gst_caps_is_equal):
16529 Don't assert on NULL <--> X. Fixes #323260
16531 * gst/gstminiobject.c: (gst_mini_object_replace):
16532 If we're doing atomic operations, we might just as well use
16533 the proper way to get an atomic pointer.
16535 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16536 Clean up debugging.
16538 2005-12-07 Michael Smith <msmith@fluendo.com>
16540 * gst/parse/grammar.y:
16541 Remove handling of { } for threads.
16543 2005-12-06 David Schleef <ds@schleef.org>
16545 * libs/gst/base/gstbasetransform.c: speling fix.
16547 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16549 * docs/libs/tmpl/gstdataprotocol.sgml:
16550 * docs/random/omega/testing/gstobject.c:
16553 * gst/gstelement.c:
16554 * gst/gstelementfactory.c:
16557 * gst/gstghostpad.c:
16559 * gst/gstpadtemplate.c:
16560 * gst/gstregistryxml.c:
16561 * gst/gsttaglist.c:
16562 * gst/gsttagsetter.c:
16563 * gst/gsttypefind.c:
16565 * libs/gst/base/gstbasesrc.c:
16566 * libs/gst/net/gstnetclientclock.c:
16567 * libs/gst/net/gstnettimeprovider.c:
16568 * plugins/elements/gstfakesrc.c:
16569 * plugins/elements/gstfdsrc.c:
16570 * plugins/elements/gstfilesrc.c:
16571 * plugins/elements/gstidentity.c:
16572 * plugins/elements/gstqueue.c:
16573 * plugins/elements/gsttypefindelement.c:
16574 * plugins/indexers/gstfileindex.c:
16575 * plugins/indexers/gstmemindex.c:
16576 * tests/check/gst/gsttag.c:
16577 * tests/old/examples/cutter/cutter.c:
16578 * tests/old/examples/mixer/mixer.c:
16579 * tests/old/examples/xml/runxml.c: (main):
16580 * tests/old/testsuite/caps/normalisation.c:
16581 * tests/old/testsuite/debug/global.c:
16582 * tests/old/testsuite/parse/parse1.c:
16583 * tools/gst-xmlinspect.c:
16584 * win32/common/dirent.c:
16587 === release 0.10.0 ===
16589 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16592 releasing 0.10.0, "Maroilles"
16594 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16596 submitted by: Funda Wang <fundawang@linux.net.cn>
16600 added Chinese (Traditional) translation
16602 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16604 * docs/gst/gstreamer-sections.txt:
16605 * docs/libs/tmpl/gstdataprotocol.sgml:
16606 * docs/random/thomasvs/TODO:
16611 2005-12-05 Andy Wingo <wingo@pobox.com>
16613 patch by: Wim Taymans <wim@fluendo.com>
16615 * libs/gst/base/gstbasetransform.c
16616 (gst_base_transform_prepare_output_buf)
16617 (gst_base_transform_buffer_alloc):
16618 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16619 alloc_buffer_and_set_caps.
16621 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16622 set_caps on the source pad.
16623 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16624 alloc_buffer used to do. Fixes #322874.
16626 * docs/gst/gstreamer-sections.txt:
16627 * docs/design/part-negotiation.txt:
16628 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16631 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16633 patch by: Sebastien Moutte
16636 * win32/common/config.h.in:
16637 * win32/vs6/libgstcontroller.dsp:
16640 2005-12-05 Wim Taymans <wim@fluendo.com>
16642 * gst/gstcaps.c: (gst_caps_is_equal):
16643 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16644 (gst_fake_src_create):
16645 Back out previous code changes, leave doc updates, file bugs
16648 2005-12-05 Wim Taymans <wim@fluendo.com>
16650 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16651 (gst_fake_src_get_times), (gst_fake_src_create):
16652 * plugins/elements/gstfakesrc.h:
16653 Fix broken sync code.
16655 2005-12-05 Wim Taymans <wim@fluendo.com>
16657 * gst/gstcaps.c: (gst_caps_is_equal):
16658 Comparing NULL against !NULL yields different caps, not a
16661 2005-12-05 Wim Taymans <wim@fluendo.com>
16663 * gst/gstpipeline.c:
16664 Fix small typo in docs.
16666 2005-12-05 Andy Wingo <wingo@pobox.com>
16668 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16670 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16671 registries/plugins with a MAJORMINOR one.
16672 (plugin_desc): Rename library from gstcoreleements to
16673 staticelements. Fixes #323222.
16675 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16677 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16678 Change debug category to 'collectpads' from 'collect_pads'
16681 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16683 patch by: Sebastien Moutte
16685 * libs/gst/controller/gstinterpolation.c:
16686 use convert function for uint64/double
16687 * win32/vs6/libgstcontroller.dsp:
16690 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16692 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16693 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16695 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16696 add tests that seem to show that the guint64/gdouble conversions
16699 2005-12-02 Wim Taymans <wim@fluendo.com>
16701 * gst/gstregistry.c: (gst_registry_add_path):
16702 * gst/gstregistry.h:
16703 * gst/gstregistryxml.c:
16706 2005-12-02 Wim Taymans <wim@fluendo.com>
16708 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16709 (gst_util_uint64_scale_int):
16712 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16713 Add debug log line.
16715 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16718 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16721 * win32/common/config.h:
16722 * win32/vs6/gstreamer.dsw:
16723 * win32/vs6/libgstcoreelements.dsp:
16724 * win32/vs6/libgstelements.dsp:
16725 renamed core elements plugin
16727 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16729 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16731 do piece-wise major/minor comparison so 0.9 < 0.10
16732 also allow .exe extensions for tools
16734 2005-12-02 Michael Smith <msmith@fluendo.com>
16737 Escape a % to make gtkdoc happier; bug 322958.
16739 === release 0.9.7 ===
16741 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16744 releasing 0.9.7, "My Dog Has No Nose"
16746 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16748 * common/gst-xmlinspect.py:
16750 * docs/libs/tmpl/gstdataprotocol.sgml:
16751 * docs/random/release:
16770 * win32/common/config.h:
16771 * win32/common/config.h.in:
16772 * win32/vs6/gst_inspect.dsp:
16773 * win32/vs6/gst_launch.dsp:
16774 * win32/vs6/libgstbase.dsp:
16775 * win32/vs6/libgstelements.dsp:
16776 * win32/vs6/libgstreamer.dsp:
16777 * win32/vs7/GStreamer.vcproj:
16778 * win32/vs7/gst-inspect.vcproj:
16779 * win32/vs7/gst-launch.vcproj:
16780 * win32/vs7/libgstbase.vcproj:
16781 bump GST_MAJORMINOR to 0.10
16782 reset libtool version
16784 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16788 Added Bulgarian translation by (Alexander Shopov)
16790 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16792 * tests/check/gst/gstplugin.c:
16795 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16797 * common/gst-xmlinspect.py:
16798 * common/gtk-doc-plugins.mak:
16800 * docs/Makefile.am:
16801 * docs/gst/Makefile.am:
16802 * docs/gst/gstreamer-docs.sgml:
16803 * docs/gst/gstreamer-sections.txt:
16804 * docs/gst/gstreamer.types:
16805 * docs/gst/gstreamer.types.in:
16806 * docs/plugins/Makefile.am:
16807 * docs/plugins/gstreamer-plugins-docs.sgml:
16808 * docs/plugins/gstreamer-plugins-sections.txt:
16809 * docs/plugins/gstreamer-plugins.types:
16810 * docs/plugins/inspect.stamp:
16811 * docs/plugins/inspect/plugin-coreelements.xml:
16812 * docs/plugins/inspect/plugin-coreindexers.xml:
16813 * docs/plugins/scanobj-build.stamp:
16814 * gstreamer.spec.in:
16815 * plugins/elements/Makefile.am:
16816 * plugins/elements/gstelements.c:
16817 * plugins/elements/gstfakesink.c:
16818 * plugins/elements/gstfakesrc.c:
16819 * plugins/elements/gstfilesink.c:
16820 * plugins/elements/gstfilesrc.c:
16821 * plugins/elements/gstqueue.c:
16822 * plugins/indexers/Makefile.am:
16823 * plugins/indexers/gstindexers.c:
16824 document core plugins in a separate document just like all the
16826 rename these plugins to something starting with core
16828 2005-12-01 Andy Wingo <wingo@pobox.com>
16830 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16831 padding here before, but it missed the commit.
16833 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16835 * libs/gst/controller/gstinterpolation.c:
16836 whitespace prices have crashed, we should feel free to use some now
16837 use gst_guint64_to_gdouble
16839 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16841 * libs/gst/controller/gstcontroller.c:
16842 * libs/gst/controller/gsthelper.c:
16843 * libs/gst/controller/gstinterpolation.c:
16844 * libs/gst/controller/lib.c:
16845 wrap config.h include
16847 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16849 * docs/gst/gstreamer-sections.txt:
16852 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16854 * plugins/elements/gstelements.c:
16855 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16856 (gst_fd_sink__class_init), (gst_fd_sink__init),
16857 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16858 (gst_fd_sink__get_property):
16859 * plugins/elements/gstfdsink.h:
16860 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16861 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16862 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16863 (gst_fd_src_unlock), (gst_fd_src_set_property),
16864 (gst_fd_src_get_property), (gst_fd_src_create),
16865 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16866 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16867 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16868 (gst_fd_src_uri_handler_init):
16869 * plugins/elements/gstfdsrc.h:
16870 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16873 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16875 * docs/gst/Makefile.am:
16876 * docs/gst/gstreamer.types.in:
16880 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16886 * gst/gstregistry.h:
16887 * tests/benchmarks/complexity.c:
16888 * tests/benchmarks/mass-elements.c:
16889 * tests/check/Makefile.am:
16890 * tools/Makefile.am:
16891 * tools/gst-inspect.c:
16892 * tools/gst-xmlinspect.c:
16893 various fixes to make
16894 --disable-nls --disable-registry --disable-loadsave
16895 --disable-parse --disable-gst-debug
16896 work and get the core .so down to 360444 bytes after stripping
16898 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16903 * docs/random/thomasvs/TODO:
16904 * tests/Makefile.am:
16908 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16910 * win32/GStreamer.vcproj:
16913 * win32/Makefile.inspect:
16914 * win32/Makefile.launch:
16915 * win32/Makefile.register:
16916 * win32/README.txt:
16917 * win32/gst-inspect.vcproj:
16918 * win32/gst-launch.vcproj:
16919 * win32/gst-register.vcproj:
16920 * win32/gstelements.vcproj:
16921 * win32/gstgetbits.def:
16922 * win32/gstgetbits.vcproj:
16923 * win32/gstreamer-dbg.def:
16924 * win32/gstreamer.def:
16925 * win32/libgstbase.def:
16926 * win32/libgstbase.vcproj:
16927 * win32/link_oldruntime.c:
16931 * win32/msvc71.sln:
16932 move even more stuff, win32/ is nice and clean now
16934 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16936 * libs/gst/control/.cvsignore:
16941 * win32/gstbytestream.def:
16942 * win32/gstbytestream.vcproj:
16943 * win32/gstconfig.h:
16944 * win32/gstenumtypes.c:
16945 * win32/gstenumtypes.h:
16946 * win32/gstoptimalscheduler.vcproj:
16947 * win32/gstversion.h:
16949 * win32/testsuite/bins.vcproj:
16950 * win32/testsuite/bytestream.vcproj:
16951 * win32/testsuite/caps.vcproj:
16952 * win32/testsuite/cleanup.vcproj:
16953 * win32/testsuite/clock.vcproj:
16954 * win32/testsuite/debug.vcproj:
16955 * win32/testsuite/dlopen.vcproj:
16956 * win32/testsuite/dynparams.vcproj:
16957 * win32/testsuite/elements.vcproj:
16958 * win32/testsuite/ghostpads.vcproj:
16959 * win32/testsuite/indexers.vcproj:
16960 * win32/testsuite/negotiation.vcproj:
16961 * win32/testsuite/parse.vcproj:
16962 * win32/testsuite/plugin.vcproj:
16963 * win32/testsuite/refcounting.vcproj:
16964 * win32/testsuite/schedulers.vcproj:
16965 * win32/testsuite/states.vcproj:
16966 * win32/testsuite/tags.vcproj:
16967 * win32/testsuite/threads.vcproj:
16968 remove old win32 stuff that isn't maintained and should be
16971 2005-11-30 Andy Wingo <wingo@pobox.com>
16973 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16974 loading the gst.interfaces python module bork.
16976 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16977 available since GLib 2.2. Fixes #318031.
16979 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16982 * check/.cvsignore:
16983 * check/Makefile.am:
16984 * check/elements/.cvsignore:
16985 * check/elements/fakesrc.c:
16986 * check/elements/fdsrc.c:
16987 * check/elements/identity.c:
16988 * check/generic/.cvsignore:
16989 * check/generic/states.c:
16990 * check/gst-libs/.cvsignore:
16991 * check/gst-libs/controller.c:
16992 * check/gst-libs/gdp.c:
16993 * check/gst/.cvsignore:
16994 * check/gst/capslist.h:
16996 * check/gst/gstbin.c:
16997 * check/gst/gstbuffer.c:
16998 * check/gst/gstbus.c:
16999 * check/gst/gstcaps.c:
17000 * check/gst/gstelement.c:
17001 * check/gst/gstevent.c:
17002 * check/gst/gstghostpad.c:
17003 * check/gst/gstiterator.c:
17004 * check/gst/gstmessage.c:
17005 * check/gst/gstminiobject.c:
17006 * check/gst/gstobject.c:
17007 * check/gst/gstpad.c:
17008 * check/gst/gstpipeline.c:
17009 * check/gst/gstplugin.c:
17010 * check/gst/gstsegment.c:
17011 * check/gst/gststructure.c:
17012 * check/gst/gstsystemclock.c:
17013 * check/gst/gsttag.c:
17014 * check/gst/gstutils.c:
17015 * check/gst/gstvalue.c:
17016 * check/net/.cvsignore:
17017 * check/net/gstnetclientclock.c:
17018 * check/net/gstnettimeprovider.c:
17019 * check/pipelines/.cvsignore:
17020 * check/pipelines/cleanup.c:
17021 * check/pipelines/simple_launch_lines.c:
17022 * check/pipelines/stress.c:
17023 * check/states/.cvsignore:
17024 * check/states/sinks.c:
17026 * examples/Makefile.am:
17027 * examples/appreader/.cvsignore:
17028 * examples/appreader/Makefile.am:
17029 * examples/appreader/appreader.c:
17030 * examples/controller/.cvsignore:
17031 * examples/controller/Makefile.am:
17032 * examples/controller/audio-example.c:
17033 * examples/cutter/.cvsignore:
17034 * examples/cutter/Makefile.am:
17035 * examples/cutter/cutter.c:
17036 * examples/cutter/cutter.h:
17037 * examples/events/Makefile.am:
17038 * examples/events/seek.c:
17039 * examples/helloworld/.cvsignore:
17040 * examples/helloworld/Makefile.am:
17041 * examples/helloworld/helloworld.c:
17042 * examples/helloworld2/.cvsignore:
17043 * examples/helloworld2/Makefile.am:
17044 * examples/helloworld2/helloworld2.c:
17045 * examples/launch/.cvsignore:
17046 * examples/launch/Makefile.am:
17047 * examples/launch/mp3parselaunch.c:
17048 * examples/launch/mp3play:
17049 * examples/manual/.cvsignore:
17050 * examples/manual/Makefile.am:
17051 * examples/manual/extract.pl:
17052 * examples/metadata/Makefile.am:
17053 * examples/metadata/read-metadata.c:
17054 * examples/mixer/.cvsignore:
17055 * examples/mixer/Makefile.am:
17056 * examples/mixer/mixer.c:
17057 * examples/mixer/mixer.h:
17058 * examples/pingpong/.cvsignore:
17059 * examples/pingpong/Makefile.am:
17060 * examples/pingpong/pingpong.c:
17061 * examples/plugins/.cvsignore:
17062 * examples/plugins/Makefile.am:
17063 * examples/plugins/example.c:
17064 * examples/plugins/example.h:
17065 * examples/pwg/.cvsignore:
17066 * examples/pwg/Makefile.am:
17067 * examples/pwg/extract.pl:
17068 * examples/queue/.cvsignore:
17069 * examples/queue/Makefile.am:
17070 * examples/queue/queue.c:
17071 * examples/queue2/.cvsignore:
17072 * examples/queue2/Makefile.am:
17073 * examples/queue2/queue2.c:
17074 * examples/queue3/.cvsignore:
17075 * examples/queue3/Makefile.am:
17076 * examples/queue3/queue3.c:
17077 * examples/queue4/.cvsignore:
17078 * examples/queue4/Makefile.am:
17079 * examples/queue4/queue4.c:
17080 * examples/retag/.cvsignore:
17081 * examples/retag/Makefile.am:
17082 * examples/retag/retag.c:
17083 * examples/retag/transcode.c:
17084 * examples/thread/.cvsignore:
17085 * examples/thread/Makefile.am:
17086 * examples/thread/thread.c:
17087 * examples/typefind/.cvsignore:
17088 * examples/typefind/Makefile.am:
17089 * examples/typefind/typefind.c:
17090 * examples/xml/.cvsignore:
17091 * examples/xml/Makefile.am:
17092 * examples/xml/createxml.c:
17093 * examples/xml/runxml.c:
17094 * tests/Makefile.am:
17095 * tests/check/Makefile.am:
17096 * testsuite/.cvsignore:
17097 * testsuite/Makefile.am:
17099 * testsuite/caps/.cvsignore:
17100 * testsuite/caps/Makefile.am:
17101 * testsuite/caps/app_fixate.c:
17102 * testsuite/caps/audioscale.c:
17103 * testsuite/caps/caps.c:
17104 * testsuite/caps/caps.h:
17105 * testsuite/caps/caps_strings:
17106 * testsuite/caps/compatibility.c:
17107 * testsuite/caps/deserialize.c:
17108 * testsuite/caps/enumcaps.c:
17109 * testsuite/caps/eratosthenes.c:
17110 * testsuite/caps/filtercaps.c:
17111 * testsuite/caps/fixed.c:
17112 * testsuite/caps/fraction-convert.c:
17113 * testsuite/caps/fraction-multiply-and-zero.c:
17114 * testsuite/caps/intersect2.c:
17115 * testsuite/caps/intersection.c:
17116 * testsuite/caps/normalisation.c:
17117 * testsuite/caps/random.c:
17118 * testsuite/caps/renegotiate.c:
17119 * testsuite/caps/sets.c:
17120 * testsuite/caps/simplify.c:
17121 * testsuite/caps/string-conversions.c:
17122 * testsuite/caps/structure.c:
17123 * testsuite/caps/subtract.c:
17124 * testsuite/caps/union.c:
17125 * testsuite/debug/.cvsignore:
17126 * testsuite/debug/Makefile.am:
17127 * testsuite/debug/category.c:
17128 * testsuite/debug/commandline.c:
17129 * testsuite/debug/global.c:
17130 * testsuite/debug/output.c:
17131 * testsuite/debug/printf_extension.c:
17132 * testsuite/dlopen/.cvsignore:
17133 * testsuite/dlopen/Makefile.am:
17134 * testsuite/dlopen/dlopen_gst.c:
17135 * testsuite/dlopen/loadgst.c:
17136 * testsuite/elements/.cvsignore:
17137 * testsuite/elements/Makefile.am:
17138 * testsuite/elements/gst-inspect-check.in:
17139 * testsuite/elements/struct_i386.h:
17140 * testsuite/elements/struct_size.c:
17141 * testsuite/indexers/.cvsignore:
17142 * testsuite/indexers/Makefile.am:
17143 * testsuite/indexers/cache1.c:
17144 * testsuite/indexers/indexdump.c:
17145 * testsuite/parse/.cvsignore:
17146 * testsuite/parse/Makefile.am:
17147 * testsuite/parse/parse1.c:
17148 * testsuite/parse/parse2.c:
17149 * testsuite/plugin/.cvsignore:
17150 * testsuite/plugin/Makefile.am:
17151 * testsuite/plugin/README:
17152 * testsuite/plugin/dynamic.c:
17153 * testsuite/plugin/linked.c:
17154 * testsuite/plugin/loading.c:
17155 * testsuite/plugin/registry.c:
17156 * testsuite/plugin/static.c:
17157 * testsuite/plugin/static2.c:
17158 * testsuite/plugin/testplugin.c:
17159 * testsuite/plugin/testplugin2.c:
17160 * testsuite/plugin/testplugin2_s.c:
17161 * testsuite/plugin/testplugin_s.c:
17162 * testsuite/refcounting/.cvsignore:
17163 * testsuite/refcounting/Makefile.am:
17164 * testsuite/refcounting/bin.c:
17165 * testsuite/refcounting/element.c:
17166 * testsuite/refcounting/element_pad.c:
17167 * testsuite/refcounting/mainloop.c:
17168 * testsuite/refcounting/mem.c:
17169 * testsuite/refcounting/mem.h:
17170 * testsuite/refcounting/object.c:
17171 * testsuite/refcounting/pad.c:
17172 * testsuite/refcounting/sched.c:
17173 * testsuite/refcounting/thread.c:
17174 * testsuite/states/.cvsignore:
17175 * testsuite/states/Makefile.am:
17176 * testsuite/states/bin.c:
17177 * testsuite/states/locked.c:
17178 * testsuite/states/parent.c:
17179 * testsuite/threads/.cvsignore:
17180 * testsuite/threads/159566.c:
17181 * testsuite/threads/159852.c:
17182 * testsuite/threads/Makefile.am:
17183 * testsuite/threads/queue.c:
17184 * testsuite/threads/signals.c:
17185 * testsuite/threads/staticrec.c:
17186 * testsuite/threads/thread.c:
17187 * testsuite/threads/threadb.c:
17188 * testsuite/threads/threadc.c:
17189 * testsuite/threads/threadd.c:
17190 * testsuite/threads/threade.c:
17191 * testsuite/threads/threadf.c:
17192 * testsuite/threads/threadg.c:
17193 * testsuite/threads/threadh.c:
17194 * testsuite/threads/threadi.c:
17195 move all of these under tests
17197 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17200 * tests/Makefile.am:
17203 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17205 * docs/gst/gstreamer-sections.txt:
17206 * tests/sched/.cvsignore:
17207 * tests/sched/Makefile.am:
17208 * tests/sched/cases/(fs-fs).xml:
17209 * tests/sched/cases/(fs-i-fs).xml:
17210 * tests/sched/cases/(fs-i-i-fs).xml:
17211 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17212 * tests/sched/dynamic-pipeline.c:
17213 * tests/sched/interrupt1.c:
17214 * tests/sched/interrupt2.c:
17215 * tests/sched/interrupt3.c:
17216 * tests/sched/runtestcases:
17217 * tests/sched/runxml.c:
17218 * tests/sched/sched-stress.c:
17219 * tests/sched/sort.c:
17220 * tests/sched/testcases:
17221 * tests/sched/testcases1.tc:
17222 * tests/seeking/.cvsignore:
17223 * tests/seeking/Makefile.am:
17224 * tests/seeking/seeking1.c:
17225 * tests/threadstate/.cvsignore:
17226 * tests/threadstate/Makefile.am:
17227 * tests/threadstate/test1.c:
17228 * tests/threadstate/test2.c:
17229 * tests/threadstate/threadstate1.c:
17230 * tests/threadstate/threadstate2.c:
17231 * tests/threadstate/threadstate3.c:
17232 * tests/threadstate/threadstate4.c:
17233 * tests/threadstate/threadstate5.c:
17234 remove obsolete tests
17236 * tests/bench-complexity.scm:
17237 * tests/bench-mass_elements.scm:
17238 * tests/complexity.c:
17239 * tests/complexity.gnuplot:
17240 * tests/instantiate/.cvsignore:
17241 * tests/instantiate/Makefile.am:
17242 * tests/instantiate/caps.c:
17243 * tests/mass_elements.c:
17244 * tests/network-clock-utils.scm:
17245 * tests/network-clock.scm:
17247 First pass at cleaning up tests/ dir before moving the rest
17248 Combined with CVS surgery
17250 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17253 queue has moved, update
17255 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17257 * docs/gst/gstreamer-sections.txt:
17258 remove double entries from the docs
17259 * gst/gst_private.h:
17260 * gst/gstinfo.c: (_gst_debug_init):
17261 remove the THREAD debug category
17265 * docs/gst/gstreamer.types:
17266 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17267 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17268 completely move queue and fix up debugging categories
17270 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17272 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17273 make initialization portable, using LL is not
17275 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17277 * win32/common/gstconfig.h:
17280 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * win32/common/libgstreamer.def:
17283 rename symbols; sort base section
17285 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17287 * gst/gstclock.c: (do_linear_regression):
17288 remove crack non-portable handrolled DEBUG macro
17290 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17292 * docs/random/release:
17294 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17295 (gst_object_flags_get_type), (register_gst_bin_flags),
17296 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17297 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17298 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17299 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17300 (gst_caps_flags_get_type), (register_gst_clock_return),
17301 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17302 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17303 (gst_clock_flags_get_type), (register_gst_state),
17304 (gst_state_get_type), (register_gst_state_change_return),
17305 (gst_state_change_return_get_type), (register_gst_state_change),
17306 (gst_state_change_get_type), (register_gst_element_flags),
17307 (gst_element_flags_get_type), (register_gst_core_error),
17308 (gst_core_error_get_type), (register_gst_library_error),
17309 (gst_library_error_get_type), (register_gst_resource_error),
17310 (gst_resource_error_get_type), (register_gst_stream_error),
17311 (gst_stream_error_get_type), (register_gst_event_type_flags),
17312 (gst_event_type_flags_get_type), (register_gst_event_type),
17313 (gst_event_type_get_type), (register_gst_seek_type),
17314 (gst_seek_type_get_type), (register_gst_seek_flags),
17315 (gst_seek_flags_get_type), (register_gst_format),
17316 (gst_format_get_type), (register_gst_index_certainty),
17317 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17318 (gst_index_entry_type_get_type),
17319 (register_gst_index_lookup_method),
17320 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17321 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17322 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17323 (gst_index_flags_get_type), (register_gst_debug_level),
17324 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17325 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17326 (gst_iterator_result_get_type), (register_gst_iterator_item),
17327 (gst_iterator_item_get_type), (register_gst_message_type),
17328 (gst_message_type_get_type), (register_gst_mini_object_flags),
17329 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17330 (gst_pad_link_return_get_type), (register_gst_flow_return),
17331 (gst_flow_return_get_type), (register_gst_activate_mode),
17332 (gst_activate_mode_get_type), (register_gst_pad_direction),
17333 (gst_pad_direction_get_type), (register_gst_pad_flags),
17334 (gst_pad_flags_get_type), (register_gst_pad_presence),
17335 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17336 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17337 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17338 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17339 (gst_plugin_flags_get_type), (register_gst_rank),
17340 (gst_rank_get_type), (register_gst_query_type),
17341 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17342 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17343 (gst_tag_flag_get_type), (register_gst_task_state),
17344 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17345 (gst_alloc_trace_flags_get_type),
17346 (register_gst_type_find_probability),
17347 (gst_type_find_probability_get_type), (register_gst_uri_type),
17348 (gst_uri_type_get_type), (register_gst_parse_error),
17349 (gst_parse_error_get_type):
17350 * win32/common/gstenumtypes.h:
17351 * win32/common/gstversion.h:
17352 update visual studio generated files
17354 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17356 * win32/vs6/libgstbase.dsp:
17357 * win32/vs6/libgstelements.dsp:
17358 update project files for new locations
17360 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17365 reinstate and update
17370 * docs/random/LICENSE:
17373 2005-11-30 Edward Hervey <edward@fluendo.com>
17375 * gst/gsttypefind.c: (gst_type_find_register):
17376 * gst/gsttypefind.h:
17377 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17378 (gst_type_find_factory_dispose):
17379 * gst/gsttypefindfactory.h:
17380 Fix memory leak in GstTypeFindFactory.
17382 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17385 * plugins/elements/Makefile.am:
17386 * plugins/elements/gstelements.c:
17387 * plugins/elements/gstqueue.c:
17388 move queue from core to the elements plugin
17390 2005-11-29 Andy Wingo <wingo@pobox.com>
17392 * libs/gst/base/gstbasetransform.h:
17393 * libs/gst/base/gstbasesrc.h:
17394 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17396 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17397 of pointers by which to pad very extensible base classes (like the
17398 ones in libs/gst/base).
17400 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17402 * docs/gst/gstreamer-docs.sgml:
17403 * docs/gst/gstreamer-sections.txt:
17404 * docs/libs/gstreamer-libs-docs.sgml:
17405 * docs/libs/gstreamer-libs-sections.txt:
17406 moving documentation from core to lib
17408 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17410 * check/Makefile.am:
17412 * docs/gst/Makefile.am:
17414 * gst/base/.cvsignore:
17415 * gst/base/Makefile.am:
17417 * gst/base/gstadapter.c:
17418 * gst/base/gstadapter.h:
17419 * gst/base/gstbasesink.c:
17420 * gst/base/gstbasesink.h:
17421 * gst/base/gstbasesrc.c:
17422 * gst/base/gstbasesrc.h:
17423 * gst/base/gstbasetransform.c:
17424 * gst/base/gstbasetransform.h:
17425 * gst/base/gstcollectpads.c:
17426 * gst/base/gstcollectpads.h:
17427 * gst/base/gstpushsrc.c:
17428 * gst/base/gstpushsrc.h:
17429 * gst/base/gsttypefindhelper.c:
17430 * gst/base/gsttypefindhelper.h:
17431 * gst/check/Makefile.am:
17432 * gst/check/gstcheck.c:
17433 * gst/check/gstcheck.h:
17434 * gst/net/Makefile.am:
17435 * gst/net/gstnet.h:
17436 * gst/net/gstnetclientclock.c:
17437 * gst/net/gstnetclientclock.h:
17438 * gst/net/gstnettimepacket.c:
17439 * gst/net/gstnettimepacket.h:
17440 * gst/net/gstnettimeprovider.c:
17441 * gst/net/gstnettimeprovider.h:
17442 * libs/gst/Makefile.am:
17443 * libs/gst/base/Makefile.am:
17444 * libs/gst/base/gstbasetransform.c:
17445 * libs/gst/check/Makefile.am:
17446 * plugins/elements/Makefile.am:
17448 CVS surgery + support to move base, check, and net out of gst
17451 2005-11-29 Andy Wingo <wingo@pobox.com>
17453 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17455 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17458 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17460 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17462 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17464 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17465 padding; reduces object size by about 30%. We don't expect
17466 anything else to go into gstobject.
17468 * gst/gstminiobject.h (struct _GstMiniObject)
17469 (struct _GstMiniObjectClass): Only one pointer of padding; the
17470 payload is only a pointer and two ints anyway. For the class there
17471 are only two methods as well.
17473 * gst/gstelement.h (struct _GstElementClass): Removed
17474 the state_changed signal callback, it is not used.
17476 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17478 * docs/gst/gstreamer.types:
17479 fix includes, though they are a little dinky
17481 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17483 * check/Makefile.am:
17484 look in the right place for elements, a lot more chance of
17487 remove indexers and elements subdirs
17488 * plugins/Makefile.am:
17489 make indexers conditional
17491 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17495 * plugins/elements/Makefile.am:
17496 * plugins/elements/gstcapsfilter.c:
17497 * plugins/elements/gstfilesink.c:
17498 * plugins/elements/gstfilesrc.c:
17499 * plugins/elements/gstidentity.c:
17500 * plugins/indexers/Makefile.am:
17501 do CVS surgery and related build fixery to move elements
17502 and indexers in a new gstreamer/plugins directory, out of the
17505 2005-11-29 Andy Wingo <wingo@pobox.com>
17507 * check/Makefile.am:
17508 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17509 * pkgconfig/gstreamer-net.pc.in:
17510 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17513 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17515 * tools/Makefile.am:
17516 * tools/gst-complete.1.in:
17517 * tools/gst-complete.c:
17518 * tools/gst-compprep.1.in:
17519 * tools/gst-compprep.c:
17520 removing -compprep and -complete
17522 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17524 * gst/gstevent.c: (gst_event_new_new_segment),
17525 (gst_event_parse_new_segment):
17527 fix #320529 - clean up new_segment API and structure.
17528 Let's hope everyone was using the methods, and not the structure.
17530 2005-11-29 Edward Hervey <edward@fluendo.com>
17532 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17533 (gst_base_sink_event), (gst_base_sink_do_sync),
17534 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17535 Properly handle non GST_FORMAT_TIME segment
17536 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17537 Properly handle non GST_FORMAT_TIME segment
17538 * gst/gstsegment.c:
17539 This function is valid if the accumulator is 0 and the format
17540 is different from the requested format.
17542 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17544 * docs/gst/gstreamer-sections.txt:
17545 Add gst_query_new_seeking and gst_query_parse_seeking to the
17548 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17550 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17551 Treat a pad alloc with new caps the same as if we were not
17552 negotiated, in order to allow a changing upstream output
17553 to produce a new format of data.
17555 2005-11-29 Edward Hervey <edward@fluendo.com>
17557 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17558 (gst_base_transform_event), (gst_base_transform_eventfunc):
17559 The event virtual method is now properly implemented, with a default
17561 Sub classes should call the parent_class event method. They should
17562 return FALSE if they had a problem handling the given event, or don't
17563 want GstBaseTransform to send that even downstream
17564 * gst/elements/gstidentity.c: (gst_identity_class_init),
17565 (gst_identity_init), (gst_identity_event),
17566 (gst_identity_transform_ip), (gst_identity_set_property),
17567 (gst_identity_get_property):
17568 * gst/elements/gstidentity.h:
17569 Added the single-segment boolean property.
17570 If set to TRUE, it will output a single segment of data, starting from
17571 0, will eat up all incoming newsegment, and modify the timestamp of the
17572 buffers accordingly
17574 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17576 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17577 Don't ref NULL target pad (#322751). Improve docs.
17579 2005-11-29 Michael Smith <msmith@fluendo.com>
17581 * gst/gstregistryxml.c: (load_plugin):
17582 Don't crash if we failed to load a feature from a plugin.
17584 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17586 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17588 use more check API and less GLib API
17590 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17593 don't run checks if we don't have check
17594 * common/check.mak:
17595 remove the registry when running make torture
17596 * docs/gst/gstreamer-sections.txt:
17597 remove second multiply
17598 * gst/gstqueue.c: (gst_queue_loop):
17599 fix a compile warning when disabling debug
17601 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17604 Hey! Let's print the pad name if the pointer != NULL instead
17605 of when it == NULL :-)
17607 2005-11-28 Wim Taymans <wim@fluendo.com>
17609 * check/gst/gstutils.c: (GST_START_TEST):
17610 Updated check, add some scaling accuracy checking code.
17612 * gst/gstutils.c: (gst_util_div128_64),
17613 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17614 (gst_util_uint64_scale_int):
17615 Fix 6 times faster division code. Optimize for common
17616 1/1 and less common X/1 cases.
17618 2005-11-28 Wim Taymans <wim@fluendo.com>
17620 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17623 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17624 (do_linear_regression), (gst_clock_add_observation):
17626 Release lock when the clock cannot be slaved.
17627 Catch the case where the regression returned an invalid denominator.
17629 * gst/gstutils.c: (gst_util_div128_64_iterate),
17630 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17631 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17632 Add protentially more performant non-iterative 128/64 divide function
17633 that unfortunatly does not work yet.
17634 Shortcut the trivial 0/X = 0 case.
17635 Remove the warnings on overflow.
17637 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17639 * gst/gstplugin.c: (gst_plugin_register_func):
17640 everything causing a plugin not to load should be at least a WARNING
17642 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17644 * docs/random/ensonic/dparams.txt:
17645 some TODOs for the next dev cycle
17646 * libs/gst/controller/gstcontroller.c:
17647 (gst_controlled_property_set_interpolation_mode),
17648 (gst_controlled_property_new):
17649 * libs/gst/controller/gstcontroller.h:
17650 use base type to assign acccessor functions
17652 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17654 * check/Makefile.am:
17655 Oops, that should have been top_srcdir
17657 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17659 * check/Makefile.am:
17660 * check/elements/fdsrc.c: (GST_START_TEST):
17661 Use a cmdline define to specify the location of a file to use for
17662 testing, to avoid breaking distcheck.
17664 2005-11-28 Andy Wingo <wingo@pobox.com>
17666 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17668 2005-11-28 Edward Hervey <edward@fluendo.com>
17670 * tools/gst-launch.c: (main):
17671 Clarify the output strings, makes it easier to translate.
17674 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17677 don't try and build net if we don't even have <sys/socket.h>
17679 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17681 * check/Makefile.am:
17682 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17683 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17684 Add tests for fdsrc seekability
17686 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17687 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17688 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17689 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17690 * gst/elements/gstfdsrc.h:
17691 fdsrc should not be a 'live' source.
17692 Implement seeking on seekable fd's.
17694 * gst/gstquery.c: (gst_query_new_seeking),
17695 (gst_query_parse_seeking):
17697 Implement SEEKING query functions:
17698 *_new_seeking and *_parse_seeking
17700 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17702 * gst/gstelement.c: (gst_element_dispose):
17705 * gst/gstiterator.c:
17706 * gst/gststructure.c:
17709 * libs/gst/controller/gstcontroller.c:
17710 (gst_controlled_property_set_interpolation_mode):
17711 * libs/gst/controller/gstcontroller.h:
17712 * libs/gst/controller/gstinterpolation.c:
17713 (interpolate_none_get_enum_value_array):
17714 support controlling enums
17716 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17719 Improve documentation for gst_value_union().
17722 Change return value for union, intersect and subtract functions
17723 from gint to gboolean.
17725 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17727 * gst/gstvalue.c: (gst_value_serialize_any_list),
17728 (gst_value_transform_any_list_string),
17729 (gst_value_deserialize_list), (gst_value_deserialize_array),
17730 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17731 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17732 (gst_value_set_fraction_range_full),
17733 (gst_value_deserialize_fraction_range),
17734 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17735 (gst_value_deserialize_boolean),
17736 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17737 (gst_value_serialize_float), (gst_value_deserialize_float),
17738 (gst_string_wrap), (gst_value_deserialize_string),
17739 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17740 (gst_value_union_int_range_int_range),
17741 (gst_value_intersect_int_range_int_range),
17742 (gst_value_intersect_double_range_double_range),
17743 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17744 (gst_value_subtract_int_range_int_range),
17745 (gst_value_subtract_double_double_range),
17746 (gst_value_subtract_double_range_double_range),
17747 (gst_value_deserialize_fraction):
17749 Use gint, gdouble and gchar in our API instead of int, double and
17750 char (and make usage in gstvalue.c more consistent).
17752 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17754 * check/Makefile.am:
17755 * libs/gst/controller/Makefile.am:
17756 * libs/gst/dataprotocol/Makefile.am:
17757 fix up Makefile.am and remove GST_ENABLE_NEW
17759 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17763 * gst/base/Makefile.am:
17764 * gst/check/Makefile.am:
17765 * gst/elements/Makefile.am:
17766 * gst/net/Makefile.am:
17767 update LDFLAGS use some more
17769 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17771 * common/m4/gst-doc.m4:
17774 2005-11-26 Edward Hervey <edward@fluendo.com>
17776 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17777 This shouldn't issue a g_warning since it returns NULL if it
17778 couldn't find the plugin, and all functions using this behave
17779 properly on a NULL return. Switching to a GST_WARNING.
17781 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17783 * gst/gstbin.c: (gst_bin_handle_message_func):
17784 Don't leak clock messages.
17786 2005-11-25 Wim Taymans <wim@fluendo.com>
17788 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17789 (gst_util_uint64_scale_int):
17790 Optimisations, remove unneeded vars.
17792 2005-11-25 Wim Taymans <wim@fluendo.com>
17794 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17795 Added more checks for the high precision uint64 cases.
17797 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17798 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17799 Implement high precision (guint64 * guint64) / guint64.
17801 2005-11-24 Wim Taymans <wim@fluendo.com>
17803 * gst/base/gstbasesrc.c: (gst_base_src_query):
17804 Fix wrong percentage query.
17806 * gst/gstutils.c: (gst_util_uint64_scale),
17807 (gst_util_uint64_scale_int):
17808 Add some more common cases that can be handled
17809 efficiently to _scale.
17811 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17813 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17814 (gst_mini_object_suite):
17815 don't use check calls from threads; check probably isn't
17816 threadsafe and using a lock to make it threadsafe would
17817 defeat the purpose of this check
17818 * gst/check/gstcheck.c:
17819 * gst/check/gstcheck.h:
17820 use GST_DEBUG some more
17822 2005-11-24 Wim Taymans <wim@fluendo.com>
17824 * gst/gstutils.c: (gst_util_uint64_scale),
17825 (gst_util_uint64_scale_int):
17826 Chain trivial case to _scale_int.
17828 2005-11-24 Wim Taymans <wim@fluendo.com>
17830 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17831 Added test for scaling.
17836 * gst/gstutils.c: (gst_util_uint64_scale_int):
17837 Implemented high precision scaling code.
17839 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17842 do not crash on pad==NULL
17844 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17846 Patch by: Stefan Kost
17848 * common/gtk-doc.mak:
17849 * docs/gst/Makefile.am:
17850 * docs/libs/Makefile.am:
17851 Fix distcheck issues for the libraries docs build
17854 2005-11-24 Michael Smith <msmith@fluendo.com>
17856 * docs/manual/basics-helloworld.xml:
17857 Fix bug #315027: memory leak in example code in docs.
17859 2005-11-24 Michael Smith <msmith@fluendo.com>
17861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17862 Unlock the PREROLL_LOCK in a failure case.
17864 2005-11-24 Wim Taymans <wim@fluendo.com>
17866 * docs/gst/gstreamer-sections.txt:
17867 * gst/base/gstadapter.h:
17868 * gst/base/gstbasesink.h:
17869 * gst/base/gstbasesrc.h:
17870 * gst/base/gstbasetransform.h:
17871 * gst/base/gstpushsrc.h:
17872 * gst/elements/gstfakesink.h:
17873 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17874 * gst/elements/gstfakesrc.h:
17875 * gst/elements/gstfilesink.h:
17876 * gst/elements/gstfilesrc.h:
17879 * gst/gstbuffer.c: (_gst_buffer_copy):
17882 * gst/gstchildproxy.c:
17884 * gst/gstelement.c:
17885 * gst/gstelementfactory.c:
17886 * gst/gstelementfactory.h:
17888 * gst/gstghostpad.h:
17890 * gst/gstinterface.h:
17891 * gst/gstminiobject.c:
17892 * gst/gstminiobject.h:
17895 * gst/gstpadtemplate.h:
17896 * gst/gstpipeline.h:
17897 * gst/gstpluginfeature.h:
17900 * gst/gsttaglist.c:
17901 * gst/gsttaglist.h:
17902 * gst/gsttagsetter.c:
17903 * gst/gsttagsetter.h:
17906 * gst/gsttypefind.h:
17909 * gst/net/gstnetclientclock.c:
17910 * gst/net/gstnetclientclock.h:
17911 * gst/net/gstnettimepacket.c:
17912 * gst/net/gstnettimeprovider.c:
17913 * gst/net/gstnettimeprovider.h:
17916 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17918 * configure.ac: back to HEAD
17920 === release 0.9.6 ===
17922 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17925 releasing 0.9.6, "Always On Time"
17927 2005-11-23 Wim Taymans <wim@fluendo.com>
17929 * docs/gst/gstreamer-sections.txt:
17930 * gst/glib-compat.c:
17931 * gst/gsttagsetter.c:
17933 * gst/net/gstnetclientclock.c:
17934 * gst/net/gstnettimepacket.h:
17937 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17939 * docs/faq/using.xml:
17940 * docs/libs/tmpl/gstcontrol.sgml:
17941 * docs/manual/advanced-dparams.xml:
17942 * docs/manual/appendix-checklist.xml:
17943 * docs/manual/basics-elements.xml:
17944 * docs/pwg/other-source.xml:
17945 * docs/random/moving-plugins:
17947 * tools/gst-launch.1.in:
17948 remove mentions of sinesrc
17950 2005-11-23 Michael Smith <msmith@fluendo.com>
17952 * docs/gst/gstreamer-sections.txt:
17953 Update for new API and API changes.
17955 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17957 Documentation typo fix.
17958 * gst/net/gstnettimepacket.c:
17959 Documentation fixes for arguments.
17961 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17963 * gst/gststructure.c: (gst_structure_get_fraction),
17964 (gst_structure_parse_value),
17965 (gst_structure_fixate_field_nearest_fraction):
17966 * gst/gststructure.h:
17967 * gst/gstutils.c: (gst_util_uint64_scale_int):
17969 * scripts/update-funcnames:
17971 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17972 Make gst_structure_fixate_field_nearest_fraction take a numerator
17973 and denominator argument instead of a GValue
17974 add gst_structure_get_fraction helper function.
17976 2005-11-23 Wim Taymans <wim@fluendo.com>
17978 * docs/design/part-TODO.txt:
17981 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17982 * gst/net/gstnetclientclock.h:
17983 Use parent fields for timeout and window_size.
17985 2005-11-23 Andy Wingo <wingo@pobox.com>
17987 * check/net/gstnetclientclock.c (test_functioning): Adjust to
17988 rate_num/rate_denom change.
17990 * gst/net/gstnetclientclock.c
17991 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17992 OBJECT_LOCK. Don't call add_observation with the lock.
17994 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17996 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17998 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17999 deal with rate as a fraction whose numerator and denominator are
18000 GstClockTime values.
18001 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18002 master; the other fields are protected by the SLAVE_LOCK.
18003 (do_linear_regression): Note that this must be called with the
18005 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18006 OBJECT_LOCK. Call set_calibration instead of touching the
18007 variables directly.
18008 (gst_clock_set_property, gst_clock_get_property): Protect
18009 master/slave parameters with the SLAVE_LOCK.
18011 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18012 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18013 note that all of the instance variables that add_observation and
18014 the set_master functions use are protected by that lock and not
18016 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18018 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18019 the caller to take the object lock.
18021 2005-11-23 Wim Taymans <wim@fluendo.com>
18023 * gst/gsterror.c: (_gst_core_errors_init):
18025 Add error for clock stuff.
18027 * gst/gstpipeline.c: (gst_pipeline_change_state),
18028 (gst_pipeline_set_clock):
18029 Post clock error when clock cannot be used in a pipeline.
18031 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18033 * docs/gst/gstreamer-sections.txt:
18034 make two symbols from gstinfo private for the docs
18035 * gst/base/gstcollectpads.h:
18037 fix doc typos, update docs
18039 2005-11-22 Wim Taymans <wim@fluendo.com>
18041 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18042 (gst_base_sink_wait), (gst_base_sink_do_sync),
18043 (gst_base_sink_handle_event):
18044 * gst/base/gstbasesink.h:
18045 No need to store the clock, the parent element class already
18048 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18049 Updates for clock_set returning a gboolean
18051 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18052 (gst_clock_id_wait_async), (gst_clock_class_init),
18053 (gst_clock_init), (gst_clock_finalize),
18054 (gst_clock_get_internal_time), (gst_clock_get_time),
18055 (gst_clock_slave_callback), (gst_clock_set_master),
18056 (gst_clock_get_master), (do_linear_regression),
18057 (gst_clock_add_observation), (gst_clock_set_property),
18058 (gst_clock_get_property):
18060 Implement master/slave. When setting a clock as a slave, a
18061 periodic timeout is scheduled to sample master and slave times.
18062 Then the slave clock is recalibrated to match offset and rate
18063 of the master clock.
18064 Update logging a bit.
18065 Add flag so that a clock can state that is cannot be slaved to
18068 * gst/gstelement.c: (gst_element_set_clock):
18069 * gst/gstelement.h:
18070 The set clock returns a gboolean for when an element cannot
18071 deal with the selected clock in the pipeline.
18073 * gst/gstpipeline.c: (gst_pipeline_change_state),
18074 (gst_pipeline_set_clock):
18075 * gst/gstpipeline.h:
18076 Handle the case where the selected clock cannot be set on
18079 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18080 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18081 (gst_net_client_clock_set_property),
18082 (gst_net_client_clock_get_property),
18083 (gst_net_client_clock_observe_times):
18084 * gst/net/gstnetclientclock.h:
18085 Use regression code in GstClock parent, remove duplicated
18088 2005-11-22 Michael Smith <msmith@fluendo.com>
18090 * gst/gstutils.c: (gst_util_clock_time_scale):
18092 * docs/gst/gstreamer-sections.txt:
18093 Rename method to have extra underscore.
18095 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18097 * gst/elements/Makefile.am:
18098 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18099 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18100 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18101 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18102 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18103 * gst/elements/gstfakesrc.h:
18104 * gst/gstqueue.c: (queue_leaky_get_type):
18105 correctly fix GEnumValues so that nick is the short lowercase
18107 * tools/gst-inspect.c: (print_element_properties_info):
18108 also show the nick, since it's useful to use from parse_launch
18112 2005-11-22 Michael Smith <msmith@fluendo.com>
18114 * gst/gstutils.c: (gst_util_clocktime_scale):
18116 * docs/gst/gstreamer-sections.txt:
18117 Add util method for scaling a clocktime by a fraction. Useful
18118 implementation is left as an exercise for the reader.
18120 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18122 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18123 If needed, allocate storage in the destination value during
18126 2005-11-22 Edward Hervey <edward@fluendo.com>
18128 * docs/gst/gstreamer-sections.txt:
18131 * gst/gsturitype.c:
18132 * gst/gsturitype.h:
18133 * gst/gstutils.c: (gst_util_set_object_arg):
18134 * tools/gst-compprep.c: (main):
18135 * tools/gst-inspect.c: (print_element_properties_info):
18136 Removed GstURI, closes bug #321061
18138 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18140 * check/gst/gststructure.c: (GST_START_TEST):
18141 * gst/gststructure.c: (gst_structure_parse_value):
18142 Oops, broke automatic string type parsing.
18143 Add a test to catch it in future.
18145 2005-11-22 Andy Wingo <wingo@pobox.com>
18147 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18148 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18149 Actually rename the function implementations. Grr.
18151 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18153 * check/gst/capslist.h:
18155 * check/gst/gststructure.c: (GST_START_TEST),
18156 (gst_structure_suite):
18157 Test automatic value type detection in gst_structure_from_string.
18158 * gst/gststructure.c: (gst_structure_parse_value):
18159 Add fraction as a type we try and guess automatically in
18160 caps/structure strings.
18162 2005-11-22 Andy Wingo <wingo@pobox.com>
18164 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18166 * gst/gsttagsetter.h:
18167 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18168 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18169 (gst_tag_setter_add_tag_valist)
18170 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18171 _add_values, _add_valist, and _add_valist_values. Since this is an
18172 interface the function suffixes should be more explicit so
18173 language binding don't end up with element.add_valist ->
18174 gst_tag_setter_add_valist, for example. Fixes #322069.
18176 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18178 * check/gst/gstcaps.c: (GST_START_TEST):
18179 Extend caps string tests to check that a caps to string
18180 conversion is reversible and produces the same caps.
18182 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18183 Output "fraction" as the generic type fraction range, so caps
18184 serialisation and deserialisation works.
18185 * check/gst/capslist.h:
18186 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18187 Support 'MIN' and 'MAX' for deserialising fractions.
18189 2005-11-22 Andy Wingo <wingo@pobox.com>
18191 * gst/gstevent.h (gst_event_new_new_segment)
18192 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18193 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18194 Renamed from *_newsegment, *_buffersize, *_notarget.
18196 * scripts/update-funcnames: New script, performs the changes
18199 2005-11-22 Wim Taymans <wim@fluendo.com>
18201 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18202 Make sure the GstFlowReturn is returned.
18204 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18205 (gst_bus_add_signal_watch):
18207 add gst_bus_add_signal_watch_full.
18209 * gst/gstplugin.c: (gst_plugin_load_file):
18210 Small style cleanup.
18212 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18214 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18215 Block the fakesrc srcpad when we send an event, to avoid
18216 contention on the stream_lock causing random test failures.
18218 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18220 * check/gst/gstvalue.c: (GST_START_TEST):
18221 * gst/gstvalue.c: (gst_value_fraction_subtract):
18224 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18227 include "gstchildproxy.h"
18228 * gst/gstchildproxy.h:
18229 * libs/gst/controller/gstcontroller.h:
18230 use G_GNUC_NULL_TERMINATED
18232 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18234 * check/gst/capslist.h:
18235 * check/gst/gstcaps.c: (GST_START_TEST):
18236 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18237 * gst/gststructure.c: (gst_structure_parse_range),
18238 (gst_structure_fixate_field_nearest_fraction):
18239 * gst/gststructure.h:
18240 * gst/gstvalue.c: (gst_value_init_fraction_range),
18241 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18242 (gst_value_collect_fraction_range),
18243 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18244 (gst_value_set_fraction_range_full),
18245 (gst_value_get_fraction_range_min),
18246 (gst_value_get_fraction_range_max),
18247 (gst_value_serialize_fraction_range),
18248 (gst_value_transform_fraction_range_string),
18249 (gst_value_compare_fraction_range),
18250 (gst_value_deserialize_fraction_range),
18251 (gst_value_intersect_fraction_fraction_range),
18252 (gst_value_intersect_fraction_range_fraction_range),
18253 (gst_value_subtract_fraction_fraction_range),
18254 (gst_value_subtract_fraction_range_fraction),
18255 (gst_value_subtract_fraction_range_fraction_range),
18256 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18257 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18258 (gst_value_transform_string_fraction), (_gst_value_initialize):
18260 Implement fraction ranges and extend GstFraction to support
18261 arithmetic subtraction, as well as deserialization from integer
18262 strings such as "100"
18263 Add a testsuite as for int and double range set operations
18265 2005-11-21 Andy Wingo <wingo@pobox.com>
18267 * gst/gsttaglist.h:
18269 * gst/gststructure.h: Add glib-compat.h.
18271 2005-11-21 Wim Taymans <wim@fluendo.com>
18273 * gst/gstbin.c: (gst_bin_change_state_func):
18276 2005-11-21 Wim Taymans <wim@fluendo.com>
18278 * gst/gstsegment.h:
18279 And add a nice define too.
18281 2005-11-21 Wim Taymans <wim@fluendo.com>
18283 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18284 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18285 (gst_segment_set_duration), (gst_segment_set_last_stop),
18286 (gst_segment_set_seek), (gst_segment_set_newsegment),
18287 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18288 (gst_segment_clip):
18289 * gst/gstsegment.h:
18290 Make binding friendly.
18292 2005-11-21 Andy Wingo <wingo@pobox.com>
18294 * gst/gsttagsetter.h:
18295 * gst/gsttaglist.h:
18296 * gst/gststructure.h:
18298 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18301 * gst/gsterror.c (_gst_core_errors_init):
18302 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18305 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18306 (noinst_HEADERS): noinst the -private.
18308 2005-11-21 Michael Smith <msmith@fluendo.com>
18311 * gst/gstregistry.h:
18312 Remove unimplemented declarations for which we can see no sensible
18315 2005-11-21 Andy Wingo <wingo@pobox.com>
18317 * gst/gst.h: Include glib-compat.h.
18319 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18321 * gst/glib-compat.c: Include the public and the private header.
18323 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18327 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18329 * check/gst/gstevent.c (create_custom_events): Check that
18330 FLUSH_STOP is serialized.
18332 * check/elements/identity.c (event_func):
18333 * check/elements/fakesrc.c (event_func): No stream lock, the core
18336 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18337 stream lock taking, yay.
18339 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18340 ensure that core takes the stream lock.
18342 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18345 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18346 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18347 it already. For the flush start we do take it though so we get the
18348 right preroll state change messages.
18350 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18351 the stream lock here, the core does it for us.
18353 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18354 GST_STREAM_GET_LOCK.
18355 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18356 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18357 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18358 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18359 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18360 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18362 * gst/gstpad.c: Update for stream lock name change.
18364 * gst/base/gstbasesink.c: Update for preroll lock name change.
18366 2005-11-21 Wim Taymans <wim@fluendo.com>
18368 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18369 (gst_clock_get_master):
18371 * gst/gstsystemclock.c: (gst_system_clock_init):
18372 Convert Clock flags to object flags.
18373 Added methods to manage master/slave clocks.
18375 2005-11-21 Wim Taymans <wim@fluendo.com>
18377 * check/gst/gstsegment.c: (GST_START_TEST):
18378 * docs/design/part-TODO.txt:
18379 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18380 (gst_base_sink_event), (gst_base_sink_do_sync),
18381 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18382 (gst_base_sink_query), (gst_base_sink_change_state):
18383 * gst/base/gstbasesink.h:
18384 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18385 (gst_base_src_default_newsegment),
18386 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18387 (gst_base_src_get_range), (gst_base_src_loop),
18388 (gst_base_src_change_state):
18389 * gst/base/gstbasesrc.h:
18390 * gst/base/gstbasetransform.c:
18391 (gst_base_transform_prepare_output_buf),
18392 (gst_base_transform_event), (gst_base_transform_change_state):
18393 * gst/base/gstbasetransform.h:
18394 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18395 (gst_collect_pads_event):
18396 * gst/base/gstcollectpads.h:
18397 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18398 (gst_fake_src_create):
18399 * gst/elements/gstfakesrc.h:
18400 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18401 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18402 (gst_segment_set_last_stop), (gst_segment_set_seek),
18403 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18404 (gst_segment_to_running_time), (gst_segment_clip):
18405 * gst/gstsegment.h:
18406 More segment updates, replace code in plugins with segment
18409 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18411 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18412 Don't ignore sscanf results
18414 2005-11-21 Andy Wingo <wingo@pobox.com>
18416 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18419 * *.c: Ran scripts/update-macros. Oh yes.
18421 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18422 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18425 * scripts/update-macros: New script. Run it on your files to
18426 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18429 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18431 * docs/gst/Makefile.am:
18432 * docs/gst/gstreamer-docs.sgml:
18433 * docs/gst/gstreamer-sections.txt:
18434 * docs/gst/gstreamer.types:
18436 more docs fixes, add new api to the docs
18438 2005-11-21 Andy Wingo <wingo@pobox.com>
18440 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18441 state_broadcast call.
18443 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18445 2005-11-21 Julien MOUTTE <julien@moutte.net>
18447 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18448 function calls for arrays.
18450 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18452 * docs/random/ensonic/media-device-daemon.txt:
18453 wild idea, can this be done?
18454 * docs/gst/gstreamer-sections.txt:
18459 * gst/gstpluginfeature.c:
18463 doc fixes and additions
18465 2005-11-21 Andy Wingo <wingo@pobox.com>
18467 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18468 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18469 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18470 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18471 private to the basesrc implementation.
18473 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18474 behalf of event function if necessary. It should no longer be
18475 necessary to take the stream lock in pad's event functions. Fixes
18478 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18479 * docs/gst/gstreamer-sections.txt:
18480 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18481 (gst_structure_fixate_field_nearest_double),
18482 (gst_structure_fixate_field_boolean):
18483 * gst/gststructure.h:
18484 * win32/common/libgstreamer.def:
18485 * win32/gstreamer.def:
18487 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18490 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18492 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18493 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18494 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18495 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18496 (gst_fdsrc_uri_handler_init):
18497 * gst/elements/gstfdsrc.h:
18498 Port fd:// URI handler from 0.8 to fdsrc
18500 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18502 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18503 (gst_value_serialize_fourcc):
18505 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18506 consistent with our other format defines (#320324).
18508 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18510 * gst/gstvalue.c: (gst_value_is_fixed):
18511 Revert previous commit. Value lists are by definition
18512 not fixed, as they are a list of possible values.
18514 2005-11-21 Andy Wingo <wingo@pobox.com>
18516 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18517 during the stable series if we need it. Fixes #319178.
18519 * gst/gstevent.c (gst_event_new_filler): Removed.
18521 * check/gst/gstevent.c: Update comment about filler events.
18523 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18525 * gst/gstvalue.c: (gst_value_is_fixed):
18526 Should handle both value arrays and value lists.
18528 2005-11-21 Andy Wingo <wingo@pobox.com>
18530 patch by: Alessandro Dessina <alessandro nnva org>
18532 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18533 functions to access arrays. Fixes #321962.
18535 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18537 * docs/gst/gstreamer.types:
18538 gst_collectpads_get_type => gst_collect_pads_get_type.
18540 * gst/base/gstbasetransform.c:
18541 Remove unused SIGNAL_HANDOFF enum.
18543 2005-11-21 Andy Wingo <wingo@pobox.com>
18545 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18546 the event type (upstream, downstream, serialized). Renamed
18547 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18548 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18549 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18551 * gst/gstevent.c: Update for new CUSTOM event names.
18553 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18556 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18559 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18561 * docs/gst/gstreamer-sections.txt:
18562 * win32/common/libgstbase.def:
18563 * win32/libgstbase.def:
18564 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18565 (gst_collect_pads_class_init), (gst_collect_pads_init),
18566 (gst_collect_pads_finalize), (gst_collect_pads_new),
18567 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18568 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18569 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18570 (gst_collect_pads_start), (gst_collect_pads_stop),
18571 (gst_collect_pads_peek), (gst_collect_pads_pop),
18572 (gst_collect_pads_available), (gst_collect_pads_read),
18573 (gst_collect_pads_flush), (gst_collect_pads_event),
18574 (gst_collect_pads_chain):
18575 * gst/base/gstcollectpads.h:
18576 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18577 unimplemented functions as unimplemented. Add padding to
18578 GstCollectData. (#320766, #320423)
18580 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18582 * gst/gstmessage.c:
18583 Improve docs for DURATION message (usage of duration parameter)
18586 2005-11-20 Wim Taymans <wim@fluendo.com>
18588 * check/Makefile.am:
18589 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18593 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18594 (gst_segment_set_seek), (gst_segment_set_newsegment),
18595 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18596 (gst_segment_clip):
18597 * gst/gstsegment.h:
18598 Added segment helper structure and methods. Not fully implemented
18600 Added segment check.
18602 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18604 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18605 Add a deserialisation test for fractions
18606 * examples/metadata/read-metadata.c: (message_loop),
18607 (make_pipeline), (main):
18608 Fix up metadata reading sample.
18609 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18611 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18612 Don't try and fixate empty caps
18613 * gst/gst_private.h:
18614 Wrap in G_BEGIN_DECLS/G_END_DECLS
18615 * gst/gstvalue.c: (gst_value_collect_fraction),
18616 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18617 (gst_value_transform_string_fraction),
18618 (gst_value_compare_fraction):
18619 Add some extra guards to ensure that we don't end up
18620 with an invalid denominator of 0 in a gstfraction and
18621 that fractions always get reduced.
18623 2005-11-20 Wim Taymans <wim@fluendo.com>
18625 * docs/gst/gstreamer-sections.txt:
18627 * gst/gstelement.c:
18636 2005-11-20 Wim Taymans <wim@fluendo.com>
18638 * docs/design/part-TODO.txt:
18640 Make a proper enum of the flag.
18642 2005-11-19 Wim Taymans <wim@fluendo.com>
18644 * docs/design/part-TODO.txt:
18645 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18646 (gst_format_to_quark), (gst_format_register):
18648 * gst/gstquery.c: (_gst_query_initialize),
18649 (gst_query_type_get_name), (gst_query_type_to_quark),
18650 (gst_query_type_register):
18652 Add type to quark and type to string conversions.
18654 2005-11-19 Andy Wingo <wingo@pobox.com>
18656 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18659 2005-11-19 Wim Taymans <wim@fluendo.com>
18661 * docs/design/part-TODO.txt:
18662 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18663 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18664 (gst_bin_handle_message_func):
18666 Make message handling overridable.
18668 2005-11-19 Andy Wingo <wingo@pobox.com>
18670 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18673 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18675 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18676 is a GstClockTime. Fixes #321710.
18678 * gst/gstclock.h (GstClock): Remove offset property. Add
18679 internal_calibration and external_calibration. Fix padding. Pad
18680 also by GstClockTime so we don't run into problems.
18682 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18683 (gst_clock_get_rate_offset): Remove.
18684 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18687 * gst/gstutils.c (g_static_rec_cond_wait)
18688 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18690 * gst/gstbin.c: Remove terrible continue_state prototype.
18692 * gst/gstelement.h (gst_element_continue_state): Make public.
18694 * gst/gstelement.h:
18695 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18696 by continue_state. Fixes #319389.
18698 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18699 Really fixes #168438. However I don't see anywhere where the
18700 filter function is called... stupid GStreamer...
18702 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18703 don't have a dispose function, so it won't get called when the
18704 object is unreffed, but oh well!
18706 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18707 allows a destroy function to be set so user_data can be freed.
18709 (gst_index_set_filter): Call gst_index_set_filter_full.
18711 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18713 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18714 string should produce an error, given the lack of a way to
18715 represent NULL strings. Fixes #165650.
18718 * gst/gstvalue.c (gst_value_array_append_value)
18719 (gst_value_array_prepend_value, gst_value_array_get_size)
18720 (gst_value_array_get_value): New API, copied from
18721 gst_value_list_*, only operates on arrays.
18722 (gst_value_list_append_value, gst_value_list_prepend_value)
18723 (gst_value_list_concat, gst_value_list_get_size)
18724 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18726 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18727 init_list, because it works on both.
18728 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18729 (gst_value_copy_list_or_array): Renamed from copy_list.
18730 (gst_value_free_list_or_array): Renamed from free_list.
18731 (gst_value_collect_list_or_array): Renamed from collect_list.
18732 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18733 (gst_value_list_or_array_peek_pointer): Renamed from
18735 (_gst_value_array_value_table, _gst_value_list_value_table):
18736 Update value table functions.
18737 (gst_value_compare_list_or_array): Renamed from compare_list.
18739 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18742 * gst/gsttaglist.c:
18743 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18744 GstTagList*. Fixes #143472.
18746 * gst/gststructure.h: Clarify what the foreach/map functions can
18747 or can't do to their arguments.
18749 2005-11-18 Wim Taymans <wim@fluendo.com>
18751 * gst/gstclock.c: (gst_clock_set_calibration),
18752 (gst_clock_get_calibration):
18754 Calibration can be set with internal time equal to current
18757 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18763 2005-11-18 Andy Wingo <wingo@pobox.com>
18766 * pkgconfig/gstreamer-net.pc.in:
18767 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18768 * pkgconfig/Makefile.am: Add net pkgconfig files.
18770 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18773 * gst/gstghostpad.c:
18779 2005-11-18 Andy Wingo <wingo@pobox.com>
18781 * gst/net/gstnetclientclock.c: Turn off debugging.
18783 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18784 times connverge somewhat. Can't make a real test.
18786 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18787 integer arithmetic. Return the minimum of the domain, which can be
18788 set as "internal" for gst_clock_set_calibration.
18789 (gst_net_client_clock_observe_times): Call _set_calibration.
18790 (gst_net_client_clock_new): Call _set_calibration instead of
18793 * check/net/gstnetclientclock.c (test_functioning): Use the right
18797 * gst/gstclock.c (gst_clock_get_calibration)
18798 (gst_clock_set_calibration): New functions, obsolete the ones I
18799 added yesterday. Doh. Precision issues mean we have to extrapolate
18800 from a point in the more recent past than 1970.
18801 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18803 (gst_clock_adjust_unlocked): Use the right calibration data.
18805 2005-11-18 Edward Hervey <edward@fluendo.com>
18807 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18808 Also reset the ->current_* values in READY->PAUSED
18810 2005-11-18 Andy Wingo <wingo@pobox.com>
18812 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18813 Whoops, check the right fd. Also add some debugging.
18814 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18815 (do_linear_regression): Add a crapload of debugging. Subtract off
18816 the minimum values from the input series to discard unneeded bits.
18817 Use only int arithmetic. There is still double arithmetic when
18818 calculating the intercept that needs fixing. Return boolean to
18819 indicate success; FALSE would mean the domain or range is too
18820 great. Still needs fixes.
18822 2005-11-18 Wim Taymans <wim@fluendo.com>
18824 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18825 For the current position in stream time, we need to subtract
18828 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18829 Release lock before calling the callback function of async
18832 2005-11-18 Andy Wingo <wingo@pobox.com>
18834 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18835 Port goes all the way to MAXUINT16.
18837 * gst/net/gstnettimeprovider.c: Make the port range the same as
18838 for the kernel: 0 assigns, otherwise ports are less than
18841 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18844 * check/net/gstnetclientclock.c (test_functioning): Add the start
18847 2005-11-18 Wim Taymans <wim@fluendo.com>
18849 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18850 (gst_bin_remove_func), (bin_bus_handler):
18852 Removing a clock provider from a bin, triggers a clock lost message
18853 so that a new clock will be selected.
18854 Adding a clock to a bin triggers a clock provider message.
18855 Make sure we reselect a clock when we received a clock lost message.
18856 Keep a reference to the element that provided the clock.
18858 2005-11-18 Andy Wingo <wingo@pobox.com>
18860 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18861 the clock initially so it produces values around the base time.
18862 (gst_net_client_clock_class_init): Typo fix.
18863 (gst_net_client_clock_thread): Add note on when the socket gets
18866 2005-11-17 Wim Taymans <wim@fluendo.com>
18868 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18869 Free remote and local time arrays.
18871 2005-11-17 Wim Taymans <wim@fluendo.com>
18873 * gst/net/gstnetclientclock.c: (do_linear_regression),
18874 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18875 Fix compilation, uninitialized vars and a forgotten continue.
18877 2005-11-17 Andy Wingo <wingo@pobox.com>
18879 * check/Makefile.am (check_PROGRAMS):
18880 * check/net/gstnetclientclock.c: Add a most minimal test for the
18881 net client clock. More to come later.
18883 * gst/net/gstnet.h:
18884 * gst/net/Makefile.am: Add netclientclock.
18886 * gst/net/gstnetclientclock.h:
18887 * gst/net/gstnetclientclock.c: New files, implement an untested
18888 GstClock that takes its time from a network time provider.
18889 Implements the algorithm in network-clock.scm.
18891 * tests/network-clock.scm (*window-size*): Rename from
18893 * tests/network-clock.scm (network-time):
18894 * tests/network-clock-utils.scm (q-push): Update callers.
18896 2005-11-17 Wim Taymans <wim@fluendo.com>
18898 * gst/gstbin.c: (gst_bin_provide_clock_func),
18899 (gst_bin_sort_iterator_new):
18900 And unref the child too..
18902 2005-11-17 Wim Taymans <wim@fluendo.com>
18904 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18905 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18906 Refactor the sort iterator so it can be used while holding the
18908 Make clock selection select a clock closest to the source.
18910 2005-11-17 Michael Smith <msmith@fluendo.com>
18912 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18913 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18915 Anonymous structs are a gcc (and some other compilers) extension, so
18916 don't use them. Since this is only for ABI-compatibility, and our
18917 API/ABI freeze is over in a few days, this whole thing will only
18918 last a few days, so don't bother trying to think up a meaningful
18919 name for the struct.
18921 2005-11-17 Andy Wingo <wingo@pobox.com>
18923 * gst/gstclock.h (GstClock): Add rate and offset properties,
18924 preserving ABI stability. Add rate/offset accessors. Will file bug
18925 for the freeze break.
18927 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18928 and offset, trying to keep precision and avoiding
18929 underflow/overflow.
18930 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18931 functions. Make gst_clock_set_time_adjust obsolete.
18932 (gst_clock_set_time_adjust): Note that this function is obsolete.
18933 Will file bug soon.
18935 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18936 greppable by using GST_PADDING-1+1.
18938 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18940 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18942 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18943 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18945 * gst/gstpadtemplate.h:
18946 * gst/gstpluginfeature.h:
18947 Don't use c++ style comments in headers (#321638).
18949 2005-11-16 Andy Wingo <wingo@pobox.com>
18951 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18954 * check/net/gstnettimeprovider.c: Check to see that the time
18955 provider actually provides times. Works, yo!
18957 2005-11-16 Wim Taymans <wim@fluendo.com>
18959 * check/Makefile.am:
18962 * check/elements/fakesrc.c: (GST_START_TEST):
18963 Set element to NULL before disposing it.
18965 2005-11-16 Andy Wingo <wingo@pobox.com>
18967 * gst/net/Makefile.am:
18968 * gst/net/gstnet.h:
18969 * gst/net/gstnettimeprovider.c:
18970 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18971 provider, include it from gstnet.h, and add it to the build.
18973 * gst/net/gstnettimepacket.h:
18974 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18975 sending and receiving.
18977 2005-11-16 Wim Taymans <wim@fluendo.com>
18979 * check/Makefile.am:
18980 Enable valgrind check.
18982 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18983 (gst_fake_src_alloc_buffer):
18986 2005-11-16 Wim Taymans <wim@fluendo.com>
18988 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18989 Call parent finalize too.
18991 2005-11-16 Wim Taymans <wim@fluendo.com>
18993 * check/Makefile.am:
18994 Enable valgrind check that should work fine now.
18996 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18997 * gst/gstqueue.c: (gst_queue_init):
18998 Fix memleaks in pad allocation.
19000 2005-11-16 Andy Wingo <wingo@pobox.com>
19002 * gst/net/Makefile.am:
19003 * gst/net/gstnet.h: New part of core to hold network elements and
19004 objects. Put in core because it exposes API that applications want
19005 to use. The library is named libgstnet-tempname right now because
19006 of the existing libgstnet in gst-plugins-base. Solution is
19007 probably to rename the one in plugins-base; will file a bug for
19010 * gst/net/gstnettimeprovider.c:
19011 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19012 get_time call over the network.
19015 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19017 * check/Makefile.am:
19018 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19019 get additions shortly.
19021 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19023 * gst/gstpad.c: (gst_pad_new_from_static_template):
19025 add gst_pad_new_from_static_template functions
19026 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19027 (gst_check_setup_sink_pad):
19028 * gst/elements/gsttee.c: (gst_tee_init):
19031 2005-11-16 Wim Taymans <wim@fluendo.com>
19033 * gst/gstpad.c: (gst_pad_pause_task):
19034 Removed warning, it's not really an error either.
19036 2005-11-16 Wim Taymans <wim@fluendo.com>
19038 * gst/base/gstbasetransform.c:
19039 (gst_base_transform_prepare_output_buf),
19040 (gst_base_transform_event):
19041 Check if the caps are NULL, this can happen if the element
19042 is shutting down and the pad caps are set to NULL.
19044 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19046 * gst/elements/gsttee.c: (gst_tee_init):
19047 fix pad template leak in tee
19049 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19051 * gst/glib-compat.c: (g_value_dup_gst_object):
19052 * gst/glib-compat.h:
19053 * gst/gstpad.c: (gst_pad_set_property):
19054 use gst_object_ref when setting the pad template; this will
19055 trigger the pad template leaks on GLib 2.6 and the slaves
19057 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19059 * gst/glib-compat.c: (gst_flags_get_first_value):
19060 * gst/glib-compat.h:
19061 * gst/gstregistryxml.c:
19062 remove functions copied from GLib 2.6
19064 2005-11-16 Michael Smith <msmith@fluendo.com>
19067 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19068 do, but only breaks with newer valgrind versions. We're not a
19069 valgrind tool, we have no link-time dependencies on libcoregrind.
19071 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19073 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19075 * gst/gstmessage.h:
19078 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19080 * gst/base/gstbasesrc.c: (gst_base_src_init):
19081 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19082 * gst/gstqueue.c: (gst_queue_init):
19083 * gst/gstregistryxml.c: (load_feature):
19084 Revert all these unrefs, they don't even pass make check !
19086 2005-11-15 Johan Dahlin <johan@gnome.org>
19088 * gst/base/gstbasesrc.c: (gst_base_src_init):
19089 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19090 * gst/gstqueue.c: (gst_queue_init):
19091 Free pad templates, fixes a couple of leaks.
19093 2005-11-15 Daniel Fischer <dan at f3c dot com>
19095 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19097 * gst/gstpad.c: (gst_pad_get_property):
19098 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19099 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19102 2005-11-15 Wim Taymans <wim@fluendo.com>
19107 2005-11-15 Andy Wingo <wingo@pobox.com>
19109 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19111 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19112 using GST_CLOCK_TIME_NONE to disable base time management.
19113 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19114 time if it was NONE before.
19115 (gst_pipeline_change_state): Only munge the base time if
19116 stream_time != GST_CLOCK_TIME_NONE.
19118 * check/gst/gstpipeline.c (test_base_time): Punt around the
19119 problem of the probe not being called, because that's not the
19120 issue I'm looking at. Add a check that setting stream_time to NONE
19121 disables base time management.
19123 2005-11-15 Wim Taymans <wim@fluendo.com>
19125 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19126 segment_stop == -1 at startup.
19128 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19129 (gst_base_transform_change_state):
19130 Init segment values at start.
19132 2005-11-15 Wim Taymans <wim@fluendo.com>
19134 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19135 0 segment values are 0 in any format.
19137 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19138 * gst/base/gstbasetransform.h:
19139 Parse newsegment correctly in basetransform
19141 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19142 Sync to clock using updated segment values.
19144 2005-11-15 Andy Wingo <wingo@pobox.com>
19146 * check/gst/gstpipeline.c (test_base_time): Add check that the
19147 base time and stream time are reset correctly.
19149 2005-11-15 Wim Taymans <wim@fluendo.com>
19151 * docs/design/part-TODO.txt:
19152 Some more TODO items.
19154 2005-11-15 Andy Wingo <wingo@pobox.com>
19156 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19157 error if the user selected "no clock" as the clocking method.
19159 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19160 timestamps with live capture.
19162 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19163 is 0 but we are a live source, timestamp the buffers using the
19166 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19168 * docs/gst/gstreamer-sections.txt:
19170 * gst/gstghostpad.c:
19175 2005-11-14 Wim Taymans <wim@fluendo.com>
19178 add suppressions from Wim's Debian machine
19180 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19183 add suppressions from Andy's AMD64 Ubuntu machine
19185 2005-11-14 Andy Wingo <wingo@pobox.com>
19187 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19188 STATE_LOCK not necessary. Fixes #311489.
19190 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19193 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19194 this function is not implemented.
19196 2005-11-14 Julien MOUTTE <julien@moutte.net>
19198 * gst/base/gstbasetransform.c:
19199 (gst_base_transform_prepare_output_buf):
19200 Ref the source pad caps while we need them.
19203 2005-11-11 Wim Taymans <wim@fluendo.com>
19205 * docs/gst/gstreamer-sections.txt:
19206 Added some docs for GstCollectData.
19208 * gst/base/gstadapter.c:
19209 Some small code example fix.
19211 * gst/base/gstcollectpads.c:
19212 * gst/base/gstcollectpads.h:
19213 Document some more.
19215 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19217 * configure.ac: back to HEAD
19219 === release 0.9.5 ===
19221 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19224 releasing 0.9.5, "Bike Lunch Day"
19226 2005-11-11 Wim Taymans <wim@fluendo.com>
19228 * gst/gstbuffer.c: (_gst_buffer_copy):
19231 * gst/gstcaps.c: (gst_caps_is_equal):
19233 Make _is_equal fast in the trivial cases.
19235 * gst/gstminiobject.c:
19236 * gst/gstminiobject.h:
19237 More docs. Spifify .h file.
19242 2005-11-11 Wim Taymans <wim@fluendo.com>
19244 * gst/base/gstbasetransform.c:
19245 (gst_base_transform_prepare_output_buf),
19246 (gst_base_transform_handle_buffer):
19248 If we're processing a buffer and need to allocate an output
19249 buffer, we cannot accept a format change. If we did get a
19250 format change, we have to alloc a buffer ourselves of the
19253 2005-11-11 Wim Taymans <wim@fluendo.com>
19255 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19256 While checking the flag for reentrancy in the gstcaps function
19257 is nice to detect recursive invocations, it also makes it
19258 impossible to call getcaps from multiple threads, which must be
19259 possible. So, checking for recursive calls has to go.
19261 2005-11-11 Michael Smith <msmith@fluendo.com>
19263 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19264 Don't sync on buffers that fall partially outside our current
19265 segment. Prevents an assertion failure/abort playing some files.
19267 2005-11-10 Andy Wingo <wingo@pobox.com>
19269 * check/gst/gstbin.c (test_message_state_changed_children): Style
19272 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19273 gst_bus_poll with the signal watch. Ensures that poll and a signal
19274 watch see the same messages.
19276 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19277 a poll and a watch at the same time get the same messages.
19279 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19281 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19282 * gst/gstcaps.c: (gst_caps_intersect):
19283 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19284 and it's not needed.
19286 2005-11-10 Wim Taymans <wim@fluendo.com>
19288 * docs/design/part-TODO.txt:
19291 2005-11-10 Wim Taymans <wim@fluendo.com>
19293 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19294 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19295 (gst_base_src_do_sync), (gst_base_src_get_range):
19296 Implement clock sync in base class.
19298 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19300 patch by: Tim-Philipp Müller <tim at centricular dot net>
19302 * gst/gststructure.c: (gst_structure_parse_field),
19303 (gst_structure_from_string):
19304 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19305 so that gst_parse_launch() can deal with spaces in filtered link
19306 caps (fixes #164479)
19307 * check/gst/capslist.h:
19308 * check/gst/gststructure.c: (GST_START_TEST):
19309 add unit tests for this change
19311 2005-11-10 Wim Taymans <wim@fluendo.com>
19313 * docs/gst/gstreamer-sections.txt:
19314 * gst/gstelement.c:
19315 * gst/gstelement.h:
19316 Fix docs, move some STATE macros to private.
19318 2005-11-10 Wim Taymans <wim@fluendo.com>
19320 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19321 Added check for bug #317341
19325 Some more spiffifying.
19327 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19328 Call peer linkfunction if we are a source pad. Totally fixes
19332 Update docs, source pads should call the peer linkfunction
19333 so they can atomically perform the pad link.
19335 2005-11-09 Wim Taymans <wim@fluendo.com>
19339 Uber-spiffy-spiffify some more.
19341 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19343 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19344 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19345 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19346 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19347 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19348 * gst/gstpad.c: (gst_pad_init):
19349 Use GST_DEBUG_FUNCPTR() more extensively.
19351 2005-11-09 Wim Taymans <wim@fluendo.com>
19353 * gst/gstobject.c: (gst_object_class_init):
19355 Documentation fixes.
19357 2005-11-09 Edward Hervey <edward@fluendo.com>
19359 * gst/gsttypefindfactory.c:
19362 2005-11-09 Edward Hervey <edward@fluendo.com>
19364 * gst/base/gsttypefindhelper.c:
19365 * gst/gsttypefind.c:
19366 * gst/gsttypefind.h:
19369 2005-11-09 Wim Taymans <wim@fluendo.com>
19371 * gst/gstiterator.c:
19378 2005-11-09 Wim Taymans <wim@fluendo.com>
19384 2005-11-09 Wim Taymans <wim@fluendo.com>
19386 * docs/gst/gstreamer-sections.txt:
19387 Moved the message async delivery private lock and cond
19388 to the private section.
19390 * gst/gstmessage.c:
19391 * gst/gstmessage.h:
19394 2005-11-09 Edward Hervey <edward@fluendo.com>
19396 * docs/gst/gstreamer-sections.txt:
19399 Document GstURIHandler
19401 2005-11-09 Wim Taymans <wim@fluendo.com>
19403 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19404 (gst_iterator_find_custom):
19405 * gst/gstiterator.h:
19408 2005-11-09 Wim Taymans <wim@fluendo.com>
19411 Document another field.
19413 * gst/gststructure.c:
19414 * gst/gststructure.h:
19417 2005-11-09 Wim Taymans <wim@fluendo.com>
19420 Documented structs.
19422 2005-11-09 Wim Taymans <wim@fluendo.com>
19424 * docs/gst/gstreamer-sections.txt:
19425 Added some new macros.
19432 2005-11-09 Wim Taymans <wim@fluendo.com>
19434 * docs/design/part-TODO.txt:
19435 Some more items for the TODO
19441 2005-11-09 Andy Wingo <wingo@pobox.com>
19443 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19444 to work on something else now tho...
19446 * gst/base/gstadapter.c: More adapter docs.
19448 * gst/elements/gstfilesink.c (gst_file_sink_start)
19449 (gst_file_sink_stop): New functions, replace the state change
19451 (gst_file_sink_class_init): Hook up the start and stop functions.
19452 (gst_file_sink_base_init): Don't set the state change handler any
19453 more. It was a bit ugly too, being set from here...
19454 (gst_file_sink_get_property, gst_file_sink_set_property):
19456 (gst_file_sink_set_location): More robust check that doesn't call
19457 GST_STATE. Ugggggg.
19459 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19461 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19462 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19464 2005-11-08 Wim Taymans <wim@fluendo.com>
19466 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19467 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19468 (gst_base_sink_chain), (gst_base_sink_change_state):
19469 * gst/base/gstbasesink.h:
19470 * gst/base/gstbasesrc.h:
19471 * gst/gstelement.h:
19473 Avoid excessive typechecking in macros.
19475 * gst/gstminiobject.c: (gst_mini_object_get_type),
19476 (gst_mini_object_init), (gst_mini_object_new),
19477 (gst_mini_object_free):
19478 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19479 (gst_object_finalize):
19480 Remove cruft code, optimize alloc_trace.
19482 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19484 * docs/faq/gst-uninstalled:
19485 fix up PS1 for systems that try to reset it
19487 2005-11-07 Wim Taymans <wim@fluendo.com>
19489 * gst/base/gstbasesrc.c: (gst_base_src_init),
19490 (gst_base_src_get_range):
19491 Set the segment_end to -1 initially. Fixed typefind.
19493 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19495 * gst/base/gstadapter.c:
19496 Debug category should be 'adapter', not 'GstAdapter'.
19498 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19499 (gst_collectpads_class_init), (gst_collectpads_init),
19500 (gst_collectpads_peek), (gst_collectpads_pop),
19501 (gst_collectpads_event), (gst_collectpads_chain):
19502 Add debug category and some debugging output. Use boilerplate
19503 macros. Remove some extraneous words from docs.
19505 2005-11-05 Andy Wingo <wingo@pobox.com>
19507 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19510 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19512 * docs/gst/gstreamer-sections.txt:
19515 * gst/gstminiobject.h:
19520 2005-11-04 Wim Taymans <wim@fluendo.com>
19522 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19523 Small update to stop at the configured segment_end
19526 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19528 * gst/gstregistry.c:
19529 * gst/gstregistry.h:
19532 2005-11-04 Edward Hervey <edward@fluendo.com>
19534 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19535 Check if we are doing a segment seek and have arrived at the
19536 end of that segment.
19538 2005-11-04 Wim Taymans <wim@fluendo.com>
19540 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19541 Don't leak a mutex unlock in case of an error.
19546 2005-11-04 Wim Taymans <wim@fluendo.com>
19548 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19550 Get the context to wake up only once.
19552 2005-11-03 Wim Taymans <wim@fluendo.com>
19554 * check/states/sinks.c: (GST_START_TEST):
19555 Uncomment fixed check.
19557 * docs/design/part-TODO.txt:
19560 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19561 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19562 (gst_base_sink_get_position):
19563 If we are going to PLAYING, post the right pending state
19564 when we post the intermediate paused message.
19566 * gst/gstelement.c: (gst_element_continue_state),
19567 (gst_element_set_state_func), (gst_element_change_state):
19568 Don't post state changes that were between the same state
19569 and were not ASYNC.
19571 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19573 * docs/gst/gstreamer-sections.txt:
19576 * gst/gstminiobject.h:
19579 more docs and doc style fixes
19581 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19583 * docs/gst/gstreamer-sections.txt:
19584 * gst/gstelement.c:
19585 * gst/gstminiobject.c:
19588 2005-11-03 Andy Wingo <wingo@pobox.com>
19590 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19591 state-changed messages actually have the right order and the right
19594 2005-11-03 Wim Taymans <wim@fluendo.com>
19596 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19597 Added some more checks. Specifically the case where NO_PREROLL
19598 elements are in the pipeline.
19600 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19601 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19602 (gst_base_sink_get_position):
19603 Post READY->PAUSED state change messages too.
19604 Fix bug where VOID was posted as pending state...
19606 * gst/gstbin.c: (gst_bin_recalc_state):
19607 use _element_continue_state() to continue the state change.
19609 * gst/gstelement.c: (gst_element_continue_state),
19610 (gst_element_commit_state), (gst_element_set_state_func),
19611 (gst_element_change_state), (gst_element_change_state_func):
19612 Lots of state change cleanups, assign the STATE_RETURN in
19613 a new continue_state() function that also propagates the
19614 last return value from a state change to the app.
19615 Update some debug statements with proper category.
19617 2005-11-03 Wim Taymans <wim@fluendo.com>
19619 * docs/design/part-events.txt:
19620 * docs/design/part-gstpipeline.txt:
19621 * docs/design/part-messages.txt:
19622 * docs/design/part-overview.txt:
19623 * docs/design/part-seeking.txt:
19624 * docs/design/part-states.txt:
19625 * docs/design/part-trickmodes.txt:
19626 * docs/manual/advanced-position.xml:
19627 Small docs updates.
19630 People think !! is ugly, this looks better.
19632 * gst/gstpad.c: (gst_pad_set_blocked_async):
19633 Remove !! since it's fixed elsewhere now.
19635 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19637 * gst/gstminiobject.h:
19639 Add !! to _FLAG_IS_SET macros to make the result boolean.
19641 2005-11-03 Edward Hervey <edward@fluendo.com>
19643 * gst/gstpad.c: (gst_pad_set_blocked_async):
19644 comparing a flag and a gboolean rarely returns coherent results...
19645 Added two characters (!!) to make that work correctly.
19647 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19649 * gst/gstbus.c: (gst_bus_class_init):
19652 * gst/gstqueue.c: (gst_queue_loop):
19653 Don't assume a miniobject that isn't a buffer is an
19654 event (it could be that there is a refcounting
19655 problem somewhere and the pointer is stale and
19656 refers to an already destroyed miniobject).
19658 2005-11-03 Julien MOUTTE <julien@moutte.net>
19660 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19662 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19664 * docs/manual/advanced-position.xml:
19665 Update seek example and explanations to current 0.9 API.
19667 * gst/elements/gsttypefindelement.c:
19668 (gst_type_find_element_activate):
19669 Remove FIXME comment now that the found caps
19672 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19674 * gst/gstregistryxml.c: (load_feature):
19675 Add another GST_STR_NULL instance
19677 2005-11-02 Edward Hervey <edward@fluendo.com>
19679 * gst/gstpad.c: (handle_pad_block):
19680 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19682 2005-11-02 Wim Taymans <wim@fluendo.com>
19687 * gst/gstelement.c: (gst_element_commit_state):
19688 Remove unused value.
19690 * gst/gstiterator.c:
19691 Mention that the returned element is reffed in the docs.
19693 2005-11-02 Wim Taymans <wim@fluendo.com>
19695 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19696 (gst_pad_push), (gst_pad_push_event):
19697 Unlock blocked pads when they are flushed.
19699 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19702 * docs/gst/gstreamer-sections.txt:
19705 * gst/gstregistry.c: (gst_registry_scan_path_level):
19706 fix for a nasty little missed situation where an installed plug-in
19707 which was in the cache did not get overridden by an uninstalled one
19708 which was earlier in the plugin path because the newly created plugin
19709 for the uninstalled one (not in the registry) didn't get its
19710 ->registered set to TRUE
19712 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19714 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19715 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19716 (gst_collectpads_is_active), (gst_collectpads_collect),
19717 (gst_collectpads_collect_range), (gst_collectpads_start),
19718 (gst_collectpads_stop), (gst_collectpads_peek),
19719 (gst_collectpads_pop), (gst_collectpads_available),
19720 (gst_collectpads_read), (gst_collectpads_flush):
19721 Guard public API with assertions.
19724 Fix docs for gst_pad_set_link_function().
19726 2005-11-02 Johan Dahlin <johan@gnome.org>
19728 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19729 Unref found_caps after we used it.
19731 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19733 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19734 Don't try to ref NULL.
19736 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19738 * win32/common/config.h.in:
19739 provide a GST_FUNCTION that just gives a string for now
19741 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19743 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19744 (gst_object_flags_get_type), (register_gst_bin_flags),
19745 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19746 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19747 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19748 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19749 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19750 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19751 (gst_clock_flags_get_type), (register_gst_state),
19752 (gst_state_get_type), (register_gst_state_change_return),
19753 (gst_state_change_return_get_type), (register_gst_state_change),
19754 (gst_state_change_get_type), (register_gst_element_flags),
19755 (gst_element_flags_get_type), (register_gst_core_error),
19756 (gst_core_error_get_type), (register_gst_library_error),
19757 (gst_library_error_get_type), (register_gst_resource_error),
19758 (gst_resource_error_get_type), (register_gst_stream_error),
19759 (gst_stream_error_get_type), (register_gst_event_type),
19760 (gst_event_type_get_type), (register_gst_seek_type),
19761 (gst_seek_type_get_type), (register_gst_seek_flags),
19762 (gst_seek_flags_get_type), (register_gst_format),
19763 (gst_format_get_type), (register_gst_index_certainty),
19764 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19765 (gst_index_entry_type_get_type),
19766 (register_gst_index_lookup_method),
19767 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19768 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19769 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19770 (gst_index_flags_get_type), (register_gst_debug_level),
19771 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19772 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19773 (gst_iterator_result_get_type), (register_gst_iterator_item),
19774 (gst_iterator_item_get_type), (register_gst_message_type),
19775 (gst_message_type_get_type), (register_gst_mini_object_flags),
19776 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19777 (gst_pad_link_return_get_type), (register_gst_flow_return),
19778 (gst_flow_return_get_type), (register_gst_activate_mode),
19779 (gst_activate_mode_get_type), (register_gst_pad_direction),
19780 (gst_pad_direction_get_type), (register_gst_pad_flags),
19781 (gst_pad_flags_get_type), (register_gst_pad_presence),
19782 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19783 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19784 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19785 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19786 (gst_plugin_flags_get_type), (register_gst_rank),
19787 (gst_rank_get_type), (register_gst_query_type),
19788 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19789 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19790 (gst_tag_flag_get_type), (register_gst_task_state),
19791 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19792 (gst_alloc_trace_flags_get_type),
19793 (register_gst_type_find_probability),
19794 (gst_type_find_probability_get_type), (register_gst_uri_type),
19795 (gst_uri_type_get_type), (register_gst_parse_error),
19796 (gst_parse_error_get_type):
19797 * win32/common/gstversion.h:
19798 update win32 copies
19800 2005-11-01 Luca Ognibene <luogni@tin.it>
19803 fix docs. popt is dead, long live GOption.
19805 2005-10-31 Wim Taymans <wim@fluendo.com>
19810 2005-10-31 Andy Wingo <wingo@pobox.com>
19814 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19816 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19817 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19818 the possibility of deadlocks here if code calling notify() or
19819 set() has a lock that can be taken in another notify handler (ABBA
19820 with class lock and e.g. python GIL state lock).
19822 2005-10-28 Julien MOUTTE <julien@moutte.net>
19824 * gst/gstbus.c: Doc updates.
19826 2005-10-28 Wim Taymans <wim@fluendo.com>
19828 * docs/design/part-TODO.txt:
19829 * gst/gstiterator.c:
19830 * gst/gstsystemclock.c:
19831 * gst/gstsystemclock.h:
19834 2005-10-28 Edward Hervey <edward@fluendo.com>
19836 * docs/gst/gstreamer-docs.sgml:
19837 * docs/gst/gstreamer-sections.txt:
19838 the GstURIType documentation page is private, it only defines GstURIType
19839 which should be defined in the GstURIHandler page
19841 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19843 * gst/gstbin.c: (gst_bin_class_init):
19846 Documentation updates.
19848 2005-10-28 Wim Taymans <wim@fluendo.com>
19850 * docs/gst/gstreamer-sections.txt:
19853 Documented the clocks.
19855 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19857 * docs/gst/gstreamer-sections.txt:
19858 move some macros to private sections
19859 * gst/gstminiobject.c:
19860 * gst/gstminiobject.h:
19861 add descriptions provided by ds and some more
19863 mark macro as to be removed
19865 2005-10-28 Wim Taymans <wim@fluendo.com>
19867 * docs/design/part-TODO.txt:
19868 Add an item to TODO.
19870 * gst/gstiterator.c: (gst_iterator_fold),
19871 (gst_iterator_find_custom):
19872 * gst/gstiterator.h:
19875 2005-10-28 Wim Taymans <wim@fluendo.com>
19877 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19878 (gst_base_transform_init):
19881 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19882 An EOS event marks the queue as completely filled.
19884 2005-10-27 Wim Taymans <wim@fluendo.com>
19886 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19887 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19888 Some more debugging.
19890 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19891 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19892 (gst_base_transform_event), (gst_base_transform_getrange),
19893 (gst_base_transform_chain):
19894 * gst/base/gstbasetransform.h:
19896 Protect transform and concurrent buffer alloc with a new lock.
19897 Try not to break ABI/API.
19899 2005-10-27 Wim Taymans <wim@fluendo.com>
19901 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19902 (gst_base_src_init), (gst_base_src_query),
19903 (gst_base_src_default_newsegment),
19904 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19905 (gst_base_src_send_event), (gst_base_src_event_handler),
19906 (gst_base_src_pad_get_range), (gst_base_src_loop),
19907 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19908 (gst_base_src_start), (gst_base_src_deactivate),
19909 (gst_base_src_activate_push), (gst_base_src_change_state):
19910 Move some stuff around and cleanup things.
19912 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19914 * gst/base/gstbasesrc.c: (gst_base_src_query):
19915 Add missing break statements.
19917 2005-10-27 Wim Taymans <wim@fluendo.com>
19919 * check/gst/gstbin.c: (GST_START_TEST):
19920 An extra refcount is taken in basesrc.
19922 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19923 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19924 (gst_base_src_loop):
19925 Small cleanups, check for flushing after being unlocked from the
19926 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19927 Don't send out EOS when going to READY.
19929 2005-10-27 Wim Taymans <wim@fluendo.com>
19931 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19932 (gst_base_sink_get_position):
19935 * gst/gstbin.c: (message_check), (bin_replace_message),
19936 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19937 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19938 (bin_query_duration_init), (bin_query_duration_fold),
19939 (bin_query_duration_done), (bin_query_generic_fold),
19941 * tools/gst-launch.c: (main):
19944 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19946 * examples/controller/audio-example.c: (main):
19947 * examples/queue/queue.c: (event_loop):
19948 * gst/base/gstbasetransform.h:
19949 * gst/gstelement.c: (gst_element_send_event):
19951 * gst/gstpad.c: (gst_pad_send_event):
19954 changing log priority in error situations
19956 2005-10-25 Wim Taymans <wim@fluendo.com>
19958 * gst/gstbin.c: (message_check), (bin_replace_message),
19959 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19960 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19961 (bin_query_duration_init), (bin_query_duration_fold),
19962 (bin_query_duration_done), (bin_query_generic_fold),
19964 Some doc and debug updates.
19965 Cache previously requested query DURATION for speed. invalidate
19966 cached duration if element posts a DURATION message.
19968 2005-10-25 Wim Taymans <wim@fluendo.com>
19970 * docs/design/part-TODO.txt:
19973 * gst/gstbin.c: (message_check), (bin_replace_message),
19974 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19975 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19976 (bin_query_duration_init), (bin_query_duration_fold),
19977 (bin_query_duration_done), (bin_query_generic_fold),
19979 Handle SEGMENT_START/DONE messages correctly.
19980 More evolved query algorithm that handles duration queries
19983 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19984 (gst_element_get_state_func), (gst_element_abort_state),
19985 (gst_element_commit_state), (gst_element_lost_state):
19986 Some more debugging.
19988 * gst/gstmessage.h:
19991 2005-10-25 Wim Taymans <wim@fluendo.com>
19993 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19994 Don't use invalid stream_time.
19996 * gst/gstevent.c: (gst_event_new_newsegment):
19997 stream_time in newsegment cannot be undefined.
19999 2005-10-24 Wim Taymans <wim@fluendo.com>
20004 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20006 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20008 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20010 * docs/libs/tmpl/gstdparam.sgml:
20011 * docs/libs/tmpl/gstdplinint.sgml:
20012 * docs/libs/tmpl/gstdpman.sgml:
20013 * docs/libs/tmpl/gstdpsmooth.sgml:
20014 * docs/libs/tmpl/gstunitconvert.sgml:
20017 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20022 === release 0.9.4 ===
20024 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20027 releasing 0.9.4, "Tyrannosaurus Rex"
20029 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20031 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20032 (gst_file_sink_get_current_offset):
20033 Use fseeko() and ftello() if available. When falling back on
20034 lseek() to get the current offset, fflush() first to make sure
20035 everything is up-to-date and we get the right offset.
20037 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20039 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20040 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20041 * gst/gsterror.c: (_gst_stream_errors_init):
20043 * gst/gstqueue.c: (gst_queue_loop):
20045 remove prematurely added error category and clean up the instances
20047 2005-10-21 Wim Taymans <wim@fluendo.com>
20049 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20050 (gst_base_sink_get_position), (gst_base_sink_query),
20051 (gst_base_sink_change_state):
20052 Simply set the right flag when going to playing, that's all
20053 we need to do instead of calling a function inside the object
20054 lock (that could take the lock as well and deadlock)
20056 2005-10-21 Wim Taymans <wim@fluendo.com>
20058 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20059 (gst_base_src_loop):
20060 Don't warn, the peer element knows what to do best when
20061 the seek failed, it might try something else.
20063 2005-10-21 Wim Taymans <wim@fluendo.com>
20065 * gst/base/gstbasesrc.c: (gst_base_src_init),
20066 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20069 2005-10-21 Wim Taymans <wim@fluendo.com>
20071 * docs/design/part-segments.txt:
20074 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20075 Correctly set caps, even on the subbufer.
20077 2005-10-21 Wim Taymans <wim@fluendo.com>
20079 * docs/gst/gstreamer-docs.sgml:
20080 * docs/gst/gstreamer-sections.txt:
20081 * gst/gstelement.h:
20084 * gst/gstmessage.h:
20087 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20091 And 2% more doc coverage.
20093 2005-10-21 Andy Wingo <wingo@pobox.com>
20095 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20096 position reporting.
20098 2005-10-20 Wim Taymans <wim@fluendo.com>
20100 * gst/gsterror.c: (gst_error_get_message):
20103 * gst/gststructure.c:
20108 2005-10-20 Wim Taymans <wim@fluendo.com>
20113 Another 1% more coverage.
20115 2005-10-20 Wim Taymans <wim@fluendo.com>
20117 * docs/gst/gstreamer-sections.txt:
20118 * gst/gstelement.c: (gst_element_get_state_func),
20119 (gst_element_abort_state), (gst_element_commit_state),
20120 (gst_element_lost_state):
20122 * gst/gstquery.c: (gst_query_set_position),
20123 (gst_query_parse_position), (gst_query_set_duration),
20124 (gst_query_parse_duration), (gst_query_new_convert):
20126 Yay! 1% more docs coverage.
20128 2005-10-20 Wim Taymans <wim@fluendo.com>
20131 * gst/gstquery.c: (gst_query_set_position),
20132 (gst_query_parse_position), (gst_query_set_duration),
20133 (gst_query_parse_duration), (gst_query_new_convert):
20135 * gst/gstutils.c: (gst_element_query_convert):
20137 Docs and consistency fixes.
20139 2005-10-20 Wim Taymans <wim@fluendo.com>
20145 2005-10-20 Wim Taymans <wim@fluendo.com>
20147 * gst/gstbin.c: (message_check), (bin_replace_message),
20148 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20149 (update_degree), (gst_bin_sort_iterator_next),
20150 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20151 Reworked the message handling a bit, cache the messages instead of
20152 only the senders. alows us to do more in the future.
20154 2005-10-20 Wim Taymans <wim@fluendo.com>
20156 * docs/design/part-TODO.txt:
20159 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20160 (gst_base_sink_query):
20161 Don't use clock time to report position when in EOS.
20163 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20165 * tools/gst-inspect.c: (print_interfaces),
20166 (print_element_properties_info), (print_element_info):
20167 Fix interface output with gst-inspect -a; don't print
20168 newlines after double/float properties.
20170 2005-10-20 Wim Taymans <wim@fluendo.com>
20172 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20173 (gst_base_sink_query):
20174 Speed up current position calculation.
20176 * gst/base/gstbasesrc.c: (gst_base_src_query),
20177 (gst_base_src_default_newsegment):
20178 Correctly set stream position in newsegment.
20180 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20181 (update_degree), (gst_bin_sort_iterator_next),
20182 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20183 * gst/gstmessage.c: (gst_message_new_custom):
20184 Clean up debugging info
20186 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20187 (gst_queue_loop), (gst_queue_handle_src_query):
20190 2005-10-19 Wim Taymans <wim@fluendo.com>
20192 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20193 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20194 Fix query handling again.
20196 2005-10-19 Wim Taymans <wim@fluendo.com>
20198 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20199 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20200 * gst/base/gstbasesrc.c: (gst_base_src_query):
20201 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20202 * gst/elements/gsttypefindelement.c:
20203 (gst_type_find_handle_src_query), (find_element_get_length),
20204 (gst_type_find_element_activate):
20207 * gst/gstquery.c: (gst_query_new_position),
20208 (gst_query_set_position), (gst_query_parse_position),
20209 (gst_query_new_duration), (gst_query_set_duration),
20210 (gst_query_parse_duration), (gst_query_set_segment),
20211 (gst_query_parse_segment):
20213 Bundling query position/duration is not a good idea since duration
20214 does not change much and we don't want to recalculate it for every
20215 position query, so they are separated again..
20216 Base value in segment query is not needed.
20218 * gst/gstqueue.c: (gst_queue_handle_src_query):
20219 * gst/gstutils.c: (gst_element_query_position),
20220 (gst_element_query_duration), (gst_pad_query_position),
20221 (gst_pad_query_duration):
20223 Updates for query API change.
20224 Added some docs here and there.
20226 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20228 * check/gst/gstbin.c: (GST_START_TEST):
20229 * check/gst/gstghostpad.c: (GST_START_TEST):
20230 * check/pipelines/cleanup.c: (GST_START_TEST):
20231 wait on thread to die so we can check refcount correctly
20233 2005-10-18 Wim Taymans <wim@fluendo.com>
20235 * check/pipelines/stress.c: (GST_START_TEST):
20236 Make check a little more time consuming.
20238 2005-10-18 Wim Taymans <wim@fluendo.com>
20240 * check/Makefile.am:
20241 * check/pipelines/stress.c: (GST_START_TEST),
20242 (simple_launch_lines_suite), (main):
20243 Small state change torture test.
20245 * docs/design/part-states.txt:
20246 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20247 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20248 (gst_base_sink_change_state):
20249 Never take state lock from streaming thread, clean up ugly
20250 hacks. Unfortunatly core does not yet support nice ways to
20251 async commit state.
20253 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20255 Start state recalc if a STATE_DIRTY message is posted, but only
20256 on the toplevel bin.
20258 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20259 (gst_element_get_state_func), (gst_element_abort_state),
20260 (gst_element_commit_state), (gst_element_lost_state),
20261 (gst_element_set_state_func), (gst_element_change_state):
20262 * gst/gstelement.h:
20263 State variables are now protected with the LOCK, the state
20264 lock is only used to serialize _set_state().
20266 2005-10-18 Wim Taymans <wim@fluendo.com>
20268 * check/gst/gstbin.c: (GST_START_TEST):
20269 * check/gst/gstmessage.c: (GST_START_TEST):
20270 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20271 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20273 * gst/gstelement.c: (gst_element_abort_state),
20274 (gst_element_commit_state), (gst_element_lost_state):
20275 * gst/gstmessage.c: (gst_message_new_state_changed),
20276 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20277 (gst_message_new_segment_done), (gst_message_new_duration),
20278 (gst_message_parse_state_changed),
20279 (gst_message_parse_segment_start),
20280 (gst_message_parse_segment_done), (gst_message_parse_duration):
20281 * gst/gstmessage.h:
20282 * tools/gst-launch.c: (event_loop):
20283 Seriously, this is better than a previous commit as we only need
20284 to notify the fact that an element changed state in a streaming
20285 thread, marking the state of the parents dirty, hence the
20286 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20289 2005-10-18 Wim Taymans <wim@fluendo.com>
20291 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20292 (gst_bin_recalc_func):
20293 * gst/gstelement.c: (gst_element_set_clock),
20294 (gst_element_abort_state), (gst_element_lost_state):
20295 Cleanups, prepare for state change fixes.
20297 2005-10-18 Wim Taymans <wim@fluendo.com>
20300 * gst/gstelement.c: (gst_element_class_init),
20301 (gst_element_set_state), (gst_element_set_state_func):
20302 * gst/gstelement.h:
20303 Pending ABI changes.
20304 GThreadPool in GstBinClass to monitor async state changes.
20305 state_cookie in GstElement to detect concurrent gst/set state.
20306 set_state is now virtual too in case a very complicated element
20307 has to be constructed.
20309 2005-10-18 Wim Taymans <wim@fluendo.com>
20311 * check/gst/gstbin.c: (GST_START_TEST):
20312 * check/gst/gstmessage.c: (GST_START_TEST):
20313 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20314 * gst/gstbin.c: (bin_bus_handler):
20315 * gst/gstelement.c: (gst_element_commit_state),
20316 (gst_element_lost_state):
20317 * gst/gstmessage.c: (gst_message_new_state_changed),
20318 (gst_message_new_segment_start), (gst_message_new_segment_done),
20319 (gst_message_new_duration), (gst_message_parse_state_changed),
20320 (gst_message_parse_segment_start),
20321 (gst_message_parse_segment_done), (gst_message_parse_duration):
20322 * gst/gstmessage.h:
20323 * tools/gst-launch.c: (event_loop):
20324 Make messages future proof.
20325 state-change gets a flag if it was a message comming from the
20327 segment-start/stop can also be specified in other formats.
20328 A message to notify an app that a pipeline changed playback
20330 Also fix a GstMessage leak in -launch
20332 2005-10-18 Andy Wingo <wingo@pobox.com>
20334 * gst/gstelement.c (gst_element_dispose): More helpful message.
20336 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20338 reviewed by: <delete if not using a buddy>
20340 * common/gtk-doc.mak:
20342 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20344 * gst/gstregistry.c: (gst_registry_scan_path_level):
20345 unref a plug-in we get that was already initialized
20347 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20349 * docs/gst/gstreamer-sections.txt:
20350 * docs/libs/gstreamer-libs-sections.txt:
20351 * gst/gstelement.h:
20352 add new api entries
20353 hide internal macro
20355 2005-10-17 Andy Wingo <wingo@pobox.com>
20357 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20360 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20362 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20364 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20365 (gst_element_get_state_func): Better debug message.
20366 (gst_element_commit_state): s/INFO/DEBUG/.
20367 (gst_element_lost_state, gst_element_change_state):
20369 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20370 (gst_message_new_custom): s/INFO/LOG/.
20372 2005-10-17 Michael Smith <msmith@fluendo.com>
20374 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20375 Check if end time is valid using end time, not start time.
20377 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20379 * check/gst-libs/controller.c: (GST_START_TEST),
20380 (gst_controller_suite):
20381 * libs/gst/controller/gstcontroller.c:
20382 (gst_controlled_property_set_interpolation_mode):
20383 * libs/gst/controller/gstcontroller.h:
20384 * libs/gst/controller/gstinterpolation.c:
20385 * testsuite/controller/.cvsignore:
20386 * testsuite/controller/Makefile.am:
20387 * testsuite/controller/interpolator.c:
20388 merge controller testsuites
20390 remove mem-chunk from docs
20392 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20394 * gst/gstmemchunk.c:
20395 * gst/gstmemchunk.h:
20396 * gst/gsttrashstack.c:
20397 * gst/gsttrashstack.h:
20398 out. get out. you're fired. to the Attic !
20400 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20402 * gst/gstcaps.c: (gst_caps_intersect):
20403 fix signedness issues in a (hopefully) correct way
20404 * gst/gstelement.c: (gst_element_pads_activate):
20406 * gst/gstobject.c: (gst_object_set_parent):
20409 2005-10-17 Julien MOUTTE <julien@moutte.net>
20411 * gst/gstvalue.h: Fix prototypes.
20413 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20415 * docs/gst/gstreamer-sections.txt:
20416 * gst/gst.c: (gst_version_string):
20418 * gst/gstversion.h.in:
20419 * win32/common/libgstreamer.def:
20420 add gst_version_string ()
20422 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20426 * gst/gst.c: (init_post):
20427 * win32/common/config.h.in:
20429 * gst/gstcaps.c: (gst_caps_intersect):
20430 use gint64, the range could be bigger than a guint
20432 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20435 document potential problem in 2038
20437 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20439 * gst/gstcaps.c: (gst_caps_intersect):
20440 Fix guint j diving under 0
20442 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20445 * win32/common/config.h:
20446 * win32/common/config.h.in:
20447 check for process.h, declares getpid() on Windows
20449 include process.h if we have it
20450 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20451 * gst/gstmemchunk.h:
20452 fix signedness issues
20453 * win32/common/libgstreamer.def:
20456 2005-10-16 Julien MOUTTE <julien@moutte.net>
20458 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20459 fix. Because of unsigned ints, caps intersection was going nuts and
20460 trying to access structures with G_MAXUINT index. That fixes
20461 videotestsrc ! ffmpegcolorspace ! fakesink
20462 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20465 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20468 use the gettext macro
20469 * gst/elements/gstelements.c:
20471 * gst/indexers/gstindexers.c:
20472 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20473 * win32/common/config.h:
20475 * win32/common/config.h.in:
20476 add the template to generate config.h
20477 * win32/common/gstenumtypes.c:
20478 * win32/common/gstversion.h:
20481 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20483 * gst/gst.c: (gst_version):
20484 * gst/gstversion.h.in:
20487 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20490 Oops, add missing closing bracket.
20492 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20495 use common m4's for argument checking
20497 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20499 * docs/gst/gstreamer-sections.txt:
20501 Add GST_EVENT_TYPE_NAME() macro.
20503 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20506 * gst/gstpluginfeature.c:
20508 privatize more symbols
20510 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20513 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20514 everything that uses GStreamer API should have the includes
20516 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20518 * docs/gst/gstreamer-sections.txt:
20519 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20521 give each value a _get_type, removes the DATA exports
20523 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20527 remove _gst_registry_auto_load, not used anymore
20528 * gst/gstbin.c: (gst_bin_get_type):
20530 * gst/gstelement.c: (gst_element_get_type):
20531 * gst/gstelement.h:
20532 * gst/gstobject.c: (gst_object_get_type):
20534 * gst/gstpad.c: (gst_pad_get_type):
20536 make _get_type functions similar, fixes data export from library
20538 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20541 correctly make conditionals
20542 * gst/elements/Makefile.am:
20543 * gst/elements/gstelements.c:
20544 fix typo causing fdsrc not to build
20546 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20548 * testsuite/Makefile.am:
20549 * testsuite/bytestream/.cvsignore:
20550 * testsuite/bytestream/Makefile.am:
20551 * testsuite/bytestream/filepadsink.c:
20552 * testsuite/bytestream/gstbstest.c:
20553 * testsuite/bytestream/test1.c:
20554 * testsuite/bytestream/testfile1:
20555 * testsuite/caps/normalisation.c:
20556 * testsuite/caps/random.c: (main):
20557 * testsuite/cleanup/.cvsignore:
20558 * testsuite/cleanup/Makefile.am:
20559 * testsuite/cleanup/cleanup1.c:
20560 * testsuite/cleanup/cleanup2.c:
20561 * testsuite/cleanup/cleanup3.c:
20562 * testsuite/cleanup/cleanup4.c:
20563 * testsuite/cleanup/cleanup5.c:
20564 * testsuite/controller/interpolator.c:
20565 * testsuite/debug/printf_extension.c: (main):
20566 * testsuite/elements/tee.c:
20567 * testsuite/negotiation/.cvsignore:
20568 * testsuite/negotiation/Makefile.am:
20569 * testsuite/negotiation/pad_link.c:
20570 * testsuite/pad/Makefile.am:
20571 * testsuite/pad/chainnopull.c:
20572 * testsuite/pad/getnopush.c:
20573 * testsuite/pad/link.c:
20574 * testsuite/refcounting/sched.c: (create_pipeline):
20575 * testsuite/registry/Makefile.am:
20576 * testsuite/registry/gst-print-formats.c:
20577 * testsuite/schedulers/.cvsignore:
20578 * testsuite/schedulers/142183-2.c:
20579 * testsuite/schedulers/142183.c:
20580 * testsuite/schedulers/143777-2.c:
20581 * testsuite/schedulers/143777.c:
20582 * testsuite/schedulers/147713.c:
20583 * testsuite/schedulers/147819.c:
20584 * testsuite/schedulers/147894-2.c:
20585 * testsuite/schedulers/147894.c:
20586 * testsuite/schedulers/Makefile.am:
20587 * testsuite/schedulers/group_link.c:
20588 * testsuite/schedulers/queue_link.c:
20589 * testsuite/schedulers/relink.c:
20590 * testsuite/schedulers/unlink.c:
20591 * testsuite/schedulers/unref.c:
20592 * testsuite/schedulers/useless_iteration.c:
20593 * testsuite/states/bin.c:
20594 clean out/remove some stuff from the testsuite directories
20596 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20599 check for some headers
20600 * gst/elements/Makefile.am:
20601 * gst/elements/gstelements.c:
20602 don't compile fdsrc without sys/socket.h
20603 * gst/indexers/Makefile.am:
20604 * gst/indexers/gstindexers.c: (plugin_init):
20605 don't compile fileindex without mmap
20607 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20614 * check/Makefile.am:
20615 * docs/gst/Makefile.am:
20616 * examples/helloworld/Makefile.am:
20618 * gst/base/Makefile.am:
20619 * gst/check/Makefile.am:
20620 * gst/elements/Makefile.am:
20621 * gst/indexers/Makefile.am:
20622 * gst/parse/Makefile.am:
20623 * libs/gst/controller/Makefile.am:
20624 * libs/gst/dataprotocol/Makefile.am:
20625 * examples/helloworld/helloworld.c: (event_loop):
20626 compile fixes, though it's not being compiled currently
20628 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20630 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20631 Add some simple tests for the new taglist date API.
20633 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20635 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20636 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20637 Beautify 'last-message' output: print 'none' for buffer timestamps
20638 and durations if none is set; improve alignment with next messages.
20640 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20642 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20643 * gst/gstpluginfeature.h:
20644 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20645 * gst/gstregistry.h:
20646 * docs/gst/gstreamer-sections.txt:
20647 Add new API to check plugin feature version requirements.
20649 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20650 Some basic tests for the above.
20652 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20654 * gst/gststructure.c: (gst_structure_to_string):
20655 guard against NULL printf - happens when for example
20656 a message structure with GstClock gets serialized
20658 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20660 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20661 Fix presumable copy'n'pasto.
20663 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20665 * gst/elements/gstfakesrc.h:
20666 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20667 * gst/elements/gsttypefindelement.c:
20668 fix some signedness
20669 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20670 I wonder if this could actually write +2GB files before
20672 2005-10-13 Andy Wingo <wingo@pobox.com>
20674 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20675 Fix Timmeke Waymans bug.
20676 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20677 string of the proper length to gst_caps_from_string. There's a
20678 potential for, before this fix, that this could cause someone
20679 connecting over the network to cause a segfault if the payload is
20680 not NUL-terminated.
20682 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20684 * docs/design/draft-push-pull.txt:
20685 * docs/design/part-overview.txt:
20686 * docs/random/TODO-pre-0.9:
20687 * docs/random/old/ChangeLog.gstreamer:
20688 * gst/base/gstpushsrc.c:
20692 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20694 * gst/glib-compat.c: (gst_flags_get_first_value):
20695 * gst/glib-compat.h:
20696 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20697 (gst_value_compare_double), (gst_value_serialize_flags):
20698 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20701 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20704 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20706 * tools/gst-launch.c: (event_loop):
20707 print out clock nicely
20709 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20711 * docs/gst/gstreamer-sections.txt:
20712 * gst/gsttaglist.h:
20713 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20714 (gst_tag_list_get_date_index):
20715 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20716 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20718 2005-10-13 Julien MOUTTE <julien@moutte.net>
20720 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20721 (gst_collectpads_chain):
20722 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20725 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20727 * docs/gst/gstreamer-sections.txt:
20730 * tools/gst-inspect.c: (main):
20731 * tools/gst-launch.c: (main):
20732 * tools/gst-run.c: (main):
20733 * tools/gst-xmlinspect.c: (main):
20734 fix GOption context leaks
20737 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20741 * win32/common/config.h:
20743 * win32/vs6/grammar.dsp:
20744 * win32/vs6/libgstelements.dsp:
20745 * win32/vs6/libgstreamer.dsp:
20748 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20750 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20751 * gst/base/gstbasesrc.c: (gst_base_src_query):
20752 fix more guint64<->gdouble conversions
20754 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20757 add win32-update target
20758 * win32/common/gstconfig.h:
20759 * win32/common/gstenumtypes.c:
20760 * win32/common/gstenumtypes.h:
20761 * win32/common/gstversion.h:
20762 add files that visual studio can't generate
20764 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20767 add a win32-update target
20770 2005-10-12 Wim Taymans <wim@fluendo.com>
20772 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20773 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20774 * gst/gstelement.c: (gst_element_commit_state),
20775 (gst_element_set_state):
20776 Protect flags with proper lock.
20777 unref provided cached clock in dispose.
20779 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20782 * gst/gstminiobject.h:
20784 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20785 removed unused flags from miniobject
20788 2005-10-12 Wim Taymans <wim@fluendo.com>
20790 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20791 (gst_file_sink_event), (gst_file_sink_render):
20792 Flush before seeking.
20794 2005-10-12 Andy Wingo <wingo@pobox.com>
20796 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20797 always been the case.
20799 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20801 * check/gst/gstbin.c: (GST_START_TEST):
20802 * docs/gst/gstreamer-sections.txt:
20803 * gst/base/gstbasesink.c: (gst_base_sink_init):
20804 * gst/base/gstbasesrc.c: (gst_base_src_init),
20805 (gst_base_src_get_range), (gst_base_src_check_get_range),
20806 (gst_base_src_start), (gst_base_src_stop):
20807 * gst/base/gstbasesrc.h:
20808 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20809 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20810 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20814 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20816 * gst/gstelement.c: (gst_element_is_locked_state),
20817 (gst_element_set_locked_state), (gst_element_commit_state),
20818 (gst_element_set_state):
20819 * gst/gstelement.h:
20820 * gst/gstindex.c: (gst_index_init):
20822 * gst/gstminiobject.h:
20823 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20824 (gst_object_set_parent):
20826 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20827 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20829 * gst/gstpadtemplate.h:
20830 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20831 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20832 * gst/gstpipeline.h:
20833 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20834 (gst_file_index_commit):
20835 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20836 * testsuite/pad/link.c: (gst_test_src_init),
20837 (gst_test_filter_init), (gst_test_sink_init):
20838 * testsuite/states/locked.c: (main):
20839 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20840 moved bitshift from macro to enum definition
20842 2005-10-12 Wim Taymans <wim@fluendo.com>
20844 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20845 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20846 (gst_file_sink_render):
20847 Some more debugging info.
20849 2005-10-12 Wim Taymans <wim@fluendo.com>
20851 * docs/design/part-states.txt:
20852 * tools/gst-launch.c: (main):
20854 Revert non-intentional change.
20856 2005-10-12 Wim Taymans <wim@fluendo.com>
20858 * check/gst/gstbin.c: (GST_START_TEST):
20859 * check/gst/gstelement.c: (GST_START_TEST):
20860 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20861 * check/gst/gstghostpad.c: (GST_START_TEST):
20862 * check/gst/gstpipeline.c: (GST_START_TEST):
20863 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20864 * check/states/sinks.c: (GST_START_TEST):
20865 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20866 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20867 (gst_bin_remove_func), (gst_bin_get_state_func),
20868 (gst_bin_recalc_state), (gst_bin_change_state_func),
20870 * gst/gstelement.c: (gst_element_get_state_func),
20871 (gst_element_get_state), (gst_element_abort_state),
20872 (gst_element_commit_state), (gst_element_set_state),
20873 (gst_element_change_state), (gst_element_change_state_func):
20874 * gst/gstelement.h:
20875 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20876 (gst_pipeline_provide_clock_func):
20877 * gst/gstutils.c: (gst_element_link_pads_filtered):
20878 * tools/gst-launch.c: (main):
20879 * tools/gst-typefind.c: (main):
20880 Use GstClockTime in _get_state() instead of GTimeVal.
20881 Remove old code in gstutils.c
20883 2005-10-12 Andy Wingo <wingo@pobox.com>
20885 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20888 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20889 there is no task. Shouldn't affect any code, as nothing in our
20890 plugins checks this return value.
20891 (gst_pad_stop_task): Also take the stream lock if the pad has no
20892 task. Docs updated.
20894 2005-10-12 Wim Taymans <wim@fluendo.com>
20896 * gst/gstpad.c: (pre_activate), (post_activate),
20897 (gst_pad_activate_pull), (gst_pad_activate_push):
20898 Cleanup activation code. Reset old state if
20901 2005-10-12 Wim Taymans <wim@fluendo.com>
20903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20904 (gst_base_sink_change_state):
20905 No need to prerol after receiving EOS.
20907 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20908 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20909 * gst/elements/gstidentity.c: (gst_identity_event):
20910 Print events more verbosely.
20912 2005-10-12 Wim Taymans <wim@fluendo.com>
20914 * check/Makefile.am:
20915 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20916 * check/states/sinks2.c:
20917 Moved sinks2 testcode in sinks check.
20919 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20920 (gst_bin_remove_func), (gst_bin_recalc_state),
20921 (gst_bin_change_state_func), (bin_bus_handler):
20922 Fix potential race condition when _get_state() iterated over an
20923 ASYNC element right before it posted a state completion.
20926 Do proper cast here.
20928 * gst/gstevent.c: (gst_event_new_newsegment),
20929 (gst_event_parse_newsegment):
20930 A playback rate of 0.0 is not allowed.
20932 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20934 * win32/common/config.h:
20935 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20936 (_trewinddir), (_ttelldir), (_tseekdir):
20937 * win32/common/dirent.h:
20938 * win32/common/gtchar.h:
20939 * win32/common/libgstbase.def:
20940 * win32/common/libgstreamer.def:
20941 * win32/vs6/grammar.dsp:
20942 * win32/vs6/gst_inspect.dsp:
20943 * win32/vs6/gst_launch.dsp:
20944 * win32/vs6/gstreamer.dsw:
20945 * win32/vs6/libgstbase.dsp:
20946 * win32/vs6/libgstelements.dsp:
20947 * win32/vs6/libgstreamer.dsp:
20948 Visual Studio 6 project files, and a new common directory.
20951 2005-10-11 Wim Taymans <wim@fluendo.com>
20953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20954 (gst_base_sink_do_sync), (gst_base_sink_query),
20955 (gst_base_sink_change_state):
20956 * gst/base/gstbasesink.h:
20957 Correctly parse newsegment info.
20959 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20961 * gst/gst.c: (init_post):
20962 split plugin paths correctly
20964 2005-10-11 Wim Taymans <wim@fluendo.com>
20966 * check/gst/gstevent.c: (GST_START_TEST):
20967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20968 (gst_base_sink_change_state):
20969 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20970 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20971 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20972 * gst/gstevent.c: (gst_event_new_newsegment),
20973 (gst_event_parse_newsegment):
20975 Added extra flag to newsegment for future API freeze.
20976 Updated check and base elements.
20978 2005-10-11 Julien MOUTTE <julien@moutte.net>
20980 * gst/base/gstcollectpads.c: (gst_collectpads_init),
20981 (gst_collectpads_add_pad), (gst_collectpads_pop),
20982 (gst_collectpads_event), (gst_collectpads_chain):
20983 * gst/base/gstcollectpads.h: Handle EOS correctly.
20985 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20987 * tools/gst-launch.c: (main):
20988 more null protecting
20990 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20992 * gst/gst-i18n-lib.h:
20993 check for ENABLE_NLS, not GETTEXT_PACKAGE
20994 * gst/gstregistry.c: (gst_registry_add_plugin),
20995 (gst_registry_scan_path_level),
20996 (_gst_registry_remove_cache_plugins):
20997 protect possibly NULL strings
20998 * gst/parse/types.h:
20999 config.h already included before
21000 * tools/gst-inspect.c: (main):
21001 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21002 check for ENABLE_NLS, not GETTEXT_PACKAGE
21003 * tools/gst-launch.c: (main):
21004 check for ENABLE_NLS, not GETTEXT_PACKAGE
21006 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21009 if we don't have glib, fail before testing 2.8
21010 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21011 fix a leak, should fix plugins-base testsuite
21013 2005-10-11 Andy Wingo <wingo@pobox.com>
21015 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21016 take the mode we're going to as an arg. Go head and set the mode
21017 and flushing flags now, so that if the activate function starts a
21018 thread all the flags will be in the right state.
21019 (post_activate): Renamed also. Just handle making sure streaming
21020 finishes for the deactivation case, and setting the deactivated
21022 (gst_pad_set_active): Complain loudly if deactivation fails.
21023 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21024 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21025 remove the terrible hack.
21027 2005-10-11 Wim Taymans <wim@fluendo.com>
21029 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21030 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21031 (gst_bin_recalc_state), (gst_bin_change_state_func),
21032 (gst_bin_dispose), (bin_bus_handler):
21034 Prepare to make current EOS message queue more generic.
21037 * gst/gstevent.c: (gst_event_new_newsegment),
21038 (gst_event_parse_newsegment):
21040 Rename base to stream_time.
21042 * gst/gstmessage.h:
21045 2005-10-11 Wim Taymans <wim@fluendo.com>
21047 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21048 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21049 (gst_bin_change_state_func), (bin_bus_handler):
21051 Work on proper clock selection.
21053 2005-10-11 Edward Hervey <edward@fluendo.com>
21055 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21056 * libs/gst/controller/gstcontroller.h:
21057 Added GList* version of _remove_properties() in order to be able to wrap
21060 2005-10-11 Wim Taymans <wim@fluendo.com>
21062 * docs/design/part-states.txt:
21065 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21066 (gst_bin_change_state_func), (bin_bus_handler):
21067 Doc updates. Don't distribute the same clock over and over again.
21073 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21074 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21075 (gst_pad_send_event):
21077 Make probe emission threadsafe again.
21078 Register quarks and move _get_name() from utils.
21081 * gst/gstpipeline.c: (gst_pipeline_class_init),
21082 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21083 Only redistribute the clock of it changed.
21085 * gst/gstsystemclock.h:
21090 Moved the _flow_get_name() to GstPad.
21092 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21094 * check/gst-libs/gdp.c: (GST_START_TEST):
21095 * check/gst/gstcaps.c: (GST_START_TEST):
21096 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21097 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21098 (gst_dp_packet_from_caps):
21099 fix more valgrind warnings before turning up the heat
21101 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21103 * gst/parse/grammar.y:
21104 some cleanup before the hacking
21106 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21108 * gst/base/gstbasesrc.c: (gst_base_src_query):
21110 * gst/gstutils.c: (gst_guint64_to_gdouble),
21111 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21113 externalize, basesrc uses it
21114 obviously the implementation needs testing
21116 2005-10-10 Wim Taymans <wim@fluendo.com>
21118 * tests/sched/Makefile.am:
21119 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21120 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21122 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21124 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21125 apparently converting from guint64 to double is not implemented
21128 2005-10-10 Wim Taymans <wim@fluendo.com>
21130 * check/Makefile.am:
21131 * check/generic/states.c: (GST_START_TEST):
21132 * check/gst/gstbin.c: (GST_START_TEST):
21133 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21134 * check/states/sinks.c: (GST_START_TEST):
21135 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21137 Check fixes, use API as stated in design docs, remove hacks.
21139 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21140 (gst_base_sink_change_state):
21141 Catch stopping our task while we're shutting down.
21143 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21144 (gst_bin_remove_func), (gst_bin_get_state_func),
21145 (gst_bin_recalc_state), (gst_bin_change_state_func),
21148 * gst/gstelement.c: (gst_element_init),
21149 (gst_element_get_state_func), (gst_element_abort_state),
21150 (gst_element_commit_state), (gst_element_lost_state),
21151 (gst_element_set_state), (gst_element_change_state),
21152 (gst_element_change_state_func):
21153 * gst/gstelement.h:
21154 New state change algorithm (see #318116)
21156 * gst/gstpipeline.c: (gst_pipeline_class_init),
21157 (gst_pipeline_init), (gst_pipeline_set_property),
21158 (gst_pipeline_get_property), (do_pipeline_seek),
21159 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21160 * gst/gstpipeline.h:
21161 Remove crude state change hacks.
21164 Remove crude hacks.
21166 * tools/gst-launch.c: (main):
21167 Fixes for state change. Needs some more work to fully use the
21170 2005-10-10 Andy Wingo <wingo@pobox.com>
21172 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21174 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21175 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21178 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21180 * gst/gstiterator.c: (gst_iterator_new):
21181 Fix my previous commit: GTypes passed to gst_iterator_new()
21182 can be fundamental types.
21184 2005-10-10 Wim Taymans <wim@fluendo.com>
21186 * gst/gstelement.c: (gst_element_iterate_pad_list),
21187 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21188 (gst_element_iterate_sink_pads):
21189 Use src/sink pads lists for the respective iterators instead
21192 2005-10-10 Andy Wingo <wingo@pobox.com>
21194 Merged in popt removal + GOption addition patch from Ronald, bug
21197 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21198 GstElement macros around, remove popt-related symbols, add goption
21201 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21203 * docs/gst/Makefile.am:
21204 * docs/libs/Makefile.am: No POPT_CFLAGS.
21206 * examples/manual/Makefile.am:
21207 * docs/manual/basics-init.xml: Doc updates with an example.
21209 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21210 (gst_init), (parse_one_option), (parse_goption_arg):
21211 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21212 bit of hand merging and debugging to get the GOption stuff working
21215 * tests/Makefile.am:
21216 * tools/Makefile.am:
21217 * tools/gst-inspect.c: (main):
21218 * tools/gst-launch.c: (main):
21219 * tools/gst-run.c: (main):
21220 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21222 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21224 * gst/gstiterator.c: (gst_iterator_new):
21225 Add assertions to make sure passed GType is likely to really
21226 be a GType (as the compiler won't catch it if the size and
21227 GType arguments get mixed up, see #318447).
21229 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21231 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21233 * gst/gstbin.c: (gst_bin_iterate_sorted):
21234 Pass GType and size arguments to gst_iterator_new() in the right
21235 order (maybe we should make _new() take the GType as first argument
21236 just like _new_list()?) (#318447).
21239 2005-10-10 Wim Taymans <wim@fluendo.com>
21241 * gst/gstelement.c: (gst_element_finalize):
21242 And free the GStaticRecMutex too
21244 2005-10-10 Andy Wingo <wingo@pobox.com>
21246 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21247 Allocate and free the mutex properly.
21249 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21251 (GstElement): The state_lock is now recursive. Rebuild your
21252 plugins, suckers. Old macros adapted.
21254 * docs/gst/gstreamer-sections.txt: Doc updates.
21257 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21258 (g_static_rec_cond_wait): Ported from state changes patch, while
21259 we wait on bug #317802 to be solved in a well-distributed GLib.
21261 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21262 gst_element_change_state, variable name changes.
21263 (gst_element_change_state): Split out of gst_element_set_state in
21264 preparation for the state change merge. Doesn't pay attention to
21265 the 'transition' argument.
21266 (gst_element_set_state): Updates, hopefully purely cosmetic.
21267 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21268 state change patch.
21269 (gst_element_get_state_func): Renamed from get_state, cosmetic
21272 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21274 * gst/elements/gstelements.c:
21275 * win32/GStreamer.vcproj:
21277 * win32/dirent.c: (_tseekdir):
21278 * win32/gst-inspect.vcproj:
21279 * win32/gst-launch.vcproj:
21280 * win32/gstconfig.h:
21281 * win32/gstelements.vcproj:
21282 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21283 * win32/gstreamer.def:
21284 * win32/msvc71.sln:
21285 updates for the win32 build (patch from Sebastien Moutte)
21287 2005-10-10 Andy Wingo <wingo@pobox.com>
21289 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21290 gst_bin_get_state, cleaned up (but no logic changes).
21291 (bin_element_is_sink): Comment updates.
21292 (sink_iterator_filter): Remove needless cast.
21293 (gst_bin_iterate_sinks): Doc update.
21294 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21295 cleaned up (but no logic changes).
21297 * check/states/sinks.c (test_src_sink): Cleanups from the state
21299 (test_livesrc_sink): Sync on the state.
21301 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21302 the state change patch.
21304 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21307 * check/gst/gstbin.c: Merge in some style fixes and additional
21308 checks from Wim's state change patch.
21310 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21312 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21313 (gst_type_find_helper):
21314 Check whether we have the requested data already in our list of
21315 cached buffers before pulling a new buffer; also make the buffer
21316 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21318 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21323 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21324 don't use long long, it's not portable. Replacing with
21325 gint64 seems to work; let's hope no skeletons fall out of the closet.
21327 2005-10-10 Andy Wingo <wingo@pobox.com>
21329 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21331 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21333 * docs/gst/gstreamer-sections.txt:
21338 * gst/gstmessage.c: (gst_message_parse_state_changed):
21341 more docs, fix compilation
21343 2005-10-09 Philippe Khalaf <burger@speedy.org>
21344 * gst/gstmessage.c:
21345 Fixed a few forgotten variables on previous commit
21347 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21349 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21350 Fix evil typefind crasher: getrange() might return a short
21351 buffer at the end of a file, but gst_type_find_peek() must
21352 either return the full data as requested or NULL, but
21353 never a short buffer.
21355 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21357 * gst/gstmessage.c: (gst_message_new_state_changed),
21358 (gst_message_parse_state_changed):
21359 * gst/gstmessage.h:
21360 don't use "new", it's a C++ keyword
21362 2005-10-08 Wim Taymans <wim@fluendo.com>
21364 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21365 * gst/gstelement.c: (gst_element_post_message):
21366 * gst/gstpipeline.c: (gst_pipeline_change_state):
21367 Small docs and debug updates.
21369 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21371 * docs/gst/gstreamer-sections.txt:
21372 * gst/gstelementfactory.c:
21374 * gst/gsttaglist.c:
21377 2005-10-08 Wim Taymans <wim@fluendo.com>
21379 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21380 (gst_bin_dispose), (bin_bus_handler):
21381 Fix typos, add comments.
21382 Clear EOS list when going to PAUSED from any direction and do it
21383 in a threadsafe way.
21384 Get base time in a threadsafe way too.
21385 Fix confusing debug in the change_state function.
21386 Various other small cleanups.
21388 * gst/gstelement.c: (gst_element_post_message):
21389 Fix very verbose bus posting code.
21391 * gst/gstpipeline.c: (gst_pipeline_class_init),
21392 (gst_pipeline_set_property), (gst_pipeline_get_property),
21393 (gst_pipeline_change_state):
21394 Small ARG_ -> PROP_ cleanup
21396 2005-10-08 Wim Taymans <wim@fluendo.com>
21398 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21399 Do a less CPU demanding EOS check because we can.
21401 2005-10-08 Wim Taymans <wim@fluendo.com>
21403 * libs/gst/dataprotocol/dataprotocol.c:
21404 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21405 (gst_dp_packet_from_event):
21406 * libs/gst/dataprotocol/dataprotocol.h:
21407 * libs/gst/dataprotocol/dp-private.h:
21408 It's about time we bump the version number.
21409 Since event types don't fit in the guint8 anymore describing
21410 the payload type, make payload type 16 bits wide.
21412 2005-10-08 Wim Taymans <wim@fluendo.com>
21414 * docs/design/part-TODO.txt:
21415 * docs/design/part-clocks.txt:
21416 * docs/design/part-events.txt:
21417 * docs/design/part-gstbin.txt:
21418 * docs/design/part-gstelement.txt:
21419 * docs/design/part-gstpipeline.txt:
21420 * docs/design/part-live-source.txt:
21421 * docs/design/part-messages.txt:
21422 * docs/design/part-overview.txt:
21423 * docs/design/part-states.txt:
21426 2005-10-08 Wim Taymans <wim@fluendo.com>
21430 Fix event quark registration.
21431 Add some space between events so we can insert them in the
21434 2005-10-08 Wim Taymans <wim@fluendo.com>
21436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21437 (gst_base_sink_handle_buffer):
21438 Better log message.
21441 * gst/gstelement.h:
21444 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21445 (gst_queue_set_property), (gst_queue_get_property):
21447 Remove old unused properties.
21449 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21450 * docs/gst/gstreamer-sections.txt:
21451 * gst/gstmessage.c:
21452 * gst/gstmessage.h:
21453 * gst/gstminiobject.c:
21454 * gst/gstminiobject.h:
21458 lots of new docs and doc fixes
21460 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21462 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21464 * gst/gstregistry.c: (gst_registry_lookup_locked),
21465 (gst_registry_scan_path_level):
21466 * gst/gstregistryxml.c: (load_plugin):
21467 Only ever load one plugin for a given plugin basename.
21468 This ensures correct overriding of GST_PLUGIN_PATH over
21469 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21470 system installed plugins.
21472 2005-10-08 Wim Taymans <wim@fluendo.com>
21474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21475 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21476 Prepare for doing QOS.
21478 2005-10-08 Wim Taymans <wim@fluendo.com>
21480 * check/gst/gstbin.c: (GST_START_TEST):
21481 * check/pipelines/cleanup.c: (GST_START_TEST):
21482 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21483 Allow new clock message too.
21485 2005-10-08 Wim Taymans <wim@fluendo.com>
21487 * gst/gstmessage.c: (gst_message_new_error),
21488 (gst_message_new_warning), (gst_message_new_tag),
21489 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21490 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21491 (gst_message_new_segment_start), (gst_message_new_segment_done),
21492 (gst_message_parse_state_changed),
21493 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21494 (gst_message_parse_new_clock):
21495 * gst/gstmessage.h:
21496 Also carry the clock in question.
21498 2005-10-08 Wim Taymans <wim@fluendo.com>
21500 * gst/gstmessage.c: (gst_message_new_custom),
21501 (gst_message_new_eos), (gst_message_new_error),
21502 (gst_message_new_warning), (gst_message_new_tag),
21503 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21504 (gst_message_new_new_clock), (gst_message_new_segment_start),
21505 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21506 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21507 * gst/gstmessage.h:
21509 Added clock related messages.
21511 * gst/gstpipeline.c: (gst_pipeline_change_state):
21512 Post message when the clock changed.
21514 * tools/gst-launch.c: (event_loop):
21517 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21519 * tools/gst-inspect.c: (print_element_properties_info):
21520 Can't pass NULL strings to g_print() on windows.
21522 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21524 * docs/Makefile.am:
21525 * docs/gst/Makefile.am:
21526 * docs/gst/gstreamer-docs.sgml:
21527 * docs/gst/running.xml:
21528 * docs/version.entities.in:
21529 add a chapter on running GStreamer.
21530 document GST_DEBUG and GST_PLUGIN* env vars
21532 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21537 remove PLUGINS_BUILDDIR stuff
21538 * gst/gst.c: (init_post):
21539 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21541 remove, it was condescending and not needed
21543 2005-10-08 Wim Taymans <wim@fluendo.com>
21545 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21546 (gst_base_sink_handle_object), (gst_base_sink_event),
21547 (gst_base_sink_wait), (gst_base_sink_handle_event),
21548 (gst_base_sink_change_state):
21549 * gst/base/gstbasesink.h:
21550 Repost EOS message while going to PLAYING if still EOS.
21551 Make sure that when receiving a FLUSH_START we don't attempt
21552 to sync on the clock anymore.
21554 2005-10-08 Wim Taymans <wim@fluendo.com>
21556 * tools/gst-launch.c: (event_loop):
21557 Better message printout.
21559 2005-10-08 Wim Taymans <wim@fluendo.com>
21561 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21562 (gst_bin_child_proxy_get_children_count):
21563 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21564 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21565 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21566 (gst_child_proxy_set_valist):
21567 * gst/parse/grammar.y:
21568 Make ChildProxy threadsafe and fix mem leaks.
21570 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21572 * gst/gst.c: (init_post):
21573 debug the GST_PLUGIN_ env vars
21575 2005-10-08 Wim Taymans <wim@fluendo.com>
21577 * check/gst/gstbin.c: (GST_START_TEST):
21578 * check/gst/gstmessage.c: (GST_START_TEST):
21579 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21580 * gst/gstelement.c: (gst_element_commit_state),
21581 (gst_element_lost_state):
21582 * gst/gstmessage.c: (gst_message_new_state_changed),
21583 (gst_message_parse_state_changed):
21584 * gst/gstmessage.h:
21585 * tools/gst-launch.c: (event_loop):
21586 Added extra field to STATE_CHANGE message with the pending
21587 state, which will be different from the new state soon.
21589 2005-10-08 Wim Taymans <wim@fluendo.com>
21591 * gst/gstbus.c: (gst_bus_pop):
21593 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21594 Small cleanups and doc updates.
21596 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21598 * gst/gst.c: (init_pre):
21599 * gst/gstbin.c: (gst_bin_add_func):
21600 log distributing clocks and base time
21601 * gst/gstregistry.c: (gst_registry_add_plugin),
21602 (gst_registry_scan_path_level), (gst_registry_scan_path):
21603 clean up the debugging output a little
21604 * gst/gstutils.c: (gst_element_state_get_name):
21605 warn about a memleak (I've actually seen this be used, though
21606 it was probably a bug)
21608 2005-10-07 Wim Taymans <wim@fluendo.com>
21610 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21611 (gst_base_src_init), (gst_base_src_default_newsegment),
21612 (gst_base_src_newsegment), (gst_base_src_do_seek),
21613 (gst_base_src_loop), (gst_base_src_start):
21614 * gst/base/gstbasesrc.h:
21615 Make the newsegment event customizable by subclasses.
21617 2005-10-07 Wim Taymans <wim@fluendo.com>
21619 * gst/gstevent.c: (gst_event_new_buffersize),
21620 (gst_event_parse_buffersize):
21622 New event for future idea.
21624 2005-10-07 Andy Wingo <wingo@pobox.com>
21626 * gst/gstelement.c (gst_element_post_message): Doc update.
21628 * docs/gst/gstreamer-sections.txt: Update.
21630 * gst/gstmessage.c (gst_message_new_application): Made into a
21631 function like honest API calls.
21632 (gst_message_new_element): New message type.
21634 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21636 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21637 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21640 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21641 NO_PREROLL from gst_element_change_state to fall through.
21643 2005-10-07 Wim Taymans <wim@fluendo.com>
21645 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21646 (gst_ghost_pad_do_activate_push):
21647 Activating a ghostpad with no internal pad in push mode
21650 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21653 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21654 Fixes compilation on Windows.
21656 2005-10-07 Michael Smith <msmith@fluendo.com>
21658 * tools/gst-inspect.c:
21659 Print out feature and plugin count at the end when printing out
21662 2005-10-04 Michael Smith <msmith@fluendo.com>
21664 * gst/gsterror.c: (_gst_stream_errors_init):
21665 Add another error string used in a few existing plugins.
21668 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21669 * tools/gst-inspect.c: (print_element_info):
21670 When a feature disappears from a plugin (and the feature exists in
21671 the cached registry file), things went horribly wrong. This isn't a
21672 complete fix, we should actually be removing the 'missing' features
21673 from the features list when we load the actual plugin. That's not
21676 2005-10-04 Johan Dahlin <johan@gnome.org>
21678 * check/gst/gstiterator.c: (GST_START_TEST):
21679 * gst/gstbin.c: (gst_bin_iterate_elements),
21680 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21681 * gst/gstelement.c: (gst_element_iterate_pads):
21682 * gst/gstformat.c: (gst_format_iterate_definitions):
21683 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21684 (gst_iterator_new_list), (gst_iterator_filter):
21685 * gst/gstiterator.h:
21686 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21687 Add a GType to GstIterator, update callsites and tests.
21689 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21691 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21692 give events a chance to be handled by event probes when the pad
21695 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21697 * gst/gstevent.c: (gst_event_type_get_name),
21698 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21700 add string representations for event types
21702 2005-10-06 Wim Taymans <wim@fluendo.com>
21704 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21705 Don't use NULL pointers.
21707 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21709 * gst/gst_private.h:
21711 * gst/gstelement.c:
21713 * gst/gstpluginfeature.c:
21714 widen the debug category in output to fit the biggest one we have
21715 add a bus category and use it
21716 play with the colors
21717 fix up some categories
21719 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21721 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21722 add push activation of sink ghost pads.
21723 Andye, please verify
21725 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21727 * gst/gstutils.c: (gst_element_link_pads):
21728 fix a bug in the case where neither element has a pad
21729 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21730 add a test for that case
21732 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21734 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21735 emit have-data before checking for peers. This allows
21736 for probe handlers to connect elements. This helps autopluggers.
21737 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21739 add six checks, linked/unlinked with no/true/false probe
21741 2005-10-04 Wim Taymans <wim@fluendo.com>
21743 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21744 (gst_fake_sink_event), (gst_fake_sink_preroll),
21745 (gst_fake_sink_render), (gst_fake_sink_change_state):
21746 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21747 (gst_fake_src_get_property), (gst_fake_src_create),
21748 (gst_fake_src_stop):
21749 * gst/elements/gstidentity.c: (gst_identity_stop):
21750 Protect last_message with lock.
21752 2005-10-04 Edward Hervey <edward@fluendo.com>
21755 Added precision in the comments for GST_FORMAT_DEFAULT
21757 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21759 * tools/gst-launch.c: (main):
21760 Don't try to run erroneous pipelines.
21762 2005-10-04 Julien MOUTTE <julien@moutte.net>
21764 * gst/gstbus.c: We don't need this header.
21766 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21769 back to development
21771 === release 0.9.3 ===
21773 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21777 Releasing 0.9.3, "Unregistered"
21779 2005-10-03 Andy Wingo <wingo@pobox.com>
21781 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21782 whereby calling a pad's activatepush() function can start a thread
21783 that starts to push or pull before the pad gets the FLUSHING flag
21784 unset. Hack around it by holding the stream lock until the flag is
21785 set. Need to replace this with a proper solution. Together with
21786 the ghost pad fixes, this fixes mp3 playing/tagreading.
21788 * docs/design/part-gstghostpad.txt: Add a note about activation of
21789 proxy pads outside of ghost pads.
21791 * gst/gstghostpad.c: Implement the ghost pad activation design.
21793 2005-10-02 Andy Wingo <wingo@pobox.com>
21795 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21796 It is volatile, after all.
21798 * docs/design/part-gstghostpad.txt: Flesh out activation with
21801 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21804 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21807 Fix (unused) AM_CONDITIONAL tests.
21809 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21811 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21813 * gst/gstutils.c: (gst_pad_query_convert):
21814 Add assertion that makes sure src_val is >=0, just like
21815 gst_query_new_convert() has. (#315895)
21817 2005-09-30 Edward Hervey <edward@fluendo.com>
21819 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21820 Let's not iterate pads we're not interested in, it avoids getting
21821 sky-high refcounts on sinkpad.
21823 2005-09-30 Wim Taymans <wim@fluendo.com>
21825 * gst/gstelement.c: (gst_element_set_state),
21826 (gst_element_change_state):
21827 Small tweak, element in ASYNC remains ASYNC.
21829 2005-09-30 Wim Taymans <wim@fluendo.com>
21831 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21832 Only error is an error.
21834 * gst/gstbin.c: (gst_bin_change_state):
21837 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21838 Also call pad_block in pad alloc.
21840 * gst/gstutils.c: (gst_flow_get_name):
21843 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21845 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21846 (gst_base_src_get_range):
21847 Fix documentation typos. Add some more debug info.
21849 2005-09-29 David Schleef <ds@schleef.org>
21851 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21852 more end-user friendly.
21853 * tools/gst-inspect.c: (main): Check if command-line argument is
21854 a file and attempt to load that file as a plugin.
21856 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21858 * check/gst/gstbin.c:
21859 * check/states/sinks.c:
21860 fix tests for the new warning
21861 * check/gst/gstpipeline.c:
21862 add a test for pipeline and bus interaction
21863 * gst/gstelement.c:
21864 elements should be NULL if they get disposed; add a warning if not
21866 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21869 for 2.6 refcounting, make debug log more correct by printing
21870 the actual refcounts at the time of swap (Wim)
21872 2005-09-29 Andy Wingo <wingo@pobox.com>
21874 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21875 removes signal watches previously added via
21876 gst_bus_add_signal_watch.
21877 (gst_bus_add_signal_watch): Don't return the source id, just store
21878 it on the bus if there wasn't an id already.
21880 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21881 add_signal_watch and remove_signal_watch.
21883 2005-09-29 Edward Hervey <edward@fluendo.com>
21885 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21886 Better if we actually iterate the list :)
21888 2005-09-29 Wim Taymans <wim@fluendo.com>
21890 * check/gst/gstbin.c: (GST_START_TEST):
21891 Change for new bus API.
21893 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21894 (send_messages), (GST_START_TEST), (gstbus_suite):
21895 Change for new bus signal API.
21897 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21898 (gst_bus_source_prepare), (gst_bus_source_check),
21899 (gst_bus_create_watch), (gst_bus_add_watch_full),
21900 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21901 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21903 Remove support for multiple GSources operating on different
21904 message types as it is too complex and unneeded when using
21906 Added support for receiving signals from the bus.
21908 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21910 * docs/libs/tmpl/gstdataprotocol.sgml:
21911 * docs/manual/advanced-dataaccess.xml:
21912 * gst/elements/gstcapsfilter.c:
21914 rename filter-caps to caps property
21916 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21918 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21919 More robust fraction string parsing.
21921 * docs/pwg/appendix-porting.xml:
21922 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21924 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21926 * gst/gstcaps.c: (gst_caps_do_simplify):
21927 Thou shalt not free a structure and then continue using it
21928 in the next loop iteration.
21930 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21932 Add test case for caps simplification.
21934 2005-09-29 Wim Taymans <wim@fluendo.com>
21936 * check/gst/gstbin.c: (GST_START_TEST):
21939 2005-09-29 Wim Taymans <wim@fluendo.com>
21941 * check/gst/gstbin.c: (GST_START_TEST):
21944 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21945 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21946 (find_element), (gst_bin_sort_iterator_next),
21947 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21948 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21949 (gst_bin_change_state), (gst_bin_dispose):
21950 A bin does not have a bus, it gets the bus from the parent.
21952 * gst/gstelement.c: (gst_element_requires_clock),
21953 (gst_element_provides_clock), (gst_element_is_indexable),
21954 (gst_element_is_locked_state), (gst_element_change_state),
21955 (gst_element_set_bus_func):
21958 * gst/gstpipeline.c: (gst_pipeline_class_init),
21959 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21960 The pipeline provides a bus.
21962 2005-09-28 Johan Dahlin <johan@gnome.org>
21964 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21965 gst_structure_get_enum instead of gst_structure_get_int
21967 * gst/gststructure.c (gst_structure_get_enum): Impl.
21969 * gst/gststructure.h (gst_structure_get_enum): Add
21971 * docs/gst/gstreamer-sections.txt: Ditto
21973 * gst/gstmessage.c (gst_message_new_state_changed): Use
21974 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21975 which does introspection.
21976 Reviewed by Christian Schaller
21978 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21980 * gst/gstinfo.c: (gst_debug_log_default):
21981 don't do dummy g_strdup()s
21982 * libs/gst/controller/gstcontroller.c:
21983 (on_object_controlled_property_changed),
21984 (gst_controlled_property_new), (gst_controller_new_valist),
21985 (gst_controller_new_list),
21986 (gst_controller_remove_properties_valist), (gst_controller_set),
21987 (gst_controller_get), (gst_controller_sync_values),
21988 (gst_controller_get_value_array), (_gst_controller_class_init),
21989 (gst_controller_get_type):
21990 * libs/gst/controller/gstcontroller.h:
21991 * libs/gst/controller/gstinterpolation.c:
21992 (gst_controlled_property_find_timed_value_node):
21993 convert // to /**/ comments
21995 2005-09-28 Wim Taymans <wim@fluendo.com>
21997 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21998 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21999 (gst_bus_sync_signal_handler):
22001 Added async-message and sync-message signals to the bus.
22002 Added helper BusFunc to emit signals for all posted messages.
22004 * gst/gstmessage.c: (gst_message_type_get_name),
22005 (gst_message_type_to_quark), (gst_message_get_type):
22006 * gst/gstmessage.h:
22007 Register quarks for message names.
22009 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22011 * docs/libs/gstreamer-libs-sections.txt:
22012 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22013 (gst_controller_new_list):
22014 * libs/gst/controller/gstcontroller.h:
22015 added another constructor for language bindings
22017 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22019 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22023 * gst/gstinfo.c: (_gst_debug_init):
22024 slightly more readable color for refcount debugging
22026 2005-09-28 Wim Taymans <wim@fluendo.com>
22028 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22029 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22030 (find_element), (gst_bin_sort_iterator_next),
22031 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22032 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22033 (gst_bin_change_state), (gst_bin_dispose):
22034 Small doc fixes. get_clock -> provide_clock.
22036 * gst/gstelement.c: (gst_element_class_init),
22037 (gst_element_provides_clock), (gst_element_provide_clock),
22038 (gst_element_get_clock), (gst_element_commit_state),
22039 (gst_element_lost_state):
22040 * gst/gstelement.h:
22041 Make get/set_clock() symetric. Add provide_clock vmethod since
22042 that is actually what this function does.
22044 * gst/gstpipeline.c: (gst_pipeline_class_init),
22045 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22046 (gst_pipeline_get_clock):
22047 get_clock -> provide_clock.
22049 2005-09-28 Andy Wingo <wingo@pobox.com>
22051 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22052 lieu of real docs...
22054 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22056 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22058 * gst/elements/gstcapsfilter.c:
22059 * gst/elements/gstfakesink.c:
22060 * gst/elements/gstfakesrc.c:
22061 * gst/elements/gstfdsink.c:
22062 * gst/elements/gstfdsrc.c:
22063 * gst/elements/gstfilesink.c:
22064 * gst/elements/gstfilesrc.c:
22065 * gst/elements/gstidentity.c:
22066 * gst/elements/gsttee.c:
22067 * gst/elements/gsttypefindelement.c:
22068 Make element details static.
22070 2005-09-28 Wim Taymans <wim@fluendo.com>
22072 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22073 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22074 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22075 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22076 (gst_bin_change_state), (gst_bin_dispose):
22077 Some documentation updates.
22078 Clean up dispose handlers.
22080 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22081 * gst/gstpad.c: (gst_pad_dispose):
22082 Clean up dispose handler.
22084 * gst/gstpipeline.c: (gst_pipeline_change_state):
22085 Removed spurious UNLOCK.
22087 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22089 * docs/gst/gstreamer-sections.txt:
22090 * gst/base/gstbasesrc.h:
22091 * gst/gstelement.h:
22095 * gst/gstpipeline.c:
22096 * gst/gstpipeline.h:
22099 added two new functions to the docs
22100 documents all undocumented GstXXXFlags
22101 completed some incomplete docs
22103 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22105 * gst/gstbin.c: (gst_bin_dispose):
22106 * gst/gstelement.c: (gst_element_dispose):
22107 remove now useless and leaky resurrection code in dispose
22108 * gst/base/gstbasesrc.c: (gst_base_src_init):
22109 * gst/gstelementfactory.c: (gst_element_factory_create):
22110 * gst/gstobject.c: (gst_object_set_parent):
22113 2005-09-27 Wim Taymans <wim@fluendo.com>
22115 * docs/design/part-TODO.txt:
22118 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22119 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22120 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22121 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22122 (gst_bin_change_state):
22123 * gst/gstelement.h:
22124 Remove element variable, we keep element info in the iterator now.
22126 2005-09-27 Andy Wingo <wingo@pobox.com>
22128 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22131 2005-09-27 Wim Taymans <wim@fluendo.com>
22133 * check/gst/gstbin.c: (GST_START_TEST):
22134 Enable check that works now.
22136 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22137 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22138 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22139 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22140 (gst_bin_change_state):
22142 Redid the state change algorithm using a topological sort algo.
22143 Handles all cases correctly.
22144 Exposed iterator for state change order.
22146 * gst/gstelement.h:
22147 Temp storage for state changes. Need to get rid of this soon.
22149 2005-09-27 Wim Taymans <wim@fluendo.com>
22151 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22152 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22153 (link_fold_func), (gst_pad_proxy_setcaps):
22154 Leak fixes, the fold functions need to unref the passed object and
22155 _get_parent_*() returns ref to parent.
22157 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22159 * check/gst/gstbuffer.c: (test_make_writable):
22160 Plug leak in test case and fix 'make check-valgrind'
22162 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22164 * gst/gstbuffer.c: (gst_subbuffer_init):
22165 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22166 works correctly in all circumstances (we could have just copied
22167 the parent buffer's readonly flag, but conceptually it seems
22168 cleaner to mark all subbuffers as read-only). (based on patch
22169 by Alessandro Decina, #314710).
22171 * check/gst/gstbuffer.c: (create_read_only_buffer),
22172 (test_make_writable), (test_subbuffer_make_writable),
22174 Add some tests for gst_buffer_make_writable().
22176 2005-09-27 Wim Taymans <wim@fluendo.com>
22178 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22179 use gst_object_has_ancestor().
22181 * gst/gstobject.c: (gst_object_has_ancestor):
22183 gst_object_has_ancestor() copied from gstbin.c as it is a
22186 * tests/instantiate/create.c: (create_all_elements):
22187 * tests/lat.c: (handoff_src), (handoff_sink):
22188 * tests/sched/runxml.c: (main):
22189 * tests/seeking/seeking1.c: (main):
22190 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22192 Fix compilation of some tests.
22194 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22197 Remove comment. GST_TYPE_G_ERROR is here to stay,
22198 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22199 (#316961, #300610).
22201 2005-09-26 Wim Taymans <wim@fluendo.com>
22203 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22204 Added check that shows error in state change order.
22206 2005-09-26 Wim Taymans <wim@fluendo.com>
22208 * gst/gstbin.c: (gst_bin_change_state):
22209 Make state change function use 3 queues again, we were
22210 adding elements in the wrong order.
22212 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22215 * gst/gstpad.c: (gst_pad_dispose):
22216 Added some debug info first.
22218 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22220 * docs/design/draft-push-pull.txt:
22221 * docs/design/part-events.txt:
22222 * docs/design/part-overview.txt:
22223 * docs/design/part-scheduling.txt:
22224 Replace all _pull_region() with _pull_range()
22226 2005-09-26 Andy Wingo <wingo@pobox.com>
22228 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22230 * check/gst-libs/controller.c: Update for controller api change.
22233 * tests/Makefile.am:
22234 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22235 over by GLib bug 118439.
22237 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22238 routines to a function.
22240 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22242 * libs/gst/controller/gsthelper.c:
22243 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22244 (gst_object_sync_values): Renamed from sink_values. Ugh.
22246 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22248 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22249 Renamed from controller_key, as it is exported.
22251 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22253 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22258 * gst/gstpadtemplate.h:
22261 * gst/gstqueryutils.c:
22262 * gst/gstqueryutils.h:
22263 remove queryutils headers after moving the two used functions
22264 to gstquery. also fixes build problem for gstsiddec
22266 2005-09-26 Michael Smith <msmith@fluendo.com>
22268 * tools/gst-launch.1.in:
22269 Correct documentation in manpage of debug syntax
22271 2005-09-26 Wim Taymans <wim@fluendo.com>
22273 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22274 (gst_base_src_is_seekable), (gst_base_src_change_state):
22275 Some more debugging info.
22277 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22279 * docs/gst/gstreamer-sections.txt:
22280 * gst/base/gstbasetransform.h:
22284 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22286 * docs/gst/.cvsignore:
22287 * docs/gst/tmpl/.cvsignore:
22288 * docs/gst/tmpl/gstpipeline.sgml:
22289 * docs/gst/tmpl/gstplugin.sgml:
22290 * gst/gstpipeline.c:
22293 inlined the last two docs files
22294 removed the tmpl directory from cvs (no more conflicts here!)
22296 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22298 * docs/gst/gstreamer-sections.txt:
22299 * docs/gst/tmpl/.cvsignore:
22300 * docs/gst/tmpl/gstpad.sgml:
22301 * docs/gst/tmpl/gstpadtemplate.sgml:
22303 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22304 (gst_pad_finalize), (gst_pad_set_pad_template):
22306 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22307 (gst_pad_template_class_init), (gst_pad_template_init),
22308 (gst_pad_template_dispose), (name_is_valid),
22309 (gst_static_pad_template_get), (gst_pad_template_new),
22310 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22311 (gst_pad_template_pad_created):
22312 * gst/gstpadtemplate.h:
22313 inlined two more docs
22314 factored gstpadtemplate out of gstpad
22316 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22318 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22319 (test_children_state_change_order_semi_sink):
22320 Fix test case: we can't rely on a fixed state change order when
22321 going from READY => PAUSED because the sink might commit its
22322 new state first when the first buffer created by the source
22323 reaches the sink before the source has finished its change state.
22324 (Test case still fails at times, see #316856, comment 5 onwards)
22326 2005-09-24 Wim Taymans <wim@fluendo.com>
22328 * docs/design/part-events.txt:
22329 * docs/design/part-gstbus.txt:
22330 * docs/design/part-gstpipeline.txt:
22331 * docs/design/part-messages.txt:
22332 * docs/design/part-overview.txt:
22333 * docs/design/part-segments.txt:
22337 * gst/gstelement.c:
22340 * gst/gstiterator.c:
22341 Various documentation updates.
22343 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22346 Well, that's embarassing. Luckily we weren't using
22347 GST_CLOCK_DIFF anywhere.
22349 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22351 * common/gtk-doc.mak:
22352 don't fail on building XML, FC4 slave shows a bunch of doc
22353 missing bits that I don't get
22355 * gst/gstpipeline.c:
22356 * gst/gststructure.c:
22359 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22361 * docs/design/part-gstbin.txt:
22362 * docs/design/part-gstbus.txt:
22364 Add blurb about how the bus goes into flushing mode and
22365 drops all messages when its bin goes from READY into NULL
22368 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22370 * docs/gst/gstreamer-sections.txt:
22371 * gst/gststructure.c: (gst_structure_get_clock_time):
22372 * gst/gststructure.h:
22373 add a method to get a GstClockTime out of a structure
22375 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22377 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22378 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22379 Added test to check state change order in bins (can still be made
22380 to fail here under heavy disk load; bails out with 'Push on pad
22381 fakesink:sink0, but it was not activated in push mode').
22383 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22384 Fix state change order when there is only a semi sink (#316856)
22386 * gst/gstbus.c: (gst_bus_class_init):
22387 Use _class_peek_parent(), not _class_ref(); fix docs to say
22388 'default main context' instead of 'mainloop' where that is
22391 * gst/gstelement.c: (gst_element_commit_state),
22392 (gst_element_set_state):
22393 Fix typos in debug messages
22395 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22398 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22399 * gst/gstpluginfeature.c:
22401 various doc updates
22402 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22403 change an assert into an error until it gets fixed properly
22405 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22407 * docs/gst/gstreamer-sections.txt:
22408 * docs/gst/tmpl/.cvsignore:
22409 * docs/gst/tmpl/gstelement.sgml:
22410 * docs/gst/tmpl/gstinfo.sgml:
22411 * docs/gst/tmpl/gstobject.sgml:
22412 * gst/gstelement.c:
22413 * gst/gstelement.h:
22416 * gst/gstobject.c: (gst_object_class_init):
22418 inlined 3 more biiiig doc files and added some missing docs on the fly
22420 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22422 * check/gst/.cvsignore:
22423 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22424 * gst/gstregistryxml.c: (load_plugin),
22425 (gst_registry_xml_save_plugin):
22426 put back source in registry. add checks for find_plugin.
22427 * testsuite/states/bin.c: (assert_state), (empty_bin),
22428 (test_adding_one_element), (main):
22429 * testsuite/states/locked.c: (main):
22430 some compile/run fixes
22432 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22434 * check/gst/gstvalue.c: (GST_START_TEST):
22435 fix leaks in the test itself
22437 2005-09-22 Wim Taymans <wim@fluendo.com>
22439 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22440 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22441 (gst_base_sink_query):
22442 Prepare for more accurate position reporting and query
22445 * gst/gstelement.c: (gst_element_send_event),
22446 (gst_element_set_state):
22449 2005-09-22 Wim Taymans <wim@fluendo.com>
22451 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22452 (gst_query_parse_segment):
22454 More documentation.
22455 Add segment query for future use.
22457 2005-09-22 Wim Taymans <wim@fluendo.com>
22459 * gst/gstbin.c: (gst_bin_add_func):
22460 Some more debug info.
22462 * gst/gstelement.c: (gst_element_send_event):
22463 Simplify send_event
22465 * gst/gstelement.h:
22466 Don't know how flags got broken.
22471 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22473 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22474 Add simplistic test suite for GST_TYPE_DATE serialisation and
22477 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22479 * docs/gst/gstreamer-sections.txt:
22480 * gst/gststructure.c: (gst_structure_set_valist),
22481 (gst_structure_get_date):
22482 * gst/gststructure.h:
22483 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22484 (gst_date_copy), (gst_value_compare_date),
22485 (gst_value_serialize_date), (gst_value_deserialize_date),
22486 (gst_value_transform_date_string),
22487 (gst_value_transform_string_date), (_gst_value_initialize):
22489 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22490 bunch of utility functions along with a hack that checks that
22491 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22492 is required. Part of the grand scheme in #170777.
22494 2005-09-22 Andy Wingo <wingo@pobox.com>
22496 * gst/gstconfig.h.in: Psych out gtk-doc.
22498 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22500 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22502 * tools/gst-inspect.c (print_element_list): Plug some
22503 inconsequential leaks.
22505 * gst/gstregistry.c (gst_registry_get_default): Doc.
22507 * check/gst/gstplugin.c:
22508 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22509 * gst/gstelementfactory.c (gst_element_factory_create):
22510 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22513 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22514 (gst_plugin_feature_load): Doc, don't eat refs.
22516 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22517 (gst_plugin_list_free): Doc.
22518 (gst_plugin_load_file): Doc updates.
22520 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22521 accessors returning refcounted objects, return a ref.
22523 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22524 accessor for caps. IDEMPOTENCE. Oh yes.
22526 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22528 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22530 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22531 (_gst_debug_register_funcptr):
22532 Add mutex to serialise access to the hash table with
22533 the function pointer => function name string mapping;
22534 make that hash table static scope (#316809).
22536 * gst/registries/.cvsignore:
22537 Remove left-over file.
22539 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22541 * docs/pwg/appendix-porting.xml:
22542 And something about newsegment events and caps-on-buffers to
22543 the porting guide (feel free to improve).
22545 2005-09-21 Andy Wingo <wingo@pobox.com>
22547 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22548 data and event probes on the same pad.
22549 (test_buffer_probe_once): Test that removing probes from within
22550 the probe functions works.
22552 2005-09-21 Andy Wingo <wingo@pobox.com>
22554 * check/gst/gstutils.c: New file.
22555 (test_buffer_probe_n_times): A simple buffer probe test. More to
22558 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22559 have-data::buffer, not have-data.
22560 (gst_pad_add_event_probe): Likewise for have-data::event.
22561 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22562 peer' isn't quite right yet though.
22563 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22564 (gst_pad_remove_data_probe): Change to take the guint handler_id
22565 as their arg, not the function+data, which is more glib-like.
22567 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22568 the signal emission to indicate if the data is a buffer or an
22570 (gst_pad_get_type): Initialize buffer and event quarks.
22571 (gst_pad_class_init): have-data is now a detailed signal, yes it
22574 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22576 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22577 * gst/gstutils.c: (gst_util_set_value_from_string),
22578 (gst_util_set_object_arg):
22579 Don't put functional code in g_return_if_fail() or
22580 g_return_val_if_fail() statements, otherwise things will
22581 break when G_DISABLE_CHECKS is defined during compilation.
22583 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22585 * docs/gst/tmpl/.cvsignore:
22586 * docs/gst/tmpl/gstvalue.sgml:
22589 inlied another one and added some obvious docs
22591 2005-09-21 Wim Taymans <wim@fluendo.com>
22593 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22594 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22595 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22596 (gst_fdsrc_get_property), (gst_fdsrc_create):
22597 * gst/elements/gstfdsrc.h:
22598 Properly implement fdsrc. Removed signal and timeout,
22599 better implemented somewhere else.
22601 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22603 * docs/gst/tmpl/.cvsignore:
22604 * docs/gst/tmpl/gstimplementsinterface.sgml:
22605 * gst/gstinterface.c:
22608 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22610 * docs/gst/gstreamer-sections.txt:
22611 * docs/gst/tmpl/.cvsignore:
22612 * docs/gst/tmpl/gstenumtypes.sgml:
22613 remove obsolete doc file
22615 2005-09-21 David Schleef <ds@schleef.org>
22617 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22618 little beer, fix a little leak.
22620 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22622 * docs/gst/gstreamer-docs.sgml:
22623 * docs/gst/gstreamer-sections.txt:
22624 * docs/gst/tmpl/.cvsignore:
22628 * gst/gstelement.h:
22629 * gst/gstindex.c: (gst_index_class_init):
22631 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22632 (gst_index_factory_class_init), (gst_index_factory_init),
22633 (gst_index_factory_finalize), (gst_index_factory_new),
22634 (gst_index_factory_destroy), (gst_index_factory_find),
22635 (gst_index_factory_create), (gst_index_factory_make):
22636 * gst/gstindexfactory.h:
22637 * gst/gstpluginfeature.c:
22638 * gst/gstpluginfeature.h:
22639 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22640 more docs inlined, splitted gstindex.{c,h}
22642 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22644 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22647 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22649 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22650 Set sync to FALSE by default.
22652 2005-09-20 Wim Taymans <wim@fluendo.com>
22654 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22655 (gst_base_sink_init):
22656 Make sync property settable from subclass.
22658 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22659 (gst_fake_sink_change_state):
22660 Set sync to FALSE by default.
22662 2005-09-20 Wim Taymans <wim@fluendo.com>
22664 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22665 * tools/gst-launch.c: (main):
22666 The timeout handler should have lower priority than the source
22667 so we don't timeout before popping a message with 0 timeout.
22668 Dump error messages after failed state change.
22670 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22672 * tools/gst-inspect.c: (print_element_properties_info):
22675 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22677 * check/gst/gstevent.c:
22678 * gst/elements/gstfakesink.c:
22679 * gst/elements/gstfakesink.h:
22680 remove the sync property from fakesink.
22681 has the side effect of setting sync TRUE
22682 for fakesink, which is a change. Anyone who knows how
22683 to fix this nicely in a GObject-y way, feel free.
22685 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22687 * docs/gst/gstreamer-docs.sgml:
22688 remove probe refsection
22690 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22692 * check/Makefile.am:
22693 disable valgrinding the controller test again
22694 * docs/gst/gstreamer-sections.txt:
22695 update for api-changes
22697 2005-09-20 Wim Taymans <wim@fluendo.com>
22699 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22700 (gst_base_sink_set_property), (gst_base_sink_get_property),
22701 (gst_base_sink_do_sync):
22702 * gst/base/gstbasesink.h:
22703 Added sync property to basesink to disable clock sync.
22705 2005-09-20 Andy Wingo <wingo@pobox.com>
22707 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22708 eating the caller's refcount.
22710 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22711 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22714 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22715 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22716 of GLib 2.8 public, so we can know which refcount to check in
22719 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22720 (gst_object_init): Only set the gst refcount if we're going ahead
22721 with the refcount hack.
22723 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22725 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22726 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22727 more leaks plumbed, added more debug-logging
22731 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22733 * gst/gstmessage.c:
22734 remove include of gstmemchunk.h
22736 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22738 * gst/gstclock.c: (_gst_clock_id_free):
22739 Commit from the Political Party For More Atomic CVS Commits,
22740 so that people don't waste too much of their day fishing
22741 out obvious leaks out of massive commits.
22742 Oh, and fix a pretty damn obvious leak in the memchunk
22745 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22747 * check/Makefile.am:
22748 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22749 plug mem-leak, re-add to valgrindable tests
22751 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22754 unbreak the build for those who have chronic arthritis
22755 and typing "make check" is just too taxing on the hands
22757 2005-09-20 Andy Wingo <wingo@pobox.com>
22759 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22760 really want it out, you should fix plugins at the same time.
22762 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22765 * docs/gst/gstreamer-sections.txt:
22767 added missing symbols to api docs
22768 disable ref-count hack if we have glib >= 2.8
22770 2005-09-19 David Schleef <ds@schleef.org>
22772 * docs/gst/Makefile.am: Ignore a few more internal headers
22773 * docs/gst/gstreamer-docs.sgml: Remove old sections
22774 * docs/gst/gstreamer-sections.txt: Remove old sections
22775 * docs/gst/tmpl/gstobject.sgml: update
22776 * docs/gst/tmpl/gstplugin.sgml: update
22777 * docs/gst/tmpl/gstpluginfeature.sgml: update
22778 * docs/random/ds/0.9-suggested-changes: update.
22779 * gst/Makefile.am: remove memchunk and trashstack, since they're
22781 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22782 * gst/gst.h: don't include some headers
22783 * gst/gstchildproxy.c: add gstmarshal.h
22784 * gst/gstclock.c: Don't use memchunks
22785 * gst/gstminiobject.c: Add some docs
22786 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22787 * gst/gstobject.h: same
22788 * gst/gstplugin.c: include gstmacros.h
22789 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22790 * gst/gstquery.c: don't use memchunks
22791 * gst/gstregistry.c: rename gst_registry_deinit()
22792 * gst/gstregistry.h: same
22794 2005-09-19 David Schleef <ds@schleef.org>
22796 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22797 * docs/libs/gstreamer-libs-sections.txt:
22798 * docs/libs/tmpl/gstgetbits.sgml:
22799 * docs/libs/tmpl/gstputbits.sgml:
22801 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22803 * win32/gstenumtypes.c:
22804 * win32/gstenumtypes.h:
22807 2005-09-19 Wim Taymans <wim@fluendo.com>
22809 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22810 Automatically PAUSE and RESUME a pipeline when a flushing seek
22813 2005-09-19 Andy Wingo <wingo@pobox.com>
22815 * gst/gstregistry.h: Spacing fixen.
22817 2005-09-19 Wim Taymans <wim@fluendo.com>
22819 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22820 Handle state change failure more correctly.
22822 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22824 * check/Makefile.am:
22825 * check/pipelines/cleanup.c: (run_pipeline):
22826 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22828 enable cleanup again after fixing the leak
22830 some more info on docs
22832 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22834 * check/Makefile.am:
22835 re-enable tests now that leaks are plugged
22837 * check/gst/gstbin.c:
22838 * check/gst/gstpipeline.c:
22839 add some more tests while fixing leaks
22840 * common/check.mak:
22841 make sure binaries are uptodate when valgrinding/gdbing
22843 * gst/gstelementfactory.c:
22844 remove a ref too many, and add a FIXME for when we get
22845 round to disposing of classes
22847 fix the refcounting when loading a plugin from a file and
22848 the code pretends that the pointer is the same even though
22849 of course it can change
22850 * gst/gstpluginfeature.c:
22851 unref plugins marked cached (a bit confusing as a name)
22852 as the docs state should be done
22853 various doc additions to explain refcounting
22854 * gst/gstregistry.c:
22855 * gst/gstregistryxml.c:
22858 2005-09-19 Wim Taymans <wim@fluendo.com>
22860 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22861 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22862 (send_messages), (GST_START_TEST), (gstbus_suite):
22863 * check/gst/gstpipeline.c: (GST_START_TEST):
22864 * check/pipelines/cleanup.c: (run_pipeline):
22865 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22867 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22868 (gst_bus_source_check), (gst_bus_source_dispatch),
22869 (gst_bus_create_watch), (gst_bus_add_watch_full),
22870 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22872 * tools/gst-launch.c: (event_loop):
22873 * tools/gst-md5sum.c: (event_loop):
22874 GstBusHandler -> GstBusFunc, return value has the same meaning as
22875 any other GSource (FALSE == remove source).
22876 _add_watch() and _add_watch_full() now take a MessageType mask to
22877 only handle specific types of messages.
22878 _poll() returns the GstMessage instead of the message type to avoid
22880 _have_pending() takes a MessageType mask now too.
22881 Added testsuite for multiple bus watches.
22882 Fix testsuites and applications for new bus API.
22884 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22886 * check/Makefile.am:
22887 mark a bunch of the tests as to fix until we fix them
22889 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22891 * common/check.mak:
22892 use GST_PLUGIN settings for valgrind tests as well, so we're
22893 valgrinding the correct thing
22894 * gst/gst.c: (init_post):
22897 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22899 * gst/gst.c: (init_post), (gst_deinit):
22900 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22901 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22902 * gst/gstindex.c: (gst_index_factory_class_init),
22903 (gst_index_factory_finalize):
22904 * gst/gstobject.c: (gst_object_dispose):
22905 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22906 (gst_plugin_load_file), (gst_plugin_desc_free):
22907 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22908 (gst_plugin_feature_finalize):
22909 * gst/gstregistry.c: (gst_registry_class_init),
22910 (gst_registry_init), (gst_registry_finalize),
22911 (gst_registry_get_default), (gst_registry_deinit):
22912 * gst/gstregistry.h:
22913 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22914 various cleanups and memleak plugging. make valgrind is happy now.
22916 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22918 * common/check.mak:
22919 add a check-valgrind target
22921 2005-09-18 David Schleef <ds@schleef.org>
22923 * tools/gst-inspect.c: Revert the GOption code.
22925 2005-09-17 David Schleef <ds@schleef.org>
22927 * check/Makefile.am: Fix environment variables.
22928 * check/gst/gstplugin.c: Fix for API changes.
22929 * tools/gst-inspect.c: Fix for API changes.
22930 * tools/gst-xmlinspect.c: Fix for API changes.
22931 * gst/gstelementfactory.c:
22934 * gst/gstpluginfeature.c:
22935 * gst/gstpluginfeature.h:
22936 * gst/gstregistry.c:
22937 * gst/gstregistry.h:
22938 * gst/gstregistryxml.c:
22939 * gst/gsttypefind.c:
22940 * gst/gsttypefindfactory.c:
22941 * gst/indexers/gstfileindex.c:
22942 * gst/indexers/gstmemindex.c:
22943 * gst/schedulers/Makefile.am:
22944 Change registry to keep track of both plugins and features,
22945 removing the feature tracking from plugins themselves.
22947 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22949 * check/Makefile.am:
22950 * tools/gst-register.1.in:
22951 remove gst-register
22953 2005-09-15 David Schleef <ds@schleef.org>
22955 * check/gst/gstplugin.c:
22956 * gst/gstelementfactory.c:
22958 * gst/gstpluginfeature.c:
22959 * gst/gstregistry.c:
22960 Getting tired of debugging. Disabled all the unreffing of
22961 plugins and features, which fixes the segfaults, but of
22962 course leaks like crazy. At least playbin works.
22964 2005-09-15 David Schleef <ds@schleef.org>
22966 * check/gst/gstplugin.c: (register_check_elements),
22967 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22969 * gst/elements/gsttypefindelement.c: Fix refcounting.
22970 * gst/gsttypefind.c:
22971 * gst/gsttypefindfactory.c:
22972 * gst/gsttypefindfactory.h:
22974 2005-09-15 David Schleef <ds@schleef.org>
22976 * gst/gstindex.c: get refcounting correct.
22977 * gst/gstregistry.c: Handle the case where a feature/plugin is
22980 2005-09-15 David Schleef <ds@schleef.org>
22982 * check/Makefile.am:
22983 * check/gst/gstplugin.c: Add test
22984 * gst/gstplugin.c: Fix problems noticed by testsuite
22986 * gst/gstregistry.c:
22987 * gst/gstregistry.h:
22989 2005-09-15 David Schleef <ds@schleef.org>
22991 * gst/gstplugin.c: Implement semi-decent recounting and locking
22992 in plugins and plugin features.
22994 * gst/gstpluginfeature.c:
22995 * gst/gstpluginfeature.h:
22996 * gst/gstregistry.c:
22998 2005-09-15 Michael Smith <msmith@fluendo.com>
23000 * gst/gstregistry.c: (gst_registry_get_feature_list):
23001 Implement this. Makes oggdemux work; decodebin still broken.
23003 2005-09-14 David Schleef <ds@schleef.org>
23005 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23007 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23008 * gst/check/Makefile.am:
23009 * libs/gst/controller/Makefile.am:
23010 * libs/gst/dataprotocol/Makefile.am:
23012 2005-09-14 David Schleef <ds@schleef.org>
23014 * configure.ac: Remove getbits library. Nothing uses it, and
23015 it should be in something like liboil if someone did want
23017 * libs/gst/Makefile.am:
23018 * libs/gst/getbits/Makefile.am:
23019 * libs/gst/getbits/gbtest.c:
23020 * libs/gst/getbits/getbits.c:
23021 * libs/gst/getbits/getbits.h:
23022 * libs/gst/getbits/gstgetbits_generic.c:
23023 * libs/gst/getbits/gstgetbits_i386.s:
23024 * libs/gst/getbits/gstgetbits_inl.h:
23026 2005-09-14 David Schleef <ds@schleef.org>
23028 * gst/Makefile.am: Dist glib-compat.h
23030 2005-09-14 David Schleef <ds@schleef.org>
23032 * configure.ac: Remove gst/registries, since it's no longer used.
23033 * gst/registries/Makefile.am:
23034 * gst/registries/gstlibxmlregistry.c:
23035 * gst/registries/gstlibxmlregistry.h:
23036 * gst/registries/gstxmlregistry.c:
23037 * gst/registries/gstxmlregistry.h:
23038 * gst/registries/registrytest.c:
23040 2005-09-14 David Schleef <ds@schleef.org>
23042 * gst/glib-compat.h:
23043 * gst/gstregistryxml.c:
23044 Convergence is near. Seriously.
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:
23050 Attempt #4 to appease the buildbots.
23052 2005-09-14 David Schleef <ds@schleef.org>
23054 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23057 2005-09-14 David Schleef <ds@schleef.org>
23059 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23062 2005-09-14 David Schleef <ds@schleef.org>
23064 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23067 2005-09-14 David Schleef <ds@schleef.org>
23069 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23070 * gst/glib-compat.h: Add some functions that are in newer versions
23071 of glib than we care to require.
23072 * gst/gstregistryxml.c: Use them.
23074 2005-09-14 David Schleef <ds@schleef.org>
23076 * po/POTFILES.in: remove gst-register.c
23078 2005-09-14 David Schleef <ds@schleef.org>
23080 * docs/gst/gstreamer-docs.sgml:
23081 * docs/gst/gstreamer-sections.txt:
23082 * docs/gst/gstreamer.types:
23083 * docs/gst/tmpl/gstelement.sgml:
23084 * docs/gst/tmpl/gstplugin.sgml:
23085 * docs/gst/tmpl/gstpluginfeature.sgml:
23086 Documentation updates for registry changes.
23088 2005-09-14 David Schleef <ds@schleef.org>
23090 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23091 because we don't require glib-2.8.
23093 2005-09-14 David Schleef <ds@schleef.org>
23095 * gst/gstregistryxml.c: Added. Essentially moved out of the
23096 registries directory.
23098 2005-09-14 David Schleef <ds@schleef.org>
23100 * check/Makefile.am:
23101 * check/generic/states.c:
23105 * gst/gst_private.h:
23106 * gst/gstelementfactory.c:
23111 * gst/gstpluginfeature.c:
23112 * gst/gstpluginfeature.h:
23113 * gst/gstregistry.c:
23114 * gst/gstregistry.h:
23115 * gst/gstregistrypool.c: remove
23116 * gst/gstregistrypool.h: remove
23117 * gst/gsttypefind.c:
23118 * gst/gsttypefindfactory.c:
23120 * tools/Makefile.am:
23121 * tools/gst-compprep.c:
23122 * tools/gst-inspect.c:
23123 * tools/gst-register.c: remove
23124 * tools/gst-xmlinspect.c:
23125 Registry rewrite. Changes registry from being a file created
23126 by a tool into a simple cache file created automatically by
23127 libgstreamer. Removed gst-register (because it's no longer
23128 needed). Remove registry pools, because we only have one
23129 registry implementation (XML). Fix up other subsystems as
23132 2005-09-13 Michael Smith <msmith@fluendo.com>
23134 * gst/gstconfig.h.in:
23135 Don't Use windows linking attributes for MinGW. Fixes #316157
23137 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23139 * gst/gstutils.c: (set_state_async_thread_func),
23140 (gst_element_set_state_async):
23141 Apparently people think it's better if this function doesn't
23142 try to set the state to whatever state was asked for on the first
23143 call to this function for any object. Seriously.
23145 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23147 * check/gst/gstpipeline.c: (GST_START_TEST):
23148 * docs/gst/gstreamer-sections.txt:
23149 * gst/gstutils.c: (set_state_async_thread_func),
23150 (gst_element_set_state_async):
23152 add a "gst_element_set_state_async" method that
23153 sets the state and starts a thread to make sure the state
23154 change completes as best as it can
23156 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23158 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23159 codify design+behaviour in testsuite after discussion
23161 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23163 * docs/gst/tmpl/gstelement.sgml:
23164 * docs/manual/appendix-quotes.xml:
23166 * gst/gstelement.c: (gst_element_set_state):
23169 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23171 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23172 (gst_base_transform_prepare_output_buf),
23173 (gst_base_transform_handle_buffer):
23174 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23175 (gst_capsfilter_prepare_buf):
23176 Remove the requirement for sub-classes to call the parent
23177 implementation of prepare_output_buffer with a wrapper function.
23179 * gst/gsttaglist.h:
23180 * gst/gsttagsetter.h:
23181 Fix #define wrapper
23183 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23185 * docs/gst/gstreamer-sections.txt:
23188 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23190 * docs/gst/gstreamer-sections.txt:
23191 * docs/gst/tmpl/gstelement.sgml:
23192 * docs/gst/tmpl/gstplugin.sgml:
23193 * gst/gstminiobject.c:
23195 docs now stop throwing warnings
23197 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23199 * docs/gst/gstreamer-sections.txt:
23200 * docs/gst/gstreamer.types:
23201 * docs/gst/tmpl/gstpad.sgml:
23202 * docs/gst/tmpl/gsttypes.sgml:
23203 * gst/base/gstadapter.h:
23204 * gst/base/gstbasesink.h:
23205 * gst/base/gstbasesrc.h:
23211 * gst/gstelement.h:
23213 * gst/gstmessage.h:
23215 * gst/gststructure.c:
23216 * gst/registries/gstlibxmlregistry.h:
23217 various documentation fixes
23219 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23221 * docs/gst/gstreamer-sections.txt:
23222 * docs/gst/tmpl/gstvalue.sgml:
23223 rearrange gstvalue section
23224 * gst/gstutils.c: (gst_element_state_get_name):
23226 * gst/gstvalue.c: (_gst_value_initialize):
23230 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23232 * check/gst-libs/controller.c:
23233 Header include fix.
23234 * gst/base/gstbasetransform.c:
23235 (gst_base_transform_default_prepare_buf),
23236 (gst_base_transform_handle_buffer):
23237 * gst/base/gstbasetransform.h:
23238 Some more basetransform changes and fixes to enable sub-classes
23239 that modify buffer metadata only.
23240 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23241 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23242 (gst_capsfilter_prepare_buf):
23243 If the output pad has fixed allowed caps and input buffers
23244 don't have any, set the fixed caps on outgoing buffers.
23246 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23247 * check/elements/identity.c: (GST_START_TEST):
23248 Make the error a little clearer when the test fails because
23249 identity made a copy of the buffer.
23250 * docs/gst/gstreamer-sections.txt:
23251 New symbols in gstbasetransform.h
23252 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23253 (gst_base_transform_init), (gst_base_transform_transform_size),
23254 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23255 (gst_base_transform_default_prepare_buf),
23256 (gst_base_transform_get_unit_size),
23257 (gst_base_transform_buffer_alloc),
23258 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23259 (gst_base_transform_change_state),
23260 (gst_base_transform_set_passthrough),
23261 (gst_base_transform_set_in_place),
23262 (gst_base_transform_is_in_place):
23263 * gst/base/gstbasetransform.h:
23264 Change BaseTransform to separate in_place operate from same_caps
23265 output. in_place implies that the element can perform the transform
23266 on incoming buffers in-place, even if the caps on the output are
23268 Sub-class elements can now implement special buffer allocation
23269 methods for outgoing buffers if they wish to.
23270 Big documentation addition.
23271 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23272 * gst/elements/gstelements.c:
23273 Changes for basetransform modifications.
23274 * gst/elements/Makefile.am:
23275 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23276 Compile fix. Extra debug output.
23278 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23280 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23282 add tests for valid pad naming
23283 * gst/check/gstcheck.c: (gst_check_log_message_func),
23284 (gst_check_log_critical_func):
23286 remove printing of code, it is fragile when the code contains
23287 % and the line number is enough info
23288 * gst/check/gstcheck.h:
23289 * gst/gstpad.c: (gst_pad_template_new):
23292 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23295 say what CHECK flags we use
23296 * docs/libs/gstreamer-libs.types:
23297 * libs/gst/controller/Makefile.am:
23298 * libs/gst/controller/gst-controller.c:
23299 * libs/gst/controller/gst-controller.h:
23300 * libs/gst/controller/gst-helper.c:
23301 * libs/gst/controller/gst-interpolation.c:
23302 * libs/gst/controller/gstcontroller.c:
23303 * libs/gst/controller/gsthelper.c:
23304 * libs/gst/controller/gstinterpolation.c:
23305 * tools/gst-inspect.c: (print_plugin_info):
23306 we don't use dashes in header names
23308 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23310 * check/Makefile.am:
23311 * check/gst/.cvsignore:
23312 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23313 (gst_pipeline_suite), (main):
23314 adding a test for pipelines and state changes
23315 * gst/gstutils.c: (get_state_func):
23317 * gstreamer.spec.in:
23320 2005-09-08 Michael Smith <msmith@fluendo.com>
23322 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23323 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23324 (gst_file_src_is_seekable), (gst_file_src_get_size),
23325 (gst_file_src_start):
23326 * gst/elements/gstfilesrc.h:
23327 Various fixes for unseekable, unmmapable, and non-normal files, so
23328 that fallback to read() rather than mmap() works.
23329 * gst/gstevent.c: (gst_event_new_newsegment):
23330 Allow newsegment events with segment_start == segment_end, as will
23331 correctly happen if you use filesrc on a zero-size file, for
23334 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23336 * gst/gstplugin.c: (gst_plugin_load_file):
23337 Call g_module_close when we don't load the module
23339 * gst/registries/gstlibxmlregistry.c:
23340 (gst_xml_registry_get_property):
23341 Port leak fix from 0.8
23343 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23345 * docs/gst/gstreamer-docs.sgml:
23346 * docs/gst/tmpl/.cvsignore:
23347 * docs/gst/tmpl/gsttrace.sgml:
23348 * docs/gst/tmpl/gsttrashstack.sgml:
23351 * gst/gstelement.h:
23353 * gst/gstmessage.c:
23354 * gst/gstmessage.h:
23357 * gst/gsttaginterface.c:
23358 * gst/gsttaginterface.h:
23359 * gst/gsttaglist.c:
23360 * gst/gsttaglist.h:
23361 * gst/gsttagsetter.c:
23362 * gst/gsttagsetter.h:
23365 * gst/gsttrashstack.c:
23366 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23367 inlined docs for gsttrace, gsttrashstack
23369 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23372 * gst/elements/gstbufferstore.h:
23373 * gst/elements/gsttypefindelement.c:
23374 * gst/elements/gsttypefindelement.h:
23376 * gst/gsttypefind.c:
23377 * gst/gsttypefind.h:
23378 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23379 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23380 (gst_type_find_factory_dispose),
23381 (gst_type_find_factory_unload_thyself),
23382 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23383 (gst_type_find_factory_get_caps),
23384 (gst_type_find_factory_get_extensions),
23385 (gst_type_find_factory_call_function):
23386 * gst/gsttypefindfactory.h:
23387 * gst/registries/gstlibxmlregistry.c:
23388 * gst/registries/gstxmlregistry.c:
23389 splitted gsttypefind into gsttypefind, gsttypefindfactory
23391 2005-09-07 Andy Wingo <wingo@pobox.com>
23393 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23394 condition whereby the pad's task function is entered before the
23395 pad_mode variable was set.
23397 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23399 * gst/gstpad.c: (gst_pad_alloc_buffer):
23400 Catch misbehaving pad_alloc functions that don't
23401 set up caps and do it for them.
23403 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23405 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23406 test for pipe!=NULL
23407 * docs/gst/tmpl/.cvsignore:
23408 * docs/gst/tmpl/gstmemchunk.sgml:
23409 * docs/gst/tmpl/gstparse.sgml:
23410 * docs/gst/tmpl/gsttaglist.sgml:
23411 * docs/gst/tmpl/gsttagsetter.sgml:
23412 * docs/gst/tmpl/gsttypefind.sgml:
23413 * docs/gst/tmpl/gsttypefindfactory.sgml:
23414 * gst/gstmemchunk.c:
23417 * gst/gsttaginterface.c:
23418 * gst/gsttypefind.c:
23419 * gst/gsttypefind.h:
23422 === release 0.9.2 ===
23424 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23429 releasing 0.9.2, "South"
23431 2005-09-05 Andy Wingo <wingo@pobox.com>
23433 * gst/registries/gstxmlregistry.h:
23434 * gst/registries/gstxmlregistry.c: Um... resurrect...
23436 * gst/registries/gstxmlregistry.h:
23437 * gst/registries/gstxmlregistry.c: and update to newer API.
23438 Incidentally they should be a bit faster now that they don't have
23441 2005-09-05 Andy Wingo <wingo@pobox.com>
23443 * gst/registries/gstxmlregistry.h:
23444 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23445 replaced by the libxml registry a while back
23447 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23449 * docs/gst/tmpl/gstplugin.sgml:
23450 * gst/elements/gstelements.c:
23452 * gst/gstplugin.c: (gst_plugin_register_func),
23453 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23454 (gst_plugin_get_source):
23456 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23457 (gst_xml_registry_save_plugin):
23458 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23459 (gst_xml_registry_save_plugin):
23460 * tools/gst-inspect.c: (print_plugin_info):
23461 add a "source" plugin description field, to represent the source
23462 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23463 will set it to PACKAGE, which is automake's idea of the name of
23464 the source project.
23466 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23471 * docs/Makefile.am:
23472 * docs/faq/Makefile.am:
23473 * docs/gst/tmpl/gstelement.sgml:
23474 * docs/gst/tmpl/gsttypes.sgml:
23475 * docs/htmlinstall.mak:
23476 * docs/manual/Makefile.am:
23477 * docs/pwg/Makefile.am:
23478 reorganize doc build a little
23479 split out docbook and gtk-doc stuff
23480 have two separate --enable's and enable them through autogen
23481 but disable by default in configure (to be similar to other
23483 * gstreamer.spec.in:
23484 clean up docs install
23502 translation updates
23504 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23506 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23509 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23510 (gst_fake_sink_change_state):
23511 Make state change function thread-safe.
23513 * gst/gstpad.c: (gst_pad_alloc_buffer):
23514 Set offset on generic buffer allocated by fallback.
23516 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23518 * docs/gst/gstreamer-sections.txt:
23519 * docs/gst/tmpl/gstelement.sgml:
23521 * libs/gst/controller/gst-controller.c:
23522 (gst_controlled_property_set_interpolation_mode),
23523 (gst_controlled_property_new),
23524 (gst_controller_find_controlled_property):
23525 run the wingo-magic script against the docs
23527 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23529 * docs/gst/gstreamer-docs.sgml:
23530 * docs/gst/gstreamer-sections.txt:
23531 * docs/gst/tmpl/.cvsignore:
23532 * docs/gst/tmpl/gstelementdetails.sgml:
23533 * docs/gst/tmpl/gstelementfactory.sgml:
23536 * gst/gstelementfactory.c:
23537 * gst/gstelementfactory.h:
23538 merged elementdetails docs into elementfactory docs
23541 2005-09-02 Andy Wingo <wingo@pobox.com>
23543 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23544 consider this enum an enum and not a flags.
23546 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23548 * docs/gst/gstreamer-docs.sgml:
23549 * docs/gst/tmpl/.cvsignore:
23550 * docs/gst/tmpl/gstghostpad.sgml:
23551 * docs/gst/tmpl/gstiterator.sgml:
23552 * docs/gst/tmpl/gstmacros.sgml:
23553 * docs/gst/tmpl/gstrealpad.sgml:
23554 * docs/gst/tmpl/gstregistry.sgml:
23555 * docs/gst/tmpl/gstregistrypool.sgml:
23556 * docs/gst/tmpl/gststructure.sgml:
23557 * docs/gst/tmpl/gstsystemclock.sgml:
23558 * docs/gst/tmpl/gsttrace.sgml:
23559 * gst/gstghostpad.c:
23561 * gst/gstmemchunk.c:
23562 * gst/gstmemchunk.h:
23564 * gst/gstregistry.c:
23565 * gst/gstregistrypool.c:
23566 * gst/gststructure.c:
23567 * gst/gstsystemclock.c:
23570 2005-09-02 Andy Wingo <wingo@pobox.com>
23572 * gst/gstelement.h (GstState): Renamed from GstElementState,
23573 changed to be a normal enum instead of flags.
23574 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23575 munged to be GST_STATE_CHANGE_*.
23576 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23577 work with the new state representation.
23578 (GstStateChange): New enumeration of possible state transitions.
23579 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23580 (GstElementClass::change_state): Pass the GstStateChange along as
23581 an argument. Helps language bindings, so they don't have to use
23582 tricky lock-needing macros like GST_STATE_CHANGE ().
23584 * scripts/update-states (file): New script. Run it on a file to
23585 update it for state naming and API changes. Updates files in
23588 * All files updated for the new API.
23590 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23592 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23593 * gst/gstutils.c: (gst_util_set_value_from_string),
23594 (gst_util_set_object_arg):
23595 fix a bunch of unchecked return values
23596 * tools/gst-complete.c: (main):
23597 * gstreamer.spec.in:
23600 2005-09-01 Wim Taymans <wim@fluendo.com>
23602 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23603 (gst_base_sink_event), (gst_base_sink_do_sync),
23604 (gst_base_sink_handle_event):
23605 * gst/base/gstbasesink.h:
23606 Handle newsegments more correctly.
23611 * gst/gstevent.c: (gst_event_new_newsegment):
23612 A newsegment cannot have a start_time of -1
23614 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23616 * win32/gstenumtypes.c:
23617 * win32/gstenumtypes.h:
23620 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23622 * libs/gst/controller/gst-controller.c:
23623 (gst_controlled_property_set_interpolation_mode),
23624 (gst_controlled_property_new):
23625 fixed boolean again
23627 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23629 * docs/faq/gst-uninstalled:
23634 * gst/gstutils.c: (gst_element_link_filtered):
23636 add gst_element_link_filtered
23638 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23640 * docs/gst/gstreamer-docs.sgml:
23641 * docs/gst/gstreamer-sections.txt:
23642 * docs/gst/tmpl/.cvsignore:
23643 * docs/gst/tmpl/gsterror.sgml:
23644 * docs/gst/tmpl/gstfilter.sgml:
23645 * docs/gst/tmpl/gsturihandler.sgml:
23646 * docs/gst/tmpl/gsturitype.sgml:
23647 * docs/gst/tmpl/gstutils.sgml:
23648 * docs/gst/tmpl/gstxml.sgml:
23653 * gst/gsturitype.c:
23656 inlined more docs, fixed double id-ref
23658 2005-08-31 Wim Taymans <wim@fluendo.com>
23660 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23661 (gst_base_transform_handle_buffer):
23662 Passthrough elements don't need the caps as they don't care.
23664 2005-08-31 Wim Taymans <wim@fluendo.com>
23666 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23667 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23668 Don't leak refcounts on buffers.
23670 2005-08-31 Wim Taymans <wim@fluendo.com>
23672 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23673 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23674 (gst_base_transform_chain), (gst_base_transform_change_state):
23675 * gst/base/gstbasetransform.h:
23676 Handle the case where we are not negotiated more gracefully.
23678 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23680 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23681 (gst_file_src_map_region):
23682 Set READONLY flag on mmap'ed buffers, otherwise
23683 gst_buffer_make_writable() won't work properly (#314708).
23685 2005-08-31 Wim Taymans <wim@fluendo.com>
23687 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23688 passthrough elements can even do inplace on non writable
23689 buffers (as they don't touch them).
23691 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23693 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23694 (gst_test_mono_source_set_property),
23695 (gst_test_mono_source_class_init), (GST_START_TEST),
23696 (gst_controller_suite):
23697 more tests (hehe I have the most)
23699 describe popping messages whenusing mulltiple sources
23700 * libs/gst/controller/gst-controller.c:
23701 (gst_controlled_property_set_interpolation_mode),
23702 (gst_controlled_property_new):
23703 * libs/gst/controller/gst-controller.h:
23704 * libs/gst/controller/gst-interpolation.c:
23705 implement boolean properties
23707 2005-08-31 Wim Taymans <wim@fluendo.com>
23709 * gst/gstminiobject.c: (gst_mini_object_ref):
23710 Cannot assert that the refcount has to be positive
23711 since a disposed object can be resurrected.
23713 2005-08-31 Wim Taymans <wim@fluendo.com>
23715 * gst/gstpad.c: (gst_pad_init):
23716 Revert change, need to first fix badly behaving
23719 2005-08-30 Wim Taymans <wim@fluendo.com>
23721 * check/elements/fakesrc.c: (setup_fakesrc):
23722 * check/elements/identity.c: (setup_identity):
23723 Activate pads before using them.
23725 2005-08-30 Wim Taymans <wim@fluendo.com>
23727 * gst/base/gstadapter.c: (gst_adapter_flush):
23728 Flushing out 0 bytes is ok for this function.
23730 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23731 no newsegment gives a warning and sets the start/stop to
23734 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23735 (gst_base_transform_set_passthrough):
23738 * gst/gstminiobject.c: (gst_mini_object_ref):
23739 Check refcount here too.
23741 * gst/gstpad.c: (gst_pad_init):
23742 Pads are initially flushing and refusing data.
23744 * gst/gstutils.c: (gst_element_link_pads_filtered):
23745 When adding a capsfilter element make sure it has the
23746 same state as the parent bin.
23748 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23750 * docs/gst/tmpl/.cvsignore:
23751 * docs/gst/tmpl/gstformat.sgml:
23752 * docs/gst/tmpl/gstversion.sgml:
23756 * gst/gstversion.h.in:
23757 more docs and two more inlined
23759 2005-08-30 Wim Taymans <wim@fluendo.com>
23761 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23762 Don't sync to clock.
23764 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23766 * docs/gst/gstreamer-sections.txt:
23767 ultral33t func10ns deserve to appear in the docs actually
23768 * docs/gst/tmpl/.cvsignore:
23769 * docs/gst/tmpl/gstcompat.sgml:
23770 * docs/gst/tmpl/gstconfig.sgml:
23771 * gst/check/gstcheck.c:
23773 * gst/gstconfig.h.in:
23776 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23778 * docs/gst/tmpl/.cvsignore:
23779 * docs/gst/tmpl/gstquery.sgml:
23780 * docs/gst/tmpl/gstutils.sgml:
23783 inlined and extended docs
23785 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23787 * check/gst-libs/controller.c: (GST_START_TEST),
23788 (gst_controller_suite):
23790 * docs/gst/tmpl/gstutils.sgml:
23791 * docs/libs/gstreamer-libs-sections.txt:
23792 * docs/libs/tmpl/gstdataprotocol.sgml:
23794 * examples/controller/audio-example.c: (main):
23795 controller example works now
23798 * tools/gst-inspect.c: (print_element_properties_info):
23799 show param spec flags
23801 2005-08-29 Andy Wingo <wingo@pobox.com>
23803 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23805 2005-08-28 Andy Wingo <wingo@pobox.com>
23807 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23808 as having two arguments instead of just one. Allows superclasses
23809 to access information on subclasses -- see the terrible for() loop
23810 in gtype.c:g_type_create_instance for the reason why. All callers
23813 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23815 * docs/design/part-messages.txt:
23817 * docs/gst/tmpl/.cvsignore:
23818 * docs/gst/tmpl/gstcaps.sgml:
23819 * docs/gst/tmpl/gstclock.sgml:
23825 * gst/gstmessage.c:
23826 added descriptions for bus and message
23827 inline caps and clock docs
23829 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23831 * gst/gstmessage.c:
23832 * gst/gstmessage.h:
23835 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23837 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23840 2005-08-26 Andy Wingo <wingo@pobox.com>
23842 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23843 element_set_state's return val.
23844 (test_2_elements): Add test that's been disabled for months.
23846 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23847 can-activate-pull properties.
23849 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23850 can-activate-pull properties. Implement is_seekable so fakesrc can
23851 operate in pull mode.
23853 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23855 (gst_base_sink_activate, gst_base_sink_activate_pull)
23856 (gst_base_sink_activate_push): Make activation mode choosing work.
23858 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23859 is right. Make pull mode work. Post an eos before pausing in pull
23861 (gst_base_sink_change_state): Pay attention to the core's
23862 change_state() return val.
23864 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23865 has-getrange properties. Cleanups.
23867 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23868 has_getrange and replace with can_activate_pull and
23871 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23872 locking comments. Remove has_loop, has_chain and replace with
23873 can_activate_pull and can_activate_push.
23875 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23878 * examples/Makefile.am:
23879 * examples/metadata/Makefile.am:
23880 * examples/metadata/read-metadata.c: (message_loop),
23881 (have_pad_handler), (make_pipeline), (print_tag), (main):
23882 Add metadata reading example that loops over a list of filenames,
23883 dumping any tags found.
23885 * gst/gstbus.c: (gst_bus_dispose):
23886 * gst/gstelement.c: (gst_element_dispose):
23887 Release a few potentially-held references in dispose.
23889 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23891 * docs/gst/tmpl/gstminiobject.sgml:
23892 do *not* add tmpl/*.sgml files to CVS!
23894 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23896 * libs/gst/bytestream/.cvsignore:
23897 * libs/gst/bytestream/Makefile.am:
23898 * libs/gst/bytestream/adapter.c:
23899 * libs/gst/bytestream/adapter.h:
23900 * libs/gst/bytestream/bytestream.c:
23901 * libs/gst/bytestream/bytestream.h:
23902 * libs/gst/bytestream/filepad.c:
23903 * libs/gst/bytestream/filepad.h:
23904 removing obsolete files
23906 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23908 * docs/gst/gstreamer-docs.sgml:
23909 * docs/libs/gstreamer-libs-docs.sgml:
23910 disabed additional index entries again, as this makes docs-gen just
23911 slow and they aren't useful yet
23912 * docs/libs/gstreamer-libs-sections.txt:
23913 little -section.txt cleanup for libs
23915 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23918 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23919 fix up some debugging
23920 (gst_base_transform_get_unit_size),
23921 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23922 (gst_base_transform_handle_buffer):
23923 * gst/base/gstbasetransform.h:
23924 handle and store timed NEWSEGMENT events so that subclasses that
23925 calculate time by counting samples have a segment_start time they
23926 need to add to their timestamps - see audioresample
23928 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23931 removed ';' from the end of macro defs
23932 * docs/gst/gstreamer-docs.sgml:
23933 * docs/gst/gstreamer-sections.txt:
23934 * docs/gst/tmpl/.cvsignore:
23936 * gst/gstelement.c: (gst_element_class_init),
23937 (gst_element_set_state), (activate_pads),
23938 (gst_element_save_thyself):
23939 * gst/gstevent.c: (gst_event_new_newsegment):
23941 * gst/gstiterator.c:
23942 * gst/gstiterator.h:
23945 * gst/gstutils.c: (gst_pad_query_convert):
23947 fixed parameter name mismatches between source, header and docs
23948 added some more docs, resolved the last batch of unused elements in
23949 docs (now someone needs to doc them)
23951 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23953 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23954 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23955 don't walk through the plugins backwards. Where is all this
23956 reversed logic coming from ?
23958 2005-08-25 Wim Taymans <wim@fluendo.com>
23960 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23961 (gst_base_transform_transform_size),
23962 (gst_base_transform_configure_caps),
23963 (gst_base_transform_get_unit_size),
23964 (gst_base_transform_buffer_alloc),
23965 (gst_base_transform_change_state):
23966 * gst/base/gstbasetransform.h:
23967 Cache caps unit_size.
23968 Make sure we cannot negotiate up and downstream at the
23971 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23973 * gst/gst.c: (init_pre), (init_post):
23974 register the installed plugin path after the env var
23975 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23976 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23977 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23978 directories, so the tests can prefer uninstalled over installed
23980 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23982 * gst/base/gstbasetransform.h:
23987 2005-08-25 Wim Taymans <wim@fluendo.com>
23989 * gst/gstbin.c: (bin_bus_handler):
23990 Be a bit more conservative about the posted message.
23992 * gst/gstbus.c: (gst_bus_post):
23993 Some cleanups, warn wrong return values.
23995 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
23997 * check/gst/gstbin.c: (GST_START_TEST):
23998 * gst/gstbin.c: (bin_bus_handler):
23999 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24000 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24001 (gst_message_new_warning), (gst_message_new_tag),
24002 (gst_message_new_state_changed), (gst_message_new_segment_start),
24003 (gst_message_new_segment_done), (gst_message_new_custom):
24004 * gst/gstmessage.h:
24005 * tools/gst-launch.c: (event_loop):
24006 * tools/gst-md5sum.c: (event_loop):
24007 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24009 2005-08-25 Wim Taymans <wim@fluendo.com>
24011 * check/generic/states.c: (GST_START_TEST):
24012 Cleanup can be done at the end.
24014 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24015 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24016 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24017 Oh boy.. Thanks for finding this, Thomas.
24019 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24021 * docs/gst/gstreamer.types:
24022 added missing types
24024 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24026 * docs/gst/gstreamer-docs.sgml:
24027 * docs/gst/gstreamer-sections.txt:
24028 * docs/gst/tmpl/.cvsignore:
24030 * gst/gstiterator.c:
24032 * gst/registries/gstxmlregistry.h:
24033 added missing classes and symbols (123 more to go)
24034 removed removed symbols from section file
24035 fixed many doc-comments
24037 2005-08-24 Wim Taymans <wim@fluendo.com>
24039 * check/generic/states.c: (GST_START_TEST):
24040 Make sure all tasks are stopped.
24042 * check/gst/gstbin.c: (GST_START_TEST):
24043 Unref after usage for proper valgrinding.
24045 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24046 Really wait for the task to stop before destroying the
24049 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24050 (gst_queue_src_activate_push):
24051 Small cleanups. Don't stop the task when we did not start
24054 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24055 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24056 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24059 Protect the stream lock with the object lock.
24060 Disallow setting the stream lock when running.
24061 Add cleanup_all to wait for the threadpool to finish.
24062 Remove code to autoallocate a mutex if none was provided.
24063 Add _join() to wait for a task to stop.
24064 Protect the thread pool with a global lock.
24066 2005-08-24 Wim Taymans <wim@fluendo.com>
24068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24069 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24070 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24071 * gst/base/gstbasesink.h:
24072 Handle newsegment events correctly.
24073 Drop buffers out of the segment range.
24075 2005-08-22 Andy Wingo <wingo@pobox.com>
24077 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24078 macro, implements an interface and gstimplementsinterface for a
24081 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24083 * check/Makefile.am:
24084 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24085 add a test that does a bunch of state changes on elements
24086 needs some fixing for valgrind
24087 * check/states/sinks.c: (gst_object_suite):
24090 add prototype for gst_caps_is_equal_fixed
24092 * gst/gstregistrypool.c:
24095 2005-08-24 Andy Wingo <wingo@pobox.com>
24097 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24098 convert a negative value. Doesn't make much sense. Mostly this is
24099 here to force callers to ensure -1 maps to -1.
24101 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24103 * docs/pwg/advanced-types.xml:
24104 Well done to Michael for catching my deliberate introduction
24105 of this spelling mistake.
24106 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24107 * gst/gstelement.h:
24108 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24109 unlink pads before removing the element from the bin.
24111 2005-08-24 Andy Wingo <wingo@pobox.com>
24113 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24114 the same thing as GST_DEBUG=*:4.
24115 (parse_debug_level, parse_debug_category): New helper parsers.
24117 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24119 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24120 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24121 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24122 (gst_base_transform_buffer_alloc),
24123 (gst_base_transform_handle_buffer):
24124 use gboolean return values and pointers to size so we can use the
24125 full GST_BUFFER_SIZE range (guint) for buffer sizes
24126 use GstPadDirection for transform_caps
24127 * gst/base/gstbasetransform.h:
24128 rename get_size to get_unit_size since that's what it is
24129 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24130 use GstPadDirection for transform_caps
24131 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24133 cleanup and debugging
24135 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24137 * gst/gstelement.c: (gst_element_class_init),
24138 (gst_element_set_state), (activate_pads),
24139 (gst_element_save_thyself):
24140 * tools/gst-compprep.c: (main):
24141 * tools/gst-inspect.c: (print_element_properties_info):
24142 * tools/gst-xmlinspect.c: (print_element_properties):
24143 Fixed long standing mem-leak
24145 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24147 * check/gst/gstbin.c: (GST_START_TEST):
24148 * gst/gstbin.c: (bin_bus_handler):
24149 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24150 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24151 (gst_message_new_warning), (gst_message_new_tag),
24152 (gst_message_new_state_changed), (gst_message_new_segment_start),
24153 (gst_message_new_segment_done), (gst_message_new_custom):
24154 * gst/gstmessage.h:
24155 * tools/gst-launch.c: (event_loop):
24156 * tools/gst-md5sum.c: (event_loop):
24157 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24158 that applications can sensibly post custom messages with references
24159 to their own objects.
24161 2005-08-24 Andy Wingo <wingo@pobox.com>
24163 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24166 2005-08-24 Wim Taymans <wim@fluendo.com>
24168 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24169 (gst_base_transform_transform_caps),
24170 (gst_base_transform_transform_size),
24171 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24172 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24173 (gst_base_transform_handle_buffer):
24174 * gst/base/gstbasetransform.h:
24175 Many fixes and new features added by Thomas. Can now also do
24176 transforms with variable sizes and a custom fixate_caps function.
24178 2005-08-24 Wim Taymans <wim@fluendo.com>
24180 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24184 Cast to ClockTime before formatting to time.
24189 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24191 * check/gst-libs/controller.c: (GST_START_TEST),
24192 (gst_controller_suite):
24193 * docs/gst/tmpl/gstcaps.sgml:
24194 * docs/gst/tmpl/gstghostpad.sgml:
24195 * docs/gst/tmpl/gstquery.sgml:
24196 * docs/gst/tmpl/gstutils.sgml:
24197 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24198 (gst_object_sink_values), (gst_object_get_value_arrays),
24199 (gst_object_get_value_array):
24200 gracefully handle helper method calls to objects that are not beeing
24201 controlled, added test case for that
24203 2005-08-23 Wim Taymans <wim@fluendo.com>
24205 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24206 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24207 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24208 (gst_event_parse_qos), (gst_event_new_seek),
24209 (gst_event_parse_seek):
24211 Some more debugging output and doc cleanups.
24213 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24214 Fix possible deadlock.
24216 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24218 * docs/gst/gstreamer-docs.sgml:
24219 * docs/gst/gstreamer-sections.txt:
24220 * docs/gst/gstreamer.types:
24221 * docs/gst/tmpl/.cvsignore:
24224 * gst/gstelement.c:
24226 added 100 symbols from gstreamer-unused.txt to the right sections
24227 fixed more broken comments
24228 added GstBus to docs
24230 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24232 * docs/gst/gstreamer-sections.txt:
24233 * docs/gst/tmpl/.cvsignore:
24234 * docs/gst/tmpl/gstbin.sgml:
24235 * docs/gst/tmpl/gstbuffer.sgml:
24236 * gst/base/gstbasesrc.c:
24237 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24240 * tools/gst-launch.1.in:
24241 inlined more doc comments, added missing comments and fixed comments
24244 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24246 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24250 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24252 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24253 * gst/gststructure.h:
24254 add a fixate function for booleans; add a FIXME that these func
24255 names should probably be gst_structure_fixate_*
24257 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24259 * docs/gst/gstreamer-docs.sgml:
24260 * docs/gst/gstreamer-sections.txt:
24262 * gst/gstbin.c: (gst_bin_get_type),
24263 (gst_bin_child_proxy_get_child_by_index),
24264 (gst_bin_child_proxy_get_children_count),
24265 (gst_bin_child_proxy_init):
24266 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24267 (gst_child_proxy_get_child_by_index),
24268 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24269 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24270 (gst_child_proxy_get), (gst_child_proxy_set_property),
24271 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24272 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24273 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24274 * gst/gstchildproxy.h:
24275 * gst/parse/grammar.y:
24276 * tools/gst-inspect.c: (print_interfaces),
24277 (print_element_properties_info), (print_element_info):
24278 ported gstchildproxy over from 0.8
24279 ported gst-inspect fixes and enhancements over from 0.8
24281 2005-08-22 Wim Taymans <wim@fluendo.com>
24283 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24284 (gst_base_transform_handle_buffer):
24285 Also call the transform function if we have ANY caps.
24287 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24290 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24292 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24293 Don't pretend to handle seek events if the source is not seekable
24295 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24298 Remove extra parameter to debug output
24300 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24301 (gst_base_src_do_seek), (gst_base_src_activate_push):
24302 Fix seek event handling.
24304 * gst/gstpipeline.c: (gst_pipeline_change_state):
24305 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24306 (gst_queue_src_activate_push):
24307 Don't start the src pad task on FLUSH_STOP if the pad
24311 2005-08-22 Wim Taymans <wim@fluendo.com>
24313 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24314 Added check for gst_static_caps_get() refcounting.
24316 2005-08-22 Wim Taymans <wim@fluendo.com>
24318 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24319 Make _static_caps_get() refcounting sane.
24321 * gst/gstelement.c: (gst_element_set_state):
24322 Add g_return_val_if_fail() to protect against segfaults.
24324 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24326 * docs/gst/tmpl/gstevent.sgml:
24329 inlined remaining docs, added missing doc comments
24331 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24333 * check/gst/gstbin.c: (GST_START_TEST):
24334 since we don't know when preroll is done, use refcount range
24336 * gst/check/gstcheck.h:
24337 add macro for checking refcount range
24339 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24341 * check/Makefile.am:
24342 clean up environment for when registry gets built versus
24343 when actual tests are run; valgrind seems to not report
24344 leaks if GST_PLUGIN_PATH is set to some specific values
24345 * check/gst/gstbin.c: (GST_START_TEST):
24346 add more refcounting checks; maybe this exposes a
24348 * common/check.mak:
24349 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24350 * gst/check/gstcheck.h:
24351 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24352 (gst_bin_change_state):
24353 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24354 add/fix debugging/whitespace
24356 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24358 * check/gst/gstevent.c: (event_probe), (test_event),
24360 Er, don't call gst_bin_watch_for_state_change you idiot.
24362 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24364 * check/Makefile.am:
24365 Use CHECK_CFLAGS and CHECK_LIBS
24366 * check/gst/gstevent.c: (event_probe), (test_event),
24369 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24370 (gst_base_src_start), (gst_base_src_stop),
24371 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24372 (gst_base_src_change_state):
24373 Sprinkle gst_base_src_stop liberally around error paths to fix
24374 problems reusing a source after failed state changes.
24375 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24376 (helper_find_suggest), (gst_type_find_helper):
24377 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24379 * docs/gst/tmpl/gstevent.sgml:
24380 Migrate part of the docs from the SGML file. Wait for ensonic to
24381 tell me how I did it wrong ;)
24382 * tools/gst-typefind.c: (main):
24383 Extra robustness to state changes between files.
24385 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24387 * check/Makefile.am:
24388 don't valgrind the controller test - it's leaking - Stefan, HELP
24389 * gst/check/gstcheck.c: (gst_check_message_error),
24390 (gst_check_chain_func), (gst_check_setup_element),
24391 (gst_check_teardown_element), (gst_check_setup_src_pad),
24392 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24393 (gst_check_teardown_sink_pad):
24394 * gst/check/gstcheck.h:
24395 add a bunch of methods to set up elements, and src and sink pads
24396 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24397 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24400 * gst/gstmessage.c:
24402 whitespace/doc fixes
24404 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24406 * gst/gstelement.h:
24407 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24408 be handled by the application and not always printed as well
24410 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24412 * check/Makefile.am:
24414 * gst/check/gstcheck.c: (gst_check_message_error):
24415 * gst/check/gstcheck.h:
24416 add a fail_unless_equals_int
24417 add fail_unless for error messages
24419 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24421 * check/Makefile.am:
24423 * common/Makefile.am:
24424 * common/check.mak:
24426 factor out some of the common stuff so we can use it
24428 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24430 * check/Makefile.am:
24431 * check/gst/gstiterator.c: (GST_START_TEST):
24432 * check/gst/gstsystemclock.c: (GST_START_TEST),
24433 (gst_systemclock_suite):
24434 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24436 valgrind more tests
24438 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24440 * check/elements/.cvsignore:
24441 * check/elements/gstfakesrc.c:
24442 rename to name of element
24443 * check/elements/identity.c: (chain_func), (event_func),
24444 (setup_identity), (cleanup_identity), (GST_START_TEST),
24445 (identity_suite), (main):
24446 add a test for identity
24447 * check/Makefile.am:
24448 * pkgconfig/Makefile.am:
24449 * pkgconfig/gstreamer-check.pc.in:
24450 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24454 move the check stuff to a library that gets installed
24455 * check/gst-libs/controller.c: (GST_START_TEST):
24456 * check/gst-libs/gdp.c:
24457 * check/gst/gst.c: (GST_START_TEST):
24458 * check/gst/gstbin.c:
24459 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24460 * check/gst/gstbus.c:
24461 * check/gst/gstcaps.c: (GST_START_TEST):
24462 * check/gst/gstelement.c:
24463 * check/gst/gstghostpad.c:
24464 * check/gst/gstiterator.c:
24465 * check/gst/gstmessage.c:
24466 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24467 * check/gst/gstobject.c:
24468 * check/gst/gstpad.c: (GST_START_TEST):
24469 * check/gst/gststructure.c: (GST_START_TEST):
24470 * check/gst/gstsystemclock.c: (GST_START_TEST),
24471 (gst_systemclock_suite):
24472 * check/gst/gsttag.c: (gst_tag_suite):
24473 * check/gst/gstvalue.c:
24474 * check/pipelines/cleanup.c:
24475 * check/pipelines/simple_launch_lines.c:
24476 * check/states/sinks.c:
24477 change include statement
24479 * docs/gst/gstreamer-sections.txt:
24480 * docs/gst/tmpl/gstpad.sgml:
24481 document more pad stuff
24482 * gst/gstminiobject.c: (gst_mini_object_ref),
24483 (gst_mini_object_unref):
24486 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24488 * docs/gst/tmpl/gst.sgml:
24490 eliminate another tmpl file, fix spelling in the long-description
24492 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24494 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24495 (test_event), (timediff), (gstevents_suite):
24496 Should fix build on 64-bit arch's
24498 2005-08-18 Andy Wingo <wingo@pobox.com>
24500 Make sure that when a pipeline goes to PLAYING, that data has
24501 actually hit the sink.
24503 * check/states/sinks.c (test_sink): A sink that doesn't get any
24504 data shouldn't return SUCCESS for going to either PLAYING or
24505 PAUSED. Test also the return values on the way back down.
24507 * gst/gstelement.c (gst_element_set_state): When changing the
24508 state of an element currently changing state asynchronously, go to
24509 lost-state after commiting the pending state. Makes future calls
24510 to get_state continue to return ASYNC.
24512 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24513 ASYNC when going to PLAYING if we still don't have preroll, as can
24514 happen with live sources.
24516 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24518 * docs/pwg/advanced-types.xml:
24519 Hack long paragraph into 2 chunks as a workaround for buggy
24520 jadetex version in sid and breezy that loops infinitely and
24523 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24525 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24526 (test_event), (timediff), (gstevents_suite):
24527 Provide more error margin in clock measurements to allow for
24528 g_get_current_time inaccuracies.
24530 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24532 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24533 (test_event), (timediff), (gstevents_suite):
24534 Fix error message output so I might be able to tell why the
24535 test works here but fails on the build farm.
24537 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24539 * check/Makefile.am:
24540 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24541 (test_event), (timediff), (gstevents_suite), (main):
24544 * docs/design/part-seeking.txt:
24545 Spelling correction
24547 * docs/gst/tmpl/gstevent.sgml:
24548 * docs/gst/tmpl/gstfakesrc.sgml:
24551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24552 Treat a buffer-without-newsegment the same as a receiving
24553 a newsegment not in time format, and disable syncing to the clock
24556 * gst/gstbus.c: (gst_bus_set_sync_handler):
24557 Assert if anyone tries to replace the existing sync_handler for bus,
24558 as only the owner should be setting it.
24561 Have a fixed set of custom event enums with events identified by
24562 their structure name (as in 0.8), rather than a free-for-all
24563 allowing collisions between enum values from different plugins.
24565 * gst/gstpad.c: (gst_pad_class_init):
24568 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24569 Handle out-of-band downstream events from the sending thread.
24571 2005-08-17 Andy Wingo <wingo@pobox.com>
24573 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24574 play-timeout==0 to mean no timeout at all. In that case, don't
24575 bother with a get_state or a warning, just return directly, even
24578 * gst/base/gstbasetransform.c: Debug changes.
24581 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24582 ensure bins post state change messages. A bit of a hack but I can't
24583 think of a way to avoid it.
24585 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24587 2005-08-16 Andy Wingo <wingo@pobox.com>
24589 * gst/base/gstadapter.h:
24590 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24591 peek() but you own the data. Not terribly efficient atm.
24593 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24595 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24596 (gst_element_found_tags):
24598 Add two utility functions for tag handling.
24600 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24602 * docs/manual/advanced-dataaccess.xml:
24603 * docs/manual/basics-helloworld.xml:
24604 Fix docs to use _bin_add() before _link(), which fixes the examples
24605 with recent core versions (reported by Madhan Raj M
24606 <raj_madan@rediffmail.com>, #313199).
24608 2005-08-16 Wim Taymans <wim@fluendo.com>
24610 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24611 Added subtract checks.
24613 * docs/design/part-events.txt:
24614 Some more docs about newsegment
24616 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24619 * gst/gstcaps.c: (gst_caps_to_string):
24620 Add comments, cleanups.
24622 * gst/gstelement.c: (gst_element_save_thyself):
24625 * gst/gstvalue.c: (gst_value_collect_int_range),
24626 (gst_string_unwrap), (gst_value_union_int_int_range),
24627 (gst_value_union_int_range_int_range),
24628 (gst_value_intersect_int_int_range),
24629 (gst_value_intersect_int_range_int_range),
24630 (gst_value_intersect_double_double_range),
24631 (gst_value_intersect_double_range_double_range),
24632 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24633 (gst_value_subtract_int_range_int),
24634 (gst_value_subtract_double_range_double),
24635 (gst_value_subtract_double_range_double_range),
24636 (gst_value_subtract_from_list), (gst_value_subtract_list),
24637 (gst_value_can_compare), (gst_value_compare_fraction):
24638 Cleanups, add comments, remove unneeded asserts.
24640 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24642 * tools/gst-launch.c: (event_loop):
24643 don't convert NULL structures to strings
24645 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24647 * docs/gst/gstreamer-sections.txt:
24648 made some defines private
24649 * docs/gst/tmpl/gstconfig.sgml:
24650 * docs/gst/tmpl/gstqueue.sgml:
24651 * docs/gst/tmpl/gsttaglist.sgml:
24652 * docs/gst/tmpl/gsttypes.sgml:
24653 * docs/gst/tmpl/gstutils.sgml:
24654 * docs/pwg/appendix-porting.xml:
24655 * gst/base/gstbasesink.h:
24656 * gst/base/gstbasesrc.c:
24657 * gst/base/gstbasesrc.h:
24658 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24659 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24660 * gst/gstelement.c: (gst_element_class_init):
24661 * gst/gstpad.c: (gst_pad_class_init):
24662 * gst/gstqueue.c: (gst_queue_class_init):
24663 * gst/gstxml.c: (gst_xml_class_init):
24664 documented all undocumented signal inline
24665 * libs/gst/controller/gst-controller.h:
24668 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24670 * docs/pwg/appendix-porting.xml:
24671 Document _set_link_function -> _set_setcaps_function.
24673 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24675 * check/Makefile.am:
24676 add a .check target for running the check
24677 * check/gst-libs/controller.c: (GST_START_TEST):
24679 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24680 complete checks for gstbuffer; would be nice if I could get the
24681 gcov stuff to work so I can see if I actually completed gstbuffer.c
24682 * check/gstcheck.h:
24683 add ASSERT_BUFFER_REFCOUNT
24685 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24687 * docs/gst/gstreamer-sections.txt:
24688 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24690 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24691 spew out a warning if a tag that is already registered
24692 is re-registered, unless it is re-registered with a
24693 different type (#308438).
24695 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24697 * docs/pwg/appendix-porting.xml:
24698 * docs/pwg/building-state.xml:
24699 Add some paragraphs about state changes in 0.9 to the PWG
24700 and the porting guide, in particular about the new meaning
24701 of GST_STATE_PAUSED and how to write state change functions
24702 with concurrent access by multiple threads in mind.
24704 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24706 * docs/gst/gstreamer-docs.sgml:
24707 * docs/libs/gstreamer-libs-docs.sgml:
24708 added deprecation and since indexes
24709 * libs/gst/controller/gst-controller.c:
24710 * libs/gst/controller/gst-helper.c:
24714 2005-08-11 Wim Taymans <wim@fluendo.com>
24716 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24717 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24718 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24719 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24720 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24721 (gst_ghost_pad_set_target):
24722 Actually implement (re)setting the target on a ghostpad
24723 as described in the docs.
24725 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24727 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24728 Check whether GST_DEBUG_NO_COLOR environment variable is
24729 set and disable coloured debug output if that is the case.
24731 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24733 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24734 (gst_type_find_helper):
24735 The memory returned by gst_type_find_peek() needs to
24736 stay valid until the end of a typefind function, and
24737 typefind functions may keep results from different
24738 offsets around, so we can't just unref the buffer from
24739 the previous _peek(), but have to save all buffers
24740 returned by _peek() until typefinding is done and only
24743 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24745 * docs/gst/gstreamer-sections.txt:
24747 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24749 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24751 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24752 Fix a pretty good memleak.
24754 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24756 * gst/gstiterator.h:
24757 Fix wrong include and 'make distcheck'.
24759 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24761 * gst/gstbin.c: (bin_bus_handler):
24762 Use gst_element_post_message() instead.
24764 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24766 * gst/base/gstadapter.h:
24767 * gst/base/gstbasesink.h:
24768 * gst/base/gstbasesrc.h:
24769 * gst/base/gstbasetransform.h:
24770 * gst/base/gstcollectpads.h:
24771 * gst/base/gstpushsrc.h:
24772 * gst/gstiterator.h:
24773 Add padding to our base elements' class and instance structs and
24774 to GstIterator (you will need to rebuild all plugins and apps!)
24776 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24778 * gst/gstbin.c: (bin_bus_handler):
24779 Make default message forwarding from child->bus to bin->bus
24780 threadsafe and make it not emit warnings if the parent has no bus.
24782 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24784 * gst/gstelement.c: (activate_pads):
24785 On paused->ready, set pad->caps to NULL, as is the documented
24786 behaviour in this state change. Fixes playback of series of
24787 media files when visualization is enabled in Totem.
24789 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24791 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24792 Allow NULL as filter-caps (which means "any").
24794 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24796 * docs/libs/gstreamer-libs-sections.txt:
24797 * libs/gst/controller/gst-controller.c:
24798 * libs/gst/controller/gst-controller.h:
24799 * libs/gst/controller/gst-helper.c:
24800 adding more entries to the docs and fix small doc-bugs
24802 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24804 * docs/gst/gstreamer-docs.sgml:
24805 * docs/gst/gstreamer-sections.txt:
24806 * docs/gst/gstreamer.types:
24807 * docs/gst/tmpl/gstbasesink.sgml:
24808 * docs/gst/tmpl/gstbasesrc.sgml:
24809 * docs/gst/tmpl/gstbasetransform.sgml:
24810 * docs/gst/tmpl/gstfakesrc.sgml:
24811 * gst/base/gstcollectpads.c:
24812 * gst/base/gstcollectpads.h:
24813 * libs/gst/controller/gst-controller.c:
24814 * libs/gst/controller/gst-controller.h:
24815 * libs/gst/controller/gst-helper.c:
24816 * libs/gst/controller/gst-interpolation.c:
24817 * libs/gst/controller/lib.c:
24818 added long/short desc for controller docs
24819 added collectpads base class docs
24820 added correct includes to base-class docs
24822 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24824 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24825 (gst_test_mono_source_set_property),
24826 (gst_test_mono_source_class_init), (GST_START_TEST),
24827 (gst_controller_suite):
24828 * docs/gst/gstreamer-docs.sgml:
24829 * docs/gst/gstreamer-sections.txt:
24830 * docs/gst/gstreamer.types:
24831 * docs/libs/gstreamer-libs-docs.sgml:
24832 * docs/libs/gstreamer-libs-sections.txt:
24833 * gst/base/gstadapter.c:
24834 * libs/gst/controller/gst-controller.c:
24835 (gst_controlled_property_new), (gst_controlled_property_free),
24836 (gst_controller_new_valist),
24837 (gst_controller_remove_properties_valist),
24838 (gst_controller_sink_values), (_gst_controller_finalize):
24839 * libs/gst/controller/gst-controller.h:
24840 * libs/gst/controller/gst-helper.c:
24841 (gst_object_control_properties), (gst_object_uncontrol_properties),
24842 (gst_object_get_controller), (gst_object_set_controller),
24843 (gst_object_sink_values), (gst_object_get_value_arrays),
24844 (gst_object_get_value_array):
24845 more tests (and fixes) for the controller
24846 more docs for the controller
24847 integrated companies docs for the adapter
24849 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24851 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24852 (GST_START_TEST), (fakesrc_suite):
24853 add tests for sizetype
24855 2005-08-04 Andy Wingo <wingo@pobox.com>
24857 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24858 fixes buffer_alloc proxying among other things.
24860 * gst/base/gstbasetransform.c:
24861 * gst/base/gstbasetransform.h:
24862 Revert patch to gstbasetransform from 7-28 removing
24865 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24866 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24867 Semantics changed, should return not the size of the output buffer
24868 but the byte size of a buffer with a given caps.
24870 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24872 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24873 out) are not the pad caps until setcaps finishes.
24874 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24875 not-in-place case as well. Deal with changing from in-place to
24876 not-in-place within calling pad_alloc_buffer. Still a bit
24877 concerned about the overhead here...
24879 2005-08-03 Andy Wingo <wingo@pobox.com>
24881 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24882 fixating is an error.
24884 2005-08-04 Edward Hervey <edward@fluendo.com>
24886 * gst/base/gstadapter.h:
24887 Added gst_adapter_get_type() to the header
24889 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24891 * check/Makefile.am:
24892 * check/gst-libs/controller.c:
24893 * libs/gst/controller/gst-controller.c:
24894 (gst_controller_new_valist):
24895 added check test suite for the controller
24896 * gst/base/gstpushsrc.c:
24899 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24901 * docs/gst/Makefile.am:
24902 * docs/gst/gstreamer-docs.sgml:
24903 * docs/gst/gstreamer-sections.txt:
24904 * docs/gst/gstreamer.types:
24905 * docs/gst/tmpl/gstfakesrc.sgml:
24907 * gst/base/gstbasesink.c:
24908 * gst/base/gstbasesink.h:
24909 * gst/base/gstbasesrc.c:
24910 * gst/base/gstbasesrc.h:
24911 * gst/base/gstbasetransform.c:
24912 * gst/base/gstpushsrc.c:
24913 * gst/base/gstpushsrc.h:
24914 add short/long description docs to base classes
24915 add pushsrc to the docs
24916 remove consolidated doc fragments
24918 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24921 * docs/libs/Makefile.am:
24922 * docs/libs/gstreamer-libs-docs.sgml:
24923 * docs/libs/gstreamer-libs-sections.txt:
24924 * docs/libs/gstreamer-libs.types:
24925 * examples/Makefile.am:
24926 * examples/controller/.cvsignore:
24927 * examples/controller/Makefile.am:
24928 * examples/controller/audio-example.c: (main):
24929 * libs/gst/Makefile.am:
24930 * libs/gst/controller/.cvsignore:
24931 * libs/gst/controller/Makefile.am:
24932 * libs/gst/controller/gst-controller.c:
24933 (on_object_controlled_property_changed), (gst_timed_value_compare),
24934 (gst_timed_value_find),
24935 (gst_controlled_property_set_interpolation_mode),
24936 (gst_controlled_property_new), (gst_controlled_property_free),
24937 (gst_controller_find_controlled_property),
24938 (gst_controller_new_valist), (gst_controller_new),
24939 (gst_controller_remove_properties_valist),
24940 (gst_controller_remove_properties), (gst_controller_set),
24941 (gst_controller_set_from_list), (gst_controller_unset),
24942 (gst_controller_get), (gst_controller_get_all),
24943 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24944 (gst_controller_get_value_array),
24945 (gst_controller_set_interpolation_mode),
24946 (_gst_controller_finalize), (_gst_controller_init),
24947 (_gst_controller_class_init), (gst_controller_get_type):
24948 * libs/gst/controller/gst-controller.h:
24949 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24950 (g_object_uncontrol_properties), (g_object_get_controller),
24951 (g_object_set_controller), (g_object_sink_values),
24952 (g_object_get_value_arrays), (g_object_get_value_array):
24953 * libs/gst/controller/gst-interpolation.c:
24954 (gst_controlled_property_find_timed_value_node),
24955 (interpolate_none_get), (interpolate_trigger_get),
24956 (interpolate_trigger_get_value_array):
24957 * libs/gst/controller/lib.c: (gst_controller_init):
24958 * pkgconfig/Makefile.am:
24959 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24960 * pkgconfig/gstreamer-control.pc.in:
24961 * testsuite/Makefile.am:
24962 * testsuite/controller/.cvsignore:
24963 * testsuite/controller/Makefile.am:
24964 * testsuite/controller/interpolator.c: (main):
24965 added controller code
24966 removed dparam pc files
24968 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24969 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24970 (gst_collectpads_stop):
24971 Broadcast the condition when shutting down, to make sure we wake all
24972 threads up. Shut down pads on finalize, for safety.
24974 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24975 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24976 (gst_base_transform_handle_buffer),
24977 (gst_base_transform_change_state):
24978 Handle PAUSED->READY->PAUSED transition after negotiation
24980 * gst/gstmessage.c: (gst_message_init):
24981 Extra piece of debug for new messages.
24983 2005-08-01 Stefan Kost <ensonic@users.sf.net>
24986 * docs/gst/tmpl/gstbasesrc.sgml:
24987 * docs/gst/tmpl/gstelement.sgml:
24988 * docs/gst/tmpl/gstevent.sgml:
24989 * docs/gst/tmpl/gstfakesrc.sgml:
24990 * docs/gst/tmpl/gstformat.sgml:
24991 * docs/gst/tmpl/gstghostpad.sgml:
24992 * docs/gst/tmpl/gstpad.sgml:
24993 * docs/gst/tmpl/gstquery.sgml:
24994 * docs/gst/tmpl/gststructure.sgml:
24995 * docs/gst/tmpl/gsttaglist.sgml:
24996 * docs/gst/tmpl/gstvalue.sgml:
24997 * docs/libs/gstreamer-libs-docs.sgml:
24998 * docs/libs/gstreamer-libs-sections.txt:
24999 * docs/libs/gstreamer-libs.types:
25000 * libs/gst/Makefile.am:
25001 * libs/gst/control/.cvsignore:
25002 * libs/gst/control/Makefile.am:
25003 * libs/gst/control/control.c:
25004 * libs/gst/control/control.h:
25005 * libs/gst/control/dparam.c:
25006 * libs/gst/control/dparam.h:
25007 * libs/gst/control/dparam_smooth.c:
25008 * libs/gst/control/dparam_smooth.h:
25009 * libs/gst/control/dparamcommon.h:
25010 * libs/gst/control/dparammanager.c:
25011 * libs/gst/control/dparammanager.h:
25012 * libs/gst/control/dplinearinterp.c:
25013 * libs/gst/control/dplinearinterp.h:
25014 * libs/gst/control/unitconvert.c:
25015 * libs/gst/control/unitconvert.h:
25016 * testsuite/Makefile.am:
25017 * testsuite/dynparams/.cvsignore:
25018 * testsuite/dynparams/Makefile.am:
25019 * testsuite/dynparams/dparamstest.c:
25020 * tools/Makefile.am:
25021 * tools/gst-inspect.c: (print_element_info), (main):
25022 * tools/gst-xmlinspect.c: (print_element_info), (main):
25023 deactivate and remove dparams (libgstcontrol)
25025 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25027 * gst/elements/gsttypefindelement.c:
25028 (gst_type_find_element_have_type), (gst_type_find_element_init),
25029 (stop_typefinding), (gst_type_find_element_handle_event),
25030 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25031 * gst/elements/gsttypefindelement.h:
25032 Set caps on all outgoing buffers, not just the first one.
25034 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25036 * gst/elements/gsttypefindelement.c:
25037 (gst_type_find_element_have_type),
25038 (gst_type_find_element_check_set_buffer_caps),
25039 (gst_type_find_element_init), (stop_typefinding),
25040 (gst_type_find_element_handle_event),
25041 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25042 * gst/elements/gsttypefindelement.h:
25043 Set caps on first outgoing buffer when we've found the type.
25045 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25047 * docs/gst/gstreamer-docs.sgml:
25048 * docs/gst/gstreamer-sections.txt:
25049 * docs/gst/tmpl/gstscheduler.sgml:
25050 * docs/gst/tmpl/gstschedulerfactory.sgml:
25051 Remove some old cruft from docs.
25053 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25056 Fix inline docs for GstPadLinkReturn.
25058 * gst/gststructure.c: (gst_structure_has_name):
25059 * gst/gststructure.h:
25060 * docs/gst/gstreamer-sections.txt:
25061 New API: gst_structure_has_name().
25063 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25066 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25067 and _LARGEFILE_SOURCE in config.h as required. Do not
25068 export those flags in our .pc files any longer (#142209).
25070 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25072 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25073 (gst_file_sink_do_seek), (gst_file_sink_event),
25074 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25075 Redo seek/tell calls with large file support in mind; add some
25076 debugging messages; add log message that tells us when large
25077 file support is unavailable or not enabled for some reason.
25079 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25080 Add log message that tells us when large file support
25081 is unavailable or not enabled for some reason.
25083 2005-07-29 Wim Taymans <wim@fluendo.com>
25085 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25086 Added test for removing an element with ghostpad from a bin.
25087 Fixed test as current implementation does the right thing.
25089 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25090 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25091 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25092 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25093 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25094 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25095 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25096 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25097 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25098 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25099 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25100 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25101 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25102 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25103 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25104 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25105 * gst/gstghostpad.h:
25106 Clean up ghostpads, remove properties for internal stuff.
25109 Prepare for switching targets, not all use cases work yet.
25111 2005-07-29 Wim Taymans <wim@fluendo.com>
25113 * docs/design/part-gstghostpad.txt:
25116 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25117 (gst_bin_remove_func):
25118 Unlinking pads while holding the bin LOCK is not a good
25121 * gst/gstpad.c: (gst_pad_class_init),
25122 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25123 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25124 No prob setting template after creating the pad.
25126 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25128 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25129 (gst_bus_peek), (gst_bus_source_dispatch),
25130 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25131 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25132 gst_bus_poll may be called from other threads. Handle
25133 this nicely by not making poll_data disappear off the
25134 stack once gst_bus_poll returns.
25135 gst_bus_peek now increments the refcount on the returned
25138 2005-07-29 Wim Taymans <wim@fluendo.com>
25140 * docs/design/part-gstghostpad.txt:
25141 Overview of current GhostPad datastructures and use
25142 cases for changing the target.
25144 2005-07-28 Wim Taymans <wim@fluendo.com>
25146 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25147 Added checks for hierarchy consistency whan adding linked
25150 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25151 Added check to test element scheduling without bin/pipeline.
25153 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25154 First add elements to bin, then link.
25156 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25157 (gst_bin_remove_func):
25158 Unlink pads from elements added/removed from bin to maintain
25159 hierarchy consistency.
25161 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25163 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25164 (gst_base_transform_handle_buffer):
25165 * gst/base/gstbasetransform.h:
25166 Remove broken delay_configure (fixes renegotiation of software
25167 scaling pipelines); remove some leftover printf()s.
25169 2005-07-28 Wim Taymans <wim@fluendo.com>
25171 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25172 Added some more tests for wrong hierarchy
25174 * docs/design/part-overview.txt:
25177 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25180 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25181 (gst_element_dispose):
25182 Some more cleanups.
25184 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25185 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25186 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25187 (gst_pad_set_caps), (gst_pad_send_event):
25188 Check for correct hierarchy when linking pads. Moving to
25189 strict requirement for ghostpads when linking elements in
25193 Clean ups. Added WRONG_HIERARCHY return value.
25195 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25197 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25198 Better debug if no transform is possible.
25200 2005-07-27 Wim Taymans <wim@fluendo.com>
25202 * docs/random/wtay/network-transp:
25203 Some old doc I had.
25205 2005-07-27 Wim Taymans <wim@fluendo.com>
25207 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25208 (gst_dp_event_from_packet):
25209 Fix serialization of seek events.
25211 2005-07-27 Wim Taymans <wim@fluendo.com>
25213 * check/gst-libs/gdp.c: (GST_START_TEST):
25214 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25215 Fix compilation and fix event serialization.
25217 2005-07-27 Wim Taymans <wim@fluendo.com>
25220 * docs/design/part-TODO.txt:
25221 * docs/design/part-events.txt:
25224 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25225 (gst_base_sink_event), (gst_base_sink_do_sync),
25226 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25227 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25228 (gst_base_src_do_seek), (gst_base_src_event_handler),
25229 (gst_base_src_loop):
25230 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25231 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25232 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25233 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25234 (gst_base_transform_set_passthrough),
25235 (gst_base_transform_is_passthrough):
25236 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25237 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25243 * gst/gstelement.c: (gst_element_seek):
25244 * gst/gstelement.h:
25245 Update gst_element_seek.
25247 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25248 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25249 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25250 (gst_event_new_eos), (gst_event_new_newsegment),
25251 (gst_event_parse_newsegment), (gst_event_new_tag),
25252 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25253 (gst_event_parse_qos), (gst_event_new_seek),
25254 (gst_event_parse_seek), (gst_event_new_navigation):
25256 Make GstEvent use GstStructure. Add parsing code, make sure the
25257 API is sufficiently generic.
25258 Mark possible directions of events and serialization.
25260 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25261 (_gst_message_copy), (gst_message_new_segment_start),
25262 (gst_message_new_segment_done), (gst_message_new_custom),
25263 (gst_message_parse_segment_start),
25264 (gst_message_parse_segment_done):
25267 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25268 (gst_pad_set_caps), (gst_pad_send_event):
25269 Update for new events.
25270 Catch events sent in wrong directions.
25272 * gst/gstqueue.c: (gst_queue_link_src),
25273 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25274 (gst_queue_handle_src_query):
25279 Remove event code from this file.
25281 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25282 (gst_dp_event_from_packet):
25285 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25287 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25288 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25289 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25290 Make debugging actually useful.
25292 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25294 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25295 (gst_pad_fixate_caps):
25296 Implement default fixation once again, so that gst_pad_fixate()
25297 actually does anything at all. This probably needs to be some
25298 sort of a last resort, and use profile-based fixation first, but
25299 since that doesn't exist yet, this is the best we have. Fixes
25300 visualization in Totem.
25302 2005-07-22 Wim Taymans <wim@fluendo.com>
25304 * docs/design/part-events.txt:
25307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25308 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25309 (gst_base_sink_activate_pull):
25310 Some more comments.
25312 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25313 (gst_fake_src_create):
25314 Fix handoff marshall.
25316 * gst/elements/gstidentity.c: (gst_identity_class_init),
25317 (gst_identity_transform_ip):
25318 We're a real inplace element.
25320 * gst/gstbus.c: (gst_bus_post):
25321 Added some comments.
25323 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25324 * tests/muxing/case1.c: (main):
25325 * tests/sched/dynamic-pipeline.c: (main):
25326 * tests/sched/interrupt1.c: (main):
25327 * tests/sched/interrupt2.c: (main):
25328 * tests/sched/interrupt3.c: (main):
25329 * tests/sched/runxml.c: (main):
25330 * tests/sched/sched-stress.c: (main):
25331 * tests/seeking/seeking1.c: (event_received), (main):
25332 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25334 * tests/threadstate/threadstate3.c: (main):
25335 * tests/threadstate/threadstate4.c: (main):
25336 * tests/threadstate/threadstate5.c: (main):
25339 2005-07-21 Wim Taymans <wim@fluendo.com>
25341 * docs/design/part-seeking.txt:
25342 Some small additions.
25344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25345 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25346 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25347 * gst/base/gstbasesink.h:
25348 discont values are gint64, handle the math correctly.
25350 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25351 Make the basesrc report error if the source pad is not linked.
25353 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25354 (gst_queue_loop), (gst_queue_handle_src_query),
25355 (gst_queue_src_activate_push):
25356 Make queue collect data even if the srcpad is not linked.
25357 Start pushing out data as soon as it is linked.
25359 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25361 Added gst_flow_get_name() to ease error reporting.
25363 2005-07-20 Wim Taymans <wim@fluendo.com>
25365 * gst/gstmessage.c: (gst_message_new_segment_start),
25366 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25367 (gst_message_parse_segment_done):
25368 * gst/gstmessage.h:
25369 Added a bunch of messages for advanced seeking.
25371 * gst/parse/grammar.y:
25372 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25373 (gst_dpman_state_changed):
25374 Fix some new-pad -> pad-added signals
25376 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25378 * docs/manual/appendix-porting.xml:
25379 * docs/pwg/appendix-porting.xml:
25380 Document new-pad/state-change signal renames and the FixedList
25383 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25385 * docs/manual/advanced-autoplugging.xml:
25386 * docs/manual/basics-helloworld.xml:
25387 * docs/manual/basics-pads.xml:
25388 * docs/random/ds/0.9-suggested-changes:
25389 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25390 * gst/gstelement.h:
25394 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25395 (gst_structure_parse_array), (gst_structure_parse_value):
25396 * gst/gstvalue.c: (gst_type_is_fixed),
25397 (gst_value_list_prepend_value), (gst_value_list_append_value),
25398 (gst_value_list_get_size), (gst_value_list_get_value),
25399 (gst_value_transform_array_string), (gst_value_serialize_array),
25400 (gst_value_deserialize_array), (gst_value_intersect_array),
25401 (gst_value_is_fixed), (_gst_value_initialize):
25403 GstElement::new-pad -> pad-added, GstElement::state-change ->
25404 state-changed, GstValueFixedList -> GstValueArray, add format and
25405 flags as their own arguments in gst_element_seek() (should improve
25406 "bindeability"), remove function generators since they don't work
25407 under a whole bunch of compilers (they were deprecated already
25410 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25412 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25413 (_gst_debug_register_funcptr):
25415 Fix illegal cast on some platforms (#309253).
25417 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25419 * gst/gstmessage.c: (gst_message_new_custom):
25420 * gst/gstmessage.h:
25421 Add _new_custom, make _new_application a macro to _new_custom.
25423 2005-07-20 Wim Taymans <wim@fluendo.com>
25425 * gst/base/gstbasesrc.c: (gst_base_src_init),
25426 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25427 * gst/base/gstbasesrc.h:
25428 Add a gboolean to decide when to push out a discont.
25430 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25431 (gst_queue_loop), (gst_queue_handle_src_query),
25432 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25433 (gst_queue_set_property), (gst_queue_get_property):
25436 * tests/threadstate/threadstate1.c: (main):
25437 Make a thread test compile and run... very silly..
25440 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25442 * docs/manual/appendix-porting.xml:
25443 Mention removal of libgstgconf-0.9.la and existence of gconf
25446 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25448 * docs/pwg/advanced-clock.xml:
25449 * docs/pwg/appendix-porting.xml:
25450 * docs/pwg/intro-preface.xml:
25451 * docs/pwg/other-base.xml:
25452 * docs/pwg/other-manager.xml:
25453 * docs/pwg/other-nton.xml:
25454 * docs/pwg/other-ntoone.xml:
25455 * docs/pwg/other-oneton.xml:
25456 * docs/pwg/pwg.xml:
25457 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25458 demuxer), remove n-to-n (was never written), fix some code examples
25459 and links and update the porting section to include all this.
25461 2005-07-19 Wim Taymans <wim@fluendo.com>
25463 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25464 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25465 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25466 (gst_queue_src_activate_push), (gst_queue_change_state),
25467 (gst_queue_get_property):
25469 Propagate GstFlowReturn more intelligently upstream and output
25470 an ERROR/EOS when streaming stopped due to fatal error.
25472 2005-07-19 Wim Taymans <wim@fluendo.com>
25474 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25475 Don't block forever for the state change to complete, the
25476 pipeline already did with a sensible timeout.
25478 2005-07-19 Wim Taymans <wim@fluendo.com>
25480 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25481 Make sure we never call the create function is we
25484 2005-07-19 Andy Wingo <wingo@pobox.com>
25486 * gst/parse/parse.l: Attempt to solve bug #172815.
25488 2005-07-19 Wim Taymans <wim@fluendo.com>
25490 * docs/design/part-clocks.txt:
25491 * docs/design/part-events.txt:
25492 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25493 Small docs updates.
25494 Only update the seeking values when we are not
25497 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25499 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25500 Oops, ignore the result of gst_pad_push_event here.
25502 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25504 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25505 (gst_base_src_activate_push):
25506 Send discont event from the loop function, as pads
25507 aren't activated yet in the activate_push handler.
25509 * gst/gstbin.c: (bin_bus_handler):
25510 Don't leak element name.
25512 2005-07-18 Andy Wingo <wingo@pobox.com>
25514 * configure.ac: Use AS_LIBTOOL_TAGS.
25516 2005-07-18 Wim Taymans <wim@fluendo.com>
25518 * docs/gst/gstreamer.types:
25519 Remove deleted types.
25521 2005-07-18 Wim Taymans <wim@fluendo.com>
25523 * check/elements/gstfakesrc.c: (GST_START_TEST):
25526 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25527 (init_popt_callback):
25529 * gst/gst_private.h:
25530 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25531 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25534 * gst/gstconfig.h.in:
25535 * gst/gstelement.c: (gst_element_class_init),
25536 (gst_element_set_base_time), (gst_element_get_base_time),
25537 (iterator_fold_with_resync), (gst_element_change_state),
25538 (gst_element_dispose), (gst_element_get_bus):
25539 * gst/gstelement.h:
25540 * gst/gstelementfactory.h:
25541 * gst/gsterror.c: (_gst_core_errors_init):
25544 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25546 * gst/gstinfo.c: (_gst_debug_init):
25547 * gst/gstmessage.c: (_gst_message_copy):
25548 * gst/gstmessage.h:
25549 * gst/gstminiobject.h:
25552 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25553 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25556 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25557 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25558 (gst_pipeline_get_last_stream_time):
25559 * gst/gstpipeline.h:
25560 * gst/gstpluginfeature.h:
25562 * gst/gstscheduler.c:
25563 * gst/gstscheduler.h:
25564 * gst/gststructure.h:
25565 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25566 (gst_task_finalize), (gst_task_func), (gst_task_create),
25567 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25568 (gst_task_stop), (gst_task_pause):
25570 * gst/gsttypefind.h:
25572 * gst/registries/gstlibxmlregistry.c: (load_feature),
25573 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25574 * gst/registries/gstxmlregistry.c:
25575 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25576 * gst/schedulers/threadscheduler.c:
25577 * libs/gst/control/dparammanager.h:
25578 * tools/gst-inspect.c: (print_element_list),
25579 (print_plugin_features), (print_element_features):
25580 * tools/gst-xmlinspect.c: (print_element_list),
25581 (print_plugin_info), (main):
25582 Removed plugable schedulers.
25583 Removed Scheduler/Manager from elements.
25584 Removed gsttypes.h, rearranged includes.
25585 Removed dependency pad<->element, element<>pipeline, and
25586 various others, fix includes.
25587 implement gst_pad_get_parent() with gst_object_get_parent()
25588 Make GstTask sefcontained.
25589 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25591 Fix endless loop in iterator_fold_with_resync.
25594 2005-07-18 Wim Taymans <wim@fluendo.com>
25600 2005-07-18 Wim Taymans <wim@fluendo.com>
25603 No more cothreads.h
25605 2005-07-18 Wim Taymans <wim@fluendo.com>
25609 Let's remove these.
25611 2005-07-18 Wim Taymans <wim@fluendo.com>
25613 * docs/design/part-dynamic.txt:
25614 * docs/design/part-events.txt:
25615 * docs/design/part-seeking.txt:
25616 Some more docs in the works.
25618 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25619 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25620 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25621 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25622 (gst_base_transform_handle_buffer),
25623 (gst_base_transform_sink_activate_push),
25624 (gst_base_transform_src_activate_pull),
25625 (gst_base_transform_set_passthrough),
25626 (gst_base_transform_is_passthrough):
25629 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25632 * gst/gstevent.c: (gst_event_finalize):
25635 * gst/gstutils.c: (gst_element_unlink),
25636 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25637 (gst_pad_proxy_setcaps):
25639 Add _get_parent_element() to get a pads parent as an element.
25641 2005-07-18 Wim Taymans <wim@fluendo.com>
25643 * check/gst/gstbin.c: (GST_START_TEST):
25646 2005-07-18 Wim Taymans <wim@fluendo.com>
25648 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25649 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25650 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25651 (gst_base_sink_event), (gst_base_sink_do_sync),
25652 (gst_base_sink_chain), (gst_base_sink_loop),
25653 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25654 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25656 Fix logic for returning ASYNC when not prerolled.
25658 2005-07-18 Wim Taymans <wim@fluendo.com>
25660 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25661 Fix nasty refcount bug.
25663 2005-07-16 Philippe Khalaf <burger@speedy.org>
25665 * gst/elements/gstfdsrc.c:
25666 * gst/elements/gstfdsrc.h:
25667 * gst/elements/gstelements.c:
25668 * gst/elements/Makefile.am:
25669 Ported fdsrc to 0.9.
25671 2005-07-16 Wim Taymans <wim@fluendo.com>
25673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25674 (gst_base_sink_do_sync):
25677 2005-07-16 Wim Taymans <wim@fluendo.com>
25679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25680 (gst_base_sink_event), (gst_base_sink_get_times),
25681 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25682 * gst/base/gstbasesink.h:
25683 Store and use discont values when syncing buffers as described
25686 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25687 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25688 (gst_base_src_activate_push):
25689 Push discont event when starting.
25691 * gst/elements/gstidentity.c: (gst_identity_transform):
25694 * gst/gstbin.c: (gst_bin_change_state):
25695 Small cleanups in base_time distribution.
25697 * gst/gstelement.c: (gst_element_set_base_time),
25698 (gst_element_get_base_time), (gst_element_change_state):
25699 * gst/gstelement.h:
25700 Added methods for the base_time of the element.
25703 * gst/gstpipeline.c: (gst_pipeline_send_event),
25704 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25705 (gst_pipeline_get_last_stream_time):
25706 * gst/gstpipeline.h:
25708 Handle seeking as described in design doc, remove stream_time
25710 Cleanups clock and stream_time selection code. Added accessors
25711 for the stream_time.
25714 2005-07-16 Andy Wingo <wingo@pobox.com>
25716 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25719 2005-07-16 Wim Taymans <wim@fluendo.com>
25721 * check/gst/gstbin.c: (GST_START_TEST):
25722 Make elements silent as the deep_notify refs the
25723 parent, which might make the test fail.
25725 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25726 Don't hold the lock for too long.
25728 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25730 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25731 Don't unref the caps we passed to gst_caps_make_writable() after
25732 passing them. gst_caps_make_writable() will do that for us.
25734 2005-07-15 Andy Wingo <wingo@pobox.com>
25736 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25739 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25740 own marshalling function for the handoff signal. Properly type the
25741 buffer as a buffer. Fixes some warnings. Should do a more general
25743 (gst_identity_class_init): Plug into the right marshaller.
25745 2005-07-15 Wim Taymans <wim@fluendo.com>
25747 * docs/design/part-TODO.txt:
25748 * docs/design/part-clocks.txt:
25749 * docs/design/part-element-sink.txt:
25750 * docs/design/part-events.txt:
25751 * docs/design/part-gstpipeline.txt:
25752 Updated docs, mostly DISCONT related.
25754 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25756 * docs/pwg/building-pads.xml:
25757 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25759 2005-07-15 Andy Wingo <wingo@pobox.com>
25761 * tools/gst-typefind.c: Update, add copyright block.
25763 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25764 Normalize and truncate caps before fixation.
25767 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25768 discards all but the first structure from its argument.
25770 2005-07-15 Wim Taymans <wim@fluendo.com>
25772 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25773 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25774 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25775 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25776 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25777 (gst_base_transform_chain), (gst_base_transform_change_state),
25778 (gst_base_transform_set_passthrough),
25779 (gst_base_transform_is_passthrough):
25780 * gst/base/gstbasetransform.h:
25781 Make passthrough work using the bufferpools.
25782 Changed API a bit, subclasses have to write into a buffer
25783 provided by the base class.
25784 More debug info in nego functions.
25786 * gst/elements/gstidentity.c: (gst_identity_init),
25787 (gst_identity_transform):
25788 Port to new base class.
25790 2005-07-15 Wim Taymans <wim@fluendo.com>
25792 * gst/gstmessage.c: (gst_message_new_state_changed):
25793 * tools/gst-launch.c: (event_loop), (main):
25794 Totally dump messages in -launch with the -m option.
25795 Fix message name for State messages,
25797 2005-07-14 Wim Taymans <wim@fluendo.com>
25799 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25800 Post error messages on errors.
25802 2005-07-14 Wim Taymans <wim@fluendo.com>
25804 * gst/gstcaps.c: (gst_caps_do_simplify):
25808 Define error for stream stopped.
25810 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25811 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25812 Do proper return values.
25814 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25815 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25816 (gst_pad_get_range):
25817 Better return values.
25820 Reorganise return values, add macro to check for fatal errors.
25822 * gst/gstqueue.c: (gst_queue_chain):
25823 Return proper GstFlowReturn values,
25825 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25827 * docs/gst/gstreamer-sections.txt:
25828 * docs/gst/gstreamer.types:
25829 * docs/gst/tmpl/gst.sgml:
25830 * docs/gst/tmpl/gstbasesink.sgml:
25831 * docs/gst/tmpl/gstbasesrc.sgml:
25832 * docs/gst/tmpl/gstbasetransform.sgml:
25833 * docs/gst/tmpl/gstbin.sgml:
25834 * docs/gst/tmpl/gstbuffer.sgml:
25835 * docs/gst/tmpl/gstcaps.sgml:
25836 * docs/gst/tmpl/gstclock.sgml:
25837 * docs/gst/tmpl/gstcompat.sgml:
25838 * docs/gst/tmpl/gstconfig.sgml:
25839 * docs/gst/tmpl/gstelement.sgml:
25840 * docs/gst/tmpl/gstelementdetails.sgml:
25841 * docs/gst/tmpl/gstelementfactory.sgml:
25842 * docs/gst/tmpl/gstenumtypes.sgml:
25843 * docs/gst/tmpl/gsterror.sgml:
25844 * docs/gst/tmpl/gstevent.sgml:
25845 * docs/gst/tmpl/gstfakesink.sgml:
25846 * docs/gst/tmpl/gstfakesrc.sgml:
25847 * docs/gst/tmpl/gstfilesink.sgml:
25848 * docs/gst/tmpl/gstfilesrc.sgml:
25849 * docs/gst/tmpl/gstfilter.sgml:
25850 * docs/gst/tmpl/gstformat.sgml:
25851 * docs/gst/tmpl/gstghostpad.sgml:
25852 * docs/gst/tmpl/gstimplementsinterface.sgml:
25853 * docs/gst/tmpl/gstindex.sgml:
25854 * docs/gst/tmpl/gstindexfactory.sgml:
25855 * docs/gst/tmpl/gstinfo.sgml:
25856 * docs/gst/tmpl/gstiterator.sgml:
25857 * docs/gst/tmpl/gstmacros.sgml:
25858 * docs/gst/tmpl/gstmemchunk.sgml:
25859 * docs/gst/tmpl/gstminiobject.sgml:
25860 * docs/gst/tmpl/gstobject.sgml:
25861 * docs/gst/tmpl/gstpad.sgml:
25862 * docs/gst/tmpl/gstpadtemplate.sgml:
25863 * docs/gst/tmpl/gstparse.sgml:
25864 * docs/gst/tmpl/gstpipeline.sgml:
25865 * docs/gst/tmpl/gstplugin.sgml:
25866 * docs/gst/tmpl/gstpluginfeature.sgml:
25867 * docs/gst/tmpl/gstquery.sgml:
25868 * docs/gst/tmpl/gstqueue.sgml:
25869 * docs/gst/tmpl/gstregistry.sgml:
25870 * docs/gst/tmpl/gstregistrypool.sgml:
25871 * docs/gst/tmpl/gstscheduler.sgml:
25872 * docs/gst/tmpl/gstschedulerfactory.sgml:
25873 * docs/gst/tmpl/gststructure.sgml:
25874 * docs/gst/tmpl/gstsystemclock.sgml:
25875 * docs/gst/tmpl/gsttaglist.sgml:
25876 * docs/gst/tmpl/gsttagsetter.sgml:
25877 * docs/gst/tmpl/gsttrace.sgml:
25878 * docs/gst/tmpl/gsttrashstack.sgml:
25879 * docs/gst/tmpl/gsttypefind.sgml:
25880 * docs/gst/tmpl/gsttypefindfactory.sgml:
25881 * docs/gst/tmpl/gsttypes.sgml:
25882 * docs/gst/tmpl/gsturihandler.sgml:
25883 * docs/gst/tmpl/gsturitype.sgml:
25884 * docs/gst/tmpl/gstutils.sgml:
25885 * docs/gst/tmpl/gstvalue.sgml:
25886 * docs/gst/tmpl/gstversion.sgml:
25887 * docs/gst/tmpl/gstxml.sgml:
25888 * docs/libs/tmpl/gstcontrol.sgml:
25889 * docs/libs/tmpl/gstdataprotocol.sgml:
25890 * docs/libs/tmpl/gstdparam.sgml:
25891 * docs/libs/tmpl/gstdplinint.sgml:
25892 * docs/libs/tmpl/gstdpman.sgml:
25893 * docs/libs/tmpl/gstdpsmooth.sgml:
25894 * docs/libs/tmpl/gstgetbits.sgml:
25895 * docs/libs/tmpl/gstunitconvert.sgml:
25896 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25897 (gst_push_src_base_init), (gst_push_src_class_init),
25898 (gst_push_src_init), (gst_push_src_create):
25899 * gst/base/gstpushsrc.h:
25900 * gst/elements/gstelements.c:
25901 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25902 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25903 (gst_fake_sink_init), (gst_fake_sink_set_property),
25904 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25905 (gst_fake_sink_event), (gst_fake_sink_preroll),
25906 (gst_fake_sink_render), (gst_fake_sink_change_state):
25907 * gst/elements/gstfakesink.h:
25908 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25909 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25910 (gst_fake_src_base_init), (gst_fake_src_class_init),
25911 (gst_fake_src_init), (gst_fake_src_event_handler),
25912 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25913 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25914 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25915 (gst_fake_src_create_buffer), (gst_fake_src_create),
25916 (gst_fake_src_start), (gst_fake_src_stop):
25917 * gst/elements/gstfakesrc.h:
25918 * gst/elements/gstfilesink.c: (_do_init),
25919 (gst_file_sink_base_init), (gst_file_sink_class_init),
25920 (gst_file_sink_init), (gst_file_sink_dispose),
25921 (gst_file_sink_set_location), (gst_file_sink_set_property),
25922 (gst_file_sink_get_property), (gst_file_sink_open_file),
25923 (gst_file_sink_close_file), (gst_file_sink_query),
25924 (gst_file_sink_event), (gst_file_sink_render),
25925 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25926 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25927 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25928 * gst/elements/gstfilesink.h:
25929 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25930 (gst_file_src_class_init), (gst_file_src_init),
25931 (gst_file_src_finalize), (gst_file_src_set_location),
25932 (gst_file_src_set_property), (gst_file_src_get_property),
25933 (gst_file_src_map_region), (gst_file_src_map_small_region),
25934 (gst_file_src_create_mmap), (gst_file_src_create_read),
25935 (gst_file_src_create), (gst_file_src_is_seekable),
25936 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25937 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25938 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25939 (gst_file_src_uri_handler_init):
25940 * gst/elements/gstfilesrc.h:
25941 more autistic cleanliness in functions/names/defines
25943 2005-07-13 Andy Wingo <wingo@pobox.com>
25945 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25946 source couldn't negotiate.
25948 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25952 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25953 function. I am channeling Hades. Put your boots on suckers!!!
25955 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25957 * testsuite/caps/Makefile.am:
25958 * testsuite/caps/value_compare.c:
25959 * testsuite/caps/value_intersect.c:
25960 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25961 move two testsuite apps over to the check dir
25963 2005-07-12 Wim Taymans <wim@fluendo.com>
25965 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25966 Added more debug info in the negotiate process.
25968 * gst/gstmessage.h:
25969 Prepare for segment playback.
25971 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25977 * tools/gst-launch.c: (main):
25978 NULL pipeline on errors.
25980 2005-07-12 Andy Wingo <wingo@pobox.com>
25982 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25983 not it comes from a malloc region. Make sure our copy gets freed.
25985 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25987 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25988 * check/gst/gstmessage.c: (GST_START_TEST):
25989 * check/gst/gststructure.c: (GST_START_TEST),
25990 (gst_structure_suite), (main):
25992 * gst/gstelement.c: (gst_element_message_full):
25993 clean up GError and debug string now that they get copied
25994 * gst/gstmessage.c: (gst_message_new_error),
25995 (gst_message_new_warning), (gst_message_parse_error),
25996 (gst_message_parse_warning):
25997 use GST_TYPE_G_ERROR for structure_new, and take copies of
25998 arguments, so that we don't mess up refcounting
26000 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26002 * check/Makefile.am:
26003 add per-test valgrind targets
26004 * check/gst-libs/gdp.c: (GST_START_TEST),
26005 (gst_data_protocol_suite), (main):
26008 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26010 * check/Makefile.am:
26011 instate more valgrindable tests
26012 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26013 (GST_START_TEST), (fakesrc_suite):
26014 * check/gst/gstpad.c: (GST_START_TEST):
26015 * check/gst/gststructure.c: (GST_START_TEST):
26017 * docs/gst/tmpl/gstminiobject.sgml:
26018 * gst/gstpad.c: (gst_pad_finalize):
26019 fix the static mutex leak
26021 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26023 * check/Makefile.am:
26024 add two more tests for valgrinding
26025 * check/gst/gstvalue.c: (GST_START_TEST):
26026 test refcount of deserialized buffer, found a leak
26027 * docs/gst/gstreamer-docs.sgml:
26028 * docs/gst/gstreamer-sections.txt:
26029 * docs/gst/gstreamer.types:
26030 * docs/gst/tmpl/gstminiobject.sgml:
26031 add miniobject to docs
26032 * gst/gstminiobject.c:
26034 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26035 (gst_string_unwrap):
26036 fix a hard-to-find invalid write for one of the tests
26037 fix a leak for deserialized buffers
26039 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26041 * docs/pwg/advanced-events.xml:
26042 * docs/pwg/advanced-request.xml:
26043 * docs/pwg/advanced-scheduling.xml:
26044 * docs/pwg/appendix-porting.xml:
26045 * docs/pwg/building-boiler.xml:
26046 * docs/pwg/intro-preface.xml:
26047 * docs/pwg/other-ntoone.xml:
26048 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26049 of example code and explanation for pad activation, loop() and
26050 getrange() functions and a bit more. Remove old comments pointing
26052 * examples/pwg/Makefile.am:
26053 Add loop/getrange examples.
26055 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26058 check for valgrind binary + some fixes
26060 valgrind suppressions for the tests
26061 * check/Makefile.am:
26062 add a valgrind: target that valgrinds the unit tests
26063 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26064 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26065 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26066 * check/gst/gstghostpad.c:
26068 * check/gst/gstdata.c:
26070 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26071 (thread_unref), (gst_mini_object_suite), (main):
26073 * gst/gst.c: (gst_deinit):
26075 add a method to clean up.
26076 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26077 (gst_system_clock_obtain):
26078 allow for disposing the system clock.
26079 * tools/gst-launch.c: (main):
26082 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26084 * docs/gst/tmpl/gstbasesrc.sgml:
26085 * docs/gst/tmpl/gstfakesrc.sgml:
26086 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26087 (gst_base_src_init), (gst_base_src_set_property),
26088 (gst_base_src_get_property), (gst_base_src_get_range),
26089 (gst_base_src_start):
26090 * gst/base/gstbasesrc.h:
26091 add num-buffers property
26092 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26093 (gst_fakesrc_init), (gst_fakesrc_set_property),
26094 (gst_fakesrc_get_property), (gst_fakesrc_create),
26095 (gst_fakesrc_start):
26096 remove num-buffers property
26098 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26100 * docs/gst/gstreamer-sections.txt:
26101 * docs/gst/tmpl/gstbasesink.sgml:
26102 * docs/gst/tmpl/gstbasesrc.sgml:
26103 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26104 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26105 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26106 (gst_base_sink_set_property), (gst_base_sink_get_property),
26107 (gst_base_sink_handle_object), (gst_base_sink_event),
26108 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26109 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26110 (gst_base_sink_loop), (gst_base_sink_deactivate),
26111 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26112 (gst_base_sink_change_state):
26113 * gst/base/gstbasesink.h:
26114 * gst/base/gstbasesrc.h:
26115 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26116 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26117 (gst_filesink_init):
26118 more macro splitting
26120 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26122 * gst/gstelement.c: (gst_element_get_bus):
26124 * tools/gst-launch.c: (check_intr), (event_loop):
26127 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26129 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26132 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26134 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26135 (gst_base_src_finalize):
26136 add finalize method and clean up properly
26137 * gst/gstpipeline.c: (gst_pipeline_dispose):
26140 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26142 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26144 add more things to check
26145 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26146 * gst/gstelement.c:
26149 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26151 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26152 (GST_START_TEST), (fakesrc_suite):
26153 * check/gst-libs/gdp.c: (GST_START_TEST):
26154 * check/gst/gst.c: (GST_START_TEST):
26155 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26156 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26157 * check/gst/gstbus.c: (GST_START_TEST):
26158 * check/gst/gstcaps.c: (GST_START_TEST):
26159 * check/gst/gstdata.c: (GST_START_TEST):
26160 * check/gst/gstelement.c: (GST_START_TEST):
26161 * check/gst/gstghostpad.c: (GST_START_TEST):
26162 * check/gst/gstiterator.c: (GST_START_TEST):
26163 * check/gst/gstmessage.c: (GST_START_TEST):
26164 * check/gst/gstobject.c: (GST_START_TEST):
26165 * check/gst/gstpad.c: (GST_START_TEST):
26166 * check/gst/gststructure.c: (GST_START_TEST):
26167 * check/gst/gstsystemclock.c: (GST_START_TEST),
26168 (gst_systemclock_suite):
26169 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26170 * check/gst/gstvalue.c: (GST_START_TEST):
26171 * check/pipelines/cleanup.c: (GST_START_TEST):
26172 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26173 * check/states/sinks.c: (GST_START_TEST):
26174 * check/gstcheck.c: (gst_check_init):
26175 * check/gstcheck.h:
26176 add debugging category
26177 use GST_START_TEST now, so we add a debug line
26179 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26181 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26182 add test for state change message on a bin
26183 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26185 * gst/gstbin.c: (gst_bin_init):
26186 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26187 * gst/gstelement.c: (gst_element_post_message),
26188 (gst_element_set_state):
26189 * gst/gstelementfactory.c: (gst_element_factory_create):
26190 * gst/gstmessage.c: (gst_message_new):
26191 * gst/gstscheduler.c:
26192 various debugging additions and cleanups
26194 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26196 * check/Makefile.am:
26197 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26199 adding tests for elements
26200 * gst/gstelement.c: (gst_element_dispose):
26202 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26204 * gst/registries/gstlibxmlregistry.c: (load_feature):
26205 plug more leaks. A simple gst_init() now is leakfree, yay.
26207 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26209 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26210 (gst_xml_registry_load):
26211 plug another memleak
26213 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26216 use GST_SET_ERROR_CFLAGS
26217 * docs/faq/cvs.xml:
26218 change to ERROR_CFLAGS
26220 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26223 make GST_ERROR_CFLAGS overridable and re-enable Werror
26224 * docs/faq/cvs.xml:
26225 add a note about error CFLAGS
26226 * docs/gst/tmpl/gstfakesrc.sgml:
26227 * gst/elements/gstfakesrc.c:
26228 comment out some unused code
26229 * gst/gst.c: (split_and_iterate):
26230 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26234 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26236 * common/Makefile.am:
26237 * common/gtk-doc.mak:
26238 * docs/gst/Makefile.am:
26239 factor out gtk-doc.mak
26241 2005-07-07 Wim Taymans <wim@fluendo.com>
26243 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26244 (gst_thread_scheduler_dispose):
26245 Unlock the STREAM_LOCK completely.
26247 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26249 * check/Makefile.am:
26250 * check/elements/.cvsignore:
26251 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26252 (START_TEST), (fakesrc_suite), (main):
26253 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26254 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26255 (gst_fakesrc_create), (gst_fakesrc_start):
26256 * gst/elements/gstfakesrc.h:
26257 adding a first element test
26259 2005-07-07 Andy Wingo <wingo@pobox.com>
26261 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26264 2005-07-07 Wim Taymans <wim@fluendo.com>
26270 2005-07-07 Wim Taymans <wim@fluendo.com>
26272 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26273 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26274 Allow subclasses to implement their own negotiation.
26276 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26278 * docs/design/part-gstbin.txt:
26279 * docs/design/part-gstpipeline.txt:
26280 Update design notes to reflect the movement of
26281 responsibility for bus handling from GstPipeline to
26284 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26287 Remove unnecessary queue2/3/4 examples.
26289 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26291 * examples/Makefile.am:
26292 * examples/helloworld/helloworld.c: (event_loop), (main):
26293 * examples/queue/queue.c: (event_loop), (main):
26294 * examples/queue2/queue2.c: (main):
26295 Update a couple of the examples to work again.
26297 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26298 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26299 Spelling corrections and extra debug.
26301 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26302 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26303 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26305 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26306 (gst_pipeline_change_state):
26307 * gst/gstpipeline.h:
26308 Move the bus handler for children to the GstBin, and create a
26309 separate bus for receiving messages from children to the one the
26310 bus sends 'upwards' on.
26312 2005-07-06 Wim Taymans <wim@fluendo.com>
26315 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26316 (gst_base_sink_handle_object), (gst_base_sink_loop),
26317 (gst_base_sink_change_state):
26318 * gst/base/gstbasesink.h:
26319 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26320 (gst_base_src_init), (gst_base_src_setcaps),
26321 (gst_base_src_getcaps), (gst_base_src_loop),
26322 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26323 (gst_base_src_start), (gst_base_src_change_state):
26324 * gst/base/gstbasesrc.h:
26325 Make basesrc negotiate.
26326 Handle the case where preroll fails in basesink.
26329 2005-07-06 Wim Taymans <wim@fluendo.com>
26331 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26332 Implement the fixate function.
26333 Clean up acceptcaps.
26335 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26337 * docs/pwg/building-filterfactory.xml:
26338 * docs/pwg/pwg.xml:
26339 Remove never-written filter-factory chapter; I'll add the various
26340 base classes to part 4 ("other element types") later on.
26342 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26344 * docs/pwg/advanced-negotiation.xml:
26345 * docs/pwg/building-boiler.xml:
26346 * docs/pwg/building-pads.xml:
26347 * docs/pwg/pwg.xml:
26348 * examples/pwg/Makefile.am:
26349 Add a chapter on caps negotiation, simplify the original code
26350 samples a bit w.r.t. caps negotiation, add link to the advanced
26351 section. Add a bunch of examples showing different use cases of
26352 different types of caps negotiation. Upstream renegotiation isn't
26353 fully documented yet since nobody knows how that works.
26355 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26357 * check/gst/gstpad.c:
26358 * check/gstcheck.c:
26359 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26360 if pad has no parent, return NULL as list of internal links
26362 2005-07-05 Andy Wingo <wingo@pobox.com>
26364 * gst/elements/gstfilesrc.c:
26365 * gst/elements/gstfakesrc.c:
26366 * gst/base/gstpushsrc.c:
26367 * gst/base/gstbasesrc.h:
26368 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26370 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26373 better report generation target (lcov needs a patch)
26375 2005-07-05 Andy Wingo <wingo@pobox.com>
26377 * gst/elements, testsuite: Null if we got it...
26379 2005-07-05 Wim Taymans <wim@fluendo.com>
26382 * libs/gst/dataprotocol/Makefile.am:
26383 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26384 * libs/gst/dataprotocol/dataprotocol.h:
26385 * pkgconfig/Makefile.am:
26386 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26387 * pkgconfig/gstreamer-dataprotocol.pc.in:
26388 Ported dataprotol to 0.9.
26389 Added pkgconfig files.
26391 2005-07-05 Andy Wingo <wingo@pobox.com>
26393 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26394 Default to returning TRUE for the case when tranform_caps returns
26395 a fixed caps, like for identity or volume.
26397 * check/gst/gstbus.c (pound_bus_with_messages):
26398 * check/gst/gstmessage.c (START_TEST):
26399 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26400 message API change.
26402 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26403 logic weaks here: always run transform_caps, trying passthrough
26404 operation only if the original caps intersects with the transform.
26406 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26407 source and sink caps.
26409 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26410 Intersect the peer caps with the pad template before going into
26412 (gst_base_transform_transform_caps): More debugging.
26414 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26417 2005-07-04 Edward Hervey <edward@fluendo.com>
26421 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26424 2005-07-04 Andy Wingo <wingo@pobox.com>
26426 * check/gst/gstpad.c: Only set explicit caps on pads.
26428 2005-07-01 Andy Wingo <wingo@pobox.com>
26430 * tests/network-clock.scm: Commentary update.
26432 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26433 Didn't really make sense, not implementable with basetransform,
26435 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26436 attempt at implementing the sync property, needs an unlock method.
26438 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26439 New func, by default returns the same caps (the identity
26441 (gst_base_transform_getcaps): Uses transform_caps to return
26442 something sensible.
26443 (gst_base_transform_setcaps): Complicated logic to get caps on
26444 both pads, even if they are different, and to call set_caps once
26445 for every time both pads get their caps set.
26446 (gst_base_transform_handle_buffer): Give the ref to the transform
26447 function. Allows in-place modification of the buffer.
26449 * gst/base/gstbasetransform.h (transform_caps): New class method.
26450 Given caps on one side, what can I do on the other.
26451 (set_caps): Take two caps, one for each side of the element.
26454 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26455 caps in place. This is safe because we can check the mutability of
26456 the caps, and a good idea because fixate functions are just called
26457 as a matter of last resort. (Not actually implemented.)
26458 (gst_pad_set_caps): If the caps we're setting is actually the same
26459 as the existing pad caps, just update the pointer without calling
26460 setcaps. Assert that caps is either NULL or fixed, as per the
26463 * gst/gstghostpad.c: Update for fixate changes.
26465 2005-07-02 Andy Wingo <wingo@pobox.com>
26468 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26469 two refcounts makes it immutable, which is enough. Doc more.
26471 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26473 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26474 Put the mini_object into GValue as a mini_object,
26475 not a gpointer, since that's how we declared
26478 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26480 * examples/pwg/Makefile.am:
26481 Fix buildbot again.
26483 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26485 * docs/pwg/building-testapp.xml:
26487 * examples/pwg/Makefile.am:
26490 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26493 * examples/Makefile.am:
26494 * examples/pwg/Makefile.am:
26495 * examples/pwg/extract.pl:
26496 Enable building the PWG examples.
26497 * docs/pwg/advanced-interfaces.xml:
26498 Add URI interface stub.
26499 * docs/pwg/advanced-types.xml:
26500 * docs/pwg/other-autoplugger.xml:
26501 * docs/pwg/appendix-porting.xml:
26502 * docs/pwg/pwg.xml:
26503 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26504 * docs/pwg/building-boiler.xml:
26505 * docs/pwg/building-chainfn.xml:
26506 * docs/pwg/building-pads.xml:
26507 * docs/pwg/building-props.xml:
26508 * docs/pwg/building-state.xml:
26509 * docs/pwg/building-testapp.xml:
26510 Update the building-*.xml parts for 0.9 changes. All examples
26511 code blocks compile in examples/pwg/*.
26513 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26515 * docs/manual/advanced-autoplugging.xml:
26516 * docs/manual/appendix-checklist.xml:
26517 * docs/manual/appendix-integration.xml:
26518 * docs/manual/highlevel-components.xml:
26519 Fix playbin/decodebin examples, update docs a bit, mention bus
26520 instead of signals in various places, mention kmplayer and
26521 kaffeine since they have a working GStreamer backend in the KDE
26524 2005-06-30 Wim Taymans <wim@fluendo.com>
26527 * docs/design/draft-ghostpads.txt:
26528 * docs/design/draft-push-pull.txt:
26529 * docs/design/draft-query.txt:
26530 * docs/design/part-TODO.txt:
26531 * docs/design/part-query.txt:
26532 Added CHANGES-0.9 doc, updated status of other docs.
26537 2005-06-30 Wim Taymans <wim@fluendo.com>
26539 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26540 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26541 (gst_base_sink_change_state):
26542 * gst/base/gstbasesink.h:
26543 Some tweaks, only EOS and a buffer complete a preroll.
26545 2005-06-30 Andy Wingo <wingo@pobox.com>
26547 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26548 activate_push down to the internal pad as well.
26550 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26552 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26554 * gst/gsttaginterface.c:
26555 Some documentation fixes (#307394 and #307397).
26557 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26559 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26561 * gst/gstvalue.c: (gst_value_intersect_list):
26562 Fix memleak (#309125).
26564 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26566 * docs/manual/advanced-dataaccess.xml:
26567 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26568 * docs/manual/basics-pads.xml:
26569 Add reference for filtered caps to above chapter.
26571 2005-06-30 Wim Taymans <wim@fluendo.com>
26573 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26574 (gst_bin_change_state):
26576 Lame attempt at making the state change function a bit
26579 2005-06-30 Wim Taymans <wim@fluendo.com>
26581 * docs/design/part-clocks.txt:
26582 * docs/design/part-element-sink.txt:
26583 * docs/design/part-events.txt:
26584 * docs/design/part-preroll.txt:
26585 * docs/design/part-states.txt:
26586 Some more tweeks and additions to the docs.
26588 2005-06-30 Wim Taymans <wim@fluendo.com>
26590 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26591 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26592 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26593 (gst_pad_check_pull_range), (gst_pad_get_range),
26594 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26596 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26597 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26598 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26599 (gst_pad_remove_buffer_probe):
26600 Removed atomic operations, use existing LOCK.
26601 Move exception handling out of main code path.
26603 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26605 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26606 (silly_return_true_function), (gst_pad_class_init),
26607 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26608 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26609 (gst_pad_send_event):
26610 Fix accumulator, add default value by using _emitv() instead
26611 of _emit() for signal emission.
26613 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26615 * docs/manual/advanced-dataaccess.xml:
26616 * examples/manual/Makefile.am:
26618 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26621 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26623 * gst/elements/gstfilesink.c: (gst_filesink_render):
26624 Simplify code so that we don't have to handle short
26625 writes and return GST_FLOW_ERROR if an error occured.
26627 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26629 * docs/gst/gstreamer-docs.sgml:
26630 Remove probes more.
26632 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26634 * docs/gst/gstreamer-sections.txt:
26635 * docs/gst/tmpl/gstpad.sgml:
26636 * docs/gst/tmpl/gstprobe.sgml:
26638 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26639 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26640 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26641 (gst_pad_push_event), (gst_pad_send_event):
26643 * gst/gstutils.c: (gst_pad_add_data_probe),
26644 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26645 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26646 (gst_pad_remove_buffer_probe):
26648 Remove old probes, add new g-signal-based probes and some utility
26651 2005-06-29 Edward Hervey <edward@fluendo.com>
26653 * gst/gstelementfactory.c:
26656 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26657 the definition to the header file.
26659 2005-06-29 Andy Wingo <wingo@pobox.com>
26661 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26662 plugins from the source directory.
26664 2005-06-29 Wim Taymans <wim@fluendo.com>
26666 * docs/gst/tmpl/gstbuffer.sgml:
26667 * docs/gst/tmpl/gstclock.sgml:
26668 Some fixings for blantently wrong text.
26670 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26672 * check/Makefile.am:
26673 * gst/gst.c: (add_path_func), (init_pre):
26674 * gst/gstregistry.c: (gst_registry_add_path):
26675 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26676 only scan the GST_PLUGIN_PATH locations, and not add
26679 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26681 * docs/gst/gstreamer-sections.txt:
26682 * docs/gst/tmpl/gstbasesrc.sgml:
26683 * gst/gstelement.c:
26684 * gst/gstelement.h:
26689 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26691 * docs/manual/advanced-autoplugging.xml:
26692 Fix autoplugging example.
26694 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26696 * docs/manual/advanced-autoplugging.xml:
26697 * docs/manual/mime-world.fig:
26698 Try to get autoplugging working, fix type detection. Fix text
26699 in hello-world image.
26701 2005-06-29 Wim Taymans <wim@fluendo.com>
26703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26704 (gst_base_sink_change_state):
26708 map SIGNAL and BROADCAST to the right function.
26711 Remove redundant braces.
26713 * gst/gstpad.c: (gst_pad_set_caps):
26714 Don't call setcaps function when reseting caps to NULL.
26716 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26717 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26718 (gst_system_clock_id_unschedule):
26719 Use BROADCAST as this is what we do.
26721 2005-06-29 Wim Taymans <wim@fluendo.com>
26723 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26724 We are actually prerolling before commiting the state
26727 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26729 * docs/manual/advanced-clocks.xml:
26730 * docs/manual/advanced-interfaces.xml:
26731 * docs/manual/advanced-metadata.xml:
26732 * docs/manual/advanced-position.xml:
26733 * docs/manual/advanced-schedulers.xml:
26734 * docs/manual/advanced-threads.xml:
26735 * docs/manual/appendix-porting.xml:
26736 * docs/manual/basics-bins.xml:
26737 * docs/manual/basics-bus.xml:
26738 * docs/manual/basics-elements.xml:
26739 * docs/manual/basics-helloworld.xml:
26740 * docs/manual/basics-pads.xml:
26741 * docs/manual/highlevel-components.xml:
26742 * docs/manual/manual.xml:
26743 * docs/manual/thread.fig:
26744 Update (until threads/scheduling) Application Development Manual;
26745 remove GstThread, add GstBus, add simple porting checklist, add
26746 documentation for tag writing, clocks, make all examples until this
26747 part compile and run.
26748 * examples/manual/Makefile.am:
26749 Update from changes to Application Development Manual; add bus
26750 example, remove thread example.
26752 2005-06-28 Wim Taymans <wim@fluendo.com>
26754 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26755 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26756 (gst_bus_source_dispatch):
26757 Add debugging messages.
26758 Make internal methods static.
26759 Handle the case where the bus is flushed in the handler.
26761 * gst/gstelement.c: (gst_element_get_bus):
26762 Fix refcount in _get_bus();
26764 * gst/gstpipeline.c: (gst_pipeline_change_state),
26765 (gst_pipeline_get_clock_func):
26766 Clock refcounting fixes.
26767 Handle the case where preroll timed out more gracefully.
26769 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26770 Clean up the internal thread in dispose. This is needed
26771 for subclasses that actually get disposed.
26773 * gst/schedulers/threadscheduler.c:
26774 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26775 (gst_thread_scheduler_dispose):
26776 Free thread pool in dispose.
26778 2005-06-28 Andy Wingo <wingo@pobox.com>
26780 * tests/network-clock-utils.scm (debug, print-event): New utils.
26782 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26783 (*packet-loss*): Unified loss probability.
26784 (network-time): Report out-of-band events.
26786 * tests/plot-data: Add support for out-of-band events. Hack it
26787 into this script instead of passing it down the pipe; should fix
26790 2005-06-28 Wim Taymans <wim@fluendo.com>
26792 * docs/gst/gstreamer.types:
26793 * docs/gst/tmpl/gstbasesrc.sgml:
26794 * docs/gst/tmpl/gstpad.sgml:
26797 2005-06-28 Wim Taymans <wim@fluendo.com>
26799 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26800 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26801 (gst_proxy_pad_do_fixatecaps):
26802 Correctly proxy the check_pull_range function.
26804 2005-06-28 Andy Wingo <wingo@pobox.com>
26806 * tests/network-clock.scm: Removed need for slib.
26808 2005-06-28 Wim Taymans <wim@fluendo.com>
26810 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26811 (gst_basesink_preroll_queue_flush):
26812 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26813 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26814 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26815 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26816 (gst_proxy_pad_set_property):
26819 * gst/gstqueue.c: (gst_queue_init):
26820 The deprecated pad loop function is removed now.
26822 2005-06-28 Andy Wingo <wingo@pobox.com>
26824 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26825 New parameters, simulate network packet loss.
26827 * tests/network-clock-utils.scm: Initialize the RNG.
26829 2005-06-28 Wim Taymans <wim@fluendo.com>
26831 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26832 (gst_basesink_event), (gst_basesink_deactivate):
26833 Flushing the preroll queue always needs to unlock the waiters.
26835 2005-06-28 Edward Hervey <edward@fluendo.com>
26837 * gst/gstpipeline.c: (gst_pipeline_send_event):
26838 Wheen a seek was successful on a pipeline, set the stream_time to the
26839 seek offset in order to have a synchronized stream_time.
26841 2005-06-28 Wim Taymans <wim@fluendo.com>
26843 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26844 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26845 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26846 (gst_proxy_pad_do_fixatecaps):
26847 Call wrapper function instead of just calling the function
26848 pointers. This takes care of any locking and whatmore.
26850 2005-06-28 Wim Taymans <wim@fluendo.com>
26852 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26853 (gst_pad_pull_range):
26855 CONNECTED -> LINKED.
26857 2005-06-28 Andy Wingo <wingo@pobox.com>
26859 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26860 source-munging commit!!!
26862 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26863 (gst_object_sink): Take gpointer arguments, not GstObject --
26864 avoids casts. Like GLib.
26866 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26869 2005-06-27 Andy Wingo <wingo@pobox.com>
26871 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26874 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26875 returns a sorted copy of the trace list.
26876 (gst_alloc_trace_print_live): New API, only prints traces with
26877 live objects. Sort the list.
26878 (gst_alloc_trace_print_all): Sort the list.
26879 (gst_alloc_trace_print): Align columns.
26881 * gst/elements/gstttypefindelement.c:
26882 * gst/elements/gsttee.c:
26883 * gst/base/gstbasesrc.c:
26884 * gst/base/gstbasesink.c:
26885 * gst/base/gstbasetransform.c:
26886 * gst/gstqueue.c: Adapt for pad activation changes.
26888 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26890 (gst_pipeline_dispose): Drop ref on sched.
26892 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26893 (gst_pad_activate_default): Push mode by default.
26894 (pre_activate_switch, post_activate_switch): New stubs, things to
26895 do before and after switching activation modes on pads.
26896 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26897 the pad's activate function to choose which mode to activate.
26898 Shortcut on deactivation and call the right function directly.
26899 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26901 (gst_pad_activate_push): New API, same for push mode.
26902 (gst_pad_set_activate_function)
26903 (gst_pad_set_activatepull_function)
26904 (gst_pad_set_activatepush_function): Setters for new API.
26906 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26907 Trace all miniobjects.
26908 (gst_mini_object_make_writable): Unref the arg if we copy, like
26909 gst_caps_make_writable.
26911 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26913 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26914 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26915 Adapt for new pad API.
26917 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26919 * gst/gstelement.h:
26920 * gst/gstelement.c (gst_element_iterate_src_pads)
26921 (gst_element_iterate_sink_pads): New API functions.
26923 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26924 should fold into gstiterator.c in some form.
26925 (gst_element_pads_activate): Simplified via use of fold and
26926 delegation of decisions to gstpad->activate.
26928 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26931 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26932 class once in init, like gstmessage. Didn't run into this issue
26933 but it seems correct. Don't initialize a trace, gstminiobject does
26936 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26937 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26939 (assert_live_count): New util function, uses alloc traces to check
26942 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26943 To be modified when unlink drops the internal pad.
26945 2005-06-27 Wim Taymans <wim@fluendo.com>
26947 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26948 (gst_bin_change_state):
26949 Cleanup the get_state() function a little, make sure it
26950 iterates the same set of elements.
26951 Added stub iterate_state_order().
26953 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26955 * docs/gst/gstreamer-docs.sgml:
26956 * docs/gst/gstreamer-sections.txt:
26957 * docs/gst/gstreamer.types:
26958 * docs/gst/tmpl/gstbasesink.sgml:
26959 * docs/gst/tmpl/gstbasesrc.sgml:
26960 * docs/gst/tmpl/gstbasetransform.sgml:
26961 * docs/gst/tmpl/gstelement.sgml:
26962 * docs/gst/tmpl/gstiterator.sgml:
26963 * gst/base/gstbasesrc.c:
26964 * gst/base/gstbasesrc.h:
26965 * gst/base/gstbasetransform.h:
26966 * gst/gstelement.c:
26967 * gst/gstiterator.h:
26968 adding basetransform and iterator docs
26970 2005-06-27 Andy Wingo <wingo@pobox.com>
26972 * docs/design/part-activation.txt: Notes on how activation should
26973 work -- not quite implemented yet.
26975 2005-06-25 Wim Taymans <wim@fluendo.com>
26977 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26978 At least get the chain function correct, needs more
26981 2005-06-25 Wim Taymans <wim@fluendo.com>
26983 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26984 (gst_basesink_handle_object), (gst_basesink_event),
26985 (gst_basesink_do_sync), (gst_basesink_handle_event),
26986 (gst_basesink_change_state):
26988 Right, two problems here: ghostpads don't take locks and
26989 glib _rec_mutex_lock_full() with depth==0 still locks.
26990 Catch illegal locking and g_warn them.
26992 2005-06-25 Wim Taymans <wim@fluendo.com>
26994 * check/states/sinks.c: (START_TEST), (gst_object_suite):
26995 Have to check for completion now...
26997 2005-06-25 Wim Taymans <wim@fluendo.com>
26999 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27000 (gst_basesink_handle_object), (gst_basesink_event),
27001 (gst_basesink_do_sync), (gst_basesink_handle_event),
27002 (gst_basesink_change_state):
27004 Unlock STREAM_LOCK whatever the recursion was.
27006 2005-06-25 Wim Taymans <wim@fluendo.com>
27008 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27009 (gst_basesink_preroll_queue_empty),
27010 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27011 (gst_basesink_event), (gst_basesink_do_sync),
27012 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27013 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27014 (gst_basesink_change_state):
27015 Reworked the base sink, handle event and buffer serialisation
27016 correctly and removed possible deadlock.
27017 Handle EOS correctly.
27019 2005-06-25 Wim Taymans <wim@fluendo.com>
27021 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27022 (gst_pipeline_change_state):
27023 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27024 Allow elements to post EOS in the state change function.
27025 Fix up -launch, make it exit the poll loop when the
27026 pipeline actually changed state.
27027 Fix up warning parsing in -launch.
27029 2005-06-25 Wim Taymans <wim@fluendo.com>
27031 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27032 (gst_tee_sink_activate):
27033 Core takes STREAM_LOCK for us now.
27035 2005-06-25 Wim Taymans <wim@fluendo.com>
27037 * gst/gstelement.c: (gst_element_get_state_func),
27038 (gst_element_set_state):
27039 * gst/gstelement.h:
27040 * gst/gstmessage.c: (gst_message_parse_error),
27041 (gst_message_parse_warning):
27042 Keep track of current target state while performing a state
27043 change so that subclasses can do something interesting.
27044 Fix parsing of warning/error messages when GError is NULL.
27046 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27048 * docs/gst/Makefile.am:
27049 * docs/gst/gstreamer-docs.sgml:
27050 * docs/gst/gstreamer-sections.txt:
27051 * docs/gst/gstreamer.types:
27052 * docs/gst/tmpl/gstbasesink.sgml:
27053 * docs/gst/tmpl/gstbasesrc.sgml:
27054 * docs/gst/tmpl/gstbin.sgml:
27055 * docs/gst/tmpl/gstcompat.sgml:
27056 * docs/gst/tmpl/gstfakesink.sgml:
27057 * docs/gst/tmpl/gstfakesrc.sgml:
27058 * docs/gst/tmpl/gstfilesink.sgml:
27059 * docs/gst/tmpl/gstfilesrc.sgml:
27060 * docs/gst/tmpl/gstindex.sgml:
27061 * docs/manual/appendix-quotes.xml:
27062 * gst/base/gstbasesrc.h:
27063 * gst/elements/gstfakesrc.h:
27064 * gst/gstmessage.h:
27065 start pulling in base classes and elements in our docs
27067 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27069 * docs/gst/Makefile.am:
27070 * docs/libs/Makefile.am:
27071 fixed make distcheck with gtk-doc 1.3
27073 2005-06-23 Wim Taymans <wim@fluendo.com>
27075 * gst/gstelement.c: (gst_element_get_state_func),
27076 (gst_element_set_state), (gst_element_change_state):
27077 When the state did not change, also report NO_PREROLL
27080 2005-06-23 Wim Taymans <wim@fluendo.com>
27082 * gst/gstpad.c: (gst_pad_event_default):
27083 * gst/gstqueue.c: (gst_queue_loop):
27084 No unsafe task pausing please.
27086 2005-06-23 Wim Taymans <wim@fluendo.com>
27088 * gst/schedulers/threadscheduler.c:
27089 (gst_thread_scheduler_task_start),
27090 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27091 Ref the task before pushing it on the threadpool. This
27092 makes sure that we have a ref when the threadfunction is
27095 2005-06-23 Andy Wingo <wingo@pobox.com>
27097 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27098 offset is greater than the file's size.
27100 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27101 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27102 * gst/gstobject.c (gst_object_class_init): Make the class lock
27103 recursive. Wim won't let me drop deep_notify. Decodebin works
27104 again, whoopdy doo.
27106 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27107 internal pad, and hacks accordingly. Doesn't do it on the target
27108 pad because we change its caps. Probably catches all cases of
27110 (gst_ghost_pad_set_property): Connect to notify::caps as
27113 * tests/network-clock.scm (plot-simulation): Pipe data to the
27114 elite python skript.
27116 * tests/network-clock-utils.scm (define-parameter): New macro,
27117 defines a parameter that can be set via the command line.
27118 (set-parameter!, parse-parameter-arguments): Command line args
27121 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27124 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27126 * gst/elements/gsttypefindelement.c:
27127 (gst_type_find_element_handle_event):
27128 Don't restart typefinding on a discont.
27129 * gst/gstelement.c: (gst_element_set_state):
27130 Debug spelling fix.
27131 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27132 Allow changing mode of an active pad.
27133 Debug output fixes.
27134 * gst/registries/gstlibxmlregistry.c: (load_feature):
27135 Don't cast a static pad template to a normal pad template.
27137 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27139 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27140 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27141 remove gst_strtoll completely, since it didn't actually do
27142 anything more than what g_ascii_strtoull already does.
27143 check for range errors when deserializing
27144 do a cast for the unsigned cases; but further fixing needs
27145 a decision on what the interpretation of "(int)" and
27146 deserialization should be for values that fall outside the
27147 type's boundaries (ie, refuse, or interpret as casting)
27149 2005-06-23 Wim Taymans <wim@fluendo.com>
27151 * check/Makefile.am:
27152 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27153 * docs/design/part-live-source.txt:
27154 * docs/design/part-states.txt:
27155 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27156 (gst_basesrc_set_live), (gst_basesrc_is_live),
27157 (gst_basesrc_get_range), (gst_basesrc_activate),
27158 (gst_basesrc_change_state):
27159 * gst/base/gstbasesrc.h:
27160 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27161 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27162 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27163 * gst/gstelement.c: (gst_element_get_state_func),
27164 (gst_element_set_state):
27165 * gst/gstelement.h:
27167 * tools/gst-launch.c: (event_loop), (main):
27168 Added support for live sources and other elements that
27170 Updated design docs, added live-source design doc.
27171 Implemented live source functionality in basesrc
27172 Fix error condition in _bin_get_state()
27173 Implement live source handling in -launch.
27174 Added check for live sources.
27175 Fixed case in GstBin where elements were changed state
27179 2005-06-23 Andy Wingo <wingo@pobox.com>
27181 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27182 borken refcounting.
27184 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27185 gst_caps_replace takes care of this for us.
27187 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27188 gst_pad_set_caps on the target, not just its setcaps() function.
27190 * tests/network-clock.scm:
27191 * tests/network-clock-utils.scm: A network clock simulator.
27192 Something of an algorithmic testbed before doing something in C.
27194 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27196 * check/Makefile.am:
27197 * check/gst/capslist.h:
27198 copy over from 0.8, and add two with bitmasks specified with
27200 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27201 add test to parse everything from capslist.h
27202 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27204 add test for structure deserialization
27205 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27206 add tests for deserialization of strings to int types
27207 * gst/gststructure.c: (gst_structure_nth_field_name):
27208 * gst/gststructure.h:
27209 add a way to get the name of a field referenced by index
27210 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27211 instead of checking if the resulting long long lies between
27212 min and max, we check if the long long would fit into
27213 a number of bytes for the final type.
27214 This fixes cases where a string represents 2^32 - 1, which
27215 when cast to int would be the (valid) -1, but is bigger than
27218 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27220 * gst/parse/grammar.y:
27221 add a log line for type deserialization
27223 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27225 * check/gst/gstvalue.c: (START_TEST):
27226 * gst/gstvalue.c: (gst_value_deserialize):
27227 return long long, not int, so gint64 deserialization actually
27228 works. Is there any flag that makes the compiler check this ?
27231 2005-06-22 Wim Taymans <wim@fluendo.com>
27234 Added convenience macros for setting buffers in GValue.
27236 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27238 * check/gst/.cvsignore:
27239 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27240 add a test deserializing int64, and comment part out because
27243 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27245 * check/Makefile.am:
27246 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27247 * testsuite/Makefile.am:
27248 * testsuite/caps/Makefile.am:
27249 * testsuite/caps/value_serialize.c:
27250 * testsuite/test_gst_init.c:
27251 move a value_serialize test over
27253 2005-06-20 Wim Taymans <wim@fluendo.com>
27258 * gst/gstvalue.c: (gst_value_compare_buffer),
27259 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27260 (gst_value_compare_flags), (gst_value_serialize_flags),
27261 (gst_value_deserialize_flags), (_gst_value_initialize):
27262 Fix serialisation of buffers, they are not boxed types anymore
27264 2005-06-20 Wim Taymans <wim@fluendo.com>
27266 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27267 Testcase to show error in buffer-on-caps serialisation.
27269 2005-06-20 Andy Wingo <wingo@pobox.com>
27271 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27272 will be adding to later.
27274 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27275 if its socks fill with rocks.
27276 (gst_system_clock_obtain): Set the name on object construction.
27277 Avoid double-checked locking.
27279 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27281 * gst/gsturi.c: (gst_element_make_from_uri):
27282 Fix potential endless loop.
27284 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27286 * check/Makefile.am:
27288 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27290 move over from testsuite dir and clean up
27293 * testsuite/Makefile.am:
27294 * testsuite/tags/.cvsignore:
27295 * testsuite/tags/Makefile.am:
27296 * testsuite/tags/merge.c:
27297 remove testsuite/tags
27299 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27301 * docs/gst/gstreamer-sections.txt:
27302 * docs/gst/tmpl/gstenumtypes.sgml:
27303 * win32/gstenumtypes.c:
27304 clean up documentation build a little
27306 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27308 * check/gstcheck.h:
27309 add macros for checking refcounts on objects and caps
27310 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27311 add some more unit tests
27312 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27313 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27314 fix leaked refcounts (I hope :)) so unittest works
27318 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27320 * configure.ac: back to HEAD
27322 === release 0.9.1 ===
27324 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27330 2005-06-17 Andy Wingo <wingo@pobox.com>
27332 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27333 assert; it's always possible that the pad gets deactivated in
27334 between the checks in gstpad.c and the implementation. Rely on
27335 finish_preroll() to return a FLUSHING or similar instead of on the
27338 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27339 clock and post an EOS message if we come out of finish_preroll in
27342 2005-06-16 David Schleef <ds@schleef.org>
27344 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27345 (gst_capsfilter_set_property): Allow NULL as possible value
27346 for filter_caps property, indicating GST_CAPS_ANY.
27348 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27350 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27352 * gst/schedulers/Makefile.am:
27354 * gstreamer.spec.in:
27357 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27359 * gstreamer.spec.in:
27362 2005-06-08 Andy Wingo <wingo@pobox.com>
27364 * gst/gstutils.c: RPAD fixes all around.
27365 (gst_element_link_pads): Refcounting fixes.
27367 * tools/gst-inspect.c:
27368 * tools/gst-xmlinspect.c:
27370 * gst/base/gsttypefindhelper.c:
27371 * gst/base/gstbasesink.c:
27372 * gst/gstqueue.c: RPAD fixes.
27374 * gst/gstghostpad.h:
27375 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27376 pads. The tricky thing is they provide both source and sink
27377 interfaces, since they proxy the internal pad for the external
27378 pad, and vice versa. Implement with lower-level ProxyPad objects,
27379 with the interior proxy pad as a child of the exterior ghost pad.
27380 Should write a doc on this.
27382 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27383 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27386 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27387 pads are real pads. No ghost pads in this file. Not documenting
27388 the myriad s/RPAD/PAD/ and REALIZE fixes.
27389 (gst_pad_class_init): Add properties for "direction" and
27390 "template". Both are construct-only, so they can't change during
27391 the life of the pad. Fixes properly deriving from GstPad.
27392 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27393 derived objects, just set properties when creating the objects via
27395 (gst_pad_get_parent): Implement as a function, return NULL if the
27396 parent is not an element.
27397 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27398 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27400 * gst/gstobject.c (gst_object_class_init): Make name a construct
27401 property. Don't set it in the object init.
27403 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27404 with UNKNOWN direction.
27405 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27406 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27407 (gst_element_remove_pad): Remove ghost-pad special cases.
27408 (gst_element_pads_activate): Remove rpad cruft.
27410 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27411 catch the pad's-parent-not-an-element case.
27413 * gst/gst.h: Include gstghostpad.h.
27415 * gst/gst.c (init_post): No more real, ghost pads.
27417 * gst/Makefile.am: Add gstghostpad.[ch].
27419 * check/Makefile.am:
27420 * check/gst/gstbin.c:
27421 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27422 into a bin creates ghost pads, and that the refcounts are right.
27423 Partly moved from gstbin.c.
27425 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27427 * check/gst-libs/.cvsignore:
27428 * check/gst/.cvsignore:
27429 * check/pipelines/.cvsignore:
27431 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27432 (START_TEST), (cleanup_suite), (main):
27433 add some tests related to cleanup after running pipelines
27435 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27437 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27438 add a testsuite for GstBuffer
27440 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27442 * gst/gstminiobject.h:
27443 add defines for accessing the refcount
27445 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27447 * Makefile.am: added support for html unit test coverage reports
27449 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27451 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27452 Free existing caps if the capsfilter changes. Add a FIXME about
27453 setting those caps on the pads.
27455 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27456 Before adding a ghost pad to a parent bin, check that there isn't
27457 already one for the element on the bin. Prevents infinite recursion
27458 when using decodebin in parse pipelines. Andy says he'll rewrite the
27459 way this works anyway, so ignore the hack.
27461 2005-06-02 Andy Wingo <wingo@pobox.com>
27463 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27464 file size, pass it on to the type find helper.
27466 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27467 segment_start and segment_end properly according to the seek
27468 method. Segment_end is still a bit flaky because offset can be
27469 negative for CUR and END cases, but it takes -1 as an "unset"
27472 2005-06-02 Wim Taymans <wim@fluendo.com>
27474 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27475 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27476 (gst_basesink_activate):
27477 * gst/base/gstbasesink.h:
27478 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27479 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27480 (gst_pad_query), (gst_pad_start_task):
27482 * gst/gstqueue.c: (gst_queue_bufferalloc),
27483 (gst_queue_handle_sink_event), (gst_queue_chain):
27484 Bufferalloc: return GstFlowReturn to more accuratly report
27485 why allocation failed.
27487 2005-06-02 Wim Taymans <wim@fluendo.com>
27489 * gst/gstpipeline.c: (gst_pipeline_send_event):
27490 Take snapshot of state without blocking.
27492 2005-06-02 Wim Taymans <wim@fluendo.com>
27494 * docs/design/part-TODO.txt:
27495 * docs/design/part-caps.txt:
27496 * docs/design/part-clocks.txt:
27497 * docs/design/part-negotiation.txt:
27498 * docs/design/part-preroll.txt:
27501 2005-05-30 Wim Taymans <wim@fluendo.com>
27503 * gst/elements/gstidentity.c: (gst_identity_event),
27504 (gst_identity_transform), (gst_identity_get_property):
27505 Protect last_message property as it is accessed from
27508 2005-05-30 Wim Taymans <wim@fluendo.com>
27510 * gst/gstelement.c: (gst_element_init),
27511 (gst_element_pads_activate), (gst_element_change_state):
27512 Slicker pad activation code.
27514 2005-05-30 Wim Taymans <wim@fluendo.com>
27517 * gst/gstelement.h:
27518 * gst/gstelementfactory.h:
27520 Move elementfactory methods to separate .h file.
27522 2005-05-30 Wim Taymans <wim@fluendo.com>
27524 * docs/design/part-overview.txt:
27525 * gst/gstsystemclock.h:
27526 Small typo fixes, doc updates.
27528 2005-05-30 Wim Taymans <wim@fluendo.com>
27530 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27531 (init_popt_callback):
27532 Remove cpu-opt flag.
27534 2005-05-30 Wim Taymans <wim@fluendo.com>
27536 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27537 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27539 Avoid typechecking in places where not needed.
27540 Added accessor for malloc_data.
27542 2005-05-30 Wim Taymans <wim@fluendo.com>
27544 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27545 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27546 (gst_pad_configure_sink), (gst_pad_configure_src),
27547 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27548 (gst_pad_start_task):
27549 Propagate errors from _set_caps() in configure_src/sink
27550 functions instead of returning TRUE.
27551 FLUSH events can travel up and downstream
27554 2005-05-30 Wim Taymans <wim@fluendo.com>
27556 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27557 (gst_basesink_activate):
27558 Handle EOS in preroll.
27560 2005-05-30 Wim Taymans <wim@fluendo.com>
27562 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27563 (gst_queue_loop), (gst_queue_handle_src_event):
27564 Remove old pieces of code
27565 Flushing the queue in an upstream event is a very bad idea.
27567 2005-05-26 Andy Wingo <wingo@pobox.com>
27569 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27570 gst_value_set_mini_object so as to add a ref on the object (which
27571 will be removed when the value is unset).
27573 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27574 arg type in ::handoff.
27576 * gst/gstelement.c (gst_element_change_state): Also deactivate
27577 pads in READY->NULL, just in case the element didn't make it to
27578 PAUSED. Wingo tested, Wim approved.
27580 2005-05-26 Wim Taymans <wim@fluendo.com>
27582 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27583 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27584 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27585 A flushing pad cannot be used to alloc_buffer from.
27587 2005-05-26 Wim Taymans <wim@fluendo.com>
27589 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27590 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27591 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27592 (gst_bus_create_watch), (gst_bus_add_watch_full):
27594 Implement a real GSource and use g_main_context_wakeup() to
27595 signal new messages instead of the socketpair.
27597 2005-05-25 Wim Taymans <wim@fluendo.com>
27599 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27600 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27601 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27602 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27603 (gst_pad_send_event), (gst_pad_start_task):
27604 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27605 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27606 (gst_queue_sink_activate), (gst_queue_src_activate),
27607 (gst_queue_change_state):
27609 Fix state changes for non sinks. We now change sinks, then elements
27610 with unconnected srcpads, then the rest.
27611 More efficient queue unlocking in flush and state changes.
27612 Set the pad activate mode even if it does not have an activate
27615 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27617 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27618 Don't go in pull mode for non-seekable sources.
27619 * gst/elements/gsttypefindelement.h:
27620 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27621 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27622 (free_entry), (stop_typefinding),
27623 (gst_type_find_element_handle_event), (find_peek),
27624 (gst_type_find_element_chain), (do_pull_typefind),
27625 (gst_type_find_element_change_state):
27626 Allow typefinding (w/o seeking) in push-mode, simplified version
27627 of what was in 0.8.
27628 * gst/gstutils.c: (gst_buffer_join):
27630 gst_buffer_join() from 0.8.
27632 2005-05-25 Wim Taymans <wim@fluendo.com>
27634 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27635 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27636 (gst_pad_send_event), (gst_pad_start_task):
27637 Disable attempt at mode switching until it is figured out.
27639 2005-05-25 Wim Taymans <wim@fluendo.com>
27641 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27642 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27643 (gst_basesink_finish_preroll), (gst_basesink_chain),
27644 (gst_basesink_loop), (gst_basesink_activate),
27645 (gst_basesink_change_state):
27646 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27647 (gst_basesrc_get_range), (gst_basesrc_loop),
27648 (gst_basesrc_activate):
27649 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27650 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27651 (gst_real_pad_init), (gst_real_pad_set_property),
27652 (gst_real_pad_get_property), (gst_pad_set_active),
27653 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27654 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27655 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27656 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27657 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27658 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27659 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27660 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27661 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27662 (gst_pad_stop_task):
27664 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27665 (gst_queue_loop), (gst_queue_src_activate):
27666 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27667 (gst_task_get_state):
27669 * gst/schedulers/threadscheduler.c:
27670 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27671 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27673 Remove ACTIVE pad flag, use FLUSHING everywhere
27674 Added _pad_chain(), _pad_get_range() to call chain/getrange
27676 Add locks around IS_FLUSHING when reading.
27677 Take STREAM lock in chain(), get_range() functions so plugins
27678 don't need to take it anymore.
27682 2005-05-25 Wim Taymans <wim@fluendo.com>
27684 * tools/gst-launch.c: (event_loop):
27685 Unref message after using its contents instead of
27688 2005-05-24 Wim Taymans <wim@fluendo.com>
27690 * docs/design/draft-ghostpads.txt:
27691 * docs/design/draft-push-pull.txt:
27692 * docs/design/draft-query.txt:
27693 * docs/design/part-overview.txt:
27694 Docs updates, added general overview doc.
27696 2005-05-21 David Schleef <ds@schleef.org>
27698 * docs/gst/tmpl/old/GstBin.sgml:
27699 * docs/gst/tmpl/old/GstBuffer.sgml:
27700 * docs/gst/tmpl/old/GstCaps.sgml:
27701 * docs/gst/tmpl/old/GstClock.sgml:
27702 * docs/gst/tmpl/old/GstCompat.sgml:
27703 * docs/gst/tmpl/old/GstData.sgml:
27704 * docs/gst/tmpl/old/GstElement.sgml:
27705 * docs/gst/tmpl/old/GstEvent.sgml:
27706 * docs/gst/tmpl/old/GstIndex.sgml:
27707 * docs/gst/tmpl/old/GstStructure.sgml:
27708 * docs/gst/tmpl/old/GstTag.sgml:
27709 * docs/gst/tmpl/old/cothreads.sgml:
27710 * docs/gst/tmpl/old/cothreads_compat.sgml:
27711 * docs/gst/tmpl/old/gettext.sgml:
27712 * docs/gst/tmpl/old/gobject2gtk.sgml:
27713 * docs/gst/tmpl/old/grammar.tab.sgml:
27714 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27715 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27716 * docs/gst/tmpl/old/gst_private.sgml:
27717 * docs/gst/tmpl/old/gstaggregator.sgml:
27718 * docs/gst/tmpl/old/gstarch.sgml:
27719 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27720 * docs/gst/tmpl/old/gstbufferstore.sgml:
27721 * docs/gst/tmpl/old/gstdata_private.sgml:
27722 * docs/gst/tmpl/old/gstdisksink.sgml:
27723 * docs/gst/tmpl/old/gstdisksrc.sgml:
27724 * docs/gst/tmpl/old/gstelementfactory.sgml:
27725 * docs/gst/tmpl/old/gstextratypes.sgml:
27726 * docs/gst/tmpl/old/gstfakesink.sgml:
27727 * docs/gst/tmpl/old/gstfakesrc.sgml:
27728 * docs/gst/tmpl/old/gstfdsink.sgml:
27729 * docs/gst/tmpl/old/gstfdsrc.sgml:
27730 * docs/gst/tmpl/old/gstfilesink.sgml:
27731 * docs/gst/tmpl/old/gstfilesrc.sgml:
27732 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27733 * docs/gst/tmpl/old/gstidentity.sgml:
27734 * docs/gst/tmpl/old/gstindexfactory.sgml:
27735 * docs/gst/tmpl/old/gstmarshal.sgml:
27736 * docs/gst/tmpl/old/gstmd5sink.sgml:
27737 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27738 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27739 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27740 * docs/gst/tmpl/old/gstpipefilter.sgml:
27741 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27742 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27743 * docs/gst/tmpl/old/gstshaper.sgml:
27744 * docs/gst/tmpl/old/gstspider.sgml:
27745 * docs/gst/tmpl/old/gstspideridentity.sgml:
27746 * docs/gst/tmpl/old/gststatistics.sgml:
27747 * docs/gst/tmpl/old/gsttee.sgml:
27748 * docs/gst/tmpl/old/gsttimecache.sgml:
27749 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27750 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27751 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27752 * docs/gst/tmpl/old/types.sgml:
27753 I didn't intend to add these or check them in.
27755 2005-05-19 David Schleef <ds@schleef.org>
27757 * configure.ac: Use -no-common everywhere. In a sane world, it
27758 would be the default in libtool, because without it, you can't
27759 build DLLs on Windows.
27760 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27761 * docs/gst/gstreamer-sections.txt:
27762 * docs/gst/tmpl/gstcpu.sgml:
27763 * docs/gst/tmpl/gstdata.sgml:
27764 * docs/gst/tmpl/gstthread.sgml:
27766 2005-05-19 David Schleef <ds@schleef.org>
27768 * gst/gstminiobject.c: (gst_value_set_mini_object),
27769 (gst_value_take_mini_object), (gst_value_get_mini_object):
27770 * gst/gstminiobject.h: Add GValue set/get functions.
27772 2005-05-19 Wim Taymans <wim@fluendo.com>
27774 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27775 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27776 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27778 * gst/gstbus.c: (gst_bus_post):
27779 * gst/gstelement.c: (gst_element_get_random_pad):
27780 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27781 Make subbufer unref the parent in finalize.
27782 some more debugging info.
27785 2005-05-19 Wim Taymans <wim@fluendo.com>
27787 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27788 (gst_basesink_init), (gst_basesink_finalize),
27789 (gst_basesink_activate), (gst_basesink_change_state):
27790 Don't free preroll queue too early.
27792 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27796 Hi, I'm outdated. Please shoot me.
27798 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27800 * gst/gstpipeline.c: (gst_pipeline_send_event):
27801 Do not access variables after they have been deleted.
27803 2005-05-19 Wim Taymans <wim@fluendo.com>
27805 * tools/gst-inspect.c: (print_plugin_features):
27806 A plugin feature does unfortunatly not use the
27809 2005-05-18 Wim Taymans <wim@fluendo.com>
27811 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27812 Port _span() functions to new subbuffers.
27814 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27816 * gst/gstbin.c: (gst_bin_add_func):
27817 Fix clock settery in bins when adding kids after the clock has
27820 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27822 * gst/elements/gstidentity.c: (gst_identity_class_init):
27823 Workaround until signals support GstMiniObject.
27825 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27828 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27830 2005-05-18 Wim Taymans <wim@fluendo.com>
27832 * gst/base/Makefile.am:
27833 * gst/base/gstadapter.c: (gst_adapter_base_init),
27834 (gst_adapter_class_init), (gst_adapter_init),
27835 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27836 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27837 (gst_adapter_flush), (gst_adapter_available),
27838 (gst_adapter_available_fast):
27839 * gst/base/gstadapter.h:
27840 Ported and added adapter to the base classes.
27842 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27845 * gst/gstmessage.c:
27846 Make sure the class is reffed/unreffed once before threads can be
27847 used. Fixes #304551.
27849 2005-05-17 Wim Taymans <wim@fluendo.com>
27851 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27852 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27853 * gst/gstminiobject.c: (gst_mini_object_get_type),
27854 (gst_mini_object_free):
27855 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27856 (gst_pad_push), (gst_pad_push_event):
27857 * gst/gstqueue.c: (gst_queue_change_state):
27858 Don't queue buffers in basesink when we are flushing.
27859 Unref buffer when flushing in basesink.
27860 Flush queue when going to READY
27861 Unref buffer when _push() returns an error.
27862 Don't free MiniObject instance when refcount is incremented
27863 in _finalize() so that we can recover objects.
27865 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27867 * docs/manual/advanced-schedulers.xml:
27868 * docs/manual/appendix-checklist.xml:
27869 * docs/pwg/advanced-clock.xml:
27870 * docs/pwg/advanced-interfaces.xml:
27871 * docs/pwg/advanced-request.xml:
27872 * docs/pwg/advanced-types.xml:
27873 * docs/pwg/intro-preface.xml:
27874 * examples/plugins/example.c: (gst_example_get_type),
27875 (gst_example_class_init), (gst_example_chain),
27876 (gst_example_set_property), (gst_example_get_property),
27877 (gst_example_change_state), (plugin_init):
27878 * examples/plugins/example.h:
27881 2005-05-17 Wim Taymans <wim@fluendo.com>
27883 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27884 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27885 * gst/gstqueue.c: (gst_queue_change_state):
27886 Clear queue when going to READY.
27887 Remove IN_SETCAPS flag too.
27889 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27891 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27892 Remove implicit cast from gboolean to GstElementStateReturn;
27893 make sure we still return failure in paused => ready case if
27894 the parent class fails to change state and our own stop
27897 2005-05-17 Wim Taymans <wim@fluendo.com>
27899 * tools/gst-launch.c: (event_loop):
27900 Message was unreffed too soon.
27902 2005-05-16 Andy Wingo <wingo@pobox.com>
27904 * gst/gstbin.c (sink_iterator_filter): Err... um...
27906 * check/gst/gstbin.c (test_ghost_pads): New test for the
27907 ghosting-if-elements-not-in-same-bin behavior.
27909 2005-05-16 David Schleef <ds@schleef.org>
27911 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27912 accessing refcount directly.
27914 2005-05-15 David Schleef <ds@schleef.org>
27916 * check/Makefile.am: remove GstData checks
27917 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27918 * gst/Makefile.am: add miniobject, remove data
27919 * gst/gst.h: add miniobject, remove data
27920 * gst/gstdata.c: remove
27921 * gst/gstdata.h: remove
27922 * gst/gstdata_private.h: remove
27923 * gst/gsttypes.h: remove GstEvent and GstMessage
27924 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27925 * gst/gstmarshal.list: change BOXED -> OBJECT
27927 Implement GstMiniObject.
27928 * gst/gstminiobject.c:
27929 * gst/gstminiobject.h:
27931 Modify to be subclasses of GstMiniObject.
27932 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27933 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27934 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27935 (gst_subbuffer_get_type), (gst_subbuffer_init),
27936 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27939 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27940 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27941 (_gst_event_copy), (gst_event_new):
27943 * gst/gstmessage.c: (_gst_message_initialize),
27944 (gst_message_get_type), (gst_message_class_init),
27945 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27946 (gst_message_new), (gst_message_new_error),
27947 (gst_message_new_warning), (gst_message_new_tag),
27948 (gst_message_new_state_changed), (gst_message_new_application):
27949 * gst/gstmessage.h:
27950 * gst/gstprobe.c: (gst_probe_perform),
27951 (gst_probe_dispatcher_dispatch):
27953 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27954 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27955 (_gst_query_copy), (gst_query_new):
27957 Update elements for GstData -> GstMiniObject changes
27959 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27960 (gst_queue_chain), (gst_queue_loop):
27961 * gst/elements/gstbufferstore.c:
27962 (gst_buffer_store_add_buffer_func),
27963 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27964 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27965 (gst_fakesink_render):
27966 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27967 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27968 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27969 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27970 (gst_filesrc_create_read):
27971 * gst/elements/gstidentity.c: (gst_identity_class_init):
27972 * gst/elements/gsttypefindelement.c:
27973 (gst_type_find_element_src_event), (free_entry_buffers),
27974 (gst_type_find_element_handle_event):
27975 * libs/gst/dataprotocol/dataprotocol.c:
27976 (gst_dp_header_from_buffer):
27977 * libs/gst/dataprotocol/dataprotocol.h:
27978 * libs/gst/dataprotocol/dp-private.h:
27980 2005-05-15 David Schleef <ds@schleef.org>
27982 * gst/elements/gstelements.c: Don't include headers that were
27985 2005-05-15 David Schleef <ds@schleef.org>
27987 * gst/elements/Makefile.am: Remove some elements that don't
27988 need to be in the core (or even exist at all).
27989 * gst/elements/gstaggregator.c:
27990 * gst/elements/gstaggregator.h:
27991 * gst/elements/gstmd5sink.c:
27992 * gst/elements/gstmd5sink.h:
27993 * gst/elements/gstmultifilesrc.c:
27994 * gst/elements/gstmultifilesrc.h:
27995 * gst/elements/gstpipefilter.c:
27996 * gst/elements/gstpipefilter.h:
27997 * gst/elements/gstshaper.c:
27998 * gst/elements/gstshaper.h:
27999 * gst/elements/gststatistics.c:
28000 * gst/elements/gststatistics.h:
28001 * po/POTFILES.in: Remove above files.
28003 2005-05-14 Andy Wingo <wingo@pobox.com>
28005 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28006 so as to get the refs right.
28007 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28008 unreffing objects that don't pass the filter.
28010 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28011 gst_element_set_bus.
28012 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28013 normal cases, this will destroy the bus.
28015 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28018 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28021 2005-05-13 Andy Wingo <wingo@pobox.com>
28023 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28024 gst_pad_link, call pad_link_maybe_ghosting,
28025 (pad_link_maybe_ghosting): Links pads, making sure that the
28026 elements being linked are in the same bin.
28027 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28028 Helpers for pad_link_maybe_ghosting.
28030 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28033 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28035 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28037 * docs/design/part-element-source.txt:
28040 2005-05-12 Wim Taymans <wim@fluendo.com>
28042 * gst/base/gstbasesink.c: (gst_basesink_init),
28043 (gst_basesink_activate):
28044 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28045 (gst_basesrc_is_seekable):
28046 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28047 (bin_element_is_sink), (gst_bin_change_state):
28048 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28049 * gst/gstelement.h:
28050 Identify sinks by their flag to avoid overly complicated
28052 Do state changes even for elements not reachable from the
28054 BaseSink is a sink now :)
28055 Some more debugging info in the basesrc.
28058 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28060 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28061 Implement _query on a bin, similar to _send_event.
28063 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28065 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28066 Discont event offset format should be GST_FORMAT_BYTES,
28067 not GST_FORMAT_TIME.
28069 2005-05-12 Wim Taymans <wim@fluendo.com>
28071 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28072 Same fix as Ronald's but without the signal.
28074 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28076 * gst/gstutils.c: (gst_element_query_position):
28077 No, an element is not a pad.
28079 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28081 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28082 (gst_bin_get_state):
28083 If a child is removed from a bin while we remove the child from
28084 the bin and while we're retrieving its state, signal this to the
28085 get_state function so we abort the wait (instead of waiting for
28086 a timeout) and can immediately re-iterate over all other elements.
28088 2005-05-12 Wim Taymans <wim@fluendo.com>
28090 * gst/base/Makefile.am:
28091 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28092 (gst_basesrc_start):
28093 * gst/base/gstbasesrc.h:
28094 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28095 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28096 (gst_pushsrc_init), (gst_pushsrc_create):
28097 * gst/base/gstpushsrc.h:
28098 Added is_seekable to BaseSrc
28099 Added simple PushSrc.
28101 2005-05-11 Wim Taymans <wim@fluendo.com>
28103 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28104 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28105 (gst_element_link_pads), (gst_element_query_position),
28106 (gst_element_query_convert), (intersect_caps_func),
28107 (gst_pad_query_position), (gst_pad_query_convert):
28108 Fix refcounting in utils function.
28109 No point in trying to activate a pad when it's added, it could
28110 be added from the state change function and then we deadlock, the
28111 element has to decide what to do.
28113 2005-05-10 Andy Wingo <wingo@pobox.com>
28115 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28116 *all* the arguments.
28118 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28119 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28120 lock (according to the docs -- if this is wrong change the docs).
28122 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28123 flush messages in the NULL state.
28125 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28126 message immediately and return.
28127 (gst_bus_set_flushing): New function. If a bus is flushing, it
28128 flushes out any queued messages and immediately unrefs new
28129 messages. This is so when an element goes to NULL, all of the
28130 unhandled messages coming from it can be freed, and their
28131 references to the element dropped. In other words: message source
28132 ref considered harmful :P
28134 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28135 we're finished with it.
28137 * gst/gstmessage.c (gst_message_new_state_changed):
28139 2005-05-10 Wim Taymans <wim@fluendo.com>
28141 * gst/gstvalue.c: (gst_value_compare_flags),
28142 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28143 (_gst_value_initialize):
28144 Added flags serialize/deserialize/compare code.
28146 2005-05-09 Andy Wingo <wingo@pobox.com>
28148 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28149 Intersect the peer's caps with our caps.
28151 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28153 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28154 * gst/elements/gsttypefindelement.c: (find_peek):
28155 Handle negative offsets better. Fixes decodebin.
28157 2005-05-09 Wim Taymans <wim@fluendo.com>
28159 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28160 (gst_base_transform_event):
28161 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28162 Implement accept_caps.
28163 Fix silly lock/unlock mismatch in base class.
28165 2005-05-09 Wim Taymans <wim@fluendo.com>
28167 * docs/design/draft-push-pull.txt:
28168 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28169 * gst/elements/gstfilesink.c: (gst_filesink_init),
28170 (gst_filesink_query):
28171 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28172 (gst_type_find_handle_src_query), (find_element_get_length):
28173 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28174 * gst/gstelement.h:
28175 * gst/gstmessage.c:
28176 * gst/gstmessage.h:
28177 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28178 (gst_real_pad_get_caps_unlocked),
28179 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28180 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28181 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28182 (gst_real_pad_dispose), (gst_real_pad_finalize),
28183 (gst_pad_load_and_link), (gst_pad_save_thyself),
28184 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28185 (gst_pad_check_pull_range), (gst_pad_pull_range),
28186 (gst_pad_template_get_type), (gst_pad_template_class_init),
28187 (gst_pad_template_init), (gst_pad_template_dispose),
28188 (name_is_valid), (gst_static_pad_template_get),
28189 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28190 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28191 (gst_pad_get_element_private), (gst_pad_start_task),
28192 (gst_pad_pause_task), (gst_pad_stop_task),
28193 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28194 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28195 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28196 (gst_ghost_pad_new):
28198 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28199 (gst_query_new_position), (gst_query_set_position),
28200 (gst_query_parse_position), (gst_query_new_convert),
28201 (gst_query_set_convert), (gst_query_parse_convert):
28203 * gst/gstqueryutils.c:
28204 * gst/gstqueryutils.h:
28205 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28206 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28207 (gst_queue_handle_src_query):
28208 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28209 (gst_element_query_position), (gst_element_query_convert),
28210 (intersect_caps_func), (gst_pad_query_position),
28211 (gst_pad_query_convert):
28213 * tools/gst-inspect.c: (print_pad_info):
28214 * tools/gst-xmlinspect.c: (print_element_info):
28215 Remove old query functions. Ported old code.
28216 Added position/convert helper functions to gstutils.
28217 Reordered gstpad.c code, grouping relevant things.
28218 Remove gst_message_new(), always need to speficy a specific
28222 2005-05-09 Andy Wingo <wingo@pobox.com>
28224 * gst/gstiterator.h: Add some includes.
28226 * gst/gstqueryutils.h: Include more headers.
28229 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28230 some uses of gst_pad_query.
28232 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28233 NULL out parameters.
28234 (gst_query_new_position): New proc, allocates a new position
28237 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28238 gstqueryutils.c to the build.
28240 * gst/gststructure.c (gst_structure_set_valist): Implement with
28241 the generic G_VALUE_COLLECT.
28243 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28245 * gst/Makefile.am: (gst_headers):
28246 Added gstqueryutils.h to the list of headers to install, that was
28247 a 'nachty' move wingo :)
28249 2005-05-06 Andy Wingo <wingo@pobox.com>
28252 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28253 GstData, init a memchunk.
28254 (standard_definitions): Add a few query types, deprecate a few.
28255 (gst_query_get_type): New proc.
28256 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28258 (gst_query_new_application, gst_query_get_structure): New public
28261 * docs/design/draft-query.txt: Removed LINKS from the query types,
28262 because all the rest can be dispatched to other pads -- seemed
28263 ugly to have a query that couldn't be dispatched. internal_links
28264 is fine as a pad method.
28266 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28267 in gstpad.c, but maintain binary compatibility for the moment.
28268 Will fix before 0.9 is out.
28270 * gst/gstqueryutils.c:
28271 * gst/gstqueryutils.h: New files, implement 3 methods for each
28272 query type: parse_query, parse_response, and set. Probably need an
28275 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28277 * gst/elements/gstfilesink.c (gst_filesink_query2):
28278 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28279 query_types, and formats methods.
28281 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28282 (gst_pad_set_query2_function): New functions.
28283 (gst_real_pad_init): Set query2_default as the default query2
28284 function. Basically just dispatches to internally linked pads.
28288 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28289 without using the atomic operations. Only one thread can possibly
28290 be accessing the data at this point. Changed so as to avoid
28291 gst_atomic operations.
28293 2005-05-06 Wim Taymans <wim@fluendo.com>
28295 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28296 Also set caps if we use the fallback buffer alloc.
28298 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28300 * docs/gst/Makefile.am:
28301 * docs/gst/gstreamer-docs.sgml:
28302 * docs/gst/gstreamer-sections.txt:
28303 * docs/gst/tmpl/gstatomic.sgml:
28304 * docs/gst/tmpl/gstmemchunk.sgml:
28305 * testsuite/elements/struct_i386.h:
28306 * win32/GStreamer.vcproj:
28308 Purge GstAtomic stuff from docs and win32 makefiles as well
28310 2005-05-06 Wim Taymans <wim@fluendo.com>
28312 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28313 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28314 * gst/gstpad.c: (gst_pad_peer_get_caps):
28315 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28316 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28317 (gst_queue_src_activate), (gst_queue_change_state):
28319 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28320 (intersect_caps_func):
28321 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28322 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28323 Some fixes for the peer_get_caps() change.
28325 2005-05-06 Wim Taymans <wim@fluendo.com>
28327 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28328 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28329 (gst_basesink_activate):
28330 Actually do something with error codes returned from the push
28333 2005-05-06 Wim Taymans <wim@fluendo.com>
28335 * docs/design/part-element-sink.txt:
28336 * docs/design/part-element-source.txt:
28337 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28338 (gst_basesink_event), (gst_basesink_activate):
28339 * gst/base/gstbasesink.h:
28340 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28341 (gst_basesrc_activate):
28342 * gst/base/gstbasesrc.h:
28343 * gst/gstelement.c: (gst_element_pads_activate):
28344 Some more documentation.
28345 Fixed scheduling decision in _pads_activate().
28347 2005-05-05 Andy Wingo <wingo@pobox.com>
28349 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28352 2005-05-05 Wim Taymans <wim@fluendo.com>
28354 * gst/base/Makefile.am:
28355 * gst/base/gstbasesink.h:
28356 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28357 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28358 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28359 (gst_collectpads_class_init), (gst_collectpads_init),
28360 (gst_collectpads_finalize), (gst_collectpads_new),
28361 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28362 (find_pad), (gst_collectpads_remove_pad),
28363 (gst_collectpads_is_active), (gst_collectpads_collect),
28364 (gst_collectpads_collect_range), (gst_collectpads_start),
28365 (gst_collectpads_stop), (gst_collectpads_peek),
28366 (gst_collectpads_pop), (gst_collectpads_available),
28367 (gst_collectpads_read), (gst_collectpads_flush),
28368 (gst_collectpads_chain):
28369 * gst/base/gstcollectpads.h:
28370 * gst/elements/Makefile.am:
28371 * gst/elements/gstelements.c:
28372 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28373 (gst_fakesink_get_times), (gst_fakesink_event),
28374 (gst_fakesink_preroll), (gst_fakesink_render):
28375 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28376 (gst_filesink_init), (gst_filesink_set_location),
28377 (gst_filesink_open_file), (gst_filesink_close_file),
28378 (gst_filesink_pad_query), (gst_filesink_event),
28379 (gst_filesink_render), (gst_filesink_change_state):
28380 * gst/elements/gstfilesink.h:
28381 Added object to help in making collect pad based elements.
28383 Make event function in sink baseclass return gboolean.
28385 2005-05-05 Wim Taymans <wim@fluendo.com>
28387 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28388 (gst_bin_get_by_name):
28390 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28391 (gst_clock_finalize):
28392 * gst/gstdata.c: (gst_data_replace):
28394 * gst/gstelement.c: (gst_element_request_pad),
28395 (gst_element_pads_activate):
28396 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28397 (gst_object_unref):
28398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28399 (gst_pad_set_checkgetrange_function),
28400 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28401 (gst_pad_check_pull_range), (gst_pad_pull_range),
28402 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28403 (gst_pad_pause_task), (gst_pad_stop_task):
28404 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28405 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28406 Fix name lookup in GstBin.
28407 Added _data_replace() function and _buffer_replace()
28408 Use finalize method to clean up clock.
28409 Fix refcounting on request pads.
28410 Fix pad schedule mode error.
28411 Some more object refcounting debug info,
28414 2005-05-04 Andy Wingo <wingo@pobox.com>
28416 * check/Makefile.am:
28417 * docs/gst/tmpl/gstatomic.sgml:
28418 * docs/gst/tmpl/gstplugin.sgml:
28419 * gst/base/gstbasesink.c: (gst_basesink_activate):
28420 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28421 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28422 (gst_basesrc_query), (gst_basesrc_set_property),
28423 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28424 (gst_basesrc_activate):
28425 * gst/base/gstbasesrc.h:
28426 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28427 (gst_base_transform_src_activate):
28428 * gst/elements/gstelements.c:
28429 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28430 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28431 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28432 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28433 (gst_type_find_element_checkgetrange),
28434 (gst_type_find_element_activate):
28435 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28436 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28437 (gst_caps_load_thyself):
28438 * gst/gstelement.c: (gst_element_pads_activate),
28439 (gst_element_save_thyself), (gst_element_restore_thyself):
28440 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28441 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28443 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28444 (gst_xml_parse_file), (gst_xml_parse_memory),
28445 (gst_xml_get_element), (gst_xml_make_element):
28446 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28447 (_file_index_id_save_xml), (gst_file_index_commit):
28448 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28449 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28451 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28452 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28453 * tools/gst-complete.c: (main):
28454 * tools/gst-compprep.c: (main):
28455 * tools/gst-inspect.c: (print_element_properties_info):
28456 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28457 * tools/gst-xmlinspect.c: (print_element_properties):
28460 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28462 * gst/gstplugin.c: (gst_plugin_check_module),
28463 (gst_plugin_check_file), (gst_plugin_load_file):
28464 apply patch from #172526 to make register work on MacOSX
28466 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28468 * docs/gst/tmpl/gstconfig.sgml:
28469 * gst/gstconfig.h.in:
28470 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28471 * testsuite/debug/printf_extension.c: (main):
28472 Do not use GST_PTR_FORMAT on pointers to types with
28473 sizeof < sizeof(gpointer). Fixes test on 64-bit
28474 * testsuite/elements/property.h:
28475 use correct printf format
28477 2005-05-02 Wim Taymans <wim@fluendo.com>
28479 * docs/design/draft-push-pull.txt:
28480 * docs/design/draft-query.txt:
28481 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28482 (gst_basesrc_start):
28483 Added draft for new query API.
28484 Added draft for better selecting scheduling methods.
28485 Make basesrc ignore length if the subclass does not support
28488 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28491 possible fixes for automake-1.5 - _LIBADD is reserved
28493 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28495 * docs/faq/Makefile.am:
28496 * docs/manual/Makefile.am:
28497 * docs/manuals.mak:
28498 * docs/pwg/Makefile.am:
28500 possible fixes for automake-1.5
28502 2005-04-28 Wim Taymans <wim@fluendo.com>
28504 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28505 (gst_basesink_pad_getcaps), (gst_basesink_init),
28506 (gst_basesink_do_sync):
28507 * gst/gstclock.c: (gst_clock_entry_new):
28508 * gst/gstevent.c: (gst_event_discont_get_value):
28509 * gst/gstpipeline.c: (pipeline_bus_handler),
28510 (gst_pipeline_change_state):
28511 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28512 Better debugging of clocking info.
28513 Allow NULL values when getting discont values.
28515 2005-04-27 Wim Taymans <wim@fluendo.com>
28517 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28518 * check/gst/gstpad.c: (gst_pad_suite):
28519 Increase timeout for checks.
28521 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28523 * check/Makefile.am:
28524 fix the broken rule for cleanup. Apparently this rule is
28525 only needed on FC2, so maybe this warrants further autotool
28528 2005-04-26 Wim Taymans <wim@fluendo.com>
28530 * gst/gsttrashstack.h:
28531 Ooohh. a nasty one! After having a failed pop() from the stack,
28532 it's possible that the stack is empty. In that case, don't
28533 follow the NULL pointer.
28535 2005-04-25 Wim Taymans <wim@fluendo.com>
28537 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28538 (gst_pad_set_checkgetrange_function),
28539 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28540 (gst_pad_check_pull_range), (gst_pad_pull_range),
28541 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28542 (gst_pad_pause_task), (gst_pad_stop_task):
28543 * gst/gstplugin.c: (gst_plugin_load):
28545 Remove gst_library_load as it does more harm than good with
28546 the new g_module flags.
28547 Revert bogus caps template check in pad linking, pad caps
28548 are important when linking not the template, which is more
28549 general than the current caps.
28551 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28553 * gst/autoplug/.cvsignore:
28554 * gst/autoplug/Makefile.am:
28555 * gst/autoplug/gstsearchfuncs.c:
28556 * gst/autoplug/gstsearchfuncs.h:
28557 * gst/autoplug/gstspider.c:
28558 * gst/autoplug/gstspider.h:
28559 * gst/autoplug/gstspideridentity.c:
28560 * gst/autoplug/gstspideridentity.h:
28561 * gst/autoplug/spidertest.c:
28564 2005-04-25 Wim Taymans <wim@fluendo.com>
28566 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28567 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28568 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28569 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28571 Added stubs for unimplemented functions.
28573 2005-04-24 David Schleef <ds@schleef.org>
28575 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28578 2005-04-24 David Schleef <ds@schleef.org>
28580 Convert everything from GstAtomicInt to g_atomic_int_*, and
28585 * gst/gstatomic_impl.h:
28593 * gst/gstdata_private.h:
28597 * gst/gstmessage.c:
28600 * gst/gststructure.c:
28601 * gst/gststructure.h:
28602 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28605 2005-04-24 David Schleef <ds@schleef.org>
28607 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28608 make the regressions tests work. Remove some code that is no
28610 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28611 Disable warning for pads without templates.
28613 2005-04-24 David Schleef <ds@schleef.org>
28615 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28616 functions that handle filtered links.
28617 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28619 * gst/gstutils.c: Fix/remove utility functions that handle
28622 * gst/gstvalue.c: Add serialization/deserialization of caps
28623 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28624 requires fixing so that the filter caps notation creates
28625 a capsfilter element and sets the filter_caps property. I
28626 think everyone probably wants to keep the shorthand notation.
28627 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28628 * docs/gst/tmpl/gstpad.sgml:
28630 * gst/elements/gstelements.c: Register capsfilter element.
28631 * gst/Makefile.am: fix spacing
28632 * docs/random/ds/0.9-suggested-changes: random
28634 2005-04-23 David Schleef <ds@schleef.org>
28636 * gst/elements/Makefile.am:
28637 * gst/elements/gstcapsfilter.c: New element that acts like an
28638 identity, but filters caps. Will eventually replace filtered
28639 caps in pad linking.
28640 * gst/gstutils.c: (gst_element_create_all_pads): New function
28641 to create all the ALWAYS pads that are registered with an
28642 element class. This functionality should eventually be
28643 merged in with GstElement initialization.
28645 * testsuite/trigger/README: part of trigger test code that should
28646 have been checked in a long time ago.
28648 2005-04-23 David Schleef <ds@schleef.org>
28650 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28651 needed with new versions of libtool (nobody will confirm this),
28652 and hard to carry around.
28653 * gst/autoplug/Makefile.am:
28654 * gst/base/Makefile.am:
28655 * gst/elements/Makefile.am:
28656 * gst/indexers/Makefile.am:
28657 * gst/schedulers/Makefile.am:
28658 * libs/gst/bytestream/Makefile.am:
28659 * libs/gst/control/Makefile.am:
28660 * libs/gst/dataprotocol/Makefile.am:
28661 * libs/gst/getbits/Makefile.am:
28663 2005-04-21 Wim Taymans <wim@fluendo.com>
28665 * docs/design/draft-push-pull.txt:
28666 * docs/design/part-MT-refcounting.txt:
28667 * docs/design/part-TODO.txt:
28668 * docs/design/part-caps.txt:
28669 * docs/design/part-events.txt:
28670 * docs/design/part-gstbus.txt:
28671 * docs/design/part-gstpipeline.txt:
28672 * docs/design/part-messages.txt:
28673 * docs/design/part-push-pull.txt:
28674 * docs/design/part-query.txt:
28677 2005-04-21 Wim Taymans <wim@fluendo.com>
28679 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28680 (gst_message_new), (gst_message_new_error),
28681 (gst_message_new_warning), (gst_message_new_tag),
28682 (gst_message_new_state_changed), (gst_message_new_application),
28683 (gst_message_get_structure):
28684 * gst/gstmessage.h:
28685 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28686 (gst_structure_copy_conditional):
28687 Use parent refcount in GstMessage to ensure GstStructure
28689 Cleaned up headers a bit.
28692 2005-04-20 Wim Taymans <wim@fluendo.com>
28694 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28695 (gst_basesink_pad_getcaps), (gst_basesink_init),
28696 (gst_basesink_chain_unlocked):
28697 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28698 (gst_type_find_helper):
28699 * gst/elements/gsttypefindelement.c:
28700 (gst_type_find_element_have_type), (gst_type_find_element_init),
28701 (stop_typefinding), (gst_type_find_element_handle_event),
28702 (find_suggest), (gst_type_find_element_chain),
28703 (gst_type_find_element_checkgetrange),
28704 (gst_type_find_element_getrange), (do_typefind),
28705 (gst_type_find_element_activate):
28706 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28707 (gst_buffer_default_free), (gst_buffer_default_copy),
28708 (gst_buffer_set_caps):
28709 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28710 (gst_caps_replace):
28711 * gst/gstmessage.c: (gst_message_new),
28712 (gst_message_new_state_changed):
28713 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28714 (gst_pad_set_checkgetrange_function),
28715 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28716 (gst_pad_set_caps), (gst_pad_check_pull_range),
28717 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28719 * gst/gsttypefind.c: (gst_type_find_register):
28720 Make gst_caps_replace() work like other _replace() functions.
28721 Use _caps_replace() where possible.
28722 Make sure _message_new() initialises its field.
28723 Add gst_static_pad_template_get_caps()
28726 2005-04-18 Andy Wingo <wingo@pobox.com>
28728 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28729 on the peer, not the pad. I think that was a typo. Pass an extra
28730 arg to see if random access is possible. Activate the pads as
28731 PULL_RANGE if possible.
28733 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28735 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28736 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28739 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28741 * docs/faq/using.xml:
28742 Add note on gstreamer-properties (#154996).
28744 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28746 * docs/random/bbb/optional-properties:
28747 Some analysis on optional properties.
28749 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28751 * docs/gst/tmpl/gstelementfactory.sgml:
28752 * gst/gstelement.h:
28753 * gst/gstelementfactory.c: (gst_element_factory_init),
28754 (gst_element_factory_cleanup), (gst_element_register),
28755 (__gst_element_factory_add_static_pad_template),
28756 (gst_element_factory_get_static_pad_templates),
28757 (gst_element_factory_can_src_caps),
28758 (gst_element_factory_can_sink_caps):
28759 * gst/registries/Makefile.am:
28760 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28761 (gst_xml_registry_class_init), (gst_xml_registry_init),
28762 (gst_xml_registry_new), (gst_xml_registry_set_property),
28763 (gst_xml_registry_get_property), (get_time), (make_dir),
28764 (gst_xml_registry_get_perms_func),
28765 (plugin_times_older_than_recurse), (plugin_times_older_than),
28766 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28767 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28768 (add_to_char_array), (read_string), (read_uint), (read_enum),
28769 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28770 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28771 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28772 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28773 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28774 (gst_xml_registry_rebuild):
28775 * gst/registries/gstlibxmlregistry.h:
28776 * tools/gst-compprep.c: (main):
28777 * tools/gst-inspect.c: (print_pad_templates_info):
28778 * tools/gst-xmlinspect.c: (print_element_info):
28779 Use libxml2 for registry parsing, use staticpadtemplates in
28780 elementfactories. Makes gst_init() +/- 10x faster.
28782 2005-04-12 Wim Taymans <wim@fluendo.com>
28784 * gst/base/Makefile.am:
28785 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28786 (gst_basesink_pad_getcaps), (gst_basesink_init),
28787 (gst_basesink_event), (gst_basesink_change_state):
28788 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28789 (gst_basesrc_init), (gst_basesrc_query),
28790 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28791 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28792 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28793 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28794 (gst_basesrc_stop), (gst_basesrc_activate),
28795 (gst_basesrc_change_state):
28796 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28797 (helper_find_suggest), (gst_type_find_helper):
28798 * gst/base/gsttypefindhelper.h:
28799 * gst/elements/Makefile.am:
28800 * gst/elements/gstelements.c:
28801 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28802 (gst_fakesink_get_times), (gst_fakesink_event),
28803 (gst_fakesink_preroll), (gst_fakesink_render):
28804 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28805 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28806 (gst_fakesrc_get_property), (gst_fakesrc_create),
28807 (gst_fakesrc_start), (gst_fakesrc_stop):
28808 * gst/elements/gstfakesrc.h:
28809 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28810 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28811 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28812 (gst_filesrc_create_read), (gst_filesrc_create),
28813 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28814 (gst_filesrc_start):
28815 * gst/elements/gsttypefindelement.c:
28816 (gst_type_find_element_have_type), (gst_type_find_element_init),
28817 (start_typefinding), (stop_typefinding), (push_buffer_store),
28818 (gst_type_find_element_handle_event),
28819 (gst_type_find_element_chain),
28820 (gst_type_find_element_checkgetrange),
28821 (gst_type_find_element_getrange), (do_typefind),
28822 (gst_type_find_element_activate),
28823 (gst_type_find_element_change_state):
28824 * gst/elements/gsttypefindelement.h:
28825 * gst/gstpipeline.c: (pipeline_bus_handler):
28826 Added typefind helper.
28827 Small preroll fix in the base sink.
28828 Disable typefind code in basesrc.
28829 Crude port of typefindelement.
28833 2005-04-11 Wim Taymans <wim@fluendo.com>
28835 * check/gst/gstbus.c: (gstbus_suite):
28836 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28837 * check/gstcheck.h:
28838 Fix up the timeout so that the test does not fail.
28840 2005-04-06 Wim Taymans <wim@fluendo.com>
28843 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28844 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28845 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28846 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28847 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28848 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28849 (gst_basesrc_stop), (gst_basesrc_activate),
28850 (gst_basesrc_change_state), (basesrc_find_peek),
28851 (basesrc_find_suggest), (gst_basesrc_type_find):
28852 * gst/base/gstbasesrc.h:
28853 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28854 (gst_filesrc_class_init), (gst_filesrc_init),
28855 (gst_filesrc_finalize), (gst_filesrc_set_location),
28856 (gst_filesrc_set_property), (gst_filesrc_get_property),
28857 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28858 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28859 (gst_filesrc_create_read), (gst_filesrc_create),
28860 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28861 * gst/elements/gstfilesrc.h:
28862 * gst/gstelement.c: (gst_element_get_state_func),
28863 (gst_element_lost_state), (gst_element_pads_activate):
28864 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28865 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28866 (gst_pad_pull_range):
28868 More work on the generic source base class, implement seeking,
28870 Make filesrc extend the base source class.
28871 Added gst_pad_set_checkgetrange_function to GstPad.
28873 2005-04-06 Andy Wingo <wingo@pobox.com>
28875 * pkgconfig/gstreamer-base.pc.in:
28876 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28878 * pkgconfig/Makefile.am:
28879 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28881 2005-04-04 Wim Taymans <wim@fluendo.com>
28883 * gst/base/Makefile.am:
28885 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28886 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28887 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28888 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28889 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28890 (gst_basesrc_base_init), (gst_basesrc_class_init),
28891 (gst_basesrc_init), (gst_basesrc_get_formats),
28892 (gst_basesrc_get_query_types), (gst_basesrc_query),
28893 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28894 (gst_basesrc_set_property), (gst_basesrc_get_property),
28895 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28896 (gst_basesrc_loop), (gst_basesrc_activate),
28897 (gst_basesrc_change_state):
28898 * gst/base/gstbasesrc.h:
28899 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28900 (gst_fakesrc_class_init), (gst_fakesrc_init),
28901 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28902 (gst_fakesrc_get_property), (gst_fakesrc_create):
28903 * gst/elements/gstfakesrc.h:
28904 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28905 (gst_filesrc_open_file), (gst_filesrc_loop),
28906 (gst_filesrc_activate), (filesrc_find_peek),
28907 (gst_filesrc_type_find):
28908 Made base source class, make fakesrc extend it.
28909 Add comments to basesink class.
28910 Some filesrc cleanup.
28912 2005-03-31 David Schleef <ds@schleef.org>
28914 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28915 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28916 expected to link against libgstreamer.
28917 * gst/base/Makefile.am: link against libgstreamer
28918 * gst/elements/Makefile.am: same
28920 2005-03-31 Andy Wingo <wingo@pobox.com>
28922 * tests/instantiate/Makefile.am:
28923 * tests/instantiate/caps.c: Add test to test speed of caps copy
28926 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28927 GMemChunk to be fair.
28929 * gst/gsttrashstack.h: Remove warning about using the fallback
28930 trash stack implementation, it's still faster than malloc.
28932 2005-03-30 Andy Wingo <wingo@pobox.com>
28934 * tests/complexity.c: Add a copyright.
28936 2005-03-31 Wim Taymans <wim@fluendo.com>
28938 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28939 (gst_base_transform_class_init), (gst_base_transform_init),
28940 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28941 (gst_base_transform_get_property),
28942 (gst_base_transform_sink_activate),
28943 (gst_base_transform_src_activate),
28944 (gst_base_transform_change_state):
28945 * gst/base/gstbasetransform.h:
28946 * gst/elements/gstidentity.c: (gst_identity_class_init),
28947 (gst_identity_event), (gst_identity_check_perfect),
28948 (gst_identity_transform), (gst_identity_start),
28949 (gst_identity_stop):
28950 Added start/stop methods to transform base class so subclasses
28951 don't need to deal with state changes even.
28953 2005-03-31 Wim Taymans <wim@fluendo.com>
28955 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28956 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28958 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28959 (gst_pad_pull_range):
28960 Added rate to the discont event to prepare for variable speed
28961 and reverse playback.
28963 2005-03-29 David Schleef <ds@schleef.org>
28966 * testsuite/trigger/Makefile.am:
28967 * testsuite/trigger/trigger.c: A little example program to show
28968 how trigger-based elements can work.
28970 2005-03-29 Wim Taymans <wim@fluendo.com>
28972 * gst/base/Makefile.am:
28974 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28975 (gst_basesink_base_init), (gst_basesink_class_init),
28976 (gst_basesink_pad_getcaps), (gst_basesink_init),
28977 (gst_basesink_activate), (gst_basesink_change_state):
28978 * gst/base/gstbasesink.h:
28979 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28980 (gst_base_transform_base_init), (gst_base_transform_finalize),
28981 (gst_base_transform_class_init), (gst_base_transform_init),
28982 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28983 (gst_base_transform_event), (gst_base_transform_getrange),
28984 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28985 (gst_base_transform_set_property),
28986 (gst_base_transform_get_property),
28987 (gst_base_transform_sink_activate),
28988 (gst_base_transform_src_activate),
28989 (gst_base_transform_change_state):
28990 * gst/base/gstbasetransform.h:
28991 * gst/elements/gstidentity.c: (gst_identity_finalize),
28992 (gst_identity_class_init), (gst_identity_init),
28993 (gst_identity_event), (gst_identity_check_perfect),
28994 (gst_identity_transform), (gst_identity_set_property),
28995 (gst_identity_get_property), (gst_identity_change_state):
28996 * gst/elements/gstidentity.h:
28997 * gst/gstelement.c: (gst_element_get_state_func),
28998 (gst_element_lost_state), (gst_element_pads_activate):
28999 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29000 (gst_pad_check_pull_range), (gst_pad_pull_range):
29002 Simplify pad activation.
29003 Added function to check if pull_range can be performed.
29004 Error out when pulling inactive or flushing pads.
29005 Removed const from refcounted types as it does not make sense.
29006 Simplify pad templates in basesink
29007 Added base class for simple 1-to-1 transforms.
29008 Make identity subclass the base transform.
29010 2005-03-29 Andy Wingo <wingo@pobox.com>
29012 * docs/libs/gstreamer-libs-overrides.txt:
29013 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29014 really don't understand what's going on, but like whatever. I want
29017 * docs/gst/Makefile.am:
29018 * docs/libs/Makefile.am: Dist the overrides files.
29020 * check/Makefile.am (clean-local): Remove .libs directories.
29022 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29023 elements to EXTRA_DIST, so po/ files are happy.
29025 * po/POTFILES.in: Er, remove it here.
29027 * po/POTFILES: Remove gstspider.c.
29029 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29031 * docs/libs/gstreamer-libs-docs.sgml:
29032 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29035 * tests/complexity.c (main): Set the length of the preroll queue
29036 on the sinks to prevent a lockup.
29038 * libs/gst/dataprotocol/Makefile.am:
29039 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29040 the same as the one in check/gst-libs/gdp.c.
29042 * po/, docs/gst/: Commit automatic changes to docs and po files.
29044 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29045 the versioned libgstbase.
29047 * check/Makefile.am: Depend on an unversioned gst-register, seems
29048 to make autoconf happier.
29050 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29052 2005-03-28 Wim Taymans <wim@fluendo.com>
29055 * docs/design/part-gstelement.txt:
29056 * docs/design/part-negotiation.txt:
29057 * docs/design/part-preroll.txt:
29058 * docs/design/part-scheduling.txt:
29059 * docs/design/part-states.txt:
29061 * gst/base/Makefile.am:
29063 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29064 (gst_basesink_base_init), (gst_basesink_class_init),
29065 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29066 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29067 (gst_basesink_set_pad_functions),
29068 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29069 (gst_basesink_set_property), (gst_basesink_get_property),
29070 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29071 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29072 (gst_basesink_preroll_queue_push),
29073 (gst_basesink_preroll_queue_empty),
29074 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29075 (gst_basesink_event), (gst_basesink_get_times),
29076 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29077 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29078 (gst_basesink_loop), (gst_basesink_activate),
29079 (gst_basesink_change_state):
29080 * gst/base/gstbasesink.h:
29081 * gst/elements/Makefile.am:
29082 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29083 (gst_fakesink_class_init), (gst_fakesink_init),
29084 (gst_fakesink_set_property), (gst_fakesink_get_property),
29085 (gst_fakesink_get_times), (gst_fakesink_event),
29086 (gst_fakesink_preroll), (gst_fakesink_render),
29087 (gst_fakesink_change_state):
29088 * gst/elements/gstfakesink.h:
29089 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29090 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29091 * gst/gstelement.c: (gst_element_add_pad),
29092 (gst_element_get_state_func), (gst_element_abort_state),
29093 (gst_element_commit_state), (gst_element_lost_state),
29094 (gst_element_set_state), (gst_element_pads_activate):
29095 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29096 * gst/gstpipeline.c: (gst_pipeline_send_event),
29097 (gst_pipeline_change_state):
29098 Added state change code.
29099 Added/updated docs.
29100 Added sink base class, make fakesink extend the base class.
29101 Small cleanups in GstPipeline.
29103 2005-03-26 David Schleef <ds@schleef.org>
29105 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29106 is broken and should be implemented in a different library.
29107 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29108 * gst/gst.h: remove gstcpu.h
29109 * gst/gstcpu.c: remove
29110 * gst/gstcpu.h: remove
29111 * gst/Makefile.am.future: Remove this file. It's ancient.
29113 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29115 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29116 (gst_bin_send_event):
29117 Add default event/set_manager handlers. The set_manager handler
29118 takes care that the manager is distributed over kids that were
29119 already in the bin before the manager was set. The event handler
29120 is a utility virtual function that sends the event over all sinks,
29121 so that gst_element_send_event (bin, event); has the expected
29123 * gst/gstpad.c: (gst_pad_event_default):
29124 Re-install default event handling for discontinuities, so that
29125 seeking works without requiring hacks in applications or extra
29127 * gst/gstpipeline.c: (gst_pipeline_class_init),
29128 (gst_pipeline_send_event):
29129 Half hack, half utility: set a pipeline to PAUSED for seek events,
29130 since that is the only way we can guarantee a/v sync. Means that
29131 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29132 and it "just works".
29134 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29136 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29137 Lock/unlock mismatch.
29139 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29141 * docs/faq/gst-uninstalled:
29142 add gst-plugins-base
29143 * docs/gst/Makefile.am:
29144 don't error out until docs are fixed
29145 * docs/gst/gstreamer.types:
29148 2005-03-22 Wim Taymans <wim@fluendo.com>
29150 * check/Makefile.am:
29151 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29152 * gst/gststructure.c: (gst_structure_set_valist),
29153 (gst_structure_copy_conditional):
29154 Activated more tests.
29155 Added message test.
29156 Added G_TYPE_POINTER to GstStructure.
29159 2005-03-22 Wim Taymans <wim@fluendo.com>
29161 * docs/design/part-TODO.txt:
29162 * docs/design/part-events.txt:
29163 * docs/design/part-gstbin.txt:
29164 * docs/design/part-gstbus.txt:
29165 * docs/design/part-gstpipeline.txt:
29166 * docs/design/part-messages.txt:
29168 * gst/gstmessage.c:
29171 2005-03-21 Wim Taymans <wim@fluendo.com>
29173 * gst/gstbus.c: (gst_bus_post):
29174 Fix copy-and-paste error.
29176 2005-03-21 Wim Taymans <wim@fluendo.com>
29178 * check/Makefile.am:
29180 * gst/elements/Makefile.am:
29181 * gst/elements/gstelements.c:
29182 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29183 (gst_fakesink_event), (gst_fakesink_chain):
29184 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29185 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29186 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29187 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29188 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29189 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29190 (gst_fakesrc_loop), (gst_fakesrc_activate),
29191 (gst_fakesrc_change_state):
29192 * gst/elements/gstfakesrc.h:
29193 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29194 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29195 (gst_filesrc_open_file), (gst_filesrc_loop),
29196 (gst_filesrc_activate), (gst_filesrc_change_state),
29197 (filesrc_find_peek), (filesrc_find_suggest),
29198 (gst_filesrc_type_find):
29199 * gst/elements/gstidentity.c: (gst_identity_finalize),
29200 (gst_identity_class_init), (gst_identity_init),
29201 (gst_identity_proxy_getcaps), (identity_queue_push),
29202 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29203 (gst_identity_getrange), (gst_identity_chain),
29204 (gst_identity_sink_loop), (gst_identity_src_loop),
29205 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29206 (gst_identity_set_property), (gst_identity_get_property),
29207 (gst_identity_change_state):
29208 * gst/elements/gstidentity.h:
29209 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29210 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29211 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29212 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29213 (gst_tee_sink_activate):
29214 * gst/elements/gsttee.h:
29215 * gst/gst.c: (gst_register_core_elements), (init_post):
29217 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29218 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29219 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29220 (gst_bin_change_state):
29222 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29223 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29224 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29225 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29226 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29227 (bus_watch_callback), (bus_watch_destroy),
29228 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29229 (poll_timeout), (gst_bus_poll):
29233 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29234 (gst_element_post_message), (gst_element_message_full),
29235 (gst_element_get_state_func), (gst_element_get_state),
29236 (gst_element_abort_state), (gst_element_commit_state),
29237 (gst_element_lost_state), (gst_element_set_state),
29238 (gst_element_pads_activate), (gst_element_change_state),
29239 (gst_element_dispose), (gst_element_set_manager_func),
29240 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29241 (gst_element_set_manager), (gst_element_get_manager),
29242 (gst_element_set_bus), (gst_element_get_bus),
29243 (gst_element_set_scheduler), (gst_element_get_scheduler):
29244 * gst/gstelement.h:
29245 * gst/gstevent.c: (gst_event_new_segment_seek),
29246 (gst_event_new_flush):
29248 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29249 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29250 (gst_message_new_eos), (gst_message_new_error),
29251 (gst_message_new_warning), (gst_message_new_tag),
29252 (gst_message_new_state_changed), (gst_message_new_application),
29253 (gst_message_get_structure), (gst_message_parse_tag),
29254 (gst_message_parse_state_changed), (gst_message_parse_error),
29255 (gst_message_parse_warning):
29256 * gst/gstmessage.h:
29257 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29258 (gst_real_pad_set_property), (gst_pad_set_active),
29259 (gst_pad_is_active), (gst_pad_set_blocked_async),
29260 (gst_pad_set_blocked), (gst_pad_is_blocked),
29261 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29262 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29263 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29264 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29265 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29266 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29267 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29268 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29269 (gst_pad_set_caps), (gst_pad_configure_sink),
29270 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29271 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29272 (gst_real_pad_dispose), (gst_real_pad_finalize),
29273 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29274 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29275 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29277 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29278 (pipeline_bus_handler), (gst_pipeline_change_state),
29279 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29280 * gst/gstpipeline.h:
29282 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29283 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29284 (gst_queue_link_src), (gst_queue_bufferalloc),
29285 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29286 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29287 (gst_queue_loop), (gst_queue_handle_src_event),
29288 (gst_queue_handle_src_query), (gst_queue_src_activate),
29289 (gst_queue_change_state):
29291 * gst/gstscheduler.c: (gst_scheduler_init),
29292 (gst_scheduler_dispose), (gst_scheduler_create_task),
29293 (gst_scheduler_factory_create):
29294 * gst/gstscheduler.h:
29295 * gst/gststructure.c: (gst_structure_get_type),
29296 (gst_structure_copy_conditional):
29297 * gst/gststructure.h:
29298 * gst/gsttaginterface.h:
29299 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29300 (gst_task_init), (gst_task_dispose), (gst_task_create),
29301 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29307 * gst/schedulers/Makefile.am:
29308 * gst/schedulers/cothreads_compat.h:
29309 * gst/schedulers/entryscheduler.c:
29310 * gst/schedulers/faircothreads.c:
29311 * gst/schedulers/faircothreads.h:
29312 * gst/schedulers/fairscheduler.c:
29313 * gst/schedulers/gstbasicscheduler.c:
29314 * gst/schedulers/gstoptimalscheduler.c:
29315 * gst/schedulers/gthread-cothreads.h:
29316 * gst/schedulers/threadscheduler.c:
29317 (gst_thread_scheduler_task_get_type),
29318 (gst_thread_scheduler_task_class_init),
29319 (gst_thread_scheduler_task_init),
29320 (gst_thread_scheduler_task_start),
29321 (gst_thread_scheduler_task_stop),
29322 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29323 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29324 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29325 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29327 * libs/gst/Makefile.am:
29328 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29329 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29330 (gst_file_pad_parent_set):
29331 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29332 (gst_dp_event_from_packet):
29333 * tests/complexity.c: (main):
29334 * tests/mass_elements.c: (main):
29335 * testsuite/states/locked.c: (message_received), (main):
29336 * testsuite/states/parent.c: (main):
29337 * tools/gst-inspect.c: (print_element_flag_info),
29338 (print_implementation_info), (print_pad_info):
29339 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29341 * tools/gst-md5sum.c: (event_loop), (main):
29342 * tools/gst-typefind.c: (main):
29343 * tools/gst-xmlinspect.c: (print_element_info):
29345 Added GstBus for mainloop integration.
29346 Added GstMessage for sending notifications on the bus.
29347 Added GstTask as an abstraction for pipeline entry points.
29349 Removed Schedulers.
29350 Simplified GstQueue for multithreaded core.
29351 Made _link threadsafe, removed old capsnego.
29352 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29353 Added pad blocking functions.
29354 Reworked scheduling functions in GstPad to prepare for
29355 scheduling updates soon.
29356 Moved events out of data stream.
29357 Simplified GstEvent types.
29358 Added return values to push/pull.
29359 Removed clocking from GstElement.
29360 Added prototypes for state change function for next merge.
29361 Removed iterate from bins and state change management.
29362 Fixed some elements, disabled others for now.
29363 Fixed -inspect and -launch.
29364 Added check for GstBus.
29366 2005-03-10 Wim Taymans <wim@fluendo.com>
29368 * docs/design/part-MT-refcounting.txt:
29369 * docs/design/part-clocks.txt:
29370 * docs/design/part-gstelement.txt:
29371 * docs/design/part-gstobject.txt:
29372 * docs/design/part-standards.txt:
29373 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29374 (gst_bin_remove_func), (gst_bin_remove):
29378 * testsuite/clock/clock1.c: (main):
29379 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29381 * testsuite/dlopen/loadgst.c: (do_test):
29382 * testsuite/refcounting/bin.c: (add_remove_test1),
29383 (add_remove_test2), (main):
29384 * testsuite/refcounting/element.c: (main):
29385 * testsuite/refcounting/element_pad.c: (main):
29386 * testsuite/refcounting/pad.c: (main):
29387 * tools/gst-launch.c: (sigint_handler_sighandler):
29388 * tools/gst-typefind.c: (main):
29390 Added doc about clock.
29391 removed gst_bin_iterate_recurse_up(), marked methods
29393 Fix more testsuites.
29395 2005-03-09 Wim Taymans <wim@fluendo.com>
29397 * gst/gstpad.c: (gst_pad_get_direction),
29398 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29399 (gst_pad_collect_valist):
29400 * testsuite/bins/interface.c: (main):
29401 * testsuite/caps/audioscale.c: (test_caps):
29402 * testsuite/caps/caps.c: (test1), (test2), (test3):
29403 * testsuite/caps/deserialize.c: (main):
29404 * testsuite/caps/enumcaps.c: (main):
29405 * testsuite/caps/filtercaps.c: (main):
29406 * testsuite/caps/intersect2.c: (main):
29407 * testsuite/caps/random.c: (main):
29408 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29409 * testsuite/caps/sets.c: (check_caps):
29410 * testsuite/caps/simplify.c: (check_caps), (main):
29411 * testsuite/caps/subtract.c: (check_caps):
29412 Fix _pad_get_direction wrt ghostpads.
29413 Fix caps testsuite.
29415 2005-03-09 Wim Taymans <wim@fluendo.com>
29417 * check/Makefile.am:
29418 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29419 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29420 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29422 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29423 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29424 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29425 (bin_element_is_sink), (gst_bin_iterate_sinks),
29426 (gst_bin_iterate_all_by_interface):
29428 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29429 (gst_element_change_state), (gst_element_dispose),
29430 (gst_element_finalize), (gst_element_set_loop_function):
29431 * gst/gstelement.h:
29432 * gst/gstiterator.c: (find_custom_fold_func):
29433 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29434 (gst_pad_collectv), (gst_pad_collect_valist),
29435 (gst_pad_template_new):
29436 * gst/gstpipeline.c: (gst_pipeline_class_init),
29437 (gst_pipeline_dispose), (gst_pipeline_set_property),
29438 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29439 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29440 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29442 * gst/schedulers/entryscheduler.c:
29443 * gst/schedulers/gstbasicscheduler.c:
29444 (gst_basic_scheduler_cothreaded_chain),
29445 (gst_basic_scheduler_chain_add_element):
29446 * testsuite/bins/interface.c: (main):
29448 Added GstSystemClock test.
29449 Implemented clock distribution code in GstBin.
29450 Implemented iterate sinks method for future use.
29451 Rearranged gstelement.h
29452 Fix GstIterator comparison bug.
29453 Moved some code to GstPipeline, mostly clocking related.
29455 2005-03-09 Wim Taymans <wim@fluendo.com>
29458 * gst/gst_private.h:
29459 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29460 (gst_bin_remove_func), (gst_bin_remove),
29461 (gst_bin_get_by_name_recurse_up):
29462 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29463 (gst_clock_id_compare_func), (gst_clock_id_wait),
29464 (gst_clock_id_wait_async), (gst_clock_init),
29465 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29466 * gst/gstelement.h:
29467 * gst/gstinfo.c: (_gst_debug_init):
29469 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29470 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29472 Bump version number, we're now 0.9.0
29473 Add future debugging category.
29474 Fix NULL _unref() in _get_by_name_recurse_up
29475 Rearrange gstpad.h.
29478 2005-03-08 Wim Taymans <wim@fluendo.com>
29480 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29481 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29482 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29483 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29484 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29485 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29486 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29487 * gst/elements/gstidentity.c: (gst_identity_class_init):
29488 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29489 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29490 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29491 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29492 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29494 * gst/gstelement.c: (gst_element_class_init),
29495 (gst_element_base_class_init), (gst_element_init),
29496 (gst_element_get_random_pad), (gst_element_wait_state_change),
29497 (gst_element_change_state), (gst_element_dispose),
29498 (gst_element_finalize), (gst_element_set_loop_function):
29499 * gst/gstelement.h:
29500 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29501 * gst/gstthread.c: (gst_thread_class_init),
29502 (gst_thread_release_children_locks), (gst_thread_change_state):
29503 * gst/schedulers/gstbasicscheduler.c:
29504 (gst_basic_scheduler_loopfunc_wrapper),
29505 (gst_basic_scheduler_chain_wrapper),
29506 (gst_basic_scheduler_src_wrapper),
29507 (gst_basic_scheduler_remove_element):
29508 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29509 Remove threadsafe properties. Fix elements because GObject
29510 complains when installing a property before declaring a
29511 set/get_property handler.
29512 Rearrange gstelement.h file, use STATE macros for state locks.
29513 Free mutexes in the finalize method instead of dispose.
29515 2005-03-08 Wim Taymans <wim@fluendo.com>
29517 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29518 * gst/gstthread.c: (gst_thread_release_children_locks):
29519 Added parentage check.
29520 Fix build og GstThread again.
29522 2005-03-08 Wim Taymans <wim@fluendo.com>
29524 * docs/design/part-MT-refcounting.txt:
29525 * docs/design/part-conventions.txt:
29526 * docs/design/part-gstobject.txt:
29527 * docs/design/part-relations.txt:
29528 * docs/design/part-standards.txt:
29529 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29530 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29531 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29532 (gst_bin_iterate_all_by_interface):
29535 * gst/gstelement.c: (gst_element_class_init),
29536 (gst_element_change_state), (gst_element_set_loop_function):
29537 * gst/gstelement.h:
29538 * gst/gstiterator.c:
29539 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29540 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29541 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29542 (gst_object_set_parent), (gst_object_unparent),
29543 (gst_object_check_uniqueness):
29545 Docs updates, clean up some headers.
29547 2005-03-07 Wim Taymans <wim@fluendo.com>
29549 * check/.cvsignore:
29550 * check/Makefile.am:
29551 * check/gst-libs/.cvsignore:
29552 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29553 * check/gst/.cvsignore:
29554 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29555 (START_TEST), (gstbus_suite), (main):
29556 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29557 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29558 (gst_data_suite), (main):
29559 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29560 (add_fold_func), (gstiterator_suite), (main):
29561 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29562 (thread_name_object), (thread_name_object_default),
29563 (gst_object_name_compare), (gst_object_suite), (main):
29564 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29565 (gst_pad_suite), (main):
29566 * check/gstcheck.c: (gst_check_log_message_func),
29567 (gst_check_log_critical_func), (gst_check_init):
29568 * check/gstcheck.h:
29569 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29570 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29573 2005-03-07 Wim Taymans <wim@fluendo.com>
29575 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29576 (gst_list_iterator_next), (gst_list_iterator_resync),
29577 (gst_list_iterator_free), (gst_iterator_new_list),
29578 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29579 (gst_iterator_free), (gst_iterator_push), (filter_next),
29580 (filter_resync), (filter_uninit), (filter_free),
29581 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29582 (gst_iterator_foreach), (find_custom_fold_func),
29583 (gst_iterator_find_custom):
29584 * gst/gstiterator.h:
29585 Added missing files.
29587 2005-03-07 Wim Taymans <wim@fluendo.com>
29591 * docs/design/part-MT-refcounting.txt:
29592 * docs/design/part-conventions.txt:
29593 * docs/design/part-gstobject.txt:
29594 * docs/design/part-relations.txt:
29595 * examples/mixer/mixer.c: (main):
29596 * examples/thread/thread.c: (eos), (main):
29598 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29599 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29600 (gst_spider_plug_from_srcpad):
29601 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29602 (gst_spider_identity_change_state),
29603 (gst_spider_identity_sink_loop_type_finding):
29604 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29605 * gst/elements/gstidentity.c: (gst_identity_init):
29606 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29607 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29608 * gst/elements/gsttypefindelement.c: (free_entry):
29611 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29612 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29613 (gst_bin_set_index), (gst_bin_set_element_sched),
29614 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29615 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29616 (gst_bin_iterate_elements), (iterate_child_recurse),
29617 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29618 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29619 (compare_interface), (gst_bin_get_by_interface),
29620 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29622 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29623 (gst_buffer_default_free), (gst_buffer_default_copy),
29624 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29625 (gst_buffer_create_sub):
29627 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29628 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29629 (gst_caps_unref), (gst_static_caps_get),
29630 (gst_caps_remove_and_get_structure), (gst_caps_append),
29631 (gst_caps_append_structure), (gst_caps_remove_structure),
29632 (gst_caps_copy_nth), (gst_caps_set_simple),
29633 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29634 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29635 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29636 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29637 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29638 (gst_caps_structure_figure_out_union),
29639 (gst_caps_switch_structures), (gst_caps_do_simplify),
29640 (gst_caps_replace), (gst_caps_from_string),
29641 (gst_caps_copy_conditional):
29643 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29644 (_gst_clock_id_free), (gst_clock_id_unref),
29645 (gst_clock_id_compare_func), (gst_clock_id_wait),
29646 (gst_clock_id_wait_async), (gst_clock_class_init),
29647 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29648 (gst_clock_get_time), (gst_clock_set_time_adjust),
29649 (gst_clock_set_property), (gst_clock_get_property):
29652 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29653 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29655 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29656 (gst_element_requires_clock), (gst_element_provides_clock),
29657 (gst_element_set_clock), (gst_element_clock_wait),
29658 (gst_element_wait), (gst_element_set_time_delay),
29659 (gst_element_is_indexable), (gst_element_add_pad),
29660 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29661 (pad_compare_name), (gst_element_get_static_pad),
29662 (gst_element_request_pad), (gst_element_get_request_pad),
29663 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29664 (gst_element_class_get_pad_template_list),
29665 (gst_element_class_get_pad_template), (gst_element_error_func),
29666 (gst_element_get_random_pad), (gst_element_get_event_masks),
29667 (gst_element_send_event), (gst_element_seek),
29668 (gst_element_get_query_types), (gst_element_query),
29669 (gst_element_get_formats), (gst_element_convert),
29670 (gst_element_is_locked_state), (gst_element_set_locked_state),
29671 (gst_element_sync_state_with_parent), (gst_element_change_state),
29672 (gst_element_finalize), (gst_element_yield),
29673 (gst_element_interrupt), (gst_element_set_scheduler),
29674 (gst_element_get_scheduler), (gst_element_set_loop_function):
29675 * gst/gstelement.h:
29677 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29678 (gst_format_get_by_nick), (gst_format_get_details),
29679 (gst_format_iterate_definitions):
29681 * gst/gstindex.c: (gst_index_gtype_resolver):
29684 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29685 (gst_mem_chunk_free):
29686 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29687 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29688 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29689 (gst_object_dispatch_properties_changed),
29690 (gst_object_set_name_default), (gst_object_set_name),
29691 (gst_object_get_name), (gst_object_set_name_prefix),
29692 (gst_object_get_name_prefix), (gst_object_set_parent),
29693 (gst_object_get_parent), (gst_object_unparent),
29694 (gst_object_check_uniqueness), (gst_object_save_thyself),
29695 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29696 (gst_object_set_property), (gst_object_get_property),
29697 (gst_object_get_path_string):
29699 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29700 (gst_real_pad_init), (gst_real_pad_get_property),
29701 (gst_pad_custom_new), (gst_pad_get_direction),
29702 (gst_pad_set_active), (gst_pad_is_active),
29703 (gst_pad_set_event_function), (gst_pad_is_linked),
29704 (gst_pad_link_free), (gst_pad_link_intersect),
29705 (gst_pad_link_fixate), (gst_pad_set_caps),
29706 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29707 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29708 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29709 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29710 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29711 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29712 (gst_pad_realize), (gst_pad_get_allowed_caps),
29713 (gst_real_pad_dispose), (gst_real_pad_finalize),
29714 (gst_pad_collectv), (gst_pad_collect_valist),
29715 (gst_pad_template_dispose), (gst_pad_template_new),
29716 (gst_pad_get_internal_links):
29718 * gst/gstpipeline.c: (gst_pipeline_dispose),
29719 (gst_pipeline_change_state):
29720 * gst/gstpipeline.h:
29722 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29723 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29724 * gst/gstpluginfeature.h:
29725 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29726 * gst/gstquery.c: (_gst_query_type_initialize),
29727 (gst_query_type_register), (gst_query_type_get_by_nick),
29728 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29730 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29731 * gst/gstscheduler.c: (gst_scheduler_add_element),
29732 (gst_scheduler_factory_create):
29733 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29734 (gst_structure_free), (gst_structure_set_name),
29735 (gst_structure_id_set_value), (gst_structure_set_value),
29736 (gst_structure_set_valist), (gst_structure_remove_field),
29737 (gst_structure_remove_fields),
29738 (gst_structure_remove_fields_valist),
29739 (gst_structure_remove_all_fields), (gst_structure_foreach),
29740 (gst_structure_map_in_place),
29741 (gst_caps_structure_fixate_field_nearest_int),
29742 (gst_caps_structure_fixate_field_nearest_double):
29743 * gst/gststructure.h:
29744 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29745 (gst_system_clock_init), (gst_system_clock_dispose),
29746 (gst_system_clock_async_thread),
29747 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29748 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29749 * gst/gstsystemclock.h:
29750 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29751 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29752 * gst/gsttaginterface.c:
29753 * gst/gstthread.c: (gst_thread_dispose),
29754 (gst_thread_release_children_locks), (gst_thread_change_state),
29755 (gst_thread_main_loop):
29756 * gst/gsttrashstack.h:
29757 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29759 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29760 (gst_element_request_pad), (gst_element_get_pad_from_template),
29761 (gst_element_request_compatible_pad),
29762 (gst_element_get_compatible_pad_filtered),
29763 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29764 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29765 (gst_element_link_many), (gst_element_link),
29766 (gst_element_link_pads), (gst_element_unlink_pads),
29767 (gst_element_unlink_many), (gst_element_unlink),
29768 (gst_pad_can_link_filtered), (gst_pad_can_link),
29769 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29770 (gst_object_default_error), (gst_bin_add_many),
29771 (gst_bin_remove_many), (gst_element_populate_std_props),
29772 (gst_element_class_install_std_props), (gst_buffer_merge),
29773 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29774 (link_fold_func), (gst_pad_proxy_setcaps):
29776 * gst/gstvalue.c: (gst_value_deserialize_string):
29777 * gst/parse/grammar.y:
29778 * gst/schedulers/gstbasicscheduler.c:
29779 (gst_basic_scheduler_cothreaded_chain),
29780 (gst_basic_scheduler_chain_recursive_add),
29781 (gst_basic_scheduler_pad_link):
29782 * gst/schedulers/gstoptimalscheduler.c:
29783 (get_group_schedule_function),
29784 (gst_opt_scheduler_state_transition),
29785 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29786 * libs/gst/bytestream/bytestream.c:
29787 * libs/gst/dataprotocol/dataprotocol.c:
29788 (gst_dp_header_from_buffer):
29791 * tests/threadstate/threadstate2.c: (eos):
29792 * tools/gst-compprep.c: (main):
29793 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29794 (print_pad_info), (print_children_info):
29795 * tools/gst-launch.c: (idle_func), (main):
29796 * tools/gst-md5sum.c: (idle_func), (main):
29797 * tools/gst-xmlinspect.c: (print_element_info):
29798 First THREADED backport attempt, focusing on adding locks and
29799 making sure the API is threadsafe. Needs more work. More docs
29802 2005-02-24 Andy Wingo <wingo@pobox.com>
29804 * tests/bench-complexity.scm:
29805 * tests/complexity.gnuplot: New files, good for running complexity
29808 * tests/Makefile.am:
29809 * tests/complexity.c: New test, sets up N elements, at each level
29810 teeing into M streams per element. Eeeenteresting.
29812 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29813 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29814 running bench-mass_elements.scm.
29816 * tests/bench-mass_elements.scm: New script, runs mass_elements
29817 for various numbers of identities, outputting the results to a
29818 file. Requires guile 1.6. Just for testing.
29820 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29822 * gst/schedulers/fairscheduler.c:
29823 compile with debug disabled
29825 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29828 hunting season on 0.9 is now OPEN