1 2008-06-25 Stefan Kost <ensonic@users.sf.net>
4 Mention bugnumber for last commit.
6 2008-06-25 Stefan Kost <ensonic@users.sf.net>
8 patch by: Luc Pionchon <luc.pionchon@nokia.com>
10 * docs/manual/manual.xml:
11 - Reorganised the previous "introduction" bundle into Foreword,
12 Introduction, and About GStreamer. The two first are <preface>
13 docbook elements. The later is the first part of the book.
14 - added intro-gstreamer.xml (content partially from
16 - moved appendix-win32.xml into appendix-integration.xml
18 * docs/manual/intro-preface.xml: gstreamer section moved...
19 * docs/manual/intro-gstreamer.xml: ...here. new file.
21 * docs/manual/appendix-win32.xml: removed file. Content moved...
22 * docs/manual/appendix-integration.xml: ...here.
24 * docs/manual/highlevel-components.xml: section about GstEditor moved...
25 * docs/manual/appendix-checklist.xml: ...here.
29 2008-06-25 Stefan Kost <ensonic@users.sf.net>
31 patch by: Luc Pionchon <luc.pionchon@nokia.com>
33 * docs/manual/basics-helloworld.xml:
34 * docs/manual/hello-world.fig:
35 - Explicitely include glib.h.
36 - Do not use global variables.
37 - Use g_printerr() instead of g_print().
38 - Minor formating/renaming to increase readibility.
39 - Renamed new_pad() to on_pad_added()
40 - Improved explenatory comments.
41 - renamed ogg parser to ogg demuxer
42 - Use "autoaudiosink" instead of "alsasink".
45 2008-06-25 Stefan Kost <ensonic@users.sf.net>
48 Remove cvs conflict marker.
50 2008-06-25 Stefan Kost <ensonic@users.sf.net>
53 Document that for plgin-docs we extraxt he short-desc from the element
56 * docs/design/part-states.txt:
57 Tell that devices should be closed in PAUSED -> READY.
60 Document how tests in the manual are handled.
65 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
67 * gst/gstbin.c: (bin_query_latency_fold):
68 Only care about latency min and max when the sink is actually a live
71 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
73 * docs/design/part-block.txt:
76 * docs/design/part-element-transform.txt:
77 Add notes about why transform needs to know input/output sizes.
78 Add some issues that need to be solved.
79 Add some more use cases.
81 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
82 (gst_test_trans_class_init), (result_sink_chain),
83 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
84 (gst_test_trans_push), (gst_test_trans_pop):
85 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
86 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
87 (set_caps_1), (set_caps_ct1), (transform_ct1),
88 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
89 (gst_basetransform_suite):
90 Add suport for different pad templates and buffer-alloc.
91 Add more checks for caps and buffer-alloc.
92 Add checks for proxy buffer alloc.
93 Add unit test for copy transform.
95 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
97 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
99 * docs/manual/appendix-integration.xml:
100 * docs/manual/appendix-licensing.xml:
101 * docs/manual/basics-elements.xml:
102 * docs/manual/basics-helloworld.xml:
103 * docs/manual/basics-pads.xml:
104 * docs/manual/highlevel-components.xml:
105 * docs/manual/highlevel-xml.xml:
106 * docs/manual/intro-basics.xml:
107 * docs/manual/intro-preface.xml:
108 Typo and formatting fixes (#538594).
110 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
112 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
113 Fix some memory leaks and uses of object instances that we don't
116 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
118 * plugins/elements/gstmultiqueue.c:
119 Add functionality to extra-size-buffers property.
121 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
123 * plugins/elements/gstmultiqueue.c:
124 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
125 activate the pads if they are added in STATE_NULL.
127 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
129 * docs/libs/gstreamer-libs-sections.txt:
131 * libs/gst/check/gstcheck.c:
132 * libs/gst/check/gstcheck.h:
133 API: gst_check_teardown_pad_by_name
135 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
137 * libs/gst/check/gstcheck.c:
138 * libs/gst/check/gstcheck.h:
139 Also setup request pads and allow setup pads by name (#537812)
140 API: gst_check_setup_src_pad_by_name
141 API: gst_check_setup_sink_pad_by_name
143 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
145 * tests/check/gst/gstbuffer.c:
146 * tests/check/pipelines/parse-launch.c:
147 Use HAVE_VALGRIND_H some more.
149 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
151 * scripts/cvs-update.sh:
152 Pass arguments to make.
153 Run autoregen.sh if Makefile is not there.
155 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
159 Don't assume that <valgrind/valgrind.h> exists just because
162 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
164 * tests/check/Makefile.am:
165 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
166 (gst_test_trans_class_init), (gst_test_trans_init),
167 (gst_test_trans_set_data), (result_sink_chain),
168 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
169 (gst_test_trans_pop):
170 * tests/check/libs/transform1.c: (GST_START_TEST),
171 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
172 Add some test basetransform element and the beginnings of various
175 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
177 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
178 Increase code readability.
179 Don't try to compare buffer offsets when ther are invalid.
181 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
183 * docs/design/Makefile.am:
184 Dist some more design docs.
186 * docs/random/moving-plugins:
187 Small addition: good plugins mustn't have functional code
188 within assertion macros.
190 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
192 * docs/design/draft-framestep.txt:
193 Some ideas about a framestep API
195 * docs/design/part-element-transform.txt:
196 Start design and use cases for basetransform in order to get it
199 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
202 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
203 be in UTF-8 encoding.
205 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
208 Make it known that gst_bus_poll() is pure evil (fixes #538810).
210 2008-06-20 Stefan Kost <ensonic@users.sf.net>
212 * plugins/elements/gstcapsfilter.c:
213 * plugins/elements/gstfakesink.c:
214 * plugins/elements/gstfakesrc.c:
215 * plugins/elements/gstfdsink.c:
216 * plugins/elements/gstfdsrc.c:
217 * plugins/elements/gstfilesink.c:
218 * plugins/elements/gstfilesrc.c:
219 * plugins/elements/gstidentity.c:
220 * plugins/elements/gstmultiqueue.c:
221 * plugins/elements/gstqueue.c:
222 * plugins/elements/gsttee.c:
223 * plugins/elements/gsttypefindelement.c:
224 Remove short_description. Add basic docs for gsttypefindelement.
225 Simplify markup for fakesrc/fdsrc.
227 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
229 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
232 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
234 Patch by: joel larsson <tilljoel at gmail dot com>
236 * docs/plugins/gstreamer-plugins.args:
237 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
238 (gst_fd_src_init), (gst_fd_src_update_fd),
239 (gst_fd_src_set_property), (gst_fd_src_get_property),
241 * plugins/elements/gstfdsrc.h:
242 Add timeout property like udpsrc. Fixes #538628.
243 Add some more docs and example pipelines.
245 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
247 * docs/libs/gstreamer-libs-sections.txt:
248 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
249 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
250 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
251 (gst_base_sink_do_sync):
252 * libs/gst/base/gstbasesink.h:
253 * win32/common/libgstbase.def:
254 Add method to allow sinks to specify additional delay between the sync
255 times and the actual rendering of the data.
256 API: gst_base_sink_set_render_delay()
257 API: gst_base_sink_get_render_delay()
259 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
262 Bump version number back to dev -> 0.10.20.1
264 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
266 * docs/gst/gstreamer-sections.txt:
267 * gst/gsttaglist.c: (_gst_tag_initialize):
269 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
272 2008-06-20 Stefan Kost <ensonic@users.sf.net>
274 * libs/gst/controller/gstcontroller.c:
275 Revert one change, that make ret value possible uninitialized.
277 2008-06-20 Stefan Kost <ensonic@users.sf.net>
279 * libs/gst/controller/gstcontroller.c:
280 Use freeze/thaw notify to sync notify emission a bit (its also more
281 efficient). Move debug output to LOG (is called a lot in a loop).
282 Always unset g_values if the have been initialized.
284 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
286 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
287 (gst_base_sink_wait_eos), (gst_base_sink_event):
288 If we have not seen a buffer before EOS, use the segment values to
289 report the current position instead of invalid positions.
291 2008-06-20 Stefan Kost <ensonic@users.sf.net>
293 * docs/plugins/tmpl/.cvsignore:
294 * tests/check/gst/.cvsignore:
297 2008-06-20 Stefan Kost <ensonic@users.sf.net>
299 * libs/gst/controller/gstinterpolation.c:
300 * libs/gst/controller/gstinterpolationcontrolsource.c:
301 * tests/check/libs/controller.c:
302 Rewrite handling of default values. Fix overflow with unsigned types
303 in linear interpolation. Remove now obsolete _first_value() function.
304 Add more tests. Fixes #538201.
306 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
308 * libs/gst/base/gstbasetransform.c:
309 (gst_base_transform_class_init), (gst_base_transform_init),
310 (gst_base_transform_transform_caps),
311 (gst_base_transform_prepare_output_buffer):
313 When a buffer is writable, its metadata is also writable so we don't
314 need to subbuffer (which then makes the buffer not-writable anymore).
316 === release 0.10.20 ===
318 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
321 releasing 0.10.20, "You Crazy Diamond"
323 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
326 0.10.19.3 pre-release
328 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
332 Rename DATADIR to GST_DATADIR to avoid build problems
333 on win32. Patch By: David Schleef <ds@schleef.org>
336 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
339 Explicitely link with -ldl if dladdr() is found there. Before it was
340 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
341 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
343 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
345 * gst/gsterror.c: (_gst_stream_errors_init):
346 Fix typo (spotted by Fabricio Godoy, #536723).
348 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
351 0.10.19.2 pre-release
353 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
355 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
356 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
358 Make sure we don't generate invalid QoS messages.
360 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
362 * gst/gstevent.c: (gst_event_new_qos):
363 Add some assert and docs for invalid input to the qos function.
365 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
367 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
368 (gst_base_sink_get_position):
369 The reported position must always be smaller than the last seen
370 timestamps (or timestamp + duration for reverse).
372 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
374 Patch by: Rob Bradford <rob at robster dot org dot uk>
376 * gst/gstregistry.c: (gst_registry_scan_path_level):
377 Don't recurse into .debug directories as some distros install
378 the debugging symbols next to the plugins in .debug directories
379 and dlopen() crashes on them sometimes. Fixes bug #508070.
381 Add FIXME for 0.11 to not recurse into directories at all because
382 it's very inconsistent to the behaviour of other PATH environment
385 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
387 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
388 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
389 Fix position query range checks in reverse playback.
391 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
395 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
396 clear of the reference to the resulting pad must be released later
397 or not, resulting in possible leaks. Fixes bug #533865.
399 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
401 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
403 * gst/gstelementfactory.c:
404 Small doc fix. Fixes #535285.
406 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
408 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
410 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
411 (gst_base_src_get_range), (gst_base_src_pad_get_range),
412 (gst_base_src_loop), (gst_base_src_set_flushing),
413 (gst_base_src_change_state):
414 Make sending an EOS event to the basesrc non-blocking even if the
415 implementation does blocking waits in the create function. This is done
416 by unlocking the create function when EOS is sent.
419 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
421 * tools/gst-inspect.c: (print_element_properties_info):
422 If possible print the element type of GValueArray properties.
424 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
427 Remove an unused field from the private GstListIterator struct.
429 2008-05-27 Stefan Kost <ensonic@users.sf.net>
431 * libs/gst/controller/gstcontroller.c:
432 Add parameter guards.
434 2008-05-27 Stefan Kost <ensonic@users.sf.net>
436 * tests/check/gst/gstpipeline.c:
437 Revert test change and add comment why it should not work.
439 2008-05-27 Stefan Kost <ensonic@users.sf.net>
441 * tests/check/gst/gstpipeline.c:
442 Extending the test a little to verify that we also get the NULL state-
445 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
447 * gst/gstpreset.c: (gst_preset_default_get_meta),
448 (gst_preset_get_preset_names), (gst_preset_get_property_names),
449 (gst_preset_load_preset), (gst_preset_save_preset),
450 (gst_preset_rename_preset), (gst_preset_delete_preset),
451 (gst_preset_set_meta):
452 Add Since: markers to docs blurbs.
454 * win32/common/libgstreamer.def:
455 Add recently-added API.
457 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
459 Patch by: Stefan Kost <ensonic@users.sf.net>
462 Add DATADIR for storing presets.
464 * docs/gst/gstreamer-docs.sgml:
465 * docs/gst/gstreamer-sections.txt:
466 * docs/gst/gstreamer.types.in:
467 Add GstPreset to docs.
471 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
472 (preset_open_and_parse_header), (preset_parse_version),
473 (preset_merge), (preset_get_keyfile),
474 (gst_preset_default_get_preset_names),
475 (gst_preset_default_get_property_names),
476 (gst_preset_default_load_preset),
477 (gst_preset_default_save_presets_file),
478 (gst_preset_default_save_preset),
479 (gst_preset_default_rename_preset),
480 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
481 (gst_preset_default_get_meta), (gst_preset_default_randomize),
482 (gst_preset_default_reset), (gst_preset_get_preset_names),
483 (gst_preset_get_property_names), (gst_preset_load_preset),
484 (gst_preset_save_preset), (gst_preset_rename_preset),
485 (gst_preset_delete_preset), (gst_preset_set_meta),
486 (gst_preset_get_meta), (gst_preset_class_init),
487 (gst_preset_base_init), (gst_preset_get_type):
489 Add GstPreset to core. Fixes #396779
491 * tests/check/Makefile.am:
492 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
493 (gst_preset_test_set_property), (gst_preset_test_class_init),
494 (gst_preset_test_base_init), (gst_preset_test_get_type),
495 (gst_preset_test_plugin_init), (GST_START_TEST),
496 (remove_preset_file), (test_setup), (test_teardown),
498 Add GstPreset unit tests.
500 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
502 * gst/gstpad.c: (gst_pad_event_default_dispatch):
503 The default event function on a sinkpad should return TRUE when
504 there are no internal links but should collect the return values from
505 the internal links otherwise.
507 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
509 * plugins/elements/gsttypefindelement.c:
510 (gst_type_find_element_src_event),
511 (gst_type_find_element_handle_event):
512 Use faster and safer _pad_push_event().
514 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
516 * docs/gst/gstreamer-sections.txt:
517 * gst/gstutils.c: (element_find_unlinked_pad),
518 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
520 API: add gst_bin_find_unlinked_pad()
521 API: deprecate gst_bin_find_unconnected_pad() (#401456)
523 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
529 Fixed a bunch of typos.
531 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
534 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
535 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
536 (gst_parse_bin_from_description_full):
538 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
540 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
542 * docs/pwg/advanced-tagging.xml:
543 Small docs update, can't be bothered to rewrite the nonsensical
546 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
549 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
551 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
553 * gst/parse/grammar.y:
554 Remove unneeded casts.
556 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
558 * gst/parse/grammar.y:
559 * tests/check/pipelines/parse-launch.c:
560 Get all missing elements from a parse launch string if possible
561 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
563 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
565 * tests/check/Makefile.am:
566 * tests/check/pipelines/parse-launch.c:
567 Add some unit tests for the new gst_parse_launch*_full() API.
568 (Exposes a previously-existing memory leak in the error code
569 path, so adding to VALGRIND_TO_FIX for now).
571 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
573 * docs/gst/gstreamer-sections.txt:
574 * gst/gst.c: (init_post):
575 * gst/gst_private.h: (_GstParseContext):
576 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
577 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
578 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
579 (gst_parse_launch_full):
580 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
581 (GstParseFlags), (GstParseContext):
582 * gst/gstutils.c: (gst_parse_bin_from_description),
583 (gst_parse_bin_from_description_full):
585 * gst/parse/grammar.y:
587 * win32/common/libgstreamer.def:
588 Add new gst_parse_*_full API (#528178):
589 API: gst_parse_launch_full()
590 API: gst_parse_launchv_full()
591 API: gst_parse_bin_from_description_full()
592 API: gst_parse_context_new()
593 API: gst_parse_context_free()
594 API: gst_parse_context_get_missing_elements()
596 2008-05-23 Stefan Kost <ensonic@users.sf.net>
598 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
600 * docs/faq/gst-uninstalled:
601 Also support ffmpeg in gst-uninstalled.
603 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
606 After discussion on IRC use the binary registry as default
607 but allow to disable it with --disable-binary-registry.
609 * win32/common/libgstreamer.def:
610 Add the two new symbols for the binary registry.
612 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
614 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
615 * gst/gstutils.c: (gst_parse_bin_from_description):
616 * gst/parse/grammar.y: (graph):
617 More guards against bad input; typo fix; some minor clean-ups.
619 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
621 Patch by: Sjoerd Simons <sjoerd at luon dot net>
623 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
624 If nothing else can be used, use the last buffer's start time as
625 the segment's last stop. Fixes bug #534258.
627 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
629 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
630 Move size sanity check to the right place: downstream may return
631 a buffer with a smaller size if the buffer caps are different than
632 the requested ones, as may happen when doing reverse negotiation.
634 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
636 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
637 (gst_file_sink_render):
638 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
639 (gst_file_src_start):
640 Small cleanups. Add note adbout g_fopen() on windows and why we don't
643 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
645 * gst/gstpad.c: (gst_pad_load_and_link):
646 * gst/gstutils.c: (gst_element_link_pads),
647 (gst_element_unlink_pads):
648 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
649 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
650 (gst_check_teardown_sink_pad),
651 (gst_check_element_push_buffer_list):
652 * tests/check/elements/fakesink.c: (GST_START_TEST):
653 * tests/check/elements/filesink.c:
654 * tests/check/elements/filesrc.c: (GST_START_TEST):
655 * tests/check/elements/multiqueue.c: (setup_multiqueue),
656 (mq_sinkpad_to_srcpad):
657 * tests/check/elements/tee.c: (GST_START_TEST):
658 * tests/check/generic/sinks.c: (GST_START_TEST):
659 * tests/check/gst/gstbin.c: (GST_START_TEST):
660 * tests/check/gst/gstevent.c: (GST_START_TEST):
661 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
662 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
663 * tests/check/gst/gstquery.c: (GST_START_TEST):
664 * tests/check/gst/gstutils.c: (GST_START_TEST):
665 * tests/check/libs/basesrc.c: (GST_START_TEST):
666 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
667 (gst_parse_test_element_change_state):
668 Don't use gst_element_get_pad().
670 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
673 Fix installing plugin documentation when gtk-doc is disabled.
675 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
677 * docs/manual/advanced-autoplugging.xml:
678 * docs/manual/basics-helloworld.xml:
679 * docs/manual/basics-pads.xml:
680 * docs/manual/highlevel-components.xml:
681 Avoid using a bad function in the example code.
683 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
685 * gst/gstclock.c: (gst_clock_set_calibration):
686 Fix debug of the new clock rate.
688 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
690 * win32/common/libgstbase.def:
691 Add gst_base_sink_wait_clock() to the exported symbols.
693 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
695 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
697 * libs/gst/base/gstbasetransform.c:
698 (gst_base_transform_sink_event):
699 Unref events that the GstBaseTransform::event vfunc didn't want to
700 have forwarded by the base class. Closes a leak in identity.
703 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
705 * docs/libs/gstreamer-libs-sections.txt:
706 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
707 * libs/gst/base/gstbasesink.h:
708 Expose a method that was previously used internally to synchronize
709 against the clock because it can be useful for subclasses too.
710 API: GstBaseSink::gst_base_sink_wait_clock()
712 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
714 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
715 Add sanity check to make sure we don't get smaller buffers
716 than requested (and fallback to normal buffer alloc if we do).
718 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
720 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
721 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
722 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
723 Refactor adjusting the running_time with latency and offset into a
725 When doing clipping, we still want to use the subclass get_times method,
726 just in case the DURATION or TIMESTAMP are not set.
728 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
730 * docs/gst/gstreamer-sections.txt:
731 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
733 * win32/common/libgstreamer.def:
734 API: add gst_type_find_suggest_simple(), #533740.
736 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
738 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
739 Use right error code when typefinding fails, so we can use
740 the default (translated) error messages.
742 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
744 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
745 (gst_base_src_start):
746 When the subclass did not set caps on outgoing buffers, configure the
747 caps we negotiated on the source pad.
748 When the typefind helper does not find caps, error out properly instead
749 of doing things with NULL caps.
751 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
754 Tabs to spaces, oh yes!
756 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
758 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
759 Add David's and Benjamin's tests for array intersection to the
760 unit test suite (#147931).
762 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
765 Document that gst_event_new_tag() and gst_event_new_navigation()
766 take ownership of the taglist/structure passed to them. (#533635).
768 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
771 Don't descend into the plugins dir if plugin docs building
775 Add a note about the new type:GTypeName syntax for the plugin
776 documentation .types file.
778 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
780 * gst/gstmessage.c: (gst_message_new_error),
781 (gst_message_new_warning), (gst_message_new_info):
783 Mark the debug string parameters as const. Fixes bug #533490.
785 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
787 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
788 Sort buffer cache list by end offsets. This makes sure that we don't
789 stop to search for a cached buffer that contains the requested data
791 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
792 more efficient. Fixes bug #459862.
794 2008-05-14 Stefan Kost <ensonic@users.sf.net>
797 Explain why we copy the list.
803 Add one debug-log statement to help tracing probelms with linking pads.
805 2008-05-12 Stefan Kost <ensonic@users.sf.net>
807 * tests/check/gst/gstinfo.c:
808 Add a test for removing the default log handler. Seems to fail under
811 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
813 * gst/gstpad.c: (gst_pad_peer_accept_caps):
814 Release pad lock before calling out to avoid a possible deadlock.
816 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
818 * gst/parse/grammar.y:
819 Remove unneeded value unset.
821 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
822 Add unit test for de/serialization of caps.
824 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
826 * plugins/elements/gstfakesink.c:
827 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
828 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
829 (gst_fake_src_class_init):
830 Use custom marshalers that take GstMiniObject as first parameter.
831 Using OBJECT as parameter while a GstMiniObject is given will lead
832 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
834 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
836 * plugins/elements/gsttypefindelement.c:
837 (gst_type_find_element_handle_event),
838 (gst_type_find_element_send_cached_events),
839 (gst_type_find_element_change_state):
840 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
843 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
845 * plugins/elements/gsttypefindelement.c:
846 (gst_type_find_handle_src_query), (stop_typefinding),
847 (gst_type_find_element_handle_event),
848 (gst_type_find_element_send_cached_events),
849 (gst_type_find_element_change_state):
850 Forward FLUSH_START events immediately and clean up instead of
853 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
855 Patch by: Sjoerd Simons <sjoerd at luon dot net>
857 * libs/gst/base/gstbasetransform.c:
858 (gst_base_transform_buffer_alloc):
859 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
860 fall back to default negotiation in the chain function if the caps
861 are different from what was requested. Fixes bug #526768.
863 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
866 * tests/check/gst/gstsegment.c:
867 No, let's not use g_slice_{dup|copy} here, since they only exist
868 since GLib 2.14 and we still depend only on >= 2.12. Also add
869 unit test for gst_segment_copy().
871 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
873 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
874 Try to fix 'dereferencing type-punned pointer will break strict
875 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
876 changed the default GType typedef from gulong to gsize at some point,
877 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
878 g_once_* functions all take a gsize * though, so work around the type
879 mismatch for C++ by doing everything in gsize and casting to GType
882 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
884 * plugins/elements/gstmultiqueue.c:
885 Add documentation for the signals to push our core plugin docs
886 coverage back up to 100%.
888 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
890 * gst/gstinfo.h (GST_FUNCTION):
891 Reverted GST_FUNCTION to the old version as we don't want the
892 full signature in C++ code. Also added support for MSVC.
894 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
897 Intern the type name string, similar to what G_DEFINE_TYPE does.
899 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
902 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
904 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
906 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
908 * libs/gst/base/gstbasetransform.c:
909 (gst_base_transform_buffer_alloc):
910 Don't passthrough buffer allocation too easily if the caps change.
911 This breaks when working in passthrough mode and upstream changes
912 it's caps. Fixes bug #526768.
914 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
916 * gst/gstinfo.c (gst_debug_log_valist):
917 Improved the __FILE__ part of debug output for MSVC.
919 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
921 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
922 Declaration after statement fix for compilers like MSVC.
924 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
926 * win32/common/config.h.in:
927 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
928 use the real thing than having "???" unconditionally.
930 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
932 * gst/gstinfo.h (GST_FUNCTION):
933 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
935 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
937 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
940 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
941 (gst_base_sink_set_flushing):
942 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
945 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
947 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
948 (gst_fake_src_init), (gst_fake_src_set_property),
949 (gst_fake_src_get_property), (gst_fake_src_start):
950 * plugins/elements/gstfakesrc.h:
951 Added format property to control the format of the newsegment events.
952 API: GstFakeSrc:format
954 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
956 * win32/common/libgstreamer.def:
957 Add gst_pad_has_name() to the exported symbols.
959 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
961 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
962 * libs/gst/base/gstbasetransform.c:
963 (gst_base_transform_prepare_output_buffer):
964 Don't allow negative sizes when allocating new buffers.
967 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
969 Patch by: Sjoerd Simons <sjoerd at luon net>
971 * gst/gstbus.c: (gst_bus_source_dispatch):
972 Don't print a warning if the queue is empty when we try to pop
973 here. That could happen if another thread or callback set the
974 bus to flushing between the source's check/prepare and the
975 dispatch being called (#531538).
977 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
979 * plugins/elements/gstmultiqueue.c:
982 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
984 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
985 Add unit test for deserializing uint64s and check some really large
986 numbers in the int64 test.
988 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
990 * tools/gst-inspect.c: (n_print), (print_hierarchy),
991 (print_interfaces), (print_element_properties_info),
993 Use "%s" as format string instead of printing strings directly.
995 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
997 * gst/gstclock.c: (gst_clock_set_calibration):
998 Make some checks actually useful.
1000 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1001 Remove some unused code. Unsigned integers tend to be >= 0.
1003 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1005 * gst/gstminiobject.c: (gst_value_get_mini_object):
1006 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1007 function was not in the unscheduled 0.10.19 release.
1009 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1011 * gst/gstregistry.c: (gst_registry_scan_path_level):
1012 Only print one log message per non-plugin file.
1014 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1016 * gst/gstinfo.c: (gst_debug_log_default):
1017 Fix alignment of debug log columns on 64-bit.
1019 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1021 * docs/libs/Makefile.am:
1022 * docs/libs/gstreamer-libs-sections.txt:
1023 Ignore private controller headers for docs.
1025 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1027 * libs/gst/controller/gstcontrollerprivate.h:
1028 * libs/gst/controller/gsthelper.c:
1029 * libs/gst/controller/gstinterpolation.c:
1030 * libs/gst/controller/gstinterpolationcontrolsource.c:
1031 (gst_interpolation_control_source_set_interpolation_mode):
1032 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1033 * libs/gst/controller/lib.c:
1034 Move some private declarations into private headers.
1036 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1038 * gst/gstdebugutils.c: (debug_dump_element_pad):
1039 Remove some code that is unused after Stefan's refactoring and uses
1040 uninitialized variables now, resulting in a compiler warning.
1042 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1044 * gst/gstregistry.c: (gst_registry_scan_path_level):
1045 Run g_str_has_suffix() only on the file name, not the
1048 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1050 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1051 Since we're not called only from the chain function any longer,
1052 we can't assume that there's always data in the queue, so move
1053 the is_full check to the beginning of the loop (otherwise we'd
1054 hit the assert when changing the limit properties while the
1055 queue is empty or not running yet).
1056 Also, only set a discont if items were actually removed from
1059 * tests/check/elements/queue.c: (test_leaky_downstream):
1060 Test case for the above.
1062 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1064 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1066 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1067 (gst_queue_chain), (queue_capacity_change),
1068 (gst_queue_set_property):
1069 When changing thr max capacity of a leaky queue, immediatly drop buffers
1070 instead of waiting for a push on the sinkpad. Fixes #530637.
1072 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1074 * gst/gstdebugutils.c:
1075 Refactor code and fix handling of ghostpads and their proxypads.
1077 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1079 * docs/gst/gstreamer-sections.txt:
1080 * gst/gstevent.c: (gst_event_has_name):
1082 * tests/check/gst/gstevent.c: (GST_START_TEST):
1083 Add method to conveniently check the name of a custom event with
1084 gst_event_has_name().
1085 Reformat the event docs so that related methods are put together instead
1086 of the default alphabetical sort.
1087 Update unit test with new method.
1088 API: GstEvent::gst_event_has_name()
1090 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1092 * libs/gst/check/Makefile.am:
1093 Don't add an explicit link to libgstreamer-0.10.la; it's already
1094 included in GST_OBJ_LIBS.
1096 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1099 Register GstClock type from a type-safe context. Fixes bug #530317.
1101 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1103 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1105 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1107 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1109 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1111 Use the GLib stuff to create a private structure.
1112 Add some locking around some dispose methods to make them a little
1113 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1115 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1117 * libs/gst/base/gstbasesink.h:
1118 * libs/gst/base/gstbasesrc.h:
1119 * libs/gst/base/gstbasetransform.h:
1120 * libs/gst/base/gstcollectpads.h:
1121 Fix doc typos and unify caps a bit.
1123 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1125 * tools/gst-launch.1.in:
1126 Forgot to also add the envvar docs here.
1128 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1130 * gst/gst.c: (init_post), (gst_deinit):
1131 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1132 (test_concurrent_create), (gst_pipeline_suite):
1133 Ref some more classes in gst_init() to work around thread-safety
1134 issues in pre-2.16 GLibs, and add basic unit test.
1136 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1138 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1139 (gst_base_sink_send_event):
1140 Rearrange the latency query code. We always want to do the upstream
1141 query, even if we are not live so that the upstream elements can get the
1142 latency results too. If we fail doing the query and we are live, we
1143 return TRUE afterwards.
1145 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1147 patch by: Jason Zhao <e3423c@motorola.com>
1149 * docs/gst/running.xml:
1151 Enable/disable scan_and_update_registry() based on commandline switch
1152 or environment variable. Fixes #520468.
1155 Fix typo in my previous commit.
1157 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1159 * gst/gstregistrybinary.c:
1160 Add a warning if we hit unhandled factories when saving.
1161 More debug logging detail, but move to LOG category.
1163 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1165 * gst/gstregistry.c:
1166 Tell the *truth* when improving the documentation.
1168 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1170 * gst/gstelementfactory.c: (gst_element_factory_make):
1171 Unref the factory after it was used the last time, not before.
1173 * gst/gstindexfactory.c: (gst_index_factory_make):
1174 Improve debugging a bit and don't leak a ref to the index factory with
1177 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1179 * gst/gstregistry.c:
1180 Improve the documentation.
1182 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1185 The glib macro seems to be borked. Use g_slice_copy directly and cast
1186 in the hope that this fixes the warning on 64bit.
1188 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1191 Document the new function. Use g_slice_dup() (no need for
1192 gst_segment_init()).
1194 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1196 * docs/gst/gstreamer-sections.txt:
1197 Move GParamSepc macros to standart section.
1200 Dn't document _get_type - its in private section in docs anyway and
1201 this doc-blob was incomplete.
1204 Fix wrong symbol names in docs.
1207 Add once doc sentence.
1209 * tests/check/gst/.cvsignore:
1212 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1214 * docs/gst/Makefile.am:
1215 And remove those libs here.
1217 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1219 * docs/libs/Makefile.am:
1220 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1222 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1224 Patch by: Olivier Crete <tester at tester dot ca>
1226 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1227 Add the min-threshold to the min latency if possible. Fixes #529148.
1229 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1231 * docs/gst/gstreamer.types.in:
1232 Stupid editor, I removed that line as it should go in yet.
1234 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1236 * docs/gst/gstreamer.types.in:
1237 * docs/libs/gstreamer-libs.types:
1238 Remove library types fro core docs and have them in libs docs.
1239 Reformat and cleanup. Add comment for miniobject types.
1241 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1243 * gst/gsturi.c: (gst_uri_get_protocol):
1244 Fix leak: g_strdown operates on the string in place, while
1245 g_ascii_strdown() returns a newly-allocated string.
1247 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1249 * tools/gst-inspect.c: (print_uri_handler_info),
1250 (print_element_info):
1251 Print the URI protocols and the URI type supported by the element.
1253 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1255 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1256 Use g_value_take_string() instead of the deprecated
1257 g_value_set_string_take_ownership().
1259 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1261 * gst/gstregistrybinary.c: (_gst_crc32):
1262 Return the old CRC instead of 0 if we give a NULL buffer
1263 or a buffer with a length of 0.
1265 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1267 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1268 (gst_uri_get_protocol), (gst_uri_has_protocol),
1269 (gst_uri_construct), (gst_uri_handler_set_uri):
1270 A valid URI scheme can also include '+', '-' and '.' additional
1271 to alphanumeric characters as per RFC 3986 Section 3.1.
1273 Handle URI schemes case insensitive in all places and convert
1274 to lower-case when constructing an URI or setting an URI with
1275 the GstURIHandler interface. Fixes bug #528868.
1276 All elements can still assume (as before) that they will
1277 get passed URIs with a lower-case URI scheme by the GstURIHandler
1280 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1282 * gst/gstcaps.c: (gst_static_caps_get):
1283 * gst/gstclock.c: (gst_clock_entry_new):
1284 Don't use g_atomic_set_int where it's not needed.
1286 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1288 * gst/gstvalue.c: (gst_value_deserialize_caps):
1289 * gst/parse/grammar.y:
1292 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1294 * gst/gstutils.c: (gst_atomic_int_set):
1295 Use g_atomic_int_set() here too instead of assignment +
1298 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1302 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1303 now that we depend on new enough GLib.
1305 * gst/gstcaps.c: (gst_static_caps_get):
1306 * gst/gstclock.c: (gst_clock_entry_new):
1307 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1308 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1309 (gst_debug_category_set_threshold):
1310 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1311 (gst_base_sink_set_qos_enabled):
1312 * libs/gst/net/gstnettimeprovider.c:
1313 (gst_net_time_provider_set_property):
1314 Use g_atomic_int_set() instead of gst_atomic_int_set().
1316 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1319 Also use G_GINT64_CONSTANT for the queries.
1321 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1324 Use G_GINT64_CONSTANT in varargs function.
1326 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1328 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1329 Initialize the registry magic with zeroes.
1331 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1333 * gst/gstregistrybinary.c: (_gst_crc32),
1334 (gst_registry_binary_write),
1335 (gst_registry_binary_initialize_magic),
1336 (gst_registry_binary_write_cache),
1337 (gst_registry_binary_check_magic),
1338 (gst_registry_binary_read_cache):
1339 * gst/gstregistrybinary.h:
1340 Add crc32 checksum to the binary registry file and check this before
1341 accepting a registry file.
1343 Also free the data list when writing to the registry file fails.
1345 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1347 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1348 (gst_registry_binary_load_feature),
1349 (gst_registry_binary_load_plugin):
1350 If an element supports the Uri interface, returns a valid pointer
1351 to the supported URI protocols but this pointer contains nothing
1352 don't try to save that as it will corrupt the registry.
1354 Don't unref the plugin if we added it to the registry already but
1355 fail to load a feature as gst_registry_add_plugin() takes ownership
1358 Improve debugging a bit.
1360 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1363 Clarify some tag item docs after discussion on irc.
1365 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1367 * docs/gst/gstreamer-docs.sgml:
1368 Remove commented out plugins (they have their own docs). Update
1371 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1373 * docs/gst/gstreamer-docs.sgml:
1374 * docs/gst/gstreamer-sections.txt:
1375 * gst/gstparamspecs.c:
1376 * gst/gstparamspecs.h:
1377 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1378 docs to own section.
1381 This now only documents GValue.
1383 * docs/libs/gstreamer-libs-sections.txt:
1384 * libs/gst/controller/gstcontroller.h:
1385 Remove GST_PARAM_CONTROLLABLE.
1387 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1390 Correct file path. Tell about how to use -overrides.txt.
1391 * docs/design/draft-tagreading.txt:
1392 Small design update.
1394 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1396 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1397 (gst_registry_binary_load_plugin):
1398 Fix a typo in a debug message and revert change from yesterday as
1399 gst_registry_add_plugin() will only fail if something is really wrong
1400 already and we can't survive it anyway.
1402 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1404 * gst/gst.c: (init_post), (gst_deinit):
1405 Pre-register GstGError GType from a thread-safe context
1406 (fixes #527967); unref enum type classes in deinit.
1408 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1410 Patch by: Rene Stadler <mail at renestadler de>
1412 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1413 Merging an empty list with another list in KEEP_ALL mode should
1414 yield an empty list as result and not the second list (#512578).
1416 * tests/check/gst/gsttagsetter.c:
1417 Add unit test for tag merge modes and the aforementioned bug.
1419 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1421 Patch by: Rene Stadler <mail at renestadler de>
1424 Fix description to match the order in the table (#512577).
1426 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1428 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1430 * libs/gst/net/gstnettimepacket.h:
1431 * docs/libs/gstreamer-libs-sections.txt:
1432 Define socklen_t as int if it's not defined yet. Fixes compilation
1433 with MSVC6 and other versions where socklen_t is not defined in
1434 the windows headers (#518022).
1436 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1438 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1439 If gst_registry_add_plugin() fails our reference to the plugin is
1440 invalid so don't try to use it anymore and instead error out.
1442 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1444 * tools/gst-xmlinspect.c: (print_element_info), (main):
1445 De-cruft a bit. If no argument is specified, print all elements in
1446 XML syntax rather than a freestyle list of elements like gst-inspect.
1447 Also, don't print XML header chunk unless we actually have something
1448 to print (ie. don't print it before an error message); print error
1449 message to stderr not stdout. Remove support for printing plugin
1450 info (it would just output something freestyle along the lines of
1451 gst-inspect so far), which fixes #514507. Also add license header.
1453 2008-04-11 Julien Moutte <julien@fluendo.com>
1456 * configure.ac: Merge platform specific defines, introduce a new
1457 define on OS X to remember that forking when updating registry is
1459 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1461 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1463 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1464 condition that leads to absolutely no plugins being registered on
1467 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1469 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1471 * gst/gstutils.c: (gst_pad_add_data_probe),
1472 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1473 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1474 (gst_pad_add_buffer_probe_full):
1476 * docs/gst/gstreamer-sections.txt:
1477 * win32/common/libgstreamer.def:
1478 Add gst_pad_add_*_probe_full() functions with a notify callback that
1479 lets the caller free the data it passes to the probe functions. This
1480 is useful for bindings such as gst-python or gstreamermm (#526814).
1481 API: gst_pad_add_data_probe_full
1482 API: gst_pad_add_buffer_probe_full
1483 API: gst_pad_add_event_probe_full
1485 * tests/check/gst/gstutils.c:
1486 Add minimal unit test to make sure freeing the data actually works
1489 * tests/benchmarks/.cvsignore:
1490 Random cvsignore addendum.
1492 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1494 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1495 (GST_DEBUG_BIN_TO_DOT_FILE):
1496 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1497 to it in the docs (since these are macros the types of the arguments
1498 won't be shown in the docs otherwise).
1500 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1503 Do not abort on out of memory for pad_alloc_buffer.
1505 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1507 * libs/gst/check/gstcheck.c:
1508 Remove blank line between symbol name ad parameters to fix gtkdoc
1511 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1513 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1515 * docs/gst/gstreamer-sections.txt:
1518 * win32/common/libgstreamer.def:
1519 Expose gst_segment_copy() to make things easier for the c++ bindings.
1521 API: gst_segment_copy()
1523 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1525 * gst/gst.c: (gst_init_get_option_group), (init_post):
1526 Fix const position; ref GType classes for enum types to work
1527 around thread-safety issues in GLib versions < 2.16.
1529 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1531 * docs/design/part-buffering.txt:
1532 Fix some typos and set the estimated total for push mode to -1.
1534 * gst/gstquery.c: (gst_query_new_buffering):
1535 Set buffering-left to 0 as we're not buffering by default.
1537 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1538 Implement BUFFERING query.
1540 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1542 Based on patch by: Milosz Derezynski <internalerror gmail com>
1544 * gst/gsterror.c: (_gst_stream_errors_init):
1546 Add two new error codes for encrypted content. Fixes #524659.
1547 API: GST_STREAM_ERROR_DECRYPT
1548 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1550 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1555 * win32/common/libgstreamer.def:
1558 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1560 * plugins/elements/gstidentity.c: (gst_identity_event),
1561 (gst_identity_start):
1562 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1563 event after processing some data. Fixes bug #526042.
1565 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1567 * docs/gst/gstreamer-sections.txt:
1568 * gst/gstquery.c: (gst_query_parse_latency),
1569 (gst_query_set_buffering_percent),
1570 (gst_query_parse_buffering_percent),
1571 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1573 Rename _avail -> _range
1574 API: gst_query_set_buffering_range
1575 API: gst_query_parse_buffering_range
1577 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1579 * docs/design/part-buffering.txt:
1582 * gst/gstquery.c: (gst_query_parse_latency),
1583 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1584 (gst_query_parse_buffering_percent):
1586 Add busy field and quark for the buffering query so that the app can
1587 only use the query to see if buffering is in progress.
1589 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1591 * docs/gst/gstreamer-sections.txt:
1592 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1593 (gst_message_parse_buffering_stats):
1595 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1596 (gst_query_parse_latency), (gst_query_new_buffering),
1597 (gst_query_set_buffering_percent),
1598 (gst_query_parse_buffering_percent),
1599 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1600 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1602 Reorder the message docs and headers for clarity.
1603 Add aditional buffering stats API for messages.
1604 Add buffering query.
1605 Convert some leftover queries to use GstQuark.
1606 API: gst_message_set_buffering_stats
1607 API: gst_message_parse_buffering_stats
1608 API: GST_QUERY_BUFFERING
1609 API: GstBufferingMode
1610 API: gst_query_new_buffering
1611 API: gst_query_set_buffering_percent
1612 API: gst_query_parse_buffering_percent
1613 API: gst_query_set_buffering_stats
1614 API: gst_query_parse_buffering_stats
1616 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1618 * gst/gstmessage.c: (gst_message_new_error),
1619 (gst_message_new_warning), (gst_message_new_info),
1620 (gst_message_new_buffering), (gst_message_new_state_changed),
1621 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1622 (gst_message_new_new_clock), (gst_message_new_segment_start),
1623 (gst_message_new_segment_done), (gst_message_new_duration),
1624 (gst_message_new_async_start), (gst_message_parse_buffering),
1625 (gst_message_parse_state_changed),
1626 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1627 (gst_message_parse_new_clock), (gst_message_parse_error),
1628 (gst_message_parse_warning), (gst_message_parse_info),
1629 (gst_message_parse_segment_start),
1630 (gst_message_parse_segment_done), (gst_message_parse_duration),
1631 (gst_message_parse_async_start):
1632 Use GstQuark for messages.
1634 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1636 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1638 Add some more quarks needed for messages and queries.
1640 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1642 * docs/design/part-buffering.txt:
1643 Remove the "none" buffering mode, STREAM is a good default.
1644 Move estimated-time to the avail query, that's when it will be needed.
1645 Other small typo fixes and updates.
1647 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1649 * gst/gstindex.c: (gst_index_resolver_get_type):
1650 Don't put descriptions into the nick field of a GEnumValue: it's not
1651 meant for that and some language bindings rely on the nick field to
1652 construct constants and the like. Fixes #526705.
1654 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1659 Merge other changes from 0.10.19 release branch.
1661 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1663 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1666 Actually build dlls when cross-compiling with mingw32.
1669 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1671 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1674 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1676 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1678 * docs/design/draft-latency.txt:
1681 * docs/design/part-buffering.txt:
1682 Update design docs with more buffering ideas.
1684 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1687 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1689 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1692 Revert part that belongs to the preset patch.
1694 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1697 Add qoutes to the define. Fixes # 525961.
1699 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1701 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1702 (gst_file_index_load), (gst_file_index_add_id),
1703 (gst_file_index_get_assoc_entry):
1704 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1705 (gst_mem_index_free_id), (gst_mem_index_add_id),
1706 (gst_mem_index_index_format):
1707 Use GSlice when possible.
1709 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1711 * libs/gst/controller/gstinterpolationcontrolsource.c:
1712 (gst_control_point_free),
1713 (gst_interpolation_control_source_set_internal):
1714 Use GSlice for allocating the control points.
1716 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1718 * plugins/elements/gsttypefindelement.c:
1719 (gst_type_find_element_class_init),
1720 (gst_type_find_element_set_property),
1721 (gst_type_find_element_get_property),
1722 (gst_type_find_element_activate):
1723 * plugins/elements/gsttypefindelement.h:
1725 Fix pad leak when peer query fails.
1726 We can still typefind when the peer returns -1.
1727 Add property to force caps and bypass typefinding. This will be used in
1731 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1736 * gst/glib-compat-private.h:
1737 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1738 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1739 Unconditionally use GSlice for allocation.
1741 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1742 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1743 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1744 (gst_structure_free):
1745 Use GSlice for allocation.
1747 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1749 * gst/parse/Makefile.am:
1750 * gst/parse/grammar.tab.pre.c:
1751 * gst/parse/grammar.tab.pre.h:
1752 * gst/parse/lex._gst_parse_yy.pre.c:
1753 Require a new enough flex and bison and remove the parser hacks to use
1754 a pre-regenerated version.
1756 2008-04-01 Julien Moutte <julien@fluendo.com>
1758 patch by: Jason Zhao <E3423C@motorola.com>
1760 * configure.ac: Add a configure switch to disable option parsing
1764 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1767 * gst/gstregistry.c:
1768 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1769 and handle this case.
1772 Add a comment here describing, why we stat each plugin and not try to
1775 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1777 * libs/gst/base/gstbasetransform.c:
1778 (gst_base_transform_prepare_output_buffer):
1779 Also unset the GAP flag on buffers if we're working inplace but
1780 the element is not GAP-aware.
1782 Mark a comment as FIXME 0.11.
1784 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1787 Fix type in log message and add one to ease seeing how long registry
1788 cache verification takes.
1790 * gst/gstregistry.c:
1791 Only test plugin filenames against G_MODULE_SUFFIX.
1793 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1795 * gst/gstdebugutils.c:
1796 Improve handling ghost/proxy pads.
1798 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1800 * docs/gst/gstreamer-sections.txt:
1803 Expose macro to docs and fix link to it.
1805 2008-03-27 Michael Smith <msmith@fluendo.com>
1807 * libs/gst/dataprotocol/dataprotocol.c:
1808 (gst_dp_packet_from_event_1_0):
1809 When calculating GDP body CRC, use the correct pointer.
1810 Fixes part of #522401.
1812 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1814 Patch by: Mark Nauwelaerts <manauw at skynet be>
1816 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1817 (gst_identity_init), (gst_identity_prepare_output_buffer):
1818 Identity is not always a passthrough element, it can modify the buffer
1819 timestamps when it has a datarate and operates in single-segment mode.
1820 We therefore make it an in_place filter with a custom buffer prepare
1821 function that conditionally makes the input buffer metadata writable
1822 when needed. Fixes #523985.
1824 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1826 Patch by: Mark Nauwelaerts <manauw at skynet be>
1829 * libs/gst/base/gstbasesrc.h:
1830 * libs/gst/base/gstbasetransform.c:
1831 * libs/gst/check/gstcheck.c:
1832 Small documentation fixes. Fixes #523978.
1834 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1836 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1837 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1838 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1840 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1842 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1843 (single_queue_underrun_cb):
1844 When trying to make room in the queue, bump the max allowed buffers
1845 bigger than the current amount of buffers in the queue. this fixes some
1846 nasty deadlocks in multiqueue when dynamically changing the limits of
1849 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1851 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1853 * gst/gstcaps.c: (gst_caps_set_simple),
1854 (gst_caps_set_simple_valist), (gst_caps_intersect):
1856 Constify the field gchar * params in set_simple and friends.
1859 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1861 * gst/gstvalue.c: (gst_value_transform_object_string):
1862 Transform a GstObject to a more meaningfull string that includes the
1863 object type in addition to its name.
1865 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1868 ChangeLog surgery to add bugnumber to commit.
1870 2008-03-23 Rene Stadler <mail@renestadler.de>
1872 * libs/gst/base/gstbasetransform.c:
1873 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1875 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1877 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1878 Rename constant everywhere and don't forget one occurence.
1880 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1882 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1883 Align memory to the pointer size even if the architecture allows
1884 unaligned memory access. Unaligned memory access usually comes with
1885 performance penality.
1887 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1889 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1890 (gst_registry_binary_check_magic),
1891 (gst_registry_binary_load_pad_template),
1892 (gst_registry_binary_load_feature),
1893 (gst_registry_binary_load_plugin):
1894 Align memory to the pointer size instead of always 32 bit. Fixes
1895 unaligned memory accesses on ia64 and friends.
1897 * gst/gstregistrybinary.h:
1898 Bump binary registry format version for this as it changes the
1899 format on those architectures that don't have unaligned access
1900 and 64 bit pointers.
1902 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1904 * docs/pwg/advanced-dparams.xml:
1905 * docs/pwg/building-props.xml:
1906 * docs/pwg/other-source.xml:
1907 * gst/glib-compat.h:
1908 * gst/gstbin.c: (gst_bin_class_init):
1909 * gst/gstclock.c: (gst_clock_class_init):
1910 * gst/gstindex.c: (gst_index_class_init):
1911 * gst/gstobject.c: (gst_object_class_init):
1912 * gst/gstpad.c: (gst_pad_class_init):
1913 * gst/gstpipeline.c: (gst_pipeline_class_init):
1914 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1915 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1916 * libs/gst/base/gstbasetransform.c:
1917 (gst_base_transform_class_init):
1918 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1919 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1920 (_gst_check_fault_handler_sighandler),
1921 (_gst_check_fault_handler_setup), (gst_check_init):
1922 * libs/gst/controller/gstcontroller.c:
1923 (_gst_controller_class_init):
1924 * libs/gst/controller/gstlfocontrolsource.c:
1925 (gst_lfo_control_source_class_init):
1926 * libs/gst/net/gstnetclientclock.c:
1927 (gst_net_client_clock_class_init):
1928 * libs/gst/net/gstnettimeprovider.c:
1929 (gst_net_time_provider_class_init):
1930 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1931 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1932 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1933 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1934 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1935 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1936 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1937 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1938 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1939 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1940 * plugins/elements/gsttee.c: (gst_tee_class_init):
1941 * plugins/elements/gsttypefindelement.c:
1942 (gst_type_find_element_class_init):
1943 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1944 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1945 use it everywhere for GParamSpecs that use static strings (i.e. all).
1946 This gives us less memory usage, fewer allocations and thus less
1947 memory defragmentation. Fixes bug #523806.
1949 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1951 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1952 (gst_param_spec_mini_object):
1953 * gst/gstminiobject.h:
1954 * win32/common/libgstreamer.def:
1955 * docs/gst/gstreamer-sections.txt:
1956 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1957 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1958 GstParamSpecMiniObject into a public header for this.
1960 This make GstMiniObject a bit more consistent with GObject and makes
1961 it possible to extend the param specs.
1963 gst_value_dup_mini_object is mainly useful for set_property methods.
1967 * tools/gst-inspect.c: (print_element_properties_info):
1968 Print something useful for GstMiniObject properties and not just
1971 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1973 * docs/gst/gstreamer-sections.txt:
1974 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1975 (gst_registry_binary_check_magic):
1976 * gst/gstregistrybinary.h:
1977 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1978 and add it to the (private part) of the docs to fix the build.
1980 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1982 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1983 (gst_registry_binary_check_magic),
1984 (gst_registry_binary_read_cache):
1985 * gst/gstregistrybinary.h:
1986 Don't use GST_MAJORMINOR for the binary registry version. Instead
1987 hardcode a value that must be changed whenever the format changes
1988 in an incompatible way.
1989 Also don't GST_ERROR when there is a version mismatch, just
1990 regenerate the registry silently.
1992 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1995 Back to development - 0.10.18.1
1997 === release 0.10.18 ===
1999 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2002 releasing 0.10.18, "So far away"
2004 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2007 * win32/common/config.h:
2008 0.10.17.4 pre-release
2010 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2012 Patch by: Ole André Vadla Ravnås
2013 <ole dot andre dot ravnas at tandberg dot com>
2015 * docs/gst/gstreamer-sections.txt:
2016 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2017 (gst_poll_update_winsock_event_mask),
2018 (gst_poll_prepare_winsock_active_sets),
2019 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2020 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2021 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2022 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2023 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2025 * win32/common/libgstreamer.def:
2026 Add new function gst_poll_fd_ignored() for improved Windows
2028 Various minor fixes and cleanups. See #520808.
2030 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2032 * gst/gstindex.c: (gst_index_entry_free):
2034 Don't free key strings which we don't own. Fixes crash in
2035 gst_index_entry_free() (#522741).
2037 * tests/check/Makefile.am:
2038 * tests/check/gst/.cvsignore:
2039 * tests/check/gst/gstindex.c: (test_index_entries),
2040 (gst_index_suite), (gst_index):
2041 Add unit test for the above.
2043 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2045 * win32/common/libgstreamer.def:
2046 Remove symbols that were removed recently. Fixes bug #521740.
2048 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2051 * win32/common/config.h:
2052 0.10.17.3 pre-release
2054 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2056 Patch by: Ole André Vadla Ravnås
2057 <ole dot andre dot ravnas at tandberg dot com>
2059 * docs/gst/gstreamer-sections.txt:
2060 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2061 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2062 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2063 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2064 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2065 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2066 (gst_poll_fd_can_write), (gst_poll_wait),
2067 (gst_poll_set_controllable), (gst_poll_restart),
2068 (gst_poll_set_flushing):
2070 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2071 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2072 (gst_net_time_provider_new):
2073 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2074 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2075 * tests/benchmarks/gstpollstress.c: (main):
2076 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2077 Remove GstPollMode from the API, it does not make sense to let the
2078 application control this.
2079 Add support for Win32.
2080 Fix the testsuite. Fixes #520671.
2082 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2084 Patch by: Ole André Vadla Ravnås
2085 <ole dot andre dot ravnas at tandberg dot com>
2087 * gst/gstregistrybinary.c:
2088 Include io.h for write() and close() when building with MSVC. Fixes
2091 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2094 * gst/gst_private.h:
2095 * gst/gstconfig.h.in:
2096 * gst/gstregistry.h:
2097 * gst/gstregistrybinary.c:
2098 * win32/common/gstconfig.h:
2099 Move registry backend API to private headers where we can. Add
2100 fixme-0.11 comments for the others. Add stubs for the xml backend when
2101 using the binary to ensure they functions exists (they should not be
2102 used though). Fixes #520756.
2104 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2107 * win32/common/config.h:
2110 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2112 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2113 (gst_registry_binary_read_cache):
2114 * gst/gstregistryxml.c: (gst_registry_save):
2115 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2116 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2117 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2118 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2119 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2122 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2124 * gst/gstminiobject.c:
2125 Import gst_private.h before any other header that might include other
2126 glib headers. This fixes the build on windows using native compilers.
2128 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2130 * win32/common/gstconfig.h:
2131 Add here too, just for completeness.
2133 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2136 * gst/gstconfig.h.in:
2137 * gst/gstregistry.h:
2138 Fix broken use of config.h-defined preprocessor directive in a public
2139 header file. Add a corresponding define to gstconfig.h, since we can't
2140 really remove those function declarations from the header file now
2141 (or can we? and why are they there in the first place?).
2143 2008-03-03 Andy Wingo <wingo@pobox.com>
2145 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2148 * gst/gststructure.c (gst_structure_from_string): Warn if
2149 structure_from_string didn't consume the whole string, but the
2150 caller did not provide an end pointer.
2152 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2154 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2156 * gst/gstregistryxml.c: (read_string), (load_feature):
2157 Strings allocated by libxml2 should be freed with xmlFree(), not
2158 with g_free(). Fixes issues on windows in certain contexts (#519698).
2160 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2162 * gst/gstinterface.c: (gst_element_implements_interface):
2163 Don't crash if the element supports the interface queried, but does
2164 not implement GstImplementsInterface. Fixes #519584.
2166 * tests/check/Makefile.am:
2167 * tests/check/gst/.cvsignore:
2168 * tests/check/gst/gstinterface.c:
2169 Add unit test for the above.
2171 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2173 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2176 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2178 * gst/gstsegment.c: (gst_segment_set_seek),
2179 (gst_segment_to_stream_time):
2180 Improve some comment.
2181 Update variables where it makes more sense.
2183 2008-02-29 Rene Stadler <mail@renestadler.de>
2185 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2186 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2187 URIHandlers implemented using language bindings.
2189 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2191 * gst/gstelementfactory.h:
2192 * tests/check/elements/fakesink.c:
2193 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2194 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2195 * tests/check/elements/filesink.c: (setup_filesink):
2196 * tests/check/elements/filesrc.c: (setup_filesrc):
2197 * tests/check/elements/identity.c: (setup_identity):
2198 * tests/check/elements/tee.c:
2199 * tests/check/generic/sinks.c:
2200 * tests/check/generic/states.c: (setup), (teardown):
2201 * tests/check/gst/gst.c:
2202 * tests/check/gst/gstabi.c:
2203 * tests/check/gst/gstbin.c:
2204 * tests/check/gst/gstbus.c: (pull_messages):
2205 * tests/check/gst/gstcaps.c:
2206 * tests/check/gst/gstelement.c:
2207 * tests/check/gst/gstevent.c:
2208 * tests/check/gst/gstghostpad.c:
2209 * tests/check/gst/gstiterator.c:
2210 * tests/check/gst/gstmessage.c:
2211 * tests/check/gst/gstminiobject.c: (my_foo_init):
2212 * tests/check/gst/gstobject.c: (thread_name_object),
2214 * tests/check/gst/gstpad.c:
2215 * tests/check/gst/gstplugin.c:
2216 * tests/check/gst/gstpoll.c:
2217 * tests/check/gst/gstquery.c:
2218 * tests/check/gst/gstsegment.c:
2219 * tests/check/gst/gststructure.c:
2220 * tests/check/gst/gstsystemclock.c:
2221 * tests/check/gst/gsttask.c:
2222 * tests/check/gst/gstutils.c:
2223 * tests/check/gst/gstvalue.c:
2224 * tests/check/gst/struct_hppa.h:
2225 * tests/check/gst/struct_i386.h:
2226 * tests/check/gst/struct_ppc32.h:
2227 * tests/check/gst/struct_ppc64.h:
2228 * tests/check/gst/struct_x86_64.h:
2229 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2230 * tests/check/libs/basesrc.c:
2231 * tests/check/libs/controller.c: (GST_START_TEST):
2232 * tests/check/libs/gdp.c:
2233 * tests/check/libs/gstnetclientclock.c:
2234 * tests/check/libs/gstnettimeprovider.c:
2235 * tests/check/libs/libsabi.c:
2236 * tests/check/libs/struct_hppa.h:
2237 * tests/check/libs/struct_i386.h:
2238 * tests/check/libs/struct_ppc32.h:
2239 * tests/check/libs/struct_ppc64.h:
2240 * tests/check/libs/struct_x86_64.h:
2241 * tests/check/pipelines/cleanup.c:
2242 * tests/check/pipelines/simple-launch-lines.c:
2243 * tests/check/pipelines/stress.c:
2244 And correct even more valid sparse warnings.
2246 * win32/common/libgstreamer.def:
2247 Add gst_poll_fd_init to the list of symbols.
2249 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2251 * gst/gstconfig.h.in:
2252 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2253 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2254 (gst_check_log_critical_func), (gst_check_drop_buffers),
2255 (gst_check_element_push_buffer_list):
2256 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2257 (gst_controller_get_type):
2258 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2259 (gst_object_get_controller), (gst_object_get_control_source):
2260 * libs/gst/controller/gstinterpolationcontrolsource.c:
2261 (gst_interpolation_control_source_new):
2262 * libs/gst/controller/gstlfocontrolsource.c:
2263 (gst_lfo_control_source_new):
2264 * libs/gst/dataprotocol/dataprotocol.c:
2265 (gst_dp_event_from_packet_0_2):
2266 * plugins/elements/gstfdsrc.c:
2267 * plugins/elements/gstmultiqueue.c:
2268 * plugins/elements/gsttee.c:
2269 * plugins/elements/gsttypefindelement.c:
2270 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2271 (gst_file_index_add_association):
2272 * plugins/indexers/gstmemindex.c:
2273 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2274 * tests/check/elements/queue.c: (setup_queue):
2275 * tests/check/gst/gstpipeline.c:
2276 * tests/check/libs/collectpads.c: (setup), (teardown),
2277 (gst_collect_pads_suite):
2278 * tests/examples/adapter/adapter_test.c:
2279 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2280 * tests/examples/xml/createxml.c:
2281 * tests/examples/xml/runxml.c:
2282 * tools/gst-inspect.c:
2284 Correct all relevant warnings found by the sparse semantic code
2285 analyzer. This include marking several symbols static, using
2286 NULL instead of 0 for pointers, not using variable sized arrays
2287 on the stack, moving variable declarations to the beginning of
2288 a block and using "foo (void)" instead of "foo ()" for declarations.
2290 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2292 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2293 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2294 Don't reset GstPollFDs, this is not necessary at all.
2296 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2297 (delayed_restart), (delayed_control):
2298 Use GST_POLL_FD_INIT.
2300 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2302 * gst/gstpoll.c: (gst_poll_fd_init):
2306 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2307 Use some more init macros.
2309 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2311 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2312 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2313 Use init macros and functions.
2315 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2317 * docs/gst/gstreamer-sections.txt:
2318 * gst/gstpoll.c: (gst_poll_fd_init):
2320 Add INIT macro and _init method for initializing the GstPollFD.
2322 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2324 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2325 (gst_fd_sink_update_fd):
2326 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2327 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2328 (delayed_restart), (delayed_control):
2329 Initialize some uninitialized variables as spotted by valgrind.
2331 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2333 * tests/benchmarks/Makefile.am:
2334 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2336 Add poll stress test.
2338 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2340 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2342 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2343 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2344 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2345 * plugins/elements/gstfdsink.h:
2346 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2347 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2348 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2349 (gst_fd_src_uri_set_uri):
2350 * plugins/elements/gstfdsrc.h:
2351 Port to GstPoll. See #505417.
2353 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2355 * win32/common/libgstreamer.def:
2356 Add new gst_poll_ symbols to win32 defs.
2358 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2360 * docs/libs/gstreamer-libs-sections.txt:
2361 * libs/gst/net/gstnetclientclock.c:
2362 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2363 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2364 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2365 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2366 * libs/gst/net/gstnetclientclock.h:
2367 * libs/gst/net/gstnettimeprovider.c:
2368 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2369 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2370 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2371 (gst_net_time_provider_new):
2372 * libs/gst/net/gstnettimeprovider.h:
2373 Use a private stuct to not break ABI.
2375 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2377 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2379 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2380 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2381 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2382 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2383 * libs/gst/net/gstnetclientclock.h:
2384 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2385 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2386 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2387 (gst_net_time_provider_new):
2388 * libs/gst/net/gstnettimeprovider.h:
2389 Massive code removal and cleanups because of GstPoll.
2392 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2395 Add checks for poll, ppoll and pselect.
2397 * docs/gst/gstreamer-docs.sgml:
2398 * docs/gst/gstreamer-sections.txt:
2399 Add docs for GstPoll.
2403 * gst/gstpoll.c: (find_index), (selectable_fds),
2404 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2405 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2406 (gst_poll_set_mode), (gst_poll_get_mode),
2407 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2408 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2409 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2410 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2411 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2412 (gst_poll_fd_can_write), (gst_poll_wait),
2413 (gst_poll_set_controllable), (gst_poll_restart),
2414 (gst_poll_set_flushing):
2416 Add generic poll abstraction. We ideally don't want to have this in core
2417 here but in glib intead...
2418 This code will be used in various network elements and ultimately for
2419 the nanosecond precision monotonic clock (that's why it's here in core).
2420 It'll allow us to implement cancelable socket operations for windows too.
2422 * tests/check/Makefile.am:
2423 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2424 (delayed_stop), (delayed_restart), (delayed_flush),
2425 (delayed_control), (gst_poll_suite):
2426 Add GstPoll unit test.
2428 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2431 Improve documentation of gst_filter_run(). Fixes #518627.
2433 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2436 Add a few lines about the new 'check-inspected-versions' target.
2438 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2440 * tests/check/gst/gstevent.c:
2441 Add qos to the event test. Rename tcase/tsuite; is not only about
2444 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2446 * plugins/elements/gstqueue.c:
2447 Ensure that buffer metadata is writeable, before modifying. Spotted by
2450 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2452 * plugins/elements/gstqueue.c:
2453 * plugins/elements/gstqueue.h:
2454 When dropping buffers in leaky modes, mark next buffers we sent as
2457 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2459 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2460 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2462 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2464 * plugins/elements/Makefile.am:
2465 * plugins/elements/gstbufferstore.c:
2466 * plugins/elements/gstbufferstore.h:
2467 * plugins/elements/gsttypefindelement.h:
2468 Remove GstBufferStore, no idea why we were still building it.
2469 It's not used anywhere and superseded by GstAdapter.
2471 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2472 (gst_file_src_create_mmap):
2473 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2474 Printf format fixes for 64-bit integers.
2476 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2479 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2480 We're not in 0.8 times anymore.
2482 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2484 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2485 (gst_check_element_push_buffer_list):
2486 * libs/gst/check/gstcheck.h:
2487 Make the declaration in the header for
2488 gst_check_element_push_buffer_list match the implementation.
2490 Fix up spelling, grammar and wording of the documentation in a few
2491 places, and add the Since keyword to new API functions.
2492 Use g_list_delete_link instead of g_list_remove in
2493 gst_check_drop_buffers, since it's immeasurably more efficient.
2495 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2496 Use new gst_check_drop_buffers function where appropriate.
2498 * win32/common/libgstbase.def:
2499 * win32/common/libgstreamer.def:
2500 Add new symbols gst_collect_pads_take_buffer,
2501 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2504 Changelog surgery to add API keyword to new gst_check API.
2506 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2508 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2509 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2510 Update pre-generated flex files with flex 2.3.34.
2512 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2514 * gst/gstminiobject.c:
2515 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2516 friendly to subclasses and not require them to know all internals
2517 of their parent class.
2519 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2521 * docs/libs/gstreamer-libs-sections.txt:
2522 * libs/gst/base/gstcollectpads.c:
2523 * libs/gst/base/gstcollectpads.h:
2524 Add sub-buffer functions to collectpads. Fixes #516187.
2525 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2527 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2530 Copy selected buffer-flags when creating subbuffers.
2533 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2535 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2536 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2537 * gst/gstmessage.c: (gst_message_class_init),
2538 (gst_message_finalize):
2539 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2540 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2541 (gst_mmap_buffer_finalize):
2542 Properly chain up finalize functions to the parent class.
2544 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2546 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2548 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2549 (gst_index_set_resolver_full):
2551 Add new function with option to dispose of user_data in resolver.
2552 Actually call the dispose function when finalizing the object and not
2553 just when changing the resolver/filter.
2554 API: GstIndex::gst_index_set_resolver_full()
2556 * docs/gst/gstreamer-sections.txt:
2557 Add new function to docs. Fixes #515469.
2559 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2561 * gst/gstindex.c: (gst_index_finalize):
2562 Chain up finalize to the parent class. Fixes leaking the GstObject
2563 name and other things.
2565 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2568 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2569 pre-releases or releases.
2571 * docs/faq/gst-uninstalled:
2574 * docs/random/release:
2575 Change one of the steps - we only upload core & base to Gnome FTP
2577 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2579 * gst/gstconfig.h.in:
2580 Add 'id' for example.
2584 * plugins/elements/gstfdsink.c:
2585 Link to signals. Doc and comment fixes.
2587 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2589 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2590 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2591 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2592 unused and unimplemented; finally, it is plugin features, not
2593 plugins, that have ranks.
2595 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2597 * gst/gstpluginfeature.h:
2598 Clarify GstRank range docs.
2600 2008-02-05 David Schleef <ds@schleef.org>
2602 * gst/gst.c: Add a separate gst_deinitialized that prevents
2603 gst_init() from being called after gst_deinit(). Fixes #509559
2605 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2607 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2608 (gst_bin_class_init):
2609 * gst/gstelement.c: (gst_element_base_class_init),
2610 (gst_element_class_add_pad_template):
2611 * gst/gstpadtemplate.c: (gst_pad_template_init):
2612 * gst/gstpipeline.c: (gst_pipeline_get_type),
2613 (gst_pipeline_base_init), (gst_pipeline_class_init):
2614 * libs/gst/base/gstbasesink.c:
2615 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2616 (gst_base_src_base_init), (gst_base_src_class_init):
2617 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2618 (gst_capsfilter_class_init):
2619 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2620 (gst_fake_sink_class_init):
2621 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2622 (gst_fake_src_class_init):
2623 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2624 (gst_fd_sink_class_init):
2625 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2626 (gst_fd_src_class_init):
2627 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2628 (gst_file_sink_class_init):
2629 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2630 (gst_file_src_class_init):
2631 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2632 (gst_identity_class_init):
2633 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2634 (gst_multi_queue_class_init):
2635 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2636 (gst_queue_class_init):
2637 * plugins/elements/gsttee.c: (gst_tee_base_init),
2638 (gst_tee_class_init):
2639 * plugins/elements/gsttypefindelement.c:
2640 (gst_type_find_element_base_init),
2641 (gst_type_find_element_class_init):
2642 * tests/check/gst/gstelement.c: (gst_element_suite):
2643 Revert previous changes to the behaviour of GstPadTemplates, etc
2644 and the possiblity to call them in class_init as it breaks too
2645 many elements. Reopens bug #491501.
2647 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2650 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2652 * tools/gst-launch.c:
2653 Dump one graph per pipeline state-change and state change name
2654 (if GST_DEBUG_DUMP_DOT_DIR is set).
2656 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2659 * tests/check/gst/gstpad.c:
2660 Be sure that we have a new copy of the caps and not
2661 reffed caps from a template
2663 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2665 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2666 * gst/gstpipeline.c: (gst_pipeline_get_type),
2667 (gst_pipeline_class_init):
2668 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2669 (gst_base_sink_class_init):
2670 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2671 (gst_base_src_class_init):
2672 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2673 (gst_base_transform_class_init):
2674 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2675 (gst_collect_pads_class_init):
2676 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2677 * libs/gst/net/gstnettimeprovider.c:
2678 (gst_net_time_provider_base_init),
2679 (gst_net_time_provider_class_init):
2680 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2681 (gst_capsfilter_class_init):
2682 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2683 (gst_fake_sink_class_init):
2684 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2685 (gst_fake_src_class_init):
2686 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2687 (gst_fd_sink_class_init):
2688 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2689 (gst_fd_src_class_init):
2690 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2691 (gst_file_sink_class_init):
2692 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2693 (gst_file_src_class_init):
2694 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2695 (gst_identity_class_init):
2696 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2697 (gst_multi_queue_class_init):
2698 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2699 (gst_queue_class_init):
2700 * plugins/elements/gsttee.c: (gst_tee_base_init),
2701 (gst_tee_class_init):
2702 * plugins/elements/gsttypefindelement.c:
2703 (gst_type_find_element_base_init),
2704 (gst_type_find_element_class_init):
2705 Don't use base_init where not absolutely necessary. For example it's
2706 not necessary anymore for adding pad templates or setting element
2709 Leave empty base_init functions in several places as GST_BOILERPLATE
2710 still defines and uses them.
2712 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2714 * gst/gstelement.c: (gst_element_base_class_init),
2715 (gst_element_class_add_pad_template):
2716 * gst/gstpadtemplate.c:
2717 Make it possible (and recommended) to set element details and add
2718 pad templates in the class_init functions by copying the details/pad
2719 templates in GstElement's base_init.
2721 Also make it possible to replace existing pad templates by adding
2722 a new one with the same name. This was done in a hackish fashion
2723 in same elements before already.
2725 Don't reference pad templates that are added a second time. A
2726 new pad template has a refcount of one and is not floating anymore
2727 and to be owned by the element's class. Make this more explicit by
2728 mentioning it in the docs of gst_element_class_add_pad_template().
2730 These changes are backwards compatible. Fixes bug #491501.
2732 * tests/check/gst/gstelement.c:
2733 Add unit test for setting element details, adding pad templates and
2734 replacing them in a subclass.
2736 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2738 * tools/gst-inspect.c: (print_interfaces),
2739 (print_element_properties_info), (print_pad_info),
2740 (print_signal_info), (print_element_info):
2741 Fix a few memory leaks.
2743 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2745 * docs/libs/gstreamer-libs-sections.txt:
2746 * libs/gst/check/gstcheck.c:
2747 * libs/gst/check/gstcheck.h:
2748 Add more functions for unit testing: gst_check_drop_buffers,
2749 gst_check_caps_equal, gst_check_element_push_buffer_list,
2750 gst_check_element_push_buffer
2751 API: gst_check_drop_buffers
2752 API: gst_check_caps_equal
2753 API: gst_check_element_push_buffer_list
2754 API: gst_check_element_push_buffer
2756 2008-02-01 Julien Moutte <julien@fluendo.com>
2758 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2759 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2760 (gst_index_finalize), (gst_index_entry_free),
2761 (gst_index_add_association): Fix memory leaks.
2762 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2763 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2764 (gst_mem_index_free_format), (gst_mem_index_free_id),
2765 (gst_mem_index_finalize): Fix memory leaks.
2766 * win32/common/config.h: Updated to CVS HEAD.
2768 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2771 Some more details about how the plugin docs works.
2773 * docs/plugins/gstreamer-plugins-sections.txt:
2776 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2778 * gst/parse/grammar.tab.pre.c:
2779 * gst/parse/grammar.tab.pre.h:
2780 * gst/parse/grammar.y:
2781 * gst/parse/lex._gst_parse_yy.pre.c:
2782 Add delayed set-property. This allows to set properties on dynamicaly
2783 created objects (pads in videomxer). Fixes #509391.
2785 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2788 Check if caps are not NULL (fix bug #510194)
2790 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2792 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2793 (gst_base_sink_get_position_paused):
2794 Add fixme regarding EOS in pull mode.
2795 Fix position reporting in PAUSED for negative rates.
2797 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2799 * gst/gstminiobject.c: (gst_mini_object_replace):
2800 When replacing a miniobject, do a quick equality check first so that we
2801 can avoid a ref/unref pair.
2803 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2805 * docs/design/part-synchronisation.txt:
2808 * docs/plugins/Makefile.am:
2809 * docs/plugins/gstreamer-plugins-docs.sgml:
2810 * docs/plugins/gstreamer-plugins-sections.txt:
2811 * plugins/elements/gstmultiqueue.c:
2812 Add multiqueue to the docs.
2814 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2819 === release 0.10.17 ===
2821 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2824 releasing 0.10.17, "Due Negligence"
2826 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2829 Revert caps != NULL check temporarily for 0.10.17 release.
2831 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2834 Check if caps are not NULL (fix bug #510194)
2836 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2839 Fix compilation on systems that have posix timers but no
2842 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2845 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2847 * tools/gst-inspect.c:
2848 Revert previous commit in preparation for an impromptu 0.10.17 release
2850 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2852 * tools/gst-inspect.c: (print_interfaces),
2853 (print_element_properties_info), (print_pad_info),
2854 (print_signal_info), (print_element_info):
2855 Fix a few memory leaks.
2857 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2862 === release 0.10.16 ===
2864 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2867 releasing 0.10.16, "Special Dispensation"
2869 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2872 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2873 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2874 not fail when trying to crosscompile on OpenEmbedded (#511750).
2876 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2879 Use $(MAKE) instead of make to fix the build if GNU make is
2880 called different. Fixes bug #510747.
2882 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2884 * gst/gstplugin.c: (_gst_plugin_initialize):
2885 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2886 again, which I broke two commits ago when changing the API
2887 of gst_plugin_register_static(): the g_list_foreach() in
2888 _gst_plugin_register_static still assumed the old function
2889 signature and would therefore fail (re-fixes #510187).
2891 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2892 (_gst_plugin_register_static), (gst_plugin_register_static):
2893 Revert the (technically correct) change to call g_thread_init() from
2894 the pre-main() constructor. This will break programs which call
2895 g_thread_init() without an if (!g_thread_supported()) guard in their
2896 main function. We could just blame it on GLib or the application, but
2897 it's probably best to just avoid this altogether and simply not use
2898 any GLib functions here and use plain old malloc() with a simple
2899 array to store the plugins to register later when gst_init() is
2900 finally called (re-fixes #510187).
2902 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2903 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2904 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2905 (GST_START_TEST), (gst_plugin_suite):
2906 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2909 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2911 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2912 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2913 This makes gtk-doc complain, but results in slightly better
2914 compiler errors. The old _gst_plugin_register_static() is
2915 still guarded, so there'll be a compiler warning about that
2916 instead. Fixes #510187 too.
2918 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2920 * gst/gst.c: (init_post):
2921 * gst/gstplugin.c: (_gst_plugin_register_static),
2922 (gst_plugin_register_static), (_gst_plugin_initialize):
2923 * gst/gstplugin.h: (GstPluginFilter):
2924 Change API of gst_plugin_register_static() to not take
2925 a GstPluginDesc, but rather just take all the arguments
2926 in a GstPluginDesc directly. This is more intuitive and
2927 avoids certain mistakes when porting code from
2928 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2931 * tests/check/gst/gstplugin.c:
2932 Fix up for changed API.
2934 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2936 * docs/faq/legal.xml:
2937 Update FAQ, Totem actually has an exception these days.
2939 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2941 * win32/common/libgstreamer.def:
2942 Add new API declarations
2944 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2946 * gst/gstminiobject.c:
2947 Spelling fixes for the API docs.
2949 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2951 * libs/gst/base/gstbasetransform.c:
2952 Fix long property description for QoS.
2954 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2957 _gst_trace_on is already provided by gsttrace.h, no need to declare
2960 * docs/libs/gstreamer-libs-sections.txt:
2961 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2962 and remove strange tcase_add_test which is outputting a warning.
2964 * libs/gst/check/gstcheck.c:
2965 * libs/gst/check/gstcheck.h:
2966 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2967 and define them in gstcheck.c instead of having every .c file whcih
2968 includes gstcheck.h be defining its own copy and relying on symbol
2969 interposing to marry them all, which doesn't work on Solaris.
2971 * tests/check/elements/identity.c: (GST_START_TEST):
2972 Don't define 'buffers' locally, it comes from libgstcheck.
2974 * tests/check/generic/sinks.c: (send_buffer):
2975 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2977 * tests/check/gst/gststructure.c: (GST_START_TEST):
2978 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2979 * tests/check/gst/gstutils.c: (GST_START_TEST):
2980 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2981 Add a bunch of casts to make various constants fit the types
2982 they're being assigned to.
2984 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2986 * gst/gstchildproxy.c:
2987 Improve docs and add some ideas for making this more general-purpose.
2989 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2991 * gst/gst_private.h: (GST_CAT_TYPES):
2992 Add GST_CAT_TYPES, for consistency, and so that the other
2993 debug categories don't make fun of it. Spotted by Saur on IRC.
2995 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2997 * gst/parse/Makefile.am:
2998 Move types.h from EXTRA_DIST to noinst_HEADERS.
3000 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3003 Add -Wno-portability to the automake parameters to stop warnings
3004 about GNU make extensions being used. We require GNU make in almost
3005 every Makefile anyway.
3008 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3009 at the same time is required for per target flags.
3011 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3014 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3015 __GNUC__ is defined before using it.
3017 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3019 * docs/gst/gstreamer-sections.txt:
3020 * gst/gst.c: (init_post):
3021 * gst/gstplugin.c: (_gst_plugin_register_static),
3022 (gst_plugin_register_static), (_gst_plugin_initialize),
3023 (gst_plugin_register_func):
3024 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3025 API: add gst_plugin_register_static() and deprecate
3026 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3028 Also, in _gst_plugin_register_static(), make sure to call
3029 g_thread_init() before calling GLib functions such as
3030 g_list_append() if we're not initialised yet, since that
3031 may lead to random crashes with older GSlice/GLib versions.
3033 * tests/check/gst/gstplugin.c:
3034 Adapt unit test to above changes.
3036 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3038 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3039 * gst/gstcaps.c: (gst_caps_to_string):
3040 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3041 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3042 Yet another gratuitous GString micro-optimisation: add a (private)
3043 function that serialises a structure appending to an existing
3044 GString, so that when we serialise caps we don't need to alloc+free
3045 a throwaway GString for each structure (each of which also entailing
3046 multiple reallocs on the way); also use g_string_sized_new() in
3047 various places with an approximate string length to avoid reallocs
3048 within GString. See #500143.
3050 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3052 * gst/gststructure.c: (gst_structure_id_set_value):
3053 Always check UTF-8 conformance of structure strings and not only
3054 if the debugging system is enabled; reasoning: the behaviour of
3055 the actual code shouldn't really change depending on whether the
3056 debugging system is enabled or not (#508291).
3058 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3061 Remove old coverage target in favour of "make lcov".
3063 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3065 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3066 (gst_base_src_loop):
3067 The start segment for reverse playback goes from start to last_stop.
3069 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3071 Patch by: Peter Kjellerstedt <pkj axis com>
3074 Cast the results from the timeval/spec_to_time macros to what the
3075 docs say it casts to, a GstClockTime. fixes #508175.
3077 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3080 Update some comments.
3082 * tools/gst-inspect.c: (print_element_properties_info):
3083 Improve printing of flags.
3085 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3087 * libs/gst/base/gstbasetransform.c:
3088 (gst_base_transform_transform_size):
3089 Print element name with g_warning() if there's a problem
3092 2008-01-07 David Schleef <ds@schleef.org>
3094 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3096 * libs/gst/controller/gstcontroller.h:
3097 * libs/gst/controller/gstcontrolsource.h:
3098 * libs/gst/controller/gstinterpolationcontrolsource.h:
3099 * libs/gst/controller/gstlfocontrolsource.h:
3100 * libs/gst/dataprotocol/dataprotocol.h:
3101 Fix empty prototypes. Fixes bug #507957.
3103 2008-01-07 David Schleef <ds@schleef.org>
3105 * docs/faq/dependencies.xml: Fix typo.
3107 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3109 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3110 (gst_base_src_loop):
3111 Don't update the last_stop position in do_seek, that's the position we
3113 Read backwards when we have a negative rate.
3115 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3116 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3118 Add check for reverse reading.
3120 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3122 Patch by: Alexis Ballier <aballier at gentoo org>
3124 * tests/check/gst/gstabi.c:
3125 * tests/check/gst/struct_ppc64.h:
3126 * tests/check/libs/libsabi.c:
3127 * tests/check/libs/struct_ppc64.h:
3128 Decide which header to include based on the userland ABI target
3129 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3130 for 64-bit userland (#503590). Might need something similar for
3133 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3135 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3136 Log the reason why fopen fails in addition to the fact that it failed.
3138 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3140 * gst/parse/parse.l:
3141 Use "%option never-interactive" to prevent useless calls to isatty()
3142 on every input when parsing. Also use "%option noinput" to not define
3143 the static input/yyinput functions which we don't use anyway. This
3144 removes a compiler warning with gcc 4.3 and saves some bytes in the
3147 * gst/parse/lex._gst_parse_yy.pre.c:
3148 Regenerated for the above change.
3150 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3152 * gst/gstpad.c: (fixate_value):
3153 Don't crash when trying to fixate and empty list.
3156 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3158 * docs/faq/gst-uninstalled:
3159 Clarify the comments to make the usage of this script and what it
3160 does easier to understand.
3162 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3164 * tools/gst-plot-timeline.py:
3165 Add more options to gst-plot-timeline
3167 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3169 * docs/design/part-synchronisation.txt:
3170 Some more info on how the stream_time in GstBaseSink is done.
3172 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3174 * tests/check/generic/sinks.c: (gst_sinks_suite):
3175 Put back the tcase_set_timeout(), apparently it's needed after
3176 all; fix it up in a way that makes things work with valgrind too.
3178 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3180 * gst/gstdebugutils.c:
3181 Add warning when failed to open file for writing.
3183 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3185 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3187 * gst/gstvalue.c: (gst_value_is_fixed):
3188 Optimisation: bail out of the loop as early as possible (#500143).
3190 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3192 * gst/gstcaps.c: (gst_caps_to_string):
3193 * gst/gstinfo.c: (gst_debug_construct_term_color):
3194 * gst/gstparse.c: (gst_parse_launchv):
3195 * gst/gstutils.c: (gst_util_dump_mem):
3196 * gst/gstvalue.c: (gst_value_serialize_any_list),
3197 (gst_value_transform_any_list_string):
3198 Bunch of gratuitous nano-optimisations.
3200 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3202 * tests/check/generic/sinks.c: (async_done_func),
3203 (async_done_eos_func):
3204 Fix leak in unit test (bus sync handler must unref the message
3205 if it returns GST_BUS_DROP). Don't fiddle with the default test
3206 timeout, this is smaller than the current preconfigured value
3207 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3208 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3210 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3212 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3215 Check for stdio_ext.h for the filesink changes.
3217 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3218 (gst_file_sink_class_init), (gst_file_sink_init),
3219 (gst_file_sink_dispose), (gst_file_sink_set_property),
3220 (gst_file_sink_get_property), (gst_file_sink_open_file),
3221 (gst_file_sink_close_file):
3222 * plugins/elements/gstfilesink.h:
3223 Add two properties to control the buffering mode and size.
3224 API: GstFileSink::buffer-mode
3225 API: GstFileSink::buffer-size
3228 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3230 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3231 Add some more docs to explain why a FIXME was wrongly added.
3233 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3236 Fix typo in the gst_object_{ref,unref} documentation.
3238 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3240 * tests/check/libs/controller.c:
3241 * tests/check/libs/typefindhelper.c:
3242 * tests/check/pipelines/parse-launch.c:
3243 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3244 going to be deprecated (see #498924).
3246 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3248 * gst/gsttypefind.c: (gst_type_find_register):
3249 Make gst_type_find_register work for static typefind functions,
3250 ie. allow passing plugin == NULL (prerequisite for #498924).
3252 * gst/gstelementfactory.c: (gst_element_register):
3253 Small docs addition.
3255 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3257 * gst/gstpad.c: (gst_pad_dispose):
3258 Really unlink the peer pad instead of setting the peer pointer to NULL
3259 when we dispose the pad.
3260 This correctly calls the unlink functions and makes sure that the peer
3261 does not have a handle to invalid memory. See #504671.
3263 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3264 Add testsuite for above case.
3266 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3268 Patch by: Peter Kjellerstedt <pkj axis com>
3270 * libs/gst/check/gstcheck.h:
3271 Fix detection of the check version we're compiling against (would
3272 otherwise break if check goes v0.10.0); correctly report the
3273 name of the failed test again in case of failure, instead of
3274 just 'tf' (fixes #504499).
3276 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3278 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3279 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3280 (gst_base_src_loop), (gst_base_src_set_flushing),
3281 (gst_base_src_change_state):
3282 Allow sending EOS to the source to make it send out an EOS event from
3283 the streaming thread.
3284 Update docs and deprecate the old NULL/READY shutdown method.
3286 * tests/check/libs/basesrc.c: (GST_START_TEST),
3287 (gst_basesrc_suite):
3288 Add unit test for controlled shutdown.
3290 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3292 * docs/design/part-synchronisation.txt:
3295 * gst/gstsegment.c: (gst_segment_set_seek),
3296 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3297 (gst_segment_to_running_time):
3298 The seek format can be different from the segment format when the start
3299 and stop values are not to be updated, when we only do a rate change for
3302 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3303 (gst_segment_suite):
3304 Add a testcase for the rate-only seeks, checking that the format is
3305 correctly ignored when start and stop are not updated.
3307 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3309 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3311 * win32/vs8/grammar.vcproj:
3312 * win32/vs8/libgstcontroller.vcproj:
3313 * win32/vs8/libgstreamer.vcproj:
3314 Fix compilation with VS8 and include some missing files.
3316 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3319 Small docs addition: mention that the strings returned by
3320 gst_tag_list_get_string*() are in UTF-8 encoding.
3322 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3325 The check-exports stuff moved to common/win32.mak, so include that.
3327 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3329 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3330 (gst_base_src_perform_seek), (gst_base_src_get_range),
3331 (gst_base_src_set_playing), (gst_base_src_change_state):
3332 Make _wait_playing() not check any variables so that we can call this
3333 function from subclasses. Move the checks elsewhere similar to
3334 _wait_preroll() in basesink.
3336 Only signal the LIVE cond when we are going back to PLAYING.
3338 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3340 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3341 Use g_remove() and g_rename(). Check result of g_rename(), and
3342 don't leak the open file descriptor if we error out when writing.
3344 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3345 Must check the return value of close() after writing out the new
3346 registry file. Sometimes write problems such as out-of-diskspace
3347 are only reported when the file is closed and not already during
3348 the write. This may have caused partial/broken registry files in
3349 some rare circumstances. Should fix #503675.
3351 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3353 * docs/gst/.cvsignore:
3354 * docs/libs/.cvsignore:
3355 * docs/plugins/.cvsignore:
3356 Ignore files generated by new common/* modifications
3358 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3360 * win32/common/libgstbase.def:
3361 Yes, you can also have a <TAB> if you want.
3363 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3365 * win32/common/libgstbase.def:
3366 Add new basetransform API to win export file.
3368 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3370 * tests/check/gst/gstbin.c:
3371 Adjust the test to the refcount change two days ago.
3373 2007-12-14 David Schleef <ds@schleef.org>
3375 * docs/faq/getting.xml: Fix typo.
3377 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3379 * docs/libs/gstreamer-libs-sections.txt:
3380 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3381 (gst_base_transform_prepare_output_buffer),
3382 (gst_base_transform_set_gap_aware):
3383 * libs/gst/base/gstbasetransform.h:
3384 API: Add gst_base_transform_set_gap_aware() to control whether
3385 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3386 get buffers with this flag at all. Fixes #503231.
3388 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3390 * libs/gst/base/gstbasesink.c:
3391 * libs/gst/base/gstbasesrc.c:
3392 * libs/gst/base/gstbasetransform.c:
3393 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3394 thread. Correct log message in gstbasesrc.c.
3396 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3398 * gst/gstutils.c: (element_find_unconnected_pad):
3399 Fix possible compiler warning (#503417).
3401 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3403 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3404 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3406 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3408 * tools/gst-inspect.c: (print_element_properties_info):
3409 Add support for GstFraction properties.
3411 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3414 Add check-exports target and run it as part of 'make check'
3415 (see #499140 and #493983).
3417 * gst/gst_private.h:
3418 * gst/gstelementfactory.h:
3419 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3420 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3421 (_priv_gst_in_valgrind):
3422 * gst/gstinfo.h: (GstLogFunction):
3423 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3424 (gst_type_find_register):
3425 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3426 (gst_type_find_factory_get_type):
3427 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3428 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3429 (gst_controller_new_valist), (gst_controller_new_list),
3430 (_gst_controller_dispose), (_gst_controller_class_init):
3431 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3432 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3433 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3434 (gst_object_get_controller), (gst_object_set_controller),
3435 (gst_object_suggest_next_sync), (gst_object_sync_values),
3436 (gst_object_set_control_source), (gst_object_get_control_source),
3437 (gst_object_get_value_arrays), (gst_object_get_value_array),
3438 (gst_object_get_control_rate), (gst_object_set_control_rate):
3439 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3440 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3441 Make some functions that should be static static; rename some
3442 private symbols so that they don't get exported; add some FIXME
3443 comments so we can move accidentally exported functions into
3444 our private section in 0.11.
3446 * win32/common/libgstreamer.def:
3447 Add gst_utils_get_timestamp().
3449 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3453 Add more missing "Since:" tags to docs.
3455 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3458 Add mising "Since:" to docs.
3460 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3463 Include "glib-compat-private.h" to fix the build on system with
3464 glib < 2.10. Fixes #503131.
3466 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3470 Actually its not PURE as it gets the time from elsewhere.
3472 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3474 * docs/gst/gstreamer-sections.txt:
3476 * gst/gstdebugutils.c:
3480 * libs/gst/base/gstbasesink.c:
3481 * tools/gst-launch.c:
3482 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3483 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3484 Thanks Tim for spotting.
3485 API: gst_util_get_timestamp
3487 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3490 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3492 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3494 * gst/gststructure.c: (gst_structure_validate_name),
3495 (gst_structure_new_valist), (gst_structure_parse_value),
3496 (gst_structure_from_string):
3497 Don't crash in _from_string() if the structure name is not valid
3498 (fixes #501560). Allow structure names to start with a number
3499 again (this apparently broke the ubuntu codec installer).
3501 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3503 Add unit test for the crash; update unit tests for new behaviour.
3505 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3508 Clarify gst_element_get_compatible_pad() documentation.
3511 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3513 * tests/check/Makefile.am:
3514 Don't forget to dist {gst,libs}/struct_hppa.h.
3516 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3518 * libs/gst/base/gstbasesink.c:
3519 Use new API to get elapsed time.
3521 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3523 * gst/gstdebugutils.c:
3525 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3527 * tools/gst-launch.c:
3528 Use new API to get elapsed time.
3530 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3532 * docs/gst/gstreamer-sections.txt:
3534 * gst/gstdebugutils.c:
3536 Rename new API + ChangeLog surgery to remove old name from last entry..
3538 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3540 * docs/gst/gstreamer-sections.txt:
3542 * gst/gstdebugutils.c:
3544 Now hide the different clock stuff behind a macro.
3546 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3549 * gst/gstdebugutils.c:
3551 Apply the posix-timer check from #361155. Conditionally use the posix
3552 timer for logging. This gives better timestamp precission, less
3553 overhead and no ntp jitter.
3555 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3557 * gst/gstminiobject.c: (gst_mini_object_get_type),
3558 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3559 (gst_mini_object_finalize), (gst_mini_object_copy),
3560 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3561 (gst_mini_object_replace), (param_mini_object_validate),
3562 (gst_param_spec_mini_object_get_type):
3563 Some cleanup and checking against invalid function parameters.
3565 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3567 * docs/gst/gstreamer-sections.txt:
3569 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3570 (gst_systemclock_suite):
3571 Start merging in the easy bits of #361155, the monotonic clock patch.
3572 This one adds a few handy macros with docs and a testsuite.
3574 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3576 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3577 Be a bit smarter when seeking, like, don't try to do a seek when it's
3578 not needed. This avoids errors when the file is not seekable.
3581 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3583 * docs/gst/gstreamer-docs.sgml:
3584 * docs/gst/gstreamer-sections.txt:
3585 * docs/gst/gstreamer.types.in:
3590 * plugins/elements/gstqueue.c:
3591 Due to popular request remove preset interface again. :-(.
3593 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3595 * tools/gst-inspect.c:
3596 Print 'default value' for enums and flags too.
3598 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3600 * docs/random/ensonic/profiling.txt:
3604 Fix typo and give better log output.
3606 * gst/gstdebugutils.c:
3607 * gst/gstdebugutils.h:
3608 More ideas, make graphs a bit smaller and fix param name in macro.
3610 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3613 Try harder to use the return value from fgets().
3615 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3618 For theses two fgets we handle the error below.
3620 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3622 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3623 Only send upstream events upstream. Fixes #498746.
3625 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3627 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3629 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3630 (gst_identity_init), (gst_identity_transform_ip),
3631 (gst_identity_set_property), (gst_identity_get_property):
3632 * plugins/elements/gstidentity.h:
3633 Add property to disable handoff signal emission. Fixes #498694.
3634 API: GstIdentity::signal-handoffs
3636 2007-11-21 Julien Moutte <julien@fluendo.com>
3638 * docs/faq/gst-uninstalled: Yet another missing library for the
3639 uninstalled script (fft)
3641 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3643 * docs/faq/developing.xml:
3644 Add a question about how to submit new translations.
3646 * docs/random/release:
3647 Update the contact email address for the Translation Project
3649 * plugins/elements/gstfdsrc.c:
3650 The parent_class for fdsrc is pushsrc, not GstElement.
3652 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3655 Plug a leak and fix saving.
3657 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3659 * docs/gst/gstreamer-sections.txt:
3660 Add new gst_preset__get_property_names() function to the docs
3663 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3667 Change _get_preset_names API to return a strv with copies. Add
3668 _get_property_names to allow implementations to filter and provide
3669 good default implementation.
3671 2007-11-20 Julien MOUTTE <julien@moutte.net>
3673 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3676 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3679 More cleanups, docs, and TODOs from comments that now slowly come in.
3681 2007-11-19 Julien MOUTTE <julien@moutte.net>
3683 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3686 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3689 Fix bogus warning and make the property type specific code more
3692 2007-11-19 Julien MOUTTE <julien@moutte.net>
3694 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3697 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3699 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3700 (gst_bin_add_func), (gst_bin_remove_func),
3701 (gst_bin_change_state_func), (gst_bin_continue_func):
3702 Change email, cleanups add some more debug and comments.
3703 Also set bus and clock on new elements when the pipeline was in error.
3705 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3708 * gst/gstdebugutils.c:
3709 Fix build with --disable-gst-debug. Fixes #497859.
3710 Spotted by Sameer Naik.
3712 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3715 Little documentation improvment.
3718 More TODO cleanups. Remove c++ comments.
3720 * libs/gst/controller/gstcontroller.c:
3721 Add TODO and use quark from static string.
3723 * tests/check/gst/gstmessage.c:
3724 * tests/check/gst/gststructure.c:
3725 Use quark from static string.
3727 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3730 Add some comments and TODOs.
3733 Add padding for future changes.
3735 * plugins/elements/gstqueue.c:
3736 Implement the iface.
3738 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3740 * docs/gst/gstreamer-docs.sgml:
3741 * docs/gst/gstreamer-sections.txt:
3742 * docs/gst/gstreamer.types.in:
3747 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3749 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3755 === release 0.10.15 ===
3757 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3760 releasing 0.10.15, "October"
3762 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3764 * win32/vs6/libgstreamer.dsp:
3765 Convert line endings back to DOS.
3767 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3769 * docs/design/draft-tagreading.txt:
3770 * docs/random/ensonic/profiling.txt:
3771 Update fast tagreading draft and performance profiling ideas.
3773 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3775 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3776 Don't hold the object lock when unreffing a buffer because it could
3777 cause a deadlock when the finalize function wants to grab the object
3778 lock too. Fixes #495133.
3780 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3782 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3783 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3784 Also accumulate time correctly when doing reverse playback. Fixes
3786 When converting to running and stream time, use default values for
3787 start/stop/time/accum when comparing different formats. Fixes #494245.
3789 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3790 Do running/stream time in TIME format.
3792 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3793 (gst_segment_suite):
3794 2 new unit tests for segment accumulation.
3796 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3798 * gst/gst.c: (init_pre):
3799 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3800 (_gst_debug_bin_to_dot_file):
3801 Move getenv() back into gst_init, so everyone can live happily
3802 ever after. Make sure the symbol isn't exported though.
3804 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3806 Patch by: Sebastien Moutte <sebastien moutte net>
3808 * win32/common/gstenumtypes.c:
3809 * win32/common/gstenumtypes.h:
3812 * win32/vs6/libgstreamer.dsp:
3813 Update vs6 project files (#494343).
3815 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3817 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3818 (gst_base_src_perform_seek), (gst_base_src_default_event),
3819 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3820 (gst_base_src_activate_pull):
3821 Unify flushing code, remove some old unlock code that is no longer used.
3822 Take the streaming lock when seeking to avoid races. Fixes #492729.
3823 Added some more comments.
3825 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3827 * gst/gst.c: (_gst_disable_segtrap):
3828 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3829 we can use gst_segtrap_is_enabled() there now that we have that API.
3830 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3831 to do the getenv here (and export the variable).
3833 * gst/gstdebugutils.c: (debug_dump_element),
3834 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3835 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3837 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3838 (gst_debug_log_default):
3839 Rename _gst_info_start_time to priv_gst_info_start_time so it
3840 doesn't get exported (was never in any header).
3842 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3843 (gst_plugin_loading_mutex):
3844 Make static mutex gst_plugin_loading_mutex really static (was never
3845 in any header), and use gst_segtrap_is_enabled() instead of
3846 _gst_disable_segtrap.
3848 * gst/gsttrace.c: (_gst_trace_default):
3849 Make local _gst_trace_default static (was never in any header).
3851 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3853 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3855 * win32/common/libgstbase.def:
3856 * win32/common/libgstcontroller.def:
3857 * win32/common/libgstdataprotocol.def:
3858 * win32/common/libgstnet.def:
3859 * win32/common/libgstreamer.def:
3860 Add more missing symbols, remove some duplicates, and sort
3861 as the 'sort' command sorts it (partially fixes #493983).
3863 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3865 * gst/gstelement.c: (gst_element_set_state_func):
3866 Only change the state cookie if a different state was set on the
3867 element. See #492729.
3869 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3872 Remove unused and uninitialised type variables that were still
3873 exported for some reason (they were never in any header files
3876 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3878 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3879 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3880 (gst_base_sink_event), (gst_base_sink_get_position_last),
3881 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3882 (gst_base_sink_change_state):
3883 Don't try to report a 0 position when we don't know, return -1 and FALSE
3884 instead. This mostly happens when we are prerolling.
3885 Make sure we can report the right position before we post the ASYNC_DONE
3886 message so that a message handler can query position without races.
3888 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3889 (async_done_handoff), (async_done_func), (send_buffer),
3890 (async_done_eos_func), (gst_sinks_suite):
3891 Add two tests for the above.
3893 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3896 Update with new email address.
3898 * docs/design/part-TODO.txt:
3899 Add some more info about future pad-block and negotiation changes.
3901 * docs/design/part-buffering.txt:
3902 Add some ideas about buffering reporting.
3904 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3906 * tests/check/gst/gstobject.c:
3907 Disable silly racy test that always fails on this combination of CPU
3910 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3912 Patch by: Murray Cumming <murrayc@murrayc.com>
3915 Corrected the registration of the parent-set and parent-unset
3916 signals: The parameter is a GstObject, not a GObject (#493134).
3918 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3920 * gst/gst_private.h:
3929 Move declaration of private _gst_foo_initialize() functions into
3930 our private header file where they should have been all along.
3932 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3934 * docs/plugins/gstreamer-plugins-sections.txt:
3935 * gst/gstdebugutils.h:
3937 * plugins/elements/gstqueue.c:
3938 gtk-doc fixes; trailing-comma-in-enum fix.
3940 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3942 * gst/gst.c: (gst_deinit):
3943 Clean up on deinit (not the external ones though, doesn't seem to be
3944 needed for some reason).
3946 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3948 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3949 Remove __declspec(dllimport) for MSVC that was copied over into core
3950 from a plugin, obviously without ever having been tested (note the
3951 single underscore in _declspec in the initial commit), and that doesn't
3952 really make sense. See #492077.
3954 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3956 * gst/gst.c: (init_post):
3957 * gst/gstevent.c: (_gst_event_initialize):
3958 * gst/gstquery.c: (_gst_query_initialize):
3959 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3960 g_type_class_ref() other types as well, see #349410 and #64764.
3962 * gst/gstbuffer.c: (_gst_buffer_initialize):
3963 * gst/gstmessage.c: (_gst_message_initialize):
3964 Simplify existing g_type_class_ref().
3966 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3968 * gst/gstformat.c: (_gst_format_initialize):
3969 g_type_class_ref() our GstFormat type to make sure we avoid the
3970 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3971 bug #64764. Should fix intermittent tee unit test failures (#474823).
3973 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3975 * tests/check/elements/tee.c: (test_num_buffers):
3976 Simplify, simplify, simplify - or not. Rewrite unit test
3977 not to use gst_parse_launch(); allow N sub-streams. Increasing
3978 the number of sub-streams seems to reproduce #474823 more easily.
3980 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3982 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3985 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3986 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3987 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3988 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3989 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3990 so use _pipe() directly (#492077).
3992 * win32/common/dirent.c: (_treaddir):
3993 Add a couple of casts to make it build without warnings with MSVC.
3995 * win32/common/libgstreamer.def:
3996 Add some more symbols that need to be exported.
3998 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4000 * tests/examples/metadata/read-metadata.c: (message_loop):
4001 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4002 arriving in a second or third tag message are added to
4003 the tag list as well.
4005 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4007 * libs/gst/base/gstbasesrc.c:
4008 Its "Since:" and not "@Since:". And remove an superflous cast.
4010 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4012 * docs/libs/gstreamer-libs-sections.txt:
4013 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4014 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4015 (gst_base_sink_get_property), (gst_base_sink_render_object),
4016 (gst_base_sink_preroll_object),
4017 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4018 (gst_base_sink_change_state):
4019 * libs/gst/base/gstbasesink.h:
4020 Add a new last-buffer property that contains the last buffer used in
4021 basesink for preroll or rendering. useful for making snapshots.
4022 API: gst_base_sink_get_last_buffer()
4023 API: GstBaseSink::last-buffer
4025 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4027 * docs/gst/running.xml:
4029 * gst/gstdebugutils.c:
4030 * gst/gstdebugutils.h:
4031 * tools/gst-launch.c:
4032 Improve bin graph dumping, by using the envvar to specify a path.
4033 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4035 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4037 * plugins/elements/gsttypefindelement.c:
4038 (gst_type_find_element_handle_event),
4039 (gst_type_find_element_activate):
4040 Post special error message if we can't determine the type of a stream
4043 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4045 * docs/gst/running.xml:
4046 * gst/gstdebugutils.c:
4047 Document new env-var. Add one log-line after dumpng a graph.
4049 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4052 Ugly hack to put the (recently removed and non-portable, apparently)
4053 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4054 GNU ld, because without that 'make check' fails miserably on my debian
4055 stable box. Someone with more knowledge of linker intricacies and
4056 portability issues than me fix this properly please.
4058 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4060 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4061 Reset last seen position after flushing so that we don't report the old
4064 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4066 * gst/gstelementfactory.c: (gst_element_register):
4068 Patch from Alessandro Decina adding get_type_full and
4069 get_protocols_full private vfuncs to the URIHandler interface
4070 to allow bindings to support creating URI handlers.
4071 Partially fixes: #339279
4072 API: GstURIHandlerInterface::get_type_full
4073 API: GstURIHandlerInterface::get_protocols_full
4075 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4077 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4078 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4079 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4080 Make it so that pads are considered linked until a buffer is pushed
4081 and discovered otherwise. This avoids problems with decodebin2 hanging
4082 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4085 Make sure we lock the multiqueue when updating the max-size properties.
4087 Fix a crash on Solaris in a debug statement in get_request_pad that
4088 passes a NULL string to GST_DEBUG.
4090 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4091 (run_output_order_test):
4092 Fix the test to allow the first buffer on not-linked pads to come out
4093 of sequence while multiqueue discovers that they are not-linked.
4095 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4098 * libs/gst/check/Makefile.am:
4099 Use a custom export symbol regex for libgstcheck, as it needs
4100 to export symbols that don't match the standard GStreamer gst_*
4101 pattern, and --export-dynamic is not portable (only works on
4104 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4105 (gst_check_setup_sink_pad):
4106 Make sure to pass a message parameter to the fail_* macros.
4108 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4109 Fix some compiler warnings.
4111 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4113 * tests/check/gst/gststructure.c: (test_to_string):
4114 Disable test that checks that white spaces are not allowed
4115 in structure names or field names, since we need to
4116 support that for now for backwards compatibility reasons.
4118 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4120 * docs/gst/gstreamer-sections.txt:
4123 API: add GST_TAG_ARTIST_SORTNAME
4124 API: add GST_TAG_ALBUM_SORTNAME
4125 API: add GST_TAG_TITLE_SORTNAME
4126 Add tag variants for sorting (#414539).
4128 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4130 * gst/gststructure.c:
4131 Also allow white space for names so we don't break
4132 backwards compatibility.
4134 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4136 * docs/design/part-TODO.txt:
4137 * docs/design/part-segments.txt:
4138 * docs/design/part-streams.txt:
4141 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4143 * docs/gst/gstreamer-sections.txt:
4144 Fixed documentation from my previous commit (added new API add
4145 gst_value_set_structure(), add gst_value_get_structure() and
4146 GST_VALUE_HOLDS_STRUCTURE).
4148 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4150 * gst/gstdebugutils.c:
4151 Reflow code to fix uninitialized variable warning.
4153 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4155 * gst/gstcaps.c: (gst_caps_to_string),
4156 (gst_caps_from_string_inplace):
4157 * gst/gststructure.c: (gst_structure_get_abbrs),
4158 (gst_structure_to_string), (gst_structure_from_string):
4159 * gst/gstvalue.c: (gst_value_set_structure),
4160 (gst_value_get_structure), (gst_value_serialize_structure),
4161 (gst_value_deserialize_structure), (_gst_value_initialize):
4163 * tests/check/gst/gststructure.c: (GST_START_TEST),
4164 (gst_structure_suite):
4165 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4166 Added GstStructure to gst_value_table and its related functions.
4167 Changed gst_structure_to_string to print ';' in the end.
4168 Changed gst_caps_to_string to not print ';' beteween its
4169 fields (structures) anymore and remove the lastes ';' from latest
4170 structure. Now it is possible to have nested structures.
4171 In addition, backward compatibilty is assured by accepting '\0' as
4172 end delimiter. Fixes: #487969.
4173 API: add gst_value_set_structure()
4174 API: add gst_value_get_structure()
4175 API: add GST_VALUE_HOLDS_STRUCTURE
4177 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4180 When no GSource callback has been set up, tell developer
4181 to use a function that actually exists.
4183 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4185 * docs/gst/gstreamer-sections.txt:
4189 * gst/gstdebugutils.c:
4190 * gst/gstdebugutils.h:
4193 * tools/gst-launch.c:
4194 Allow dumping pipelines as dot graphs. Fixes #456573.
4196 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4198 * gst/gststructure.c:
4199 Allow '+' as well, it can be part of media or mime types
4200 such as image/svg+xml.
4202 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4204 * docs/gst/gstreamer-sections.txt:
4207 API: add gst_bus_pop_filtered
4208 API: add gst_bus_timed_pop_filtered
4209 Two new functions for waiting for specific message types on the
4210 bus for a specified amount of time without iterating any main
4211 loops or main contexts.
4213 * tests/check/gst/gstbus.c:
4214 Some tests for the new functions.
4216 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4218 * docs/libs/gstreamer-libs-sections.txt:
4219 Make gtk-doc ignore stuff it should ignore.
4221 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4223 * libs/gst/check/gstcheck.c:
4224 * libs/gst/check/gstcheck.h:
4225 Allow runtime selection of unit tests to run via the GST_CHECKS
4226 environment variable (test case function names, comma-separated).
4228 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4230 * gst/gststructure.c:
4231 * tests/check/gst/gststructure.c:
4232 Revert serialisation change and constrain structure-names after
4233 consensus on irc. Update api documentation to reflect the change.
4235 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4237 * gst/gststructure.c:
4238 Improve serialization and fix tests.
4240 * tests/check/gst/gststructure.c:
4241 Add another test that covers why I actually did the previous structure
4244 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4246 * tools/gst-inspect.c: (print_element_info):
4247 Don't crash when inspecting an element.
4249 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4251 * tests/check/gst/gststructure.c:
4252 Add unit test for escaping of structure name when serialising
4253 and deserialising to/from strings.
4255 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4257 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4258 (gst_single_queue_new):
4259 * plugins/elements/gstqueue.c: (gst_queue_init),
4260 (gst_queue_push_one):
4261 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4262 upstream is tricked into thinking it can suggest a format downstream
4263 while downstream does not support that format. The real problem is that
4264 core calls acceptcaps when pushing a buffer with new caps, for which we
4265 do a little workaround by setting the caps on the srcpad ourselves
4266 before pushing the buffer (until this is figured out). Fixes #486758.
4268 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4270 * gst/gststructure.c:
4272 Add some more comments and debug output. Quote structure name to fix
4273 deserialisation of some strings.
4275 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4278 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4279 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4281 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4283 * tools/gst-inspect.c:
4284 Save approx. 400 1 byte allocs when printing. Use API to acces element
4290 * tools/gst-xmlinspect.c:
4291 Use API to acces element details.
4293 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4296 Fix some spelling errors.
4298 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4300 * gst/gstbin.c: (bin_handle_async_done):
4301 Correctly set the next state if all of our async children commited their
4302 state. This makes sure we can actually cancel the state change in
4303 progress. Fixes a regression in Rhythmbox when seeking.
4305 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4308 Don't shadow local variable.
4311 Don't shadow global function name.
4313 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4315 * gst/gstelementfactory.c:
4316 * gst/gstpluginfeature.c:
4317 * gst/gstpluginfeature.h:
4318 * gst/gstregistrybinary.c:
4319 * gst/gstregistryxml.c:
4320 * gst/gsttypefind.c:
4321 Use already-interned string for the private GstPluginFeature
4324 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4326 * docs/libs/gstreamer-libs-sections.txt:
4327 Add new API to docs; fixes the build.
4329 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4331 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4333 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4334 (gst_base_sink_event):
4335 * libs/gst/base/gstbasesink.h:
4336 Add function to wait for EOS, subclasses can use this to correctly wait
4337 for devices to drain before performing the EOS logic. Fixes #485343.
4338 API: gst_base_sink_wait_eos()
4340 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4343 Cast description string constants in GST_PLUGIN_DEFINE macros
4344 to a (gchar*) to make C++ code using these macros compile
4345 without warning with g++-4.2 (see #462737). Even if slightly
4346 ugly, this seems preferable to putting the description strings
4347 into the GLib quark table or making the structure member a
4348 const gchar * and doing casts in core code that allocs and
4349 frees these strings, or requiring a cast in the C++ code.
4351 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4354 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4355 to print the entire class/function signature into the log
4356 file for C++ code. This only affects C++ code, for C code
4357 everything remains the same.
4359 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4361 * gst/gstbin.c: (remove_from_queue):
4362 Work around a problem with pipelines containing (semi)loops until a
4363 proper, more complicated solution is ready. See #475455.
4365 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4369 * gst/gstregistrybinary.c:
4370 * gst/gstregistryxml.c:
4371 Put more strings into the GLib quark table. No need to keep
4372 a hundred-something copies of identical version strings,
4373 license strings, package name strings and package origin
4376 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4378 * docs/manual/advanced-dataaccess.xml:
4379 Don't imply that it's okay to unconditionally change
4380 buffer data or buffer metadata in a pad probe callback,
4381 and a bunch of other comments. Fixes #430031.
4383 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4385 * win32/common/gstenumtypes.c:
4386 * win32/common/gstenumtypes.h:
4387 * win32/common/gstversion.h:
4388 Update generated files.
4390 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4392 * docs/manual/advanced-autoplugging.xml:
4393 Prefix section with broken code with a warning (see #342432).
4395 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4397 * docs/manual/appendix-integration.xml:
4398 * docs/manual/basics-init.xml:
4399 Call g_thread_init() before g_option_context_new() to
4400 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4402 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4404 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4405 (gst_base_sink_queue_object_unlocked),
4406 (gst_base_sink_queue_object), (gst_base_sink_event),
4407 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4408 When we received EOS and are waiting for when to post the EOS message,
4409 our state is prerolled and we should not return ASYNC.
4410 Reorganize some code paths to implement this behavior.
4412 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4414 Add unit test to verify above EOS fix.
4416 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4418 * plugins/elements/gsttypefindelement.c:
4419 (gst_type_find_element_have_type), (gst_type_find_element_init),
4420 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4421 Move detecting the input caps of the sinkpad to the setcaps function.
4422 This allows us to update the output caps when we receive new input caps
4423 instead of always using the first detected caps.
4425 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4427 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4428 (gst_base_sink_get_position):
4429 Don't try to preroll non-async elements after a flush.
4430 Subtract latency form clock times when reporting position.
4432 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4434 * gst/gstpad.c: (gst_pad_pause_task):
4436 Small comment and documentation update.
4438 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4440 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4441 (gst_base_src_set_live), (gst_base_src_is_live),
4442 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4443 (gst_base_src_default_event), (gst_base_src_wait),
4444 (gst_base_src_do_sync), (gst_base_src_get_range),
4445 (gst_base_src_pad_get_range), (gst_base_src_loop),
4446 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4447 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4448 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4449 (gst_base_src_change_state):
4450 Rework the locking of basesrc in a similar fashion to basesink. We
4451 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4452 us to handle live sources and semi live ones much better.
4454 Fix unlocking when seeking, shutting down and pausing in live sources.
4456 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4458 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4459 Fix compilation again.
4461 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4464 Use meaningful categories for the logs to clean the default one.
4466 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4468 * tests/check/pipelines/cleanup.c:
4469 Print message name and not just number.
4471 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4473 * docs/design/draft-tagreading.txt:
4474 Add some more thoughts.
4476 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4478 * tests/check/pipelines/simple-launch-lines.c:
4479 Print message name and not just number.
4481 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4483 * libs/gst/base/gsttypefindhelper.c:
4484 Speedup typefinding. This is work in progress (see #459862).
4486 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4489 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4490 Spotted by Josep Torra Valles <josep@fluendo.com>.
4492 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4495 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4496 field has moved to GstObject.
4498 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4500 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4501 (gst_base_src_get_range), (gst_base_src_change_state):
4502 Call unlock for live sources so that they can't get stuck in _create and
4503 produce a buffer before they are set back to PLAYING.
4505 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4507 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4508 (gst_queue_locked_dequeue):
4509 Comment the segment-related code... in the PROPER function.
4510 See #482147 and my commit from yesterday.
4512 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4514 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4515 Also initialize the counter that calculates the first timestamp on a
4516 buffer correctly for non-live sources.
4518 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4520 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4521 Disable code that's breaking the current-time-level reporting.
4524 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4526 * docs/gst/gstreamer-sections.txt:
4527 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4528 as they shouldn't show up. Fixes the docs build.
4530 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4533 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4534 Define M_PI which is used in files which are including gstinfo.h.
4535 VS6 includes doesn't define it.
4536 * win32/common/libgstbase.def:
4537 * win32/common/libgstcontroller.def:
4538 * win32/common/libgstreamer.def:
4539 Add new exported functions and variables.
4540 * win32/vs6/libgstcontroller.dsp:
4541 * win32/vs6/libgstreamer.dsp:
4542 Update the list of files to build.
4544 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4546 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4548 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4549 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4550 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4551 Improve debugging. Fixes #480858.
4553 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4555 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4557 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4558 First patch of code cleanups, use the macros and right arguments in the
4559 macros to signal and lock the queue. See #480858.
4561 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4563 * gst/gstbus.c: (poll_func):
4564 Improve debugging when dealing with _poll().
4566 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4568 * gst/gstregistryxml.c:
4569 Fix memory leak I introduced a few days ago.
4571 2007-09-26 Michael Smith <msmith@fluendo.com>
4573 * gst/gstbuffer.c: (gst_buffer_finalize):
4574 Make it once again possible to free GstBuffers in the default
4576 The poisoning scribbles on parts of the miniobject we need in
4580 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4582 * docs/gst/gstreamer-sections.txt:
4585 API: add GST_TAG_COMPOSER, fixes #459809.
4587 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4591 Add the 3-clause BSD license and the MIT/X11 license to the license
4592 list. Fixes #479784.
4594 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4596 * docs/faq/getting.xml:
4597 Add Q+A about different GStreamer versions (#364056).
4599 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4601 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4602 (gst_base_sink_event), (gst_base_sink_change_state):
4603 Return correct gboolean from query function.
4605 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4607 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4608 (gst_base_sink_event), (gst_base_sink_query),
4609 (gst_base_sink_change_state):
4610 Simplify latency query.
4611 When not synchronizing, we can report latency without querying the peer
4614 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4618 Fix small typos in the docs.
4620 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4622 * docs/design/draft-latency.txt:
4623 * docs/design/draft-push-pull.txt:
4624 * docs/design/draft-tagreading.txt:
4625 * docs/design/part-MT-refcounting.txt:
4626 * docs/design/part-activation.txt:
4627 * docs/design/part-block.txt:
4628 * docs/design/part-element-source.txt:
4629 * docs/design/part-events.txt:
4630 * docs/design/part-gstbin.txt:
4631 * docs/design/part-gstelement.txt:
4632 * docs/design/part-gstobject.txt:
4633 * docs/design/part-gstpipeline.txt:
4634 * docs/design/part-messages.txt:
4635 * docs/design/part-preroll.txt:
4636 * docs/design/part-push-pull.txt:
4637 * docs/design/part-qos.txt:
4638 * docs/design/part-query.txt:
4639 * docs/design/part-scheduling.txt:
4640 * docs/design/part-seeking.txt:
4641 * docs/design/part-segments.txt:
4642 * docs/design/part-states.txt:
4643 Documentation updates and typo fixes.
4645 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4647 * plugins/elements/gstfakesink.c:
4648 Add some debug text to error message to indicate that
4649 we errored out on request.
4651 * tools/gst-launch.c:
4652 When the state change to PLAYING fails, check for an
4653 error message on the bus and print it.
4655 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4657 translated by: Jorge González González <aloriel@gmail.com>
4661 Added Spanish translation.
4663 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4665 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4666 Fix printf arguments.
4668 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4670 * tests/check/generic/states.c:
4671 Improved state change unit test.
4673 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4676 Move priv to the right place.
4678 * gst/gstsystemclock.c:
4679 Add FIXME: and improve log.
4681 * tests/check/Makefile.am:
4682 * tests/examples/manual/Makefile.am:
4683 Work with all types of registries.
4685 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4687 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4688 Don't unref the event after pushing it. Fixes #478401.
4690 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4693 * tests/examples/manual/.cvsignore:
4694 Ignore registries in any format.
4696 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4698 * gst/glib-compat-private.h:
4699 Add compatibility macro for g_intern_string() for
4700 GLib-2.8 (any reason we can't just bump the
4701 requirement to at least 2.10?)
4703 * gst/gstpadtemplate.h:
4704 * gst/gstelementfactory.c:
4705 * gst/gstregistryxml.c:
4706 * gst/gstregistrybinary.c:
4707 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4708 up the internal code accordingly. This shouldn't be a problem, since
4709 there is no reason external code could ever assume the string in such
4710 a structure is dynamically allocated unless it did that itself; the
4711 use of g_strdup() is private to element factories. The new code also
4712 saves some memory by putting pad template name strings into the GLib
4713 quark table instead of allocating them dynamically.
4714 Declaring this field constant fixes warnings with g++-4.2 when using
4715 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4717 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4719 * gst/gstelementfactory.c:
4720 Release static caps. Fixes #475723.
4722 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4726 Make some internal API take const gchar * instead of just
4727 gchar * to avoid compiler warnings with g++-4.2.2 when
4728 passing string constants (partially fixes #478092).
4730 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4732 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4733 A latency query fails when one of the sinks fail.
4735 * gst/gstelement.c: (gst_element_set_base_time):
4738 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4740 * gst/gstbin.c: (gst_bin_continue_func):
4741 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4742 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4743 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4745 Fix minor compilation warnings shown with Forte.
4747 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4749 * plugins/elements/gstqueue.c: (apply_buffer),
4750 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4751 Measure queue level based on the diff between head and tail timestamps
4752 even when pushing the first buffer.
4754 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4756 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4757 (gst_base_sink_event), (gst_base_sink_change_state):
4758 Sinks that don't preroll can always be queried for the latency.
4759 Don't post ASYNC start when we are not async.
4761 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4763 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4764 (gst_queue_handle_sink_event), (gst_queue_chain),
4765 (gst_queue_push_one), (gst_queue_handle_src_query),
4766 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4767 * plugins/elements/gstqueue.h:
4768 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4769 push more buffers but allow pushing of EOS and NEWSEGMENT.
4770 Add some more debug info here and there. Fixes #476514.
4772 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4774 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4775 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4776 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4777 (gst_base_sink_set_flushing), (gst_base_sink_query),
4778 (gst_base_sink_change_state):
4779 Latency query is allowed after we are prerolled. Introduce a new flag
4780 for this and stop abusing other variables.
4782 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4784 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4785 Push OOB events downstream when we get them in send_event. This allows
4786 the application to insert events in the pipeline.
4787 Add some more comments.
4789 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4791 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4792 (do_bin_latency), (gst_bin_change_state_func):
4793 * gst/gstpipeline.c: (gst_pipeline_change_state):
4794 Move latency query from GstPipeline to GstBin so that we can also
4795 use it when async-handling is enabled on bins.
4797 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4799 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4800 (gst_base_src_do_sync), (gst_base_src_change_state):
4802 Clean up the timestamping and syncing code for pseudo live sources.
4804 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4806 Patch by: Steve Fink <sphink gmail com>
4808 * docs/manual/appendix-checklist.xml:
4809 Mention less -R switch in the section about debug output (#474055).
4811 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4813 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4814 Queue can latency to the pipeline up to the configured max size in time.
4815 Report this fact in the latency query.
4817 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4819 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4821 * libs/gst/controller/gstinterpolation.c:
4822 * libs/gst/controller/gstlfocontrolsource.c:
4823 Use gst_guint64_to_gdouble() when converting from a uint64 or
4824 GstClockTime to double to fix the build on win32. Fixes #474371.
4826 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4828 * gst/gstbuffer.c: (gst_buffer_finalize):
4829 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4830 When finalizing a buffer the complete struct is filled with 0xff,
4831 thus making a use of the buffer after the final unref impossible.
4833 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4835 * tests/check/libs/controller.c: (GST_START_TEST):
4836 Use fail_unless_equals_int(a, b) instead of
4837 fail_unless_equals (a == b) to get better output on failures.
4839 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4841 * tests/check/gst/gsturi.c:
4842 Also check for the other file URI variant on win32.
4844 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4846 * gst/gsturi.c: (gst_uri_get_location):
4847 If there's no hostname, we want to return 'c:/foo/bar.txt'
4848 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4850 * tests/check/gst/gsturi.c:
4851 Unit test for the above and a few more things.
4853 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4855 * docs/design/part-live-source.txt:
4856 Add docs on how live sources should timestamp.
4858 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4859 Add some more debug info.
4860 For subclasses that are live and like to sync, add aditional startup
4861 latency to sync time and timestamps so that we timstamp according to the
4864 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4867 Also do a g_type_class_ref() for the subbuffer type in
4870 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4872 * docs/gst/gstreamer-sections.txt:
4873 * gst/gstpad.c: (gst_pad_peer_query):
4875 Add function to perform a query on the peer of a pad.
4876 API: gst_pad_peer_query()
4878 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4880 * tests/check/gst/gstsystemclock.c:
4881 Cleanup the test a little (use gst-logging and not g_message). Improve
4882 test to check if a wait reached the target.
4884 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4886 * docs/libs/gstreamer-libs-sections.txt:
4887 Add new API to docs and fix the build.
4889 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4891 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4892 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4893 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4894 (gst_base_src_get_property), (gst_base_src_do_sync):
4895 * libs/gst/base/gstbasesrc.h:
4896 Add property to make the basesrc timestamp buffers based on the current
4898 API: GstBaseSrc::do-timestamp
4899 API: gst_base_src_set_do_timestamp()
4900 API: gst_base_src_get_do_timestamp()
4902 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4904 * docs/random/release:
4905 Really make sure translations are up-to-date before
4906 a release (#465010).
4908 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4910 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4911 Always destroy the timer, also in error cases.
4913 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4915 * docs/manual/highlevel-xml.xml:
4916 Fix XML example code. Fixes #472714.
4918 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4920 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4921 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4922 (gst_base_sink_query):
4923 Protect eos and have_preroll with the OBJECT lock so we don't need to
4924 take the PREROLL lock when querying the latency. Fixes #473846.
4926 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4929 Give some log-messages a category.
4931 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4933 * gst/gststructure.c:
4934 (gst_structure_fixate_field_nearest_fraction):
4935 Fix fraction list fixation code. Take the fraction with the smallest
4936 difference with the target instead of the first one in the list.
4938 * tests/check/gst/gststructure.c: (GST_START_TEST),
4939 (gst_structure_suite):
4940 Added test to verify correct fraction list fixation behaviour.
4942 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4944 * win32/common/libgstreamer.def:
4945 Export gst_bus_add_signal_watch too.
4947 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4949 * docs/libs/gstreamer-libs-sections.txt:
4950 Add new methods to docs.
4952 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4953 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4954 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4955 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4956 * libs/gst/base/gstbasesink.h:
4957 Add ts-offset property to fine-tune the synchronisation.
4958 API: GstBaseSink::ts-offset property
4959 API: gst_base_sink_set_ts_offset()
4960 API: gst_base_sink_get_ts_offset()
4962 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4964 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4965 (gst_base_sink_init), (gst_base_sink_set_sync),
4966 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4967 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4968 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4969 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4970 (gst_base_sink_get_property), (gst_base_sink_change_state):
4971 * libs/gst/base/gstbasesink.h:
4972 Add async property to instruct the sink never to inform the parent about
4973 ASYNC state changes, update docs.
4974 Check argument with g_return_* for the public functions.
4975 API: GstBaseSink::async property
4976 API: gst_base_sink_set_async_enabled()
4977 API: gst_base_sink_is_async_enabled()
4979 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4981 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4984 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4985 (gst_base_src_default_query), (gst_base_src_wait),
4986 (gst_base_src_do_sync), (gst_base_src_change_state):
4987 Rearrange some code so that we can add support for measuring the
4990 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4992 * docs/random/ensonic/dynlink.txt:
4993 More thoughs on this.
4995 * plugins/elements/gstcapsfilter.c:
4996 Add bugzilla ticket number to FIXME comment.
4998 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5000 * docs/design/part-TODO.txt:
5001 * docs/design/part-block.txt:
5004 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5007 Revert patch which uses $(gst_headers) instead of $^ because it
5010 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5012 * tests/check/gst/gstbin.c: (GST_START_TEST):
5013 Fix leaks in the new unit test.
5015 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5018 Don't use GST_INFO before the debug system is actually initialised
5019 (shouldn't do any harm, but won't print anything either, so we can
5020 just as well remove it).
5023 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5024 compilers that don't support variadic macros (such as MSVC), should
5025 check for debug_level <= __gst_debug_min as well, since that's the
5026 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5027 inline helper functions. Should improve performance a bit, but also
5028 makes sure uses of GST_INFO et.al are ignored if the debugging
5029 system isn't initialised yet (instead of printing an assertion
5032 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5034 patch by: David Nečas <yeti@physics.muni.cz>
5037 Replace some non portable makefile constructs.
5039 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5041 * common/gtk-doc-plugins.mak:
5042 Grrrrr. Don't remove the types file on make clean.
5044 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5046 * tools/gst-launch.1.in:
5047 Add colorspace to example pipeline. Fixes #458274.
5049 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5051 * docs/random/release:
5052 The release manager should run 'make download-po' before making a
5053 release to make sure translations are up-to-date.
5059 Add some new translations.
5061 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5063 * tools/gst-launch.c: (event_loop), (main):
5064 Don´t try to do any state management when a live pipeline posts
5066 Also make the buffering string translatable.
5068 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5070 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5071 (bin_handle_async_start), (gst_bin_handle_message_func):
5073 When adding elements, insert messages into the bus of the newly added
5074 element and make sure the element is the source of the message. This
5075 allows the parent bin to intercept the message and do the
5076 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5077 messages to the app (which is not allowed).
5080 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5081 Fix testsuite so that is does not work around messages that should not
5082 have been posted in the first place.
5084 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5086 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5087 (update_degree), (gst_bin_sort_iterator_next):
5088 Fix annoying bug in the sorted iterator where a sink that is not really
5089 a sink (when it has downstream links) screwed up the iterator.
5091 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5092 Unit test to verify the fix.
5094 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5097 Add some more docs for the messages.
5099 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5100 (gst_base_sink_query):
5101 Add some more debugging.
5103 * tools/gst-launch.c: (event_loop):
5104 When interrupting, don't try to set pipeline to PAUSED twice.
5106 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5109 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5110 (bin_handle_async_start), (gst_bin_handle_message_func):
5111 Move ASYNC_START message posting to where it belongs, similar to
5113 Don't post ASYNC_START when we are in error.
5114 Post ASYNC_START when we added an async element to a bin.
5116 2007-08-14 Julien MOUTTE <julien@moutte.net>
5118 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5119 generation from vargs. Fixes #466595.
5121 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5123 * gst/gstbin.c: (gst_bin_element_set_state):
5124 Always change the state of a NO_PREROLL element even if it has ASYNC
5125 elements inside (in case of a bin).
5127 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5128 Unit test for this case.
5130 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5132 * libs/gst/check/gstbufferstraw.c:
5133 * libs/gst/check/gstcheck.h:
5134 * libs/gst/controller/gstcontroller.c:
5135 * libs/gst/controller/gstcontrolsource.h:
5136 * libs/gst/controller/gstlfocontrolsource.h:
5137 * plugins/elements/gstcapsfilter.h:
5138 * plugins/elements/gstfdsink.h:
5139 * plugins/elements/gstfdsrc.h:
5140 Add more missing docs.
5142 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5144 * gst/gststructure.c:
5145 Add Since tag to docs.
5147 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5149 * docs/gst/gstreamer-sections.txt:
5150 * gst/gststructure.c: (gst_structure_get_uint):
5151 * gst/gststructure.h:
5152 Add function to get uint from a structure.
5153 API: gst_structure_get_uint()
5155 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5157 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5158 (gst_caps_intersect):
5159 Fix proper check for simple caps.
5161 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5163 * docs/gst/Makefile.am:
5164 * docs/libs/Makefile.am:
5165 Remove cruft and do some cleanups.
5167 * docs/gst/gstreamer-docs.sgml:
5168 * docs/libs/gstreamer-libs-docs.sgml:
5169 Prepare for comming gtkdoc features (rebase against online docs).
5171 2007-08-10 Michael Smith <msmith@fluendo.com>
5173 * docs/gst/gstreamer-sections.txt:
5174 Add gst_registry_add_path to docs.
5176 2007-08-10 Michael Smith <msmith@fluendo.com>
5178 * gst/gstregistry.h:
5179 Add gst_registry_add_path, which was missing from this header.
5181 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5183 * libs/gst/controller/gstlfocontrolsource.c:
5186 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5188 * libs/gst/base/gstbasesink.c:
5189 Don't send an async_start message during downwards state change if
5190 target state is less than READY
5192 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5194 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5198 Added Hungarian translation.
5200 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5207 Updated translations.
5209 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5211 * libs/gst/controller/Makefile.am:
5212 Dist gstlfocontrolsourceprivate.h
5214 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5216 * docs/libs/gstreamer-libs.types:
5217 Don't register the enum type gst_lfo_waveform_get_type() in the
5218 .types file - only GObject derived types belong.
5220 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5222 Patch by: <arenevier at fdn dot fr>
5225 Remove comma from last element in enum to avoid compile errors when
5226 using -pendantic. Fixes #464366.
5228 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5230 * docs/design/part-TODO.txt:
5231 Add some more TODO items
5233 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5236 * gst/gstcaps.c: (gst_caps_intersect):
5237 Optimize trivial intersection case between identical caps pointers.
5239 * gst/gstelement.c: (gst_element_continue_state),
5240 (gst_element_set_state_func):
5242 Fix spelling and grammar mistakes.
5244 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5248 Update POTFILES. Fixes #461599.
5250 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5253 Fix confusing typo in debug output.
5255 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5257 reviewed by: Stefan Kost <ensonic@users.sf.net>
5259 * libs/gst/controller/Makefile.am:
5260 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5261 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5262 (gst_lfo_control_source_new),
5263 (gst_lfo_control_source_set_waveform),
5264 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5265 (gst_lfo_control_source_finalize),
5266 (gst_lfo_control_source_dispose),
5267 (gst_lfo_control_source_set_property),
5268 (gst_lfo_control_source_get_property),
5269 (gst_lfo_control_source_class_init):
5270 * libs/gst/controller/gstlfocontrolsource.h:
5271 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5272 API: Add GstLFOControlSource, a control source that gives values
5273 for specific timestamps based on several periodic waveforms.
5276 * tests/check/libs/controller.c: (GST_START_TEST),
5277 (gst_controller_suite):
5278 * docs/libs/gstreamer-libs-docs.sgml:
5279 * docs/libs/gstreamer-libs-sections.txt:
5280 * docs/libs/gstreamer-libs.types:
5281 Add documentation and unit tests for GstLFOControlSource.
5283 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5288 === release 0.10.14 ===
5290 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5293 releasing 0.10.14, "Breathing Vacuum"
5295 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5297 * gst/gstelement.c: (gst_element_class_set_details_simple):
5299 Make strings passed to gst_element_class_set_details_simple()
5300 constant, as they should be (#462752).
5302 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5304 * gst/gstbin.c: (gst_bin_change_state_func),
5305 (bin_handle_async_done), (gst_bin_handle_message_func):
5306 Don't forget about the fact that some element went ASYNC even after a
5307 resync. This makes us post the ASYNC_DONE message correctly.
5310 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5312 * gst/gstregistry.c: (gst_registry_add_feature):
5313 When replacing an existing feature in the registry, make sure to
5314 continue holding a reference until we've replaced the name string
5315 within our feature hash table. Make sure to use g_hash_table_replace
5316 instead of g_hash_table_insert to ensure the new name string is used
5317 as a key instead of the old one that we're about to free.
5320 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5322 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5323 (gst_plugin_feature_set_name):
5324 Revert patch from #459466 until after the release and we can work
5325 out exactly what the problem is (if any).
5327 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5329 * docs/gst/gstreamer-sections.txt:
5332 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5334 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5336 * docs/libs/Makefile.am:
5337 Include our build-prefix libs and includes before the generic ones to
5338 avoid linking against the installed libs when we want the build-tree
5341 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5343 Patch by: Steve Fink <sphink gmail com>
5345 * docs/pwg/building-testapp.xml:
5346 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5347 if people try to build or install the example from the plugin
5348 template against a GStreamer from package using the configure
5351 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5353 Patch by: Steve Fink <sphink gmail com>
5355 * tools/gst-inspect.1.in:
5356 Document --print-all and --print-plugin-auto-install-info command
5357 line options in man page.
5359 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5361 * docs/gst/gstreamer-sections.txt:
5362 Add docs for new api function.
5364 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5366 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5367 * gst/gstelementfactory.h:
5368 API: gst_element_factory_has_interface()
5369 Added method to check if an element factory implements a named
5372 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5375 * docs/gst/gstreamer.types.in:
5376 Another conditional doc check.
5379 * gst/gstparamspecs.h:
5380 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5385 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5387 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5388 (gst_registry_binary_load_feature),
5389 (gst_registry_binary_load_plugin),
5390 (gst_registry_binary_read_cache):
5391 Print error just once and with additional info.
5393 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5395 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5396 (helper_find_suggest), (helper_find_get_length),
5397 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5398 (gst_type_find_helper_for_buffer):
5399 Cleanup the typefindhelper code and add private doc comments.
5401 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5403 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5404 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5405 Fix capsfilter for cases where the caps set on capsfilter will provide
5406 additional information.
5409 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5411 * gst/gsttypefindfactory.c:
5412 Fix docs that recommened wrong function to use.
5414 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5416 * tools/gst-inspect.c: (print_plugin_features):
5417 Also give media-type for typefinders in element output.
5419 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5421 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5422 (gst_registry_remove_features_for_plugin_unlocked),
5423 (gst_registry_add_feature), (gst_registry_remove_feature),
5424 (gst_registry_lookup_feature_locked):
5425 * gst/gstregistry.h:
5426 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5429 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5431 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5432 (gst_plugin_feature_set_name):
5433 Avoid double memory usage for pluginfeature names. Fixes #459466.
5435 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5438 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5439 driving the pipeline may need to explicitly check for NOT_LINKED as
5440 well, since IS_FATAL doesn't cover that.
5442 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5444 * docs/pwg/advanced-types.xml:
5445 Fix typo and duplicate entry in video formats list.
5447 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5449 * libs/gst/controller/gstinterpolation.c:
5450 Also round to the nearest int when using cubic interpolation.
5452 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5454 * libs/gst/controller/gstinterpolation.c:
5455 When linearly interpolating integer types, round to the nearest int
5456 by adding 0.5. Don't do it for float/double types.
5457 Fixes the failing controller test on my machine, which is somehow
5458 rounding differently than on the buildbots.
5460 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5462 * tools/gst-plot-timeline.py:
5463 Better log parsing (categories can have -). Adjust text vs. lines, so
5464 that they span the same y-range.
5466 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5468 * docs/random/ensonic/audiobaseclasses.txt:
5469 * docs/random/ensonic/dynlink.txt:
5470 * docs/random/ensonic/profiling.txt:
5473 * docs/random/moving-plugins:
5474 Add note to use g_assert type macros.
5476 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5479 * libs/gst/check/Makefile.am:
5480 Add libm check as we use in for plugins.
5482 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5484 * gst/gstbin.c: (gst_bin_continue_func):
5485 Check that the state_cookie hasn't changed since the continue_func
5486 was scheduled. Avoids problems where the state changes back to
5487 something it shouldn't be because it was changed in the meantime.
5489 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5491 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5492 (gst_registry_binary_save_string),
5493 (gst_registry_binary_save_pad_template),
5494 (gst_registry_binary_save_feature),
5495 (gst_registry_binary_save_plugin),
5496 (gst_registry_binary_load_feature),
5497 (gst_registry_binary_load_plugin),
5498 (gst_registry_binary_read_cache):
5499 Fix memory leak. Be less verbose in the log.
5501 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5503 * tests/check/elements/.cvsignore:
5504 Add file to cvsignore as commanded.
5506 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5508 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5509 (mq_dummypad_event), (run_output_order_test):
5510 Use a GStaticMutex to protect all cases where libcheck
5511 fail_if/fail_unless macros might be called from multiple threads
5512 simultaneously to avoid errors like:
5513 "check_pack.c:107: :-1081725400:Bad message type arg"
5515 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5517 * tests/check/pipelines/stress.c: (GST_START_TEST):
5518 Make sure we set the pipeline back to the NULL state before
5519 dropping our final reference.
5521 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5523 * tests/check/elements/tee.c: (GST_START_TEST):
5524 Make the tee stress-test a little less stressful so it doesn't just
5525 time out on slow-machines, and remove a small race when it's starting
5526 up by adding a get_state() call.
5528 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5531 Avoid reading registry twice on startup. Fixes #457322.
5533 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5535 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5536 * pkgconfig/gstreamer-check.pc.in:
5537 Substitute the CFLAGS for libcheck into our .pc file too so that
5538 dependent modules will pick it up properly if libcheck is installed
5539 into some other prefix.
5541 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5544 Revert the pkg-config check for libcheck, since it pulls in the
5545 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5546 a proper solution, either from the check project, or something else.
5548 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5551 Use pkg-config to locate check.
5553 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5560 Add deprecation guards.
5562 * libs/gst/base/gstcollectpads.h:
5563 Don't document object (this is implicitly private).
5565 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5567 * gst/gststructure.c: (gst_structure_parse_value):
5568 When deserialising foo=bar without a type cast, check if it's a
5569 boolean before falling back to a string type, otherwise things like
5570 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5571 because the filtercaps end up having a signed=(string)true field,
5572 which causes problems later when intersection caps.
5574 * tests/check/gst/gststructure.c: (GST_START_TEST):
5575 Add a unit test for this.
5577 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5579 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5581 * libs/gst/controller/Makefile.am:
5582 * libs/gst/controller/gstcontroller.c:
5583 (gst_controlled_property_add_interpolation_control_source),
5584 (gst_controlled_property_new), (gst_controlled_property_free),
5585 (gst_controller_find_controlled_property),
5586 (gst_controller_new_valist), (gst_controller_new_list),
5587 (gst_controller_new), (gst_controller_remove_properties_valist),
5588 (gst_controller_remove_properties_list),
5589 (gst_controller_remove_properties),
5590 (gst_controller_set_property_disabled),
5591 (gst_controller_set_disabled), (gst_controller_set_control_source),
5592 (gst_controller_get_control_source), (gst_controller_get),
5593 (gst_controller_sync_values), (gst_controller_get_value_array),
5594 (_gst_controller_dispose), (gst_controller_get_type),
5595 (gst_controlled_property_set_interpolation_mode),
5596 (gst_controller_set), (gst_controller_set_from_list),
5597 (gst_controller_unset), (gst_controller_unset_all),
5598 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5599 * libs/gst/controller/gstcontroller.h:
5600 * libs/gst/controller/gstcontrollerprivate.h:
5601 * libs/gst/controller/gstcontrolsource.c:
5602 (gst_control_source_class_init), (gst_control_source_init),
5603 (gst_control_source_get_value),
5604 (gst_control_source_get_value_array), (gst_control_source_bind):
5605 * libs/gst/controller/gstcontrolsource.h:
5606 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5607 (gst_object_get_control_source):
5608 * libs/gst/controller/gstinterpolation.c:
5609 (gst_interpolation_control_source_find_control_point_node),
5610 (gst_interpolation_control_source_get_first_value),
5611 (_interpolate_none_get), (interpolate_none_get),
5612 (interpolate_none_get_boolean_value_array),
5613 (interpolate_none_get_enum_value_array),
5614 (interpolate_none_get_string_value_array),
5615 (_interpolate_trigger_get), (interpolate_trigger_get),
5616 (interpolate_trigger_get_boolean_value_array),
5617 (interpolate_trigger_get_enum_value_array),
5618 (interpolate_trigger_get_string_value_array):
5619 * libs/gst/controller/gstinterpolationcontrolsource.c:
5620 (gst_control_point_free), (gst_interpolation_control_source_reset),
5621 (gst_interpolation_control_source_new),
5622 (gst_interpolation_control_source_set_interpolation_mode),
5623 (gst_interpolation_control_source_bind),
5624 (gst_control_point_compare), (gst_control_point_find),
5625 (gst_interpolation_control_source_set_internal),
5626 (gst_interpolation_control_source_set),
5627 (gst_interpolation_control_source_set_from_list),
5628 (gst_interpolation_control_source_unset),
5629 (gst_interpolation_control_source_unset_all),
5630 (gst_interpolation_control_source_get_all),
5631 (gst_interpolation_control_source_get_count),
5632 (gst_interpolation_control_source_init),
5633 (gst_interpolation_control_source_finalize),
5634 (gst_interpolation_control_source_dispose),
5635 (gst_interpolation_control_source_class_init):
5636 * libs/gst/controller/gstinterpolationcontrolsource.h:
5637 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5638 API: Refactor GstController into the core controller which can take
5639 a GstControlSource for providing actual values for timestamps.
5640 Implement a interpolation control source and use this for backward
5641 compatibility, deprecate a bunch of functions that are now handled
5642 by GstControlSource or GstInterpolationControlSource.
5643 Make it possible to disable the controller completely or only for
5644 specific properties. Fixes #450711.
5645 * docs/libs/gstreamer-libs-docs.sgml:
5646 * docs/libs/gstreamer-libs-sections.txt:
5647 * docs/libs/gstreamer-libs.types:
5648 Add new functions and classes to the docs.
5649 * tests/check/libs/controller.c: (GST_START_TEST),
5650 (gst_controller_suite):
5651 * tests/examples/controller/audio-example.c: (main):
5652 Port unit test and example to the new API and add some new
5655 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5657 Patch by: Mark Nauwelaerts <manauw at skynet be>
5659 * plugins/elements/gstmultiqueue.c:
5660 (gst_multi_queue_get_internal_links), (apply_buffer),
5661 (single_queue_overrun_cb), (gst_single_queue_new):
5662 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5663 the pipeline layout can be tracked correctly. Fixes #453732.
5665 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5667 * docs/gst/Makefile.am:
5668 * docs/libs/Makefile.am:
5669 * docs/plugins/Makefile.am:
5670 Simplify --extra-dir as gtkdoc scans recursively.
5672 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5674 * tools/gst-launch.c: (main):
5675 When we got an error, there is no point in waiting for preroll when
5678 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5680 * plugins/elements/gsttee.c: (gst_tee_base_init),
5681 (gst_tee_request_new_pad), (gst_tee_release_pad),
5682 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5683 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5685 Be a lot smarter when deciding what srcpad to use for proxying
5686 the buffer_alloc. Also handle pad added/removed when doing so.
5688 Keep track of what pads we already pushed on in case we have pads
5689 added/removed while pushing. Fixes #374639
5691 * tests/check/Makefile.am:
5692 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5694 Added unit test for pad resync.
5696 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5700 Updated translations.
5702 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5704 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5708 Added new Finnish translation.
5710 2007-06-28 Wim Taymans <wim@fluendo.com>
5712 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5713 (single_queue_overrun_cb):
5714 When figuring out when a queue is filled, use our internal time estimate
5715 based on segments, just like check_full does.
5717 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5719 * gst/gstminiobject.c: (gst_mini_object_get_type):
5720 Remove 3 do-nothing methods.
5722 2007-06-27 Wim Taymans <wim@fluendo.com>
5724 Patch by: Tim Angus <tim at ngus dot net>
5726 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5727 (gst_capsfilter_set_property):
5728 Take a reference instead of a copy when setting "caps".
5729 Fix documentation to clarify this behaviour. Fixes #449414.
5731 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5733 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5734 * gst/gstplugin.c: (gst_plugin_init):
5735 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5736 * gst/gstquery.c: (gst_query_get_type):
5737 * gst/gstregistry.c: (gst_registry_init):
5738 * gst/gsturi.c: (gst_uri_handler_base_init):
5739 Remove empty instance_init() functions to save relocs and lessen the
5740 noise. Remove some of the function prototypes that are doubled by
5743 2007-06-27 Wim Taymans <wim@fluendo.com>
5745 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5747 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5748 Add peer and direction in the XML serialisation of ghostpads.
5751 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5754 Preserve useful information, thanks Tim.
5756 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5758 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5759 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5760 (gst_single_queue_push_one), (gst_multi_queue_loop),
5761 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5762 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5763 (compute_high_id), (gst_single_queue_new):
5764 * plugins/elements/gstmultiqueue.h:
5765 Take the multiqueue lock when updating the fill level so we don't get
5768 After applying a buffer or event on the src pad segment, make sure to
5769 call gst_data_queue_limits_changed() to get the data queue to unblock
5770 and check the filled state again.
5772 Rework the not-linked pad handling so the logic is that not-linked
5773 pads can push as fast as they like, but only so they never get
5774 ahead of any linked pads.
5776 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5777 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5778 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5780 Add a test to check that not-linked pads always stay behind
5785 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5787 * docs/random/release:
5788 Some updates to the release procedure.
5790 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5792 * gst/gstelementfactory.c: (__gst_element_details_clear):
5793 Microoptimization that saves stunning 80 bytes.
5795 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5797 * docs/plugins/gstreamer-plugins.args:
5798 * docs/plugins/inspect/plugin-coreelements.xml:
5799 * docs/plugins/inspect/plugin-coreindexers.xml:
5800 Update docs with caps info.
5802 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5805 Updated Italian translation.
5807 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5811 Update Vietnamese translations.
5813 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5815 * libs/gst/base/gstbasesink.c:
5816 Remove unused signal enum.
5818 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5820 * docs/gst/gstreamer-sections.txt:
5822 * gst/gstutils.c: (gst_type_register_static_full):
5823 Beef up and include the docs for gst_type_register_static_full and
5824 gst_element_class_set_details_simple and add the API keyword
5827 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5829 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5830 (update_time_level), (gst_single_queue_push_one),
5831 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5832 (single_queue_overrun_cb), (single_queue_underrun_cb),
5833 (single_queue_check_full):
5834 Fix setting max-* properties after adding queues.
5835 Use IS_FILLED for checking visible items.
5836 Signal overrun if multiple queues overrun.
5837 Add extra debug output.
5838 Patch by: Wim Taymans <wim@fluendo.com>
5840 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5842 * gst/gstelement.c: (gst_element_class_set_details_simple):
5844 * gst/gstutils.c: (gst_type_register_static_full):
5846 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5847 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5848 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5849 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5850 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5851 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5852 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5853 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5854 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5855 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5856 (apply_buffer), (gst_queue_chain):
5857 * plugins/elements/gsttee.c: (gst_tee_base_init):
5858 * plugins/elements/gsttypefindelement.c:
5859 (gst_type_find_element_base_init),
5860 (gst_type_find_element_class_init):
5861 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5862 API: add gst_type_register_static_full
5863 API: add gst_element_class_set_details_simple
5865 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5867 * docs/pwg/advanced-types.xml:
5868 Fix typo in iana.org URI.
5870 2007-06-19 Andy Wingo <wingo@pobox.com>
5872 * tests/check/pipelines/simple-launch-lines.c
5873 (test_state_change_returns): Enable pull-mode tests now that
5874 basesink has been fixed.
5876 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5877 Changed from gst_base_sink_is_prerolled, reversing the sense of
5878 the return value. Returns FALSE also if the sink is in pull mode,
5879 in which case it needs no preroll.
5880 (gst_base_sink_query, gst_base_sink_change_state): Update for
5881 needs_preroll change.
5882 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5883 chaining up, in which we return SUCCESS directly if we activated
5884 in pull mode instead of ASYNC. Involves countering an async_start
5885 message sent before chaining up; not sure if this is correct, in
5886 an ideal world we only send async-start when activating in push
5889 * tests/check/pipelines/simple-launch-lines.c
5890 (test_state_change_returns): New test, partially disabled until
5893 2007-06-19 Wim Taymans <wim@fluendo.com>
5895 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5896 (gst_multi_queue_sink_event):
5899 2007-06-19 Wim Taymans <wim@fluendo.com>
5901 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5902 (gst_bin_change_state_func), (bin_push_state_continue),
5903 (bin_handle_async_start), (bin_handle_async_done),
5904 (gst_bin_handle_message_func):
5905 Move the common code for posting state-change messages into
5907 Broadcast the state signal after we posted the messages.
5908 Mark the bin as busy when it's doing a state-change.
5909 Make sure async-start/done messages don't interfere with the bin's
5910 state when it's busy.
5911 After the state change, let the bin check which elements completed the
5912 state change while it was busy so that it can update its state.
5914 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5916 * docs/random/release:
5917 Add a note about updating the doap file to the release checklist
5919 2007-06-18 Wim Taymans <wim@fluendo.com>
5921 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5922 (gst_single_queue_push_one), (gst_multi_queue_chain),
5923 (gst_multi_queue_sink_event):
5924 Make sure we don't reference the buffer/event after we have given away
5925 ownership in the queue.
5927 2007-06-18 Wim Taymans <wim@fluendo.com>
5929 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5930 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5931 Update queue state _after_ adding the item in the queue because else we
5932 could end up being full without the element added yet.
5934 2007-06-18 Wim Taymans <wim@fluendo.com>
5936 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5937 (gst_bin_remove_func), (gst_bin_get_state_func),
5938 (gst_bin_element_set_state), (gst_bin_continue_func),
5939 (bin_push_state_continue), (bin_handle_async_start),
5940 (bin_handle_async_done), (gst_bin_handle_message_func):
5942 Immediatly commit the toplevel bin state when receiving an async-done
5943 message. This enables us to avoid spawning a thread to commit the state
5944 in some common cases and it also avoids some races.
5945 Avoid spawning a state thread when adding/removing async elements to a
5946 toplevel bin. Instead we immediatly update the bin state.
5947 Get rid of iterating all the children when getting the state in the bin
5948 because it is now always up-to-date.
5949 Fix bug where locked elements would always return _SUCCESS even it they
5950 returned NO_PREROLL before being locked.
5951 Fix the order of the state_change, async-start/done messages that was
5952 sometimes incorrect.
5953 Mark the state_dirty field as deprecated, we don't need it anymore as we
5954 are always up-to-date.
5956 * gst/gstelement.c: (gst_element_get_state_func),
5957 (gst_element_continue_state):
5958 Small debug inprovements.
5959 Return the previous element state return when nothing is pending instead
5960 of blindly returning SUCCESS.
5962 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5964 Add a whole bunch of new testcases.
5966 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5970 Update translations.
5972 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5975 Fix typo in the docs.
5977 2007-06-15 Wim Taymans <wim@fluendo.com>
5979 * docs/libs/gstreamer-libs-sections.txt:
5980 Add docs for new methods.
5982 2007-06-15 Wim Taymans <wim@fluendo.com>
5984 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5985 (gst_multi_queue_item_new):
5986 Don't use GSlice because we don't depend on >= 2.10 yet.
5988 2007-06-15 Wim Taymans <wim@fluendo.com>
5990 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5991 (update_time_level), (apply_segment), (apply_buffer),
5992 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5993 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5994 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5995 (single_queue_underrun_cb), (single_queue_check_full):
5996 Remove debug printf.
5998 2007-06-15 Wim Taymans <wim@fluendo.com>
6000 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6001 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6002 (gst_data_queue_set_flushing), (gst_data_queue_push),
6003 (gst_data_queue_pop), (gst_data_queue_drop_head),
6004 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6005 * libs/gst/base/gstdataqueue.h:
6007 Added methods to get the current levels and to inform the queue that the
6008 'full' limits changed.
6010 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6011 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6012 (gst_single_queue_flush), (update_time_level), (apply_segment),
6013 (apply_buffer), (gst_single_queue_push_one),
6014 (gst_multi_queue_item_steal_object),
6015 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6016 (gst_multi_queue_loop), (gst_multi_queue_chain),
6017 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6018 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6019 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6020 (single_queue_underrun_cb), (single_queue_check_full),
6021 (gst_single_queue_new):
6022 Keep track of time in the queue by measuring the difference between
6023 running_time on input and output. This gives more accurate results and
6024 can compensate for segments correctly.
6025 Make a queue by default only 5 buffers deep. We will now increase the
6026 buffer size depending on the filledness of the other queues.
6027 Factor out commong flush code.
6028 Make sure we don't add additional refcounts to buffers when we can avoid
6030 Propagate GstFlowReturn differently.
6031 Use GSlice for intermediate GstMultiQueueItems.
6033 Resize queues on over and underruns based on filled level of other
6035 When checking if the queue is filled, prefer to measure in time if we
6036 can and fall back to bytes when no time is known.
6038 * plugins/elements/gstqueue.c:
6041 2007-06-15 Wim Taymans <wim@fluendo.com>
6043 * libs/gst/base/gstbasetransform.c:
6044 (gst_base_transform_sink_event):
6045 Work around the brokenness of the event vmethod in basetransform. Prefer
6046 to return TRUE when the subclass returned FALSE (meaning don't forward
6049 * libs/gst/base/gstbasetransform.h:
6052 2007-06-15 Wim Taymans <wim@fluendo.com>
6054 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6055 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6056 (gst_base_src_default_query), (gst_base_src_get_range),
6057 (gst_base_src_start):
6058 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6061 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6063 * docs/pwg/advanced-types.xml:
6064 Added more formats to caps table.
6066 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6068 * tools/gst-launch.c: (main):
6069 Remove crufy code. GOption does not need this workaround.
6071 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6073 * libs/gst/controller/gstcontroller.c:
6074 (gst_controlled_property_set_interpolation_mode):
6075 Fix wrong getter for enums in controller.
6077 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6079 * libs/gst/check/gstcheck.c: (gst_check_init):
6080 Intercept criticals and warnings in the Gst-Phonon log domain, so
6081 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6084 2007-06-14 Edward Hervey <edward@fluendo.com>
6086 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6087 Since this file doesn't include "gst.h" it will not go through the
6088 macros that disable GST_LOG if debugging was disabled.
6090 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6092 * libs/gst/check/Makefile.am:
6093 * libs/gst/check/gstcheck.h:
6094 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6095 * pkgconfig/gstreamer-check.pc.in:
6096 Ugly 'fix' for the controller unit test on the p5 bot: in
6097 fail_unless_equals_float() check whether the values are 'almost
6098 equal' by allowing a small absolute error, which should be good
6099 enough for our use cases (normal numbers and values close to 0).
6100 Proper fixage left to floating point arithmetic aficionados.
6102 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6104 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6105 (gst_base_sink_render_object), (gst_base_sink_get_position):
6106 Add two breaks thats where missing.
6108 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6110 * docs/libs/gstreamer-libs-sections.txt:
6111 * libs/gst/check/gstcheck.h:
6112 API: add fail_unless_equals_float() and assert_equals_float().
6113 Add documentation for some of the macros.
6115 * tests/check/libs/controller.c: (GST_START_TEST):
6116 Use newly-added asserts.
6118 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6120 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6121 Show the caps change in the log to help spotting the case of not
6122 exactly matching caps.
6124 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6126 * docs/pwg/building-boiler.xml:
6127 Fix typos, spotted by Thijs Vermeir (#447190).
6129 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6131 * docs/plugins/tmpl/.cvsignore:
6132 Ignore file to keep the buildbots happy
6134 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6136 * docs/plugins/Makefile.am:
6137 * docs/plugins/gstreamer-plugins-docs.sgml:
6138 * docs/plugins/gstreamer-plugins-sections.txt:
6139 Pull fdsink into the docs too.
6141 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6143 * libs/gst/controller/gstinterpolation.c:
6144 Actually use the new functions with min/max checks for the trigger and
6145 none interpolation modes for get() and get_value_array() instead of
6148 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6150 * libs/gst/controller/gstcontroller.c:
6151 (gst_controlled_property_free):
6152 Unset the minimum and maximum GValues when freeing the corresponding
6153 GstControllerProperty struct.
6155 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6157 * libs/gst/controller/gstcontroller.c:
6158 (gst_controlled_property_new):
6159 * libs/gst/controller/gstcontrollerprivate.h:
6160 * libs/gst/controller/gstinterpolation.c:
6161 (gst_controlled_property_find_control_point_node),
6162 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6163 (interpolate_none_get_string_value_array),
6164 (interpolate_trigger_get),
6165 (interpolate_trigger_get_enum_value_array),
6166 (interpolate_trigger_get_string_value_array):
6167 Protect against values larger or smaller than the minimum or maximum
6168 allowed value for the property when using values that can be compared.
6170 Optimize trigger interpolator a bit by taking the last requested value
6171 into account instead of always looping through the complete list.
6173 Fix coding style a bit, everywhere else we use "return foo" instead
6176 * tests/check/libs/controller.c: (GST_START_TEST),
6177 (gst_controller_suite):
6178 Add unit test for the protection against too large or too small
6181 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6183 * docs/random/slomo/controller.txt:
6184 Add some thoughts about the future of the controller.
6186 2007-06-08 Wim Taymans <wim@fluendo.com>
6188 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6189 Don't overflow in retimestamping code.
6191 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6193 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6194 Use gst_util_guint64_to_gdouble for conversions.
6195 * win32/common/libgstreamer.def:
6196 Add new exported functions.
6198 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6201 Small docs addition.
6203 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6206 Remove that test line again.
6208 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6211 Test commit mail sending.
6213 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6216 Fix typo and test commit mail sending.
6218 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6220 * tests/examples/controller/audio-example.c:
6221 Improve comment and test commit mail sending.
6223 2007-06-07 Wim Taymans <wim@fluendo.com>
6225 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6226 (gst_bin_remove_func), (gst_bin_element_set_state),
6227 (bin_handle_async_start), (bin_handle_async_done),
6228 (gst_bin_handle_message_func):
6229 Add helper function to find messages.
6230 Generate the async-done messages together with the state change
6232 Small cleanups in handling toplevel bins.
6234 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6236 * libs/gst/base/gstdataqueue.c:
6237 * libs/gst/base/gstdataqueue.h:
6238 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6239 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6240 (gst_multi_queue_sink_event):
6241 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6242 Fix multiqueue leaking buffers and events when downstream or the
6243 queue are flushing. Make refcounting assumptions explicit and
6244 document them (shouldn't break existing code that uses it other than
6245 maybe leak miniobjects, but that already happens anyway). Add unit
6246 test for the most common flushing case. Fixes #423700.
6248 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6250 * libs/gst/controller/gstcontroller.c:
6251 Clarify docs: The get_all, get_value_array(s) functions
6252 don't modify the GObject properties.
6254 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6256 * libs/gst/controller/gstcontroller.c:
6257 (gst_controlled_property_set_interpolation_mode),
6258 (gst_controlled_property_prepend_default),
6259 (gst_controlled_property_new), (gst_controller_set_unlocked),
6260 (gst_controller_set), (gst_controller_set_from_list),
6261 (gst_controller_unset), (gst_controller_unset_all):
6262 * libs/gst/controller/gstcontrollerprivate.h:
6263 * libs/gst/controller/gstinterpolation.c:
6264 Factor out the 'set' logic into gst_controller_set_unlocked for the
6265 gst_controller_set and gst_controller_set_from_list functions.
6267 To make life of the interpolators easier always add a control point
6268 at timestamp zero with the default value.
6270 In the linear interpolator make things more obvious by better variable
6273 Implement cubic interpolation mode (by using a natural cubic spline)
6274 and map the quadratic interpolation mode to this too (as quadratic
6275 doesn't make much sense, see discussion on the list).
6277 * tests/check/libs/controller.c: (GST_START_TEST),
6278 (gst_controller_suite):
6279 Add unit test for the cubic interpolation mode and check everywhere
6280 if the interpolation mode could be set as expected.
6282 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6284 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6285 Don't use GLib-2.10 functions, we still depend on
6286 GLib-how-old-is-it-again-2.8.
6288 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6290 * docs/gst/gstreamer-sections.txt:
6294 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6295 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6296 (_gst_param_fraction_values_cmp),
6297 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6298 * gst/gstparamspecs.h:
6300 * tests/check/Makefile.am:
6301 * tests/check/gst/.cvsignore:
6302 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6303 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6304 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6305 (GST_START_TEST), (gst_param_spec_suite):
6306 API: add GstParamSpecFraction, so elements can have fraction
6307 properties without lots of painful string parsing (#444648).
6309 2007-06-05 Wim Taymans <wim@fluendo.com>
6311 * gst/gstobject.c: (gst_object_class_init):
6312 Fix signal signature.
6315 Add small clarification in the api docs.
6317 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6318 States are protected with object lock.
6320 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6323 I should probably be listed as an author by now.
6325 * docs/random/release:
6326 Update the release doc
6328 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6331 Make docs for gst_value_compare() mention return enums that
6334 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6339 === release 0.10.13 ===
6341 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6344 releasing 0.10.13, "With or without you"
6346 2007-05-25 Wim Taymans <wim@fluendo.com>
6348 * gst/gstbin.c: (bin_handle_async_done):
6349 Make sure that the child bin stops after completing the async state
6350 change so that the parent can continue the state change to PLAYING.
6353 2007-05-25 Wim Taymans <wim@fluendo.com>
6355 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6356 (unref_data), (gst_collect_pads_remove_pad),
6357 (gst_collect_pads_check_pads):
6358 Use additional refcounting to avoid crashes when dynamically adding and
6359 removing pads. Fixes #420206.
6361 2007-05-24 Wim Taymans <wim@fluendo.com>
6363 * tools/gst-launch.c: (event_loop):
6364 When buffering goes from a two digit to a single digit number, make sure
6365 to remove the old second digit by writing a blank over it.
6367 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6369 * libs/gst/base/gstdataqueue.c:
6370 Eliminate tabs and trailing comma in enum list; fix some typos.
6372 2007-05-24 Wim Taymans <wim@fluendo.com>
6374 * tests/check/gst/gstbin.c: (GST_START_TEST):
6375 Allow refcount of 3 and 4 because some state thread might still be busy
6378 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6380 * plugins/elements/Makefile.am:
6381 * plugins/elements/gstmultiqueue.h:
6382 * plugins/elements/gstqueue.h:
6383 These are not installed headers, no need for padding.
6385 2007-05-24 Wim Taymans <wim@fluendo.com>
6387 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6388 (gst_bin_continue_func):
6389 Enable latency for next release.
6390 Restore STATE_LOCK around recalc_state that was left out during the
6391 rewrite and could result in racy behaviour when _get_state and
6392 recalc_state are run concurrently. See #440463.
6394 2007-05-23 Wim Taymans <wim@fluendo.com>
6396 * tests/check/gst/gstsystemclock.c: (store_callback),
6398 Improve test_async_order to also work when both timers are already
6399 expired when we get scheduled to check it.
6401 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6403 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6404 (gst_bin_set_property), (gst_bin_get_property),
6405 (gst_bin_remove_func), (gst_bin_handle_message_func):
6407 'private' is a c++ keyword, let's not use that in header files,
6408 otherwise c++ compilers will throw a tantrum.
6410 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6412 * plugins/elements/gstelements.c:
6413 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6414 (gst_file_sink_get_current_offset):
6415 * plugins/indexers/gstindexers.c: (plugin_init):
6416 Use #ifdef for HAVE_XYZ for consistency.
6418 * tests/check/Makefile.am:
6419 * tests/check/elements/.cvsignore:
6420 * tests/check/elements/filesink.c: (setup_filesink),
6421 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6422 Add some unit tests for filesink.
6424 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6426 Patch by: Mark Nauwelaerts <manauw at skynet be>
6428 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6429 (gst_file_sink_query), (gst_file_sink_do_seek),
6430 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6431 * plugins/elements/gstfilesink.h:
6432 Fix position reporting; rename data_written member to current_pos to
6433 reflect its real meaning (fixes #412648).
6435 2007-05-22 Edward Hervey <edward@fluendo.com>
6437 * docs/gst/gstreamer-sections.txt:
6438 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6439 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6440 (gst_bin_remove_func), (gst_bin_handle_message_func):
6442 Add a property for bins that handle the state change of their childs.
6445 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6447 * libs/gst/controller/gstinterpolation.c:
6448 Use an array of the correct type when using _get_value_array with
6449 linear interpolation.
6451 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6453 * gst/gstelement.c (gst_element_requires_clock,
6454 gst_element_provides_clock, gst_element_request_pad,
6455 gst_element_class_set_details, gst_element_class_set_details_simple,
6456 gst_element_default_send_event, gst_element_abort_state,
6457 gst_element_continue_state, gst_element_set_state,
6458 gst_element_set_state_func, iterator_activate_fold_with_resync):
6459 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6460 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6461 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6462 gst_pad_get_range, gst_pad_pull_range):
6463 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6464 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6465 GstPadActivateModeFunction, GstPadChainFunction,
6466 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6467 GstPadFixateCapsFunction, GstPadTemplate):
6468 * gst/gstpipeline.c (gst_pipeline_change_state,
6469 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6470 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6471 gst_pipeline_get_delay):
6472 Whitespace and docs fixes.
6474 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6476 * libs/gst/controller/gstinterpolation.c:
6477 (interpolate_trigger_get_enum_value_array),
6478 (interpolate_trigger_get_string_value_array):
6479 Add support for retrieving value arrays when using the trigger
6482 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6484 * libs/gst/controller/gstcontroller.c:
6485 (gst_controller_get_value_array):
6486 * libs/gst/controller/gstcontroller.h:
6487 Clarify the docs of gst_controller_get_value_array(): The array where
6488 the values should be written to must be allocated as there seems to be
6489 no way to get the size of a random GType. This doesn't change any
6490 behaviour. Also fix some typos all over the place and remove an unused,
6491 commented function that is not necessary as g_object_set() could be
6493 * tests/check/libs/controller.c: (GST_START_TEST),
6494 (gst_controller_suite):
6495 Add unit test for gst_controller_get_value_array().
6497 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6499 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6501 Disable part of the gst_buffer_try_new_and_alloc test, because
6502 it can happily succeed on 64-bit systems where there's more address
6505 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6507 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6508 Add unit test for the improved caps checking from bug #421543.
6510 2007-05-21 Wim Taymans <wim@fluendo.com>
6512 * docs/design/part-synchronisation.txt:
6515 * gst/gstbin.c: (gst_bin_query):
6516 * plugins/elements/gstqueue.c: (apply_segment):
6522 2007-05-21 Wim Taymans <wim@fluendo.com>
6524 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6525 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6526 (gst_pad_configure_src):
6527 Added simple version of improved caps checking. It was previously
6528 assumed that a setcaps function would check the validity of the caps but
6529 people prefer us to check caps against the template automatically.
6532 2007-05-21 Wim Taymans <wim@fluendo.com>
6534 * libs/gst/base/gstbasetransform.h:
6535 Fix macro for locking/unlocking the transform lock.
6537 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6539 * docs/plugins/tmpl/.cvsignore:
6542 2007-05-18 Edward Hervey <edward@fluendo.com>
6544 * plugins/elements/gstqueue.c: (gst_queue_loop):
6545 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6546 for the subtle art of warning a potentially blocking thread that it
6547 should check the source pad return value, and relay the information
6550 2007-05-18 Edward Hervey <edward@fluendo.com>
6552 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6553 Release the queue lock !
6555 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6557 * docs/libs/gstreamer-libs-sections.txt:
6558 Add the two new controller functions to the appropiate places.
6560 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6562 reviewed by: Stefan Kost <ensonic@users.sf.net>
6564 * libs/gst/controller/gstcontroller.c:
6565 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6566 (_gst_controller_get_property), (_gst_controller_set_property),
6567 (_gst_controller_init), (_gst_controller_class_init):
6568 * libs/gst/controller/gstcontroller.h:
6569 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6570 (gst_object_get_control_rate), (gst_object_set_control_rate):
6571 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6572 Add API that provides sync suggestion timestamps for elements that
6573 call gst_object_sync_values() from which those elements can subdivide
6574 their processing loop to get the best results for the controlled
6575 properties. For now it just suggests last_sync + control_rate as
6576 new timestamp but this will be improved in the future.
6578 While doing that change the control-rate property to a GstClockTime
6579 from guint and change it's meaning from samples to nanoseconds as
6580 the GstController doesn't know anything about sampling rate. Strictly
6581 speaking this breaks ABI but as the control-rate property didn't do
6582 anything in the past and as such couldn't be used this should be no
6585 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6587 reviewed by: Stefan Kost <ensonic@users.sf.net>
6589 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6590 (gst_controller_unset_all):
6591 * libs/gst/controller/gstcontrollerprivate.h:
6592 * libs/gst/controller/gstinterpolation.c:
6593 (gst_controlled_property_find_control_point_node):
6594 Save last synced value from the list to continue searching from there
6595 in future syncs. This speeds everything up a bit.
6597 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6599 reviewed by: Stefan Kost <ensonic@users.sf.net>
6601 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6602 (gst_control_point_find), (gst_controlled_property_new),
6603 (gst_control_point_free), (gst_controlled_property_free),
6604 (gst_controller_set), (gst_controller_set_from_list),
6605 (gst_controller_unset), (gst_controller_unset_all),
6606 (gst_controller_sync_values):
6607 * libs/gst/controller/gstcontroller.h:
6608 * libs/gst/controller/gstcontrollerprivate.h:
6609 * libs/gst/controller/gstinterpolation.c:
6610 (gst_controlled_property_find_control_point_node),
6611 (interpolate_none_get), (interpolate_trigger_get):
6612 Add a new private GstControlPoint struct which "inherits" from
6613 GstTimedValue to allow different interpolators to store internal
6614 values next to each control point. From the outside everything is
6615 still a GstControlPoint so we don't loose binary compatibility.
6616 Also fixup all the GValue handling to not leak GValues or list nodes.
6617 * tests/check/libs/controller.c: (GST_START_TEST):
6618 Free the list nodes and GValues in the controller_misc test.
6620 2007-05-17 Edward Hervey <edward@fluendo.com>
6625 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6627 * gst/gstplugin.c: (gst_plugin_load_file):
6628 If we fail to load a plugin because of unresolved symbols or missing
6629 libraries and spew a warning to stderr, we may just as well mention
6630 which plugin it was that failed to load.
6632 2007-05-13 David Schleef <ds@schleef.org>
6634 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6635 handles the case when ENABLE_GTK_DOC is false, and installs
6636 the prebuilt documentation. So gtk-doc subdirs are
6637 unconditionally enabled. Fixes: #349099.
6639 2007-05-13 David Schleef <ds@schleef.org>
6641 * gst/gstutils.h: Reword some documentation.
6643 2007-05-12 David Schleef <ds@schleef.org>
6645 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6646 do anything with the passed "module" parameter, so remove it.
6647 Allows removal of additional vestigal code.
6649 2007-05-12 David Schleef <ds@schleef.org>
6652 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6653 Switch to using g_stat() because it's more portable.
6655 2007-05-12 David Schleef <ds@schleef.org>
6658 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6659 parsing for embedded systems.
6660 * gst/gstelementfactory.c:
6661 Allow gst_element_register() to be called with plugin==NULL.
6662 Did nobody notice that static elements were broken?
6664 2007-05-12 Wim Taymans <wim@fluendo.com>
6666 * tools/gst-launch.c: (event_loop):
6667 Give more interesting info when buffering starts and stops.
6668 Fix case where buffering starts but we fail to update the buffering flag
6669 because the target state is not PLAYING.
6671 2007-05-12 Wim Taymans <wim@fluendo.com>
6673 * plugins/elements/gstqueue.c: (gst_queue_init),
6674 (gst_queue_finalize), (update_time_level), (apply_segment),
6675 (apply_buffer), (gst_queue_locked_flush),
6676 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6677 (gst_queue_handle_sink_event), (gst_queue_chain),
6678 (gst_queue_push_one), (gst_queue_loop):
6679 * plugins/elements/gstqueue.h:
6680 Refactor an cleanup queue a bit.
6681 Do better time level calculations that also work when the srcpad is not
6683 Remove some unneeded debug lines.
6685 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6686 Added testcase for time level measurement.
6687 Try to make some stuff more racefree.
6689 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6691 * gst/gsturi.c: (gst_element_make_from_uri):
6692 Don't leak plugin feature.
6694 * tests/check/Makefile.am:
6695 * tests/check/gst/.cvsignore:
6696 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6697 Add brain-dead unit test.
6699 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6701 Patch by: Jeroen Wouters <woutersj at gmail com>
6703 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6704 Treat protocol strings in a case-insensitive way (#437563).
6706 2007-05-11 Michael Smith <msmith@fluendo.com>
6708 * gst/gstplugin.c: (gst_plugin_load_file):
6709 * gst/gstregistry.c: (gst_registry_scan_path_level):
6710 Don't print a g_warning for any failure to load a shared object.
6711 Instead, push this down into gstplugin.c, and warn _only_ if we
6712 failed to open the module (i.e. failure to link).
6713 Avoids warnings on normal, working, non-plugin .so files.
6715 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6717 * gst/gstplugin.c (gst_plugin_load_file):
6718 * gst/gstregistry.c (GST_CAT_DEFAULT,
6719 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6720 Print a g_warning if there was an error when loading a plugins during
6721 registry scan. The shuld help beginners starting with gst-plugin
6724 2007-05-10 Wim Taymans <wim@fluendo.com>
6726 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6727 (update_time_level), (gst_queue_locked_flush),
6728 (gst_queue_handle_sink_event), (gst_queue_chain),
6729 (gst_queue_push_one), (gst_queue_loop):
6730 * plugins/elements/gstqueue.h:
6731 Be smarter when calculating the current amount of data in the queue by
6732 measuring the difference between start and end timestamps (in running
6733 time) inside the queue. Fixes #432876.
6734 API: GstQueue::pushing to notify elements that we are pushing data again
6735 since the running signal is rather broken for this purpose.
6737 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6739 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6740 gst_queue_base_init, gst_queue_init):
6743 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6745 * win32/common/libgstreamer.def:
6746 Add new exported functions.
6747 * win32/vs6/grammar.dsp:
6748 Use grammar pre-generated files.
6750 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6752 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6755 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6757 * gst/gstutils.c: (gst_parse_bin_from_description):
6759 Maintain API and ABI when --disable-parse is used. Now that
6760 we have an appropriate error code, we can just return NULL and the
6761 appropriate error when gst_parse_launch() is used despite it having
6762 been disabled (#342564).
6764 * tests/check/Makefile.am:
6765 * tests/check/pipelines/.cvsignore:
6766 * tests/check/pipelines/parse-disabled.c:
6767 Make sure these functions exist and return NULL plus a GError when
6768 --disable-parse is used.
6770 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6772 * tests/benchmarks/complexity.c: (main):
6773 * tests/benchmarks/mass-elements.c: (main):
6774 Set a good example and don't leak messages.
6776 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6778 * docs/gst/Makefile.am:
6779 * docs/libs/Makefile.am:
6780 Correct fixxrefs options.
6782 * docs/plugins/Makefile.am:
6783 * docs/plugins/gstreamer-plugins-docs.sgml:
6784 * docs/plugins/gstreamer-plugins-sections.txt:
6785 * plugins/elements/Makefile.am:
6786 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6787 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6788 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6789 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6790 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6791 _GstCapsFilterClass, trans_class):
6792 * plugins/elements/gstelements.c (name, rank, type, _elements):
6793 * plugins/elements/gstidentity.c
6794 (gst_identity_check_imperfect_timestamp,
6795 gst_identity_check_imperfect_offset):
6796 Document capsfilter and add doc-blurb to identity.
6798 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6800 * libs/gst/controller/gstcontroller.c:
6801 (gst_controlled_property_set_interpolation_mode):
6802 * libs/gst/controller/gstinterpolation.c:
6803 Don't crash if someone tries to set an interpolation mode that
6804 is invalid or that isn't supported yet. Fixes #422295.
6806 * tests/check/libs/controller.c: (GST_START_TEST),
6807 (gst_controller_suite):
6808 Add a test case for the above.
6810 2007-05-03 Edward Hervey <edward@fluendo.com>
6812 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6813 Properly set the last_stop position on GstSegment. This will only happen
6814 if there is a buffer to push out.
6816 2007-05-03 Wim Taymans <wim@fluendo.com>
6818 * libs/gst/base/gstbasetransform.c:
6819 (gst_base_transform_buffer_alloc):
6820 always_in_place does not mean that the sink and source caps are the
6821 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6823 2007-05-03 Wim Taymans <wim@fluendo.com>
6825 * docs/libs/gstreamer-libs-sections.txt:
6826 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6827 (gst_base_src_default_query), (gst_base_src_get_range):
6828 * libs/gst/base/gstbasesrc.h:
6829 API: gst_base_src_query_latency(). Added method so that subclasses can
6830 easily get the latency values of the base source class.
6832 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6834 * tools/gst-inspect.c (print_implementation_info):
6837 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6839 * tools/Makefile.am:
6840 * tools/gst-launch.1.in:
6841 Don't create a customised man page based on the host architecture,
6842 describe the default registry path generically. That way the man
6843 page is the same for all architectures and packagers have one
6844 multilib issue less to deal with. Fixes #434926.
6846 2007-05-02 Wim Taymans <wim@fluendo.com>
6849 Fix documentation as spotted by rg on IRC.
6851 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6854 Improve docs for gst_element_{link,unlink}.
6856 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6858 * docs/design/part-events.txt:
6859 * docs/design/part-overview.txt:
6863 * libs/gst/base/gstbasesink.c:
6864 Typo fixes; minor docs addition.
6866 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6868 * docs/gst/gstreamer-sections.txt:
6869 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6870 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6872 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6873 or src that supports a given URI protocol exists.
6875 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6877 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6878 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6879 Set the location to NULL if "file://" is set as URI. Otherwise
6880 some random previous URI would still be set if "file://" is
6881 set on an already used filesink/filesrc.
6883 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6885 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6886 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6887 Special case the "file://" URI as as this is used by some
6888 applications to test with gst_element_make_from_uri if there's
6889 an element that supports the URI protocol.
6890 Also move the g_path_is_absolute() check for the location part
6891 of the URI to also check this for "file://localhost/bla" URIs.
6893 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6895 * docs/gst/gstreamer-sections.txt:
6896 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6898 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6900 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6902 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6904 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6905 (gst_registry_binary_load_pad_template),
6906 (gst_registry_binary_load_plugin),
6907 (gst_registry_binary_read_cache):
6908 * gst/gstregistrybinary.h:
6909 Implement no-mmap alternative for registry reading. Do code cleanups.
6910 Add more comments about avoiding strdups for all text data. Comments
6913 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6915 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6916 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6917 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6918 Comment structs and reformat to fix the build (that stuff should go
6919 into a priv. header).
6921 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6923 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6924 (gst_registry_binary_load_feature):
6925 * gst/gstregistrybinary.h:
6926 Refactor so that we can implement multiple features. Add support for
6927 TypeFindFactory features.
6929 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6931 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6934 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6936 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6938 * gst/gstbin.c: (gst_bin_element_set_state),
6939 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6940 (bin_handle_async_done), (gst_bin_handle_message_func):
6941 Fix build with --gst-disable-gst-debug
6943 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6945 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6946 Make sure streaming has finished before calling the ::stop() vfunc,
6947 since that vfunc might clear state which is being used in the
6948 streaming thread. This fixes a race that caused crashes in
6949 audioresample when shutting down a pipeline (#420106).
6951 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6953 * docs/gst/gstreamer-sections.txt:
6954 That was one byte missing.
6956 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6959 * docs/gst/gstreamer-sections.txt:
6961 * gst/gstconfig.h.in:
6962 * gst/gstobject.c: (gst_object_class_init),
6963 (gst_signal_object_class_init):
6965 2nd attempt to have a xml-less build as a joined effort of #413123
6968 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6970 * docs/design/draft-tagreading.txt:
6971 Added open issues/thoughts to draft.
6973 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6975 * gst/parse/grammar.tab.pre.c:
6976 * gst/parse/grammar.tab.pre.h:
6977 * gst/parse/lex._gst_parse_yy.pre.c:
6978 Update the prebuild parser sources.
6980 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6982 * gst/parse/Makefile.am:
6983 And now fix the building of the flex sources. Now everything should
6986 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6988 * gst/parse/Makefile.am:
6989 Now hopefully fix the build failures by setting proper rule
6990 dependencies and moving instead of copying.
6992 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6994 * tests/benchmarks/complexity.gnuplot:
6995 * tests/benchmarks/complexity.scm:
6996 * tests/benchmarks/mass-elements.gnuplot:
6997 * tests/benchmarks/mass-elements.scm:
6998 Total licensification.
7000 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7002 * gst/parse/Makefile.am:
7003 Fix the build by correcting the rule that gave wrong files to flex.
7005 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7007 * tests/benchmarks/complexity.c:
7008 * tests/benchmarks/mass-elements.c:
7009 Change licence to LGPL as granted by Benjamin and Andy.
7011 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7013 * gst/parse/Makefile.am:
7014 Add correct grammar.tab.h dependency if compiling without new enough
7015 flex. Fixes #431150.
7017 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7019 * gst/parse/Makefile.am:
7020 Fix typo and use outdated sources if the flex/bison sources are newer
7021 than the pregenerated ones but flex is too old. Print a warning in
7022 that case. This should fix the build on the build bot.
7024 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7026 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7027 * gst/parse/Makefile.am:
7028 * gst/parse/grammar.y:
7029 * gst/parse/parse.l:
7030 Make the parser reentrant and recursively callable. This requires flex
7031 >= 2.5.31, for older versions pregenerated sources are used as we
7032 can't bump the build dependency. Finally fixes #349180.
7034 * gst/gstparse.c: (gst_parse_launch):
7035 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7038 * docs/gst/Makefile.am:
7039 * docs/gst/Makefile.am:
7040 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7041 (__gst_parse_strfree), (__gst_parse_link_new),
7042 (__gst_parse_link_free), (__gst_parse_chain_new),
7043 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7044 (gst_parse_element_set), (gst_parse_free_link),
7045 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7046 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7047 (_gst_parse_launch):
7048 * gst/parse/grammar.tab.pre.h:
7049 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7050 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7051 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7052 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7053 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7054 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7055 (_gst_parse_yypop_buffer_state),
7056 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7057 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7058 (yy_fatal_error), (_gst_parse_yyget_extra),
7059 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7060 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7061 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7062 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7063 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7064 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7065 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7066 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7067 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7068 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7069 (_gst_parse_yyfree):
7070 If the installed flex version is too old use pre-generated parser
7071 sources. These pre-generated parser sources are always updated when
7072 the actual flex/bison sources change but require everybody who wants
7073 to change something in the parser to have flex >= 2.5.31 installed.
7075 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7077 * common/m4/gst-gettext.m4:
7078 * gst/gst-i18n-lib.h:
7079 Make --disable-nls to work
7081 2007-04-17 Wim Taymans <wim@fluendo.com>
7083 * gst/gstconfig.h.in:
7084 Revert previous change that broke the build.
7086 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7090 * gst/gstconfig.h.in:
7091 Drop libxml2 dependency when building with
7092 --enable-binary-registry --disable-loadsave
7094 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7096 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7097 (gst_registry_binary_read_cache):
7098 * gst/gstregistrybinary.h:
7099 Remove unnecessary <sys/mman.h> include which broke the win32 build
7100 with MingW; move includes from header file to .c file, even if the
7101 header file isn't installed; use g_strerror() where UTF-8 strings
7102 are expected, such as in GST_DEBUG messages.
7104 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7106 * docs/libs/gstreamer-libs-sections.txt:
7107 Remove bogus addition for API I didn't end up keeping.
7109 * libs/gst/base/gstbasesrc.h:
7110 Mention Since: 0.10.13 in the documentation.
7112 Add the API keyword to the previous ChangeLog entry.
7114 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7116 * docs/libs/gstreamer-libs-sections.txt:
7117 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7118 (gst_base_src_default_prepare_seek_segment),
7119 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7120 * libs/gst/base/gstbasesrc.h:
7121 Allow basesrc derived classes to execute seeks in other formats
7122 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7123 to prepare the GstSegment in any format that their perform_seek method
7124 will be able to understand. The default implementation provides the
7125 old behaviour of attempting to convert the seek offsets to the
7126 configured native format.
7128 API: basesrc::prepare_seek_segment vmethod.
7130 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7132 * gst/gstelement.c: (gst_element_get_state_func):
7133 Don't output the same debug statement twice.
7135 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7136 (gst_adapter_peek), (gst_adapter_take_buffer):
7137 Optimise the case where we have buffers at the head of the queue that
7138 can be joined quickly (because they're contiguous sub-buffers) by
7139 merging them together rather than copying data out into new memory.
7141 * gst/parse/grammar.y:
7142 * tests/check/pipelines/parse-launch.c:
7143 Fix a leak in an error path for parse_launch, and add a check
7144 for it to the testsuite.
7146 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7148 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7149 Don't deadlock when releasing a pad - gst_pad_set_active may try
7150 and take the multiqueue lock too.
7152 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7154 * gst/gsterror.c: (_gst_core_errors_init):
7156 API: add GST_CORE_ERROR_DISABLED (#392804).
7158 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7160 * docs/faq/gst-uninstalled:
7161 don't get empty paths on the PATH variables
7162 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7163 Don't format for the uncommon terminal width of 84 characters.
7165 2007-04-06 Wim Taymans <wim@fluendo.com>
7167 * gst/gstpipeline.c: (reset_stream_time),
7168 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7169 Only try to select a different pipeline clock when we went back to
7170 PAUSED and not when we merely got flushed.
7172 2007-04-05 Michael Smith <msmith@fluendo.com>
7174 * tools/gst-launch.1.in:
7175 fractions are better supported in gstreamer than ractions, so
7176 suggest using those.
7178 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7180 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7184 Added Danish translation.
7186 2007-04-05 Wim Taymans <wim@fluendo.com>
7188 * libs/gst/base/gstbasesink.c:
7189 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7190 Fix leak caused when refusing newsegment after EOS.
7192 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7193 (gst_fake_sink_init), (gst_fake_sink_set_property),
7194 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7195 (gst_fake_sink_render), (gst_fake_sink_change_state):
7196 * plugins/elements/gstfakesink.h:
7197 Add num-buffers property to make the element generate EOS after a
7198 configurable amount of buffers.
7199 API: fakesink::num-buffers property.
7201 * tests/check/elements/fakesink.c: (GST_START_TEST),
7203 Fix GstBus leak in test.
7204 Test for fakesink num-buffers.
7206 2007-04-05 Wim Taymans <wim@fluendo.com>
7208 * libs/gst/base/gstbasesink.c:
7209 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7210 (gst_base_sink_change_state):
7211 Don't accept anything after an EOS, return UNEXPECTED instead.
7213 * tests/check/elements/fakesink.c: (GST_START_TEST),
7215 Unit test for new EOS behaviour.
7217 2007-04-05 Wim Taymans <wim@fluendo.com>
7219 * gst/gstelement.c: (gst_element_get_request_pad):
7220 Make padtemplates also work when they don't contain %s or %d.
7222 2007-04-05 Wim Taymans <wim@fluendo.com>
7224 * docs/gst/gstreamer-sections.txt:
7225 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7226 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7228 Improve _adjust_unlocked() so that it overflows less.
7229 Add gst_clock_unadjust_unlocked to convert from external time to
7230 internal time based on calibration.
7231 Add some more debug.
7232 API: GstClock::gst_clock_unadjust_unlocked()
7234 2007-04-03 Wim Taymans <wim@fluendo.com>
7236 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7238 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7239 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7240 when releasing sink pad. Fixes #425400.
7242 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7244 * docs/random/ensonic/dynlink.txt:
7245 More work on proposal for new core api.
7247 * docs/libs/gstreamer-libs-sections.txt:
7248 * libs/gst/base/gstbasetransform.h:
7249 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7251 * libs/gst/controller/gstcontroller.c:
7252 (on_object_controlled_property_changed),
7253 (gst_controller_sync_values),
7254 (gst_controller_set_interpolation_mode):
7255 * libs/gst/controller/gstcontroller.h:
7256 Less verbose logging add docs for unimplemented parts and correctly
7257 return when using unavailable parts.
7259 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7261 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7262 Move all the debug to the CLOCK category, and associate it with
7265 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7267 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7268 Make take_buffer a bit quicker by removing redundant checks
7269 caused by calling gst_adapter_take.
7271 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7273 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7276 * tests/check/Makefile.am:
7277 * tests/check/elements/.cvsignore:
7278 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7279 (GST_START_TEST), (multiqueue_suite):
7280 Add some dead simple unit tests for the 'multiqueue' element
7281 (some bits don't work yet and are disabled for now).
7283 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7285 * gst/gstelement.c: (gst_element_get_request_pad),
7286 (gst_element_class_get_request_pad_template):
7287 Make gst_element_get_request_pad() create request pads only for
7288 request pad templates and not for, say, sometimes pad templates.
7290 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7292 * docs/design/draft-klass.txt:
7293 Add example that needs more thinking.
7295 * docs/design/draft-missing-plugins.txt:
7296 More thoughts about wrapper plugins.
7298 * docs/random/ensonic/embedded.txt:
7299 * docs/random/ensonic/profiling.txt:
7302 2007-03-25 Wim Taymans <wim@fluendo.com>
7304 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7305 (gst_base_src_loop):
7306 Only push the segment events in the PLAYING state for live sources.
7308 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7310 * gst/gstpipeline.c: (gst_pipeline_change_state):
7311 Modify the clock distribution path in PAUSED->PLAYING so that we
7312 never attempt to choose a new clock unless we're actually leaving
7313 the PAUSED state for the first time. This prevents choosing a
7314 different clock when the state_change gets called for a 2nd time due
7315 to some element doing an async state change.
7317 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7319 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7320 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7321 (gst_pad_chain_unchecked), (gst_pad_push):
7322 Revert last commit. This needs some more thoughts.
7324 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7326 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7327 (gst_pad_chain_unchecked), (gst_pad_push):
7328 Check in set_caps if the caps are compatible with the pad and remove
7329 two functions that are redundant now. Fixes #421543.
7331 2007-03-22 Wim Taymans <wim@fluendo.com>
7333 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7334 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7335 Unref some more to make valgrind happy.
7337 2007-03-22 Wim Taymans <wim@fluendo.com>
7339 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7340 (gst_system_clock_id_wait_jitter),
7341 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7342 Fix anoying regression that survived a few releases. When adding an
7343 async entry while blocking on a sync entry, the sync entry will unblock
7344 but still be busy, so it should continue to wait instead of returning
7346 Add some comments here and there.
7348 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7349 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7350 Add testcase for this.
7352 2007-03-22 Wim Taymans <wim@fluendo.com>
7354 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7355 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7356 WRONG_STATE and can silently pause the task. All other cases should
7359 2007-03-22 Wim Taymans <wim@fluendo.com>
7361 Patch by: Ville Syrjala <syrjala at sci dot fi>
7363 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7364 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7367 2007-03-21 Michael Smith <msmith@fluendo.com>
7369 * docs/pwg/advanced-types.xml:
7370 Fix some errors in the typefinding docs pointed out on irc.
7372 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7374 * libs/gst/base/gstbasesrc.c:
7375 Clarify FIXME comment in the face of having added unlock_stop()
7377 2007-03-21 Wim Taymans <wim@fluendo.com>
7379 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7380 Prepare for release where we warn against possible app breakage in the
7381 case of live pipelines along with an env var to enable/disable live
7382 preroll mode (GST_COMPAT=[no-]live-preroll).
7384 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7386 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7387 So we should use correct constants for checking for None offset.
7389 2007-03-20 Wim Taymans <wim@fluendo.com>
7391 * docs/design/part-block.txt:
7392 Mention the fact that the newly switched element should be set to at
7395 2007-03-20 Wim Taymans <wim@fluendo.com>
7398 Fix compilation with registry disabled as spotted by Saur.
7400 2007-03-20 Wim Taymans <wim@fluendo.com>
7402 Patch by: Olivier Crete <tester at tester dot ca>
7404 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7405 Look at the pending state too when syncing the element state to the
7406 parent. Fixes #420133.
7408 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7410 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7411 (gst_base_sink_change_state):
7412 * libs/gst/base/gstbasesink.h:
7413 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7414 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7415 (gst_base_src_deactivate):
7416 * libs/gst/base/gstbasesrc.h:
7417 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7418 for sub-classes to correctly clear any state they set trying to
7419 unlock, such as clearing out unlock commands from a command fd.
7420 API: basesrc::unlock_stop
7421 API: basesink::unlock_stop
7423 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7424 (gst_fd_sink_render), (gst_fd_sink_unlock),
7425 (gst_fd_sink_unlock_stop):
7426 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7427 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7428 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7430 Implement unlock_stop in fdsrc and fdsink.
7431 Implement seeking in fdsrc when a seekable fd is passed, as in
7432 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7434 2007-03-19 Wim Taymans <wim@fluendo.com>
7436 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7438 * gst/gstelement.c: (gst_element_class_init):
7439 Fix pad-added and pad-removed signal signatures so that the pad type is
7440 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7442 2007-03-19 Wim Taymans <wim@fluendo.com>
7444 * docs/gst/gstreamer-sections.txt:
7445 Add new element field and method.
7447 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7448 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7449 (gst_bin_recalc_state), (gst_bin_get_state_func),
7450 (gst_bin_element_set_state), (gst_bin_change_state_func),
7451 (gst_bin_continue_func), (bin_bus_handler),
7452 (bin_push_state_continue), (bin_handle_async_start),
7453 (bin_handle_async_done), (gst_bin_handle_message_func):
7454 Make async state changes a bit smarter by using new ASYNC_START and
7455 ASYNC_DONE messages. This reduces the number of times we run the state
7456 recalculation thread.
7457 Don't change state of element with a pending ASYNC_START message.
7458 Deprecate STATE_DIRTY messages.
7460 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7461 (gst_element_get_state_func), (gst_element_continue_state),
7462 (gst_element_lost_state), (gst_element_set_state_func),
7463 (gst_element_change_state):
7465 Keep the state that was last set by the app in a new element field.
7466 Don't allow state changes when handling an element event.
7467 Post ASYNC_START and ASYNC_DONE messages.
7468 Change lost_state so that we go to PAUSED and wait for the parent to set
7469 us to PLAYING again (so latency calculation can be performed)
7470 Export gst_element_change_state() method so that subclasses can use it.
7471 API: gst_element_change_state()
7472 API: GST_STATE_TARGET
7474 * gst/gstpipeline.c: (gst_pipeline_class_init),
7475 (reset_stream_time), (gst_pipeline_change_state),
7476 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7477 Using the new ASYNC_START message we can reset the base_time when
7478 needed. This can then be used to implement base_time redistribution in
7479 flushing seeks so that we can remove the explicit seek handling.
7480 Perform latency query and configuration when going to PLAYING.
7482 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7483 (gst_base_sink_query), (gst_base_sink_change_state):
7484 Post new ASYNC_START/ASYNC_DONE messages.
7486 * tests/check/generic/sinks.c: (GST_START_TEST):
7487 Fix test because the bin will not set the async element to PLAYING right
7490 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7491 Make the message check a little stronger.
7492 Handle ASYNC messages.
7494 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7495 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7496 Expect ASYNC_DONE messages.
7498 2007-03-19 Wim Taymans <wim@fluendo.com>
7500 * docs/gst/gstreamer-sections.txt:
7501 * gst/gstmessage.c: (gst_message_new_async_start),
7502 (gst_message_new_async_done), (gst_message_parse_info),
7503 (gst_message_parse_async_start):
7505 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7508 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7510 * tools/gst-inspect.c:
7511 (print_plugin_automatic_install_info_codecs):
7512 Now that we don't check for the 'Codec' keyword any longer in the
7513 klass, we shouldn't spew a warning if the klass isn't a decoder or
7514 encoder (since it might be a Source/Network, for example).
7516 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7518 * tools/gst-inspect.c:
7519 (print_plugin_automatic_install_info_codecs):
7520 Don't require decoder/demuxer/depayloader elements or
7521 encoder/muxer/paylader elements to have 'Codec' as part of their
7522 factory class string when introspecting a plugin's capabilities.
7523 draft-klass.txt mentions that it might be removed in future, and
7524 flump3dec doesn't have it as part of its class string, so chances
7525 are others might also not have it.
7527 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7549 Update translations from translation project
7551 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7553 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7554 (gst_child_proxy_set_property):
7555 Invert precondition check to be alike the ones in the mimiced gobject
7558 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7560 * docs/design/draft-tagreading.txt:
7561 * docs/random/ensonic/audiobaseclasses.txt:
7562 Do some Architect work.
7564 * gst/gstobject.c: (gst_object_set_name):
7568 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7570 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7572 * gst/gstsystemclock.c: (gst_system_clock_init),
7573 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7574 Defer starting the async system clock thread until the first async
7575 wait is scheduled. Fixes #414986.
7577 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7579 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7580 (gst_single_queue_free):
7581 Fix small leak (free GstSingleQueue structure too, not only contents).
7583 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7585 * gst/gstbin.c:(gst_bin_add):
7586 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7587 * win32/common/libgstbase.def:
7588 * win32/common/libgstreamer.def:
7589 Add new exported functions.
7591 2007-03-09 Wim Taymans <wim@fluendo.com>
7593 * docs/plugins/gstreamer-plugins-sections.txt:
7596 2007-03-09 Wim Taymans <wim@fluendo.com>
7598 * docs/gst/gstreamer-sections.txt:
7599 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7601 Add metadata copy functions. Fixes #393099.
7602 API: gst_buffer_copy_metadata()
7604 * gst/gstutils.c: (gst_buffer_stamp):
7605 * libs/gst/base/gstbasetransform.c:
7606 (gst_base_transform_prepare_output_buffer):
7607 Use new metadata copy functions.
7609 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7611 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7612 (gst_identity_init), (gst_identity_check_perfect),
7613 (gst_identity_check_imperfect_timestamp),
7614 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7615 (gst_identity_set_property), (gst_identity_get_property):
7616 * plugins/elements/gstidentity.h:
7617 Separate out check-imperfect-timestamp and check-imperfect-offset.
7618 Put back check-perfect as it was to keep compatibility.
7620 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7622 * gst/gstelement.c: (gst_element_dispose):
7623 There's no need to warn if VOID_PENDING is not NONE here, as
7624 long as the state is NULL it's ok, and that's checked immediately
7627 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7629 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7630 Fix check for perfect stream to ignore buffers with -1
7631 offsets/offset ends when checking data contiguity.
7633 2007-03-08 Wim Taymans <wim@fluendo.com>
7635 * tools/gst-launch.c: (event_loop):
7636 Print INFO messages.
7638 2007-03-08 Wim Taymans <wim@fluendo.com>
7640 * libs/gst/base/gstbasetransform.c:
7641 (gst_base_transform_sink_eventfunc),
7642 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7643 (gst_base_transform_activate):
7644 * libs/gst/base/gstbasetransform.h:
7645 Add support for dropping buffers with custom GstFlowReturn.
7646 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7647 buffers or dropped buffers.
7649 * docs/libs/gstreamer-libs-sections.txt:
7650 docs for new custom return code.
7652 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7653 Use drop support in base class to implement drop-probability.
7655 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7657 * gst/gst.c: (load_plugin_func):
7658 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7659 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7660 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7661 Remove newlines at end of debug log strings.
7663 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7665 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7666 Only post bus message at max, once per buffer received.
7668 2007-03-07 Wim Taymans <wim@fluendo.com>
7670 * docs/design/Makefile.am:
7671 * docs/design/part-synchronisation.txt:
7672 Add doc about synchronisation
7674 * docs/design/draft-latency.txt:
7675 * docs/design/part-TODO.txt:
7676 * docs/design/part-clocks.txt:
7677 * docs/design/part-events.txt:
7678 * docs/design/part-gstbus.txt:
7679 * docs/design/part-gstpipeline.txt:
7680 * docs/design/part-live-source.txt:
7681 * docs/design/part-messages.txt:
7682 * docs/design/part-overview.txt:
7683 * docs/design/part-streams.txt:
7684 * docs/design/part-trickmodes.txt:
7685 Documentation updates.
7687 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7690 Update the doap file.
7692 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7694 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7695 Rename non-perfect to imperfect for Mike and for the sanctity of the
7697 Also make sure bus message gets emitted for data-incontiguities.
7699 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7701 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7702 (gst_identity_start):
7703 * plugins/elements/gstidentity.h:
7704 Emit bus message if check-perfect is true and we encounter a
7705 non-perfect stream between 2 consecutive buffers.
7708 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7713 === release 0.10.12 ===
7715 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7718 releasing 0.10.12, "Inevitable Demise"
7720 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7723 Version 0.10.11.2 (0.10.12 pre-release)
7724 Bump libtool versioning.
7726 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7728 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7729 Log flow-names and not numbers.
7731 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7734 Convert to new AG_GST style.
7736 2007-02-28 Wim Taymans <wim@fluendo.com>
7738 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7739 Don't unref query twice.
7741 2007-02-28 Wim Taymans <wim@fluendo.com>
7743 * gst/gstvalue.c: (gst_value_transform_object_string),
7744 (_gst_value_initialize):
7745 Implement GstObject -> string transform so we print object names
7746 when serializing GValues containing GstObjects.
7748 2007-02-28 Wim Taymans <wim@fluendo.com>
7750 * docs/gst/gstreamer-sections.txt:
7751 Add new stuff to docs.
7753 2007-02-28 Wim Taymans <wim@fluendo.com>
7755 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7756 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7757 (gst_base_sink_change_state):
7758 Improve latency query code.
7759 Don't leak latency events.
7761 * tests/check/gst/gstbin.c: (GST_START_TEST):
7764 2007-02-28 Wim Taymans <wim@fluendo.com>
7766 * gst/gstelement.c: (gst_element_message_full),
7767 (gst_element_get_state_func):
7769 Improve docs a little. Added Since: for new macro.
7771 * gst/gstobject.c: (gst_object_sink):
7772 * gst/gstpipeline.c: (gst_pipeline_change_state),
7773 (gst_pipeline_set_new_stream_time):
7774 * gst/gstpipeline.h:
7775 Improve debugging and docs.
7777 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7780 2007-02-28 Wim Taymans <wim@fluendo.com>
7782 * gst/gstelement.c: (gst_element_message_full),
7783 (gst_element_set_locked_state), (gst_element_get_state_func),
7784 (gst_element_change_state):
7785 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7786 Documentation updates.
7787 Small code cleanups.
7789 * gst/gstmessage.c: (gst_message_new_info),
7790 (gst_message_parse_info):
7792 API: gst_message_new_info()
7793 API: gst_message_parse_info()
7794 Add INFO message create and parse code.
7796 2007-02-28 Wim Taymans <wim@fluendo.com>
7798 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7799 (bin_query_latency_done):
7800 Also report the live parameter of a latency query.
7802 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7804 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7805 Copy the current generic/states example from -base and adapt so
7806 we can use the exact same code everywhere.
7807 Check a STATES_IGNORE_ELEMENTS env var which can be used
7808 to ignore certain element factories for this test, which is
7809 what is being done in -base
7810 * tests/check/Makefile.am:
7811 Mention this environment variable.
7813 2007-02-27 Wim Taymans <wim@fluendo.com>
7815 * docs/gst/gstreamer-sections.txt:
7816 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7817 (gst_bus_timed_pop), (gst_bus_pop):
7819 API: gst_bus_timed_pop()
7820 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7821 message to arrive on the bus.
7823 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7825 Two unit tests for new _timed_pop() function.
7827 2007-02-23 Wim Taymans <wim@fluendo.com>
7829 * gst/gstpipeline.c: (gst_pipeline_change_state),
7830 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7831 Don't ref a NULL clock in _provide_clock_func().
7832 Don't allow an INVALID delay.
7833 Don't try to calculate base_time with an invalid start_time.
7834 Also distribute and notify a NULL clock when it was selected.
7836 * tools/gst-launch.c: (event_loop):
7837 Don't crash when a NULL clock was selected in the pipeline.
7839 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7841 * docs/design/Makefile.am:
7842 * docs/design/draft-missing-plugins.txt:
7843 * docs/random/draft-missing-plugins.txt:
7844 Some small updates: update plugin system identifier prefix
7845 ('gstreamer.net' to 'gstreamer'), mention our new install
7846 API in libgstbaseutils rather than libgimme-codec, add
7847 reference to the online docs.
7849 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7851 * win32/common/config.h:
7852 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7853 use moap cl ci to only check in what is mentioned in the ChangeLog.
7855 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7857 * docs/gst/gstreamer-sections.txt:
7859 Fix up documentation to link to the correct GstGError section.
7860 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7862 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7864 * tools/gst-launch.c: (event_loop):
7865 Make sure that we actually show the important message part of a
7867 No need to check if the gerror is not NULL to free; first of all
7868 g_free accepts NULL; and second the default error handler would
7869 segfault if gerror was NULL.
7871 2007-02-21 Wim Taymans <wim@fluendo.com>
7873 * docs/gst/gstreamer-sections.txt:
7874 Removed docs as well.
7876 2007-02-21 Wim Taymans <wim@fluendo.com>
7878 * gst/gstmessage.c: (gst_message_parse_duration):
7880 Remove new messages for release.
7882 2007-02-20 Wim Taymans <wim@fluendo.com>
7884 * docs/design/part-gstghostpad.txt:
7885 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7886 (gst_ghost_pad_new_full):
7887 Make the ghostpad a parent of the internal pad again for better backward
7888 compatibility. Don't write code that relies on this however.
7890 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7891 (gst_pad_link_check_hierarchy):
7892 Require that parents should be GstElements in the hierarchy check.
7894 2007-02-20 Wim Taymans <wim@fluendo.com>
7896 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7897 (gst_bin_change_state_func), (bin_query_min_max_init),
7898 (bin_query_latency_fold), (bin_query_latency_done),
7901 Implement latency query.
7903 2007-02-20 Wim Taymans <wim@fluendo.com>
7905 * docs/design/part-gstghostpad.txt:
7906 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7907 (gst_ghost_pad_internal_do_activate_push),
7908 (gst_ghost_pad_internal_do_activate_pull),
7909 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7910 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7911 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7912 Do not set the internal pad as a parent anymore so we can avoid
7913 hierarchy linking errors when the ghostpad has no parent yet. This also
7914 fixes failed activation because of unlinked internal pads, which in
7915 turn fixes the impossible case where you have to activate a pad before
7916 you can add it to a running element.
7919 * gst/gstpad.c: (pre_activate), (post_activate),
7920 (gst_pad_set_active), (gst_pad_activate_pull),
7921 (gst_pad_activate_push), (gst_pad_check_pull_range):
7922 Add some more debug info.
7923 Mark activation mode in pre_activate so that we don't try to activate in
7924 endless loops. Fixes #385084.
7926 2007-02-19 Wim Taymans <wim@fluendo.com>
7928 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7929 (gst_base_transform_check_get_range):
7930 Implement a checkgetrange function instead of relying on the default
7931 core behaviour that assumes we can operate in pull mode if we have a
7932 getrange function. First step at fixing #385084.
7934 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7936 * gst/gstchildproxy.h:
7937 * libs/gst/base/gstbasesink.h:
7938 * libs/gst/base/gstbasesrc.h:
7939 * libs/gst/base/gstbasetransform.h:
7940 More docs coverage and some ChangeLog surgery (add missing names)
7942 2007-02-15 Wim Taymans <wim@fluendo.com>
7944 * docs/design/part-TODO.txt:
7945 * docs/design/part-activation.txt:
7946 * docs/design/part-block.txt:
7947 * docs/design/part-buffering.txt:
7948 * docs/design/part-clocks.txt:
7949 * docs/design/part-element-source.txt:
7950 * docs/design/part-events.txt:
7951 * docs/design/part-gstbin.txt:
7952 * docs/design/part-gstbus.txt:
7953 * docs/design/part-gstpipeline.txt:
7954 * docs/design/part-live-source.txt:
7955 * docs/design/part-messages.txt:
7956 * docs/design/part-overview.txt:
7957 * docs/design/part-qos.txt:
7958 * docs/design/part-query.txt:
7959 * docs/design/part-states.txt:
7960 * docs/design/part-trickmodes.txt:
7961 Some doc updates. Start renaming from stream_time to running_time where
7962 it was used wrongly.
7964 2007-02-15 Wim Taymans <wim@fluendo.com>
7966 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7967 Answer LATENCY query.
7969 2007-02-15 Wim Taymans <wim@fluendo.com>
7971 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7975 2007-02-15 Wim Taymans <wim@fluendo.com>
7977 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7978 (gst_pad_dispatcher):
7979 Improve debugging of default pad dispatcher and query functions.
7981 2007-02-15 Wim Taymans <wim@fluendo.com>
7983 * docs/gst/gstreamer-sections.txt:
7984 Remove old unused method.
7986 2007-02-13 Wim Taymans <wim@fluendo.com>
7988 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7991 2007-02-13 Wim Taymans <wim@fluendo.com>
7993 * docs/design/part-seeking.txt:
7996 * gst/gstsegment.c: (gst_segment_set_seek):
7997 Revert old bogus change that should make seeking work again.
7999 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8001 * docs/random/ensonic/dynlink.txt:
8002 * docs/random/ensonic/interfaces.txt:
8003 * docs/random/ensonic/receipies.txt:
8004 Possible dynamic reconnection api, plus some type fixes the other two
8007 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8009 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8010 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8011 Also check for an absolute path following file:// in the filesrc
8012 element. Remove redundant check and call g_path_is_absolute() on the
8015 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8017 * docs/design/draft-klass.txt:
8018 Add existing category analysis.
8021 Fix doc example, framerate is a fraction.
8023 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8026 * docs/gst/Makefile.am:
8027 * docs/gst/gstreamer-sections.txt:
8028 * docs/libs/Makefile.am:
8029 Erm, forgot a bunch of --extra-dir.
8031 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8034 * docs/gst/Makefile.am:
8035 * docs/libs/Makefile.am:
8036 * docs/plugins/Makefile.am:
8037 Add crossreferences to glib/gobject docs.
8039 2007-02-12 Wim Taymans <wim@fluendo.com>
8041 * docs/design/draft-latency.txt:
8044 * docs/libs/gstreamer-libs-sections.txt:
8045 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8046 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8047 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8048 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8049 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8050 (gst_base_sink_get_position), (gst_base_sink_query),
8051 (gst_base_sink_change_state):
8052 * libs/gst/base/gstbasesink.h:
8053 API: gst_base_sink_query_latency() to let subclasses query the upstream
8055 API: gst_base_sink_get_latency() to let subclasses query the configured
8056 latency in the sink.
8057 Implement query and set latency.
8059 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8060 don't continue preroll when we are flushing. Fixes #405284.
8062 * tests/check/pipelines/stress.c: (change_state_timeout),
8063 (quit_timeout), (GST_START_TEST), (stress_suite):
8066 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8068 Patch by: René Stadler <mail at renestadler de>
8070 * docs/gst/gstreamer-sections.txt:
8071 * gst/gsttaglist.c: (_gst_tag_initialize):
8073 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8075 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8077 * docs/libs/Makefile.am:
8078 Fix path to core docs.
8080 * gst/gstbin.c: (gst_bin_get_by_interface),
8081 (gst_bin_iterate_all_by_interface):
8082 Refix docs by also renaming 'interface' to 'iface' in implementation.
8084 * docs/gst/gstreamer-sections.txt:
8086 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8087 * gst/gstchildproxy.h:
8088 * gst/gstelementfactory.c:
8089 * gst/gstpadtemplate.h:
8090 * libs/gst/controller/gstcontroller.c:
8091 (gst_controlled_property_new):
8094 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8096 * gst/gstbin.h:(gst_bin_get_by_interface),
8097 (gst_bin_iterate_all_by_interface):
8098 Replace interface parameter name by iface as interface is
8099 a reserved keyword in Visual Studio for C++ projects so it removes
8100 a build error for application developpers using VS.
8101 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8102 Fix a bug on Windows in uri format check. Now the prefix checked
8103 is file:// and next we check if the path after file:// is absolute.
8104 * win32/common/libgstbase.def:
8105 * win32/common/libgstdataprotocol.def:
8106 * win32/common/libgstgstreamer.def:
8107 Add new exported functions.
8109 2007-02-09 Andy Wingo <wingo@pobox.com>
8111 * tests/check/pipelines/simple-launch-lines.c
8112 (simple_launch_lines_suite, test_tee): Disable tee test until I
8113 have time to fix it :-(
8115 * tests/check/Makefile.am (noinst_HEADERS):
8116 * tests/check/libs/libsabi.c:
8117 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8118 * tests/check/gst/gstabi.c:
8119 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8121 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8122 tests for push and pull tee behavior.
8124 * plugins/elements/gsttee.h:
8125 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8126 mark as deprecated as well as unimplemented. It was a crack idea.
8127 Add support for tee operating in pull mode, off by default.
8129 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8130 normal-case logs down to LOG, raise errors to WARNING.
8131 (gst_registry_xml_read_cache): Don't log before calling a function
8134 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8135 exit (registry finalize).
8136 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8137 DEBUG log when we emit signals that people don't even have the
8138 chance to connect to.
8139 (gst_registry_scan_path_level): Less logging in the normal case.
8141 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8143 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8145 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8146 Correctly generate EOS for non-seekable files. We don't have a total
8147 length for them and would get an unexpected end of file if we only
8148 special-cased for regular files. (Fixes: #404569)
8150 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8152 * tests/check/elements/filesrc.c: (GST_START_TEST),
8154 Add unit test for the GstURIHandler interface in filesrc. This also
8155 tests the newly added file://localhost/foo/bar support.
8157 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8159 * gst/gstelementfactory.h:
8160 The klass string is not a hierarchy. Add reference to the design doc
8161 for more information and common types.
8163 2007-02-02 Wim Taymans <wim@fluendo.com>
8165 * gst/gstquery.c: (gst_query_new_latency):
8166 Remove old structure field.
8168 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8170 * tools/gst-launch.1.in:
8171 Give example for network streaming (#351998)
8173 2007-02-02 Wim Taymans <wim@fluendo.com>
8175 * docs/gst/gstreamer-sections.txt:
8176 Add docs for new methods.
8178 * gst/gstevent.c: (gst_event_new_latency),
8179 (gst_event_parse_latency):
8181 Add new LATENCY event to configure latency in a pipeline.
8182 API: gst_event_new_latency
8183 API: gst_event_parse_latency
8185 * gst/gstmessage.c: (gst_message_new_buffering),
8186 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8187 (gst_message_new_latency), (gst_message_parse_buffering),
8188 (gst_message_parse_lost_preroll):
8190 Added messages used in draft-latency.
8191 API: gst_message_new_lost_preroll
8192 API: gst_message_parse_lost_preroll
8193 API: gst_message_new_prerolled
8194 API: gst_message_new_latency
8196 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8197 (gst_query_parse_latency):
8199 Implemented new latency query as in design doc.
8200 API: gst_query_new_latency
8201 API: gst_query_set_latency
8202 API: gst_query_parse_latency
8204 2007-02-02 Wim Taymans <wim@fluendo.com>
8206 * docs/design/draft-latency.txt:
8207 Slight redesign to allow for dynamic latency adjustments.
8209 * docs/design/part-negotiation.txt:
8212 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8214 reviewed by: Wim Taymans <wim@fluendo.com>
8216 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8217 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8218 Allow file://localhost/foo/bar URLs and correctly fail for every other
8219 hostname that one sets. This was gnomevfssrc is linked for those if
8220 installed as it can handle it (#403172)
8222 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8224 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8226 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8227 (unref_data), (gst_collect_pads_add_pad_full):
8228 * libs/gst/base/gstcollectpads.h:
8229 Don't put the previously added destroy notify in the GstCollectData
8230 struct as all it's padding is already used and we don't want to break
8231 ABI. Instead put in the pad's GObject data for now. This should be
8232 cleaned up for 0.11 (#402393).
8234 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8236 reviewed by: Wim Taymans <wim@fluendo.com>
8238 * docs/libs/gstreamer-libs-sections.txt:
8239 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8240 (unref_data), (gst_collect_pads_add_pad),
8241 (gst_collect_pads_add_pad_full):
8242 * libs/gst/base/gstcollectpads.h:
8243 API: Add function to specify a destroy notification for custom
8244 GstCollectData when adding new pads in GstCollectPads (#402393).
8246 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8249 Update Swedish translation (#378255).
8251 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8253 * docs/design/draft-klass.txt:
8254 Fix the previous change, this is a list of categories and not a hierarchy.
8256 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8258 * docs/design/draft-klass.txt:
8259 Add info about how to get a list of used classes.
8261 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8263 * plugins/elements/gsttypefindelement.c:
8264 (gst_type_find_element_chain_do_typefinding),
8265 (gst_type_find_element_change_state):
8266 Don't leak found caps in chain function (no idea why that never
8267 showed up as a leak anywhere).
8269 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8272 Fix and expand GstPluginDesc API docs.
8274 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8277 * gst/gstelementfactory.c:
8278 * gst/gstpadtemplate.h:
8281 * libs/gst/controller/gstcontroller.c:
8282 (gst_controlled_property_new):
8283 * tests/examples/controller/audio-example.c:
8286 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8289 comment about refining the xml deps
8292 comments about moving away from jade for docs
8295 recommit the ifdefs to use the binary registry
8297 * gst/gstbin.c: (gst_bin_change_state_func):
8298 this break is obsolete
8300 * gst/gstelementfactory.h:
8301 better GST_ELEMENT_DETAILS docs, add comment about translation
8306 * gst/gstobject.c: (gst_signal_object_get_type):
8307 add G_UNLIKELY as usual
8309 * gst/gstpad.c: (gst_pad_event_default):
8310 add fall trhu comment
8312 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8313 (gst_registry_binary_initialize_magic),
8314 (gst_registry_binary_save_string),
8315 (gst_registry_binary_save_pad_template),
8316 (gst_registry_binary_save_feature),
8317 (gst_registry_binary_save_plugin),
8318 (gst_registry_binary_write_cache),
8319 (gst_registry_binary_check_magic),
8320 (gst_registry_binary_load_pad_template),
8321 (gst_registry_binary_load_feature),
8322 (gst_registry_binary_load_plugin),
8323 (gst_registry_binary_read_cache):
8324 comment typo and formatting
8326 * gst/gstutils.c: (gst_element_state_get_name),
8327 (gst_element_state_change_return_get_name):
8328 remove obsolete breaks
8330 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8331 add FIXME 0.11 and remove cpp comment
8333 2007-01-29 Edward Hervey <edward@fluendo.com>
8335 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8336 Fix print statement in an even more portable way.
8338 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8340 * docs/gst/gstreamer-sections.txt:
8342 API: add GST_ROUND_DOWN_* macros (#401781).
8344 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8346 * docs/gst/gstreamer.types.in:
8347 * gst/gstregistry.c: (gst_registry_class_init):
8348 Document registry signals and make gtk-doc pick them up (#401381).
8350 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8352 * docs/pwg/building-testapp.xml:
8353 Add some audioconverts and audioresample to the pipeline, and some
8354 more comments and error handling.
8356 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8358 * docs/manual/manual.xml:
8362 2007-01-26 Wim Taymans <wim@fluendo.com>
8364 * gst/gstcaps.c: (gst_static_caps_get):
8365 Init caps flags too.
8367 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8369 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8371 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8372 If not using mmap'ed files try to seek to the end instead of the
8373 start to determine whether we can seek at all. This fixes the case
8374 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8375 seeks for everything afterwards fail. Fixes #400656
8377 2007-01-25 Wim Taymans <wim@fluendo.com>
8379 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8380 Add some refcount debugging.
8381 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8382 in multiple streaming threads.
8384 2007-01-25 Wim Taymans <wim@fluendo.com>
8386 Patch by: David Schleef <ds at schleef dot org>
8388 * docs/libs/gstreamer-libs-sections.txt:
8389 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8390 * libs/gst/base/gstadapter.h:
8391 API: gst_adapter_copy() that can reduce the amount of memcpy when
8392 getting data from the adapter. Fixes #388201.
8394 2007-01-25 Edward Hervey <edward@fluendo.com>
8396 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8397 In print statements, "%x" is for guint. Fixes build on macosx.
8399 2007-01-24 Edward Hervey <edward@fluendo.com>
8401 * plugins/elements/gstmultiqueue.c:
8402 (gst_multi_queue_loop):
8404 (single_queue_overrun_cb), (single_queue_underrun_cb),
8405 (single_queue_check_full), (gst_single_queue_new):
8406 Implement single queue growth system.
8407 This uses the extra-size properties, and will grow single queues by
8408 that much if one goes full whereas there are others empty. This is
8409 called extra-mode in the code.
8410 When a single queue's levels go back below the initial max-size
8411 limits, it is no longer in extra-mode. This is to ensure we don't
8412 consume too much memory.
8415 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8417 * gst/gst.c: (gst_init_get_option_group):
8418 Make warning about late g_thread_init() calls a bit more explicit,
8419 so that it's more obvious to application developers what they need
8420 to do if a user files a bug against their application.
8422 2007-01-22 Edward Hervey <edward@fluendo.com>
8424 * plugins/elements/gstmultiqueue.c:
8425 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8426 Remove previous hack of unsetting the flushing flag for the source pad
8427 instead of activating it. Instead, fix the source pad activate function
8428 so that it no longer depends on having a parent set or not.
8430 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8432 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8434 * docs/manual/basics-bus.xml:
8435 Fix example code, gst_element_unref() doesn't exist any longer.
8437 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8439 Patch by: Mark Nauwelaerts <manauw at skynet be>
8442 Fix two docs typoes (#399094).
8444 2007-01-19 Edward Hervey <edward@fluendo.com>
8446 * docs/faq/gst-uninstalled:
8447 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8448 depending on libgstbaseutils can work in uninstalled environment.
8450 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8453 * gst/gsttagsetter.c:
8454 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8455 statement for new tag.
8457 2007-01-17 Edward Hervey <edward@fluendo.com>
8459 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8460 When dynamically creating single queues, activate sinkpad before adding
8462 We should be doing the same thing for the source pad, but we can't
8463 since it would call a method which needs the parent to be set in order
8464 to work propertly. Instead of activating the source pad, we just unset
8465 the flushing flag, which is the minimal requirement for adding a pad
8466 to an element in a state greater than READY.
8468 2007-01-17 Edward Hervey <edward@fluendo.com>
8470 * docs/faq/gst-uninstalled:
8471 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8474 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8476 * tests/check/gst/gstabi.c:
8477 * tests/check/gst/struct_hppa.h:
8478 * tests/check/libs/libsabi.c:
8479 * tests/check/libs/struct_hppa.h:
8480 Add ABI structs for HPPA (see #393796).
8482 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8484 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8485 Actually write ABI structs to the file specified in the GST_ABI
8486 environment variable, as the message we print claims we would.
8488 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8490 * tests/check/gst/gsttask.c:
8493 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8495 * gst/gsttaglist.c: (_gst_tag_initialize):
8496 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8497 previous two entries.
8499 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8501 * docs/gst/gstreamer-sections.txt:
8502 * gst/gsttaglist.c: (_gst_tag_initialize):
8504 Add tag support for beat-per-minute.
8506 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8508 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8509 (gst_registry_binary_initialize_magic),
8510 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8511 (gst_registry_binary_save_pad_template),
8512 (gst_registry_binary_save_feature),
8513 (gst_registry_binary_save_plugin),
8514 (gst_registry_binary_write_cache),
8515 (gst_registry_binary_check_magic),
8516 (gst_registry_binary_load_pad_template),
8517 (gst_registry_binary_load_feature),
8518 (gst_registry_binary_load_plugin),
8519 (gst_registry_binary_read_cache):
8520 * gst/gstregistrybinary.h:
8521 Use glib types, cleanup comments, impement interfaces and uri-types.
8523 2007-01-13 Andy Wingo <wingo@pobox.com>
8525 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8526 getrange() to return buffers with other caps, while we fix
8527 demuxers and typefind, or otherwise change part-negotiation.txt.
8529 2007-01-12 Andy Wingo <wingo@pobox.com>
8531 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8532 Factor start/stop into this private function instead of partially
8533 in activate functions and partially in the change_state function.
8534 Fixes setup before the element has changed from READY->PAUSED, as
8535 is the case in pull-mode pipelines.
8536 (gst_base_transform_sink_activate_push)
8537 (gst_base_transform_src_activate_pull): Refactor to use
8538 gst_base_transform_activate().
8539 (gst_base_transform_change_state): Removed, not needed any more.
8541 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8542 Truncate before fixating.
8544 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8545 Don't set_caps() if the result of fixating is ANY, as it's not
8546 supported, and not necessary in the case of a link with no
8547 template caps on either side. Fixes tests/check/libs/basesrc in
8548 some pull-mode tests.
8550 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8551 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8552 (gst_base_transform_src_activate_pull):
8553 Track the activation mode.
8554 (gst_base_transform_setcaps): In pull mode, when activating the
8555 src pad, after activating the sink pad, activate the sink pad's
8556 peer, as discussed in part-negotiation.txt.
8558 * libs/gst/base/gstbasesrc.h:
8559 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8560 vmethod, as in basesink.
8562 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8564 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8565 mode, first proxy the setcaps to the peer pad.
8566 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8568 (gst_base_sink_default_activate_pull): Rename from
8569 gst_base_sink_activate_pull.
8570 (gst_base_sink_negotiate_pull): New function, performs negotiation
8571 in pull mode before calling ::activate_pull().
8572 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8573 vmethod instead of the default implementation. I have no idea how
8574 this worked before. Negotiate before calling activate_pull.
8576 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8577 sink pads in pull mode. In addition to being correct, fixes
8578 filesrc ! decodebin ! identity ! fakesink.
8579 (gst_pad_get_range, gst_pad_pull_range): Don't call
8580 gst_pad_set_caps() if the caps changes; instead error out with
8581 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8583 2007-01-12 Andy Wingo <wingo@pobox.com>
8585 * docs/design/part-negotiation.txt: Update with more policy.
8587 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8589 * libs/gst/check/gstbufferstraw.h:
8590 * libs/gst/check/gstcheck.h:
8591 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8594 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8596 * tests/check/Makefile.am:
8597 * tests/check/gst/.cvsignore:
8598 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8599 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8600 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8601 (GST_START_TEST), (gst_tag_setter_suite):
8602 Add minimal unit test for beforementioned GstTagSetter bug.
8604 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8606 Patch by: René Stadler <mail at renestadler dot de>
8608 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8609 gst_tag_list_merge() returns a new list, so it's not the best idea
8610 to ingore its return value. Effectively meant that tags could only
8611 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8612 Also add function guard to require a non-NULL taglist as input (has
8613 always been so due to gst_tag_list_copy(), just making it explicit).
8615 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8617 * docs/random/draft-missing-plugins.txt:
8618 Some additions: mention new API that is supposed to be used at the
8619 various stages; short blob about new gst-inspect introspection
8620 option; mention potential future problem with plugins that have
8621 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8623 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8625 * tools/gst-inspect.c:
8626 (print_plugin_automatic_install_info_codecs),
8627 (print_plugin_automatic_install_info_protocols),
8628 (print_plugin_automatic_install_info), (main):
8629 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8630 introspect plugin files and get machine-parsable output that corresponds
8631 to the last bit of the missing-plugin installer string (small gotcha:
8632 doesn't take into account ranks).
8634 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8637 * docs/gst/gstreamer-sections.txt:
8639 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8640 (gst_registry_lookup_locked):
8641 * gst/gstregistry.h:
8642 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8643 (gst_registry_binary_initialize_magic),
8644 (gst_registry_binary_save_string),
8645 (gst_registry_binary_save_pad_template),
8646 (gst_registry_binary_save_feature),
8647 (gst_registry_binary_save_plugin),
8648 (gst_registry_binary_write_cache),
8649 (gst_registry_binary_check_magic),
8650 (gst_registry_binary_load_pad_template),
8651 (gst_registry_binary_load_feature),
8652 (gst_registry_binary_load_plugin),
8653 (gst_registry_binary_read_cache):
8654 * gst/gstregistrybinary.h:
8655 * gst/gstregistryxml.c: (load_feature),
8656 (gst_registry_xml_read_cache):
8657 commit binary registry (disabled by default, see #359653)
8659 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8661 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8662 Fix 'make check' too.
8664 2007-01-10 Andy Wingo <wingo@pobox.com>
8666 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8669 * docs/design/part-negotiation.txt: Update with, um, one way that
8670 pull-mode negotiation might work?
8673 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8674 that the pad must be a src pad; makes sense to call it the other
8675 way in pull mode, and the logic is symmetric anyway.
8677 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8679 * plugins/elements/gstfilesink.c:
8680 Include <stdio.h> for fseeko().
8682 2007-01-10 Wim Taymans <wim@fluendo.com>
8686 Reserve LATENCY event.
8688 2007-01-09 Wim Taymans <wim@fluendo.com>
8690 * docs/design/draft-latency.txt:
8693 2007-01-09 Wim Taymans <wim@fluendo.com>
8695 * docs/design/draft-latency.txt:
8699 * gst/gststructure.c:
8703 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8705 * tests/check/.cvsignore:
8706 Ignore test-registry.xml as well.
8708 2007-01-09 Wim Taymans <wim@fluendo.com>
8710 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8711 unref data at the end when we are done with the pad.
8713 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8715 * docs/gst/gstreamer-sections.txt:
8716 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8717 (init_post), (gst_deinit), (gst_update_registry):
8719 API: add gst_update_registry() (#391296).
8721 * tests/check/Makefile.am:
8722 * tests/check/gst/gstregistry.c:
8723 * tests/check/gst/.cvsignore:
8724 Simple unit test for the above.
8726 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8728 * gst/gstregistry.c: (gst_registry_scan_path_level):
8729 Plugin extension on HP-UX is .sl, add that to the list of approved
8730 plugin extensions (see #393796).
8732 * tests/check/gst/gstpad.c: (GST_START_TEST):
8733 ulong => gulong. Fixes compilation with HP-UX compiler.
8735 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8736 Fix compilation if valgrind headers are not available.
8738 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8740 * win32/common/libgstreamer.def:
8741 Add new exported function.
8742 * win32/vs6/libgstbase.dsp:
8743 Add gstdataqueue.c to the build.
8744 * win32/vs6/libgstcoreelements.dsp:
8745 Add gstmultiqueue.c to the build.
8747 2007-01-06 Andy Wingo <wingo@pobox.com>
8749 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8750 activate_pull(), providing for a way to specialize the process of
8751 spawning a thread to pull on the sink pad. There is a default
8754 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8755 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8756 (gst_base_sink_init): Renamed pad activation functions (inserting
8757 "_pad" in their names). Refactor to use the new activate_pull
8758 vmethod, as appropriate.
8759 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8760 default activate_pull function to start a task pulling from the
8761 sink pad, as before.
8763 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8764 on the pads if necessary, as in push()/chain(). Update docs.
8765 Shouldn't affect existing pull() usage as it is currently only
8766 being used on buffers without caps.
8768 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8770 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8772 Call g_thread_init() first thing in gst_init() / gst_check_init().
8773 When initialisation is done via gst_init_get_option_group() and
8774 GOption parsing, issue a warning if the GLib thread system has not
8775 been initialised yet by the time gst_init_get_option_group() is
8776 called, as it's quite likely other GLib functions such as
8777 g_option_context_new() have been called already then, and
8778 g_thread_init() must be called before any other GLib function. The
8779 application in question must be fixed in that case, since memory
8780 corruption might happen otherwise.
8781 We issue the warning because even if the GLib folks decide to work
8782 around the problem on their end in future, this is still an issue
8783 with all GLib versions >= 2.10.0, so we should warn until we depend
8784 on a GLib version we know to be safe.
8785 Update documentation as well.
8788 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8790 * tools/gst-inspect.c: (main):
8791 * tools/gst-launch.c: (main):
8792 * tools/gst-typefind.c: (main):
8793 * tools/gst-xmlinspect.c: (main):
8794 Call g_thread_init() really really early, before any other GLib
8795 function (see #342564 and recent discussion on gtk-devel-list).
8797 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8799 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8801 * gst/gst_private.h:
8802 * gst/gstconfig.h.in:
8804 On win32, all the __declspec stuff for symbol exporting is
8805 apparently only needed with MSVC, but doesn't work with MingW.
8806 Fixes compilation with MingW and #391909.
8808 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8810 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8811 Change some GST_ERROR_OBJECT that aren't really errors to
8812 GST_WARNING_OBJECT in order to reduce terminal spam.
8814 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8816 * tests/check/Makefile.am:
8817 disable test again, as there seem to be still race problems
8819 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8821 * tests/check/Makefile.am:
8822 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8823 (GST_START_TEST), (queue_suite):
8824 enable queue test again, add tests for the leaky behaviour
8826 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8829 * tests/examples/Makefile.am:
8830 Compile adapter test/example only if the required headers are
8831 available (fixes #391915).
8833 2007-01-01 David Schleef <ds@schleef.org>
8836 Restore the previous signal handler for SIGSEGV instead of
8837 setting to default, since we may have stolen it away from
8838 someone. (i.e., Mono)
8840 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8842 * docs/random/draft-missing-plugins.txt:
8843 Some small additions and clarifications.
8845 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8847 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8848 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8849 since that can lead to random memory corruptions and crashes
8850 (may or may not be related to #383244, #386711, and #386711).
8852 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8854 * tests/check/.cvsignore:
8855 * tests/check/Makefile.am:
8856 sync .cvsignome and CLEANFILES
8858 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8860 * tests/check/Makefile.am:
8863 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8865 * docs/design/part-states.txt:
8866 two tiny additional comments
8868 * gst/gststructure.c:
8871 * tests/check/Makefile.am:
8872 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8874 disable test for now, unless it gets fixed
8876 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8878 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8880 fix race in underrun test
8882 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8884 * tests/check/elements/.cvsignore:
8887 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8889 try to narrow test failure
8891 2006-12-21 David Schleef <ds@schleef.org>
8893 * plugins/elements/gstfakesrc.c:
8894 Use g_random_int_range(), since it produces better random
8895 numbers in a range than almost-correct floating point code.
8897 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8899 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8900 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8901 (gst_check_teardown_sink_pad):
8902 do not automatically (de)activate pads
8904 * tests/check/Makefile.am:
8905 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8906 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8907 add new, yet simple tests for queue
8909 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8910 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8911 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8913 * tests/check/elements/identity.c: (cleanup_identity):
8914 consistent pad (de)activation
8916 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8918 Patch by: Sebastian Dröge <slomo ubuntu com>
8920 * libs/gst/base/gstcollectpads.c:
8921 Fix two doc typos (#387866).
8923 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8925 * docs/manual/advanced-dparams.xml:
8926 Fix typo (g_object_control_properties() doesn't exist).
8928 2006-12-19 Edward Hervey <edward@fluendo.com>
8930 * gst/gstsegment.c: (gst_segment_set_seek):
8931 Fine tune the cases where the segment start/stop values are really
8933 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8934 Add tests for the return values of gst_segment_set_seek().
8936 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8941 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8943 Fix incorrect documentation and flesh it out a bit more.
8944 Set default values for the max properties on the GParamSpec as well,
8945 so it shows up correctly in gst-inspect.
8947 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8949 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8950 Correct docs of queue, add more detail and crosslink it more.
8952 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8954 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8955 Print additional debug info when the stream isn't perfectly
8956 timestamped; don't try to use invalid durations.
8958 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8960 * docs/design/Makefile.am:
8961 Dist new design docs.
8963 2006-12-16 Wim Taymans <wim@fluendo.com>
8965 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8967 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8968 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8969 (gst_collect_pads_stop), (gst_collect_pads_event),
8970 (gst_collect_pads_chain):
8971 * libs/gst/base/gstcollectpads.h:
8972 Add refcounting to the collectpads data so we can track when it's safe
8973 to free the data. Fixes #383382.
8975 2006-12-15 Wim Taymans <wim@fluendo.com>
8977 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8978 (gst_collect_pads_remove_pad):
8979 Automatically activate/deactivate pads when they are added to a
8980 started/stoped collectpads.
8982 2006-12-15 Wim Taymans <wim@fluendo.com>
8984 * gst/gstelement.c: (gst_element_add_pad):
8985 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8986 * gst/gstpad.c: (gst_pad_init):
8987 Set pads to FLUSHING when they are created. Check, warn and fix when a
8988 demuxer adds an inactive pad to itself when running. Fixes #339326.
8990 2006-12-15 Wim Taymans <wim@fluendo.com>
8992 * gst/gstelement.c: (gst_element_class_init),
8993 (gst_element_default_send_event), (gst_element_send_event),
8994 (gst_element_default_query), (gst_element_query):
8995 Expose default element send_event and query handling as vmethods that
8996 subclasses can chain up to.
8998 2006-12-15 Wim Taymans <wim@fluendo.com>
9000 * gst/gstelement.c: (gst_element_set_state_func):
9001 Small documentation fixes.
9003 2006-12-15 Wim Taymans <wim@fluendo.com>
9005 * docs/design/draft-latency.txt:
9006 Checked in draft for handling latency in pipelines.
9008 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9012 * gstreamer.spec.in:
9015 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9017 * gst/gst.c: (init_pre), (init_post):
9018 init_pre() and init_post() might be called via our GOptionGroup or
9019 from gst_init(), and we should skip both of them if we've already
9020 been initialised, otherwise we will init some things twice or add
9021 two default log functions.
9023 2006-12-13 Edward Hervey <edward@fluendo.com>
9025 * docs/manual/basics-bus.xml:
9026 No, gst_main_loop does not exist. Its g_main_loop.
9027 Discovered by somebody who abused the copy-paste technique of coding :)
9029 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9031 * gst/gstghostpad.c:
9032 Log ghostpad debug stuff to the GST_PADS category as well rather
9033 than just to the default category.
9035 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9038 * gst/gst.c: (init_pre):
9039 Add some basic system details such as OS and architecture
9040 to the debug output if possible, courtesy of uname().
9042 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9044 * docs/gst/running.xml:
9045 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9046 environment variables.
9048 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9050 * tests/check/gst/gstbin.c: (GST_START_TEST):
9051 It is acceptable to have a refcount of 2 or 3 at this point in the
9052 test, because the pipeline might be just posting its state_change
9053 message. The next line then waits for that message to appear using
9054 bus_poll, so that should be fine too.
9056 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9058 * gst/gst.c: (ensure_current_registry_forking):
9059 Ignore EINTR when reading from the child registry pipe.
9060 Explicitly ignore the return value from close, since it makes no
9063 * gst/gstminiobject.c: (gst_mini_object_ref),
9064 (gst_mini_object_unref):
9065 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9067 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9068 When removing cached plugins, remove their features too, so they're
9069 not visible after they've disappeared.
9071 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9072 In the unlikely case that we are linking pads with no parents, don't
9073 crash trying to get the non-existent parent bin.
9075 * gst/parse/grammar.y:
9076 Output debug in the PIPELINE category
9078 2005-03-08 Wim Taymans <wim@fluendo.com>
9080 Patch by: René Stadler <mail at renestadler dot de>
9082 * gst/gstclock.c: (gst_clock_new_periodic_id):
9083 Reject invalid clock times for interval of periodic ids.
9086 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9088 * gst/gstelementfactory.c: (gst_element_factory_create):
9089 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9090 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9091 * tools/gst-inspect.c: (print_element_info):
9092 Fix refcounting of gst_plugin_feature_load to match the docs.
9095 2006-12-07 Wim Taymans <wim@fluendo.com>
9097 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9098 (gst_base_sink_get_position):
9099 Improve debugging of events.
9101 2006-12-07 Wim Taymans <wim@fluendo.com>
9103 Patch by: René Stadler <mail at renestadler dot de>
9105 * gst/gstclock.c: (gst_clock_id_wait):
9106 Make period ids add the interval to the origial requested time instead
9107 of the possibly updated time which can be wrong when there are multiple
9108 waiters for the same id. Fixes #382592.
9110 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9111 (gst_system_clock_id_wait_jitter_unlocked),
9112 (gst_system_clock_id_wait_jitter):
9113 Fix restart in the async notify thread when an async entry is added to
9114 the front of the list. Fixes #381492.
9116 * tests/check/gst/gstsystemclock.c: (store_callback),
9117 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9118 Added test for multiple async waits.
9119 Added test for async wait order.
9121 2006-12-07 Wim Taymans <wim@fluendo.com>
9123 * gst/gstbin.c: (gst_bin_query):
9124 Add some more docs about the POSITION query.
9126 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9129 Bump version nano - back to CVS.
9131 === release 0.10.11 ===
9133 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9136 releasing 0.10.11, "Love never runs on time"
9138 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9140 * win32/common/libgstbase.def:
9141 * win32/common/libgstreamer.def:
9142 * win32/vs8/libgstbase.vcproj:
9143 * win32/vs8/libgstcoreelements.vcproj:
9144 * win32/vs8/libgstreamer.vcproj:
9145 Fix compilation on win32 under VS8
9146 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9147 Partially fixes #381175
9149 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9151 * gst/gstvalue.c: (gst_value_compare_fraction):
9152 If someone is foolish enough to compare 2 fractions with denominator =
9153 0, return UNORDERED rather than aborting.
9155 2006-11-28 Edward Hervey <edward@fluendo.com>
9157 * libs/gst/base/Makefile.am:
9158 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9159 (gst_data_queue_base_init), (gst_data_queue_class_init),
9160 (gst_data_queue_init), (gst_data_queue_new),
9161 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9162 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9163 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9164 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9165 (gst_data_queue_set_flushing), (gst_data_queue_push),
9166 (gst_data_queue_pop), (gst_data_queue_drop_head),
9167 (gst_data_queue_set_property), (gst_data_queue_get_property):
9168 * libs/gst/base/gstdataqueue.h:
9169 New GstDataQueue object for threadsafe queueing. Most useful for
9170 elements that need some queueing functionnality.
9171 * docs/libs/gstreamer-libs-docs.sgml:
9172 * docs/libs/gstreamer-libs-sections.txt:
9173 Insert documentation for GstDataQueue
9174 * plugins/elements/Makefile.am:
9175 * plugins/elements/gstelements.c:
9176 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9177 (gst_multi_queue_class_init), (gst_multi_queue_init),
9178 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9179 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9180 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9181 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9182 (gst_multi_queue_loop), (gst_multi_queue_chain),
9183 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9184 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9185 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9186 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9187 (wake_up_next_non_linked), (compute_next_non_linked),
9188 (single_queue_overrun_cb), (single_queue_underrun_cb),
9189 (single_queue_check_full), (gst_single_queue_new):
9190 * plugins/elements/gstmultiqueue.h:
9191 New multiqueue element, using GstDataQueue. Used for queuing multiple
9193 Closes #344639 and #347785
9195 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9197 * docs/pwg/advanced-types.xml:
9198 add more missing type details
9200 * tools/gst-run.c: (main):
9201 remove unused variable
9203 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9205 * docs/libs/Makefile.am:
9206 * docs/libs/gstreamer-libs.types:
9207 add types of base classes to enable gobject specific stuff in the docs
9209 * docs/random/ensonic/embedded.txt:
9210 more ideas about isolating platform specific things
9212 2006-11-20 Wim Taymans <wim@fluendo.com>
9214 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9216 * libs/gst/check/gstcheck.h:
9217 Fix compilation and running against 0.9.4. Fixes #377332.
9219 2006-11-20 Wim Taymans <wim@fluendo.com>
9221 * gst/gstsegment.c: (gst_segment_set_seek),
9222 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9223 (gst_segment_to_running_time):
9224 Fix boundary checking in to_running_time() and to_stream_time().
9227 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9228 stream and running time can now be calculated for the complete
9231 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9233 * gst/gstpad.c: (gst_pad_push_event):
9234 Can't access event structure after giving away ownership of
9237 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9239 * docs/random/ensonic/embedded.txt:
9240 * docs/random/ensonic/profiling.txt:
9241 * docs/random/ensonic/receipies.txt:
9244 2006-11-13 Wim Taymans <wim@fluendo.com>
9246 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9249 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9251 2006-11-13 Wim Taymans <wim@fluendo.com>
9253 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9255 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9256 Store new length in segment duration so we don't keep on calling the
9257 potentially expensize get_size() call. Fixes #370865.
9259 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9261 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9263 * win32/common/libgstreamer.def:
9264 Add two missing symbols (#366492).
9266 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9268 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9269 (gst_adapter_take_buffer):
9270 Fix format string to use all its arguments.
9271 Remove useless >= check on a guint
9273 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9275 * tests/examples/adapter/.cvsignore:
9276 Ignore build file as commanded by the build-bot
9278 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9280 * tests/examples/adapter/Makefile.am:
9281 * tests/examples/adapter/adapter_test.c: (run_test_take),
9282 (run_test_take_buffer), (run_tests), (main):
9284 Add new files from the previous commit
9286 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9290 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9291 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9292 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9293 * libs/gst/base/gstadapter.h:
9294 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9295 (GST_START_TEST), (gst_adapter_suite):
9296 * tests/examples/Makefile.am:
9297 Do some optimisation work in GstAdapter to avoid copies in more cases.
9298 It could still do slightly better by merging buffers when
9299 gst_buffer_is_span_fast is true, but is already faster.
9301 Also, avoid traversing a single-linked list to append each incoming
9302 buffer inside the adapter.
9304 Add simple test app that times the adapter behaviour in different
9305 situations, and extend the unit test to check that bytes enter and
9306 exit the adapter in their original order.
9308 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9310 * docs/random/draft-missing-plugins.txt:
9311 Update: use element message instead of adding a new message
9312 type to the core; don't provide GStreamer API to initiate the
9313 plugin download, just provide API to compose the strings needed
9314 and let an external libgimmestuff handle the rest.
9316 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9318 * tools/gst-inspect.c: (print_element_properties_info):
9319 Print a string instead of 'unknown type' for GValueArray properties
9321 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9323 * docs/random/draft-missing-plugins.txt:
9326 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9328 * tests/examples/typefind/typefind.c: (type_found), (main):
9329 Make typefind element example work again (#371894); add a
9332 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9334 * docs/random/draft-missing-plugins.txt:
9335 Commit initial draft about how to deal with missing plugins,
9336 needs work (API too).
9338 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9340 * docs/pwg/advanced-types.xml:
9341 documents the new caps elements (see #363118)
9343 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9345 * gst/gstplugin.c: (gst_plugin_load_file):
9346 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9347 (gst_file_src_map_region), (gst_file_src_start):
9348 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9349 (gst_file_index_commit):
9350 Use g_strerror() instead of strerror() - we want UTF-8.
9352 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9354 Patch by: Peter Kjellerstedt <pkj at axis com>
9356 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9357 Another printf fix (#371493).
9359 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9361 * tests/check/gst/gsttag.c:
9362 relicence (okay with author=company)
9364 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9366 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9367 (gst_pad_push_event):
9368 Enhance debug and improve docs
9373 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9375 * docs/random/ensonic/distributed.txt:
9376 * docs/random/ensonic/profiling.txt:
9379 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9381 * docs/gst/gstreamer-sections.txt:
9382 add new API and fix the build
9384 * gst/gstbin.c: (gst_bin_recalc_state):
9385 * gst/gstelement.c: (gst_element_message_full),
9386 (gst_element_get_state_func), (gst_element_set_state_func):
9387 use new API and improve logging
9389 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9391 API: add function to get StateChangereturn names to improve logs
9393 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9395 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9396 I'm considering shooting the next person to put strerror stuff
9397 in the translateable part of the message.
9399 2006-11-03 Wim Taymans <wim@fluendo.com>
9401 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9402 Get the type and printf conversion specifiers right.
9404 2006-11-03 Wim Taymans <wim@fluendo.com>
9406 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9408 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9409 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9410 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9411 Some small cleanups. Improve debugging.
9413 Signal all waiting threads with a broadcast instead of just one.
9416 2006-11-03 Wim Taymans <wim@fluendo.com>
9418 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9419 (gst_fd_src_create):
9421 Only update fd when it's different from the old.
9423 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9425 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9426 Printf fixes for PPC/OSX, take two (#369366).
9428 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9430 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9432 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9433 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9434 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9435 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9436 don't cast to long long for portability reasons, but use
9437 GLib's types instead.
9439 2006-10-30 Michael Smith <msmith@fluendo.com>
9441 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9442 Get the arguments to lseek() the right way around.
9445 2006-10-30 Wim Taymans <wim@fluendo.com>
9447 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9450 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9452 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9454 Patch by: Kjartan Maraas <kmaraas at gnome org>
9456 * docs/design/part-MT-refcounting.txt:
9457 * docs/random/wtay/capsnego2-docs:
9460 Typo fixes (#366212).
9462 2006-10-28 Wim Taymans <wim@fluendo.com>
9464 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9467 * win32/common/libgstbase.def:
9468 * win32/common/libgstreamer.def:
9469 * win32/vs8/libgstbase.vcproj:
9470 * win32/vs8/libgstcontroller.vcproj:
9471 Add needed entries in .def files.
9473 Rearrange def files in vs8 solutions. Fixes #366286.
9475 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9477 * win32/common/gstconfig.h:
9478 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9479 hand-made win32 gstconfig.h. Fixes #366321.
9481 2006-10-27 Wim Taymans <wim@fluendo.com>
9483 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9484 (gst_ghost_pad_new_full):
9485 Make acceptcaps return TRUE when we don't have a target, just like
9488 2006-10-27 Wim Taymans <wim@fluendo.com>
9490 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9491 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9493 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9495 * gst/gststructure.c: (gst_structure_id_set_value):
9496 If someone tries to set a non-UTF8 string field on a structure,
9497 don't just print a warning, but also ignore the request and do
9498 not change/add that field to the structure.
9500 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9503 2006-10-25 David Schleef <ds@schleef.org>
9506 g_hash_table_insert() needs a cast to a non-const pointer duh.
9508 2006-10-25 David Schleef <ds@schleef.org>
9512 Change name parameter of _gst_debug_register_funcptr to const
9513 to reflect the constness of its use in the function as well
9514 as to quiet a gcc warning.
9516 2006-10-25 Edward Hervey <edward@fluendo.com>
9518 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9519 Don't push the buffer if it's empty.
9522 2006-10-24 Wim Taymans <wim@fluendo.com>
9527 * libs/gst/base/gstbasetransform.c:
9528 (gst_base_transform_sink_eventfunc):
9529 Debug segment values *after* updating them as this is more
9532 2006-10-23 Wim Taymans <wim@fluendo.com>
9534 * docs/design/part-events.txt:
9537 * docs/design/part-block.txt:
9538 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9539 (gst_pad_push_event):
9540 Revert BLOCKING patch, it tries to be smart without really having a
9541 clear idea what or how. So, now we discard all FLUSHING events again on
9542 a blocking pad. Should fix gnonlin again.
9544 2006-10-23 Wim Taymans <wim@fluendo.com>
9546 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9548 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9549 (gst_base_src_start), (gst_base_src_activate_push):
9550 Make sure size is always initialized. Fixes #364388.
9552 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9554 * docs/random/ensonic/distributed.txt:
9555 add some ideas about doing distributed processing
9557 * docs/random/ensonic/profiling.txt:
9558 get_rusage look promising
9560 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9562 * docs/manual/basics-helloworld.xml:
9563 Add a cast in example to fix compile warning
9565 2006-10-18 Wim Taymans <wim@fluendo.com>
9567 * gst/gstsegment.c: (gst_segment_set_last_stop),
9568 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9569 Relax arg checking again, -1 is allowed.
9571 2006-10-18 Wim Taymans <wim@fluendo.com>
9573 * gst/gstsegment.c: (gst_segment_set_last_stop),
9574 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9575 _set_last_stop() must be with a value != -1
9576 A _TYPE_SET to -1 means seek to 0.
9577 Calc last_stop correctly for negative rates.
9578 Make sure we work with positive durations when updating a segment.
9580 2006-10-18 Wim Taymans <wim@fluendo.com>
9582 * docs/design/part-live-source.txt:
9586 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9589 Add an explicit cast to GstBuffer** to keep old code that added an
9590 explicit cast to GstMiniObject** for gst_mini_object_replace()
9591 compiling without warning.
9593 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9595 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9596 check for validity of dates
9598 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9600 * docs/gst/gstreamer-sections.txt:
9601 Forgot this one, makes gtk-doc shut up.
9603 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9605 Patch by: Peter Kjellerstedt <pkj at axis com>
9608 Don't define xmlNodePtr to gpointer if the core was built with
9609 --disable-loadsave and --disable-registry, this will break
9610 applications that want to use libxml2 but are buildling against a
9611 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9612 instead so we don't have to mess with the libxml2 namespace
9615 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9618 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9619 type-punned pointer warnings.
9621 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9624 Add casts to the correct return type to state <=> state transition
9627 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9629 * docs/design/part-live-source.txt:
9630 describe howto handle latency
9632 * docs/random/ensonic/profiling.txt:
9635 * tools/gst-plot-timeline.py:
9636 fix log parsing for solaris, remove unused function
9638 2006-10-16 Wim Taymans <wim@fluendo.com>
9640 * docs/design/part-trickmodes.txt:
9642 Update some docs regarding reverse playback.
9644 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9646 Patch by: Marcus Granado <mrc dot gran at gmail com>
9648 * win32/vs8/grammar.vcproj:
9649 Error out with a warning if glib-genmarshal.exe is not in path,
9650 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9652 2006-10-13 Wim Taymans <wim@fluendo.com>
9654 * gst/gstsegment.c: (gst_segment_set_seek):
9655 When seeking to stop -1, set last_stop (current position) to the
9656 duration of the segment.
9658 2006-10-13 Wim Taymans <wim@fluendo.com>
9661 Clarify _NO_PREROLL a bit more.
9666 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9667 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9668 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9669 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9670 due to wrong locking order. Fixes #361769.
9671 Remove some redundant/misplaced checks in pad_block.
9673 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9674 For negative rates, count backwards from the duration.
9676 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9678 * gst/gsterror.c: (_gst_library_errors_init):
9679 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9680 up with something better).
9682 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9684 * win32/vs6/libgstreamer.dsp:
9685 * win32/vs7/libgstreamer.vcproj:
9686 * win32/vs8/libgstreamer.vcproj:
9687 Don't reference glib-compat.c which is currently not used and not
9688 disted; add gstquark.c which was recently added. Fixes #361730.
9690 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9692 * win32/common/libgstbase.def:
9693 * win32/common/libgstcontroller.def:
9694 * win32/common/libgstreamer.def:
9695 Add gst_caps_merge() and a bunch of other recently-added functions.
9698 2006-10-11 Wim Taymans <wim@fluendo.com>
9700 * docs/plugins/gstreamer-plugins.args:
9701 * docs/plugins/inspect/plugin-coreelements.xml:
9702 * docs/plugins/inspect/plugin-coreindexers.xml:
9703 Update element args.
9705 * gst/gstsystemclock.c:
9706 Small comment update.
9708 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9709 (gst_tee_request_new_pad), (gst_tee_release_pad),
9710 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9711 (gst_tee_sink_activate_pull):
9712 * plugins/elements/gsttee.h:
9714 Add default property defines.
9715 Implement release pad function.
9716 Give properties better blubs etc.
9717 Activate pads before adding them to a running tee.
9718 Do simple buffer_alloc on the first requested pad.
9719 Post error when activation fails.
9721 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9723 * gst/gst.c: (ensure_current_registry_forking):
9724 Check return value of write() to make compiler happy.
9726 2006-10-11 Wim Taymans <wim@fluendo.com>
9728 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9730 * plugins/elements/gstqueue.c: (gst_queue_chain):
9731 Recheck queue filledness after signalling the overrun when we're about
9732 to leak downstream because we released the lock when emitting the signal
9733 and the queue could be empty again. Fixes #352345.
9735 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9737 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9738 Fix refcounting here too, just like we did for _new_valist() a few
9739 days ago (#357180) (thanks to René Stadler). Also remove all those
9740 'Since: 0.9' from the gtk-doc blobs.
9742 * tests/check/libs/controller.c: (controller_refcount_new_list),
9743 (gst_controller_suite):
9744 Unit test for the above.
9746 2006-10-10 Wim Taymans <wim@fluendo.com>
9748 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9750 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9751 (gst_pad_save_thyself):
9753 Write pad direction in XML output. Fixes #345496.
9755 2006-10-10 Wim Taymans <wim@fluendo.com>
9757 Patch by: René Stadler <mail at renestadler dot de>
9759 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9760 (gst_controller_new_list), (_gst_controller_dispose),
9761 (_gst_controller_finalize), (_gst_controller_class_init):
9762 Take ref to controlled object so that it cannot disappear.
9765 2006-10-10 Wim Taymans <wim@fluendo.com>
9767 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9768 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9769 (gst_check_teardown_sink_pad):
9770 Activate/deactivate pads in setup/teardown respectively.
9772 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9774 Patch by: Josep Torra Valles <josep@fluendo.com>
9777 Cast values when making gstenumtypes.h. This pacifies Forte
9778 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9781 2006-10-09 Wim Taymans <wim@fluendo.com>
9783 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9784 Rename some more @cur to @start to fix docs.
9786 * gst/gstsegment.c: (gst_segment_set_seek):
9788 time and start must always stay in sync as defined in design doc.
9790 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9791 Rename param to fix docs.
9793 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9794 Check that start and time are in sync.
9796 * tests/check/pipelines/parse-launch.c:
9797 (gst_parse_test_element_change_state):
9798 Activate pad before adding to the element.
9800 2006-10-09 Wim Taymans <wim@fluendo.com>
9802 * docs/design/part-qos.txt:
9807 Update seek event docs regarding negative rates.
9808 Rename @cur to @start.
9810 * gst/gstsegment.c: (gst_segment_set_seek):
9812 Update set_seek docs regarding negative rates.
9813 Correctly update last_stop to @stop when dealing with negative
9815 Rename @cur to @start.
9817 * tests/check/gst/gstpad.c: (GST_START_TEST):
9818 Activate pads before trying to use them.
9820 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9821 (gst_segment_suite):
9822 Add simple check for segments and negative rates.
9824 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9826 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9828 * docs/gst/gstreamer-sections.txt:
9829 API: add gst_tag_list_is_empty() (#360467).
9831 * tests/check/gst/gsttag.c: (GST_START_TEST):
9834 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9837 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9838 a value that doesn't fit on enumeration.
9840 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9842 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9843 Remove local debugging system and use Gstreamer's instead.
9845 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9847 Patch by: Josep Torra Valles <josep@fluendo.com>
9849 * common/m4/gst-error.m4:
9850 Disable warning of statement not reached on Forte.
9852 Fix warning on Forte (value doesn't fit on enumeration).
9853 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9854 Fix warning on Forte (value doesn't fit on enumeration).
9855 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9856 DEBUG macro says it takes minimum of 2 args and so Forte
9857 complains about the use with just 1 arg.
9858 * plugins/elements/gstfdsink.c:
9859 * plugins/elements/gstfdsrc.c:
9860 * plugins/elements/gstfilesink.c:
9861 * plugins/elements/gstfilesrc.c:
9862 Use correct return type for the uri handler implementations.
9864 All these fix warnings in Forte. Fixes bug #360860.
9866 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9869 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9870 format string, so don't use G_GNUC_PRINTF for those versions.
9872 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9874 * gst/gsttaglist.c: (gst_is_tag_list):
9876 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9878 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9879 Small test for the above.
9881 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9884 Less tabs, more spaces.
9886 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9889 Those two function declarations do actually belong there, revert
9890 commit from yesterday that turned them intro macros.
9892 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9894 Patch by: Josep Torra Valles <josep@fluendo.com>
9896 * gst/gst.c: (gst_init_get_option_group):
9897 Fix empty declaration and type mismatch.
9898 * gst/gstbin.c: (gst_bin_change_state_func):
9900 * gst/gstelement.c: (gst_element_continue_state),
9901 (gst_element_set_state_func), (gst_element_change_state),
9902 (gst_element_change_state_func):
9903 Fix type mismatches.
9904 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9905 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9906 Cast as appropriate.
9907 * gst/gstobject.c: (gst_class_signal_connect):
9908 Cast as appropriate. The function pointer parameter really
9909 has the wrong type but would break API if we change it.
9911 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9912 order of including string.h.
9913 * gst/gstutils.c: (gst_element_state_get_name):
9914 Remove unreachable line.
9915 * gst/gstxml.c: (gst_xml_parse_doc):
9917 All these caught by Forte.
9919 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9921 Patch by: Josep Torra Valles <josep@fluendo.com>
9923 * common/m4/gst-error.m4:
9925 We need to disable warnings on Forte for empty declarations
9926 due to gst-indent adding ;s to lines that just use macros
9927 where the macro actually doesn't need a ; at end to end
9930 2006-10-06 Wim Taymans <wim@fluendo.com>
9932 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9933 (gst_file_sink_close_file), (gst_file_sink_event),
9934 (gst_file_sink_render):
9935 Add some FIXME for the NEWSEGMENT handling.
9937 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9939 * gst/parse/grammar.y:
9940 Remove static function gst_parse_element_lock as all it does
9941 is return. Looks like cruft from 0.8.
9943 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9945 Patch by: Josep Torra Valles <josep@fluendo.com>
9947 * common/m4/gst-error.m4:
9949 * libs/gst/net/Makefile.am:
9950 Fix a compilation issue with Forte on Solaris. inet_aton is in
9953 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9955 * gst/gstpad.c: (pre_activate):
9956 * gst/gstregistry.c: (gst_registry_scan_path_level):
9957 * gst/gstregistryxml.c: (load_plugin):
9958 * libs/gst/controller/gstcontroller.c:
9959 (gst_controlled_property_set_interpolation_mode):
9960 * libs/gst/dataprotocol/dataprotocol.c:
9961 (gst_dp_packet_from_event_1_0):
9962 * libs/gst/net/gstnetclientclock.c:
9963 (gst_net_client_clock_observe_times):
9964 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9967 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9970 * docs/gst/gstreamer-sections.txt:
9971 * gst/gstconfig.h.in:
9974 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9975 whether we can use G_GNUC_PRINTF in other header files and at
9976 least check the printf format/arguments of debug messages and
9977 GST_ELEMENT_ERROR messages when the printf extension is not
9979 Replace more tabs with spaces in gstinfo.h and remove two spurious
9980 function declarations in GST_DISABLE_DEBUG part with macros.
9982 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9984 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9985 More docs for the sync-message signal (mention that it is not
9986 emitted by default); log message structures of messages posted on
9989 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9991 * gst/gst.c: (ensure_current_registry_forking):
9992 Use a pipe pair to receive status results from the forked child, and
9993 ignore the result from waitpid. Fixes #355499
9995 2006-10-02 Wim Taymans <wim@fluendo.com>
9997 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9998 (gst_ghost_pad_suite):
10001 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10004 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10006 2006-10-02 Edward Hervey <edward@fluendo.com>
10008 * docs/design/part-block.txt:
10009 Further explain the use of flushing on blocked pads.
10010 * docs/gst/gstreamer-sections.txt:
10011 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10012 (gst_pad_push_event):
10014 Added new GstPadFlag : GST_PAD_BLOCKING.
10015 Adds the notion of pads really blocking, which enables to properly
10016 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10018 API: gst_pad_is_blocking()
10019 API: GST_PAD_IS_BLOCKING() macro
10020 API: GST_PAD_BLOCKING GstPadFlag
10022 2006-10-02 Wim Taymans <wim@fluendo.com>
10024 Patch by: mrcgran <mrc.gran at gmail dot com>
10026 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10027 Filter the proxied caps against the padtemplate if we have one.
10029 * gst/gstquery.c: (gst_query_new_segment):
10030 Add include for gstinfo.h so that compilation with
10031 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10033 2006-10-02 Wim Taymans <wim@fluendo.com>
10035 Patch by: Alessandro Decina <alessandro at nnva org>
10037 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10038 (gst_file_sink_set_location), (gst_file_sink_open_file),
10039 (gst_file_sink_close_file), (gst_file_sink_event),
10040 (gst_file_sink_render):
10041 Set file to NULL when closing filesink so that we can set a new filename
10042 in READY. Fixes #358613.
10044 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10046 Patch by: Alessandro Decina <alessandro at nnva org>
10048 * gst/gstevent.c: (_gst_event_copy):
10049 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10050 with event structures by setting the parent refcount address of the
10051 copied structure to the address of the refcount member of the newly
10052 copied event rather than the address of the refcount member of the
10053 original event. Fixes #358737.
10055 * tests/check/gst/gstevent.c: (GST_START_TEST):
10056 Unit test for the above.
10058 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10060 * docs/design/Makefile.am:
10061 Dist some more files.
10063 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10065 * tests/check/libs/controller.c: (GST_START_TEST),
10066 (gst_controller_suite):
10067 Add test for the previous fix; add some more tests
10068 for correct refcounting behaviour; fix a few leaks
10069 in test cases; call gst_controller_init() at start
10072 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10074 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10075 (gst_controller_set_from_list):
10076 Don't g_return_val_if_fail() on timed values with invalid timestamps
10077 inside a critical section without unlocking the mutex. Spotted by
10078 René Stadler. (#357617)
10079 Also, fix up refcounting properly: when returning an existing
10080 controller, we should increase the reference only once and not
10081 once per property and when trying to control a property again
10082 we should also increase the refcount.
10084 2006-09-29 Wim Taymans <wim@fluendo.com>
10086 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10087 * libs/gst/net/gstnettimeprovider.c:
10088 (gst_net_time_provider_thread):
10089 Stop reading commands when EOF as well.
10091 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10092 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10093 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10094 Unify description of the dump property.
10096 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10098 * tests/examples/manual/.cvsignore:
10099 OK, so it's actually cvsignore that needs changing. Stop laughing.
10101 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10103 * tests/examples/manual/Makefile.am:
10104 Gah, declare vars *before* using them
10106 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10108 * gst/gst.c: (init_pre), (scan_and_update_registry),
10109 (ensure_current_registry_nonforking),
10110 (ensure_current_registry_forking), (ensure_current_registry),
10111 (init_post), (gst_debug_help), (gst_deinit):
10112 * gst/gst_private.h:
10113 * gst/gstregistry.c: (gst_registry_finalize),
10114 (gst_registry_remove_features_for_plugin_unlocked),
10115 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10116 (gst_registry_scan_path),
10117 (_priv_gst_registry_remove_cache_plugins),
10118 (_priv_gst_registry_cleanup):
10119 * gst/gstregistry.h:
10120 Re-commit the registry changes, along with an extra fix:
10121 When a cached plugin is encountered at a different file path,
10122 update the stored path in the registry cache so that the parent
10123 process knows where it actually is now when it re-reads the registry
10124 cache. Fixes the thing that broke distcheck with the previous commit.
10126 * tests/check/Makefile.am:
10127 Clean up files named 'core' too when running make clean.
10129 * tests/examples/manual/Makefile.am:
10130 Set up a registry path for running these tests, and clean it properly
10133 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10136 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10137 want gmodule-no-export-2.0.pc instead so that we don't drag in
10138 --export-dynamic on every project that links to GStreamer.
10140 Also, make our export regex only match the start of symbols, rather
10141 than any symbol that contains '_gst' somewhere.
10143 * libs/gst/check/Makefile.am:
10144 The libgstcheck we build does however need export-dynamic, as it
10145 produces some symbols that don't match our _gst... style regex.
10148 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10150 * gst/gst.c: (init_pre), (scan_and_update_registry),
10151 (ensure_current_registry_nonforking),
10152 (ensure_current_registry_forking), (ensure_current_registry),
10153 (init_post), (gst_debug_help), (gst_deinit):
10154 * gst/gst_private.h:
10155 * gst/gstregistry.c: (gst_registry_finalize),
10156 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10157 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10158 (_gst_registry_cleanup):
10159 * gst/gstregistry.h:
10160 Revert previous change until I figure out why it breaks distcheck.
10162 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10164 * gst/gst.c: (init_pre), (scan_and_update_registry),
10165 (ensure_current_registry_nonforking),
10166 (ensure_current_registry_forking), (ensure_current_registry),
10167 (init_post), (gst_debug_help), (gst_deinit):
10169 Make init_pre and init_post take the full complement of GOptionFunc
10170 args so they can return useful GErrors. Make the registry updating
10173 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10174 ensure that the registry we're about to write out doesn't contain
10175 stale information about old-deleted plugin files.
10177 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10178 that deletion of plugin files is considered a registry change.
10180 * gst/gst_private.h:
10181 * gst/gstregistry.c: (gst_registry_finalize),
10182 (gst_registry_remove_features_for_plugin_unlocked),
10183 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10184 (gst_registry_scan_path),
10185 (_priv_gst_registry_remove_cache_plugins),
10186 (_priv_gst_registry_cleanup):
10187 * gst/gstregistry.h:
10188 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10189 by adding _priv prefix, so that they won't appear in the global
10190 symbol table. They still do atm though because of #318031. Move the
10191 prototypes to gst_private.h
10193 When removing a plugin, remove all features for that plugin too.
10196 2006-09-27 Wim Taymans <wim@fluendo.com>
10198 * docs/random/moving-plugins:
10199 Make it clear that the "compiled-in descriptions" really mean
10200 the element details.
10202 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10203 (gst_base_sink_wait_preroll):
10206 * docs/libs/gstreamer-libs-sections.txt:
10207 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10208 (gst_base_src_get_range), (gst_base_src_activate_push):
10209 * libs/gst/base/gstbasesrc.h:
10210 Added function to block while waiting for PLAYING, this function
10211 is used by live sources that block on the clock.
10212 API: gst_base_src_wait_playing()
10214 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10216 Patch by: Peter Kjellerstedt <pkj at axis com>
10219 gst-element-check.m4 is generated and should therefore be
10220 copied from the build dir rather than the source dir (#357593).
10221 'make distcheck' hasn't noticed this because we were disting
10222 the file as well, so stop doing that.
10224 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10226 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10227 Add some tests for gst_caps_intersect().
10229 * tools/gst-launch.c: (event_loop):
10230 Print all buffering percentages we get, even the 100% one.
10232 2006-09-26 Wim Taymans <wim@fluendo.com>
10234 * tools/gst-inspect.c: (print_element_properties_info),
10235 (print_signal_info):
10236 Fix printing of flags to match the look of enums.
10238 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10240 * gst/gstelementfactory.c:
10241 Fix typo in docs blurb.
10243 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10245 * gst/gsturi.c: (search_by_entry):
10246 Don't assert/crash here if a uri handler doesn't return any
10247 supported protocols. The list of protocols could be generated
10248 dynamically at runtime or at plugin registration, and an error
10249 in the underlying library shouldn't be fatal (#353301).
10251 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10254 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10255 (spotted by Peter Kjellerstedt).
10257 2006-09-23 Wim Taymans <wim@fluendo.com>
10259 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10261 * libs/gst/base/gstbasesrc.c:
10262 (gst_base_src_default_check_get_range), (gst_base_src_start),
10263 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10264 (gst_base_src_change_state):
10265 Match _start/_stop calls in the activate functions. Remove redundant
10266 _stop call from the state change function. Fixes #356910.
10267 Turn failure DEBUG into ERROR.
10269 2006-09-22 Wim Taymans <wim@fluendo.com>
10271 * docs/design/part-buffering.txt:
10272 * gst/gstmessage.c: (gst_message_new_buffering),
10273 (gst_message_parse_buffering):
10274 Update docs about buffering.
10276 * docs/design/part-trickmodes.txt:
10279 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10281 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10282 (gst_controller_new_list):
10283 Ref instances when returning them again (fixes #357180)
10285 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10287 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10288 Don't forget to release proxy lock when there's an error.
10290 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10293 Add extra initialisers for Caps things, to fix some plugin warnings
10296 2006-09-18 Wim Taymans <wim@fluendo.com>
10298 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10299 Also set template on the internal pad so that a getcaps from the
10300 target pad returns the template caps.
10302 2006-09-18 Wim Taymans <wim@fluendo.com>
10304 * gst/gstelement.c: (gst_element_post_message),
10305 (gst_element_dispose):
10306 Use _DEBUG_OBJECT some more.
10308 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10311 * tools/gst-launch.c: (main):
10312 If the toplevel element is not a GstPipeline, it must be put in a
10313 pipeline so that a bus and clock is selected.
10315 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10317 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10318 JITTER, RATE, and LATENCY query should be handled by the
10319 default case and not by the CONVERT query code.
10321 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10323 * gst/gstformat.c: (gst_format_register):
10324 Fix locking order (must take lock before using n_values).
10326 * gst/gstvalue.c: (gst_value_serialize_enum),
10327 (gst_value_deserialize_enum_iter_cmp),
10328 (gst_value_deserialize_enum):
10329 Fix serialisation/deserialisation of custom registered GstFormats.
10331 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10332 Unit test for custom format serialisation/deserialisation.
10334 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10336 * docs/pwg/building-boiler.xml:
10337 * plugins/elements/gstcapsfilter.c:
10338 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10341 2006-09-16 Edward Hervey <edward@fluendo.com>
10343 * libs/gst/base/gstbasetransform.c:
10344 (gst_base_transform_buffer_alloc):
10345 Check if requested caps are the same as the sinks caps IF
10346 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10348 This fixes the renegotiation issues stated in #352827.
10350 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10353 * docs/manual/advanced-autoplugging.xml:
10354 * tests/examples/Makefile.am:
10355 * tests/examples/manual/.cvsignore:
10356 * tests/examples/manual/Makefile.am:
10357 * tests/examples/manual/extract.pl:
10358 Extract the manual examples again like we used to do.
10361 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10363 * win32/common/config.h:
10366 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10369 Documents how to receive errors.
10371 2006-09-15 Wim Taymans <wim@fluendo.com>
10373 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10374 (event_loop), (main):
10375 Added some comments here and there.
10376 Post an application message when an interrupt is caught instead of doing
10377 an uncontrolled state change.
10378 Clean up the event loop.
10379 Handle buffering messages, pause/resume the pipeline.
10380 Make shutdown because of an interrupt more reliable.
10382 2006-09-15 Wim Taymans <wim@fluendo.com>
10384 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10385 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10386 (gst_base_sink_preroll_object):
10387 Make sure that our internal state is correct when we commit our state
10388 asynchronously. This solves a race where a state change to PLAYING
10389 could cause the sink to remain blocked in preroll in some situations.
10391 2006-09-15 Wim Taymans <wim@fluendo.com>
10393 * tools/gst-inspect.c: (print_element_properties_info),
10394 (print_signal_info):
10395 List flags as hex so it's easier to deal with.
10397 2006-09-15 Wim Taymans <wim@fluendo.com>
10399 * docs/libs/gstreamer-libs-sections.txt:
10400 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10401 (gst_base_sink_do_sync):
10402 * libs/gst/base/gstbasesink.h:
10403 Expose logic to wait for preroll so that subclasses such as audiosink
10404 can also use this method.
10405 API: gst_base_sink_wait_preroll()
10407 2006-09-15 Wim Taymans <wim@fluendo.com>
10409 * gst/gstobject.c: (gst_object_set_parent):
10410 * gst/gstpipeline.c: (do_pipeline_seek):
10411 Small cleanups in docs and code.
10413 * gst/gstsegment.c: (gst_segment_clip):
10414 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10415 if stop == start and start is in the segment, no clipping should be
10416 done. Also add a test for this.
10418 2006-09-15 Wim Taymans <wim@fluendo.com>
10420 * docs/design/part-buffering.txt:
10421 * docs/gst/gstreamer-sections.txt:
10422 * gst/gstmessage.c: (gst_message_new_buffering),
10423 (gst_message_parse_buffering):
10424 * gst/gstmessage.h:
10425 Added methods to create and parse BUFFERING messages.
10426 Added preliminary docs about buffering.
10427 API: gst_message_new_buffering
10428 API: gst_message_parse_buffering
10430 2006-09-06 Wim Taymans <wim@fluendo.com>
10433 Update documentation.
10435 * gst/gstelement.c: (gst_element_class_init),
10436 (gst_element_release_request_pad), (gst_element_set_clock),
10437 (gst_element_get_index), (gst_element_add_pad),
10438 (gst_element_remove_pad), (gst_element_get_random_pad),
10439 (gst_element_send_event), (gst_element_get_query_types),
10440 (gst_element_query), (gst_element_post_message),
10441 (gst_element_message_full), (gst_element_continue_state),
10442 (gst_element_lost_state), (gst_element_save_thyself),
10443 (gst_element_restore_thyself):
10444 Documentation updates.
10445 Rename last bit of the new-pad -> pad-added signal rename.
10446 Fix the case where an element query would only work if the source
10448 Avoid some useless type checking in message handling.
10453 Documentation updates.
10455 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10457 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10458 add an INFO line for when we actually update the fd
10460 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10465 === release 0.10.10 ===
10467 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10470 releasing 0.10.10, "Pais"
10472 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10474 * docs/manual/advanced-position.xml:
10475 Fix typo in sample code.
10477 2006-09-05 Wim Taymans <wim@fluendo.com>
10479 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10480 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10481 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10482 * libs/gst/net/gstnetclientclock.h:
10483 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10484 * libs/gst/net/gstnettimepacket.h:
10485 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10486 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10487 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10488 * libs/gst/net/gstnettimeprovider.h:
10489 Make stuff compile on windows. Fixes #345295.
10491 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10493 * gst/gst.c: (ensure_current_registry_forking):
10494 Print better details when child was terminated by signal.
10496 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10498 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10499 Print a warning rather than g_assert() if a plugin feature
10500 is a URI handler but returns no protocols (#353976).
10502 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10504 * docs/random/moving-plugins:
10507 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10509 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10510 Fix locking order, handle NULL function values properly.
10515 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10516 Initialise variable before using it and fix debug statement to
10517 print the address of the function rather than the address of the
10518 variable on the stack holding the address of the function.
10520 2006-09-01 Wim Taymans <wim@fluendo.com>
10522 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10523 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10524 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10525 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10526 (gst_ghost_pad_parent_unset),
10527 (gst_ghost_pad_internal_do_activate_push),
10528 (gst_ghost_pad_internal_do_activate_pull),
10529 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10530 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10531 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10532 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10533 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10534 (gst_ghost_pad_new_no_target_from_template),
10535 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10537 Avoid needless typechecking in macros.
10538 Since the internal pad is always present and never changes, there is
10539 no need to locking or ref when retrieving it.
10540 Improve debugging a bit.
10541 Handle link errors when setting the target. Fixes #341029.
10543 2006-09-01 Wim Taymans <wim@fluendo.com>
10545 * docs/libs/gstreamer-libs-sections.txt:
10546 * docs/plugins/gstreamer-plugins-sections.txt:
10547 Fix docs some more.
10549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10550 (gst_collect_pads_event):
10551 * libs/gst/base/gstcollectpads.h:
10552 Documentation updates.
10553 Free queued buffer when removing a pad.
10555 2006-08-31 Michael Smith <msmith@fluendo.com>
10557 * gst/gstutils.c: (gst_element_link_pads),
10558 (gst_element_link_pads_filtered):
10559 Ensure that we set a capsfilter to NULL if we failed to link it
10560 when doing filtered linking, to avoid criticals.
10562 No need to check for unreffing srcpad, which is explicly NULLed
10563 above (a trivial code cleanup).
10565 2006-08-31 Wim Taymans <wim@fluendo.com>
10567 * docs/design/part-gstghostpad.txt:
10568 Update ascii art in documentation.
10570 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10571 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10572 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10573 (gst_ghost_pad_internal_do_activate_push),
10574 (gst_ghost_pad_internal_do_activate_pull),
10575 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10576 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10577 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10578 (gst_ghost_pad_set_target):
10579 Small cleanups and leak fixes.
10580 Remove some checks now that the internal pad is never NULL.
10581 Fix the case where linking pads without a target would create nasty
10582 criticals. Fixes #341029.
10583 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10584 value of _set_target().
10586 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10587 (gst_ghost_pad_suite):
10588 Some more tests for creating and linking untargeted ghostpads.
10590 2006-08-31 Edward Hervey <edward@fluendo.com>
10592 * docs/gst/gstreamer-sections.txt:
10593 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10594 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10595 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10596 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10597 (gst_ghost_pad_new_from_template),
10598 (gst_ghost_pad_new_no_target_from_template):
10599 * gst/gstghostpad.h:
10600 Refactored *_new() functions.
10601 Templates are now used as a g_object_new() parameter.
10602 Use template in _do_getcaps() if we don't have a target.
10603 Small documentation cleanups.
10604 Added two new constructors:
10605 gst_ghost_pad_new_from_template()
10606 gst_ghost_pad_new_no_target_from_template()
10607 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10608 (gst_ghost_pad_suite):
10609 Added tests for new ghostpad instanciation functions.
10611 API additions: gst_ghost_pad_new_from_template,
10612 gst_ghost_pad_new_no_target_from_template
10614 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10616 * docs/random/ensonic/profiling.txt:
10617 Ideas about qos profiling.
10619 2006-08-29 Wim Taymans <wim@fluendo.com>
10621 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10625 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10628 Improve and detypofy docs.
10630 * tests/check/Makefile.am:
10631 * tests/check/gst/.cvsignore:
10632 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10633 Add a basic test suite for GstXML.
10635 2006-08-29 Wim Taymans <wim@fluendo.com>
10637 * gst/gstelement.c: (activate_pads), (clear_caps),
10638 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10639 Clear the pad caps when the element shut down all of the pads and
10640 is not streaming data that could modify the caps.
10643 2006-08-28 Michael Smith <msmith@fluendo.com>
10645 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10646 Revert previous change; I misunderstood single-segment mode.
10648 2006-08-28 Michael Smith <msmith@fluendo.com>
10650 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10651 Unset DISCONT on buffers when using single-segment mode.
10653 2006-08-28 Wim Taymans <wim@fluendo.com>
10655 * gst/gstcaps.c: (gst_caps_merge_structure):
10657 Fix docs and indentation again.
10659 * tests/check/gst/gstquery.c: (GST_START_TEST):
10660 Fix leak in tests and add some more tests.
10662 2006-08-28 Edward Hervey <edward@fluendo.com>
10664 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10665 Inform GstSegment of the last stop position in order for the current
10666 segment to have a proper duration if it doesn't have a specific stop
10667 position from which a duration could be calculated.
10668 This bug was noticeable when a non-flushing, non-update new segment was
10669 followed by another segment (all buffers from the new segment were being
10672 2006-08-28 Wim Taymans <wim@fluendo.com>
10674 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10675 Small comment update.
10677 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10678 (gst_identity_transform_ip):
10679 Drop-probability is broken, mention this in the code with a
10680 FIXME and also in the property description.
10681 Make silent also be silent about the drop messages.
10683 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10685 * docs/manual/appendix-win32.xml:
10686 Remove mention of popt, we don't depend on that any
10687 longer (#353136). Add some comments pointing out that
10688 this section is slightly outdated.
10690 2006-08-28 Wim Taymans <wim@fluendo.com>
10692 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10694 * gst/gstquery.c: (gst_query_new_segment):
10695 * tests/check/gst/gstquery.c: (GST_START_TEST):
10696 Initialize variables when creating a new segment query.
10699 2006-08-28 Wim Taymans <wim@fluendo.com>
10701 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10703 * gst/gstelement.c: (gst_element_get_bus):
10704 * tests/check/gst/gstelement.c: (GST_START_TEST):
10705 Check for NULL before _reffing the bus. Fixes #353122.
10707 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10709 * docs/manual/basics-bus.xml:
10710 Docs update: fix wrong callback return value explanation; add
10711 some lines about the implicit relationship between main loop
10712 and main context; remove duplicate main loop variable declaration.
10714 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10716 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10717 Don't leak caps in unit test; add a few more simple
10720 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10722 * docs/gst/gstreamer-sections.txt:
10723 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10724 (gst_caps_structure_is_subset), (gst_caps_merge),
10725 (gst_caps_merge_structure):
10727 * libs/gst/base/gstbasetransform.c:
10728 (gst_base_transform_transform_caps):
10729 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10730 implement caps merging (fixes #352580)
10732 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10734 * tools/Makefile.am:
10735 * tools/gst-plot-timeline.py:
10736 add debug-log plotting developer tool (#340674)
10738 2006-08-23 Wim Taymans <wim@fluendo.com>
10740 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10741 (gst_pad_stop_task):
10742 Improve debugging for task functions.
10744 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10745 (gst_task_start), (gst_task_pause), (gst_task_join):
10746 Make sure that the task function started and finished after a
10748 Don't try to push the task function on the threadpool multiple
10750 Improve the g_warning message with some useful suggestions
10751 about how to fix the problem.
10753 2006-08-23 Wim Taymans <wim@fluendo.com>
10755 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10756 Handle RESYNC correctly in _proxy_getcaps.
10758 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10760 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10761 (gst_xml_parse_memory), (gst_xml_get_element):
10762 Chain up to parent class in dispose function and also
10763 unref the elements in the toplevel_elements GList.
10764 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10765 Always return a reference in gst_xml_get_element() rather
10766 than only sometimes.
10768 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10769 Don't leak GstXml object.
10771 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10773 * docs/gst/gstreamer-sections.txt:
10774 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10777 * libs/gst/base/gstbasetransform.c:
10778 (gst_base_transform_transform_caps):
10779 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10782 2006-08-21 Edward Hervey <edward@fluendo.com>
10784 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10785 Implement GObject::dispose virtual method in GstXML so we can free the
10786 top_elements GList.
10788 2006-08-21 Wim Taymans <wim@fluendo.com>
10790 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10791 (gst_buffer_create_sub):
10792 Copy duration/offset_end/caps when creating a subbuffer of the
10794 Make the subbuffer read-only when we make the metadata writable for
10795 now. Fixes #351768.
10797 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10798 Added check for metadata copy when creating subbuffers.
10800 2006-08-21 Edward Hervey <edward@fluendo.com>
10802 * libs/gst/base/gstbasetransform.c:
10803 (gst_base_transform_buffer_alloc):
10804 Only call downstream buffer_alloc if transform element is passthrough
10805 or always_in_place. Closes #350449.
10807 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10810 ChangeLog surgery to add comments to previous changes
10812 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10817 * gst/gstpad.c: (gst_pad_set_active):
10818 Be more verbose in the log
10820 * libs/gst/base/gstbasetransform.c:
10821 (gst_base_transform_transform_caps):
10822 Simplify caps to get rid of duplicates, fixes #345444
10824 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10828 Use these optimizations only internally.
10830 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10832 * gst/gstvalue.c: (gst_value_compare_list),
10833 (gst_value_compare_fraction_range),
10834 (gst_value_intersect_fraction_fraction_range),
10835 (gst_value_intersect_fraction_range_fraction_range),
10836 (gst_value_subtract_fraction_fraction_range),
10837 (gst_value_subtract_fraction_range_fraction_range),
10838 (gst_value_get_compare_func), (gst_value_compare),
10839 (gst_value_compare_with_func):
10841 Saves the expensive lookup of the compare function in many cases
10844 2006-08-18 Edward Hervey <edward@fluendo.com>
10846 * tests/check/gst/gstinfo.c: (gst_info_suite):
10847 Disable test that require gstdebug if it wasn't built in core.
10849 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10851 * docs/random/ensonic/logging.txt:
10854 * gst/gstinfo.c: (gst_debug_log_default):
10855 reorder fields, save some columns, add optional color codes for log
10858 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10860 * docs/random/ensonic/logging.txt:
10861 add ideas about making the logs a bit more useful
10863 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10865 * docs/pwg/advanced-events.xml:
10866 * docs/pwg/titlepage.xml:
10867 Update for 0.10 API (#340627). Add myself
10870 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10872 * docs/libs/gstreamer-libs-docs.sgml:
10873 * docs/libs/gstreamer-libs-sections.txt:
10874 * libs/gst/check/gstbufferstraw.c:
10875 Make gstcheck stuff show up in docs (still needs to
10876 be documented properly though).
10878 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10880 * docs/gst/gstreamer-sections.txt:
10882 * gst/gst.c: (init_post):
10883 * gst/gst_private.h:
10884 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10886 * gst/gstquery.c: (gst_query_new_position),
10887 (gst_query_set_position), (gst_query_parse_position),
10888 (gst_query_new_duration), (gst_query_set_duration),
10889 (gst_query_parse_duration), (gst_query_new_convert),
10890 (gst_query_set_convert), (gst_query_parse_convert),
10891 (gst_query_new_segment), (gst_query_set_segment),
10892 (gst_query_parse_segment), (gst_query_new_seeking),
10893 (gst_query_set_seeking), (gst_query_parse_seeking):
10894 Add internal helpers for pre-registering quarks from static strings
10895 and using the quark values directly instead of looking them up when
10896 creating and parsing queries. Can be used for event construction too.
10899 2006-08-16 Wim Taymans <wim@fluendo.com>
10904 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10906 * gst/gstutils.c: (gst_util_set_value_from_string):
10907 Fix memleak (#351502).
10909 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10910 Add unit test for most of gst_util_set_value_from_string()
10911 (not that one would want to encourage use of this function).
10913 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10915 * libs/gst/check/gstcheck.h:
10916 Use const gchar * variables in fail_unless_equals_string
10917 macro to avoid compiler warnings (and don't use tabs for
10920 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10922 * tools/gst-launch.c: (print_tag):
10923 More space on the left for the tag names, to cater
10924 for the 'extended comment' tag (not touching the
10925 string for the first line since it's translated).
10927 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10929 * libs/gst/check/gstcheck.h:
10930 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10931 print something when they fail.
10933 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10935 * docs/gst/gstreamer-sections.txt:
10936 * gst/gsttaglist.c: (_gst_tag_initialize):
10937 * gst/gsttaglist.h:
10938 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10939 Also change merge function for GST_TAG_COMMENT to
10942 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10944 * gst/gstinfo.c: (gst_debug_print_object):
10945 Make GST_PTR_FORMAT print messages as well.
10947 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10948 (GST_START_TEST), (gst_info_suite):
10951 2006-08-14 Edward Hervey <edward@fluendo.com>
10953 * gst/gstelementfactory.c: (gst_element_register):
10954 If the GstElementClass doesn't have a GstElementDetails with all fields
10955 filled up correctly (longname, description AND author), then error out
10956 nicely instead of crashing.
10958 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10960 * gst/gststructure.c:
10961 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10964 Expand on the difference between arrays and lists as we use them.
10966 2006-08-14 Wim Taymans <wim@fluendo.com>
10968 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10969 If the parent state change function failed, don't assume we can safely
10970 stop the source, this will be done when the pads are deactivated.
10972 2006-08-14 Wim Taymans <wim@fluendo.com>
10975 * gst/gsttask.c: (gst_task_join):
10978 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10979 (gst_pad_stop_task):
10980 When pad (de)activation failed for some reason, restore the old
10981 activation mode and set the pad to flushing instead of assuming the
10982 pad is deactivated.
10983 If the _task_join() failed, reinstall the task on the pad so that it can
10984 be stopped later and return an error.
10986 2006-08-11 Andy Wingo <wingo@pobox.com>
10989 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10990 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10991 is only for users of API that don't want to see deprecated
10992 functions in the headers; people that want to compile out
10993 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10994 CFLAGS. Fixes the build of multifdsink, or will soon..
10996 2006-08-11 Wim Taymans <wim@fluendo.com>
10998 * docs/gst/gstreamer-sections.txt:
10999 Add GstClockClass vmethod docs.
11002 Mark #endif with comment for associated #if
11004 * gst/gstclock.c: (gst_clock_id_wait):
11006 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11007 most clock implementations.
11009 Flesh out docs about resolution methods.
11010 API: GstClockClass::wait_jitter
11012 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11013 (gst_system_clock_async_thread),
11014 (gst_system_clock_id_wait_jitter_unlocked),
11015 (gst_system_clock_id_wait_jitter):
11016 Use base class wait_jitter variant for improved performance
11017 due to less clock polling.
11019 2006-08-11 Edward Hervey <edward@fluendo.com>
11021 * gst/gst.c: (gst_init_check), (init_post):
11022 Set gst as being initialized before scanning/updating the registry,
11023 since there might be my python plugin loader that calls gst_init() and
11024 we don't want to loop back in.
11027 2006-08-11 Wim Taymans <wim@fluendo.com>
11029 * docs/design/part-qos.txt:
11030 Bring docs in line with the code. Mostly the sign of the jitter was
11031 wrong in the docs. Fixes #349943.
11034 Fix the docs for the jitter.
11036 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11037 (gst_event_parse_tag), (gst_event_new_buffer_size),
11038 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11039 (gst_event_new_seek), (gst_event_parse_seek),
11040 (gst_event_new_navigation):
11041 Make sure the GstStructure has no parent when creating custom
11043 Add some more argument checking so that we avoid 0.0 rates.
11044 Flesh out the docs for the QoS event some more.
11046 2006-08-11 Wim Taymans <wim@fluendo.com>
11048 * docs/gst/gstreamer-sections.txt:
11049 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11050 (ensure_current_registry_forking), (ensure_current_registry),
11051 (parse_one_option), (parse_goption_arg), (gst_deinit),
11052 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11055 Added API and command line option to disable registry forking in
11056 addition to the environment variable.
11057 Constify some static arrays.
11058 Added some more debug.
11059 Don't deinit twice.
11060 API: gst_registry_fork_is_enabled()
11061 API: gst_registry_fork_set_enabled()
11062 API: --gst-disable-registry-fork command line option
11065 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11067 * gst/gst.c: (gst_init):
11068 Fix typo in error message.
11070 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11072 * libs/gst/controller/gstcontroller.h:
11073 fix ABI size-correction
11075 * tests/check/libs/gdp.c: (gst_dp_suite):
11076 make tests that use deprecated API conditional
11078 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11080 * docs/libs/gstreamer-libs-sections.txt:
11081 * libs/gst/controller/gstcontroller.c:
11082 (_gst_controller_get_property), (_gst_controller_set_property),
11083 (_gst_controller_init), (_gst_controller_class_init):
11084 * libs/gst/controller/gstcontroller.h:
11085 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11086 (gst_object_set_control_rate):
11087 API: add gst_object_{s,g}et_control_rate(), add private data section,
11090 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11091 * libs/gst/dataprotocol/dataprotocol.h:
11092 add deprecation guards to make gtk-doc happy and allow disabling cruft
11094 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11096 * tests/check/Makefile.am:
11097 * tests/check/gst/.cvsignore:
11098 Let's enable the new unit test as well.
11100 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11103 * docs/gst/gstreamer-sections.txt:
11104 * gst/gstconfig.h.in:
11105 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11106 (_gst_info_printf_extension_ptr),
11107 (_gst_info_printf_extension_segment):
11108 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11109 register that lets us easily dump GstSegments into debug
11112 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11113 (info_segment_format_printf_extension), (gst_info_suite):
11114 Add simple unit test that logs a bunch of different segments (not
11115 valgrinded at the moment because of leaks in
11116 gst_debug_add_log_function).
11118 2006-08-09 Edward Hervey <edward@fluendo.com>
11120 * libs/gst/base/gstbasetransform.c:
11121 (gst_base_transform_buffer_alloc):
11122 Even if we can't figure out the proper format to request downstream,
11123 call buffer_alloc() downstream with the input parameters without setting
11124 the caps on the srcpad. This will force negotiation in the chain
11128 2006-08-08 Edward Hervey <edward@fluendo.com>
11130 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11131 Unlinking from a pad without a target is now a perfectly valid case
11132 which should NOT raise an assertion.
11133 This case would happen if a linked ghostpad its target set to NULL after
11134 it was previously linked.
11136 2006-08-08 Edward Hervey <edward@fluendo.com>
11138 * tests/check/libs/gdp.c:
11139 Also comment out the test (see below).
11141 2006-08-08 Edward Hervey <edward@fluendo.com>
11143 * tests/check/libs/gdp.c: (gst_dp_suite):
11144 Use the architecture information from config.h and not gcc macros
11145 in order to properly disable a test that fails on PPC64.
11147 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11149 * gst/gstelement.c: (gst_element_remove_pad):
11150 Don't crash printing the warning if the pad has no parent.
11152 2006-08-02 Wim Taymans <wim@fluendo.com>
11154 * libs/gst/dataprotocol/dataprotocol.c:
11155 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11156 (gst_dp_crc), (gst_dp_header_payload_length),
11157 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11158 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11159 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11160 (gst_dp_event_from_packet), (gst_dp_validate_header),
11161 (gst_dp_validate_payload):
11162 Make debug category static
11163 Constify the crc table.
11164 Do some more arg checking in public functions.
11165 Fix some docs and do some small cleanups.
11167 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11168 Add some more checks to see if GDP deals with bogus input.
11170 2006-07-31 Wim Taymans <wim@fluendo.com>
11172 * gst/gstvalue.c: (gst_value_compare_list):
11173 Fix GstValueList comparison code. Fixes #347293.
11175 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11176 Check to test GstValueList comparison.
11178 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11180 * gst/gstelementfactory.c: (gst_element_factory_create):
11181 Remove unnecessary ref/unref pair
11183 * gst/parse/grammar.y:
11184 Make sure to free the parse buffer on all code paths.
11185 Move a g_free up to the error handler where it's easier to see.
11187 * tests/check/gst/gstevent.c: (test_event):
11188 Extending timeout for downstream travelling events to 10 seconds to
11189 hopefully avoid intermittent failure on the buildbots.
11191 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11192 Don't manually set the state of the src element - it will happen as a
11193 natural consequence of the pipeline changing state, and that way it
11194 will do it in the right order too.
11196 2006-07-31 Wim Taymans <wim@fluendo.com>
11198 * libs/gst/base/gstbasetransform.c:
11199 (gst_base_transform_buffer_alloc):
11200 Use OBJECT_LOCK and refcounting to get the pad caps in the
11201 buffer_alloc function because the caps could change while we are
11202 busy with them. Fixes #349105
11204 2006-07-31 Wim Taymans <wim@fluendo.com>
11206 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11207 Protect _PAD_CAPS with OBJECT_LOCK.
11209 2006-07-31 Wim Taymans <wim@fluendo.com>
11211 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11212 (gst_pad_get_property), (gst_pad_activate_pull),
11213 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11214 (gst_pad_set_activate_function),
11215 (gst_pad_set_activatepull_function),
11216 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11217 (gst_pad_set_getrange_function),
11218 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11219 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11220 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11221 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11222 (gst_pad_set_acceptcaps_function),
11223 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11224 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11225 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11226 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11227 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11228 (gst_pad_configure_sink), (gst_pad_configure_src),
11229 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11230 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11231 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11232 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11233 (gst_pad_send_event):
11234 Use _DEBUG_OBJECT when it makes sense.
11235 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11236 Small cleanups and code reflows.
11237 Avoid caps refcounting in _accept_caps.
11238 Refactor alloc_buffer so that the code performed on the peer is in a
11239 separate function. Also if the pad does not implement a buffer alloc
11240 function, we should still check if the pad is flushing before falling
11241 back to the default allocator.
11243 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11245 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11246 Make all uses of identity and fakesink have silent=true to avoid
11247 serialising every passing data structure, which is breaking tests
11248 on FC4 for some unknown reason.
11250 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11252 * gst/parse/Makefile.am:
11253 * gst/parse/grammar.y:
11254 * gst/parse/parse.l:
11255 Reverted previous patch as it required to bump the flex dependency to
11256 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11258 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11260 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11262 * gst/parse/Makefile.am:
11263 * gst/parse/grammar.y:
11264 * gst/parse/parse.l:
11265 push & pop the state of the lexer for reentrant use case
11268 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11270 * libs/gst/base/gstbasesrc.h:
11271 Note in the docs that the ::newsegment vfunc is not actually used by
11274 2006-07-28 Wim Taymans <wim@fluendo.com>
11276 * libs/gst/base/gstcollectpads.c:
11277 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11278 (gst_collect_pads_clear), (gst_collect_pads_flush),
11279 (gst_collect_pads_event), (gst_collect_pads_chain):
11280 When flushing a pad, also clear the queued buffer so that we don't
11281 accidentally use it when we shouldn't.
11282 Fix leaks by inreffing incomming buffer.
11283 Flush out queued buffers in case of errors.
11286 2006-07-28 Wim Taymans <wim@fluendo.com>
11288 * docs/random/phonon-gst:
11289 Random notes about a Phonon backend.
11291 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11293 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11295 * tests/check/libs/gdp.c: (gst_dp_suite):
11296 Take a whack at fixing the ppc compile using a different define to
11297 disable the broken test.
11299 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11300 Remove excess g_print()
11302 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11304 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11305 Oops, meant to uncomment this line too to dampen the noise a bit.
11307 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11309 * gst/parse/grammar.y:
11310 * gst/parse/parse.l:
11311 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11312 (GST_START_TEST), (parse_suite):
11313 Fix some of the leaks exposed by extending the parse-launch testsuite,
11314 and move the 3 I can't figure out into a separate test that won't run
11315 the pipelines unless the appropriate line is uncommented.
11317 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11319 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11320 Requesting 0 bytes before the end of the file should result in
11321 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11324 2006-07-27 Wim Taymans <wim@fluendo.com>
11326 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11327 Fix useless assert, a uint is always positive.
11329 * gst/gststructure.c: (gst_structure_nth_field_name),
11330 (gst_structure_foreach), (gst_structure_map_in_place):
11331 Check input arguments for public functions to avoid obvious crashes.
11333 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11334 * plugins/elements/gstfakesink.h:
11335 Do less useless typechecking.
11337 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11339 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11340 Do not use mmap() by default since there are a number of error
11341 conditions that we would like to handle in a non-fatal way that
11342 will result in a SIGBUS if we use mmap(). Examples: external
11343 devices (USB harddrive, portable music player) being unplugged
11344 while in use; file on mounted CD/DVD that can't be read because
11345 the medium is partly damaged. Fixes #348455 and #348475.
11347 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11350 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11351 rates are a gdouble
11353 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11355 * gst/gstregistry.c:
11356 Move big documentation comment into class section header, so that it
11357 appears in the API docs.
11359 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11361 * docs/gst/gstreamer-sections.txt:
11362 Oops. Commit the docs additions too for new API.
11363 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11365 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11367 * gst/gststructure.c: (gst_structure_id_set),
11368 (gst_structure_id_set_valist):
11369 * gst/gststructure.h:
11370 Add API for setting values into structures without performing
11371 a quark lookup, if the appropriate quark is already known.
11373 API: gst_structure_id_set
11374 API: gst_structure_id_set_valist
11376 * gst/parse/grammar.y:
11377 * gst/parse/parse.l:
11378 Remove some dead code shown by the coverage information.
11379 Don't throw a critical g_warning when encountering a syntax error,
11380 just warn and let the normal error path handle it.
11382 * plugins/elements/gstelements.c:
11383 Bump the rank of filesink up to PRIMARY so that it is preferred over
11384 gnomevfssink for file:// sink uri's
11386 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11387 (GST_START_TEST), (run_delayed_test),
11388 (gst_parse_test_element_base_init),
11389 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11390 (gst_parse_test_element_change_state),
11391 (gst_register_parse_element), (parse_suite):
11392 Beef up the tests for parse syntax to check that more error cases
11393 fail as they are supposed to. Increases the test coverage a bit.
11395 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11397 * docs/manual/basics-elements.xml:
11398 Fix gst_element_link() example.
11401 Mention in API docs that one should usually gst_bin_add()
11402 elements to a bin or pipeline before doing the linking.
11404 2006-07-26 Wim Taymans <wim@fluendo.com>
11406 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11407 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11408 Avoid function call for known types by keeping the buffer and
11409 subbuffer GType global.
11411 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11412 Random silly optimisations in read() path.
11414 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11416 * tools/gst-launch.c: (main):
11417 If the top-level of the parse is a normal bin, it doesn't do the
11418 right logic to run as a top-level element, so place it inside a
11421 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11423 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11424 Remove superfluous g_object_notify() calls, GObject does
11425 that for us automatically.
11427 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11430 on Win32, use dllspec to export the debug category symbols
11432 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11434 * gst/gsttaglist.c: (_gst_tag_initialize):
11435 Allow more than one GST_TAG_IMAGE per taglist.
11437 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11439 * gst/gstminiobject.c:
11441 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11442 (gst_fd_src_create):
11443 log recurring events at LOG level
11444 add more debug for when the fd gets set
11446 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11448 * gst/gstparse.c: (gst_parse_launch):
11449 Also remove reentrance checks if flex is MT safe (#348179)
11450 Fix my empty ChangeLog entry below
11452 2006-07-21 Andy Wingo <wingo@pobox.com>
11454 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11456 * libs/gst/check/Makefile.am
11457 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11458 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11459 * libs/gst/check/gstbufferstraw.h:
11460 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11461 functions, thus proving I am still a GStreamer haxor. OK I wrote
11462 them a long time ago, but anyways.
11464 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11467 * gst/gstparse.c: (gst_parse_launch):
11468 Check for flex version and omit mutex if we have a MT save flex
11471 2006-07-21 Wim Taymans <wim@fluendo.com>
11473 * gst/gstparse.c: (gst_parse_launch):
11474 Protect recursive calls to _parse with a recursive mutex
11477 2006-07-21 Wim Taymans <wim@fluendo.com>
11479 * tests/check/gst/gstpad.c: (GST_START_TEST):
11482 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11484 * gst/gstparse.c: (gst_parse_launch):
11485 Do not hang on recursive usage of gst_parse_launch()
11487 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11489 * gst/gsttaglist.c:
11490 Add some more docs, comments and FIXME 0.11s here and there
11491 and also fix some typos.
11493 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11495 * gst/gstsegment.h:
11496 Convert tabs to spaces for better readability.
11498 2006-07-20 Edward Hervey <edward@fluendo.com>
11500 * tests/check/libs/gdp.c: (gst_dp_suite):
11501 the test_buffer test fails at line 140 on ppc64 at the following
11503 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11504 GST_BUFFER_FLAG_IN_CAPS),
11505 "GST_BUFFER_IN_CAPS flag should have been copied !");
11506 See bug #348114 for more details.
11508 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11510 * docs/pwg/advanced-scheduling.xml:
11512 Fix typos (#348000).
11514 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11516 * docs/pwg/intro-basics.xml:
11517 Fix wrong links (#347927).
11519 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11521 * gst/gstregistry.h:
11522 * gst/gstregistryxml.c: (load_feature),
11523 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11524 * win32/common/config.h:
11525 make --disable-index work (#342564)
11527 2006-07-18 Wim Taymans <wim@fluendo.com>
11529 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11533 The attached patch adds two missing defines to gsttrace.h when tracing
11534 is disabled. It also corrects one existing define.
11537 2006-07-17 Wim Taymans <wim@fluendo.com>
11539 * docs/gst/gstreamer-sections.txt:
11540 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11542 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11543 Add two functions to check and change the SIGSEGV behaviour
11544 when loading plugins.
11545 Don't mess with the SIGSEGV handler when we were told not to.
11547 API: gst_segtrap_is_enabled
11548 API: gst_segtrap_set_enabled
11550 2006-07-14 Wim Taymans <wim@fluendo.com>
11552 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11553 * tests/check/elements/filesrc.c: (GST_START_TEST):
11554 Revert fix for regression in #347408 after release.
11556 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11558 Patch by: Antoine Tremblay <hexa00 at gmail com>
11560 * gst/gstutils.c: (gst_element_unlink):
11561 Free iterator when done (#347311).
11563 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11564 And add a test case for this.
11566 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11569 Bump nano back to CVS
11571 === release 0.10.9 ===
11573 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11576 releasing 0.10.9, "On the road again"
11578 2006-07-13 Wim Taymans <wim@fluendo.com>
11580 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11581 * tests/check/elements/filesrc.c: (GST_START_TEST):
11582 Revert pull-0 fix for release. Disable check. Fixes #347408.
11584 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11586 * libs/gst/dataprotocol/dataprotocol.c:
11587 (gst_dp_event_from_packet_1_0):
11588 Fixes #347337: failure to deserialize event packets with
11589 empty payload (only event type)
11591 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11594 do not install a .c file in the header directory
11596 2006-07-13 Edward Hervey <edward@fluendo.com>
11598 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11599 GhostPad no longer implicitely use the padtemplates of the targets.
11602 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11604 * gst/gstvalue.c: (gst_value_compare_list),
11605 (gst_value_compare_array), (_gst_value_initialize):
11606 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11607 Make GstValueArray comparison be order dependent as designed.
11608 Add checks for value lists and value array comparisons.
11611 2006-07-11 Edward Hervey <edward@fluendo.com>
11613 * gst/gstbin.c: (activate_pads),
11614 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11615 (gst_bin_change_state_func):
11616 (de)activate src pads before calling state_change on the childs.
11617 This is to avoid the case where a src ghostpad is blocked (holding the
11618 stream lock), which would block the deactivation of the ghostpad's
11620 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11621 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11622 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11623 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11624 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11625 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11626 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11627 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11628 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11629 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11630 (gst_ghost_pad_class_init),
11631 (gst_ghost_pad_internal_do_activate_push),
11632 (gst_ghost_pad_internal_do_activate_pull),
11633 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11634 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11635 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11636 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11637 GhostPads now create their internal GstProxyPad at creation (and not
11638 when they're linked, as it was being done previously).
11639 The internal and target pads are linked straight away.
11640 The data will also travel through the other pad in order to make
11641 pad blocking and probes non-hackish (the probe/block now really happens
11642 on the GhostPad and not on the target).
11643 * gst/gstpad.c: (gst_pad_set_blocked_async),
11644 (gst_pad_link_prepare), (gst_pad_push_event):
11645 Remove previous ghostpad cruft.
11646 * gst/gstutils.c: (gst_pad_add_data_probe),
11647 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11648 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11649 (gst_pad_remove_buffer_probe):
11650 Remove previous ghost pad cruft.
11651 Added more detailed debug statements.
11652 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11653 Fix the testsuite for refcounting changes.
11654 The comments about who has references were correct, but the refcount
11655 being checked wasn't the same (!?!).
11659 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11661 * docs/gst/gstreamer-sections.txt:
11662 * gst/gstconfig.h.in:
11663 More docs for configuration options, add docs to gtk-doc.
11665 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11668 * gst/gstconfig.h.in:
11669 * win32/common/config.h:
11670 Fix build when disabling tracing (fixes #344016). Also start to document
11671 the defines that disable the sub-systems.
11673 2006-07-10 Edward Hervey <edward@fluendo.com>
11675 * gst/gst.c: (ensure_current_registry_forking):
11676 let's make valgrind happy...
11678 2006-07-09 Wim Taymans <wim@fluendo.com>
11680 * gst/gstelement.c: (activate_pads),
11681 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11682 Better pad activation code: Reset the collect value too on resync.
11685 2006-07-09 Wim Taymans <wim@fluendo.com>
11687 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11688 (gst_pad_activate_push):
11689 Use some more macros where it makes sense.
11690 Allow pad mode switching instead of asserting. When a pad
11691 is activated in one mode and we activate it in another,
11692 deactivate it first before activating it in a different mode.
11695 2006-07-08 Andy Wingo <wingo@pobox.com>
11697 * tools/gst-launch.c (main): Handle err == NULL.
11699 * gst/gst.c (init_post, ensure_current_registry)
11700 (ensure_current_registry_forking)
11701 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11702 factoring out the registry scanning into separate functions. Don't
11703 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11704 Better environment var name/interface suggestions accepted.
11706 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11708 * gst/gstobject.c: (gst_object_set_name_default),
11709 (gst_object_set_name):
11710 Random micro-optimisation: don't use a hash table
11711 with strings as keys and the usual strdup/strcmp
11712 involved, but rather just use the GQuark of the
11713 type name as key, since it needs to be looked up
11714 anyway to get the type name string.
11716 * tests/check/gst/gstobject.c: (GST_START_TEST):
11719 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11721 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11722 (gst_bin_iterate_all_by_interface):
11723 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11724 GTypes are gulongs and thus the top 4 bytes might be cut
11725 off on some platforms when doing GPOINTER_TO_INT, leading
11726 to invalid GTypes and bad things happening (see RH bug #179654).
11727 Also add a check to make sure the type passed in is really
11730 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11735 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11739 * gst-element-check.m4:
11740 * gst-element-check.m4.in:
11741 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11742 instead of the unversioned gst-inspect (#324176, #168659).
11744 2006-07-06 Wim Taymans <wim@fluendo.com>
11746 * gst/gstmessage.h:
11747 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11750 2006-07-06 Wim Taymans <wim@fluendo.com>
11752 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11753 (gst_base_src_wait), (gst_base_src_update_length),
11754 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11755 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11756 (gst_base_src_loop), (gst_base_src_start),
11757 (gst_base_src_activate_pull):
11759 blocksize == 0 now means the default blocksize when working in push
11761 Remove some pointless asserts in _wait function.
11762 Fix offset/length calculations and EOS handling. We can now pull 0
11763 bytes as well, which is allowed.
11764 use _check_get_range() to decide if we can operate in _pull based
11766 Fix refcounting leak when check_get_range function was not
11768 API GstBaseSrc::blocksize range can be 0 too now (default)
11770 * tests/check/elements/filesrc.c: (GST_START_TEST),
11772 Added check to test _get_range() behaviour.
11774 2006-07-06 Wim Taymans <wim@fluendo.com>
11776 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11777 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11778 (gst_pad_pull_range):
11780 Lots of comments and docs added to the pad functions.
11781 Flesh out the expected behaviour of the get_range() functions.
11783 2006-07-06 Wim Taymans <wim@fluendo.com>
11788 * gst/gstiterator.h:
11792 Remove comma at end of enumerator list.
11794 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11796 * win32/common/libgstbase.def:
11797 * win32/common/libgstdataprotocol.def:
11798 * win32/common/libsgtreamer.def:
11799 Add new exported functions.
11801 2006-07-05 Wim Taymans <wim@fluendo.com>
11803 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11804 Add some more docs here and there.
11806 2006-07-05 Wim Taymans <wim@fluendo.com>
11808 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11809 (gst_base_sink_loop), (gst_base_sink_get_position):
11810 When operating in pull mode update the offset so that we
11813 2006-07-05 Wim Taymans <wim@fluendo.com>
11815 * gst/gstregistryxml.c: (read_string):
11816 Avoid strdup. (will happen in libxml, but hey!)
11819 Add some more docs.
11821 2006-07-05 Wim Taymans <wim@fluendo.com>
11823 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11824 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11825 (gst_buffer_suite):
11826 No point in checking if the size of the subbuffer > 0, the
11827 code handles it correclty as demonstrated by unit test.
11828 Also add a unit test for the zero sized _new_and_alloc and
11829 _copy. Fixes #346663.
11831 2006-07-05 Wim Taymans <wim@fluendo.com>
11833 * libs/gst/base/gstbasetransform.c:
11834 (gst_base_transform_prepare_output_buffer),
11835 (gst_base_transform_buffer_alloc),
11836 (gst_base_transform_handle_buffer):
11837 Make sure the buffer we pass to transform_ip has a refcount of
11838 1 and thus is writable. Fixes #343196
11840 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11842 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11843 (gst_file_src_init), (gst_file_src_set_property),
11844 (gst_file_src_get_property), (gst_file_src_map_region):
11845 * plugins/elements/gstfilesrc.h:
11846 Add "sequential" property, off by default, to use madvise and hint
11847 to the kernel that sequential access is desired.
11848 Touch all retrieved pages by default to ensure they are pulled
11849 into memory. (Closes #345720)
11851 2006-07-03 Wim Taymans <wim@fluendo.com>
11853 * docs/design/part-block.txt:
11854 * docs/design/part-dynamic.txt:
11855 Small docs updates.
11857 2006-07-03 Wim Taymans <wim@fluendo.com>
11859 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11860 (gst_caps_unref), (gst_static_caps_get),
11861 (gst_caps_append_structure):
11862 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11863 Use GSlice when the glib we build against is >= 2.10
11865 2006-07-03 Wim Taymans <wim@fluendo.com>
11867 * gst/gstelement.c: (gst_element_pads_activate):
11868 Small cleanup in pad activation code.
11870 2006-07-03 Wim Taymans <wim@fluendo.com>
11872 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11874 * gst/gst-i18n-app.h:
11875 * gst/gst-i18n-lib.h:
11876 * tools/gst-inspect.c: (print_signal_info):
11877 The attached patch will make the inclusion of gettext.h unconditional in
11878 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11879 libintl.h in tools/gst-inspect.c.
11880 This allows use of --disable-nls again and fixes #344642.
11882 2006-07-03 Edward Hervey <edward@fluendo.com>
11884 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11885 Implement pad blocking on events according to part-block.txt.
11886 More comments on behaviour.
11887 * tests/check/gst/gstevent.c: (test_event):
11888 Send event to peer pad of blocked pad (else it will block).
11890 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11892 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11893 (gst_check_run_suite):
11894 if we get the wrong message, give us the types as string
11895 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11897 * tests/check/elements/filesrc.c: (GST_START_TEST):
11898 add a test for trying to open a non-existing file
11900 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11902 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11903 add a test for adding self
11905 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11907 * libs/gst/check/gstcheck.h:
11908 add some assert_ as alias for fail_unless_*
11909 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11910 increase test coverage
11912 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11915 include lcov.mak for lcov coverage generation
11916 * tools/Makefile.am:
11919 2006-07-02 Edward Hervey <edward@fluendo.com>
11921 * tests/check/elements/.cvsignore:
11924 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11927 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11928 * tests/check/Makefile.am:
11929 clean up gcov files
11931 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11933 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11934 remove gst_caps_simplify; it was not declared and not used
11935 and deprecated in 0.8
11937 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11939 * docs/faq/gst-uninstalled:
11940 don't put empty paths on PYTHONPATH
11941 * docs/gst/gstreamer-sections.txt:
11942 remove some symbols that are not there
11944 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11946 * gst/gstcaps.c: (gst_caps_compare_structures):
11948 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11949 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11952 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11954 * libs/gst/dataprotocol/Makefile.am:
11955 build dataprotocol test by linking to the lib, instead of
11956 compiling the source, so we get coverage
11957 * tests/check/Makefile.am:
11958 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11959 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11960 add a test for filesrc
11962 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11964 * tests/check/gst/gststructure.c: (GST_START_TEST),
11965 (gst_structure_suite):
11966 Push coverage from 59.04% to 70.00%
11968 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11970 * tests/check/Makefile.am:
11971 gst-inspect every element; this makes sure that we also get
11972 coverage on element's get/set functions
11974 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11977 set CFLAGS and friends to -O0 if gcov is being used
11980 * libs/gst/base/Makefile.am:
11981 * libs/gst/check/Makefile.am:
11982 * libs/gst/controller/Makefile.am:
11983 * libs/gst/dataprotocol/Makefile.am:
11984 * libs/gst/net/Makefile.am:
11985 * plugins/elements/Makefile.am:
11986 * plugins/indexers/Makefile.am:
11987 add makefile rules to generate gcov data and clean up
11988 * tests/check/Makefile.am:
11989 add a coverage target that generates an html overview
11992 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11994 * tests/check/elements/fakesink.c:
11995 * tests/check/elements/fakesrc.c:
11996 * tests/check/elements/fdsrc.c:
11997 * tests/check/elements/identity.c:
11998 * tests/check/generic/sinks.c: (gst_sinks_suite):
11999 * tests/check/generic/states.c:
12000 * tests/check/gst/gst.c:
12001 * tests/check/gst/gstabi.c:
12002 * tests/check/gst/gstbin.c:
12003 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12004 * tests/check/gst/gstbus.c: (gst_bus_suite):
12005 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12006 * tests/check/gst/gstelement.c:
12007 * tests/check/gst/gstevent.c: (gst_event_suite):
12008 * tests/check/gst/gstghostpad.c:
12009 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12010 * tests/check/gst/gstmessage.c: (gst_message_suite):
12011 * tests/check/gst/gstminiobject.c:
12012 * tests/check/gst/gstobject.c:
12013 * tests/check/gst/gstpad.c:
12014 * tests/check/gst/gstpipeline.c:
12015 * tests/check/gst/gstplugin.c:
12016 * tests/check/gst/gstquery.c: (gst_query_suite):
12017 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12018 * tests/check/gst/gststructure.c:
12019 * tests/check/gst/gstsystemclock.c:
12020 * tests/check/gst/gsttag.c:
12021 * tests/check/gst/gsttask.c: (gst_task_suite):
12022 * tests/check/gst/gstutils.c:
12023 * tests/check/gst/gstvalue.c:
12024 * tests/check/libs/adapter.c:
12025 * tests/check/libs/basesrc.c:
12026 * tests/check/libs/collectpads.c:
12027 * tests/check/libs/controller.c:
12028 * tests/check/libs/gdp.c: (gst_dp_suite):
12029 * tests/check/libs/gstnetclientclock.c:
12030 * tests/check/libs/gstnettimeprovider.c:
12031 * tests/check/libs/libsabi.c: (libsabi_suite):
12032 * tests/check/libs/typefindhelper.c:
12033 * tests/check/pipelines/cleanup.c:
12034 * tests/check/pipelines/parse-launch.c:
12035 * tests/check/pipelines/simple-launch-lines.c:
12036 * tests/check/pipelines/stress.c: (stress_suite):
12039 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12041 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12042 * libs/gst/check/gstcheck.h:
12043 create a macro and function so that the simple unit test
12044 case can be just one macro to create main()
12046 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12048 * gst/gstbin.c: (gst_bin_restore_thyself):
12049 * gst/gstxml.c: (gst_xml_make_element):
12050 Fix deserialisation from XML. Set parent manually
12051 instead of using gst_bin_add(), since gst_bin_add()
12052 will unlink all pads of the element being added.
12055 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12057 Patch by: Peter Kjellerstedt <pkj at axis com>
12059 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12060 Fix missing g_strdup() and double free when using the
12061 --gst-plugin-load command line option (#346097).
12063 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12066 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12068 * libs/gst/net/gstnetclientclock.c:
12069 * libs/gst/net/gstnettimeprovider.c:
12070 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12072 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12074 * docs/manual/advanced-dataaccess.xml:
12075 Fix buffer probe example compilation in
12078 2006-06-22 Edward Hervey <edward@fluendo.com>
12080 * gst/gstelement.c: (gst_element_pads_activate):
12081 We need to deactivate src pads first and then sink pads.
12082 The reason is the src pads might be blocking while holding the streaming
12083 lock, so we need to deactivate them first so that deactivating the sink
12084 pads doesn't block (since it will require the streaming lock).
12086 2006-06-22 Wim Taymans <wim@fluendo.com>
12088 * libs/gst/base/gstbasetransform.c:
12089 (gst_base_transform_buffer_alloc):
12090 Forgot to remove two unneeded unrefs.
12091 Simplify a check _is_equal allready checks the obvious case.
12093 2006-06-22 Wim Taymans <wim@fluendo.com>
12095 * docs/design/part-block.txt:
12096 Some docs about what pad_block should do.
12098 2006-06-22 Wim Taymans <wim@fluendo.com>
12100 * gst/gstcaps.c: (gst_caps_replace):
12101 Fix crasher when passed NULL. Doc clarification.
12102 Optimize for the trivial case.
12104 * gst/gstpipeline.c: (gst_pipeline_change_state):
12107 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12108 Small documentation cleanup.
12110 * libs/gst/base/gstbasetransform.c:
12111 (gst_base_transform_buffer_alloc):
12112 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12113 is what we need and it avoids a whole lot of redundant
12114 refcount operations.
12116 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12118 Patch by: Philip Jägenstedt <philip at lysator liu se>
12120 * docs/manual/advanced-dataaccess.xml:
12121 Fix 'Embedding static elements' section to use
12122 GST_PLUGIN_DEFINE_STATIC (#345607).
12124 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12126 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12127 Attempt to 'fix' spuriously failing test case: it seems like the
12128 timeout of half a second is simply too small when the system is under
12129 load otherwise, and the timeout doesn't really seem to serve any
12130 particular purpose here. Give the pipeline a few seconds to preroll
12131 first, and then give it another half a second to go from PAUSED to
12132 PLAYING and marshal the message into the main thread.
12134 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12136 * tools/gst-feedback-m.m:
12137 Don't only use unversioned tools, try versioned tools as well
12140 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12142 * gst/gstbus.c: (gst_bus_class_init):
12143 Fix some typos, make docs more explicit.
12145 2006-06-20 Wim Taymans <wim@fluendo.com>
12147 * tests/check/gst/gstghostpad.c: (block_callback),
12148 (GST_START_TEST), (gst_ghost_pad_suite):
12149 Added some more ghostpad tests, mainly blocking
12152 2006-06-16 Wim Taymans <wim@fluendo.com>
12154 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12155 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12156 (gst_file_sink_event), (gst_file_sink_render):
12157 * plugins/elements/gstfilesink.h:
12158 Check if we can seek in the file instead of assuming
12159 we always can. Post an error when we are asked to seek in a
12160 non-seekable file (like a fifo). Fixes #343312.
12163 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12165 * tools/gst-launch.1.in:
12166 Un-garble (fourcc) bit in filtered caps section.
12168 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12170 * docs/manual/advanced-autoplugging.xml:
12171 * docs/manual/basics-helloworld.xml:
12172 * docs/manual/highlevel-components.xml:
12173 Don't leak bus reference in sample code.
12175 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12178 Add default for new --enable-plugin-docs switch.
12181 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12184 * docs/Makefile.am:
12185 Use new ENABLE_PLUGIN_DOCS conditional.
12187 2006-06-14 Wim Taymans <wim@fluendo.com>
12189 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12190 Make it clear with a FIXME and a real define what the #if 0
12191 previously disabled.
12193 2006-06-14 Wim Taymans <wim@fluendo.com>
12195 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12196 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12197 * libs/gst/base/gstbasetransform.c:
12198 (gst_base_transform_sink_eventfunc):
12199 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12200 Don't randomly and silently reset a segment when the format
12201 changes as this is a bug somewhere upstream. Fixes #330379.
12203 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12205 Patch by: Wouter Paesen <wouter at kangaroot net>
12207 * libs/gst/controller/gstcontroller.c:
12208 (gst_controlled_property_new):
12209 Fix controlling of float properties (#344849).
12211 * tests/check/libs/controller.c:
12212 (gst_test_mono_source_get_property),
12213 (gst_test_mono_source_set_property),
12214 (gst_test_mono_source_class_init), (GST_START_TEST):
12215 While we're at it, add some float stuff to unit test.
12217 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12220 * docs/images/gdp-header.svg:
12222 * docs/libs/Makefile.am:
12223 * docs/libs/gdp-header.png:
12224 * libs/gst/dataprotocol/dataprotocol.c:
12225 add it to the API docs
12226 * docs/manual/intro-motivation.xml:
12229 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12231 * gst/gst.c: (scan_and_update_registry), (init_post):
12232 If the fork()'ed child process can't write the updated registry cache
12233 file to disk for some reason, make it exit with a failure exit code,
12234 so that the parent can then re-scan the plugins itself and update the
12235 registry structures in memory and work with that (rather than failing
12236 when creating elements because seemingly no plugins are available).
12237 Refactor registry scanning code into separate function for this and
12238 also separate fork() and non-fork() code paths. Fixes #344748.
12240 2006-06-13 Wim Taymans <wim@fluendo.com>
12242 * docs/manual/advanced-dataaccess.xml:
12243 Fix wrong PluginDesc. Fixes #344755.
12245 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12247 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12248 Fix silly bug that prevented us from creating
12249 ~/.gstreamer-0.10 and writing the registry in one
12250 go (the first call to g_mkstemp() would overwrite the
12251 placeholder in the template string, so the second call
12252 to g_mkstemp() after creating the missing directory
12253 would then error out with 'invalid argument').
12255 2006-06-13 Edward Hervey <edward@fluendo.com>
12257 * gst/gst.c: (init_post):
12260 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12262 * gst/glib-compat-private.h:
12263 * gst/glib-compat.c:
12264 * gst/glib-compat.h:
12265 * gst/gstvalue.c: (gst_value_serialize_flags):
12266 remove GLib 2.6 compatibility code
12268 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12270 * gst/parse/Makefile.am:
12271 Fix build with 'make -j N' even more (#340016).
12273 2006-06-12 Wim Taymans <wim@fluendo.com>
12275 * docs/gst/gstreamer-sections.txt:
12278 2006-06-12 Wim Taymans <wim@fluendo.com>
12280 * gst/gstsegment.c: (gst_segment_set_duration),
12281 (gst_segment_set_last_stop), (gst_segment_set_seek),
12282 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12283 (gst_segment_to_running_time), (gst_segment_clip):
12284 Use G_UNLIKELY to help the compiler a bit.
12286 2006-06-12 Wim Taymans <wim@fluendo.com>
12288 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12290 * gst/gstevent.c: (gst_event_get_type):
12291 * gst/gstmessage.c:
12292 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12294 constify quark registration strings. Fixes #344115
12295 Avoid unneeded type checking is _pad_push() by internally
12296 calling gst_pad_chain_unchecked().
12298 2006-06-12 Wim Taymans <wim@fluendo.com>
12300 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12301 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12302 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12303 (gst_buffer_is_span_fast), (gst_buffer_span):
12304 Init _type for consistency.
12305 Use _FLAGS macro to avoid type check.
12306 Avoid unneeded type checks in subbufer code.
12308 2006-06-12 Wim Taymans <wim@fluendo.com>
12310 * gst/gst.c: (gst_debug_help):
12311 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12312 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12313 (gst_plugin_feature_list_free):
12314 * gst/gstregistry.c: (gst_registry_add_plugin),
12315 (gst_registry_add_feature), (gst_registry_plugin_filter),
12316 (gst_registry_feature_filter), (gst_registry_find_plugin),
12317 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12318 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12319 * gst/gstregistryxml.c: (load_feature),
12320 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12321 * gst/gstminiobject.c: (gst_mini_object_unref),
12322 (gst_mini_object_replace), (gst_value_mini_object_free),
12323 (gst_value_mini_object_copy):
12324 Use _CAST macros to avoid unneeded type checking.
12325 Added some more G_UNLIKELY.
12327 2006-06-12 Wim Taymans <wim@fluendo.com>
12330 Avoid unneeded type checking.
12331 API: GST_BUFFER_IS_DISCONT
12333 * gst/gstminiobject.h:
12334 Avoid type check in flag accessor.
12336 * gst/gstelementfactory.h:
12338 * gst/gstpluginfeature.h:
12340 API: GST_ELEMENT_FACTORY_CAST
12341 API: GST_PLUGIN_CAST
12342 API: GST_PLUGIN_FEATURE_CAST
12344 2006-06-12 Wim Taymans <wim@fluendo.com>
12346 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12347 (gst_object_unref):
12348 Add G_UNLIKELY in type registration.
12349 Avoid type check in _ref/_unref since that is also
12352 2006-06-12 Wim Taymans <wim@fluendo.com>
12354 * gst/gsterror.c: (gst_g_error_get_type):
12355 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12356 (gst_static_pad_template_get_type):
12357 * gst/gsttaglist.c: (gst_tag_list_get_type):
12358 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12359 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12360 * gst/gsturi.c: (gst_uri_handler_get_type):
12361 * gst/gstvalue.c: (gst_date_get_type):
12362 * gst/gstxml.c: (gst_xml_get_type):
12363 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12364 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12365 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12366 Add G_UNLIKELY in type registration.
12368 2006-06-12 Wim Taymans <wim@fluendo.com>
12370 * tools/gst-inspect.c: (print_signal_info):
12371 Properly print enum values.
12373 2006-06-12 Wim Taymans <wim@fluendo.com>
12375 * gst/gstinfo.c: (gst_debug_set_active),
12376 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12378 Add some G_[UN]LIKELY.
12379 Maintain __gst_debug_min to avoid formatting the arguments of
12380 debug messages that will be dropped anyway to avoid a lot of
12381 overhead from the debugging system.
12383 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12386 * po/POTFILES.skip:
12387 add missing files containing translatable strings, tell intltool about
12390 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12392 * tests/check/libs/.cvsignore:
12393 add test-binary to ignore list
12395 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12397 * docs/libs/gstreamer-libs-docs.sgml:
12398 reorder (put dp into a chapter) and indent
12400 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12405 === release 0.10.8 ===
12407 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12410 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12412 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12414 * gst/gst.c: (init_post):
12415 move pid declaration to declaration block
12417 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12419 * gst/gst.c: (init_post):
12420 use _exit() instead of exit() in our forked child; this ensures
12421 that none of the registered exit handlers from whatever is using
12422 GStreamer get executed. This fixes gnome-mixer-applet failing
12423 to load, because ORBit would shut down.
12424 Spotted by: Edward Hervey <edward@fluendo.com>
12425 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12428 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12433 === release 0.10.7 ===
12435 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12438 releasing 0.10.7, "Soepeke, ik zie ou"
12440 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12463 * win32/common/config.h:
12464 0.10.6.2 prerelease
12466 2006-06-07 Wim Taymans <wim@fluendo.com>
12468 * gst/gstindex.c: (gst_index_gtype_resolver):
12469 * tools/gst-xmlinspect.c: (print_plugin_info):
12470 Fix leak spotted by coverity checker. Fixes #343827
12471 Fix another other leak found by paolo borelli.
12473 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12475 * libs/gst/dataprotocol/dataprotocol.c:
12476 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12477 (gst_dp_version_get_type), (gst_dp_init),
12478 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12479 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12480 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12481 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12482 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12483 (gst_dp_packetizer_free):
12484 * libs/gst/dataprotocol/dataprotocol.h:
12485 API: add a GstDPPacketizer object, and create/free functions
12486 API: add GstDPVersion enum
12487 Add 1.0 event function that uses the string serialization
12488 Serialize more useful buffer flags
12491 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12493 * tests/check/Makefile.am:
12494 * tests/check/gst/gstabi.c:
12495 * tests/check/gst/struct_ppc64.h:
12496 * tests/check/libs/libsabi.c:
12497 * tests/check/libs/struct_ppc64.h:
12498 add ppc64 structure sizes
12500 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12502 * tests/check/Makefile.am:
12503 * tests/check/gst/gstabi.c:
12504 * tests/check/gst/struct_x86_64.h:
12505 * tests/check/libs/libsabi.c:
12506 * tests/check/libs/struct_x86_64.h:
12507 generate and add structure size lists for x86_64
12509 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12511 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12512 * libs/gst/check/gstcheck.h:
12513 factor out the method from tests that checks size of structures,
12514 and add code to generate the header containing these sizes
12515 * tests/check/gst/gstabi.c: (GST_START_TEST):
12516 * tests/check/gst/struct_i386.h:
12517 * tests/check/libs/libsabi.c: (GST_START_TEST):
12518 * tests/check/libs/struct_i386.h:
12521 2006-06-06 Michael Smith <msmith@fluendo.com>
12523 * gst/gstsegment.h:
12524 Don't use c++-style comments, fixes #343929
12526 2006-06-05 Edward Hervey <edward@fluendo.com>
12529 plugin_paths is not used if we build without registry support.
12531 * gst/gstsegment.c: (gst_segment_copy):
12532 _copy() was always returning NULL...
12534 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12536 * libs/gst/dataprotocol/dataprotocol.c:
12537 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12538 (gst_dp_packet_from_event):
12539 factor out CRC code
12541 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12543 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12544 make sure we unset caps
12546 2006-06-02 Michael Smith <msmith@fluendo.com>
12548 * libs/gst/check/gstcheck.c: (gst_check_init),
12549 (gst_check_chain_func):
12550 * libs/gst/check/gstcheck.h:
12551 Add a cond/mutex to the check support lib, signal this whenever we
12552 add to the buffers list. This will allow tests to not busy-wait on
12555 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12557 * libs/gst/dataprotocol/dataprotocol.c:
12558 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12559 (gst_dp_packet_from_event):
12560 factor out some common header init code
12562 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12564 * docs/libs/gstreamer-libs-sections.txt:
12565 * docs/libs/tmpl/gstdataprotocol.sgml:
12566 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12567 * libs/gst/dataprotocol/dataprotocol.h:
12568 API: make gst_dp_crc() public
12570 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12572 * plugins/indexers/gstindexers.c: (plugin_init):
12573 conditionally register fileindexer (fixes #343598)
12575 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12577 * gst/gsttagsetter.h:
12578 Can't cast ifaces to a class
12580 * libs/gst/net/gstnetclientclock.h:
12581 * libs/gst/net/gstnettimeprovider.h:
12582 * plugins/elements/gstfakesink.h:
12583 * plugins/elements/gstfakesrc.h:
12584 * plugins/elements/gstfdsink.h:
12585 * plugins/elements/gstfdsrc.h:
12586 * plugins/elements/gstfilesink.h:
12587 * plugins/elements/gstfilesrc.h:
12588 * plugins/elements/gstidentity.h:
12589 * plugins/elements/gstqueue.h:
12590 * plugins/elements/gsttee.h:
12591 * plugins/indexers/gstfileindex.c:
12592 * plugins/indexers/gstmemindex.c:
12593 * tests/old/examples/plugins/example.h:
12594 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12596 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12598 * libs/gst/dataprotocol/dataprotocol.c:
12599 (gst_dp_header_from_buffer):
12600 make sure we zero the whole ABI-compatible area
12602 2006-06-01 Wim Taymans <wim@fluendo.com>
12604 Patch by: Alessandro Decina <alessandro at nnva dot org>
12606 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12607 Make sure the EOS flag is cleared from pads after a flush
12608 or stop. Fixes #343538.
12610 * tests/check/libs/collectpads.c: (GST_START_TEST),
12611 (gst_collect_pads_suite):
12612 Added test for collectpads reusage after EOS.
12614 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12617 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12618 * win32/common/libgstbase.def:
12619 export gst_collect_pads_set_flushing
12620 * win32/common/libgstreamer.def:
12621 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12622 gst_value_fraction_multiply
12623 * win32/vs6/gst_inspect.dsp:
12624 add a link to intl.lib
12626 2006-05-30 Wim Taymans <wim@fluendo.com>
12628 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12629 (gst_collect_pads_chain):
12630 Handle the case where a pad is removed from the collection
12631 that could cause the other pads to become collectable.
12633 2006-05-30 Wim Taymans <wim@fluendo.com>
12635 * gst/gstelement.c:
12636 Clarify the use of _release_request_pad() and
12637 _get_request_pad() a bit better.
12639 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12640 (gst_adapter_take_buffer):
12641 Fix some doc and comment typos.
12643 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12645 * docs/gst/gstreamer-sections.txt:
12646 * docs/libs/gstreamer-libs-sections.txt:
12647 add declared symbols
12649 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12651 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12652 Add debug that can be enabled using a #define at the top of the file,
12653 for dumping stats about how late/early we were when waking up from
12654 waiting on the clock.
12656 2006-05-30 Wim Taymans <wim@fluendo.com>
12658 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12659 When rebuilding the pad list, don't leak the previous list.
12661 2006-05-30 Wim Taymans <wim@fluendo.com>
12663 Patch by: Lutz Mueller <lutz at topfrose dot de>
12665 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12666 (gst_base_src_get_query_types), (gst_base_src_update_length):
12667 Publish supported query types.
12668 Update last_stop field in get_range mode so the position
12669 query works. Fixes #342321.
12671 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12673 * docs/gst/gstreamer-sections.txt:
12674 * gst/gsttaglist.c: (_gst_tag_initialize):
12675 * gst/gsttaglist.h:
12676 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12678 2006-05-30 Wim Taymans <wim@fluendo.com>
12680 Patch by: Alessandro Decina <alessandro at nnva dot org>
12682 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12683 Unlock mutex when removing an unknown pad.
12686 * tests/check/Makefile.am:
12687 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12688 (push_event), (setup), (teardown), (GST_START_TEST),
12689 (gst_collect_pads_suite), (main):
12690 Added collecpads check, disabled for now as check crashes for
12693 2006-05-29 Wim Taymans <wim@fluendo.com>
12695 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12696 Don't leak pads lists.
12698 2006-05-29 Wim Taymans <wim@fluendo.com>
12700 * docs/libs/gstreamer-libs-sections.txt:
12701 * libs/gst/base/gstcollectpads.c:
12702 (gst_collect_pads_set_flushing_unlocked),
12703 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12704 (gst_collect_pads_stop):
12705 * libs/gst/base/gstcollectpads.h:
12706 API: gst_collect_pads_set_flushing()
12707 Added api to set the pads to flushing, useful for seeking
12708 code in elements using collectpads.
12709 Clear segment when receiving a flush.
12711 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12713 * gst/gst.c: (add_path_func), (init_post):
12714 Don't scan registry paths passed via --gst-plugin-path immediately
12715 (will crash, because absolutely nothing is set up and no types are
12716 registered etc.); do this later in init_post(). Fixes #343057.
12718 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12720 * gst/gst.c: (init_post):
12721 if we have fork, fork while reading/rebuilding the registry
12722 so the parent doesn't take the hit of having all plugins loaded
12723 in memory. Fixes #342777.
12725 Check if we have fork()
12726 * win32/common/config.h.in:
12729 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12731 * plugins/elements/gstelements.c:
12732 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12733 (gst_file_src_init), (gst_file_src_set_property),
12734 (gst_file_src_get_property), (gst_file_src_start):
12735 * plugins/elements/gstfilesrc.h:
12736 API: GstFileSrc::use-mmap
12738 Add a use-mmap property to enable easier testing of all code paths.
12739 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12740 in the absence of gnomevfssrc. (Closes #340501)
12742 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12744 * tools/gst-inspect.c:
12745 Add missing include, removes warning of ngettext not being defined on
12748 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12750 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12751 Handle NULL input and output pointers silently as a failed conversion,
12752 rather than g_warnings.
12754 2006-05-25 Wim Taymans <wim@fluendo.com>
12756 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12757 Initialize variable before using. Fixes #342820.
12759 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12761 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12762 Fix off-by-one bug that would only allow peeks of N-1 bytes
12763 from the start even if the buffer to typefind on contains
12764 in fact N bytes of data (makes vorbis typefinding from a
12765 vorbis identification header buffer work).
12767 * tests/check/Makefile.am:
12768 * tests/check/libs/.cvsignore:
12769 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12770 (gst_typefindhelper_suite), (main), (foobar_typefind),
12772 Add very basic unit test for gst_type_find_helper_for_buffer()
12773 that checks for the problem fixed above.
12775 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12777 * tools/gst-inspect.c: (print_interfaces),
12778 (print_element_properties_info), (print_element_list), (main):
12779 add more translatable strings
12781 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12783 Patch by: Julien Moutte <julien at moutte net>
12785 * docs/gst/gstreamer-sections.txt:
12786 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12788 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12789 (gst_fake_sink_preroll):
12790 * plugins/elements/gstfakesink.h:
12791 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12793 2006-05-23 Wim Taymans <wim@fluendo.com>
12795 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12797 Added _CUSTOM error and success GstFlowReturn that can be
12798 used be elements internally.
12799 Added macro to check for SUCCESS flowreturns.
12800 API: GST_FLOW_CUSTOM_SUCCESS
12801 API: GST_FLOW_CUSTOM_ERROR
12802 API: GST_FLOW_IS_SUCCESS
12804 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12805 Added check for GstFlowReturn sanity.
12807 2006-05-23 Wim Taymans <wim@fluendo.com>
12809 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12811 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12812 (gst_collect_pads_event):
12813 clear/reset segment info in FLUSH_STOP.
12816 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12818 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12819 (gst_collect_pads_check_collected):
12820 Flush queued buffer on _stop(), fixes playing again (#342454)
12822 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12824 * tests/check/gst/gststructure.c: (GST_START_TEST),
12825 (gst_structure_suite):
12826 add a test for a complete structure
12828 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12830 * docs/faq/developing.xml:
12831 * docs/faq/faq.xml:
12832 * docs/faq/troubleshooting.xml:
12833 * docs/faq/using.xml:
12834 Some minor FAQ updates that won't change the fact that
12835 our FAQ is badly structured, full of information hardly
12836 anyone new to GStreamer needs to know and lacking lots
12837 of information people constantly ask for.
12839 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12841 * gst/gstpad.c: (gst_pad_set_caps):
12842 Short-circuit gst_pad_set_caps if setting the existing
12843 caps pointer again, and avoid printing debug and
12844 reffing/unreffing the caps.
12846 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12847 There's actually no need to set the caps before pushing -
12848 the acceptcaps method will handle it anyway.
12850 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12852 * docs/gst/gstreamer-sections.txt:
12853 * win32/common/libgstreamer.def:
12854 * gst/gstutils.c: (gst_element_seek_simple):
12856 API: add gst_element_seek_simple() (#342238).
12858 2006-05-18 Edward Hervey <edward@fluendo.com>
12860 * gst/gsttypefind.c: (gst_type_find_get_type):
12861 * gst/gsttypefind.h:
12862 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12863 registered for GstTypeFind pointers. This allows wrapping the structure
12864 in bindings (i.e. gst-python).
12866 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12868 * gst/gsttagsetter.c:
12869 Docs additions and fixes (see #339918).
12871 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12873 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12874 The caps intersection algorithm can produce multiple copies of the
12875 caps. Until that is fixed, we need to simplify the result to be
12876 sure whether the allowed caps are fixed or not.
12878 * plugins/elements/gstqueue.c: (gst_queue_init),
12879 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12880 (gst_queue_push_one):
12881 Proxied buffer alloc should not set the caps on the source pad.
12882 When pushing buffers, we always accept the caps change that triggers.
12883 This prevents negotiation errors caused by caps changing mid-stream
12884 and then being refused on our source pad (because upstream is now
12885 refusing those caps).
12887 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12889 * tests/examples/helloworld/helloworld.c: (main):
12890 Must plug audioconvert and audioresample between decoder
12893 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12895 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12896 (load_feature), (load_plugin):
12897 Allow empty strings for some of the plugin fields so we don't
12898 drop valid plugin entries that were written out correctly
12901 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12903 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12904 Use g_remove and g_rename instead of remove and rename that don't
12905 handle utf8 characters. rename was failing for users who had specific
12906 characters in their name then the registry was built at each
12908 * win32/vs6/gst_inspect.dsp:
12909 * win32/vs6/gst_launch.dsp:
12910 * win32/vs6/libgstbase.dsp:
12911 * win32/vs6/libgstcoreelements.dsp:
12912 * win32/vs6/libgstreamer.dsp:
12913 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12914 build of libgstreamer and clean unused libraries in projects link
12917 2006-05-17 Edward Hervey <edward@fluendo.com>
12919 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12920 The queue is not responsible for pushing an EOS when receiving a fatal
12921 flow error. It's up to the real element driving the pipeline to do that.
12923 2006-05-16 Edward Hervey <edward@fluendo.com>
12925 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12926 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12927 buffer returned a fatal error. It should just send an EOS and stop
12929 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12930 when pushing buffers on the queue and will be able to handle the event.
12932 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12934 * docs/manual/basics-bins.xml:
12935 * docs/manual/basics-init.xml:
12936 Fix typos and minor errors in sample code (#341856).
12938 2006-05-16 Wim Taymans <wim@fluendo.com>
12940 * docs/design/part-qos.txt:
12941 Fix indexes in formulas to make more sense.
12943 2006-05-15 Wim Taymans <wim@fluendo.com>
12945 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12946 Don't report POSITION based on clock time if sync is
12947 disabled in a sink.
12949 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12952 Add cast to make compiler happy - refcount variable was a gint
12953 in GstObject but is a guint in GObject and g_atomic_int_get()
12956 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12958 * gst/parse/Makefile.am:
12959 chain commands using &&, which also makes parallel make work
12961 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12963 * docs/gst/gstreamer-sections.txt:
12966 * gst/gstmessage.h:
12969 === release 0.10.6 ===
12971 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12974 releasing 0.10.6, "Take the cannoli"
12976 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12978 * tools/gst-launch.c: (print_tag):
12979 Fix use of uninitialized variable in the hypothetical
12980 case that some broken plugin creates a GST_TAG_IMAGE
12981 tag containing a NULL buffer (#341667).
12983 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12985 * tools/gst-launch.c: (print_tag):
12986 Print something more intelligible for image tags when
12987 using the -t switch (#341556).
12989 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12994 define GST_MAJORMINOR so we have it available in win32/common/config.h
12995 Possibly remove it from our Makefile.am files later
12996 * win32/common/config.h:
12997 * win32/common/config.h.in:
12998 added GST_MAJORMINOR
12999 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13000 * win32/common/gstversion.h:
13003 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13006 Update win32 files listing.
13007 * win32/common/gstversion.h:
13008 Add GST_MAJORMINOR definition.
13009 * win32/common/libgstreamer.def:
13010 Add new exported functions.
13012 2006-05-12 Michael Smith <msmith@fluendo.com>
13014 * gst/gstplugin.c: (gst_plugin_load_file):
13015 If an so file has no plugin entry point, unload the module.
13017 2006-05-11 Wim Taymans <wim@fluendo.com>
13019 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13020 (gst_queue_set_property):
13021 Don't forget to signal the _chain or _loop function
13022 when the queue size or thresholds change since that might
13023 cause them to make progres again.
13025 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13027 * gst/gstclock.c: (gst_clock_class_init):
13028 * gst/gstindex.c: (gst_index_class_init):
13029 * gst/gstobject.c: (gst_object_class_init):
13030 * gst/gstpad.c: (gst_pad_class_init):
13031 * gst/gstpipeline.c: (gst_pipeline_class_init):
13032 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13033 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13034 * libs/gst/base/gstbasetransform.c:
13035 (gst_base_transform_class_init):
13036 * libs/gst/net/gstnetclientclock.c:
13037 (gst_net_client_clock_class_init):
13038 * libs/gst/net/gstnettimeprovider.c:
13039 (gst_net_time_provider_class_init):
13040 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13041 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13042 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13043 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13044 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13045 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13046 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13047 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13048 * plugins/elements/gsttee.c: (gst_tee_class_init):
13049 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13050 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13051 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13053 2006-05-11 Wim Taymans <wim@fluendo.com>
13055 * gst/gstbuffer.c: (_gst_buffer_initialize):
13056 Register subbufer along with the buffer type so that
13057 it does not accidentally gets registered from N
13058 different streaming threads in a non threadsafe way.
13060 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13064 * gst/gstmessage.h:
13065 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13066 gst_event_ref() and gst_message_ref() functions again
13067 (ugly hack, please do fix if there's a better way besides
13068 overrides.txt, which doesn't seem to work).
13070 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13072 * libs/gst/check/gstcheck.h:
13073 add an assert for setting state to avoid lots of repetitive code
13076 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13078 * gst/gstvalue.c: (gst_value_serialize_flags):
13079 fix a leak if no flags are set
13080 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13083 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13085 * docs/manual/basics-pads.xml:
13086 Expand a bit on caps and filtered links and update
13087 examples that were still using the no longer existing
13088 gst_pad_link_filtered() (#338206).
13090 2006-05-10 Wim Taymans <wim@fluendo.com>
13092 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13093 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13094 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13095 (gst_collect_pads_stop):
13096 * libs/gst/base/gstcollectpads.h:
13097 No need to call _stop in _finalize.
13098 Iterate the main pad list in _finalize.
13099 Added some more debug.
13100 Free lists and data in the right order.
13101 Also free data whem doing _remove_pad when stopped for
13102 backward compatibility protect ::started with PAD_LOCK as
13105 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13107 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13108 (gst_structure_parse_value):
13110 rename a method so that it actually says what it does better
13112 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13114 * gst/gstevent.c: (_gst_event_initialize):
13115 * gst/gstformat.c: (_gst_format_initialize):
13116 make sure some essential types used by events are registered
13117 as part of gst_init()
13118 * gst/gstvalue.c: (gst_value_serialize_flags):
13119 if no flags are set, serialize them to a value that represents NONE
13120 so that deserializing them works
13121 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13122 add tests for serialization and deserialization of flags
13124 2006-05-10 Wim Taymans <wim@fluendo.com>
13126 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13127 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13128 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13129 (gst_collect_pads_event), (gst_collect_pads_chain):
13132 Catch and return errors from the collect function
13133 Refuse data on eos pads.
13135 2006-05-10 Edward Hervey <edward@fluendo.com>
13137 * gst/gstinterface.h:
13138 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13139 GInterface type checking.
13140 They were previously using non-defined macros.
13142 2006-05-09 Wim Taymans <wim@fluendo.com>
13144 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13145 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13146 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13147 (gst_collect_pads_start), (gst_collect_pads_stop),
13148 (gst_collect_pads_peek), (gst_collect_pads_pop),
13149 (gst_collect_pads_available), (gst_collect_pads_read),
13150 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13151 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13152 (gst_collect_pads_chain):
13153 * libs/gst/base/gstcollectpads.h:
13154 Clean up the mess that is collectpads, add comments and
13155 FIXMEs where needed.
13156 Maintain a separate pad list so we can add pads while
13157 collecting the other ones. For this we need a new separate
13159 Fix memory leak in finalize.
13160 Refactor some weird code to set/unset pad flushing flags, mark
13162 Don't crash in _available, _read, _flush when we're EOS.
13164 * tests/check/libs/.cvsignore:
13165 Ignore adapter check binary.
13167 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13169 * gst/gstindex.c: (gst_index_resolver_get_type):
13170 * plugins/elements/gstfakesink.c:
13171 (gst_fake_sink_state_error_get_type):
13172 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13173 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13174 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13175 Const-ify GEnumValue arrays.
13177 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13179 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13180 Add test case for flags + gst_buffer_make_metadata_writable().
13182 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13184 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13185 gst_buffer_make_metadata_writable() should maintain the
13186 buffer flags (those that make sense at least) (see #340859).
13188 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13190 * tools/gst-inspect.c:
13191 * tools/gst-launch.c:
13192 * tools/gst-typefind.c:
13193 * tools/gst-xmlinspect.c:
13195 Fix up includes: need to include stdlib.h in tools.h for exit().
13197 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13199 * gst/gsttaglist.c: (_gst_tag_initialize):
13200 * gst/gsttaglist.h:
13201 API: add GST_TAG_IMAGE tag (#340721).
13203 2006-05-08 Wim Taymans <wim@fluendo.com>
13206 Added some docs for the segment query.
13208 2006-05-08 Wim Taymans <wim@fluendo.com>
13210 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13211 (gst_base_src_loop), (gst_base_src_change_state):
13212 Always push non-flushing serialized events in the streaming
13215 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13217 * gst/gsterror.c: (_gst_stream_errors_init):
13218 Add a missing error string.
13220 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13222 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13223 Add applied_rate to the debug
13225 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13226 Copy applied_rate into the outgoing NEWSEGMENT event
13228 2006-05-08 Wim Taymans <wim@fluendo.com>
13230 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13232 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13233 (gst_base_sink_change_state):
13234 call ::unlock before taking the PREROLL_LOCK so we can safely
13235 handle elements that lock in ::render.
13238 2006-05-08 Edward Hervey <edward@fluendo.com>
13240 * autogen.sh: (CONFIGURE_DEF_OPT):
13241 Darwin's libtoolize is in fact called glibtoolize.
13242 Adding glibtoolize to the list of accepted names for libtoolize.
13244 2006-05-08 Wim Taymans <wim@fluendo.com>
13246 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13247 Unify error handling, don't post an error message
13248 when a push() returns EOS but perform our normal EOS
13249 handling code. Fixes #340772.
13251 2006-05-08 Wim Taymans <wim@fluendo.com>
13253 * docs/design/part-overview.txt:
13254 Make upsteam/downstream concepts more clear.
13255 Give an example of serialized/non-serialized events.
13257 * docs/design/part-events.txt:
13258 * docs/design/part-streams.txt:
13259 Mention applied_rate.
13261 * docs/design/part-trickmodes.txt:
13262 Mention applied rate, flesh out some more use cases.
13264 * gst/gstevent.c: (gst_event_new_new_segment),
13265 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13266 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13267 (gst_event_parse_tag), (gst_event_new_buffer_size),
13268 (gst_event_parse_buffer_size), (gst_event_new_qos),
13269 (gst_event_parse_qos), (gst_event_parse_seek),
13270 (gst_event_new_navigation):
13272 Add applied_rate field to NEWSEGMENT event.
13273 API: gst_event_new_new_segment_full()
13274 API: gst_event_parse_new_segment_full()
13276 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13277 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13278 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13279 * gst/gstsegment.h:
13280 Add applied_rate to GstSegment structure.
13281 Make calculation of stream_time and running_time more correct
13282 wrt rate/applied_rate.
13283 Add some more docs.
13284 API: GstSegment::applied_rate field
13285 API: gst_segment_set_newsegment_full();
13287 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13288 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13289 * libs/gst/base/gstbasetransform.c:
13290 (gst_base_transform_sink_eventfunc),
13291 (gst_base_transform_handle_buffer):
13292 Parse and use applied_rate in the GstSegment field.
13294 * tests/check/gst/gstevent.c: (GST_START_TEST):
13295 Add check for applied_rate field.
13297 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13298 (gstsegments_suite):
13299 Add more checks for various GstSegment operations.
13301 2006-05-08 Wim Taymans <wim@fluendo.com>
13303 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13304 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13305 (gst_base_sink_get_position), (gst_base_sink_change_state):
13306 Store the sync time of the buffer end position separatly in a
13307 new variable eos_rtime so we can properly sync the EOS event.
13309 Fix the docs for gst_base_sink_set_qos_enabled().
13310 Don't set segment start to invalid value when we receive a
13311 non TIME newsegment.
13312 get closer to handling position reporting for negative rates
13315 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13318 Docs about how to print caps for debug purposes.
13320 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13321 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13323 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13325 * gst/gstelement.c:
13326 use full enum names and preprend a '%' in docs strings to make recent
13327 gtk-doc turn that into a link
13329 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13331 * docs/manual/basics-bins.xml:
13332 * docs/manual/basics-bus.xml:
13333 * docs/manual/basics-pads.xml:
13334 Some typo fixes, some additions, some clarifications.
13336 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13338 * tools/gst-inspect.c: (main):
13339 * tools/gst-launch.c: (main):
13340 * tools/gst-run.c: (main):
13341 * tools/gst-typefind.c: (main):
13342 * tools/gst-xmlinspect.c: (main):
13343 Use the string passed to g_option_context_new() for
13344 what it's intended for - the program name is already
13347 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13349 * tools/Makefile.am:
13350 * tools/gst-inspect.c: (main):
13351 * tools/gst-launch.c: (main):
13352 * tools/gst-xmlinspect.c: (main):
13354 Add back --version command line option (#340460).
13356 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13357 Add --version option and use GOption for argument parsing; refactor a
13358 bit; accept directories as arguments and recurse into them; lastly,
13359 print a decent error message when things go wrong.
13361 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13363 * docs/manual/basics-bins.xml:
13364 Don't mention GstThread (#340611)
13365 * docs/manual/basics-elements.xml:
13366 Update link to GObject tutorial (#340607)
13368 2006-05-05 Wim Taymans <wim@fluendo.com>
13371 * gst/gstminiobject.c:
13372 Add note about refcounting and miniobject/buffer writeability
13373 to docs. Fixes #340604
13375 * gst/gstelementfactory.h:
13376 Added some explanation about @klass.
13378 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13380 * docs/manual/intro-motivation.xml:
13381 * docs/manual/manual.xml:
13382 Avoid CORBA & Bonobo references (#340598)
13384 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13386 * docs/manual/basics-bus.xml:
13387 * docs/manual/basics-pads.xml:
13388 Fix up some inaccuracies and omissions (#340609)
13390 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13392 * gst/gstghostpad.c:
13393 Small typo in docs (#340625)
13395 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13397 * gst/parse/Makefile.am:
13398 Make 'make -j' proof (see #340698).
13400 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13403 Require GLib-2.8 here as well.
13405 2006-05-05 Wim Taymans <wim@fluendo.com>
13407 * gst/glib-compat.c:
13408 * gst/gst.c: (init_pre):
13409 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13410 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13411 (gst_object_dispatch_properties_changed):
13413 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13414 * gst/gststructure.c: (gst_structure_set_valist):
13415 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13416 Remove pre glib2.8 compatibility, fixes #340508
13418 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13420 * gst/gsttaglist.h:
13421 Mention type of tags in doc blurbs.
13423 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13425 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13426 (gst_pad_configure_src), (gst_pad_push):
13427 Restore acceptcaps checking behaviour now that good plugins have
13430 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13432 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13439 * gst/gstmessage.c:
13443 * gst/parse/Makefile.am:
13444 * libs/gst/base/gstadapter.c:
13445 * libs/gst/base/gstbasesrc.c:
13446 * libs/gst/base/gstpushsrc.c:
13447 * libs/gst/base/gsttypefindhelper.c:
13448 * plugins/elements/gstfakesrc.c:
13449 * plugins/elements/gstidentity.c:
13450 Make sure gstprivate.h and/or config.h are
13451 always included first, otherwise some of our
13452 defines (like _FILE_OFFSET_BITS) might be
13453 redefined in the system headers. Fixes build
13454 on opensolaris (#340016).
13456 2006-05-04 Wim Taymans <wim@fluendo.com>
13458 * docs/libs/gstreamer-libs-sections.txt:
13459 API: addition: gst_adapter_take_buffer()
13461 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13462 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13463 (gst_adapter_available_fast):
13464 * libs/gst/base/gstadapter.h:
13465 Prepare for optimizing the hell out of this hugely inefficient
13467 Added gst_adapter_take_buffer() so we can at least start thinking
13468 about subbuffering and merging.
13469 Added some comments.
13471 * tests/check/Makefile.am:
13472 * tests/check/libs/adapter.c: (GST_START_TEST),
13473 (gst_adapter_suite), (main):
13474 Added GstAdapter check.
13476 2006-05-04 Wim Taymans <wim@fluendo.com>
13478 * docs/design/part-overview.txt:
13479 Fix some typos, add blurb about buffer flags.
13481 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13483 * docs/libs/gstreamer-libs-sections.txt:
13484 make sure GstBaseTransformClass shows up in the docs
13485 * libs/gst/base/gstbasetransform.c:
13486 * libs/gst/base/gstbasetransform.h:
13487 move docs so gtk-doc picks it up now
13489 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13491 * docs/libs/gstreamer-libs-sections.txt:
13492 add missing symbols to docs
13494 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13496 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13497 back out the newsegment handling change, see #340060 for ongoing
13500 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13502 * tools/gst-run.c: (get_candidates), (main):
13503 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13504 work); fix typo in error message. Fixes #340079.
13506 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13508 * common/Makefile.am:
13509 * docs/Makefile.am:
13510 * docs/faq/Makefile.am:
13511 * docs/gst/Makefile.am:
13512 * docs/libs/Makefile.am:
13513 * docs/manual/Makefile.am:
13514 * docs/plugins/Makefile.am:
13515 * docs/pwg/Makefile.am:
13516 * docs/slides/Makefile.am:
13518 * common/upload.mak:
13519 move upload.mak to common
13521 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13523 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13524 add more asserts on refcounts
13525 do more cleanup at end of tests
13526 fix test leaks showing in FC5
13528 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13530 * plugins/elements/gsttypefindelement.c:
13531 (gst_type_find_element_handle_event):
13532 reverted wrong change and reflowed code to avoid others falling into
13535 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13537 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13538 fix changelog entry about last collectpads change,
13539 add notes about proper fix
13541 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13544 * gst/gstregistry.c: (gst_registry_scan_path_level),
13545 (gst_registry_scan_path):
13546 * gst/gstregistry.h:
13547 only write out registry if it has changed, fixes #338339
13549 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13552 * gst/gstpipeline.c:
13553 * plugins/elements/gstcapsfilter.c:
13554 * plugins/elements/gstfakesink.c:
13555 * plugins/elements/gstfakesrc.c:
13556 * plugins/elements/gstfdsink.c:
13557 * plugins/elements/gstfdsrc.c:
13558 * plugins/elements/gstfilesink.c:
13559 * plugins/elements/gstfilesrc.c:
13560 * plugins/elements/gstidentity.c:
13561 * plugins/elements/gstqueue.c:
13562 * plugins/elements/gsttee.c:
13563 * plugins/elements/gsttypefindelement.c:
13564 (gst_type_find_element_handle_event):
13565 make GstElementDetails const
13567 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13569 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13570 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13571 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13572 more detailed debug and formatting cleanup,
13573 forward newsegments to src-pad (so that e.g. adder not eats them)
13575 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13577 * gst/gstutils.c: (gst_element_link_pads):
13578 cleanup double code
13580 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13582 * libs/gst/controller/gstcontroller.c:
13583 (gst_controller_sync_values):
13585 * tests/check/libs/controller.c: (GST_START_TEST),
13586 (gst_controller_suite):
13587 a new test for live value handling
13589 2006-04-28 Wim Taymans <wim@fluendo.com>
13591 * gst/gstutils.c: (push_and_ref):
13592 Added some more docs.
13593 Fix refcount issue whith gst_element_found_tags() helper
13594 function. Fixes #338335
13596 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13597 Added testsuite for gst_element_found_tags().
13599 2006-04-28 Michael Smith <msmith@fluendo.com>
13601 * gst/gstvalue.c: (gst_value_serialize_flags):
13602 Avoid NULL dereference when trying to serialize flags containing
13605 2006-04-28 Michael Smith <msmith@fluendo.com>
13607 * plugins/elements/gsttypefindelement.c:
13608 (gst_type_find_element_handle_event):
13609 If we get EOS before any data is accumulated, don't use
13610 uninitialised local variables.
13612 2006-04-28 Michael Smith <msmith@fluendo.com>
13614 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13615 (gst_dp_event_from_packet):
13616 Fixes in reading/writing events over GDP (not currently used?) -
13617 dereferencing NULL events for unknown/invalid event types, memory
13618 leak, and change g_warning to GST_WARNING.
13620 2006-04-28 Wim Taymans <wim@fluendo.com>
13622 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13623 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13624 (gst_base_sink_get_position), (gst_base_sink_change_state):
13625 When frame dropping is enabled, we should not ignore frames
13626 without a duration.
13627 Update some documentation.
13629 2006-04-28 Wim Taymans <wim@fluendo.com>
13631 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13632 (gst_base_src_send_event), (gst_base_src_change_state):
13633 Documentation updates.
13635 2006-04-28 Wim Taymans <wim@fluendo.com>
13637 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13638 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13639 handle EAGAIN, EINTR and short writes correctly. Also clean
13640 up some error cases, avoid a deadlock on bad file descriptors and
13641 use GST_DEBUG_OBJECT.
13644 2006-04-28 Wim Taymans <wim@fluendo.com>
13646 * gst/gstvalue.c: (gst_value_serialize_buffer),
13647 (gst_value_deserialize_buffer):
13648 Don't try to serialize a GValue with a NULL buffer.
13651 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13652 Added check for serialisation of NULL buffers.
13654 2006-04-28 Wim Taymans <wim@fluendo.com>
13656 * gst/gstminiobject.c: (gst_value_take_mini_object):
13657 Taking a NULL miniobject is valid, fix the case where
13658 we try to unref the NULL miniobject.
13660 2006-04-28 Wim Taymans <wim@fluendo.com>
13662 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13664 * gst/gstbin.c: (gst_bin_handle_message_func):
13666 Don't leak bin refcount when a state recalc is
13667 in progress and we delay another one #339808.
13669 2006-04-28 Wim Taymans <wim@fluendo.com>
13671 * docs/design/part-TODO.txt:
13672 Mention QoS as an ongoing work item.
13674 * docs/design/part-buffering.txt:
13675 New doc about buffering that needs to be fleshed out
13678 * docs/design/part-qos.txt:
13679 More QoS policy for decoders/demuxers/transforms
13681 * docs/design/part-trickmodes.txt:
13684 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13689 === release 0.10.5 ===
13691 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13694 releasing 0.10.5, "Fogo"
13696 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13698 patch by: Wim Taymans
13700 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13701 (gst_pad_configure_src), (gst_pad_push):
13702 * gst/gstpipeline.c: (gst_pipeline_init):
13703 Fix internal data flow errors. Fixes #338711.
13705 2006-04-12 Wim Taymans <wim@fluendo.com>
13707 * tests/check/gst/gstelement.c: (GST_START_TEST):
13708 Don't leak the factory.
13710 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13713 * win32/common/config.h:
13716 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13718 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13719 (gst_controller_unset_all):
13720 Free allocated GstTimedValues when freeing list nodes.
13721 Should fix leaks 'make check-valgrind' complains about.
13723 * win32/common/libgstcontroller.def:
13724 Add gst_controller_unset_all.
13726 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13728 * docs/libs/gstreamer-libs-sections.txt:
13729 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13730 (gst_controller_unset_all):
13731 * libs/gst/controller/gstcontroller.h:
13732 API: Added new method gst_controller_unset_all()
13733 fixed gst_controller_unset()
13734 * tests/check/libs/controller.c: (GST_START_TEST),
13735 (gst_controller_suite):
13736 Added two testcases for new and fixed method
13738 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13740 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13741 MSG_DONTWAIT is not defined on Cygwin, so work
13742 around that (fixes #317048).
13744 2006-04-11 Wim Taymans <wim@fluendo.com>
13746 * gst/gstelementfactory.c: (gst_element_register),
13747 (gst_element_factory_create), (gst_element_factory_make):
13750 Updated docs (Fixes #131079)
13752 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13755 * tests/check/gst/gstelement.c: (GST_START_TEST),
13756 (gst_element_suite):
13757 Added testcase for elementfactory class field.
13759 2006-04-10 Wim Taymans <wim@fluendo.com>
13761 * gst/gstsegment.c:
13762 Added some more docs.
13764 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13765 (gst_base_sink_reset_qos):
13766 Calculate more accurate rate values.
13768 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13770 * gst/gst_private.h:
13771 add a new #ifdef to use __declspec(dllimport) only for
13772 other modules and not for gstreamer core
13773 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13774 use gst_guint64_to_gdouble for conversion
13775 * win32/common/libgstreamer.def:
13776 add new exported functions
13777 * win32/vs6/gst_inspect.dsp:
13778 * win32/vs6/gst_launch.dsp:
13779 * win32/vs6/libgstbase.dsp:
13780 * win32/vs6/libgstcontroller.dsp:
13781 * win32/vs6/libgstcoreelements.dsp:
13782 * win32/vs6/libgstdataprotocol.dsp:
13783 * win32/vs6/libgstnet.dsp:
13784 update project files
13786 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13788 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13789 * gst/gstclock.c: (gst_clock_class_init):
13790 * gst/gstelement.c: (gst_element_class_init):
13791 * gst/gstindex.c: (gst_index_class_init):
13792 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13793 * gst/gstobject.c: (gst_object_class_init),
13794 (gst_signal_object_class_init):
13795 * gst/gstpad.c: (gst_pad_class_init):
13796 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13797 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13798 * gst/gstregistry.c: (gst_registry_class_init):
13799 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13800 * gst/gsttask.c: (gst_task_class_init):
13801 * gst/gstxml.c: (gst_xml_class_init):
13802 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13803 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13804 (gst_base_src_loop):
13805 * libs/gst/controller/gstcontroller.c:/
13806 (_gst_controller_class_init):
13807 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13808 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13809 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13810 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13811 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13812 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13814 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13816 * gst/gstpad.c: (gst_pad_link):
13817 Must set peer pads before calling the link function, otherwise
13818 a task started from a link function might get a flow-not-linked
13819 result when trying to push because the other thread where the
13820 linking happens hasn't had a chance to set the peers yet. This
13821 might happen for example when a queue gets linked to a downstream
13822 element, as queue starts a streaming task when its source pad
13823 gets linked. Happens in real life when playing back flac/musepack
13824 files in playbin (#332390).
13826 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13830 * libs/gst/base/gstadapter.h:
13831 * libs/gst/base/gstbasesink.h:
13832 * libs/gst/base/gstbasesrc.h:
13833 * libs/gst/base/gstbasetransform.h:
13834 * libs/gst/base/gstcollectpads.h:
13835 * libs/gst/base/gstpushsrc.h:
13836 Fix broken GObject macros
13838 2006-04-07 Wim Taymans <wim@fluendo.com>
13840 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13841 Initialize start and stop times, thanks valgrind.
13843 2006-04-07 Wim Taymans <wim@fluendo.com>
13845 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13846 Be a bit nicer to badly behaving upstream elements that expect
13847 us to deal with non TIME segments and timestamps (such as fakesrc
13850 2006-04-07 Wim Taymans <wim@fluendo.com>
13853 Small documentation clarification about the signal watch.
13855 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13856 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13857 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13858 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13859 (gst_base_sink_get_position_last),
13860 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13861 Convert and store timestamps in stream time and running time, the
13862 raw timestamps are not useful, also document this better.
13863 Use different window sizes for good and bad QoS observations so
13864 we react to badness a little quicker.
13865 Keep track of the amount of rendered and dropped buffers.
13866 Send QoS timestamps in running time.
13868 * libs/gst/base/gstbasetransform.c:
13869 (gst_base_transform_sink_eventfunc),
13870 (gst_base_transform_handle_buffer):
13871 Compare QoS timestamps against running time.
13873 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13876 Typo fixes in docs.
13878 2006-04-06 Michael Smith <msmith@fluendo.com>
13880 * gst/gstpad.c: (gst_pad_set_property):
13881 Use g_value_get_object() instead of g_value_dup_gst_object(),
13882 to avoid double-reffing the pad template (which we then sink,
13883 so this worked previously if (and only if) the pad template
13886 * gst/gstpadtemplate.c: (gst_pad_template_init),
13887 (gst_pad_template_pad_created):
13888 Never return floating references to pad templates, create
13889 them as initially-sunken.
13891 Document an extra function (and make this stop sinking our
13892 pad template, since that is now guaranteed to do nothing,
13893 since we created it sunken).
13895 * gst/gstghostpad.c:
13898 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13900 * gst/gstinfo.c: (__gst_in_valgrind):
13903 * plugins/elements/gsttypefindelement.c:
13904 (gst_type_find_element_chain):
13905 Don't leak buffer caps.
13907 2006-04-06 Michael Smith <msmith@fluendo.com>
13909 * gst/parse/grammar.y:
13910 Fix a leak in parse-launch for any source-or-sink named element
13913 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13914 Unref the pipeline if it exists after we've failed parsing.
13916 2006-04-05 Michael Smith <msmith@fluendo.com>
13918 * gst/gstpipeline.c: (gst_pipeline_init):
13919 When we create a pipeline bus, initially create it in flushing mode.
13920 Fixes leaks in at least one test, and makes a new pipeline work the
13921 same as one that has gone to READY and then back to NULL.
13923 * gst/gstelement.c:
13926 2006-04-05 Michael Smith <msmith@fluendo.com>
13928 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13929 Unref a pad we reffed.
13930 * tests/check/gst/gstutils.c: (GST_START_TEST):
13933 2006-04-05 Michael Smith <msmith@fluendo.com>
13935 * gst/gstquery.c: (gst_query_set_formats),
13936 (gst_query_set_formatsv):
13937 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13939 2006-04-05 Michael Smith <msmith@fluendo.com>
13941 * tests/check/generic/sinks.c: (GST_START_TEST):
13942 Fix a variety of memleaks in sinks check, which are only sometimes
13943 shown by running the tests under valgrind (weird?).
13945 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13947 * docs/version.entities.in:
13948 Fix the substituted entity name after thomas' changes on the
13951 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13953 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13956 2006-04-05 Andy Wingo <wingo@pobox.com>
13958 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13960 * libs/gst/base/gstbasetransform.c
13961 (gst_base_transform_sink_eventfunc): When resetting our segment on
13962 FLUSH_STOP, also update the flag saying we haven't seen a
13965 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13967 Patch by: Paolo Borelli <pborelli at katamail dot com>
13969 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13970 (gst_plugin_check_license):
13971 minor clean-ups: G_DEFINE_TYPE already takes care of the
13972 parent_class stuff, no need to do it twice. Mark array of
13973 license strings as constant. (#337103)
13975 2006-04-04 Michael Smith <msmith@fluendo.com>
13977 * tools/gst-inspect.c: (print_element_list):
13978 Free the right plugin list; fixes a memory leak.
13980 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13982 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13984 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13985 Don't error out on empty buffers (#336945).
13987 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13989 * docs/libs/gstreamer-libs-sections.txt:
13990 * gst/gsttaglist.c:
13991 * libs/gst/base/gstbasesink.c:
13992 * libs/gst/base/gstbasesink.h:
13993 * libs/gst/base/gstbasesrc.c:
13994 * libs/gst/base/gstbasesrc.h:
13995 Documentation updates. Make BaseSink and BaseSrc docs contain the
13996 class structure so that people can actually see the prototypes for
13997 virtual functions they're supposed to be overriding.
13999 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14001 * plugins/elements/gsttypefindelement.c:
14002 (gst_type_find_element_chain):
14003 More debug info; when skipping typefinding, send cached
14004 events in all cases.
14006 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14009 use new AS_VERSION and AS_NANO macros
14010 * gst/gst-i18n-lib.h:
14013 * gst/gstversion.h.in:
14014 * win32/common/config.h:
14015 * win32/common/config.h.in:
14018 2006-03-31 Michael Smith <msmith@fluendo.com>
14020 * plugins/elements/gsttypefindelement.c:
14021 (gst_type_find_element_chain):
14022 Do not typefind content if the buffers already have caps.
14023 Neccesary for icydemux (#333657), and the right thing to do anyway.
14025 2006-03-30 Wim Taymans <wim@fluendo.com>
14027 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14028 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14029 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14030 (gst_base_sink_record_qos_observation),
14031 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14032 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14033 (gst_base_sink_change_state):
14034 More QoS measurements as described in the design doc.
14035 Get rid of ringbuffer with observations, running average is
14036 more simple and equally good.
14037 Calculates valid proportion now.
14038 Added beginning of flood measurement.
14040 2006-03-29 Wim Taymans <wim@fluendo.com>
14042 * docs/design/part-qos.txt:
14044 Small documentation updates and additions.
14046 2006-03-29 Wim Taymans <wim@fluendo.com>
14048 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14049 (gst_base_src_send_event), (gst_base_src_loop),
14050 (gst_base_src_change_state):
14051 Perform the EOS logic when we reach the segment stop position.
14052 Fix compilation on gcc4.1
14054 2006-03-29 Wim Taymans <wim@fluendo.com>
14056 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14058 * plugins/elements/gstqueue.c: (gst_queue_init),
14059 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14060 (gst_queue_set_property):
14061 * plugins/elements/gstqueue.h:
14062 In queue, when EOS is received, if minimum threshold > max_size -
14063 current_level, there is chance that queue blocks forever in conditional
14064 item del wait. This is because the queue is not emptied completely due
14065 to minimum threshold. Here is another approach. Instead of setting
14066 cur_levels to max in EOS, just zero all minimum threshold levels. This
14067 should make sure that queue gives out all data. When going to READY
14068 (stop) state, just reset the original minimum threshold levels.
14071 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14073 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14074 (gst_type_find_element_handle_event),
14075 (gst_type_find_element_send_cached_events),
14076 (gst_type_find_element_change_state):
14077 * plugins/elements/gsttypefindelement.h:
14078 When typefinding is done in push mode, we should cache
14079 events we receive during typefinding instead of just
14080 dropping them (e.g. newsegment, custom events from
14081 dvdreadsrc etc.) and then send them out once we've
14082 determined the type of the stream (and decodebin
14083 has had a chance to plug in a decoder/demuxer).
14085 2006-03-27 Wim Taymans <wim@fluendo.com>
14087 * docs/design/part-qos.txt:
14090 2006-03-27 Wim Taymans <wim@fluendo.com>
14092 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14094 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14095 (gst_base_src_send_event), (gst_base_src_change_state):
14096 Handle element seek correctly when we are streaming.
14099 2006-03-24 Michael Smith <msmith@fluendo.com>
14101 * docs/faq/gst-uninstalled:
14102 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14103 allow you to correctly run intalled applications built against old
14104 core, using plugins that require updated core (e.g. running
14105 installed totem against a full uninstalled gstreamer stack)
14107 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14109 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14112 2006-03-24 Wim Taymans <wim@fluendo.com>
14114 * docs/gst/gstreamer-sections.txt:
14115 Rearrange the order of the methods so that related methods
14116 are grouped together in sections.
14118 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14120 * gst/gstelement.c:
14121 Little clarification in the docs
14123 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14127 * plugins/elements/gstidentity.c:
14128 * plugins/elements/gstqueue.c:
14129 * plugins/elements/gsttee.c:
14130 * plugins/elements/gsttypefindelement.c:
14131 GST_ELEMENT_DETAILS formatting
14133 2006-03-24 Wim Taymans <wim@fluendo.com>
14135 * libs/gst/base/gstbasesink.h:
14136 Only add fields, not insert or we break ABI.
14138 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14140 * win32/common/libgstbase.def:
14141 * win32/common/libgstreamer.def:
14142 Update, add recently added functions.
14144 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14146 * docs/gst/gstreamer-sections.txt:
14147 * gst/gstutils.c: (gst_pad_query_peer_position),
14148 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14150 API: add some new utility functions:
14151 - gst_pad_query_peer_position()
14152 - gst_pad_query_peer_duration()
14153 - gst_pad_query_peer_convert()
14155 2006-03-23 Wim Taymans <wim@fluendo.com>
14157 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14158 (gst_base_sink_init), (gst_base_sink_finalize),
14159 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14160 (gst_base_sink_set_property), (gst_base_sink_get_property),
14161 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14162 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14163 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14164 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14165 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14166 (gst_base_sink_preroll_object), (gst_base_sink_event),
14167 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14168 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14169 (gst_base_sink_query), (gst_base_sink_change_state):
14170 Decouple max-lateness and the fact that QoS messages are generated
14171 with a new property (qos).
14172 added API: GstBaseSink::async_play()
14173 Add vmethod so subclasses can be notified of ASYNC playing
14175 Collect timestamp start and stop to report better current
14176 position in EOS/PLAYING/PAUSED/READY/NULL.
14177 Refactor QoS/frame dropping and other measurements.
14178 API: GstBaseSrc::qos
14181 * libs/gst/base/gstbasesink.h:
14182 Added Private struct.
14183 API: gst_base_sink_set_qos_enabled()
14184 API: gst_base_sink_is_qos_enabled()
14186 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14188 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14189 If compiling against GLib-2.8 or newer, try to read the
14190 registry file using GMappedFile first before falling back
14191 to fopen() + fread() (#332151).
14193 2006-03-22 Wim Taymans <wim@fluendo.com>
14195 * gst/gstinfo.c: (gst_debug_set_active),
14196 (gst_debug_category_set_threshold):
14197 Disable debugging unless explicitly activated.
14200 2006-03-22 Wim Taymans <wim@fluendo.com>
14202 * gst/gstelement.c: (gst_element_set_locked_state),
14203 (gst_element_dispose):
14204 Cleanup the error case.
14206 * gst/gstobject.c: (gst_object_dispose):
14207 print a critical when some object was disposed with
14208 a parent, also revive the object since it might
14211 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14213 * tools/gst-launch.1.in:
14216 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14219 * tests/check/Makefile.am:
14220 disable some tests when we don't have a registry
14221 * tests/check/gst/gstutils.c: (gst_utils_suite):
14222 don't build the part that needs parsing
14224 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14227 * tests/examples/Makefile.am:
14228 fix --disable-parse build
14230 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14232 * tools/gst-feedback.1.in:
14233 Fix typo: s/feeback/feedback/ (#133494).
14235 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14237 * tools/Makefile.am:
14238 * tools/gst-launch.1.in:
14239 Add FILES section and correct entry about GST_REGISTRY_PATH
14240 environment variable (#133495; #133494).
14242 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14244 * tools/Makefile.am:
14245 * tools/gst-md5sum.1.in:
14246 * tools/gst-md5sum.c:
14247 Remove gst-md5sum and man page (the md5sink element
14248 required was removed ages ago)
14250 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14252 * gst/gststructure.c: (gst_structure_id_set_value):
14253 Make sure that string fields in structures/taglists
14254 contain valid UTF-8 - we don't want to pass rubbish to
14255 applications because of a buggy plugin (cp. #334167).
14257 2006-03-21 Edward Hervey <edward@fluendo.com>
14259 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14260 (gst_bin_handle_message_func):
14261 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14262 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14263 (gst_element_set_bus_func):
14264 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14265 * gst/gstminiobject.c: (gst_value_set_mini_object),
14266 (gst_value_take_mini_object):
14267 * gst/gstpad.c: (gst_pad_set_pad_template):
14268 * gst/gstpipeline.c: (gst_pipeline_dispose),
14269 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14270 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14271 (gst_collect_pads_chain):
14272 * libs/gst/net/gstnettimeprovider.c:
14273 (gst_net_time_provider_set_property):
14274 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14275 It's in fact all issues with gst_*object_replace().
14277 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14279 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14281 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14282 * pkgconfig/gstreamer-check.pc.in:
14283 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14285 2006-03-21 Edward Hervey <edward@fluendo.com>
14289 * gst/gstmessage.h:
14290 gst_[buffer|event|message]_ref() macros are replaced by a static
14291 inline functions because gcc-4.1 will about if the return value
14293 * tests/check/gst/gstevent.c: (event_probe):
14294 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14296 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14299 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14300 the type' case. (Closes: #335195 for now). In the future, when we
14301 depend on GLib 2.10, we could also intern the type name using
14302 g_intern_static_string()
14304 2006-03-20 Wim Taymans <wim@fluendo.com>
14306 * gst/gstbin.c: (gst_bin_handle_message_func),
14307 (bin_query_max_init), (bin_query_position_fold),
14308 (bin_query_position_done), (gst_bin_query):
14309 Position query should also take max of all streams.
14311 2006-03-20 Wim Taymans <wim@fluendo.com>
14313 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14314 (gst_fake_src_finalize):
14315 Fix leaks in fakesrc.
14317 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14318 Fix leaks in the testcase.
14320 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14322 * gst/gst_private.h:
14323 add win32 specific import decoration(__declspec(dllimport))
14324 for all extern GstDebugCategory * variables
14325 * win32/common/libgstbase.def:
14326 * win32/common/libgstcontroller.def:
14327 * win32/common/libgstreamer.def:
14328 Add some exports, remove empty lines
14329 * win32/common/libgstdataprotocol.def:
14330 * win32/common/libgstdataprotocol.dsp:
14331 * win32/common/libgstnet.def:
14332 * win32/common/libgstnet.dsp:
14333 new project files and exportation files added
14335 2006-03-19 Wim Taymans <wim@fluendo.com>
14337 * tests/check/libs/basesrc.c: (eos_event_counter):
14338 Use proper return value for probe.
14340 2006-03-17 Wim Taymans <wim@fluendo.com>
14342 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14344 Don't leak buffers, caps and pads on negotiation errors.
14346 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14348 * docs/faq/cvs.xml:
14349 * docs/faq/dependencies.xml:
14350 * docs/faq/developing.xml:
14351 * docs/faq/faq.xml:
14352 * docs/faq/general.xml:
14353 * docs/faq/getting.xml:
14354 * docs/faq/legal.xml:
14355 * docs/faq/troubleshooting.xml:
14356 * docs/faq/using.xml:
14357 Faq review and update.
14359 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14361 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14363 Don't pound the cpu to pieces by checking get_caps when accept_caps
14364 is called with the same caps as the pad already has.
14365 Use GST_DEBUG_OBJECT when outputting caps change information.
14367 2006-03-15 Wim Taymans <wim@fluendo.com>
14369 * gst/gstclock.c: (gst_clock_class_init):
14372 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14377 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14378 (gst_pad_accept_caps), (gst_pad_configure_sink),
14379 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14380 Make the default acceptcaps behaviour be to check the requested
14381 caps against the gst_pad_get_caps output.
14383 Ensure that gst_pad_accept_caps is used to check caps when a pad
14384 doesn't have a setcaps function, so that pads automatically refuse
14385 caps that they don't allow in their pad template. (Fixes #332986)
14387 When a buffer with attached caps is pushed, ensure that the source
14388 pad receives those caps even if the element didn't call
14389 gst_pad_set_caps first.
14391 2006-03-15 Wim Taymans <wim@fluendo.com>
14393 * libs/gst/base/gstadapter.c:
14396 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14398 * win32/common/libgstbase.def:
14399 * win32/common/libgstcontroller.def:
14400 * win32/common/libgstreamer.def:
14401 Add a whole bunch of missing functions (#334434).
14403 2006-03-14 Wim Taymans <wim@fluendo.com>
14405 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14406 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14407 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14408 Better debug info when we receive a segment event.
14409 Reorganize a bit so we can pass the get_times() results around.
14410 Use the segment format when calculating the running time.
14411 Don't do QoS is sync is disabled or we have no clock or the
14412 element does not want us to sync to the clock.
14413 Don't drop buffers if QoS is disabled for now.
14415 2006-03-14 Wim Taymans <wim@fluendo.com>
14417 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14418 Marked the stats property as unimplemented so people don't get
14420 Add debug message when regression goes wrong.
14421 Added some more docs.
14423 2006-03-14 Wim Taymans <wim@fluendo.com>
14425 * gst/gstsegment.c: (gst_segment_to_stream_time):
14426 Return correct return type in case of errors.
14428 2006-03-14 Wim Taymans <wim@fluendo.com>
14430 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14431 Don't segfault on invalid formats.
14433 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14435 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14436 Can't use gst_segment_to_running_time() when the segment
14437 is not in GST_TIME_FORMAT (like with filesink, for example).
14438 Stops flac encoding pipelines from spewing critical warnings
14441 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14443 * gst/gstpipeline.c: (gst_pipeline_class_init):
14444 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14446 * plugins/elements/gsttypefindelement.c:
14447 (gst_type_find_element_handle_event):
14448 Don't try to typefind empty streams.
14450 2006-03-14 Wim Taymans <wim@fluendo.com>
14452 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14453 (gst_base_sink_do_qos):
14454 Separate QoS calculation.
14455 Only drop buffers when lateness is bigger than the
14456 duration of the buffer.
14458 2006-03-13 Wim Taymans <wim@fluendo.com>
14460 * gst/gstpipeline.c: (gst_pipeline_set_property),
14461 (gst_pipeline_get_property), (do_pipeline_seek),
14462 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14463 (gst_pipeline_get_delay):
14464 Don't deadlock when reading properties.
14466 2006-03-13 Wim Taymans <wim@fluendo.com>
14468 * libs/gst/base/gstbasetransform.c:
14469 (gst_base_transform_class_init), (gst_base_transform_init),
14470 (gst_base_transform_sink_event),
14471 (gst_base_transform_sink_eventfunc),
14472 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14473 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14474 (gst_base_transform_set_property),
14475 (gst_base_transform_get_property),
14476 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14477 (gst_base_transform_set_qos_enabled),
14478 (gst_base_transform_is_qos_enabled):
14479 * libs/gst/base/gstbasetransform.h:
14480 Make basetransform virtual method for src events too.
14481 Handle QOS in basetransform.
14482 API: gst_base_transform_update_qos()
14483 API: gst_base_transform_set_qos_enabled()
14484 API: gst_base_transform_is_qos_enabled()
14486 2006-03-13 Wim Taymans <wim@fluendo.com>
14488 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14489 (gst_base_sink_do_sync):
14491 Use QOS debug category.
14493 2006-03-13 Wim Taymans <wim@fluendo.com>
14495 * plugins/elements/gstqueue.c:
14496 Very small doc update.
14498 2006-03-13 Wim Taymans <wim@fluendo.com>
14500 * gst/gst_private.h:
14501 * gst/gstinfo.c: (_gst_debug_init):
14502 Added QOS debug category
14504 2006-03-13 Wim Taymans <wim@fluendo.com>
14506 * docs/gst/gstreamer-sections.txt:
14507 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14509 * gst/gstbus.c: (gst_bus_class_init):
14512 * gst/gstelement.c: (gst_element_set_locked_state):
14513 * gst/gstsegment.c:
14514 Documentation updates.
14516 * gst/gstpipeline.c: (gst_pipeline_get_type),
14517 (gst_pipeline_class_init), (gst_pipeline_init),
14518 (gst_pipeline_dispose), (gst_pipeline_set_property),
14519 (gst_pipeline_get_property), (do_pipeline_seek),
14520 (gst_pipeline_send_event), (gst_pipeline_change_state),
14521 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14522 (gst_pipeline_get_delay):
14523 * gst/gstpipeline.h:
14524 Added methods for setting the delay.
14525 API: gst_pipeline_set_delay()
14526 API: gst_pipeline_get_delay()
14527 Add pipeline debug category
14530 Don't reset stream time when seek failed.
14532 2006-03-13 Wim Taymans <wim@fluendo.com>
14534 * docs/design/draft-klass.txt:
14535 * docs/design/part-clocks.txt:
14536 * docs/design/part-events.txt:
14537 * docs/design/part-gstbin.txt:
14538 * docs/design/part-gstpipeline.txt:
14539 * docs/design/part-messages.txt:
14540 * docs/design/part-negotiation.txt:
14541 * docs/design/part-overview.txt:
14542 * docs/design/part-preroll.txt:
14543 * docs/design/part-seeking.txt:
14544 * docs/design/part-states.txt:
14545 * docs/design/part-streams.txt:
14546 Documentation updates.
14548 2006-03-12 Julien MOUTTE <julien@moutte.net>
14550 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14551 us to leak strings...
14553 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14555 * libs/gst/net/gstnettimeprovider.c:
14557 * win32/common/config.h:
14560 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14562 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14565 Don't check for libgnomeui (leftover from old examples
14566 that aren't built or disted any longer) (#334303).
14568 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14570 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14571 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14572 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14573 there's no space left on the device.
14575 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14578 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14579 to cast the input to GstClockTime before comparing with
14580 another GstClockTime value.
14582 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14587 === release 0.10.4 ===
14589 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14592 releasing 0.10.4, "Light"
14594 2006-03-10 Michael Smith <msmith@fluendo.com>
14596 * libs/gst/dataprotocol/dataprotocol.c:
14597 Fix docs for dataprocotol to not get the return types completely
14598 wrong for a few functions.
14600 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14602 * docs/gst/gstreamer-sections.txt:
14603 * gst/gstpipeline.c: (gst_pipeline_class_init),
14604 (gst_pipeline_init), (gst_pipeline_set_property),
14605 (gst_pipeline_get_property), (gst_pipeline_change_state),
14606 (gst_pipeline_set_auto_flush_bus),
14607 (gst_pipeline_get_auto_flush_bus):
14608 * gst/gstpipeline.h:
14609 Add new API: gst_pipeline_set_auto_flush_bus() and
14610 gst_pipeline_get_auto_flush_bus() to disable automatic
14611 flushing of the pipeline's GstBus when going from READY
14612 to NULL state (#332045).
14614 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14616 * docs/gst/gstreamer-sections.txt:
14617 * gst/gsturi.c: (gst_uri_has_protocol):
14619 Add new API: gst_uri_has_protocol() (#333779).
14621 2006-03-09 Wim Taymans <wim@fluendo.com>
14623 * gst/gstclock.c: (gst_clock_entry_new),
14624 (gst_clock_id_compare_func), (gst_clock_id_wait),
14625 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14626 (gst_clock_init), (gst_clock_get_internal_time),
14627 (gst_clock_set_master), (do_linear_regression),
14628 (gst_clock_add_observation), (gst_clock_set_property):
14632 Fix a possible segfault when the window-size is made smaller.
14633 Calculate jitter before performing the clock wait. Ideally
14634 the clock implementation should calculate jitter but we need
14635 API breakage for that.
14637 * gst/gstsystemclock.c: (gst_system_clock_init):
14640 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14641 Remove leftover else
14643 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14644 (gst_systemclock_suite):
14645 Added check to test GST_CLOCK_DIFF.
14647 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14649 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14650 (gst_type_find_helper_get_range):
14651 If we are provided with the size, we should implement
14652 GstTypeFind::get_length, so that typefind functions who
14653 want to can actually peek at the middle of a file.
14655 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14657 * docs/manual/advanced-dataaccess.xml:
14658 Add some very very basic error checking.
14660 * docs/pwg/appendix-checklist.xml:
14661 Some updates to the list of things to check when writing an element.
14663 2006-03-08 Wim Taymans <wim@fluendo.com>
14665 * docs/design/part-element-transform.txt:
14666 Added some docs about the design of tranform elements.
14668 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14669 (gst_base_src_loop), (gst_base_src_change_state):
14670 Mark buffers with the DISCONT flag.
14672 2006-03-08 Michael Smith <msmith@fluendo.com>
14674 * gst/gstregistry.h:
14675 * gst/gstregistryxml.c: (gst_registry_save),
14676 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14677 (gst_registry_xml_save_pad_template),
14678 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14679 (gst_registry_xml_write_cache):
14680 Rewrite registry-saving to avoid race conditions and check for
14683 2006-03-08 Wim Taymans <wim@fluendo.com>
14685 * libs/gst/base/gstbasetransform.c:
14686 (gst_base_transform_transform_caps),
14687 (gst_base_transform_transform_size),
14688 (gst_base_transform_prepare_output_buffer),
14689 (gst_base_transform_get_unit_size),
14690 (gst_base_transform_buffer_alloc),
14691 (gst_base_transform_handle_buffer),
14692 (gst_base_transform_change_state):
14693 Cleanups, separate normal flow from errors, add sensible
14695 Don't try to renegotiate when allocating an output buffer.
14696 Also copy DISCONT buffer flag when copying a buffer.
14697 Reset the transform after we finish streaming, not during.
14699 2006-03-08 Wim Taymans <wim@fluendo.com>
14701 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14702 Use last buffer timestamp in qos message.
14704 2006-03-07 Wim Taymans <wim@fluendo.com>
14706 Patch by: Christophe Fergeau
14708 * docs/pwg/advanced-tagging.xml:
14709 * docs/pwg/building-pads.xml:
14712 2006-03-07 Wim Taymans <wim@fluendo.com>
14714 * docs/libs/gstreamer-libs-sections.txt:
14715 Added basesink new methods.
14719 Docs updates. Flesh out the QoS docs.
14721 * libs/gst/base/gstadapter.c:
14722 Small doc clarification about ownership and flushing.
14724 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14725 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14726 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14727 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14728 * libs/gst/base/gstbasesink.h:
14730 Added new methods to allow subclass to control max-lateness
14732 Generate very basic QoS events based on last sync observation.
14733 Updated docs, fix typo, added some QoS blurb.
14735 * libs/gst/base/gstbasesrc.c:
14736 Remove obsolete _get_state() calls from docs.
14738 2006-03-07 Wim Taymans <wim@fluendo.com>
14740 * docs/libs/gstreamer-libs-sections.txt:
14741 * libs/gst/base/gstbasetransform.h:
14742 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14743 Fix docs for GstBaseSrc.
14745 2006-03-07 Wim Taymans <wim@fluendo.com>
14747 * docs/gst/gstreamer-sections.txt:
14750 * libs/gst/base/gstbasetransform.h:
14751 Small documentation fixes.
14753 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14756 Document thread-unsafety of gst_value_register_foo_func()
14757 when used at the same time as gst_value_foo() (#322628).
14759 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14761 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14762 (gst_push_src_check_get_range):
14763 Push sources don't support pull mode by default.
14765 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14767 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14768 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14769 (gst_base_src_default_check_get_range):
14770 * libs/gst/base/gstbasesrc.h:
14771 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14772 provide default implementation, and rename
14773 gst_base_src_check_get_range() to
14774 gst_base_src_pad_check_get_range() for clarity.
14776 2006-03-06 Wim Taymans <wim@fluendo.com>
14778 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14779 Make property overridable.
14781 2006-03-06 Wim Taymans <wim@fluendo.com>
14783 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14784 (gst_base_sink_init), (gst_base_sink_set_property),
14785 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14786 * libs/gst/base/gstbasesink.h:
14787 API addition: Make max-lateness a property.
14789 2006-03-06 Wim Taymans <wim@fluendo.com>
14791 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14792 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14793 Don't ever draw a frame that is >10ms late.
14795 2006-03-06 Michael Smith <msmith@fluendo.com>
14797 * gst/gstmessage.c: (_gst_message_copy):
14798 When copying a message, set the parent_refcount of the enclosed
14799 structure to point at the copy, not the original message.
14801 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14803 Patch by: Christophe Fergeau
14806 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14807 usable in c++ code (#333417)
14809 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14812 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14814 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14816 * libs/gst/base/gstbasetransform.c:
14817 (gst_base_transform_transform_caps):
14818 Make sure caps are writable before passing them to
14821 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14824 Fix some minor docs errors.
14826 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14828 Patch by: Ross Burton <ross at burtonini dot com>
14830 * gst/gsterror.c: (_gst_resource_errors_init):
14832 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14834 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14837 Add a check and output a g_warning when GStreamer is built
14838 against GLib 2.6 but running against 2.8 or higher, and vice
14839 versa. (Closes: #323542)
14841 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14843 * gst/parse/parse.l:
14844 Commit patch for parse_launch syntax from #331255. Removes
14845 support for quoted strings and mimetypes when writing filtered
14846 caps. See the bug report for more details - I'm pretty sure this
14847 obscure feature is not in use by _anyone_ anywhere.
14849 With this simple change, the size of the gstreamer.so here
14850 drops from 2193KB to 1565KB.
14852 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14854 * plugins/elements/gsttypefindelement.h:
14855 * plugins/elements/gsttypefindelement.c:
14856 (gst_type_find_element_src_event), (start_typefinding),
14857 (stop_typefinding), (gst_type_find_element_handle_event),
14858 (gst_type_find_element_chain),
14859 (gst_type_find_element_chain_do_typefinding):
14860 Use gst_type_find_helper_for_buffer() for chain-based
14863 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14865 * plugins/elements/gsttypefindelement.c:
14866 (gst_type_find_element_class_init),
14867 (gst_type_find_element_set_property),
14868 (gst_type_find_element_get_property):
14869 Deprecate "maximum" property (not only was it only taken into
14870 account for typefinding in push-mode anyway, it also was never
14871 actually possible to set it in the first place because the
14872 property was registered with the numeric property ID for the
14873 "minimum" property). Register "maximum" property correctly,
14874 for the sake of future copy'n'pasters. Remove some cruft
14875 from property get/set functions.
14877 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14879 * plugins/elements/gsttypefindelement.c:
14880 (gst_type_find_element_activate):
14881 Use gst_type_find_helper_get_range() here, so we
14882 can honour the "minimum" property and also emit
14883 the signal with the correct probability of the found caps.
14885 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14887 * docs/libs/gstreamer-libs-sections.txt:
14888 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14889 (helper_find_suggest), (gst_type_find_helper_get_range),
14890 (gst_type_find_helper):
14891 * libs/gst/base/gsttypefindhelper.h:
14892 New API: gst_type_find_helper_get_range() (#333042).
14894 2006-03-02 Michael Smith <msmith@fluendo.com>
14896 * gst/gstregistryxml.c: (load_feature):
14897 Asserting on a failure to read part of the registry is Not Cool.
14898 Just log a warning and return NULL (which is already handled)
14900 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14902 * win32/common/libgstbase.def:
14903 added export of gst_type_find_helper_for_buffer
14904 * win32/common/libgstbase.def:
14905 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14906 gst_ghost_pad_get_target
14908 2006-02-28 Wim Taymans <wim@fluendo.com>
14910 * docs/design/draft-klass.txt:
14912 Added Connector to mark elements that are only used to
14913 allow pipeline connections.
14914 Moved Debug to extra feature since most of them are
14915 functionally something else.
14917 2006-02-28 Wim Taymans <wim@fluendo.com>
14919 * docs/design/draft-klass.txt:
14920 Some updates and clarifications.
14922 2006-02-28 Wim Taymans <wim@fluendo.com>
14924 * docs/design/draft-klass.txt:
14925 Proposal for klass field values.
14927 * docs/design/part-streams.txt:
14928 Start of a doc describing stream anatomy.
14930 2006-02-28 Wim Taymans <wim@fluendo.com>
14932 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14933 Help the compiler a bit with type registration.
14934 Use existing forward cod path instead of duplicating it when
14935 handling a message.
14937 * gst/gstbus.c: (gst_bus_get_type):
14938 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14939 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14940 * gst/gstclock.c: (gst_clock_get_type):
14941 * gst/gstelement.c: (gst_element_get_type),
14942 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14943 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14944 * gst/gstminiobject.c: (gst_mini_object_get_type):
14945 * gst/gstpad.c: (gst_pad_get_type):
14946 * gst/gstsegment.c: (gst_segment_get_type):
14947 * gst/gststructure.c: (gst_structure_get_type):
14948 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14949 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14951 Help compiler with type registration.
14953 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14956 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14958 * plugins/elements/gsttypefindelement.c:
14959 (gst_type_find_element_handle_event):
14960 When we get an EOS event and have not found a type yet
14961 (most likely because we had not yet accumulated
14962 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14963 type given the data we have so far. Fixes typefinding
14964 for very short streams again, most notably quicktime
14965 redirections as used on Apple's trailer site (#331701).
14967 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14969 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14970 (gst_type_find_helper):
14971 Try typefinding factories with the highest rank first.
14973 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14975 * docs/libs/gstreamer-libs-docs.sgml:
14976 * docs/libs/gstreamer-libs-sections.txt:
14977 * libs/gst/base/gsttypefindhelper.c:
14978 Add section for typefind helper and add documentation
14979 for the old and the new function.
14981 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14983 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14984 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14985 (gst_type_find_helper_for_buffer):
14986 * libs/gst/base/gsttypefindhelper.h:
14987 New API: gst_type_find_helper_for_buffer() (#332723).
14989 2006-02-27 Michael Smith <msmith@fluendo.com>
14991 Patch by: Loïc Minier
14994 * docs/Makefile.am:
14995 * docs/slides/Makefile.am:
14996 prevent CVS directories getting disted.
14998 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15000 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15001 Use the REFCOUNTING category for caps refcounting.
15003 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15005 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15006 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15008 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15010 * plugins/elements/gsttypefindelement.c:
15011 (gst_type_find_element_activate):
15012 Use gst_pad_check_pull_range() before _activate_pull()
15013 to avoid unnecessary open/close (see #331690).
15015 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15018 Docs enhancement: make it crystal clear what the
15019 gst_pad_add_*_probe() callbacks should look like.
15021 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15023 * libs/gst/base/gstbasesrc.c:
15024 Document how applications can stop recording from
15025 live sources (see #330996).
15027 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15029 * tests/check/Makefile.am:
15030 * tests/check/libs/basesrc.c: (eos_event_counter),
15031 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15032 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15033 (gst_basesrc_suite), (main):
15034 ... and add some tests for the base source EOS stuff.
15036 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15038 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15039 Test case originally showed the problem fixed below,
15040 but was then amended. Add checks back at the place
15041 where they used to be.
15043 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15045 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15046 (gst_base_src_init), (gst_base_src_loop),
15047 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15048 (gst_base_src_change_state):
15049 * libs/gst/base/gstbasesrc.h:
15050 Don't unconditionally send EOS when going from PAUSED to
15051 READY state, esp. make sure we don't send two EOS events
15052 in some cases (e.g. one when reaching EOS and one when
15053 going from PAUSED to READY). Also, we don't want to send
15054 EOS events when operating in pull mode. However, we do
15055 want to send an EOS event when shutting down a live
15056 source explicitly, for example (fixes #330996).
15058 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15060 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15061 Update src->read_position after a seek when not using mmap.
15062 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15064 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15070 Make things work with --disable-parse as they do with
15071 --disable-load-save - the symbols involved disappear, but the
15072 header is still installed and GST_DISABLE_PARSE is included via
15075 2006-02-20 Julien MOUTTE <julien@moutte.net>
15077 * libs/gst/base/gstbasetransform.c:
15078 (gst_base_transform_change_state): Fix a stupid bug. I was
15079 sure I compiled that.
15081 2006-02-20 Julien MOUTTE <julien@moutte.net>
15083 * gst/gstpad.c: (gst_pad_set_blocked_async):
15084 * gst/gstutils.c: (gst_pad_add_data_probe),
15085 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15086 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15087 (gst_pad_remove_buffer_probe): Make those function act on the
15088 ghostpad target when it's a ghostpad. (Closes #331727)
15090 2006-02-20 Julien MOUTTE <julien@moutte.net>
15092 * libs/gst/base/gstbasetransform.c:
15093 (gst_base_transform_change_state): Make basetransform reusable.
15096 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15098 * docs/random/release:
15099 Move the current documentation of how to do a release to the top
15102 * gst/gstbin.c: (gst_bin_class_init),
15103 (gst_bin_handle_message_func):
15104 Allow multiple state-recalculation threads. (Closes #328873)
15106 2006-02-19 Julien MOUTTE <julien@moutte.net>
15108 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15109 * gst/gstpad.c: (gst_pad_set_event_function),
15110 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15111 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15112 2 strings. You can't use the STR_NULL macro on that.
15114 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15116 * gst/gstpad.c: (gst_pad_set_event_function),
15117 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15118 (gst_pad_set_getcaps_function)
15119 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15120 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15121 So now, we can use --gst-debug-level=5 on Windows
15122 * win32/common/libgstcontroller.def:
15123 Added export of gst_controller_init
15124 * win32/vs6/libgstcontroller.dsp:
15125 Fixed Release post build configuration
15127 2006-02-17 Wim Taymans <wim@fluendo.com>
15129 * tests/check/gst/gstquery.c: (GST_START_TEST):
15130 Added another check.
15132 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15134 * plugins/elements/gsttypefindelement.c: (find_peek):
15135 We can do peeks at non-zero offsets, as long as they
15136 fall within the buffer we have.
15138 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15140 * tests/check/Makefile.am:
15141 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15142 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15143 (parse_suite), (main):
15144 Add testsuite for parse launch syntax
15146 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15148 * plugins/elements/gsttypefindelement.c:
15149 (gst_type_find_element_chain):
15150 When typefinding is unsuccessful in the chain function, don't
15151 error out immediately. Only error out with NO_CAPS_FOUND if
15152 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15153 otherwise simply wait for more data so we can try typefinding
15154 again with more data later. Also, don't attempt to typefind
15155 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15156 this should improve typefinding from network sources where the
15157 size of the first buffer can be somewhat random.
15159 2006-02-14 Wim Taymans <wim@fluendo.com>
15161 * docs/gst/gstreamer-sections.txt:
15162 * gst/gstpadtemplate.c:
15163 * gst/gstpadtemplate.h:
15164 Fix padtemplate docs, fixes #328805.
15166 2006-02-14 Wim Taymans <wim@fluendo.com>
15168 * tools/gst-launch.c: (main):
15169 NO_PREROLL is not an ERROR so don't send confusing messages
15172 2006-02-14 Wim Taymans <wim@fluendo.com>
15174 Patch by: Torsten Schoenfeld
15176 * gst/gstregistry.c: (gst_registry_get_default),
15177 (_gst_registry_cleanup):
15178 Protect default registry with lock and ref/sink it.
15181 2006-02-14 Wim Taymans <wim@fluendo.com>
15184 * gst/gstquery.c: (gst_query_list_add_format),
15185 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15186 (gst_query_parse_formats_nth):
15187 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15190 2006-02-14 Wim Taymans <wim@fluendo.com>
15192 * docs/gst/gstreamer-sections.txt:
15193 Reworked query docs.
15195 * gst/gstquery.c: (gst_query_new_formats),
15196 (gst_query_list_add_format), (gst_query_set_formats),
15197 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15198 (gst_query_parse_formats_nth):
15200 Flesh out formats query, added some new methods.
15201 Fix part of #324398.
15203 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15204 Added query creation tests.
15206 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15208 * gst/gstpad.c: (fixate_value):
15209 Add a default fixation for fraction lists.
15211 2006-02-13 Wim Taymans <wim@fluendo.com>
15213 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15214 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15217 Detect and warn for obvious deadlocks. fixes #320340
15218 Fix error case where lock was not released.
15220 * tests/check/Makefile.am:
15221 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15222 (task_func), (gst_element_suite), (main):
15225 2006-02-13 Wim Taymans <wim@fluendo.com>
15227 * docs/gst/gstreamer-sections.txt:
15229 Add new functions to docs.
15231 2006-02-13 Wim Taymans <wim@fluendo.com>
15233 * docs/design/part-TODO.txt:
15234 Updated TODO list, basesrc supports seeking to non-bytes
15237 * docs/design/part-element-sink.txt:
15240 * gst/gstbin.c: (bin_replace_message),
15241 (gst_bin_handle_message_func):
15242 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15243 * gst/gstevent.c: (gst_event_finalize):
15244 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15245 (gst_pad_send_event):
15246 Use shiny new _TYPE_NAME macros.
15248 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15249 Move debug statement up.
15251 * gst/gstelement.c: (gst_element_set_locked_state):
15252 Add some debugging.
15254 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15256 * docs/gst/gstreamer-sections.txt:
15257 * gst/gstmessage.h:
15259 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15260 macros (#330906). Also, document the already existing
15261 GST_QUERY_TYPE macro.
15263 2006-02-13 Wim Taymans <wim@fluendo.com>
15265 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15266 (event_probe), (GST_START_TEST):
15267 Only events up to the pipeline EOS are counted, there are
15268 some more when going to NULL currently which we don't care
15271 2006-02-13 Wim Taymans <wim@fluendo.com>
15273 * gst/gstpad.c: (gst_pad_send_event):
15274 Correctly check flushing and emit probes. fixes #330125
15276 2006-02-10 Andy Wingo <wingo@pobox.com>
15278 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15280 (gst_bus_init): Cache the location of the private data in the
15281 instance structure.
15282 (gst_bus_enable_sync_message_emission)
15283 (gst_bus_disable_sync_message_emission): Implement new public
15285 (gst_bus_post): Emit the sync-message signal if the user asked for
15288 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15289 location of the bus-private structure.
15290 (gst_bus_enable_sync_message_emission)
15291 (gst_bus_disable_sync_message_emission): API addition
15293 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15295 Patch by: Vincent Torri
15297 * docs/pwg/building-boiler.xml:
15298 PWG patch from #326800
15300 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15303 * docs/Makefile.am:
15304 * docs/design/Makefile.am:
15307 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15312 === release 0.10.3 ===
15314 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15317 releasing 0.10.3, "Like a virgin"
15319 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15322 2nd prerelease of 0.10.3
15323 Bump libtool versioning.
15325 2006-02-07 Andy Wingo <wingo@pobox.com>
15327 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15328 update last_stop if we're in TIME format and the timestamp is
15331 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15332 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15333 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15334 If we get a new newsegment with a different format, adapt
15337 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15338 of 0. Not a problem, really.
15340 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15343 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15348 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15351 project files updated to the default vs7 configuration
15352 * win32/common/libgstbase.def:
15353 * win32/common/libgstreamer.def:
15355 removed empty lines,
15356 sorted all exported symbols alphabetically
15357 * win32/common/dirent.c:
15358 * win32/common/dirent.h:
15359 * win32/common/gchar.h:
15360 use windows line end.
15362 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15364 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15365 Send EOS event when stopping.
15367 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15370 Tell folks what to do if the plugin-foobar.xml file
15371 hasn't been generated for a newly-added plugin.
15373 2006-02-05 Julien MOUTTE <julien@moutte.net>
15375 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15376 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15377 (gst_collect_pads_start), (gst_collect_pads_stop),
15378 (gst_collect_pads_event): Collectpads now holds a reference
15379 to the GstPad that was added. Indeed we don't want to look
15380 at pads that might just go away with no warning...
15382 2006-02-05 Julien MOUTTE <julien@moutte.net>
15384 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15385 (gst_collect_pads_start), (gst_collect_pads_stop),
15386 (gst_collect_pads_event), (gst_collect_pads_chain):
15387 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15388 Mark Nauwelaerts's patch on bug #328491.
15390 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15392 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15394 Add some simple tests for gst_parse_bin_from_description() and
15395 gst_bin_find_unconnected_pad() (#329069).
15397 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15399 * tools/gst-launch.c: (event_loop), (main):
15400 Catch errors during preroll (#320084).
15402 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15404 * plugins/elements/gsttypefindelement.c:
15405 (gst_type_find_element_activate):
15406 Post TYPE_NOT_FOUND error message when typefinding
15407 is unsuccessful in the activate function as well.
15409 2006-02-02 Wim Taymans <wim@fluendo.com>
15411 * docs/design/part-element-sink.txt:
15414 2006-02-02 Wim Taymans <wim@fluendo.com>
15416 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15417 (gst_base_sink_render_object),
15418 (gst_base_sink_queue_object_unlocked):
15419 Only keep track of prerollable items when we are
15421 Before rendering after preroll, always check if we
15423 Added some more debugging.
15425 2006-02-02 Wim Taymans <wim@fluendo.com>
15427 * gst/gstelement.c: (gst_element_continue_state),
15428 (gst_element_set_state_func), (gst_element_change_state):
15429 Fixed #326576, been running this for quite some time with
15430 no regressions at all.
15432 2006-02-02 Wim Taymans <wim@fluendo.com>
15435 Added more suppressions
15437 2006-02-02 Wim Taymans <wim@fluendo.com>
15439 * docs/design/part-element-sink.txt:
15442 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15443 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15444 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15445 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15446 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15447 (gst_base_sink_preroll_object),
15448 (gst_base_sink_queue_object_unlocked),
15449 (gst_base_sink_queue_object), (gst_base_sink_event),
15450 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15451 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15452 (gst_base_sink_get_position), (gst_base_sink_change_state):
15453 * libs/gst/base/gstbasesink.h:
15454 Totally refactored matching the design doc.
15455 Use two segments, one to clip incomming buffers and another to
15457 Handle queueing correctly, bypass the queue when playing.
15458 Make EOS cancelable.
15459 Handle errors correctly when operating in pull based mode.
15461 * tests/check/elements/fakesink.c: (GST_START_TEST),
15463 Added new check for sinks.
15465 2006-02-02 Wim Taymans <wim@fluendo.com>
15467 * gst/gstsegment.c: (gst_segment_clip):
15468 No reason to refuse to clip when start == -1
15470 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15473 * docs/manual/intro-basics.xml:
15474 * docs/manual/intro-preface.xml:
15475 * docs/manual/manual.xml:
15476 * docs/pwg/advanced-dparams.xml:
15477 * docs/pwg/intro-basics.xml:
15478 * docs/pwg/intro-preface.xml:
15479 * docs/pwg/pwg.xml:
15480 describe dparams (controller) for plugins
15481 unify docs a little more
15483 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15485 * docs/gst/gstreamer-sections.txt:
15486 * gst/gstutils.c: (element_find_unconnected_pad),
15487 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15489 Add new API: gst_parse_bin_from_description() and
15490 gst_bin_find_unconnected_pad() (#329069).
15492 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15494 * docs/manual/README:
15495 uncover a nasty detail of the docs build
15497 2006-01-31 Wim Taymans <wim@fluendo.com>
15499 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15500 Don't cache duration messages if we're not going to use or
15503 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15505 * docs/manual/advanced-dparams.xml:
15506 * docs/pwg/advanced-dparams.xml:
15510 * libs/gst/controller/lib.c: (gst_controller_init):
15513 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15515 * gst/gstelement.c: (gst_element_message_full):
15516 also show file/line/func if no additional debug was given
15518 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15520 * win32/vs7/grammar.vcproj:
15521 activate copy of autogenerated files for Release mode
15523 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15525 * win32/common/libgstreamer.def:
15526 export gst_value_compare
15528 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15530 * plugins/elements/Makefile.am:
15531 * plugins/elements/gstelements.c:
15532 * plugins/elements/gstfdsink.c: (_do_init),
15533 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15534 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15535 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15536 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15537 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15538 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15539 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15540 * plugins/elements/gstfdsink.h:
15541 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15543 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15545 * docs/manual/advanced-dparams.xml:
15546 describe controller
15547 * docs/manual/advanced-position.xml:
15548 * docs/manual/basics-init.xml:
15549 * docs/manual/manual.xml:
15550 * docs/manual/titlepage.xml:
15551 * docs/pwg/pwg.xml:
15552 * docs/pwg/titlepage.xml:
15553 cleanup xml (more to come)
15554 * libs/gst/controller/gstcontroller.c:
15557 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15559 * win32/vs6/grammar.dsp:
15560 add autogen of gstmarshal.c,h for Release mode
15562 2006-01-30 Wim Taymans <wim@fluendo.com>
15564 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15565 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15566 (gst_base_sink_handle_object), (gst_base_sink_event),
15567 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15568 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15569 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15570 (gst_base_sink_deactivate), (gst_base_sink_activate),
15571 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15572 (gst_base_sink_query), (gst_base_sink_change_state):
15573 Basesink cleanups, remove some old code.
15574 Handle the case where a subclass can preroll in the render
15575 method (mostly audiosinks).
15576 Handle more events.
15577 Remove some locks around variables that are now protected
15578 with the PREROLL_LOCK (clock_id, flushing, ..).
15579 Optimize position query some more, do correct locking.
15580 Remove old code to push queue in state change, this is not
15581 needed anymore since preroll blocks on all prerollable items
15583 Almost implemented as described in design doc.
15585 2006-01-30 Wim Taymans <wim@fluendo.com>
15587 * tests/check/gst/gstbin.c: (GST_START_TEST):
15588 Wait for refcount to settle down before checking.
15590 2006-01-30 Wim Taymans <wim@fluendo.com>
15592 * docs/design/part-element-sink.txt:
15593 Pseudo code overview of desired sink behaviour regarding
15596 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15597 * win32/vs6/grammar.dsp:
15598 fix some bugs in Release mode for autogenerated files
15600 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15601 * win32/common/libgstbase.def:
15602 * win32/common/libgstreamer.def:
15603 export some new symbols: gst_base_src_set_format,
15604 gst_iterator_next, gst_structure_set_valist
15606 2006-01-29 Julien MOUTTE <julien@moutte.net>
15608 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15609 Set pad functions unconditionally. Fixes #329105.
15611 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15613 add vs8 project files created by Sergey Scobich
15615 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15617 * gst/gstutils.c: (gst_element_unlink_pads):
15618 Don't leak pad references.
15620 * tests/check/elements/fakesink.c: (GST_START_TEST):
15621 * tests/check/generic/sinks.c: (GST_START_TEST):
15622 * tests/check/generic/states.c: (GST_START_TEST):
15623 * tests/check/gst/gstbin.c: (GST_START_TEST):
15624 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15625 * tests/check/gst/gstelement.c: (GST_START_TEST):
15626 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15627 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15628 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15629 Fix a bunch of leaks. Make generic/sinks.c
15630 use a bit less cpu by slowing the buffer rate
15631 between fakesrc and fakesink.
15633 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15635 * gst/gstelement.c: (gst_element_send_event):
15638 * gst/gstiterator.c:
15639 * gst/gstiterator.h:
15640 * gst/gstpad.c: (gst_pad_send_event):
15641 * gst/gststructure.c:
15645 * libs/gst/base/gstadapter.c:
15646 doc fixes, to link to function, just write gst_cool_function(), don't
15649 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15651 * plugins/elements/gsttee.c: (gst_tee_do_push),
15652 (gst_tee_handle_buffer):
15653 Always prefer an actual return value from a src
15654 pad in place of NOT_LINKED. This means we return
15655 WRONG_STATE when all src pads are WRONG_STATE
15656 instead of NOT_LINKED.
15658 Lock when replacing the last message to prevent
15659 racing with the get_property method.
15663 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15665 * tests/check/Makefile.am:
15666 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15668 Add a very simple check that should have caught the memleak I fixed
15669 last night (if not for the slice allocator hiding it)
15671 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15673 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15674 (gst_bin_remove_func), (gst_bin_handle_message_func),
15675 (bin_query_duration_fold), (bin_query_generic_fold):
15676 Clean up references to the clock provider when disposed or when
15677 handling a clock-lost message from it.
15679 Unref sinks when performing a query via gst_iterator_fold, as the
15680 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15682 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15683 (gst_clock_set_master):
15684 Drop our reference to the master clock, if any, when we are disposed.
15686 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15687 Chain up in dispose.
15689 2006-01-26 Wim Taymans <wim@fluendo.com>
15691 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15692 Add some debugging.
15694 2006-01-26 Julien MOUTTE <julien@moutte.net>
15696 * plugins/elements/gsttee.c: (gst_tee_do_push),
15697 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15698 handles pad being NOT_LINKED or in WRONG_STATE.
15700 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15705 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15708 remove obsolete entry
15710 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15712 * docs/gst/gstreamer-sections.txt:
15713 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15714 (gst_bin_iterate_sources), (gst_bin_send_event):
15716 * gst/gstelement.c: (gst_element_send_event):
15718 * gst/gstpad.c: (gst_pad_send_event):
15719 added code for downstream events, reviewed docs in gstevent.c
15721 2006-01-25 Julien MOUTTE <julien@moutte.net>
15723 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15724 We only query position using the clock in the playing state.
15725 Query peer in the other cases.
15726 * win32/common/config.h: Updates.
15728 2006-01-24 Wim Taymans <wim@fluendo.com>
15730 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15731 A clock entry that is scheduled for the exact time of the
15732 clock is still in time.
15734 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15735 (gst_base_sink_do_sync):
15736 Add some more debug info.
15738 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15741 Add new vs7 project files and solution.
15743 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15746 all files removed as they were out-dated.
15748 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15750 * docs/random/release:
15752 * gst/gstbin.c: (gst_bin_init):
15753 * gst/gstbus.c: (gst_bus_new):
15755 * gst/gstpipeline.c: (gst_pipeline_init):
15756 use gst_bus_new(), improve logging, fix docs
15757 * win32/common/config.h:
15758 update for cvs build
15760 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15763 up required version of automake to 1.7
15765 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15767 * win32/common/libgstreamer.def:
15768 export gst_buffer_is_metadata_writable
15770 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15772 * docs/gst/gstreamer-sections.txt:
15774 Add gst_event_replace() (#327001)
15776 2006-01-20 Wim Taymans <wim@fluendo.com>
15778 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15779 Make it actually compile too..
15781 2006-01-20 Wim Taymans <wim@fluendo.com>
15784 Clarify behaviour of _is_equal() when passing NULL parameters.
15786 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15787 (gst_pad_set_caps):
15788 Cleanups. Don't unref NULL caps.
15789 When setting the same caps, protect caps of the pad with
15791 Use full functionality of _is_equal() when comparing caps.
15793 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15795 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15796 Don't loop infinitely if there are no buffers to present. Partially
15797 fixes #327197, but collectpads is just broken for reusing elements
15798 to do multiple encodes atm.
15800 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15802 * tools/gst-inspect.c: (print_element_features):
15803 * tools/gst-xmlinspect.c: (main):
15804 URL_HANDLER is not a plugin feature we can search for in
15807 2006-01-19 Edward Hervey <edward@fluendo.com>
15809 * gst/gstelement.c: (gst_element_pads_activate):
15810 When activating, do src pads first, then sink pads.
15811 When de-activating, do sink pads first, then src pads.
15813 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15815 * docs/gst/gstreamer-sections.txt:
15816 Add gst_index_add_associationv to the docs
15818 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15823 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15824 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15825 Do some refactoring. Doesn't actually change functionality,
15826 but makes landing the DRAIN event easier later.
15828 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15830 * docs/pwg/advanced-scheduling.xml:
15831 Update from 0.9.x to 0.10 API and make example a bit
15834 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15836 * docs/gst/gstreamer-sections.txt:
15837 Add gst_buffer_(is|make)_metadata_writable methods.
15839 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15841 * docs/design/part-sparsestreams.txt:
15842 Update sparse streams doc, hopefully for greater clarity
15844 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15846 * docs/design/part-events.txt:
15847 Remove mention of FILLER events.
15850 * docs/design/part-sparsestreams.txt:
15851 Write some things about using NEWSEGMENT to keep sparse streams
15854 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15856 * gst/gstbin.c: (gst_bin_dispose):
15857 Guard gst_object_unref call against a NULL object (dispose
15858 can theoretically be called multiple times).
15860 2006-01-18 Wim Taymans <wim@fluendo.com>
15862 * gst/gstbin.c: (gst_bin_element_set_state):
15863 * gst/gstclock.c: (gst_clock_id_wait):
15864 Added some more debug info.
15866 * libs/gst/base/gstadapter.c:
15869 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15870 (gst_base_sink_do_sync), (gst_base_sink_chain):
15871 Added some comments.
15873 2006-01-18 Wim Taymans <wim@fluendo.com>
15875 * tests/check/Makefile.am:
15876 * tests/check/elements/fakesink.c: (chain_async_buffer),
15877 (chain_async), (chain_async_return), (GST_START_TEST),
15878 (fakesink_suite), (main):
15879 Added fakesink test that checks prerolling and clipping
15882 * tests/check/gst/gstutils.c: (GST_START_TEST):
15883 Make check run faster so that buildbots don't timeout.
15885 2006-01-18 Wim Taymans <wim@fluendo.com>
15887 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15888 (gst_base_sink_do_sync):
15890 When the sink finishes blocking on the preroll buffer, it can
15891 immediatly render it instead of rendering when the next buffer
15894 2006-01-18 Wim Taymans <wim@fluendo.com>
15896 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15897 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15898 (gst_base_sink_chain):
15900 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15901 Don't store _last_stop if the buffer is dropped.
15903 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15905 * plugins/elements/gsttypefindelement.c:
15906 (gst_type_find_element_class_init):
15907 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15908 object method handler that sets the caps on the pad and we want
15909 that to happen before we emit the signal (fixes e.g. feeding a
15910 plain text file to decodebin).
15912 2006-01-18 Christian Schaller <Christian@fluendo.com>
15914 * gst/gstplugin.c: Add MPL and Proprietary as license options
15916 2006-01-18 Andy Wingo <wingo@pobox.com>
15918 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15919 symbol was exported before, it appears this was just an oversight.
15921 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15923 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15924 prototype to gint. OK since this prototype was not in the header.
15926 2006-01-17 Andy Wingo <wingo@pobox.com>
15928 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15929 registry while we remove plugins.
15931 * tools/gst-inspect.c (print_element_info): Don't unref the
15932 factory arg, that should be the responsibility of whatever code
15933 received the ref. Fixes a double-free when called from
15934 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15935 (main): Unref the factory if we have one.
15936 (print_element_list): No change -- relies on the
15937 plugin_feature_list_free to free the list of features.
15939 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15941 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15942 (gst_buffer_make_metadata_writable):
15944 * libs/gst/base/gstbasetransform.c:
15945 (gst_base_transform_prepare_output_buf):
15946 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15947 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15948 Replace gst_buffer_(make|is)_metadata_writable patch now
15949 that the release is out.
15951 2006-01-17 Andy Wingo <wingo@pobox.com>
15953 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15954 in the present tense without reference to versions.
15956 * gst/gstregistry.c (gst_registry_add_plugin)
15957 (gst_registry_remove_plugin, gst_registry_remove_feature)
15958 (gst_registry_find_feature, gst_registry_get_feature_list)
15959 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15960 (gst_registry_lookup, gst_registry_scan_path)
15961 (_gst_registry_remove_cache_plugins)
15962 (gst_registry_get_feature_list_by_plugin): Add argument
15965 === release 0.10.2 ===
15967 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15970 releasing 0.10.2, "If man is five"
15972 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15976 * libs/gst/base/gstbasetransform.c:
15977 (gst_base_transform_prepare_output_buf):
15978 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15979 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15980 Back out patch until after the release.
15982 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15984 * gst/gstminiobject.c:
15985 Spelling fix in docs.
15986 * ChangeLog - remove conflict indicator
15988 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15990 Reviewed By: Andy Wingo
15992 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15993 (gst_buffer_make_metadata_writable):
15995 Add gst_buffer_(is|make)_metadata_writable as analogues of
15996 gst_buffer_(is|make)_writable.
15998 * libs/gst/base/gstbasetransform.c:
15999 (gst_base_transform_prepare_output_buf):
16000 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16001 Use name gst_buffer_(is|make)_metadata_writable functions.
16003 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16004 Test gst_buffer_(is|make)_metadata_writable
16008 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16010 * docs/manual/Makefile.am:
16011 don't do parallel make
16014 * win32/common/config.h.in:
16015 add generations for HOST_CPU and GST_MAJORMINOR
16016 * win32/common/config.h:
16017 commit generated result
16019 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16021 * docs/manual/appendix-integration.xml:
16022 Update GNOME integration section to use gst_init_get_option_group()
16023 instead of the old popt stuff (#322911). Also, GNOME applications
16024 should now use gconf*sink and gconf*src instead of the old gconf
16027 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16030 * docs/gst/gstreamer-docs.sgml:
16031 * docs/gst/gstreamer-sections.txt:
16032 * docs/libs/gstreamer-libs-sections.txt:
16033 add new API entries to the docs
16034 * libs/gst/controller/Makefile.am:
16035 * libs/gst/controller/gstcontroller.c:
16036 * libs/gst/controller/gstcontroller.h:
16037 * libs/gst/controller/gstcontrollerprivate.h:
16038 * libs/gst/controller/gsthelper.c:
16039 * libs/gst/controller/gstinterpolation.c:
16040 move private structs to private header
16042 gstreamer-0.7 -> gstreamer-0.10
16043 * tests/check/libs/struct_i386.h:
16044 remove private structs
16046 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16048 * plugins/indexers/Makefile.am:
16049 Fixes as part of #317048
16051 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16053 * plugins/indexers/Makefile.am:
16054 fix #316086 - compilation when mmap is missing
16056 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16058 * libs/gst/base/gstbasesink.c:
16059 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16060 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16061 * win32/common/config.h:
16062 added some defines GST_MAJORMINOR and HOST_CPU
16063 * win32/common/libgstbase.def:
16064 * win32/common/libgstreamer.def:
16065 added some exported functions.
16067 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16069 * libs/gst/controller/gstcontroller.c:
16070 (gst_controlled_property_set_interpolation_mode),
16071 (gst_controlled_property_new):
16072 * libs/gst/controller/gstcontroller.h:
16073 * libs/gst/controller/gstinterpolation.c:
16074 (interpolate_none_get_string_value_array):
16075 make G_TYPE_STRING controlable
16077 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16080 * tools/gst-feedback.1.in:
16081 * tools/gst-inspect.1.in:
16082 * tools/gst-launch.1.in:
16083 * tools/gst-md5sum.1.in:
16084 * tools/gst-typefind.1.in:
16085 * tools/gst-xmlinspect.1.in:
16086 * tools/gst-xmllaunch.1.in:
16087 cleanup man-pages, remove reference to gst-register, document env-vars
16089 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16091 * gst/gstbuffer.c: (gst_buffer_span):
16092 gst_buffer_span should copy the timestamp of the first buffer
16093 if they were both originally overlapping subbuffers of the
16094 same parent, using the same logic as the 'slow copy' case.
16096 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16098 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16099 Need to awaken ALL the pads when we pop a buffer, otherwise
16100 collectpads only works when there is 2 input streams.
16102 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16104 * docs/random/ensonic/media-device-daemon.txt:
16107 fix doc example, add clarification
16108 * tools/gst-launch.1.in:
16109 add initial info about GST_PLUGIN_PATH, needs more work
16111 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16113 * docs/manual/basics-bins.xml:
16114 * docs/manual/basics-elements.xml:
16115 * docs/manual/intro-basics.xml:
16116 Some more minor docs additions and updates.
16118 2006-01-11 Wim Taymans <wim@fluendo.com>
16120 * docs/manual/basics-bins.xml:
16121 * docs/manual/basics-elements.xml:
16122 Some small fixes as pointed out by Ser-ver on IRC.
16124 2006-01-10 Edward Hervey <edward@fluendo.com>
16126 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16127 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16128 the single-segment mode.
16130 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16132 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16134 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16135 (gst_base_src_perform_seek), (gst_base_src_send_event),
16136 (gst_base_src_set_property), (gst_base_src_get_property),
16137 (gst_base_src_loop), (gst_base_src_start),
16138 (gst_base_src_activate_push):
16139 * libs/gst/base/gstbasesrc.h:
16140 Name (private) union; makes Sun's Forte compiler happy (#324900).
16142 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16145 gst-register is gone.
16147 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16149 * gst/gstvalue.c: (_gst_value_initialize):
16150 make the G_TYPE_DATE instantiation work if debug is disabled
16152 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16154 * gst/gstmessage.c: (gst_message_parse_tag),
16155 (gst_message_parse_error), (gst_message_parse_warning):
16156 Don't crash when return location for error/warning debug
16157 string is NULL; add fact that return locations can be
16158 NULL to docs where appropriate.
16160 2006-01-05 Wim Taymans <wim@fluendo.com>
16162 * gst/gstplugin.c: (gst_plugin_load_file):
16163 Replace strdup by g_strdup.
16165 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16167 * docs/pwg/advanced-types.xml:
16170 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16172 submitted by: Abel Cheung
16176 Added Chinese (traditional) translation
16178 2006-01-04 Wim Taymans <wim@fluendo.com>
16180 * docs/manual/basics-pads.xml:
16181 * docs/plugins/Makefile.am:
16182 * docs/plugins/gstreamer-plugins-docs.sgml:
16183 * docs/plugins/gstreamer-plugins-sections.txt:
16184 * docs/pwg/advanced-clock.xml:
16185 * docs/pwg/advanced-scheduling.xml:
16186 * docs/pwg/advanced-types.xml:
16187 * plugins/elements/gstfdsink.c:
16188 * plugins/elements/gstfdsrc.c:
16189 * plugins/elements/gstfdsrc.h:
16190 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16191 * plugins/elements/gstidentity.h:
16192 * plugins/elements/gstqueue.h:
16193 * plugins/elements/gsttee.c:
16194 * plugins/elements/gsttee.h:
16195 * plugins/elements/gsttypefindelement.c:
16196 (gst_type_find_element_class_init):
16197 * plugins/elements/gsttypefindelement.h:
16198 Small updates to various docs.
16199 Added core plugins to docs.
16201 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16204 add a suppression for liboil's uninitialized variable
16206 2006-01-02 James Livingston <jrl at ids dot org dot au>
16208 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16211 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16212 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16213 compiler switch is being used (#325429).
16215 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16217 * gst/gstbin.c: (gst_bin_query):
16218 Disable duration query caching in bins until it gets
16219 fixed (see #324807).
16221 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16223 * tools/gst-inspect.c: (print_element_properties_info):
16224 Handle properties of POINTER and BOXED type.
16226 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16228 * gst/gst.c: (init_post):
16229 Init tags stuff and some other things before loading
16230 any static plugins (there may be other static plugins
16231 than just the GStreamer ones, and they may want to
16232 register their own tags or formats or whatever, and
16233 preferably without segfaulting).
16235 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16236 Print at least a warning in the debug logs if we drop a
16237 query just because we don't know how to adjust the value
16238 in the particular format.
16240 2005-12-24 David Schleef <ds@schleef.org>
16242 * tools/gstreamer-completion:
16243 Replacement for gst-complete written in sh and sed. Only
16244 completes names of features, but that's 90% of what I want
16245 it for. Properties are not available in registry.xml. (Maybe
16248 === release 0.10.1 ===
16250 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16253 releasing 0.10.1, "Nollaig chridheil"
16255 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16257 * docs/faq/cvs.xml:
16258 Add missing quote, should be make ERROR_CFLAGS="".
16260 2005-12-20 Wim Taymans <wim@fluendo.com>
16262 * docs/design/part-trickmodes.txt:
16263 More documentation on trickmodes.
16265 2005-12-20 Edward Hervey <edward@fluendo.com>
16267 * gst/gstcaps.c: (gst_static_caps_get_type):
16269 API addition: GST_TYPE_STATIC_CAPS
16270 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16271 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16272 * gst/gstpadtemplate.h:
16273 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16274 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16277 2005-12-18 Wim Taymans <wim@fluendo.com>
16279 * libs/gst/base/gstadapter.c:
16280 * libs/gst/base/gstadapter.h:
16281 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16282 (gst_base_sink_get_position):
16283 * libs/gst/base/gstbasesink.h:
16284 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16285 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16286 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16287 (gst_base_src_send_event), (gst_base_src_update_length),
16288 (gst_base_src_get_range), (gst_base_src_loop),
16289 (gst_base_src_start):
16290 * libs/gst/base/gstbasesrc.h:
16291 * libs/gst/base/gstbasetransform.h:
16292 * libs/gst/base/gstcollectpads.h:
16293 * libs/gst/base/gstpushsrc.c:
16294 * libs/gst/base/gstpushsrc.h:
16295 * libs/gst/dataprotocol/dataprotocol.c:
16296 * libs/gst/dataprotocol/dataprotocol.h:
16297 * libs/gst/net/gstnetclientclock.h:
16298 * libs/gst/net/gstnettimeprovider.h:
16299 Documentation updates.
16301 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16303 * docs/manual/basics-helloworld.xml:
16304 Remove superfluous closing bracket in helloworld example.
16306 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16308 * tools/gst-launch.1.in:
16309 Update gst-launch man page; add a section with useful
16310 environment variables. Fixes #323882.
16312 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16315 * gst/gst_private.h:
16316 change some char* into char[]
16318 2005-12-16 Wim Taymans <wim@fluendo.com>
16320 * gst/gstregistryxml.c: (load_feature):
16322 Don't use g_object_unref on GstObjects so that we avoid
16323 leaks on unsafe glibs.
16325 2005-12-16 Wim Taymans <wim@fluendo.com>
16327 * gst/gstbin.c: (gst_bin_recalc_state):
16330 2005-12-16 Wim Taymans <wim@fluendo.com>
16332 * common/check.mak:
16333 Added make forever target for check.
16335 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16337 * gst/gst.c: (init_post):
16338 make the registry cache file HOST_CPU-dependent
16340 2005-12-16 Andy Wingo <wingo@pobox.com>
16342 * plugins/elements/gstbufferstore.c
16343 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16346 * tests/check/gst/gstobject.c
16347 (test_fake_object_name_threaded_unique): Pay attention to
16348 g_list_sort return value.
16350 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16352 * tools/gst-feedback-m.m:
16353 Update for 0.9/0.10 (fixes #323870).
16355 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16357 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16358 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16360 * tests/check/gst/gstminiobject.c: (my_foo_init),
16361 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16362 (test_value_collection), (gst_mini_object_suite):
16363 Add test to ensure refcounts end up as expected when passing
16364 GstMiniObjects through g_object_get() and g_object_set().
16366 2005-12-14 Julien MOUTTE <julien@moutte.net>
16368 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16369 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16370 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16371 of collectpads. This version removes a lot of races without
16372 touching API/ABI. Yay !
16374 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16376 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16377 Don't allow activation of a srcpad in pull_range if it has no
16379 Change some debug statements to be a little clearer
16381 * plugins/elements/gsttypefindelement.c:
16382 (gst_type_find_handle_src_query):
16383 Check that we have a peer before executing queries thereupon.
16385 * tests/examples/metadata/read-metadata.c: (message_loop):
16386 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16387 immediately return us any available message with 0 timeout.
16389 2005-12-12 Michael Smith <msmith@fluendo.com>
16391 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16392 Don't unref factories after calling them.
16393 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16394 * plugins/elements/gsttypefindelement.c:
16395 (gst_type_find_element_chain):
16396 Free lists of factories after using them. Fixing typefinding memory
16399 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16401 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16402 (gst_plugin_feature_load):
16403 more meaningful debug output
16405 * tests/Makefile.am:
16406 * tests/old/examples/Makefile.am:
16407 make make distcheck happy again
16409 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16411 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16412 Catch the special case where we are operating chain-based,
16413 but the downstream peer pad has no chain function. Emit a
16414 custom error message in this case instead of letting the
16415 core generate one implying that this is some sort of core
16416 bug. It's not, it just means that whatever got plugged
16417 into the pipeline downstream when we announced the type
16418 can only operate pull-based, while our source can only
16419 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16420 Error string has not been marked for translation yet, as
16421 it probably needs some more work first.
16423 (gst_type_find_element_get_best_possibility):
16424 Add helper function to find the best of all available
16425 found possibilities that qualify given the min. threshold.
16427 (gst_type_find_element_handle_event):
16428 Fix the case where we get an EOS while still in TYPEFIND
16429 mode (we want to chose the best of all possible types,
16430 not just the first type that happens to be in our unsorted
16431 list of possible types).
16433 (gst_type_find_element_chain):
16434 Make sure we return GST_FLOW_ERROR when we errored out
16435 in stop_typefinding(); also, don't just find the best of
16436 all found type entries and then use the last examined
16437 type entry, but actually use the best entry.
16439 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16441 * tests/examples/typefind/typefind.c: (type_found):
16442 * tests/examples/xml/runxml.c: (xml_loaded):
16443 More gcc4 fixes and a mem leak fix.
16445 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16447 * tests/examples/xml/createxml.c: (object_saved):
16450 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16452 * tests/Makefile.am:
16453 enable the examples even more
16455 2005-12-12 Andy Wingo <wingo@pobox.com>
16457 * libs/gst/net/gstnettimeprovider.c
16458 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16459 (gst_net_time_provider_set_property)
16460 (gst_net_time_provider_get_property):
16461 API addition: Export "active" as a GObject property.
16462 (gst_net_time_provider_thread): Only respond to time queries if
16463 the time provider is active.
16465 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16466 NetTimeProvider, preserving binary compat.
16468 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16470 * tests/examples/controller/audio-example.c: (main):
16471 * tests/examples/launch/Makefile.am:
16472 convert comments again
16474 2005-12-12 Wim Taymans <wim@fluendo.com>
16476 * libs/gst/base/gstpushsrc.c:
16479 2005-12-12 Wim Taymans <wim@fluendo.com>
16481 * docs/libs/gstreamer-libs-sections.txt:
16482 Added new symbol to docs.
16484 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16485 (gst_base_src_init), (gst_base_src_set_format),
16486 (gst_base_src_default_query), (gst_base_src_query),
16487 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16488 (gst_base_src_perform_seek), (gst_base_src_send_event),
16489 (gst_base_src_default_event), (gst_base_src_event_handler),
16490 (gst_base_src_set_property), (gst_base_src_get_property),
16491 (gst_base_src_wait), (gst_base_src_do_sync),
16492 (gst_base_src_update_length), (gst_base_src_get_range),
16493 (gst_base_src_check_get_range), (gst_base_src_loop),
16494 (gst_base_src_default_negotiate), (gst_base_src_start),
16495 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16496 (gst_base_src_change_state):
16497 * libs/gst/base/gstbasesrc.h:
16498 Implement seeking to other formats than _BYTES.
16499 Implement more seeking methods correctly.
16501 Added query vmethod.
16502 Added do_seek vmethod to make life easier for subclasses
16504 API addition: gst_base_src_set_format()
16506 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16508 * tests/examples/Makefile.am:
16511 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16514 * docs/random/ensonic/media-device-daemon.txt:
16515 * tests/examples/controller/.cvsignore:
16516 * tests/examples/controller/Makefile.am:
16517 * tests/examples/controller/audio-example.c: (main):
16518 * tests/examples/helloworld/.cvsignore:
16519 * tests/examples/helloworld/Makefile.am:
16520 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16521 * tests/examples/launch/.cvsignore:
16522 * tests/examples/launch/Makefile.am:
16523 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16524 * tests/examples/metadata/.cvsignore:
16525 * tests/examples/metadata/Makefile.am:
16526 * tests/examples/metadata/read-metadata.c: (message_loop),
16527 (make_pipeline), (print_tag), (main):
16528 * tests/examples/queue/.cvsignore:
16529 * tests/examples/queue/Makefile.am:
16530 * tests/examples/queue/queue.c: (event_loop), (main):
16531 * tests/examples/typefind/.cvsignore:
16532 * tests/examples/typefind/Makefile.am:
16533 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16535 * tests/examples/xml/.cvsignore:
16536 * tests/examples/xml/Makefile.am:
16537 * tests/examples/xml/createxml.c: (object_saved), (main):
16538 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16539 * tests/old/examples/Makefile.am:
16540 * tests/old/examples/TODO:
16541 * tests/old/examples/controller/.cvsignore:
16542 * tests/old/examples/controller/Makefile.am:
16543 * tests/old/examples/controller/audio-example.c:
16544 * tests/old/examples/helloworld/.cvsignore:
16545 * tests/old/examples/helloworld/Makefile.am:
16546 * tests/old/examples/helloworld/helloworld.c:
16547 * tests/old/examples/launch/.cvsignore:
16548 * tests/old/examples/launch/Makefile.am:
16549 * tests/old/examples/launch/mp3parselaunch.c:
16550 * tests/old/examples/launch/mp3play:
16551 * tests/old/examples/manual/Makefile.am:
16552 * tests/old/examples/metadata/Makefile.am:
16553 * tests/old/examples/metadata/read-metadata.c:
16554 * tests/old/examples/queue/.cvsignore:
16555 * tests/old/examples/queue/Makefile.am:
16556 * tests/old/examples/queue/queue.c:
16557 * tests/old/examples/typefind/.cvsignore:
16558 * tests/old/examples/typefind/Makefile.am:
16559 * tests/old/examples/typefind/typefind.c:
16560 * tests/old/examples/xml/.cvsignore:
16561 * tests/old/examples/xml/Makefile.am:
16562 * tests/old/examples/xml/createxml.c:
16563 * tests/old/examples/xml/runxml.c:
16564 applied some simple fixing to some examples
16565 re-enabled the working examples
16567 2005-12-12 Wim Taymans <wim@fluendo.com>
16569 * gst/gstsegment.c: (gst_segment_init),
16570 (gst_segment_set_last_stop), (gst_segment_set_seek),
16571 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16572 (gst_segment_to_running_time):
16573 Added more documentation.
16574 Make sure the last_pos value is updated properly.
16575 Make sure to_stream_time and to_running_time don't
16576 operate on wrong values.
16578 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16581 2005-12-12 Michael Smith <msmith@fluendo.com>
16583 * plugins/elements/gsttypefindelement.c: (free_entry),
16584 (gst_type_find_element_chain):
16585 Now that we're not leaking factories, make sure we keep references
16586 to them while we need them.
16588 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16590 * tests/check/gst/struct_i386.h:
16591 ifdef out the XML structs
16593 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16595 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16596 floor is not needed, F is always positive; this obviates the
16597 need for adding -lm when building without libxml
16599 2005-12-12 Wim Taymans <wim@fluendo.com>
16601 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16602 Take current playback rate into account when reporting
16605 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16607 * docs/manual/mime-world.fig:
16608 Let's try this again, this time with a file that is
16609 actually in XFig format.
16611 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16613 * docs/manual/mime-world.fig:
16614 Add audioconvert element to diagram so that it
16615 matches the text and the code (fixes #319526).
16617 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16619 * docs/pwg/building-chainfn.xml:
16620 * docs/pwg/building-pads.xml:
16621 * docs/pwg/building-state.xml:
16622 * docs/pwg/other-source.xml:
16623 Update state change stuff for 0.10 (fixes #322969).
16625 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16627 * docs/manual/advanced-dataaccess.xml:
16628 * docs/manual/appendix-checklist.xml:
16629 * docs/manual/appendix-programs.xml:
16630 * docs/manual/basics-pads.xml:
16631 * docs/manual/highlevel-components.xml:
16632 * docs/manual/manual.xml:
16633 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16634 add converters in front of pipelines; remove curly
16635 brackets for threads stuff, they no longer exist; use
16636 GST_TYPE_FRACTION for framerates; update some pieces of
16637 code to 0.10, but there's plenty more to do.
16639 * docs/manual/appendix-porting.xml:
16640 Expand on asynchroneous state changes; s/0.9/0.10/;
16641 mention disappearance of gst_init_get_popt_table()
16644 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16646 * docs/faq/using.xml:
16647 Spider no longer exists, and neither does gst-launch-ext.
16648 Update examples to use decodebin and playbin and put
16649 converters in front of sinks (fixes #323726).
16651 2005-12-09 Michael Smith <msmith@fluendo.com>
16653 * plugins/elements/gsttypefindelement.c: (find_peek),
16654 (gst_type_find_element_chain):
16655 Fix leaking element factories in typefinding.
16656 Fix problem where we forgot about a probable type on non-seekable
16657 files, and thus later mis-typefound it.
16659 2005-12-09 Michael Smith <msmith@fluendo.com>
16661 * common/m4/gst-makecontext.m4:
16662 * common/m4/gst-mcsc.m4:
16664 * win32/common/config.h:
16665 * win32/common/config.h.in:
16666 Remove makecontext stuff; not used in 0.10 and causes problems on
16667 HPUX according to bug #322441
16669 2005-12-07 Wim Taymans <wim@fluendo.com>
16671 * tests/check/Makefile.am:
16672 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16674 * tests/check/libs/struct_i386.h:
16675 Added ABI check for libs
16677 2005-12-07 Wim Taymans <wim@fluendo.com>
16679 * tests/check/Makefile.am:
16680 And add the struct_i386.h to dist.
16682 2005-12-07 Wim Taymans <wim@fluendo.com>
16684 * tests/check/Makefile.am:
16685 * tests/check/gst/.cvsignore:
16686 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16688 * tests/check/gst/struct_i386.h:
16689 Added check for ABI compatibility.
16691 2005-12-07 Wim Taymans <wim@fluendo.com>
16693 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16694 (gst_fake_src_get_times), (gst_fake_src_create):
16695 Fix broken sync option, fixes #323259
16697 2005-12-07 Wim Taymans <wim@fluendo.com>
16702 * gst/gstcaps.c: (gst_caps_is_equal):
16703 Don't assert on NULL <--> X. Fixes #323260
16705 * gst/gstminiobject.c: (gst_mini_object_replace):
16706 If we're doing atomic operations, we might just as well use
16707 the proper way to get an atomic pointer.
16709 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16710 Clean up debugging.
16712 2005-12-07 Michael Smith <msmith@fluendo.com>
16714 * gst/parse/grammar.y:
16715 Remove handling of { } for threads.
16717 2005-12-06 David Schleef <ds@schleef.org>
16719 * libs/gst/base/gstbasetransform.c: speling fix.
16721 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16723 * docs/libs/tmpl/gstdataprotocol.sgml:
16724 * docs/random/omega/testing/gstobject.c:
16727 * gst/gstelement.c:
16728 * gst/gstelementfactory.c:
16731 * gst/gstghostpad.c:
16733 * gst/gstpadtemplate.c:
16734 * gst/gstregistryxml.c:
16735 * gst/gsttaglist.c:
16736 * gst/gsttagsetter.c:
16737 * gst/gsttypefind.c:
16739 * libs/gst/base/gstbasesrc.c:
16740 * libs/gst/net/gstnetclientclock.c:
16741 * libs/gst/net/gstnettimeprovider.c:
16742 * plugins/elements/gstfakesrc.c:
16743 * plugins/elements/gstfdsrc.c:
16744 * plugins/elements/gstfilesrc.c:
16745 * plugins/elements/gstidentity.c:
16746 * plugins/elements/gstqueue.c:
16747 * plugins/elements/gsttypefindelement.c:
16748 * plugins/indexers/gstfileindex.c:
16749 * plugins/indexers/gstmemindex.c:
16750 * tests/check/gst/gsttag.c:
16751 * tests/old/examples/cutter/cutter.c:
16752 * tests/old/examples/mixer/mixer.c:
16753 * tests/old/examples/xml/runxml.c: (main):
16754 * tests/old/testsuite/caps/normalisation.c:
16755 * tests/old/testsuite/debug/global.c:
16756 * tests/old/testsuite/parse/parse1.c:
16757 * tools/gst-xmlinspect.c:
16758 * win32/common/dirent.c:
16761 === release 0.10.0 ===
16763 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16766 releasing 0.10.0, "Maroilles"
16768 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16770 submitted by: Funda Wang <fundawang@linux.net.cn>
16774 added Chinese (Traditional) translation
16776 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16778 * docs/gst/gstreamer-sections.txt:
16779 * docs/libs/tmpl/gstdataprotocol.sgml:
16780 * docs/random/thomasvs/TODO:
16785 2005-12-05 Andy Wingo <wingo@pobox.com>
16787 patch by: Wim Taymans <wim@fluendo.com>
16789 * libs/gst/base/gstbasetransform.c
16790 (gst_base_transform_prepare_output_buf)
16791 (gst_base_transform_buffer_alloc):
16792 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16793 alloc_buffer_and_set_caps.
16795 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16796 set_caps on the source pad.
16797 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16798 alloc_buffer used to do. Fixes #322874.
16800 * docs/gst/gstreamer-sections.txt:
16801 * docs/design/part-negotiation.txt:
16802 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16805 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16807 patch by: Sebastien Moutte
16810 * win32/common/config.h.in:
16811 * win32/vs6/libgstcontroller.dsp:
16814 2005-12-05 Wim Taymans <wim@fluendo.com>
16816 * gst/gstcaps.c: (gst_caps_is_equal):
16817 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16818 (gst_fake_src_create):
16819 Back out previous code changes, leave doc updates, file bugs
16822 2005-12-05 Wim Taymans <wim@fluendo.com>
16824 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16825 (gst_fake_src_get_times), (gst_fake_src_create):
16826 * plugins/elements/gstfakesrc.h:
16827 Fix broken sync code.
16829 2005-12-05 Wim Taymans <wim@fluendo.com>
16831 * gst/gstcaps.c: (gst_caps_is_equal):
16832 Comparing NULL against !NULL yields different caps, not a
16835 2005-12-05 Wim Taymans <wim@fluendo.com>
16837 * gst/gstpipeline.c:
16838 Fix small typo in docs.
16840 2005-12-05 Andy Wingo <wingo@pobox.com>
16842 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16844 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16845 registries/plugins with a MAJORMINOR one.
16846 (plugin_desc): Rename library from gstcoreleements to
16847 staticelements. Fixes #323222.
16849 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16851 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16852 Change debug category to 'collectpads' from 'collect_pads'
16855 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16857 patch by: Sebastien Moutte
16859 * libs/gst/controller/gstinterpolation.c:
16860 use convert function for uint64/double
16861 * win32/vs6/libgstcontroller.dsp:
16864 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16866 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16867 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16869 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16870 add tests that seem to show that the guint64/gdouble conversions
16873 2005-12-02 Wim Taymans <wim@fluendo.com>
16875 * gst/gstregistry.c: (gst_registry_add_path):
16876 * gst/gstregistry.h:
16877 * gst/gstregistryxml.c:
16880 2005-12-02 Wim Taymans <wim@fluendo.com>
16882 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16883 (gst_util_uint64_scale_int):
16886 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16887 Add debug log line.
16889 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16892 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16895 * win32/common/config.h:
16896 * win32/vs6/gstreamer.dsw:
16897 * win32/vs6/libgstcoreelements.dsp:
16898 * win32/vs6/libgstelements.dsp:
16899 renamed core elements plugin
16901 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16903 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16905 do piece-wise major/minor comparison so 0.9 < 0.10
16906 also allow .exe extensions for tools
16908 2005-12-02 Michael Smith <msmith@fluendo.com>
16911 Escape a % to make gtkdoc happier; bug 322958.
16913 === release 0.9.7 ===
16915 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16918 releasing 0.9.7, "My Dog Has No Nose"
16920 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16922 * common/gst-xmlinspect.py:
16924 * docs/libs/tmpl/gstdataprotocol.sgml:
16925 * docs/random/release:
16944 * win32/common/config.h:
16945 * win32/common/config.h.in:
16946 * win32/vs6/gst_inspect.dsp:
16947 * win32/vs6/gst_launch.dsp:
16948 * win32/vs6/libgstbase.dsp:
16949 * win32/vs6/libgstelements.dsp:
16950 * win32/vs6/libgstreamer.dsp:
16951 * win32/vs7/GStreamer.vcproj:
16952 * win32/vs7/gst-inspect.vcproj:
16953 * win32/vs7/gst-launch.vcproj:
16954 * win32/vs7/libgstbase.vcproj:
16955 bump GST_MAJORMINOR to 0.10
16956 reset libtool version
16958 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16962 Added Bulgarian translation by (Alexander Shopov)
16964 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16966 * tests/check/gst/gstplugin.c:
16969 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16971 * common/gst-xmlinspect.py:
16972 * common/gtk-doc-plugins.mak:
16974 * docs/Makefile.am:
16975 * docs/gst/Makefile.am:
16976 * docs/gst/gstreamer-docs.sgml:
16977 * docs/gst/gstreamer-sections.txt:
16978 * docs/gst/gstreamer.types:
16979 * docs/gst/gstreamer.types.in:
16980 * docs/plugins/Makefile.am:
16981 * docs/plugins/gstreamer-plugins-docs.sgml:
16982 * docs/plugins/gstreamer-plugins-sections.txt:
16983 * docs/plugins/gstreamer-plugins.types:
16984 * docs/plugins/inspect.stamp:
16985 * docs/plugins/inspect/plugin-coreelements.xml:
16986 * docs/plugins/inspect/plugin-coreindexers.xml:
16987 * docs/plugins/scanobj-build.stamp:
16988 * gstreamer.spec.in:
16989 * plugins/elements/Makefile.am:
16990 * plugins/elements/gstelements.c:
16991 * plugins/elements/gstfakesink.c:
16992 * plugins/elements/gstfakesrc.c:
16993 * plugins/elements/gstfilesink.c:
16994 * plugins/elements/gstfilesrc.c:
16995 * plugins/elements/gstqueue.c:
16996 * plugins/indexers/Makefile.am:
16997 * plugins/indexers/gstindexers.c:
16998 document core plugins in a separate document just like all the
17000 rename these plugins to something starting with core
17002 2005-12-01 Andy Wingo <wingo@pobox.com>
17004 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17005 padding here before, but it missed the commit.
17007 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17009 * libs/gst/controller/gstinterpolation.c:
17010 whitespace prices have crashed, we should feel free to use some now
17011 use gst_guint64_to_gdouble
17013 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17015 * libs/gst/controller/gstcontroller.c:
17016 * libs/gst/controller/gsthelper.c:
17017 * libs/gst/controller/gstinterpolation.c:
17018 * libs/gst/controller/lib.c:
17019 wrap config.h include
17021 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17023 * docs/gst/gstreamer-sections.txt:
17026 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17028 * plugins/elements/gstelements.c:
17029 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17030 (gst_fd_sink__class_init), (gst_fd_sink__init),
17031 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17032 (gst_fd_sink__get_property):
17033 * plugins/elements/gstfdsink.h:
17034 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17035 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17036 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17037 (gst_fd_src_unlock), (gst_fd_src_set_property),
17038 (gst_fd_src_get_property), (gst_fd_src_create),
17039 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17040 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17041 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17042 (gst_fd_src_uri_handler_init):
17043 * plugins/elements/gstfdsrc.h:
17044 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17047 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17049 * docs/gst/Makefile.am:
17050 * docs/gst/gstreamer.types.in:
17054 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17060 * gst/gstregistry.h:
17061 * tests/benchmarks/complexity.c:
17062 * tests/benchmarks/mass-elements.c:
17063 * tests/check/Makefile.am:
17064 * tools/Makefile.am:
17065 * tools/gst-inspect.c:
17066 * tools/gst-xmlinspect.c:
17067 various fixes to make
17068 --disable-nls --disable-registry --disable-loadsave
17069 --disable-parse --disable-gst-debug
17070 work and get the core .so down to 360444 bytes after stripping
17072 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17077 * docs/random/thomasvs/TODO:
17078 * tests/Makefile.am:
17082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17084 * win32/GStreamer.vcproj:
17087 * win32/Makefile.inspect:
17088 * win32/Makefile.launch:
17089 * win32/Makefile.register:
17090 * win32/README.txt:
17091 * win32/gst-inspect.vcproj:
17092 * win32/gst-launch.vcproj:
17093 * win32/gst-register.vcproj:
17094 * win32/gstelements.vcproj:
17095 * win32/gstgetbits.def:
17096 * win32/gstgetbits.vcproj:
17097 * win32/gstreamer-dbg.def:
17098 * win32/gstreamer.def:
17099 * win32/libgstbase.def:
17100 * win32/libgstbase.vcproj:
17101 * win32/link_oldruntime.c:
17105 * win32/msvc71.sln:
17106 move even more stuff, win32/ is nice and clean now
17108 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17110 * libs/gst/control/.cvsignore:
17115 * win32/gstbytestream.def:
17116 * win32/gstbytestream.vcproj:
17117 * win32/gstconfig.h:
17118 * win32/gstenumtypes.c:
17119 * win32/gstenumtypes.h:
17120 * win32/gstoptimalscheduler.vcproj:
17121 * win32/gstversion.h:
17123 * win32/testsuite/bins.vcproj:
17124 * win32/testsuite/bytestream.vcproj:
17125 * win32/testsuite/caps.vcproj:
17126 * win32/testsuite/cleanup.vcproj:
17127 * win32/testsuite/clock.vcproj:
17128 * win32/testsuite/debug.vcproj:
17129 * win32/testsuite/dlopen.vcproj:
17130 * win32/testsuite/dynparams.vcproj:
17131 * win32/testsuite/elements.vcproj:
17132 * win32/testsuite/ghostpads.vcproj:
17133 * win32/testsuite/indexers.vcproj:
17134 * win32/testsuite/negotiation.vcproj:
17135 * win32/testsuite/parse.vcproj:
17136 * win32/testsuite/plugin.vcproj:
17137 * win32/testsuite/refcounting.vcproj:
17138 * win32/testsuite/schedulers.vcproj:
17139 * win32/testsuite/states.vcproj:
17140 * win32/testsuite/tags.vcproj:
17141 * win32/testsuite/threads.vcproj:
17142 remove old win32 stuff that isn't maintained and should be
17145 2005-11-30 Andy Wingo <wingo@pobox.com>
17147 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17148 loading the gst.interfaces python module bork.
17150 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17151 available since GLib 2.2. Fixes #318031.
17153 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17156 * check/.cvsignore:
17157 * check/Makefile.am:
17158 * check/elements/.cvsignore:
17159 * check/elements/fakesrc.c:
17160 * check/elements/fdsrc.c:
17161 * check/elements/identity.c:
17162 * check/generic/.cvsignore:
17163 * check/generic/states.c:
17164 * check/gst-libs/.cvsignore:
17165 * check/gst-libs/controller.c:
17166 * check/gst-libs/gdp.c:
17167 * check/gst/.cvsignore:
17168 * check/gst/capslist.h:
17170 * check/gst/gstbin.c:
17171 * check/gst/gstbuffer.c:
17172 * check/gst/gstbus.c:
17173 * check/gst/gstcaps.c:
17174 * check/gst/gstelement.c:
17175 * check/gst/gstevent.c:
17176 * check/gst/gstghostpad.c:
17177 * check/gst/gstiterator.c:
17178 * check/gst/gstmessage.c:
17179 * check/gst/gstminiobject.c:
17180 * check/gst/gstobject.c:
17181 * check/gst/gstpad.c:
17182 * check/gst/gstpipeline.c:
17183 * check/gst/gstplugin.c:
17184 * check/gst/gstsegment.c:
17185 * check/gst/gststructure.c:
17186 * check/gst/gstsystemclock.c:
17187 * check/gst/gsttag.c:
17188 * check/gst/gstutils.c:
17189 * check/gst/gstvalue.c:
17190 * check/net/.cvsignore:
17191 * check/net/gstnetclientclock.c:
17192 * check/net/gstnettimeprovider.c:
17193 * check/pipelines/.cvsignore:
17194 * check/pipelines/cleanup.c:
17195 * check/pipelines/simple_launch_lines.c:
17196 * check/pipelines/stress.c:
17197 * check/states/.cvsignore:
17198 * check/states/sinks.c:
17200 * examples/Makefile.am:
17201 * examples/appreader/.cvsignore:
17202 * examples/appreader/Makefile.am:
17203 * examples/appreader/appreader.c:
17204 * examples/controller/.cvsignore:
17205 * examples/controller/Makefile.am:
17206 * examples/controller/audio-example.c:
17207 * examples/cutter/.cvsignore:
17208 * examples/cutter/Makefile.am:
17209 * examples/cutter/cutter.c:
17210 * examples/cutter/cutter.h:
17211 * examples/events/Makefile.am:
17212 * examples/events/seek.c:
17213 * examples/helloworld/.cvsignore:
17214 * examples/helloworld/Makefile.am:
17215 * examples/helloworld/helloworld.c:
17216 * examples/helloworld2/.cvsignore:
17217 * examples/helloworld2/Makefile.am:
17218 * examples/helloworld2/helloworld2.c:
17219 * examples/launch/.cvsignore:
17220 * examples/launch/Makefile.am:
17221 * examples/launch/mp3parselaunch.c:
17222 * examples/launch/mp3play:
17223 * examples/manual/.cvsignore:
17224 * examples/manual/Makefile.am:
17225 * examples/manual/extract.pl:
17226 * examples/metadata/Makefile.am:
17227 * examples/metadata/read-metadata.c:
17228 * examples/mixer/.cvsignore:
17229 * examples/mixer/Makefile.am:
17230 * examples/mixer/mixer.c:
17231 * examples/mixer/mixer.h:
17232 * examples/pingpong/.cvsignore:
17233 * examples/pingpong/Makefile.am:
17234 * examples/pingpong/pingpong.c:
17235 * examples/plugins/.cvsignore:
17236 * examples/plugins/Makefile.am:
17237 * examples/plugins/example.c:
17238 * examples/plugins/example.h:
17239 * examples/pwg/.cvsignore:
17240 * examples/pwg/Makefile.am:
17241 * examples/pwg/extract.pl:
17242 * examples/queue/.cvsignore:
17243 * examples/queue/Makefile.am:
17244 * examples/queue/queue.c:
17245 * examples/queue2/.cvsignore:
17246 * examples/queue2/Makefile.am:
17247 * examples/queue2/queue2.c:
17248 * examples/queue3/.cvsignore:
17249 * examples/queue3/Makefile.am:
17250 * examples/queue3/queue3.c:
17251 * examples/queue4/.cvsignore:
17252 * examples/queue4/Makefile.am:
17253 * examples/queue4/queue4.c:
17254 * examples/retag/.cvsignore:
17255 * examples/retag/Makefile.am:
17256 * examples/retag/retag.c:
17257 * examples/retag/transcode.c:
17258 * examples/thread/.cvsignore:
17259 * examples/thread/Makefile.am:
17260 * examples/thread/thread.c:
17261 * examples/typefind/.cvsignore:
17262 * examples/typefind/Makefile.am:
17263 * examples/typefind/typefind.c:
17264 * examples/xml/.cvsignore:
17265 * examples/xml/Makefile.am:
17266 * examples/xml/createxml.c:
17267 * examples/xml/runxml.c:
17268 * tests/Makefile.am:
17269 * tests/check/Makefile.am:
17270 * testsuite/.cvsignore:
17271 * testsuite/Makefile.am:
17273 * testsuite/caps/.cvsignore:
17274 * testsuite/caps/Makefile.am:
17275 * testsuite/caps/app_fixate.c:
17276 * testsuite/caps/audioscale.c:
17277 * testsuite/caps/caps.c:
17278 * testsuite/caps/caps.h:
17279 * testsuite/caps/caps_strings:
17280 * testsuite/caps/compatibility.c:
17281 * testsuite/caps/deserialize.c:
17282 * testsuite/caps/enumcaps.c:
17283 * testsuite/caps/eratosthenes.c:
17284 * testsuite/caps/filtercaps.c:
17285 * testsuite/caps/fixed.c:
17286 * testsuite/caps/fraction-convert.c:
17287 * testsuite/caps/fraction-multiply-and-zero.c:
17288 * testsuite/caps/intersect2.c:
17289 * testsuite/caps/intersection.c:
17290 * testsuite/caps/normalisation.c:
17291 * testsuite/caps/random.c:
17292 * testsuite/caps/renegotiate.c:
17293 * testsuite/caps/sets.c:
17294 * testsuite/caps/simplify.c:
17295 * testsuite/caps/string-conversions.c:
17296 * testsuite/caps/structure.c:
17297 * testsuite/caps/subtract.c:
17298 * testsuite/caps/union.c:
17299 * testsuite/debug/.cvsignore:
17300 * testsuite/debug/Makefile.am:
17301 * testsuite/debug/category.c:
17302 * testsuite/debug/commandline.c:
17303 * testsuite/debug/global.c:
17304 * testsuite/debug/output.c:
17305 * testsuite/debug/printf_extension.c:
17306 * testsuite/dlopen/.cvsignore:
17307 * testsuite/dlopen/Makefile.am:
17308 * testsuite/dlopen/dlopen_gst.c:
17309 * testsuite/dlopen/loadgst.c:
17310 * testsuite/elements/.cvsignore:
17311 * testsuite/elements/Makefile.am:
17312 * testsuite/elements/gst-inspect-check.in:
17313 * testsuite/elements/struct_i386.h:
17314 * testsuite/elements/struct_size.c:
17315 * testsuite/indexers/.cvsignore:
17316 * testsuite/indexers/Makefile.am:
17317 * testsuite/indexers/cache1.c:
17318 * testsuite/indexers/indexdump.c:
17319 * testsuite/parse/.cvsignore:
17320 * testsuite/parse/Makefile.am:
17321 * testsuite/parse/parse1.c:
17322 * testsuite/parse/parse2.c:
17323 * testsuite/plugin/.cvsignore:
17324 * testsuite/plugin/Makefile.am:
17325 * testsuite/plugin/README:
17326 * testsuite/plugin/dynamic.c:
17327 * testsuite/plugin/linked.c:
17328 * testsuite/plugin/loading.c:
17329 * testsuite/plugin/registry.c:
17330 * testsuite/plugin/static.c:
17331 * testsuite/plugin/static2.c:
17332 * testsuite/plugin/testplugin.c:
17333 * testsuite/plugin/testplugin2.c:
17334 * testsuite/plugin/testplugin2_s.c:
17335 * testsuite/plugin/testplugin_s.c:
17336 * testsuite/refcounting/.cvsignore:
17337 * testsuite/refcounting/Makefile.am:
17338 * testsuite/refcounting/bin.c:
17339 * testsuite/refcounting/element.c:
17340 * testsuite/refcounting/element_pad.c:
17341 * testsuite/refcounting/mainloop.c:
17342 * testsuite/refcounting/mem.c:
17343 * testsuite/refcounting/mem.h:
17344 * testsuite/refcounting/object.c:
17345 * testsuite/refcounting/pad.c:
17346 * testsuite/refcounting/sched.c:
17347 * testsuite/refcounting/thread.c:
17348 * testsuite/states/.cvsignore:
17349 * testsuite/states/Makefile.am:
17350 * testsuite/states/bin.c:
17351 * testsuite/states/locked.c:
17352 * testsuite/states/parent.c:
17353 * testsuite/threads/.cvsignore:
17354 * testsuite/threads/159566.c:
17355 * testsuite/threads/159852.c:
17356 * testsuite/threads/Makefile.am:
17357 * testsuite/threads/queue.c:
17358 * testsuite/threads/signals.c:
17359 * testsuite/threads/staticrec.c:
17360 * testsuite/threads/thread.c:
17361 * testsuite/threads/threadb.c:
17362 * testsuite/threads/threadc.c:
17363 * testsuite/threads/threadd.c:
17364 * testsuite/threads/threade.c:
17365 * testsuite/threads/threadf.c:
17366 * testsuite/threads/threadg.c:
17367 * testsuite/threads/threadh.c:
17368 * testsuite/threads/threadi.c:
17369 move all of these under tests
17371 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17374 * tests/Makefile.am:
17377 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17379 * docs/gst/gstreamer-sections.txt:
17380 * tests/sched/.cvsignore:
17381 * tests/sched/Makefile.am:
17382 * tests/sched/cases/(fs-fs).xml:
17383 * tests/sched/cases/(fs-i-fs).xml:
17384 * tests/sched/cases/(fs-i-i-fs).xml:
17385 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17386 * tests/sched/dynamic-pipeline.c:
17387 * tests/sched/interrupt1.c:
17388 * tests/sched/interrupt2.c:
17389 * tests/sched/interrupt3.c:
17390 * tests/sched/runtestcases:
17391 * tests/sched/runxml.c:
17392 * tests/sched/sched-stress.c:
17393 * tests/sched/sort.c:
17394 * tests/sched/testcases:
17395 * tests/sched/testcases1.tc:
17396 * tests/seeking/.cvsignore:
17397 * tests/seeking/Makefile.am:
17398 * tests/seeking/seeking1.c:
17399 * tests/threadstate/.cvsignore:
17400 * tests/threadstate/Makefile.am:
17401 * tests/threadstate/test1.c:
17402 * tests/threadstate/test2.c:
17403 * tests/threadstate/threadstate1.c:
17404 * tests/threadstate/threadstate2.c:
17405 * tests/threadstate/threadstate3.c:
17406 * tests/threadstate/threadstate4.c:
17407 * tests/threadstate/threadstate5.c:
17408 remove obsolete tests
17410 * tests/bench-complexity.scm:
17411 * tests/bench-mass_elements.scm:
17412 * tests/complexity.c:
17413 * tests/complexity.gnuplot:
17414 * tests/instantiate/.cvsignore:
17415 * tests/instantiate/Makefile.am:
17416 * tests/instantiate/caps.c:
17417 * tests/mass_elements.c:
17418 * tests/network-clock-utils.scm:
17419 * tests/network-clock.scm:
17421 First pass at cleaning up tests/ dir before moving the rest
17422 Combined with CVS surgery
17424 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17427 queue has moved, update
17429 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17431 * docs/gst/gstreamer-sections.txt:
17432 remove double entries from the docs
17433 * gst/gst_private.h:
17434 * gst/gstinfo.c: (_gst_debug_init):
17435 remove the THREAD debug category
17439 * docs/gst/gstreamer.types:
17440 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17441 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17442 completely move queue and fix up debugging categories
17444 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17446 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17447 make initialization portable, using LL is not
17449 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17451 * win32/common/gstconfig.h:
17454 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17456 * win32/common/libgstreamer.def:
17457 rename symbols; sort base section
17459 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17461 * gst/gstclock.c: (do_linear_regression):
17462 remove crack non-portable handrolled DEBUG macro
17464 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17466 * docs/random/release:
17468 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17469 (gst_object_flags_get_type), (register_gst_bin_flags),
17470 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17471 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17472 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17473 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17474 (gst_caps_flags_get_type), (register_gst_clock_return),
17475 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17476 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17477 (gst_clock_flags_get_type), (register_gst_state),
17478 (gst_state_get_type), (register_gst_state_change_return),
17479 (gst_state_change_return_get_type), (register_gst_state_change),
17480 (gst_state_change_get_type), (register_gst_element_flags),
17481 (gst_element_flags_get_type), (register_gst_core_error),
17482 (gst_core_error_get_type), (register_gst_library_error),
17483 (gst_library_error_get_type), (register_gst_resource_error),
17484 (gst_resource_error_get_type), (register_gst_stream_error),
17485 (gst_stream_error_get_type), (register_gst_event_type_flags),
17486 (gst_event_type_flags_get_type), (register_gst_event_type),
17487 (gst_event_type_get_type), (register_gst_seek_type),
17488 (gst_seek_type_get_type), (register_gst_seek_flags),
17489 (gst_seek_flags_get_type), (register_gst_format),
17490 (gst_format_get_type), (register_gst_index_certainty),
17491 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17492 (gst_index_entry_type_get_type),
17493 (register_gst_index_lookup_method),
17494 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17495 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17496 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17497 (gst_index_flags_get_type), (register_gst_debug_level),
17498 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17499 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17500 (gst_iterator_result_get_type), (register_gst_iterator_item),
17501 (gst_iterator_item_get_type), (register_gst_message_type),
17502 (gst_message_type_get_type), (register_gst_mini_object_flags),
17503 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17504 (gst_pad_link_return_get_type), (register_gst_flow_return),
17505 (gst_flow_return_get_type), (register_gst_activate_mode),
17506 (gst_activate_mode_get_type), (register_gst_pad_direction),
17507 (gst_pad_direction_get_type), (register_gst_pad_flags),
17508 (gst_pad_flags_get_type), (register_gst_pad_presence),
17509 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17510 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17511 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17512 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17513 (gst_plugin_flags_get_type), (register_gst_rank),
17514 (gst_rank_get_type), (register_gst_query_type),
17515 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17516 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17517 (gst_tag_flag_get_type), (register_gst_task_state),
17518 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17519 (gst_alloc_trace_flags_get_type),
17520 (register_gst_type_find_probability),
17521 (gst_type_find_probability_get_type), (register_gst_uri_type),
17522 (gst_uri_type_get_type), (register_gst_parse_error),
17523 (gst_parse_error_get_type):
17524 * win32/common/gstenumtypes.h:
17525 * win32/common/gstversion.h:
17526 update visual studio generated files
17528 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17530 * win32/vs6/libgstbase.dsp:
17531 * win32/vs6/libgstelements.dsp:
17532 update project files for new locations
17534 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17539 reinstate and update
17544 * docs/random/LICENSE:
17547 2005-11-30 Edward Hervey <edward@fluendo.com>
17549 * gst/gsttypefind.c: (gst_type_find_register):
17550 * gst/gsttypefind.h:
17551 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17552 (gst_type_find_factory_dispose):
17553 * gst/gsttypefindfactory.h:
17554 Fix memory leak in GstTypeFindFactory.
17556 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17559 * plugins/elements/Makefile.am:
17560 * plugins/elements/gstelements.c:
17561 * plugins/elements/gstqueue.c:
17562 move queue from core to the elements plugin
17564 2005-11-29 Andy Wingo <wingo@pobox.com>
17566 * libs/gst/base/gstbasetransform.h:
17567 * libs/gst/base/gstbasesrc.h:
17568 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17570 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17571 of pointers by which to pad very extensible base classes (like the
17572 ones in libs/gst/base).
17574 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17576 * docs/gst/gstreamer-docs.sgml:
17577 * docs/gst/gstreamer-sections.txt:
17578 * docs/libs/gstreamer-libs-docs.sgml:
17579 * docs/libs/gstreamer-libs-sections.txt:
17580 moving documentation from core to lib
17582 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17584 * check/Makefile.am:
17586 * docs/gst/Makefile.am:
17588 * gst/base/.cvsignore:
17589 * gst/base/Makefile.am:
17591 * gst/base/gstadapter.c:
17592 * gst/base/gstadapter.h:
17593 * gst/base/gstbasesink.c:
17594 * gst/base/gstbasesink.h:
17595 * gst/base/gstbasesrc.c:
17596 * gst/base/gstbasesrc.h:
17597 * gst/base/gstbasetransform.c:
17598 * gst/base/gstbasetransform.h:
17599 * gst/base/gstcollectpads.c:
17600 * gst/base/gstcollectpads.h:
17601 * gst/base/gstpushsrc.c:
17602 * gst/base/gstpushsrc.h:
17603 * gst/base/gsttypefindhelper.c:
17604 * gst/base/gsttypefindhelper.h:
17605 * gst/check/Makefile.am:
17606 * gst/check/gstcheck.c:
17607 * gst/check/gstcheck.h:
17608 * gst/net/Makefile.am:
17609 * gst/net/gstnet.h:
17610 * gst/net/gstnetclientclock.c:
17611 * gst/net/gstnetclientclock.h:
17612 * gst/net/gstnettimepacket.c:
17613 * gst/net/gstnettimepacket.h:
17614 * gst/net/gstnettimeprovider.c:
17615 * gst/net/gstnettimeprovider.h:
17616 * libs/gst/Makefile.am:
17617 * libs/gst/base/Makefile.am:
17618 * libs/gst/base/gstbasetransform.c:
17619 * libs/gst/check/Makefile.am:
17620 * plugins/elements/Makefile.am:
17622 CVS surgery + support to move base, check, and net out of gst
17625 2005-11-29 Andy Wingo <wingo@pobox.com>
17627 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17629 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17632 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17634 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17636 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17638 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17639 padding; reduces object size by about 30%. We don't expect
17640 anything else to go into gstobject.
17642 * gst/gstminiobject.h (struct _GstMiniObject)
17643 (struct _GstMiniObjectClass): Only one pointer of padding; the
17644 payload is only a pointer and two ints anyway. For the class there
17645 are only two methods as well.
17647 * gst/gstelement.h (struct _GstElementClass): Removed
17648 the state_changed signal callback, it is not used.
17650 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17652 * docs/gst/gstreamer.types:
17653 fix includes, though they are a little dinky
17655 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17657 * check/Makefile.am:
17658 look in the right place for elements, a lot more chance of
17661 remove indexers and elements subdirs
17662 * plugins/Makefile.am:
17663 make indexers conditional
17665 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17669 * plugins/elements/Makefile.am:
17670 * plugins/elements/gstcapsfilter.c:
17671 * plugins/elements/gstfilesink.c:
17672 * plugins/elements/gstfilesrc.c:
17673 * plugins/elements/gstidentity.c:
17674 * plugins/indexers/Makefile.am:
17675 do CVS surgery and related build fixery to move elements
17676 and indexers in a new gstreamer/plugins directory, out of the
17679 2005-11-29 Andy Wingo <wingo@pobox.com>
17681 * check/Makefile.am:
17682 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17683 * pkgconfig/gstreamer-net.pc.in:
17684 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17687 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17689 * tools/Makefile.am:
17690 * tools/gst-complete.1.in:
17691 * tools/gst-complete.c:
17692 * tools/gst-compprep.1.in:
17693 * tools/gst-compprep.c:
17694 removing -compprep and -complete
17696 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17698 * gst/gstevent.c: (gst_event_new_new_segment),
17699 (gst_event_parse_new_segment):
17701 fix #320529 - clean up new_segment API and structure.
17702 Let's hope everyone was using the methods, and not the structure.
17704 2005-11-29 Edward Hervey <edward@fluendo.com>
17706 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17707 (gst_base_sink_event), (gst_base_sink_do_sync),
17708 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17709 Properly handle non GST_FORMAT_TIME segment
17710 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17711 Properly handle non GST_FORMAT_TIME segment
17712 * gst/gstsegment.c:
17713 This function is valid if the accumulator is 0 and the format
17714 is different from the requested format.
17716 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17718 * docs/gst/gstreamer-sections.txt:
17719 Add gst_query_new_seeking and gst_query_parse_seeking to the
17722 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17724 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17725 Treat a pad alloc with new caps the same as if we were not
17726 negotiated, in order to allow a changing upstream output
17727 to produce a new format of data.
17729 2005-11-29 Edward Hervey <edward@fluendo.com>
17731 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17732 (gst_base_transform_event), (gst_base_transform_eventfunc):
17733 The event virtual method is now properly implemented, with a default
17735 Sub classes should call the parent_class event method. They should
17736 return FALSE if they had a problem handling the given event, or don't
17737 want GstBaseTransform to send that even downstream
17738 * gst/elements/gstidentity.c: (gst_identity_class_init),
17739 (gst_identity_init), (gst_identity_event),
17740 (gst_identity_transform_ip), (gst_identity_set_property),
17741 (gst_identity_get_property):
17742 * gst/elements/gstidentity.h:
17743 Added the single-segment boolean property.
17744 If set to TRUE, it will output a single segment of data, starting from
17745 0, will eat up all incoming newsegment, and modify the timestamp of the
17746 buffers accordingly
17748 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17750 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17751 Don't ref NULL target pad (#322751). Improve docs.
17753 2005-11-29 Michael Smith <msmith@fluendo.com>
17755 * gst/gstregistryxml.c: (load_plugin):
17756 Don't crash if we failed to load a feature from a plugin.
17758 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17760 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17762 use more check API and less GLib API
17764 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17767 don't run checks if we don't have check
17768 * common/check.mak:
17769 remove the registry when running make torture
17770 * docs/gst/gstreamer-sections.txt:
17771 remove second multiply
17772 * gst/gstqueue.c: (gst_queue_loop):
17773 fix a compile warning when disabling debug
17775 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17778 Hey! Let's print the pad name if the pointer != NULL instead
17779 of when it == NULL :-)
17781 2005-11-28 Wim Taymans <wim@fluendo.com>
17783 * check/gst/gstutils.c: (GST_START_TEST):
17784 Updated check, add some scaling accuracy checking code.
17786 * gst/gstutils.c: (gst_util_div128_64),
17787 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17788 (gst_util_uint64_scale_int):
17789 Fix 6 times faster division code. Optimize for common
17790 1/1 and less common X/1 cases.
17792 2005-11-28 Wim Taymans <wim@fluendo.com>
17794 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17797 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17798 (do_linear_regression), (gst_clock_add_observation):
17800 Release lock when the clock cannot be slaved.
17801 Catch the case where the regression returned an invalid denominator.
17803 * gst/gstutils.c: (gst_util_div128_64_iterate),
17804 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17805 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17806 Add protentially more performant non-iterative 128/64 divide function
17807 that unfortunatly does not work yet.
17808 Shortcut the trivial 0/X = 0 case.
17809 Remove the warnings on overflow.
17811 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17813 * gst/gstplugin.c: (gst_plugin_register_func):
17814 everything causing a plugin not to load should be at least a WARNING
17816 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17818 * docs/random/ensonic/dparams.txt:
17819 some TODOs for the next dev cycle
17820 * libs/gst/controller/gstcontroller.c:
17821 (gst_controlled_property_set_interpolation_mode),
17822 (gst_controlled_property_new):
17823 * libs/gst/controller/gstcontroller.h:
17824 use base type to assign acccessor functions
17826 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17828 * check/Makefile.am:
17829 Oops, that should have been top_srcdir
17831 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17833 * check/Makefile.am:
17834 * check/elements/fdsrc.c: (GST_START_TEST):
17835 Use a cmdline define to specify the location of a file to use for
17836 testing, to avoid breaking distcheck.
17838 2005-11-28 Andy Wingo <wingo@pobox.com>
17840 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17842 2005-11-28 Edward Hervey <edward@fluendo.com>
17844 * tools/gst-launch.c: (main):
17845 Clarify the output strings, makes it easier to translate.
17848 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17851 don't try and build net if we don't even have <sys/socket.h>
17853 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17855 * check/Makefile.am:
17856 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17857 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17858 Add tests for fdsrc seekability
17860 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17861 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17862 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17863 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17864 * gst/elements/gstfdsrc.h:
17865 fdsrc should not be a 'live' source.
17866 Implement seeking on seekable fd's.
17868 * gst/gstquery.c: (gst_query_new_seeking),
17869 (gst_query_parse_seeking):
17871 Implement SEEKING query functions:
17872 *_new_seeking and *_parse_seeking
17874 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17876 * gst/gstelement.c: (gst_element_dispose):
17879 * gst/gstiterator.c:
17880 * gst/gststructure.c:
17883 * libs/gst/controller/gstcontroller.c:
17884 (gst_controlled_property_set_interpolation_mode):
17885 * libs/gst/controller/gstcontroller.h:
17886 * libs/gst/controller/gstinterpolation.c:
17887 (interpolate_none_get_enum_value_array):
17888 support controlling enums
17890 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17893 Improve documentation for gst_value_union().
17896 Change return value for union, intersect and subtract functions
17897 from gint to gboolean.
17899 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17901 * gst/gstvalue.c: (gst_value_serialize_any_list),
17902 (gst_value_transform_any_list_string),
17903 (gst_value_deserialize_list), (gst_value_deserialize_array),
17904 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17905 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17906 (gst_value_set_fraction_range_full),
17907 (gst_value_deserialize_fraction_range),
17908 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17909 (gst_value_deserialize_boolean),
17910 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17911 (gst_value_serialize_float), (gst_value_deserialize_float),
17912 (gst_string_wrap), (gst_value_deserialize_string),
17913 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17914 (gst_value_union_int_range_int_range),
17915 (gst_value_intersect_int_range_int_range),
17916 (gst_value_intersect_double_range_double_range),
17917 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17918 (gst_value_subtract_int_range_int_range),
17919 (gst_value_subtract_double_double_range),
17920 (gst_value_subtract_double_range_double_range),
17921 (gst_value_deserialize_fraction):
17923 Use gint, gdouble and gchar in our API instead of int, double and
17924 char (and make usage in gstvalue.c more consistent).
17926 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17928 * check/Makefile.am:
17929 * libs/gst/controller/Makefile.am:
17930 * libs/gst/dataprotocol/Makefile.am:
17931 fix up Makefile.am and remove GST_ENABLE_NEW
17933 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17937 * gst/base/Makefile.am:
17938 * gst/check/Makefile.am:
17939 * gst/elements/Makefile.am:
17940 * gst/net/Makefile.am:
17941 update LDFLAGS use some more
17943 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17945 * common/m4/gst-doc.m4:
17948 2005-11-26 Edward Hervey <edward@fluendo.com>
17950 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17951 This shouldn't issue a g_warning since it returns NULL if it
17952 couldn't find the plugin, and all functions using this behave
17953 properly on a NULL return. Switching to a GST_WARNING.
17955 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17957 * gst/gstbin.c: (gst_bin_handle_message_func):
17958 Don't leak clock messages.
17960 2005-11-25 Wim Taymans <wim@fluendo.com>
17962 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17963 (gst_util_uint64_scale_int):
17964 Optimisations, remove unneeded vars.
17966 2005-11-25 Wim Taymans <wim@fluendo.com>
17968 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17969 Added more checks for the high precision uint64 cases.
17971 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17972 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17973 Implement high precision (guint64 * guint64) / guint64.
17975 2005-11-24 Wim Taymans <wim@fluendo.com>
17977 * gst/base/gstbasesrc.c: (gst_base_src_query):
17978 Fix wrong percentage query.
17980 * gst/gstutils.c: (gst_util_uint64_scale),
17981 (gst_util_uint64_scale_int):
17982 Add some more common cases that can be handled
17983 efficiently to _scale.
17985 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17987 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17988 (gst_mini_object_suite):
17989 don't use check calls from threads; check probably isn't
17990 threadsafe and using a lock to make it threadsafe would
17991 defeat the purpose of this check
17992 * gst/check/gstcheck.c:
17993 * gst/check/gstcheck.h:
17994 use GST_DEBUG some more
17996 2005-11-24 Wim Taymans <wim@fluendo.com>
17998 * gst/gstutils.c: (gst_util_uint64_scale),
17999 (gst_util_uint64_scale_int):
18000 Chain trivial case to _scale_int.
18002 2005-11-24 Wim Taymans <wim@fluendo.com>
18004 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18005 Added test for scaling.
18010 * gst/gstutils.c: (gst_util_uint64_scale_int):
18011 Implemented high precision scaling code.
18013 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18016 do not crash on pad==NULL
18018 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18020 Patch by: Stefan Kost
18022 * common/gtk-doc.mak:
18023 * docs/gst/Makefile.am:
18024 * docs/libs/Makefile.am:
18025 Fix distcheck issues for the libraries docs build
18028 2005-11-24 Michael Smith <msmith@fluendo.com>
18030 * docs/manual/basics-helloworld.xml:
18031 Fix bug #315027: memory leak in example code in docs.
18033 2005-11-24 Michael Smith <msmith@fluendo.com>
18035 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18036 Unlock the PREROLL_LOCK in a failure case.
18038 2005-11-24 Wim Taymans <wim@fluendo.com>
18040 * docs/gst/gstreamer-sections.txt:
18041 * gst/base/gstadapter.h:
18042 * gst/base/gstbasesink.h:
18043 * gst/base/gstbasesrc.h:
18044 * gst/base/gstbasetransform.h:
18045 * gst/base/gstpushsrc.h:
18046 * gst/elements/gstfakesink.h:
18047 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18048 * gst/elements/gstfakesrc.h:
18049 * gst/elements/gstfilesink.h:
18050 * gst/elements/gstfilesrc.h:
18053 * gst/gstbuffer.c: (_gst_buffer_copy):
18056 * gst/gstchildproxy.c:
18058 * gst/gstelement.c:
18059 * gst/gstelementfactory.c:
18060 * gst/gstelementfactory.h:
18062 * gst/gstghostpad.h:
18064 * gst/gstinterface.h:
18065 * gst/gstminiobject.c:
18066 * gst/gstminiobject.h:
18069 * gst/gstpadtemplate.h:
18070 * gst/gstpipeline.h:
18071 * gst/gstpluginfeature.h:
18074 * gst/gsttaglist.c:
18075 * gst/gsttaglist.h:
18076 * gst/gsttagsetter.c:
18077 * gst/gsttagsetter.h:
18080 * gst/gsttypefind.h:
18083 * gst/net/gstnetclientclock.c:
18084 * gst/net/gstnetclientclock.h:
18085 * gst/net/gstnettimepacket.c:
18086 * gst/net/gstnettimeprovider.c:
18087 * gst/net/gstnettimeprovider.h:
18090 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18092 * configure.ac: back to HEAD
18094 === release 0.9.6 ===
18096 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18099 releasing 0.9.6, "Always On Time"
18101 2005-11-23 Wim Taymans <wim@fluendo.com>
18103 * docs/gst/gstreamer-sections.txt:
18104 * gst/glib-compat.c:
18105 * gst/gsttagsetter.c:
18107 * gst/net/gstnetclientclock.c:
18108 * gst/net/gstnettimepacket.h:
18111 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18113 * docs/faq/using.xml:
18114 * docs/libs/tmpl/gstcontrol.sgml:
18115 * docs/manual/advanced-dparams.xml:
18116 * docs/manual/appendix-checklist.xml:
18117 * docs/manual/basics-elements.xml:
18118 * docs/pwg/other-source.xml:
18119 * docs/random/moving-plugins:
18121 * tools/gst-launch.1.in:
18122 remove mentions of sinesrc
18124 2005-11-23 Michael Smith <msmith@fluendo.com>
18126 * docs/gst/gstreamer-sections.txt:
18127 Update for new API and API changes.
18129 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18131 Documentation typo fix.
18132 * gst/net/gstnettimepacket.c:
18133 Documentation fixes for arguments.
18135 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18137 * gst/gststructure.c: (gst_structure_get_fraction),
18138 (gst_structure_parse_value),
18139 (gst_structure_fixate_field_nearest_fraction):
18140 * gst/gststructure.h:
18141 * gst/gstutils.c: (gst_util_uint64_scale_int):
18143 * scripts/update-funcnames:
18145 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18146 Make gst_structure_fixate_field_nearest_fraction take a numerator
18147 and denominator argument instead of a GValue
18148 add gst_structure_get_fraction helper function.
18150 2005-11-23 Wim Taymans <wim@fluendo.com>
18152 * docs/design/part-TODO.txt:
18155 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18156 * gst/net/gstnetclientclock.h:
18157 Use parent fields for timeout and window_size.
18159 2005-11-23 Andy Wingo <wingo@pobox.com>
18161 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18162 rate_num/rate_denom change.
18164 * gst/net/gstnetclientclock.c
18165 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18166 OBJECT_LOCK. Don't call add_observation with the lock.
18168 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18170 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18172 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18173 deal with rate as a fraction whose numerator and denominator are
18174 GstClockTime values.
18175 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18176 master; the other fields are protected by the SLAVE_LOCK.
18177 (do_linear_regression): Note that this must be called with the
18179 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18180 OBJECT_LOCK. Call set_calibration instead of touching the
18181 variables directly.
18182 (gst_clock_set_property, gst_clock_get_property): Protect
18183 master/slave parameters with the SLAVE_LOCK.
18185 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18186 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18187 note that all of the instance variables that add_observation and
18188 the set_master functions use are protected by that lock and not
18190 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18192 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18193 the caller to take the object lock.
18195 2005-11-23 Wim Taymans <wim@fluendo.com>
18197 * gst/gsterror.c: (_gst_core_errors_init):
18199 Add error for clock stuff.
18201 * gst/gstpipeline.c: (gst_pipeline_change_state),
18202 (gst_pipeline_set_clock):
18203 Post clock error when clock cannot be used in a pipeline.
18205 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18207 * docs/gst/gstreamer-sections.txt:
18208 make two symbols from gstinfo private for the docs
18209 * gst/base/gstcollectpads.h:
18211 fix doc typos, update docs
18213 2005-11-22 Wim Taymans <wim@fluendo.com>
18215 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18216 (gst_base_sink_wait), (gst_base_sink_do_sync),
18217 (gst_base_sink_handle_event):
18218 * gst/base/gstbasesink.h:
18219 No need to store the clock, the parent element class already
18222 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18223 Updates for clock_set returning a gboolean
18225 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18226 (gst_clock_id_wait_async), (gst_clock_class_init),
18227 (gst_clock_init), (gst_clock_finalize),
18228 (gst_clock_get_internal_time), (gst_clock_get_time),
18229 (gst_clock_slave_callback), (gst_clock_set_master),
18230 (gst_clock_get_master), (do_linear_regression),
18231 (gst_clock_add_observation), (gst_clock_set_property),
18232 (gst_clock_get_property):
18234 Implement master/slave. When setting a clock as a slave, a
18235 periodic timeout is scheduled to sample master and slave times.
18236 Then the slave clock is recalibrated to match offset and rate
18237 of the master clock.
18238 Update logging a bit.
18239 Add flag so that a clock can state that is cannot be slaved to
18242 * gst/gstelement.c: (gst_element_set_clock):
18243 * gst/gstelement.h:
18244 The set clock returns a gboolean for when an element cannot
18245 deal with the selected clock in the pipeline.
18247 * gst/gstpipeline.c: (gst_pipeline_change_state),
18248 (gst_pipeline_set_clock):
18249 * gst/gstpipeline.h:
18250 Handle the case where the selected clock cannot be set on
18253 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18254 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18255 (gst_net_client_clock_set_property),
18256 (gst_net_client_clock_get_property),
18257 (gst_net_client_clock_observe_times):
18258 * gst/net/gstnetclientclock.h:
18259 Use regression code in GstClock parent, remove duplicated
18262 2005-11-22 Michael Smith <msmith@fluendo.com>
18264 * gst/gstutils.c: (gst_util_clock_time_scale):
18266 * docs/gst/gstreamer-sections.txt:
18267 Rename method to have extra underscore.
18269 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18271 * gst/elements/Makefile.am:
18272 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18273 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18274 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18275 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18276 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18277 * gst/elements/gstfakesrc.h:
18278 * gst/gstqueue.c: (queue_leaky_get_type):
18279 correctly fix GEnumValues so that nick is the short lowercase
18281 * tools/gst-inspect.c: (print_element_properties_info):
18282 also show the nick, since it's useful to use from parse_launch
18286 2005-11-22 Michael Smith <msmith@fluendo.com>
18288 * gst/gstutils.c: (gst_util_clocktime_scale):
18290 * docs/gst/gstreamer-sections.txt:
18291 Add util method for scaling a clocktime by a fraction. Useful
18292 implementation is left as an exercise for the reader.
18294 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18296 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18297 If needed, allocate storage in the destination value during
18300 2005-11-22 Edward Hervey <edward@fluendo.com>
18302 * docs/gst/gstreamer-sections.txt:
18305 * gst/gsturitype.c:
18306 * gst/gsturitype.h:
18307 * gst/gstutils.c: (gst_util_set_object_arg):
18308 * tools/gst-compprep.c: (main):
18309 * tools/gst-inspect.c: (print_element_properties_info):
18310 Removed GstURI, closes bug #321061
18312 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18314 * check/gst/gststructure.c: (GST_START_TEST):
18315 * gst/gststructure.c: (gst_structure_parse_value):
18316 Oops, broke automatic string type parsing.
18317 Add a test to catch it in future.
18319 2005-11-22 Andy Wingo <wingo@pobox.com>
18321 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18322 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18323 Actually rename the function implementations. Grr.
18325 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18327 * check/gst/capslist.h:
18329 * check/gst/gststructure.c: (GST_START_TEST),
18330 (gst_structure_suite):
18331 Test automatic value type detection in gst_structure_from_string.
18332 * gst/gststructure.c: (gst_structure_parse_value):
18333 Add fraction as a type we try and guess automatically in
18334 caps/structure strings.
18336 2005-11-22 Andy Wingo <wingo@pobox.com>
18338 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18340 * gst/gsttagsetter.h:
18341 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18342 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18343 (gst_tag_setter_add_tag_valist)
18344 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18345 _add_values, _add_valist, and _add_valist_values. Since this is an
18346 interface the function suffixes should be more explicit so
18347 language binding don't end up with element.add_valist ->
18348 gst_tag_setter_add_valist, for example. Fixes #322069.
18350 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18352 * check/gst/gstcaps.c: (GST_START_TEST):
18353 Extend caps string tests to check that a caps to string
18354 conversion is reversible and produces the same caps.
18356 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18357 Output "fraction" as the generic type fraction range, so caps
18358 serialisation and deserialisation works.
18359 * check/gst/capslist.h:
18360 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18361 Support 'MIN' and 'MAX' for deserialising fractions.
18363 2005-11-22 Andy Wingo <wingo@pobox.com>
18365 * gst/gstevent.h (gst_event_new_new_segment)
18366 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18367 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18368 Renamed from *_newsegment, *_buffersize, *_notarget.
18370 * scripts/update-funcnames: New script, performs the changes
18373 2005-11-22 Wim Taymans <wim@fluendo.com>
18375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18376 Make sure the GstFlowReturn is returned.
18378 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18379 (gst_bus_add_signal_watch):
18381 add gst_bus_add_signal_watch_full.
18383 * gst/gstplugin.c: (gst_plugin_load_file):
18384 Small style cleanup.
18386 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18388 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18389 Block the fakesrc srcpad when we send an event, to avoid
18390 contention on the stream_lock causing random test failures.
18392 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18394 * check/gst/gstvalue.c: (GST_START_TEST):
18395 * gst/gstvalue.c: (gst_value_fraction_subtract):
18398 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18401 include "gstchildproxy.h"
18402 * gst/gstchildproxy.h:
18403 * libs/gst/controller/gstcontroller.h:
18404 use G_GNUC_NULL_TERMINATED
18406 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18408 * check/gst/capslist.h:
18409 * check/gst/gstcaps.c: (GST_START_TEST):
18410 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18411 * gst/gststructure.c: (gst_structure_parse_range),
18412 (gst_structure_fixate_field_nearest_fraction):
18413 * gst/gststructure.h:
18414 * gst/gstvalue.c: (gst_value_init_fraction_range),
18415 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18416 (gst_value_collect_fraction_range),
18417 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18418 (gst_value_set_fraction_range_full),
18419 (gst_value_get_fraction_range_min),
18420 (gst_value_get_fraction_range_max),
18421 (gst_value_serialize_fraction_range),
18422 (gst_value_transform_fraction_range_string),
18423 (gst_value_compare_fraction_range),
18424 (gst_value_deserialize_fraction_range),
18425 (gst_value_intersect_fraction_fraction_range),
18426 (gst_value_intersect_fraction_range_fraction_range),
18427 (gst_value_subtract_fraction_fraction_range),
18428 (gst_value_subtract_fraction_range_fraction),
18429 (gst_value_subtract_fraction_range_fraction_range),
18430 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18431 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18432 (gst_value_transform_string_fraction), (_gst_value_initialize):
18434 Implement fraction ranges and extend GstFraction to support
18435 arithmetic subtraction, as well as deserialization from integer
18436 strings such as "100"
18437 Add a testsuite as for int and double range set operations
18439 2005-11-21 Andy Wingo <wingo@pobox.com>
18441 * gst/gsttaglist.h:
18443 * gst/gststructure.h: Add glib-compat.h.
18445 2005-11-21 Wim Taymans <wim@fluendo.com>
18447 * gst/gstbin.c: (gst_bin_change_state_func):
18450 2005-11-21 Wim Taymans <wim@fluendo.com>
18452 * gst/gstsegment.h:
18453 And add a nice define too.
18455 2005-11-21 Wim Taymans <wim@fluendo.com>
18457 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18458 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18459 (gst_segment_set_duration), (gst_segment_set_last_stop),
18460 (gst_segment_set_seek), (gst_segment_set_newsegment),
18461 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18462 (gst_segment_clip):
18463 * gst/gstsegment.h:
18464 Make binding friendly.
18466 2005-11-21 Andy Wingo <wingo@pobox.com>
18468 * gst/gsttagsetter.h:
18469 * gst/gsttaglist.h:
18470 * gst/gststructure.h:
18472 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18475 * gst/gsterror.c (_gst_core_errors_init):
18476 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18479 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18480 (noinst_HEADERS): noinst the -private.
18482 2005-11-21 Michael Smith <msmith@fluendo.com>
18485 * gst/gstregistry.h:
18486 Remove unimplemented declarations for which we can see no sensible
18489 2005-11-21 Andy Wingo <wingo@pobox.com>
18491 * gst/gst.h: Include glib-compat.h.
18493 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18495 * gst/glib-compat.c: Include the public and the private header.
18497 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18501 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18503 * check/gst/gstevent.c (create_custom_events): Check that
18504 FLUSH_STOP is serialized.
18506 * check/elements/identity.c (event_func):
18507 * check/elements/fakesrc.c (event_func): No stream lock, the core
18510 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18511 stream lock taking, yay.
18513 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18514 ensure that core takes the stream lock.
18516 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18519 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18520 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18521 it already. For the flush start we do take it though so we get the
18522 right preroll state change messages.
18524 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18525 the stream lock here, the core does it for us.
18527 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18528 GST_STREAM_GET_LOCK.
18529 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18530 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18531 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18532 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18533 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18534 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18536 * gst/gstpad.c: Update for stream lock name change.
18538 * gst/base/gstbasesink.c: Update for preroll lock name change.
18540 2005-11-21 Wim Taymans <wim@fluendo.com>
18542 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18543 (gst_clock_get_master):
18545 * gst/gstsystemclock.c: (gst_system_clock_init):
18546 Convert Clock flags to object flags.
18547 Added methods to manage master/slave clocks.
18549 2005-11-21 Wim Taymans <wim@fluendo.com>
18551 * check/gst/gstsegment.c: (GST_START_TEST):
18552 * docs/design/part-TODO.txt:
18553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18554 (gst_base_sink_event), (gst_base_sink_do_sync),
18555 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18556 (gst_base_sink_query), (gst_base_sink_change_state):
18557 * gst/base/gstbasesink.h:
18558 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18559 (gst_base_src_default_newsegment),
18560 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18561 (gst_base_src_get_range), (gst_base_src_loop),
18562 (gst_base_src_change_state):
18563 * gst/base/gstbasesrc.h:
18564 * gst/base/gstbasetransform.c:
18565 (gst_base_transform_prepare_output_buf),
18566 (gst_base_transform_event), (gst_base_transform_change_state):
18567 * gst/base/gstbasetransform.h:
18568 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18569 (gst_collect_pads_event):
18570 * gst/base/gstcollectpads.h:
18571 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18572 (gst_fake_src_create):
18573 * gst/elements/gstfakesrc.h:
18574 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18575 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18576 (gst_segment_set_last_stop), (gst_segment_set_seek),
18577 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18578 (gst_segment_to_running_time), (gst_segment_clip):
18579 * gst/gstsegment.h:
18580 More segment updates, replace code in plugins with segment
18583 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18585 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18586 Don't ignore sscanf results
18588 2005-11-21 Andy Wingo <wingo@pobox.com>
18590 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18593 * *.c: Ran scripts/update-macros. Oh yes.
18595 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18596 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18599 * scripts/update-macros: New script. Run it on your files to
18600 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18603 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18605 * docs/gst/Makefile.am:
18606 * docs/gst/gstreamer-docs.sgml:
18607 * docs/gst/gstreamer-sections.txt:
18608 * docs/gst/gstreamer.types:
18610 more docs fixes, add new api to the docs
18612 2005-11-21 Andy Wingo <wingo@pobox.com>
18614 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18615 state_broadcast call.
18617 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18619 2005-11-21 Julien MOUTTE <julien@moutte.net>
18621 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18622 function calls for arrays.
18624 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18626 * docs/random/ensonic/media-device-daemon.txt:
18627 wild idea, can this be done?
18628 * docs/gst/gstreamer-sections.txt:
18633 * gst/gstpluginfeature.c:
18637 doc fixes and additions
18639 2005-11-21 Andy Wingo <wingo@pobox.com>
18641 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18642 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18643 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18644 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18645 private to the basesrc implementation.
18647 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18648 behalf of event function if necessary. It should no longer be
18649 necessary to take the stream lock in pad's event functions. Fixes
18652 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18653 * docs/gst/gstreamer-sections.txt:
18654 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18655 (gst_structure_fixate_field_nearest_double),
18656 (gst_structure_fixate_field_boolean):
18657 * gst/gststructure.h:
18658 * win32/common/libgstreamer.def:
18659 * win32/gstreamer.def:
18661 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18664 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18666 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18667 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18668 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18669 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18670 (gst_fdsrc_uri_handler_init):
18671 * gst/elements/gstfdsrc.h:
18672 Port fd:// URI handler from 0.8 to fdsrc
18674 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18676 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18677 (gst_value_serialize_fourcc):
18679 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18680 consistent with our other format defines (#320324).
18682 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18684 * gst/gstvalue.c: (gst_value_is_fixed):
18685 Revert previous commit. Value lists are by definition
18686 not fixed, as they are a list of possible values.
18688 2005-11-21 Andy Wingo <wingo@pobox.com>
18690 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18691 during the stable series if we need it. Fixes #319178.
18693 * gst/gstevent.c (gst_event_new_filler): Removed.
18695 * check/gst/gstevent.c: Update comment about filler events.
18697 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18699 * gst/gstvalue.c: (gst_value_is_fixed):
18700 Should handle both value arrays and value lists.
18702 2005-11-21 Andy Wingo <wingo@pobox.com>
18704 patch by: Alessandro Dessina <alessandro nnva org>
18706 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18707 functions to access arrays. Fixes #321962.
18709 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18711 * docs/gst/gstreamer.types:
18712 gst_collectpads_get_type => gst_collect_pads_get_type.
18714 * gst/base/gstbasetransform.c:
18715 Remove unused SIGNAL_HANDOFF enum.
18717 2005-11-21 Andy Wingo <wingo@pobox.com>
18719 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18720 the event type (upstream, downstream, serialized). Renamed
18721 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18722 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18723 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18725 * gst/gstevent.c: Update for new CUSTOM event names.
18727 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18730 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18733 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18735 * docs/gst/gstreamer-sections.txt:
18736 * win32/common/libgstbase.def:
18737 * win32/libgstbase.def:
18738 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18739 (gst_collect_pads_class_init), (gst_collect_pads_init),
18740 (gst_collect_pads_finalize), (gst_collect_pads_new),
18741 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18742 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18743 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18744 (gst_collect_pads_start), (gst_collect_pads_stop),
18745 (gst_collect_pads_peek), (gst_collect_pads_pop),
18746 (gst_collect_pads_available), (gst_collect_pads_read),
18747 (gst_collect_pads_flush), (gst_collect_pads_event),
18748 (gst_collect_pads_chain):
18749 * gst/base/gstcollectpads.h:
18750 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18751 unimplemented functions as unimplemented. Add padding to
18752 GstCollectData. (#320766, #320423)
18754 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18756 * gst/gstmessage.c:
18757 Improve docs for DURATION message (usage of duration parameter)
18760 2005-11-20 Wim Taymans <wim@fluendo.com>
18762 * check/Makefile.am:
18763 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18767 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18768 (gst_segment_set_seek), (gst_segment_set_newsegment),
18769 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18770 (gst_segment_clip):
18771 * gst/gstsegment.h:
18772 Added segment helper structure and methods. Not fully implemented
18774 Added segment check.
18776 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18778 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18779 Add a deserialisation test for fractions
18780 * examples/metadata/read-metadata.c: (message_loop),
18781 (make_pipeline), (main):
18782 Fix up metadata reading sample.
18783 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18785 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18786 Don't try and fixate empty caps
18787 * gst/gst_private.h:
18788 Wrap in G_BEGIN_DECLS/G_END_DECLS
18789 * gst/gstvalue.c: (gst_value_collect_fraction),
18790 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18791 (gst_value_transform_string_fraction),
18792 (gst_value_compare_fraction):
18793 Add some extra guards to ensure that we don't end up
18794 with an invalid denominator of 0 in a gstfraction and
18795 that fractions always get reduced.
18797 2005-11-20 Wim Taymans <wim@fluendo.com>
18799 * docs/gst/gstreamer-sections.txt:
18801 * gst/gstelement.c:
18810 2005-11-20 Wim Taymans <wim@fluendo.com>
18812 * docs/design/part-TODO.txt:
18814 Make a proper enum of the flag.
18816 2005-11-19 Wim Taymans <wim@fluendo.com>
18818 * docs/design/part-TODO.txt:
18819 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18820 (gst_format_to_quark), (gst_format_register):
18822 * gst/gstquery.c: (_gst_query_initialize),
18823 (gst_query_type_get_name), (gst_query_type_to_quark),
18824 (gst_query_type_register):
18826 Add type to quark and type to string conversions.
18828 2005-11-19 Andy Wingo <wingo@pobox.com>
18830 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18833 2005-11-19 Wim Taymans <wim@fluendo.com>
18835 * docs/design/part-TODO.txt:
18836 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18837 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18838 (gst_bin_handle_message_func):
18840 Make message handling overridable.
18842 2005-11-19 Andy Wingo <wingo@pobox.com>
18844 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18847 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18849 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18850 is a GstClockTime. Fixes #321710.
18852 * gst/gstclock.h (GstClock): Remove offset property. Add
18853 internal_calibration and external_calibration. Fix padding. Pad
18854 also by GstClockTime so we don't run into problems.
18856 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18857 (gst_clock_get_rate_offset): Remove.
18858 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18861 * gst/gstutils.c (g_static_rec_cond_wait)
18862 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18864 * gst/gstbin.c: Remove terrible continue_state prototype.
18866 * gst/gstelement.h (gst_element_continue_state): Make public.
18868 * gst/gstelement.h:
18869 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18870 by continue_state. Fixes #319389.
18872 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18873 Really fixes #168438. However I don't see anywhere where the
18874 filter function is called... stupid GStreamer...
18876 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18877 don't have a dispose function, so it won't get called when the
18878 object is unreffed, but oh well!
18880 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18881 allows a destroy function to be set so user_data can be freed.
18883 (gst_index_set_filter): Call gst_index_set_filter_full.
18885 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18887 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18888 string should produce an error, given the lack of a way to
18889 represent NULL strings. Fixes #165650.
18892 * gst/gstvalue.c (gst_value_array_append_value)
18893 (gst_value_array_prepend_value, gst_value_array_get_size)
18894 (gst_value_array_get_value): New API, copied from
18895 gst_value_list_*, only operates on arrays.
18896 (gst_value_list_append_value, gst_value_list_prepend_value)
18897 (gst_value_list_concat, gst_value_list_get_size)
18898 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18900 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18901 init_list, because it works on both.
18902 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18903 (gst_value_copy_list_or_array): Renamed from copy_list.
18904 (gst_value_free_list_or_array): Renamed from free_list.
18905 (gst_value_collect_list_or_array): Renamed from collect_list.
18906 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18907 (gst_value_list_or_array_peek_pointer): Renamed from
18909 (_gst_value_array_value_table, _gst_value_list_value_table):
18910 Update value table functions.
18911 (gst_value_compare_list_or_array): Renamed from compare_list.
18913 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18916 * gst/gsttaglist.c:
18917 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18918 GstTagList*. Fixes #143472.
18920 * gst/gststructure.h: Clarify what the foreach/map functions can
18921 or can't do to their arguments.
18923 2005-11-18 Wim Taymans <wim@fluendo.com>
18925 * gst/gstclock.c: (gst_clock_set_calibration),
18926 (gst_clock_get_calibration):
18928 Calibration can be set with internal time equal to current
18931 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18937 2005-11-18 Andy Wingo <wingo@pobox.com>
18940 * pkgconfig/gstreamer-net.pc.in:
18941 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18942 * pkgconfig/Makefile.am: Add net pkgconfig files.
18944 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18947 * gst/gstghostpad.c:
18953 2005-11-18 Andy Wingo <wingo@pobox.com>
18955 * gst/net/gstnetclientclock.c: Turn off debugging.
18957 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18958 times connverge somewhat. Can't make a real test.
18960 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18961 integer arithmetic. Return the minimum of the domain, which can be
18962 set as "internal" for gst_clock_set_calibration.
18963 (gst_net_client_clock_observe_times): Call _set_calibration.
18964 (gst_net_client_clock_new): Call _set_calibration instead of
18967 * check/net/gstnetclientclock.c (test_functioning): Use the right
18971 * gst/gstclock.c (gst_clock_get_calibration)
18972 (gst_clock_set_calibration): New functions, obsolete the ones I
18973 added yesterday. Doh. Precision issues mean we have to extrapolate
18974 from a point in the more recent past than 1970.
18975 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18977 (gst_clock_adjust_unlocked): Use the right calibration data.
18979 2005-11-18 Edward Hervey <edward@fluendo.com>
18981 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18982 Also reset the ->current_* values in READY->PAUSED
18984 2005-11-18 Andy Wingo <wingo@pobox.com>
18986 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18987 Whoops, check the right fd. Also add some debugging.
18988 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18989 (do_linear_regression): Add a crapload of debugging. Subtract off
18990 the minimum values from the input series to discard unneeded bits.
18991 Use only int arithmetic. There is still double arithmetic when
18992 calculating the intercept that needs fixing. Return boolean to
18993 indicate success; FALSE would mean the domain or range is too
18994 great. Still needs fixes.
18996 2005-11-18 Wim Taymans <wim@fluendo.com>
18998 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18999 For the current position in stream time, we need to subtract
19002 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19003 Release lock before calling the callback function of async
19006 2005-11-18 Andy Wingo <wingo@pobox.com>
19008 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19009 Port goes all the way to MAXUINT16.
19011 * gst/net/gstnettimeprovider.c: Make the port range the same as
19012 for the kernel: 0 assigns, otherwise ports are less than
19015 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19018 * check/net/gstnetclientclock.c (test_functioning): Add the start
19021 2005-11-18 Wim Taymans <wim@fluendo.com>
19023 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19024 (gst_bin_remove_func), (bin_bus_handler):
19026 Removing a clock provider from a bin, triggers a clock lost message
19027 so that a new clock will be selected.
19028 Adding a clock to a bin triggers a clock provider message.
19029 Make sure we reselect a clock when we received a clock lost message.
19030 Keep a reference to the element that provided the clock.
19032 2005-11-18 Andy Wingo <wingo@pobox.com>
19034 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19035 the clock initially so it produces values around the base time.
19036 (gst_net_client_clock_class_init): Typo fix.
19037 (gst_net_client_clock_thread): Add note on when the socket gets
19040 2005-11-17 Wim Taymans <wim@fluendo.com>
19042 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19043 Free remote and local time arrays.
19045 2005-11-17 Wim Taymans <wim@fluendo.com>
19047 * gst/net/gstnetclientclock.c: (do_linear_regression),
19048 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19049 Fix compilation, uninitialized vars and a forgotten continue.
19051 2005-11-17 Andy Wingo <wingo@pobox.com>
19053 * check/Makefile.am (check_PROGRAMS):
19054 * check/net/gstnetclientclock.c: Add a most minimal test for the
19055 net client clock. More to come later.
19057 * gst/net/gstnet.h:
19058 * gst/net/Makefile.am: Add netclientclock.
19060 * gst/net/gstnetclientclock.h:
19061 * gst/net/gstnetclientclock.c: New files, implement an untested
19062 GstClock that takes its time from a network time provider.
19063 Implements the algorithm in network-clock.scm.
19065 * tests/network-clock.scm (*window-size*): Rename from
19067 * tests/network-clock.scm (network-time):
19068 * tests/network-clock-utils.scm (q-push): Update callers.
19070 2005-11-17 Wim Taymans <wim@fluendo.com>
19072 * gst/gstbin.c: (gst_bin_provide_clock_func),
19073 (gst_bin_sort_iterator_new):
19074 And unref the child too..
19076 2005-11-17 Wim Taymans <wim@fluendo.com>
19078 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19079 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19080 Refactor the sort iterator so it can be used while holding the
19082 Make clock selection select a clock closest to the source.
19084 2005-11-17 Michael Smith <msmith@fluendo.com>
19086 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19087 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19089 Anonymous structs are a gcc (and some other compilers) extension, so
19090 don't use them. Since this is only for ABI-compatibility, and our
19091 API/ABI freeze is over in a few days, this whole thing will only
19092 last a few days, so don't bother trying to think up a meaningful
19093 name for the struct.
19095 2005-11-17 Andy Wingo <wingo@pobox.com>
19097 * gst/gstclock.h (GstClock): Add rate and offset properties,
19098 preserving ABI stability. Add rate/offset accessors. Will file bug
19099 for the freeze break.
19101 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19102 and offset, trying to keep precision and avoiding
19103 underflow/overflow.
19104 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19105 functions. Make gst_clock_set_time_adjust obsolete.
19106 (gst_clock_set_time_adjust): Note that this function is obsolete.
19107 Will file bug soon.
19109 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19110 greppable by using GST_PADDING-1+1.
19112 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19114 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19116 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19117 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19119 * gst/gstpadtemplate.h:
19120 * gst/gstpluginfeature.h:
19121 Don't use c++ style comments in headers (#321638).
19123 2005-11-16 Andy Wingo <wingo@pobox.com>
19125 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19128 * check/net/gstnettimeprovider.c: Check to see that the time
19129 provider actually provides times. Works, yo!
19131 2005-11-16 Wim Taymans <wim@fluendo.com>
19133 * check/Makefile.am:
19136 * check/elements/fakesrc.c: (GST_START_TEST):
19137 Set element to NULL before disposing it.
19139 2005-11-16 Andy Wingo <wingo@pobox.com>
19141 * gst/net/Makefile.am:
19142 * gst/net/gstnet.h:
19143 * gst/net/gstnettimeprovider.c:
19144 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19145 provider, include it from gstnet.h, and add it to the build.
19147 * gst/net/gstnettimepacket.h:
19148 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19149 sending and receiving.
19151 2005-11-16 Wim Taymans <wim@fluendo.com>
19153 * check/Makefile.am:
19154 Enable valgrind check.
19156 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19157 (gst_fake_src_alloc_buffer):
19160 2005-11-16 Wim Taymans <wim@fluendo.com>
19162 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19163 Call parent finalize too.
19165 2005-11-16 Wim Taymans <wim@fluendo.com>
19167 * check/Makefile.am:
19168 Enable valgrind check that should work fine now.
19170 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19171 * gst/gstqueue.c: (gst_queue_init):
19172 Fix memleaks in pad allocation.
19174 2005-11-16 Andy Wingo <wingo@pobox.com>
19176 * gst/net/Makefile.am:
19177 * gst/net/gstnet.h: New part of core to hold network elements and
19178 objects. Put in core because it exposes API that applications want
19179 to use. The library is named libgstnet-tempname right now because
19180 of the existing libgstnet in gst-plugins-base. Solution is
19181 probably to rename the one in plugins-base; will file a bug for
19184 * gst/net/gstnettimeprovider.c:
19185 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19186 get_time call over the network.
19189 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19191 * check/Makefile.am:
19192 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19193 get additions shortly.
19195 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19197 * gst/gstpad.c: (gst_pad_new_from_static_template):
19199 add gst_pad_new_from_static_template functions
19200 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19201 (gst_check_setup_sink_pad):
19202 * gst/elements/gsttee.c: (gst_tee_init):
19205 2005-11-16 Wim Taymans <wim@fluendo.com>
19207 * gst/gstpad.c: (gst_pad_pause_task):
19208 Removed warning, it's not really an error either.
19210 2005-11-16 Wim Taymans <wim@fluendo.com>
19212 * gst/base/gstbasetransform.c:
19213 (gst_base_transform_prepare_output_buf),
19214 (gst_base_transform_event):
19215 Check if the caps are NULL, this can happen if the element
19216 is shutting down and the pad caps are set to NULL.
19218 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19220 * gst/elements/gsttee.c: (gst_tee_init):
19221 fix pad template leak in tee
19223 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19225 * gst/glib-compat.c: (g_value_dup_gst_object):
19226 * gst/glib-compat.h:
19227 * gst/gstpad.c: (gst_pad_set_property):
19228 use gst_object_ref when setting the pad template; this will
19229 trigger the pad template leaks on GLib 2.6 and the slaves
19231 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19233 * gst/glib-compat.c: (gst_flags_get_first_value):
19234 * gst/glib-compat.h:
19235 * gst/gstregistryxml.c:
19236 remove functions copied from GLib 2.6
19238 2005-11-16 Michael Smith <msmith@fluendo.com>
19241 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19242 do, but only breaks with newer valgrind versions. We're not a
19243 valgrind tool, we have no link-time dependencies on libcoregrind.
19245 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19247 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19249 * gst/gstmessage.h:
19252 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19254 * gst/base/gstbasesrc.c: (gst_base_src_init):
19255 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19256 * gst/gstqueue.c: (gst_queue_init):
19257 * gst/gstregistryxml.c: (load_feature):
19258 Revert all these unrefs, they don't even pass make check !
19260 2005-11-15 Johan Dahlin <johan@gnome.org>
19262 * gst/base/gstbasesrc.c: (gst_base_src_init):
19263 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19264 * gst/gstqueue.c: (gst_queue_init):
19265 Free pad templates, fixes a couple of leaks.
19267 2005-11-15 Daniel Fischer <dan at f3c dot com>
19269 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19271 * gst/gstpad.c: (gst_pad_get_property):
19272 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19273 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19276 2005-11-15 Wim Taymans <wim@fluendo.com>
19281 2005-11-15 Andy Wingo <wingo@pobox.com>
19283 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19285 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19286 using GST_CLOCK_TIME_NONE to disable base time management.
19287 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19288 time if it was NONE before.
19289 (gst_pipeline_change_state): Only munge the base time if
19290 stream_time != GST_CLOCK_TIME_NONE.
19292 * check/gst/gstpipeline.c (test_base_time): Punt around the
19293 problem of the probe not being called, because that's not the
19294 issue I'm looking at. Add a check that setting stream_time to NONE
19295 disables base time management.
19297 2005-11-15 Wim Taymans <wim@fluendo.com>
19299 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19300 segment_stop == -1 at startup.
19302 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19303 (gst_base_transform_change_state):
19304 Init segment values at start.
19306 2005-11-15 Wim Taymans <wim@fluendo.com>
19308 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19309 0 segment values are 0 in any format.
19311 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19312 * gst/base/gstbasetransform.h:
19313 Parse newsegment correctly in basetransform
19315 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19316 Sync to clock using updated segment values.
19318 2005-11-15 Andy Wingo <wingo@pobox.com>
19320 * check/gst/gstpipeline.c (test_base_time): Add check that the
19321 base time and stream time are reset correctly.
19323 2005-11-15 Wim Taymans <wim@fluendo.com>
19325 * docs/design/part-TODO.txt:
19326 Some more TODO items.
19328 2005-11-15 Andy Wingo <wingo@pobox.com>
19330 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19331 error if the user selected "no clock" as the clocking method.
19333 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19334 timestamps with live capture.
19336 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19337 is 0 but we are a live source, timestamp the buffers using the
19340 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19342 * docs/gst/gstreamer-sections.txt:
19344 * gst/gstghostpad.c:
19349 2005-11-14 Wim Taymans <wim@fluendo.com>
19352 add suppressions from Wim's Debian machine
19354 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19357 add suppressions from Andy's AMD64 Ubuntu machine
19359 2005-11-14 Andy Wingo <wingo@pobox.com>
19361 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19362 STATE_LOCK not necessary. Fixes #311489.
19364 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19367 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19368 this function is not implemented.
19370 2005-11-14 Julien MOUTTE <julien@moutte.net>
19372 * gst/base/gstbasetransform.c:
19373 (gst_base_transform_prepare_output_buf):
19374 Ref the source pad caps while we need them.
19377 2005-11-11 Wim Taymans <wim@fluendo.com>
19379 * docs/gst/gstreamer-sections.txt:
19380 Added some docs for GstCollectData.
19382 * gst/base/gstadapter.c:
19383 Some small code example fix.
19385 * gst/base/gstcollectpads.c:
19386 * gst/base/gstcollectpads.h:
19387 Document some more.
19389 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19391 * configure.ac: back to HEAD
19393 === release 0.9.5 ===
19395 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19398 releasing 0.9.5, "Bike Lunch Day"
19400 2005-11-11 Wim Taymans <wim@fluendo.com>
19402 * gst/gstbuffer.c: (_gst_buffer_copy):
19405 * gst/gstcaps.c: (gst_caps_is_equal):
19407 Make _is_equal fast in the trivial cases.
19409 * gst/gstminiobject.c:
19410 * gst/gstminiobject.h:
19411 More docs. Spifify .h file.
19416 2005-11-11 Wim Taymans <wim@fluendo.com>
19418 * gst/base/gstbasetransform.c:
19419 (gst_base_transform_prepare_output_buf),
19420 (gst_base_transform_handle_buffer):
19422 If we're processing a buffer and need to allocate an output
19423 buffer, we cannot accept a format change. If we did get a
19424 format change, we have to alloc a buffer ourselves of the
19427 2005-11-11 Wim Taymans <wim@fluendo.com>
19429 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19430 While checking the flag for reentrancy in the gstcaps function
19431 is nice to detect recursive invocations, it also makes it
19432 impossible to call getcaps from multiple threads, which must be
19433 possible. So, checking for recursive calls has to go.
19435 2005-11-11 Michael Smith <msmith@fluendo.com>
19437 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19438 Don't sync on buffers that fall partially outside our current
19439 segment. Prevents an assertion failure/abort playing some files.
19441 2005-11-10 Andy Wingo <wingo@pobox.com>
19443 * check/gst/gstbin.c (test_message_state_changed_children): Style
19446 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19447 gst_bus_poll with the signal watch. Ensures that poll and a signal
19448 watch see the same messages.
19450 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19451 a poll and a watch at the same time get the same messages.
19453 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19455 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19456 * gst/gstcaps.c: (gst_caps_intersect):
19457 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19458 and it's not needed.
19460 2005-11-10 Wim Taymans <wim@fluendo.com>
19462 * docs/design/part-TODO.txt:
19465 2005-11-10 Wim Taymans <wim@fluendo.com>
19467 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19468 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19469 (gst_base_src_do_sync), (gst_base_src_get_range):
19470 Implement clock sync in base class.
19472 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19474 patch by: Tim-Philipp Müller <tim at centricular dot net>
19476 * gst/gststructure.c: (gst_structure_parse_field),
19477 (gst_structure_from_string):
19478 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19479 so that gst_parse_launch() can deal with spaces in filtered link
19480 caps (fixes #164479)
19481 * check/gst/capslist.h:
19482 * check/gst/gststructure.c: (GST_START_TEST):
19483 add unit tests for this change
19485 2005-11-10 Wim Taymans <wim@fluendo.com>
19487 * docs/gst/gstreamer-sections.txt:
19488 * gst/gstelement.c:
19489 * gst/gstelement.h:
19490 Fix docs, move some STATE macros to private.
19492 2005-11-10 Wim Taymans <wim@fluendo.com>
19494 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19495 Added check for bug #317341
19499 Some more spiffifying.
19501 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19502 Call peer linkfunction if we are a source pad. Totally fixes
19506 Update docs, source pads should call the peer linkfunction
19507 so they can atomically perform the pad link.
19509 2005-11-09 Wim Taymans <wim@fluendo.com>
19513 Uber-spiffy-spiffify some more.
19515 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19517 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19518 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19519 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19520 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19521 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19522 * gst/gstpad.c: (gst_pad_init):
19523 Use GST_DEBUG_FUNCPTR() more extensively.
19525 2005-11-09 Wim Taymans <wim@fluendo.com>
19527 * gst/gstobject.c: (gst_object_class_init):
19529 Documentation fixes.
19531 2005-11-09 Edward Hervey <edward@fluendo.com>
19533 * gst/gsttypefindfactory.c:
19536 2005-11-09 Edward Hervey <edward@fluendo.com>
19538 * gst/base/gsttypefindhelper.c:
19539 * gst/gsttypefind.c:
19540 * gst/gsttypefind.h:
19543 2005-11-09 Wim Taymans <wim@fluendo.com>
19545 * gst/gstiterator.c:
19552 2005-11-09 Wim Taymans <wim@fluendo.com>
19558 2005-11-09 Wim Taymans <wim@fluendo.com>
19560 * docs/gst/gstreamer-sections.txt:
19561 Moved the message async delivery private lock and cond
19562 to the private section.
19564 * gst/gstmessage.c:
19565 * gst/gstmessage.h:
19568 2005-11-09 Edward Hervey <edward@fluendo.com>
19570 * docs/gst/gstreamer-sections.txt:
19573 Document GstURIHandler
19575 2005-11-09 Wim Taymans <wim@fluendo.com>
19577 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19578 (gst_iterator_find_custom):
19579 * gst/gstiterator.h:
19582 2005-11-09 Wim Taymans <wim@fluendo.com>
19585 Document another field.
19587 * gst/gststructure.c:
19588 * gst/gststructure.h:
19591 2005-11-09 Wim Taymans <wim@fluendo.com>
19594 Documented structs.
19596 2005-11-09 Wim Taymans <wim@fluendo.com>
19598 * docs/gst/gstreamer-sections.txt:
19599 Added some new macros.
19606 2005-11-09 Wim Taymans <wim@fluendo.com>
19608 * docs/design/part-TODO.txt:
19609 Some more items for the TODO
19615 2005-11-09 Andy Wingo <wingo@pobox.com>
19617 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19618 to work on something else now tho...
19620 * gst/base/gstadapter.c: More adapter docs.
19622 * gst/elements/gstfilesink.c (gst_file_sink_start)
19623 (gst_file_sink_stop): New functions, replace the state change
19625 (gst_file_sink_class_init): Hook up the start and stop functions.
19626 (gst_file_sink_base_init): Don't set the state change handler any
19627 more. It was a bit ugly too, being set from here...
19628 (gst_file_sink_get_property, gst_file_sink_set_property):
19630 (gst_file_sink_set_location): More robust check that doesn't call
19631 GST_STATE. Ugggggg.
19633 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19635 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19636 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19638 2005-11-08 Wim Taymans <wim@fluendo.com>
19640 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19641 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19642 (gst_base_sink_chain), (gst_base_sink_change_state):
19643 * gst/base/gstbasesink.h:
19644 * gst/base/gstbasesrc.h:
19645 * gst/gstelement.h:
19647 Avoid excessive typechecking in macros.
19649 * gst/gstminiobject.c: (gst_mini_object_get_type),
19650 (gst_mini_object_init), (gst_mini_object_new),
19651 (gst_mini_object_free):
19652 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19653 (gst_object_finalize):
19654 Remove cruft code, optimize alloc_trace.
19656 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19658 * docs/faq/gst-uninstalled:
19659 fix up PS1 for systems that try to reset it
19661 2005-11-07 Wim Taymans <wim@fluendo.com>
19663 * gst/base/gstbasesrc.c: (gst_base_src_init),
19664 (gst_base_src_get_range):
19665 Set the segment_end to -1 initially. Fixed typefind.
19667 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19669 * gst/base/gstadapter.c:
19670 Debug category should be 'adapter', not 'GstAdapter'.
19672 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19673 (gst_collectpads_class_init), (gst_collectpads_init),
19674 (gst_collectpads_peek), (gst_collectpads_pop),
19675 (gst_collectpads_event), (gst_collectpads_chain):
19676 Add debug category and some debugging output. Use boilerplate
19677 macros. Remove some extraneous words from docs.
19679 2005-11-05 Andy Wingo <wingo@pobox.com>
19681 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19684 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19686 * docs/gst/gstreamer-sections.txt:
19689 * gst/gstminiobject.h:
19694 2005-11-04 Wim Taymans <wim@fluendo.com>
19696 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19697 Small update to stop at the configured segment_end
19700 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19702 * gst/gstregistry.c:
19703 * gst/gstregistry.h:
19706 2005-11-04 Edward Hervey <edward@fluendo.com>
19708 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19709 Check if we are doing a segment seek and have arrived at the
19710 end of that segment.
19712 2005-11-04 Wim Taymans <wim@fluendo.com>
19714 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19715 Don't leak a mutex unlock in case of an error.
19720 2005-11-04 Wim Taymans <wim@fluendo.com>
19722 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19724 Get the context to wake up only once.
19726 2005-11-03 Wim Taymans <wim@fluendo.com>
19728 * check/states/sinks.c: (GST_START_TEST):
19729 Uncomment fixed check.
19731 * docs/design/part-TODO.txt:
19734 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19735 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19736 (gst_base_sink_get_position):
19737 If we are going to PLAYING, post the right pending state
19738 when we post the intermediate paused message.
19740 * gst/gstelement.c: (gst_element_continue_state),
19741 (gst_element_set_state_func), (gst_element_change_state):
19742 Don't post state changes that were between the same state
19743 and were not ASYNC.
19745 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19747 * docs/gst/gstreamer-sections.txt:
19750 * gst/gstminiobject.h:
19753 more docs and doc style fixes
19755 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19757 * docs/gst/gstreamer-sections.txt:
19758 * gst/gstelement.c:
19759 * gst/gstminiobject.c:
19762 2005-11-03 Andy Wingo <wingo@pobox.com>
19764 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19765 state-changed messages actually have the right order and the right
19768 2005-11-03 Wim Taymans <wim@fluendo.com>
19770 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19771 Added some more checks. Specifically the case where NO_PREROLL
19772 elements are in the pipeline.
19774 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19775 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19776 (gst_base_sink_get_position):
19777 Post READY->PAUSED state change messages too.
19778 Fix bug where VOID was posted as pending state...
19780 * gst/gstbin.c: (gst_bin_recalc_state):
19781 use _element_continue_state() to continue the state change.
19783 * gst/gstelement.c: (gst_element_continue_state),
19784 (gst_element_commit_state), (gst_element_set_state_func),
19785 (gst_element_change_state), (gst_element_change_state_func):
19786 Lots of state change cleanups, assign the STATE_RETURN in
19787 a new continue_state() function that also propagates the
19788 last return value from a state change to the app.
19789 Update some debug statements with proper category.
19791 2005-11-03 Wim Taymans <wim@fluendo.com>
19793 * docs/design/part-events.txt:
19794 * docs/design/part-gstpipeline.txt:
19795 * docs/design/part-messages.txt:
19796 * docs/design/part-overview.txt:
19797 * docs/design/part-seeking.txt:
19798 * docs/design/part-states.txt:
19799 * docs/design/part-trickmodes.txt:
19800 * docs/manual/advanced-position.xml:
19801 Small docs updates.
19804 People think !! is ugly, this looks better.
19806 * gst/gstpad.c: (gst_pad_set_blocked_async):
19807 Remove !! since it's fixed elsewhere now.
19809 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19811 * gst/gstminiobject.h:
19813 Add !! to _FLAG_IS_SET macros to make the result boolean.
19815 2005-11-03 Edward Hervey <edward@fluendo.com>
19817 * gst/gstpad.c: (gst_pad_set_blocked_async):
19818 comparing a flag and a gboolean rarely returns coherent results...
19819 Added two characters (!!) to make that work correctly.
19821 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19823 * gst/gstbus.c: (gst_bus_class_init):
19826 * gst/gstqueue.c: (gst_queue_loop):
19827 Don't assume a miniobject that isn't a buffer is an
19828 event (it could be that there is a refcounting
19829 problem somewhere and the pointer is stale and
19830 refers to an already destroyed miniobject).
19832 2005-11-03 Julien MOUTTE <julien@moutte.net>
19834 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19836 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19838 * docs/manual/advanced-position.xml:
19839 Update seek example and explanations to current 0.9 API.
19841 * gst/elements/gsttypefindelement.c:
19842 (gst_type_find_element_activate):
19843 Remove FIXME comment now that the found caps
19846 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19848 * gst/gstregistryxml.c: (load_feature):
19849 Add another GST_STR_NULL instance
19851 2005-11-02 Edward Hervey <edward@fluendo.com>
19853 * gst/gstpad.c: (handle_pad_block):
19854 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19856 2005-11-02 Wim Taymans <wim@fluendo.com>
19861 * gst/gstelement.c: (gst_element_commit_state):
19862 Remove unused value.
19864 * gst/gstiterator.c:
19865 Mention that the returned element is reffed in the docs.
19867 2005-11-02 Wim Taymans <wim@fluendo.com>
19869 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19870 (gst_pad_push), (gst_pad_push_event):
19871 Unlock blocked pads when they are flushed.
19873 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19876 * docs/gst/gstreamer-sections.txt:
19879 * gst/gstregistry.c: (gst_registry_scan_path_level):
19880 fix for a nasty little missed situation where an installed plug-in
19881 which was in the cache did not get overridden by an uninstalled one
19882 which was earlier in the plugin path because the newly created plugin
19883 for the uninstalled one (not in the registry) didn't get its
19884 ->registered set to TRUE
19886 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19888 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19889 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19890 (gst_collectpads_is_active), (gst_collectpads_collect),
19891 (gst_collectpads_collect_range), (gst_collectpads_start),
19892 (gst_collectpads_stop), (gst_collectpads_peek),
19893 (gst_collectpads_pop), (gst_collectpads_available),
19894 (gst_collectpads_read), (gst_collectpads_flush):
19895 Guard public API with assertions.
19898 Fix docs for gst_pad_set_link_function().
19900 2005-11-02 Johan Dahlin <johan@gnome.org>
19902 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19903 Unref found_caps after we used it.
19905 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19907 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19908 Don't try to ref NULL.
19910 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19912 * win32/common/config.h.in:
19913 provide a GST_FUNCTION that just gives a string for now
19915 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19917 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19918 (gst_object_flags_get_type), (register_gst_bin_flags),
19919 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19920 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19921 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19922 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19923 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19924 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19925 (gst_clock_flags_get_type), (register_gst_state),
19926 (gst_state_get_type), (register_gst_state_change_return),
19927 (gst_state_change_return_get_type), (register_gst_state_change),
19928 (gst_state_change_get_type), (register_gst_element_flags),
19929 (gst_element_flags_get_type), (register_gst_core_error),
19930 (gst_core_error_get_type), (register_gst_library_error),
19931 (gst_library_error_get_type), (register_gst_resource_error),
19932 (gst_resource_error_get_type), (register_gst_stream_error),
19933 (gst_stream_error_get_type), (register_gst_event_type),
19934 (gst_event_type_get_type), (register_gst_seek_type),
19935 (gst_seek_type_get_type), (register_gst_seek_flags),
19936 (gst_seek_flags_get_type), (register_gst_format),
19937 (gst_format_get_type), (register_gst_index_certainty),
19938 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19939 (gst_index_entry_type_get_type),
19940 (register_gst_index_lookup_method),
19941 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19942 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19943 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19944 (gst_index_flags_get_type), (register_gst_debug_level),
19945 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19946 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19947 (gst_iterator_result_get_type), (register_gst_iterator_item),
19948 (gst_iterator_item_get_type), (register_gst_message_type),
19949 (gst_message_type_get_type), (register_gst_mini_object_flags),
19950 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19951 (gst_pad_link_return_get_type), (register_gst_flow_return),
19952 (gst_flow_return_get_type), (register_gst_activate_mode),
19953 (gst_activate_mode_get_type), (register_gst_pad_direction),
19954 (gst_pad_direction_get_type), (register_gst_pad_flags),
19955 (gst_pad_flags_get_type), (register_gst_pad_presence),
19956 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19957 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19958 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19959 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19960 (gst_plugin_flags_get_type), (register_gst_rank),
19961 (gst_rank_get_type), (register_gst_query_type),
19962 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19963 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19964 (gst_tag_flag_get_type), (register_gst_task_state),
19965 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19966 (gst_alloc_trace_flags_get_type),
19967 (register_gst_type_find_probability),
19968 (gst_type_find_probability_get_type), (register_gst_uri_type),
19969 (gst_uri_type_get_type), (register_gst_parse_error),
19970 (gst_parse_error_get_type):
19971 * win32/common/gstversion.h:
19972 update win32 copies
19974 2005-11-01 Luca Ognibene <luogni@tin.it>
19977 fix docs. popt is dead, long live GOption.
19979 2005-10-31 Wim Taymans <wim@fluendo.com>
19984 2005-10-31 Andy Wingo <wingo@pobox.com>
19988 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19990 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19991 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19992 the possibility of deadlocks here if code calling notify() or
19993 set() has a lock that can be taken in another notify handler (ABBA
19994 with class lock and e.g. python GIL state lock).
19996 2005-10-28 Julien MOUTTE <julien@moutte.net>
19998 * gst/gstbus.c: Doc updates.
20000 2005-10-28 Wim Taymans <wim@fluendo.com>
20002 * docs/design/part-TODO.txt:
20003 * gst/gstiterator.c:
20004 * gst/gstsystemclock.c:
20005 * gst/gstsystemclock.h:
20008 2005-10-28 Edward Hervey <edward@fluendo.com>
20010 * docs/gst/gstreamer-docs.sgml:
20011 * docs/gst/gstreamer-sections.txt:
20012 the GstURIType documentation page is private, it only defines GstURIType
20013 which should be defined in the GstURIHandler page
20015 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20017 * gst/gstbin.c: (gst_bin_class_init):
20020 Documentation updates.
20022 2005-10-28 Wim Taymans <wim@fluendo.com>
20024 * docs/gst/gstreamer-sections.txt:
20027 Documented the clocks.
20029 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20031 * docs/gst/gstreamer-sections.txt:
20032 move some macros to private sections
20033 * gst/gstminiobject.c:
20034 * gst/gstminiobject.h:
20035 add descriptions provided by ds and some more
20037 mark macro as to be removed
20039 2005-10-28 Wim Taymans <wim@fluendo.com>
20041 * docs/design/part-TODO.txt:
20042 Add an item to TODO.
20044 * gst/gstiterator.c: (gst_iterator_fold),
20045 (gst_iterator_find_custom):
20046 * gst/gstiterator.h:
20049 2005-10-28 Wim Taymans <wim@fluendo.com>
20051 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20052 (gst_base_transform_init):
20055 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20056 An EOS event marks the queue as completely filled.
20058 2005-10-27 Wim Taymans <wim@fluendo.com>
20060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20061 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20062 Some more debugging.
20064 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20065 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20066 (gst_base_transform_event), (gst_base_transform_getrange),
20067 (gst_base_transform_chain):
20068 * gst/base/gstbasetransform.h:
20070 Protect transform and concurrent buffer alloc with a new lock.
20071 Try not to break ABI/API.
20073 2005-10-27 Wim Taymans <wim@fluendo.com>
20075 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20076 (gst_base_src_init), (gst_base_src_query),
20077 (gst_base_src_default_newsegment),
20078 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20079 (gst_base_src_send_event), (gst_base_src_event_handler),
20080 (gst_base_src_pad_get_range), (gst_base_src_loop),
20081 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20082 (gst_base_src_start), (gst_base_src_deactivate),
20083 (gst_base_src_activate_push), (gst_base_src_change_state):
20084 Move some stuff around and cleanup things.
20086 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20088 * gst/base/gstbasesrc.c: (gst_base_src_query):
20089 Add missing break statements.
20091 2005-10-27 Wim Taymans <wim@fluendo.com>
20093 * check/gst/gstbin.c: (GST_START_TEST):
20094 An extra refcount is taken in basesrc.
20096 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20097 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20098 (gst_base_src_loop):
20099 Small cleanups, check for flushing after being unlocked from the
20100 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20101 Don't send out EOS when going to READY.
20103 2005-10-27 Wim Taymans <wim@fluendo.com>
20105 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20106 (gst_base_sink_get_position):
20109 * gst/gstbin.c: (message_check), (bin_replace_message),
20110 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20111 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20112 (bin_query_duration_init), (bin_query_duration_fold),
20113 (bin_query_duration_done), (bin_query_generic_fold),
20115 * tools/gst-launch.c: (main):
20118 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20120 * examples/controller/audio-example.c: (main):
20121 * examples/queue/queue.c: (event_loop):
20122 * gst/base/gstbasetransform.h:
20123 * gst/gstelement.c: (gst_element_send_event):
20125 * gst/gstpad.c: (gst_pad_send_event):
20128 changing log priority in error situations
20130 2005-10-25 Wim Taymans <wim@fluendo.com>
20132 * gst/gstbin.c: (message_check), (bin_replace_message),
20133 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20134 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20135 (bin_query_duration_init), (bin_query_duration_fold),
20136 (bin_query_duration_done), (bin_query_generic_fold),
20138 Some doc and debug updates.
20139 Cache previously requested query DURATION for speed. invalidate
20140 cached duration if element posts a DURATION message.
20142 2005-10-25 Wim Taymans <wim@fluendo.com>
20144 * docs/design/part-TODO.txt:
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), (bin_bus_handler),
20150 (bin_query_duration_init), (bin_query_duration_fold),
20151 (bin_query_duration_done), (bin_query_generic_fold),
20153 Handle SEGMENT_START/DONE messages correctly.
20154 More evolved query algorithm that handles duration queries
20157 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20158 (gst_element_get_state_func), (gst_element_abort_state),
20159 (gst_element_commit_state), (gst_element_lost_state):
20160 Some more debugging.
20162 * gst/gstmessage.h:
20165 2005-10-25 Wim Taymans <wim@fluendo.com>
20167 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20168 Don't use invalid stream_time.
20170 * gst/gstevent.c: (gst_event_new_newsegment):
20171 stream_time in newsegment cannot be undefined.
20173 2005-10-24 Wim Taymans <wim@fluendo.com>
20178 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20180 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20182 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20184 * docs/libs/tmpl/gstdparam.sgml:
20185 * docs/libs/tmpl/gstdplinint.sgml:
20186 * docs/libs/tmpl/gstdpman.sgml:
20187 * docs/libs/tmpl/gstdpsmooth.sgml:
20188 * docs/libs/tmpl/gstunitconvert.sgml:
20191 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20196 === release 0.9.4 ===
20198 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20201 releasing 0.9.4, "Tyrannosaurus Rex"
20203 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20205 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20206 (gst_file_sink_get_current_offset):
20207 Use fseeko() and ftello() if available. When falling back on
20208 lseek() to get the current offset, fflush() first to make sure
20209 everything is up-to-date and we get the right offset.
20211 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20213 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20214 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20215 * gst/gsterror.c: (_gst_stream_errors_init):
20217 * gst/gstqueue.c: (gst_queue_loop):
20219 remove prematurely added error category and clean up the instances
20221 2005-10-21 Wim Taymans <wim@fluendo.com>
20223 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20224 (gst_base_sink_get_position), (gst_base_sink_query),
20225 (gst_base_sink_change_state):
20226 Simply set the right flag when going to playing, that's all
20227 we need to do instead of calling a function inside the object
20228 lock (that could take the lock as well and deadlock)
20230 2005-10-21 Wim Taymans <wim@fluendo.com>
20232 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20233 (gst_base_src_loop):
20234 Don't warn, the peer element knows what to do best when
20235 the seek failed, it might try something else.
20237 2005-10-21 Wim Taymans <wim@fluendo.com>
20239 * gst/base/gstbasesrc.c: (gst_base_src_init),
20240 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20243 2005-10-21 Wim Taymans <wim@fluendo.com>
20245 * docs/design/part-segments.txt:
20248 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20249 Correctly set caps, even on the subbufer.
20251 2005-10-21 Wim Taymans <wim@fluendo.com>
20253 * docs/gst/gstreamer-docs.sgml:
20254 * docs/gst/gstreamer-sections.txt:
20255 * gst/gstelement.h:
20258 * gst/gstmessage.h:
20261 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20265 And 2% more doc coverage.
20267 2005-10-21 Andy Wingo <wingo@pobox.com>
20269 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20270 position reporting.
20272 2005-10-20 Wim Taymans <wim@fluendo.com>
20274 * gst/gsterror.c: (gst_error_get_message):
20277 * gst/gststructure.c:
20282 2005-10-20 Wim Taymans <wim@fluendo.com>
20287 Another 1% more coverage.
20289 2005-10-20 Wim Taymans <wim@fluendo.com>
20291 * docs/gst/gstreamer-sections.txt:
20292 * gst/gstelement.c: (gst_element_get_state_func),
20293 (gst_element_abort_state), (gst_element_commit_state),
20294 (gst_element_lost_state):
20296 * gst/gstquery.c: (gst_query_set_position),
20297 (gst_query_parse_position), (gst_query_set_duration),
20298 (gst_query_parse_duration), (gst_query_new_convert):
20300 Yay! 1% more docs coverage.
20302 2005-10-20 Wim Taymans <wim@fluendo.com>
20305 * gst/gstquery.c: (gst_query_set_position),
20306 (gst_query_parse_position), (gst_query_set_duration),
20307 (gst_query_parse_duration), (gst_query_new_convert):
20309 * gst/gstutils.c: (gst_element_query_convert):
20311 Docs and consistency fixes.
20313 2005-10-20 Wim Taymans <wim@fluendo.com>
20319 2005-10-20 Wim Taymans <wim@fluendo.com>
20321 * gst/gstbin.c: (message_check), (bin_replace_message),
20322 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20323 (update_degree), (gst_bin_sort_iterator_next),
20324 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20325 Reworked the message handling a bit, cache the messages instead of
20326 only the senders. alows us to do more in the future.
20328 2005-10-20 Wim Taymans <wim@fluendo.com>
20330 * docs/design/part-TODO.txt:
20333 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20334 (gst_base_sink_query):
20335 Don't use clock time to report position when in EOS.
20337 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20339 * tools/gst-inspect.c: (print_interfaces),
20340 (print_element_properties_info), (print_element_info):
20341 Fix interface output with gst-inspect -a; don't print
20342 newlines after double/float properties.
20344 2005-10-20 Wim Taymans <wim@fluendo.com>
20346 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20347 (gst_base_sink_query):
20348 Speed up current position calculation.
20350 * gst/base/gstbasesrc.c: (gst_base_src_query),
20351 (gst_base_src_default_newsegment):
20352 Correctly set stream position in newsegment.
20354 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20355 (update_degree), (gst_bin_sort_iterator_next),
20356 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20357 * gst/gstmessage.c: (gst_message_new_custom):
20358 Clean up debugging info
20360 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20361 (gst_queue_loop), (gst_queue_handle_src_query):
20364 2005-10-19 Wim Taymans <wim@fluendo.com>
20366 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20367 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20368 Fix query handling again.
20370 2005-10-19 Wim Taymans <wim@fluendo.com>
20372 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20373 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20374 * gst/base/gstbasesrc.c: (gst_base_src_query):
20375 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20376 * gst/elements/gsttypefindelement.c:
20377 (gst_type_find_handle_src_query), (find_element_get_length),
20378 (gst_type_find_element_activate):
20381 * gst/gstquery.c: (gst_query_new_position),
20382 (gst_query_set_position), (gst_query_parse_position),
20383 (gst_query_new_duration), (gst_query_set_duration),
20384 (gst_query_parse_duration), (gst_query_set_segment),
20385 (gst_query_parse_segment):
20387 Bundling query position/duration is not a good idea since duration
20388 does not change much and we don't want to recalculate it for every
20389 position query, so they are separated again..
20390 Base value in segment query is not needed.
20392 * gst/gstqueue.c: (gst_queue_handle_src_query):
20393 * gst/gstutils.c: (gst_element_query_position),
20394 (gst_element_query_duration), (gst_pad_query_position),
20395 (gst_pad_query_duration):
20397 Updates for query API change.
20398 Added some docs here and there.
20400 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20402 * check/gst/gstbin.c: (GST_START_TEST):
20403 * check/gst/gstghostpad.c: (GST_START_TEST):
20404 * check/pipelines/cleanup.c: (GST_START_TEST):
20405 wait on thread to die so we can check refcount correctly
20407 2005-10-18 Wim Taymans <wim@fluendo.com>
20409 * check/pipelines/stress.c: (GST_START_TEST):
20410 Make check a little more time consuming.
20412 2005-10-18 Wim Taymans <wim@fluendo.com>
20414 * check/Makefile.am:
20415 * check/pipelines/stress.c: (GST_START_TEST),
20416 (simple_launch_lines_suite), (main):
20417 Small state change torture test.
20419 * docs/design/part-states.txt:
20420 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20421 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20422 (gst_base_sink_change_state):
20423 Never take state lock from streaming thread, clean up ugly
20424 hacks. Unfortunatly core does not yet support nice ways to
20425 async commit state.
20427 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20429 Start state recalc if a STATE_DIRTY message is posted, but only
20430 on the toplevel bin.
20432 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20433 (gst_element_get_state_func), (gst_element_abort_state),
20434 (gst_element_commit_state), (gst_element_lost_state),
20435 (gst_element_set_state_func), (gst_element_change_state):
20436 * gst/gstelement.h:
20437 State variables are now protected with the LOCK, the state
20438 lock is only used to serialize _set_state().
20440 2005-10-18 Wim Taymans <wim@fluendo.com>
20442 * check/gst/gstbin.c: (GST_START_TEST):
20443 * check/gst/gstmessage.c: (GST_START_TEST):
20444 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20445 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20447 * gst/gstelement.c: (gst_element_abort_state),
20448 (gst_element_commit_state), (gst_element_lost_state):
20449 * gst/gstmessage.c: (gst_message_new_state_changed),
20450 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20451 (gst_message_new_segment_done), (gst_message_new_duration),
20452 (gst_message_parse_state_changed),
20453 (gst_message_parse_segment_start),
20454 (gst_message_parse_segment_done), (gst_message_parse_duration):
20455 * gst/gstmessage.h:
20456 * tools/gst-launch.c: (event_loop):
20457 Seriously, this is better than a previous commit as we only need
20458 to notify the fact that an element changed state in a streaming
20459 thread, marking the state of the parents dirty, hence the
20460 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20463 2005-10-18 Wim Taymans <wim@fluendo.com>
20465 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20466 (gst_bin_recalc_func):
20467 * gst/gstelement.c: (gst_element_set_clock),
20468 (gst_element_abort_state), (gst_element_lost_state):
20469 Cleanups, prepare for state change fixes.
20471 2005-10-18 Wim Taymans <wim@fluendo.com>
20474 * gst/gstelement.c: (gst_element_class_init),
20475 (gst_element_set_state), (gst_element_set_state_func):
20476 * gst/gstelement.h:
20477 Pending ABI changes.
20478 GThreadPool in GstBinClass to monitor async state changes.
20479 state_cookie in GstElement to detect concurrent gst/set state.
20480 set_state is now virtual too in case a very complicated element
20481 has to be constructed.
20483 2005-10-18 Wim Taymans <wim@fluendo.com>
20485 * check/gst/gstbin.c: (GST_START_TEST):
20486 * check/gst/gstmessage.c: (GST_START_TEST):
20487 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20488 * gst/gstbin.c: (bin_bus_handler):
20489 * gst/gstelement.c: (gst_element_commit_state),
20490 (gst_element_lost_state):
20491 * gst/gstmessage.c: (gst_message_new_state_changed),
20492 (gst_message_new_segment_start), (gst_message_new_segment_done),
20493 (gst_message_new_duration), (gst_message_parse_state_changed),
20494 (gst_message_parse_segment_start),
20495 (gst_message_parse_segment_done), (gst_message_parse_duration):
20496 * gst/gstmessage.h:
20497 * tools/gst-launch.c: (event_loop):
20498 Make messages future proof.
20499 state-change gets a flag if it was a message comming from the
20501 segment-start/stop can also be specified in other formats.
20502 A message to notify an app that a pipeline changed playback
20504 Also fix a GstMessage leak in -launch
20506 2005-10-18 Andy Wingo <wingo@pobox.com>
20508 * gst/gstelement.c (gst_element_dispose): More helpful message.
20510 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20512 reviewed by: <delete if not using a buddy>
20514 * common/gtk-doc.mak:
20516 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20518 * gst/gstregistry.c: (gst_registry_scan_path_level):
20519 unref a plug-in we get that was already initialized
20521 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20523 * docs/gst/gstreamer-sections.txt:
20524 * docs/libs/gstreamer-libs-sections.txt:
20525 * gst/gstelement.h:
20526 add new api entries
20527 hide internal macro
20529 2005-10-17 Andy Wingo <wingo@pobox.com>
20531 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20534 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20536 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20538 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20539 (gst_element_get_state_func): Better debug message.
20540 (gst_element_commit_state): s/INFO/DEBUG/.
20541 (gst_element_lost_state, gst_element_change_state):
20543 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20544 (gst_message_new_custom): s/INFO/LOG/.
20546 2005-10-17 Michael Smith <msmith@fluendo.com>
20548 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20549 Check if end time is valid using end time, not start time.
20551 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20553 * check/gst-libs/controller.c: (GST_START_TEST),
20554 (gst_controller_suite):
20555 * libs/gst/controller/gstcontroller.c:
20556 (gst_controlled_property_set_interpolation_mode):
20557 * libs/gst/controller/gstcontroller.h:
20558 * libs/gst/controller/gstinterpolation.c:
20559 * testsuite/controller/.cvsignore:
20560 * testsuite/controller/Makefile.am:
20561 * testsuite/controller/interpolator.c:
20562 merge controller testsuites
20564 remove mem-chunk from docs
20566 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20568 * gst/gstmemchunk.c:
20569 * gst/gstmemchunk.h:
20570 * gst/gsttrashstack.c:
20571 * gst/gsttrashstack.h:
20572 out. get out. you're fired. to the Attic !
20574 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20576 * gst/gstcaps.c: (gst_caps_intersect):
20577 fix signedness issues in a (hopefully) correct way
20578 * gst/gstelement.c: (gst_element_pads_activate):
20580 * gst/gstobject.c: (gst_object_set_parent):
20583 2005-10-17 Julien MOUTTE <julien@moutte.net>
20585 * gst/gstvalue.h: Fix prototypes.
20587 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20589 * docs/gst/gstreamer-sections.txt:
20590 * gst/gst.c: (gst_version_string):
20592 * gst/gstversion.h.in:
20593 * win32/common/libgstreamer.def:
20594 add gst_version_string ()
20596 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20600 * gst/gst.c: (init_post):
20601 * win32/common/config.h.in:
20603 * gst/gstcaps.c: (gst_caps_intersect):
20604 use gint64, the range could be bigger than a guint
20606 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20609 document potential problem in 2038
20611 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20613 * gst/gstcaps.c: (gst_caps_intersect):
20614 Fix guint j diving under 0
20616 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20619 * win32/common/config.h:
20620 * win32/common/config.h.in:
20621 check for process.h, declares getpid() on Windows
20623 include process.h if we have it
20624 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20625 * gst/gstmemchunk.h:
20626 fix signedness issues
20627 * win32/common/libgstreamer.def:
20630 2005-10-16 Julien MOUTTE <julien@moutte.net>
20632 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20633 fix. Because of unsigned ints, caps intersection was going nuts and
20634 trying to access structures with G_MAXUINT index. That fixes
20635 videotestsrc ! ffmpegcolorspace ! fakesink
20636 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20639 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20642 use the gettext macro
20643 * gst/elements/gstelements.c:
20645 * gst/indexers/gstindexers.c:
20646 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20647 * win32/common/config.h:
20649 * win32/common/config.h.in:
20650 add the template to generate config.h
20651 * win32/common/gstenumtypes.c:
20652 * win32/common/gstversion.h:
20655 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20657 * gst/gst.c: (gst_version):
20658 * gst/gstversion.h.in:
20661 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20664 Oops, add missing closing bracket.
20666 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20669 use common m4's for argument checking
20671 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20673 * docs/gst/gstreamer-sections.txt:
20675 Add GST_EVENT_TYPE_NAME() macro.
20677 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20680 * gst/gstpluginfeature.c:
20682 privatize more symbols
20684 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20687 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20688 everything that uses GStreamer API should have the includes
20690 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20692 * docs/gst/gstreamer-sections.txt:
20693 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20695 give each value a _get_type, removes the DATA exports
20697 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20701 remove _gst_registry_auto_load, not used anymore
20702 * gst/gstbin.c: (gst_bin_get_type):
20704 * gst/gstelement.c: (gst_element_get_type):
20705 * gst/gstelement.h:
20706 * gst/gstobject.c: (gst_object_get_type):
20708 * gst/gstpad.c: (gst_pad_get_type):
20710 make _get_type functions similar, fixes data export from library
20712 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20715 correctly make conditionals
20716 * gst/elements/Makefile.am:
20717 * gst/elements/gstelements.c:
20718 fix typo causing fdsrc not to build
20720 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20722 * testsuite/Makefile.am:
20723 * testsuite/bytestream/.cvsignore:
20724 * testsuite/bytestream/Makefile.am:
20725 * testsuite/bytestream/filepadsink.c:
20726 * testsuite/bytestream/gstbstest.c:
20727 * testsuite/bytestream/test1.c:
20728 * testsuite/bytestream/testfile1:
20729 * testsuite/caps/normalisation.c:
20730 * testsuite/caps/random.c: (main):
20731 * testsuite/cleanup/.cvsignore:
20732 * testsuite/cleanup/Makefile.am:
20733 * testsuite/cleanup/cleanup1.c:
20734 * testsuite/cleanup/cleanup2.c:
20735 * testsuite/cleanup/cleanup3.c:
20736 * testsuite/cleanup/cleanup4.c:
20737 * testsuite/cleanup/cleanup5.c:
20738 * testsuite/controller/interpolator.c:
20739 * testsuite/debug/printf_extension.c: (main):
20740 * testsuite/elements/tee.c:
20741 * testsuite/negotiation/.cvsignore:
20742 * testsuite/negotiation/Makefile.am:
20743 * testsuite/negotiation/pad_link.c:
20744 * testsuite/pad/Makefile.am:
20745 * testsuite/pad/chainnopull.c:
20746 * testsuite/pad/getnopush.c:
20747 * testsuite/pad/link.c:
20748 * testsuite/refcounting/sched.c: (create_pipeline):
20749 * testsuite/registry/Makefile.am:
20750 * testsuite/registry/gst-print-formats.c:
20751 * testsuite/schedulers/.cvsignore:
20752 * testsuite/schedulers/142183-2.c:
20753 * testsuite/schedulers/142183.c:
20754 * testsuite/schedulers/143777-2.c:
20755 * testsuite/schedulers/143777.c:
20756 * testsuite/schedulers/147713.c:
20757 * testsuite/schedulers/147819.c:
20758 * testsuite/schedulers/147894-2.c:
20759 * testsuite/schedulers/147894.c:
20760 * testsuite/schedulers/Makefile.am:
20761 * testsuite/schedulers/group_link.c:
20762 * testsuite/schedulers/queue_link.c:
20763 * testsuite/schedulers/relink.c:
20764 * testsuite/schedulers/unlink.c:
20765 * testsuite/schedulers/unref.c:
20766 * testsuite/schedulers/useless_iteration.c:
20767 * testsuite/states/bin.c:
20768 clean out/remove some stuff from the testsuite directories
20770 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20773 check for some headers
20774 * gst/elements/Makefile.am:
20775 * gst/elements/gstelements.c:
20776 don't compile fdsrc without sys/socket.h
20777 * gst/indexers/Makefile.am:
20778 * gst/indexers/gstindexers.c: (plugin_init):
20779 don't compile fileindex without mmap
20781 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20788 * check/Makefile.am:
20789 * docs/gst/Makefile.am:
20790 * examples/helloworld/Makefile.am:
20792 * gst/base/Makefile.am:
20793 * gst/check/Makefile.am:
20794 * gst/elements/Makefile.am:
20795 * gst/indexers/Makefile.am:
20796 * gst/parse/Makefile.am:
20797 * libs/gst/controller/Makefile.am:
20798 * libs/gst/dataprotocol/Makefile.am:
20799 * examples/helloworld/helloworld.c: (event_loop):
20800 compile fixes, though it's not being compiled currently
20802 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20804 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20805 Add some simple tests for the new taglist date API.
20807 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20809 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20810 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20811 Beautify 'last-message' output: print 'none' for buffer timestamps
20812 and durations if none is set; improve alignment with next messages.
20814 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20816 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20817 * gst/gstpluginfeature.h:
20818 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20819 * gst/gstregistry.h:
20820 * docs/gst/gstreamer-sections.txt:
20821 Add new API to check plugin feature version requirements.
20823 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20824 Some basic tests for the above.
20826 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20828 * gst/gststructure.c: (gst_structure_to_string):
20829 guard against NULL printf - happens when for example
20830 a message structure with GstClock gets serialized
20832 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20834 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20835 Fix presumable copy'n'pasto.
20837 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20839 * gst/elements/gstfakesrc.h:
20840 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20841 * gst/elements/gsttypefindelement.c:
20842 fix some signedness
20843 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20844 I wonder if this could actually write +2GB files before
20846 2005-10-13 Andy Wingo <wingo@pobox.com>
20848 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20849 Fix Timmeke Waymans bug.
20850 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20851 string of the proper length to gst_caps_from_string. There's a
20852 potential for, before this fix, that this could cause someone
20853 connecting over the network to cause a segfault if the payload is
20854 not NUL-terminated.
20856 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20858 * docs/design/draft-push-pull.txt:
20859 * docs/design/part-overview.txt:
20860 * docs/random/TODO-pre-0.9:
20861 * docs/random/old/ChangeLog.gstreamer:
20862 * gst/base/gstpushsrc.c:
20866 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20868 * gst/glib-compat.c: (gst_flags_get_first_value):
20869 * gst/glib-compat.h:
20870 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20871 (gst_value_compare_double), (gst_value_serialize_flags):
20872 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20875 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20878 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20880 * tools/gst-launch.c: (event_loop):
20881 print out clock nicely
20883 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20885 * docs/gst/gstreamer-sections.txt:
20886 * gst/gsttaglist.h:
20887 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20888 (gst_tag_list_get_date_index):
20889 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20890 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20892 2005-10-13 Julien MOUTTE <julien@moutte.net>
20894 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20895 (gst_collectpads_chain):
20896 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20899 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20901 * docs/gst/gstreamer-sections.txt:
20904 * tools/gst-inspect.c: (main):
20905 * tools/gst-launch.c: (main):
20906 * tools/gst-run.c: (main):
20907 * tools/gst-xmlinspect.c: (main):
20908 fix GOption context leaks
20911 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20915 * win32/common/config.h:
20917 * win32/vs6/grammar.dsp:
20918 * win32/vs6/libgstelements.dsp:
20919 * win32/vs6/libgstreamer.dsp:
20922 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20924 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20925 * gst/base/gstbasesrc.c: (gst_base_src_query):
20926 fix more guint64<->gdouble conversions
20928 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20931 add win32-update target
20932 * win32/common/gstconfig.h:
20933 * win32/common/gstenumtypes.c:
20934 * win32/common/gstenumtypes.h:
20935 * win32/common/gstversion.h:
20936 add files that visual studio can't generate
20938 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20941 add a win32-update target
20944 2005-10-12 Wim Taymans <wim@fluendo.com>
20946 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20947 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20948 * gst/gstelement.c: (gst_element_commit_state),
20949 (gst_element_set_state):
20950 Protect flags with proper lock.
20951 unref provided cached clock in dispose.
20953 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20956 * gst/gstminiobject.h:
20958 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20959 removed unused flags from miniobject
20962 2005-10-12 Wim Taymans <wim@fluendo.com>
20964 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20965 (gst_file_sink_event), (gst_file_sink_render):
20966 Flush before seeking.
20968 2005-10-12 Andy Wingo <wingo@pobox.com>
20970 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20971 always been the case.
20973 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20975 * check/gst/gstbin.c: (GST_START_TEST):
20976 * docs/gst/gstreamer-sections.txt:
20977 * gst/base/gstbasesink.c: (gst_base_sink_init):
20978 * gst/base/gstbasesrc.c: (gst_base_src_init),
20979 (gst_base_src_get_range), (gst_base_src_check_get_range),
20980 (gst_base_src_start), (gst_base_src_stop):
20981 * gst/base/gstbasesrc.h:
20982 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20983 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20984 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20988 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20990 * gst/gstelement.c: (gst_element_is_locked_state),
20991 (gst_element_set_locked_state), (gst_element_commit_state),
20992 (gst_element_set_state):
20993 * gst/gstelement.h:
20994 * gst/gstindex.c: (gst_index_init):
20996 * gst/gstminiobject.h:
20997 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20998 (gst_object_set_parent):
21000 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21001 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21003 * gst/gstpadtemplate.h:
21004 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21005 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21006 * gst/gstpipeline.h:
21007 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21008 (gst_file_index_commit):
21009 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21010 * testsuite/pad/link.c: (gst_test_src_init),
21011 (gst_test_filter_init), (gst_test_sink_init):
21012 * testsuite/states/locked.c: (main):
21013 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21014 moved bitshift from macro to enum definition
21016 2005-10-12 Wim Taymans <wim@fluendo.com>
21018 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21019 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21020 (gst_file_sink_render):
21021 Some more debugging info.
21023 2005-10-12 Wim Taymans <wim@fluendo.com>
21025 * docs/design/part-states.txt:
21026 * tools/gst-launch.c: (main):
21028 Revert non-intentional change.
21030 2005-10-12 Wim Taymans <wim@fluendo.com>
21032 * check/gst/gstbin.c: (GST_START_TEST):
21033 * check/gst/gstelement.c: (GST_START_TEST):
21034 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21035 * check/gst/gstghostpad.c: (GST_START_TEST):
21036 * check/gst/gstpipeline.c: (GST_START_TEST):
21037 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21038 * check/states/sinks.c: (GST_START_TEST):
21039 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21040 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21041 (gst_bin_remove_func), (gst_bin_get_state_func),
21042 (gst_bin_recalc_state), (gst_bin_change_state_func),
21044 * gst/gstelement.c: (gst_element_get_state_func),
21045 (gst_element_get_state), (gst_element_abort_state),
21046 (gst_element_commit_state), (gst_element_set_state),
21047 (gst_element_change_state), (gst_element_change_state_func):
21048 * gst/gstelement.h:
21049 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21050 (gst_pipeline_provide_clock_func):
21051 * gst/gstutils.c: (gst_element_link_pads_filtered):
21052 * tools/gst-launch.c: (main):
21053 * tools/gst-typefind.c: (main):
21054 Use GstClockTime in _get_state() instead of GTimeVal.
21055 Remove old code in gstutils.c
21057 2005-10-12 Andy Wingo <wingo@pobox.com>
21059 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21062 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21063 there is no task. Shouldn't affect any code, as nothing in our
21064 plugins checks this return value.
21065 (gst_pad_stop_task): Also take the stream lock if the pad has no
21066 task. Docs updated.
21068 2005-10-12 Wim Taymans <wim@fluendo.com>
21070 * gst/gstpad.c: (pre_activate), (post_activate),
21071 (gst_pad_activate_pull), (gst_pad_activate_push):
21072 Cleanup activation code. Reset old state if
21075 2005-10-12 Wim Taymans <wim@fluendo.com>
21077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21078 (gst_base_sink_change_state):
21079 No need to prerol after receiving EOS.
21081 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21082 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21083 * gst/elements/gstidentity.c: (gst_identity_event):
21084 Print events more verbosely.
21086 2005-10-12 Wim Taymans <wim@fluendo.com>
21088 * check/Makefile.am:
21089 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21090 * check/states/sinks2.c:
21091 Moved sinks2 testcode in sinks check.
21093 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21094 (gst_bin_remove_func), (gst_bin_recalc_state),
21095 (gst_bin_change_state_func), (bin_bus_handler):
21096 Fix potential race condition when _get_state() iterated over an
21097 ASYNC element right before it posted a state completion.
21100 Do proper cast here.
21102 * gst/gstevent.c: (gst_event_new_newsegment),
21103 (gst_event_parse_newsegment):
21104 A playback rate of 0.0 is not allowed.
21106 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21108 * win32/common/config.h:
21109 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21110 (_trewinddir), (_ttelldir), (_tseekdir):
21111 * win32/common/dirent.h:
21112 * win32/common/gtchar.h:
21113 * win32/common/libgstbase.def:
21114 * win32/common/libgstreamer.def:
21115 * win32/vs6/grammar.dsp:
21116 * win32/vs6/gst_inspect.dsp:
21117 * win32/vs6/gst_launch.dsp:
21118 * win32/vs6/gstreamer.dsw:
21119 * win32/vs6/libgstbase.dsp:
21120 * win32/vs6/libgstelements.dsp:
21121 * win32/vs6/libgstreamer.dsp:
21122 Visual Studio 6 project files, and a new common directory.
21125 2005-10-11 Wim Taymans <wim@fluendo.com>
21127 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21128 (gst_base_sink_do_sync), (gst_base_sink_query),
21129 (gst_base_sink_change_state):
21130 * gst/base/gstbasesink.h:
21131 Correctly parse newsegment info.
21133 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21135 * gst/gst.c: (init_post):
21136 split plugin paths correctly
21138 2005-10-11 Wim Taymans <wim@fluendo.com>
21140 * check/gst/gstevent.c: (GST_START_TEST):
21141 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21142 (gst_base_sink_change_state):
21143 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21144 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21145 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21146 * gst/gstevent.c: (gst_event_new_newsegment),
21147 (gst_event_parse_newsegment):
21149 Added extra flag to newsegment for future API freeze.
21150 Updated check and base elements.
21152 2005-10-11 Julien MOUTTE <julien@moutte.net>
21154 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21155 (gst_collectpads_add_pad), (gst_collectpads_pop),
21156 (gst_collectpads_event), (gst_collectpads_chain):
21157 * gst/base/gstcollectpads.h: Handle EOS correctly.
21159 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21161 * tools/gst-launch.c: (main):
21162 more null protecting
21164 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21166 * gst/gst-i18n-lib.h:
21167 check for ENABLE_NLS, not GETTEXT_PACKAGE
21168 * gst/gstregistry.c: (gst_registry_add_plugin),
21169 (gst_registry_scan_path_level),
21170 (_gst_registry_remove_cache_plugins):
21171 protect possibly NULL strings
21172 * gst/parse/types.h:
21173 config.h already included before
21174 * tools/gst-inspect.c: (main):
21175 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21176 check for ENABLE_NLS, not GETTEXT_PACKAGE
21177 * tools/gst-launch.c: (main):
21178 check for ENABLE_NLS, not GETTEXT_PACKAGE
21180 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21183 if we don't have glib, fail before testing 2.8
21184 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21185 fix a leak, should fix plugins-base testsuite
21187 2005-10-11 Andy Wingo <wingo@pobox.com>
21189 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21190 take the mode we're going to as an arg. Go head and set the mode
21191 and flushing flags now, so that if the activate function starts a
21192 thread all the flags will be in the right state.
21193 (post_activate): Renamed also. Just handle making sure streaming
21194 finishes for the deactivation case, and setting the deactivated
21196 (gst_pad_set_active): Complain loudly if deactivation fails.
21197 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21198 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21199 remove the terrible hack.
21201 2005-10-11 Wim Taymans <wim@fluendo.com>
21203 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21204 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21205 (gst_bin_recalc_state), (gst_bin_change_state_func),
21206 (gst_bin_dispose), (bin_bus_handler):
21208 Prepare to make current EOS message queue more generic.
21211 * gst/gstevent.c: (gst_event_new_newsegment),
21212 (gst_event_parse_newsegment):
21214 Rename base to stream_time.
21216 * gst/gstmessage.h:
21219 2005-10-11 Wim Taymans <wim@fluendo.com>
21221 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21222 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21223 (gst_bin_change_state_func), (bin_bus_handler):
21225 Work on proper clock selection.
21227 2005-10-11 Edward Hervey <edward@fluendo.com>
21229 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21230 * libs/gst/controller/gstcontroller.h:
21231 Added GList* version of _remove_properties() in order to be able to wrap
21234 2005-10-11 Wim Taymans <wim@fluendo.com>
21236 * docs/design/part-states.txt:
21239 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21240 (gst_bin_change_state_func), (bin_bus_handler):
21241 Doc updates. Don't distribute the same clock over and over again.
21247 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21248 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21249 (gst_pad_send_event):
21251 Make probe emission threadsafe again.
21252 Register quarks and move _get_name() from utils.
21255 * gst/gstpipeline.c: (gst_pipeline_class_init),
21256 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21257 Only redistribute the clock of it changed.
21259 * gst/gstsystemclock.h:
21264 Moved the _flow_get_name() to GstPad.
21266 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21268 * check/gst-libs/gdp.c: (GST_START_TEST):
21269 * check/gst/gstcaps.c: (GST_START_TEST):
21270 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21271 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21272 (gst_dp_packet_from_caps):
21273 fix more valgrind warnings before turning up the heat
21275 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21277 * gst/parse/grammar.y:
21278 some cleanup before the hacking
21280 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21282 * gst/base/gstbasesrc.c: (gst_base_src_query):
21284 * gst/gstutils.c: (gst_guint64_to_gdouble),
21285 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21287 externalize, basesrc uses it
21288 obviously the implementation needs testing
21290 2005-10-10 Wim Taymans <wim@fluendo.com>
21292 * tests/sched/Makefile.am:
21293 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21294 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21296 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21298 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21299 apparently converting from guint64 to double is not implemented
21302 2005-10-10 Wim Taymans <wim@fluendo.com>
21304 * check/Makefile.am:
21305 * check/generic/states.c: (GST_START_TEST):
21306 * check/gst/gstbin.c: (GST_START_TEST):
21307 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21308 * check/states/sinks.c: (GST_START_TEST):
21309 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21311 Check fixes, use API as stated in design docs, remove hacks.
21313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21314 (gst_base_sink_change_state):
21315 Catch stopping our task while we're shutting down.
21317 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21318 (gst_bin_remove_func), (gst_bin_get_state_func),
21319 (gst_bin_recalc_state), (gst_bin_change_state_func),
21322 * gst/gstelement.c: (gst_element_init),
21323 (gst_element_get_state_func), (gst_element_abort_state),
21324 (gst_element_commit_state), (gst_element_lost_state),
21325 (gst_element_set_state), (gst_element_change_state),
21326 (gst_element_change_state_func):
21327 * gst/gstelement.h:
21328 New state change algorithm (see #318116)
21330 * gst/gstpipeline.c: (gst_pipeline_class_init),
21331 (gst_pipeline_init), (gst_pipeline_set_property),
21332 (gst_pipeline_get_property), (do_pipeline_seek),
21333 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21334 * gst/gstpipeline.h:
21335 Remove crude state change hacks.
21338 Remove crude hacks.
21340 * tools/gst-launch.c: (main):
21341 Fixes for state change. Needs some more work to fully use the
21344 2005-10-10 Andy Wingo <wingo@pobox.com>
21346 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21348 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21349 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21352 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21354 * gst/gstiterator.c: (gst_iterator_new):
21355 Fix my previous commit: GTypes passed to gst_iterator_new()
21356 can be fundamental types.
21358 2005-10-10 Wim Taymans <wim@fluendo.com>
21360 * gst/gstelement.c: (gst_element_iterate_pad_list),
21361 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21362 (gst_element_iterate_sink_pads):
21363 Use src/sink pads lists for the respective iterators instead
21366 2005-10-10 Andy Wingo <wingo@pobox.com>
21368 Merged in popt removal + GOption addition patch from Ronald, bug
21371 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21372 GstElement macros around, remove popt-related symbols, add goption
21375 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21377 * docs/gst/Makefile.am:
21378 * docs/libs/Makefile.am: No POPT_CFLAGS.
21380 * examples/manual/Makefile.am:
21381 * docs/manual/basics-init.xml: Doc updates with an example.
21383 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21384 (gst_init), (parse_one_option), (parse_goption_arg):
21385 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21386 bit of hand merging and debugging to get the GOption stuff working
21389 * tests/Makefile.am:
21390 * tools/Makefile.am:
21391 * tools/gst-inspect.c: (main):
21392 * tools/gst-launch.c: (main):
21393 * tools/gst-run.c: (main):
21394 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21396 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21398 * gst/gstiterator.c: (gst_iterator_new):
21399 Add assertions to make sure passed GType is likely to really
21400 be a GType (as the compiler won't catch it if the size and
21401 GType arguments get mixed up, see #318447).
21403 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21405 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21407 * gst/gstbin.c: (gst_bin_iterate_sorted):
21408 Pass GType and size arguments to gst_iterator_new() in the right
21409 order (maybe we should make _new() take the GType as first argument
21410 just like _new_list()?) (#318447).
21413 2005-10-10 Wim Taymans <wim@fluendo.com>
21415 * gst/gstelement.c: (gst_element_finalize):
21416 And free the GStaticRecMutex too
21418 2005-10-10 Andy Wingo <wingo@pobox.com>
21420 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21421 Allocate and free the mutex properly.
21423 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21425 (GstElement): The state_lock is now recursive. Rebuild your
21426 plugins, suckers. Old macros adapted.
21428 * docs/gst/gstreamer-sections.txt: Doc updates.
21431 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21432 (g_static_rec_cond_wait): Ported from state changes patch, while
21433 we wait on bug #317802 to be solved in a well-distributed GLib.
21435 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21436 gst_element_change_state, variable name changes.
21437 (gst_element_change_state): Split out of gst_element_set_state in
21438 preparation for the state change merge. Doesn't pay attention to
21439 the 'transition' argument.
21440 (gst_element_set_state): Updates, hopefully purely cosmetic.
21441 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21442 state change patch.
21443 (gst_element_get_state_func): Renamed from get_state, cosmetic
21446 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21448 * gst/elements/gstelements.c:
21449 * win32/GStreamer.vcproj:
21451 * win32/dirent.c: (_tseekdir):
21452 * win32/gst-inspect.vcproj:
21453 * win32/gst-launch.vcproj:
21454 * win32/gstconfig.h:
21455 * win32/gstelements.vcproj:
21456 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21457 * win32/gstreamer.def:
21458 * win32/msvc71.sln:
21459 updates for the win32 build (patch from Sebastien Moutte)
21461 2005-10-10 Andy Wingo <wingo@pobox.com>
21463 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21464 gst_bin_get_state, cleaned up (but no logic changes).
21465 (bin_element_is_sink): Comment updates.
21466 (sink_iterator_filter): Remove needless cast.
21467 (gst_bin_iterate_sinks): Doc update.
21468 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21469 cleaned up (but no logic changes).
21471 * check/states/sinks.c (test_src_sink): Cleanups from the state
21473 (test_livesrc_sink): Sync on the state.
21475 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21476 the state change patch.
21478 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21481 * check/gst/gstbin.c: Merge in some style fixes and additional
21482 checks from Wim's state change patch.
21484 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21486 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21487 (gst_type_find_helper):
21488 Check whether we have the requested data already in our list of
21489 cached buffers before pulling a new buffer; also make the buffer
21490 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21492 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21497 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21498 don't use long long, it's not portable. Replacing with
21499 gint64 seems to work; let's hope no skeletons fall out of the closet.
21501 2005-10-10 Andy Wingo <wingo@pobox.com>
21503 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21505 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21507 * docs/gst/gstreamer-sections.txt:
21512 * gst/gstmessage.c: (gst_message_parse_state_changed):
21515 more docs, fix compilation
21517 2005-10-09 Philippe Khalaf <burger@speedy.org>
21518 * gst/gstmessage.c:
21519 Fixed a few forgotten variables on previous commit
21521 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21523 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21524 Fix evil typefind crasher: getrange() might return a short
21525 buffer at the end of a file, but gst_type_find_peek() must
21526 either return the full data as requested or NULL, but
21527 never a short buffer.
21529 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21531 * gst/gstmessage.c: (gst_message_new_state_changed),
21532 (gst_message_parse_state_changed):
21533 * gst/gstmessage.h:
21534 don't use "new", it's a C++ keyword
21536 2005-10-08 Wim Taymans <wim@fluendo.com>
21538 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21539 * gst/gstelement.c: (gst_element_post_message):
21540 * gst/gstpipeline.c: (gst_pipeline_change_state):
21541 Small docs and debug updates.
21543 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21545 * docs/gst/gstreamer-sections.txt:
21546 * gst/gstelementfactory.c:
21548 * gst/gsttaglist.c:
21551 2005-10-08 Wim Taymans <wim@fluendo.com>
21553 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21554 (gst_bin_dispose), (bin_bus_handler):
21555 Fix typos, add comments.
21556 Clear EOS list when going to PAUSED from any direction and do it
21557 in a threadsafe way.
21558 Get base time in a threadsafe way too.
21559 Fix confusing debug in the change_state function.
21560 Various other small cleanups.
21562 * gst/gstelement.c: (gst_element_post_message):
21563 Fix very verbose bus posting code.
21565 * gst/gstpipeline.c: (gst_pipeline_class_init),
21566 (gst_pipeline_set_property), (gst_pipeline_get_property),
21567 (gst_pipeline_change_state):
21568 Small ARG_ -> PROP_ cleanup
21570 2005-10-08 Wim Taymans <wim@fluendo.com>
21572 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21573 Do a less CPU demanding EOS check because we can.
21575 2005-10-08 Wim Taymans <wim@fluendo.com>
21577 * libs/gst/dataprotocol/dataprotocol.c:
21578 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21579 (gst_dp_packet_from_event):
21580 * libs/gst/dataprotocol/dataprotocol.h:
21581 * libs/gst/dataprotocol/dp-private.h:
21582 It's about time we bump the version number.
21583 Since event types don't fit in the guint8 anymore describing
21584 the payload type, make payload type 16 bits wide.
21586 2005-10-08 Wim Taymans <wim@fluendo.com>
21588 * docs/design/part-TODO.txt:
21589 * docs/design/part-clocks.txt:
21590 * docs/design/part-events.txt:
21591 * docs/design/part-gstbin.txt:
21592 * docs/design/part-gstelement.txt:
21593 * docs/design/part-gstpipeline.txt:
21594 * docs/design/part-live-source.txt:
21595 * docs/design/part-messages.txt:
21596 * docs/design/part-overview.txt:
21597 * docs/design/part-states.txt:
21600 2005-10-08 Wim Taymans <wim@fluendo.com>
21604 Fix event quark registration.
21605 Add some space between events so we can insert them in the
21608 2005-10-08 Wim Taymans <wim@fluendo.com>
21610 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21611 (gst_base_sink_handle_buffer):
21612 Better log message.
21615 * gst/gstelement.h:
21618 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21619 (gst_queue_set_property), (gst_queue_get_property):
21621 Remove old unused properties.
21623 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21624 * docs/gst/gstreamer-sections.txt:
21625 * gst/gstmessage.c:
21626 * gst/gstmessage.h:
21627 * gst/gstminiobject.c:
21628 * gst/gstminiobject.h:
21632 lots of new docs and doc fixes
21634 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21636 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21638 * gst/gstregistry.c: (gst_registry_lookup_locked),
21639 (gst_registry_scan_path_level):
21640 * gst/gstregistryxml.c: (load_plugin):
21641 Only ever load one plugin for a given plugin basename.
21642 This ensures correct overriding of GST_PLUGIN_PATH over
21643 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21644 system installed plugins.
21646 2005-10-08 Wim Taymans <wim@fluendo.com>
21648 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21649 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21650 Prepare for doing QOS.
21652 2005-10-08 Wim Taymans <wim@fluendo.com>
21654 * check/gst/gstbin.c: (GST_START_TEST):
21655 * check/pipelines/cleanup.c: (GST_START_TEST):
21656 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21657 Allow new clock message too.
21659 2005-10-08 Wim Taymans <wim@fluendo.com>
21661 * gst/gstmessage.c: (gst_message_new_error),
21662 (gst_message_new_warning), (gst_message_new_tag),
21663 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21664 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21665 (gst_message_new_segment_start), (gst_message_new_segment_done),
21666 (gst_message_parse_state_changed),
21667 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21668 (gst_message_parse_new_clock):
21669 * gst/gstmessage.h:
21670 Also carry the clock in question.
21672 2005-10-08 Wim Taymans <wim@fluendo.com>
21674 * gst/gstmessage.c: (gst_message_new_custom),
21675 (gst_message_new_eos), (gst_message_new_error),
21676 (gst_message_new_warning), (gst_message_new_tag),
21677 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21678 (gst_message_new_new_clock), (gst_message_new_segment_start),
21679 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21680 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21681 * gst/gstmessage.h:
21683 Added clock related messages.
21685 * gst/gstpipeline.c: (gst_pipeline_change_state):
21686 Post message when the clock changed.
21688 * tools/gst-launch.c: (event_loop):
21691 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21693 * tools/gst-inspect.c: (print_element_properties_info):
21694 Can't pass NULL strings to g_print() on windows.
21696 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21698 * docs/Makefile.am:
21699 * docs/gst/Makefile.am:
21700 * docs/gst/gstreamer-docs.sgml:
21701 * docs/gst/running.xml:
21702 * docs/version.entities.in:
21703 add a chapter on running GStreamer.
21704 document GST_DEBUG and GST_PLUGIN* env vars
21706 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21711 remove PLUGINS_BUILDDIR stuff
21712 * gst/gst.c: (init_post):
21713 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21715 remove, it was condescending and not needed
21717 2005-10-08 Wim Taymans <wim@fluendo.com>
21719 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21720 (gst_base_sink_handle_object), (gst_base_sink_event),
21721 (gst_base_sink_wait), (gst_base_sink_handle_event),
21722 (gst_base_sink_change_state):
21723 * gst/base/gstbasesink.h:
21724 Repost EOS message while going to PLAYING if still EOS.
21725 Make sure that when receiving a FLUSH_START we don't attempt
21726 to sync on the clock anymore.
21728 2005-10-08 Wim Taymans <wim@fluendo.com>
21730 * tools/gst-launch.c: (event_loop):
21731 Better message printout.
21733 2005-10-08 Wim Taymans <wim@fluendo.com>
21735 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21736 (gst_bin_child_proxy_get_children_count):
21737 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21738 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21739 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21740 (gst_child_proxy_set_valist):
21741 * gst/parse/grammar.y:
21742 Make ChildProxy threadsafe and fix mem leaks.
21744 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21746 * gst/gst.c: (init_post):
21747 debug the GST_PLUGIN_ env vars
21749 2005-10-08 Wim Taymans <wim@fluendo.com>
21751 * check/gst/gstbin.c: (GST_START_TEST):
21752 * check/gst/gstmessage.c: (GST_START_TEST):
21753 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21754 * gst/gstelement.c: (gst_element_commit_state),
21755 (gst_element_lost_state):
21756 * gst/gstmessage.c: (gst_message_new_state_changed),
21757 (gst_message_parse_state_changed):
21758 * gst/gstmessage.h:
21759 * tools/gst-launch.c: (event_loop):
21760 Added extra field to STATE_CHANGE message with the pending
21761 state, which will be different from the new state soon.
21763 2005-10-08 Wim Taymans <wim@fluendo.com>
21765 * gst/gstbus.c: (gst_bus_pop):
21767 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21768 Small cleanups and doc updates.
21770 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21772 * gst/gst.c: (init_pre):
21773 * gst/gstbin.c: (gst_bin_add_func):
21774 log distributing clocks and base time
21775 * gst/gstregistry.c: (gst_registry_add_plugin),
21776 (gst_registry_scan_path_level), (gst_registry_scan_path):
21777 clean up the debugging output a little
21778 * gst/gstutils.c: (gst_element_state_get_name):
21779 warn about a memleak (I've actually seen this be used, though
21780 it was probably a bug)
21782 2005-10-07 Wim Taymans <wim@fluendo.com>
21784 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21785 (gst_base_src_init), (gst_base_src_default_newsegment),
21786 (gst_base_src_newsegment), (gst_base_src_do_seek),
21787 (gst_base_src_loop), (gst_base_src_start):
21788 * gst/base/gstbasesrc.h:
21789 Make the newsegment event customizable by subclasses.
21791 2005-10-07 Wim Taymans <wim@fluendo.com>
21793 * gst/gstevent.c: (gst_event_new_buffersize),
21794 (gst_event_parse_buffersize):
21796 New event for future idea.
21798 2005-10-07 Andy Wingo <wingo@pobox.com>
21800 * gst/gstelement.c (gst_element_post_message): Doc update.
21802 * docs/gst/gstreamer-sections.txt: Update.
21804 * gst/gstmessage.c (gst_message_new_application): Made into a
21805 function like honest API calls.
21806 (gst_message_new_element): New message type.
21808 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21810 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21811 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21814 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21815 NO_PREROLL from gst_element_change_state to fall through.
21817 2005-10-07 Wim Taymans <wim@fluendo.com>
21819 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21820 (gst_ghost_pad_do_activate_push):
21821 Activating a ghostpad with no internal pad in push mode
21824 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21827 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21828 Fixes compilation on Windows.
21830 2005-10-07 Michael Smith <msmith@fluendo.com>
21832 * tools/gst-inspect.c:
21833 Print out feature and plugin count at the end when printing out
21836 2005-10-04 Michael Smith <msmith@fluendo.com>
21838 * gst/gsterror.c: (_gst_stream_errors_init):
21839 Add another error string used in a few existing plugins.
21842 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21843 * tools/gst-inspect.c: (print_element_info):
21844 When a feature disappears from a plugin (and the feature exists in
21845 the cached registry file), things went horribly wrong. This isn't a
21846 complete fix, we should actually be removing the 'missing' features
21847 from the features list when we load the actual plugin. That's not
21850 2005-10-04 Johan Dahlin <johan@gnome.org>
21852 * check/gst/gstiterator.c: (GST_START_TEST):
21853 * gst/gstbin.c: (gst_bin_iterate_elements),
21854 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21855 * gst/gstelement.c: (gst_element_iterate_pads):
21856 * gst/gstformat.c: (gst_format_iterate_definitions):
21857 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21858 (gst_iterator_new_list), (gst_iterator_filter):
21859 * gst/gstiterator.h:
21860 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21861 Add a GType to GstIterator, update callsites and tests.
21863 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21865 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21866 give events a chance to be handled by event probes when the pad
21869 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21871 * gst/gstevent.c: (gst_event_type_get_name),
21872 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21874 add string representations for event types
21876 2005-10-06 Wim Taymans <wim@fluendo.com>
21878 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21879 Don't use NULL pointers.
21881 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21883 * gst/gst_private.h:
21885 * gst/gstelement.c:
21887 * gst/gstpluginfeature.c:
21888 widen the debug category in output to fit the biggest one we have
21889 add a bus category and use it
21890 play with the colors
21891 fix up some categories
21893 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21895 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21896 add push activation of sink ghost pads.
21897 Andye, please verify
21899 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21901 * gst/gstutils.c: (gst_element_link_pads):
21902 fix a bug in the case where neither element has a pad
21903 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21904 add a test for that case
21906 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21908 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21909 emit have-data before checking for peers. This allows
21910 for probe handlers to connect elements. This helps autopluggers.
21911 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21913 add six checks, linked/unlinked with no/true/false probe
21915 2005-10-04 Wim Taymans <wim@fluendo.com>
21917 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21918 (gst_fake_sink_event), (gst_fake_sink_preroll),
21919 (gst_fake_sink_render), (gst_fake_sink_change_state):
21920 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21921 (gst_fake_src_get_property), (gst_fake_src_create),
21922 (gst_fake_src_stop):
21923 * gst/elements/gstidentity.c: (gst_identity_stop):
21924 Protect last_message with lock.
21926 2005-10-04 Edward Hervey <edward@fluendo.com>
21929 Added precision in the comments for GST_FORMAT_DEFAULT
21931 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21933 * tools/gst-launch.c: (main):
21934 Don't try to run erroneous pipelines.
21936 2005-10-04 Julien MOUTTE <julien@moutte.net>
21938 * gst/gstbus.c: We don't need this header.
21940 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21943 back to development
21945 === release 0.9.3 ===
21947 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21951 Releasing 0.9.3, "Unregistered"
21953 2005-10-03 Andy Wingo <wingo@pobox.com>
21955 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21956 whereby calling a pad's activatepush() function can start a thread
21957 that starts to push or pull before the pad gets the FLUSHING flag
21958 unset. Hack around it by holding the stream lock until the flag is
21959 set. Need to replace this with a proper solution. Together with
21960 the ghost pad fixes, this fixes mp3 playing/tagreading.
21962 * docs/design/part-gstghostpad.txt: Add a note about activation of
21963 proxy pads outside of ghost pads.
21965 * gst/gstghostpad.c: Implement the ghost pad activation design.
21967 2005-10-02 Andy Wingo <wingo@pobox.com>
21969 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21970 It is volatile, after all.
21972 * docs/design/part-gstghostpad.txt: Flesh out activation with
21975 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21978 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21981 Fix (unused) AM_CONDITIONAL tests.
21983 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21985 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21987 * gst/gstutils.c: (gst_pad_query_convert):
21988 Add assertion that makes sure src_val is >=0, just like
21989 gst_query_new_convert() has. (#315895)
21991 2005-09-30 Edward Hervey <edward@fluendo.com>
21993 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21994 Let's not iterate pads we're not interested in, it avoids getting
21995 sky-high refcounts on sinkpad.
21997 2005-09-30 Wim Taymans <wim@fluendo.com>
21999 * gst/gstelement.c: (gst_element_set_state),
22000 (gst_element_change_state):
22001 Small tweak, element in ASYNC remains ASYNC.
22003 2005-09-30 Wim Taymans <wim@fluendo.com>
22005 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22006 Only error is an error.
22008 * gst/gstbin.c: (gst_bin_change_state):
22011 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22012 Also call pad_block in pad alloc.
22014 * gst/gstutils.c: (gst_flow_get_name):
22017 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22019 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22020 (gst_base_src_get_range):
22021 Fix documentation typos. Add some more debug info.
22023 2005-09-29 David Schleef <ds@schleef.org>
22025 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22026 more end-user friendly.
22027 * tools/gst-inspect.c: (main): Check if command-line argument is
22028 a file and attempt to load that file as a plugin.
22030 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22032 * check/gst/gstbin.c:
22033 * check/states/sinks.c:
22034 fix tests for the new warning
22035 * check/gst/gstpipeline.c:
22036 add a test for pipeline and bus interaction
22037 * gst/gstelement.c:
22038 elements should be NULL if they get disposed; add a warning if not
22040 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22043 for 2.6 refcounting, make debug log more correct by printing
22044 the actual refcounts at the time of swap (Wim)
22046 2005-09-29 Andy Wingo <wingo@pobox.com>
22048 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22049 removes signal watches previously added via
22050 gst_bus_add_signal_watch.
22051 (gst_bus_add_signal_watch): Don't return the source id, just store
22052 it on the bus if there wasn't an id already.
22054 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22055 add_signal_watch and remove_signal_watch.
22057 2005-09-29 Edward Hervey <edward@fluendo.com>
22059 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22060 Better if we actually iterate the list :)
22062 2005-09-29 Wim Taymans <wim@fluendo.com>
22064 * check/gst/gstbin.c: (GST_START_TEST):
22065 Change for new bus API.
22067 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22068 (send_messages), (GST_START_TEST), (gstbus_suite):
22069 Change for new bus signal API.
22071 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22072 (gst_bus_source_prepare), (gst_bus_source_check),
22073 (gst_bus_create_watch), (gst_bus_add_watch_full),
22074 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22075 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22077 Remove support for multiple GSources operating on different
22078 message types as it is too complex and unneeded when using
22080 Added support for receiving signals from the bus.
22082 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22084 * docs/libs/tmpl/gstdataprotocol.sgml:
22085 * docs/manual/advanced-dataaccess.xml:
22086 * gst/elements/gstcapsfilter.c:
22088 rename filter-caps to caps property
22090 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22092 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22093 More robust fraction string parsing.
22095 * docs/pwg/appendix-porting.xml:
22096 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22098 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22100 * gst/gstcaps.c: (gst_caps_do_simplify):
22101 Thou shalt not free a structure and then continue using it
22102 in the next loop iteration.
22104 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22106 Add test case for caps simplification.
22108 2005-09-29 Wim Taymans <wim@fluendo.com>
22110 * check/gst/gstbin.c: (GST_START_TEST):
22113 2005-09-29 Wim Taymans <wim@fluendo.com>
22115 * check/gst/gstbin.c: (GST_START_TEST):
22118 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22119 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22120 (find_element), (gst_bin_sort_iterator_next),
22121 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22122 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22123 (gst_bin_change_state), (gst_bin_dispose):
22124 A bin does not have a bus, it gets the bus from the parent.
22126 * gst/gstelement.c: (gst_element_requires_clock),
22127 (gst_element_provides_clock), (gst_element_is_indexable),
22128 (gst_element_is_locked_state), (gst_element_change_state),
22129 (gst_element_set_bus_func):
22132 * gst/gstpipeline.c: (gst_pipeline_class_init),
22133 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22134 The pipeline provides a bus.
22136 2005-09-28 Johan Dahlin <johan@gnome.org>
22138 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22139 gst_structure_get_enum instead of gst_structure_get_int
22141 * gst/gststructure.c (gst_structure_get_enum): Impl.
22143 * gst/gststructure.h (gst_structure_get_enum): Add
22145 * docs/gst/gstreamer-sections.txt: Ditto
22147 * gst/gstmessage.c (gst_message_new_state_changed): Use
22148 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22149 which does introspection.
22150 Reviewed by Christian Schaller
22152 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22154 * gst/gstinfo.c: (gst_debug_log_default):
22155 don't do dummy g_strdup()s
22156 * libs/gst/controller/gstcontroller.c:
22157 (on_object_controlled_property_changed),
22158 (gst_controlled_property_new), (gst_controller_new_valist),
22159 (gst_controller_new_list),
22160 (gst_controller_remove_properties_valist), (gst_controller_set),
22161 (gst_controller_get), (gst_controller_sync_values),
22162 (gst_controller_get_value_array), (_gst_controller_class_init),
22163 (gst_controller_get_type):
22164 * libs/gst/controller/gstcontroller.h:
22165 * libs/gst/controller/gstinterpolation.c:
22166 (gst_controlled_property_find_timed_value_node):
22167 convert // to /**/ comments
22169 2005-09-28 Wim Taymans <wim@fluendo.com>
22171 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22172 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22173 (gst_bus_sync_signal_handler):
22175 Added async-message and sync-message signals to the bus.
22176 Added helper BusFunc to emit signals for all posted messages.
22178 * gst/gstmessage.c: (gst_message_type_get_name),
22179 (gst_message_type_to_quark), (gst_message_get_type):
22180 * gst/gstmessage.h:
22181 Register quarks for message names.
22183 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22185 * docs/libs/gstreamer-libs-sections.txt:
22186 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22187 (gst_controller_new_list):
22188 * libs/gst/controller/gstcontroller.h:
22189 added another constructor for language bindings
22191 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22193 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22197 * gst/gstinfo.c: (_gst_debug_init):
22198 slightly more readable color for refcount debugging
22200 2005-09-28 Wim Taymans <wim@fluendo.com>
22202 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22203 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22204 (find_element), (gst_bin_sort_iterator_next),
22205 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22206 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22207 (gst_bin_change_state), (gst_bin_dispose):
22208 Small doc fixes. get_clock -> provide_clock.
22210 * gst/gstelement.c: (gst_element_class_init),
22211 (gst_element_provides_clock), (gst_element_provide_clock),
22212 (gst_element_get_clock), (gst_element_commit_state),
22213 (gst_element_lost_state):
22214 * gst/gstelement.h:
22215 Make get/set_clock() symetric. Add provide_clock vmethod since
22216 that is actually what this function does.
22218 * gst/gstpipeline.c: (gst_pipeline_class_init),
22219 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22220 (gst_pipeline_get_clock):
22221 get_clock -> provide_clock.
22223 2005-09-28 Andy Wingo <wingo@pobox.com>
22225 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22226 lieu of real docs...
22228 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22230 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22232 * gst/elements/gstcapsfilter.c:
22233 * gst/elements/gstfakesink.c:
22234 * gst/elements/gstfakesrc.c:
22235 * gst/elements/gstfdsink.c:
22236 * gst/elements/gstfdsrc.c:
22237 * gst/elements/gstfilesink.c:
22238 * gst/elements/gstfilesrc.c:
22239 * gst/elements/gstidentity.c:
22240 * gst/elements/gsttee.c:
22241 * gst/elements/gsttypefindelement.c:
22242 Make element details static.
22244 2005-09-28 Wim Taymans <wim@fluendo.com>
22246 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22247 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22248 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22249 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22250 (gst_bin_change_state), (gst_bin_dispose):
22251 Some documentation updates.
22252 Clean up dispose handlers.
22254 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22255 * gst/gstpad.c: (gst_pad_dispose):
22256 Clean up dispose handler.
22258 * gst/gstpipeline.c: (gst_pipeline_change_state):
22259 Removed spurious UNLOCK.
22261 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22263 * docs/gst/gstreamer-sections.txt:
22264 * gst/base/gstbasesrc.h:
22265 * gst/gstelement.h:
22269 * gst/gstpipeline.c:
22270 * gst/gstpipeline.h:
22273 added two new functions to the docs
22274 documents all undocumented GstXXXFlags
22275 completed some incomplete docs
22277 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22279 * gst/gstbin.c: (gst_bin_dispose):
22280 * gst/gstelement.c: (gst_element_dispose):
22281 remove now useless and leaky resurrection code in dispose
22282 * gst/base/gstbasesrc.c: (gst_base_src_init):
22283 * gst/gstelementfactory.c: (gst_element_factory_create):
22284 * gst/gstobject.c: (gst_object_set_parent):
22287 2005-09-27 Wim Taymans <wim@fluendo.com>
22289 * docs/design/part-TODO.txt:
22292 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22293 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22294 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22295 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22296 (gst_bin_change_state):
22297 * gst/gstelement.h:
22298 Remove element variable, we keep element info in the iterator now.
22300 2005-09-27 Andy Wingo <wingo@pobox.com>
22302 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22305 2005-09-27 Wim Taymans <wim@fluendo.com>
22307 * check/gst/gstbin.c: (GST_START_TEST):
22308 Enable check that works now.
22310 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22311 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22312 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22313 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22314 (gst_bin_change_state):
22316 Redid the state change algorithm using a topological sort algo.
22317 Handles all cases correctly.
22318 Exposed iterator for state change order.
22320 * gst/gstelement.h:
22321 Temp storage for state changes. Need to get rid of this soon.
22323 2005-09-27 Wim Taymans <wim@fluendo.com>
22325 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22326 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22327 (link_fold_func), (gst_pad_proxy_setcaps):
22328 Leak fixes, the fold functions need to unref the passed object and
22329 _get_parent_*() returns ref to parent.
22331 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22333 * check/gst/gstbuffer.c: (test_make_writable):
22334 Plug leak in test case and fix 'make check-valgrind'
22336 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22338 * gst/gstbuffer.c: (gst_subbuffer_init):
22339 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22340 works correctly in all circumstances (we could have just copied
22341 the parent buffer's readonly flag, but conceptually it seems
22342 cleaner to mark all subbuffers as read-only). (based on patch
22343 by Alessandro Decina, #314710).
22345 * check/gst/gstbuffer.c: (create_read_only_buffer),
22346 (test_make_writable), (test_subbuffer_make_writable),
22348 Add some tests for gst_buffer_make_writable().
22350 2005-09-27 Wim Taymans <wim@fluendo.com>
22352 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22353 use gst_object_has_ancestor().
22355 * gst/gstobject.c: (gst_object_has_ancestor):
22357 gst_object_has_ancestor() copied from gstbin.c as it is a
22360 * tests/instantiate/create.c: (create_all_elements):
22361 * tests/lat.c: (handoff_src), (handoff_sink):
22362 * tests/sched/runxml.c: (main):
22363 * tests/seeking/seeking1.c: (main):
22364 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22366 Fix compilation of some tests.
22368 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22371 Remove comment. GST_TYPE_G_ERROR is here to stay,
22372 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22373 (#316961, #300610).
22375 2005-09-26 Wim Taymans <wim@fluendo.com>
22377 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22378 Added check that shows error in state change order.
22380 2005-09-26 Wim Taymans <wim@fluendo.com>
22382 * gst/gstbin.c: (gst_bin_change_state):
22383 Make state change function use 3 queues again, we were
22384 adding elements in the wrong order.
22386 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22389 * gst/gstpad.c: (gst_pad_dispose):
22390 Added some debug info first.
22392 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22394 * docs/design/draft-push-pull.txt:
22395 * docs/design/part-events.txt:
22396 * docs/design/part-overview.txt:
22397 * docs/design/part-scheduling.txt:
22398 Replace all _pull_region() with _pull_range()
22400 2005-09-26 Andy Wingo <wingo@pobox.com>
22402 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22404 * check/gst-libs/controller.c: Update for controller api change.
22407 * tests/Makefile.am:
22408 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22409 over by GLib bug 118439.
22411 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22412 routines to a function.
22414 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22416 * libs/gst/controller/gsthelper.c:
22417 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22418 (gst_object_sync_values): Renamed from sink_values. Ugh.
22420 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22422 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22423 Renamed from controller_key, as it is exported.
22425 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22427 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22432 * gst/gstpadtemplate.h:
22435 * gst/gstqueryutils.c:
22436 * gst/gstqueryutils.h:
22437 remove queryutils headers after moving the two used functions
22438 to gstquery. also fixes build problem for gstsiddec
22440 2005-09-26 Michael Smith <msmith@fluendo.com>
22442 * tools/gst-launch.1.in:
22443 Correct documentation in manpage of debug syntax
22445 2005-09-26 Wim Taymans <wim@fluendo.com>
22447 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22448 (gst_base_src_is_seekable), (gst_base_src_change_state):
22449 Some more debugging info.
22451 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22453 * docs/gst/gstreamer-sections.txt:
22454 * gst/base/gstbasetransform.h:
22458 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22460 * docs/gst/.cvsignore:
22461 * docs/gst/tmpl/.cvsignore:
22462 * docs/gst/tmpl/gstpipeline.sgml:
22463 * docs/gst/tmpl/gstplugin.sgml:
22464 * gst/gstpipeline.c:
22467 inlined the last two docs files
22468 removed the tmpl directory from cvs (no more conflicts here!)
22470 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22472 * docs/gst/gstreamer-sections.txt:
22473 * docs/gst/tmpl/.cvsignore:
22474 * docs/gst/tmpl/gstpad.sgml:
22475 * docs/gst/tmpl/gstpadtemplate.sgml:
22477 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22478 (gst_pad_finalize), (gst_pad_set_pad_template):
22480 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22481 (gst_pad_template_class_init), (gst_pad_template_init),
22482 (gst_pad_template_dispose), (name_is_valid),
22483 (gst_static_pad_template_get), (gst_pad_template_new),
22484 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22485 (gst_pad_template_pad_created):
22486 * gst/gstpadtemplate.h:
22487 inlined two more docs
22488 factored gstpadtemplate out of gstpad
22490 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22492 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22493 (test_children_state_change_order_semi_sink):
22494 Fix test case: we can't rely on a fixed state change order when
22495 going from READY => PAUSED because the sink might commit its
22496 new state first when the first buffer created by the source
22497 reaches the sink before the source has finished its change state.
22498 (Test case still fails at times, see #316856, comment 5 onwards)
22500 2005-09-24 Wim Taymans <wim@fluendo.com>
22502 * docs/design/part-events.txt:
22503 * docs/design/part-gstbus.txt:
22504 * docs/design/part-gstpipeline.txt:
22505 * docs/design/part-messages.txt:
22506 * docs/design/part-overview.txt:
22507 * docs/design/part-segments.txt:
22511 * gst/gstelement.c:
22514 * gst/gstiterator.c:
22515 Various documentation updates.
22517 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22520 Well, that's embarassing. Luckily we weren't using
22521 GST_CLOCK_DIFF anywhere.
22523 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22525 * common/gtk-doc.mak:
22526 don't fail on building XML, FC4 slave shows a bunch of doc
22527 missing bits that I don't get
22529 * gst/gstpipeline.c:
22530 * gst/gststructure.c:
22533 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22535 * docs/design/part-gstbin.txt:
22536 * docs/design/part-gstbus.txt:
22538 Add blurb about how the bus goes into flushing mode and
22539 drops all messages when its bin goes from READY into NULL
22542 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22544 * docs/gst/gstreamer-sections.txt:
22545 * gst/gststructure.c: (gst_structure_get_clock_time):
22546 * gst/gststructure.h:
22547 add a method to get a GstClockTime out of a structure
22549 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22551 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22552 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22553 Added test to check state change order in bins (can still be made
22554 to fail here under heavy disk load; bails out with 'Push on pad
22555 fakesink:sink0, but it was not activated in push mode').
22557 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22558 Fix state change order when there is only a semi sink (#316856)
22560 * gst/gstbus.c: (gst_bus_class_init):
22561 Use _class_peek_parent(), not _class_ref(); fix docs to say
22562 'default main context' instead of 'mainloop' where that is
22565 * gst/gstelement.c: (gst_element_commit_state),
22566 (gst_element_set_state):
22567 Fix typos in debug messages
22569 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22572 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22573 * gst/gstpluginfeature.c:
22575 various doc updates
22576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22577 change an assert into an error until it gets fixed properly
22579 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22581 * docs/gst/gstreamer-sections.txt:
22582 * docs/gst/tmpl/.cvsignore:
22583 * docs/gst/tmpl/gstelement.sgml:
22584 * docs/gst/tmpl/gstinfo.sgml:
22585 * docs/gst/tmpl/gstobject.sgml:
22586 * gst/gstelement.c:
22587 * gst/gstelement.h:
22590 * gst/gstobject.c: (gst_object_class_init):
22592 inlined 3 more biiiig doc files and added some missing docs on the fly
22594 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22596 * check/gst/.cvsignore:
22597 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22598 * gst/gstregistryxml.c: (load_plugin),
22599 (gst_registry_xml_save_plugin):
22600 put back source in registry. add checks for find_plugin.
22601 * testsuite/states/bin.c: (assert_state), (empty_bin),
22602 (test_adding_one_element), (main):
22603 * testsuite/states/locked.c: (main):
22604 some compile/run fixes
22606 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22608 * check/gst/gstvalue.c: (GST_START_TEST):
22609 fix leaks in the test itself
22611 2005-09-22 Wim Taymans <wim@fluendo.com>
22613 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22614 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22615 (gst_base_sink_query):
22616 Prepare for more accurate position reporting and query
22619 * gst/gstelement.c: (gst_element_send_event),
22620 (gst_element_set_state):
22623 2005-09-22 Wim Taymans <wim@fluendo.com>
22625 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22626 (gst_query_parse_segment):
22628 More documentation.
22629 Add segment query for future use.
22631 2005-09-22 Wim Taymans <wim@fluendo.com>
22633 * gst/gstbin.c: (gst_bin_add_func):
22634 Some more debug info.
22636 * gst/gstelement.c: (gst_element_send_event):
22637 Simplify send_event
22639 * gst/gstelement.h:
22640 Don't know how flags got broken.
22645 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22647 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22648 Add simplistic test suite for GST_TYPE_DATE serialisation and
22651 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22653 * docs/gst/gstreamer-sections.txt:
22654 * gst/gststructure.c: (gst_structure_set_valist),
22655 (gst_structure_get_date):
22656 * gst/gststructure.h:
22657 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22658 (gst_date_copy), (gst_value_compare_date),
22659 (gst_value_serialize_date), (gst_value_deserialize_date),
22660 (gst_value_transform_date_string),
22661 (gst_value_transform_string_date), (_gst_value_initialize):
22663 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22664 bunch of utility functions along with a hack that checks that
22665 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22666 is required. Part of the grand scheme in #170777.
22668 2005-09-22 Andy Wingo <wingo@pobox.com>
22670 * gst/gstconfig.h.in: Psych out gtk-doc.
22672 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22674 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22676 * tools/gst-inspect.c (print_element_list): Plug some
22677 inconsequential leaks.
22679 * gst/gstregistry.c (gst_registry_get_default): Doc.
22681 * check/gst/gstplugin.c:
22682 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22683 * gst/gstelementfactory.c (gst_element_factory_create):
22684 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22687 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22688 (gst_plugin_feature_load): Doc, don't eat refs.
22690 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22691 (gst_plugin_list_free): Doc.
22692 (gst_plugin_load_file): Doc updates.
22694 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22695 accessors returning refcounted objects, return a ref.
22697 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22698 accessor for caps. IDEMPOTENCE. Oh yes.
22700 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22702 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22704 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22705 (_gst_debug_register_funcptr):
22706 Add mutex to serialise access to the hash table with
22707 the function pointer => function name string mapping;
22708 make that hash table static scope (#316809).
22710 * gst/registries/.cvsignore:
22711 Remove left-over file.
22713 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22715 * docs/pwg/appendix-porting.xml:
22716 And something about newsegment events and caps-on-buffers to
22717 the porting guide (feel free to improve).
22719 2005-09-21 Andy Wingo <wingo@pobox.com>
22721 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22722 data and event probes on the same pad.
22723 (test_buffer_probe_once): Test that removing probes from within
22724 the probe functions works.
22726 2005-09-21 Andy Wingo <wingo@pobox.com>
22728 * check/gst/gstutils.c: New file.
22729 (test_buffer_probe_n_times): A simple buffer probe test. More to
22732 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22733 have-data::buffer, not have-data.
22734 (gst_pad_add_event_probe): Likewise for have-data::event.
22735 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22736 peer' isn't quite right yet though.
22737 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22738 (gst_pad_remove_data_probe): Change to take the guint handler_id
22739 as their arg, not the function+data, which is more glib-like.
22741 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22742 the signal emission to indicate if the data is a buffer or an
22744 (gst_pad_get_type): Initialize buffer and event quarks.
22745 (gst_pad_class_init): have-data is now a detailed signal, yes it
22748 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22750 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22751 * gst/gstutils.c: (gst_util_set_value_from_string),
22752 (gst_util_set_object_arg):
22753 Don't put functional code in g_return_if_fail() or
22754 g_return_val_if_fail() statements, otherwise things will
22755 break when G_DISABLE_CHECKS is defined during compilation.
22757 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22759 * docs/gst/tmpl/.cvsignore:
22760 * docs/gst/tmpl/gstvalue.sgml:
22763 inlied another one and added some obvious docs
22765 2005-09-21 Wim Taymans <wim@fluendo.com>
22767 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22768 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22769 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22770 (gst_fdsrc_get_property), (gst_fdsrc_create):
22771 * gst/elements/gstfdsrc.h:
22772 Properly implement fdsrc. Removed signal and timeout,
22773 better implemented somewhere else.
22775 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22777 * docs/gst/tmpl/.cvsignore:
22778 * docs/gst/tmpl/gstimplementsinterface.sgml:
22779 * gst/gstinterface.c:
22782 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22784 * docs/gst/gstreamer-sections.txt:
22785 * docs/gst/tmpl/.cvsignore:
22786 * docs/gst/tmpl/gstenumtypes.sgml:
22787 remove obsolete doc file
22789 2005-09-21 David Schleef <ds@schleef.org>
22791 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22792 little beer, fix a little leak.
22794 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22796 * docs/gst/gstreamer-docs.sgml:
22797 * docs/gst/gstreamer-sections.txt:
22798 * docs/gst/tmpl/.cvsignore:
22802 * gst/gstelement.h:
22803 * gst/gstindex.c: (gst_index_class_init):
22805 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22806 (gst_index_factory_class_init), (gst_index_factory_init),
22807 (gst_index_factory_finalize), (gst_index_factory_new),
22808 (gst_index_factory_destroy), (gst_index_factory_find),
22809 (gst_index_factory_create), (gst_index_factory_make):
22810 * gst/gstindexfactory.h:
22811 * gst/gstpluginfeature.c:
22812 * gst/gstpluginfeature.h:
22813 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22814 more docs inlined, splitted gstindex.{c,h}
22816 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22818 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22821 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22823 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22824 Set sync to FALSE by default.
22826 2005-09-20 Wim Taymans <wim@fluendo.com>
22828 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22829 (gst_base_sink_init):
22830 Make sync property settable from subclass.
22832 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22833 (gst_fake_sink_change_state):
22834 Set sync to FALSE by default.
22836 2005-09-20 Wim Taymans <wim@fluendo.com>
22838 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22839 * tools/gst-launch.c: (main):
22840 The timeout handler should have lower priority than the source
22841 so we don't timeout before popping a message with 0 timeout.
22842 Dump error messages after failed state change.
22844 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22846 * tools/gst-inspect.c: (print_element_properties_info):
22849 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22851 * check/gst/gstevent.c:
22852 * gst/elements/gstfakesink.c:
22853 * gst/elements/gstfakesink.h:
22854 remove the sync property from fakesink.
22855 has the side effect of setting sync TRUE
22856 for fakesink, which is a change. Anyone who knows how
22857 to fix this nicely in a GObject-y way, feel free.
22859 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22861 * docs/gst/gstreamer-docs.sgml:
22862 remove probe refsection
22864 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22866 * check/Makefile.am:
22867 disable valgrinding the controller test again
22868 * docs/gst/gstreamer-sections.txt:
22869 update for api-changes
22871 2005-09-20 Wim Taymans <wim@fluendo.com>
22873 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22874 (gst_base_sink_set_property), (gst_base_sink_get_property),
22875 (gst_base_sink_do_sync):
22876 * gst/base/gstbasesink.h:
22877 Added sync property to basesink to disable clock sync.
22879 2005-09-20 Andy Wingo <wingo@pobox.com>
22881 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22882 eating the caller's refcount.
22884 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22885 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22888 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22889 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22890 of GLib 2.8 public, so we can know which refcount to check in
22893 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22894 (gst_object_init): Only set the gst refcount if we're going ahead
22895 with the refcount hack.
22897 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22899 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22900 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22901 more leaks plumbed, added more debug-logging
22905 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22907 * gst/gstmessage.c:
22908 remove include of gstmemchunk.h
22910 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22912 * gst/gstclock.c: (_gst_clock_id_free):
22913 Commit from the Political Party For More Atomic CVS Commits,
22914 so that people don't waste too much of their day fishing
22915 out obvious leaks out of massive commits.
22916 Oh, and fix a pretty damn obvious leak in the memchunk
22919 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22921 * check/Makefile.am:
22922 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22923 plug mem-leak, re-add to valgrindable tests
22925 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22928 unbreak the build for those who have chronic arthritis
22929 and typing "make check" is just too taxing on the hands
22931 2005-09-20 Andy Wingo <wingo@pobox.com>
22933 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22934 really want it out, you should fix plugins at the same time.
22936 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22939 * docs/gst/gstreamer-sections.txt:
22941 added missing symbols to api docs
22942 disable ref-count hack if we have glib >= 2.8
22944 2005-09-19 David Schleef <ds@schleef.org>
22946 * docs/gst/Makefile.am: Ignore a few more internal headers
22947 * docs/gst/gstreamer-docs.sgml: Remove old sections
22948 * docs/gst/gstreamer-sections.txt: Remove old sections
22949 * docs/gst/tmpl/gstobject.sgml: update
22950 * docs/gst/tmpl/gstplugin.sgml: update
22951 * docs/gst/tmpl/gstpluginfeature.sgml: update
22952 * docs/random/ds/0.9-suggested-changes: update.
22953 * gst/Makefile.am: remove memchunk and trashstack, since they're
22955 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22956 * gst/gst.h: don't include some headers
22957 * gst/gstchildproxy.c: add gstmarshal.h
22958 * gst/gstclock.c: Don't use memchunks
22959 * gst/gstminiobject.c: Add some docs
22960 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22961 * gst/gstobject.h: same
22962 * gst/gstplugin.c: include gstmacros.h
22963 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22964 * gst/gstquery.c: don't use memchunks
22965 * gst/gstregistry.c: rename gst_registry_deinit()
22966 * gst/gstregistry.h: same
22968 2005-09-19 David Schleef <ds@schleef.org>
22970 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22971 * docs/libs/gstreamer-libs-sections.txt:
22972 * docs/libs/tmpl/gstgetbits.sgml:
22973 * docs/libs/tmpl/gstputbits.sgml:
22975 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22977 * win32/gstenumtypes.c:
22978 * win32/gstenumtypes.h:
22981 2005-09-19 Wim Taymans <wim@fluendo.com>
22983 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22984 Automatically PAUSE and RESUME a pipeline when a flushing seek
22987 2005-09-19 Andy Wingo <wingo@pobox.com>
22989 * gst/gstregistry.h: Spacing fixen.
22991 2005-09-19 Wim Taymans <wim@fluendo.com>
22993 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22994 Handle state change failure more correctly.
22996 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22998 * check/Makefile.am:
22999 * check/pipelines/cleanup.c: (run_pipeline):
23000 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23002 enable cleanup again after fixing the leak
23004 some more info on docs
23006 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23008 * check/Makefile.am:
23009 re-enable tests now that leaks are plugged
23011 * check/gst/gstbin.c:
23012 * check/gst/gstpipeline.c:
23013 add some more tests while fixing leaks
23014 * common/check.mak:
23015 make sure binaries are uptodate when valgrinding/gdbing
23017 * gst/gstelementfactory.c:
23018 remove a ref too many, and add a FIXME for when we get
23019 round to disposing of classes
23021 fix the refcounting when loading a plugin from a file and
23022 the code pretends that the pointer is the same even though
23023 of course it can change
23024 * gst/gstpluginfeature.c:
23025 unref plugins marked cached (a bit confusing as a name)
23026 as the docs state should be done
23027 various doc additions to explain refcounting
23028 * gst/gstregistry.c:
23029 * gst/gstregistryxml.c:
23032 2005-09-19 Wim Taymans <wim@fluendo.com>
23034 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23035 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23036 (send_messages), (GST_START_TEST), (gstbus_suite):
23037 * check/gst/gstpipeline.c: (GST_START_TEST):
23038 * check/pipelines/cleanup.c: (run_pipeline):
23039 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23041 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23042 (gst_bus_source_check), (gst_bus_source_dispatch),
23043 (gst_bus_create_watch), (gst_bus_add_watch_full),
23044 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23046 * tools/gst-launch.c: (event_loop):
23047 * tools/gst-md5sum.c: (event_loop):
23048 GstBusHandler -> GstBusFunc, return value has the same meaning as
23049 any other GSource (FALSE == remove source).
23050 _add_watch() and _add_watch_full() now take a MessageType mask to
23051 only handle specific types of messages.
23052 _poll() returns the GstMessage instead of the message type to avoid
23054 _have_pending() takes a MessageType mask now too.
23055 Added testsuite for multiple bus watches.
23056 Fix testsuites and applications for new bus API.
23058 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23060 * check/Makefile.am:
23061 mark a bunch of the tests as to fix until we fix them
23063 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23065 * common/check.mak:
23066 use GST_PLUGIN settings for valgrind tests as well, so we're
23067 valgrinding the correct thing
23068 * gst/gst.c: (init_post):
23071 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23073 * gst/gst.c: (init_post), (gst_deinit):
23074 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23075 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23076 * gst/gstindex.c: (gst_index_factory_class_init),
23077 (gst_index_factory_finalize):
23078 * gst/gstobject.c: (gst_object_dispose):
23079 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23080 (gst_plugin_load_file), (gst_plugin_desc_free):
23081 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23082 (gst_plugin_feature_finalize):
23083 * gst/gstregistry.c: (gst_registry_class_init),
23084 (gst_registry_init), (gst_registry_finalize),
23085 (gst_registry_get_default), (gst_registry_deinit):
23086 * gst/gstregistry.h:
23087 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23088 various cleanups and memleak plugging. make valgrind is happy now.
23090 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23092 * common/check.mak:
23093 add a check-valgrind target
23095 2005-09-18 David Schleef <ds@schleef.org>
23097 * tools/gst-inspect.c: Revert the GOption code.
23099 2005-09-17 David Schleef <ds@schleef.org>
23101 * check/Makefile.am: Fix environment variables.
23102 * check/gst/gstplugin.c: Fix for API changes.
23103 * tools/gst-inspect.c: Fix for API changes.
23104 * tools/gst-xmlinspect.c: Fix for API changes.
23105 * gst/gstelementfactory.c:
23108 * gst/gstpluginfeature.c:
23109 * gst/gstpluginfeature.h:
23110 * gst/gstregistry.c:
23111 * gst/gstregistry.h:
23112 * gst/gstregistryxml.c:
23113 * gst/gsttypefind.c:
23114 * gst/gsttypefindfactory.c:
23115 * gst/indexers/gstfileindex.c:
23116 * gst/indexers/gstmemindex.c:
23117 * gst/schedulers/Makefile.am:
23118 Change registry to keep track of both plugins and features,
23119 removing the feature tracking from plugins themselves.
23121 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23123 * check/Makefile.am:
23124 * tools/gst-register.1.in:
23125 remove gst-register
23127 2005-09-15 David Schleef <ds@schleef.org>
23129 * check/gst/gstplugin.c:
23130 * gst/gstelementfactory.c:
23132 * gst/gstpluginfeature.c:
23133 * gst/gstregistry.c:
23134 Getting tired of debugging. Disabled all the unreffing of
23135 plugins and features, which fixes the segfaults, but of
23136 course leaks like crazy. At least playbin works.
23138 2005-09-15 David Schleef <ds@schleef.org>
23140 * check/gst/gstplugin.c: (register_check_elements),
23141 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23143 * gst/elements/gsttypefindelement.c: Fix refcounting.
23144 * gst/gsttypefind.c:
23145 * gst/gsttypefindfactory.c:
23146 * gst/gsttypefindfactory.h:
23148 2005-09-15 David Schleef <ds@schleef.org>
23150 * gst/gstindex.c: get refcounting correct.
23151 * gst/gstregistry.c: Handle the case where a feature/plugin is
23154 2005-09-15 David Schleef <ds@schleef.org>
23156 * check/Makefile.am:
23157 * check/gst/gstplugin.c: Add test
23158 * gst/gstplugin.c: Fix problems noticed by testsuite
23160 * gst/gstregistry.c:
23161 * gst/gstregistry.h:
23163 2005-09-15 David Schleef <ds@schleef.org>
23165 * gst/gstplugin.c: Implement semi-decent recounting and locking
23166 in plugins and plugin features.
23168 * gst/gstpluginfeature.c:
23169 * gst/gstpluginfeature.h:
23170 * gst/gstregistry.c:
23172 2005-09-15 Michael Smith <msmith@fluendo.com>
23174 * gst/gstregistry.c: (gst_registry_get_feature_list):
23175 Implement this. Makes oggdemux work; decodebin still broken.
23177 2005-09-14 David Schleef <ds@schleef.org>
23179 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23181 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23182 * gst/check/Makefile.am:
23183 * libs/gst/controller/Makefile.am:
23184 * libs/gst/dataprotocol/Makefile.am:
23186 2005-09-14 David Schleef <ds@schleef.org>
23188 * configure.ac: Remove getbits library. Nothing uses it, and
23189 it should be in something like liboil if someone did want
23191 * libs/gst/Makefile.am:
23192 * libs/gst/getbits/Makefile.am:
23193 * libs/gst/getbits/gbtest.c:
23194 * libs/gst/getbits/getbits.c:
23195 * libs/gst/getbits/getbits.h:
23196 * libs/gst/getbits/gstgetbits_generic.c:
23197 * libs/gst/getbits/gstgetbits_i386.s:
23198 * libs/gst/getbits/gstgetbits_inl.h:
23200 2005-09-14 David Schleef <ds@schleef.org>
23202 * gst/Makefile.am: Dist glib-compat.h
23204 2005-09-14 David Schleef <ds@schleef.org>
23206 * configure.ac: Remove gst/registries, since it's no longer used.
23207 * gst/registries/Makefile.am:
23208 * gst/registries/gstlibxmlregistry.c:
23209 * gst/registries/gstlibxmlregistry.h:
23210 * gst/registries/gstxmlregistry.c:
23211 * gst/registries/gstxmlregistry.h:
23212 * gst/registries/registrytest.c:
23214 2005-09-14 David Schleef <ds@schleef.org>
23216 * gst/glib-compat.h:
23217 * gst/gstregistryxml.c:
23218 Convergence is near. Seriously.
23220 2005-09-14 David Schleef <ds@schleef.org>
23222 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23223 * gst/glib-compat.h:
23224 Attempt #4 to appease the buildbots.
23226 2005-09-14 David Schleef <ds@schleef.org>
23228 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23231 2005-09-14 David Schleef <ds@schleef.org>
23233 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23236 2005-09-14 David Schleef <ds@schleef.org>
23238 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23241 2005-09-14 David Schleef <ds@schleef.org>
23243 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23244 * gst/glib-compat.h: Add some functions that are in newer versions
23245 of glib than we care to require.
23246 * gst/gstregistryxml.c: Use them.
23248 2005-09-14 David Schleef <ds@schleef.org>
23250 * po/POTFILES.in: remove gst-register.c
23252 2005-09-14 David Schleef <ds@schleef.org>
23254 * docs/gst/gstreamer-docs.sgml:
23255 * docs/gst/gstreamer-sections.txt:
23256 * docs/gst/gstreamer.types:
23257 * docs/gst/tmpl/gstelement.sgml:
23258 * docs/gst/tmpl/gstplugin.sgml:
23259 * docs/gst/tmpl/gstpluginfeature.sgml:
23260 Documentation updates for registry changes.
23262 2005-09-14 David Schleef <ds@schleef.org>
23264 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23265 because we don't require glib-2.8.
23267 2005-09-14 David Schleef <ds@schleef.org>
23269 * gst/gstregistryxml.c: Added. Essentially moved out of the
23270 registries directory.
23272 2005-09-14 David Schleef <ds@schleef.org>
23274 * check/Makefile.am:
23275 * check/generic/states.c:
23279 * gst/gst_private.h:
23280 * gst/gstelementfactory.c:
23285 * gst/gstpluginfeature.c:
23286 * gst/gstpluginfeature.h:
23287 * gst/gstregistry.c:
23288 * gst/gstregistry.h:
23289 * gst/gstregistrypool.c: remove
23290 * gst/gstregistrypool.h: remove
23291 * gst/gsttypefind.c:
23292 * gst/gsttypefindfactory.c:
23294 * tools/Makefile.am:
23295 * tools/gst-compprep.c:
23296 * tools/gst-inspect.c:
23297 * tools/gst-register.c: remove
23298 * tools/gst-xmlinspect.c:
23299 Registry rewrite. Changes registry from being a file created
23300 by a tool into a simple cache file created automatically by
23301 libgstreamer. Removed gst-register (because it's no longer
23302 needed). Remove registry pools, because we only have one
23303 registry implementation (XML). Fix up other subsystems as
23306 2005-09-13 Michael Smith <msmith@fluendo.com>
23308 * gst/gstconfig.h.in:
23309 Don't Use windows linking attributes for MinGW. Fixes #316157
23311 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23313 * gst/gstutils.c: (set_state_async_thread_func),
23314 (gst_element_set_state_async):
23315 Apparently people think it's better if this function doesn't
23316 try to set the state to whatever state was asked for on the first
23317 call to this function for any object. Seriously.
23319 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23321 * check/gst/gstpipeline.c: (GST_START_TEST):
23322 * docs/gst/gstreamer-sections.txt:
23323 * gst/gstutils.c: (set_state_async_thread_func),
23324 (gst_element_set_state_async):
23326 add a "gst_element_set_state_async" method that
23327 sets the state and starts a thread to make sure the state
23328 change completes as best as it can
23330 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23332 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23333 codify design+behaviour in testsuite after discussion
23335 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23337 * docs/gst/tmpl/gstelement.sgml:
23338 * docs/manual/appendix-quotes.xml:
23340 * gst/gstelement.c: (gst_element_set_state):
23343 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23345 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23346 (gst_base_transform_prepare_output_buf),
23347 (gst_base_transform_handle_buffer):
23348 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23349 (gst_capsfilter_prepare_buf):
23350 Remove the requirement for sub-classes to call the parent
23351 implementation of prepare_output_buffer with a wrapper function.
23353 * gst/gsttaglist.h:
23354 * gst/gsttagsetter.h:
23355 Fix #define wrapper
23357 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23359 * docs/gst/gstreamer-sections.txt:
23362 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23364 * docs/gst/gstreamer-sections.txt:
23365 * docs/gst/tmpl/gstelement.sgml:
23366 * docs/gst/tmpl/gstplugin.sgml:
23367 * gst/gstminiobject.c:
23369 docs now stop throwing warnings
23371 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23373 * docs/gst/gstreamer-sections.txt:
23374 * docs/gst/gstreamer.types:
23375 * docs/gst/tmpl/gstpad.sgml:
23376 * docs/gst/tmpl/gsttypes.sgml:
23377 * gst/base/gstadapter.h:
23378 * gst/base/gstbasesink.h:
23379 * gst/base/gstbasesrc.h:
23385 * gst/gstelement.h:
23387 * gst/gstmessage.h:
23389 * gst/gststructure.c:
23390 * gst/registries/gstlibxmlregistry.h:
23391 various documentation fixes
23393 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23395 * docs/gst/gstreamer-sections.txt:
23396 * docs/gst/tmpl/gstvalue.sgml:
23397 rearrange gstvalue section
23398 * gst/gstutils.c: (gst_element_state_get_name):
23400 * gst/gstvalue.c: (_gst_value_initialize):
23404 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23406 * check/gst-libs/controller.c:
23407 Header include fix.
23408 * gst/base/gstbasetransform.c:
23409 (gst_base_transform_default_prepare_buf),
23410 (gst_base_transform_handle_buffer):
23411 * gst/base/gstbasetransform.h:
23412 Some more basetransform changes and fixes to enable sub-classes
23413 that modify buffer metadata only.
23414 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23415 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23416 (gst_capsfilter_prepare_buf):
23417 If the output pad has fixed allowed caps and input buffers
23418 don't have any, set the fixed caps on outgoing buffers.
23420 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23421 * check/elements/identity.c: (GST_START_TEST):
23422 Make the error a little clearer when the test fails because
23423 identity made a copy of the buffer.
23424 * docs/gst/gstreamer-sections.txt:
23425 New symbols in gstbasetransform.h
23426 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23427 (gst_base_transform_init), (gst_base_transform_transform_size),
23428 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23429 (gst_base_transform_default_prepare_buf),
23430 (gst_base_transform_get_unit_size),
23431 (gst_base_transform_buffer_alloc),
23432 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23433 (gst_base_transform_change_state),
23434 (gst_base_transform_set_passthrough),
23435 (gst_base_transform_set_in_place),
23436 (gst_base_transform_is_in_place):
23437 * gst/base/gstbasetransform.h:
23438 Change BaseTransform to separate in_place operate from same_caps
23439 output. in_place implies that the element can perform the transform
23440 on incoming buffers in-place, even if the caps on the output are
23442 Sub-class elements can now implement special buffer allocation
23443 methods for outgoing buffers if they wish to.
23444 Big documentation addition.
23445 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23446 * gst/elements/gstelements.c:
23447 Changes for basetransform modifications.
23448 * gst/elements/Makefile.am:
23449 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23450 Compile fix. Extra debug output.
23452 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23454 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23456 add tests for valid pad naming
23457 * gst/check/gstcheck.c: (gst_check_log_message_func),
23458 (gst_check_log_critical_func):
23460 remove printing of code, it is fragile when the code contains
23461 % and the line number is enough info
23462 * gst/check/gstcheck.h:
23463 * gst/gstpad.c: (gst_pad_template_new):
23466 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23469 say what CHECK flags we use
23470 * docs/libs/gstreamer-libs.types:
23471 * libs/gst/controller/Makefile.am:
23472 * libs/gst/controller/gst-controller.c:
23473 * libs/gst/controller/gst-controller.h:
23474 * libs/gst/controller/gst-helper.c:
23475 * libs/gst/controller/gst-interpolation.c:
23476 * libs/gst/controller/gstcontroller.c:
23477 * libs/gst/controller/gsthelper.c:
23478 * libs/gst/controller/gstinterpolation.c:
23479 * tools/gst-inspect.c: (print_plugin_info):
23480 we don't use dashes in header names
23482 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23484 * check/Makefile.am:
23485 * check/gst/.cvsignore:
23486 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23487 (gst_pipeline_suite), (main):
23488 adding a test for pipelines and state changes
23489 * gst/gstutils.c: (get_state_func):
23491 * gstreamer.spec.in:
23494 2005-09-08 Michael Smith <msmith@fluendo.com>
23496 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23497 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23498 (gst_file_src_is_seekable), (gst_file_src_get_size),
23499 (gst_file_src_start):
23500 * gst/elements/gstfilesrc.h:
23501 Various fixes for unseekable, unmmapable, and non-normal files, so
23502 that fallback to read() rather than mmap() works.
23503 * gst/gstevent.c: (gst_event_new_newsegment):
23504 Allow newsegment events with segment_start == segment_end, as will
23505 correctly happen if you use filesrc on a zero-size file, for
23508 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23510 * gst/gstplugin.c: (gst_plugin_load_file):
23511 Call g_module_close when we don't load the module
23513 * gst/registries/gstlibxmlregistry.c:
23514 (gst_xml_registry_get_property):
23515 Port leak fix from 0.8
23517 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23519 * docs/gst/gstreamer-docs.sgml:
23520 * docs/gst/tmpl/.cvsignore:
23521 * docs/gst/tmpl/gsttrace.sgml:
23522 * docs/gst/tmpl/gsttrashstack.sgml:
23525 * gst/gstelement.h:
23527 * gst/gstmessage.c:
23528 * gst/gstmessage.h:
23531 * gst/gsttaginterface.c:
23532 * gst/gsttaginterface.h:
23533 * gst/gsttaglist.c:
23534 * gst/gsttaglist.h:
23535 * gst/gsttagsetter.c:
23536 * gst/gsttagsetter.h:
23539 * gst/gsttrashstack.c:
23540 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23541 inlined docs for gsttrace, gsttrashstack
23543 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23546 * gst/elements/gstbufferstore.h:
23547 * gst/elements/gsttypefindelement.c:
23548 * gst/elements/gsttypefindelement.h:
23550 * gst/gsttypefind.c:
23551 * gst/gsttypefind.h:
23552 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23553 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23554 (gst_type_find_factory_dispose),
23555 (gst_type_find_factory_unload_thyself),
23556 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23557 (gst_type_find_factory_get_caps),
23558 (gst_type_find_factory_get_extensions),
23559 (gst_type_find_factory_call_function):
23560 * gst/gsttypefindfactory.h:
23561 * gst/registries/gstlibxmlregistry.c:
23562 * gst/registries/gstxmlregistry.c:
23563 splitted gsttypefind into gsttypefind, gsttypefindfactory
23565 2005-09-07 Andy Wingo <wingo@pobox.com>
23567 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23568 condition whereby the pad's task function is entered before the
23569 pad_mode variable was set.
23571 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23573 * gst/gstpad.c: (gst_pad_alloc_buffer):
23574 Catch misbehaving pad_alloc functions that don't
23575 set up caps and do it for them.
23577 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23579 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23580 test for pipe!=NULL
23581 * docs/gst/tmpl/.cvsignore:
23582 * docs/gst/tmpl/gstmemchunk.sgml:
23583 * docs/gst/tmpl/gstparse.sgml:
23584 * docs/gst/tmpl/gsttaglist.sgml:
23585 * docs/gst/tmpl/gsttagsetter.sgml:
23586 * docs/gst/tmpl/gsttypefind.sgml:
23587 * docs/gst/tmpl/gsttypefindfactory.sgml:
23588 * gst/gstmemchunk.c:
23591 * gst/gsttaginterface.c:
23592 * gst/gsttypefind.c:
23593 * gst/gsttypefind.h:
23596 === release 0.9.2 ===
23598 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23603 releasing 0.9.2, "South"
23605 2005-09-05 Andy Wingo <wingo@pobox.com>
23607 * gst/registries/gstxmlregistry.h:
23608 * gst/registries/gstxmlregistry.c: Um... resurrect...
23610 * gst/registries/gstxmlregistry.h:
23611 * gst/registries/gstxmlregistry.c: and update to newer API.
23612 Incidentally they should be a bit faster now that they don't have
23615 2005-09-05 Andy Wingo <wingo@pobox.com>
23617 * gst/registries/gstxmlregistry.h:
23618 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23619 replaced by the libxml registry a while back
23621 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23623 * docs/gst/tmpl/gstplugin.sgml:
23624 * gst/elements/gstelements.c:
23626 * gst/gstplugin.c: (gst_plugin_register_func),
23627 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23628 (gst_plugin_get_source):
23630 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23631 (gst_xml_registry_save_plugin):
23632 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23633 (gst_xml_registry_save_plugin):
23634 * tools/gst-inspect.c: (print_plugin_info):
23635 add a "source" plugin description field, to represent the source
23636 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23637 will set it to PACKAGE, which is automake's idea of the name of
23638 the source project.
23640 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23645 * docs/Makefile.am:
23646 * docs/faq/Makefile.am:
23647 * docs/gst/tmpl/gstelement.sgml:
23648 * docs/gst/tmpl/gsttypes.sgml:
23649 * docs/htmlinstall.mak:
23650 * docs/manual/Makefile.am:
23651 * docs/pwg/Makefile.am:
23652 reorganize doc build a little
23653 split out docbook and gtk-doc stuff
23654 have two separate --enable's and enable them through autogen
23655 but disable by default in configure (to be similar to other
23657 * gstreamer.spec.in:
23658 clean up docs install
23676 translation updates
23678 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23680 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23683 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23684 (gst_fake_sink_change_state):
23685 Make state change function thread-safe.
23687 * gst/gstpad.c: (gst_pad_alloc_buffer):
23688 Set offset on generic buffer allocated by fallback.
23690 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23692 * docs/gst/gstreamer-sections.txt:
23693 * docs/gst/tmpl/gstelement.sgml:
23695 * libs/gst/controller/gst-controller.c:
23696 (gst_controlled_property_set_interpolation_mode),
23697 (gst_controlled_property_new),
23698 (gst_controller_find_controlled_property):
23699 run the wingo-magic script against the docs
23701 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23703 * docs/gst/gstreamer-docs.sgml:
23704 * docs/gst/gstreamer-sections.txt:
23705 * docs/gst/tmpl/.cvsignore:
23706 * docs/gst/tmpl/gstelementdetails.sgml:
23707 * docs/gst/tmpl/gstelementfactory.sgml:
23710 * gst/gstelementfactory.c:
23711 * gst/gstelementfactory.h:
23712 merged elementdetails docs into elementfactory docs
23715 2005-09-02 Andy Wingo <wingo@pobox.com>
23717 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23718 consider this enum an enum and not a flags.
23720 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23722 * docs/gst/gstreamer-docs.sgml:
23723 * docs/gst/tmpl/.cvsignore:
23724 * docs/gst/tmpl/gstghostpad.sgml:
23725 * docs/gst/tmpl/gstiterator.sgml:
23726 * docs/gst/tmpl/gstmacros.sgml:
23727 * docs/gst/tmpl/gstrealpad.sgml:
23728 * docs/gst/tmpl/gstregistry.sgml:
23729 * docs/gst/tmpl/gstregistrypool.sgml:
23730 * docs/gst/tmpl/gststructure.sgml:
23731 * docs/gst/tmpl/gstsystemclock.sgml:
23732 * docs/gst/tmpl/gsttrace.sgml:
23733 * gst/gstghostpad.c:
23735 * gst/gstmemchunk.c:
23736 * gst/gstmemchunk.h:
23738 * gst/gstregistry.c:
23739 * gst/gstregistrypool.c:
23740 * gst/gststructure.c:
23741 * gst/gstsystemclock.c:
23744 2005-09-02 Andy Wingo <wingo@pobox.com>
23746 * gst/gstelement.h (GstState): Renamed from GstElementState,
23747 changed to be a normal enum instead of flags.
23748 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23749 munged to be GST_STATE_CHANGE_*.
23750 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23751 work with the new state representation.
23752 (GstStateChange): New enumeration of possible state transitions.
23753 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23754 (GstElementClass::change_state): Pass the GstStateChange along as
23755 an argument. Helps language bindings, so they don't have to use
23756 tricky lock-needing macros like GST_STATE_CHANGE ().
23758 * scripts/update-states (file): New script. Run it on a file to
23759 update it for state naming and API changes. Updates files in
23762 * All files updated for the new API.
23764 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23766 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23767 * gst/gstutils.c: (gst_util_set_value_from_string),
23768 (gst_util_set_object_arg):
23769 fix a bunch of unchecked return values
23770 * tools/gst-complete.c: (main):
23771 * gstreamer.spec.in:
23774 2005-09-01 Wim Taymans <wim@fluendo.com>
23776 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23777 (gst_base_sink_event), (gst_base_sink_do_sync),
23778 (gst_base_sink_handle_event):
23779 * gst/base/gstbasesink.h:
23780 Handle newsegments more correctly.
23785 * gst/gstevent.c: (gst_event_new_newsegment):
23786 A newsegment cannot have a start_time of -1
23788 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23790 * win32/gstenumtypes.c:
23791 * win32/gstenumtypes.h:
23794 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23796 * libs/gst/controller/gst-controller.c:
23797 (gst_controlled_property_set_interpolation_mode),
23798 (gst_controlled_property_new):
23799 fixed boolean again
23801 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23803 * docs/faq/gst-uninstalled:
23808 * gst/gstutils.c: (gst_element_link_filtered):
23810 add gst_element_link_filtered
23812 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23814 * docs/gst/gstreamer-docs.sgml:
23815 * docs/gst/gstreamer-sections.txt:
23816 * docs/gst/tmpl/.cvsignore:
23817 * docs/gst/tmpl/gsterror.sgml:
23818 * docs/gst/tmpl/gstfilter.sgml:
23819 * docs/gst/tmpl/gsturihandler.sgml:
23820 * docs/gst/tmpl/gsturitype.sgml:
23821 * docs/gst/tmpl/gstutils.sgml:
23822 * docs/gst/tmpl/gstxml.sgml:
23827 * gst/gsturitype.c:
23830 inlined more docs, fixed double id-ref
23832 2005-08-31 Wim Taymans <wim@fluendo.com>
23834 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23835 (gst_base_transform_handle_buffer):
23836 Passthrough elements don't need the caps as they don't care.
23838 2005-08-31 Wim Taymans <wim@fluendo.com>
23840 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23841 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23842 Don't leak refcounts on buffers.
23844 2005-08-31 Wim Taymans <wim@fluendo.com>
23846 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23847 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23848 (gst_base_transform_chain), (gst_base_transform_change_state):
23849 * gst/base/gstbasetransform.h:
23850 Handle the case where we are not negotiated more gracefully.
23852 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23854 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23855 (gst_file_src_map_region):
23856 Set READONLY flag on mmap'ed buffers, otherwise
23857 gst_buffer_make_writable() won't work properly (#314708).
23859 2005-08-31 Wim Taymans <wim@fluendo.com>
23861 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23862 passthrough elements can even do inplace on non writable
23863 buffers (as they don't touch them).
23865 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23867 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23868 (gst_test_mono_source_set_property),
23869 (gst_test_mono_source_class_init), (GST_START_TEST),
23870 (gst_controller_suite):
23871 more tests (hehe I have the most)
23873 describe popping messages whenusing mulltiple sources
23874 * libs/gst/controller/gst-controller.c:
23875 (gst_controlled_property_set_interpolation_mode),
23876 (gst_controlled_property_new):
23877 * libs/gst/controller/gst-controller.h:
23878 * libs/gst/controller/gst-interpolation.c:
23879 implement boolean properties
23881 2005-08-31 Wim Taymans <wim@fluendo.com>
23883 * gst/gstminiobject.c: (gst_mini_object_ref):
23884 Cannot assert that the refcount has to be positive
23885 since a disposed object can be resurrected.
23887 2005-08-31 Wim Taymans <wim@fluendo.com>
23889 * gst/gstpad.c: (gst_pad_init):
23890 Revert change, need to first fix badly behaving
23893 2005-08-30 Wim Taymans <wim@fluendo.com>
23895 * check/elements/fakesrc.c: (setup_fakesrc):
23896 * check/elements/identity.c: (setup_identity):
23897 Activate pads before using them.
23899 2005-08-30 Wim Taymans <wim@fluendo.com>
23901 * gst/base/gstadapter.c: (gst_adapter_flush):
23902 Flushing out 0 bytes is ok for this function.
23904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23905 no newsegment gives a warning and sets the start/stop to
23908 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23909 (gst_base_transform_set_passthrough):
23912 * gst/gstminiobject.c: (gst_mini_object_ref):
23913 Check refcount here too.
23915 * gst/gstpad.c: (gst_pad_init):
23916 Pads are initially flushing and refusing data.
23918 * gst/gstutils.c: (gst_element_link_pads_filtered):
23919 When adding a capsfilter element make sure it has the
23920 same state as the parent bin.
23922 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23924 * docs/gst/tmpl/.cvsignore:
23925 * docs/gst/tmpl/gstformat.sgml:
23926 * docs/gst/tmpl/gstversion.sgml:
23930 * gst/gstversion.h.in:
23931 more docs and two more inlined
23933 2005-08-30 Wim Taymans <wim@fluendo.com>
23935 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23936 Don't sync to clock.
23938 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23940 * docs/gst/gstreamer-sections.txt:
23941 ultral33t func10ns deserve to appear in the docs actually
23942 * docs/gst/tmpl/.cvsignore:
23943 * docs/gst/tmpl/gstcompat.sgml:
23944 * docs/gst/tmpl/gstconfig.sgml:
23945 * gst/check/gstcheck.c:
23947 * gst/gstconfig.h.in:
23950 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23952 * docs/gst/tmpl/.cvsignore:
23953 * docs/gst/tmpl/gstquery.sgml:
23954 * docs/gst/tmpl/gstutils.sgml:
23957 inlined and extended docs
23959 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23961 * check/gst-libs/controller.c: (GST_START_TEST),
23962 (gst_controller_suite):
23964 * docs/gst/tmpl/gstutils.sgml:
23965 * docs/libs/gstreamer-libs-sections.txt:
23966 * docs/libs/tmpl/gstdataprotocol.sgml:
23968 * examples/controller/audio-example.c: (main):
23969 controller example works now
23972 * tools/gst-inspect.c: (print_element_properties_info):
23973 show param spec flags
23975 2005-08-29 Andy Wingo <wingo@pobox.com>
23977 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23979 2005-08-28 Andy Wingo <wingo@pobox.com>
23981 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23982 as having two arguments instead of just one. Allows superclasses
23983 to access information on subclasses -- see the terrible for() loop
23984 in gtype.c:g_type_create_instance for the reason why. All callers
23987 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23989 * docs/design/part-messages.txt:
23991 * docs/gst/tmpl/.cvsignore:
23992 * docs/gst/tmpl/gstcaps.sgml:
23993 * docs/gst/tmpl/gstclock.sgml:
23999 * gst/gstmessage.c:
24000 added descriptions for bus and message
24001 inline caps and clock docs
24003 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24005 * gst/gstmessage.c:
24006 * gst/gstmessage.h:
24009 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24011 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24014 2005-08-26 Andy Wingo <wingo@pobox.com>
24016 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24017 element_set_state's return val.
24018 (test_2_elements): Add test that's been disabled for months.
24020 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24021 can-activate-pull properties.
24023 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24024 can-activate-pull properties. Implement is_seekable so fakesrc can
24025 operate in pull mode.
24027 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24029 (gst_base_sink_activate, gst_base_sink_activate_pull)
24030 (gst_base_sink_activate_push): Make activation mode choosing work.
24032 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24033 is right. Make pull mode work. Post an eos before pausing in pull
24035 (gst_base_sink_change_state): Pay attention to the core's
24036 change_state() return val.
24038 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24039 has-getrange properties. Cleanups.
24041 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24042 has_getrange and replace with can_activate_pull and
24045 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24046 locking comments. Remove has_loop, has_chain and replace with
24047 can_activate_pull and can_activate_push.
24049 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24052 * examples/Makefile.am:
24053 * examples/metadata/Makefile.am:
24054 * examples/metadata/read-metadata.c: (message_loop),
24055 (have_pad_handler), (make_pipeline), (print_tag), (main):
24056 Add metadata reading example that loops over a list of filenames,
24057 dumping any tags found.
24059 * gst/gstbus.c: (gst_bus_dispose):
24060 * gst/gstelement.c: (gst_element_dispose):
24061 Release a few potentially-held references in dispose.
24063 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24065 * docs/gst/tmpl/gstminiobject.sgml:
24066 do *not* add tmpl/*.sgml files to CVS!
24068 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24070 * libs/gst/bytestream/.cvsignore:
24071 * libs/gst/bytestream/Makefile.am:
24072 * libs/gst/bytestream/adapter.c:
24073 * libs/gst/bytestream/adapter.h:
24074 * libs/gst/bytestream/bytestream.c:
24075 * libs/gst/bytestream/bytestream.h:
24076 * libs/gst/bytestream/filepad.c:
24077 * libs/gst/bytestream/filepad.h:
24078 removing obsolete files
24080 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24082 * docs/gst/gstreamer-docs.sgml:
24083 * docs/libs/gstreamer-libs-docs.sgml:
24084 disabed additional index entries again, as this makes docs-gen just
24085 slow and they aren't useful yet
24086 * docs/libs/gstreamer-libs-sections.txt:
24087 little -section.txt cleanup for libs
24089 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24091 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24092 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24093 fix up some debugging
24094 (gst_base_transform_get_unit_size),
24095 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24096 (gst_base_transform_handle_buffer):
24097 * gst/base/gstbasetransform.h:
24098 handle and store timed NEWSEGMENT events so that subclasses that
24099 calculate time by counting samples have a segment_start time they
24100 need to add to their timestamps - see audioresample
24102 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24105 removed ';' from the end of macro defs
24106 * docs/gst/gstreamer-docs.sgml:
24107 * docs/gst/gstreamer-sections.txt:
24108 * docs/gst/tmpl/.cvsignore:
24110 * gst/gstelement.c: (gst_element_class_init),
24111 (gst_element_set_state), (activate_pads),
24112 (gst_element_save_thyself):
24113 * gst/gstevent.c: (gst_event_new_newsegment):
24115 * gst/gstiterator.c:
24116 * gst/gstiterator.h:
24119 * gst/gstutils.c: (gst_pad_query_convert):
24121 fixed parameter name mismatches between source, header and docs
24122 added some more docs, resolved the last batch of unused elements in
24123 docs (now someone needs to doc them)
24125 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24127 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24128 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24129 don't walk through the plugins backwards. Where is all this
24130 reversed logic coming from ?
24132 2005-08-25 Wim Taymans <wim@fluendo.com>
24134 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24135 (gst_base_transform_transform_size),
24136 (gst_base_transform_configure_caps),
24137 (gst_base_transform_get_unit_size),
24138 (gst_base_transform_buffer_alloc),
24139 (gst_base_transform_change_state):
24140 * gst/base/gstbasetransform.h:
24141 Cache caps unit_size.
24142 Make sure we cannot negotiate up and downstream at the
24145 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24147 * gst/gst.c: (init_pre), (init_post):
24148 register the installed plugin path after the env var
24149 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24150 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24151 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24152 directories, so the tests can prefer uninstalled over installed
24154 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24156 * gst/base/gstbasetransform.h:
24161 2005-08-25 Wim Taymans <wim@fluendo.com>
24163 * gst/gstbin.c: (bin_bus_handler):
24164 Be a bit more conservative about the posted message.
24166 * gst/gstbus.c: (gst_bus_post):
24167 Some cleanups, warn wrong return values.
24169 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24171 * check/gst/gstbin.c: (GST_START_TEST):
24172 * gst/gstbin.c: (bin_bus_handler):
24173 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24174 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24175 (gst_message_new_warning), (gst_message_new_tag),
24176 (gst_message_new_state_changed), (gst_message_new_segment_start),
24177 (gst_message_new_segment_done), (gst_message_new_custom):
24178 * gst/gstmessage.h:
24179 * tools/gst-launch.c: (event_loop):
24180 * tools/gst-md5sum.c: (event_loop):
24181 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24183 2005-08-25 Wim Taymans <wim@fluendo.com>
24185 * check/generic/states.c: (GST_START_TEST):
24186 Cleanup can be done at the end.
24188 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24189 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24190 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24191 Oh boy.. Thanks for finding this, Thomas.
24193 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24195 * docs/gst/gstreamer.types:
24196 added missing types
24198 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24200 * docs/gst/gstreamer-docs.sgml:
24201 * docs/gst/gstreamer-sections.txt:
24202 * docs/gst/tmpl/.cvsignore:
24204 * gst/gstiterator.c:
24206 * gst/registries/gstxmlregistry.h:
24207 added missing classes and symbols (123 more to go)
24208 removed removed symbols from section file
24209 fixed many doc-comments
24211 2005-08-24 Wim Taymans <wim@fluendo.com>
24213 * check/generic/states.c: (GST_START_TEST):
24214 Make sure all tasks are stopped.
24216 * check/gst/gstbin.c: (GST_START_TEST):
24217 Unref after usage for proper valgrinding.
24219 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24220 Really wait for the task to stop before destroying the
24223 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24224 (gst_queue_src_activate_push):
24225 Small cleanups. Don't stop the task when we did not start
24228 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24229 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24230 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24233 Protect the stream lock with the object lock.
24234 Disallow setting the stream lock when running.
24235 Add cleanup_all to wait for the threadpool to finish.
24236 Remove code to autoallocate a mutex if none was provided.
24237 Add _join() to wait for a task to stop.
24238 Protect the thread pool with a global lock.
24240 2005-08-24 Wim Taymans <wim@fluendo.com>
24242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24243 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24244 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24245 * gst/base/gstbasesink.h:
24246 Handle newsegment events correctly.
24247 Drop buffers out of the segment range.
24249 2005-08-22 Andy Wingo <wingo@pobox.com>
24251 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24252 macro, implements an interface and gstimplementsinterface for a
24255 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24257 * check/Makefile.am:
24258 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24259 add a test that does a bunch of state changes on elements
24260 needs some fixing for valgrind
24261 * check/states/sinks.c: (gst_object_suite):
24264 add prototype for gst_caps_is_equal_fixed
24266 * gst/gstregistrypool.c:
24269 2005-08-24 Andy Wingo <wingo@pobox.com>
24271 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24272 convert a negative value. Doesn't make much sense. Mostly this is
24273 here to force callers to ensure -1 maps to -1.
24275 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24277 * docs/pwg/advanced-types.xml:
24278 Well done to Michael for catching my deliberate introduction
24279 of this spelling mistake.
24280 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24281 * gst/gstelement.h:
24282 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24283 unlink pads before removing the element from the bin.
24285 2005-08-24 Andy Wingo <wingo@pobox.com>
24287 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24288 the same thing as GST_DEBUG=*:4.
24289 (parse_debug_level, parse_debug_category): New helper parsers.
24291 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24293 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24294 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24295 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24296 (gst_base_transform_buffer_alloc),
24297 (gst_base_transform_handle_buffer):
24298 use gboolean return values and pointers to size so we can use the
24299 full GST_BUFFER_SIZE range (guint) for buffer sizes
24300 use GstPadDirection for transform_caps
24301 * gst/base/gstbasetransform.h:
24302 rename get_size to get_unit_size since that's what it is
24303 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24304 use GstPadDirection for transform_caps
24305 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24307 cleanup and debugging
24309 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24311 * gst/gstelement.c: (gst_element_class_init),
24312 (gst_element_set_state), (activate_pads),
24313 (gst_element_save_thyself):
24314 * tools/gst-compprep.c: (main):
24315 * tools/gst-inspect.c: (print_element_properties_info):
24316 * tools/gst-xmlinspect.c: (print_element_properties):
24317 Fixed long standing mem-leak
24319 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24321 * check/gst/gstbin.c: (GST_START_TEST):
24322 * gst/gstbin.c: (bin_bus_handler):
24323 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24324 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24325 (gst_message_new_warning), (gst_message_new_tag),
24326 (gst_message_new_state_changed), (gst_message_new_segment_start),
24327 (gst_message_new_segment_done), (gst_message_new_custom):
24328 * gst/gstmessage.h:
24329 * tools/gst-launch.c: (event_loop):
24330 * tools/gst-md5sum.c: (event_loop):
24331 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24332 that applications can sensibly post custom messages with references
24333 to their own objects.
24335 2005-08-24 Andy Wingo <wingo@pobox.com>
24337 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24340 2005-08-24 Wim Taymans <wim@fluendo.com>
24342 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24343 (gst_base_transform_transform_caps),
24344 (gst_base_transform_transform_size),
24345 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24346 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24347 (gst_base_transform_handle_buffer):
24348 * gst/base/gstbasetransform.h:
24349 Many fixes and new features added by Thomas. Can now also do
24350 transforms with variable sizes and a custom fixate_caps function.
24352 2005-08-24 Wim Taymans <wim@fluendo.com>
24354 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24358 Cast to ClockTime before formatting to time.
24363 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24365 * check/gst-libs/controller.c: (GST_START_TEST),
24366 (gst_controller_suite):
24367 * docs/gst/tmpl/gstcaps.sgml:
24368 * docs/gst/tmpl/gstghostpad.sgml:
24369 * docs/gst/tmpl/gstquery.sgml:
24370 * docs/gst/tmpl/gstutils.sgml:
24371 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24372 (gst_object_sink_values), (gst_object_get_value_arrays),
24373 (gst_object_get_value_array):
24374 gracefully handle helper method calls to objects that are not beeing
24375 controlled, added test case for that
24377 2005-08-23 Wim Taymans <wim@fluendo.com>
24379 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24380 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24381 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24382 (gst_event_parse_qos), (gst_event_new_seek),
24383 (gst_event_parse_seek):
24385 Some more debugging output and doc cleanups.
24387 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24388 Fix possible deadlock.
24390 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24392 * docs/gst/gstreamer-docs.sgml:
24393 * docs/gst/gstreamer-sections.txt:
24394 * docs/gst/gstreamer.types:
24395 * docs/gst/tmpl/.cvsignore:
24398 * gst/gstelement.c:
24400 added 100 symbols from gstreamer-unused.txt to the right sections
24401 fixed more broken comments
24402 added GstBus to docs
24404 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24406 * docs/gst/gstreamer-sections.txt:
24407 * docs/gst/tmpl/.cvsignore:
24408 * docs/gst/tmpl/gstbin.sgml:
24409 * docs/gst/tmpl/gstbuffer.sgml:
24410 * gst/base/gstbasesrc.c:
24411 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24414 * tools/gst-launch.1.in:
24415 inlined more doc comments, added missing comments and fixed comments
24418 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24420 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24424 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24426 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24427 * gst/gststructure.h:
24428 add a fixate function for booleans; add a FIXME that these func
24429 names should probably be gst_structure_fixate_*
24431 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24433 * docs/gst/gstreamer-docs.sgml:
24434 * docs/gst/gstreamer-sections.txt:
24436 * gst/gstbin.c: (gst_bin_get_type),
24437 (gst_bin_child_proxy_get_child_by_index),
24438 (gst_bin_child_proxy_get_children_count),
24439 (gst_bin_child_proxy_init):
24440 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24441 (gst_child_proxy_get_child_by_index),
24442 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24443 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24444 (gst_child_proxy_get), (gst_child_proxy_set_property),
24445 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24446 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24447 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24448 * gst/gstchildproxy.h:
24449 * gst/parse/grammar.y:
24450 * tools/gst-inspect.c: (print_interfaces),
24451 (print_element_properties_info), (print_element_info):
24452 ported gstchildproxy over from 0.8
24453 ported gst-inspect fixes and enhancements over from 0.8
24455 2005-08-22 Wim Taymans <wim@fluendo.com>
24457 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24458 (gst_base_transform_handle_buffer):
24459 Also call the transform function if we have ANY caps.
24461 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24464 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24466 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24467 Don't pretend to handle seek events if the source is not seekable
24469 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24472 Remove extra parameter to debug output
24474 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24475 (gst_base_src_do_seek), (gst_base_src_activate_push):
24476 Fix seek event handling.
24478 * gst/gstpipeline.c: (gst_pipeline_change_state):
24479 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24480 (gst_queue_src_activate_push):
24481 Don't start the src pad task on FLUSH_STOP if the pad
24485 2005-08-22 Wim Taymans <wim@fluendo.com>
24487 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24488 Added check for gst_static_caps_get() refcounting.
24490 2005-08-22 Wim Taymans <wim@fluendo.com>
24492 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24493 Make _static_caps_get() refcounting sane.
24495 * gst/gstelement.c: (gst_element_set_state):
24496 Add g_return_val_if_fail() to protect against segfaults.
24498 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24500 * docs/gst/tmpl/gstevent.sgml:
24503 inlined remaining docs, added missing doc comments
24505 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24507 * check/gst/gstbin.c: (GST_START_TEST):
24508 since we don't know when preroll is done, use refcount range
24510 * gst/check/gstcheck.h:
24511 add macro for checking refcount range
24513 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24515 * check/Makefile.am:
24516 clean up environment for when registry gets built versus
24517 when actual tests are run; valgrind seems to not report
24518 leaks if GST_PLUGIN_PATH is set to some specific values
24519 * check/gst/gstbin.c: (GST_START_TEST):
24520 add more refcounting checks; maybe this exposes a
24522 * common/check.mak:
24523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24524 * gst/check/gstcheck.h:
24525 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24526 (gst_bin_change_state):
24527 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24528 add/fix debugging/whitespace
24530 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24532 * check/gst/gstevent.c: (event_probe), (test_event),
24534 Er, don't call gst_bin_watch_for_state_change you idiot.
24536 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24538 * check/Makefile.am:
24539 Use CHECK_CFLAGS and CHECK_LIBS
24540 * check/gst/gstevent.c: (event_probe), (test_event),
24543 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24544 (gst_base_src_start), (gst_base_src_stop),
24545 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24546 (gst_base_src_change_state):
24547 Sprinkle gst_base_src_stop liberally around error paths to fix
24548 problems reusing a source after failed state changes.
24549 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24550 (helper_find_suggest), (gst_type_find_helper):
24551 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24553 * docs/gst/tmpl/gstevent.sgml:
24554 Migrate part of the docs from the SGML file. Wait for ensonic to
24555 tell me how I did it wrong ;)
24556 * tools/gst-typefind.c: (main):
24557 Extra robustness to state changes between files.
24559 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24561 * check/Makefile.am:
24562 don't valgrind the controller test - it's leaking - Stefan, HELP
24563 * gst/check/gstcheck.c: (gst_check_message_error),
24564 (gst_check_chain_func), (gst_check_setup_element),
24565 (gst_check_teardown_element), (gst_check_setup_src_pad),
24566 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24567 (gst_check_teardown_sink_pad):
24568 * gst/check/gstcheck.h:
24569 add a bunch of methods to set up elements, and src and sink pads
24570 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24571 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24574 * gst/gstmessage.c:
24576 whitespace/doc fixes
24578 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24580 * gst/gstelement.h:
24581 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24582 be handled by the application and not always printed as well
24584 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24586 * check/Makefile.am:
24588 * gst/check/gstcheck.c: (gst_check_message_error):
24589 * gst/check/gstcheck.h:
24590 add a fail_unless_equals_int
24591 add fail_unless for error messages
24593 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24595 * check/Makefile.am:
24597 * common/Makefile.am:
24598 * common/check.mak:
24600 factor out some of the common stuff so we can use it
24602 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24604 * check/Makefile.am:
24605 * check/gst/gstiterator.c: (GST_START_TEST):
24606 * check/gst/gstsystemclock.c: (GST_START_TEST),
24607 (gst_systemclock_suite):
24608 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24610 valgrind more tests
24612 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24614 * check/elements/.cvsignore:
24615 * check/elements/gstfakesrc.c:
24616 rename to name of element
24617 * check/elements/identity.c: (chain_func), (event_func),
24618 (setup_identity), (cleanup_identity), (GST_START_TEST),
24619 (identity_suite), (main):
24620 add a test for identity
24621 * check/Makefile.am:
24622 * pkgconfig/Makefile.am:
24623 * pkgconfig/gstreamer-check.pc.in:
24624 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24628 move the check stuff to a library that gets installed
24629 * check/gst-libs/controller.c: (GST_START_TEST):
24630 * check/gst-libs/gdp.c:
24631 * check/gst/gst.c: (GST_START_TEST):
24632 * check/gst/gstbin.c:
24633 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24634 * check/gst/gstbus.c:
24635 * check/gst/gstcaps.c: (GST_START_TEST):
24636 * check/gst/gstelement.c:
24637 * check/gst/gstghostpad.c:
24638 * check/gst/gstiterator.c:
24639 * check/gst/gstmessage.c:
24640 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24641 * check/gst/gstobject.c:
24642 * check/gst/gstpad.c: (GST_START_TEST):
24643 * check/gst/gststructure.c: (GST_START_TEST):
24644 * check/gst/gstsystemclock.c: (GST_START_TEST),
24645 (gst_systemclock_suite):
24646 * check/gst/gsttag.c: (gst_tag_suite):
24647 * check/gst/gstvalue.c:
24648 * check/pipelines/cleanup.c:
24649 * check/pipelines/simple_launch_lines.c:
24650 * check/states/sinks.c:
24651 change include statement
24653 * docs/gst/gstreamer-sections.txt:
24654 * docs/gst/tmpl/gstpad.sgml:
24655 document more pad stuff
24656 * gst/gstminiobject.c: (gst_mini_object_ref),
24657 (gst_mini_object_unref):
24660 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24662 * docs/gst/tmpl/gst.sgml:
24664 eliminate another tmpl file, fix spelling in the long-description
24666 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24668 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24669 (test_event), (timediff), (gstevents_suite):
24670 Should fix build on 64-bit arch's
24672 2005-08-18 Andy Wingo <wingo@pobox.com>
24674 Make sure that when a pipeline goes to PLAYING, that data has
24675 actually hit the sink.
24677 * check/states/sinks.c (test_sink): A sink that doesn't get any
24678 data shouldn't return SUCCESS for going to either PLAYING or
24679 PAUSED. Test also the return values on the way back down.
24681 * gst/gstelement.c (gst_element_set_state): When changing the
24682 state of an element currently changing state asynchronously, go to
24683 lost-state after commiting the pending state. Makes future calls
24684 to get_state continue to return ASYNC.
24686 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24687 ASYNC when going to PLAYING if we still don't have preroll, as can
24688 happen with live sources.
24690 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24692 * docs/pwg/advanced-types.xml:
24693 Hack long paragraph into 2 chunks as a workaround for buggy
24694 jadetex version in sid and breezy that loops infinitely and
24697 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24699 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24700 (test_event), (timediff), (gstevents_suite):
24701 Provide more error margin in clock measurements to allow for
24702 g_get_current_time inaccuracies.
24704 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24706 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24707 (test_event), (timediff), (gstevents_suite):
24708 Fix error message output so I might be able to tell why the
24709 test works here but fails on the build farm.
24711 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24713 * check/Makefile.am:
24714 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24715 (test_event), (timediff), (gstevents_suite), (main):
24718 * docs/design/part-seeking.txt:
24719 Spelling correction
24721 * docs/gst/tmpl/gstevent.sgml:
24722 * docs/gst/tmpl/gstfakesrc.sgml:
24725 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24726 Treat a buffer-without-newsegment the same as a receiving
24727 a newsegment not in time format, and disable syncing to the clock
24730 * gst/gstbus.c: (gst_bus_set_sync_handler):
24731 Assert if anyone tries to replace the existing sync_handler for bus,
24732 as only the owner should be setting it.
24735 Have a fixed set of custom event enums with events identified by
24736 their structure name (as in 0.8), rather than a free-for-all
24737 allowing collisions between enum values from different plugins.
24739 * gst/gstpad.c: (gst_pad_class_init):
24742 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24743 Handle out-of-band downstream events from the sending thread.
24745 2005-08-17 Andy Wingo <wingo@pobox.com>
24747 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24748 play-timeout==0 to mean no timeout at all. In that case, don't
24749 bother with a get_state or a warning, just return directly, even
24752 * gst/base/gstbasetransform.c: Debug changes.
24755 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24756 ensure bins post state change messages. A bit of a hack but I can't
24757 think of a way to avoid it.
24759 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24761 2005-08-16 Andy Wingo <wingo@pobox.com>
24763 * gst/base/gstadapter.h:
24764 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24765 peek() but you own the data. Not terribly efficient atm.
24767 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24769 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24770 (gst_element_found_tags):
24772 Add two utility functions for tag handling.
24774 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24776 * docs/manual/advanced-dataaccess.xml:
24777 * docs/manual/basics-helloworld.xml:
24778 Fix docs to use _bin_add() before _link(), which fixes the examples
24779 with recent core versions (reported by Madhan Raj M
24780 <raj_madan@rediffmail.com>, #313199).
24782 2005-08-16 Wim Taymans <wim@fluendo.com>
24784 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24785 Added subtract checks.
24787 * docs/design/part-events.txt:
24788 Some more docs about newsegment
24790 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24793 * gst/gstcaps.c: (gst_caps_to_string):
24794 Add comments, cleanups.
24796 * gst/gstelement.c: (gst_element_save_thyself):
24799 * gst/gstvalue.c: (gst_value_collect_int_range),
24800 (gst_string_unwrap), (gst_value_union_int_int_range),
24801 (gst_value_union_int_range_int_range),
24802 (gst_value_intersect_int_int_range),
24803 (gst_value_intersect_int_range_int_range),
24804 (gst_value_intersect_double_double_range),
24805 (gst_value_intersect_double_range_double_range),
24806 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24807 (gst_value_subtract_int_range_int),
24808 (gst_value_subtract_double_range_double),
24809 (gst_value_subtract_double_range_double_range),
24810 (gst_value_subtract_from_list), (gst_value_subtract_list),
24811 (gst_value_can_compare), (gst_value_compare_fraction):
24812 Cleanups, add comments, remove unneeded asserts.
24814 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24816 * tools/gst-launch.c: (event_loop):
24817 don't convert NULL structures to strings
24819 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24821 * docs/gst/gstreamer-sections.txt:
24822 made some defines private
24823 * docs/gst/tmpl/gstconfig.sgml:
24824 * docs/gst/tmpl/gstqueue.sgml:
24825 * docs/gst/tmpl/gsttaglist.sgml:
24826 * docs/gst/tmpl/gsttypes.sgml:
24827 * docs/gst/tmpl/gstutils.sgml:
24828 * docs/pwg/appendix-porting.xml:
24829 * gst/base/gstbasesink.h:
24830 * gst/base/gstbasesrc.c:
24831 * gst/base/gstbasesrc.h:
24832 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24833 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24834 * gst/gstelement.c: (gst_element_class_init):
24835 * gst/gstpad.c: (gst_pad_class_init):
24836 * gst/gstqueue.c: (gst_queue_class_init):
24837 * gst/gstxml.c: (gst_xml_class_init):
24838 documented all undocumented signal inline
24839 * libs/gst/controller/gst-controller.h:
24842 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24844 * docs/pwg/appendix-porting.xml:
24845 Document _set_link_function -> _set_setcaps_function.
24847 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24849 * check/Makefile.am:
24850 add a .check target for running the check
24851 * check/gst-libs/controller.c: (GST_START_TEST):
24853 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24854 complete checks for gstbuffer; would be nice if I could get the
24855 gcov stuff to work so I can see if I actually completed gstbuffer.c
24856 * check/gstcheck.h:
24857 add ASSERT_BUFFER_REFCOUNT
24859 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24861 * docs/gst/gstreamer-sections.txt:
24862 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24864 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24865 spew out a warning if a tag that is already registered
24866 is re-registered, unless it is re-registered with a
24867 different type (#308438).
24869 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24871 * docs/pwg/appendix-porting.xml:
24872 * docs/pwg/building-state.xml:
24873 Add some paragraphs about state changes in 0.9 to the PWG
24874 and the porting guide, in particular about the new meaning
24875 of GST_STATE_PAUSED and how to write state change functions
24876 with concurrent access by multiple threads in mind.
24878 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24880 * docs/gst/gstreamer-docs.sgml:
24881 * docs/libs/gstreamer-libs-docs.sgml:
24882 added deprecation and since indexes
24883 * libs/gst/controller/gst-controller.c:
24884 * libs/gst/controller/gst-helper.c:
24888 2005-08-11 Wim Taymans <wim@fluendo.com>
24890 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24891 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24892 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24893 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24894 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24895 (gst_ghost_pad_set_target):
24896 Actually implement (re)setting the target on a ghostpad
24897 as described in the docs.
24899 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24901 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24902 Check whether GST_DEBUG_NO_COLOR environment variable is
24903 set and disable coloured debug output if that is the case.
24905 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24907 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24908 (gst_type_find_helper):
24909 The memory returned by gst_type_find_peek() needs to
24910 stay valid until the end of a typefind function, and
24911 typefind functions may keep results from different
24912 offsets around, so we can't just unref the buffer from
24913 the previous _peek(), but have to save all buffers
24914 returned by _peek() until typefinding is done and only
24917 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24919 * docs/gst/gstreamer-sections.txt:
24921 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24923 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24925 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24926 Fix a pretty good memleak.
24928 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24930 * gst/gstiterator.h:
24931 Fix wrong include and 'make distcheck'.
24933 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24935 * gst/gstbin.c: (bin_bus_handler):
24936 Use gst_element_post_message() instead.
24938 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24940 * gst/base/gstadapter.h:
24941 * gst/base/gstbasesink.h:
24942 * gst/base/gstbasesrc.h:
24943 * gst/base/gstbasetransform.h:
24944 * gst/base/gstcollectpads.h:
24945 * gst/base/gstpushsrc.h:
24946 * gst/gstiterator.h:
24947 Add padding to our base elements' class and instance structs and
24948 to GstIterator (you will need to rebuild all plugins and apps!)
24950 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24952 * gst/gstbin.c: (bin_bus_handler):
24953 Make default message forwarding from child->bus to bin->bus
24954 threadsafe and make it not emit warnings if the parent has no bus.
24956 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24958 * gst/gstelement.c: (activate_pads):
24959 On paused->ready, set pad->caps to NULL, as is the documented
24960 behaviour in this state change. Fixes playback of series of
24961 media files when visualization is enabled in Totem.
24963 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24965 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24966 Allow NULL as filter-caps (which means "any").
24968 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24970 * docs/libs/gstreamer-libs-sections.txt:
24971 * libs/gst/controller/gst-controller.c:
24972 * libs/gst/controller/gst-controller.h:
24973 * libs/gst/controller/gst-helper.c:
24974 adding more entries to the docs and fix small doc-bugs
24976 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24978 * docs/gst/gstreamer-docs.sgml:
24979 * docs/gst/gstreamer-sections.txt:
24980 * docs/gst/gstreamer.types:
24981 * docs/gst/tmpl/gstbasesink.sgml:
24982 * docs/gst/tmpl/gstbasesrc.sgml:
24983 * docs/gst/tmpl/gstbasetransform.sgml:
24984 * docs/gst/tmpl/gstfakesrc.sgml:
24985 * gst/base/gstcollectpads.c:
24986 * gst/base/gstcollectpads.h:
24987 * libs/gst/controller/gst-controller.c:
24988 * libs/gst/controller/gst-controller.h:
24989 * libs/gst/controller/gst-helper.c:
24990 * libs/gst/controller/gst-interpolation.c:
24991 * libs/gst/controller/lib.c:
24992 added long/short desc for controller docs
24993 added collectpads base class docs
24994 added correct includes to base-class docs
24996 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24998 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24999 (gst_test_mono_source_set_property),
25000 (gst_test_mono_source_class_init), (GST_START_TEST),
25001 (gst_controller_suite):
25002 * docs/gst/gstreamer-docs.sgml:
25003 * docs/gst/gstreamer-sections.txt:
25004 * docs/gst/gstreamer.types:
25005 * docs/libs/gstreamer-libs-docs.sgml:
25006 * docs/libs/gstreamer-libs-sections.txt:
25007 * gst/base/gstadapter.c:
25008 * libs/gst/controller/gst-controller.c:
25009 (gst_controlled_property_new), (gst_controlled_property_free),
25010 (gst_controller_new_valist),
25011 (gst_controller_remove_properties_valist),
25012 (gst_controller_sink_values), (_gst_controller_finalize):
25013 * libs/gst/controller/gst-controller.h:
25014 * libs/gst/controller/gst-helper.c:
25015 (gst_object_control_properties), (gst_object_uncontrol_properties),
25016 (gst_object_get_controller), (gst_object_set_controller),
25017 (gst_object_sink_values), (gst_object_get_value_arrays),
25018 (gst_object_get_value_array):
25019 more tests (and fixes) for the controller
25020 more docs for the controller
25021 integrated companies docs for the adapter
25023 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25025 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25026 (GST_START_TEST), (fakesrc_suite):
25027 add tests for sizetype
25029 2005-08-04 Andy Wingo <wingo@pobox.com>
25031 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25032 fixes buffer_alloc proxying among other things.
25034 * gst/base/gstbasetransform.c:
25035 * gst/base/gstbasetransform.h:
25036 Revert patch to gstbasetransform from 7-28 removing
25039 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25040 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25041 Semantics changed, should return not the size of the output buffer
25042 but the byte size of a buffer with a given caps.
25044 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25046 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25047 out) are not the pad caps until setcaps finishes.
25048 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25049 not-in-place case as well. Deal with changing from in-place to
25050 not-in-place within calling pad_alloc_buffer. Still a bit
25051 concerned about the overhead here...
25053 2005-08-03 Andy Wingo <wingo@pobox.com>
25055 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25056 fixating is an error.
25058 2005-08-04 Edward Hervey <edward@fluendo.com>
25060 * gst/base/gstadapter.h:
25061 Added gst_adapter_get_type() to the header
25063 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25065 * check/Makefile.am:
25066 * check/gst-libs/controller.c:
25067 * libs/gst/controller/gst-controller.c:
25068 (gst_controller_new_valist):
25069 added check test suite for the controller
25070 * gst/base/gstpushsrc.c:
25073 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25075 * docs/gst/Makefile.am:
25076 * docs/gst/gstreamer-docs.sgml:
25077 * docs/gst/gstreamer-sections.txt:
25078 * docs/gst/gstreamer.types:
25079 * docs/gst/tmpl/gstfakesrc.sgml:
25081 * gst/base/gstbasesink.c:
25082 * gst/base/gstbasesink.h:
25083 * gst/base/gstbasesrc.c:
25084 * gst/base/gstbasesrc.h:
25085 * gst/base/gstbasetransform.c:
25086 * gst/base/gstpushsrc.c:
25087 * gst/base/gstpushsrc.h:
25088 add short/long description docs to base classes
25089 add pushsrc to the docs
25090 remove consolidated doc fragments
25092 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25095 * docs/libs/Makefile.am:
25096 * docs/libs/gstreamer-libs-docs.sgml:
25097 * docs/libs/gstreamer-libs-sections.txt:
25098 * docs/libs/gstreamer-libs.types:
25099 * examples/Makefile.am:
25100 * examples/controller/.cvsignore:
25101 * examples/controller/Makefile.am:
25102 * examples/controller/audio-example.c: (main):
25103 * libs/gst/Makefile.am:
25104 * libs/gst/controller/.cvsignore:
25105 * libs/gst/controller/Makefile.am:
25106 * libs/gst/controller/gst-controller.c:
25107 (on_object_controlled_property_changed), (gst_timed_value_compare),
25108 (gst_timed_value_find),
25109 (gst_controlled_property_set_interpolation_mode),
25110 (gst_controlled_property_new), (gst_controlled_property_free),
25111 (gst_controller_find_controlled_property),
25112 (gst_controller_new_valist), (gst_controller_new),
25113 (gst_controller_remove_properties_valist),
25114 (gst_controller_remove_properties), (gst_controller_set),
25115 (gst_controller_set_from_list), (gst_controller_unset),
25116 (gst_controller_get), (gst_controller_get_all),
25117 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25118 (gst_controller_get_value_array),
25119 (gst_controller_set_interpolation_mode),
25120 (_gst_controller_finalize), (_gst_controller_init),
25121 (_gst_controller_class_init), (gst_controller_get_type):
25122 * libs/gst/controller/gst-controller.h:
25123 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25124 (g_object_uncontrol_properties), (g_object_get_controller),
25125 (g_object_set_controller), (g_object_sink_values),
25126 (g_object_get_value_arrays), (g_object_get_value_array):
25127 * libs/gst/controller/gst-interpolation.c:
25128 (gst_controlled_property_find_timed_value_node),
25129 (interpolate_none_get), (interpolate_trigger_get),
25130 (interpolate_trigger_get_value_array):
25131 * libs/gst/controller/lib.c: (gst_controller_init):
25132 * pkgconfig/Makefile.am:
25133 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25134 * pkgconfig/gstreamer-control.pc.in:
25135 * testsuite/Makefile.am:
25136 * testsuite/controller/.cvsignore:
25137 * testsuite/controller/Makefile.am:
25138 * testsuite/controller/interpolator.c: (main):
25139 added controller code
25140 removed dparam pc files
25142 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25143 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25144 (gst_collectpads_stop):
25145 Broadcast the condition when shutting down, to make sure we wake all
25146 threads up. Shut down pads on finalize, for safety.
25148 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25149 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25150 (gst_base_transform_handle_buffer),
25151 (gst_base_transform_change_state):
25152 Handle PAUSED->READY->PAUSED transition after negotiation
25154 * gst/gstmessage.c: (gst_message_init):
25155 Extra piece of debug for new messages.
25157 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25160 * docs/gst/tmpl/gstbasesrc.sgml:
25161 * docs/gst/tmpl/gstelement.sgml:
25162 * docs/gst/tmpl/gstevent.sgml:
25163 * docs/gst/tmpl/gstfakesrc.sgml:
25164 * docs/gst/tmpl/gstformat.sgml:
25165 * docs/gst/tmpl/gstghostpad.sgml:
25166 * docs/gst/tmpl/gstpad.sgml:
25167 * docs/gst/tmpl/gstquery.sgml:
25168 * docs/gst/tmpl/gststructure.sgml:
25169 * docs/gst/tmpl/gsttaglist.sgml:
25170 * docs/gst/tmpl/gstvalue.sgml:
25171 * docs/libs/gstreamer-libs-docs.sgml:
25172 * docs/libs/gstreamer-libs-sections.txt:
25173 * docs/libs/gstreamer-libs.types:
25174 * libs/gst/Makefile.am:
25175 * libs/gst/control/.cvsignore:
25176 * libs/gst/control/Makefile.am:
25177 * libs/gst/control/control.c:
25178 * libs/gst/control/control.h:
25179 * libs/gst/control/dparam.c:
25180 * libs/gst/control/dparam.h:
25181 * libs/gst/control/dparam_smooth.c:
25182 * libs/gst/control/dparam_smooth.h:
25183 * libs/gst/control/dparamcommon.h:
25184 * libs/gst/control/dparammanager.c:
25185 * libs/gst/control/dparammanager.h:
25186 * libs/gst/control/dplinearinterp.c:
25187 * libs/gst/control/dplinearinterp.h:
25188 * libs/gst/control/unitconvert.c:
25189 * libs/gst/control/unitconvert.h:
25190 * testsuite/Makefile.am:
25191 * testsuite/dynparams/.cvsignore:
25192 * testsuite/dynparams/Makefile.am:
25193 * testsuite/dynparams/dparamstest.c:
25194 * tools/Makefile.am:
25195 * tools/gst-inspect.c: (print_element_info), (main):
25196 * tools/gst-xmlinspect.c: (print_element_info), (main):
25197 deactivate and remove dparams (libgstcontrol)
25199 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25201 * gst/elements/gsttypefindelement.c:
25202 (gst_type_find_element_have_type), (gst_type_find_element_init),
25203 (stop_typefinding), (gst_type_find_element_handle_event),
25204 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25205 * gst/elements/gsttypefindelement.h:
25206 Set caps on all outgoing buffers, not just the first one.
25208 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25210 * gst/elements/gsttypefindelement.c:
25211 (gst_type_find_element_have_type),
25212 (gst_type_find_element_check_set_buffer_caps),
25213 (gst_type_find_element_init), (stop_typefinding),
25214 (gst_type_find_element_handle_event),
25215 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25216 * gst/elements/gsttypefindelement.h:
25217 Set caps on first outgoing buffer when we've found the type.
25219 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25221 * docs/gst/gstreamer-docs.sgml:
25222 * docs/gst/gstreamer-sections.txt:
25223 * docs/gst/tmpl/gstscheduler.sgml:
25224 * docs/gst/tmpl/gstschedulerfactory.sgml:
25225 Remove some old cruft from docs.
25227 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25230 Fix inline docs for GstPadLinkReturn.
25232 * gst/gststructure.c: (gst_structure_has_name):
25233 * gst/gststructure.h:
25234 * docs/gst/gstreamer-sections.txt:
25235 New API: gst_structure_has_name().
25237 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25240 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25241 and _LARGEFILE_SOURCE in config.h as required. Do not
25242 export those flags in our .pc files any longer (#142209).
25244 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25246 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25247 (gst_file_sink_do_seek), (gst_file_sink_event),
25248 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25249 Redo seek/tell calls with large file support in mind; add some
25250 debugging messages; add log message that tells us when large
25251 file support is unavailable or not enabled for some reason.
25253 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25254 Add log message that tells us when large file support
25255 is unavailable or not enabled for some reason.
25257 2005-07-29 Wim Taymans <wim@fluendo.com>
25259 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25260 Added test for removing an element with ghostpad from a bin.
25261 Fixed test as current implementation does the right thing.
25263 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25264 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25265 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25266 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25267 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25268 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25269 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25270 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25271 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25272 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25273 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25274 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25275 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25276 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25277 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25278 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25279 * gst/gstghostpad.h:
25280 Clean up ghostpads, remove properties for internal stuff.
25283 Prepare for switching targets, not all use cases work yet.
25285 2005-07-29 Wim Taymans <wim@fluendo.com>
25287 * docs/design/part-gstghostpad.txt:
25290 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25291 (gst_bin_remove_func):
25292 Unlinking pads while holding the bin LOCK is not a good
25295 * gst/gstpad.c: (gst_pad_class_init),
25296 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25297 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25298 No prob setting template after creating the pad.
25300 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25302 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25303 (gst_bus_peek), (gst_bus_source_dispatch),
25304 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25305 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25306 gst_bus_poll may be called from other threads. Handle
25307 this nicely by not making poll_data disappear off the
25308 stack once gst_bus_poll returns.
25309 gst_bus_peek now increments the refcount on the returned
25312 2005-07-29 Wim Taymans <wim@fluendo.com>
25314 * docs/design/part-gstghostpad.txt:
25315 Overview of current GhostPad datastructures and use
25316 cases for changing the target.
25318 2005-07-28 Wim Taymans <wim@fluendo.com>
25320 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25321 Added checks for hierarchy consistency whan adding linked
25324 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25325 Added check to test element scheduling without bin/pipeline.
25327 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25328 First add elements to bin, then link.
25330 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25331 (gst_bin_remove_func):
25332 Unlink pads from elements added/removed from bin to maintain
25333 hierarchy consistency.
25335 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25337 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25338 (gst_base_transform_handle_buffer):
25339 * gst/base/gstbasetransform.h:
25340 Remove broken delay_configure (fixes renegotiation of software
25341 scaling pipelines); remove some leftover printf()s.
25343 2005-07-28 Wim Taymans <wim@fluendo.com>
25345 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25346 Added some more tests for wrong hierarchy
25348 * docs/design/part-overview.txt:
25351 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25354 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25355 (gst_element_dispose):
25356 Some more cleanups.
25358 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25359 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25360 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25361 (gst_pad_set_caps), (gst_pad_send_event):
25362 Check for correct hierarchy when linking pads. Moving to
25363 strict requirement for ghostpads when linking elements in
25367 Clean ups. Added WRONG_HIERARCHY return value.
25369 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25371 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25372 Better debug if no transform is possible.
25374 2005-07-27 Wim Taymans <wim@fluendo.com>
25376 * docs/random/wtay/network-transp:
25377 Some old doc I had.
25379 2005-07-27 Wim Taymans <wim@fluendo.com>
25381 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25382 (gst_dp_event_from_packet):
25383 Fix serialization of seek events.
25385 2005-07-27 Wim Taymans <wim@fluendo.com>
25387 * check/gst-libs/gdp.c: (GST_START_TEST):
25388 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25389 Fix compilation and fix event serialization.
25391 2005-07-27 Wim Taymans <wim@fluendo.com>
25394 * docs/design/part-TODO.txt:
25395 * docs/design/part-events.txt:
25398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25399 (gst_base_sink_event), (gst_base_sink_do_sync),
25400 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25401 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25402 (gst_base_src_do_seek), (gst_base_src_event_handler),
25403 (gst_base_src_loop):
25404 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25405 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25406 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25407 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25408 (gst_base_transform_set_passthrough),
25409 (gst_base_transform_is_passthrough):
25410 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25411 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25417 * gst/gstelement.c: (gst_element_seek):
25418 * gst/gstelement.h:
25419 Update gst_element_seek.
25421 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25422 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25423 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25424 (gst_event_new_eos), (gst_event_new_newsegment),
25425 (gst_event_parse_newsegment), (gst_event_new_tag),
25426 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25427 (gst_event_parse_qos), (gst_event_new_seek),
25428 (gst_event_parse_seek), (gst_event_new_navigation):
25430 Make GstEvent use GstStructure. Add parsing code, make sure the
25431 API is sufficiently generic.
25432 Mark possible directions of events and serialization.
25434 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25435 (_gst_message_copy), (gst_message_new_segment_start),
25436 (gst_message_new_segment_done), (gst_message_new_custom),
25437 (gst_message_parse_segment_start),
25438 (gst_message_parse_segment_done):
25441 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25442 (gst_pad_set_caps), (gst_pad_send_event):
25443 Update for new events.
25444 Catch events sent in wrong directions.
25446 * gst/gstqueue.c: (gst_queue_link_src),
25447 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25448 (gst_queue_handle_src_query):
25453 Remove event code from this file.
25455 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25456 (gst_dp_event_from_packet):
25459 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25461 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25462 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25463 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25464 Make debugging actually useful.
25466 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25468 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25469 (gst_pad_fixate_caps):
25470 Implement default fixation once again, so that gst_pad_fixate()
25471 actually does anything at all. This probably needs to be some
25472 sort of a last resort, and use profile-based fixation first, but
25473 since that doesn't exist yet, this is the best we have. Fixes
25474 visualization in Totem.
25476 2005-07-22 Wim Taymans <wim@fluendo.com>
25478 * docs/design/part-events.txt:
25481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25482 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25483 (gst_base_sink_activate_pull):
25484 Some more comments.
25486 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25487 (gst_fake_src_create):
25488 Fix handoff marshall.
25490 * gst/elements/gstidentity.c: (gst_identity_class_init),
25491 (gst_identity_transform_ip):
25492 We're a real inplace element.
25494 * gst/gstbus.c: (gst_bus_post):
25495 Added some comments.
25497 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25498 * tests/muxing/case1.c: (main):
25499 * tests/sched/dynamic-pipeline.c: (main):
25500 * tests/sched/interrupt1.c: (main):
25501 * tests/sched/interrupt2.c: (main):
25502 * tests/sched/interrupt3.c: (main):
25503 * tests/sched/runxml.c: (main):
25504 * tests/sched/sched-stress.c: (main):
25505 * tests/seeking/seeking1.c: (event_received), (main):
25506 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25508 * tests/threadstate/threadstate3.c: (main):
25509 * tests/threadstate/threadstate4.c: (main):
25510 * tests/threadstate/threadstate5.c: (main):
25513 2005-07-21 Wim Taymans <wim@fluendo.com>
25515 * docs/design/part-seeking.txt:
25516 Some small additions.
25518 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25519 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25520 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25521 * gst/base/gstbasesink.h:
25522 discont values are gint64, handle the math correctly.
25524 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25525 Make the basesrc report error if the source pad is not linked.
25527 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25528 (gst_queue_loop), (gst_queue_handle_src_query),
25529 (gst_queue_src_activate_push):
25530 Make queue collect data even if the srcpad is not linked.
25531 Start pushing out data as soon as it is linked.
25533 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25535 Added gst_flow_get_name() to ease error reporting.
25537 2005-07-20 Wim Taymans <wim@fluendo.com>
25539 * gst/gstmessage.c: (gst_message_new_segment_start),
25540 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25541 (gst_message_parse_segment_done):
25542 * gst/gstmessage.h:
25543 Added a bunch of messages for advanced seeking.
25545 * gst/parse/grammar.y:
25546 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25547 (gst_dpman_state_changed):
25548 Fix some new-pad -> pad-added signals
25550 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25552 * docs/manual/appendix-porting.xml:
25553 * docs/pwg/appendix-porting.xml:
25554 Document new-pad/state-change signal renames and the FixedList
25557 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25559 * docs/manual/advanced-autoplugging.xml:
25560 * docs/manual/basics-helloworld.xml:
25561 * docs/manual/basics-pads.xml:
25562 * docs/random/ds/0.9-suggested-changes:
25563 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25564 * gst/gstelement.h:
25568 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25569 (gst_structure_parse_array), (gst_structure_parse_value):
25570 * gst/gstvalue.c: (gst_type_is_fixed),
25571 (gst_value_list_prepend_value), (gst_value_list_append_value),
25572 (gst_value_list_get_size), (gst_value_list_get_value),
25573 (gst_value_transform_array_string), (gst_value_serialize_array),
25574 (gst_value_deserialize_array), (gst_value_intersect_array),
25575 (gst_value_is_fixed), (_gst_value_initialize):
25577 GstElement::new-pad -> pad-added, GstElement::state-change ->
25578 state-changed, GstValueFixedList -> GstValueArray, add format and
25579 flags as their own arguments in gst_element_seek() (should improve
25580 "bindeability"), remove function generators since they don't work
25581 under a whole bunch of compilers (they were deprecated already
25584 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25586 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25587 (_gst_debug_register_funcptr):
25589 Fix illegal cast on some platforms (#309253).
25591 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25593 * gst/gstmessage.c: (gst_message_new_custom):
25594 * gst/gstmessage.h:
25595 Add _new_custom, make _new_application a macro to _new_custom.
25597 2005-07-20 Wim Taymans <wim@fluendo.com>
25599 * gst/base/gstbasesrc.c: (gst_base_src_init),
25600 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25601 * gst/base/gstbasesrc.h:
25602 Add a gboolean to decide when to push out a discont.
25604 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25605 (gst_queue_loop), (gst_queue_handle_src_query),
25606 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25607 (gst_queue_set_property), (gst_queue_get_property):
25610 * tests/threadstate/threadstate1.c: (main):
25611 Make a thread test compile and run... very silly..
25614 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25616 * docs/manual/appendix-porting.xml:
25617 Mention removal of libgstgconf-0.9.la and existence of gconf
25620 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25622 * docs/pwg/advanced-clock.xml:
25623 * docs/pwg/appendix-porting.xml:
25624 * docs/pwg/intro-preface.xml:
25625 * docs/pwg/other-base.xml:
25626 * docs/pwg/other-manager.xml:
25627 * docs/pwg/other-nton.xml:
25628 * docs/pwg/other-ntoone.xml:
25629 * docs/pwg/other-oneton.xml:
25630 * docs/pwg/pwg.xml:
25631 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25632 demuxer), remove n-to-n (was never written), fix some code examples
25633 and links and update the porting section to include all this.
25635 2005-07-19 Wim Taymans <wim@fluendo.com>
25637 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25638 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25639 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25640 (gst_queue_src_activate_push), (gst_queue_change_state),
25641 (gst_queue_get_property):
25643 Propagate GstFlowReturn more intelligently upstream and output
25644 an ERROR/EOS when streaming stopped due to fatal error.
25646 2005-07-19 Wim Taymans <wim@fluendo.com>
25648 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25649 Don't block forever for the state change to complete, the
25650 pipeline already did with a sensible timeout.
25652 2005-07-19 Wim Taymans <wim@fluendo.com>
25654 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25655 Make sure we never call the create function is we
25658 2005-07-19 Andy Wingo <wingo@pobox.com>
25660 * gst/parse/parse.l: Attempt to solve bug #172815.
25662 2005-07-19 Wim Taymans <wim@fluendo.com>
25664 * docs/design/part-clocks.txt:
25665 * docs/design/part-events.txt:
25666 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25667 Small docs updates.
25668 Only update the seeking values when we are not
25671 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25673 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25674 Oops, ignore the result of gst_pad_push_event here.
25676 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25678 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25679 (gst_base_src_activate_push):
25680 Send discont event from the loop function, as pads
25681 aren't activated yet in the activate_push handler.
25683 * gst/gstbin.c: (bin_bus_handler):
25684 Don't leak element name.
25686 2005-07-18 Andy Wingo <wingo@pobox.com>
25688 * configure.ac: Use AS_LIBTOOL_TAGS.
25690 2005-07-18 Wim Taymans <wim@fluendo.com>
25692 * docs/gst/gstreamer.types:
25693 Remove deleted types.
25695 2005-07-18 Wim Taymans <wim@fluendo.com>
25697 * check/elements/gstfakesrc.c: (GST_START_TEST):
25700 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25701 (init_popt_callback):
25703 * gst/gst_private.h:
25704 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25705 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25708 * gst/gstconfig.h.in:
25709 * gst/gstelement.c: (gst_element_class_init),
25710 (gst_element_set_base_time), (gst_element_get_base_time),
25711 (iterator_fold_with_resync), (gst_element_change_state),
25712 (gst_element_dispose), (gst_element_get_bus):
25713 * gst/gstelement.h:
25714 * gst/gstelementfactory.h:
25715 * gst/gsterror.c: (_gst_core_errors_init):
25718 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25720 * gst/gstinfo.c: (_gst_debug_init):
25721 * gst/gstmessage.c: (_gst_message_copy):
25722 * gst/gstmessage.h:
25723 * gst/gstminiobject.h:
25726 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25727 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25730 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25731 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25732 (gst_pipeline_get_last_stream_time):
25733 * gst/gstpipeline.h:
25734 * gst/gstpluginfeature.h:
25736 * gst/gstscheduler.c:
25737 * gst/gstscheduler.h:
25738 * gst/gststructure.h:
25739 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25740 (gst_task_finalize), (gst_task_func), (gst_task_create),
25741 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25742 (gst_task_stop), (gst_task_pause):
25744 * gst/gsttypefind.h:
25746 * gst/registries/gstlibxmlregistry.c: (load_feature),
25747 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25748 * gst/registries/gstxmlregistry.c:
25749 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25750 * gst/schedulers/threadscheduler.c:
25751 * libs/gst/control/dparammanager.h:
25752 * tools/gst-inspect.c: (print_element_list),
25753 (print_plugin_features), (print_element_features):
25754 * tools/gst-xmlinspect.c: (print_element_list),
25755 (print_plugin_info), (main):
25756 Removed plugable schedulers.
25757 Removed Scheduler/Manager from elements.
25758 Removed gsttypes.h, rearranged includes.
25759 Removed dependency pad<->element, element<>pipeline, and
25760 various others, fix includes.
25761 implement gst_pad_get_parent() with gst_object_get_parent()
25762 Make GstTask sefcontained.
25763 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25765 Fix endless loop in iterator_fold_with_resync.
25768 2005-07-18 Wim Taymans <wim@fluendo.com>
25774 2005-07-18 Wim Taymans <wim@fluendo.com>
25777 No more cothreads.h
25779 2005-07-18 Wim Taymans <wim@fluendo.com>
25783 Let's remove these.
25785 2005-07-18 Wim Taymans <wim@fluendo.com>
25787 * docs/design/part-dynamic.txt:
25788 * docs/design/part-events.txt:
25789 * docs/design/part-seeking.txt:
25790 Some more docs in the works.
25792 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25793 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25794 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25795 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25796 (gst_base_transform_handle_buffer),
25797 (gst_base_transform_sink_activate_push),
25798 (gst_base_transform_src_activate_pull),
25799 (gst_base_transform_set_passthrough),
25800 (gst_base_transform_is_passthrough):
25803 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25806 * gst/gstevent.c: (gst_event_finalize):
25809 * gst/gstutils.c: (gst_element_unlink),
25810 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25811 (gst_pad_proxy_setcaps):
25813 Add _get_parent_element() to get a pads parent as an element.
25815 2005-07-18 Wim Taymans <wim@fluendo.com>
25817 * check/gst/gstbin.c: (GST_START_TEST):
25820 2005-07-18 Wim Taymans <wim@fluendo.com>
25822 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25823 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25824 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25825 (gst_base_sink_event), (gst_base_sink_do_sync),
25826 (gst_base_sink_chain), (gst_base_sink_loop),
25827 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25828 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25830 Fix logic for returning ASYNC when not prerolled.
25832 2005-07-18 Wim Taymans <wim@fluendo.com>
25834 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25835 Fix nasty refcount bug.
25837 2005-07-16 Philippe Khalaf <burger@speedy.org>
25839 * gst/elements/gstfdsrc.c:
25840 * gst/elements/gstfdsrc.h:
25841 * gst/elements/gstelements.c:
25842 * gst/elements/Makefile.am:
25843 Ported fdsrc to 0.9.
25845 2005-07-16 Wim Taymans <wim@fluendo.com>
25847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25848 (gst_base_sink_do_sync):
25851 2005-07-16 Wim Taymans <wim@fluendo.com>
25853 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25854 (gst_base_sink_event), (gst_base_sink_get_times),
25855 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25856 * gst/base/gstbasesink.h:
25857 Store and use discont values when syncing buffers as described
25860 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25861 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25862 (gst_base_src_activate_push):
25863 Push discont event when starting.
25865 * gst/elements/gstidentity.c: (gst_identity_transform):
25868 * gst/gstbin.c: (gst_bin_change_state):
25869 Small cleanups in base_time distribution.
25871 * gst/gstelement.c: (gst_element_set_base_time),
25872 (gst_element_get_base_time), (gst_element_change_state):
25873 * gst/gstelement.h:
25874 Added methods for the base_time of the element.
25877 * gst/gstpipeline.c: (gst_pipeline_send_event),
25878 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25879 (gst_pipeline_get_last_stream_time):
25880 * gst/gstpipeline.h:
25882 Handle seeking as described in design doc, remove stream_time
25884 Cleanups clock and stream_time selection code. Added accessors
25885 for the stream_time.
25888 2005-07-16 Andy Wingo <wingo@pobox.com>
25890 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25893 2005-07-16 Wim Taymans <wim@fluendo.com>
25895 * check/gst/gstbin.c: (GST_START_TEST):
25896 Make elements silent as the deep_notify refs the
25897 parent, which might make the test fail.
25899 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25900 Don't hold the lock for too long.
25902 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25904 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25905 Don't unref the caps we passed to gst_caps_make_writable() after
25906 passing them. gst_caps_make_writable() will do that for us.
25908 2005-07-15 Andy Wingo <wingo@pobox.com>
25910 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25913 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25914 own marshalling function for the handoff signal. Properly type the
25915 buffer as a buffer. Fixes some warnings. Should do a more general
25917 (gst_identity_class_init): Plug into the right marshaller.
25919 2005-07-15 Wim Taymans <wim@fluendo.com>
25921 * docs/design/part-TODO.txt:
25922 * docs/design/part-clocks.txt:
25923 * docs/design/part-element-sink.txt:
25924 * docs/design/part-events.txt:
25925 * docs/design/part-gstpipeline.txt:
25926 Updated docs, mostly DISCONT related.
25928 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25930 * docs/pwg/building-pads.xml:
25931 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25933 2005-07-15 Andy Wingo <wingo@pobox.com>
25935 * tools/gst-typefind.c: Update, add copyright block.
25937 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25938 Normalize and truncate caps before fixation.
25941 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25942 discards all but the first structure from its argument.
25944 2005-07-15 Wim Taymans <wim@fluendo.com>
25946 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25947 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25948 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25949 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25950 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25951 (gst_base_transform_chain), (gst_base_transform_change_state),
25952 (gst_base_transform_set_passthrough),
25953 (gst_base_transform_is_passthrough):
25954 * gst/base/gstbasetransform.h:
25955 Make passthrough work using the bufferpools.
25956 Changed API a bit, subclasses have to write into a buffer
25957 provided by the base class.
25958 More debug info in nego functions.
25960 * gst/elements/gstidentity.c: (gst_identity_init),
25961 (gst_identity_transform):
25962 Port to new base class.
25964 2005-07-15 Wim Taymans <wim@fluendo.com>
25966 * gst/gstmessage.c: (gst_message_new_state_changed):
25967 * tools/gst-launch.c: (event_loop), (main):
25968 Totally dump messages in -launch with the -m option.
25969 Fix message name for State messages,
25971 2005-07-14 Wim Taymans <wim@fluendo.com>
25973 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25974 Post error messages on errors.
25976 2005-07-14 Wim Taymans <wim@fluendo.com>
25978 * gst/gstcaps.c: (gst_caps_do_simplify):
25982 Define error for stream stopped.
25984 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25985 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25986 Do proper return values.
25988 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25989 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25990 (gst_pad_get_range):
25991 Better return values.
25994 Reorganise return values, add macro to check for fatal errors.
25996 * gst/gstqueue.c: (gst_queue_chain):
25997 Return proper GstFlowReturn values,
25999 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26001 * docs/gst/gstreamer-sections.txt:
26002 * docs/gst/gstreamer.types:
26003 * docs/gst/tmpl/gst.sgml:
26004 * docs/gst/tmpl/gstbasesink.sgml:
26005 * docs/gst/tmpl/gstbasesrc.sgml:
26006 * docs/gst/tmpl/gstbasetransform.sgml:
26007 * docs/gst/tmpl/gstbin.sgml:
26008 * docs/gst/tmpl/gstbuffer.sgml:
26009 * docs/gst/tmpl/gstcaps.sgml:
26010 * docs/gst/tmpl/gstclock.sgml:
26011 * docs/gst/tmpl/gstcompat.sgml:
26012 * docs/gst/tmpl/gstconfig.sgml:
26013 * docs/gst/tmpl/gstelement.sgml:
26014 * docs/gst/tmpl/gstelementdetails.sgml:
26015 * docs/gst/tmpl/gstelementfactory.sgml:
26016 * docs/gst/tmpl/gstenumtypes.sgml:
26017 * docs/gst/tmpl/gsterror.sgml:
26018 * docs/gst/tmpl/gstevent.sgml:
26019 * docs/gst/tmpl/gstfakesink.sgml:
26020 * docs/gst/tmpl/gstfakesrc.sgml:
26021 * docs/gst/tmpl/gstfilesink.sgml:
26022 * docs/gst/tmpl/gstfilesrc.sgml:
26023 * docs/gst/tmpl/gstfilter.sgml:
26024 * docs/gst/tmpl/gstformat.sgml:
26025 * docs/gst/tmpl/gstghostpad.sgml:
26026 * docs/gst/tmpl/gstimplementsinterface.sgml:
26027 * docs/gst/tmpl/gstindex.sgml:
26028 * docs/gst/tmpl/gstindexfactory.sgml:
26029 * docs/gst/tmpl/gstinfo.sgml:
26030 * docs/gst/tmpl/gstiterator.sgml:
26031 * docs/gst/tmpl/gstmacros.sgml:
26032 * docs/gst/tmpl/gstmemchunk.sgml:
26033 * docs/gst/tmpl/gstminiobject.sgml:
26034 * docs/gst/tmpl/gstobject.sgml:
26035 * docs/gst/tmpl/gstpad.sgml:
26036 * docs/gst/tmpl/gstpadtemplate.sgml:
26037 * docs/gst/tmpl/gstparse.sgml:
26038 * docs/gst/tmpl/gstpipeline.sgml:
26039 * docs/gst/tmpl/gstplugin.sgml:
26040 * docs/gst/tmpl/gstpluginfeature.sgml:
26041 * docs/gst/tmpl/gstquery.sgml:
26042 * docs/gst/tmpl/gstqueue.sgml:
26043 * docs/gst/tmpl/gstregistry.sgml:
26044 * docs/gst/tmpl/gstregistrypool.sgml:
26045 * docs/gst/tmpl/gstscheduler.sgml:
26046 * docs/gst/tmpl/gstschedulerfactory.sgml:
26047 * docs/gst/tmpl/gststructure.sgml:
26048 * docs/gst/tmpl/gstsystemclock.sgml:
26049 * docs/gst/tmpl/gsttaglist.sgml:
26050 * docs/gst/tmpl/gsttagsetter.sgml:
26051 * docs/gst/tmpl/gsttrace.sgml:
26052 * docs/gst/tmpl/gsttrashstack.sgml:
26053 * docs/gst/tmpl/gsttypefind.sgml:
26054 * docs/gst/tmpl/gsttypefindfactory.sgml:
26055 * docs/gst/tmpl/gsttypes.sgml:
26056 * docs/gst/tmpl/gsturihandler.sgml:
26057 * docs/gst/tmpl/gsturitype.sgml:
26058 * docs/gst/tmpl/gstutils.sgml:
26059 * docs/gst/tmpl/gstvalue.sgml:
26060 * docs/gst/tmpl/gstversion.sgml:
26061 * docs/gst/tmpl/gstxml.sgml:
26062 * docs/libs/tmpl/gstcontrol.sgml:
26063 * docs/libs/tmpl/gstdataprotocol.sgml:
26064 * docs/libs/tmpl/gstdparam.sgml:
26065 * docs/libs/tmpl/gstdplinint.sgml:
26066 * docs/libs/tmpl/gstdpman.sgml:
26067 * docs/libs/tmpl/gstdpsmooth.sgml:
26068 * docs/libs/tmpl/gstgetbits.sgml:
26069 * docs/libs/tmpl/gstunitconvert.sgml:
26070 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26071 (gst_push_src_base_init), (gst_push_src_class_init),
26072 (gst_push_src_init), (gst_push_src_create):
26073 * gst/base/gstpushsrc.h:
26074 * gst/elements/gstelements.c:
26075 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26076 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26077 (gst_fake_sink_init), (gst_fake_sink_set_property),
26078 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26079 (gst_fake_sink_event), (gst_fake_sink_preroll),
26080 (gst_fake_sink_render), (gst_fake_sink_change_state):
26081 * gst/elements/gstfakesink.h:
26082 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26083 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26084 (gst_fake_src_base_init), (gst_fake_src_class_init),
26085 (gst_fake_src_init), (gst_fake_src_event_handler),
26086 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26087 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26088 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26089 (gst_fake_src_create_buffer), (gst_fake_src_create),
26090 (gst_fake_src_start), (gst_fake_src_stop):
26091 * gst/elements/gstfakesrc.h:
26092 * gst/elements/gstfilesink.c: (_do_init),
26093 (gst_file_sink_base_init), (gst_file_sink_class_init),
26094 (gst_file_sink_init), (gst_file_sink_dispose),
26095 (gst_file_sink_set_location), (gst_file_sink_set_property),
26096 (gst_file_sink_get_property), (gst_file_sink_open_file),
26097 (gst_file_sink_close_file), (gst_file_sink_query),
26098 (gst_file_sink_event), (gst_file_sink_render),
26099 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26100 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26101 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26102 * gst/elements/gstfilesink.h:
26103 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26104 (gst_file_src_class_init), (gst_file_src_init),
26105 (gst_file_src_finalize), (gst_file_src_set_location),
26106 (gst_file_src_set_property), (gst_file_src_get_property),
26107 (gst_file_src_map_region), (gst_file_src_map_small_region),
26108 (gst_file_src_create_mmap), (gst_file_src_create_read),
26109 (gst_file_src_create), (gst_file_src_is_seekable),
26110 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26111 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26112 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26113 (gst_file_src_uri_handler_init):
26114 * gst/elements/gstfilesrc.h:
26115 more autistic cleanliness in functions/names/defines
26117 2005-07-13 Andy Wingo <wingo@pobox.com>
26119 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26120 source couldn't negotiate.
26122 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26126 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26127 function. I am channeling Hades. Put your boots on suckers!!!
26129 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26131 * testsuite/caps/Makefile.am:
26132 * testsuite/caps/value_compare.c:
26133 * testsuite/caps/value_intersect.c:
26134 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26135 move two testsuite apps over to the check dir
26137 2005-07-12 Wim Taymans <wim@fluendo.com>
26139 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26140 Added more debug info in the negotiate process.
26142 * gst/gstmessage.h:
26143 Prepare for segment playback.
26145 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26151 * tools/gst-launch.c: (main):
26152 NULL pipeline on errors.
26154 2005-07-12 Andy Wingo <wingo@pobox.com>
26156 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26157 not it comes from a malloc region. Make sure our copy gets freed.
26159 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26161 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26162 * check/gst/gstmessage.c: (GST_START_TEST):
26163 * check/gst/gststructure.c: (GST_START_TEST),
26164 (gst_structure_suite), (main):
26166 * gst/gstelement.c: (gst_element_message_full):
26167 clean up GError and debug string now that they get copied
26168 * gst/gstmessage.c: (gst_message_new_error),
26169 (gst_message_new_warning), (gst_message_parse_error),
26170 (gst_message_parse_warning):
26171 use GST_TYPE_G_ERROR for structure_new, and take copies of
26172 arguments, so that we don't mess up refcounting
26174 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26176 * check/Makefile.am:
26177 add per-test valgrind targets
26178 * check/gst-libs/gdp.c: (GST_START_TEST),
26179 (gst_data_protocol_suite), (main):
26182 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26184 * check/Makefile.am:
26185 instate more valgrindable tests
26186 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26187 (GST_START_TEST), (fakesrc_suite):
26188 * check/gst/gstpad.c: (GST_START_TEST):
26189 * check/gst/gststructure.c: (GST_START_TEST):
26191 * docs/gst/tmpl/gstminiobject.sgml:
26192 * gst/gstpad.c: (gst_pad_finalize):
26193 fix the static mutex leak
26195 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26197 * check/Makefile.am:
26198 add two more tests for valgrinding
26199 * check/gst/gstvalue.c: (GST_START_TEST):
26200 test refcount of deserialized buffer, found a leak
26201 * docs/gst/gstreamer-docs.sgml:
26202 * docs/gst/gstreamer-sections.txt:
26203 * docs/gst/gstreamer.types:
26204 * docs/gst/tmpl/gstminiobject.sgml:
26205 add miniobject to docs
26206 * gst/gstminiobject.c:
26208 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26209 (gst_string_unwrap):
26210 fix a hard-to-find invalid write for one of the tests
26211 fix a leak for deserialized buffers
26213 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26215 * docs/pwg/advanced-events.xml:
26216 * docs/pwg/advanced-request.xml:
26217 * docs/pwg/advanced-scheduling.xml:
26218 * docs/pwg/appendix-porting.xml:
26219 * docs/pwg/building-boiler.xml:
26220 * docs/pwg/intro-preface.xml:
26221 * docs/pwg/other-ntoone.xml:
26222 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26223 of example code and explanation for pad activation, loop() and
26224 getrange() functions and a bit more. Remove old comments pointing
26226 * examples/pwg/Makefile.am:
26227 Add loop/getrange examples.
26229 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26232 check for valgrind binary + some fixes
26234 valgrind suppressions for the tests
26235 * check/Makefile.am:
26236 add a valgrind: target that valgrinds the unit tests
26237 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26238 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26239 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26240 * check/gst/gstghostpad.c:
26242 * check/gst/gstdata.c:
26244 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26245 (thread_unref), (gst_mini_object_suite), (main):
26247 * gst/gst.c: (gst_deinit):
26249 add a method to clean up.
26250 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26251 (gst_system_clock_obtain):
26252 allow for disposing the system clock.
26253 * tools/gst-launch.c: (main):
26256 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26258 * docs/gst/tmpl/gstbasesrc.sgml:
26259 * docs/gst/tmpl/gstfakesrc.sgml:
26260 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26261 (gst_base_src_init), (gst_base_src_set_property),
26262 (gst_base_src_get_property), (gst_base_src_get_range),
26263 (gst_base_src_start):
26264 * gst/base/gstbasesrc.h:
26265 add num-buffers property
26266 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26267 (gst_fakesrc_init), (gst_fakesrc_set_property),
26268 (gst_fakesrc_get_property), (gst_fakesrc_create),
26269 (gst_fakesrc_start):
26270 remove num-buffers property
26272 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26274 * docs/gst/gstreamer-sections.txt:
26275 * docs/gst/tmpl/gstbasesink.sgml:
26276 * docs/gst/tmpl/gstbasesrc.sgml:
26277 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26278 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26279 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26280 (gst_base_sink_set_property), (gst_base_sink_get_property),
26281 (gst_base_sink_handle_object), (gst_base_sink_event),
26282 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26283 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26284 (gst_base_sink_loop), (gst_base_sink_deactivate),
26285 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26286 (gst_base_sink_change_state):
26287 * gst/base/gstbasesink.h:
26288 * gst/base/gstbasesrc.h:
26289 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26290 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26291 (gst_filesink_init):
26292 more macro splitting
26294 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26296 * gst/gstelement.c: (gst_element_get_bus):
26298 * tools/gst-launch.c: (check_intr), (event_loop):
26301 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26303 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26306 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26308 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26309 (gst_base_src_finalize):
26310 add finalize method and clean up properly
26311 * gst/gstpipeline.c: (gst_pipeline_dispose):
26314 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26316 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26318 add more things to check
26319 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26320 * gst/gstelement.c:
26323 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26325 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26326 (GST_START_TEST), (fakesrc_suite):
26327 * check/gst-libs/gdp.c: (GST_START_TEST):
26328 * check/gst/gst.c: (GST_START_TEST):
26329 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26330 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26331 * check/gst/gstbus.c: (GST_START_TEST):
26332 * check/gst/gstcaps.c: (GST_START_TEST):
26333 * check/gst/gstdata.c: (GST_START_TEST):
26334 * check/gst/gstelement.c: (GST_START_TEST):
26335 * check/gst/gstghostpad.c: (GST_START_TEST):
26336 * check/gst/gstiterator.c: (GST_START_TEST):
26337 * check/gst/gstmessage.c: (GST_START_TEST):
26338 * check/gst/gstobject.c: (GST_START_TEST):
26339 * check/gst/gstpad.c: (GST_START_TEST):
26340 * check/gst/gststructure.c: (GST_START_TEST):
26341 * check/gst/gstsystemclock.c: (GST_START_TEST),
26342 (gst_systemclock_suite):
26343 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26344 * check/gst/gstvalue.c: (GST_START_TEST):
26345 * check/pipelines/cleanup.c: (GST_START_TEST):
26346 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26347 * check/states/sinks.c: (GST_START_TEST):
26348 * check/gstcheck.c: (gst_check_init):
26349 * check/gstcheck.h:
26350 add debugging category
26351 use GST_START_TEST now, so we add a debug line
26353 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26355 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26356 add test for state change message on a bin
26357 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26359 * gst/gstbin.c: (gst_bin_init):
26360 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26361 * gst/gstelement.c: (gst_element_post_message),
26362 (gst_element_set_state):
26363 * gst/gstelementfactory.c: (gst_element_factory_create):
26364 * gst/gstmessage.c: (gst_message_new):
26365 * gst/gstscheduler.c:
26366 various debugging additions and cleanups
26368 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26370 * check/Makefile.am:
26371 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26373 adding tests for elements
26374 * gst/gstelement.c: (gst_element_dispose):
26376 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26378 * gst/registries/gstlibxmlregistry.c: (load_feature):
26379 plug more leaks. A simple gst_init() now is leakfree, yay.
26381 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26383 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26384 (gst_xml_registry_load):
26385 plug another memleak
26387 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26390 use GST_SET_ERROR_CFLAGS
26391 * docs/faq/cvs.xml:
26392 change to ERROR_CFLAGS
26394 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26397 make GST_ERROR_CFLAGS overridable and re-enable Werror
26398 * docs/faq/cvs.xml:
26399 add a note about error CFLAGS
26400 * docs/gst/tmpl/gstfakesrc.sgml:
26401 * gst/elements/gstfakesrc.c:
26402 comment out some unused code
26403 * gst/gst.c: (split_and_iterate):
26404 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26408 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26410 * common/Makefile.am:
26411 * common/gtk-doc.mak:
26412 * docs/gst/Makefile.am:
26413 factor out gtk-doc.mak
26415 2005-07-07 Wim Taymans <wim@fluendo.com>
26417 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26418 (gst_thread_scheduler_dispose):
26419 Unlock the STREAM_LOCK completely.
26421 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26423 * check/Makefile.am:
26424 * check/elements/.cvsignore:
26425 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26426 (START_TEST), (fakesrc_suite), (main):
26427 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26428 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26429 (gst_fakesrc_create), (gst_fakesrc_start):
26430 * gst/elements/gstfakesrc.h:
26431 adding a first element test
26433 2005-07-07 Andy Wingo <wingo@pobox.com>
26435 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26438 2005-07-07 Wim Taymans <wim@fluendo.com>
26444 2005-07-07 Wim Taymans <wim@fluendo.com>
26446 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26447 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26448 Allow subclasses to implement their own negotiation.
26450 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26452 * docs/design/part-gstbin.txt:
26453 * docs/design/part-gstpipeline.txt:
26454 Update design notes to reflect the movement of
26455 responsibility for bus handling from GstPipeline to
26458 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26461 Remove unnecessary queue2/3/4 examples.
26463 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26465 * examples/Makefile.am:
26466 * examples/helloworld/helloworld.c: (event_loop), (main):
26467 * examples/queue/queue.c: (event_loop), (main):
26468 * examples/queue2/queue2.c: (main):
26469 Update a couple of the examples to work again.
26471 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26472 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26473 Spelling corrections and extra debug.
26475 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26476 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26477 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26479 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26480 (gst_pipeline_change_state):
26481 * gst/gstpipeline.h:
26482 Move the bus handler for children to the GstBin, and create a
26483 separate bus for receiving messages from children to the one the
26484 bus sends 'upwards' on.
26486 2005-07-06 Wim Taymans <wim@fluendo.com>
26489 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26490 (gst_base_sink_handle_object), (gst_base_sink_loop),
26491 (gst_base_sink_change_state):
26492 * gst/base/gstbasesink.h:
26493 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26494 (gst_base_src_init), (gst_base_src_setcaps),
26495 (gst_base_src_getcaps), (gst_base_src_loop),
26496 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26497 (gst_base_src_start), (gst_base_src_change_state):
26498 * gst/base/gstbasesrc.h:
26499 Make basesrc negotiate.
26500 Handle the case where preroll fails in basesink.
26503 2005-07-06 Wim Taymans <wim@fluendo.com>
26505 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26506 Implement the fixate function.
26507 Clean up acceptcaps.
26509 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26511 * docs/pwg/building-filterfactory.xml:
26512 * docs/pwg/pwg.xml:
26513 Remove never-written filter-factory chapter; I'll add the various
26514 base classes to part 4 ("other element types") later on.
26516 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26518 * docs/pwg/advanced-negotiation.xml:
26519 * docs/pwg/building-boiler.xml:
26520 * docs/pwg/building-pads.xml:
26521 * docs/pwg/pwg.xml:
26522 * examples/pwg/Makefile.am:
26523 Add a chapter on caps negotiation, simplify the original code
26524 samples a bit w.r.t. caps negotiation, add link to the advanced
26525 section. Add a bunch of examples showing different use cases of
26526 different types of caps negotiation. Upstream renegotiation isn't
26527 fully documented yet since nobody knows how that works.
26529 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26531 * check/gst/gstpad.c:
26532 * check/gstcheck.c:
26533 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26534 if pad has no parent, return NULL as list of internal links
26536 2005-07-05 Andy Wingo <wingo@pobox.com>
26538 * gst/elements/gstfilesrc.c:
26539 * gst/elements/gstfakesrc.c:
26540 * gst/base/gstpushsrc.c:
26541 * gst/base/gstbasesrc.h:
26542 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26544 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26547 better report generation target (lcov needs a patch)
26549 2005-07-05 Andy Wingo <wingo@pobox.com>
26551 * gst/elements, testsuite: Null if we got it...
26553 2005-07-05 Wim Taymans <wim@fluendo.com>
26556 * libs/gst/dataprotocol/Makefile.am:
26557 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26558 * libs/gst/dataprotocol/dataprotocol.h:
26559 * pkgconfig/Makefile.am:
26560 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26561 * pkgconfig/gstreamer-dataprotocol.pc.in:
26562 Ported dataprotol to 0.9.
26563 Added pkgconfig files.
26565 2005-07-05 Andy Wingo <wingo@pobox.com>
26567 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26568 Default to returning TRUE for the case when tranform_caps returns
26569 a fixed caps, like for identity or volume.
26571 * check/gst/gstbus.c (pound_bus_with_messages):
26572 * check/gst/gstmessage.c (START_TEST):
26573 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26574 message API change.
26576 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26577 logic weaks here: always run transform_caps, trying passthrough
26578 operation only if the original caps intersects with the transform.
26580 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26581 source and sink caps.
26583 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26584 Intersect the peer caps with the pad template before going into
26586 (gst_base_transform_transform_caps): More debugging.
26588 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26591 2005-07-04 Edward Hervey <edward@fluendo.com>
26595 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26598 2005-07-04 Andy Wingo <wingo@pobox.com>
26600 * check/gst/gstpad.c: Only set explicit caps on pads.
26602 2005-07-01 Andy Wingo <wingo@pobox.com>
26604 * tests/network-clock.scm: Commentary update.
26606 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26607 Didn't really make sense, not implementable with basetransform,
26609 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26610 attempt at implementing the sync property, needs an unlock method.
26612 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26613 New func, by default returns the same caps (the identity
26615 (gst_base_transform_getcaps): Uses transform_caps to return
26616 something sensible.
26617 (gst_base_transform_setcaps): Complicated logic to get caps on
26618 both pads, even if they are different, and to call set_caps once
26619 for every time both pads get their caps set.
26620 (gst_base_transform_handle_buffer): Give the ref to the transform
26621 function. Allows in-place modification of the buffer.
26623 * gst/base/gstbasetransform.h (transform_caps): New class method.
26624 Given caps on one side, what can I do on the other.
26625 (set_caps): Take two caps, one for each side of the element.
26628 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26629 caps in place. This is safe because we can check the mutability of
26630 the caps, and a good idea because fixate functions are just called
26631 as a matter of last resort. (Not actually implemented.)
26632 (gst_pad_set_caps): If the caps we're setting is actually the same
26633 as the existing pad caps, just update the pointer without calling
26634 setcaps. Assert that caps is either NULL or fixed, as per the
26637 * gst/gstghostpad.c: Update for fixate changes.
26639 2005-07-02 Andy Wingo <wingo@pobox.com>
26642 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26643 two refcounts makes it immutable, which is enough. Doc more.
26645 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26647 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26648 Put the mini_object into GValue as a mini_object,
26649 not a gpointer, since that's how we declared
26652 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26654 * examples/pwg/Makefile.am:
26655 Fix buildbot again.
26657 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26659 * docs/pwg/building-testapp.xml:
26661 * examples/pwg/Makefile.am:
26664 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26667 * examples/Makefile.am:
26668 * examples/pwg/Makefile.am:
26669 * examples/pwg/extract.pl:
26670 Enable building the PWG examples.
26671 * docs/pwg/advanced-interfaces.xml:
26672 Add URI interface stub.
26673 * docs/pwg/advanced-types.xml:
26674 * docs/pwg/other-autoplugger.xml:
26675 * docs/pwg/appendix-porting.xml:
26676 * docs/pwg/pwg.xml:
26677 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26678 * docs/pwg/building-boiler.xml:
26679 * docs/pwg/building-chainfn.xml:
26680 * docs/pwg/building-pads.xml:
26681 * docs/pwg/building-props.xml:
26682 * docs/pwg/building-state.xml:
26683 * docs/pwg/building-testapp.xml:
26684 Update the building-*.xml parts for 0.9 changes. All examples
26685 code blocks compile in examples/pwg/*.
26687 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26689 * docs/manual/advanced-autoplugging.xml:
26690 * docs/manual/appendix-checklist.xml:
26691 * docs/manual/appendix-integration.xml:
26692 * docs/manual/highlevel-components.xml:
26693 Fix playbin/decodebin examples, update docs a bit, mention bus
26694 instead of signals in various places, mention kmplayer and
26695 kaffeine since they have a working GStreamer backend in the KDE
26698 2005-06-30 Wim Taymans <wim@fluendo.com>
26701 * docs/design/draft-ghostpads.txt:
26702 * docs/design/draft-push-pull.txt:
26703 * docs/design/draft-query.txt:
26704 * docs/design/part-TODO.txt:
26705 * docs/design/part-query.txt:
26706 Added CHANGES-0.9 doc, updated status of other docs.
26711 2005-06-30 Wim Taymans <wim@fluendo.com>
26713 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26714 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26715 (gst_base_sink_change_state):
26716 * gst/base/gstbasesink.h:
26717 Some tweaks, only EOS and a buffer complete a preroll.
26719 2005-06-30 Andy Wingo <wingo@pobox.com>
26721 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26722 activate_push down to the internal pad as well.
26724 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26726 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26728 * gst/gsttaginterface.c:
26729 Some documentation fixes (#307394 and #307397).
26731 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26733 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26735 * gst/gstvalue.c: (gst_value_intersect_list):
26736 Fix memleak (#309125).
26738 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26740 * docs/manual/advanced-dataaccess.xml:
26741 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26742 * docs/manual/basics-pads.xml:
26743 Add reference for filtered caps to above chapter.
26745 2005-06-30 Wim Taymans <wim@fluendo.com>
26747 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26748 (gst_bin_change_state):
26750 Lame attempt at making the state change function a bit
26753 2005-06-30 Wim Taymans <wim@fluendo.com>
26755 * docs/design/part-clocks.txt:
26756 * docs/design/part-element-sink.txt:
26757 * docs/design/part-events.txt:
26758 * docs/design/part-preroll.txt:
26759 * docs/design/part-states.txt:
26760 Some more tweeks and additions to the docs.
26762 2005-06-30 Wim Taymans <wim@fluendo.com>
26764 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26765 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26766 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26767 (gst_pad_check_pull_range), (gst_pad_get_range),
26768 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26770 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26771 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26772 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26773 (gst_pad_remove_buffer_probe):
26774 Removed atomic operations, use existing LOCK.
26775 Move exception handling out of main code path.
26777 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26779 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26780 (silly_return_true_function), (gst_pad_class_init),
26781 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26782 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26783 (gst_pad_send_event):
26784 Fix accumulator, add default value by using _emitv() instead
26785 of _emit() for signal emission.
26787 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26789 * docs/manual/advanced-dataaccess.xml:
26790 * examples/manual/Makefile.am:
26792 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26795 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26797 * gst/elements/gstfilesink.c: (gst_filesink_render):
26798 Simplify code so that we don't have to handle short
26799 writes and return GST_FLOW_ERROR if an error occured.
26801 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26803 * docs/gst/gstreamer-docs.sgml:
26804 Remove probes more.
26806 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26808 * docs/gst/gstreamer-sections.txt:
26809 * docs/gst/tmpl/gstpad.sgml:
26810 * docs/gst/tmpl/gstprobe.sgml:
26812 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26813 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26814 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26815 (gst_pad_push_event), (gst_pad_send_event):
26817 * gst/gstutils.c: (gst_pad_add_data_probe),
26818 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26819 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26820 (gst_pad_remove_buffer_probe):
26822 Remove old probes, add new g-signal-based probes and some utility
26825 2005-06-29 Edward Hervey <edward@fluendo.com>
26827 * gst/gstelementfactory.c:
26830 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26831 the definition to the header file.
26833 2005-06-29 Andy Wingo <wingo@pobox.com>
26835 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26836 plugins from the source directory.
26838 2005-06-29 Wim Taymans <wim@fluendo.com>
26840 * docs/gst/tmpl/gstbuffer.sgml:
26841 * docs/gst/tmpl/gstclock.sgml:
26842 Some fixings for blantently wrong text.
26844 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26846 * check/Makefile.am:
26847 * gst/gst.c: (add_path_func), (init_pre):
26848 * gst/gstregistry.c: (gst_registry_add_path):
26849 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26850 only scan the GST_PLUGIN_PATH locations, and not add
26853 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26855 * docs/gst/gstreamer-sections.txt:
26856 * docs/gst/tmpl/gstbasesrc.sgml:
26857 * gst/gstelement.c:
26858 * gst/gstelement.h:
26863 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26865 * docs/manual/advanced-autoplugging.xml:
26866 Fix autoplugging example.
26868 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26870 * docs/manual/advanced-autoplugging.xml:
26871 * docs/manual/mime-world.fig:
26872 Try to get autoplugging working, fix type detection. Fix text
26873 in hello-world image.
26875 2005-06-29 Wim Taymans <wim@fluendo.com>
26877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26878 (gst_base_sink_change_state):
26882 map SIGNAL and BROADCAST to the right function.
26885 Remove redundant braces.
26887 * gst/gstpad.c: (gst_pad_set_caps):
26888 Don't call setcaps function when reseting caps to NULL.
26890 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26891 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26892 (gst_system_clock_id_unschedule):
26893 Use BROADCAST as this is what we do.
26895 2005-06-29 Wim Taymans <wim@fluendo.com>
26897 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26898 We are actually prerolling before commiting the state
26901 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26903 * docs/manual/advanced-clocks.xml:
26904 * docs/manual/advanced-interfaces.xml:
26905 * docs/manual/advanced-metadata.xml:
26906 * docs/manual/advanced-position.xml:
26907 * docs/manual/advanced-schedulers.xml:
26908 * docs/manual/advanced-threads.xml:
26909 * docs/manual/appendix-porting.xml:
26910 * docs/manual/basics-bins.xml:
26911 * docs/manual/basics-bus.xml:
26912 * docs/manual/basics-elements.xml:
26913 * docs/manual/basics-helloworld.xml:
26914 * docs/manual/basics-pads.xml:
26915 * docs/manual/highlevel-components.xml:
26916 * docs/manual/manual.xml:
26917 * docs/manual/thread.fig:
26918 Update (until threads/scheduling) Application Development Manual;
26919 remove GstThread, add GstBus, add simple porting checklist, add
26920 documentation for tag writing, clocks, make all examples until this
26921 part compile and run.
26922 * examples/manual/Makefile.am:
26923 Update from changes to Application Development Manual; add bus
26924 example, remove thread example.
26926 2005-06-28 Wim Taymans <wim@fluendo.com>
26928 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26929 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26930 (gst_bus_source_dispatch):
26931 Add debugging messages.
26932 Make internal methods static.
26933 Handle the case where the bus is flushed in the handler.
26935 * gst/gstelement.c: (gst_element_get_bus):
26936 Fix refcount in _get_bus();
26938 * gst/gstpipeline.c: (gst_pipeline_change_state),
26939 (gst_pipeline_get_clock_func):
26940 Clock refcounting fixes.
26941 Handle the case where preroll timed out more gracefully.
26943 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26944 Clean up the internal thread in dispose. This is needed
26945 for subclasses that actually get disposed.
26947 * gst/schedulers/threadscheduler.c:
26948 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26949 (gst_thread_scheduler_dispose):
26950 Free thread pool in dispose.
26952 2005-06-28 Andy Wingo <wingo@pobox.com>
26954 * tests/network-clock-utils.scm (debug, print-event): New utils.
26956 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26957 (*packet-loss*): Unified loss probability.
26958 (network-time): Report out-of-band events.
26960 * tests/plot-data: Add support for out-of-band events. Hack it
26961 into this script instead of passing it down the pipe; should fix
26964 2005-06-28 Wim Taymans <wim@fluendo.com>
26966 * docs/gst/gstreamer.types:
26967 * docs/gst/tmpl/gstbasesrc.sgml:
26968 * docs/gst/tmpl/gstpad.sgml:
26971 2005-06-28 Wim Taymans <wim@fluendo.com>
26973 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26974 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26975 (gst_proxy_pad_do_fixatecaps):
26976 Correctly proxy the check_pull_range function.
26978 2005-06-28 Andy Wingo <wingo@pobox.com>
26980 * tests/network-clock.scm: Removed need for slib.
26982 2005-06-28 Wim Taymans <wim@fluendo.com>
26984 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26985 (gst_basesink_preroll_queue_flush):
26986 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26987 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26988 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26989 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26990 (gst_proxy_pad_set_property):
26993 * gst/gstqueue.c: (gst_queue_init):
26994 The deprecated pad loop function is removed now.
26996 2005-06-28 Andy Wingo <wingo@pobox.com>
26998 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26999 New parameters, simulate network packet loss.
27001 * tests/network-clock-utils.scm: Initialize the RNG.
27003 2005-06-28 Wim Taymans <wim@fluendo.com>
27005 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27006 (gst_basesink_event), (gst_basesink_deactivate):
27007 Flushing the preroll queue always needs to unlock the waiters.
27009 2005-06-28 Edward Hervey <edward@fluendo.com>
27011 * gst/gstpipeline.c: (gst_pipeline_send_event):
27012 Wheen a seek was successful on a pipeline, set the stream_time to the
27013 seek offset in order to have a synchronized stream_time.
27015 2005-06-28 Wim Taymans <wim@fluendo.com>
27017 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27018 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27019 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27020 (gst_proxy_pad_do_fixatecaps):
27021 Call wrapper function instead of just calling the function
27022 pointers. This takes care of any locking and whatmore.
27024 2005-06-28 Wim Taymans <wim@fluendo.com>
27026 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27027 (gst_pad_pull_range):
27029 CONNECTED -> LINKED.
27031 2005-06-28 Andy Wingo <wingo@pobox.com>
27033 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27034 source-munging commit!!!
27036 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27037 (gst_object_sink): Take gpointer arguments, not GstObject --
27038 avoids casts. Like GLib.
27040 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27043 2005-06-27 Andy Wingo <wingo@pobox.com>
27045 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27048 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27049 returns a sorted copy of the trace list.
27050 (gst_alloc_trace_print_live): New API, only prints traces with
27051 live objects. Sort the list.
27052 (gst_alloc_trace_print_all): Sort the list.
27053 (gst_alloc_trace_print): Align columns.
27055 * gst/elements/gstttypefindelement.c:
27056 * gst/elements/gsttee.c:
27057 * gst/base/gstbasesrc.c:
27058 * gst/base/gstbasesink.c:
27059 * gst/base/gstbasetransform.c:
27060 * gst/gstqueue.c: Adapt for pad activation changes.
27062 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27064 (gst_pipeline_dispose): Drop ref on sched.
27066 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27067 (gst_pad_activate_default): Push mode by default.
27068 (pre_activate_switch, post_activate_switch): New stubs, things to
27069 do before and after switching activation modes on pads.
27070 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27071 the pad's activate function to choose which mode to activate.
27072 Shortcut on deactivation and call the right function directly.
27073 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27075 (gst_pad_activate_push): New API, same for push mode.
27076 (gst_pad_set_activate_function)
27077 (gst_pad_set_activatepull_function)
27078 (gst_pad_set_activatepush_function): Setters for new API.
27080 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27081 Trace all miniobjects.
27082 (gst_mini_object_make_writable): Unref the arg if we copy, like
27083 gst_caps_make_writable.
27085 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27087 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27088 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27089 Adapt for new pad API.
27091 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27093 * gst/gstelement.h:
27094 * gst/gstelement.c (gst_element_iterate_src_pads)
27095 (gst_element_iterate_sink_pads): New API functions.
27097 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27098 should fold into gstiterator.c in some form.
27099 (gst_element_pads_activate): Simplified via use of fold and
27100 delegation of decisions to gstpad->activate.
27102 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27105 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27106 class once in init, like gstmessage. Didn't run into this issue
27107 but it seems correct. Don't initialize a trace, gstminiobject does
27110 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27111 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27113 (assert_live_count): New util function, uses alloc traces to check
27116 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27117 To be modified when unlink drops the internal pad.
27119 2005-06-27 Wim Taymans <wim@fluendo.com>
27121 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27122 (gst_bin_change_state):
27123 Cleanup the get_state() function a little, make sure it
27124 iterates the same set of elements.
27125 Added stub iterate_state_order().
27127 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27129 * docs/gst/gstreamer-docs.sgml:
27130 * docs/gst/gstreamer-sections.txt:
27131 * docs/gst/gstreamer.types:
27132 * docs/gst/tmpl/gstbasesink.sgml:
27133 * docs/gst/tmpl/gstbasesrc.sgml:
27134 * docs/gst/tmpl/gstbasetransform.sgml:
27135 * docs/gst/tmpl/gstelement.sgml:
27136 * docs/gst/tmpl/gstiterator.sgml:
27137 * gst/base/gstbasesrc.c:
27138 * gst/base/gstbasesrc.h:
27139 * gst/base/gstbasetransform.h:
27140 * gst/gstelement.c:
27141 * gst/gstiterator.h:
27142 adding basetransform and iterator docs
27144 2005-06-27 Andy Wingo <wingo@pobox.com>
27146 * docs/design/part-activation.txt: Notes on how activation should
27147 work -- not quite implemented yet.
27149 2005-06-25 Wim Taymans <wim@fluendo.com>
27151 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27152 At least get the chain function correct, needs more
27155 2005-06-25 Wim Taymans <wim@fluendo.com>
27157 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27158 (gst_basesink_handle_object), (gst_basesink_event),
27159 (gst_basesink_do_sync), (gst_basesink_handle_event),
27160 (gst_basesink_change_state):
27162 Right, two problems here: ghostpads don't take locks and
27163 glib _rec_mutex_lock_full() with depth==0 still locks.
27164 Catch illegal locking and g_warn them.
27166 2005-06-25 Wim Taymans <wim@fluendo.com>
27168 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27169 Have to check for completion now...
27171 2005-06-25 Wim Taymans <wim@fluendo.com>
27173 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27174 (gst_basesink_handle_object), (gst_basesink_event),
27175 (gst_basesink_do_sync), (gst_basesink_handle_event),
27176 (gst_basesink_change_state):
27178 Unlock STREAM_LOCK whatever the recursion was.
27180 2005-06-25 Wim Taymans <wim@fluendo.com>
27182 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27183 (gst_basesink_preroll_queue_empty),
27184 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27185 (gst_basesink_event), (gst_basesink_do_sync),
27186 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27187 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27188 (gst_basesink_change_state):
27189 Reworked the base sink, handle event and buffer serialisation
27190 correctly and removed possible deadlock.
27191 Handle EOS correctly.
27193 2005-06-25 Wim Taymans <wim@fluendo.com>
27195 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27196 (gst_pipeline_change_state):
27197 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27198 Allow elements to post EOS in the state change function.
27199 Fix up -launch, make it exit the poll loop when the
27200 pipeline actually changed state.
27201 Fix up warning parsing in -launch.
27203 2005-06-25 Wim Taymans <wim@fluendo.com>
27205 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27206 (gst_tee_sink_activate):
27207 Core takes STREAM_LOCK for us now.
27209 2005-06-25 Wim Taymans <wim@fluendo.com>
27211 * gst/gstelement.c: (gst_element_get_state_func),
27212 (gst_element_set_state):
27213 * gst/gstelement.h:
27214 * gst/gstmessage.c: (gst_message_parse_error),
27215 (gst_message_parse_warning):
27216 Keep track of current target state while performing a state
27217 change so that subclasses can do something interesting.
27218 Fix parsing of warning/error messages when GError is NULL.
27220 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27222 * docs/gst/Makefile.am:
27223 * docs/gst/gstreamer-docs.sgml:
27224 * docs/gst/gstreamer-sections.txt:
27225 * docs/gst/gstreamer.types:
27226 * docs/gst/tmpl/gstbasesink.sgml:
27227 * docs/gst/tmpl/gstbasesrc.sgml:
27228 * docs/gst/tmpl/gstbin.sgml:
27229 * docs/gst/tmpl/gstcompat.sgml:
27230 * docs/gst/tmpl/gstfakesink.sgml:
27231 * docs/gst/tmpl/gstfakesrc.sgml:
27232 * docs/gst/tmpl/gstfilesink.sgml:
27233 * docs/gst/tmpl/gstfilesrc.sgml:
27234 * docs/gst/tmpl/gstindex.sgml:
27235 * docs/manual/appendix-quotes.xml:
27236 * gst/base/gstbasesrc.h:
27237 * gst/elements/gstfakesrc.h:
27238 * gst/gstmessage.h:
27239 start pulling in base classes and elements in our docs
27241 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27243 * docs/gst/Makefile.am:
27244 * docs/libs/Makefile.am:
27245 fixed make distcheck with gtk-doc 1.3
27247 2005-06-23 Wim Taymans <wim@fluendo.com>
27249 * gst/gstelement.c: (gst_element_get_state_func),
27250 (gst_element_set_state), (gst_element_change_state):
27251 When the state did not change, also report NO_PREROLL
27254 2005-06-23 Wim Taymans <wim@fluendo.com>
27256 * gst/gstpad.c: (gst_pad_event_default):
27257 * gst/gstqueue.c: (gst_queue_loop):
27258 No unsafe task pausing please.
27260 2005-06-23 Wim Taymans <wim@fluendo.com>
27262 * gst/schedulers/threadscheduler.c:
27263 (gst_thread_scheduler_task_start),
27264 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27265 Ref the task before pushing it on the threadpool. This
27266 makes sure that we have a ref when the threadfunction is
27269 2005-06-23 Andy Wingo <wingo@pobox.com>
27271 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27272 offset is greater than the file's size.
27274 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27275 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27276 * gst/gstobject.c (gst_object_class_init): Make the class lock
27277 recursive. Wim won't let me drop deep_notify. Decodebin works
27278 again, whoopdy doo.
27280 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27281 internal pad, and hacks accordingly. Doesn't do it on the target
27282 pad because we change its caps. Probably catches all cases of
27284 (gst_ghost_pad_set_property): Connect to notify::caps as
27287 * tests/network-clock.scm (plot-simulation): Pipe data to the
27288 elite python skript.
27290 * tests/network-clock-utils.scm (define-parameter): New macro,
27291 defines a parameter that can be set via the command line.
27292 (set-parameter!, parse-parameter-arguments): Command line args
27295 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27298 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27300 * gst/elements/gsttypefindelement.c:
27301 (gst_type_find_element_handle_event):
27302 Don't restart typefinding on a discont.
27303 * gst/gstelement.c: (gst_element_set_state):
27304 Debug spelling fix.
27305 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27306 Allow changing mode of an active pad.
27307 Debug output fixes.
27308 * gst/registries/gstlibxmlregistry.c: (load_feature):
27309 Don't cast a static pad template to a normal pad template.
27311 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27313 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27314 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27315 remove gst_strtoll completely, since it didn't actually do
27316 anything more than what g_ascii_strtoull already does.
27317 check for range errors when deserializing
27318 do a cast for the unsigned cases; but further fixing needs
27319 a decision on what the interpretation of "(int)" and
27320 deserialization should be for values that fall outside the
27321 type's boundaries (ie, refuse, or interpret as casting)
27323 2005-06-23 Wim Taymans <wim@fluendo.com>
27325 * check/Makefile.am:
27326 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27327 * docs/design/part-live-source.txt:
27328 * docs/design/part-states.txt:
27329 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27330 (gst_basesrc_set_live), (gst_basesrc_is_live),
27331 (gst_basesrc_get_range), (gst_basesrc_activate),
27332 (gst_basesrc_change_state):
27333 * gst/base/gstbasesrc.h:
27334 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27335 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27336 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27337 * gst/gstelement.c: (gst_element_get_state_func),
27338 (gst_element_set_state):
27339 * gst/gstelement.h:
27341 * tools/gst-launch.c: (event_loop), (main):
27342 Added support for live sources and other elements that
27344 Updated design docs, added live-source design doc.
27345 Implemented live source functionality in basesrc
27346 Fix error condition in _bin_get_state()
27347 Implement live source handling in -launch.
27348 Added check for live sources.
27349 Fixed case in GstBin where elements were changed state
27353 2005-06-23 Andy Wingo <wingo@pobox.com>
27355 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27356 borken refcounting.
27358 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27359 gst_caps_replace takes care of this for us.
27361 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27362 gst_pad_set_caps on the target, not just its setcaps() function.
27364 * tests/network-clock.scm:
27365 * tests/network-clock-utils.scm: A network clock simulator.
27366 Something of an algorithmic testbed before doing something in C.
27368 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27370 * check/Makefile.am:
27371 * check/gst/capslist.h:
27372 copy over from 0.8, and add two with bitmasks specified with
27374 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27375 add test to parse everything from capslist.h
27376 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27378 add test for structure deserialization
27379 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27380 add tests for deserialization of strings to int types
27381 * gst/gststructure.c: (gst_structure_nth_field_name):
27382 * gst/gststructure.h:
27383 add a way to get the name of a field referenced by index
27384 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27385 instead of checking if the resulting long long lies between
27386 min and max, we check if the long long would fit into
27387 a number of bytes for the final type.
27388 This fixes cases where a string represents 2^32 - 1, which
27389 when cast to int would be the (valid) -1, but is bigger than
27392 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27394 * gst/parse/grammar.y:
27395 add a log line for type deserialization
27397 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27399 * check/gst/gstvalue.c: (START_TEST):
27400 * gst/gstvalue.c: (gst_value_deserialize):
27401 return long long, not int, so gint64 deserialization actually
27402 works. Is there any flag that makes the compiler check this ?
27405 2005-06-22 Wim Taymans <wim@fluendo.com>
27408 Added convenience macros for setting buffers in GValue.
27410 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27412 * check/gst/.cvsignore:
27413 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27414 add a test deserializing int64, and comment part out because
27417 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27419 * check/Makefile.am:
27420 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27421 * testsuite/Makefile.am:
27422 * testsuite/caps/Makefile.am:
27423 * testsuite/caps/value_serialize.c:
27424 * testsuite/test_gst_init.c:
27425 move a value_serialize test over
27427 2005-06-20 Wim Taymans <wim@fluendo.com>
27432 * gst/gstvalue.c: (gst_value_compare_buffer),
27433 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27434 (gst_value_compare_flags), (gst_value_serialize_flags),
27435 (gst_value_deserialize_flags), (_gst_value_initialize):
27436 Fix serialisation of buffers, they are not boxed types anymore
27438 2005-06-20 Wim Taymans <wim@fluendo.com>
27440 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27441 Testcase to show error in buffer-on-caps serialisation.
27443 2005-06-20 Andy Wingo <wingo@pobox.com>
27445 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27446 will be adding to later.
27448 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27449 if its socks fill with rocks.
27450 (gst_system_clock_obtain): Set the name on object construction.
27451 Avoid double-checked locking.
27453 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27455 * gst/gsturi.c: (gst_element_make_from_uri):
27456 Fix potential endless loop.
27458 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27460 * check/Makefile.am:
27462 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27464 move over from testsuite dir and clean up
27467 * testsuite/Makefile.am:
27468 * testsuite/tags/.cvsignore:
27469 * testsuite/tags/Makefile.am:
27470 * testsuite/tags/merge.c:
27471 remove testsuite/tags
27473 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27475 * docs/gst/gstreamer-sections.txt:
27476 * docs/gst/tmpl/gstenumtypes.sgml:
27477 * win32/gstenumtypes.c:
27478 clean up documentation build a little
27480 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27482 * check/gstcheck.h:
27483 add macros for checking refcounts on objects and caps
27484 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27485 add some more unit tests
27486 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27487 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27488 fix leaked refcounts (I hope :)) so unittest works
27492 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27494 * configure.ac: back to HEAD
27496 === release 0.9.1 ===
27498 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27504 2005-06-17 Andy Wingo <wingo@pobox.com>
27506 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27507 assert; it's always possible that the pad gets deactivated in
27508 between the checks in gstpad.c and the implementation. Rely on
27509 finish_preroll() to return a FLUSHING or similar instead of on the
27512 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27513 clock and post an EOS message if we come out of finish_preroll in
27516 2005-06-16 David Schleef <ds@schleef.org>
27518 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27519 (gst_capsfilter_set_property): Allow NULL as possible value
27520 for filter_caps property, indicating GST_CAPS_ANY.
27522 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27524 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27526 * gst/schedulers/Makefile.am:
27528 * gstreamer.spec.in:
27531 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27533 * gstreamer.spec.in:
27536 2005-06-08 Andy Wingo <wingo@pobox.com>
27538 * gst/gstutils.c: RPAD fixes all around.
27539 (gst_element_link_pads): Refcounting fixes.
27541 * tools/gst-inspect.c:
27542 * tools/gst-xmlinspect.c:
27544 * gst/base/gsttypefindhelper.c:
27545 * gst/base/gstbasesink.c:
27546 * gst/gstqueue.c: RPAD fixes.
27548 * gst/gstghostpad.h:
27549 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27550 pads. The tricky thing is they provide both source and sink
27551 interfaces, since they proxy the internal pad for the external
27552 pad, and vice versa. Implement with lower-level ProxyPad objects,
27553 with the interior proxy pad as a child of the exterior ghost pad.
27554 Should write a doc on this.
27556 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27557 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27560 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27561 pads are real pads. No ghost pads in this file. Not documenting
27562 the myriad s/RPAD/PAD/ and REALIZE fixes.
27563 (gst_pad_class_init): Add properties for "direction" and
27564 "template". Both are construct-only, so they can't change during
27565 the life of the pad. Fixes properly deriving from GstPad.
27566 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27567 derived objects, just set properties when creating the objects via
27569 (gst_pad_get_parent): Implement as a function, return NULL if the
27570 parent is not an element.
27571 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27572 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27574 * gst/gstobject.c (gst_object_class_init): Make name a construct
27575 property. Don't set it in the object init.
27577 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27578 with UNKNOWN direction.
27579 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27580 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27581 (gst_element_remove_pad): Remove ghost-pad special cases.
27582 (gst_element_pads_activate): Remove rpad cruft.
27584 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27585 catch the pad's-parent-not-an-element case.
27587 * gst/gst.h: Include gstghostpad.h.
27589 * gst/gst.c (init_post): No more real, ghost pads.
27591 * gst/Makefile.am: Add gstghostpad.[ch].
27593 * check/Makefile.am:
27594 * check/gst/gstbin.c:
27595 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27596 into a bin creates ghost pads, and that the refcounts are right.
27597 Partly moved from gstbin.c.
27599 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27601 * check/gst-libs/.cvsignore:
27602 * check/gst/.cvsignore:
27603 * check/pipelines/.cvsignore:
27605 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27606 (START_TEST), (cleanup_suite), (main):
27607 add some tests related to cleanup after running pipelines
27609 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27611 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27612 add a testsuite for GstBuffer
27614 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27616 * gst/gstminiobject.h:
27617 add defines for accessing the refcount
27619 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27621 * Makefile.am: added support for html unit test coverage reports
27623 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27625 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27626 Free existing caps if the capsfilter changes. Add a FIXME about
27627 setting those caps on the pads.
27629 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27630 Before adding a ghost pad to a parent bin, check that there isn't
27631 already one for the element on the bin. Prevents infinite recursion
27632 when using decodebin in parse pipelines. Andy says he'll rewrite the
27633 way this works anyway, so ignore the hack.
27635 2005-06-02 Andy Wingo <wingo@pobox.com>
27637 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27638 file size, pass it on to the type find helper.
27640 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27641 segment_start and segment_end properly according to the seek
27642 method. Segment_end is still a bit flaky because offset can be
27643 negative for CUR and END cases, but it takes -1 as an "unset"
27646 2005-06-02 Wim Taymans <wim@fluendo.com>
27648 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27649 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27650 (gst_basesink_activate):
27651 * gst/base/gstbasesink.h:
27652 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27653 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27654 (gst_pad_query), (gst_pad_start_task):
27656 * gst/gstqueue.c: (gst_queue_bufferalloc),
27657 (gst_queue_handle_sink_event), (gst_queue_chain):
27658 Bufferalloc: return GstFlowReturn to more accuratly report
27659 why allocation failed.
27661 2005-06-02 Wim Taymans <wim@fluendo.com>
27663 * gst/gstpipeline.c: (gst_pipeline_send_event):
27664 Take snapshot of state without blocking.
27666 2005-06-02 Wim Taymans <wim@fluendo.com>
27668 * docs/design/part-TODO.txt:
27669 * docs/design/part-caps.txt:
27670 * docs/design/part-clocks.txt:
27671 * docs/design/part-negotiation.txt:
27672 * docs/design/part-preroll.txt:
27675 2005-05-30 Wim Taymans <wim@fluendo.com>
27677 * gst/elements/gstidentity.c: (gst_identity_event),
27678 (gst_identity_transform), (gst_identity_get_property):
27679 Protect last_message property as it is accessed from
27682 2005-05-30 Wim Taymans <wim@fluendo.com>
27684 * gst/gstelement.c: (gst_element_init),
27685 (gst_element_pads_activate), (gst_element_change_state):
27686 Slicker pad activation code.
27688 2005-05-30 Wim Taymans <wim@fluendo.com>
27691 * gst/gstelement.h:
27692 * gst/gstelementfactory.h:
27694 Move elementfactory methods to separate .h file.
27696 2005-05-30 Wim Taymans <wim@fluendo.com>
27698 * docs/design/part-overview.txt:
27699 * gst/gstsystemclock.h:
27700 Small typo fixes, doc updates.
27702 2005-05-30 Wim Taymans <wim@fluendo.com>
27704 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27705 (init_popt_callback):
27706 Remove cpu-opt flag.
27708 2005-05-30 Wim Taymans <wim@fluendo.com>
27710 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27711 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27713 Avoid typechecking in places where not needed.
27714 Added accessor for malloc_data.
27716 2005-05-30 Wim Taymans <wim@fluendo.com>
27718 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27719 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27720 (gst_pad_configure_sink), (gst_pad_configure_src),
27721 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27722 (gst_pad_start_task):
27723 Propagate errors from _set_caps() in configure_src/sink
27724 functions instead of returning TRUE.
27725 FLUSH events can travel up and downstream
27728 2005-05-30 Wim Taymans <wim@fluendo.com>
27730 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27731 (gst_basesink_activate):
27732 Handle EOS in preroll.
27734 2005-05-30 Wim Taymans <wim@fluendo.com>
27736 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27737 (gst_queue_loop), (gst_queue_handle_src_event):
27738 Remove old pieces of code
27739 Flushing the queue in an upstream event is a very bad idea.
27741 2005-05-26 Andy Wingo <wingo@pobox.com>
27743 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27744 gst_value_set_mini_object so as to add a ref on the object (which
27745 will be removed when the value is unset).
27747 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27748 arg type in ::handoff.
27750 * gst/gstelement.c (gst_element_change_state): Also deactivate
27751 pads in READY->NULL, just in case the element didn't make it to
27752 PAUSED. Wingo tested, Wim approved.
27754 2005-05-26 Wim Taymans <wim@fluendo.com>
27756 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27757 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27758 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27759 A flushing pad cannot be used to alloc_buffer from.
27761 2005-05-26 Wim Taymans <wim@fluendo.com>
27763 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27764 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27765 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27766 (gst_bus_create_watch), (gst_bus_add_watch_full):
27768 Implement a real GSource and use g_main_context_wakeup() to
27769 signal new messages instead of the socketpair.
27771 2005-05-25 Wim Taymans <wim@fluendo.com>
27773 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27774 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27775 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27776 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27777 (gst_pad_send_event), (gst_pad_start_task):
27778 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27779 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27780 (gst_queue_sink_activate), (gst_queue_src_activate),
27781 (gst_queue_change_state):
27783 Fix state changes for non sinks. We now change sinks, then elements
27784 with unconnected srcpads, then the rest.
27785 More efficient queue unlocking in flush and state changes.
27786 Set the pad activate mode even if it does not have an activate
27789 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27791 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27792 Don't go in pull mode for non-seekable sources.
27793 * gst/elements/gsttypefindelement.h:
27794 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27795 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27796 (free_entry), (stop_typefinding),
27797 (gst_type_find_element_handle_event), (find_peek),
27798 (gst_type_find_element_chain), (do_pull_typefind),
27799 (gst_type_find_element_change_state):
27800 Allow typefinding (w/o seeking) in push-mode, simplified version
27801 of what was in 0.8.
27802 * gst/gstutils.c: (gst_buffer_join):
27804 gst_buffer_join() from 0.8.
27806 2005-05-25 Wim Taymans <wim@fluendo.com>
27808 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27809 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27810 (gst_pad_send_event), (gst_pad_start_task):
27811 Disable attempt at mode switching until it is figured out.
27813 2005-05-25 Wim Taymans <wim@fluendo.com>
27815 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27816 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27817 (gst_basesink_finish_preroll), (gst_basesink_chain),
27818 (gst_basesink_loop), (gst_basesink_activate),
27819 (gst_basesink_change_state):
27820 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27821 (gst_basesrc_get_range), (gst_basesrc_loop),
27822 (gst_basesrc_activate):
27823 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27824 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27825 (gst_real_pad_init), (gst_real_pad_set_property),
27826 (gst_real_pad_get_property), (gst_pad_set_active),
27827 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27828 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27829 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27830 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27831 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27832 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27833 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27834 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27835 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27836 (gst_pad_stop_task):
27838 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27839 (gst_queue_loop), (gst_queue_src_activate):
27840 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27841 (gst_task_get_state):
27843 * gst/schedulers/threadscheduler.c:
27844 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27845 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27847 Remove ACTIVE pad flag, use FLUSHING everywhere
27848 Added _pad_chain(), _pad_get_range() to call chain/getrange
27850 Add locks around IS_FLUSHING when reading.
27851 Take STREAM lock in chain(), get_range() functions so plugins
27852 don't need to take it anymore.
27856 2005-05-25 Wim Taymans <wim@fluendo.com>
27858 * tools/gst-launch.c: (event_loop):
27859 Unref message after using its contents instead of
27862 2005-05-24 Wim Taymans <wim@fluendo.com>
27864 * docs/design/draft-ghostpads.txt:
27865 * docs/design/draft-push-pull.txt:
27866 * docs/design/draft-query.txt:
27867 * docs/design/part-overview.txt:
27868 Docs updates, added general overview doc.
27870 2005-05-21 David Schleef <ds@schleef.org>
27872 * docs/gst/tmpl/old/GstBin.sgml:
27873 * docs/gst/tmpl/old/GstBuffer.sgml:
27874 * docs/gst/tmpl/old/GstCaps.sgml:
27875 * docs/gst/tmpl/old/GstClock.sgml:
27876 * docs/gst/tmpl/old/GstCompat.sgml:
27877 * docs/gst/tmpl/old/GstData.sgml:
27878 * docs/gst/tmpl/old/GstElement.sgml:
27879 * docs/gst/tmpl/old/GstEvent.sgml:
27880 * docs/gst/tmpl/old/GstIndex.sgml:
27881 * docs/gst/tmpl/old/GstStructure.sgml:
27882 * docs/gst/tmpl/old/GstTag.sgml:
27883 * docs/gst/tmpl/old/cothreads.sgml:
27884 * docs/gst/tmpl/old/cothreads_compat.sgml:
27885 * docs/gst/tmpl/old/gettext.sgml:
27886 * docs/gst/tmpl/old/gobject2gtk.sgml:
27887 * docs/gst/tmpl/old/grammar.tab.sgml:
27888 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27889 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27890 * docs/gst/tmpl/old/gst_private.sgml:
27891 * docs/gst/tmpl/old/gstaggregator.sgml:
27892 * docs/gst/tmpl/old/gstarch.sgml:
27893 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27894 * docs/gst/tmpl/old/gstbufferstore.sgml:
27895 * docs/gst/tmpl/old/gstdata_private.sgml:
27896 * docs/gst/tmpl/old/gstdisksink.sgml:
27897 * docs/gst/tmpl/old/gstdisksrc.sgml:
27898 * docs/gst/tmpl/old/gstelementfactory.sgml:
27899 * docs/gst/tmpl/old/gstextratypes.sgml:
27900 * docs/gst/tmpl/old/gstfakesink.sgml:
27901 * docs/gst/tmpl/old/gstfakesrc.sgml:
27902 * docs/gst/tmpl/old/gstfdsink.sgml:
27903 * docs/gst/tmpl/old/gstfdsrc.sgml:
27904 * docs/gst/tmpl/old/gstfilesink.sgml:
27905 * docs/gst/tmpl/old/gstfilesrc.sgml:
27906 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27907 * docs/gst/tmpl/old/gstidentity.sgml:
27908 * docs/gst/tmpl/old/gstindexfactory.sgml:
27909 * docs/gst/tmpl/old/gstmarshal.sgml:
27910 * docs/gst/tmpl/old/gstmd5sink.sgml:
27911 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27912 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27913 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27914 * docs/gst/tmpl/old/gstpipefilter.sgml:
27915 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27916 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27917 * docs/gst/tmpl/old/gstshaper.sgml:
27918 * docs/gst/tmpl/old/gstspider.sgml:
27919 * docs/gst/tmpl/old/gstspideridentity.sgml:
27920 * docs/gst/tmpl/old/gststatistics.sgml:
27921 * docs/gst/tmpl/old/gsttee.sgml:
27922 * docs/gst/tmpl/old/gsttimecache.sgml:
27923 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27924 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27925 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27926 * docs/gst/tmpl/old/types.sgml:
27927 I didn't intend to add these or check them in.
27929 2005-05-19 David Schleef <ds@schleef.org>
27931 * configure.ac: Use -no-common everywhere. In a sane world, it
27932 would be the default in libtool, because without it, you can't
27933 build DLLs on Windows.
27934 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27935 * docs/gst/gstreamer-sections.txt:
27936 * docs/gst/tmpl/gstcpu.sgml:
27937 * docs/gst/tmpl/gstdata.sgml:
27938 * docs/gst/tmpl/gstthread.sgml:
27940 2005-05-19 David Schleef <ds@schleef.org>
27942 * gst/gstminiobject.c: (gst_value_set_mini_object),
27943 (gst_value_take_mini_object), (gst_value_get_mini_object):
27944 * gst/gstminiobject.h: Add GValue set/get functions.
27946 2005-05-19 Wim Taymans <wim@fluendo.com>
27948 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27949 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27950 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27952 * gst/gstbus.c: (gst_bus_post):
27953 * gst/gstelement.c: (gst_element_get_random_pad):
27954 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27955 Make subbufer unref the parent in finalize.
27956 some more debugging info.
27959 2005-05-19 Wim Taymans <wim@fluendo.com>
27961 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27962 (gst_basesink_init), (gst_basesink_finalize),
27963 (gst_basesink_activate), (gst_basesink_change_state):
27964 Don't free preroll queue too early.
27966 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27970 Hi, I'm outdated. Please shoot me.
27972 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27974 * gst/gstpipeline.c: (gst_pipeline_send_event):
27975 Do not access variables after they have been deleted.
27977 2005-05-19 Wim Taymans <wim@fluendo.com>
27979 * tools/gst-inspect.c: (print_plugin_features):
27980 A plugin feature does unfortunatly not use the
27983 2005-05-18 Wim Taymans <wim@fluendo.com>
27985 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27986 Port _span() functions to new subbuffers.
27988 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27990 * gst/gstbin.c: (gst_bin_add_func):
27991 Fix clock settery in bins when adding kids after the clock has
27994 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27996 * gst/elements/gstidentity.c: (gst_identity_class_init):
27997 Workaround until signals support GstMiniObject.
27999 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28002 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28004 2005-05-18 Wim Taymans <wim@fluendo.com>
28006 * gst/base/Makefile.am:
28007 * gst/base/gstadapter.c: (gst_adapter_base_init),
28008 (gst_adapter_class_init), (gst_adapter_init),
28009 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28010 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28011 (gst_adapter_flush), (gst_adapter_available),
28012 (gst_adapter_available_fast):
28013 * gst/base/gstadapter.h:
28014 Ported and added adapter to the base classes.
28016 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28019 * gst/gstmessage.c:
28020 Make sure the class is reffed/unreffed once before threads can be
28021 used. Fixes #304551.
28023 2005-05-17 Wim Taymans <wim@fluendo.com>
28025 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28026 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28027 * gst/gstminiobject.c: (gst_mini_object_get_type),
28028 (gst_mini_object_free):
28029 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28030 (gst_pad_push), (gst_pad_push_event):
28031 * gst/gstqueue.c: (gst_queue_change_state):
28032 Don't queue buffers in basesink when we are flushing.
28033 Unref buffer when flushing in basesink.
28034 Flush queue when going to READY
28035 Unref buffer when _push() returns an error.
28036 Don't free MiniObject instance when refcount is incremented
28037 in _finalize() so that we can recover objects.
28039 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28041 * docs/manual/advanced-schedulers.xml:
28042 * docs/manual/appendix-checklist.xml:
28043 * docs/pwg/advanced-clock.xml:
28044 * docs/pwg/advanced-interfaces.xml:
28045 * docs/pwg/advanced-request.xml:
28046 * docs/pwg/advanced-types.xml:
28047 * docs/pwg/intro-preface.xml:
28048 * examples/plugins/example.c: (gst_example_get_type),
28049 (gst_example_class_init), (gst_example_chain),
28050 (gst_example_set_property), (gst_example_get_property),
28051 (gst_example_change_state), (plugin_init):
28052 * examples/plugins/example.h:
28055 2005-05-17 Wim Taymans <wim@fluendo.com>
28057 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28058 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28059 * gst/gstqueue.c: (gst_queue_change_state):
28060 Clear queue when going to READY.
28061 Remove IN_SETCAPS flag too.
28063 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28065 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28066 Remove implicit cast from gboolean to GstElementStateReturn;
28067 make sure we still return failure in paused => ready case if
28068 the parent class fails to change state and our own stop
28071 2005-05-17 Wim Taymans <wim@fluendo.com>
28073 * tools/gst-launch.c: (event_loop):
28074 Message was unreffed too soon.
28076 2005-05-16 Andy Wingo <wingo@pobox.com>
28078 * gst/gstbin.c (sink_iterator_filter): Err... um...
28080 * check/gst/gstbin.c (test_ghost_pads): New test for the
28081 ghosting-if-elements-not-in-same-bin behavior.
28083 2005-05-16 David Schleef <ds@schleef.org>
28085 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28086 accessing refcount directly.
28088 2005-05-15 David Schleef <ds@schleef.org>
28090 * check/Makefile.am: remove GstData checks
28091 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28092 * gst/Makefile.am: add miniobject, remove data
28093 * gst/gst.h: add miniobject, remove data
28094 * gst/gstdata.c: remove
28095 * gst/gstdata.h: remove
28096 * gst/gstdata_private.h: remove
28097 * gst/gsttypes.h: remove GstEvent and GstMessage
28098 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28099 * gst/gstmarshal.list: change BOXED -> OBJECT
28101 Implement GstMiniObject.
28102 * gst/gstminiobject.c:
28103 * gst/gstminiobject.h:
28105 Modify to be subclasses of GstMiniObject.
28106 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28107 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28108 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28109 (gst_subbuffer_get_type), (gst_subbuffer_init),
28110 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28113 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28114 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28115 (_gst_event_copy), (gst_event_new):
28117 * gst/gstmessage.c: (_gst_message_initialize),
28118 (gst_message_get_type), (gst_message_class_init),
28119 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28120 (gst_message_new), (gst_message_new_error),
28121 (gst_message_new_warning), (gst_message_new_tag),
28122 (gst_message_new_state_changed), (gst_message_new_application):
28123 * gst/gstmessage.h:
28124 * gst/gstprobe.c: (gst_probe_perform),
28125 (gst_probe_dispatcher_dispatch):
28127 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28128 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28129 (_gst_query_copy), (gst_query_new):
28131 Update elements for GstData -> GstMiniObject changes
28133 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28134 (gst_queue_chain), (gst_queue_loop):
28135 * gst/elements/gstbufferstore.c:
28136 (gst_buffer_store_add_buffer_func),
28137 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28138 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28139 (gst_fakesink_render):
28140 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28141 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28142 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28143 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28144 (gst_filesrc_create_read):
28145 * gst/elements/gstidentity.c: (gst_identity_class_init):
28146 * gst/elements/gsttypefindelement.c:
28147 (gst_type_find_element_src_event), (free_entry_buffers),
28148 (gst_type_find_element_handle_event):
28149 * libs/gst/dataprotocol/dataprotocol.c:
28150 (gst_dp_header_from_buffer):
28151 * libs/gst/dataprotocol/dataprotocol.h:
28152 * libs/gst/dataprotocol/dp-private.h:
28154 2005-05-15 David Schleef <ds@schleef.org>
28156 * gst/elements/gstelements.c: Don't include headers that were
28159 2005-05-15 David Schleef <ds@schleef.org>
28161 * gst/elements/Makefile.am: Remove some elements that don't
28162 need to be in the core (or even exist at all).
28163 * gst/elements/gstaggregator.c:
28164 * gst/elements/gstaggregator.h:
28165 * gst/elements/gstmd5sink.c:
28166 * gst/elements/gstmd5sink.h:
28167 * gst/elements/gstmultifilesrc.c:
28168 * gst/elements/gstmultifilesrc.h:
28169 * gst/elements/gstpipefilter.c:
28170 * gst/elements/gstpipefilter.h:
28171 * gst/elements/gstshaper.c:
28172 * gst/elements/gstshaper.h:
28173 * gst/elements/gststatistics.c:
28174 * gst/elements/gststatistics.h:
28175 * po/POTFILES.in: Remove above files.
28177 2005-05-14 Andy Wingo <wingo@pobox.com>
28179 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28180 so as to get the refs right.
28181 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28182 unreffing objects that don't pass the filter.
28184 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28185 gst_element_set_bus.
28186 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28187 normal cases, this will destroy the bus.
28189 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28192 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28195 2005-05-13 Andy Wingo <wingo@pobox.com>
28197 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28198 gst_pad_link, call pad_link_maybe_ghosting,
28199 (pad_link_maybe_ghosting): Links pads, making sure that the
28200 elements being linked are in the same bin.
28201 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28202 Helpers for pad_link_maybe_ghosting.
28204 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28207 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28209 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28211 * docs/design/part-element-source.txt:
28214 2005-05-12 Wim Taymans <wim@fluendo.com>
28216 * gst/base/gstbasesink.c: (gst_basesink_init),
28217 (gst_basesink_activate):
28218 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28219 (gst_basesrc_is_seekable):
28220 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28221 (bin_element_is_sink), (gst_bin_change_state):
28222 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28223 * gst/gstelement.h:
28224 Identify sinks by their flag to avoid overly complicated
28226 Do state changes even for elements not reachable from the
28228 BaseSink is a sink now :)
28229 Some more debugging info in the basesrc.
28232 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28234 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28235 Implement _query on a bin, similar to _send_event.
28237 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28239 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28240 Discont event offset format should be GST_FORMAT_BYTES,
28241 not GST_FORMAT_TIME.
28243 2005-05-12 Wim Taymans <wim@fluendo.com>
28245 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28246 Same fix as Ronald's but without the signal.
28248 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28250 * gst/gstutils.c: (gst_element_query_position):
28251 No, an element is not a pad.
28253 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28255 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28256 (gst_bin_get_state):
28257 If a child is removed from a bin while we remove the child from
28258 the bin and while we're retrieving its state, signal this to the
28259 get_state function so we abort the wait (instead of waiting for
28260 a timeout) and can immediately re-iterate over all other elements.
28262 2005-05-12 Wim Taymans <wim@fluendo.com>
28264 * gst/base/Makefile.am:
28265 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28266 (gst_basesrc_start):
28267 * gst/base/gstbasesrc.h:
28268 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28269 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28270 (gst_pushsrc_init), (gst_pushsrc_create):
28271 * gst/base/gstpushsrc.h:
28272 Added is_seekable to BaseSrc
28273 Added simple PushSrc.
28275 2005-05-11 Wim Taymans <wim@fluendo.com>
28277 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28278 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28279 (gst_element_link_pads), (gst_element_query_position),
28280 (gst_element_query_convert), (intersect_caps_func),
28281 (gst_pad_query_position), (gst_pad_query_convert):
28282 Fix refcounting in utils function.
28283 No point in trying to activate a pad when it's added, it could
28284 be added from the state change function and then we deadlock, the
28285 element has to decide what to do.
28287 2005-05-10 Andy Wingo <wingo@pobox.com>
28289 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28290 *all* the arguments.
28292 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28293 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28294 lock (according to the docs -- if this is wrong change the docs).
28296 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28297 flush messages in the NULL state.
28299 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28300 message immediately and return.
28301 (gst_bus_set_flushing): New function. If a bus is flushing, it
28302 flushes out any queued messages and immediately unrefs new
28303 messages. This is so when an element goes to NULL, all of the
28304 unhandled messages coming from it can be freed, and their
28305 references to the element dropped. In other words: message source
28306 ref considered harmful :P
28308 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28309 we're finished with it.
28311 * gst/gstmessage.c (gst_message_new_state_changed):
28313 2005-05-10 Wim Taymans <wim@fluendo.com>
28315 * gst/gstvalue.c: (gst_value_compare_flags),
28316 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28317 (_gst_value_initialize):
28318 Added flags serialize/deserialize/compare code.
28320 2005-05-09 Andy Wingo <wingo@pobox.com>
28322 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28323 Intersect the peer's caps with our caps.
28325 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28327 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28328 * gst/elements/gsttypefindelement.c: (find_peek):
28329 Handle negative offsets better. Fixes decodebin.
28331 2005-05-09 Wim Taymans <wim@fluendo.com>
28333 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28334 (gst_base_transform_event):
28335 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28336 Implement accept_caps.
28337 Fix silly lock/unlock mismatch in base class.
28339 2005-05-09 Wim Taymans <wim@fluendo.com>
28341 * docs/design/draft-push-pull.txt:
28342 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28343 * gst/elements/gstfilesink.c: (gst_filesink_init),
28344 (gst_filesink_query):
28345 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28346 (gst_type_find_handle_src_query), (find_element_get_length):
28347 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28348 * gst/gstelement.h:
28349 * gst/gstmessage.c:
28350 * gst/gstmessage.h:
28351 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28352 (gst_real_pad_get_caps_unlocked),
28353 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28354 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28355 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28356 (gst_real_pad_dispose), (gst_real_pad_finalize),
28357 (gst_pad_load_and_link), (gst_pad_save_thyself),
28358 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28359 (gst_pad_check_pull_range), (gst_pad_pull_range),
28360 (gst_pad_template_get_type), (gst_pad_template_class_init),
28361 (gst_pad_template_init), (gst_pad_template_dispose),
28362 (name_is_valid), (gst_static_pad_template_get),
28363 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28364 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28365 (gst_pad_get_element_private), (gst_pad_start_task),
28366 (gst_pad_pause_task), (gst_pad_stop_task),
28367 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28368 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28369 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28370 (gst_ghost_pad_new):
28372 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28373 (gst_query_new_position), (gst_query_set_position),
28374 (gst_query_parse_position), (gst_query_new_convert),
28375 (gst_query_set_convert), (gst_query_parse_convert):
28377 * gst/gstqueryutils.c:
28378 * gst/gstqueryutils.h:
28379 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28380 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28381 (gst_queue_handle_src_query):
28382 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28383 (gst_element_query_position), (gst_element_query_convert),
28384 (intersect_caps_func), (gst_pad_query_position),
28385 (gst_pad_query_convert):
28387 * tools/gst-inspect.c: (print_pad_info):
28388 * tools/gst-xmlinspect.c: (print_element_info):
28389 Remove old query functions. Ported old code.
28390 Added position/convert helper functions to gstutils.
28391 Reordered gstpad.c code, grouping relevant things.
28392 Remove gst_message_new(), always need to speficy a specific
28396 2005-05-09 Andy Wingo <wingo@pobox.com>
28398 * gst/gstiterator.h: Add some includes.
28400 * gst/gstqueryutils.h: Include more headers.
28403 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28404 some uses of gst_pad_query.
28406 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28407 NULL out parameters.
28408 (gst_query_new_position): New proc, allocates a new position
28411 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28412 gstqueryutils.c to the build.
28414 * gst/gststructure.c (gst_structure_set_valist): Implement with
28415 the generic G_VALUE_COLLECT.
28417 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28419 * gst/Makefile.am: (gst_headers):
28420 Added gstqueryutils.h to the list of headers to install, that was
28421 a 'nachty' move wingo :)
28423 2005-05-06 Andy Wingo <wingo@pobox.com>
28426 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28427 GstData, init a memchunk.
28428 (standard_definitions): Add a few query types, deprecate a few.
28429 (gst_query_get_type): New proc.
28430 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28432 (gst_query_new_application, gst_query_get_structure): New public
28435 * docs/design/draft-query.txt: Removed LINKS from the query types,
28436 because all the rest can be dispatched to other pads -- seemed
28437 ugly to have a query that couldn't be dispatched. internal_links
28438 is fine as a pad method.
28440 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28441 in gstpad.c, but maintain binary compatibility for the moment.
28442 Will fix before 0.9 is out.
28444 * gst/gstqueryutils.c:
28445 * gst/gstqueryutils.h: New files, implement 3 methods for each
28446 query type: parse_query, parse_response, and set. Probably need an
28449 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28451 * gst/elements/gstfilesink.c (gst_filesink_query2):
28452 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28453 query_types, and formats methods.
28455 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28456 (gst_pad_set_query2_function): New functions.
28457 (gst_real_pad_init): Set query2_default as the default query2
28458 function. Basically just dispatches to internally linked pads.
28462 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28463 without using the atomic operations. Only one thread can possibly
28464 be accessing the data at this point. Changed so as to avoid
28465 gst_atomic operations.
28467 2005-05-06 Wim Taymans <wim@fluendo.com>
28469 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28470 Also set caps if we use the fallback buffer alloc.
28472 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28474 * docs/gst/Makefile.am:
28475 * docs/gst/gstreamer-docs.sgml:
28476 * docs/gst/gstreamer-sections.txt:
28477 * docs/gst/tmpl/gstatomic.sgml:
28478 * docs/gst/tmpl/gstmemchunk.sgml:
28479 * testsuite/elements/struct_i386.h:
28480 * win32/GStreamer.vcproj:
28482 Purge GstAtomic stuff from docs and win32 makefiles as well
28484 2005-05-06 Wim Taymans <wim@fluendo.com>
28486 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28487 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28488 * gst/gstpad.c: (gst_pad_peer_get_caps):
28489 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28490 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28491 (gst_queue_src_activate), (gst_queue_change_state):
28493 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28494 (intersect_caps_func):
28495 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28496 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28497 Some fixes for the peer_get_caps() change.
28499 2005-05-06 Wim Taymans <wim@fluendo.com>
28501 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28502 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28503 (gst_basesink_activate):
28504 Actually do something with error codes returned from the push
28507 2005-05-06 Wim Taymans <wim@fluendo.com>
28509 * docs/design/part-element-sink.txt:
28510 * docs/design/part-element-source.txt:
28511 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28512 (gst_basesink_event), (gst_basesink_activate):
28513 * gst/base/gstbasesink.h:
28514 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28515 (gst_basesrc_activate):
28516 * gst/base/gstbasesrc.h:
28517 * gst/gstelement.c: (gst_element_pads_activate):
28518 Some more documentation.
28519 Fixed scheduling decision in _pads_activate().
28521 2005-05-05 Andy Wingo <wingo@pobox.com>
28523 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28526 2005-05-05 Wim Taymans <wim@fluendo.com>
28528 * gst/base/Makefile.am:
28529 * gst/base/gstbasesink.h:
28530 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28531 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28532 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28533 (gst_collectpads_class_init), (gst_collectpads_init),
28534 (gst_collectpads_finalize), (gst_collectpads_new),
28535 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28536 (find_pad), (gst_collectpads_remove_pad),
28537 (gst_collectpads_is_active), (gst_collectpads_collect),
28538 (gst_collectpads_collect_range), (gst_collectpads_start),
28539 (gst_collectpads_stop), (gst_collectpads_peek),
28540 (gst_collectpads_pop), (gst_collectpads_available),
28541 (gst_collectpads_read), (gst_collectpads_flush),
28542 (gst_collectpads_chain):
28543 * gst/base/gstcollectpads.h:
28544 * gst/elements/Makefile.am:
28545 * gst/elements/gstelements.c:
28546 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28547 (gst_fakesink_get_times), (gst_fakesink_event),
28548 (gst_fakesink_preroll), (gst_fakesink_render):
28549 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28550 (gst_filesink_init), (gst_filesink_set_location),
28551 (gst_filesink_open_file), (gst_filesink_close_file),
28552 (gst_filesink_pad_query), (gst_filesink_event),
28553 (gst_filesink_render), (gst_filesink_change_state):
28554 * gst/elements/gstfilesink.h:
28555 Added object to help in making collect pad based elements.
28557 Make event function in sink baseclass return gboolean.
28559 2005-05-05 Wim Taymans <wim@fluendo.com>
28561 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28562 (gst_bin_get_by_name):
28564 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28565 (gst_clock_finalize):
28566 * gst/gstdata.c: (gst_data_replace):
28568 * gst/gstelement.c: (gst_element_request_pad),
28569 (gst_element_pads_activate):
28570 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28571 (gst_object_unref):
28572 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28573 (gst_pad_set_checkgetrange_function),
28574 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28575 (gst_pad_check_pull_range), (gst_pad_pull_range),
28576 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28577 (gst_pad_pause_task), (gst_pad_stop_task):
28578 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28579 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28580 Fix name lookup in GstBin.
28581 Added _data_replace() function and _buffer_replace()
28582 Use finalize method to clean up clock.
28583 Fix refcounting on request pads.
28584 Fix pad schedule mode error.
28585 Some more object refcounting debug info,
28588 2005-05-04 Andy Wingo <wingo@pobox.com>
28590 * check/Makefile.am:
28591 * docs/gst/tmpl/gstatomic.sgml:
28592 * docs/gst/tmpl/gstplugin.sgml:
28593 * gst/base/gstbasesink.c: (gst_basesink_activate):
28594 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28595 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28596 (gst_basesrc_query), (gst_basesrc_set_property),
28597 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28598 (gst_basesrc_activate):
28599 * gst/base/gstbasesrc.h:
28600 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28601 (gst_base_transform_src_activate):
28602 * gst/elements/gstelements.c:
28603 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28604 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28605 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28606 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28607 (gst_type_find_element_checkgetrange),
28608 (gst_type_find_element_activate):
28609 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28610 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28611 (gst_caps_load_thyself):
28612 * gst/gstelement.c: (gst_element_pads_activate),
28613 (gst_element_save_thyself), (gst_element_restore_thyself):
28614 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28615 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28617 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28618 (gst_xml_parse_file), (gst_xml_parse_memory),
28619 (gst_xml_get_element), (gst_xml_make_element):
28620 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28621 (_file_index_id_save_xml), (gst_file_index_commit):
28622 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28623 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28625 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28626 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28627 * tools/gst-complete.c: (main):
28628 * tools/gst-compprep.c: (main):
28629 * tools/gst-inspect.c: (print_element_properties_info):
28630 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28631 * tools/gst-xmlinspect.c: (print_element_properties):
28634 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28636 * gst/gstplugin.c: (gst_plugin_check_module),
28637 (gst_plugin_check_file), (gst_plugin_load_file):
28638 apply patch from #172526 to make register work on MacOSX
28640 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28642 * docs/gst/tmpl/gstconfig.sgml:
28643 * gst/gstconfig.h.in:
28644 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28645 * testsuite/debug/printf_extension.c: (main):
28646 Do not use GST_PTR_FORMAT on pointers to types with
28647 sizeof < sizeof(gpointer). Fixes test on 64-bit
28648 * testsuite/elements/property.h:
28649 use correct printf format
28651 2005-05-02 Wim Taymans <wim@fluendo.com>
28653 * docs/design/draft-push-pull.txt:
28654 * docs/design/draft-query.txt:
28655 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28656 (gst_basesrc_start):
28657 Added draft for new query API.
28658 Added draft for better selecting scheduling methods.
28659 Make basesrc ignore length if the subclass does not support
28662 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28665 possible fixes for automake-1.5 - _LIBADD is reserved
28667 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28669 * docs/faq/Makefile.am:
28670 * docs/manual/Makefile.am:
28671 * docs/manuals.mak:
28672 * docs/pwg/Makefile.am:
28674 possible fixes for automake-1.5
28676 2005-04-28 Wim Taymans <wim@fluendo.com>
28678 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28679 (gst_basesink_pad_getcaps), (gst_basesink_init),
28680 (gst_basesink_do_sync):
28681 * gst/gstclock.c: (gst_clock_entry_new):
28682 * gst/gstevent.c: (gst_event_discont_get_value):
28683 * gst/gstpipeline.c: (pipeline_bus_handler),
28684 (gst_pipeline_change_state):
28685 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28686 Better debugging of clocking info.
28687 Allow NULL values when getting discont values.
28689 2005-04-27 Wim Taymans <wim@fluendo.com>
28691 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28692 * check/gst/gstpad.c: (gst_pad_suite):
28693 Increase timeout for checks.
28695 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28697 * check/Makefile.am:
28698 fix the broken rule for cleanup. Apparently this rule is
28699 only needed on FC2, so maybe this warrants further autotool
28702 2005-04-26 Wim Taymans <wim@fluendo.com>
28704 * gst/gsttrashstack.h:
28705 Ooohh. a nasty one! After having a failed pop() from the stack,
28706 it's possible that the stack is empty. In that case, don't
28707 follow the NULL pointer.
28709 2005-04-25 Wim Taymans <wim@fluendo.com>
28711 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28712 (gst_pad_set_checkgetrange_function),
28713 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28714 (gst_pad_check_pull_range), (gst_pad_pull_range),
28715 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28716 (gst_pad_pause_task), (gst_pad_stop_task):
28717 * gst/gstplugin.c: (gst_plugin_load):
28719 Remove gst_library_load as it does more harm than good with
28720 the new g_module flags.
28721 Revert bogus caps template check in pad linking, pad caps
28722 are important when linking not the template, which is more
28723 general than the current caps.
28725 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28727 * gst/autoplug/.cvsignore:
28728 * gst/autoplug/Makefile.am:
28729 * gst/autoplug/gstsearchfuncs.c:
28730 * gst/autoplug/gstsearchfuncs.h:
28731 * gst/autoplug/gstspider.c:
28732 * gst/autoplug/gstspider.h:
28733 * gst/autoplug/gstspideridentity.c:
28734 * gst/autoplug/gstspideridentity.h:
28735 * gst/autoplug/spidertest.c:
28738 2005-04-25 Wim Taymans <wim@fluendo.com>
28740 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28741 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28742 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28743 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28745 Added stubs for unimplemented functions.
28747 2005-04-24 David Schleef <ds@schleef.org>
28749 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28752 2005-04-24 David Schleef <ds@schleef.org>
28754 Convert everything from GstAtomicInt to g_atomic_int_*, and
28759 * gst/gstatomic_impl.h:
28767 * gst/gstdata_private.h:
28771 * gst/gstmessage.c:
28774 * gst/gststructure.c:
28775 * gst/gststructure.h:
28776 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28779 2005-04-24 David Schleef <ds@schleef.org>
28781 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28782 make the regressions tests work. Remove some code that is no
28784 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28785 Disable warning for pads without templates.
28787 2005-04-24 David Schleef <ds@schleef.org>
28789 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28790 functions that handle filtered links.
28791 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28793 * gst/gstutils.c: Fix/remove utility functions that handle
28796 * gst/gstvalue.c: Add serialization/deserialization of caps
28797 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28798 requires fixing so that the filter caps notation creates
28799 a capsfilter element and sets the filter_caps property. I
28800 think everyone probably wants to keep the shorthand notation.
28801 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28802 * docs/gst/tmpl/gstpad.sgml:
28804 * gst/elements/gstelements.c: Register capsfilter element.
28805 * gst/Makefile.am: fix spacing
28806 * docs/random/ds/0.9-suggested-changes: random
28808 2005-04-23 David Schleef <ds@schleef.org>
28810 * gst/elements/Makefile.am:
28811 * gst/elements/gstcapsfilter.c: New element that acts like an
28812 identity, but filters caps. Will eventually replace filtered
28813 caps in pad linking.
28814 * gst/gstutils.c: (gst_element_create_all_pads): New function
28815 to create all the ALWAYS pads that are registered with an
28816 element class. This functionality should eventually be
28817 merged in with GstElement initialization.
28819 * testsuite/trigger/README: part of trigger test code that should
28820 have been checked in a long time ago.
28822 2005-04-23 David Schleef <ds@schleef.org>
28824 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28825 needed with new versions of libtool (nobody will confirm this),
28826 and hard to carry around.
28827 * gst/autoplug/Makefile.am:
28828 * gst/base/Makefile.am:
28829 * gst/elements/Makefile.am:
28830 * gst/indexers/Makefile.am:
28831 * gst/schedulers/Makefile.am:
28832 * libs/gst/bytestream/Makefile.am:
28833 * libs/gst/control/Makefile.am:
28834 * libs/gst/dataprotocol/Makefile.am:
28835 * libs/gst/getbits/Makefile.am:
28837 2005-04-21 Wim Taymans <wim@fluendo.com>
28839 * docs/design/draft-push-pull.txt:
28840 * docs/design/part-MT-refcounting.txt:
28841 * docs/design/part-TODO.txt:
28842 * docs/design/part-caps.txt:
28843 * docs/design/part-events.txt:
28844 * docs/design/part-gstbus.txt:
28845 * docs/design/part-gstpipeline.txt:
28846 * docs/design/part-messages.txt:
28847 * docs/design/part-push-pull.txt:
28848 * docs/design/part-query.txt:
28851 2005-04-21 Wim Taymans <wim@fluendo.com>
28853 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28854 (gst_message_new), (gst_message_new_error),
28855 (gst_message_new_warning), (gst_message_new_tag),
28856 (gst_message_new_state_changed), (gst_message_new_application),
28857 (gst_message_get_structure):
28858 * gst/gstmessage.h:
28859 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28860 (gst_structure_copy_conditional):
28861 Use parent refcount in GstMessage to ensure GstStructure
28863 Cleaned up headers a bit.
28866 2005-04-20 Wim Taymans <wim@fluendo.com>
28868 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28869 (gst_basesink_pad_getcaps), (gst_basesink_init),
28870 (gst_basesink_chain_unlocked):
28871 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28872 (gst_type_find_helper):
28873 * gst/elements/gsttypefindelement.c:
28874 (gst_type_find_element_have_type), (gst_type_find_element_init),
28875 (stop_typefinding), (gst_type_find_element_handle_event),
28876 (find_suggest), (gst_type_find_element_chain),
28877 (gst_type_find_element_checkgetrange),
28878 (gst_type_find_element_getrange), (do_typefind),
28879 (gst_type_find_element_activate):
28880 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28881 (gst_buffer_default_free), (gst_buffer_default_copy),
28882 (gst_buffer_set_caps):
28883 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28884 (gst_caps_replace):
28885 * gst/gstmessage.c: (gst_message_new),
28886 (gst_message_new_state_changed):
28887 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28888 (gst_pad_set_checkgetrange_function),
28889 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28890 (gst_pad_set_caps), (gst_pad_check_pull_range),
28891 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28893 * gst/gsttypefind.c: (gst_type_find_register):
28894 Make gst_caps_replace() work like other _replace() functions.
28895 Use _caps_replace() where possible.
28896 Make sure _message_new() initialises its field.
28897 Add gst_static_pad_template_get_caps()
28900 2005-04-18 Andy Wingo <wingo@pobox.com>
28902 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28903 on the peer, not the pad. I think that was a typo. Pass an extra
28904 arg to see if random access is possible. Activate the pads as
28905 PULL_RANGE if possible.
28907 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28909 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28910 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28913 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28915 * docs/faq/using.xml:
28916 Add note on gstreamer-properties (#154996).
28918 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28920 * docs/random/bbb/optional-properties:
28921 Some analysis on optional properties.
28923 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28925 * docs/gst/tmpl/gstelementfactory.sgml:
28926 * gst/gstelement.h:
28927 * gst/gstelementfactory.c: (gst_element_factory_init),
28928 (gst_element_factory_cleanup), (gst_element_register),
28929 (__gst_element_factory_add_static_pad_template),
28930 (gst_element_factory_get_static_pad_templates),
28931 (gst_element_factory_can_src_caps),
28932 (gst_element_factory_can_sink_caps):
28933 * gst/registries/Makefile.am:
28934 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28935 (gst_xml_registry_class_init), (gst_xml_registry_init),
28936 (gst_xml_registry_new), (gst_xml_registry_set_property),
28937 (gst_xml_registry_get_property), (get_time), (make_dir),
28938 (gst_xml_registry_get_perms_func),
28939 (plugin_times_older_than_recurse), (plugin_times_older_than),
28940 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28941 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28942 (add_to_char_array), (read_string), (read_uint), (read_enum),
28943 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28944 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28945 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28946 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28947 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28948 (gst_xml_registry_rebuild):
28949 * gst/registries/gstlibxmlregistry.h:
28950 * tools/gst-compprep.c: (main):
28951 * tools/gst-inspect.c: (print_pad_templates_info):
28952 * tools/gst-xmlinspect.c: (print_element_info):
28953 Use libxml2 for registry parsing, use staticpadtemplates in
28954 elementfactories. Makes gst_init() +/- 10x faster.
28956 2005-04-12 Wim Taymans <wim@fluendo.com>
28958 * gst/base/Makefile.am:
28959 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28960 (gst_basesink_pad_getcaps), (gst_basesink_init),
28961 (gst_basesink_event), (gst_basesink_change_state):
28962 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28963 (gst_basesrc_init), (gst_basesrc_query),
28964 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28965 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28966 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28967 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28968 (gst_basesrc_stop), (gst_basesrc_activate),
28969 (gst_basesrc_change_state):
28970 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28971 (helper_find_suggest), (gst_type_find_helper):
28972 * gst/base/gsttypefindhelper.h:
28973 * gst/elements/Makefile.am:
28974 * gst/elements/gstelements.c:
28975 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28976 (gst_fakesink_get_times), (gst_fakesink_event),
28977 (gst_fakesink_preroll), (gst_fakesink_render):
28978 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28979 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28980 (gst_fakesrc_get_property), (gst_fakesrc_create),
28981 (gst_fakesrc_start), (gst_fakesrc_stop):
28982 * gst/elements/gstfakesrc.h:
28983 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28984 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28985 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28986 (gst_filesrc_create_read), (gst_filesrc_create),
28987 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28988 (gst_filesrc_start):
28989 * gst/elements/gsttypefindelement.c:
28990 (gst_type_find_element_have_type), (gst_type_find_element_init),
28991 (start_typefinding), (stop_typefinding), (push_buffer_store),
28992 (gst_type_find_element_handle_event),
28993 (gst_type_find_element_chain),
28994 (gst_type_find_element_checkgetrange),
28995 (gst_type_find_element_getrange), (do_typefind),
28996 (gst_type_find_element_activate),
28997 (gst_type_find_element_change_state):
28998 * gst/elements/gsttypefindelement.h:
28999 * gst/gstpipeline.c: (pipeline_bus_handler):
29000 Added typefind helper.
29001 Small preroll fix in the base sink.
29002 Disable typefind code in basesrc.
29003 Crude port of typefindelement.
29007 2005-04-11 Wim Taymans <wim@fluendo.com>
29009 * check/gst/gstbus.c: (gstbus_suite):
29010 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29011 * check/gstcheck.h:
29012 Fix up the timeout so that the test does not fail.
29014 2005-04-06 Wim Taymans <wim@fluendo.com>
29017 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29018 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29019 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29020 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29021 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29022 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29023 (gst_basesrc_stop), (gst_basesrc_activate),
29024 (gst_basesrc_change_state), (basesrc_find_peek),
29025 (basesrc_find_suggest), (gst_basesrc_type_find):
29026 * gst/base/gstbasesrc.h:
29027 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29028 (gst_filesrc_class_init), (gst_filesrc_init),
29029 (gst_filesrc_finalize), (gst_filesrc_set_location),
29030 (gst_filesrc_set_property), (gst_filesrc_get_property),
29031 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29032 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29033 (gst_filesrc_create_read), (gst_filesrc_create),
29034 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29035 * gst/elements/gstfilesrc.h:
29036 * gst/gstelement.c: (gst_element_get_state_func),
29037 (gst_element_lost_state), (gst_element_pads_activate):
29038 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29039 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29040 (gst_pad_pull_range):
29042 More work on the generic source base class, implement seeking,
29044 Make filesrc extend the base source class.
29045 Added gst_pad_set_checkgetrange_function to GstPad.
29047 2005-04-06 Andy Wingo <wingo@pobox.com>
29049 * pkgconfig/gstreamer-base.pc.in:
29050 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29052 * pkgconfig/Makefile.am:
29053 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29055 2005-04-04 Wim Taymans <wim@fluendo.com>
29057 * gst/base/Makefile.am:
29059 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29060 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29061 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29062 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29063 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29064 (gst_basesrc_base_init), (gst_basesrc_class_init),
29065 (gst_basesrc_init), (gst_basesrc_get_formats),
29066 (gst_basesrc_get_query_types), (gst_basesrc_query),
29067 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29068 (gst_basesrc_set_property), (gst_basesrc_get_property),
29069 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29070 (gst_basesrc_loop), (gst_basesrc_activate),
29071 (gst_basesrc_change_state):
29072 * gst/base/gstbasesrc.h:
29073 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29074 (gst_fakesrc_class_init), (gst_fakesrc_init),
29075 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29076 (gst_fakesrc_get_property), (gst_fakesrc_create):
29077 * gst/elements/gstfakesrc.h:
29078 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29079 (gst_filesrc_open_file), (gst_filesrc_loop),
29080 (gst_filesrc_activate), (filesrc_find_peek),
29081 (gst_filesrc_type_find):
29082 Made base source class, make fakesrc extend it.
29083 Add comments to basesink class.
29084 Some filesrc cleanup.
29086 2005-03-31 David Schleef <ds@schleef.org>
29088 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29089 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29090 expected to link against libgstreamer.
29091 * gst/base/Makefile.am: link against libgstreamer
29092 * gst/elements/Makefile.am: same
29094 2005-03-31 Andy Wingo <wingo@pobox.com>
29096 * tests/instantiate/Makefile.am:
29097 * tests/instantiate/caps.c: Add test to test speed of caps copy
29100 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29101 GMemChunk to be fair.
29103 * gst/gsttrashstack.h: Remove warning about using the fallback
29104 trash stack implementation, it's still faster than malloc.
29106 2005-03-30 Andy Wingo <wingo@pobox.com>
29108 * tests/complexity.c: Add a copyright.
29110 2005-03-31 Wim Taymans <wim@fluendo.com>
29112 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29113 (gst_base_transform_class_init), (gst_base_transform_init),
29114 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29115 (gst_base_transform_get_property),
29116 (gst_base_transform_sink_activate),
29117 (gst_base_transform_src_activate),
29118 (gst_base_transform_change_state):
29119 * gst/base/gstbasetransform.h:
29120 * gst/elements/gstidentity.c: (gst_identity_class_init),
29121 (gst_identity_event), (gst_identity_check_perfect),
29122 (gst_identity_transform), (gst_identity_start),
29123 (gst_identity_stop):
29124 Added start/stop methods to transform base class so subclasses
29125 don't need to deal with state changes even.
29127 2005-03-31 Wim Taymans <wim@fluendo.com>
29129 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29130 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29132 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29133 (gst_pad_pull_range):
29134 Added rate to the discont event to prepare for variable speed
29135 and reverse playback.
29137 2005-03-29 David Schleef <ds@schleef.org>
29140 * testsuite/trigger/Makefile.am:
29141 * testsuite/trigger/trigger.c: A little example program to show
29142 how trigger-based elements can work.
29144 2005-03-29 Wim Taymans <wim@fluendo.com>
29146 * gst/base/Makefile.am:
29148 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29149 (gst_basesink_base_init), (gst_basesink_class_init),
29150 (gst_basesink_pad_getcaps), (gst_basesink_init),
29151 (gst_basesink_activate), (gst_basesink_change_state):
29152 * gst/base/gstbasesink.h:
29153 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29154 (gst_base_transform_base_init), (gst_base_transform_finalize),
29155 (gst_base_transform_class_init), (gst_base_transform_init),
29156 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29157 (gst_base_transform_event), (gst_base_transform_getrange),
29158 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29159 (gst_base_transform_set_property),
29160 (gst_base_transform_get_property),
29161 (gst_base_transform_sink_activate),
29162 (gst_base_transform_src_activate),
29163 (gst_base_transform_change_state):
29164 * gst/base/gstbasetransform.h:
29165 * gst/elements/gstidentity.c: (gst_identity_finalize),
29166 (gst_identity_class_init), (gst_identity_init),
29167 (gst_identity_event), (gst_identity_check_perfect),
29168 (gst_identity_transform), (gst_identity_set_property),
29169 (gst_identity_get_property), (gst_identity_change_state):
29170 * gst/elements/gstidentity.h:
29171 * gst/gstelement.c: (gst_element_get_state_func),
29172 (gst_element_lost_state), (gst_element_pads_activate):
29173 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29174 (gst_pad_check_pull_range), (gst_pad_pull_range):
29176 Simplify pad activation.
29177 Added function to check if pull_range can be performed.
29178 Error out when pulling inactive or flushing pads.
29179 Removed const from refcounted types as it does not make sense.
29180 Simplify pad templates in basesink
29181 Added base class for simple 1-to-1 transforms.
29182 Make identity subclass the base transform.
29184 2005-03-29 Andy Wingo <wingo@pobox.com>
29186 * docs/libs/gstreamer-libs-overrides.txt:
29187 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29188 really don't understand what's going on, but like whatever. I want
29191 * docs/gst/Makefile.am:
29192 * docs/libs/Makefile.am: Dist the overrides files.
29194 * check/Makefile.am (clean-local): Remove .libs directories.
29196 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29197 elements to EXTRA_DIST, so po/ files are happy.
29199 * po/POTFILES.in: Er, remove it here.
29201 * po/POTFILES: Remove gstspider.c.
29203 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29205 * docs/libs/gstreamer-libs-docs.sgml:
29206 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29209 * tests/complexity.c (main): Set the length of the preroll queue
29210 on the sinks to prevent a lockup.
29212 * libs/gst/dataprotocol/Makefile.am:
29213 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29214 the same as the one in check/gst-libs/gdp.c.
29216 * po/, docs/gst/: Commit automatic changes to docs and po files.
29218 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29219 the versioned libgstbase.
29221 * check/Makefile.am: Depend on an unversioned gst-register, seems
29222 to make autoconf happier.
29224 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29226 2005-03-28 Wim Taymans <wim@fluendo.com>
29229 * docs/design/part-gstelement.txt:
29230 * docs/design/part-negotiation.txt:
29231 * docs/design/part-preroll.txt:
29232 * docs/design/part-scheduling.txt:
29233 * docs/design/part-states.txt:
29235 * gst/base/Makefile.am:
29237 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29238 (gst_basesink_base_init), (gst_basesink_class_init),
29239 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29240 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29241 (gst_basesink_set_pad_functions),
29242 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29243 (gst_basesink_set_property), (gst_basesink_get_property),
29244 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29245 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29246 (gst_basesink_preroll_queue_push),
29247 (gst_basesink_preroll_queue_empty),
29248 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29249 (gst_basesink_event), (gst_basesink_get_times),
29250 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29251 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29252 (gst_basesink_loop), (gst_basesink_activate),
29253 (gst_basesink_change_state):
29254 * gst/base/gstbasesink.h:
29255 * gst/elements/Makefile.am:
29256 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29257 (gst_fakesink_class_init), (gst_fakesink_init),
29258 (gst_fakesink_set_property), (gst_fakesink_get_property),
29259 (gst_fakesink_get_times), (gst_fakesink_event),
29260 (gst_fakesink_preroll), (gst_fakesink_render),
29261 (gst_fakesink_change_state):
29262 * gst/elements/gstfakesink.h:
29263 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29264 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29265 * gst/gstelement.c: (gst_element_add_pad),
29266 (gst_element_get_state_func), (gst_element_abort_state),
29267 (gst_element_commit_state), (gst_element_lost_state),
29268 (gst_element_set_state), (gst_element_pads_activate):
29269 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29270 * gst/gstpipeline.c: (gst_pipeline_send_event),
29271 (gst_pipeline_change_state):
29272 Added state change code.
29273 Added/updated docs.
29274 Added sink base class, make fakesink extend the base class.
29275 Small cleanups in GstPipeline.
29277 2005-03-26 David Schleef <ds@schleef.org>
29279 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29280 is broken and should be implemented in a different library.
29281 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29282 * gst/gst.h: remove gstcpu.h
29283 * gst/gstcpu.c: remove
29284 * gst/gstcpu.h: remove
29285 * gst/Makefile.am.future: Remove this file. It's ancient.
29287 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29289 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29290 (gst_bin_send_event):
29291 Add default event/set_manager handlers. The set_manager handler
29292 takes care that the manager is distributed over kids that were
29293 already in the bin before the manager was set. The event handler
29294 is a utility virtual function that sends the event over all sinks,
29295 so that gst_element_send_event (bin, event); has the expected
29297 * gst/gstpad.c: (gst_pad_event_default):
29298 Re-install default event handling for discontinuities, so that
29299 seeking works without requiring hacks in applications or extra
29301 * gst/gstpipeline.c: (gst_pipeline_class_init),
29302 (gst_pipeline_send_event):
29303 Half hack, half utility: set a pipeline to PAUSED for seek events,
29304 since that is the only way we can guarantee a/v sync. Means that
29305 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29306 and it "just works".
29308 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29310 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29311 Lock/unlock mismatch.
29313 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29315 * docs/faq/gst-uninstalled:
29316 add gst-plugins-base
29317 * docs/gst/Makefile.am:
29318 don't error out until docs are fixed
29319 * docs/gst/gstreamer.types:
29322 2005-03-22 Wim Taymans <wim@fluendo.com>
29324 * check/Makefile.am:
29325 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29326 * gst/gststructure.c: (gst_structure_set_valist),
29327 (gst_structure_copy_conditional):
29328 Activated more tests.
29329 Added message test.
29330 Added G_TYPE_POINTER to GstStructure.
29333 2005-03-22 Wim Taymans <wim@fluendo.com>
29335 * docs/design/part-TODO.txt:
29336 * docs/design/part-events.txt:
29337 * docs/design/part-gstbin.txt:
29338 * docs/design/part-gstbus.txt:
29339 * docs/design/part-gstpipeline.txt:
29340 * docs/design/part-messages.txt:
29342 * gst/gstmessage.c:
29345 2005-03-21 Wim Taymans <wim@fluendo.com>
29347 * gst/gstbus.c: (gst_bus_post):
29348 Fix copy-and-paste error.
29350 2005-03-21 Wim Taymans <wim@fluendo.com>
29352 * check/Makefile.am:
29354 * gst/elements/Makefile.am:
29355 * gst/elements/gstelements.c:
29356 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29357 (gst_fakesink_event), (gst_fakesink_chain):
29358 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29359 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29360 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29361 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29362 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29363 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29364 (gst_fakesrc_loop), (gst_fakesrc_activate),
29365 (gst_fakesrc_change_state):
29366 * gst/elements/gstfakesrc.h:
29367 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29368 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29369 (gst_filesrc_open_file), (gst_filesrc_loop),
29370 (gst_filesrc_activate), (gst_filesrc_change_state),
29371 (filesrc_find_peek), (filesrc_find_suggest),
29372 (gst_filesrc_type_find):
29373 * gst/elements/gstidentity.c: (gst_identity_finalize),
29374 (gst_identity_class_init), (gst_identity_init),
29375 (gst_identity_proxy_getcaps), (identity_queue_push),
29376 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29377 (gst_identity_getrange), (gst_identity_chain),
29378 (gst_identity_sink_loop), (gst_identity_src_loop),
29379 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29380 (gst_identity_set_property), (gst_identity_get_property),
29381 (gst_identity_change_state):
29382 * gst/elements/gstidentity.h:
29383 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29384 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29385 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29386 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29387 (gst_tee_sink_activate):
29388 * gst/elements/gsttee.h:
29389 * gst/gst.c: (gst_register_core_elements), (init_post):
29391 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29392 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29393 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29394 (gst_bin_change_state):
29396 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29397 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29398 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29399 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29400 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29401 (bus_watch_callback), (bus_watch_destroy),
29402 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29403 (poll_timeout), (gst_bus_poll):
29407 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29408 (gst_element_post_message), (gst_element_message_full),
29409 (gst_element_get_state_func), (gst_element_get_state),
29410 (gst_element_abort_state), (gst_element_commit_state),
29411 (gst_element_lost_state), (gst_element_set_state),
29412 (gst_element_pads_activate), (gst_element_change_state),
29413 (gst_element_dispose), (gst_element_set_manager_func),
29414 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29415 (gst_element_set_manager), (gst_element_get_manager),
29416 (gst_element_set_bus), (gst_element_get_bus),
29417 (gst_element_set_scheduler), (gst_element_get_scheduler):
29418 * gst/gstelement.h:
29419 * gst/gstevent.c: (gst_event_new_segment_seek),
29420 (gst_event_new_flush):
29422 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29423 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29424 (gst_message_new_eos), (gst_message_new_error),
29425 (gst_message_new_warning), (gst_message_new_tag),
29426 (gst_message_new_state_changed), (gst_message_new_application),
29427 (gst_message_get_structure), (gst_message_parse_tag),
29428 (gst_message_parse_state_changed), (gst_message_parse_error),
29429 (gst_message_parse_warning):
29430 * gst/gstmessage.h:
29431 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29432 (gst_real_pad_set_property), (gst_pad_set_active),
29433 (gst_pad_is_active), (gst_pad_set_blocked_async),
29434 (gst_pad_set_blocked), (gst_pad_is_blocked),
29435 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29436 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29437 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29438 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29439 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29440 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29441 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29442 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29443 (gst_pad_set_caps), (gst_pad_configure_sink),
29444 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29445 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29446 (gst_real_pad_dispose), (gst_real_pad_finalize),
29447 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29448 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29449 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29451 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29452 (pipeline_bus_handler), (gst_pipeline_change_state),
29453 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29454 * gst/gstpipeline.h:
29456 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29457 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29458 (gst_queue_link_src), (gst_queue_bufferalloc),
29459 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29460 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29461 (gst_queue_loop), (gst_queue_handle_src_event),
29462 (gst_queue_handle_src_query), (gst_queue_src_activate),
29463 (gst_queue_change_state):
29465 * gst/gstscheduler.c: (gst_scheduler_init),
29466 (gst_scheduler_dispose), (gst_scheduler_create_task),
29467 (gst_scheduler_factory_create):
29468 * gst/gstscheduler.h:
29469 * gst/gststructure.c: (gst_structure_get_type),
29470 (gst_structure_copy_conditional):
29471 * gst/gststructure.h:
29472 * gst/gsttaginterface.h:
29473 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29474 (gst_task_init), (gst_task_dispose), (gst_task_create),
29475 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29481 * gst/schedulers/Makefile.am:
29482 * gst/schedulers/cothreads_compat.h:
29483 * gst/schedulers/entryscheduler.c:
29484 * gst/schedulers/faircothreads.c:
29485 * gst/schedulers/faircothreads.h:
29486 * gst/schedulers/fairscheduler.c:
29487 * gst/schedulers/gstbasicscheduler.c:
29488 * gst/schedulers/gstoptimalscheduler.c:
29489 * gst/schedulers/gthread-cothreads.h:
29490 * gst/schedulers/threadscheduler.c:
29491 (gst_thread_scheduler_task_get_type),
29492 (gst_thread_scheduler_task_class_init),
29493 (gst_thread_scheduler_task_init),
29494 (gst_thread_scheduler_task_start),
29495 (gst_thread_scheduler_task_stop),
29496 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29497 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29498 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29499 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29501 * libs/gst/Makefile.am:
29502 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29503 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29504 (gst_file_pad_parent_set):
29505 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29506 (gst_dp_event_from_packet):
29507 * tests/complexity.c: (main):
29508 * tests/mass_elements.c: (main):
29509 * testsuite/states/locked.c: (message_received), (main):
29510 * testsuite/states/parent.c: (main):
29511 * tools/gst-inspect.c: (print_element_flag_info),
29512 (print_implementation_info), (print_pad_info):
29513 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29515 * tools/gst-md5sum.c: (event_loop), (main):
29516 * tools/gst-typefind.c: (main):
29517 * tools/gst-xmlinspect.c: (print_element_info):
29519 Added GstBus for mainloop integration.
29520 Added GstMessage for sending notifications on the bus.
29521 Added GstTask as an abstraction for pipeline entry points.
29523 Removed Schedulers.
29524 Simplified GstQueue for multithreaded core.
29525 Made _link threadsafe, removed old capsnego.
29526 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29527 Added pad blocking functions.
29528 Reworked scheduling functions in GstPad to prepare for
29529 scheduling updates soon.
29530 Moved events out of data stream.
29531 Simplified GstEvent types.
29532 Added return values to push/pull.
29533 Removed clocking from GstElement.
29534 Added prototypes for state change function for next merge.
29535 Removed iterate from bins and state change management.
29536 Fixed some elements, disabled others for now.
29537 Fixed -inspect and -launch.
29538 Added check for GstBus.
29540 2005-03-10 Wim Taymans <wim@fluendo.com>
29542 * docs/design/part-MT-refcounting.txt:
29543 * docs/design/part-clocks.txt:
29544 * docs/design/part-gstelement.txt:
29545 * docs/design/part-gstobject.txt:
29546 * docs/design/part-standards.txt:
29547 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29548 (gst_bin_remove_func), (gst_bin_remove):
29552 * testsuite/clock/clock1.c: (main):
29553 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29555 * testsuite/dlopen/loadgst.c: (do_test):
29556 * testsuite/refcounting/bin.c: (add_remove_test1),
29557 (add_remove_test2), (main):
29558 * testsuite/refcounting/element.c: (main):
29559 * testsuite/refcounting/element_pad.c: (main):
29560 * testsuite/refcounting/pad.c: (main):
29561 * tools/gst-launch.c: (sigint_handler_sighandler):
29562 * tools/gst-typefind.c: (main):
29564 Added doc about clock.
29565 removed gst_bin_iterate_recurse_up(), marked methods
29567 Fix more testsuites.
29569 2005-03-09 Wim Taymans <wim@fluendo.com>
29571 * gst/gstpad.c: (gst_pad_get_direction),
29572 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29573 (gst_pad_collect_valist):
29574 * testsuite/bins/interface.c: (main):
29575 * testsuite/caps/audioscale.c: (test_caps):
29576 * testsuite/caps/caps.c: (test1), (test2), (test3):
29577 * testsuite/caps/deserialize.c: (main):
29578 * testsuite/caps/enumcaps.c: (main):
29579 * testsuite/caps/filtercaps.c: (main):
29580 * testsuite/caps/intersect2.c: (main):
29581 * testsuite/caps/random.c: (main):
29582 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29583 * testsuite/caps/sets.c: (check_caps):
29584 * testsuite/caps/simplify.c: (check_caps), (main):
29585 * testsuite/caps/subtract.c: (check_caps):
29586 Fix _pad_get_direction wrt ghostpads.
29587 Fix caps testsuite.
29589 2005-03-09 Wim Taymans <wim@fluendo.com>
29591 * check/Makefile.am:
29592 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29593 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29594 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29595 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29596 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29597 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29598 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29599 (bin_element_is_sink), (gst_bin_iterate_sinks),
29600 (gst_bin_iterate_all_by_interface):
29602 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29603 (gst_element_change_state), (gst_element_dispose),
29604 (gst_element_finalize), (gst_element_set_loop_function):
29605 * gst/gstelement.h:
29606 * gst/gstiterator.c: (find_custom_fold_func):
29607 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29608 (gst_pad_collectv), (gst_pad_collect_valist),
29609 (gst_pad_template_new):
29610 * gst/gstpipeline.c: (gst_pipeline_class_init),
29611 (gst_pipeline_dispose), (gst_pipeline_set_property),
29612 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29613 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29614 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29616 * gst/schedulers/entryscheduler.c:
29617 * gst/schedulers/gstbasicscheduler.c:
29618 (gst_basic_scheduler_cothreaded_chain),
29619 (gst_basic_scheduler_chain_add_element):
29620 * testsuite/bins/interface.c: (main):
29622 Added GstSystemClock test.
29623 Implemented clock distribution code in GstBin.
29624 Implemented iterate sinks method for future use.
29625 Rearranged gstelement.h
29626 Fix GstIterator comparison bug.
29627 Moved some code to GstPipeline, mostly clocking related.
29629 2005-03-09 Wim Taymans <wim@fluendo.com>
29632 * gst/gst_private.h:
29633 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29634 (gst_bin_remove_func), (gst_bin_remove),
29635 (gst_bin_get_by_name_recurse_up):
29636 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29637 (gst_clock_id_compare_func), (gst_clock_id_wait),
29638 (gst_clock_id_wait_async), (gst_clock_init),
29639 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29640 * gst/gstelement.h:
29641 * gst/gstinfo.c: (_gst_debug_init):
29643 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29644 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29646 Bump version number, we're now 0.9.0
29647 Add future debugging category.
29648 Fix NULL _unref() in _get_by_name_recurse_up
29649 Rearrange gstpad.h.
29652 2005-03-08 Wim Taymans <wim@fluendo.com>
29654 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29655 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29656 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29657 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29658 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29659 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29660 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29661 * gst/elements/gstidentity.c: (gst_identity_class_init):
29662 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29663 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29664 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29665 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29666 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29668 * gst/gstelement.c: (gst_element_class_init),
29669 (gst_element_base_class_init), (gst_element_init),
29670 (gst_element_get_random_pad), (gst_element_wait_state_change),
29671 (gst_element_change_state), (gst_element_dispose),
29672 (gst_element_finalize), (gst_element_set_loop_function):
29673 * gst/gstelement.h:
29674 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29675 * gst/gstthread.c: (gst_thread_class_init),
29676 (gst_thread_release_children_locks), (gst_thread_change_state):
29677 * gst/schedulers/gstbasicscheduler.c:
29678 (gst_basic_scheduler_loopfunc_wrapper),
29679 (gst_basic_scheduler_chain_wrapper),
29680 (gst_basic_scheduler_src_wrapper),
29681 (gst_basic_scheduler_remove_element):
29682 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29683 Remove threadsafe properties. Fix elements because GObject
29684 complains when installing a property before declaring a
29685 set/get_property handler.
29686 Rearrange gstelement.h file, use STATE macros for state locks.
29687 Free mutexes in the finalize method instead of dispose.
29689 2005-03-08 Wim Taymans <wim@fluendo.com>
29691 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29692 * gst/gstthread.c: (gst_thread_release_children_locks):
29693 Added parentage check.
29694 Fix build og GstThread again.
29696 2005-03-08 Wim Taymans <wim@fluendo.com>
29698 * docs/design/part-MT-refcounting.txt:
29699 * docs/design/part-conventions.txt:
29700 * docs/design/part-gstobject.txt:
29701 * docs/design/part-relations.txt:
29702 * docs/design/part-standards.txt:
29703 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29704 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29705 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29706 (gst_bin_iterate_all_by_interface):
29709 * gst/gstelement.c: (gst_element_class_init),
29710 (gst_element_change_state), (gst_element_set_loop_function):
29711 * gst/gstelement.h:
29712 * gst/gstiterator.c:
29713 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29714 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29715 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29716 (gst_object_set_parent), (gst_object_unparent),
29717 (gst_object_check_uniqueness):
29719 Docs updates, clean up some headers.
29721 2005-03-07 Wim Taymans <wim@fluendo.com>
29723 * check/.cvsignore:
29724 * check/Makefile.am:
29725 * check/gst-libs/.cvsignore:
29726 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29727 * check/gst/.cvsignore:
29728 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29729 (START_TEST), (gstbus_suite), (main):
29730 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29731 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29732 (gst_data_suite), (main):
29733 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29734 (add_fold_func), (gstiterator_suite), (main):
29735 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29736 (thread_name_object), (thread_name_object_default),
29737 (gst_object_name_compare), (gst_object_suite), (main):
29738 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29739 (gst_pad_suite), (main):
29740 * check/gstcheck.c: (gst_check_log_message_func),
29741 (gst_check_log_critical_func), (gst_check_init):
29742 * check/gstcheck.h:
29743 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29744 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29747 2005-03-07 Wim Taymans <wim@fluendo.com>
29749 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29750 (gst_list_iterator_next), (gst_list_iterator_resync),
29751 (gst_list_iterator_free), (gst_iterator_new_list),
29752 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29753 (gst_iterator_free), (gst_iterator_push), (filter_next),
29754 (filter_resync), (filter_uninit), (filter_free),
29755 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29756 (gst_iterator_foreach), (find_custom_fold_func),
29757 (gst_iterator_find_custom):
29758 * gst/gstiterator.h:
29759 Added missing files.
29761 2005-03-07 Wim Taymans <wim@fluendo.com>
29765 * docs/design/part-MT-refcounting.txt:
29766 * docs/design/part-conventions.txt:
29767 * docs/design/part-gstobject.txt:
29768 * docs/design/part-relations.txt:
29769 * examples/mixer/mixer.c: (main):
29770 * examples/thread/thread.c: (eos), (main):
29772 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29773 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29774 (gst_spider_plug_from_srcpad):
29775 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29776 (gst_spider_identity_change_state),
29777 (gst_spider_identity_sink_loop_type_finding):
29778 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29779 * gst/elements/gstidentity.c: (gst_identity_init):
29780 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29781 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29782 * gst/elements/gsttypefindelement.c: (free_entry):
29785 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29786 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29787 (gst_bin_set_index), (gst_bin_set_element_sched),
29788 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29789 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29790 (gst_bin_iterate_elements), (iterate_child_recurse),
29791 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29792 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29793 (compare_interface), (gst_bin_get_by_interface),
29794 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29796 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29797 (gst_buffer_default_free), (gst_buffer_default_copy),
29798 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29799 (gst_buffer_create_sub):
29801 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29802 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29803 (gst_caps_unref), (gst_static_caps_get),
29804 (gst_caps_remove_and_get_structure), (gst_caps_append),
29805 (gst_caps_append_structure), (gst_caps_remove_structure),
29806 (gst_caps_copy_nth), (gst_caps_set_simple),
29807 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29808 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29809 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29810 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29811 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29812 (gst_caps_structure_figure_out_union),
29813 (gst_caps_switch_structures), (gst_caps_do_simplify),
29814 (gst_caps_replace), (gst_caps_from_string),
29815 (gst_caps_copy_conditional):
29817 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29818 (_gst_clock_id_free), (gst_clock_id_unref),
29819 (gst_clock_id_compare_func), (gst_clock_id_wait),
29820 (gst_clock_id_wait_async), (gst_clock_class_init),
29821 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29822 (gst_clock_get_time), (gst_clock_set_time_adjust),
29823 (gst_clock_set_property), (gst_clock_get_property):
29826 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29827 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29829 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29830 (gst_element_requires_clock), (gst_element_provides_clock),
29831 (gst_element_set_clock), (gst_element_clock_wait),
29832 (gst_element_wait), (gst_element_set_time_delay),
29833 (gst_element_is_indexable), (gst_element_add_pad),
29834 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29835 (pad_compare_name), (gst_element_get_static_pad),
29836 (gst_element_request_pad), (gst_element_get_request_pad),
29837 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29838 (gst_element_class_get_pad_template_list),
29839 (gst_element_class_get_pad_template), (gst_element_error_func),
29840 (gst_element_get_random_pad), (gst_element_get_event_masks),
29841 (gst_element_send_event), (gst_element_seek),
29842 (gst_element_get_query_types), (gst_element_query),
29843 (gst_element_get_formats), (gst_element_convert),
29844 (gst_element_is_locked_state), (gst_element_set_locked_state),
29845 (gst_element_sync_state_with_parent), (gst_element_change_state),
29846 (gst_element_finalize), (gst_element_yield),
29847 (gst_element_interrupt), (gst_element_set_scheduler),
29848 (gst_element_get_scheduler), (gst_element_set_loop_function):
29849 * gst/gstelement.h:
29851 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29852 (gst_format_get_by_nick), (gst_format_get_details),
29853 (gst_format_iterate_definitions):
29855 * gst/gstindex.c: (gst_index_gtype_resolver):
29858 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29859 (gst_mem_chunk_free):
29860 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29861 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29862 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29863 (gst_object_dispatch_properties_changed),
29864 (gst_object_set_name_default), (gst_object_set_name),
29865 (gst_object_get_name), (gst_object_set_name_prefix),
29866 (gst_object_get_name_prefix), (gst_object_set_parent),
29867 (gst_object_get_parent), (gst_object_unparent),
29868 (gst_object_check_uniqueness), (gst_object_save_thyself),
29869 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29870 (gst_object_set_property), (gst_object_get_property),
29871 (gst_object_get_path_string):
29873 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29874 (gst_real_pad_init), (gst_real_pad_get_property),
29875 (gst_pad_custom_new), (gst_pad_get_direction),
29876 (gst_pad_set_active), (gst_pad_is_active),
29877 (gst_pad_set_event_function), (gst_pad_is_linked),
29878 (gst_pad_link_free), (gst_pad_link_intersect),
29879 (gst_pad_link_fixate), (gst_pad_set_caps),
29880 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29881 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29882 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29883 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29884 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29885 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29886 (gst_pad_realize), (gst_pad_get_allowed_caps),
29887 (gst_real_pad_dispose), (gst_real_pad_finalize),
29888 (gst_pad_collectv), (gst_pad_collect_valist),
29889 (gst_pad_template_dispose), (gst_pad_template_new),
29890 (gst_pad_get_internal_links):
29892 * gst/gstpipeline.c: (gst_pipeline_dispose),
29893 (gst_pipeline_change_state):
29894 * gst/gstpipeline.h:
29896 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29897 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29898 * gst/gstpluginfeature.h:
29899 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29900 * gst/gstquery.c: (_gst_query_type_initialize),
29901 (gst_query_type_register), (gst_query_type_get_by_nick),
29902 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29904 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29905 * gst/gstscheduler.c: (gst_scheduler_add_element),
29906 (gst_scheduler_factory_create):
29907 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29908 (gst_structure_free), (gst_structure_set_name),
29909 (gst_structure_id_set_value), (gst_structure_set_value),
29910 (gst_structure_set_valist), (gst_structure_remove_field),
29911 (gst_structure_remove_fields),
29912 (gst_structure_remove_fields_valist),
29913 (gst_structure_remove_all_fields), (gst_structure_foreach),
29914 (gst_structure_map_in_place),
29915 (gst_caps_structure_fixate_field_nearest_int),
29916 (gst_caps_structure_fixate_field_nearest_double):
29917 * gst/gststructure.h:
29918 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29919 (gst_system_clock_init), (gst_system_clock_dispose),
29920 (gst_system_clock_async_thread),
29921 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29922 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29923 * gst/gstsystemclock.h:
29924 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29925 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29926 * gst/gsttaginterface.c:
29927 * gst/gstthread.c: (gst_thread_dispose),
29928 (gst_thread_release_children_locks), (gst_thread_change_state),
29929 (gst_thread_main_loop):
29930 * gst/gsttrashstack.h:
29931 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29933 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29934 (gst_element_request_pad), (gst_element_get_pad_from_template),
29935 (gst_element_request_compatible_pad),
29936 (gst_element_get_compatible_pad_filtered),
29937 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29938 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29939 (gst_element_link_many), (gst_element_link),
29940 (gst_element_link_pads), (gst_element_unlink_pads),
29941 (gst_element_unlink_many), (gst_element_unlink),
29942 (gst_pad_can_link_filtered), (gst_pad_can_link),
29943 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29944 (gst_object_default_error), (gst_bin_add_many),
29945 (gst_bin_remove_many), (gst_element_populate_std_props),
29946 (gst_element_class_install_std_props), (gst_buffer_merge),
29947 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29948 (link_fold_func), (gst_pad_proxy_setcaps):
29950 * gst/gstvalue.c: (gst_value_deserialize_string):
29951 * gst/parse/grammar.y:
29952 * gst/schedulers/gstbasicscheduler.c:
29953 (gst_basic_scheduler_cothreaded_chain),
29954 (gst_basic_scheduler_chain_recursive_add),
29955 (gst_basic_scheduler_pad_link):
29956 * gst/schedulers/gstoptimalscheduler.c:
29957 (get_group_schedule_function),
29958 (gst_opt_scheduler_state_transition),
29959 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29960 * libs/gst/bytestream/bytestream.c:
29961 * libs/gst/dataprotocol/dataprotocol.c:
29962 (gst_dp_header_from_buffer):
29965 * tests/threadstate/threadstate2.c: (eos):
29966 * tools/gst-compprep.c: (main):
29967 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29968 (print_pad_info), (print_children_info):
29969 * tools/gst-launch.c: (idle_func), (main):
29970 * tools/gst-md5sum.c: (idle_func), (main):
29971 * tools/gst-xmlinspect.c: (print_element_info):
29972 First THREADED backport attempt, focusing on adding locks and
29973 making sure the API is threadsafe. Needs more work. More docs
29976 2005-02-24 Andy Wingo <wingo@pobox.com>
29978 * tests/bench-complexity.scm:
29979 * tests/complexity.gnuplot: New files, good for running complexity
29982 * tests/Makefile.am:
29983 * tests/complexity.c: New test, sets up N elements, at each level
29984 teeing into M streams per element. Eeeenteresting.
29986 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29987 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29988 running bench-mass_elements.scm.
29990 * tests/bench-mass_elements.scm: New script, runs mass_elements
29991 for various numbers of identities, outputting the results to a
29992 file. Requires guile 1.6. Just for testing.
29994 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29996 * gst/schedulers/fairscheduler.c:
29997 compile with debug disabled
29999 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30002 hunting season on 0.9 is now OPEN