1 2008-06-27 Stefan Kost <ensonic@users.sf.net>
3 patch by: Luc Pionchon <luc.pionchon@nokia.com>
5 * docs/manual/advanced-autoplugging.xml:
6 * docs/manual/advanced-threads.xml:
7 * docs/manual/basics-bins.xml:
8 * docs/manual/basics-elements.xml:
9 * docs/manual/basics-helloworld.xml:
10 * docs/manual/basics-pads.xml:
11 Add scale factor for pdf output.
13 * docs/manual/intro-basics.xml:
14 Switched sections "pads" and "bins" and added a pipeline diagram.
16 * docs/manual/intro-gstreamer.xml:
17 Added more info on gstreamer.
19 * docs/manual/intro-motivation.xml:
20 Commented out the whole section "current problem", which sounds
21 historical and somehow osolete; it could be turned in a positive
22 way and reused to improve the design principles.
24 * docs/manual/intro-preface.xml:
25 - Update URLs to library.gnome.org.
26 - Do not mention GTK+ in preliminary reading (irrelevant).
27 - Mention Plugin Writer's Manual and further reading only in the
29 - Added a list of most relevant GObject/glib topics.
31 * docs/manual/Makefile.am:
32 * docs/manual/bin-element-ghost.fig:
33 * docs/manual/bin-element-ghost.png:
34 * docs/manual/bin-element-noghost.fig:
35 * docs/manual/bin-element-noghost.png:
36 * docs/manual/bin-element.fig:
37 * docs/manual/bin-element.png:
38 * docs/manual/filter-element-multi.fig:
39 * docs/manual/filter-element-multi.png:
40 * docs/manual/filter-element.fig:
41 * docs/manual/filter-element.png:
42 * docs/manual/gstreamer-overview.png:
43 * docs/manual/hello-world.fig:
44 * docs/manual/hello-world.png:
45 * docs/manual/linked-elements.fig:
46 * docs/manual/linked-elements.png:
47 * docs/manual/mime-world.fig:
48 * docs/manual/mime-world.png:
49 * docs/manual/queue.fig:
50 * docs/manual/queue.png:
51 * docs/manual/simple-player.png:
52 * docs/manual/sink-element.fig:
53 * docs/manual/sink-element.png:
54 * docs/manual/src-element.fig:
55 * docs/manual/src-element.png:
56 * docs/manual/diagrams-general.svg:
57 * docs/manual/diagrams-pipelines.svg:
58 Removed .fig, added .png counterpart.
62 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
64 * plugins/elements/gstmultiqueue.c:
65 * plugins/elements/gstmultiqueue.h:
66 revert extra-size-buffers stuff, caused some race conditions
67 and extra-size-buffers is not used anymore. Docs needs some updates
69 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
71 * win32/common/config.h:
72 * win32/common/gstenumtypes.c:
73 * win32/common/gstenumtypes.h:
74 * win32/common/gstversion.h:
77 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
79 * gst/gstdebugutils.h: (GstDebugGraphDetails),
80 (GST_DEBUG_BIN_TO_DOT_FILE):
81 Add missing Since' markers to gtk-doc blurbs.
83 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
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 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
90 (transform_size_ct2), (buffer_alloc_ct2):
91 Add some more tests with switching caps in buffer_alloc.
93 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
95 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
96 (gst_test_trans_class_init), (result_sink_chain),
97 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
98 (gst_test_trans_push), (gst_test_trans_pop):
99 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
100 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
101 (set_caps_1), (set_caps_ct1), (transform_ct1),
102 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
103 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
104 (transform_size_ct2), (buffer_alloc_ct2),
105 (gst_basetransform_suite):
106 More tests, prepare for tests with switching caps in buffer_alloc.
108 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
110 * plugins/elements/gstmultiqueue.c:
111 * plugins/elements/gstmultiqueue.h:
112 Fix dead-lock in underrun_cb
114 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
116 * docs/design/part-states.txt:
117 Fix device open/close docs.
119 2008-06-25 Stefan Kost <ensonic@users.sf.net>
122 Mention bugnumber for last commit.
124 2008-06-25 Stefan Kost <ensonic@users.sf.net>
126 patch by: Luc Pionchon <luc.pionchon@nokia.com>
128 * docs/manual/manual.xml:
129 - Reorganised the previous "introduction" bundle into Foreword,
130 Introduction, and About GStreamer. The two first are <preface>
131 docbook elements. The later is the first part of the book.
132 - added intro-gstreamer.xml (content partially from
134 - moved appendix-win32.xml into appendix-integration.xml
136 * docs/manual/intro-preface.xml: gstreamer section moved...
137 * docs/manual/intro-gstreamer.xml: ...here. new file.
139 * docs/manual/appendix-win32.xml: removed file. Content moved...
140 * docs/manual/appendix-integration.xml: ...here.
142 * docs/manual/highlevel-components.xml: section about GstEditor moved...
143 * docs/manual/appendix-checklist.xml: ...here.
147 2008-06-25 Stefan Kost <ensonic@users.sf.net>
149 patch by: Luc Pionchon <luc.pionchon@nokia.com>
151 * docs/manual/basics-helloworld.xml:
152 * docs/manual/hello-world.fig:
153 - Explicitely include glib.h.
154 - Do not use global variables.
155 - Use g_printerr() instead of g_print().
156 - Minor formating/renaming to increase readibility.
157 - Renamed new_pad() to on_pad_added()
158 - Improved explenatory comments.
159 - renamed ogg parser to ogg demuxer
160 - Use "autoaudiosink" instead of "alsasink".
163 2008-06-25 Stefan Kost <ensonic@users.sf.net>
166 Remove cvs conflict marker.
168 2008-06-25 Stefan Kost <ensonic@users.sf.net>
171 Document that for plgin-docs we extraxt he short-desc from the element
174 * docs/design/part-states.txt:
175 Tell that devices should be closed in PAUSED -> READY.
177 * docs/manual/README:
178 Document how tests in the manual are handled.
183 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
185 * gst/gstbin.c: (bin_query_latency_fold):
186 Only care about latency min and max when the sink is actually a live
189 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
191 * docs/design/part-block.txt:
194 * docs/design/part-element-transform.txt:
195 Add notes about why transform needs to know input/output sizes.
196 Add some issues that need to be solved.
197 Add some more use cases.
199 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
200 (gst_test_trans_class_init), (result_sink_chain),
201 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
202 (gst_test_trans_push), (gst_test_trans_pop):
203 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
204 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
205 (set_caps_1), (set_caps_ct1), (transform_ct1),
206 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
207 (gst_basetransform_suite):
208 Add suport for different pad templates and buffer-alloc.
209 Add more checks for caps and buffer-alloc.
210 Add checks for proxy buffer alloc.
211 Add unit test for copy transform.
213 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
215 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
217 * docs/manual/appendix-integration.xml:
218 * docs/manual/appendix-licensing.xml:
219 * docs/manual/basics-elements.xml:
220 * docs/manual/basics-helloworld.xml:
221 * docs/manual/basics-pads.xml:
222 * docs/manual/highlevel-components.xml:
223 * docs/manual/highlevel-xml.xml:
224 * docs/manual/intro-basics.xml:
225 * docs/manual/intro-preface.xml:
226 Typo and formatting fixes (#538594).
228 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
230 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
231 Fix some memory leaks and uses of object instances that we don't
234 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
236 * plugins/elements/gstmultiqueue.c:
237 Add functionality to extra-size-buffers property.
239 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
241 * plugins/elements/gstmultiqueue.c:
242 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
243 activate the pads if they are added in STATE_NULL.
245 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
247 * docs/libs/gstreamer-libs-sections.txt:
249 * libs/gst/check/gstcheck.c:
250 * libs/gst/check/gstcheck.h:
251 API: gst_check_teardown_pad_by_name
253 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
255 * libs/gst/check/gstcheck.c:
256 * libs/gst/check/gstcheck.h:
257 Also setup request pads and allow setup pads by name (#537812)
258 API: gst_check_setup_src_pad_by_name
259 API: gst_check_setup_sink_pad_by_name
261 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
263 * tests/check/gst/gstbuffer.c:
264 * tests/check/pipelines/parse-launch.c:
265 Use HAVE_VALGRIND_H some more.
267 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
269 * scripts/cvs-update.sh:
270 Pass arguments to make.
271 Run autoregen.sh if Makefile is not there.
273 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
277 Don't assume that <valgrind/valgrind.h> exists just because
280 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
282 * tests/check/Makefile.am:
283 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
284 (gst_test_trans_class_init), (gst_test_trans_init),
285 (gst_test_trans_set_data), (result_sink_chain),
286 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
287 (gst_test_trans_pop):
288 * tests/check/libs/transform1.c: (GST_START_TEST),
289 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
290 Add some test basetransform element and the beginnings of various
293 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
295 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
296 Increase code readability.
297 Don't try to compare buffer offsets when ther are invalid.
299 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
301 * docs/design/Makefile.am:
302 Dist some more design docs.
304 * docs/random/moving-plugins:
305 Small addition: good plugins mustn't have functional code
306 within assertion macros.
308 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
310 * docs/design/draft-framestep.txt:
311 Some ideas about a framestep API
313 * docs/design/part-element-transform.txt:
314 Start design and use cases for basetransform in order to get it
317 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
320 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
321 be in UTF-8 encoding.
323 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
326 Make it known that gst_bus_poll() is pure evil (fixes #538810).
328 2008-06-20 Stefan Kost <ensonic@users.sf.net>
330 * plugins/elements/gstcapsfilter.c:
331 * plugins/elements/gstfakesink.c:
332 * plugins/elements/gstfakesrc.c:
333 * plugins/elements/gstfdsink.c:
334 * plugins/elements/gstfdsrc.c:
335 * plugins/elements/gstfilesink.c:
336 * plugins/elements/gstfilesrc.c:
337 * plugins/elements/gstidentity.c:
338 * plugins/elements/gstmultiqueue.c:
339 * plugins/elements/gstqueue.c:
340 * plugins/elements/gsttee.c:
341 * plugins/elements/gsttypefindelement.c:
342 Remove short_description. Add basic docs for gsttypefindelement.
343 Simplify markup for fakesrc/fdsrc.
345 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
347 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
350 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
352 Patch by: joel larsson <tilljoel at gmail dot com>
354 * docs/plugins/gstreamer-plugins.args:
355 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
356 (gst_fd_src_init), (gst_fd_src_update_fd),
357 (gst_fd_src_set_property), (gst_fd_src_get_property),
359 * plugins/elements/gstfdsrc.h:
360 Add timeout property like udpsrc. Fixes #538628.
361 Add some more docs and example pipelines.
363 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
365 * docs/libs/gstreamer-libs-sections.txt:
366 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
367 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
368 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
369 (gst_base_sink_do_sync):
370 * libs/gst/base/gstbasesink.h:
371 * win32/common/libgstbase.def:
372 Add method to allow sinks to specify additional delay between the sync
373 times and the actual rendering of the data.
374 API: gst_base_sink_set_render_delay()
375 API: gst_base_sink_get_render_delay()
377 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
380 Bump version number back to dev -> 0.10.20.1
382 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
384 * docs/gst/gstreamer-sections.txt:
385 * gst/gsttaglist.c: (_gst_tag_initialize):
387 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
390 2008-06-20 Stefan Kost <ensonic@users.sf.net>
392 * libs/gst/controller/gstcontroller.c:
393 Revert one change, that make ret value possible uninitialized.
395 2008-06-20 Stefan Kost <ensonic@users.sf.net>
397 * libs/gst/controller/gstcontroller.c:
398 Use freeze/thaw notify to sync notify emission a bit (its also more
399 efficient). Move debug output to LOG (is called a lot in a loop).
400 Always unset g_values if the have been initialized.
402 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
404 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
405 (gst_base_sink_wait_eos), (gst_base_sink_event):
406 If we have not seen a buffer before EOS, use the segment values to
407 report the current position instead of invalid positions.
409 2008-06-20 Stefan Kost <ensonic@users.sf.net>
411 * docs/plugins/tmpl/.cvsignore:
412 * tests/check/gst/.cvsignore:
415 2008-06-20 Stefan Kost <ensonic@users.sf.net>
417 * libs/gst/controller/gstinterpolation.c:
418 * libs/gst/controller/gstinterpolationcontrolsource.c:
419 * tests/check/libs/controller.c:
420 Rewrite handling of default values. Fix overflow with unsigned types
421 in linear interpolation. Remove now obsolete _first_value() function.
422 Add more tests. Fixes #538201.
424 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
426 * libs/gst/base/gstbasetransform.c:
427 (gst_base_transform_class_init), (gst_base_transform_init),
428 (gst_base_transform_transform_caps),
429 (gst_base_transform_prepare_output_buffer):
431 When a buffer is writable, its metadata is also writable so we don't
432 need to subbuffer (which then makes the buffer not-writable anymore).
434 === release 0.10.20 ===
436 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
439 releasing 0.10.20, "You Crazy Diamond"
441 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
444 0.10.19.3 pre-release
446 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
450 Rename DATADIR to GST_DATADIR to avoid build problems
451 on win32. Patch By: David Schleef <ds@schleef.org>
454 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
457 Explicitely link with -ldl if dladdr() is found there. Before it was
458 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
459 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
461 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
463 * gst/gsterror.c: (_gst_stream_errors_init):
464 Fix typo (spotted by Fabricio Godoy, #536723).
466 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
469 0.10.19.2 pre-release
471 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
473 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
474 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
476 Make sure we don't generate invalid QoS messages.
478 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
480 * gst/gstevent.c: (gst_event_new_qos):
481 Add some assert and docs for invalid input to the qos function.
483 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
485 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
486 (gst_base_sink_get_position):
487 The reported position must always be smaller than the last seen
488 timestamps (or timestamp + duration for reverse).
490 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
492 Patch by: Rob Bradford <rob at robster dot org dot uk>
494 * gst/gstregistry.c: (gst_registry_scan_path_level):
495 Don't recurse into .debug directories as some distros install
496 the debugging symbols next to the plugins in .debug directories
497 and dlopen() crashes on them sometimes. Fixes bug #508070.
499 Add FIXME for 0.11 to not recurse into directories at all because
500 it's very inconsistent to the behaviour of other PATH environment
503 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
505 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
506 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
507 Fix position query range checks in reverse playback.
509 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
513 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
514 clear of the reference to the resulting pad must be released later
515 or not, resulting in possible leaks. Fixes bug #533865.
517 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
519 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
521 * gst/gstelementfactory.c:
522 Small doc fix. Fixes #535285.
524 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
526 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
528 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
529 (gst_base_src_get_range), (gst_base_src_pad_get_range),
530 (gst_base_src_loop), (gst_base_src_set_flushing),
531 (gst_base_src_change_state):
532 Make sending an EOS event to the basesrc non-blocking even if the
533 implementation does blocking waits in the create function. This is done
534 by unlocking the create function when EOS is sent.
537 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
539 * tools/gst-inspect.c: (print_element_properties_info):
540 If possible print the element type of GValueArray properties.
542 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
545 Remove an unused field from the private GstListIterator struct.
547 2008-05-27 Stefan Kost <ensonic@users.sf.net>
549 * libs/gst/controller/gstcontroller.c:
550 Add parameter guards.
552 2008-05-27 Stefan Kost <ensonic@users.sf.net>
554 * tests/check/gst/gstpipeline.c:
555 Revert test change and add comment why it should not work.
557 2008-05-27 Stefan Kost <ensonic@users.sf.net>
559 * tests/check/gst/gstpipeline.c:
560 Extending the test a little to verify that we also get the NULL state-
563 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
565 * gst/gstpreset.c: (gst_preset_default_get_meta),
566 (gst_preset_get_preset_names), (gst_preset_get_property_names),
567 (gst_preset_load_preset), (gst_preset_save_preset),
568 (gst_preset_rename_preset), (gst_preset_delete_preset),
569 (gst_preset_set_meta):
570 Add Since: markers to docs blurbs.
572 * win32/common/libgstreamer.def:
573 Add recently-added API.
575 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
577 Patch by: Stefan Kost <ensonic@users.sf.net>
580 Add DATADIR for storing presets.
582 * docs/gst/gstreamer-docs.sgml:
583 * docs/gst/gstreamer-sections.txt:
584 * docs/gst/gstreamer.types.in:
585 Add GstPreset to docs.
589 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
590 (preset_open_and_parse_header), (preset_parse_version),
591 (preset_merge), (preset_get_keyfile),
592 (gst_preset_default_get_preset_names),
593 (gst_preset_default_get_property_names),
594 (gst_preset_default_load_preset),
595 (gst_preset_default_save_presets_file),
596 (gst_preset_default_save_preset),
597 (gst_preset_default_rename_preset),
598 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
599 (gst_preset_default_get_meta), (gst_preset_default_randomize),
600 (gst_preset_default_reset), (gst_preset_get_preset_names),
601 (gst_preset_get_property_names), (gst_preset_load_preset),
602 (gst_preset_save_preset), (gst_preset_rename_preset),
603 (gst_preset_delete_preset), (gst_preset_set_meta),
604 (gst_preset_get_meta), (gst_preset_class_init),
605 (gst_preset_base_init), (gst_preset_get_type):
607 Add GstPreset to core. Fixes #396779
609 * tests/check/Makefile.am:
610 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
611 (gst_preset_test_set_property), (gst_preset_test_class_init),
612 (gst_preset_test_base_init), (gst_preset_test_get_type),
613 (gst_preset_test_plugin_init), (GST_START_TEST),
614 (remove_preset_file), (test_setup), (test_teardown),
616 Add GstPreset unit tests.
618 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
620 * gst/gstpad.c: (gst_pad_event_default_dispatch):
621 The default event function on a sinkpad should return TRUE when
622 there are no internal links but should collect the return values from
623 the internal links otherwise.
625 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
627 * plugins/elements/gsttypefindelement.c:
628 (gst_type_find_element_src_event),
629 (gst_type_find_element_handle_event):
630 Use faster and safer _pad_push_event().
632 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
634 * docs/gst/gstreamer-sections.txt:
635 * gst/gstutils.c: (element_find_unlinked_pad),
636 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
638 API: add gst_bin_find_unlinked_pad()
639 API: deprecate gst_bin_find_unconnected_pad() (#401456)
641 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
647 Fixed a bunch of typos.
649 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
652 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
653 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
654 (gst_parse_bin_from_description_full):
656 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
658 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
660 * docs/pwg/advanced-tagging.xml:
661 Small docs update, can't be bothered to rewrite the nonsensical
664 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
667 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
669 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
671 * gst/parse/grammar.y:
672 Remove unneeded casts.
674 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
676 * gst/parse/grammar.y:
677 * tests/check/pipelines/parse-launch.c:
678 Get all missing elements from a parse launch string if possible
679 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
681 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
683 * tests/check/Makefile.am:
684 * tests/check/pipelines/parse-launch.c:
685 Add some unit tests for the new gst_parse_launch*_full() API.
686 (Exposes a previously-existing memory leak in the error code
687 path, so adding to VALGRIND_TO_FIX for now).
689 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
691 * docs/gst/gstreamer-sections.txt:
692 * gst/gst.c: (init_post):
693 * gst/gst_private.h: (_GstParseContext):
694 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
695 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
696 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
697 (gst_parse_launch_full):
698 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
699 (GstParseFlags), (GstParseContext):
700 * gst/gstutils.c: (gst_parse_bin_from_description),
701 (gst_parse_bin_from_description_full):
703 * gst/parse/grammar.y:
705 * win32/common/libgstreamer.def:
706 Add new gst_parse_*_full API (#528178):
707 API: gst_parse_launch_full()
708 API: gst_parse_launchv_full()
709 API: gst_parse_bin_from_description_full()
710 API: gst_parse_context_new()
711 API: gst_parse_context_free()
712 API: gst_parse_context_get_missing_elements()
714 2008-05-23 Stefan Kost <ensonic@users.sf.net>
716 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
718 * docs/faq/gst-uninstalled:
719 Also support ffmpeg in gst-uninstalled.
721 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
724 After discussion on IRC use the binary registry as default
725 but allow to disable it with --disable-binary-registry.
727 * win32/common/libgstreamer.def:
728 Add the two new symbols for the binary registry.
730 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
732 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
733 * gst/gstutils.c: (gst_parse_bin_from_description):
734 * gst/parse/grammar.y: (graph):
735 More guards against bad input; typo fix; some minor clean-ups.
737 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
739 Patch by: Sjoerd Simons <sjoerd at luon dot net>
741 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
742 If nothing else can be used, use the last buffer's start time as
743 the segment's last stop. Fixes bug #534258.
745 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
747 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
748 Move size sanity check to the right place: downstream may return
749 a buffer with a smaller size if the buffer caps are different than
750 the requested ones, as may happen when doing reverse negotiation.
752 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
754 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
755 (gst_file_sink_render):
756 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
757 (gst_file_src_start):
758 Small cleanups. Add note adbout g_fopen() on windows and why we don't
761 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
763 * gst/gstpad.c: (gst_pad_load_and_link):
764 * gst/gstutils.c: (gst_element_link_pads),
765 (gst_element_unlink_pads):
766 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
767 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
768 (gst_check_teardown_sink_pad),
769 (gst_check_element_push_buffer_list):
770 * tests/check/elements/fakesink.c: (GST_START_TEST):
771 * tests/check/elements/filesink.c:
772 * tests/check/elements/filesrc.c: (GST_START_TEST):
773 * tests/check/elements/multiqueue.c: (setup_multiqueue),
774 (mq_sinkpad_to_srcpad):
775 * tests/check/elements/tee.c: (GST_START_TEST):
776 * tests/check/generic/sinks.c: (GST_START_TEST):
777 * tests/check/gst/gstbin.c: (GST_START_TEST):
778 * tests/check/gst/gstevent.c: (GST_START_TEST):
779 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
780 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
781 * tests/check/gst/gstquery.c: (GST_START_TEST):
782 * tests/check/gst/gstutils.c: (GST_START_TEST):
783 * tests/check/libs/basesrc.c: (GST_START_TEST):
784 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
785 (gst_parse_test_element_change_state):
786 Don't use gst_element_get_pad().
788 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
791 Fix installing plugin documentation when gtk-doc is disabled.
793 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
795 * docs/manual/advanced-autoplugging.xml:
796 * docs/manual/basics-helloworld.xml:
797 * docs/manual/basics-pads.xml:
798 * docs/manual/highlevel-components.xml:
799 Avoid using a bad function in the example code.
801 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
803 * gst/gstclock.c: (gst_clock_set_calibration):
804 Fix debug of the new clock rate.
806 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
808 * win32/common/libgstbase.def:
809 Add gst_base_sink_wait_clock() to the exported symbols.
811 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
813 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
815 * libs/gst/base/gstbasetransform.c:
816 (gst_base_transform_sink_event):
817 Unref events that the GstBaseTransform::event vfunc didn't want to
818 have forwarded by the base class. Closes a leak in identity.
821 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
823 * docs/libs/gstreamer-libs-sections.txt:
824 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
825 * libs/gst/base/gstbasesink.h:
826 Expose a method that was previously used internally to synchronize
827 against the clock because it can be useful for subclasses too.
828 API: GstBaseSink::gst_base_sink_wait_clock()
830 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
832 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
833 Add sanity check to make sure we don't get smaller buffers
834 than requested (and fallback to normal buffer alloc if we do).
836 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
838 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
839 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
840 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
841 Refactor adjusting the running_time with latency and offset into a
843 When doing clipping, we still want to use the subclass get_times method,
844 just in case the DURATION or TIMESTAMP are not set.
846 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
848 * docs/gst/gstreamer-sections.txt:
849 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
851 * win32/common/libgstreamer.def:
852 API: add gst_type_find_suggest_simple(), #533740.
854 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
856 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
857 Use right error code when typefinding fails, so we can use
858 the default (translated) error messages.
860 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
862 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
863 (gst_base_src_start):
864 When the subclass did not set caps on outgoing buffers, configure the
865 caps we negotiated on the source pad.
866 When the typefind helper does not find caps, error out properly instead
867 of doing things with NULL caps.
869 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
872 Tabs to spaces, oh yes!
874 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
876 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
877 Add David's and Benjamin's tests for array intersection to the
878 unit test suite (#147931).
880 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
883 Document that gst_event_new_tag() and gst_event_new_navigation()
884 take ownership of the taglist/structure passed to them. (#533635).
886 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
889 Don't descend into the plugins dir if plugin docs building
893 Add a note about the new type:GTypeName syntax for the plugin
894 documentation .types file.
896 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
898 * gst/gstmessage.c: (gst_message_new_error),
899 (gst_message_new_warning), (gst_message_new_info):
901 Mark the debug string parameters as const. Fixes bug #533490.
903 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
905 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
906 Sort buffer cache list by end offsets. This makes sure that we don't
907 stop to search for a cached buffer that contains the requested data
909 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
910 more efficient. Fixes bug #459862.
912 2008-05-14 Stefan Kost <ensonic@users.sf.net>
915 Explain why we copy the list.
921 Add one debug-log statement to help tracing probelms with linking pads.
923 2008-05-12 Stefan Kost <ensonic@users.sf.net>
925 * tests/check/gst/gstinfo.c:
926 Add a test for removing the default log handler. Seems to fail under
929 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
931 * gst/gstpad.c: (gst_pad_peer_accept_caps):
932 Release pad lock before calling out to avoid a possible deadlock.
934 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
936 * gst/parse/grammar.y:
937 Remove unneeded value unset.
939 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
940 Add unit test for de/serialization of caps.
942 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
944 * plugins/elements/gstfakesink.c:
945 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
946 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
947 (gst_fake_src_class_init):
948 Use custom marshalers that take GstMiniObject as first parameter.
949 Using OBJECT as parameter while a GstMiniObject is given will lead
950 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
952 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
954 * plugins/elements/gsttypefindelement.c:
955 (gst_type_find_element_handle_event),
956 (gst_type_find_element_send_cached_events),
957 (gst_type_find_element_change_state):
958 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
961 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
963 * plugins/elements/gsttypefindelement.c:
964 (gst_type_find_handle_src_query), (stop_typefinding),
965 (gst_type_find_element_handle_event),
966 (gst_type_find_element_send_cached_events),
967 (gst_type_find_element_change_state):
968 Forward FLUSH_START events immediately and clean up instead of
971 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
973 Patch by: Sjoerd Simons <sjoerd at luon dot net>
975 * libs/gst/base/gstbasetransform.c:
976 (gst_base_transform_buffer_alloc):
977 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
978 fall back to default negotiation in the chain function if the caps
979 are different from what was requested. Fixes bug #526768.
981 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
984 * tests/check/gst/gstsegment.c:
985 No, let's not use g_slice_{dup|copy} here, since they only exist
986 since GLib 2.14 and we still depend only on >= 2.12. Also add
987 unit test for gst_segment_copy().
989 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
991 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
992 Try to fix 'dereferencing type-punned pointer will break strict
993 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
994 changed the default GType typedef from gulong to gsize at some point,
995 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
996 g_once_* functions all take a gsize * though, so work around the type
997 mismatch for C++ by doing everything in gsize and casting to GType
1000 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1002 * plugins/elements/gstmultiqueue.c:
1003 Add documentation for the signals to push our core plugin docs
1004 coverage back up to 100%.
1006 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1008 * gst/gstinfo.h (GST_FUNCTION):
1009 Reverted GST_FUNCTION to the old version as we don't want the
1010 full signature in C++ code. Also added support for MSVC.
1012 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1015 Intern the type name string, similar to what G_DEFINE_TYPE does.
1017 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1020 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1022 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1024 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1026 * libs/gst/base/gstbasetransform.c:
1027 (gst_base_transform_buffer_alloc):
1028 Don't passthrough buffer allocation too easily if the caps change.
1029 This breaks when working in passthrough mode and upstream changes
1030 it's caps. Fixes bug #526768.
1032 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1034 * gst/gstinfo.c (gst_debug_log_valist):
1035 Improved the __FILE__ part of debug output for MSVC.
1037 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1039 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1040 Declaration after statement fix for compilers like MSVC.
1042 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1044 * win32/common/config.h.in:
1045 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1046 use the real thing than having "???" unconditionally.
1048 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1050 * gst/gstinfo.h (GST_FUNCTION):
1051 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1053 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1055 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1058 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1059 (gst_base_sink_set_flushing):
1060 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1063 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1065 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1066 (gst_fake_src_init), (gst_fake_src_set_property),
1067 (gst_fake_src_get_property), (gst_fake_src_start):
1068 * plugins/elements/gstfakesrc.h:
1069 Added format property to control the format of the newsegment events.
1070 API: GstFakeSrc:format
1072 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1074 * win32/common/libgstreamer.def:
1075 Add gst_pad_has_name() to the exported symbols.
1077 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1079 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1080 * libs/gst/base/gstbasetransform.c:
1081 (gst_base_transform_prepare_output_buffer):
1082 Don't allow negative sizes when allocating new buffers.
1085 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1087 Patch by: Sjoerd Simons <sjoerd at luon net>
1089 * gst/gstbus.c: (gst_bus_source_dispatch):
1090 Don't print a warning if the queue is empty when we try to pop
1091 here. That could happen if another thread or callback set the
1092 bus to flushing between the source's check/prepare and the
1093 dispatch being called (#531538).
1095 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1097 * plugins/elements/gstmultiqueue.c:
1100 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1102 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1103 Add unit test for deserializing uint64s and check some really large
1104 numbers in the int64 test.
1106 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1108 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1109 (print_interfaces), (print_element_properties_info),
1110 (print_signal_info):
1111 Use "%s" as format string instead of printing strings directly.
1113 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1115 * gst/gstclock.c: (gst_clock_set_calibration):
1116 Make some checks actually useful.
1118 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1119 Remove some unused code. Unsigned integers tend to be >= 0.
1121 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1123 * gst/gstminiobject.c: (gst_value_get_mini_object):
1124 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1125 function was not in the unscheduled 0.10.19 release.
1127 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1129 * gst/gstregistry.c: (gst_registry_scan_path_level):
1130 Only print one log message per non-plugin file.
1132 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1134 * gst/gstinfo.c: (gst_debug_log_default):
1135 Fix alignment of debug log columns on 64-bit.
1137 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1139 * docs/libs/Makefile.am:
1140 * docs/libs/gstreamer-libs-sections.txt:
1141 Ignore private controller headers for docs.
1143 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1145 * libs/gst/controller/gstcontrollerprivate.h:
1146 * libs/gst/controller/gsthelper.c:
1147 * libs/gst/controller/gstinterpolation.c:
1148 * libs/gst/controller/gstinterpolationcontrolsource.c:
1149 (gst_interpolation_control_source_set_interpolation_mode):
1150 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1151 * libs/gst/controller/lib.c:
1152 Move some private declarations into private headers.
1154 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1156 * gst/gstdebugutils.c: (debug_dump_element_pad):
1157 Remove some code that is unused after Stefan's refactoring and uses
1158 uninitialized variables now, resulting in a compiler warning.
1160 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1162 * gst/gstregistry.c: (gst_registry_scan_path_level):
1163 Run g_str_has_suffix() only on the file name, not the
1166 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1168 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1169 Since we're not called only from the chain function any longer,
1170 we can't assume that there's always data in the queue, so move
1171 the is_full check to the beginning of the loop (otherwise we'd
1172 hit the assert when changing the limit properties while the
1173 queue is empty or not running yet).
1174 Also, only set a discont if items were actually removed from
1177 * tests/check/elements/queue.c: (test_leaky_downstream):
1178 Test case for the above.
1180 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1182 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1184 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1185 (gst_queue_chain), (queue_capacity_change),
1186 (gst_queue_set_property):
1187 When changing thr max capacity of a leaky queue, immediatly drop buffers
1188 instead of waiting for a push on the sinkpad. Fixes #530637.
1190 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1192 * gst/gstdebugutils.c:
1193 Refactor code and fix handling of ghostpads and their proxypads.
1195 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1197 * docs/gst/gstreamer-sections.txt:
1198 * gst/gstevent.c: (gst_event_has_name):
1200 * tests/check/gst/gstevent.c: (GST_START_TEST):
1201 Add method to conveniently check the name of a custom event with
1202 gst_event_has_name().
1203 Reformat the event docs so that related methods are put together instead
1204 of the default alphabetical sort.
1205 Update unit test with new method.
1206 API: GstEvent::gst_event_has_name()
1208 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1210 * libs/gst/check/Makefile.am:
1211 Don't add an explicit link to libgstreamer-0.10.la; it's already
1212 included in GST_OBJ_LIBS.
1214 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1217 Register GstClock type from a type-safe context. Fixes bug #530317.
1219 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1221 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1223 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1225 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1227 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1229 Use the GLib stuff to create a private structure.
1230 Add some locking around some dispose methods to make them a little
1231 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1233 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1235 * libs/gst/base/gstbasesink.h:
1236 * libs/gst/base/gstbasesrc.h:
1237 * libs/gst/base/gstbasetransform.h:
1238 * libs/gst/base/gstcollectpads.h:
1239 Fix doc typos and unify caps a bit.
1241 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1243 * tools/gst-launch.1.in:
1244 Forgot to also add the envvar docs here.
1246 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1248 * gst/gst.c: (init_post), (gst_deinit):
1249 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1250 (test_concurrent_create), (gst_pipeline_suite):
1251 Ref some more classes in gst_init() to work around thread-safety
1252 issues in pre-2.16 GLibs, and add basic unit test.
1254 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1256 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1257 (gst_base_sink_send_event):
1258 Rearrange the latency query code. We always want to do the upstream
1259 query, even if we are not live so that the upstream elements can get the
1260 latency results too. If we fail doing the query and we are live, we
1261 return TRUE afterwards.
1263 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1265 patch by: Jason Zhao <e3423c@motorola.com>
1267 * docs/gst/running.xml:
1269 Enable/disable scan_and_update_registry() based on commandline switch
1270 or environment variable. Fixes #520468.
1273 Fix typo in my previous commit.
1275 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1277 * gst/gstregistrybinary.c:
1278 Add a warning if we hit unhandled factories when saving.
1279 More debug logging detail, but move to LOG category.
1281 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1283 * gst/gstregistry.c:
1284 Tell the *truth* when improving the documentation.
1286 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1288 * gst/gstelementfactory.c: (gst_element_factory_make):
1289 Unref the factory after it was used the last time, not before.
1291 * gst/gstindexfactory.c: (gst_index_factory_make):
1292 Improve debugging a bit and don't leak a ref to the index factory with
1295 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1297 * gst/gstregistry.c:
1298 Improve the documentation.
1300 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1303 The glib macro seems to be borked. Use g_slice_copy directly and cast
1304 in the hope that this fixes the warning on 64bit.
1306 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1309 Document the new function. Use g_slice_dup() (no need for
1310 gst_segment_init()).
1312 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1314 * docs/gst/gstreamer-sections.txt:
1315 Move GParamSepc macros to standart section.
1318 Dn't document _get_type - its in private section in docs anyway and
1319 this doc-blob was incomplete.
1322 Fix wrong symbol names in docs.
1325 Add once doc sentence.
1327 * tests/check/gst/.cvsignore:
1330 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1332 * docs/gst/Makefile.am:
1333 And remove those libs here.
1335 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1337 * docs/libs/Makefile.am:
1338 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1340 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1342 Patch by: Olivier Crete <tester at tester dot ca>
1344 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1345 Add the min-threshold to the min latency if possible. Fixes #529148.
1347 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1349 * docs/gst/gstreamer.types.in:
1350 Stupid editor, I removed that line as it should go in yet.
1352 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1354 * docs/gst/gstreamer.types.in:
1355 * docs/libs/gstreamer-libs.types:
1356 Remove library types fro core docs and have them in libs docs.
1357 Reformat and cleanup. Add comment for miniobject types.
1359 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1361 * gst/gsturi.c: (gst_uri_get_protocol):
1362 Fix leak: g_strdown operates on the string in place, while
1363 g_ascii_strdown() returns a newly-allocated string.
1365 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1367 * tools/gst-inspect.c: (print_uri_handler_info),
1368 (print_element_info):
1369 Print the URI protocols and the URI type supported by the element.
1371 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1373 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1374 Use g_value_take_string() instead of the deprecated
1375 g_value_set_string_take_ownership().
1377 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1379 * gst/gstregistrybinary.c: (_gst_crc32):
1380 Return the old CRC instead of 0 if we give a NULL buffer
1381 or a buffer with a length of 0.
1383 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1385 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1386 (gst_uri_get_protocol), (gst_uri_has_protocol),
1387 (gst_uri_construct), (gst_uri_handler_set_uri):
1388 A valid URI scheme can also include '+', '-' and '.' additional
1389 to alphanumeric characters as per RFC 3986 Section 3.1.
1391 Handle URI schemes case insensitive in all places and convert
1392 to lower-case when constructing an URI or setting an URI with
1393 the GstURIHandler interface. Fixes bug #528868.
1394 All elements can still assume (as before) that they will
1395 get passed URIs with a lower-case URI scheme by the GstURIHandler
1398 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1400 * gst/gstcaps.c: (gst_static_caps_get):
1401 * gst/gstclock.c: (gst_clock_entry_new):
1402 Don't use g_atomic_set_int where it's not needed.
1404 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1406 * gst/gstvalue.c: (gst_value_deserialize_caps):
1407 * gst/parse/grammar.y:
1410 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1412 * gst/gstutils.c: (gst_atomic_int_set):
1413 Use g_atomic_int_set() here too instead of assignment +
1416 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1420 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1421 now that we depend on new enough GLib.
1423 * gst/gstcaps.c: (gst_static_caps_get):
1424 * gst/gstclock.c: (gst_clock_entry_new):
1425 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1426 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1427 (gst_debug_category_set_threshold):
1428 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1429 (gst_base_sink_set_qos_enabled):
1430 * libs/gst/net/gstnettimeprovider.c:
1431 (gst_net_time_provider_set_property):
1432 Use g_atomic_int_set() instead of gst_atomic_int_set().
1434 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1437 Also use G_GINT64_CONSTANT for the queries.
1439 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1442 Use G_GINT64_CONSTANT in varargs function.
1444 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1446 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1447 Initialize the registry magic with zeroes.
1449 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1451 * gst/gstregistrybinary.c: (_gst_crc32),
1452 (gst_registry_binary_write),
1453 (gst_registry_binary_initialize_magic),
1454 (gst_registry_binary_write_cache),
1455 (gst_registry_binary_check_magic),
1456 (gst_registry_binary_read_cache):
1457 * gst/gstregistrybinary.h:
1458 Add crc32 checksum to the binary registry file and check this before
1459 accepting a registry file.
1461 Also free the data list when writing to the registry file fails.
1463 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1465 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1466 (gst_registry_binary_load_feature),
1467 (gst_registry_binary_load_plugin):
1468 If an element supports the Uri interface, returns a valid pointer
1469 to the supported URI protocols but this pointer contains nothing
1470 don't try to save that as it will corrupt the registry.
1472 Don't unref the plugin if we added it to the registry already but
1473 fail to load a feature as gst_registry_add_plugin() takes ownership
1476 Improve debugging a bit.
1478 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1481 Clarify some tag item docs after discussion on irc.
1483 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1485 * docs/gst/gstreamer-docs.sgml:
1486 Remove commented out plugins (they have their own docs). Update
1489 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1491 * docs/gst/gstreamer-docs.sgml:
1492 * docs/gst/gstreamer-sections.txt:
1493 * gst/gstparamspecs.c:
1494 * gst/gstparamspecs.h:
1495 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1496 docs to own section.
1499 This now only documents GValue.
1501 * docs/libs/gstreamer-libs-sections.txt:
1502 * libs/gst/controller/gstcontroller.h:
1503 Remove GST_PARAM_CONTROLLABLE.
1505 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1508 Correct file path. Tell about how to use -overrides.txt.
1509 * docs/design/draft-tagreading.txt:
1510 Small design update.
1512 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1514 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1515 (gst_registry_binary_load_plugin):
1516 Fix a typo in a debug message and revert change from yesterday as
1517 gst_registry_add_plugin() will only fail if something is really wrong
1518 already and we can't survive it anyway.
1520 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1522 * gst/gst.c: (init_post), (gst_deinit):
1523 Pre-register GstGError GType from a thread-safe context
1524 (fixes #527967); unref enum type classes in deinit.
1526 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1528 Patch by: Rene Stadler <mail at renestadler de>
1530 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1531 Merging an empty list with another list in KEEP_ALL mode should
1532 yield an empty list as result and not the second list (#512578).
1534 * tests/check/gst/gsttagsetter.c:
1535 Add unit test for tag merge modes and the aforementioned bug.
1537 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1539 Patch by: Rene Stadler <mail at renestadler de>
1542 Fix description to match the order in the table (#512577).
1544 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1546 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1548 * libs/gst/net/gstnettimepacket.h:
1549 * docs/libs/gstreamer-libs-sections.txt:
1550 Define socklen_t as int if it's not defined yet. Fixes compilation
1551 with MSVC6 and other versions where socklen_t is not defined in
1552 the windows headers (#518022).
1554 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1556 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1557 If gst_registry_add_plugin() fails our reference to the plugin is
1558 invalid so don't try to use it anymore and instead error out.
1560 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1562 * tools/gst-xmlinspect.c: (print_element_info), (main):
1563 De-cruft a bit. If no argument is specified, print all elements in
1564 XML syntax rather than a freestyle list of elements like gst-inspect.
1565 Also, don't print XML header chunk unless we actually have something
1566 to print (ie. don't print it before an error message); print error
1567 message to stderr not stdout. Remove support for printing plugin
1568 info (it would just output something freestyle along the lines of
1569 gst-inspect so far), which fixes #514507. Also add license header.
1571 2008-04-11 Julien Moutte <julien@fluendo.com>
1574 * configure.ac: Merge platform specific defines, introduce a new
1575 define on OS X to remember that forking when updating registry is
1577 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1579 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1581 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1582 condition that leads to absolutely no plugins being registered on
1585 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1587 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1589 * gst/gstutils.c: (gst_pad_add_data_probe),
1590 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1591 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1592 (gst_pad_add_buffer_probe_full):
1594 * docs/gst/gstreamer-sections.txt:
1595 * win32/common/libgstreamer.def:
1596 Add gst_pad_add_*_probe_full() functions with a notify callback that
1597 lets the caller free the data it passes to the probe functions. This
1598 is useful for bindings such as gst-python or gstreamermm (#526814).
1599 API: gst_pad_add_data_probe_full
1600 API: gst_pad_add_buffer_probe_full
1601 API: gst_pad_add_event_probe_full
1603 * tests/check/gst/gstutils.c:
1604 Add minimal unit test to make sure freeing the data actually works
1607 * tests/benchmarks/.cvsignore:
1608 Random cvsignore addendum.
1610 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1612 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1613 (GST_DEBUG_BIN_TO_DOT_FILE):
1614 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1615 to it in the docs (since these are macros the types of the arguments
1616 won't be shown in the docs otherwise).
1618 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1621 Do not abort on out of memory for pad_alloc_buffer.
1623 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1625 * libs/gst/check/gstcheck.c:
1626 Remove blank line between symbol name ad parameters to fix gtkdoc
1629 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1631 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1633 * docs/gst/gstreamer-sections.txt:
1636 * win32/common/libgstreamer.def:
1637 Expose gst_segment_copy() to make things easier for the c++ bindings.
1639 API: gst_segment_copy()
1641 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1643 * gst/gst.c: (gst_init_get_option_group), (init_post):
1644 Fix const position; ref GType classes for enum types to work
1645 around thread-safety issues in GLib versions < 2.16.
1647 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1649 * docs/design/part-buffering.txt:
1650 Fix some typos and set the estimated total for push mode to -1.
1652 * gst/gstquery.c: (gst_query_new_buffering):
1653 Set buffering-left to 0 as we're not buffering by default.
1655 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1656 Implement BUFFERING query.
1658 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1660 Based on patch by: Milosz Derezynski <internalerror gmail com>
1662 * gst/gsterror.c: (_gst_stream_errors_init):
1664 Add two new error codes for encrypted content. Fixes #524659.
1665 API: GST_STREAM_ERROR_DECRYPT
1666 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1668 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1673 * win32/common/libgstreamer.def:
1676 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1678 * plugins/elements/gstidentity.c: (gst_identity_event),
1679 (gst_identity_start):
1680 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1681 event after processing some data. Fixes bug #526042.
1683 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1685 * docs/gst/gstreamer-sections.txt:
1686 * gst/gstquery.c: (gst_query_parse_latency),
1687 (gst_query_set_buffering_percent),
1688 (gst_query_parse_buffering_percent),
1689 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1691 Rename _avail -> _range
1692 API: gst_query_set_buffering_range
1693 API: gst_query_parse_buffering_range
1695 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1697 * docs/design/part-buffering.txt:
1700 * gst/gstquery.c: (gst_query_parse_latency),
1701 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1702 (gst_query_parse_buffering_percent):
1704 Add busy field and quark for the buffering query so that the app can
1705 only use the query to see if buffering is in progress.
1707 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1709 * docs/gst/gstreamer-sections.txt:
1710 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1711 (gst_message_parse_buffering_stats):
1713 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1714 (gst_query_parse_latency), (gst_query_new_buffering),
1715 (gst_query_set_buffering_percent),
1716 (gst_query_parse_buffering_percent),
1717 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1718 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1720 Reorder the message docs and headers for clarity.
1721 Add aditional buffering stats API for messages.
1722 Add buffering query.
1723 Convert some leftover queries to use GstQuark.
1724 API: gst_message_set_buffering_stats
1725 API: gst_message_parse_buffering_stats
1726 API: GST_QUERY_BUFFERING
1727 API: GstBufferingMode
1728 API: gst_query_new_buffering
1729 API: gst_query_set_buffering_percent
1730 API: gst_query_parse_buffering_percent
1731 API: gst_query_set_buffering_stats
1732 API: gst_query_parse_buffering_stats
1734 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1736 * gst/gstmessage.c: (gst_message_new_error),
1737 (gst_message_new_warning), (gst_message_new_info),
1738 (gst_message_new_buffering), (gst_message_new_state_changed),
1739 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1740 (gst_message_new_new_clock), (gst_message_new_segment_start),
1741 (gst_message_new_segment_done), (gst_message_new_duration),
1742 (gst_message_new_async_start), (gst_message_parse_buffering),
1743 (gst_message_parse_state_changed),
1744 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1745 (gst_message_parse_new_clock), (gst_message_parse_error),
1746 (gst_message_parse_warning), (gst_message_parse_info),
1747 (gst_message_parse_segment_start),
1748 (gst_message_parse_segment_done), (gst_message_parse_duration),
1749 (gst_message_parse_async_start):
1750 Use GstQuark for messages.
1752 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1754 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1756 Add some more quarks needed for messages and queries.
1758 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1760 * docs/design/part-buffering.txt:
1761 Remove the "none" buffering mode, STREAM is a good default.
1762 Move estimated-time to the avail query, that's when it will be needed.
1763 Other small typo fixes and updates.
1765 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1767 * gst/gstindex.c: (gst_index_resolver_get_type):
1768 Don't put descriptions into the nick field of a GEnumValue: it's not
1769 meant for that and some language bindings rely on the nick field to
1770 construct constants and the like. Fixes #526705.
1772 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1777 Merge other changes from 0.10.19 release branch.
1779 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1781 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1784 Actually build dlls when cross-compiling with mingw32.
1787 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1789 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1792 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1794 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1796 * docs/design/draft-latency.txt:
1799 * docs/design/part-buffering.txt:
1800 Update design docs with more buffering ideas.
1802 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1805 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1807 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1810 Revert part that belongs to the preset patch.
1812 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1815 Add qoutes to the define. Fixes # 525961.
1817 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1819 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1820 (gst_file_index_load), (gst_file_index_add_id),
1821 (gst_file_index_get_assoc_entry):
1822 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1823 (gst_mem_index_free_id), (gst_mem_index_add_id),
1824 (gst_mem_index_index_format):
1825 Use GSlice when possible.
1827 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1829 * libs/gst/controller/gstinterpolationcontrolsource.c:
1830 (gst_control_point_free),
1831 (gst_interpolation_control_source_set_internal):
1832 Use GSlice for allocating the control points.
1834 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1836 * plugins/elements/gsttypefindelement.c:
1837 (gst_type_find_element_class_init),
1838 (gst_type_find_element_set_property),
1839 (gst_type_find_element_get_property),
1840 (gst_type_find_element_activate):
1841 * plugins/elements/gsttypefindelement.h:
1843 Fix pad leak when peer query fails.
1844 We can still typefind when the peer returns -1.
1845 Add property to force caps and bypass typefinding. This will be used in
1849 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1854 * gst/glib-compat-private.h:
1855 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1856 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1857 Unconditionally use GSlice for allocation.
1859 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1860 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1861 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1862 (gst_structure_free):
1863 Use GSlice for allocation.
1865 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1867 * gst/parse/Makefile.am:
1868 * gst/parse/grammar.tab.pre.c:
1869 * gst/parse/grammar.tab.pre.h:
1870 * gst/parse/lex._gst_parse_yy.pre.c:
1871 Require a new enough flex and bison and remove the parser hacks to use
1872 a pre-regenerated version.
1874 2008-04-01 Julien Moutte <julien@fluendo.com>
1876 patch by: Jason Zhao <E3423C@motorola.com>
1878 * configure.ac: Add a configure switch to disable option parsing
1882 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1885 * gst/gstregistry.c:
1886 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1887 and handle this case.
1890 Add a comment here describing, why we stat each plugin and not try to
1893 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1895 * libs/gst/base/gstbasetransform.c:
1896 (gst_base_transform_prepare_output_buffer):
1897 Also unset the GAP flag on buffers if we're working inplace but
1898 the element is not GAP-aware.
1900 Mark a comment as FIXME 0.11.
1902 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1905 Fix type in log message and add one to ease seeing how long registry
1906 cache verification takes.
1908 * gst/gstregistry.c:
1909 Only test plugin filenames against G_MODULE_SUFFIX.
1911 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1913 * gst/gstdebugutils.c:
1914 Improve handling ghost/proxy pads.
1916 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1918 * docs/gst/gstreamer-sections.txt:
1921 Expose macro to docs and fix link to it.
1923 2008-03-27 Michael Smith <msmith@fluendo.com>
1925 * libs/gst/dataprotocol/dataprotocol.c:
1926 (gst_dp_packet_from_event_1_0):
1927 When calculating GDP body CRC, use the correct pointer.
1928 Fixes part of #522401.
1930 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1932 Patch by: Mark Nauwelaerts <manauw at skynet be>
1934 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1935 (gst_identity_init), (gst_identity_prepare_output_buffer):
1936 Identity is not always a passthrough element, it can modify the buffer
1937 timestamps when it has a datarate and operates in single-segment mode.
1938 We therefore make it an in_place filter with a custom buffer prepare
1939 function that conditionally makes the input buffer metadata writable
1940 when needed. Fixes #523985.
1942 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1944 Patch by: Mark Nauwelaerts <manauw at skynet be>
1947 * libs/gst/base/gstbasesrc.h:
1948 * libs/gst/base/gstbasetransform.c:
1949 * libs/gst/check/gstcheck.c:
1950 Small documentation fixes. Fixes #523978.
1952 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1954 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1955 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1956 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1958 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1960 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1961 (single_queue_underrun_cb):
1962 When trying to make room in the queue, bump the max allowed buffers
1963 bigger than the current amount of buffers in the queue. this fixes some
1964 nasty deadlocks in multiqueue when dynamically changing the limits of
1967 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1969 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1971 * gst/gstcaps.c: (gst_caps_set_simple),
1972 (gst_caps_set_simple_valist), (gst_caps_intersect):
1974 Constify the field gchar * params in set_simple and friends.
1977 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1979 * gst/gstvalue.c: (gst_value_transform_object_string):
1980 Transform a GstObject to a more meaningfull string that includes the
1981 object type in addition to its name.
1983 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1986 ChangeLog surgery to add bugnumber to commit.
1988 2008-03-23 Rene Stadler <mail@renestadler.de>
1990 * libs/gst/base/gstbasetransform.c:
1991 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1993 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1995 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1996 Rename constant everywhere and don't forget one occurence.
1998 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2000 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2001 Align memory to the pointer size even if the architecture allows
2002 unaligned memory access. Unaligned memory access usually comes with
2003 performance penality.
2005 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2007 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2008 (gst_registry_binary_check_magic),
2009 (gst_registry_binary_load_pad_template),
2010 (gst_registry_binary_load_feature),
2011 (gst_registry_binary_load_plugin):
2012 Align memory to the pointer size instead of always 32 bit. Fixes
2013 unaligned memory accesses on ia64 and friends.
2015 * gst/gstregistrybinary.h:
2016 Bump binary registry format version for this as it changes the
2017 format on those architectures that don't have unaligned access
2018 and 64 bit pointers.
2020 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2022 * docs/pwg/advanced-dparams.xml:
2023 * docs/pwg/building-props.xml:
2024 * docs/pwg/other-source.xml:
2025 * gst/glib-compat.h:
2026 * gst/gstbin.c: (gst_bin_class_init):
2027 * gst/gstclock.c: (gst_clock_class_init):
2028 * gst/gstindex.c: (gst_index_class_init):
2029 * gst/gstobject.c: (gst_object_class_init):
2030 * gst/gstpad.c: (gst_pad_class_init):
2031 * gst/gstpipeline.c: (gst_pipeline_class_init):
2032 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2033 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2034 * libs/gst/base/gstbasetransform.c:
2035 (gst_base_transform_class_init):
2036 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2037 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2038 (_gst_check_fault_handler_sighandler),
2039 (_gst_check_fault_handler_setup), (gst_check_init):
2040 * libs/gst/controller/gstcontroller.c:
2041 (_gst_controller_class_init):
2042 * libs/gst/controller/gstlfocontrolsource.c:
2043 (gst_lfo_control_source_class_init):
2044 * libs/gst/net/gstnetclientclock.c:
2045 (gst_net_client_clock_class_init):
2046 * libs/gst/net/gstnettimeprovider.c:
2047 (gst_net_time_provider_class_init):
2048 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2049 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2050 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2051 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2052 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2053 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2054 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2055 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2056 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2057 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2058 * plugins/elements/gsttee.c: (gst_tee_class_init):
2059 * plugins/elements/gsttypefindelement.c:
2060 (gst_type_find_element_class_init):
2061 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2062 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2063 use it everywhere for GParamSpecs that use static strings (i.e. all).
2064 This gives us less memory usage, fewer allocations and thus less
2065 memory defragmentation. Fixes bug #523806.
2067 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2069 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2070 (gst_param_spec_mini_object):
2071 * gst/gstminiobject.h:
2072 * win32/common/libgstreamer.def:
2073 * docs/gst/gstreamer-sections.txt:
2074 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2075 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2076 GstParamSpecMiniObject into a public header for this.
2078 This make GstMiniObject a bit more consistent with GObject and makes
2079 it possible to extend the param specs.
2081 gst_value_dup_mini_object is mainly useful for set_property methods.
2085 * tools/gst-inspect.c: (print_element_properties_info):
2086 Print something useful for GstMiniObject properties and not just
2089 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2091 * docs/gst/gstreamer-sections.txt:
2092 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2093 (gst_registry_binary_check_magic):
2094 * gst/gstregistrybinary.h:
2095 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2096 and add it to the (private part) of the docs to fix the build.
2098 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2100 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2101 (gst_registry_binary_check_magic),
2102 (gst_registry_binary_read_cache):
2103 * gst/gstregistrybinary.h:
2104 Don't use GST_MAJORMINOR for the binary registry version. Instead
2105 hardcode a value that must be changed whenever the format changes
2106 in an incompatible way.
2107 Also don't GST_ERROR when there is a version mismatch, just
2108 regenerate the registry silently.
2110 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2113 Back to development - 0.10.18.1
2115 === release 0.10.18 ===
2117 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2120 releasing 0.10.18, "So far away"
2122 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2125 * win32/common/config.h:
2126 0.10.17.4 pre-release
2128 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2130 Patch by: Ole André Vadla Ravnås
2131 <ole dot andre dot ravnas at tandberg dot com>
2133 * docs/gst/gstreamer-sections.txt:
2134 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2135 (gst_poll_update_winsock_event_mask),
2136 (gst_poll_prepare_winsock_active_sets),
2137 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2138 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2139 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2140 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2141 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2143 * win32/common/libgstreamer.def:
2144 Add new function gst_poll_fd_ignored() for improved Windows
2146 Various minor fixes and cleanups. See #520808.
2148 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2150 * gst/gstindex.c: (gst_index_entry_free):
2152 Don't free key strings which we don't own. Fixes crash in
2153 gst_index_entry_free() (#522741).
2155 * tests/check/Makefile.am:
2156 * tests/check/gst/.cvsignore:
2157 * tests/check/gst/gstindex.c: (test_index_entries),
2158 (gst_index_suite), (gst_index):
2159 Add unit test for the above.
2161 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2163 * win32/common/libgstreamer.def:
2164 Remove symbols that were removed recently. Fixes bug #521740.
2166 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2169 * win32/common/config.h:
2170 0.10.17.3 pre-release
2172 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2174 Patch by: Ole André Vadla Ravnås
2175 <ole dot andre dot ravnas at tandberg dot com>
2177 * docs/gst/gstreamer-sections.txt:
2178 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2179 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2180 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2181 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2182 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2183 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2184 (gst_poll_fd_can_write), (gst_poll_wait),
2185 (gst_poll_set_controllable), (gst_poll_restart),
2186 (gst_poll_set_flushing):
2188 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2189 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2190 (gst_net_time_provider_new):
2191 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2192 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2193 * tests/benchmarks/gstpollstress.c: (main):
2194 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2195 Remove GstPollMode from the API, it does not make sense to let the
2196 application control this.
2197 Add support for Win32.
2198 Fix the testsuite. Fixes #520671.
2200 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2202 Patch by: Ole André Vadla Ravnås
2203 <ole dot andre dot ravnas at tandberg dot com>
2205 * gst/gstregistrybinary.c:
2206 Include io.h for write() and close() when building with MSVC. Fixes
2209 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2212 * gst/gst_private.h:
2213 * gst/gstconfig.h.in:
2214 * gst/gstregistry.h:
2215 * gst/gstregistrybinary.c:
2216 * win32/common/gstconfig.h:
2217 Move registry backend API to private headers where we can. Add
2218 fixme-0.11 comments for the others. Add stubs for the xml backend when
2219 using the binary to ensure they functions exists (they should not be
2220 used though). Fixes #520756.
2222 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2225 * win32/common/config.h:
2228 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2230 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2231 (gst_registry_binary_read_cache):
2232 * gst/gstregistryxml.c: (gst_registry_save):
2233 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2234 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2235 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2236 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2237 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2240 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2242 * gst/gstminiobject.c:
2243 Import gst_private.h before any other header that might include other
2244 glib headers. This fixes the build on windows using native compilers.
2246 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2248 * win32/common/gstconfig.h:
2249 Add here too, just for completeness.
2251 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2254 * gst/gstconfig.h.in:
2255 * gst/gstregistry.h:
2256 Fix broken use of config.h-defined preprocessor directive in a public
2257 header file. Add a corresponding define to gstconfig.h, since we can't
2258 really remove those function declarations from the header file now
2259 (or can we? and why are they there in the first place?).
2261 2008-03-03 Andy Wingo <wingo@pobox.com>
2263 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2266 * gst/gststructure.c (gst_structure_from_string): Warn if
2267 structure_from_string didn't consume the whole string, but the
2268 caller did not provide an end pointer.
2270 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2272 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2274 * gst/gstregistryxml.c: (read_string), (load_feature):
2275 Strings allocated by libxml2 should be freed with xmlFree(), not
2276 with g_free(). Fixes issues on windows in certain contexts (#519698).
2278 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2280 * gst/gstinterface.c: (gst_element_implements_interface):
2281 Don't crash if the element supports the interface queried, but does
2282 not implement GstImplementsInterface. Fixes #519584.
2284 * tests/check/Makefile.am:
2285 * tests/check/gst/.cvsignore:
2286 * tests/check/gst/gstinterface.c:
2287 Add unit test for the above.
2289 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2291 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2294 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2296 * gst/gstsegment.c: (gst_segment_set_seek),
2297 (gst_segment_to_stream_time):
2298 Improve some comment.
2299 Update variables where it makes more sense.
2301 2008-02-29 Rene Stadler <mail@renestadler.de>
2303 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2304 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2305 URIHandlers implemented using language bindings.
2307 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2309 * gst/gstelementfactory.h:
2310 * tests/check/elements/fakesink.c:
2311 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2312 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2313 * tests/check/elements/filesink.c: (setup_filesink):
2314 * tests/check/elements/filesrc.c: (setup_filesrc):
2315 * tests/check/elements/identity.c: (setup_identity):
2316 * tests/check/elements/tee.c:
2317 * tests/check/generic/sinks.c:
2318 * tests/check/generic/states.c: (setup), (teardown):
2319 * tests/check/gst/gst.c:
2320 * tests/check/gst/gstabi.c:
2321 * tests/check/gst/gstbin.c:
2322 * tests/check/gst/gstbus.c: (pull_messages):
2323 * tests/check/gst/gstcaps.c:
2324 * tests/check/gst/gstelement.c:
2325 * tests/check/gst/gstevent.c:
2326 * tests/check/gst/gstghostpad.c:
2327 * tests/check/gst/gstiterator.c:
2328 * tests/check/gst/gstmessage.c:
2329 * tests/check/gst/gstminiobject.c: (my_foo_init):
2330 * tests/check/gst/gstobject.c: (thread_name_object),
2332 * tests/check/gst/gstpad.c:
2333 * tests/check/gst/gstplugin.c:
2334 * tests/check/gst/gstpoll.c:
2335 * tests/check/gst/gstquery.c:
2336 * tests/check/gst/gstsegment.c:
2337 * tests/check/gst/gststructure.c:
2338 * tests/check/gst/gstsystemclock.c:
2339 * tests/check/gst/gsttask.c:
2340 * tests/check/gst/gstutils.c:
2341 * tests/check/gst/gstvalue.c:
2342 * tests/check/gst/struct_hppa.h:
2343 * tests/check/gst/struct_i386.h:
2344 * tests/check/gst/struct_ppc32.h:
2345 * tests/check/gst/struct_ppc64.h:
2346 * tests/check/gst/struct_x86_64.h:
2347 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2348 * tests/check/libs/basesrc.c:
2349 * tests/check/libs/controller.c: (GST_START_TEST):
2350 * tests/check/libs/gdp.c:
2351 * tests/check/libs/gstnetclientclock.c:
2352 * tests/check/libs/gstnettimeprovider.c:
2353 * tests/check/libs/libsabi.c:
2354 * tests/check/libs/struct_hppa.h:
2355 * tests/check/libs/struct_i386.h:
2356 * tests/check/libs/struct_ppc32.h:
2357 * tests/check/libs/struct_ppc64.h:
2358 * tests/check/libs/struct_x86_64.h:
2359 * tests/check/pipelines/cleanup.c:
2360 * tests/check/pipelines/simple-launch-lines.c:
2361 * tests/check/pipelines/stress.c:
2362 And correct even more valid sparse warnings.
2364 * win32/common/libgstreamer.def:
2365 Add gst_poll_fd_init to the list of symbols.
2367 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2369 * gst/gstconfig.h.in:
2370 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2371 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2372 (gst_check_log_critical_func), (gst_check_drop_buffers),
2373 (gst_check_element_push_buffer_list):
2374 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2375 (gst_controller_get_type):
2376 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2377 (gst_object_get_controller), (gst_object_get_control_source):
2378 * libs/gst/controller/gstinterpolationcontrolsource.c:
2379 (gst_interpolation_control_source_new):
2380 * libs/gst/controller/gstlfocontrolsource.c:
2381 (gst_lfo_control_source_new):
2382 * libs/gst/dataprotocol/dataprotocol.c:
2383 (gst_dp_event_from_packet_0_2):
2384 * plugins/elements/gstfdsrc.c:
2385 * plugins/elements/gstmultiqueue.c:
2386 * plugins/elements/gsttee.c:
2387 * plugins/elements/gsttypefindelement.c:
2388 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2389 (gst_file_index_add_association):
2390 * plugins/indexers/gstmemindex.c:
2391 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2392 * tests/check/elements/queue.c: (setup_queue):
2393 * tests/check/gst/gstpipeline.c:
2394 * tests/check/libs/collectpads.c: (setup), (teardown),
2395 (gst_collect_pads_suite):
2396 * tests/examples/adapter/adapter_test.c:
2397 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2398 * tests/examples/xml/createxml.c:
2399 * tests/examples/xml/runxml.c:
2400 * tools/gst-inspect.c:
2402 Correct all relevant warnings found by the sparse semantic code
2403 analyzer. This include marking several symbols static, using
2404 NULL instead of 0 for pointers, not using variable sized arrays
2405 on the stack, moving variable declarations to the beginning of
2406 a block and using "foo (void)" instead of "foo ()" for declarations.
2408 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2410 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2411 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2412 Don't reset GstPollFDs, this is not necessary at all.
2414 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2415 (delayed_restart), (delayed_control):
2416 Use GST_POLL_FD_INIT.
2418 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2420 * gst/gstpoll.c: (gst_poll_fd_init):
2424 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2425 Use some more init macros.
2427 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2429 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2430 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2431 Use init macros and functions.
2433 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2435 * docs/gst/gstreamer-sections.txt:
2436 * gst/gstpoll.c: (gst_poll_fd_init):
2438 Add INIT macro and _init method for initializing the GstPollFD.
2440 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2442 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2443 (gst_fd_sink_update_fd):
2444 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2445 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2446 (delayed_restart), (delayed_control):
2447 Initialize some uninitialized variables as spotted by valgrind.
2449 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2451 * tests/benchmarks/Makefile.am:
2452 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2454 Add poll stress test.
2456 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2458 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2460 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2461 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2462 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2463 * plugins/elements/gstfdsink.h:
2464 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2465 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2466 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2467 (gst_fd_src_uri_set_uri):
2468 * plugins/elements/gstfdsrc.h:
2469 Port to GstPoll. See #505417.
2471 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2473 * win32/common/libgstreamer.def:
2474 Add new gst_poll_ symbols to win32 defs.
2476 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2478 * docs/libs/gstreamer-libs-sections.txt:
2479 * libs/gst/net/gstnetclientclock.c:
2480 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2481 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2482 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2483 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2484 * libs/gst/net/gstnetclientclock.h:
2485 * libs/gst/net/gstnettimeprovider.c:
2486 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2487 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2488 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2489 (gst_net_time_provider_new):
2490 * libs/gst/net/gstnettimeprovider.h:
2491 Use a private stuct to not break ABI.
2493 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2495 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2497 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2498 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2499 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2500 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2501 * libs/gst/net/gstnetclientclock.h:
2502 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2503 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2504 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2505 (gst_net_time_provider_new):
2506 * libs/gst/net/gstnettimeprovider.h:
2507 Massive code removal and cleanups because of GstPoll.
2510 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2513 Add checks for poll, ppoll and pselect.
2515 * docs/gst/gstreamer-docs.sgml:
2516 * docs/gst/gstreamer-sections.txt:
2517 Add docs for GstPoll.
2521 * gst/gstpoll.c: (find_index), (selectable_fds),
2522 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2523 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2524 (gst_poll_set_mode), (gst_poll_get_mode),
2525 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2526 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2527 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2528 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2529 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2530 (gst_poll_fd_can_write), (gst_poll_wait),
2531 (gst_poll_set_controllable), (gst_poll_restart),
2532 (gst_poll_set_flushing):
2534 Add generic poll abstraction. We ideally don't want to have this in core
2535 here but in glib intead...
2536 This code will be used in various network elements and ultimately for
2537 the nanosecond precision monotonic clock (that's why it's here in core).
2538 It'll allow us to implement cancelable socket operations for windows too.
2540 * tests/check/Makefile.am:
2541 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2542 (delayed_stop), (delayed_restart), (delayed_flush),
2543 (delayed_control), (gst_poll_suite):
2544 Add GstPoll unit test.
2546 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2549 Improve documentation of gst_filter_run(). Fixes #518627.
2551 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2554 Add a few lines about the new 'check-inspected-versions' target.
2556 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2558 * tests/check/gst/gstevent.c:
2559 Add qos to the event test. Rename tcase/tsuite; is not only about
2562 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2564 * plugins/elements/gstqueue.c:
2565 Ensure that buffer metadata is writeable, before modifying. Spotted by
2568 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2570 * plugins/elements/gstqueue.c:
2571 * plugins/elements/gstqueue.h:
2572 When dropping buffers in leaky modes, mark next buffers we sent as
2575 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2577 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2578 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2580 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2582 * plugins/elements/Makefile.am:
2583 * plugins/elements/gstbufferstore.c:
2584 * plugins/elements/gstbufferstore.h:
2585 * plugins/elements/gsttypefindelement.h:
2586 Remove GstBufferStore, no idea why we were still building it.
2587 It's not used anywhere and superseded by GstAdapter.
2589 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2590 (gst_file_src_create_mmap):
2591 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2592 Printf format fixes for 64-bit integers.
2594 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2597 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2598 We're not in 0.8 times anymore.
2600 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2602 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2603 (gst_check_element_push_buffer_list):
2604 * libs/gst/check/gstcheck.h:
2605 Make the declaration in the header for
2606 gst_check_element_push_buffer_list match the implementation.
2608 Fix up spelling, grammar and wording of the documentation in a few
2609 places, and add the Since keyword to new API functions.
2610 Use g_list_delete_link instead of g_list_remove in
2611 gst_check_drop_buffers, since it's immeasurably more efficient.
2613 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2614 Use new gst_check_drop_buffers function where appropriate.
2616 * win32/common/libgstbase.def:
2617 * win32/common/libgstreamer.def:
2618 Add new symbols gst_collect_pads_take_buffer,
2619 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2622 Changelog surgery to add API keyword to new gst_check API.
2624 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2626 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2627 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2628 Update pre-generated flex files with flex 2.3.34.
2630 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2632 * gst/gstminiobject.c:
2633 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2634 friendly to subclasses and not require them to know all internals
2635 of their parent class.
2637 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2639 * docs/libs/gstreamer-libs-sections.txt:
2640 * libs/gst/base/gstcollectpads.c:
2641 * libs/gst/base/gstcollectpads.h:
2642 Add sub-buffer functions to collectpads. Fixes #516187.
2643 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2645 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2648 Copy selected buffer-flags when creating subbuffers.
2651 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2653 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2654 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2655 * gst/gstmessage.c: (gst_message_class_init),
2656 (gst_message_finalize):
2657 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2658 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2659 (gst_mmap_buffer_finalize):
2660 Properly chain up finalize functions to the parent class.
2662 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2664 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2666 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2667 (gst_index_set_resolver_full):
2669 Add new function with option to dispose of user_data in resolver.
2670 Actually call the dispose function when finalizing the object and not
2671 just when changing the resolver/filter.
2672 API: GstIndex::gst_index_set_resolver_full()
2674 * docs/gst/gstreamer-sections.txt:
2675 Add new function to docs. Fixes #515469.
2677 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2679 * gst/gstindex.c: (gst_index_finalize):
2680 Chain up finalize to the parent class. Fixes leaking the GstObject
2681 name and other things.
2683 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2686 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2687 pre-releases or releases.
2689 * docs/faq/gst-uninstalled:
2692 * docs/random/release:
2693 Change one of the steps - we only upload core & base to Gnome FTP
2695 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2697 * gst/gstconfig.h.in:
2698 Add 'id' for example.
2702 * plugins/elements/gstfdsink.c:
2703 Link to signals. Doc and comment fixes.
2705 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2707 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2708 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2709 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2710 unused and unimplemented; finally, it is plugin features, not
2711 plugins, that have ranks.
2713 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2715 * gst/gstpluginfeature.h:
2716 Clarify GstRank range docs.
2718 2008-02-05 David Schleef <ds@schleef.org>
2720 * gst/gst.c: Add a separate gst_deinitialized that prevents
2721 gst_init() from being called after gst_deinit(). Fixes #509559
2723 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2725 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2726 (gst_bin_class_init):
2727 * gst/gstelement.c: (gst_element_base_class_init),
2728 (gst_element_class_add_pad_template):
2729 * gst/gstpadtemplate.c: (gst_pad_template_init):
2730 * gst/gstpipeline.c: (gst_pipeline_get_type),
2731 (gst_pipeline_base_init), (gst_pipeline_class_init):
2732 * libs/gst/base/gstbasesink.c:
2733 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2734 (gst_base_src_base_init), (gst_base_src_class_init):
2735 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2736 (gst_capsfilter_class_init):
2737 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2738 (gst_fake_sink_class_init):
2739 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2740 (gst_fake_src_class_init):
2741 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2742 (gst_fd_sink_class_init):
2743 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2744 (gst_fd_src_class_init):
2745 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2746 (gst_file_sink_class_init):
2747 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2748 (gst_file_src_class_init):
2749 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2750 (gst_identity_class_init):
2751 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2752 (gst_multi_queue_class_init):
2753 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2754 (gst_queue_class_init):
2755 * plugins/elements/gsttee.c: (gst_tee_base_init),
2756 (gst_tee_class_init):
2757 * plugins/elements/gsttypefindelement.c:
2758 (gst_type_find_element_base_init),
2759 (gst_type_find_element_class_init):
2760 * tests/check/gst/gstelement.c: (gst_element_suite):
2761 Revert previous changes to the behaviour of GstPadTemplates, etc
2762 and the possiblity to call them in class_init as it breaks too
2763 many elements. Reopens bug #491501.
2765 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2768 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2770 * tools/gst-launch.c:
2771 Dump one graph per pipeline state-change and state change name
2772 (if GST_DEBUG_DUMP_DOT_DIR is set).
2774 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2777 * tests/check/gst/gstpad.c:
2778 Be sure that we have a new copy of the caps and not
2779 reffed caps from a template
2781 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2783 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2784 * gst/gstpipeline.c: (gst_pipeline_get_type),
2785 (gst_pipeline_class_init):
2786 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2787 (gst_base_sink_class_init):
2788 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2789 (gst_base_src_class_init):
2790 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2791 (gst_base_transform_class_init):
2792 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2793 (gst_collect_pads_class_init):
2794 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2795 * libs/gst/net/gstnettimeprovider.c:
2796 (gst_net_time_provider_base_init),
2797 (gst_net_time_provider_class_init):
2798 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2799 (gst_capsfilter_class_init):
2800 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2801 (gst_fake_sink_class_init):
2802 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2803 (gst_fake_src_class_init):
2804 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2805 (gst_fd_sink_class_init):
2806 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2807 (gst_fd_src_class_init):
2808 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2809 (gst_file_sink_class_init):
2810 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2811 (gst_file_src_class_init):
2812 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2813 (gst_identity_class_init):
2814 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2815 (gst_multi_queue_class_init):
2816 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2817 (gst_queue_class_init):
2818 * plugins/elements/gsttee.c: (gst_tee_base_init),
2819 (gst_tee_class_init):
2820 * plugins/elements/gsttypefindelement.c:
2821 (gst_type_find_element_base_init),
2822 (gst_type_find_element_class_init):
2823 Don't use base_init where not absolutely necessary. For example it's
2824 not necessary anymore for adding pad templates or setting element
2827 Leave empty base_init functions in several places as GST_BOILERPLATE
2828 still defines and uses them.
2830 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2832 * gst/gstelement.c: (gst_element_base_class_init),
2833 (gst_element_class_add_pad_template):
2834 * gst/gstpadtemplate.c:
2835 Make it possible (and recommended) to set element details and add
2836 pad templates in the class_init functions by copying the details/pad
2837 templates in GstElement's base_init.
2839 Also make it possible to replace existing pad templates by adding
2840 a new one with the same name. This was done in a hackish fashion
2841 in same elements before already.
2843 Don't reference pad templates that are added a second time. A
2844 new pad template has a refcount of one and is not floating anymore
2845 and to be owned by the element's class. Make this more explicit by
2846 mentioning it in the docs of gst_element_class_add_pad_template().
2848 These changes are backwards compatible. Fixes bug #491501.
2850 * tests/check/gst/gstelement.c:
2851 Add unit test for setting element details, adding pad templates and
2852 replacing them in a subclass.
2854 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2856 * tools/gst-inspect.c: (print_interfaces),
2857 (print_element_properties_info), (print_pad_info),
2858 (print_signal_info), (print_element_info):
2859 Fix a few memory leaks.
2861 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2863 * docs/libs/gstreamer-libs-sections.txt:
2864 * libs/gst/check/gstcheck.c:
2865 * libs/gst/check/gstcheck.h:
2866 Add more functions for unit testing: gst_check_drop_buffers,
2867 gst_check_caps_equal, gst_check_element_push_buffer_list,
2868 gst_check_element_push_buffer
2869 API: gst_check_drop_buffers
2870 API: gst_check_caps_equal
2871 API: gst_check_element_push_buffer_list
2872 API: gst_check_element_push_buffer
2874 2008-02-01 Julien Moutte <julien@fluendo.com>
2876 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2877 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2878 (gst_index_finalize), (gst_index_entry_free),
2879 (gst_index_add_association): Fix memory leaks.
2880 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2881 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2882 (gst_mem_index_free_format), (gst_mem_index_free_id),
2883 (gst_mem_index_finalize): Fix memory leaks.
2884 * win32/common/config.h: Updated to CVS HEAD.
2886 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2889 Some more details about how the plugin docs works.
2891 * docs/plugins/gstreamer-plugins-sections.txt:
2894 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2896 * gst/parse/grammar.tab.pre.c:
2897 * gst/parse/grammar.tab.pre.h:
2898 * gst/parse/grammar.y:
2899 * gst/parse/lex._gst_parse_yy.pre.c:
2900 Add delayed set-property. This allows to set properties on dynamicaly
2901 created objects (pads in videomxer). Fixes #509391.
2903 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2906 Check if caps are not NULL (fix bug #510194)
2908 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2910 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2911 (gst_base_sink_get_position_paused):
2912 Add fixme regarding EOS in pull mode.
2913 Fix position reporting in PAUSED for negative rates.
2915 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2917 * gst/gstminiobject.c: (gst_mini_object_replace):
2918 When replacing a miniobject, do a quick equality check first so that we
2919 can avoid a ref/unref pair.
2921 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2923 * docs/design/part-synchronisation.txt:
2926 * docs/plugins/Makefile.am:
2927 * docs/plugins/gstreamer-plugins-docs.sgml:
2928 * docs/plugins/gstreamer-plugins-sections.txt:
2929 * plugins/elements/gstmultiqueue.c:
2930 Add multiqueue to the docs.
2932 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2937 === release 0.10.17 ===
2939 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2942 releasing 0.10.17, "Due Negligence"
2944 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2947 Revert caps != NULL check temporarily for 0.10.17 release.
2949 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2952 Check if caps are not NULL (fix bug #510194)
2954 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2957 Fix compilation on systems that have posix timers but no
2960 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2963 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2965 * tools/gst-inspect.c:
2966 Revert previous commit in preparation for an impromptu 0.10.17 release
2968 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2970 * tools/gst-inspect.c: (print_interfaces),
2971 (print_element_properties_info), (print_pad_info),
2972 (print_signal_info), (print_element_info):
2973 Fix a few memory leaks.
2975 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2980 === release 0.10.16 ===
2982 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2985 releasing 0.10.16, "Special Dispensation"
2987 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2990 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2991 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2992 not fail when trying to crosscompile on OpenEmbedded (#511750).
2994 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2997 Use $(MAKE) instead of make to fix the build if GNU make is
2998 called different. Fixes bug #510747.
3000 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3002 * gst/gstplugin.c: (_gst_plugin_initialize):
3003 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3004 again, which I broke two commits ago when changing the API
3005 of gst_plugin_register_static(): the g_list_foreach() in
3006 _gst_plugin_register_static still assumed the old function
3007 signature and would therefore fail (re-fixes #510187).
3009 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3010 (_gst_plugin_register_static), (gst_plugin_register_static):
3011 Revert the (technically correct) change to call g_thread_init() from
3012 the pre-main() constructor. This will break programs which call
3013 g_thread_init() without an if (!g_thread_supported()) guard in their
3014 main function. We could just blame it on GLib or the application, but
3015 it's probably best to just avoid this altogether and simply not use
3016 any GLib functions here and use plain old malloc() with a simple
3017 array to store the plugins to register later when gst_init() is
3018 finally called (re-fixes #510187).
3020 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3021 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3022 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3023 (GST_START_TEST), (gst_plugin_suite):
3024 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3027 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3029 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3030 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3031 This makes gtk-doc complain, but results in slightly better
3032 compiler errors. The old _gst_plugin_register_static() is
3033 still guarded, so there'll be a compiler warning about that
3034 instead. Fixes #510187 too.
3036 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3038 * gst/gst.c: (init_post):
3039 * gst/gstplugin.c: (_gst_plugin_register_static),
3040 (gst_plugin_register_static), (_gst_plugin_initialize):
3041 * gst/gstplugin.h: (GstPluginFilter):
3042 Change API of gst_plugin_register_static() to not take
3043 a GstPluginDesc, but rather just take all the arguments
3044 in a GstPluginDesc directly. This is more intuitive and
3045 avoids certain mistakes when porting code from
3046 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3049 * tests/check/gst/gstplugin.c:
3050 Fix up for changed API.
3052 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3054 * docs/faq/legal.xml:
3055 Update FAQ, Totem actually has an exception these days.
3057 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3059 * win32/common/libgstreamer.def:
3060 Add new API declarations
3062 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3064 * gst/gstminiobject.c:
3065 Spelling fixes for the API docs.
3067 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3069 * libs/gst/base/gstbasetransform.c:
3070 Fix long property description for QoS.
3072 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3075 _gst_trace_on is already provided by gsttrace.h, no need to declare
3078 * docs/libs/gstreamer-libs-sections.txt:
3079 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3080 and remove strange tcase_add_test which is outputting a warning.
3082 * libs/gst/check/gstcheck.c:
3083 * libs/gst/check/gstcheck.h:
3084 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3085 and define them in gstcheck.c instead of having every .c file whcih
3086 includes gstcheck.h be defining its own copy and relying on symbol
3087 interposing to marry them all, which doesn't work on Solaris.
3089 * tests/check/elements/identity.c: (GST_START_TEST):
3090 Don't define 'buffers' locally, it comes from libgstcheck.
3092 * tests/check/generic/sinks.c: (send_buffer):
3093 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3095 * tests/check/gst/gststructure.c: (GST_START_TEST):
3096 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3097 * tests/check/gst/gstutils.c: (GST_START_TEST):
3098 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3099 Add a bunch of casts to make various constants fit the types
3100 they're being assigned to.
3102 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3104 * gst/gstchildproxy.c:
3105 Improve docs and add some ideas for making this more general-purpose.
3107 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3109 * gst/gst_private.h: (GST_CAT_TYPES):
3110 Add GST_CAT_TYPES, for consistency, and so that the other
3111 debug categories don't make fun of it. Spotted by Saur on IRC.
3113 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3115 * gst/parse/Makefile.am:
3116 Move types.h from EXTRA_DIST to noinst_HEADERS.
3118 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3121 Add -Wno-portability to the automake parameters to stop warnings
3122 about GNU make extensions being used. We require GNU make in almost
3123 every Makefile anyway.
3126 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3127 at the same time is required for per target flags.
3129 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3132 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3133 __GNUC__ is defined before using it.
3135 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3137 * docs/gst/gstreamer-sections.txt:
3138 * gst/gst.c: (init_post):
3139 * gst/gstplugin.c: (_gst_plugin_register_static),
3140 (gst_plugin_register_static), (_gst_plugin_initialize),
3141 (gst_plugin_register_func):
3142 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3143 API: add gst_plugin_register_static() and deprecate
3144 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3146 Also, in _gst_plugin_register_static(), make sure to call
3147 g_thread_init() before calling GLib functions such as
3148 g_list_append() if we're not initialised yet, since that
3149 may lead to random crashes with older GSlice/GLib versions.
3151 * tests/check/gst/gstplugin.c:
3152 Adapt unit test to above changes.
3154 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3156 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3157 * gst/gstcaps.c: (gst_caps_to_string):
3158 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3159 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3160 Yet another gratuitous GString micro-optimisation: add a (private)
3161 function that serialises a structure appending to an existing
3162 GString, so that when we serialise caps we don't need to alloc+free
3163 a throwaway GString for each structure (each of which also entailing
3164 multiple reallocs on the way); also use g_string_sized_new() in
3165 various places with an approximate string length to avoid reallocs
3166 within GString. See #500143.
3168 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3170 * gst/gststructure.c: (gst_structure_id_set_value):
3171 Always check UTF-8 conformance of structure strings and not only
3172 if the debugging system is enabled; reasoning: the behaviour of
3173 the actual code shouldn't really change depending on whether the
3174 debugging system is enabled or not (#508291).
3176 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3179 Remove old coverage target in favour of "make lcov".
3181 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3183 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3184 (gst_base_src_loop):
3185 The start segment for reverse playback goes from start to last_stop.
3187 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3189 Patch by: Peter Kjellerstedt <pkj axis com>
3192 Cast the results from the timeval/spec_to_time macros to what the
3193 docs say it casts to, a GstClockTime. fixes #508175.
3195 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3198 Update some comments.
3200 * tools/gst-inspect.c: (print_element_properties_info):
3201 Improve printing of flags.
3203 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3205 * libs/gst/base/gstbasetransform.c:
3206 (gst_base_transform_transform_size):
3207 Print element name with g_warning() if there's a problem
3210 2008-01-07 David Schleef <ds@schleef.org>
3212 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3214 * libs/gst/controller/gstcontroller.h:
3215 * libs/gst/controller/gstcontrolsource.h:
3216 * libs/gst/controller/gstinterpolationcontrolsource.h:
3217 * libs/gst/controller/gstlfocontrolsource.h:
3218 * libs/gst/dataprotocol/dataprotocol.h:
3219 Fix empty prototypes. Fixes bug #507957.
3221 2008-01-07 David Schleef <ds@schleef.org>
3223 * docs/faq/dependencies.xml: Fix typo.
3225 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3227 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3228 (gst_base_src_loop):
3229 Don't update the last_stop position in do_seek, that's the position we
3231 Read backwards when we have a negative rate.
3233 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3234 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3236 Add check for reverse reading.
3238 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3240 Patch by: Alexis Ballier <aballier at gentoo org>
3242 * tests/check/gst/gstabi.c:
3243 * tests/check/gst/struct_ppc64.h:
3244 * tests/check/libs/libsabi.c:
3245 * tests/check/libs/struct_ppc64.h:
3246 Decide which header to include based on the userland ABI target
3247 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3248 for 64-bit userland (#503590). Might need something similar for
3251 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3253 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3254 Log the reason why fopen fails in addition to the fact that it failed.
3256 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3258 * gst/parse/parse.l:
3259 Use "%option never-interactive" to prevent useless calls to isatty()
3260 on every input when parsing. Also use "%option noinput" to not define
3261 the static input/yyinput functions which we don't use anyway. This
3262 removes a compiler warning with gcc 4.3 and saves some bytes in the
3265 * gst/parse/lex._gst_parse_yy.pre.c:
3266 Regenerated for the above change.
3268 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3270 * gst/gstpad.c: (fixate_value):
3271 Don't crash when trying to fixate and empty list.
3274 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3276 * docs/faq/gst-uninstalled:
3277 Clarify the comments to make the usage of this script and what it
3278 does easier to understand.
3280 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3282 * tools/gst-plot-timeline.py:
3283 Add more options to gst-plot-timeline
3285 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3287 * docs/design/part-synchronisation.txt:
3288 Some more info on how the stream_time in GstBaseSink is done.
3290 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3292 * tests/check/generic/sinks.c: (gst_sinks_suite):
3293 Put back the tcase_set_timeout(), apparently it's needed after
3294 all; fix it up in a way that makes things work with valgrind too.
3296 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3298 * gst/gstdebugutils.c:
3299 Add warning when failed to open file for writing.
3301 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3303 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3305 * gst/gstvalue.c: (gst_value_is_fixed):
3306 Optimisation: bail out of the loop as early as possible (#500143).
3308 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3310 * gst/gstcaps.c: (gst_caps_to_string):
3311 * gst/gstinfo.c: (gst_debug_construct_term_color):
3312 * gst/gstparse.c: (gst_parse_launchv):
3313 * gst/gstutils.c: (gst_util_dump_mem):
3314 * gst/gstvalue.c: (gst_value_serialize_any_list),
3315 (gst_value_transform_any_list_string):
3316 Bunch of gratuitous nano-optimisations.
3318 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3320 * tests/check/generic/sinks.c: (async_done_func),
3321 (async_done_eos_func):
3322 Fix leak in unit test (bus sync handler must unref the message
3323 if it returns GST_BUS_DROP). Don't fiddle with the default test
3324 timeout, this is smaller than the current preconfigured value
3325 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3326 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3328 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3330 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3333 Check for stdio_ext.h for the filesink changes.
3335 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3336 (gst_file_sink_class_init), (gst_file_sink_init),
3337 (gst_file_sink_dispose), (gst_file_sink_set_property),
3338 (gst_file_sink_get_property), (gst_file_sink_open_file),
3339 (gst_file_sink_close_file):
3340 * plugins/elements/gstfilesink.h:
3341 Add two properties to control the buffering mode and size.
3342 API: GstFileSink::buffer-mode
3343 API: GstFileSink::buffer-size
3346 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3348 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3349 Add some more docs to explain why a FIXME was wrongly added.
3351 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3354 Fix typo in the gst_object_{ref,unref} documentation.
3356 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3358 * tests/check/libs/controller.c:
3359 * tests/check/libs/typefindhelper.c:
3360 * tests/check/pipelines/parse-launch.c:
3361 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3362 going to be deprecated (see #498924).
3364 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3366 * gst/gsttypefind.c: (gst_type_find_register):
3367 Make gst_type_find_register work for static typefind functions,
3368 ie. allow passing plugin == NULL (prerequisite for #498924).
3370 * gst/gstelementfactory.c: (gst_element_register):
3371 Small docs addition.
3373 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3375 * gst/gstpad.c: (gst_pad_dispose):
3376 Really unlink the peer pad instead of setting the peer pointer to NULL
3377 when we dispose the pad.
3378 This correctly calls the unlink functions and makes sure that the peer
3379 does not have a handle to invalid memory. See #504671.
3381 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3382 Add testsuite for above case.
3384 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3386 Patch by: Peter Kjellerstedt <pkj axis com>
3388 * libs/gst/check/gstcheck.h:
3389 Fix detection of the check version we're compiling against (would
3390 otherwise break if check goes v0.10.0); correctly report the
3391 name of the failed test again in case of failure, instead of
3392 just 'tf' (fixes #504499).
3394 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3396 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3397 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3398 (gst_base_src_loop), (gst_base_src_set_flushing),
3399 (gst_base_src_change_state):
3400 Allow sending EOS to the source to make it send out an EOS event from
3401 the streaming thread.
3402 Update docs and deprecate the old NULL/READY shutdown method.
3404 * tests/check/libs/basesrc.c: (GST_START_TEST),
3405 (gst_basesrc_suite):
3406 Add unit test for controlled shutdown.
3408 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3410 * docs/design/part-synchronisation.txt:
3413 * gst/gstsegment.c: (gst_segment_set_seek),
3414 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3415 (gst_segment_to_running_time):
3416 The seek format can be different from the segment format when the start
3417 and stop values are not to be updated, when we only do a rate change for
3420 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3421 (gst_segment_suite):
3422 Add a testcase for the rate-only seeks, checking that the format is
3423 correctly ignored when start and stop are not updated.
3425 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3427 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3429 * win32/vs8/grammar.vcproj:
3430 * win32/vs8/libgstcontroller.vcproj:
3431 * win32/vs8/libgstreamer.vcproj:
3432 Fix compilation with VS8 and include some missing files.
3434 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3437 Small docs addition: mention that the strings returned by
3438 gst_tag_list_get_string*() are in UTF-8 encoding.
3440 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3443 The check-exports stuff moved to common/win32.mak, so include that.
3445 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3447 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3448 (gst_base_src_perform_seek), (gst_base_src_get_range),
3449 (gst_base_src_set_playing), (gst_base_src_change_state):
3450 Make _wait_playing() not check any variables so that we can call this
3451 function from subclasses. Move the checks elsewhere similar to
3452 _wait_preroll() in basesink.
3454 Only signal the LIVE cond when we are going back to PLAYING.
3456 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3458 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3459 Use g_remove() and g_rename(). Check result of g_rename(), and
3460 don't leak the open file descriptor if we error out when writing.
3462 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3463 Must check the return value of close() after writing out the new
3464 registry file. Sometimes write problems such as out-of-diskspace
3465 are only reported when the file is closed and not already during
3466 the write. This may have caused partial/broken registry files in
3467 some rare circumstances. Should fix #503675.
3469 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3471 * docs/gst/.cvsignore:
3472 * docs/libs/.cvsignore:
3473 * docs/plugins/.cvsignore:
3474 Ignore files generated by new common/* modifications
3476 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3478 * win32/common/libgstbase.def:
3479 Yes, you can also have a <TAB> if you want.
3481 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3483 * win32/common/libgstbase.def:
3484 Add new basetransform API to win export file.
3486 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3488 * tests/check/gst/gstbin.c:
3489 Adjust the test to the refcount change two days ago.
3491 2007-12-14 David Schleef <ds@schleef.org>
3493 * docs/faq/getting.xml: Fix typo.
3495 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3497 * docs/libs/gstreamer-libs-sections.txt:
3498 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3499 (gst_base_transform_prepare_output_buffer),
3500 (gst_base_transform_set_gap_aware):
3501 * libs/gst/base/gstbasetransform.h:
3502 API: Add gst_base_transform_set_gap_aware() to control whether
3503 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3504 get buffers with this flag at all. Fixes #503231.
3506 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3508 * libs/gst/base/gstbasesink.c:
3509 * libs/gst/base/gstbasesrc.c:
3510 * libs/gst/base/gstbasetransform.c:
3511 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3512 thread. Correct log message in gstbasesrc.c.
3514 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3516 * gst/gstutils.c: (element_find_unconnected_pad):
3517 Fix possible compiler warning (#503417).
3519 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3521 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3522 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3524 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3526 * tools/gst-inspect.c: (print_element_properties_info):
3527 Add support for GstFraction properties.
3529 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3532 Add check-exports target and run it as part of 'make check'
3533 (see #499140 and #493983).
3535 * gst/gst_private.h:
3536 * gst/gstelementfactory.h:
3537 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3538 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3539 (_priv_gst_in_valgrind):
3540 * gst/gstinfo.h: (GstLogFunction):
3541 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3542 (gst_type_find_register):
3543 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3544 (gst_type_find_factory_get_type):
3545 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3546 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3547 (gst_controller_new_valist), (gst_controller_new_list),
3548 (_gst_controller_dispose), (_gst_controller_class_init):
3549 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3550 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3551 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3552 (gst_object_get_controller), (gst_object_set_controller),
3553 (gst_object_suggest_next_sync), (gst_object_sync_values),
3554 (gst_object_set_control_source), (gst_object_get_control_source),
3555 (gst_object_get_value_arrays), (gst_object_get_value_array),
3556 (gst_object_get_control_rate), (gst_object_set_control_rate):
3557 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3558 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3559 Make some functions that should be static static; rename some
3560 private symbols so that they don't get exported; add some FIXME
3561 comments so we can move accidentally exported functions into
3562 our private section in 0.11.
3564 * win32/common/libgstreamer.def:
3565 Add gst_utils_get_timestamp().
3567 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3571 Add more missing "Since:" tags to docs.
3573 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3576 Add mising "Since:" to docs.
3578 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3581 Include "glib-compat-private.h" to fix the build on system with
3582 glib < 2.10. Fixes #503131.
3584 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3588 Actually its not PURE as it gets the time from elsewhere.
3590 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3592 * docs/gst/gstreamer-sections.txt:
3594 * gst/gstdebugutils.c:
3598 * libs/gst/base/gstbasesink.c:
3599 * tools/gst-launch.c:
3600 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3601 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3602 Thanks Tim for spotting.
3603 API: gst_util_get_timestamp
3605 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3608 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3610 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3612 * gst/gststructure.c: (gst_structure_validate_name),
3613 (gst_structure_new_valist), (gst_structure_parse_value),
3614 (gst_structure_from_string):
3615 Don't crash in _from_string() if the structure name is not valid
3616 (fixes #501560). Allow structure names to start with a number
3617 again (this apparently broke the ubuntu codec installer).
3619 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3621 Add unit test for the crash; update unit tests for new behaviour.
3623 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3626 Clarify gst_element_get_compatible_pad() documentation.
3629 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3631 * tests/check/Makefile.am:
3632 Don't forget to dist {gst,libs}/struct_hppa.h.
3634 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3636 * libs/gst/base/gstbasesink.c:
3637 Use new API to get elapsed time.
3639 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3641 * gst/gstdebugutils.c:
3643 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3645 * tools/gst-launch.c:
3646 Use new API to get elapsed time.
3648 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3650 * docs/gst/gstreamer-sections.txt:
3652 * gst/gstdebugutils.c:
3654 Rename new API + ChangeLog surgery to remove old name from last entry..
3656 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3658 * docs/gst/gstreamer-sections.txt:
3660 * gst/gstdebugutils.c:
3662 Now hide the different clock stuff behind a macro.
3664 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3667 * gst/gstdebugutils.c:
3669 Apply the posix-timer check from #361155. Conditionally use the posix
3670 timer for logging. This gives better timestamp precission, less
3671 overhead and no ntp jitter.
3673 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3675 * gst/gstminiobject.c: (gst_mini_object_get_type),
3676 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3677 (gst_mini_object_finalize), (gst_mini_object_copy),
3678 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3679 (gst_mini_object_replace), (param_mini_object_validate),
3680 (gst_param_spec_mini_object_get_type):
3681 Some cleanup and checking against invalid function parameters.
3683 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3685 * docs/gst/gstreamer-sections.txt:
3687 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3688 (gst_systemclock_suite):
3689 Start merging in the easy bits of #361155, the monotonic clock patch.
3690 This one adds a few handy macros with docs and a testsuite.
3692 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3694 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3695 Be a bit smarter when seeking, like, don't try to do a seek when it's
3696 not needed. This avoids errors when the file is not seekable.
3699 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3701 * docs/gst/gstreamer-docs.sgml:
3702 * docs/gst/gstreamer-sections.txt:
3703 * docs/gst/gstreamer.types.in:
3708 * plugins/elements/gstqueue.c:
3709 Due to popular request remove preset interface again. :-(.
3711 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3713 * tools/gst-inspect.c:
3714 Print 'default value' for enums and flags too.
3716 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3718 * docs/random/ensonic/profiling.txt:
3722 Fix typo and give better log output.
3724 * gst/gstdebugutils.c:
3725 * gst/gstdebugutils.h:
3726 More ideas, make graphs a bit smaller and fix param name in macro.
3728 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3731 Try harder to use the return value from fgets().
3733 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3736 For theses two fgets we handle the error below.
3738 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3740 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3741 Only send upstream events upstream. Fixes #498746.
3743 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3745 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3747 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3748 (gst_identity_init), (gst_identity_transform_ip),
3749 (gst_identity_set_property), (gst_identity_get_property):
3750 * plugins/elements/gstidentity.h:
3751 Add property to disable handoff signal emission. Fixes #498694.
3752 API: GstIdentity::signal-handoffs
3754 2007-11-21 Julien Moutte <julien@fluendo.com>
3756 * docs/faq/gst-uninstalled: Yet another missing library for the
3757 uninstalled script (fft)
3759 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3761 * docs/faq/developing.xml:
3762 Add a question about how to submit new translations.
3764 * docs/random/release:
3765 Update the contact email address for the Translation Project
3767 * plugins/elements/gstfdsrc.c:
3768 The parent_class for fdsrc is pushsrc, not GstElement.
3770 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3773 Plug a leak and fix saving.
3775 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3777 * docs/gst/gstreamer-sections.txt:
3778 Add new gst_preset__get_property_names() function to the docs
3781 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3785 Change _get_preset_names API to return a strv with copies. Add
3786 _get_property_names to allow implementations to filter and provide
3787 good default implementation.
3789 2007-11-20 Julien MOUTTE <julien@moutte.net>
3791 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3794 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3797 More cleanups, docs, and TODOs from comments that now slowly come in.
3799 2007-11-19 Julien MOUTTE <julien@moutte.net>
3801 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3804 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3807 Fix bogus warning and make the property type specific code more
3810 2007-11-19 Julien MOUTTE <julien@moutte.net>
3812 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3815 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3817 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3818 (gst_bin_add_func), (gst_bin_remove_func),
3819 (gst_bin_change_state_func), (gst_bin_continue_func):
3820 Change email, cleanups add some more debug and comments.
3821 Also set bus and clock on new elements when the pipeline was in error.
3823 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3826 * gst/gstdebugutils.c:
3827 Fix build with --disable-gst-debug. Fixes #497859.
3828 Spotted by Sameer Naik.
3830 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3833 Little documentation improvment.
3836 More TODO cleanups. Remove c++ comments.
3838 * libs/gst/controller/gstcontroller.c:
3839 Add TODO and use quark from static string.
3841 * tests/check/gst/gstmessage.c:
3842 * tests/check/gst/gststructure.c:
3843 Use quark from static string.
3845 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3848 Add some comments and TODOs.
3851 Add padding for future changes.
3853 * plugins/elements/gstqueue.c:
3854 Implement the iface.
3856 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3858 * docs/gst/gstreamer-docs.sgml:
3859 * docs/gst/gstreamer-sections.txt:
3860 * docs/gst/gstreamer.types.in:
3865 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3867 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3873 === release 0.10.15 ===
3875 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3878 releasing 0.10.15, "October"
3880 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3882 * win32/vs6/libgstreamer.dsp:
3883 Convert line endings back to DOS.
3885 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3887 * docs/design/draft-tagreading.txt:
3888 * docs/random/ensonic/profiling.txt:
3889 Update fast tagreading draft and performance profiling ideas.
3891 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3893 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3894 Don't hold the object lock when unreffing a buffer because it could
3895 cause a deadlock when the finalize function wants to grab the object
3896 lock too. Fixes #495133.
3898 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3900 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3901 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3902 Also accumulate time correctly when doing reverse playback. Fixes
3904 When converting to running and stream time, use default values for
3905 start/stop/time/accum when comparing different formats. Fixes #494245.
3907 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3908 Do running/stream time in TIME format.
3910 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3911 (gst_segment_suite):
3912 2 new unit tests for segment accumulation.
3914 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3916 * gst/gst.c: (init_pre):
3917 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3918 (_gst_debug_bin_to_dot_file):
3919 Move getenv() back into gst_init, so everyone can live happily
3920 ever after. Make sure the symbol isn't exported though.
3922 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3924 Patch by: Sebastien Moutte <sebastien moutte net>
3926 * win32/common/gstenumtypes.c:
3927 * win32/common/gstenumtypes.h:
3930 * win32/vs6/libgstreamer.dsp:
3931 Update vs6 project files (#494343).
3933 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3935 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3936 (gst_base_src_perform_seek), (gst_base_src_default_event),
3937 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3938 (gst_base_src_activate_pull):
3939 Unify flushing code, remove some old unlock code that is no longer used.
3940 Take the streaming lock when seeking to avoid races. Fixes #492729.
3941 Added some more comments.
3943 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3945 * gst/gst.c: (_gst_disable_segtrap):
3946 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3947 we can use gst_segtrap_is_enabled() there now that we have that API.
3948 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3949 to do the getenv here (and export the variable).
3951 * gst/gstdebugutils.c: (debug_dump_element),
3952 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3953 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3955 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3956 (gst_debug_log_default):
3957 Rename _gst_info_start_time to priv_gst_info_start_time so it
3958 doesn't get exported (was never in any header).
3960 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3961 (gst_plugin_loading_mutex):
3962 Make static mutex gst_plugin_loading_mutex really static (was never
3963 in any header), and use gst_segtrap_is_enabled() instead of
3964 _gst_disable_segtrap.
3966 * gst/gsttrace.c: (_gst_trace_default):
3967 Make local _gst_trace_default static (was never in any header).
3969 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3971 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3973 * win32/common/libgstbase.def:
3974 * win32/common/libgstcontroller.def:
3975 * win32/common/libgstdataprotocol.def:
3976 * win32/common/libgstnet.def:
3977 * win32/common/libgstreamer.def:
3978 Add more missing symbols, remove some duplicates, and sort
3979 as the 'sort' command sorts it (partially fixes #493983).
3981 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3983 * gst/gstelement.c: (gst_element_set_state_func):
3984 Only change the state cookie if a different state was set on the
3985 element. See #492729.
3987 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3990 Remove unused and uninitialised type variables that were still
3991 exported for some reason (they were never in any header files
3994 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3996 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3997 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3998 (gst_base_sink_event), (gst_base_sink_get_position_last),
3999 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4000 (gst_base_sink_change_state):
4001 Don't try to report a 0 position when we don't know, return -1 and FALSE
4002 instead. This mostly happens when we are prerolling.
4003 Make sure we can report the right position before we post the ASYNC_DONE
4004 message so that a message handler can query position without races.
4006 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4007 (async_done_handoff), (async_done_func), (send_buffer),
4008 (async_done_eos_func), (gst_sinks_suite):
4009 Add two tests for the above.
4011 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4014 Update with new email address.
4016 * docs/design/part-TODO.txt:
4017 Add some more info about future pad-block and negotiation changes.
4019 * docs/design/part-buffering.txt:
4020 Add some ideas about buffering reporting.
4022 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4024 * tests/check/gst/gstobject.c:
4025 Disable silly racy test that always fails on this combination of CPU
4028 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4030 Patch by: Murray Cumming <murrayc@murrayc.com>
4033 Corrected the registration of the parent-set and parent-unset
4034 signals: The parameter is a GstObject, not a GObject (#493134).
4036 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4038 * gst/gst_private.h:
4047 Move declaration of private _gst_foo_initialize() functions into
4048 our private header file where they should have been all along.
4050 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4052 * docs/plugins/gstreamer-plugins-sections.txt:
4053 * gst/gstdebugutils.h:
4055 * plugins/elements/gstqueue.c:
4056 gtk-doc fixes; trailing-comma-in-enum fix.
4058 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4060 * gst/gst.c: (gst_deinit):
4061 Clean up on deinit (not the external ones though, doesn't seem to be
4062 needed for some reason).
4064 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4066 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4067 Remove __declspec(dllimport) for MSVC that was copied over into core
4068 from a plugin, obviously without ever having been tested (note the
4069 single underscore in _declspec in the initial commit), and that doesn't
4070 really make sense. See #492077.
4072 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4074 * gst/gst.c: (init_post):
4075 * gst/gstevent.c: (_gst_event_initialize):
4076 * gst/gstquery.c: (_gst_query_initialize):
4077 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4078 g_type_class_ref() other types as well, see #349410 and #64764.
4080 * gst/gstbuffer.c: (_gst_buffer_initialize):
4081 * gst/gstmessage.c: (_gst_message_initialize):
4082 Simplify existing g_type_class_ref().
4084 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4086 * gst/gstformat.c: (_gst_format_initialize):
4087 g_type_class_ref() our GstFormat type to make sure we avoid the
4088 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4089 bug #64764. Should fix intermittent tee unit test failures (#474823).
4091 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4093 * tests/check/elements/tee.c: (test_num_buffers):
4094 Simplify, simplify, simplify - or not. Rewrite unit test
4095 not to use gst_parse_launch(); allow N sub-streams. Increasing
4096 the number of sub-streams seems to reproduce #474823 more easily.
4098 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4100 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4103 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4104 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4105 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4106 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4107 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4108 so use _pipe() directly (#492077).
4110 * win32/common/dirent.c: (_treaddir):
4111 Add a couple of casts to make it build without warnings with MSVC.
4113 * win32/common/libgstreamer.def:
4114 Add some more symbols that need to be exported.
4116 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4118 * tests/examples/metadata/read-metadata.c: (message_loop):
4119 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4120 arriving in a second or third tag message are added to
4121 the tag list as well.
4123 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4125 * libs/gst/base/gstbasesrc.c:
4126 Its "Since:" and not "@Since:". And remove an superflous cast.
4128 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4130 * docs/libs/gstreamer-libs-sections.txt:
4131 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4132 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4133 (gst_base_sink_get_property), (gst_base_sink_render_object),
4134 (gst_base_sink_preroll_object),
4135 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4136 (gst_base_sink_change_state):
4137 * libs/gst/base/gstbasesink.h:
4138 Add a new last-buffer property that contains the last buffer used in
4139 basesink for preroll or rendering. useful for making snapshots.
4140 API: gst_base_sink_get_last_buffer()
4141 API: GstBaseSink::last-buffer
4143 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4145 * docs/gst/running.xml:
4147 * gst/gstdebugutils.c:
4148 * gst/gstdebugutils.h:
4149 * tools/gst-launch.c:
4150 Improve bin graph dumping, by using the envvar to specify a path.
4151 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4153 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4155 * plugins/elements/gsttypefindelement.c:
4156 (gst_type_find_element_handle_event),
4157 (gst_type_find_element_activate):
4158 Post special error message if we can't determine the type of a stream
4161 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4163 * docs/gst/running.xml:
4164 * gst/gstdebugutils.c:
4165 Document new env-var. Add one log-line after dumpng a graph.
4167 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4170 Ugly hack to put the (recently removed and non-portable, apparently)
4171 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4172 GNU ld, because without that 'make check' fails miserably on my debian
4173 stable box. Someone with more knowledge of linker intricacies and
4174 portability issues than me fix this properly please.
4176 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4178 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4179 Reset last seen position after flushing so that we don't report the old
4182 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4184 * gst/gstelementfactory.c: (gst_element_register):
4186 Patch from Alessandro Decina adding get_type_full and
4187 get_protocols_full private vfuncs to the URIHandler interface
4188 to allow bindings to support creating URI handlers.
4189 Partially fixes: #339279
4190 API: GstURIHandlerInterface::get_type_full
4191 API: GstURIHandlerInterface::get_protocols_full
4193 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4195 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4196 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4197 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4198 Make it so that pads are considered linked until a buffer is pushed
4199 and discovered otherwise. This avoids problems with decodebin2 hanging
4200 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4203 Make sure we lock the multiqueue when updating the max-size properties.
4205 Fix a crash on Solaris in a debug statement in get_request_pad that
4206 passes a NULL string to GST_DEBUG.
4208 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4209 (run_output_order_test):
4210 Fix the test to allow the first buffer on not-linked pads to come out
4211 of sequence while multiqueue discovers that they are not-linked.
4213 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4216 * libs/gst/check/Makefile.am:
4217 Use a custom export symbol regex for libgstcheck, as it needs
4218 to export symbols that don't match the standard GStreamer gst_*
4219 pattern, and --export-dynamic is not portable (only works on
4222 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4223 (gst_check_setup_sink_pad):
4224 Make sure to pass a message parameter to the fail_* macros.
4226 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4227 Fix some compiler warnings.
4229 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4231 * tests/check/gst/gststructure.c: (test_to_string):
4232 Disable test that checks that white spaces are not allowed
4233 in structure names or field names, since we need to
4234 support that for now for backwards compatibility reasons.
4236 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4238 * docs/gst/gstreamer-sections.txt:
4241 API: add GST_TAG_ARTIST_SORTNAME
4242 API: add GST_TAG_ALBUM_SORTNAME
4243 API: add GST_TAG_TITLE_SORTNAME
4244 Add tag variants for sorting (#414539).
4246 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4248 * gst/gststructure.c:
4249 Also allow white space for names so we don't break
4250 backwards compatibility.
4252 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4254 * docs/design/part-TODO.txt:
4255 * docs/design/part-segments.txt:
4256 * docs/design/part-streams.txt:
4259 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4261 * docs/gst/gstreamer-sections.txt:
4262 Fixed documentation from my previous commit (added new API add
4263 gst_value_set_structure(), add gst_value_get_structure() and
4264 GST_VALUE_HOLDS_STRUCTURE).
4266 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4268 * gst/gstdebugutils.c:
4269 Reflow code to fix uninitialized variable warning.
4271 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4273 * gst/gstcaps.c: (gst_caps_to_string),
4274 (gst_caps_from_string_inplace):
4275 * gst/gststructure.c: (gst_structure_get_abbrs),
4276 (gst_structure_to_string), (gst_structure_from_string):
4277 * gst/gstvalue.c: (gst_value_set_structure),
4278 (gst_value_get_structure), (gst_value_serialize_structure),
4279 (gst_value_deserialize_structure), (_gst_value_initialize):
4281 * tests/check/gst/gststructure.c: (GST_START_TEST),
4282 (gst_structure_suite):
4283 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4284 Added GstStructure to gst_value_table and its related functions.
4285 Changed gst_structure_to_string to print ';' in the end.
4286 Changed gst_caps_to_string to not print ';' beteween its
4287 fields (structures) anymore and remove the lastes ';' from latest
4288 structure. Now it is possible to have nested structures.
4289 In addition, backward compatibilty is assured by accepting '\0' as
4290 end delimiter. Fixes: #487969.
4291 API: add gst_value_set_structure()
4292 API: add gst_value_get_structure()
4293 API: add GST_VALUE_HOLDS_STRUCTURE
4295 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4298 When no GSource callback has been set up, tell developer
4299 to use a function that actually exists.
4301 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4303 * docs/gst/gstreamer-sections.txt:
4307 * gst/gstdebugutils.c:
4308 * gst/gstdebugutils.h:
4311 * tools/gst-launch.c:
4312 Allow dumping pipelines as dot graphs. Fixes #456573.
4314 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4316 * gst/gststructure.c:
4317 Allow '+' as well, it can be part of media or mime types
4318 such as image/svg+xml.
4320 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4322 * docs/gst/gstreamer-sections.txt:
4325 API: add gst_bus_pop_filtered
4326 API: add gst_bus_timed_pop_filtered
4327 Two new functions for waiting for specific message types on the
4328 bus for a specified amount of time without iterating any main
4329 loops or main contexts.
4331 * tests/check/gst/gstbus.c:
4332 Some tests for the new functions.
4334 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4336 * docs/libs/gstreamer-libs-sections.txt:
4337 Make gtk-doc ignore stuff it should ignore.
4339 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4341 * libs/gst/check/gstcheck.c:
4342 * libs/gst/check/gstcheck.h:
4343 Allow runtime selection of unit tests to run via the GST_CHECKS
4344 environment variable (test case function names, comma-separated).
4346 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4348 * gst/gststructure.c:
4349 * tests/check/gst/gststructure.c:
4350 Revert serialisation change and constrain structure-names after
4351 consensus on irc. Update api documentation to reflect the change.
4353 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4355 * gst/gststructure.c:
4356 Improve serialization and fix tests.
4358 * tests/check/gst/gststructure.c:
4359 Add another test that covers why I actually did the previous structure
4362 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4364 * tools/gst-inspect.c: (print_element_info):
4365 Don't crash when inspecting an element.
4367 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4369 * tests/check/gst/gststructure.c:
4370 Add unit test for escaping of structure name when serialising
4371 and deserialising to/from strings.
4373 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4375 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4376 (gst_single_queue_new):
4377 * plugins/elements/gstqueue.c: (gst_queue_init),
4378 (gst_queue_push_one):
4379 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4380 upstream is tricked into thinking it can suggest a format downstream
4381 while downstream does not support that format. The real problem is that
4382 core calls acceptcaps when pushing a buffer with new caps, for which we
4383 do a little workaround by setting the caps on the srcpad ourselves
4384 before pushing the buffer (until this is figured out). Fixes #486758.
4386 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4388 * gst/gststructure.c:
4390 Add some more comments and debug output. Quote structure name to fix
4391 deserialisation of some strings.
4393 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4396 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4397 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4399 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4401 * tools/gst-inspect.c:
4402 Save approx. 400 1 byte allocs when printing. Use API to acces element
4408 * tools/gst-xmlinspect.c:
4409 Use API to acces element details.
4411 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4414 Fix some spelling errors.
4416 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4418 * gst/gstbin.c: (bin_handle_async_done):
4419 Correctly set the next state if all of our async children commited their
4420 state. This makes sure we can actually cancel the state change in
4421 progress. Fixes a regression in Rhythmbox when seeking.
4423 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4426 Don't shadow local variable.
4429 Don't shadow global function name.
4431 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4433 * gst/gstelementfactory.c:
4434 * gst/gstpluginfeature.c:
4435 * gst/gstpluginfeature.h:
4436 * gst/gstregistrybinary.c:
4437 * gst/gstregistryxml.c:
4438 * gst/gsttypefind.c:
4439 Use already-interned string for the private GstPluginFeature
4442 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4444 * docs/libs/gstreamer-libs-sections.txt:
4445 Add new API to docs; fixes the build.
4447 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4449 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4451 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4452 (gst_base_sink_event):
4453 * libs/gst/base/gstbasesink.h:
4454 Add function to wait for EOS, subclasses can use this to correctly wait
4455 for devices to drain before performing the EOS logic. Fixes #485343.
4456 API: gst_base_sink_wait_eos()
4458 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4461 Cast description string constants in GST_PLUGIN_DEFINE macros
4462 to a (gchar*) to make C++ code using these macros compile
4463 without warning with g++-4.2 (see #462737). Even if slightly
4464 ugly, this seems preferable to putting the description strings
4465 into the GLib quark table or making the structure member a
4466 const gchar * and doing casts in core code that allocs and
4467 frees these strings, or requiring a cast in the C++ code.
4469 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4472 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4473 to print the entire class/function signature into the log
4474 file for C++ code. This only affects C++ code, for C code
4475 everything remains the same.
4477 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4479 * gst/gstbin.c: (remove_from_queue):
4480 Work around a problem with pipelines containing (semi)loops until a
4481 proper, more complicated solution is ready. See #475455.
4483 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4487 * gst/gstregistrybinary.c:
4488 * gst/gstregistryxml.c:
4489 Put more strings into the GLib quark table. No need to keep
4490 a hundred-something copies of identical version strings,
4491 license strings, package name strings and package origin
4494 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4496 * docs/manual/advanced-dataaccess.xml:
4497 Don't imply that it's okay to unconditionally change
4498 buffer data or buffer metadata in a pad probe callback,
4499 and a bunch of other comments. Fixes #430031.
4501 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4503 * win32/common/gstenumtypes.c:
4504 * win32/common/gstenumtypes.h:
4505 * win32/common/gstversion.h:
4506 Update generated files.
4508 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4510 * docs/manual/advanced-autoplugging.xml:
4511 Prefix section with broken code with a warning (see #342432).
4513 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4515 * docs/manual/appendix-integration.xml:
4516 * docs/manual/basics-init.xml:
4517 Call g_thread_init() before g_option_context_new() to
4518 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4520 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4522 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4523 (gst_base_sink_queue_object_unlocked),
4524 (gst_base_sink_queue_object), (gst_base_sink_event),
4525 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4526 When we received EOS and are waiting for when to post the EOS message,
4527 our state is prerolled and we should not return ASYNC.
4528 Reorganize some code paths to implement this behavior.
4530 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4532 Add unit test to verify above EOS fix.
4534 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4536 * plugins/elements/gsttypefindelement.c:
4537 (gst_type_find_element_have_type), (gst_type_find_element_init),
4538 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4539 Move detecting the input caps of the sinkpad to the setcaps function.
4540 This allows us to update the output caps when we receive new input caps
4541 instead of always using the first detected caps.
4543 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4545 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4546 (gst_base_sink_get_position):
4547 Don't try to preroll non-async elements after a flush.
4548 Subtract latency form clock times when reporting position.
4550 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4552 * gst/gstpad.c: (gst_pad_pause_task):
4554 Small comment and documentation update.
4556 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4558 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4559 (gst_base_src_set_live), (gst_base_src_is_live),
4560 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4561 (gst_base_src_default_event), (gst_base_src_wait),
4562 (gst_base_src_do_sync), (gst_base_src_get_range),
4563 (gst_base_src_pad_get_range), (gst_base_src_loop),
4564 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4565 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4566 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4567 (gst_base_src_change_state):
4568 Rework the locking of basesrc in a similar fashion to basesink. We
4569 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4570 us to handle live sources and semi live ones much better.
4572 Fix unlocking when seeking, shutting down and pausing in live sources.
4574 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4576 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4577 Fix compilation again.
4579 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4582 Use meaningful categories for the logs to clean the default one.
4584 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4586 * tests/check/pipelines/cleanup.c:
4587 Print message name and not just number.
4589 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4591 * docs/design/draft-tagreading.txt:
4592 Add some more thoughts.
4594 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4596 * tests/check/pipelines/simple-launch-lines.c:
4597 Print message name and not just number.
4599 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4601 * libs/gst/base/gsttypefindhelper.c:
4602 Speedup typefinding. This is work in progress (see #459862).
4604 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4607 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4608 Spotted by Josep Torra Valles <josep@fluendo.com>.
4610 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4613 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4614 field has moved to GstObject.
4616 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4618 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4619 (gst_base_src_get_range), (gst_base_src_change_state):
4620 Call unlock for live sources so that they can't get stuck in _create and
4621 produce a buffer before they are set back to PLAYING.
4623 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4625 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4626 (gst_queue_locked_dequeue):
4627 Comment the segment-related code... in the PROPER function.
4628 See #482147 and my commit from yesterday.
4630 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4632 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4633 Also initialize the counter that calculates the first timestamp on a
4634 buffer correctly for non-live sources.
4636 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4638 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4639 Disable code that's breaking the current-time-level reporting.
4642 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4644 * docs/gst/gstreamer-sections.txt:
4645 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4646 as they shouldn't show up. Fixes the docs build.
4648 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4651 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4652 Define M_PI which is used in files which are including gstinfo.h.
4653 VS6 includes doesn't define it.
4654 * win32/common/libgstbase.def:
4655 * win32/common/libgstcontroller.def:
4656 * win32/common/libgstreamer.def:
4657 Add new exported functions and variables.
4658 * win32/vs6/libgstcontroller.dsp:
4659 * win32/vs6/libgstreamer.dsp:
4660 Update the list of files to build.
4662 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4664 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4666 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4667 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4668 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4669 Improve debugging. Fixes #480858.
4671 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4673 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4675 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4676 First patch of code cleanups, use the macros and right arguments in the
4677 macros to signal and lock the queue. See #480858.
4679 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4681 * gst/gstbus.c: (poll_func):
4682 Improve debugging when dealing with _poll().
4684 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4686 * gst/gstregistryxml.c:
4687 Fix memory leak I introduced a few days ago.
4689 2007-09-26 Michael Smith <msmith@fluendo.com>
4691 * gst/gstbuffer.c: (gst_buffer_finalize):
4692 Make it once again possible to free GstBuffers in the default
4694 The poisoning scribbles on parts of the miniobject we need in
4698 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4700 * docs/gst/gstreamer-sections.txt:
4703 API: add GST_TAG_COMPOSER, fixes #459809.
4705 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4709 Add the 3-clause BSD license and the MIT/X11 license to the license
4710 list. Fixes #479784.
4712 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4714 * docs/faq/getting.xml:
4715 Add Q+A about different GStreamer versions (#364056).
4717 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4719 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4720 (gst_base_sink_event), (gst_base_sink_change_state):
4721 Return correct gboolean from query function.
4723 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4725 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4726 (gst_base_sink_event), (gst_base_sink_query),
4727 (gst_base_sink_change_state):
4728 Simplify latency query.
4729 When not synchronizing, we can report latency without querying the peer
4732 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4736 Fix small typos in the docs.
4738 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4740 * docs/design/draft-latency.txt:
4741 * docs/design/draft-push-pull.txt:
4742 * docs/design/draft-tagreading.txt:
4743 * docs/design/part-MT-refcounting.txt:
4744 * docs/design/part-activation.txt:
4745 * docs/design/part-block.txt:
4746 * docs/design/part-element-source.txt:
4747 * docs/design/part-events.txt:
4748 * docs/design/part-gstbin.txt:
4749 * docs/design/part-gstelement.txt:
4750 * docs/design/part-gstobject.txt:
4751 * docs/design/part-gstpipeline.txt:
4752 * docs/design/part-messages.txt:
4753 * docs/design/part-preroll.txt:
4754 * docs/design/part-push-pull.txt:
4755 * docs/design/part-qos.txt:
4756 * docs/design/part-query.txt:
4757 * docs/design/part-scheduling.txt:
4758 * docs/design/part-seeking.txt:
4759 * docs/design/part-segments.txt:
4760 * docs/design/part-states.txt:
4761 Documentation updates and typo fixes.
4763 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4765 * plugins/elements/gstfakesink.c:
4766 Add some debug text to error message to indicate that
4767 we errored out on request.
4769 * tools/gst-launch.c:
4770 When the state change to PLAYING fails, check for an
4771 error message on the bus and print it.
4773 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4775 translated by: Jorge González González <aloriel@gmail.com>
4779 Added Spanish translation.
4781 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4783 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4784 Fix printf arguments.
4786 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4788 * tests/check/generic/states.c:
4789 Improved state change unit test.
4791 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4794 Move priv to the right place.
4796 * gst/gstsystemclock.c:
4797 Add FIXME: and improve log.
4799 * tests/check/Makefile.am:
4800 * tests/examples/manual/Makefile.am:
4801 Work with all types of registries.
4803 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4805 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4806 Don't unref the event after pushing it. Fixes #478401.
4808 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4811 * tests/examples/manual/.cvsignore:
4812 Ignore registries in any format.
4814 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4816 * gst/glib-compat-private.h:
4817 Add compatibility macro for g_intern_string() for
4818 GLib-2.8 (any reason we can't just bump the
4819 requirement to at least 2.10?)
4821 * gst/gstpadtemplate.h:
4822 * gst/gstelementfactory.c:
4823 * gst/gstregistryxml.c:
4824 * gst/gstregistrybinary.c:
4825 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4826 up the internal code accordingly. This shouldn't be a problem, since
4827 there is no reason external code could ever assume the string in such
4828 a structure is dynamically allocated unless it did that itself; the
4829 use of g_strdup() is private to element factories. The new code also
4830 saves some memory by putting pad template name strings into the GLib
4831 quark table instead of allocating them dynamically.
4832 Declaring this field constant fixes warnings with g++-4.2 when using
4833 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4835 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4837 * gst/gstelementfactory.c:
4838 Release static caps. Fixes #475723.
4840 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4844 Make some internal API take const gchar * instead of just
4845 gchar * to avoid compiler warnings with g++-4.2.2 when
4846 passing string constants (partially fixes #478092).
4848 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4850 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4851 A latency query fails when one of the sinks fail.
4853 * gst/gstelement.c: (gst_element_set_base_time):
4856 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4858 * gst/gstbin.c: (gst_bin_continue_func):
4859 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4860 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4861 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4863 Fix minor compilation warnings shown with Forte.
4865 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4867 * plugins/elements/gstqueue.c: (apply_buffer),
4868 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4869 Measure queue level based on the diff between head and tail timestamps
4870 even when pushing the first buffer.
4872 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4874 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4875 (gst_base_sink_event), (gst_base_sink_change_state):
4876 Sinks that don't preroll can always be queried for the latency.
4877 Don't post ASYNC start when we are not async.
4879 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4881 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4882 (gst_queue_handle_sink_event), (gst_queue_chain),
4883 (gst_queue_push_one), (gst_queue_handle_src_query),
4884 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4885 * plugins/elements/gstqueue.h:
4886 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4887 push more buffers but allow pushing of EOS and NEWSEGMENT.
4888 Add some more debug info here and there. Fixes #476514.
4890 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4892 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4893 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4894 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4895 (gst_base_sink_set_flushing), (gst_base_sink_query),
4896 (gst_base_sink_change_state):
4897 Latency query is allowed after we are prerolled. Introduce a new flag
4898 for this and stop abusing other variables.
4900 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4902 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4903 Push OOB events downstream when we get them in send_event. This allows
4904 the application to insert events in the pipeline.
4905 Add some more comments.
4907 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4909 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4910 (do_bin_latency), (gst_bin_change_state_func):
4911 * gst/gstpipeline.c: (gst_pipeline_change_state):
4912 Move latency query from GstPipeline to GstBin so that we can also
4913 use it when async-handling is enabled on bins.
4915 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4917 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4918 (gst_base_src_do_sync), (gst_base_src_change_state):
4920 Clean up the timestamping and syncing code for pseudo live sources.
4922 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4924 Patch by: Steve Fink <sphink gmail com>
4926 * docs/manual/appendix-checklist.xml:
4927 Mention less -R switch in the section about debug output (#474055).
4929 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4931 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4932 Queue can latency to the pipeline up to the configured max size in time.
4933 Report this fact in the latency query.
4935 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4937 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4939 * libs/gst/controller/gstinterpolation.c:
4940 * libs/gst/controller/gstlfocontrolsource.c:
4941 Use gst_guint64_to_gdouble() when converting from a uint64 or
4942 GstClockTime to double to fix the build on win32. Fixes #474371.
4944 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4946 * gst/gstbuffer.c: (gst_buffer_finalize):
4947 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4948 When finalizing a buffer the complete struct is filled with 0xff,
4949 thus making a use of the buffer after the final unref impossible.
4951 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4953 * tests/check/libs/controller.c: (GST_START_TEST):
4954 Use fail_unless_equals_int(a, b) instead of
4955 fail_unless_equals (a == b) to get better output on failures.
4957 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4959 * tests/check/gst/gsturi.c:
4960 Also check for the other file URI variant on win32.
4962 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4964 * gst/gsturi.c: (gst_uri_get_location):
4965 If there's no hostname, we want to return 'c:/foo/bar.txt'
4966 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4968 * tests/check/gst/gsturi.c:
4969 Unit test for the above and a few more things.
4971 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4973 * docs/design/part-live-source.txt:
4974 Add docs on how live sources should timestamp.
4976 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4977 Add some more debug info.
4978 For subclasses that are live and like to sync, add aditional startup
4979 latency to sync time and timestamps so that we timstamp according to the
4982 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4985 Also do a g_type_class_ref() for the subbuffer type in
4988 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4990 * docs/gst/gstreamer-sections.txt:
4991 * gst/gstpad.c: (gst_pad_peer_query):
4993 Add function to perform a query on the peer of a pad.
4994 API: gst_pad_peer_query()
4996 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4998 * tests/check/gst/gstsystemclock.c:
4999 Cleanup the test a little (use gst-logging and not g_message). Improve
5000 test to check if a wait reached the target.
5002 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5004 * docs/libs/gstreamer-libs-sections.txt:
5005 Add new API to docs and fix the build.
5007 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5009 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5010 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5011 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5012 (gst_base_src_get_property), (gst_base_src_do_sync):
5013 * libs/gst/base/gstbasesrc.h:
5014 Add property to make the basesrc timestamp buffers based on the current
5016 API: GstBaseSrc::do-timestamp
5017 API: gst_base_src_set_do_timestamp()
5018 API: gst_base_src_get_do_timestamp()
5020 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5022 * docs/random/release:
5023 Really make sure translations are up-to-date before
5024 a release (#465010).
5026 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5028 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5029 Always destroy the timer, also in error cases.
5031 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5033 * docs/manual/highlevel-xml.xml:
5034 Fix XML example code. Fixes #472714.
5036 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5038 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5039 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5040 (gst_base_sink_query):
5041 Protect eos and have_preroll with the OBJECT lock so we don't need to
5042 take the PREROLL lock when querying the latency. Fixes #473846.
5044 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5047 Give some log-messages a category.
5049 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5051 * gst/gststructure.c:
5052 (gst_structure_fixate_field_nearest_fraction):
5053 Fix fraction list fixation code. Take the fraction with the smallest
5054 difference with the target instead of the first one in the list.
5056 * tests/check/gst/gststructure.c: (GST_START_TEST),
5057 (gst_structure_suite):
5058 Added test to verify correct fraction list fixation behaviour.
5060 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5062 * win32/common/libgstreamer.def:
5063 Export gst_bus_add_signal_watch too.
5065 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5067 * docs/libs/gstreamer-libs-sections.txt:
5068 Add new methods to docs.
5070 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5071 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5072 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5073 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5074 * libs/gst/base/gstbasesink.h:
5075 Add ts-offset property to fine-tune the synchronisation.
5076 API: GstBaseSink::ts-offset property
5077 API: gst_base_sink_set_ts_offset()
5078 API: gst_base_sink_get_ts_offset()
5080 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5082 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5083 (gst_base_sink_init), (gst_base_sink_set_sync),
5084 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5085 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5086 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5087 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5088 (gst_base_sink_get_property), (gst_base_sink_change_state):
5089 * libs/gst/base/gstbasesink.h:
5090 Add async property to instruct the sink never to inform the parent about
5091 ASYNC state changes, update docs.
5092 Check argument with g_return_* for the public functions.
5093 API: GstBaseSink::async property
5094 API: gst_base_sink_set_async_enabled()
5095 API: gst_base_sink_is_async_enabled()
5097 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5099 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5102 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5103 (gst_base_src_default_query), (gst_base_src_wait),
5104 (gst_base_src_do_sync), (gst_base_src_change_state):
5105 Rearrange some code so that we can add support for measuring the
5108 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5110 * docs/random/ensonic/dynlink.txt:
5111 More thoughs on this.
5113 * plugins/elements/gstcapsfilter.c:
5114 Add bugzilla ticket number to FIXME comment.
5116 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5118 * docs/design/part-TODO.txt:
5119 * docs/design/part-block.txt:
5122 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5125 Revert patch which uses $(gst_headers) instead of $^ because it
5128 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5130 * tests/check/gst/gstbin.c: (GST_START_TEST):
5131 Fix leaks in the new unit test.
5133 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5136 Don't use GST_INFO before the debug system is actually initialised
5137 (shouldn't do any harm, but won't print anything either, so we can
5138 just as well remove it).
5141 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5142 compilers that don't support variadic macros (such as MSVC), should
5143 check for debug_level <= __gst_debug_min as well, since that's the
5144 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5145 inline helper functions. Should improve performance a bit, but also
5146 makes sure uses of GST_INFO et.al are ignored if the debugging
5147 system isn't initialised yet (instead of printing an assertion
5150 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5152 patch by: David Nečas <yeti@physics.muni.cz>
5155 Replace some non portable makefile constructs.
5157 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5159 * common/gtk-doc-plugins.mak:
5160 Grrrrr. Don't remove the types file on make clean.
5162 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5164 * tools/gst-launch.1.in:
5165 Add colorspace to example pipeline. Fixes #458274.
5167 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5169 * docs/random/release:
5170 The release manager should run 'make download-po' before making a
5171 release to make sure translations are up-to-date.
5177 Add some new translations.
5179 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5181 * tools/gst-launch.c: (event_loop), (main):
5182 Don´t try to do any state management when a live pipeline posts
5184 Also make the buffering string translatable.
5186 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5188 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5189 (bin_handle_async_start), (gst_bin_handle_message_func):
5191 When adding elements, insert messages into the bus of the newly added
5192 element and make sure the element is the source of the message. This
5193 allows the parent bin to intercept the message and do the
5194 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5195 messages to the app (which is not allowed).
5198 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5199 Fix testsuite so that is does not work around messages that should not
5200 have been posted in the first place.
5202 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5204 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5205 (update_degree), (gst_bin_sort_iterator_next):
5206 Fix annoying bug in the sorted iterator where a sink that is not really
5207 a sink (when it has downstream links) screwed up the iterator.
5209 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5210 Unit test to verify the fix.
5212 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5215 Add some more docs for the messages.
5217 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5218 (gst_base_sink_query):
5219 Add some more debugging.
5221 * tools/gst-launch.c: (event_loop):
5222 When interrupting, don't try to set pipeline to PAUSED twice.
5224 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5227 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5228 (bin_handle_async_start), (gst_bin_handle_message_func):
5229 Move ASYNC_START message posting to where it belongs, similar to
5231 Don't post ASYNC_START when we are in error.
5232 Post ASYNC_START when we added an async element to a bin.
5234 2007-08-14 Julien MOUTTE <julien@moutte.net>
5236 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5237 generation from vargs. Fixes #466595.
5239 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5241 * gst/gstbin.c: (gst_bin_element_set_state):
5242 Always change the state of a NO_PREROLL element even if it has ASYNC
5243 elements inside (in case of a bin).
5245 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5246 Unit test for this case.
5248 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5250 * libs/gst/check/gstbufferstraw.c:
5251 * libs/gst/check/gstcheck.h:
5252 * libs/gst/controller/gstcontroller.c:
5253 * libs/gst/controller/gstcontrolsource.h:
5254 * libs/gst/controller/gstlfocontrolsource.h:
5255 * plugins/elements/gstcapsfilter.h:
5256 * plugins/elements/gstfdsink.h:
5257 * plugins/elements/gstfdsrc.h:
5258 Add more missing docs.
5260 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5262 * gst/gststructure.c:
5263 Add Since tag to docs.
5265 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5267 * docs/gst/gstreamer-sections.txt:
5268 * gst/gststructure.c: (gst_structure_get_uint):
5269 * gst/gststructure.h:
5270 Add function to get uint from a structure.
5271 API: gst_structure_get_uint()
5273 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5275 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5276 (gst_caps_intersect):
5277 Fix proper check for simple caps.
5279 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5281 * docs/gst/Makefile.am:
5282 * docs/libs/Makefile.am:
5283 Remove cruft and do some cleanups.
5285 * docs/gst/gstreamer-docs.sgml:
5286 * docs/libs/gstreamer-libs-docs.sgml:
5287 Prepare for comming gtkdoc features (rebase against online docs).
5289 2007-08-10 Michael Smith <msmith@fluendo.com>
5291 * docs/gst/gstreamer-sections.txt:
5292 Add gst_registry_add_path to docs.
5294 2007-08-10 Michael Smith <msmith@fluendo.com>
5296 * gst/gstregistry.h:
5297 Add gst_registry_add_path, which was missing from this header.
5299 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5301 * libs/gst/controller/gstlfocontrolsource.c:
5304 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5306 * libs/gst/base/gstbasesink.c:
5307 Don't send an async_start message during downwards state change if
5308 target state is less than READY
5310 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5312 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5316 Added Hungarian translation.
5318 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5325 Updated translations.
5327 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5329 * libs/gst/controller/Makefile.am:
5330 Dist gstlfocontrolsourceprivate.h
5332 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5334 * docs/libs/gstreamer-libs.types:
5335 Don't register the enum type gst_lfo_waveform_get_type() in the
5336 .types file - only GObject derived types belong.
5338 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5340 Patch by: <arenevier at fdn dot fr>
5343 Remove comma from last element in enum to avoid compile errors when
5344 using -pendantic. Fixes #464366.
5346 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5348 * docs/design/part-TODO.txt:
5349 Add some more TODO items
5351 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5354 * gst/gstcaps.c: (gst_caps_intersect):
5355 Optimize trivial intersection case between identical caps pointers.
5357 * gst/gstelement.c: (gst_element_continue_state),
5358 (gst_element_set_state_func):
5360 Fix spelling and grammar mistakes.
5362 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5366 Update POTFILES. Fixes #461599.
5368 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5371 Fix confusing typo in debug output.
5373 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5375 reviewed by: Stefan Kost <ensonic@users.sf.net>
5377 * libs/gst/controller/Makefile.am:
5378 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5379 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5380 (gst_lfo_control_source_new),
5381 (gst_lfo_control_source_set_waveform),
5382 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5383 (gst_lfo_control_source_finalize),
5384 (gst_lfo_control_source_dispose),
5385 (gst_lfo_control_source_set_property),
5386 (gst_lfo_control_source_get_property),
5387 (gst_lfo_control_source_class_init):
5388 * libs/gst/controller/gstlfocontrolsource.h:
5389 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5390 API: Add GstLFOControlSource, a control source that gives values
5391 for specific timestamps based on several periodic waveforms.
5394 * tests/check/libs/controller.c: (GST_START_TEST),
5395 (gst_controller_suite):
5396 * docs/libs/gstreamer-libs-docs.sgml:
5397 * docs/libs/gstreamer-libs-sections.txt:
5398 * docs/libs/gstreamer-libs.types:
5399 Add documentation and unit tests for GstLFOControlSource.
5401 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5406 === release 0.10.14 ===
5408 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5411 releasing 0.10.14, "Breathing Vacuum"
5413 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5415 * gst/gstelement.c: (gst_element_class_set_details_simple):
5417 Make strings passed to gst_element_class_set_details_simple()
5418 constant, as they should be (#462752).
5420 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5422 * gst/gstbin.c: (gst_bin_change_state_func),
5423 (bin_handle_async_done), (gst_bin_handle_message_func):
5424 Don't forget about the fact that some element went ASYNC even after a
5425 resync. This makes us post the ASYNC_DONE message correctly.
5428 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5430 * gst/gstregistry.c: (gst_registry_add_feature):
5431 When replacing an existing feature in the registry, make sure to
5432 continue holding a reference until we've replaced the name string
5433 within our feature hash table. Make sure to use g_hash_table_replace
5434 instead of g_hash_table_insert to ensure the new name string is used
5435 as a key instead of the old one that we're about to free.
5438 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5440 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5441 (gst_plugin_feature_set_name):
5442 Revert patch from #459466 until after the release and we can work
5443 out exactly what the problem is (if any).
5445 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5447 * docs/gst/gstreamer-sections.txt:
5450 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5452 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5454 * docs/libs/Makefile.am:
5455 Include our build-prefix libs and includes before the generic ones to
5456 avoid linking against the installed libs when we want the build-tree
5459 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5461 Patch by: Steve Fink <sphink gmail com>
5463 * docs/pwg/building-testapp.xml:
5464 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5465 if people try to build or install the example from the plugin
5466 template against a GStreamer from package using the configure
5469 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5471 Patch by: Steve Fink <sphink gmail com>
5473 * tools/gst-inspect.1.in:
5474 Document --print-all and --print-plugin-auto-install-info command
5475 line options in man page.
5477 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5479 * docs/gst/gstreamer-sections.txt:
5480 Add docs for new api function.
5482 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5484 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5485 * gst/gstelementfactory.h:
5486 API: gst_element_factory_has_interface()
5487 Added method to check if an element factory implements a named
5490 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5493 * docs/gst/gstreamer.types.in:
5494 Another conditional doc check.
5497 * gst/gstparamspecs.h:
5498 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5503 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5505 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5506 (gst_registry_binary_load_feature),
5507 (gst_registry_binary_load_plugin),
5508 (gst_registry_binary_read_cache):
5509 Print error just once and with additional info.
5511 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5513 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5514 (helper_find_suggest), (helper_find_get_length),
5515 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5516 (gst_type_find_helper_for_buffer):
5517 Cleanup the typefindhelper code and add private doc comments.
5519 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5521 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5522 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5523 Fix capsfilter for cases where the caps set on capsfilter will provide
5524 additional information.
5527 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5529 * gst/gsttypefindfactory.c:
5530 Fix docs that recommened wrong function to use.
5532 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5534 * tools/gst-inspect.c: (print_plugin_features):
5535 Also give media-type for typefinders in element output.
5537 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5539 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5540 (gst_registry_remove_features_for_plugin_unlocked),
5541 (gst_registry_add_feature), (gst_registry_remove_feature),
5542 (gst_registry_lookup_feature_locked):
5543 * gst/gstregistry.h:
5544 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5547 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5549 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5550 (gst_plugin_feature_set_name):
5551 Avoid double memory usage for pluginfeature names. Fixes #459466.
5553 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5556 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5557 driving the pipeline may need to explicitly check for NOT_LINKED as
5558 well, since IS_FATAL doesn't cover that.
5560 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5562 * docs/pwg/advanced-types.xml:
5563 Fix typo and duplicate entry in video formats list.
5565 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5567 * libs/gst/controller/gstinterpolation.c:
5568 Also round to the nearest int when using cubic interpolation.
5570 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5572 * libs/gst/controller/gstinterpolation.c:
5573 When linearly interpolating integer types, round to the nearest int
5574 by adding 0.5. Don't do it for float/double types.
5575 Fixes the failing controller test on my machine, which is somehow
5576 rounding differently than on the buildbots.
5578 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5580 * tools/gst-plot-timeline.py:
5581 Better log parsing (categories can have -). Adjust text vs. lines, so
5582 that they span the same y-range.
5584 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5586 * docs/random/ensonic/audiobaseclasses.txt:
5587 * docs/random/ensonic/dynlink.txt:
5588 * docs/random/ensonic/profiling.txt:
5591 * docs/random/moving-plugins:
5592 Add note to use g_assert type macros.
5594 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5597 * libs/gst/check/Makefile.am:
5598 Add libm check as we use in for plugins.
5600 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5602 * gst/gstbin.c: (gst_bin_continue_func):
5603 Check that the state_cookie hasn't changed since the continue_func
5604 was scheduled. Avoids problems where the state changes back to
5605 something it shouldn't be because it was changed in the meantime.
5607 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5609 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5610 (gst_registry_binary_save_string),
5611 (gst_registry_binary_save_pad_template),
5612 (gst_registry_binary_save_feature),
5613 (gst_registry_binary_save_plugin),
5614 (gst_registry_binary_load_feature),
5615 (gst_registry_binary_load_plugin),
5616 (gst_registry_binary_read_cache):
5617 Fix memory leak. Be less verbose in the log.
5619 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5621 * tests/check/elements/.cvsignore:
5622 Add file to cvsignore as commanded.
5624 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5626 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5627 (mq_dummypad_event), (run_output_order_test):
5628 Use a GStaticMutex to protect all cases where libcheck
5629 fail_if/fail_unless macros might be called from multiple threads
5630 simultaneously to avoid errors like:
5631 "check_pack.c:107: :-1081725400:Bad message type arg"
5633 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5635 * tests/check/pipelines/stress.c: (GST_START_TEST):
5636 Make sure we set the pipeline back to the NULL state before
5637 dropping our final reference.
5639 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5641 * tests/check/elements/tee.c: (GST_START_TEST):
5642 Make the tee stress-test a little less stressful so it doesn't just
5643 time out on slow-machines, and remove a small race when it's starting
5644 up by adding a get_state() call.
5646 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5649 Avoid reading registry twice on startup. Fixes #457322.
5651 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5653 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5654 * pkgconfig/gstreamer-check.pc.in:
5655 Substitute the CFLAGS for libcheck into our .pc file too so that
5656 dependent modules will pick it up properly if libcheck is installed
5657 into some other prefix.
5659 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5662 Revert the pkg-config check for libcheck, since it pulls in the
5663 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5664 a proper solution, either from the check project, or something else.
5666 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5669 Use pkg-config to locate check.
5671 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5678 Add deprecation guards.
5680 * libs/gst/base/gstcollectpads.h:
5681 Don't document object (this is implicitly private).
5683 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5685 * gst/gststructure.c: (gst_structure_parse_value):
5686 When deserialising foo=bar without a type cast, check if it's a
5687 boolean before falling back to a string type, otherwise things like
5688 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5689 because the filtercaps end up having a signed=(string)true field,
5690 which causes problems later when intersection caps.
5692 * tests/check/gst/gststructure.c: (GST_START_TEST):
5693 Add a unit test for this.
5695 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5697 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5699 * libs/gst/controller/Makefile.am:
5700 * libs/gst/controller/gstcontroller.c:
5701 (gst_controlled_property_add_interpolation_control_source),
5702 (gst_controlled_property_new), (gst_controlled_property_free),
5703 (gst_controller_find_controlled_property),
5704 (gst_controller_new_valist), (gst_controller_new_list),
5705 (gst_controller_new), (gst_controller_remove_properties_valist),
5706 (gst_controller_remove_properties_list),
5707 (gst_controller_remove_properties),
5708 (gst_controller_set_property_disabled),
5709 (gst_controller_set_disabled), (gst_controller_set_control_source),
5710 (gst_controller_get_control_source), (gst_controller_get),
5711 (gst_controller_sync_values), (gst_controller_get_value_array),
5712 (_gst_controller_dispose), (gst_controller_get_type),
5713 (gst_controlled_property_set_interpolation_mode),
5714 (gst_controller_set), (gst_controller_set_from_list),
5715 (gst_controller_unset), (gst_controller_unset_all),
5716 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5717 * libs/gst/controller/gstcontroller.h:
5718 * libs/gst/controller/gstcontrollerprivate.h:
5719 * libs/gst/controller/gstcontrolsource.c:
5720 (gst_control_source_class_init), (gst_control_source_init),
5721 (gst_control_source_get_value),
5722 (gst_control_source_get_value_array), (gst_control_source_bind):
5723 * libs/gst/controller/gstcontrolsource.h:
5724 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5725 (gst_object_get_control_source):
5726 * libs/gst/controller/gstinterpolation.c:
5727 (gst_interpolation_control_source_find_control_point_node),
5728 (gst_interpolation_control_source_get_first_value),
5729 (_interpolate_none_get), (interpolate_none_get),
5730 (interpolate_none_get_boolean_value_array),
5731 (interpolate_none_get_enum_value_array),
5732 (interpolate_none_get_string_value_array),
5733 (_interpolate_trigger_get), (interpolate_trigger_get),
5734 (interpolate_trigger_get_boolean_value_array),
5735 (interpolate_trigger_get_enum_value_array),
5736 (interpolate_trigger_get_string_value_array):
5737 * libs/gst/controller/gstinterpolationcontrolsource.c:
5738 (gst_control_point_free), (gst_interpolation_control_source_reset),
5739 (gst_interpolation_control_source_new),
5740 (gst_interpolation_control_source_set_interpolation_mode),
5741 (gst_interpolation_control_source_bind),
5742 (gst_control_point_compare), (gst_control_point_find),
5743 (gst_interpolation_control_source_set_internal),
5744 (gst_interpolation_control_source_set),
5745 (gst_interpolation_control_source_set_from_list),
5746 (gst_interpolation_control_source_unset),
5747 (gst_interpolation_control_source_unset_all),
5748 (gst_interpolation_control_source_get_all),
5749 (gst_interpolation_control_source_get_count),
5750 (gst_interpolation_control_source_init),
5751 (gst_interpolation_control_source_finalize),
5752 (gst_interpolation_control_source_dispose),
5753 (gst_interpolation_control_source_class_init):
5754 * libs/gst/controller/gstinterpolationcontrolsource.h:
5755 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5756 API: Refactor GstController into the core controller which can take
5757 a GstControlSource for providing actual values for timestamps.
5758 Implement a interpolation control source and use this for backward
5759 compatibility, deprecate a bunch of functions that are now handled
5760 by GstControlSource or GstInterpolationControlSource.
5761 Make it possible to disable the controller completely or only for
5762 specific properties. Fixes #450711.
5763 * docs/libs/gstreamer-libs-docs.sgml:
5764 * docs/libs/gstreamer-libs-sections.txt:
5765 * docs/libs/gstreamer-libs.types:
5766 Add new functions and classes to the docs.
5767 * tests/check/libs/controller.c: (GST_START_TEST),
5768 (gst_controller_suite):
5769 * tests/examples/controller/audio-example.c: (main):
5770 Port unit test and example to the new API and add some new
5773 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5775 Patch by: Mark Nauwelaerts <manauw at skynet be>
5777 * plugins/elements/gstmultiqueue.c:
5778 (gst_multi_queue_get_internal_links), (apply_buffer),
5779 (single_queue_overrun_cb), (gst_single_queue_new):
5780 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5781 the pipeline layout can be tracked correctly. Fixes #453732.
5783 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5785 * docs/gst/Makefile.am:
5786 * docs/libs/Makefile.am:
5787 * docs/plugins/Makefile.am:
5788 Simplify --extra-dir as gtkdoc scans recursively.
5790 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5792 * tools/gst-launch.c: (main):
5793 When we got an error, there is no point in waiting for preroll when
5796 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5798 * plugins/elements/gsttee.c: (gst_tee_base_init),
5799 (gst_tee_request_new_pad), (gst_tee_release_pad),
5800 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5801 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5803 Be a lot smarter when deciding what srcpad to use for proxying
5804 the buffer_alloc. Also handle pad added/removed when doing so.
5806 Keep track of what pads we already pushed on in case we have pads
5807 added/removed while pushing. Fixes #374639
5809 * tests/check/Makefile.am:
5810 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5812 Added unit test for pad resync.
5814 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5818 Updated translations.
5820 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5822 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5826 Added new Finnish translation.
5828 2007-06-28 Wim Taymans <wim@fluendo.com>
5830 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5831 (single_queue_overrun_cb):
5832 When figuring out when a queue is filled, use our internal time estimate
5833 based on segments, just like check_full does.
5835 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5837 * gst/gstminiobject.c: (gst_mini_object_get_type):
5838 Remove 3 do-nothing methods.
5840 2007-06-27 Wim Taymans <wim@fluendo.com>
5842 Patch by: Tim Angus <tim at ngus dot net>
5844 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5845 (gst_capsfilter_set_property):
5846 Take a reference instead of a copy when setting "caps".
5847 Fix documentation to clarify this behaviour. Fixes #449414.
5849 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5851 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5852 * gst/gstplugin.c: (gst_plugin_init):
5853 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5854 * gst/gstquery.c: (gst_query_get_type):
5855 * gst/gstregistry.c: (gst_registry_init):
5856 * gst/gsturi.c: (gst_uri_handler_base_init):
5857 Remove empty instance_init() functions to save relocs and lessen the
5858 noise. Remove some of the function prototypes that are doubled by
5861 2007-06-27 Wim Taymans <wim@fluendo.com>
5863 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5865 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5866 Add peer and direction in the XML serialisation of ghostpads.
5869 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5872 Preserve useful information, thanks Tim.
5874 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5876 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5877 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5878 (gst_single_queue_push_one), (gst_multi_queue_loop),
5879 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5880 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5881 (compute_high_id), (gst_single_queue_new):
5882 * plugins/elements/gstmultiqueue.h:
5883 Take the multiqueue lock when updating the fill level so we don't get
5886 After applying a buffer or event on the src pad segment, make sure to
5887 call gst_data_queue_limits_changed() to get the data queue to unblock
5888 and check the filled state again.
5890 Rework the not-linked pad handling so the logic is that not-linked
5891 pads can push as fast as they like, but only so they never get
5892 ahead of any linked pads.
5894 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5895 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5896 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5898 Add a test to check that not-linked pads always stay behind
5903 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5905 * docs/random/release:
5906 Some updates to the release procedure.
5908 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5910 * gst/gstelementfactory.c: (__gst_element_details_clear):
5911 Microoptimization that saves stunning 80 bytes.
5913 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5915 * docs/plugins/gstreamer-plugins.args:
5916 * docs/plugins/inspect/plugin-coreelements.xml:
5917 * docs/plugins/inspect/plugin-coreindexers.xml:
5918 Update docs with caps info.
5920 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5923 Updated Italian translation.
5925 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5929 Update Vietnamese translations.
5931 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5933 * libs/gst/base/gstbasesink.c:
5934 Remove unused signal enum.
5936 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5938 * docs/gst/gstreamer-sections.txt:
5940 * gst/gstutils.c: (gst_type_register_static_full):
5941 Beef up and include the docs for gst_type_register_static_full and
5942 gst_element_class_set_details_simple and add the API keyword
5945 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5947 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5948 (update_time_level), (gst_single_queue_push_one),
5949 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5950 (single_queue_overrun_cb), (single_queue_underrun_cb),
5951 (single_queue_check_full):
5952 Fix setting max-* properties after adding queues.
5953 Use IS_FILLED for checking visible items.
5954 Signal overrun if multiple queues overrun.
5955 Add extra debug output.
5956 Patch by: Wim Taymans <wim@fluendo.com>
5958 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5960 * gst/gstelement.c: (gst_element_class_set_details_simple):
5962 * gst/gstutils.c: (gst_type_register_static_full):
5964 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5965 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5966 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5967 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5968 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5969 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5970 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5971 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5972 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5973 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5974 (apply_buffer), (gst_queue_chain):
5975 * plugins/elements/gsttee.c: (gst_tee_base_init):
5976 * plugins/elements/gsttypefindelement.c:
5977 (gst_type_find_element_base_init),
5978 (gst_type_find_element_class_init):
5979 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5980 API: add gst_type_register_static_full
5981 API: add gst_element_class_set_details_simple
5983 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5985 * docs/pwg/advanced-types.xml:
5986 Fix typo in iana.org URI.
5988 2007-06-19 Andy Wingo <wingo@pobox.com>
5990 * tests/check/pipelines/simple-launch-lines.c
5991 (test_state_change_returns): Enable pull-mode tests now that
5992 basesink has been fixed.
5994 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5995 Changed from gst_base_sink_is_prerolled, reversing the sense of
5996 the return value. Returns FALSE also if the sink is in pull mode,
5997 in which case it needs no preroll.
5998 (gst_base_sink_query, gst_base_sink_change_state): Update for
5999 needs_preroll change.
6000 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6001 chaining up, in which we return SUCCESS directly if we activated
6002 in pull mode instead of ASYNC. Involves countering an async_start
6003 message sent before chaining up; not sure if this is correct, in
6004 an ideal world we only send async-start when activating in push
6007 * tests/check/pipelines/simple-launch-lines.c
6008 (test_state_change_returns): New test, partially disabled until
6011 2007-06-19 Wim Taymans <wim@fluendo.com>
6013 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6014 (gst_multi_queue_sink_event):
6017 2007-06-19 Wim Taymans <wim@fluendo.com>
6019 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6020 (gst_bin_change_state_func), (bin_push_state_continue),
6021 (bin_handle_async_start), (bin_handle_async_done),
6022 (gst_bin_handle_message_func):
6023 Move the common code for posting state-change messages into
6025 Broadcast the state signal after we posted the messages.
6026 Mark the bin as busy when it's doing a state-change.
6027 Make sure async-start/done messages don't interfere with the bin's
6028 state when it's busy.
6029 After the state change, let the bin check which elements completed the
6030 state change while it was busy so that it can update its state.
6032 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6034 * docs/random/release:
6035 Add a note about updating the doap file to the release checklist
6037 2007-06-18 Wim Taymans <wim@fluendo.com>
6039 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6040 (gst_single_queue_push_one), (gst_multi_queue_chain),
6041 (gst_multi_queue_sink_event):
6042 Make sure we don't reference the buffer/event after we have given away
6043 ownership in the queue.
6045 2007-06-18 Wim Taymans <wim@fluendo.com>
6047 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6048 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6049 Update queue state _after_ adding the item in the queue because else we
6050 could end up being full without the element added yet.
6052 2007-06-18 Wim Taymans <wim@fluendo.com>
6054 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6055 (gst_bin_remove_func), (gst_bin_get_state_func),
6056 (gst_bin_element_set_state), (gst_bin_continue_func),
6057 (bin_push_state_continue), (bin_handle_async_start),
6058 (bin_handle_async_done), (gst_bin_handle_message_func):
6060 Immediatly commit the toplevel bin state when receiving an async-done
6061 message. This enables us to avoid spawning a thread to commit the state
6062 in some common cases and it also avoids some races.
6063 Avoid spawning a state thread when adding/removing async elements to a
6064 toplevel bin. Instead we immediatly update the bin state.
6065 Get rid of iterating all the children when getting the state in the bin
6066 because it is now always up-to-date.
6067 Fix bug where locked elements would always return _SUCCESS even it they
6068 returned NO_PREROLL before being locked.
6069 Fix the order of the state_change, async-start/done messages that was
6070 sometimes incorrect.
6071 Mark the state_dirty field as deprecated, we don't need it anymore as we
6072 are always up-to-date.
6074 * gst/gstelement.c: (gst_element_get_state_func),
6075 (gst_element_continue_state):
6076 Small debug inprovements.
6077 Return the previous element state return when nothing is pending instead
6078 of blindly returning SUCCESS.
6080 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6082 Add a whole bunch of new testcases.
6084 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6088 Update translations.
6090 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6093 Fix typo in the docs.
6095 2007-06-15 Wim Taymans <wim@fluendo.com>
6097 * docs/libs/gstreamer-libs-sections.txt:
6098 Add docs for new methods.
6100 2007-06-15 Wim Taymans <wim@fluendo.com>
6102 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6103 (gst_multi_queue_item_new):
6104 Don't use GSlice because we don't depend on >= 2.10 yet.
6106 2007-06-15 Wim Taymans <wim@fluendo.com>
6108 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6109 (update_time_level), (apply_segment), (apply_buffer),
6110 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6111 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6112 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6113 (single_queue_underrun_cb), (single_queue_check_full):
6114 Remove debug printf.
6116 2007-06-15 Wim Taymans <wim@fluendo.com>
6118 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6119 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6120 (gst_data_queue_set_flushing), (gst_data_queue_push),
6121 (gst_data_queue_pop), (gst_data_queue_drop_head),
6122 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6123 * libs/gst/base/gstdataqueue.h:
6125 Added methods to get the current levels and to inform the queue that the
6126 'full' limits changed.
6128 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6129 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6130 (gst_single_queue_flush), (update_time_level), (apply_segment),
6131 (apply_buffer), (gst_single_queue_push_one),
6132 (gst_multi_queue_item_steal_object),
6133 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6134 (gst_multi_queue_loop), (gst_multi_queue_chain),
6135 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6136 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6137 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6138 (single_queue_underrun_cb), (single_queue_check_full),
6139 (gst_single_queue_new):
6140 Keep track of time in the queue by measuring the difference between
6141 running_time on input and output. This gives more accurate results and
6142 can compensate for segments correctly.
6143 Make a queue by default only 5 buffers deep. We will now increase the
6144 buffer size depending on the filledness of the other queues.
6145 Factor out commong flush code.
6146 Make sure we don't add additional refcounts to buffers when we can avoid
6148 Propagate GstFlowReturn differently.
6149 Use GSlice for intermediate GstMultiQueueItems.
6151 Resize queues on over and underruns based on filled level of other
6153 When checking if the queue is filled, prefer to measure in time if we
6154 can and fall back to bytes when no time is known.
6156 * plugins/elements/gstqueue.c:
6159 2007-06-15 Wim Taymans <wim@fluendo.com>
6161 * libs/gst/base/gstbasetransform.c:
6162 (gst_base_transform_sink_event):
6163 Work around the brokenness of the event vmethod in basetransform. Prefer
6164 to return TRUE when the subclass returned FALSE (meaning don't forward
6167 * libs/gst/base/gstbasetransform.h:
6170 2007-06-15 Wim Taymans <wim@fluendo.com>
6172 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6173 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6174 (gst_base_src_default_query), (gst_base_src_get_range),
6175 (gst_base_src_start):
6176 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6179 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6181 * docs/pwg/advanced-types.xml:
6182 Added more formats to caps table.
6184 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6186 * tools/gst-launch.c: (main):
6187 Remove crufy code. GOption does not need this workaround.
6189 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6191 * libs/gst/controller/gstcontroller.c:
6192 (gst_controlled_property_set_interpolation_mode):
6193 Fix wrong getter for enums in controller.
6195 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6197 * libs/gst/check/gstcheck.c: (gst_check_init):
6198 Intercept criticals and warnings in the Gst-Phonon log domain, so
6199 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6202 2007-06-14 Edward Hervey <edward@fluendo.com>
6204 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6205 Since this file doesn't include "gst.h" it will not go through the
6206 macros that disable GST_LOG if debugging was disabled.
6208 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6210 * libs/gst/check/Makefile.am:
6211 * libs/gst/check/gstcheck.h:
6212 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6213 * pkgconfig/gstreamer-check.pc.in:
6214 Ugly 'fix' for the controller unit test on the p5 bot: in
6215 fail_unless_equals_float() check whether the values are 'almost
6216 equal' by allowing a small absolute error, which should be good
6217 enough for our use cases (normal numbers and values close to 0).
6218 Proper fixage left to floating point arithmetic aficionados.
6220 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6222 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6223 (gst_base_sink_render_object), (gst_base_sink_get_position):
6224 Add two breaks thats where missing.
6226 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6228 * docs/libs/gstreamer-libs-sections.txt:
6229 * libs/gst/check/gstcheck.h:
6230 API: add fail_unless_equals_float() and assert_equals_float().
6231 Add documentation for some of the macros.
6233 * tests/check/libs/controller.c: (GST_START_TEST):
6234 Use newly-added asserts.
6236 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6238 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6239 Show the caps change in the log to help spotting the case of not
6240 exactly matching caps.
6242 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6244 * docs/pwg/building-boiler.xml:
6245 Fix typos, spotted by Thijs Vermeir (#447190).
6247 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6249 * docs/plugins/tmpl/.cvsignore:
6250 Ignore file to keep the buildbots happy
6252 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6254 * docs/plugins/Makefile.am:
6255 * docs/plugins/gstreamer-plugins-docs.sgml:
6256 * docs/plugins/gstreamer-plugins-sections.txt:
6257 Pull fdsink into the docs too.
6259 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6261 * libs/gst/controller/gstinterpolation.c:
6262 Actually use the new functions with min/max checks for the trigger and
6263 none interpolation modes for get() and get_value_array() instead of
6266 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6268 * libs/gst/controller/gstcontroller.c:
6269 (gst_controlled_property_free):
6270 Unset the minimum and maximum GValues when freeing the corresponding
6271 GstControllerProperty struct.
6273 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6275 * libs/gst/controller/gstcontroller.c:
6276 (gst_controlled_property_new):
6277 * libs/gst/controller/gstcontrollerprivate.h:
6278 * libs/gst/controller/gstinterpolation.c:
6279 (gst_controlled_property_find_control_point_node),
6280 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6281 (interpolate_none_get_string_value_array),
6282 (interpolate_trigger_get),
6283 (interpolate_trigger_get_enum_value_array),
6284 (interpolate_trigger_get_string_value_array):
6285 Protect against values larger or smaller than the minimum or maximum
6286 allowed value for the property when using values that can be compared.
6288 Optimize trigger interpolator a bit by taking the last requested value
6289 into account instead of always looping through the complete list.
6291 Fix coding style a bit, everywhere else we use "return foo" instead
6294 * tests/check/libs/controller.c: (GST_START_TEST),
6295 (gst_controller_suite):
6296 Add unit test for the protection against too large or too small
6299 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6301 * docs/random/slomo/controller.txt:
6302 Add some thoughts about the future of the controller.
6304 2007-06-08 Wim Taymans <wim@fluendo.com>
6306 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6307 Don't overflow in retimestamping code.
6309 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6311 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6312 Use gst_util_guint64_to_gdouble for conversions.
6313 * win32/common/libgstreamer.def:
6314 Add new exported functions.
6316 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6319 Small docs addition.
6321 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6324 Remove that test line again.
6326 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6329 Test commit mail sending.
6331 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6334 Fix typo and test commit mail sending.
6336 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6338 * tests/examples/controller/audio-example.c:
6339 Improve comment and test commit mail sending.
6341 2007-06-07 Wim Taymans <wim@fluendo.com>
6343 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6344 (gst_bin_remove_func), (gst_bin_element_set_state),
6345 (bin_handle_async_start), (bin_handle_async_done),
6346 (gst_bin_handle_message_func):
6347 Add helper function to find messages.
6348 Generate the async-done messages together with the state change
6350 Small cleanups in handling toplevel bins.
6352 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6354 * libs/gst/base/gstdataqueue.c:
6355 * libs/gst/base/gstdataqueue.h:
6356 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6357 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6358 (gst_multi_queue_sink_event):
6359 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6360 Fix multiqueue leaking buffers and events when downstream or the
6361 queue are flushing. Make refcounting assumptions explicit and
6362 document them (shouldn't break existing code that uses it other than
6363 maybe leak miniobjects, but that already happens anyway). Add unit
6364 test for the most common flushing case. Fixes #423700.
6366 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6368 * libs/gst/controller/gstcontroller.c:
6369 Clarify docs: The get_all, get_value_array(s) functions
6370 don't modify the GObject properties.
6372 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6374 * libs/gst/controller/gstcontroller.c:
6375 (gst_controlled_property_set_interpolation_mode),
6376 (gst_controlled_property_prepend_default),
6377 (gst_controlled_property_new), (gst_controller_set_unlocked),
6378 (gst_controller_set), (gst_controller_set_from_list),
6379 (gst_controller_unset), (gst_controller_unset_all):
6380 * libs/gst/controller/gstcontrollerprivate.h:
6381 * libs/gst/controller/gstinterpolation.c:
6382 Factor out the 'set' logic into gst_controller_set_unlocked for the
6383 gst_controller_set and gst_controller_set_from_list functions.
6385 To make life of the interpolators easier always add a control point
6386 at timestamp zero with the default value.
6388 In the linear interpolator make things more obvious by better variable
6391 Implement cubic interpolation mode (by using a natural cubic spline)
6392 and map the quadratic interpolation mode to this too (as quadratic
6393 doesn't make much sense, see discussion on the list).
6395 * tests/check/libs/controller.c: (GST_START_TEST),
6396 (gst_controller_suite):
6397 Add unit test for the cubic interpolation mode and check everywhere
6398 if the interpolation mode could be set as expected.
6400 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6402 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6403 Don't use GLib-2.10 functions, we still depend on
6404 GLib-how-old-is-it-again-2.8.
6406 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6408 * docs/gst/gstreamer-sections.txt:
6412 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6413 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6414 (_gst_param_fraction_values_cmp),
6415 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6416 * gst/gstparamspecs.h:
6418 * tests/check/Makefile.am:
6419 * tests/check/gst/.cvsignore:
6420 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6421 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6422 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6423 (GST_START_TEST), (gst_param_spec_suite):
6424 API: add GstParamSpecFraction, so elements can have fraction
6425 properties without lots of painful string parsing (#444648).
6427 2007-06-05 Wim Taymans <wim@fluendo.com>
6429 * gst/gstobject.c: (gst_object_class_init):
6430 Fix signal signature.
6433 Add small clarification in the api docs.
6435 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6436 States are protected with object lock.
6438 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6441 I should probably be listed as an author by now.
6443 * docs/random/release:
6444 Update the release doc
6446 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6449 Make docs for gst_value_compare() mention return enums that
6452 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6457 === release 0.10.13 ===
6459 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6462 releasing 0.10.13, "With or without you"
6464 2007-05-25 Wim Taymans <wim@fluendo.com>
6466 * gst/gstbin.c: (bin_handle_async_done):
6467 Make sure that the child bin stops after completing the async state
6468 change so that the parent can continue the state change to PLAYING.
6471 2007-05-25 Wim Taymans <wim@fluendo.com>
6473 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6474 (unref_data), (gst_collect_pads_remove_pad),
6475 (gst_collect_pads_check_pads):
6476 Use additional refcounting to avoid crashes when dynamically adding and
6477 removing pads. Fixes #420206.
6479 2007-05-24 Wim Taymans <wim@fluendo.com>
6481 * tools/gst-launch.c: (event_loop):
6482 When buffering goes from a two digit to a single digit number, make sure
6483 to remove the old second digit by writing a blank over it.
6485 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6487 * libs/gst/base/gstdataqueue.c:
6488 Eliminate tabs and trailing comma in enum list; fix some typos.
6490 2007-05-24 Wim Taymans <wim@fluendo.com>
6492 * tests/check/gst/gstbin.c: (GST_START_TEST):
6493 Allow refcount of 3 and 4 because some state thread might still be busy
6496 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6498 * plugins/elements/Makefile.am:
6499 * plugins/elements/gstmultiqueue.h:
6500 * plugins/elements/gstqueue.h:
6501 These are not installed headers, no need for padding.
6503 2007-05-24 Wim Taymans <wim@fluendo.com>
6505 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6506 (gst_bin_continue_func):
6507 Enable latency for next release.
6508 Restore STATE_LOCK around recalc_state that was left out during the
6509 rewrite and could result in racy behaviour when _get_state and
6510 recalc_state are run concurrently. See #440463.
6512 2007-05-23 Wim Taymans <wim@fluendo.com>
6514 * tests/check/gst/gstsystemclock.c: (store_callback),
6516 Improve test_async_order to also work when both timers are already
6517 expired when we get scheduled to check it.
6519 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6521 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6522 (gst_bin_set_property), (gst_bin_get_property),
6523 (gst_bin_remove_func), (gst_bin_handle_message_func):
6525 'private' is a c++ keyword, let's not use that in header files,
6526 otherwise c++ compilers will throw a tantrum.
6528 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6530 * plugins/elements/gstelements.c:
6531 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6532 (gst_file_sink_get_current_offset):
6533 * plugins/indexers/gstindexers.c: (plugin_init):
6534 Use #ifdef for HAVE_XYZ for consistency.
6536 * tests/check/Makefile.am:
6537 * tests/check/elements/.cvsignore:
6538 * tests/check/elements/filesink.c: (setup_filesink),
6539 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6540 Add some unit tests for filesink.
6542 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6544 Patch by: Mark Nauwelaerts <manauw at skynet be>
6546 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6547 (gst_file_sink_query), (gst_file_sink_do_seek),
6548 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6549 * plugins/elements/gstfilesink.h:
6550 Fix position reporting; rename data_written member to current_pos to
6551 reflect its real meaning (fixes #412648).
6553 2007-05-22 Edward Hervey <edward@fluendo.com>
6555 * docs/gst/gstreamer-sections.txt:
6556 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6557 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6558 (gst_bin_remove_func), (gst_bin_handle_message_func):
6560 Add a property for bins that handle the state change of their childs.
6563 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6565 * libs/gst/controller/gstinterpolation.c:
6566 Use an array of the correct type when using _get_value_array with
6567 linear interpolation.
6569 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6571 * gst/gstelement.c (gst_element_requires_clock,
6572 gst_element_provides_clock, gst_element_request_pad,
6573 gst_element_class_set_details, gst_element_class_set_details_simple,
6574 gst_element_default_send_event, gst_element_abort_state,
6575 gst_element_continue_state, gst_element_set_state,
6576 gst_element_set_state_func, iterator_activate_fold_with_resync):
6577 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6578 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6579 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6580 gst_pad_get_range, gst_pad_pull_range):
6581 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6582 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6583 GstPadActivateModeFunction, GstPadChainFunction,
6584 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6585 GstPadFixateCapsFunction, GstPadTemplate):
6586 * gst/gstpipeline.c (gst_pipeline_change_state,
6587 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6588 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6589 gst_pipeline_get_delay):
6590 Whitespace and docs fixes.
6592 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6594 * libs/gst/controller/gstinterpolation.c:
6595 (interpolate_trigger_get_enum_value_array),
6596 (interpolate_trigger_get_string_value_array):
6597 Add support for retrieving value arrays when using the trigger
6600 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6602 * libs/gst/controller/gstcontroller.c:
6603 (gst_controller_get_value_array):
6604 * libs/gst/controller/gstcontroller.h:
6605 Clarify the docs of gst_controller_get_value_array(): The array where
6606 the values should be written to must be allocated as there seems to be
6607 no way to get the size of a random GType. This doesn't change any
6608 behaviour. Also fix some typos all over the place and remove an unused,
6609 commented function that is not necessary as g_object_set() could be
6611 * tests/check/libs/controller.c: (GST_START_TEST),
6612 (gst_controller_suite):
6613 Add unit test for gst_controller_get_value_array().
6615 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6617 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6619 Disable part of the gst_buffer_try_new_and_alloc test, because
6620 it can happily succeed on 64-bit systems where there's more address
6623 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6625 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6626 Add unit test for the improved caps checking from bug #421543.
6628 2007-05-21 Wim Taymans <wim@fluendo.com>
6630 * docs/design/part-synchronisation.txt:
6633 * gst/gstbin.c: (gst_bin_query):
6634 * plugins/elements/gstqueue.c: (apply_segment):
6640 2007-05-21 Wim Taymans <wim@fluendo.com>
6642 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6643 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6644 (gst_pad_configure_src):
6645 Added simple version of improved caps checking. It was previously
6646 assumed that a setcaps function would check the validity of the caps but
6647 people prefer us to check caps against the template automatically.
6650 2007-05-21 Wim Taymans <wim@fluendo.com>
6652 * libs/gst/base/gstbasetransform.h:
6653 Fix macro for locking/unlocking the transform lock.
6655 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6657 * docs/plugins/tmpl/.cvsignore:
6660 2007-05-18 Edward Hervey <edward@fluendo.com>
6662 * plugins/elements/gstqueue.c: (gst_queue_loop):
6663 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6664 for the subtle art of warning a potentially blocking thread that it
6665 should check the source pad return value, and relay the information
6668 2007-05-18 Edward Hervey <edward@fluendo.com>
6670 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6671 Release the queue lock !
6673 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6675 * docs/libs/gstreamer-libs-sections.txt:
6676 Add the two new controller functions to the appropiate places.
6678 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6680 reviewed by: Stefan Kost <ensonic@users.sf.net>
6682 * libs/gst/controller/gstcontroller.c:
6683 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6684 (_gst_controller_get_property), (_gst_controller_set_property),
6685 (_gst_controller_init), (_gst_controller_class_init):
6686 * libs/gst/controller/gstcontroller.h:
6687 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6688 (gst_object_get_control_rate), (gst_object_set_control_rate):
6689 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6690 Add API that provides sync suggestion timestamps for elements that
6691 call gst_object_sync_values() from which those elements can subdivide
6692 their processing loop to get the best results for the controlled
6693 properties. For now it just suggests last_sync + control_rate as
6694 new timestamp but this will be improved in the future.
6696 While doing that change the control-rate property to a GstClockTime
6697 from guint and change it's meaning from samples to nanoseconds as
6698 the GstController doesn't know anything about sampling rate. Strictly
6699 speaking this breaks ABI but as the control-rate property didn't do
6700 anything in the past and as such couldn't be used this should be no
6703 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6705 reviewed by: Stefan Kost <ensonic@users.sf.net>
6707 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6708 (gst_controller_unset_all):
6709 * libs/gst/controller/gstcontrollerprivate.h:
6710 * libs/gst/controller/gstinterpolation.c:
6711 (gst_controlled_property_find_control_point_node):
6712 Save last synced value from the list to continue searching from there
6713 in future syncs. This speeds everything up a bit.
6715 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6717 reviewed by: Stefan Kost <ensonic@users.sf.net>
6719 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6720 (gst_control_point_find), (gst_controlled_property_new),
6721 (gst_control_point_free), (gst_controlled_property_free),
6722 (gst_controller_set), (gst_controller_set_from_list),
6723 (gst_controller_unset), (gst_controller_unset_all),
6724 (gst_controller_sync_values):
6725 * libs/gst/controller/gstcontroller.h:
6726 * libs/gst/controller/gstcontrollerprivate.h:
6727 * libs/gst/controller/gstinterpolation.c:
6728 (gst_controlled_property_find_control_point_node),
6729 (interpolate_none_get), (interpolate_trigger_get):
6730 Add a new private GstControlPoint struct which "inherits" from
6731 GstTimedValue to allow different interpolators to store internal
6732 values next to each control point. From the outside everything is
6733 still a GstControlPoint so we don't loose binary compatibility.
6734 Also fixup all the GValue handling to not leak GValues or list nodes.
6735 * tests/check/libs/controller.c: (GST_START_TEST):
6736 Free the list nodes and GValues in the controller_misc test.
6738 2007-05-17 Edward Hervey <edward@fluendo.com>
6743 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6745 * gst/gstplugin.c: (gst_plugin_load_file):
6746 If we fail to load a plugin because of unresolved symbols or missing
6747 libraries and spew a warning to stderr, we may just as well mention
6748 which plugin it was that failed to load.
6750 2007-05-13 David Schleef <ds@schleef.org>
6752 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6753 handles the case when ENABLE_GTK_DOC is false, and installs
6754 the prebuilt documentation. So gtk-doc subdirs are
6755 unconditionally enabled. Fixes: #349099.
6757 2007-05-13 David Schleef <ds@schleef.org>
6759 * gst/gstutils.h: Reword some documentation.
6761 2007-05-12 David Schleef <ds@schleef.org>
6763 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6764 do anything with the passed "module" parameter, so remove it.
6765 Allows removal of additional vestigal code.
6767 2007-05-12 David Schleef <ds@schleef.org>
6770 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6771 Switch to using g_stat() because it's more portable.
6773 2007-05-12 David Schleef <ds@schleef.org>
6776 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6777 parsing for embedded systems.
6778 * gst/gstelementfactory.c:
6779 Allow gst_element_register() to be called with plugin==NULL.
6780 Did nobody notice that static elements were broken?
6782 2007-05-12 Wim Taymans <wim@fluendo.com>
6784 * tools/gst-launch.c: (event_loop):
6785 Give more interesting info when buffering starts and stops.
6786 Fix case where buffering starts but we fail to update the buffering flag
6787 because the target state is not PLAYING.
6789 2007-05-12 Wim Taymans <wim@fluendo.com>
6791 * plugins/elements/gstqueue.c: (gst_queue_init),
6792 (gst_queue_finalize), (update_time_level), (apply_segment),
6793 (apply_buffer), (gst_queue_locked_flush),
6794 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6795 (gst_queue_handle_sink_event), (gst_queue_chain),
6796 (gst_queue_push_one), (gst_queue_loop):
6797 * plugins/elements/gstqueue.h:
6798 Refactor an cleanup queue a bit.
6799 Do better time level calculations that also work when the srcpad is not
6801 Remove some unneeded debug lines.
6803 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6804 Added testcase for time level measurement.
6805 Try to make some stuff more racefree.
6807 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6809 * gst/gsturi.c: (gst_element_make_from_uri):
6810 Don't leak plugin feature.
6812 * tests/check/Makefile.am:
6813 * tests/check/gst/.cvsignore:
6814 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6815 Add brain-dead unit test.
6817 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6819 Patch by: Jeroen Wouters <woutersj at gmail com>
6821 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6822 Treat protocol strings in a case-insensitive way (#437563).
6824 2007-05-11 Michael Smith <msmith@fluendo.com>
6826 * gst/gstplugin.c: (gst_plugin_load_file):
6827 * gst/gstregistry.c: (gst_registry_scan_path_level):
6828 Don't print a g_warning for any failure to load a shared object.
6829 Instead, push this down into gstplugin.c, and warn _only_ if we
6830 failed to open the module (i.e. failure to link).
6831 Avoids warnings on normal, working, non-plugin .so files.
6833 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6835 * gst/gstplugin.c (gst_plugin_load_file):
6836 * gst/gstregistry.c (GST_CAT_DEFAULT,
6837 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6838 Print a g_warning if there was an error when loading a plugins during
6839 registry scan. The shuld help beginners starting with gst-plugin
6842 2007-05-10 Wim Taymans <wim@fluendo.com>
6844 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6845 (update_time_level), (gst_queue_locked_flush),
6846 (gst_queue_handle_sink_event), (gst_queue_chain),
6847 (gst_queue_push_one), (gst_queue_loop):
6848 * plugins/elements/gstqueue.h:
6849 Be smarter when calculating the current amount of data in the queue by
6850 measuring the difference between start and end timestamps (in running
6851 time) inside the queue. Fixes #432876.
6852 API: GstQueue::pushing to notify elements that we are pushing data again
6853 since the running signal is rather broken for this purpose.
6855 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6857 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6858 gst_queue_base_init, gst_queue_init):
6861 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6863 * win32/common/libgstreamer.def:
6864 Add new exported functions.
6865 * win32/vs6/grammar.dsp:
6866 Use grammar pre-generated files.
6868 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6870 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6873 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6875 * gst/gstutils.c: (gst_parse_bin_from_description):
6877 Maintain API and ABI when --disable-parse is used. Now that
6878 we have an appropriate error code, we can just return NULL and the
6879 appropriate error when gst_parse_launch() is used despite it having
6880 been disabled (#342564).
6882 * tests/check/Makefile.am:
6883 * tests/check/pipelines/.cvsignore:
6884 * tests/check/pipelines/parse-disabled.c:
6885 Make sure these functions exist and return NULL plus a GError when
6886 --disable-parse is used.
6888 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6890 * tests/benchmarks/complexity.c: (main):
6891 * tests/benchmarks/mass-elements.c: (main):
6892 Set a good example and don't leak messages.
6894 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6896 * docs/gst/Makefile.am:
6897 * docs/libs/Makefile.am:
6898 Correct fixxrefs options.
6900 * docs/plugins/Makefile.am:
6901 * docs/plugins/gstreamer-plugins-docs.sgml:
6902 * docs/plugins/gstreamer-plugins-sections.txt:
6903 * plugins/elements/Makefile.am:
6904 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6905 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6906 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6907 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6908 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6909 _GstCapsFilterClass, trans_class):
6910 * plugins/elements/gstelements.c (name, rank, type, _elements):
6911 * plugins/elements/gstidentity.c
6912 (gst_identity_check_imperfect_timestamp,
6913 gst_identity_check_imperfect_offset):
6914 Document capsfilter and add doc-blurb to identity.
6916 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6918 * libs/gst/controller/gstcontroller.c:
6919 (gst_controlled_property_set_interpolation_mode):
6920 * libs/gst/controller/gstinterpolation.c:
6921 Don't crash if someone tries to set an interpolation mode that
6922 is invalid or that isn't supported yet. Fixes #422295.
6924 * tests/check/libs/controller.c: (GST_START_TEST),
6925 (gst_controller_suite):
6926 Add a test case for the above.
6928 2007-05-03 Edward Hervey <edward@fluendo.com>
6930 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6931 Properly set the last_stop position on GstSegment. This will only happen
6932 if there is a buffer to push out.
6934 2007-05-03 Wim Taymans <wim@fluendo.com>
6936 * libs/gst/base/gstbasetransform.c:
6937 (gst_base_transform_buffer_alloc):
6938 always_in_place does not mean that the sink and source caps are the
6939 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6941 2007-05-03 Wim Taymans <wim@fluendo.com>
6943 * docs/libs/gstreamer-libs-sections.txt:
6944 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6945 (gst_base_src_default_query), (gst_base_src_get_range):
6946 * libs/gst/base/gstbasesrc.h:
6947 API: gst_base_src_query_latency(). Added method so that subclasses can
6948 easily get the latency values of the base source class.
6950 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6952 * tools/gst-inspect.c (print_implementation_info):
6955 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6957 * tools/Makefile.am:
6958 * tools/gst-launch.1.in:
6959 Don't create a customised man page based on the host architecture,
6960 describe the default registry path generically. That way the man
6961 page is the same for all architectures and packagers have one
6962 multilib issue less to deal with. Fixes #434926.
6964 2007-05-02 Wim Taymans <wim@fluendo.com>
6967 Fix documentation as spotted by rg on IRC.
6969 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6972 Improve docs for gst_element_{link,unlink}.
6974 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6976 * docs/design/part-events.txt:
6977 * docs/design/part-overview.txt:
6981 * libs/gst/base/gstbasesink.c:
6982 Typo fixes; minor docs addition.
6984 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6986 * docs/gst/gstreamer-sections.txt:
6987 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6988 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6990 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6991 or src that supports a given URI protocol exists.
6993 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6995 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6996 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6997 Set the location to NULL if "file://" is set as URI. Otherwise
6998 some random previous URI would still be set if "file://" is
6999 set on an already used filesink/filesrc.
7001 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7003 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7004 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7005 Special case the "file://" URI as as this is used by some
7006 applications to test with gst_element_make_from_uri if there's
7007 an element that supports the URI protocol.
7008 Also move the g_path_is_absolute() check for the location part
7009 of the URI to also check this for "file://localhost/bla" URIs.
7011 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7013 * docs/gst/gstreamer-sections.txt:
7014 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7016 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7018 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7020 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7022 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7023 (gst_registry_binary_load_pad_template),
7024 (gst_registry_binary_load_plugin),
7025 (gst_registry_binary_read_cache):
7026 * gst/gstregistrybinary.h:
7027 Implement no-mmap alternative for registry reading. Do code cleanups.
7028 Add more comments about avoiding strdups for all text data. Comments
7031 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7033 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7034 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7035 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7036 Comment structs and reformat to fix the build (that stuff should go
7037 into a priv. header).
7039 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7041 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7042 (gst_registry_binary_load_feature):
7043 * gst/gstregistrybinary.h:
7044 Refactor so that we can implement multiple features. Add support for
7045 TypeFindFactory features.
7047 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7049 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7052 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7054 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7056 * gst/gstbin.c: (gst_bin_element_set_state),
7057 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7058 (bin_handle_async_done), (gst_bin_handle_message_func):
7059 Fix build with --gst-disable-gst-debug
7061 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7063 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7064 Make sure streaming has finished before calling the ::stop() vfunc,
7065 since that vfunc might clear state which is being used in the
7066 streaming thread. This fixes a race that caused crashes in
7067 audioresample when shutting down a pipeline (#420106).
7069 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7071 * docs/gst/gstreamer-sections.txt:
7072 That was one byte missing.
7074 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7077 * docs/gst/gstreamer-sections.txt:
7079 * gst/gstconfig.h.in:
7080 * gst/gstobject.c: (gst_object_class_init),
7081 (gst_signal_object_class_init):
7083 2nd attempt to have a xml-less build as a joined effort of #413123
7086 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7088 * docs/design/draft-tagreading.txt:
7089 Added open issues/thoughts to draft.
7091 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7093 * gst/parse/grammar.tab.pre.c:
7094 * gst/parse/grammar.tab.pre.h:
7095 * gst/parse/lex._gst_parse_yy.pre.c:
7096 Update the prebuild parser sources.
7098 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7100 * gst/parse/Makefile.am:
7101 And now fix the building of the flex sources. Now everything should
7104 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7106 * gst/parse/Makefile.am:
7107 Now hopefully fix the build failures by setting proper rule
7108 dependencies and moving instead of copying.
7110 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7112 * tests/benchmarks/complexity.gnuplot:
7113 * tests/benchmarks/complexity.scm:
7114 * tests/benchmarks/mass-elements.gnuplot:
7115 * tests/benchmarks/mass-elements.scm:
7116 Total licensification.
7118 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7120 * gst/parse/Makefile.am:
7121 Fix the build by correcting the rule that gave wrong files to flex.
7123 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7125 * tests/benchmarks/complexity.c:
7126 * tests/benchmarks/mass-elements.c:
7127 Change licence to LGPL as granted by Benjamin and Andy.
7129 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7131 * gst/parse/Makefile.am:
7132 Add correct grammar.tab.h dependency if compiling without new enough
7133 flex. Fixes #431150.
7135 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7137 * gst/parse/Makefile.am:
7138 Fix typo and use outdated sources if the flex/bison sources are newer
7139 than the pregenerated ones but flex is too old. Print a warning in
7140 that case. This should fix the build on the build bot.
7142 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7144 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7145 * gst/parse/Makefile.am:
7146 * gst/parse/grammar.y:
7147 * gst/parse/parse.l:
7148 Make the parser reentrant and recursively callable. This requires flex
7149 >= 2.5.31, for older versions pregenerated sources are used as we
7150 can't bump the build dependency. Finally fixes #349180.
7152 * gst/gstparse.c: (gst_parse_launch):
7153 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7156 * docs/gst/Makefile.am:
7157 * docs/gst/Makefile.am:
7158 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7159 (__gst_parse_strfree), (__gst_parse_link_new),
7160 (__gst_parse_link_free), (__gst_parse_chain_new),
7161 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7162 (gst_parse_element_set), (gst_parse_free_link),
7163 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7164 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7165 (_gst_parse_launch):
7166 * gst/parse/grammar.tab.pre.h:
7167 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7168 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7169 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7170 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7171 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7172 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7173 (_gst_parse_yypop_buffer_state),
7174 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7175 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7176 (yy_fatal_error), (_gst_parse_yyget_extra),
7177 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7178 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7179 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7180 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7181 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7182 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7183 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7184 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7185 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7186 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7187 (_gst_parse_yyfree):
7188 If the installed flex version is too old use pre-generated parser
7189 sources. These pre-generated parser sources are always updated when
7190 the actual flex/bison sources change but require everybody who wants
7191 to change something in the parser to have flex >= 2.5.31 installed.
7193 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7195 * common/m4/gst-gettext.m4:
7196 * gst/gst-i18n-lib.h:
7197 Make --disable-nls to work
7199 2007-04-17 Wim Taymans <wim@fluendo.com>
7201 * gst/gstconfig.h.in:
7202 Revert previous change that broke the build.
7204 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7208 * gst/gstconfig.h.in:
7209 Drop libxml2 dependency when building with
7210 --enable-binary-registry --disable-loadsave
7212 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7214 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7215 (gst_registry_binary_read_cache):
7216 * gst/gstregistrybinary.h:
7217 Remove unnecessary <sys/mman.h> include which broke the win32 build
7218 with MingW; move includes from header file to .c file, even if the
7219 header file isn't installed; use g_strerror() where UTF-8 strings
7220 are expected, such as in GST_DEBUG messages.
7222 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7224 * docs/libs/gstreamer-libs-sections.txt:
7225 Remove bogus addition for API I didn't end up keeping.
7227 * libs/gst/base/gstbasesrc.h:
7228 Mention Since: 0.10.13 in the documentation.
7230 Add the API keyword to the previous ChangeLog entry.
7232 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7234 * docs/libs/gstreamer-libs-sections.txt:
7235 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7236 (gst_base_src_default_prepare_seek_segment),
7237 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7238 * libs/gst/base/gstbasesrc.h:
7239 Allow basesrc derived classes to execute seeks in other formats
7240 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7241 to prepare the GstSegment in any format that their perform_seek method
7242 will be able to understand. The default implementation provides the
7243 old behaviour of attempting to convert the seek offsets to the
7244 configured native format.
7246 API: basesrc::prepare_seek_segment vmethod.
7248 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7250 * gst/gstelement.c: (gst_element_get_state_func):
7251 Don't output the same debug statement twice.
7253 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7254 (gst_adapter_peek), (gst_adapter_take_buffer):
7255 Optimise the case where we have buffers at the head of the queue that
7256 can be joined quickly (because they're contiguous sub-buffers) by
7257 merging them together rather than copying data out into new memory.
7259 * gst/parse/grammar.y:
7260 * tests/check/pipelines/parse-launch.c:
7261 Fix a leak in an error path for parse_launch, and add a check
7262 for it to the testsuite.
7264 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7266 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7267 Don't deadlock when releasing a pad - gst_pad_set_active may try
7268 and take the multiqueue lock too.
7270 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7272 * gst/gsterror.c: (_gst_core_errors_init):
7274 API: add GST_CORE_ERROR_DISABLED (#392804).
7276 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7278 * docs/faq/gst-uninstalled:
7279 don't get empty paths on the PATH variables
7280 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7281 Don't format for the uncommon terminal width of 84 characters.
7283 2007-04-06 Wim Taymans <wim@fluendo.com>
7285 * gst/gstpipeline.c: (reset_stream_time),
7286 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7287 Only try to select a different pipeline clock when we went back to
7288 PAUSED and not when we merely got flushed.
7290 2007-04-05 Michael Smith <msmith@fluendo.com>
7292 * tools/gst-launch.1.in:
7293 fractions are better supported in gstreamer than ractions, so
7294 suggest using those.
7296 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7298 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7302 Added Danish translation.
7304 2007-04-05 Wim Taymans <wim@fluendo.com>
7306 * libs/gst/base/gstbasesink.c:
7307 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7308 Fix leak caused when refusing newsegment after EOS.
7310 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7311 (gst_fake_sink_init), (gst_fake_sink_set_property),
7312 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7313 (gst_fake_sink_render), (gst_fake_sink_change_state):
7314 * plugins/elements/gstfakesink.h:
7315 Add num-buffers property to make the element generate EOS after a
7316 configurable amount of buffers.
7317 API: fakesink::num-buffers property.
7319 * tests/check/elements/fakesink.c: (GST_START_TEST),
7321 Fix GstBus leak in test.
7322 Test for fakesink num-buffers.
7324 2007-04-05 Wim Taymans <wim@fluendo.com>
7326 * libs/gst/base/gstbasesink.c:
7327 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7328 (gst_base_sink_change_state):
7329 Don't accept anything after an EOS, return UNEXPECTED instead.
7331 * tests/check/elements/fakesink.c: (GST_START_TEST),
7333 Unit test for new EOS behaviour.
7335 2007-04-05 Wim Taymans <wim@fluendo.com>
7337 * gst/gstelement.c: (gst_element_get_request_pad):
7338 Make padtemplates also work when they don't contain %s or %d.
7340 2007-04-05 Wim Taymans <wim@fluendo.com>
7342 * docs/gst/gstreamer-sections.txt:
7343 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7344 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7346 Improve _adjust_unlocked() so that it overflows less.
7347 Add gst_clock_unadjust_unlocked to convert from external time to
7348 internal time based on calibration.
7349 Add some more debug.
7350 API: GstClock::gst_clock_unadjust_unlocked()
7352 2007-04-03 Wim Taymans <wim@fluendo.com>
7354 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7356 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7357 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7358 when releasing sink pad. Fixes #425400.
7360 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7362 * docs/random/ensonic/dynlink.txt:
7363 More work on proposal for new core api.
7365 * docs/libs/gstreamer-libs-sections.txt:
7366 * libs/gst/base/gstbasetransform.h:
7367 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7369 * libs/gst/controller/gstcontroller.c:
7370 (on_object_controlled_property_changed),
7371 (gst_controller_sync_values),
7372 (gst_controller_set_interpolation_mode):
7373 * libs/gst/controller/gstcontroller.h:
7374 Less verbose logging add docs for unimplemented parts and correctly
7375 return when using unavailable parts.
7377 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7379 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7380 Move all the debug to the CLOCK category, and associate it with
7383 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7385 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7386 Make take_buffer a bit quicker by removing redundant checks
7387 caused by calling gst_adapter_take.
7389 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7391 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7394 * tests/check/Makefile.am:
7395 * tests/check/elements/.cvsignore:
7396 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7397 (GST_START_TEST), (multiqueue_suite):
7398 Add some dead simple unit tests for the 'multiqueue' element
7399 (some bits don't work yet and are disabled for now).
7401 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7403 * gst/gstelement.c: (gst_element_get_request_pad),
7404 (gst_element_class_get_request_pad_template):
7405 Make gst_element_get_request_pad() create request pads only for
7406 request pad templates and not for, say, sometimes pad templates.
7408 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7410 * docs/design/draft-klass.txt:
7411 Add example that needs more thinking.
7413 * docs/design/draft-missing-plugins.txt:
7414 More thoughts about wrapper plugins.
7416 * docs/random/ensonic/embedded.txt:
7417 * docs/random/ensonic/profiling.txt:
7420 2007-03-25 Wim Taymans <wim@fluendo.com>
7422 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7423 (gst_base_src_loop):
7424 Only push the segment events in the PLAYING state for live sources.
7426 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7428 * gst/gstpipeline.c: (gst_pipeline_change_state):
7429 Modify the clock distribution path in PAUSED->PLAYING so that we
7430 never attempt to choose a new clock unless we're actually leaving
7431 the PAUSED state for the first time. This prevents choosing a
7432 different clock when the state_change gets called for a 2nd time due
7433 to some element doing an async state change.
7435 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7437 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7438 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7439 (gst_pad_chain_unchecked), (gst_pad_push):
7440 Revert last commit. This needs some more thoughts.
7442 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7444 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7445 (gst_pad_chain_unchecked), (gst_pad_push):
7446 Check in set_caps if the caps are compatible with the pad and remove
7447 two functions that are redundant now. Fixes #421543.
7449 2007-03-22 Wim Taymans <wim@fluendo.com>
7451 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7452 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7453 Unref some more to make valgrind happy.
7455 2007-03-22 Wim Taymans <wim@fluendo.com>
7457 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7458 (gst_system_clock_id_wait_jitter),
7459 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7460 Fix anoying regression that survived a few releases. When adding an
7461 async entry while blocking on a sync entry, the sync entry will unblock
7462 but still be busy, so it should continue to wait instead of returning
7464 Add some comments here and there.
7466 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7467 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7468 Add testcase for this.
7470 2007-03-22 Wim Taymans <wim@fluendo.com>
7472 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7473 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7474 WRONG_STATE and can silently pause the task. All other cases should
7477 2007-03-22 Wim Taymans <wim@fluendo.com>
7479 Patch by: Ville Syrjala <syrjala at sci dot fi>
7481 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7482 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7485 2007-03-21 Michael Smith <msmith@fluendo.com>
7487 * docs/pwg/advanced-types.xml:
7488 Fix some errors in the typefinding docs pointed out on irc.
7490 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7492 * libs/gst/base/gstbasesrc.c:
7493 Clarify FIXME comment in the face of having added unlock_stop()
7495 2007-03-21 Wim Taymans <wim@fluendo.com>
7497 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7498 Prepare for release where we warn against possible app breakage in the
7499 case of live pipelines along with an env var to enable/disable live
7500 preroll mode (GST_COMPAT=[no-]live-preroll).
7502 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7504 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7505 So we should use correct constants for checking for None offset.
7507 2007-03-20 Wim Taymans <wim@fluendo.com>
7509 * docs/design/part-block.txt:
7510 Mention the fact that the newly switched element should be set to at
7513 2007-03-20 Wim Taymans <wim@fluendo.com>
7516 Fix compilation with registry disabled as spotted by Saur.
7518 2007-03-20 Wim Taymans <wim@fluendo.com>
7520 Patch by: Olivier Crete <tester at tester dot ca>
7522 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7523 Look at the pending state too when syncing the element state to the
7524 parent. Fixes #420133.
7526 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7528 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7529 (gst_base_sink_change_state):
7530 * libs/gst/base/gstbasesink.h:
7531 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7532 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7533 (gst_base_src_deactivate):
7534 * libs/gst/base/gstbasesrc.h:
7535 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7536 for sub-classes to correctly clear any state they set trying to
7537 unlock, such as clearing out unlock commands from a command fd.
7538 API: basesrc::unlock_stop
7539 API: basesink::unlock_stop
7541 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7542 (gst_fd_sink_render), (gst_fd_sink_unlock),
7543 (gst_fd_sink_unlock_stop):
7544 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7545 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7546 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7548 Implement unlock_stop in fdsrc and fdsink.
7549 Implement seeking in fdsrc when a seekable fd is passed, as in
7550 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7552 2007-03-19 Wim Taymans <wim@fluendo.com>
7554 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7556 * gst/gstelement.c: (gst_element_class_init):
7557 Fix pad-added and pad-removed signal signatures so that the pad type is
7558 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7560 2007-03-19 Wim Taymans <wim@fluendo.com>
7562 * docs/gst/gstreamer-sections.txt:
7563 Add new element field and method.
7565 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7566 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7567 (gst_bin_recalc_state), (gst_bin_get_state_func),
7568 (gst_bin_element_set_state), (gst_bin_change_state_func),
7569 (gst_bin_continue_func), (bin_bus_handler),
7570 (bin_push_state_continue), (bin_handle_async_start),
7571 (bin_handle_async_done), (gst_bin_handle_message_func):
7572 Make async state changes a bit smarter by using new ASYNC_START and
7573 ASYNC_DONE messages. This reduces the number of times we run the state
7574 recalculation thread.
7575 Don't change state of element with a pending ASYNC_START message.
7576 Deprecate STATE_DIRTY messages.
7578 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7579 (gst_element_get_state_func), (gst_element_continue_state),
7580 (gst_element_lost_state), (gst_element_set_state_func),
7581 (gst_element_change_state):
7583 Keep the state that was last set by the app in a new element field.
7584 Don't allow state changes when handling an element event.
7585 Post ASYNC_START and ASYNC_DONE messages.
7586 Change lost_state so that we go to PAUSED and wait for the parent to set
7587 us to PLAYING again (so latency calculation can be performed)
7588 Export gst_element_change_state() method so that subclasses can use it.
7589 API: gst_element_change_state()
7590 API: GST_STATE_TARGET
7592 * gst/gstpipeline.c: (gst_pipeline_class_init),
7593 (reset_stream_time), (gst_pipeline_change_state),
7594 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7595 Using the new ASYNC_START message we can reset the base_time when
7596 needed. This can then be used to implement base_time redistribution in
7597 flushing seeks so that we can remove the explicit seek handling.
7598 Perform latency query and configuration when going to PLAYING.
7600 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7601 (gst_base_sink_query), (gst_base_sink_change_state):
7602 Post new ASYNC_START/ASYNC_DONE messages.
7604 * tests/check/generic/sinks.c: (GST_START_TEST):
7605 Fix test because the bin will not set the async element to PLAYING right
7608 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7609 Make the message check a little stronger.
7610 Handle ASYNC messages.
7612 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7613 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7614 Expect ASYNC_DONE messages.
7616 2007-03-19 Wim Taymans <wim@fluendo.com>
7618 * docs/gst/gstreamer-sections.txt:
7619 * gst/gstmessage.c: (gst_message_new_async_start),
7620 (gst_message_new_async_done), (gst_message_parse_info),
7621 (gst_message_parse_async_start):
7623 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7626 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7628 * tools/gst-inspect.c:
7629 (print_plugin_automatic_install_info_codecs):
7630 Now that we don't check for the 'Codec' keyword any longer in the
7631 klass, we shouldn't spew a warning if the klass isn't a decoder or
7632 encoder (since it might be a Source/Network, for example).
7634 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7636 * tools/gst-inspect.c:
7637 (print_plugin_automatic_install_info_codecs):
7638 Don't require decoder/demuxer/depayloader elements or
7639 encoder/muxer/paylader elements to have 'Codec' as part of their
7640 factory class string when introspecting a plugin's capabilities.
7641 draft-klass.txt mentions that it might be removed in future, and
7642 flump3dec doesn't have it as part of its class string, so chances
7643 are others might also not have it.
7645 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7667 Update translations from translation project
7669 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7671 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7672 (gst_child_proxy_set_property):
7673 Invert precondition check to be alike the ones in the mimiced gobject
7676 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7678 * docs/design/draft-tagreading.txt:
7679 * docs/random/ensonic/audiobaseclasses.txt:
7680 Do some Architect work.
7682 * gst/gstobject.c: (gst_object_set_name):
7686 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7688 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7690 * gst/gstsystemclock.c: (gst_system_clock_init),
7691 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7692 Defer starting the async system clock thread until the first async
7693 wait is scheduled. Fixes #414986.
7695 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7697 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7698 (gst_single_queue_free):
7699 Fix small leak (free GstSingleQueue structure too, not only contents).
7701 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7703 * gst/gstbin.c:(gst_bin_add):
7704 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7705 * win32/common/libgstbase.def:
7706 * win32/common/libgstreamer.def:
7707 Add new exported functions.
7709 2007-03-09 Wim Taymans <wim@fluendo.com>
7711 * docs/plugins/gstreamer-plugins-sections.txt:
7714 2007-03-09 Wim Taymans <wim@fluendo.com>
7716 * docs/gst/gstreamer-sections.txt:
7717 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7719 Add metadata copy functions. Fixes #393099.
7720 API: gst_buffer_copy_metadata()
7722 * gst/gstutils.c: (gst_buffer_stamp):
7723 * libs/gst/base/gstbasetransform.c:
7724 (gst_base_transform_prepare_output_buffer):
7725 Use new metadata copy functions.
7727 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7729 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7730 (gst_identity_init), (gst_identity_check_perfect),
7731 (gst_identity_check_imperfect_timestamp),
7732 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7733 (gst_identity_set_property), (gst_identity_get_property):
7734 * plugins/elements/gstidentity.h:
7735 Separate out check-imperfect-timestamp and check-imperfect-offset.
7736 Put back check-perfect as it was to keep compatibility.
7738 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7740 * gst/gstelement.c: (gst_element_dispose):
7741 There's no need to warn if VOID_PENDING is not NONE here, as
7742 long as the state is NULL it's ok, and that's checked immediately
7745 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7747 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7748 Fix check for perfect stream to ignore buffers with -1
7749 offsets/offset ends when checking data contiguity.
7751 2007-03-08 Wim Taymans <wim@fluendo.com>
7753 * tools/gst-launch.c: (event_loop):
7754 Print INFO messages.
7756 2007-03-08 Wim Taymans <wim@fluendo.com>
7758 * libs/gst/base/gstbasetransform.c:
7759 (gst_base_transform_sink_eventfunc),
7760 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7761 (gst_base_transform_activate):
7762 * libs/gst/base/gstbasetransform.h:
7763 Add support for dropping buffers with custom GstFlowReturn.
7764 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7765 buffers or dropped buffers.
7767 * docs/libs/gstreamer-libs-sections.txt:
7768 docs for new custom return code.
7770 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7771 Use drop support in base class to implement drop-probability.
7773 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7775 * gst/gst.c: (load_plugin_func):
7776 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7777 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7778 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7779 Remove newlines at end of debug log strings.
7781 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7783 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7784 Only post bus message at max, once per buffer received.
7786 2007-03-07 Wim Taymans <wim@fluendo.com>
7788 * docs/design/Makefile.am:
7789 * docs/design/part-synchronisation.txt:
7790 Add doc about synchronisation
7792 * docs/design/draft-latency.txt:
7793 * docs/design/part-TODO.txt:
7794 * docs/design/part-clocks.txt:
7795 * docs/design/part-events.txt:
7796 * docs/design/part-gstbus.txt:
7797 * docs/design/part-gstpipeline.txt:
7798 * docs/design/part-live-source.txt:
7799 * docs/design/part-messages.txt:
7800 * docs/design/part-overview.txt:
7801 * docs/design/part-streams.txt:
7802 * docs/design/part-trickmodes.txt:
7803 Documentation updates.
7805 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7808 Update the doap file.
7810 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7812 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7813 Rename non-perfect to imperfect for Mike and for the sanctity of the
7815 Also make sure bus message gets emitted for data-incontiguities.
7817 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7819 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7820 (gst_identity_start):
7821 * plugins/elements/gstidentity.h:
7822 Emit bus message if check-perfect is true and we encounter a
7823 non-perfect stream between 2 consecutive buffers.
7826 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7831 === release 0.10.12 ===
7833 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7836 releasing 0.10.12, "Inevitable Demise"
7838 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7841 Version 0.10.11.2 (0.10.12 pre-release)
7842 Bump libtool versioning.
7844 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7846 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7847 Log flow-names and not numbers.
7849 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7852 Convert to new AG_GST style.
7854 2007-02-28 Wim Taymans <wim@fluendo.com>
7856 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7857 Don't unref query twice.
7859 2007-02-28 Wim Taymans <wim@fluendo.com>
7861 * gst/gstvalue.c: (gst_value_transform_object_string),
7862 (_gst_value_initialize):
7863 Implement GstObject -> string transform so we print object names
7864 when serializing GValues containing GstObjects.
7866 2007-02-28 Wim Taymans <wim@fluendo.com>
7868 * docs/gst/gstreamer-sections.txt:
7869 Add new stuff to docs.
7871 2007-02-28 Wim Taymans <wim@fluendo.com>
7873 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7874 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7875 (gst_base_sink_change_state):
7876 Improve latency query code.
7877 Don't leak latency events.
7879 * tests/check/gst/gstbin.c: (GST_START_TEST):
7882 2007-02-28 Wim Taymans <wim@fluendo.com>
7884 * gst/gstelement.c: (gst_element_message_full),
7885 (gst_element_get_state_func):
7887 Improve docs a little. Added Since: for new macro.
7889 * gst/gstobject.c: (gst_object_sink):
7890 * gst/gstpipeline.c: (gst_pipeline_change_state),
7891 (gst_pipeline_set_new_stream_time):
7892 * gst/gstpipeline.h:
7893 Improve debugging and docs.
7895 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7898 2007-02-28 Wim Taymans <wim@fluendo.com>
7900 * gst/gstelement.c: (gst_element_message_full),
7901 (gst_element_set_locked_state), (gst_element_get_state_func),
7902 (gst_element_change_state):
7903 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7904 Documentation updates.
7905 Small code cleanups.
7907 * gst/gstmessage.c: (gst_message_new_info),
7908 (gst_message_parse_info):
7910 API: gst_message_new_info()
7911 API: gst_message_parse_info()
7912 Add INFO message create and parse code.
7914 2007-02-28 Wim Taymans <wim@fluendo.com>
7916 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7917 (bin_query_latency_done):
7918 Also report the live parameter of a latency query.
7920 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7922 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7923 Copy the current generic/states example from -base and adapt so
7924 we can use the exact same code everywhere.
7925 Check a STATES_IGNORE_ELEMENTS env var which can be used
7926 to ignore certain element factories for this test, which is
7927 what is being done in -base
7928 * tests/check/Makefile.am:
7929 Mention this environment variable.
7931 2007-02-27 Wim Taymans <wim@fluendo.com>
7933 * docs/gst/gstreamer-sections.txt:
7934 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7935 (gst_bus_timed_pop), (gst_bus_pop):
7937 API: gst_bus_timed_pop()
7938 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7939 message to arrive on the bus.
7941 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7943 Two unit tests for new _timed_pop() function.
7945 2007-02-23 Wim Taymans <wim@fluendo.com>
7947 * gst/gstpipeline.c: (gst_pipeline_change_state),
7948 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7949 Don't ref a NULL clock in _provide_clock_func().
7950 Don't allow an INVALID delay.
7951 Don't try to calculate base_time with an invalid start_time.
7952 Also distribute and notify a NULL clock when it was selected.
7954 * tools/gst-launch.c: (event_loop):
7955 Don't crash when a NULL clock was selected in the pipeline.
7957 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7959 * docs/design/Makefile.am:
7960 * docs/design/draft-missing-plugins.txt:
7961 * docs/random/draft-missing-plugins.txt:
7962 Some small updates: update plugin system identifier prefix
7963 ('gstreamer.net' to 'gstreamer'), mention our new install
7964 API in libgstbaseutils rather than libgimme-codec, add
7965 reference to the online docs.
7967 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7969 * win32/common/config.h:
7970 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7971 use moap cl ci to only check in what is mentioned in the ChangeLog.
7973 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7975 * docs/gst/gstreamer-sections.txt:
7977 Fix up documentation to link to the correct GstGError section.
7978 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7980 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7982 * tools/gst-launch.c: (event_loop):
7983 Make sure that we actually show the important message part of a
7985 No need to check if the gerror is not NULL to free; first of all
7986 g_free accepts NULL; and second the default error handler would
7987 segfault if gerror was NULL.
7989 2007-02-21 Wim Taymans <wim@fluendo.com>
7991 * docs/gst/gstreamer-sections.txt:
7992 Removed docs as well.
7994 2007-02-21 Wim Taymans <wim@fluendo.com>
7996 * gst/gstmessage.c: (gst_message_parse_duration):
7998 Remove new messages for release.
8000 2007-02-20 Wim Taymans <wim@fluendo.com>
8002 * docs/design/part-gstghostpad.txt:
8003 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8004 (gst_ghost_pad_new_full):
8005 Make the ghostpad a parent of the internal pad again for better backward
8006 compatibility. Don't write code that relies on this however.
8008 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8009 (gst_pad_link_check_hierarchy):
8010 Require that parents should be GstElements in the hierarchy check.
8012 2007-02-20 Wim Taymans <wim@fluendo.com>
8014 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8015 (gst_bin_change_state_func), (bin_query_min_max_init),
8016 (bin_query_latency_fold), (bin_query_latency_done),
8019 Implement latency query.
8021 2007-02-20 Wim Taymans <wim@fluendo.com>
8023 * docs/design/part-gstghostpad.txt:
8024 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8025 (gst_ghost_pad_internal_do_activate_push),
8026 (gst_ghost_pad_internal_do_activate_pull),
8027 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8028 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8029 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8030 Do not set the internal pad as a parent anymore so we can avoid
8031 hierarchy linking errors when the ghostpad has no parent yet. This also
8032 fixes failed activation because of unlinked internal pads, which in
8033 turn fixes the impossible case where you have to activate a pad before
8034 you can add it to a running element.
8037 * gst/gstpad.c: (pre_activate), (post_activate),
8038 (gst_pad_set_active), (gst_pad_activate_pull),
8039 (gst_pad_activate_push), (gst_pad_check_pull_range):
8040 Add some more debug info.
8041 Mark activation mode in pre_activate so that we don't try to activate in
8042 endless loops. Fixes #385084.
8044 2007-02-19 Wim Taymans <wim@fluendo.com>
8046 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8047 (gst_base_transform_check_get_range):
8048 Implement a checkgetrange function instead of relying on the default
8049 core behaviour that assumes we can operate in pull mode if we have a
8050 getrange function. First step at fixing #385084.
8052 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8054 * gst/gstchildproxy.h:
8055 * libs/gst/base/gstbasesink.h:
8056 * libs/gst/base/gstbasesrc.h:
8057 * libs/gst/base/gstbasetransform.h:
8058 More docs coverage and some ChangeLog surgery (add missing names)
8060 2007-02-15 Wim Taymans <wim@fluendo.com>
8062 * docs/design/part-TODO.txt:
8063 * docs/design/part-activation.txt:
8064 * docs/design/part-block.txt:
8065 * docs/design/part-buffering.txt:
8066 * docs/design/part-clocks.txt:
8067 * docs/design/part-element-source.txt:
8068 * docs/design/part-events.txt:
8069 * docs/design/part-gstbin.txt:
8070 * docs/design/part-gstbus.txt:
8071 * docs/design/part-gstpipeline.txt:
8072 * docs/design/part-live-source.txt:
8073 * docs/design/part-messages.txt:
8074 * docs/design/part-overview.txt:
8075 * docs/design/part-qos.txt:
8076 * docs/design/part-query.txt:
8077 * docs/design/part-states.txt:
8078 * docs/design/part-trickmodes.txt:
8079 Some doc updates. Start renaming from stream_time to running_time where
8080 it was used wrongly.
8082 2007-02-15 Wim Taymans <wim@fluendo.com>
8084 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8085 Answer LATENCY query.
8087 2007-02-15 Wim Taymans <wim@fluendo.com>
8089 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8093 2007-02-15 Wim Taymans <wim@fluendo.com>
8095 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8096 (gst_pad_dispatcher):
8097 Improve debugging of default pad dispatcher and query functions.
8099 2007-02-15 Wim Taymans <wim@fluendo.com>
8101 * docs/gst/gstreamer-sections.txt:
8102 Remove old unused method.
8104 2007-02-13 Wim Taymans <wim@fluendo.com>
8106 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8109 2007-02-13 Wim Taymans <wim@fluendo.com>
8111 * docs/design/part-seeking.txt:
8114 * gst/gstsegment.c: (gst_segment_set_seek):
8115 Revert old bogus change that should make seeking work again.
8117 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8119 * docs/random/ensonic/dynlink.txt:
8120 * docs/random/ensonic/interfaces.txt:
8121 * docs/random/ensonic/receipies.txt:
8122 Possible dynamic reconnection api, plus some type fixes the other two
8125 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8127 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8128 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8129 Also check for an absolute path following file:// in the filesrc
8130 element. Remove redundant check and call g_path_is_absolute() on the
8133 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8135 * docs/design/draft-klass.txt:
8136 Add existing category analysis.
8139 Fix doc example, framerate is a fraction.
8141 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8144 * docs/gst/Makefile.am:
8145 * docs/gst/gstreamer-sections.txt:
8146 * docs/libs/Makefile.am:
8147 Erm, forgot a bunch of --extra-dir.
8149 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8152 * docs/gst/Makefile.am:
8153 * docs/libs/Makefile.am:
8154 * docs/plugins/Makefile.am:
8155 Add crossreferences to glib/gobject docs.
8157 2007-02-12 Wim Taymans <wim@fluendo.com>
8159 * docs/design/draft-latency.txt:
8162 * docs/libs/gstreamer-libs-sections.txt:
8163 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8164 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8165 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8166 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8167 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8168 (gst_base_sink_get_position), (gst_base_sink_query),
8169 (gst_base_sink_change_state):
8170 * libs/gst/base/gstbasesink.h:
8171 API: gst_base_sink_query_latency() to let subclasses query the upstream
8173 API: gst_base_sink_get_latency() to let subclasses query the configured
8174 latency in the sink.
8175 Implement query and set latency.
8177 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8178 don't continue preroll when we are flushing. Fixes #405284.
8180 * tests/check/pipelines/stress.c: (change_state_timeout),
8181 (quit_timeout), (GST_START_TEST), (stress_suite):
8184 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8186 Patch by: René Stadler <mail at renestadler de>
8188 * docs/gst/gstreamer-sections.txt:
8189 * gst/gsttaglist.c: (_gst_tag_initialize):
8191 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8193 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8195 * docs/libs/Makefile.am:
8196 Fix path to core docs.
8198 * gst/gstbin.c: (gst_bin_get_by_interface),
8199 (gst_bin_iterate_all_by_interface):
8200 Refix docs by also renaming 'interface' to 'iface' in implementation.
8202 * docs/gst/gstreamer-sections.txt:
8204 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8205 * gst/gstchildproxy.h:
8206 * gst/gstelementfactory.c:
8207 * gst/gstpadtemplate.h:
8208 * libs/gst/controller/gstcontroller.c:
8209 (gst_controlled_property_new):
8212 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8214 * gst/gstbin.h:(gst_bin_get_by_interface),
8215 (gst_bin_iterate_all_by_interface):
8216 Replace interface parameter name by iface as interface is
8217 a reserved keyword in Visual Studio for C++ projects so it removes
8218 a build error for application developpers using VS.
8219 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8220 Fix a bug on Windows in uri format check. Now the prefix checked
8221 is file:// and next we check if the path after file:// is absolute.
8222 * win32/common/libgstbase.def:
8223 * win32/common/libgstdataprotocol.def:
8224 * win32/common/libgstgstreamer.def:
8225 Add new exported functions.
8227 2007-02-09 Andy Wingo <wingo@pobox.com>
8229 * tests/check/pipelines/simple-launch-lines.c
8230 (simple_launch_lines_suite, test_tee): Disable tee test until I
8231 have time to fix it :-(
8233 * tests/check/Makefile.am (noinst_HEADERS):
8234 * tests/check/libs/libsabi.c:
8235 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8236 * tests/check/gst/gstabi.c:
8237 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8239 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8240 tests for push and pull tee behavior.
8242 * plugins/elements/gsttee.h:
8243 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8244 mark as deprecated as well as unimplemented. It was a crack idea.
8245 Add support for tee operating in pull mode, off by default.
8247 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8248 normal-case logs down to LOG, raise errors to WARNING.
8249 (gst_registry_xml_read_cache): Don't log before calling a function
8252 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8253 exit (registry finalize).
8254 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8255 DEBUG log when we emit signals that people don't even have the
8256 chance to connect to.
8257 (gst_registry_scan_path_level): Less logging in the normal case.
8259 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8261 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8263 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8264 Correctly generate EOS for non-seekable files. We don't have a total
8265 length for them and would get an unexpected end of file if we only
8266 special-cased for regular files. (Fixes: #404569)
8268 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8270 * tests/check/elements/filesrc.c: (GST_START_TEST),
8272 Add unit test for the GstURIHandler interface in filesrc. This also
8273 tests the newly added file://localhost/foo/bar support.
8275 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8277 * gst/gstelementfactory.h:
8278 The klass string is not a hierarchy. Add reference to the design doc
8279 for more information and common types.
8281 2007-02-02 Wim Taymans <wim@fluendo.com>
8283 * gst/gstquery.c: (gst_query_new_latency):
8284 Remove old structure field.
8286 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8288 * tools/gst-launch.1.in:
8289 Give example for network streaming (#351998)
8291 2007-02-02 Wim Taymans <wim@fluendo.com>
8293 * docs/gst/gstreamer-sections.txt:
8294 Add docs for new methods.
8296 * gst/gstevent.c: (gst_event_new_latency),
8297 (gst_event_parse_latency):
8299 Add new LATENCY event to configure latency in a pipeline.
8300 API: gst_event_new_latency
8301 API: gst_event_parse_latency
8303 * gst/gstmessage.c: (gst_message_new_buffering),
8304 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8305 (gst_message_new_latency), (gst_message_parse_buffering),
8306 (gst_message_parse_lost_preroll):
8308 Added messages used in draft-latency.
8309 API: gst_message_new_lost_preroll
8310 API: gst_message_parse_lost_preroll
8311 API: gst_message_new_prerolled
8312 API: gst_message_new_latency
8314 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8315 (gst_query_parse_latency):
8317 Implemented new latency query as in design doc.
8318 API: gst_query_new_latency
8319 API: gst_query_set_latency
8320 API: gst_query_parse_latency
8322 2007-02-02 Wim Taymans <wim@fluendo.com>
8324 * docs/design/draft-latency.txt:
8325 Slight redesign to allow for dynamic latency adjustments.
8327 * docs/design/part-negotiation.txt:
8330 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8332 reviewed by: Wim Taymans <wim@fluendo.com>
8334 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8335 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8336 Allow file://localhost/foo/bar URLs and correctly fail for every other
8337 hostname that one sets. This was gnomevfssrc is linked for those if
8338 installed as it can handle it (#403172)
8340 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8342 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8344 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8345 (unref_data), (gst_collect_pads_add_pad_full):
8346 * libs/gst/base/gstcollectpads.h:
8347 Don't put the previously added destroy notify in the GstCollectData
8348 struct as all it's padding is already used and we don't want to break
8349 ABI. Instead put in the pad's GObject data for now. This should be
8350 cleaned up for 0.11 (#402393).
8352 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8354 reviewed by: Wim Taymans <wim@fluendo.com>
8356 * docs/libs/gstreamer-libs-sections.txt:
8357 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8358 (unref_data), (gst_collect_pads_add_pad),
8359 (gst_collect_pads_add_pad_full):
8360 * libs/gst/base/gstcollectpads.h:
8361 API: Add function to specify a destroy notification for custom
8362 GstCollectData when adding new pads in GstCollectPads (#402393).
8364 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8367 Update Swedish translation (#378255).
8369 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8371 * docs/design/draft-klass.txt:
8372 Fix the previous change, this is a list of categories and not a hierarchy.
8374 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8376 * docs/design/draft-klass.txt:
8377 Add info about how to get a list of used classes.
8379 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8381 * plugins/elements/gsttypefindelement.c:
8382 (gst_type_find_element_chain_do_typefinding),
8383 (gst_type_find_element_change_state):
8384 Don't leak found caps in chain function (no idea why that never
8385 showed up as a leak anywhere).
8387 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8390 Fix and expand GstPluginDesc API docs.
8392 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8395 * gst/gstelementfactory.c:
8396 * gst/gstpadtemplate.h:
8399 * libs/gst/controller/gstcontroller.c:
8400 (gst_controlled_property_new):
8401 * tests/examples/controller/audio-example.c:
8404 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8407 comment about refining the xml deps
8410 comments about moving away from jade for docs
8413 recommit the ifdefs to use the binary registry
8415 * gst/gstbin.c: (gst_bin_change_state_func):
8416 this break is obsolete
8418 * gst/gstelementfactory.h:
8419 better GST_ELEMENT_DETAILS docs, add comment about translation
8424 * gst/gstobject.c: (gst_signal_object_get_type):
8425 add G_UNLIKELY as usual
8427 * gst/gstpad.c: (gst_pad_event_default):
8428 add fall trhu comment
8430 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8431 (gst_registry_binary_initialize_magic),
8432 (gst_registry_binary_save_string),
8433 (gst_registry_binary_save_pad_template),
8434 (gst_registry_binary_save_feature),
8435 (gst_registry_binary_save_plugin),
8436 (gst_registry_binary_write_cache),
8437 (gst_registry_binary_check_magic),
8438 (gst_registry_binary_load_pad_template),
8439 (gst_registry_binary_load_feature),
8440 (gst_registry_binary_load_plugin),
8441 (gst_registry_binary_read_cache):
8442 comment typo and formatting
8444 * gst/gstutils.c: (gst_element_state_get_name),
8445 (gst_element_state_change_return_get_name):
8446 remove obsolete breaks
8448 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8449 add FIXME 0.11 and remove cpp comment
8451 2007-01-29 Edward Hervey <edward@fluendo.com>
8453 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8454 Fix print statement in an even more portable way.
8456 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8458 * docs/gst/gstreamer-sections.txt:
8460 API: add GST_ROUND_DOWN_* macros (#401781).
8462 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8464 * docs/gst/gstreamer.types.in:
8465 * gst/gstregistry.c: (gst_registry_class_init):
8466 Document registry signals and make gtk-doc pick them up (#401381).
8468 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8470 * docs/pwg/building-testapp.xml:
8471 Add some audioconverts and audioresample to the pipeline, and some
8472 more comments and error handling.
8474 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8476 * docs/manual/manual.xml:
8480 2007-01-26 Wim Taymans <wim@fluendo.com>
8482 * gst/gstcaps.c: (gst_static_caps_get):
8483 Init caps flags too.
8485 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8487 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8489 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8490 If not using mmap'ed files try to seek to the end instead of the
8491 start to determine whether we can seek at all. This fixes the case
8492 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8493 seeks for everything afterwards fail. Fixes #400656
8495 2007-01-25 Wim Taymans <wim@fluendo.com>
8497 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8498 Add some refcount debugging.
8499 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8500 in multiple streaming threads.
8502 2007-01-25 Wim Taymans <wim@fluendo.com>
8504 Patch by: David Schleef <ds at schleef dot org>
8506 * docs/libs/gstreamer-libs-sections.txt:
8507 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8508 * libs/gst/base/gstadapter.h:
8509 API: gst_adapter_copy() that can reduce the amount of memcpy when
8510 getting data from the adapter. Fixes #388201.
8512 2007-01-25 Edward Hervey <edward@fluendo.com>
8514 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8515 In print statements, "%x" is for guint. Fixes build on macosx.
8517 2007-01-24 Edward Hervey <edward@fluendo.com>
8519 * plugins/elements/gstmultiqueue.c:
8520 (gst_multi_queue_loop):
8522 (single_queue_overrun_cb), (single_queue_underrun_cb),
8523 (single_queue_check_full), (gst_single_queue_new):
8524 Implement single queue growth system.
8525 This uses the extra-size properties, and will grow single queues by
8526 that much if one goes full whereas there are others empty. This is
8527 called extra-mode in the code.
8528 When a single queue's levels go back below the initial max-size
8529 limits, it is no longer in extra-mode. This is to ensure we don't
8530 consume too much memory.
8533 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8535 * gst/gst.c: (gst_init_get_option_group):
8536 Make warning about late g_thread_init() calls a bit more explicit,
8537 so that it's more obvious to application developers what they need
8538 to do if a user files a bug against their application.
8540 2007-01-22 Edward Hervey <edward@fluendo.com>
8542 * plugins/elements/gstmultiqueue.c:
8543 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8544 Remove previous hack of unsetting the flushing flag for the source pad
8545 instead of activating it. Instead, fix the source pad activate function
8546 so that it no longer depends on having a parent set or not.
8548 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8550 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8552 * docs/manual/basics-bus.xml:
8553 Fix example code, gst_element_unref() doesn't exist any longer.
8555 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8557 Patch by: Mark Nauwelaerts <manauw at skynet be>
8560 Fix two docs typoes (#399094).
8562 2007-01-19 Edward Hervey <edward@fluendo.com>
8564 * docs/faq/gst-uninstalled:
8565 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8566 depending on libgstbaseutils can work in uninstalled environment.
8568 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8571 * gst/gsttagsetter.c:
8572 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8573 statement for new tag.
8575 2007-01-17 Edward Hervey <edward@fluendo.com>
8577 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8578 When dynamically creating single queues, activate sinkpad before adding
8580 We should be doing the same thing for the source pad, but we can't
8581 since it would call a method which needs the parent to be set in order
8582 to work propertly. Instead of activating the source pad, we just unset
8583 the flushing flag, which is the minimal requirement for adding a pad
8584 to an element in a state greater than READY.
8586 2007-01-17 Edward Hervey <edward@fluendo.com>
8588 * docs/faq/gst-uninstalled:
8589 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8592 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8594 * tests/check/gst/gstabi.c:
8595 * tests/check/gst/struct_hppa.h:
8596 * tests/check/libs/libsabi.c:
8597 * tests/check/libs/struct_hppa.h:
8598 Add ABI structs for HPPA (see #393796).
8600 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8602 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8603 Actually write ABI structs to the file specified in the GST_ABI
8604 environment variable, as the message we print claims we would.
8606 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8608 * tests/check/gst/gsttask.c:
8611 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8613 * gst/gsttaglist.c: (_gst_tag_initialize):
8614 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8615 previous two entries.
8617 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8619 * docs/gst/gstreamer-sections.txt:
8620 * gst/gsttaglist.c: (_gst_tag_initialize):
8622 Add tag support for beat-per-minute.
8624 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8626 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8627 (gst_registry_binary_initialize_magic),
8628 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8629 (gst_registry_binary_save_pad_template),
8630 (gst_registry_binary_save_feature),
8631 (gst_registry_binary_save_plugin),
8632 (gst_registry_binary_write_cache),
8633 (gst_registry_binary_check_magic),
8634 (gst_registry_binary_load_pad_template),
8635 (gst_registry_binary_load_feature),
8636 (gst_registry_binary_load_plugin),
8637 (gst_registry_binary_read_cache):
8638 * gst/gstregistrybinary.h:
8639 Use glib types, cleanup comments, impement interfaces and uri-types.
8641 2007-01-13 Andy Wingo <wingo@pobox.com>
8643 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8644 getrange() to return buffers with other caps, while we fix
8645 demuxers and typefind, or otherwise change part-negotiation.txt.
8647 2007-01-12 Andy Wingo <wingo@pobox.com>
8649 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8650 Factor start/stop into this private function instead of partially
8651 in activate functions and partially in the change_state function.
8652 Fixes setup before the element has changed from READY->PAUSED, as
8653 is the case in pull-mode pipelines.
8654 (gst_base_transform_sink_activate_push)
8655 (gst_base_transform_src_activate_pull): Refactor to use
8656 gst_base_transform_activate().
8657 (gst_base_transform_change_state): Removed, not needed any more.
8659 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8660 Truncate before fixating.
8662 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8663 Don't set_caps() if the result of fixating is ANY, as it's not
8664 supported, and not necessary in the case of a link with no
8665 template caps on either side. Fixes tests/check/libs/basesrc in
8666 some pull-mode tests.
8668 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8669 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8670 (gst_base_transform_src_activate_pull):
8671 Track the activation mode.
8672 (gst_base_transform_setcaps): In pull mode, when activating the
8673 src pad, after activating the sink pad, activate the sink pad's
8674 peer, as discussed in part-negotiation.txt.
8676 * libs/gst/base/gstbasesrc.h:
8677 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8678 vmethod, as in basesink.
8680 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8682 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8683 mode, first proxy the setcaps to the peer pad.
8684 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8686 (gst_base_sink_default_activate_pull): Rename from
8687 gst_base_sink_activate_pull.
8688 (gst_base_sink_negotiate_pull): New function, performs negotiation
8689 in pull mode before calling ::activate_pull().
8690 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8691 vmethod instead of the default implementation. I have no idea how
8692 this worked before. Negotiate before calling activate_pull.
8694 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8695 sink pads in pull mode. In addition to being correct, fixes
8696 filesrc ! decodebin ! identity ! fakesink.
8697 (gst_pad_get_range, gst_pad_pull_range): Don't call
8698 gst_pad_set_caps() if the caps changes; instead error out with
8699 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8701 2007-01-12 Andy Wingo <wingo@pobox.com>
8703 * docs/design/part-negotiation.txt: Update with more policy.
8705 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8707 * libs/gst/check/gstbufferstraw.h:
8708 * libs/gst/check/gstcheck.h:
8709 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8712 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8714 * tests/check/Makefile.am:
8715 * tests/check/gst/.cvsignore:
8716 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8717 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8718 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8719 (GST_START_TEST), (gst_tag_setter_suite):
8720 Add minimal unit test for beforementioned GstTagSetter bug.
8722 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8724 Patch by: René Stadler <mail at renestadler dot de>
8726 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8727 gst_tag_list_merge() returns a new list, so it's not the best idea
8728 to ingore its return value. Effectively meant that tags could only
8729 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8730 Also add function guard to require a non-NULL taglist as input (has
8731 always been so due to gst_tag_list_copy(), just making it explicit).
8733 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8735 * docs/random/draft-missing-plugins.txt:
8736 Some additions: mention new API that is supposed to be used at the
8737 various stages; short blob about new gst-inspect introspection
8738 option; mention potential future problem with plugins that have
8739 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8741 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8743 * tools/gst-inspect.c:
8744 (print_plugin_automatic_install_info_codecs),
8745 (print_plugin_automatic_install_info_protocols),
8746 (print_plugin_automatic_install_info), (main):
8747 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8748 introspect plugin files and get machine-parsable output that corresponds
8749 to the last bit of the missing-plugin installer string (small gotcha:
8750 doesn't take into account ranks).
8752 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8755 * docs/gst/gstreamer-sections.txt:
8757 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8758 (gst_registry_lookup_locked):
8759 * gst/gstregistry.h:
8760 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8761 (gst_registry_binary_initialize_magic),
8762 (gst_registry_binary_save_string),
8763 (gst_registry_binary_save_pad_template),
8764 (gst_registry_binary_save_feature),
8765 (gst_registry_binary_save_plugin),
8766 (gst_registry_binary_write_cache),
8767 (gst_registry_binary_check_magic),
8768 (gst_registry_binary_load_pad_template),
8769 (gst_registry_binary_load_feature),
8770 (gst_registry_binary_load_plugin),
8771 (gst_registry_binary_read_cache):
8772 * gst/gstregistrybinary.h:
8773 * gst/gstregistryxml.c: (load_feature),
8774 (gst_registry_xml_read_cache):
8775 commit binary registry (disabled by default, see #359653)
8777 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8779 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8780 Fix 'make check' too.
8782 2007-01-10 Andy Wingo <wingo@pobox.com>
8784 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8787 * docs/design/part-negotiation.txt: Update with, um, one way that
8788 pull-mode negotiation might work?
8791 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8792 that the pad must be a src pad; makes sense to call it the other
8793 way in pull mode, and the logic is symmetric anyway.
8795 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8797 * plugins/elements/gstfilesink.c:
8798 Include <stdio.h> for fseeko().
8800 2007-01-10 Wim Taymans <wim@fluendo.com>
8804 Reserve LATENCY event.
8806 2007-01-09 Wim Taymans <wim@fluendo.com>
8808 * docs/design/draft-latency.txt:
8811 2007-01-09 Wim Taymans <wim@fluendo.com>
8813 * docs/design/draft-latency.txt:
8817 * gst/gststructure.c:
8821 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8823 * tests/check/.cvsignore:
8824 Ignore test-registry.xml as well.
8826 2007-01-09 Wim Taymans <wim@fluendo.com>
8828 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8829 unref data at the end when we are done with the pad.
8831 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8833 * docs/gst/gstreamer-sections.txt:
8834 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8835 (init_post), (gst_deinit), (gst_update_registry):
8837 API: add gst_update_registry() (#391296).
8839 * tests/check/Makefile.am:
8840 * tests/check/gst/gstregistry.c:
8841 * tests/check/gst/.cvsignore:
8842 Simple unit test for the above.
8844 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8846 * gst/gstregistry.c: (gst_registry_scan_path_level):
8847 Plugin extension on HP-UX is .sl, add that to the list of approved
8848 plugin extensions (see #393796).
8850 * tests/check/gst/gstpad.c: (GST_START_TEST):
8851 ulong => gulong. Fixes compilation with HP-UX compiler.
8853 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8854 Fix compilation if valgrind headers are not available.
8856 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8858 * win32/common/libgstreamer.def:
8859 Add new exported function.
8860 * win32/vs6/libgstbase.dsp:
8861 Add gstdataqueue.c to the build.
8862 * win32/vs6/libgstcoreelements.dsp:
8863 Add gstmultiqueue.c to the build.
8865 2007-01-06 Andy Wingo <wingo@pobox.com>
8867 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8868 activate_pull(), providing for a way to specialize the process of
8869 spawning a thread to pull on the sink pad. There is a default
8872 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8873 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8874 (gst_base_sink_init): Renamed pad activation functions (inserting
8875 "_pad" in their names). Refactor to use the new activate_pull
8876 vmethod, as appropriate.
8877 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8878 default activate_pull function to start a task pulling from the
8879 sink pad, as before.
8881 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8882 on the pads if necessary, as in push()/chain(). Update docs.
8883 Shouldn't affect existing pull() usage as it is currently only
8884 being used on buffers without caps.
8886 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8888 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8890 Call g_thread_init() first thing in gst_init() / gst_check_init().
8891 When initialisation is done via gst_init_get_option_group() and
8892 GOption parsing, issue a warning if the GLib thread system has not
8893 been initialised yet by the time gst_init_get_option_group() is
8894 called, as it's quite likely other GLib functions such as
8895 g_option_context_new() have been called already then, and
8896 g_thread_init() must be called before any other GLib function. The
8897 application in question must be fixed in that case, since memory
8898 corruption might happen otherwise.
8899 We issue the warning because even if the GLib folks decide to work
8900 around the problem on their end in future, this is still an issue
8901 with all GLib versions >= 2.10.0, so we should warn until we depend
8902 on a GLib version we know to be safe.
8903 Update documentation as well.
8906 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8908 * tools/gst-inspect.c: (main):
8909 * tools/gst-launch.c: (main):
8910 * tools/gst-typefind.c: (main):
8911 * tools/gst-xmlinspect.c: (main):
8912 Call g_thread_init() really really early, before any other GLib
8913 function (see #342564 and recent discussion on gtk-devel-list).
8915 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8917 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8919 * gst/gst_private.h:
8920 * gst/gstconfig.h.in:
8922 On win32, all the __declspec stuff for symbol exporting is
8923 apparently only needed with MSVC, but doesn't work with MingW.
8924 Fixes compilation with MingW and #391909.
8926 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8928 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8929 Change some GST_ERROR_OBJECT that aren't really errors to
8930 GST_WARNING_OBJECT in order to reduce terminal spam.
8932 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8934 * tests/check/Makefile.am:
8935 disable test again, as there seem to be still race problems
8937 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8939 * tests/check/Makefile.am:
8940 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8941 (GST_START_TEST), (queue_suite):
8942 enable queue test again, add tests for the leaky behaviour
8944 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8947 * tests/examples/Makefile.am:
8948 Compile adapter test/example only if the required headers are
8949 available (fixes #391915).
8951 2007-01-01 David Schleef <ds@schleef.org>
8954 Restore the previous signal handler for SIGSEGV instead of
8955 setting to default, since we may have stolen it away from
8956 someone. (i.e., Mono)
8958 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8960 * docs/random/draft-missing-plugins.txt:
8961 Some small additions and clarifications.
8963 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8965 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8966 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8967 since that can lead to random memory corruptions and crashes
8968 (may or may not be related to #383244, #386711, and #386711).
8970 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8972 * tests/check/.cvsignore:
8973 * tests/check/Makefile.am:
8974 sync .cvsignome and CLEANFILES
8976 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8978 * tests/check/Makefile.am:
8981 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8983 * docs/design/part-states.txt:
8984 two tiny additional comments
8986 * gst/gststructure.c:
8989 * tests/check/Makefile.am:
8990 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8992 disable test for now, unless it gets fixed
8994 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8996 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8998 fix race in underrun test
9000 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9002 * tests/check/elements/.cvsignore:
9005 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9007 try to narrow test failure
9009 2006-12-21 David Schleef <ds@schleef.org>
9011 * plugins/elements/gstfakesrc.c:
9012 Use g_random_int_range(), since it produces better random
9013 numbers in a range than almost-correct floating point code.
9015 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9017 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9018 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9019 (gst_check_teardown_sink_pad):
9020 do not automatically (de)activate pads
9022 * tests/check/Makefile.am:
9023 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9024 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9025 add new, yet simple tests for queue
9027 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9028 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9029 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9031 * tests/check/elements/identity.c: (cleanup_identity):
9032 consistent pad (de)activation
9034 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9036 Patch by: Sebastian Dröge <slomo ubuntu com>
9038 * libs/gst/base/gstcollectpads.c:
9039 Fix two doc typos (#387866).
9041 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9043 * docs/manual/advanced-dparams.xml:
9044 Fix typo (g_object_control_properties() doesn't exist).
9046 2006-12-19 Edward Hervey <edward@fluendo.com>
9048 * gst/gstsegment.c: (gst_segment_set_seek):
9049 Fine tune the cases where the segment start/stop values are really
9051 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9052 Add tests for the return values of gst_segment_set_seek().
9054 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9059 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9061 Fix incorrect documentation and flesh it out a bit more.
9062 Set default values for the max properties on the GParamSpec as well,
9063 so it shows up correctly in gst-inspect.
9065 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9067 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9068 Correct docs of queue, add more detail and crosslink it more.
9070 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9072 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9073 Print additional debug info when the stream isn't perfectly
9074 timestamped; don't try to use invalid durations.
9076 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9078 * docs/design/Makefile.am:
9079 Dist new design docs.
9081 2006-12-16 Wim Taymans <wim@fluendo.com>
9083 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9085 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9086 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9087 (gst_collect_pads_stop), (gst_collect_pads_event),
9088 (gst_collect_pads_chain):
9089 * libs/gst/base/gstcollectpads.h:
9090 Add refcounting to the collectpads data so we can track when it's safe
9091 to free the data. Fixes #383382.
9093 2006-12-15 Wim Taymans <wim@fluendo.com>
9095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9096 (gst_collect_pads_remove_pad):
9097 Automatically activate/deactivate pads when they are added to a
9098 started/stoped collectpads.
9100 2006-12-15 Wim Taymans <wim@fluendo.com>
9102 * gst/gstelement.c: (gst_element_add_pad):
9103 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9104 * gst/gstpad.c: (gst_pad_init):
9105 Set pads to FLUSHING when they are created. Check, warn and fix when a
9106 demuxer adds an inactive pad to itself when running. Fixes #339326.
9108 2006-12-15 Wim Taymans <wim@fluendo.com>
9110 * gst/gstelement.c: (gst_element_class_init),
9111 (gst_element_default_send_event), (gst_element_send_event),
9112 (gst_element_default_query), (gst_element_query):
9113 Expose default element send_event and query handling as vmethods that
9114 subclasses can chain up to.
9116 2006-12-15 Wim Taymans <wim@fluendo.com>
9118 * gst/gstelement.c: (gst_element_set_state_func):
9119 Small documentation fixes.
9121 2006-12-15 Wim Taymans <wim@fluendo.com>
9123 * docs/design/draft-latency.txt:
9124 Checked in draft for handling latency in pipelines.
9126 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9130 * gstreamer.spec.in:
9133 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9135 * gst/gst.c: (init_pre), (init_post):
9136 init_pre() and init_post() might be called via our GOptionGroup or
9137 from gst_init(), and we should skip both of them if we've already
9138 been initialised, otherwise we will init some things twice or add
9139 two default log functions.
9141 2006-12-13 Edward Hervey <edward@fluendo.com>
9143 * docs/manual/basics-bus.xml:
9144 No, gst_main_loop does not exist. Its g_main_loop.
9145 Discovered by somebody who abused the copy-paste technique of coding :)
9147 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9149 * gst/gstghostpad.c:
9150 Log ghostpad debug stuff to the GST_PADS category as well rather
9151 than just to the default category.
9153 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9156 * gst/gst.c: (init_pre):
9157 Add some basic system details such as OS and architecture
9158 to the debug output if possible, courtesy of uname().
9160 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9162 * docs/gst/running.xml:
9163 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9164 environment variables.
9166 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9168 * tests/check/gst/gstbin.c: (GST_START_TEST):
9169 It is acceptable to have a refcount of 2 or 3 at this point in the
9170 test, because the pipeline might be just posting its state_change
9171 message. The next line then waits for that message to appear using
9172 bus_poll, so that should be fine too.
9174 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9176 * gst/gst.c: (ensure_current_registry_forking):
9177 Ignore EINTR when reading from the child registry pipe.
9178 Explicitly ignore the return value from close, since it makes no
9181 * gst/gstminiobject.c: (gst_mini_object_ref),
9182 (gst_mini_object_unref):
9183 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9185 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9186 When removing cached plugins, remove their features too, so they're
9187 not visible after they've disappeared.
9189 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9190 In the unlikely case that we are linking pads with no parents, don't
9191 crash trying to get the non-existent parent bin.
9193 * gst/parse/grammar.y:
9194 Output debug in the PIPELINE category
9196 2005-03-08 Wim Taymans <wim@fluendo.com>
9198 Patch by: René Stadler <mail at renestadler dot de>
9200 * gst/gstclock.c: (gst_clock_new_periodic_id):
9201 Reject invalid clock times for interval of periodic ids.
9204 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9206 * gst/gstelementfactory.c: (gst_element_factory_create):
9207 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9208 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9209 * tools/gst-inspect.c: (print_element_info):
9210 Fix refcounting of gst_plugin_feature_load to match the docs.
9213 2006-12-07 Wim Taymans <wim@fluendo.com>
9215 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9216 (gst_base_sink_get_position):
9217 Improve debugging of events.
9219 2006-12-07 Wim Taymans <wim@fluendo.com>
9221 Patch by: René Stadler <mail at renestadler dot de>
9223 * gst/gstclock.c: (gst_clock_id_wait):
9224 Make period ids add the interval to the origial requested time instead
9225 of the possibly updated time which can be wrong when there are multiple
9226 waiters for the same id. Fixes #382592.
9228 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9229 (gst_system_clock_id_wait_jitter_unlocked),
9230 (gst_system_clock_id_wait_jitter):
9231 Fix restart in the async notify thread when an async entry is added to
9232 the front of the list. Fixes #381492.
9234 * tests/check/gst/gstsystemclock.c: (store_callback),
9235 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9236 Added test for multiple async waits.
9237 Added test for async wait order.
9239 2006-12-07 Wim Taymans <wim@fluendo.com>
9241 * gst/gstbin.c: (gst_bin_query):
9242 Add some more docs about the POSITION query.
9244 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9247 Bump version nano - back to CVS.
9249 === release 0.10.11 ===
9251 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9254 releasing 0.10.11, "Love never runs on time"
9256 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9258 * win32/common/libgstbase.def:
9259 * win32/common/libgstreamer.def:
9260 * win32/vs8/libgstbase.vcproj:
9261 * win32/vs8/libgstcoreelements.vcproj:
9262 * win32/vs8/libgstreamer.vcproj:
9263 Fix compilation on win32 under VS8
9264 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9265 Partially fixes #381175
9267 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9269 * gst/gstvalue.c: (gst_value_compare_fraction):
9270 If someone is foolish enough to compare 2 fractions with denominator =
9271 0, return UNORDERED rather than aborting.
9273 2006-11-28 Edward Hervey <edward@fluendo.com>
9275 * libs/gst/base/Makefile.am:
9276 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9277 (gst_data_queue_base_init), (gst_data_queue_class_init),
9278 (gst_data_queue_init), (gst_data_queue_new),
9279 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9280 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9281 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9282 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9283 (gst_data_queue_set_flushing), (gst_data_queue_push),
9284 (gst_data_queue_pop), (gst_data_queue_drop_head),
9285 (gst_data_queue_set_property), (gst_data_queue_get_property):
9286 * libs/gst/base/gstdataqueue.h:
9287 New GstDataQueue object for threadsafe queueing. Most useful for
9288 elements that need some queueing functionnality.
9289 * docs/libs/gstreamer-libs-docs.sgml:
9290 * docs/libs/gstreamer-libs-sections.txt:
9291 Insert documentation for GstDataQueue
9292 * plugins/elements/Makefile.am:
9293 * plugins/elements/gstelements.c:
9294 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9295 (gst_multi_queue_class_init), (gst_multi_queue_init),
9296 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9297 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9298 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9299 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9300 (gst_multi_queue_loop), (gst_multi_queue_chain),
9301 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9302 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9303 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9304 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9305 (wake_up_next_non_linked), (compute_next_non_linked),
9306 (single_queue_overrun_cb), (single_queue_underrun_cb),
9307 (single_queue_check_full), (gst_single_queue_new):
9308 * plugins/elements/gstmultiqueue.h:
9309 New multiqueue element, using GstDataQueue. Used for queuing multiple
9311 Closes #344639 and #347785
9313 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9315 * docs/pwg/advanced-types.xml:
9316 add more missing type details
9318 * tools/gst-run.c: (main):
9319 remove unused variable
9321 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9323 * docs/libs/Makefile.am:
9324 * docs/libs/gstreamer-libs.types:
9325 add types of base classes to enable gobject specific stuff in the docs
9327 * docs/random/ensonic/embedded.txt:
9328 more ideas about isolating platform specific things
9330 2006-11-20 Wim Taymans <wim@fluendo.com>
9332 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9334 * libs/gst/check/gstcheck.h:
9335 Fix compilation and running against 0.9.4. Fixes #377332.
9337 2006-11-20 Wim Taymans <wim@fluendo.com>
9339 * gst/gstsegment.c: (gst_segment_set_seek),
9340 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9341 (gst_segment_to_running_time):
9342 Fix boundary checking in to_running_time() and to_stream_time().
9345 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9346 stream and running time can now be calculated for the complete
9349 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9351 * gst/gstpad.c: (gst_pad_push_event):
9352 Can't access event structure after giving away ownership of
9355 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9357 * docs/random/ensonic/embedded.txt:
9358 * docs/random/ensonic/profiling.txt:
9359 * docs/random/ensonic/receipies.txt:
9362 2006-11-13 Wim Taymans <wim@fluendo.com>
9364 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9367 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9369 2006-11-13 Wim Taymans <wim@fluendo.com>
9371 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9373 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9374 Store new length in segment duration so we don't keep on calling the
9375 potentially expensize get_size() call. Fixes #370865.
9377 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9379 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9381 * win32/common/libgstreamer.def:
9382 Add two missing symbols (#366492).
9384 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9386 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9387 (gst_adapter_take_buffer):
9388 Fix format string to use all its arguments.
9389 Remove useless >= check on a guint
9391 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9393 * tests/examples/adapter/.cvsignore:
9394 Ignore build file as commanded by the build-bot
9396 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9398 * tests/examples/adapter/Makefile.am:
9399 * tests/examples/adapter/adapter_test.c: (run_test_take),
9400 (run_test_take_buffer), (run_tests), (main):
9402 Add new files from the previous commit
9404 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9408 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9409 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9410 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9411 * libs/gst/base/gstadapter.h:
9412 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9413 (GST_START_TEST), (gst_adapter_suite):
9414 * tests/examples/Makefile.am:
9415 Do some optimisation work in GstAdapter to avoid copies in more cases.
9416 It could still do slightly better by merging buffers when
9417 gst_buffer_is_span_fast is true, but is already faster.
9419 Also, avoid traversing a single-linked list to append each incoming
9420 buffer inside the adapter.
9422 Add simple test app that times the adapter behaviour in different
9423 situations, and extend the unit test to check that bytes enter and
9424 exit the adapter in their original order.
9426 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9428 * docs/random/draft-missing-plugins.txt:
9429 Update: use element message instead of adding a new message
9430 type to the core; don't provide GStreamer API to initiate the
9431 plugin download, just provide API to compose the strings needed
9432 and let an external libgimmestuff handle the rest.
9434 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9436 * tools/gst-inspect.c: (print_element_properties_info):
9437 Print a string instead of 'unknown type' for GValueArray properties
9439 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9441 * docs/random/draft-missing-plugins.txt:
9444 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9446 * tests/examples/typefind/typefind.c: (type_found), (main):
9447 Make typefind element example work again (#371894); add a
9450 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9452 * docs/random/draft-missing-plugins.txt:
9453 Commit initial draft about how to deal with missing plugins,
9454 needs work (API too).
9456 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9458 * docs/pwg/advanced-types.xml:
9459 documents the new caps elements (see #363118)
9461 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9463 * gst/gstplugin.c: (gst_plugin_load_file):
9464 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9465 (gst_file_src_map_region), (gst_file_src_start):
9466 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9467 (gst_file_index_commit):
9468 Use g_strerror() instead of strerror() - we want UTF-8.
9470 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9472 Patch by: Peter Kjellerstedt <pkj at axis com>
9474 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9475 Another printf fix (#371493).
9477 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9479 * tests/check/gst/gsttag.c:
9480 relicence (okay with author=company)
9482 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9484 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9485 (gst_pad_push_event):
9486 Enhance debug and improve docs
9491 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9493 * docs/random/ensonic/distributed.txt:
9494 * docs/random/ensonic/profiling.txt:
9497 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9499 * docs/gst/gstreamer-sections.txt:
9500 add new API and fix the build
9502 * gst/gstbin.c: (gst_bin_recalc_state):
9503 * gst/gstelement.c: (gst_element_message_full),
9504 (gst_element_get_state_func), (gst_element_set_state_func):
9505 use new API and improve logging
9507 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9509 API: add function to get StateChangereturn names to improve logs
9511 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9513 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9514 I'm considering shooting the next person to put strerror stuff
9515 in the translateable part of the message.
9517 2006-11-03 Wim Taymans <wim@fluendo.com>
9519 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9520 Get the type and printf conversion specifiers right.
9522 2006-11-03 Wim Taymans <wim@fluendo.com>
9524 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9526 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9527 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9528 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9529 Some small cleanups. Improve debugging.
9531 Signal all waiting threads with a broadcast instead of just one.
9534 2006-11-03 Wim Taymans <wim@fluendo.com>
9536 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9537 (gst_fd_src_create):
9539 Only update fd when it's different from the old.
9541 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9543 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9544 Printf fixes for PPC/OSX, take two (#369366).
9546 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9548 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9550 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9551 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9552 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9553 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9554 don't cast to long long for portability reasons, but use
9555 GLib's types instead.
9557 2006-10-30 Michael Smith <msmith@fluendo.com>
9559 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9560 Get the arguments to lseek() the right way around.
9563 2006-10-30 Wim Taymans <wim@fluendo.com>
9565 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9568 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9570 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9572 Patch by: Kjartan Maraas <kmaraas at gnome org>
9574 * docs/design/part-MT-refcounting.txt:
9575 * docs/random/wtay/capsnego2-docs:
9578 Typo fixes (#366212).
9580 2006-10-28 Wim Taymans <wim@fluendo.com>
9582 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9585 * win32/common/libgstbase.def:
9586 * win32/common/libgstreamer.def:
9587 * win32/vs8/libgstbase.vcproj:
9588 * win32/vs8/libgstcontroller.vcproj:
9589 Add needed entries in .def files.
9591 Rearrange def files in vs8 solutions. Fixes #366286.
9593 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9595 * win32/common/gstconfig.h:
9596 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9597 hand-made win32 gstconfig.h. Fixes #366321.
9599 2006-10-27 Wim Taymans <wim@fluendo.com>
9601 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9602 (gst_ghost_pad_new_full):
9603 Make acceptcaps return TRUE when we don't have a target, just like
9606 2006-10-27 Wim Taymans <wim@fluendo.com>
9608 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9609 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9611 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9613 * gst/gststructure.c: (gst_structure_id_set_value):
9614 If someone tries to set a non-UTF8 string field on a structure,
9615 don't just print a warning, but also ignore the request and do
9616 not change/add that field to the structure.
9618 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9621 2006-10-25 David Schleef <ds@schleef.org>
9624 g_hash_table_insert() needs a cast to a non-const pointer duh.
9626 2006-10-25 David Schleef <ds@schleef.org>
9630 Change name parameter of _gst_debug_register_funcptr to const
9631 to reflect the constness of its use in the function as well
9632 as to quiet a gcc warning.
9634 2006-10-25 Edward Hervey <edward@fluendo.com>
9636 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9637 Don't push the buffer if it's empty.
9640 2006-10-24 Wim Taymans <wim@fluendo.com>
9645 * libs/gst/base/gstbasetransform.c:
9646 (gst_base_transform_sink_eventfunc):
9647 Debug segment values *after* updating them as this is more
9650 2006-10-23 Wim Taymans <wim@fluendo.com>
9652 * docs/design/part-events.txt:
9655 * docs/design/part-block.txt:
9656 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9657 (gst_pad_push_event):
9658 Revert BLOCKING patch, it tries to be smart without really having a
9659 clear idea what or how. So, now we discard all FLUSHING events again on
9660 a blocking pad. Should fix gnonlin again.
9662 2006-10-23 Wim Taymans <wim@fluendo.com>
9664 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9666 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9667 (gst_base_src_start), (gst_base_src_activate_push):
9668 Make sure size is always initialized. Fixes #364388.
9670 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9672 * docs/random/ensonic/distributed.txt:
9673 add some ideas about doing distributed processing
9675 * docs/random/ensonic/profiling.txt:
9676 get_rusage look promising
9678 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9680 * docs/manual/basics-helloworld.xml:
9681 Add a cast in example to fix compile warning
9683 2006-10-18 Wim Taymans <wim@fluendo.com>
9685 * gst/gstsegment.c: (gst_segment_set_last_stop),
9686 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9687 Relax arg checking again, -1 is allowed.
9689 2006-10-18 Wim Taymans <wim@fluendo.com>
9691 * gst/gstsegment.c: (gst_segment_set_last_stop),
9692 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9693 _set_last_stop() must be with a value != -1
9694 A _TYPE_SET to -1 means seek to 0.
9695 Calc last_stop correctly for negative rates.
9696 Make sure we work with positive durations when updating a segment.
9698 2006-10-18 Wim Taymans <wim@fluendo.com>
9700 * docs/design/part-live-source.txt:
9704 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9707 Add an explicit cast to GstBuffer** to keep old code that added an
9708 explicit cast to GstMiniObject** for gst_mini_object_replace()
9709 compiling without warning.
9711 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9713 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9714 check for validity of dates
9716 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9718 * docs/gst/gstreamer-sections.txt:
9719 Forgot this one, makes gtk-doc shut up.
9721 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9723 Patch by: Peter Kjellerstedt <pkj at axis com>
9726 Don't define xmlNodePtr to gpointer if the core was built with
9727 --disable-loadsave and --disable-registry, this will break
9728 applications that want to use libxml2 but are buildling against a
9729 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9730 instead so we don't have to mess with the libxml2 namespace
9733 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9736 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9737 type-punned pointer warnings.
9739 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9742 Add casts to the correct return type to state <=> state transition
9745 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9747 * docs/design/part-live-source.txt:
9748 describe howto handle latency
9750 * docs/random/ensonic/profiling.txt:
9753 * tools/gst-plot-timeline.py:
9754 fix log parsing for solaris, remove unused function
9756 2006-10-16 Wim Taymans <wim@fluendo.com>
9758 * docs/design/part-trickmodes.txt:
9760 Update some docs regarding reverse playback.
9762 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9764 Patch by: Marcus Granado <mrc dot gran at gmail com>
9766 * win32/vs8/grammar.vcproj:
9767 Error out with a warning if glib-genmarshal.exe is not in path,
9768 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9770 2006-10-13 Wim Taymans <wim@fluendo.com>
9772 * gst/gstsegment.c: (gst_segment_set_seek):
9773 When seeking to stop -1, set last_stop (current position) to the
9774 duration of the segment.
9776 2006-10-13 Wim Taymans <wim@fluendo.com>
9779 Clarify _NO_PREROLL a bit more.
9784 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9785 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9786 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9787 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9788 due to wrong locking order. Fixes #361769.
9789 Remove some redundant/misplaced checks in pad_block.
9791 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9792 For negative rates, count backwards from the duration.
9794 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9796 * gst/gsterror.c: (_gst_library_errors_init):
9797 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9798 up with something better).
9800 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9802 * win32/vs6/libgstreamer.dsp:
9803 * win32/vs7/libgstreamer.vcproj:
9804 * win32/vs8/libgstreamer.vcproj:
9805 Don't reference glib-compat.c which is currently not used and not
9806 disted; add gstquark.c which was recently added. Fixes #361730.
9808 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9810 * win32/common/libgstbase.def:
9811 * win32/common/libgstcontroller.def:
9812 * win32/common/libgstreamer.def:
9813 Add gst_caps_merge() and a bunch of other recently-added functions.
9816 2006-10-11 Wim Taymans <wim@fluendo.com>
9818 * docs/plugins/gstreamer-plugins.args:
9819 * docs/plugins/inspect/plugin-coreelements.xml:
9820 * docs/plugins/inspect/plugin-coreindexers.xml:
9821 Update element args.
9823 * gst/gstsystemclock.c:
9824 Small comment update.
9826 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9827 (gst_tee_request_new_pad), (gst_tee_release_pad),
9828 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9829 (gst_tee_sink_activate_pull):
9830 * plugins/elements/gsttee.h:
9832 Add default property defines.
9833 Implement release pad function.
9834 Give properties better blubs etc.
9835 Activate pads before adding them to a running tee.
9836 Do simple buffer_alloc on the first requested pad.
9837 Post error when activation fails.
9839 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9841 * gst/gst.c: (ensure_current_registry_forking):
9842 Check return value of write() to make compiler happy.
9844 2006-10-11 Wim Taymans <wim@fluendo.com>
9846 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9848 * plugins/elements/gstqueue.c: (gst_queue_chain):
9849 Recheck queue filledness after signalling the overrun when we're about
9850 to leak downstream because we released the lock when emitting the signal
9851 and the queue could be empty again. Fixes #352345.
9853 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9855 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9856 Fix refcounting here too, just like we did for _new_valist() a few
9857 days ago (#357180) (thanks to René Stadler). Also remove all those
9858 'Since: 0.9' from the gtk-doc blobs.
9860 * tests/check/libs/controller.c: (controller_refcount_new_list),
9861 (gst_controller_suite):
9862 Unit test for the above.
9864 2006-10-10 Wim Taymans <wim@fluendo.com>
9866 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9868 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9869 (gst_pad_save_thyself):
9871 Write pad direction in XML output. Fixes #345496.
9873 2006-10-10 Wim Taymans <wim@fluendo.com>
9875 Patch by: René Stadler <mail at renestadler dot de>
9877 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9878 (gst_controller_new_list), (_gst_controller_dispose),
9879 (_gst_controller_finalize), (_gst_controller_class_init):
9880 Take ref to controlled object so that it cannot disappear.
9883 2006-10-10 Wim Taymans <wim@fluendo.com>
9885 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9886 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9887 (gst_check_teardown_sink_pad):
9888 Activate/deactivate pads in setup/teardown respectively.
9890 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9892 Patch by: Josep Torra Valles <josep@fluendo.com>
9895 Cast values when making gstenumtypes.h. This pacifies Forte
9896 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9899 2006-10-09 Wim Taymans <wim@fluendo.com>
9901 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9902 Rename some more @cur to @start to fix docs.
9904 * gst/gstsegment.c: (gst_segment_set_seek):
9906 time and start must always stay in sync as defined in design doc.
9908 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9909 Rename param to fix docs.
9911 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9912 Check that start and time are in sync.
9914 * tests/check/pipelines/parse-launch.c:
9915 (gst_parse_test_element_change_state):
9916 Activate pad before adding to the element.
9918 2006-10-09 Wim Taymans <wim@fluendo.com>
9920 * docs/design/part-qos.txt:
9925 Update seek event docs regarding negative rates.
9926 Rename @cur to @start.
9928 * gst/gstsegment.c: (gst_segment_set_seek):
9930 Update set_seek docs regarding negative rates.
9931 Correctly update last_stop to @stop when dealing with negative
9933 Rename @cur to @start.
9935 * tests/check/gst/gstpad.c: (GST_START_TEST):
9936 Activate pads before trying to use them.
9938 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9939 (gst_segment_suite):
9940 Add simple check for segments and negative rates.
9942 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9944 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9946 * docs/gst/gstreamer-sections.txt:
9947 API: add gst_tag_list_is_empty() (#360467).
9949 * tests/check/gst/gsttag.c: (GST_START_TEST):
9952 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9955 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9956 a value that doesn't fit on enumeration.
9958 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9960 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9961 Remove local debugging system and use Gstreamer's instead.
9963 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9965 Patch by: Josep Torra Valles <josep@fluendo.com>
9967 * common/m4/gst-error.m4:
9968 Disable warning of statement not reached on Forte.
9970 Fix warning on Forte (value doesn't fit on enumeration).
9971 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9972 Fix warning on Forte (value doesn't fit on enumeration).
9973 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9974 DEBUG macro says it takes minimum of 2 args and so Forte
9975 complains about the use with just 1 arg.
9976 * plugins/elements/gstfdsink.c:
9977 * plugins/elements/gstfdsrc.c:
9978 * plugins/elements/gstfilesink.c:
9979 * plugins/elements/gstfilesrc.c:
9980 Use correct return type for the uri handler implementations.
9982 All these fix warnings in Forte. Fixes bug #360860.
9984 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9987 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9988 format string, so don't use G_GNUC_PRINTF for those versions.
9990 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9992 * gst/gsttaglist.c: (gst_is_tag_list):
9994 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9996 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9997 Small test for the above.
9999 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10001 * gst/gsttaglist.h:
10002 Less tabs, more spaces.
10004 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10007 Those two function declarations do actually belong there, revert
10008 commit from yesterday that turned them intro macros.
10010 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10012 Patch by: Josep Torra Valles <josep@fluendo.com>
10014 * gst/gst.c: (gst_init_get_option_group):
10015 Fix empty declaration and type mismatch.
10016 * gst/gstbin.c: (gst_bin_change_state_func):
10018 * gst/gstelement.c: (gst_element_continue_state),
10019 (gst_element_set_state_func), (gst_element_change_state),
10020 (gst_element_change_state_func):
10021 Fix type mismatches.
10022 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10023 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10024 Cast as appropriate.
10025 * gst/gstobject.c: (gst_class_signal_connect):
10026 Cast as appropriate. The function pointer parameter really
10027 has the wrong type but would break API if we change it.
10029 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10030 order of including string.h.
10031 * gst/gstutils.c: (gst_element_state_get_name):
10032 Remove unreachable line.
10033 * gst/gstxml.c: (gst_xml_parse_doc):
10035 All these caught by Forte.
10037 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10039 Patch by: Josep Torra Valles <josep@fluendo.com>
10041 * common/m4/gst-error.m4:
10043 We need to disable warnings on Forte for empty declarations
10044 due to gst-indent adding ;s to lines that just use macros
10045 where the macro actually doesn't need a ; at end to end
10048 2006-10-06 Wim Taymans <wim@fluendo.com>
10050 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10051 (gst_file_sink_close_file), (gst_file_sink_event),
10052 (gst_file_sink_render):
10053 Add some FIXME for the NEWSEGMENT handling.
10055 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10057 * gst/parse/grammar.y:
10058 Remove static function gst_parse_element_lock as all it does
10059 is return. Looks like cruft from 0.8.
10061 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10063 Patch by: Josep Torra Valles <josep@fluendo.com>
10065 * common/m4/gst-error.m4:
10067 * libs/gst/net/Makefile.am:
10068 Fix a compilation issue with Forte on Solaris. inet_aton is in
10071 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10073 * gst/gstpad.c: (pre_activate):
10074 * gst/gstregistry.c: (gst_registry_scan_path_level):
10075 * gst/gstregistryxml.c: (load_plugin):
10076 * libs/gst/controller/gstcontroller.c:
10077 (gst_controlled_property_set_interpolation_mode):
10078 * libs/gst/dataprotocol/dataprotocol.c:
10079 (gst_dp_packet_from_event_1_0):
10080 * libs/gst/net/gstnetclientclock.c:
10081 (gst_net_client_clock_observe_times):
10082 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10085 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10088 * docs/gst/gstreamer-sections.txt:
10089 * gst/gstconfig.h.in:
10090 * gst/gstelement.h:
10092 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10093 whether we can use G_GNUC_PRINTF in other header files and at
10094 least check the printf format/arguments of debug messages and
10095 GST_ELEMENT_ERROR messages when the printf extension is not
10097 Replace more tabs with spaces in gstinfo.h and remove two spurious
10098 function declarations in GST_DISABLE_DEBUG part with macros.
10100 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10102 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10103 More docs for the sync-message signal (mention that it is not
10104 emitted by default); log message structures of messages posted on
10107 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10109 * gst/gst.c: (ensure_current_registry_forking):
10110 Use a pipe pair to receive status results from the forked child, and
10111 ignore the result from waitpid. Fixes #355499
10113 2006-10-02 Wim Taymans <wim@fluendo.com>
10115 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10116 (gst_ghost_pad_suite):
10119 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10122 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10124 2006-10-02 Edward Hervey <edward@fluendo.com>
10126 * docs/design/part-block.txt:
10127 Further explain the use of flushing on blocked pads.
10128 * docs/gst/gstreamer-sections.txt:
10129 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10130 (gst_pad_push_event):
10132 Added new GstPadFlag : GST_PAD_BLOCKING.
10133 Adds the notion of pads really blocking, which enables to properly
10134 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10136 API: gst_pad_is_blocking()
10137 API: GST_PAD_IS_BLOCKING() macro
10138 API: GST_PAD_BLOCKING GstPadFlag
10140 2006-10-02 Wim Taymans <wim@fluendo.com>
10142 Patch by: mrcgran <mrc.gran at gmail dot com>
10144 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10145 Filter the proxied caps against the padtemplate if we have one.
10147 * gst/gstquery.c: (gst_query_new_segment):
10148 Add include for gstinfo.h so that compilation with
10149 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10151 2006-10-02 Wim Taymans <wim@fluendo.com>
10153 Patch by: Alessandro Decina <alessandro at nnva org>
10155 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10156 (gst_file_sink_set_location), (gst_file_sink_open_file),
10157 (gst_file_sink_close_file), (gst_file_sink_event),
10158 (gst_file_sink_render):
10159 Set file to NULL when closing filesink so that we can set a new filename
10160 in READY. Fixes #358613.
10162 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10164 Patch by: Alessandro Decina <alessandro at nnva org>
10166 * gst/gstevent.c: (_gst_event_copy):
10167 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10168 with event structures by setting the parent refcount address of the
10169 copied structure to the address of the refcount member of the newly
10170 copied event rather than the address of the refcount member of the
10171 original event. Fixes #358737.
10173 * tests/check/gst/gstevent.c: (GST_START_TEST):
10174 Unit test for the above.
10176 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10178 * docs/design/Makefile.am:
10179 Dist some more files.
10181 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10183 * tests/check/libs/controller.c: (GST_START_TEST),
10184 (gst_controller_suite):
10185 Add test for the previous fix; add some more tests
10186 for correct refcounting behaviour; fix a few leaks
10187 in test cases; call gst_controller_init() at start
10190 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10192 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10193 (gst_controller_set_from_list):
10194 Don't g_return_val_if_fail() on timed values with invalid timestamps
10195 inside a critical section without unlocking the mutex. Spotted by
10196 René Stadler. (#357617)
10197 Also, fix up refcounting properly: when returning an existing
10198 controller, we should increase the reference only once and not
10199 once per property and when trying to control a property again
10200 we should also increase the refcount.
10202 2006-09-29 Wim Taymans <wim@fluendo.com>
10204 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10205 * libs/gst/net/gstnettimeprovider.c:
10206 (gst_net_time_provider_thread):
10207 Stop reading commands when EOF as well.
10209 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10210 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10211 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10212 Unify description of the dump property.
10214 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10216 * tests/examples/manual/.cvsignore:
10217 OK, so it's actually cvsignore that needs changing. Stop laughing.
10219 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10221 * tests/examples/manual/Makefile.am:
10222 Gah, declare vars *before* using them
10224 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10226 * gst/gst.c: (init_pre), (scan_and_update_registry),
10227 (ensure_current_registry_nonforking),
10228 (ensure_current_registry_forking), (ensure_current_registry),
10229 (init_post), (gst_debug_help), (gst_deinit):
10230 * gst/gst_private.h:
10231 * gst/gstregistry.c: (gst_registry_finalize),
10232 (gst_registry_remove_features_for_plugin_unlocked),
10233 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10234 (gst_registry_scan_path),
10235 (_priv_gst_registry_remove_cache_plugins),
10236 (_priv_gst_registry_cleanup):
10237 * gst/gstregistry.h:
10238 Re-commit the registry changes, along with an extra fix:
10239 When a cached plugin is encountered at a different file path,
10240 update the stored path in the registry cache so that the parent
10241 process knows where it actually is now when it re-reads the registry
10242 cache. Fixes the thing that broke distcheck with the previous commit.
10244 * tests/check/Makefile.am:
10245 Clean up files named 'core' too when running make clean.
10247 * tests/examples/manual/Makefile.am:
10248 Set up a registry path for running these tests, and clean it properly
10251 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10254 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10255 want gmodule-no-export-2.0.pc instead so that we don't drag in
10256 --export-dynamic on every project that links to GStreamer.
10258 Also, make our export regex only match the start of symbols, rather
10259 than any symbol that contains '_gst' somewhere.
10261 * libs/gst/check/Makefile.am:
10262 The libgstcheck we build does however need export-dynamic, as it
10263 produces some symbols that don't match our _gst... style regex.
10266 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10268 * gst/gst.c: (init_pre), (scan_and_update_registry),
10269 (ensure_current_registry_nonforking),
10270 (ensure_current_registry_forking), (ensure_current_registry),
10271 (init_post), (gst_debug_help), (gst_deinit):
10272 * gst/gst_private.h:
10273 * gst/gstregistry.c: (gst_registry_finalize),
10274 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10275 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10276 (_gst_registry_cleanup):
10277 * gst/gstregistry.h:
10278 Revert previous change until I figure out why it breaks distcheck.
10280 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10282 * gst/gst.c: (init_pre), (scan_and_update_registry),
10283 (ensure_current_registry_nonforking),
10284 (ensure_current_registry_forking), (ensure_current_registry),
10285 (init_post), (gst_debug_help), (gst_deinit):
10287 Make init_pre and init_post take the full complement of GOptionFunc
10288 args so they can return useful GErrors. Make the registry updating
10291 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10292 ensure that the registry we're about to write out doesn't contain
10293 stale information about old-deleted plugin files.
10295 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10296 that deletion of plugin files is considered a registry change.
10298 * gst/gst_private.h:
10299 * gst/gstregistry.c: (gst_registry_finalize),
10300 (gst_registry_remove_features_for_plugin_unlocked),
10301 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10302 (gst_registry_scan_path),
10303 (_priv_gst_registry_remove_cache_plugins),
10304 (_priv_gst_registry_cleanup):
10305 * gst/gstregistry.h:
10306 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10307 by adding _priv prefix, so that they won't appear in the global
10308 symbol table. They still do atm though because of #318031. Move the
10309 prototypes to gst_private.h
10311 When removing a plugin, remove all features for that plugin too.
10314 2006-09-27 Wim Taymans <wim@fluendo.com>
10316 * docs/random/moving-plugins:
10317 Make it clear that the "compiled-in descriptions" really mean
10318 the element details.
10320 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10321 (gst_base_sink_wait_preroll):
10324 * docs/libs/gstreamer-libs-sections.txt:
10325 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10326 (gst_base_src_get_range), (gst_base_src_activate_push):
10327 * libs/gst/base/gstbasesrc.h:
10328 Added function to block while waiting for PLAYING, this function
10329 is used by live sources that block on the clock.
10330 API: gst_base_src_wait_playing()
10332 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10334 Patch by: Peter Kjellerstedt <pkj at axis com>
10337 gst-element-check.m4 is generated and should therefore be
10338 copied from the build dir rather than the source dir (#357593).
10339 'make distcheck' hasn't noticed this because we were disting
10340 the file as well, so stop doing that.
10342 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10344 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10345 Add some tests for gst_caps_intersect().
10347 * tools/gst-launch.c: (event_loop):
10348 Print all buffering percentages we get, even the 100% one.
10350 2006-09-26 Wim Taymans <wim@fluendo.com>
10352 * tools/gst-inspect.c: (print_element_properties_info),
10353 (print_signal_info):
10354 Fix printing of flags to match the look of enums.
10356 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10358 * gst/gstelementfactory.c:
10359 Fix typo in docs blurb.
10361 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10363 * gst/gsturi.c: (search_by_entry):
10364 Don't assert/crash here if a uri handler doesn't return any
10365 supported protocols. The list of protocols could be generated
10366 dynamically at runtime or at plugin registration, and an error
10367 in the underlying library shouldn't be fatal (#353301).
10369 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10372 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10373 (spotted by Peter Kjellerstedt).
10375 2006-09-23 Wim Taymans <wim@fluendo.com>
10377 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10379 * libs/gst/base/gstbasesrc.c:
10380 (gst_base_src_default_check_get_range), (gst_base_src_start),
10381 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10382 (gst_base_src_change_state):
10383 Match _start/_stop calls in the activate functions. Remove redundant
10384 _stop call from the state change function. Fixes #356910.
10385 Turn failure DEBUG into ERROR.
10387 2006-09-22 Wim Taymans <wim@fluendo.com>
10389 * docs/design/part-buffering.txt:
10390 * gst/gstmessage.c: (gst_message_new_buffering),
10391 (gst_message_parse_buffering):
10392 Update docs about buffering.
10394 * docs/design/part-trickmodes.txt:
10397 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10399 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10400 (gst_controller_new_list):
10401 Ref instances when returning them again (fixes #357180)
10403 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10405 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10406 Don't forget to release proxy lock when there's an error.
10408 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10411 Add extra initialisers for Caps things, to fix some plugin warnings
10414 2006-09-18 Wim Taymans <wim@fluendo.com>
10416 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10417 Also set template on the internal pad so that a getcaps from the
10418 target pad returns the template caps.
10420 2006-09-18 Wim Taymans <wim@fluendo.com>
10422 * gst/gstelement.c: (gst_element_post_message),
10423 (gst_element_dispose):
10424 Use _DEBUG_OBJECT some more.
10426 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10429 * tools/gst-launch.c: (main):
10430 If the toplevel element is not a GstPipeline, it must be put in a
10431 pipeline so that a bus and clock is selected.
10433 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10435 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10436 JITTER, RATE, and LATENCY query should be handled by the
10437 default case and not by the CONVERT query code.
10439 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10441 * gst/gstformat.c: (gst_format_register):
10442 Fix locking order (must take lock before using n_values).
10444 * gst/gstvalue.c: (gst_value_serialize_enum),
10445 (gst_value_deserialize_enum_iter_cmp),
10446 (gst_value_deserialize_enum):
10447 Fix serialisation/deserialisation of custom registered GstFormats.
10449 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10450 Unit test for custom format serialisation/deserialisation.
10452 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10454 * docs/pwg/building-boiler.xml:
10455 * plugins/elements/gstcapsfilter.c:
10456 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10459 2006-09-16 Edward Hervey <edward@fluendo.com>
10461 * libs/gst/base/gstbasetransform.c:
10462 (gst_base_transform_buffer_alloc):
10463 Check if requested caps are the same as the sinks caps IF
10464 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10466 This fixes the renegotiation issues stated in #352827.
10468 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10471 * docs/manual/advanced-autoplugging.xml:
10472 * tests/examples/Makefile.am:
10473 * tests/examples/manual/.cvsignore:
10474 * tests/examples/manual/Makefile.am:
10475 * tests/examples/manual/extract.pl:
10476 Extract the manual examples again like we used to do.
10479 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10481 * win32/common/config.h:
10484 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10487 Documents how to receive errors.
10489 2006-09-15 Wim Taymans <wim@fluendo.com>
10491 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10492 (event_loop), (main):
10493 Added some comments here and there.
10494 Post an application message when an interrupt is caught instead of doing
10495 an uncontrolled state change.
10496 Clean up the event loop.
10497 Handle buffering messages, pause/resume the pipeline.
10498 Make shutdown because of an interrupt more reliable.
10500 2006-09-15 Wim Taymans <wim@fluendo.com>
10502 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10503 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10504 (gst_base_sink_preroll_object):
10505 Make sure that our internal state is correct when we commit our state
10506 asynchronously. This solves a race where a state change to PLAYING
10507 could cause the sink to remain blocked in preroll in some situations.
10509 2006-09-15 Wim Taymans <wim@fluendo.com>
10511 * tools/gst-inspect.c: (print_element_properties_info),
10512 (print_signal_info):
10513 List flags as hex so it's easier to deal with.
10515 2006-09-15 Wim Taymans <wim@fluendo.com>
10517 * docs/libs/gstreamer-libs-sections.txt:
10518 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10519 (gst_base_sink_do_sync):
10520 * libs/gst/base/gstbasesink.h:
10521 Expose logic to wait for preroll so that subclasses such as audiosink
10522 can also use this method.
10523 API: gst_base_sink_wait_preroll()
10525 2006-09-15 Wim Taymans <wim@fluendo.com>
10527 * gst/gstobject.c: (gst_object_set_parent):
10528 * gst/gstpipeline.c: (do_pipeline_seek):
10529 Small cleanups in docs and code.
10531 * gst/gstsegment.c: (gst_segment_clip):
10532 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10533 if stop == start and start is in the segment, no clipping should be
10534 done. Also add a test for this.
10536 2006-09-15 Wim Taymans <wim@fluendo.com>
10538 * docs/design/part-buffering.txt:
10539 * docs/gst/gstreamer-sections.txt:
10540 * gst/gstmessage.c: (gst_message_new_buffering),
10541 (gst_message_parse_buffering):
10542 * gst/gstmessage.h:
10543 Added methods to create and parse BUFFERING messages.
10544 Added preliminary docs about buffering.
10545 API: gst_message_new_buffering
10546 API: gst_message_parse_buffering
10548 2006-09-06 Wim Taymans <wim@fluendo.com>
10551 Update documentation.
10553 * gst/gstelement.c: (gst_element_class_init),
10554 (gst_element_release_request_pad), (gst_element_set_clock),
10555 (gst_element_get_index), (gst_element_add_pad),
10556 (gst_element_remove_pad), (gst_element_get_random_pad),
10557 (gst_element_send_event), (gst_element_get_query_types),
10558 (gst_element_query), (gst_element_post_message),
10559 (gst_element_message_full), (gst_element_continue_state),
10560 (gst_element_lost_state), (gst_element_save_thyself),
10561 (gst_element_restore_thyself):
10562 Documentation updates.
10563 Rename last bit of the new-pad -> pad-added signal rename.
10564 Fix the case where an element query would only work if the source
10566 Avoid some useless type checking in message handling.
10571 Documentation updates.
10573 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10575 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10576 add an INFO line for when we actually update the fd
10578 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10583 === release 0.10.10 ===
10585 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10588 releasing 0.10.10, "Pais"
10590 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10592 * docs/manual/advanced-position.xml:
10593 Fix typo in sample code.
10595 2006-09-05 Wim Taymans <wim@fluendo.com>
10597 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10598 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10599 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10600 * libs/gst/net/gstnetclientclock.h:
10601 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10602 * libs/gst/net/gstnettimepacket.h:
10603 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10604 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10605 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10606 * libs/gst/net/gstnettimeprovider.h:
10607 Make stuff compile on windows. Fixes #345295.
10609 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10611 * gst/gst.c: (ensure_current_registry_forking):
10612 Print better details when child was terminated by signal.
10614 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10616 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10617 Print a warning rather than g_assert() if a plugin feature
10618 is a URI handler but returns no protocols (#353976).
10620 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10622 * docs/random/moving-plugins:
10625 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10627 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10628 Fix locking order, handle NULL function values properly.
10633 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10634 Initialise variable before using it and fix debug statement to
10635 print the address of the function rather than the address of the
10636 variable on the stack holding the address of the function.
10638 2006-09-01 Wim Taymans <wim@fluendo.com>
10640 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10641 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10642 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10643 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10644 (gst_ghost_pad_parent_unset),
10645 (gst_ghost_pad_internal_do_activate_push),
10646 (gst_ghost_pad_internal_do_activate_pull),
10647 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10648 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10649 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10650 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10651 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10652 (gst_ghost_pad_new_no_target_from_template),
10653 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10655 Avoid needless typechecking in macros.
10656 Since the internal pad is always present and never changes, there is
10657 no need to locking or ref when retrieving it.
10658 Improve debugging a bit.
10659 Handle link errors when setting the target. Fixes #341029.
10661 2006-09-01 Wim Taymans <wim@fluendo.com>
10663 * docs/libs/gstreamer-libs-sections.txt:
10664 * docs/plugins/gstreamer-plugins-sections.txt:
10665 Fix docs some more.
10667 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10668 (gst_collect_pads_event):
10669 * libs/gst/base/gstcollectpads.h:
10670 Documentation updates.
10671 Free queued buffer when removing a pad.
10673 2006-08-31 Michael Smith <msmith@fluendo.com>
10675 * gst/gstutils.c: (gst_element_link_pads),
10676 (gst_element_link_pads_filtered):
10677 Ensure that we set a capsfilter to NULL if we failed to link it
10678 when doing filtered linking, to avoid criticals.
10680 No need to check for unreffing srcpad, which is explicly NULLed
10681 above (a trivial code cleanup).
10683 2006-08-31 Wim Taymans <wim@fluendo.com>
10685 * docs/design/part-gstghostpad.txt:
10686 Update ascii art in documentation.
10688 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10689 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10690 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10691 (gst_ghost_pad_internal_do_activate_push),
10692 (gst_ghost_pad_internal_do_activate_pull),
10693 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10694 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10695 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10696 (gst_ghost_pad_set_target):
10697 Small cleanups and leak fixes.
10698 Remove some checks now that the internal pad is never NULL.
10699 Fix the case where linking pads without a target would create nasty
10700 criticals. Fixes #341029.
10701 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10702 value of _set_target().
10704 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10705 (gst_ghost_pad_suite):
10706 Some more tests for creating and linking untargeted ghostpads.
10708 2006-08-31 Edward Hervey <edward@fluendo.com>
10710 * docs/gst/gstreamer-sections.txt:
10711 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10712 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10713 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10714 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10715 (gst_ghost_pad_new_from_template),
10716 (gst_ghost_pad_new_no_target_from_template):
10717 * gst/gstghostpad.h:
10718 Refactored *_new() functions.
10719 Templates are now used as a g_object_new() parameter.
10720 Use template in _do_getcaps() if we don't have a target.
10721 Small documentation cleanups.
10722 Added two new constructors:
10723 gst_ghost_pad_new_from_template()
10724 gst_ghost_pad_new_no_target_from_template()
10725 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10726 (gst_ghost_pad_suite):
10727 Added tests for new ghostpad instanciation functions.
10729 API additions: gst_ghost_pad_new_from_template,
10730 gst_ghost_pad_new_no_target_from_template
10732 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10734 * docs/random/ensonic/profiling.txt:
10735 Ideas about qos profiling.
10737 2006-08-29 Wim Taymans <wim@fluendo.com>
10739 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10743 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10746 Improve and detypofy docs.
10748 * tests/check/Makefile.am:
10749 * tests/check/gst/.cvsignore:
10750 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10751 Add a basic test suite for GstXML.
10753 2006-08-29 Wim Taymans <wim@fluendo.com>
10755 * gst/gstelement.c: (activate_pads), (clear_caps),
10756 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10757 Clear the pad caps when the element shut down all of the pads and
10758 is not streaming data that could modify the caps.
10761 2006-08-28 Michael Smith <msmith@fluendo.com>
10763 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10764 Revert previous change; I misunderstood single-segment mode.
10766 2006-08-28 Michael Smith <msmith@fluendo.com>
10768 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10769 Unset DISCONT on buffers when using single-segment mode.
10771 2006-08-28 Wim Taymans <wim@fluendo.com>
10773 * gst/gstcaps.c: (gst_caps_merge_structure):
10775 Fix docs and indentation again.
10777 * tests/check/gst/gstquery.c: (GST_START_TEST):
10778 Fix leak in tests and add some more tests.
10780 2006-08-28 Edward Hervey <edward@fluendo.com>
10782 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10783 Inform GstSegment of the last stop position in order for the current
10784 segment to have a proper duration if it doesn't have a specific stop
10785 position from which a duration could be calculated.
10786 This bug was noticeable when a non-flushing, non-update new segment was
10787 followed by another segment (all buffers from the new segment were being
10790 2006-08-28 Wim Taymans <wim@fluendo.com>
10792 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10793 Small comment update.
10795 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10796 (gst_identity_transform_ip):
10797 Drop-probability is broken, mention this in the code with a
10798 FIXME and also in the property description.
10799 Make silent also be silent about the drop messages.
10801 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10803 * docs/manual/appendix-win32.xml:
10804 Remove mention of popt, we don't depend on that any
10805 longer (#353136). Add some comments pointing out that
10806 this section is slightly outdated.
10808 2006-08-28 Wim Taymans <wim@fluendo.com>
10810 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10812 * gst/gstquery.c: (gst_query_new_segment):
10813 * tests/check/gst/gstquery.c: (GST_START_TEST):
10814 Initialize variables when creating a new segment query.
10817 2006-08-28 Wim Taymans <wim@fluendo.com>
10819 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10821 * gst/gstelement.c: (gst_element_get_bus):
10822 * tests/check/gst/gstelement.c: (GST_START_TEST):
10823 Check for NULL before _reffing the bus. Fixes #353122.
10825 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10827 * docs/manual/basics-bus.xml:
10828 Docs update: fix wrong callback return value explanation; add
10829 some lines about the implicit relationship between main loop
10830 and main context; remove duplicate main loop variable declaration.
10832 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10834 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10835 Don't leak caps in unit test; add a few more simple
10838 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10840 * docs/gst/gstreamer-sections.txt:
10841 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10842 (gst_caps_structure_is_subset), (gst_caps_merge),
10843 (gst_caps_merge_structure):
10845 * libs/gst/base/gstbasetransform.c:
10846 (gst_base_transform_transform_caps):
10847 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10848 implement caps merging (fixes #352580)
10850 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10852 * tools/Makefile.am:
10853 * tools/gst-plot-timeline.py:
10854 add debug-log plotting developer tool (#340674)
10856 2006-08-23 Wim Taymans <wim@fluendo.com>
10858 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10859 (gst_pad_stop_task):
10860 Improve debugging for task functions.
10862 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10863 (gst_task_start), (gst_task_pause), (gst_task_join):
10864 Make sure that the task function started and finished after a
10866 Don't try to push the task function on the threadpool multiple
10868 Improve the g_warning message with some useful suggestions
10869 about how to fix the problem.
10871 2006-08-23 Wim Taymans <wim@fluendo.com>
10873 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10874 Handle RESYNC correctly in _proxy_getcaps.
10876 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10878 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10879 (gst_xml_parse_memory), (gst_xml_get_element):
10880 Chain up to parent class in dispose function and also
10881 unref the elements in the toplevel_elements GList.
10882 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10883 Always return a reference in gst_xml_get_element() rather
10884 than only sometimes.
10886 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10887 Don't leak GstXml object.
10889 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10891 * docs/gst/gstreamer-sections.txt:
10892 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10895 * libs/gst/base/gstbasetransform.c:
10896 (gst_base_transform_transform_caps):
10897 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10900 2006-08-21 Edward Hervey <edward@fluendo.com>
10902 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10903 Implement GObject::dispose virtual method in GstXML so we can free the
10904 top_elements GList.
10906 2006-08-21 Wim Taymans <wim@fluendo.com>
10908 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10909 (gst_buffer_create_sub):
10910 Copy duration/offset_end/caps when creating a subbuffer of the
10912 Make the subbuffer read-only when we make the metadata writable for
10913 now. Fixes #351768.
10915 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10916 Added check for metadata copy when creating subbuffers.
10918 2006-08-21 Edward Hervey <edward@fluendo.com>
10920 * libs/gst/base/gstbasetransform.c:
10921 (gst_base_transform_buffer_alloc):
10922 Only call downstream buffer_alloc if transform element is passthrough
10923 or always_in_place. Closes #350449.
10925 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10928 ChangeLog surgery to add comments to previous changes
10930 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10935 * gst/gstpad.c: (gst_pad_set_active):
10936 Be more verbose in the log
10938 * libs/gst/base/gstbasetransform.c:
10939 (gst_base_transform_transform_caps):
10940 Simplify caps to get rid of duplicates, fixes #345444
10942 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10946 Use these optimizations only internally.
10948 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10950 * gst/gstvalue.c: (gst_value_compare_list),
10951 (gst_value_compare_fraction_range),
10952 (gst_value_intersect_fraction_fraction_range),
10953 (gst_value_intersect_fraction_range_fraction_range),
10954 (gst_value_subtract_fraction_fraction_range),
10955 (gst_value_subtract_fraction_range_fraction_range),
10956 (gst_value_get_compare_func), (gst_value_compare),
10957 (gst_value_compare_with_func):
10959 Saves the expensive lookup of the compare function in many cases
10962 2006-08-18 Edward Hervey <edward@fluendo.com>
10964 * tests/check/gst/gstinfo.c: (gst_info_suite):
10965 Disable test that require gstdebug if it wasn't built in core.
10967 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10969 * docs/random/ensonic/logging.txt:
10972 * gst/gstinfo.c: (gst_debug_log_default):
10973 reorder fields, save some columns, add optional color codes for log
10976 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10978 * docs/random/ensonic/logging.txt:
10979 add ideas about making the logs a bit more useful
10981 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10983 * docs/pwg/advanced-events.xml:
10984 * docs/pwg/titlepage.xml:
10985 Update for 0.10 API (#340627). Add myself
10988 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10990 * docs/libs/gstreamer-libs-docs.sgml:
10991 * docs/libs/gstreamer-libs-sections.txt:
10992 * libs/gst/check/gstbufferstraw.c:
10993 Make gstcheck stuff show up in docs (still needs to
10994 be documented properly though).
10996 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10998 * docs/gst/gstreamer-sections.txt:
11000 * gst/gst.c: (init_post):
11001 * gst/gst_private.h:
11002 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11004 * gst/gstquery.c: (gst_query_new_position),
11005 (gst_query_set_position), (gst_query_parse_position),
11006 (gst_query_new_duration), (gst_query_set_duration),
11007 (gst_query_parse_duration), (gst_query_new_convert),
11008 (gst_query_set_convert), (gst_query_parse_convert),
11009 (gst_query_new_segment), (gst_query_set_segment),
11010 (gst_query_parse_segment), (gst_query_new_seeking),
11011 (gst_query_set_seeking), (gst_query_parse_seeking):
11012 Add internal helpers for pre-registering quarks from static strings
11013 and using the quark values directly instead of looking them up when
11014 creating and parsing queries. Can be used for event construction too.
11017 2006-08-16 Wim Taymans <wim@fluendo.com>
11022 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11024 * gst/gstutils.c: (gst_util_set_value_from_string):
11025 Fix memleak (#351502).
11027 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11028 Add unit test for most of gst_util_set_value_from_string()
11029 (not that one would want to encourage use of this function).
11031 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11033 * libs/gst/check/gstcheck.h:
11034 Use const gchar * variables in fail_unless_equals_string
11035 macro to avoid compiler warnings (and don't use tabs for
11038 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11040 * tools/gst-launch.c: (print_tag):
11041 More space on the left for the tag names, to cater
11042 for the 'extended comment' tag (not touching the
11043 string for the first line since it's translated).
11045 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11047 * libs/gst/check/gstcheck.h:
11048 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11049 print something when they fail.
11051 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11053 * docs/gst/gstreamer-sections.txt:
11054 * gst/gsttaglist.c: (_gst_tag_initialize):
11055 * gst/gsttaglist.h:
11056 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11057 Also change merge function for GST_TAG_COMMENT to
11060 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11062 * gst/gstinfo.c: (gst_debug_print_object):
11063 Make GST_PTR_FORMAT print messages as well.
11065 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11066 (GST_START_TEST), (gst_info_suite):
11069 2006-08-14 Edward Hervey <edward@fluendo.com>
11071 * gst/gstelementfactory.c: (gst_element_register):
11072 If the GstElementClass doesn't have a GstElementDetails with all fields
11073 filled up correctly (longname, description AND author), then error out
11074 nicely instead of crashing.
11076 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11078 * gst/gststructure.c:
11079 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11082 Expand on the difference between arrays and lists as we use them.
11084 2006-08-14 Wim Taymans <wim@fluendo.com>
11086 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11087 If the parent state change function failed, don't assume we can safely
11088 stop the source, this will be done when the pads are deactivated.
11090 2006-08-14 Wim Taymans <wim@fluendo.com>
11093 * gst/gsttask.c: (gst_task_join):
11096 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11097 (gst_pad_stop_task):
11098 When pad (de)activation failed for some reason, restore the old
11099 activation mode and set the pad to flushing instead of assuming the
11100 pad is deactivated.
11101 If the _task_join() failed, reinstall the task on the pad so that it can
11102 be stopped later and return an error.
11104 2006-08-11 Andy Wingo <wingo@pobox.com>
11107 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11108 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11109 is only for users of API that don't want to see deprecated
11110 functions in the headers; people that want to compile out
11111 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11112 CFLAGS. Fixes the build of multifdsink, or will soon..
11114 2006-08-11 Wim Taymans <wim@fluendo.com>
11116 * docs/gst/gstreamer-sections.txt:
11117 Add GstClockClass vmethod docs.
11120 Mark #endif with comment for associated #if
11122 * gst/gstclock.c: (gst_clock_id_wait):
11124 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11125 most clock implementations.
11127 Flesh out docs about resolution methods.
11128 API: GstClockClass::wait_jitter
11130 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11131 (gst_system_clock_async_thread),
11132 (gst_system_clock_id_wait_jitter_unlocked),
11133 (gst_system_clock_id_wait_jitter):
11134 Use base class wait_jitter variant for improved performance
11135 due to less clock polling.
11137 2006-08-11 Edward Hervey <edward@fluendo.com>
11139 * gst/gst.c: (gst_init_check), (init_post):
11140 Set gst as being initialized before scanning/updating the registry,
11141 since there might be my python plugin loader that calls gst_init() and
11142 we don't want to loop back in.
11145 2006-08-11 Wim Taymans <wim@fluendo.com>
11147 * docs/design/part-qos.txt:
11148 Bring docs in line with the code. Mostly the sign of the jitter was
11149 wrong in the docs. Fixes #349943.
11152 Fix the docs for the jitter.
11154 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11155 (gst_event_parse_tag), (gst_event_new_buffer_size),
11156 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11157 (gst_event_new_seek), (gst_event_parse_seek),
11158 (gst_event_new_navigation):
11159 Make sure the GstStructure has no parent when creating custom
11161 Add some more argument checking so that we avoid 0.0 rates.
11162 Flesh out the docs for the QoS event some more.
11164 2006-08-11 Wim Taymans <wim@fluendo.com>
11166 * docs/gst/gstreamer-sections.txt:
11167 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11168 (ensure_current_registry_forking), (ensure_current_registry),
11169 (parse_one_option), (parse_goption_arg), (gst_deinit),
11170 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11173 Added API and command line option to disable registry forking in
11174 addition to the environment variable.
11175 Constify some static arrays.
11176 Added some more debug.
11177 Don't deinit twice.
11178 API: gst_registry_fork_is_enabled()
11179 API: gst_registry_fork_set_enabled()
11180 API: --gst-disable-registry-fork command line option
11183 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11185 * gst/gst.c: (gst_init):
11186 Fix typo in error message.
11188 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11190 * libs/gst/controller/gstcontroller.h:
11191 fix ABI size-correction
11193 * tests/check/libs/gdp.c: (gst_dp_suite):
11194 make tests that use deprecated API conditional
11196 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11198 * docs/libs/gstreamer-libs-sections.txt:
11199 * libs/gst/controller/gstcontroller.c:
11200 (_gst_controller_get_property), (_gst_controller_set_property),
11201 (_gst_controller_init), (_gst_controller_class_init):
11202 * libs/gst/controller/gstcontroller.h:
11203 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11204 (gst_object_set_control_rate):
11205 API: add gst_object_{s,g}et_control_rate(), add private data section,
11208 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11209 * libs/gst/dataprotocol/dataprotocol.h:
11210 add deprecation guards to make gtk-doc happy and allow disabling cruft
11212 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11214 * tests/check/Makefile.am:
11215 * tests/check/gst/.cvsignore:
11216 Let's enable the new unit test as well.
11218 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11221 * docs/gst/gstreamer-sections.txt:
11222 * gst/gstconfig.h.in:
11223 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11224 (_gst_info_printf_extension_ptr),
11225 (_gst_info_printf_extension_segment):
11226 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11227 register that lets us easily dump GstSegments into debug
11230 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11231 (info_segment_format_printf_extension), (gst_info_suite):
11232 Add simple unit test that logs a bunch of different segments (not
11233 valgrinded at the moment because of leaks in
11234 gst_debug_add_log_function).
11236 2006-08-09 Edward Hervey <edward@fluendo.com>
11238 * libs/gst/base/gstbasetransform.c:
11239 (gst_base_transform_buffer_alloc):
11240 Even if we can't figure out the proper format to request downstream,
11241 call buffer_alloc() downstream with the input parameters without setting
11242 the caps on the srcpad. This will force negotiation in the chain
11246 2006-08-08 Edward Hervey <edward@fluendo.com>
11248 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11249 Unlinking from a pad without a target is now a perfectly valid case
11250 which should NOT raise an assertion.
11251 This case would happen if a linked ghostpad its target set to NULL after
11252 it was previously linked.
11254 2006-08-08 Edward Hervey <edward@fluendo.com>
11256 * tests/check/libs/gdp.c:
11257 Also comment out the test (see below).
11259 2006-08-08 Edward Hervey <edward@fluendo.com>
11261 * tests/check/libs/gdp.c: (gst_dp_suite):
11262 Use the architecture information from config.h and not gcc macros
11263 in order to properly disable a test that fails on PPC64.
11265 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11267 * gst/gstelement.c: (gst_element_remove_pad):
11268 Don't crash printing the warning if the pad has no parent.
11270 2006-08-02 Wim Taymans <wim@fluendo.com>
11272 * libs/gst/dataprotocol/dataprotocol.c:
11273 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11274 (gst_dp_crc), (gst_dp_header_payload_length),
11275 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11276 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11277 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11278 (gst_dp_event_from_packet), (gst_dp_validate_header),
11279 (gst_dp_validate_payload):
11280 Make debug category static
11281 Constify the crc table.
11282 Do some more arg checking in public functions.
11283 Fix some docs and do some small cleanups.
11285 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11286 Add some more checks to see if GDP deals with bogus input.
11288 2006-07-31 Wim Taymans <wim@fluendo.com>
11290 * gst/gstvalue.c: (gst_value_compare_list):
11291 Fix GstValueList comparison code. Fixes #347293.
11293 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11294 Check to test GstValueList comparison.
11296 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11298 * gst/gstelementfactory.c: (gst_element_factory_create):
11299 Remove unnecessary ref/unref pair
11301 * gst/parse/grammar.y:
11302 Make sure to free the parse buffer on all code paths.
11303 Move a g_free up to the error handler where it's easier to see.
11305 * tests/check/gst/gstevent.c: (test_event):
11306 Extending timeout for downstream travelling events to 10 seconds to
11307 hopefully avoid intermittent failure on the buildbots.
11309 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11310 Don't manually set the state of the src element - it will happen as a
11311 natural consequence of the pipeline changing state, and that way it
11312 will do it in the right order too.
11314 2006-07-31 Wim Taymans <wim@fluendo.com>
11316 * libs/gst/base/gstbasetransform.c:
11317 (gst_base_transform_buffer_alloc):
11318 Use OBJECT_LOCK and refcounting to get the pad caps in the
11319 buffer_alloc function because the caps could change while we are
11320 busy with them. Fixes #349105
11322 2006-07-31 Wim Taymans <wim@fluendo.com>
11324 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11325 Protect _PAD_CAPS with OBJECT_LOCK.
11327 2006-07-31 Wim Taymans <wim@fluendo.com>
11329 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11330 (gst_pad_get_property), (gst_pad_activate_pull),
11331 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11332 (gst_pad_set_activate_function),
11333 (gst_pad_set_activatepull_function),
11334 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11335 (gst_pad_set_getrange_function),
11336 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11337 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11338 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11339 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11340 (gst_pad_set_acceptcaps_function),
11341 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11342 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11343 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11344 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11345 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11346 (gst_pad_configure_sink), (gst_pad_configure_src),
11347 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11348 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11349 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11350 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11351 (gst_pad_send_event):
11352 Use _DEBUG_OBJECT when it makes sense.
11353 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11354 Small cleanups and code reflows.
11355 Avoid caps refcounting in _accept_caps.
11356 Refactor alloc_buffer so that the code performed on the peer is in a
11357 separate function. Also if the pad does not implement a buffer alloc
11358 function, we should still check if the pad is flushing before falling
11359 back to the default allocator.
11361 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11363 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11364 Make all uses of identity and fakesink have silent=true to avoid
11365 serialising every passing data structure, which is breaking tests
11366 on FC4 for some unknown reason.
11368 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11370 * gst/parse/Makefile.am:
11371 * gst/parse/grammar.y:
11372 * gst/parse/parse.l:
11373 Reverted previous patch as it required to bump the flex dependency to
11374 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11376 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11378 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11380 * gst/parse/Makefile.am:
11381 * gst/parse/grammar.y:
11382 * gst/parse/parse.l:
11383 push & pop the state of the lexer for reentrant use case
11386 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11388 * libs/gst/base/gstbasesrc.h:
11389 Note in the docs that the ::newsegment vfunc is not actually used by
11392 2006-07-28 Wim Taymans <wim@fluendo.com>
11394 * libs/gst/base/gstcollectpads.c:
11395 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11396 (gst_collect_pads_clear), (gst_collect_pads_flush),
11397 (gst_collect_pads_event), (gst_collect_pads_chain):
11398 When flushing a pad, also clear the queued buffer so that we don't
11399 accidentally use it when we shouldn't.
11400 Fix leaks by inreffing incomming buffer.
11401 Flush out queued buffers in case of errors.
11404 2006-07-28 Wim Taymans <wim@fluendo.com>
11406 * docs/random/phonon-gst:
11407 Random notes about a Phonon backend.
11409 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11411 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11413 * tests/check/libs/gdp.c: (gst_dp_suite):
11414 Take a whack at fixing the ppc compile using a different define to
11415 disable the broken test.
11417 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11418 Remove excess g_print()
11420 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11422 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11423 Oops, meant to uncomment this line too to dampen the noise a bit.
11425 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11427 * gst/parse/grammar.y:
11428 * gst/parse/parse.l:
11429 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11430 (GST_START_TEST), (parse_suite):
11431 Fix some of the leaks exposed by extending the parse-launch testsuite,
11432 and move the 3 I can't figure out into a separate test that won't run
11433 the pipelines unless the appropriate line is uncommented.
11435 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11437 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11438 Requesting 0 bytes before the end of the file should result in
11439 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11442 2006-07-27 Wim Taymans <wim@fluendo.com>
11444 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11445 Fix useless assert, a uint is always positive.
11447 * gst/gststructure.c: (gst_structure_nth_field_name),
11448 (gst_structure_foreach), (gst_structure_map_in_place):
11449 Check input arguments for public functions to avoid obvious crashes.
11451 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11452 * plugins/elements/gstfakesink.h:
11453 Do less useless typechecking.
11455 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11457 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11458 Do not use mmap() by default since there are a number of error
11459 conditions that we would like to handle in a non-fatal way that
11460 will result in a SIGBUS if we use mmap(). Examples: external
11461 devices (USB harddrive, portable music player) being unplugged
11462 while in use; file on mounted CD/DVD that can't be read because
11463 the medium is partly damaged. Fixes #348455 and #348475.
11465 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11468 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11469 rates are a gdouble
11471 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11473 * gst/gstregistry.c:
11474 Move big documentation comment into class section header, so that it
11475 appears in the API docs.
11477 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11479 * docs/gst/gstreamer-sections.txt:
11480 Oops. Commit the docs additions too for new API.
11481 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11483 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11485 * gst/gststructure.c: (gst_structure_id_set),
11486 (gst_structure_id_set_valist):
11487 * gst/gststructure.h:
11488 Add API for setting values into structures without performing
11489 a quark lookup, if the appropriate quark is already known.
11491 API: gst_structure_id_set
11492 API: gst_structure_id_set_valist
11494 * gst/parse/grammar.y:
11495 * gst/parse/parse.l:
11496 Remove some dead code shown by the coverage information.
11497 Don't throw a critical g_warning when encountering a syntax error,
11498 just warn and let the normal error path handle it.
11500 * plugins/elements/gstelements.c:
11501 Bump the rank of filesink up to PRIMARY so that it is preferred over
11502 gnomevfssink for file:// sink uri's
11504 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11505 (GST_START_TEST), (run_delayed_test),
11506 (gst_parse_test_element_base_init),
11507 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11508 (gst_parse_test_element_change_state),
11509 (gst_register_parse_element), (parse_suite):
11510 Beef up the tests for parse syntax to check that more error cases
11511 fail as they are supposed to. Increases the test coverage a bit.
11513 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11515 * docs/manual/basics-elements.xml:
11516 Fix gst_element_link() example.
11519 Mention in API docs that one should usually gst_bin_add()
11520 elements to a bin or pipeline before doing the linking.
11522 2006-07-26 Wim Taymans <wim@fluendo.com>
11524 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11525 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11526 Avoid function call for known types by keeping the buffer and
11527 subbuffer GType global.
11529 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11530 Random silly optimisations in read() path.
11532 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11534 * tools/gst-launch.c: (main):
11535 If the top-level of the parse is a normal bin, it doesn't do the
11536 right logic to run as a top-level element, so place it inside a
11539 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11541 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11542 Remove superfluous g_object_notify() calls, GObject does
11543 that for us automatically.
11545 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11548 on Win32, use dllspec to export the debug category symbols
11550 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11552 * gst/gsttaglist.c: (_gst_tag_initialize):
11553 Allow more than one GST_TAG_IMAGE per taglist.
11555 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11557 * gst/gstminiobject.c:
11559 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11560 (gst_fd_src_create):
11561 log recurring events at LOG level
11562 add more debug for when the fd gets set
11564 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11566 * gst/gstparse.c: (gst_parse_launch):
11567 Also remove reentrance checks if flex is MT safe (#348179)
11568 Fix my empty ChangeLog entry below
11570 2006-07-21 Andy Wingo <wingo@pobox.com>
11572 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11574 * libs/gst/check/Makefile.am
11575 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11576 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11577 * libs/gst/check/gstbufferstraw.h:
11578 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11579 functions, thus proving I am still a GStreamer haxor. OK I wrote
11580 them a long time ago, but anyways.
11582 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11585 * gst/gstparse.c: (gst_parse_launch):
11586 Check for flex version and omit mutex if we have a MT save flex
11589 2006-07-21 Wim Taymans <wim@fluendo.com>
11591 * gst/gstparse.c: (gst_parse_launch):
11592 Protect recursive calls to _parse with a recursive mutex
11595 2006-07-21 Wim Taymans <wim@fluendo.com>
11597 * tests/check/gst/gstpad.c: (GST_START_TEST):
11600 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11602 * gst/gstparse.c: (gst_parse_launch):
11603 Do not hang on recursive usage of gst_parse_launch()
11605 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11607 * gst/gsttaglist.c:
11608 Add some more docs, comments and FIXME 0.11s here and there
11609 and also fix some typos.
11611 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11613 * gst/gstsegment.h:
11614 Convert tabs to spaces for better readability.
11616 2006-07-20 Edward Hervey <edward@fluendo.com>
11618 * tests/check/libs/gdp.c: (gst_dp_suite):
11619 the test_buffer test fails at line 140 on ppc64 at the following
11621 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11622 GST_BUFFER_FLAG_IN_CAPS),
11623 "GST_BUFFER_IN_CAPS flag should have been copied !");
11624 See bug #348114 for more details.
11626 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11628 * docs/pwg/advanced-scheduling.xml:
11630 Fix typos (#348000).
11632 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11634 * docs/pwg/intro-basics.xml:
11635 Fix wrong links (#347927).
11637 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11639 * gst/gstregistry.h:
11640 * gst/gstregistryxml.c: (load_feature),
11641 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11642 * win32/common/config.h:
11643 make --disable-index work (#342564)
11645 2006-07-18 Wim Taymans <wim@fluendo.com>
11647 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11651 The attached patch adds two missing defines to gsttrace.h when tracing
11652 is disabled. It also corrects one existing define.
11655 2006-07-17 Wim Taymans <wim@fluendo.com>
11657 * docs/gst/gstreamer-sections.txt:
11658 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11660 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11661 Add two functions to check and change the SIGSEGV behaviour
11662 when loading plugins.
11663 Don't mess with the SIGSEGV handler when we were told not to.
11665 API: gst_segtrap_is_enabled
11666 API: gst_segtrap_set_enabled
11668 2006-07-14 Wim Taymans <wim@fluendo.com>
11670 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11671 * tests/check/elements/filesrc.c: (GST_START_TEST):
11672 Revert fix for regression in #347408 after release.
11674 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11676 Patch by: Antoine Tremblay <hexa00 at gmail com>
11678 * gst/gstutils.c: (gst_element_unlink):
11679 Free iterator when done (#347311).
11681 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11682 And add a test case for this.
11684 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11687 Bump nano back to CVS
11689 === release 0.10.9 ===
11691 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11694 releasing 0.10.9, "On the road again"
11696 2006-07-13 Wim Taymans <wim@fluendo.com>
11698 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11699 * tests/check/elements/filesrc.c: (GST_START_TEST):
11700 Revert pull-0 fix for release. Disable check. Fixes #347408.
11702 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11704 * libs/gst/dataprotocol/dataprotocol.c:
11705 (gst_dp_event_from_packet_1_0):
11706 Fixes #347337: failure to deserialize event packets with
11707 empty payload (only event type)
11709 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11712 do not install a .c file in the header directory
11714 2006-07-13 Edward Hervey <edward@fluendo.com>
11716 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11717 GhostPad no longer implicitely use the padtemplates of the targets.
11720 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11722 * gst/gstvalue.c: (gst_value_compare_list),
11723 (gst_value_compare_array), (_gst_value_initialize):
11724 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11725 Make GstValueArray comparison be order dependent as designed.
11726 Add checks for value lists and value array comparisons.
11729 2006-07-11 Edward Hervey <edward@fluendo.com>
11731 * gst/gstbin.c: (activate_pads),
11732 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11733 (gst_bin_change_state_func):
11734 (de)activate src pads before calling state_change on the childs.
11735 This is to avoid the case where a src ghostpad is blocked (holding the
11736 stream lock), which would block the deactivation of the ghostpad's
11738 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11739 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11740 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11741 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11742 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11743 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11744 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11745 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11746 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11747 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11748 (gst_ghost_pad_class_init),
11749 (gst_ghost_pad_internal_do_activate_push),
11750 (gst_ghost_pad_internal_do_activate_pull),
11751 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11752 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11753 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11754 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11755 GhostPads now create their internal GstProxyPad at creation (and not
11756 when they're linked, as it was being done previously).
11757 The internal and target pads are linked straight away.
11758 The data will also travel through the other pad in order to make
11759 pad blocking and probes non-hackish (the probe/block now really happens
11760 on the GhostPad and not on the target).
11761 * gst/gstpad.c: (gst_pad_set_blocked_async),
11762 (gst_pad_link_prepare), (gst_pad_push_event):
11763 Remove previous ghostpad cruft.
11764 * gst/gstutils.c: (gst_pad_add_data_probe),
11765 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11766 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11767 (gst_pad_remove_buffer_probe):
11768 Remove previous ghost pad cruft.
11769 Added more detailed debug statements.
11770 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11771 Fix the testsuite for refcounting changes.
11772 The comments about who has references were correct, but the refcount
11773 being checked wasn't the same (!?!).
11777 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11779 * docs/gst/gstreamer-sections.txt:
11780 * gst/gstconfig.h.in:
11781 More docs for configuration options, add docs to gtk-doc.
11783 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11786 * gst/gstconfig.h.in:
11787 * win32/common/config.h:
11788 Fix build when disabling tracing (fixes #344016). Also start to document
11789 the defines that disable the sub-systems.
11791 2006-07-10 Edward Hervey <edward@fluendo.com>
11793 * gst/gst.c: (ensure_current_registry_forking):
11794 let's make valgrind happy...
11796 2006-07-09 Wim Taymans <wim@fluendo.com>
11798 * gst/gstelement.c: (activate_pads),
11799 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11800 Better pad activation code: Reset the collect value too on resync.
11803 2006-07-09 Wim Taymans <wim@fluendo.com>
11805 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11806 (gst_pad_activate_push):
11807 Use some more macros where it makes sense.
11808 Allow pad mode switching instead of asserting. When a pad
11809 is activated in one mode and we activate it in another,
11810 deactivate it first before activating it in a different mode.
11813 2006-07-08 Andy Wingo <wingo@pobox.com>
11815 * tools/gst-launch.c (main): Handle err == NULL.
11817 * gst/gst.c (init_post, ensure_current_registry)
11818 (ensure_current_registry_forking)
11819 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11820 factoring out the registry scanning into separate functions. Don't
11821 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11822 Better environment var name/interface suggestions accepted.
11824 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11826 * gst/gstobject.c: (gst_object_set_name_default),
11827 (gst_object_set_name):
11828 Random micro-optimisation: don't use a hash table
11829 with strings as keys and the usual strdup/strcmp
11830 involved, but rather just use the GQuark of the
11831 type name as key, since it needs to be looked up
11832 anyway to get the type name string.
11834 * tests/check/gst/gstobject.c: (GST_START_TEST):
11837 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11839 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11840 (gst_bin_iterate_all_by_interface):
11841 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11842 GTypes are gulongs and thus the top 4 bytes might be cut
11843 off on some platforms when doing GPOINTER_TO_INT, leading
11844 to invalid GTypes and bad things happening (see RH bug #179654).
11845 Also add a check to make sure the type passed in is really
11848 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11853 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11857 * gst-element-check.m4:
11858 * gst-element-check.m4.in:
11859 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11860 instead of the unversioned gst-inspect (#324176, #168659).
11862 2006-07-06 Wim Taymans <wim@fluendo.com>
11864 * gst/gstmessage.h:
11865 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11868 2006-07-06 Wim Taymans <wim@fluendo.com>
11870 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11871 (gst_base_src_wait), (gst_base_src_update_length),
11872 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11873 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11874 (gst_base_src_loop), (gst_base_src_start),
11875 (gst_base_src_activate_pull):
11877 blocksize == 0 now means the default blocksize when working in push
11879 Remove some pointless asserts in _wait function.
11880 Fix offset/length calculations and EOS handling. We can now pull 0
11881 bytes as well, which is allowed.
11882 use _check_get_range() to decide if we can operate in _pull based
11884 Fix refcounting leak when check_get_range function was not
11886 API GstBaseSrc::blocksize range can be 0 too now (default)
11888 * tests/check/elements/filesrc.c: (GST_START_TEST),
11890 Added check to test _get_range() behaviour.
11892 2006-07-06 Wim Taymans <wim@fluendo.com>
11894 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11895 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11896 (gst_pad_pull_range):
11898 Lots of comments and docs added to the pad functions.
11899 Flesh out the expected behaviour of the get_range() functions.
11901 2006-07-06 Wim Taymans <wim@fluendo.com>
11906 * gst/gstiterator.h:
11910 Remove comma at end of enumerator list.
11912 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11914 * win32/common/libgstbase.def:
11915 * win32/common/libgstdataprotocol.def:
11916 * win32/common/libsgtreamer.def:
11917 Add new exported functions.
11919 2006-07-05 Wim Taymans <wim@fluendo.com>
11921 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11922 Add some more docs here and there.
11924 2006-07-05 Wim Taymans <wim@fluendo.com>
11926 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11927 (gst_base_sink_loop), (gst_base_sink_get_position):
11928 When operating in pull mode update the offset so that we
11931 2006-07-05 Wim Taymans <wim@fluendo.com>
11933 * gst/gstregistryxml.c: (read_string):
11934 Avoid strdup. (will happen in libxml, but hey!)
11937 Add some more docs.
11939 2006-07-05 Wim Taymans <wim@fluendo.com>
11941 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11942 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11943 (gst_buffer_suite):
11944 No point in checking if the size of the subbuffer > 0, the
11945 code handles it correclty as demonstrated by unit test.
11946 Also add a unit test for the zero sized _new_and_alloc and
11947 _copy. Fixes #346663.
11949 2006-07-05 Wim Taymans <wim@fluendo.com>
11951 * libs/gst/base/gstbasetransform.c:
11952 (gst_base_transform_prepare_output_buffer),
11953 (gst_base_transform_buffer_alloc),
11954 (gst_base_transform_handle_buffer):
11955 Make sure the buffer we pass to transform_ip has a refcount of
11956 1 and thus is writable. Fixes #343196
11958 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11960 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11961 (gst_file_src_init), (gst_file_src_set_property),
11962 (gst_file_src_get_property), (gst_file_src_map_region):
11963 * plugins/elements/gstfilesrc.h:
11964 Add "sequential" property, off by default, to use madvise and hint
11965 to the kernel that sequential access is desired.
11966 Touch all retrieved pages by default to ensure they are pulled
11967 into memory. (Closes #345720)
11969 2006-07-03 Wim Taymans <wim@fluendo.com>
11971 * docs/design/part-block.txt:
11972 * docs/design/part-dynamic.txt:
11973 Small docs updates.
11975 2006-07-03 Wim Taymans <wim@fluendo.com>
11977 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11978 (gst_caps_unref), (gst_static_caps_get),
11979 (gst_caps_append_structure):
11980 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11981 Use GSlice when the glib we build against is >= 2.10
11983 2006-07-03 Wim Taymans <wim@fluendo.com>
11985 * gst/gstelement.c: (gst_element_pads_activate):
11986 Small cleanup in pad activation code.
11988 2006-07-03 Wim Taymans <wim@fluendo.com>
11990 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11992 * gst/gst-i18n-app.h:
11993 * gst/gst-i18n-lib.h:
11994 * tools/gst-inspect.c: (print_signal_info):
11995 The attached patch will make the inclusion of gettext.h unconditional in
11996 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11997 libintl.h in tools/gst-inspect.c.
11998 This allows use of --disable-nls again and fixes #344642.
12000 2006-07-03 Edward Hervey <edward@fluendo.com>
12002 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12003 Implement pad blocking on events according to part-block.txt.
12004 More comments on behaviour.
12005 * tests/check/gst/gstevent.c: (test_event):
12006 Send event to peer pad of blocked pad (else it will block).
12008 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12010 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12011 (gst_check_run_suite):
12012 if we get the wrong message, give us the types as string
12013 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12015 * tests/check/elements/filesrc.c: (GST_START_TEST):
12016 add a test for trying to open a non-existing file
12018 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12020 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12021 add a test for adding self
12023 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12025 * libs/gst/check/gstcheck.h:
12026 add some assert_ as alias for fail_unless_*
12027 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12028 increase test coverage
12030 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12033 include lcov.mak for lcov coverage generation
12034 * tools/Makefile.am:
12037 2006-07-02 Edward Hervey <edward@fluendo.com>
12039 * tests/check/elements/.cvsignore:
12042 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12045 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12046 * tests/check/Makefile.am:
12047 clean up gcov files
12049 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12051 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12052 remove gst_caps_simplify; it was not declared and not used
12053 and deprecated in 0.8
12055 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12057 * docs/faq/gst-uninstalled:
12058 don't put empty paths on PYTHONPATH
12059 * docs/gst/gstreamer-sections.txt:
12060 remove some symbols that are not there
12062 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12064 * gst/gstcaps.c: (gst_caps_compare_structures):
12066 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12067 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12070 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12072 * libs/gst/dataprotocol/Makefile.am:
12073 build dataprotocol test by linking to the lib, instead of
12074 compiling the source, so we get coverage
12075 * tests/check/Makefile.am:
12076 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12077 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12078 add a test for filesrc
12080 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12082 * tests/check/gst/gststructure.c: (GST_START_TEST),
12083 (gst_structure_suite):
12084 Push coverage from 59.04% to 70.00%
12086 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12088 * tests/check/Makefile.am:
12089 gst-inspect every element; this makes sure that we also get
12090 coverage on element's get/set functions
12092 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12095 set CFLAGS and friends to -O0 if gcov is being used
12098 * libs/gst/base/Makefile.am:
12099 * libs/gst/check/Makefile.am:
12100 * libs/gst/controller/Makefile.am:
12101 * libs/gst/dataprotocol/Makefile.am:
12102 * libs/gst/net/Makefile.am:
12103 * plugins/elements/Makefile.am:
12104 * plugins/indexers/Makefile.am:
12105 add makefile rules to generate gcov data and clean up
12106 * tests/check/Makefile.am:
12107 add a coverage target that generates an html overview
12110 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12112 * tests/check/elements/fakesink.c:
12113 * tests/check/elements/fakesrc.c:
12114 * tests/check/elements/fdsrc.c:
12115 * tests/check/elements/identity.c:
12116 * tests/check/generic/sinks.c: (gst_sinks_suite):
12117 * tests/check/generic/states.c:
12118 * tests/check/gst/gst.c:
12119 * tests/check/gst/gstabi.c:
12120 * tests/check/gst/gstbin.c:
12121 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12122 * tests/check/gst/gstbus.c: (gst_bus_suite):
12123 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12124 * tests/check/gst/gstelement.c:
12125 * tests/check/gst/gstevent.c: (gst_event_suite):
12126 * tests/check/gst/gstghostpad.c:
12127 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12128 * tests/check/gst/gstmessage.c: (gst_message_suite):
12129 * tests/check/gst/gstminiobject.c:
12130 * tests/check/gst/gstobject.c:
12131 * tests/check/gst/gstpad.c:
12132 * tests/check/gst/gstpipeline.c:
12133 * tests/check/gst/gstplugin.c:
12134 * tests/check/gst/gstquery.c: (gst_query_suite):
12135 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12136 * tests/check/gst/gststructure.c:
12137 * tests/check/gst/gstsystemclock.c:
12138 * tests/check/gst/gsttag.c:
12139 * tests/check/gst/gsttask.c: (gst_task_suite):
12140 * tests/check/gst/gstutils.c:
12141 * tests/check/gst/gstvalue.c:
12142 * tests/check/libs/adapter.c:
12143 * tests/check/libs/basesrc.c:
12144 * tests/check/libs/collectpads.c:
12145 * tests/check/libs/controller.c:
12146 * tests/check/libs/gdp.c: (gst_dp_suite):
12147 * tests/check/libs/gstnetclientclock.c:
12148 * tests/check/libs/gstnettimeprovider.c:
12149 * tests/check/libs/libsabi.c: (libsabi_suite):
12150 * tests/check/libs/typefindhelper.c:
12151 * tests/check/pipelines/cleanup.c:
12152 * tests/check/pipelines/parse-launch.c:
12153 * tests/check/pipelines/simple-launch-lines.c:
12154 * tests/check/pipelines/stress.c: (stress_suite):
12157 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12159 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12160 * libs/gst/check/gstcheck.h:
12161 create a macro and function so that the simple unit test
12162 case can be just one macro to create main()
12164 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12166 * gst/gstbin.c: (gst_bin_restore_thyself):
12167 * gst/gstxml.c: (gst_xml_make_element):
12168 Fix deserialisation from XML. Set parent manually
12169 instead of using gst_bin_add(), since gst_bin_add()
12170 will unlink all pads of the element being added.
12173 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12175 Patch by: Peter Kjellerstedt <pkj at axis com>
12177 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12178 Fix missing g_strdup() and double free when using the
12179 --gst-plugin-load command line option (#346097).
12181 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12184 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12186 * libs/gst/net/gstnetclientclock.c:
12187 * libs/gst/net/gstnettimeprovider.c:
12188 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12190 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12192 * docs/manual/advanced-dataaccess.xml:
12193 Fix buffer probe example compilation in
12196 2006-06-22 Edward Hervey <edward@fluendo.com>
12198 * gst/gstelement.c: (gst_element_pads_activate):
12199 We need to deactivate src pads first and then sink pads.
12200 The reason is the src pads might be blocking while holding the streaming
12201 lock, so we need to deactivate them first so that deactivating the sink
12202 pads doesn't block (since it will require the streaming lock).
12204 2006-06-22 Wim Taymans <wim@fluendo.com>
12206 * libs/gst/base/gstbasetransform.c:
12207 (gst_base_transform_buffer_alloc):
12208 Forgot to remove two unneeded unrefs.
12209 Simplify a check _is_equal allready checks the obvious case.
12211 2006-06-22 Wim Taymans <wim@fluendo.com>
12213 * docs/design/part-block.txt:
12214 Some docs about what pad_block should do.
12216 2006-06-22 Wim Taymans <wim@fluendo.com>
12218 * gst/gstcaps.c: (gst_caps_replace):
12219 Fix crasher when passed NULL. Doc clarification.
12220 Optimize for the trivial case.
12222 * gst/gstpipeline.c: (gst_pipeline_change_state):
12225 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12226 Small documentation cleanup.
12228 * libs/gst/base/gstbasetransform.c:
12229 (gst_base_transform_buffer_alloc):
12230 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12231 is what we need and it avoids a whole lot of redundant
12232 refcount operations.
12234 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12236 Patch by: Philip Jägenstedt <philip at lysator liu se>
12238 * docs/manual/advanced-dataaccess.xml:
12239 Fix 'Embedding static elements' section to use
12240 GST_PLUGIN_DEFINE_STATIC (#345607).
12242 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12244 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12245 Attempt to 'fix' spuriously failing test case: it seems like the
12246 timeout of half a second is simply too small when the system is under
12247 load otherwise, and the timeout doesn't really seem to serve any
12248 particular purpose here. Give the pipeline a few seconds to preroll
12249 first, and then give it another half a second to go from PAUSED to
12250 PLAYING and marshal the message into the main thread.
12252 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12254 * tools/gst-feedback-m.m:
12255 Don't only use unversioned tools, try versioned tools as well
12258 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12260 * gst/gstbus.c: (gst_bus_class_init):
12261 Fix some typos, make docs more explicit.
12263 2006-06-20 Wim Taymans <wim@fluendo.com>
12265 * tests/check/gst/gstghostpad.c: (block_callback),
12266 (GST_START_TEST), (gst_ghost_pad_suite):
12267 Added some more ghostpad tests, mainly blocking
12270 2006-06-16 Wim Taymans <wim@fluendo.com>
12272 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12273 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12274 (gst_file_sink_event), (gst_file_sink_render):
12275 * plugins/elements/gstfilesink.h:
12276 Check if we can seek in the file instead of assuming
12277 we always can. Post an error when we are asked to seek in a
12278 non-seekable file (like a fifo). Fixes #343312.
12281 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12283 * tools/gst-launch.1.in:
12284 Un-garble (fourcc) bit in filtered caps section.
12286 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12288 * docs/manual/advanced-autoplugging.xml:
12289 * docs/manual/basics-helloworld.xml:
12290 * docs/manual/highlevel-components.xml:
12291 Don't leak bus reference in sample code.
12293 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12296 Add default for new --enable-plugin-docs switch.
12299 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12302 * docs/Makefile.am:
12303 Use new ENABLE_PLUGIN_DOCS conditional.
12305 2006-06-14 Wim Taymans <wim@fluendo.com>
12307 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12308 Make it clear with a FIXME and a real define what the #if 0
12309 previously disabled.
12311 2006-06-14 Wim Taymans <wim@fluendo.com>
12313 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12314 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12315 * libs/gst/base/gstbasetransform.c:
12316 (gst_base_transform_sink_eventfunc):
12317 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12318 Don't randomly and silently reset a segment when the format
12319 changes as this is a bug somewhere upstream. Fixes #330379.
12321 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12323 Patch by: Wouter Paesen <wouter at kangaroot net>
12325 * libs/gst/controller/gstcontroller.c:
12326 (gst_controlled_property_new):
12327 Fix controlling of float properties (#344849).
12329 * tests/check/libs/controller.c:
12330 (gst_test_mono_source_get_property),
12331 (gst_test_mono_source_set_property),
12332 (gst_test_mono_source_class_init), (GST_START_TEST):
12333 While we're at it, add some float stuff to unit test.
12335 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12338 * docs/images/gdp-header.svg:
12340 * docs/libs/Makefile.am:
12341 * docs/libs/gdp-header.png:
12342 * libs/gst/dataprotocol/dataprotocol.c:
12343 add it to the API docs
12344 * docs/manual/intro-motivation.xml:
12347 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12349 * gst/gst.c: (scan_and_update_registry), (init_post):
12350 If the fork()'ed child process can't write the updated registry cache
12351 file to disk for some reason, make it exit with a failure exit code,
12352 so that the parent can then re-scan the plugins itself and update the
12353 registry structures in memory and work with that (rather than failing
12354 when creating elements because seemingly no plugins are available).
12355 Refactor registry scanning code into separate function for this and
12356 also separate fork() and non-fork() code paths. Fixes #344748.
12358 2006-06-13 Wim Taymans <wim@fluendo.com>
12360 * docs/manual/advanced-dataaccess.xml:
12361 Fix wrong PluginDesc. Fixes #344755.
12363 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12365 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12366 Fix silly bug that prevented us from creating
12367 ~/.gstreamer-0.10 and writing the registry in one
12368 go (the first call to g_mkstemp() would overwrite the
12369 placeholder in the template string, so the second call
12370 to g_mkstemp() after creating the missing directory
12371 would then error out with 'invalid argument').
12373 2006-06-13 Edward Hervey <edward@fluendo.com>
12375 * gst/gst.c: (init_post):
12378 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12380 * gst/glib-compat-private.h:
12381 * gst/glib-compat.c:
12382 * gst/glib-compat.h:
12383 * gst/gstvalue.c: (gst_value_serialize_flags):
12384 remove GLib 2.6 compatibility code
12386 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12388 * gst/parse/Makefile.am:
12389 Fix build with 'make -j N' even more (#340016).
12391 2006-06-12 Wim Taymans <wim@fluendo.com>
12393 * docs/gst/gstreamer-sections.txt:
12396 2006-06-12 Wim Taymans <wim@fluendo.com>
12398 * gst/gstsegment.c: (gst_segment_set_duration),
12399 (gst_segment_set_last_stop), (gst_segment_set_seek),
12400 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12401 (gst_segment_to_running_time), (gst_segment_clip):
12402 Use G_UNLIKELY to help the compiler a bit.
12404 2006-06-12 Wim Taymans <wim@fluendo.com>
12406 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12408 * gst/gstevent.c: (gst_event_get_type):
12409 * gst/gstmessage.c:
12410 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12412 constify quark registration strings. Fixes #344115
12413 Avoid unneeded type checking is _pad_push() by internally
12414 calling gst_pad_chain_unchecked().
12416 2006-06-12 Wim Taymans <wim@fluendo.com>
12418 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12419 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12420 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12421 (gst_buffer_is_span_fast), (gst_buffer_span):
12422 Init _type for consistency.
12423 Use _FLAGS macro to avoid type check.
12424 Avoid unneeded type checks in subbufer code.
12426 2006-06-12 Wim Taymans <wim@fluendo.com>
12428 * gst/gst.c: (gst_debug_help):
12429 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12430 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12431 (gst_plugin_feature_list_free):
12432 * gst/gstregistry.c: (gst_registry_add_plugin),
12433 (gst_registry_add_feature), (gst_registry_plugin_filter),
12434 (gst_registry_feature_filter), (gst_registry_find_plugin),
12435 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12436 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12437 * gst/gstregistryxml.c: (load_feature),
12438 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12439 * gst/gstminiobject.c: (gst_mini_object_unref),
12440 (gst_mini_object_replace), (gst_value_mini_object_free),
12441 (gst_value_mini_object_copy):
12442 Use _CAST macros to avoid unneeded type checking.
12443 Added some more G_UNLIKELY.
12445 2006-06-12 Wim Taymans <wim@fluendo.com>
12448 Avoid unneeded type checking.
12449 API: GST_BUFFER_IS_DISCONT
12451 * gst/gstminiobject.h:
12452 Avoid type check in flag accessor.
12454 * gst/gstelementfactory.h:
12456 * gst/gstpluginfeature.h:
12458 API: GST_ELEMENT_FACTORY_CAST
12459 API: GST_PLUGIN_CAST
12460 API: GST_PLUGIN_FEATURE_CAST
12462 2006-06-12 Wim Taymans <wim@fluendo.com>
12464 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12465 (gst_object_unref):
12466 Add G_UNLIKELY in type registration.
12467 Avoid type check in _ref/_unref since that is also
12470 2006-06-12 Wim Taymans <wim@fluendo.com>
12472 * gst/gsterror.c: (gst_g_error_get_type):
12473 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12474 (gst_static_pad_template_get_type):
12475 * gst/gsttaglist.c: (gst_tag_list_get_type):
12476 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12477 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12478 * gst/gsturi.c: (gst_uri_handler_get_type):
12479 * gst/gstvalue.c: (gst_date_get_type):
12480 * gst/gstxml.c: (gst_xml_get_type):
12481 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12482 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12483 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12484 Add G_UNLIKELY in type registration.
12486 2006-06-12 Wim Taymans <wim@fluendo.com>
12488 * tools/gst-inspect.c: (print_signal_info):
12489 Properly print enum values.
12491 2006-06-12 Wim Taymans <wim@fluendo.com>
12493 * gst/gstinfo.c: (gst_debug_set_active),
12494 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12496 Add some G_[UN]LIKELY.
12497 Maintain __gst_debug_min to avoid formatting the arguments of
12498 debug messages that will be dropped anyway to avoid a lot of
12499 overhead from the debugging system.
12501 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12504 * po/POTFILES.skip:
12505 add missing files containing translatable strings, tell intltool about
12508 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12510 * tests/check/libs/.cvsignore:
12511 add test-binary to ignore list
12513 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12515 * docs/libs/gstreamer-libs-docs.sgml:
12516 reorder (put dp into a chapter) and indent
12518 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12523 === release 0.10.8 ===
12525 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12528 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12530 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12532 * gst/gst.c: (init_post):
12533 move pid declaration to declaration block
12535 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12537 * gst/gst.c: (init_post):
12538 use _exit() instead of exit() in our forked child; this ensures
12539 that none of the registered exit handlers from whatever is using
12540 GStreamer get executed. This fixes gnome-mixer-applet failing
12541 to load, because ORBit would shut down.
12542 Spotted by: Edward Hervey <edward@fluendo.com>
12543 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12546 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12551 === release 0.10.7 ===
12553 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12556 releasing 0.10.7, "Soepeke, ik zie ou"
12558 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12581 * win32/common/config.h:
12582 0.10.6.2 prerelease
12584 2006-06-07 Wim Taymans <wim@fluendo.com>
12586 * gst/gstindex.c: (gst_index_gtype_resolver):
12587 * tools/gst-xmlinspect.c: (print_plugin_info):
12588 Fix leak spotted by coverity checker. Fixes #343827
12589 Fix another other leak found by paolo borelli.
12591 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12593 * libs/gst/dataprotocol/dataprotocol.c:
12594 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12595 (gst_dp_version_get_type), (gst_dp_init),
12596 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12597 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12598 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12599 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12600 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12601 (gst_dp_packetizer_free):
12602 * libs/gst/dataprotocol/dataprotocol.h:
12603 API: add a GstDPPacketizer object, and create/free functions
12604 API: add GstDPVersion enum
12605 Add 1.0 event function that uses the string serialization
12606 Serialize more useful buffer flags
12609 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12611 * tests/check/Makefile.am:
12612 * tests/check/gst/gstabi.c:
12613 * tests/check/gst/struct_ppc64.h:
12614 * tests/check/libs/libsabi.c:
12615 * tests/check/libs/struct_ppc64.h:
12616 add ppc64 structure sizes
12618 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12620 * tests/check/Makefile.am:
12621 * tests/check/gst/gstabi.c:
12622 * tests/check/gst/struct_x86_64.h:
12623 * tests/check/libs/libsabi.c:
12624 * tests/check/libs/struct_x86_64.h:
12625 generate and add structure size lists for x86_64
12627 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12629 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12630 * libs/gst/check/gstcheck.h:
12631 factor out the method from tests that checks size of structures,
12632 and add code to generate the header containing these sizes
12633 * tests/check/gst/gstabi.c: (GST_START_TEST):
12634 * tests/check/gst/struct_i386.h:
12635 * tests/check/libs/libsabi.c: (GST_START_TEST):
12636 * tests/check/libs/struct_i386.h:
12639 2006-06-06 Michael Smith <msmith@fluendo.com>
12641 * gst/gstsegment.h:
12642 Don't use c++-style comments, fixes #343929
12644 2006-06-05 Edward Hervey <edward@fluendo.com>
12647 plugin_paths is not used if we build without registry support.
12649 * gst/gstsegment.c: (gst_segment_copy):
12650 _copy() was always returning NULL...
12652 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12654 * libs/gst/dataprotocol/dataprotocol.c:
12655 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12656 (gst_dp_packet_from_event):
12657 factor out CRC code
12659 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12661 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12662 make sure we unset caps
12664 2006-06-02 Michael Smith <msmith@fluendo.com>
12666 * libs/gst/check/gstcheck.c: (gst_check_init),
12667 (gst_check_chain_func):
12668 * libs/gst/check/gstcheck.h:
12669 Add a cond/mutex to the check support lib, signal this whenever we
12670 add to the buffers list. This will allow tests to not busy-wait on
12673 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12675 * libs/gst/dataprotocol/dataprotocol.c:
12676 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12677 (gst_dp_packet_from_event):
12678 factor out some common header init code
12680 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12682 * docs/libs/gstreamer-libs-sections.txt:
12683 * docs/libs/tmpl/gstdataprotocol.sgml:
12684 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12685 * libs/gst/dataprotocol/dataprotocol.h:
12686 API: make gst_dp_crc() public
12688 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12690 * plugins/indexers/gstindexers.c: (plugin_init):
12691 conditionally register fileindexer (fixes #343598)
12693 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12695 * gst/gsttagsetter.h:
12696 Can't cast ifaces to a class
12698 * libs/gst/net/gstnetclientclock.h:
12699 * libs/gst/net/gstnettimeprovider.h:
12700 * plugins/elements/gstfakesink.h:
12701 * plugins/elements/gstfakesrc.h:
12702 * plugins/elements/gstfdsink.h:
12703 * plugins/elements/gstfdsrc.h:
12704 * plugins/elements/gstfilesink.h:
12705 * plugins/elements/gstfilesrc.h:
12706 * plugins/elements/gstidentity.h:
12707 * plugins/elements/gstqueue.h:
12708 * plugins/elements/gsttee.h:
12709 * plugins/indexers/gstfileindex.c:
12710 * plugins/indexers/gstmemindex.c:
12711 * tests/old/examples/plugins/example.h:
12712 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12714 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12716 * libs/gst/dataprotocol/dataprotocol.c:
12717 (gst_dp_header_from_buffer):
12718 make sure we zero the whole ABI-compatible area
12720 2006-06-01 Wim Taymans <wim@fluendo.com>
12722 Patch by: Alessandro Decina <alessandro at nnva dot org>
12724 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12725 Make sure the EOS flag is cleared from pads after a flush
12726 or stop. Fixes #343538.
12728 * tests/check/libs/collectpads.c: (GST_START_TEST),
12729 (gst_collect_pads_suite):
12730 Added test for collectpads reusage after EOS.
12732 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12735 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12736 * win32/common/libgstbase.def:
12737 export gst_collect_pads_set_flushing
12738 * win32/common/libgstreamer.def:
12739 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12740 gst_value_fraction_multiply
12741 * win32/vs6/gst_inspect.dsp:
12742 add a link to intl.lib
12744 2006-05-30 Wim Taymans <wim@fluendo.com>
12746 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12747 (gst_collect_pads_chain):
12748 Handle the case where a pad is removed from the collection
12749 that could cause the other pads to become collectable.
12751 2006-05-30 Wim Taymans <wim@fluendo.com>
12753 * gst/gstelement.c:
12754 Clarify the use of _release_request_pad() and
12755 _get_request_pad() a bit better.
12757 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12758 (gst_adapter_take_buffer):
12759 Fix some doc and comment typos.
12761 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12763 * docs/gst/gstreamer-sections.txt:
12764 * docs/libs/gstreamer-libs-sections.txt:
12765 add declared symbols
12767 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12769 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12770 Add debug that can be enabled using a #define at the top of the file,
12771 for dumping stats about how late/early we were when waking up from
12772 waiting on the clock.
12774 2006-05-30 Wim Taymans <wim@fluendo.com>
12776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12777 When rebuilding the pad list, don't leak the previous list.
12779 2006-05-30 Wim Taymans <wim@fluendo.com>
12781 Patch by: Lutz Mueller <lutz at topfrose dot de>
12783 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12784 (gst_base_src_get_query_types), (gst_base_src_update_length):
12785 Publish supported query types.
12786 Update last_stop field in get_range mode so the position
12787 query works. Fixes #342321.
12789 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12791 * docs/gst/gstreamer-sections.txt:
12792 * gst/gsttaglist.c: (_gst_tag_initialize):
12793 * gst/gsttaglist.h:
12794 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12796 2006-05-30 Wim Taymans <wim@fluendo.com>
12798 Patch by: Alessandro Decina <alessandro at nnva dot org>
12800 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12801 Unlock mutex when removing an unknown pad.
12804 * tests/check/Makefile.am:
12805 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12806 (push_event), (setup), (teardown), (GST_START_TEST),
12807 (gst_collect_pads_suite), (main):
12808 Added collecpads check, disabled for now as check crashes for
12811 2006-05-29 Wim Taymans <wim@fluendo.com>
12813 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12814 Don't leak pads lists.
12816 2006-05-29 Wim Taymans <wim@fluendo.com>
12818 * docs/libs/gstreamer-libs-sections.txt:
12819 * libs/gst/base/gstcollectpads.c:
12820 (gst_collect_pads_set_flushing_unlocked),
12821 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12822 (gst_collect_pads_stop):
12823 * libs/gst/base/gstcollectpads.h:
12824 API: gst_collect_pads_set_flushing()
12825 Added api to set the pads to flushing, useful for seeking
12826 code in elements using collectpads.
12827 Clear segment when receiving a flush.
12829 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12831 * gst/gst.c: (add_path_func), (init_post):
12832 Don't scan registry paths passed via --gst-plugin-path immediately
12833 (will crash, because absolutely nothing is set up and no types are
12834 registered etc.); do this later in init_post(). Fixes #343057.
12836 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12838 * gst/gst.c: (init_post):
12839 if we have fork, fork while reading/rebuilding the registry
12840 so the parent doesn't take the hit of having all plugins loaded
12841 in memory. Fixes #342777.
12843 Check if we have fork()
12844 * win32/common/config.h.in:
12847 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12849 * plugins/elements/gstelements.c:
12850 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12851 (gst_file_src_init), (gst_file_src_set_property),
12852 (gst_file_src_get_property), (gst_file_src_start):
12853 * plugins/elements/gstfilesrc.h:
12854 API: GstFileSrc::use-mmap
12856 Add a use-mmap property to enable easier testing of all code paths.
12857 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12858 in the absence of gnomevfssrc. (Closes #340501)
12860 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12862 * tools/gst-inspect.c:
12863 Add missing include, removes warning of ngettext not being defined on
12866 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12868 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12869 Handle NULL input and output pointers silently as a failed conversion,
12870 rather than g_warnings.
12872 2006-05-25 Wim Taymans <wim@fluendo.com>
12874 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12875 Initialize variable before using. Fixes #342820.
12877 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12879 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12880 Fix off-by-one bug that would only allow peeks of N-1 bytes
12881 from the start even if the buffer to typefind on contains
12882 in fact N bytes of data (makes vorbis typefinding from a
12883 vorbis identification header buffer work).
12885 * tests/check/Makefile.am:
12886 * tests/check/libs/.cvsignore:
12887 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12888 (gst_typefindhelper_suite), (main), (foobar_typefind),
12890 Add very basic unit test for gst_type_find_helper_for_buffer()
12891 that checks for the problem fixed above.
12893 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12895 * tools/gst-inspect.c: (print_interfaces),
12896 (print_element_properties_info), (print_element_list), (main):
12897 add more translatable strings
12899 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12901 Patch by: Julien Moutte <julien at moutte net>
12903 * docs/gst/gstreamer-sections.txt:
12904 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12906 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12907 (gst_fake_sink_preroll):
12908 * plugins/elements/gstfakesink.h:
12909 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12911 2006-05-23 Wim Taymans <wim@fluendo.com>
12913 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12915 Added _CUSTOM error and success GstFlowReturn that can be
12916 used be elements internally.
12917 Added macro to check for SUCCESS flowreturns.
12918 API: GST_FLOW_CUSTOM_SUCCESS
12919 API: GST_FLOW_CUSTOM_ERROR
12920 API: GST_FLOW_IS_SUCCESS
12922 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12923 Added check for GstFlowReturn sanity.
12925 2006-05-23 Wim Taymans <wim@fluendo.com>
12927 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12930 (gst_collect_pads_event):
12931 clear/reset segment info in FLUSH_STOP.
12934 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12936 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12937 (gst_collect_pads_check_collected):
12938 Flush queued buffer on _stop(), fixes playing again (#342454)
12940 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12942 * tests/check/gst/gststructure.c: (GST_START_TEST),
12943 (gst_structure_suite):
12944 add a test for a complete structure
12946 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12948 * docs/faq/developing.xml:
12949 * docs/faq/faq.xml:
12950 * docs/faq/troubleshooting.xml:
12951 * docs/faq/using.xml:
12952 Some minor FAQ updates that won't change the fact that
12953 our FAQ is badly structured, full of information hardly
12954 anyone new to GStreamer needs to know and lacking lots
12955 of information people constantly ask for.
12957 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12959 * gst/gstpad.c: (gst_pad_set_caps):
12960 Short-circuit gst_pad_set_caps if setting the existing
12961 caps pointer again, and avoid printing debug and
12962 reffing/unreffing the caps.
12964 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12965 There's actually no need to set the caps before pushing -
12966 the acceptcaps method will handle it anyway.
12968 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12970 * docs/gst/gstreamer-sections.txt:
12971 * win32/common/libgstreamer.def:
12972 * gst/gstutils.c: (gst_element_seek_simple):
12974 API: add gst_element_seek_simple() (#342238).
12976 2006-05-18 Edward Hervey <edward@fluendo.com>
12978 * gst/gsttypefind.c: (gst_type_find_get_type):
12979 * gst/gsttypefind.h:
12980 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12981 registered for GstTypeFind pointers. This allows wrapping the structure
12982 in bindings (i.e. gst-python).
12984 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12986 * gst/gsttagsetter.c:
12987 Docs additions and fixes (see #339918).
12989 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12991 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12992 The caps intersection algorithm can produce multiple copies of the
12993 caps. Until that is fixed, we need to simplify the result to be
12994 sure whether the allowed caps are fixed or not.
12996 * plugins/elements/gstqueue.c: (gst_queue_init),
12997 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12998 (gst_queue_push_one):
12999 Proxied buffer alloc should not set the caps on the source pad.
13000 When pushing buffers, we always accept the caps change that triggers.
13001 This prevents negotiation errors caused by caps changing mid-stream
13002 and then being refused on our source pad (because upstream is now
13003 refusing those caps).
13005 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13007 * tests/examples/helloworld/helloworld.c: (main):
13008 Must plug audioconvert and audioresample between decoder
13011 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13013 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13014 (load_feature), (load_plugin):
13015 Allow empty strings for some of the plugin fields so we don't
13016 drop valid plugin entries that were written out correctly
13019 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13021 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13022 Use g_remove and g_rename instead of remove and rename that don't
13023 handle utf8 characters. rename was failing for users who had specific
13024 characters in their name then the registry was built at each
13026 * win32/vs6/gst_inspect.dsp:
13027 * win32/vs6/gst_launch.dsp:
13028 * win32/vs6/libgstbase.dsp:
13029 * win32/vs6/libgstcoreelements.dsp:
13030 * win32/vs6/libgstreamer.dsp:
13031 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13032 build of libgstreamer and clean unused libraries in projects link
13035 2006-05-17 Edward Hervey <edward@fluendo.com>
13037 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13038 The queue is not responsible for pushing an EOS when receiving a fatal
13039 flow error. It's up to the real element driving the pipeline to do that.
13041 2006-05-16 Edward Hervey <edward@fluendo.com>
13043 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13044 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13045 buffer returned a fatal error. It should just send an EOS and stop
13047 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13048 when pushing buffers on the queue and will be able to handle the event.
13050 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13052 * docs/manual/basics-bins.xml:
13053 * docs/manual/basics-init.xml:
13054 Fix typos and minor errors in sample code (#341856).
13056 2006-05-16 Wim Taymans <wim@fluendo.com>
13058 * docs/design/part-qos.txt:
13059 Fix indexes in formulas to make more sense.
13061 2006-05-15 Wim Taymans <wim@fluendo.com>
13063 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13064 Don't report POSITION based on clock time if sync is
13065 disabled in a sink.
13067 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13070 Add cast to make compiler happy - refcount variable was a gint
13071 in GstObject but is a guint in GObject and g_atomic_int_get()
13074 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13076 * gst/parse/Makefile.am:
13077 chain commands using &&, which also makes parallel make work
13079 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13081 * docs/gst/gstreamer-sections.txt:
13084 * gst/gstmessage.h:
13087 === release 0.10.6 ===
13089 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13092 releasing 0.10.6, "Take the cannoli"
13094 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13096 * tools/gst-launch.c: (print_tag):
13097 Fix use of uninitialized variable in the hypothetical
13098 case that some broken plugin creates a GST_TAG_IMAGE
13099 tag containing a NULL buffer (#341667).
13101 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13103 * tools/gst-launch.c: (print_tag):
13104 Print something more intelligible for image tags when
13105 using the -t switch (#341556).
13107 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13112 define GST_MAJORMINOR so we have it available in win32/common/config.h
13113 Possibly remove it from our Makefile.am files later
13114 * win32/common/config.h:
13115 * win32/common/config.h.in:
13116 added GST_MAJORMINOR
13117 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13118 * win32/common/gstversion.h:
13121 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13124 Update win32 files listing.
13125 * win32/common/gstversion.h:
13126 Add GST_MAJORMINOR definition.
13127 * win32/common/libgstreamer.def:
13128 Add new exported functions.
13130 2006-05-12 Michael Smith <msmith@fluendo.com>
13132 * gst/gstplugin.c: (gst_plugin_load_file):
13133 If an so file has no plugin entry point, unload the module.
13135 2006-05-11 Wim Taymans <wim@fluendo.com>
13137 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13138 (gst_queue_set_property):
13139 Don't forget to signal the _chain or _loop function
13140 when the queue size or thresholds change since that might
13141 cause them to make progres again.
13143 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13145 * gst/gstclock.c: (gst_clock_class_init):
13146 * gst/gstindex.c: (gst_index_class_init):
13147 * gst/gstobject.c: (gst_object_class_init):
13148 * gst/gstpad.c: (gst_pad_class_init):
13149 * gst/gstpipeline.c: (gst_pipeline_class_init):
13150 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13151 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13152 * libs/gst/base/gstbasetransform.c:
13153 (gst_base_transform_class_init):
13154 * libs/gst/net/gstnetclientclock.c:
13155 (gst_net_client_clock_class_init):
13156 * libs/gst/net/gstnettimeprovider.c:
13157 (gst_net_time_provider_class_init):
13158 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13159 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13160 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13161 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13162 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13163 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13164 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13165 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13166 * plugins/elements/gsttee.c: (gst_tee_class_init):
13167 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13168 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13169 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13171 2006-05-11 Wim Taymans <wim@fluendo.com>
13173 * gst/gstbuffer.c: (_gst_buffer_initialize):
13174 Register subbufer along with the buffer type so that
13175 it does not accidentally gets registered from N
13176 different streaming threads in a non threadsafe way.
13178 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13182 * gst/gstmessage.h:
13183 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13184 gst_event_ref() and gst_message_ref() functions again
13185 (ugly hack, please do fix if there's a better way besides
13186 overrides.txt, which doesn't seem to work).
13188 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13190 * libs/gst/check/gstcheck.h:
13191 add an assert for setting state to avoid lots of repetitive code
13194 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13196 * gst/gstvalue.c: (gst_value_serialize_flags):
13197 fix a leak if no flags are set
13198 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13201 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13203 * docs/manual/basics-pads.xml:
13204 Expand a bit on caps and filtered links and update
13205 examples that were still using the no longer existing
13206 gst_pad_link_filtered() (#338206).
13208 2006-05-10 Wim Taymans <wim@fluendo.com>
13210 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13211 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13212 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13213 (gst_collect_pads_stop):
13214 * libs/gst/base/gstcollectpads.h:
13215 No need to call _stop in _finalize.
13216 Iterate the main pad list in _finalize.
13217 Added some more debug.
13218 Free lists and data in the right order.
13219 Also free data whem doing _remove_pad when stopped for
13220 backward compatibility protect ::started with PAD_LOCK as
13223 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13225 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13226 (gst_structure_parse_value):
13228 rename a method so that it actually says what it does better
13230 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13232 * gst/gstevent.c: (_gst_event_initialize):
13233 * gst/gstformat.c: (_gst_format_initialize):
13234 make sure some essential types used by events are registered
13235 as part of gst_init()
13236 * gst/gstvalue.c: (gst_value_serialize_flags):
13237 if no flags are set, serialize them to a value that represents NONE
13238 so that deserializing them works
13239 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13240 add tests for serialization and deserialization of flags
13242 2006-05-10 Wim Taymans <wim@fluendo.com>
13244 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13245 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13246 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13247 (gst_collect_pads_event), (gst_collect_pads_chain):
13250 Catch and return errors from the collect function
13251 Refuse data on eos pads.
13253 2006-05-10 Edward Hervey <edward@fluendo.com>
13255 * gst/gstinterface.h:
13256 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13257 GInterface type checking.
13258 They were previously using non-defined macros.
13260 2006-05-09 Wim Taymans <wim@fluendo.com>
13262 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13263 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13264 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13265 (gst_collect_pads_start), (gst_collect_pads_stop),
13266 (gst_collect_pads_peek), (gst_collect_pads_pop),
13267 (gst_collect_pads_available), (gst_collect_pads_read),
13268 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13269 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13270 (gst_collect_pads_chain):
13271 * libs/gst/base/gstcollectpads.h:
13272 Clean up the mess that is collectpads, add comments and
13273 FIXMEs where needed.
13274 Maintain a separate pad list so we can add pads while
13275 collecting the other ones. For this we need a new separate
13277 Fix memory leak in finalize.
13278 Refactor some weird code to set/unset pad flushing flags, mark
13280 Don't crash in _available, _read, _flush when we're EOS.
13282 * tests/check/libs/.cvsignore:
13283 Ignore adapter check binary.
13285 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13287 * gst/gstindex.c: (gst_index_resolver_get_type):
13288 * plugins/elements/gstfakesink.c:
13289 (gst_fake_sink_state_error_get_type):
13290 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13291 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13292 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13293 Const-ify GEnumValue arrays.
13295 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13297 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13298 Add test case for flags + gst_buffer_make_metadata_writable().
13300 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13302 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13303 gst_buffer_make_metadata_writable() should maintain the
13304 buffer flags (those that make sense at least) (see #340859).
13306 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13308 * tools/gst-inspect.c:
13309 * tools/gst-launch.c:
13310 * tools/gst-typefind.c:
13311 * tools/gst-xmlinspect.c:
13313 Fix up includes: need to include stdlib.h in tools.h for exit().
13315 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13317 * gst/gsttaglist.c: (_gst_tag_initialize):
13318 * gst/gsttaglist.h:
13319 API: add GST_TAG_IMAGE tag (#340721).
13321 2006-05-08 Wim Taymans <wim@fluendo.com>
13324 Added some docs for the segment query.
13326 2006-05-08 Wim Taymans <wim@fluendo.com>
13328 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13329 (gst_base_src_loop), (gst_base_src_change_state):
13330 Always push non-flushing serialized events in the streaming
13333 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13335 * gst/gsterror.c: (_gst_stream_errors_init):
13336 Add a missing error string.
13338 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13340 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13341 Add applied_rate to the debug
13343 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13344 Copy applied_rate into the outgoing NEWSEGMENT event
13346 2006-05-08 Wim Taymans <wim@fluendo.com>
13348 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13350 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13351 (gst_base_sink_change_state):
13352 call ::unlock before taking the PREROLL_LOCK so we can safely
13353 handle elements that lock in ::render.
13356 2006-05-08 Edward Hervey <edward@fluendo.com>
13358 * autogen.sh: (CONFIGURE_DEF_OPT):
13359 Darwin's libtoolize is in fact called glibtoolize.
13360 Adding glibtoolize to the list of accepted names for libtoolize.
13362 2006-05-08 Wim Taymans <wim@fluendo.com>
13364 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13365 Unify error handling, don't post an error message
13366 when a push() returns EOS but perform our normal EOS
13367 handling code. Fixes #340772.
13369 2006-05-08 Wim Taymans <wim@fluendo.com>
13371 * docs/design/part-overview.txt:
13372 Make upsteam/downstream concepts more clear.
13373 Give an example of serialized/non-serialized events.
13375 * docs/design/part-events.txt:
13376 * docs/design/part-streams.txt:
13377 Mention applied_rate.
13379 * docs/design/part-trickmodes.txt:
13380 Mention applied rate, flesh out some more use cases.
13382 * gst/gstevent.c: (gst_event_new_new_segment),
13383 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13384 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13385 (gst_event_parse_tag), (gst_event_new_buffer_size),
13386 (gst_event_parse_buffer_size), (gst_event_new_qos),
13387 (gst_event_parse_qos), (gst_event_parse_seek),
13388 (gst_event_new_navigation):
13390 Add applied_rate field to NEWSEGMENT event.
13391 API: gst_event_new_new_segment_full()
13392 API: gst_event_parse_new_segment_full()
13394 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13395 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13396 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13397 * gst/gstsegment.h:
13398 Add applied_rate to GstSegment structure.
13399 Make calculation of stream_time and running_time more correct
13400 wrt rate/applied_rate.
13401 Add some more docs.
13402 API: GstSegment::applied_rate field
13403 API: gst_segment_set_newsegment_full();
13405 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13406 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13407 * libs/gst/base/gstbasetransform.c:
13408 (gst_base_transform_sink_eventfunc),
13409 (gst_base_transform_handle_buffer):
13410 Parse and use applied_rate in the GstSegment field.
13412 * tests/check/gst/gstevent.c: (GST_START_TEST):
13413 Add check for applied_rate field.
13415 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13416 (gstsegments_suite):
13417 Add more checks for various GstSegment operations.
13419 2006-05-08 Wim Taymans <wim@fluendo.com>
13421 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13422 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13423 (gst_base_sink_get_position), (gst_base_sink_change_state):
13424 Store the sync time of the buffer end position separatly in a
13425 new variable eos_rtime so we can properly sync the EOS event.
13427 Fix the docs for gst_base_sink_set_qos_enabled().
13428 Don't set segment start to invalid value when we receive a
13429 non TIME newsegment.
13430 get closer to handling position reporting for negative rates
13433 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13436 Docs about how to print caps for debug purposes.
13438 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13439 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13441 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13443 * gst/gstelement.c:
13444 use full enum names and preprend a '%' in docs strings to make recent
13445 gtk-doc turn that into a link
13447 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13449 * docs/manual/basics-bins.xml:
13450 * docs/manual/basics-bus.xml:
13451 * docs/manual/basics-pads.xml:
13452 Some typo fixes, some additions, some clarifications.
13454 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13456 * tools/gst-inspect.c: (main):
13457 * tools/gst-launch.c: (main):
13458 * tools/gst-run.c: (main):
13459 * tools/gst-typefind.c: (main):
13460 * tools/gst-xmlinspect.c: (main):
13461 Use the string passed to g_option_context_new() for
13462 what it's intended for - the program name is already
13465 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13467 * tools/Makefile.am:
13468 * tools/gst-inspect.c: (main):
13469 * tools/gst-launch.c: (main):
13470 * tools/gst-xmlinspect.c: (main):
13472 Add back --version command line option (#340460).
13474 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13475 Add --version option and use GOption for argument parsing; refactor a
13476 bit; accept directories as arguments and recurse into them; lastly,
13477 print a decent error message when things go wrong.
13479 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13481 * docs/manual/basics-bins.xml:
13482 Don't mention GstThread (#340611)
13483 * docs/manual/basics-elements.xml:
13484 Update link to GObject tutorial (#340607)
13486 2006-05-05 Wim Taymans <wim@fluendo.com>
13489 * gst/gstminiobject.c:
13490 Add note about refcounting and miniobject/buffer writeability
13491 to docs. Fixes #340604
13493 * gst/gstelementfactory.h:
13494 Added some explanation about @klass.
13496 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13498 * docs/manual/intro-motivation.xml:
13499 * docs/manual/manual.xml:
13500 Avoid CORBA & Bonobo references (#340598)
13502 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13504 * docs/manual/basics-bus.xml:
13505 * docs/manual/basics-pads.xml:
13506 Fix up some inaccuracies and omissions (#340609)
13508 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13510 * gst/gstghostpad.c:
13511 Small typo in docs (#340625)
13513 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13515 * gst/parse/Makefile.am:
13516 Make 'make -j' proof (see #340698).
13518 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13521 Require GLib-2.8 here as well.
13523 2006-05-05 Wim Taymans <wim@fluendo.com>
13525 * gst/glib-compat.c:
13526 * gst/gst.c: (init_pre):
13527 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13528 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13529 (gst_object_dispatch_properties_changed):
13531 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13532 * gst/gststructure.c: (gst_structure_set_valist):
13533 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13534 Remove pre glib2.8 compatibility, fixes #340508
13536 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13538 * gst/gsttaglist.h:
13539 Mention type of tags in doc blurbs.
13541 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13543 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13544 (gst_pad_configure_src), (gst_pad_push):
13545 Restore acceptcaps checking behaviour now that good plugins have
13548 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13550 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13557 * gst/gstmessage.c:
13561 * gst/parse/Makefile.am:
13562 * libs/gst/base/gstadapter.c:
13563 * libs/gst/base/gstbasesrc.c:
13564 * libs/gst/base/gstpushsrc.c:
13565 * libs/gst/base/gsttypefindhelper.c:
13566 * plugins/elements/gstfakesrc.c:
13567 * plugins/elements/gstidentity.c:
13568 Make sure gstprivate.h and/or config.h are
13569 always included first, otherwise some of our
13570 defines (like _FILE_OFFSET_BITS) might be
13571 redefined in the system headers. Fixes build
13572 on opensolaris (#340016).
13574 2006-05-04 Wim Taymans <wim@fluendo.com>
13576 * docs/libs/gstreamer-libs-sections.txt:
13577 API: addition: gst_adapter_take_buffer()
13579 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13580 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13581 (gst_adapter_available_fast):
13582 * libs/gst/base/gstadapter.h:
13583 Prepare for optimizing the hell out of this hugely inefficient
13585 Added gst_adapter_take_buffer() so we can at least start thinking
13586 about subbuffering and merging.
13587 Added some comments.
13589 * tests/check/Makefile.am:
13590 * tests/check/libs/adapter.c: (GST_START_TEST),
13591 (gst_adapter_suite), (main):
13592 Added GstAdapter check.
13594 2006-05-04 Wim Taymans <wim@fluendo.com>
13596 * docs/design/part-overview.txt:
13597 Fix some typos, add blurb about buffer flags.
13599 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13601 * docs/libs/gstreamer-libs-sections.txt:
13602 make sure GstBaseTransformClass shows up in the docs
13603 * libs/gst/base/gstbasetransform.c:
13604 * libs/gst/base/gstbasetransform.h:
13605 move docs so gtk-doc picks it up now
13607 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13609 * docs/libs/gstreamer-libs-sections.txt:
13610 add missing symbols to docs
13612 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13614 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13615 back out the newsegment handling change, see #340060 for ongoing
13618 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13620 * tools/gst-run.c: (get_candidates), (main):
13621 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13622 work); fix typo in error message. Fixes #340079.
13624 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13626 * common/Makefile.am:
13627 * docs/Makefile.am:
13628 * docs/faq/Makefile.am:
13629 * docs/gst/Makefile.am:
13630 * docs/libs/Makefile.am:
13631 * docs/manual/Makefile.am:
13632 * docs/plugins/Makefile.am:
13633 * docs/pwg/Makefile.am:
13634 * docs/slides/Makefile.am:
13636 * common/upload.mak:
13637 move upload.mak to common
13639 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13641 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13642 add more asserts on refcounts
13643 do more cleanup at end of tests
13644 fix test leaks showing in FC5
13646 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13648 * plugins/elements/gsttypefindelement.c:
13649 (gst_type_find_element_handle_event):
13650 reverted wrong change and reflowed code to avoid others falling into
13653 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13655 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13656 fix changelog entry about last collectpads change,
13657 add notes about proper fix
13659 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13662 * gst/gstregistry.c: (gst_registry_scan_path_level),
13663 (gst_registry_scan_path):
13664 * gst/gstregistry.h:
13665 only write out registry if it has changed, fixes #338339
13667 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13670 * gst/gstpipeline.c:
13671 * plugins/elements/gstcapsfilter.c:
13672 * plugins/elements/gstfakesink.c:
13673 * plugins/elements/gstfakesrc.c:
13674 * plugins/elements/gstfdsink.c:
13675 * plugins/elements/gstfdsrc.c:
13676 * plugins/elements/gstfilesink.c:
13677 * plugins/elements/gstfilesrc.c:
13678 * plugins/elements/gstidentity.c:
13679 * plugins/elements/gstqueue.c:
13680 * plugins/elements/gsttee.c:
13681 * plugins/elements/gsttypefindelement.c:
13682 (gst_type_find_element_handle_event):
13683 make GstElementDetails const
13685 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13687 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13688 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13689 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13690 more detailed debug and formatting cleanup,
13691 forward newsegments to src-pad (so that e.g. adder not eats them)
13693 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13695 * gst/gstutils.c: (gst_element_link_pads):
13696 cleanup double code
13698 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13700 * libs/gst/controller/gstcontroller.c:
13701 (gst_controller_sync_values):
13703 * tests/check/libs/controller.c: (GST_START_TEST),
13704 (gst_controller_suite):
13705 a new test for live value handling
13707 2006-04-28 Wim Taymans <wim@fluendo.com>
13709 * gst/gstutils.c: (push_and_ref):
13710 Added some more docs.
13711 Fix refcount issue whith gst_element_found_tags() helper
13712 function. Fixes #338335
13714 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13715 Added testsuite for gst_element_found_tags().
13717 2006-04-28 Michael Smith <msmith@fluendo.com>
13719 * gst/gstvalue.c: (gst_value_serialize_flags):
13720 Avoid NULL dereference when trying to serialize flags containing
13723 2006-04-28 Michael Smith <msmith@fluendo.com>
13725 * plugins/elements/gsttypefindelement.c:
13726 (gst_type_find_element_handle_event):
13727 If we get EOS before any data is accumulated, don't use
13728 uninitialised local variables.
13730 2006-04-28 Michael Smith <msmith@fluendo.com>
13732 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13733 (gst_dp_event_from_packet):
13734 Fixes in reading/writing events over GDP (not currently used?) -
13735 dereferencing NULL events for unknown/invalid event types, memory
13736 leak, and change g_warning to GST_WARNING.
13738 2006-04-28 Wim Taymans <wim@fluendo.com>
13740 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13741 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13742 (gst_base_sink_get_position), (gst_base_sink_change_state):
13743 When frame dropping is enabled, we should not ignore frames
13744 without a duration.
13745 Update some documentation.
13747 2006-04-28 Wim Taymans <wim@fluendo.com>
13749 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13750 (gst_base_src_send_event), (gst_base_src_change_state):
13751 Documentation updates.
13753 2006-04-28 Wim Taymans <wim@fluendo.com>
13755 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13756 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13757 handle EAGAIN, EINTR and short writes correctly. Also clean
13758 up some error cases, avoid a deadlock on bad file descriptors and
13759 use GST_DEBUG_OBJECT.
13762 2006-04-28 Wim Taymans <wim@fluendo.com>
13764 * gst/gstvalue.c: (gst_value_serialize_buffer),
13765 (gst_value_deserialize_buffer):
13766 Don't try to serialize a GValue with a NULL buffer.
13769 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13770 Added check for serialisation of NULL buffers.
13772 2006-04-28 Wim Taymans <wim@fluendo.com>
13774 * gst/gstminiobject.c: (gst_value_take_mini_object):
13775 Taking a NULL miniobject is valid, fix the case where
13776 we try to unref the NULL miniobject.
13778 2006-04-28 Wim Taymans <wim@fluendo.com>
13780 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13782 * gst/gstbin.c: (gst_bin_handle_message_func):
13784 Don't leak bin refcount when a state recalc is
13785 in progress and we delay another one #339808.
13787 2006-04-28 Wim Taymans <wim@fluendo.com>
13789 * docs/design/part-TODO.txt:
13790 Mention QoS as an ongoing work item.
13792 * docs/design/part-buffering.txt:
13793 New doc about buffering that needs to be fleshed out
13796 * docs/design/part-qos.txt:
13797 More QoS policy for decoders/demuxers/transforms
13799 * docs/design/part-trickmodes.txt:
13802 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13807 === release 0.10.5 ===
13809 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13812 releasing 0.10.5, "Fogo"
13814 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13816 patch by: Wim Taymans
13818 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13819 (gst_pad_configure_src), (gst_pad_push):
13820 * gst/gstpipeline.c: (gst_pipeline_init):
13821 Fix internal data flow errors. Fixes #338711.
13823 2006-04-12 Wim Taymans <wim@fluendo.com>
13825 * tests/check/gst/gstelement.c: (GST_START_TEST):
13826 Don't leak the factory.
13828 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13831 * win32/common/config.h:
13834 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13836 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13837 (gst_controller_unset_all):
13838 Free allocated GstTimedValues when freeing list nodes.
13839 Should fix leaks 'make check-valgrind' complains about.
13841 * win32/common/libgstcontroller.def:
13842 Add gst_controller_unset_all.
13844 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13846 * docs/libs/gstreamer-libs-sections.txt:
13847 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13848 (gst_controller_unset_all):
13849 * libs/gst/controller/gstcontroller.h:
13850 API: Added new method gst_controller_unset_all()
13851 fixed gst_controller_unset()
13852 * tests/check/libs/controller.c: (GST_START_TEST),
13853 (gst_controller_suite):
13854 Added two testcases for new and fixed method
13856 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13858 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13859 MSG_DONTWAIT is not defined on Cygwin, so work
13860 around that (fixes #317048).
13862 2006-04-11 Wim Taymans <wim@fluendo.com>
13864 * gst/gstelementfactory.c: (gst_element_register),
13865 (gst_element_factory_create), (gst_element_factory_make):
13868 Updated docs (Fixes #131079)
13870 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13873 * tests/check/gst/gstelement.c: (GST_START_TEST),
13874 (gst_element_suite):
13875 Added testcase for elementfactory class field.
13877 2006-04-10 Wim Taymans <wim@fluendo.com>
13879 * gst/gstsegment.c:
13880 Added some more docs.
13882 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13883 (gst_base_sink_reset_qos):
13884 Calculate more accurate rate values.
13886 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13888 * gst/gst_private.h:
13889 add a new #ifdef to use __declspec(dllimport) only for
13890 other modules and not for gstreamer core
13891 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13892 use gst_guint64_to_gdouble for conversion
13893 * win32/common/libgstreamer.def:
13894 add new exported functions
13895 * win32/vs6/gst_inspect.dsp:
13896 * win32/vs6/gst_launch.dsp:
13897 * win32/vs6/libgstbase.dsp:
13898 * win32/vs6/libgstcontroller.dsp:
13899 * win32/vs6/libgstcoreelements.dsp:
13900 * win32/vs6/libgstdataprotocol.dsp:
13901 * win32/vs6/libgstnet.dsp:
13902 update project files
13904 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13906 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13907 * gst/gstclock.c: (gst_clock_class_init):
13908 * gst/gstelement.c: (gst_element_class_init):
13909 * gst/gstindex.c: (gst_index_class_init):
13910 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13911 * gst/gstobject.c: (gst_object_class_init),
13912 (gst_signal_object_class_init):
13913 * gst/gstpad.c: (gst_pad_class_init):
13914 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13915 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13916 * gst/gstregistry.c: (gst_registry_class_init):
13917 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13918 * gst/gsttask.c: (gst_task_class_init):
13919 * gst/gstxml.c: (gst_xml_class_init):
13920 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13921 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13922 (gst_base_src_loop):
13923 * libs/gst/controller/gstcontroller.c:/
13924 (_gst_controller_class_init):
13925 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13926 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13927 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13928 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13929 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13930 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13932 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13934 * gst/gstpad.c: (gst_pad_link):
13935 Must set peer pads before calling the link function, otherwise
13936 a task started from a link function might get a flow-not-linked
13937 result when trying to push because the other thread where the
13938 linking happens hasn't had a chance to set the peers yet. This
13939 might happen for example when a queue gets linked to a downstream
13940 element, as queue starts a streaming task when its source pad
13941 gets linked. Happens in real life when playing back flac/musepack
13942 files in playbin (#332390).
13944 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13948 * libs/gst/base/gstadapter.h:
13949 * libs/gst/base/gstbasesink.h:
13950 * libs/gst/base/gstbasesrc.h:
13951 * libs/gst/base/gstbasetransform.h:
13952 * libs/gst/base/gstcollectpads.h:
13953 * libs/gst/base/gstpushsrc.h:
13954 Fix broken GObject macros
13956 2006-04-07 Wim Taymans <wim@fluendo.com>
13958 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13959 Initialize start and stop times, thanks valgrind.
13961 2006-04-07 Wim Taymans <wim@fluendo.com>
13963 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13964 Be a bit nicer to badly behaving upstream elements that expect
13965 us to deal with non TIME segments and timestamps (such as fakesrc
13968 2006-04-07 Wim Taymans <wim@fluendo.com>
13971 Small documentation clarification about the signal watch.
13973 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13974 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13975 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13976 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13977 (gst_base_sink_get_position_last),
13978 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13979 Convert and store timestamps in stream time and running time, the
13980 raw timestamps are not useful, also document this better.
13981 Use different window sizes for good and bad QoS observations so
13982 we react to badness a little quicker.
13983 Keep track of the amount of rendered and dropped buffers.
13984 Send QoS timestamps in running time.
13986 * libs/gst/base/gstbasetransform.c:
13987 (gst_base_transform_sink_eventfunc),
13988 (gst_base_transform_handle_buffer):
13989 Compare QoS timestamps against running time.
13991 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13994 Typo fixes in docs.
13996 2006-04-06 Michael Smith <msmith@fluendo.com>
13998 * gst/gstpad.c: (gst_pad_set_property):
13999 Use g_value_get_object() instead of g_value_dup_gst_object(),
14000 to avoid double-reffing the pad template (which we then sink,
14001 so this worked previously if (and only if) the pad template
14004 * gst/gstpadtemplate.c: (gst_pad_template_init),
14005 (gst_pad_template_pad_created):
14006 Never return floating references to pad templates, create
14007 them as initially-sunken.
14009 Document an extra function (and make this stop sinking our
14010 pad template, since that is now guaranteed to do nothing,
14011 since we created it sunken).
14013 * gst/gstghostpad.c:
14016 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14018 * gst/gstinfo.c: (__gst_in_valgrind):
14021 * plugins/elements/gsttypefindelement.c:
14022 (gst_type_find_element_chain):
14023 Don't leak buffer caps.
14025 2006-04-06 Michael Smith <msmith@fluendo.com>
14027 * gst/parse/grammar.y:
14028 Fix a leak in parse-launch for any source-or-sink named element
14031 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14032 Unref the pipeline if it exists after we've failed parsing.
14034 2006-04-05 Michael Smith <msmith@fluendo.com>
14036 * gst/gstpipeline.c: (gst_pipeline_init):
14037 When we create a pipeline bus, initially create it in flushing mode.
14038 Fixes leaks in at least one test, and makes a new pipeline work the
14039 same as one that has gone to READY and then back to NULL.
14041 * gst/gstelement.c:
14044 2006-04-05 Michael Smith <msmith@fluendo.com>
14046 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14047 Unref a pad we reffed.
14048 * tests/check/gst/gstutils.c: (GST_START_TEST):
14051 2006-04-05 Michael Smith <msmith@fluendo.com>
14053 * gst/gstquery.c: (gst_query_set_formats),
14054 (gst_query_set_formatsv):
14055 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14057 2006-04-05 Michael Smith <msmith@fluendo.com>
14059 * tests/check/generic/sinks.c: (GST_START_TEST):
14060 Fix a variety of memleaks in sinks check, which are only sometimes
14061 shown by running the tests under valgrind (weird?).
14063 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14065 * docs/version.entities.in:
14066 Fix the substituted entity name after thomas' changes on the
14069 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14071 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14074 2006-04-05 Andy Wingo <wingo@pobox.com>
14076 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14078 * libs/gst/base/gstbasetransform.c
14079 (gst_base_transform_sink_eventfunc): When resetting our segment on
14080 FLUSH_STOP, also update the flag saying we haven't seen a
14083 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14085 Patch by: Paolo Borelli <pborelli at katamail dot com>
14087 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14088 (gst_plugin_check_license):
14089 minor clean-ups: G_DEFINE_TYPE already takes care of the
14090 parent_class stuff, no need to do it twice. Mark array of
14091 license strings as constant. (#337103)
14093 2006-04-04 Michael Smith <msmith@fluendo.com>
14095 * tools/gst-inspect.c: (print_element_list):
14096 Free the right plugin list; fixes a memory leak.
14098 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14100 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14102 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14103 Don't error out on empty buffers (#336945).
14105 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14107 * docs/libs/gstreamer-libs-sections.txt:
14108 * gst/gsttaglist.c:
14109 * libs/gst/base/gstbasesink.c:
14110 * libs/gst/base/gstbasesink.h:
14111 * libs/gst/base/gstbasesrc.c:
14112 * libs/gst/base/gstbasesrc.h:
14113 Documentation updates. Make BaseSink and BaseSrc docs contain the
14114 class structure so that people can actually see the prototypes for
14115 virtual functions they're supposed to be overriding.
14117 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14119 * plugins/elements/gsttypefindelement.c:
14120 (gst_type_find_element_chain):
14121 More debug info; when skipping typefinding, send cached
14122 events in all cases.
14124 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14127 use new AS_VERSION and AS_NANO macros
14128 * gst/gst-i18n-lib.h:
14131 * gst/gstversion.h.in:
14132 * win32/common/config.h:
14133 * win32/common/config.h.in:
14136 2006-03-31 Michael Smith <msmith@fluendo.com>
14138 * plugins/elements/gsttypefindelement.c:
14139 (gst_type_find_element_chain):
14140 Do not typefind content if the buffers already have caps.
14141 Neccesary for icydemux (#333657), and the right thing to do anyway.
14143 2006-03-30 Wim Taymans <wim@fluendo.com>
14145 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14146 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14147 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14148 (gst_base_sink_record_qos_observation),
14149 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14150 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14151 (gst_base_sink_change_state):
14152 More QoS measurements as described in the design doc.
14153 Get rid of ringbuffer with observations, running average is
14154 more simple and equally good.
14155 Calculates valid proportion now.
14156 Added beginning of flood measurement.
14158 2006-03-29 Wim Taymans <wim@fluendo.com>
14160 * docs/design/part-qos.txt:
14162 Small documentation updates and additions.
14164 2006-03-29 Wim Taymans <wim@fluendo.com>
14166 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14167 (gst_base_src_send_event), (gst_base_src_loop),
14168 (gst_base_src_change_state):
14169 Perform the EOS logic when we reach the segment stop position.
14170 Fix compilation on gcc4.1
14172 2006-03-29 Wim Taymans <wim@fluendo.com>
14174 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14176 * plugins/elements/gstqueue.c: (gst_queue_init),
14177 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14178 (gst_queue_set_property):
14179 * plugins/elements/gstqueue.h:
14180 In queue, when EOS is received, if minimum threshold > max_size -
14181 current_level, there is chance that queue blocks forever in conditional
14182 item del wait. This is because the queue is not emptied completely due
14183 to minimum threshold. Here is another approach. Instead of setting
14184 cur_levels to max in EOS, just zero all minimum threshold levels. This
14185 should make sure that queue gives out all data. When going to READY
14186 (stop) state, just reset the original minimum threshold levels.
14189 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14191 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14192 (gst_type_find_element_handle_event),
14193 (gst_type_find_element_send_cached_events),
14194 (gst_type_find_element_change_state):
14195 * plugins/elements/gsttypefindelement.h:
14196 When typefinding is done in push mode, we should cache
14197 events we receive during typefinding instead of just
14198 dropping them (e.g. newsegment, custom events from
14199 dvdreadsrc etc.) and then send them out once we've
14200 determined the type of the stream (and decodebin
14201 has had a chance to plug in a decoder/demuxer).
14203 2006-03-27 Wim Taymans <wim@fluendo.com>
14205 * docs/design/part-qos.txt:
14208 2006-03-27 Wim Taymans <wim@fluendo.com>
14210 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14212 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14213 (gst_base_src_send_event), (gst_base_src_change_state):
14214 Handle element seek correctly when we are streaming.
14217 2006-03-24 Michael Smith <msmith@fluendo.com>
14219 * docs/faq/gst-uninstalled:
14220 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14221 allow you to correctly run intalled applications built against old
14222 core, using plugins that require updated core (e.g. running
14223 installed totem against a full uninstalled gstreamer stack)
14225 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14227 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14230 2006-03-24 Wim Taymans <wim@fluendo.com>
14232 * docs/gst/gstreamer-sections.txt:
14233 Rearrange the order of the methods so that related methods
14234 are grouped together in sections.
14236 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14238 * gst/gstelement.c:
14239 Little clarification in the docs
14241 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14245 * plugins/elements/gstidentity.c:
14246 * plugins/elements/gstqueue.c:
14247 * plugins/elements/gsttee.c:
14248 * plugins/elements/gsttypefindelement.c:
14249 GST_ELEMENT_DETAILS formatting
14251 2006-03-24 Wim Taymans <wim@fluendo.com>
14253 * libs/gst/base/gstbasesink.h:
14254 Only add fields, not insert or we break ABI.
14256 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14258 * win32/common/libgstbase.def:
14259 * win32/common/libgstreamer.def:
14260 Update, add recently added functions.
14262 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14264 * docs/gst/gstreamer-sections.txt:
14265 * gst/gstutils.c: (gst_pad_query_peer_position),
14266 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14268 API: add some new utility functions:
14269 - gst_pad_query_peer_position()
14270 - gst_pad_query_peer_duration()
14271 - gst_pad_query_peer_convert()
14273 2006-03-23 Wim Taymans <wim@fluendo.com>
14275 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14276 (gst_base_sink_init), (gst_base_sink_finalize),
14277 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14278 (gst_base_sink_set_property), (gst_base_sink_get_property),
14279 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14280 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14281 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14282 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14283 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14284 (gst_base_sink_preroll_object), (gst_base_sink_event),
14285 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14286 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14287 (gst_base_sink_query), (gst_base_sink_change_state):
14288 Decouple max-lateness and the fact that QoS messages are generated
14289 with a new property (qos).
14290 added API: GstBaseSink::async_play()
14291 Add vmethod so subclasses can be notified of ASYNC playing
14293 Collect timestamp start and stop to report better current
14294 position in EOS/PLAYING/PAUSED/READY/NULL.
14295 Refactor QoS/frame dropping and other measurements.
14296 API: GstBaseSrc::qos
14299 * libs/gst/base/gstbasesink.h:
14300 Added Private struct.
14301 API: gst_base_sink_set_qos_enabled()
14302 API: gst_base_sink_is_qos_enabled()
14304 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14306 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14307 If compiling against GLib-2.8 or newer, try to read the
14308 registry file using GMappedFile first before falling back
14309 to fopen() + fread() (#332151).
14311 2006-03-22 Wim Taymans <wim@fluendo.com>
14313 * gst/gstinfo.c: (gst_debug_set_active),
14314 (gst_debug_category_set_threshold):
14315 Disable debugging unless explicitly activated.
14318 2006-03-22 Wim Taymans <wim@fluendo.com>
14320 * gst/gstelement.c: (gst_element_set_locked_state),
14321 (gst_element_dispose):
14322 Cleanup the error case.
14324 * gst/gstobject.c: (gst_object_dispose):
14325 print a critical when some object was disposed with
14326 a parent, also revive the object since it might
14329 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14331 * tools/gst-launch.1.in:
14334 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14337 * tests/check/Makefile.am:
14338 disable some tests when we don't have a registry
14339 * tests/check/gst/gstutils.c: (gst_utils_suite):
14340 don't build the part that needs parsing
14342 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14345 * tests/examples/Makefile.am:
14346 fix --disable-parse build
14348 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14350 * tools/gst-feedback.1.in:
14351 Fix typo: s/feeback/feedback/ (#133494).
14353 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14355 * tools/Makefile.am:
14356 * tools/gst-launch.1.in:
14357 Add FILES section and correct entry about GST_REGISTRY_PATH
14358 environment variable (#133495; #133494).
14360 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14362 * tools/Makefile.am:
14363 * tools/gst-md5sum.1.in:
14364 * tools/gst-md5sum.c:
14365 Remove gst-md5sum and man page (the md5sink element
14366 required was removed ages ago)
14368 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14370 * gst/gststructure.c: (gst_structure_id_set_value):
14371 Make sure that string fields in structures/taglists
14372 contain valid UTF-8 - we don't want to pass rubbish to
14373 applications because of a buggy plugin (cp. #334167).
14375 2006-03-21 Edward Hervey <edward@fluendo.com>
14377 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14378 (gst_bin_handle_message_func):
14379 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14380 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14381 (gst_element_set_bus_func):
14382 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14383 * gst/gstminiobject.c: (gst_value_set_mini_object),
14384 (gst_value_take_mini_object):
14385 * gst/gstpad.c: (gst_pad_set_pad_template):
14386 * gst/gstpipeline.c: (gst_pipeline_dispose),
14387 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14388 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14389 (gst_collect_pads_chain):
14390 * libs/gst/net/gstnettimeprovider.c:
14391 (gst_net_time_provider_set_property):
14392 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14393 It's in fact all issues with gst_*object_replace().
14395 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14397 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14399 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14400 * pkgconfig/gstreamer-check.pc.in:
14401 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14403 2006-03-21 Edward Hervey <edward@fluendo.com>
14407 * gst/gstmessage.h:
14408 gst_[buffer|event|message]_ref() macros are replaced by a static
14409 inline functions because gcc-4.1 will about if the return value
14411 * tests/check/gst/gstevent.c: (event_probe):
14412 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14414 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14417 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14418 the type' case. (Closes: #335195 for now). In the future, when we
14419 depend on GLib 2.10, we could also intern the type name using
14420 g_intern_static_string()
14422 2006-03-20 Wim Taymans <wim@fluendo.com>
14424 * gst/gstbin.c: (gst_bin_handle_message_func),
14425 (bin_query_max_init), (bin_query_position_fold),
14426 (bin_query_position_done), (gst_bin_query):
14427 Position query should also take max of all streams.
14429 2006-03-20 Wim Taymans <wim@fluendo.com>
14431 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14432 (gst_fake_src_finalize):
14433 Fix leaks in fakesrc.
14435 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14436 Fix leaks in the testcase.
14438 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14440 * gst/gst_private.h:
14441 add win32 specific import decoration(__declspec(dllimport))
14442 for all extern GstDebugCategory * variables
14443 * win32/common/libgstbase.def:
14444 * win32/common/libgstcontroller.def:
14445 * win32/common/libgstreamer.def:
14446 Add some exports, remove empty lines
14447 * win32/common/libgstdataprotocol.def:
14448 * win32/common/libgstdataprotocol.dsp:
14449 * win32/common/libgstnet.def:
14450 * win32/common/libgstnet.dsp:
14451 new project files and exportation files added
14453 2006-03-19 Wim Taymans <wim@fluendo.com>
14455 * tests/check/libs/basesrc.c: (eos_event_counter):
14456 Use proper return value for probe.
14458 2006-03-17 Wim Taymans <wim@fluendo.com>
14460 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14462 Don't leak buffers, caps and pads on negotiation errors.
14464 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14466 * docs/faq/cvs.xml:
14467 * docs/faq/dependencies.xml:
14468 * docs/faq/developing.xml:
14469 * docs/faq/faq.xml:
14470 * docs/faq/general.xml:
14471 * docs/faq/getting.xml:
14472 * docs/faq/legal.xml:
14473 * docs/faq/troubleshooting.xml:
14474 * docs/faq/using.xml:
14475 Faq review and update.
14477 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14479 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14481 Don't pound the cpu to pieces by checking get_caps when accept_caps
14482 is called with the same caps as the pad already has.
14483 Use GST_DEBUG_OBJECT when outputting caps change information.
14485 2006-03-15 Wim Taymans <wim@fluendo.com>
14487 * gst/gstclock.c: (gst_clock_class_init):
14490 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14495 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14496 (gst_pad_accept_caps), (gst_pad_configure_sink),
14497 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14498 Make the default acceptcaps behaviour be to check the requested
14499 caps against the gst_pad_get_caps output.
14501 Ensure that gst_pad_accept_caps is used to check caps when a pad
14502 doesn't have a setcaps function, so that pads automatically refuse
14503 caps that they don't allow in their pad template. (Fixes #332986)
14505 When a buffer with attached caps is pushed, ensure that the source
14506 pad receives those caps even if the element didn't call
14507 gst_pad_set_caps first.
14509 2006-03-15 Wim Taymans <wim@fluendo.com>
14511 * libs/gst/base/gstadapter.c:
14514 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14516 * win32/common/libgstbase.def:
14517 * win32/common/libgstcontroller.def:
14518 * win32/common/libgstreamer.def:
14519 Add a whole bunch of missing functions (#334434).
14521 2006-03-14 Wim Taymans <wim@fluendo.com>
14523 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14524 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14525 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14526 Better debug info when we receive a segment event.
14527 Reorganize a bit so we can pass the get_times() results around.
14528 Use the segment format when calculating the running time.
14529 Don't do QoS is sync is disabled or we have no clock or the
14530 element does not want us to sync to the clock.
14531 Don't drop buffers if QoS is disabled for now.
14533 2006-03-14 Wim Taymans <wim@fluendo.com>
14535 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14536 Marked the stats property as unimplemented so people don't get
14538 Add debug message when regression goes wrong.
14539 Added some more docs.
14541 2006-03-14 Wim Taymans <wim@fluendo.com>
14543 * gst/gstsegment.c: (gst_segment_to_stream_time):
14544 Return correct return type in case of errors.
14546 2006-03-14 Wim Taymans <wim@fluendo.com>
14548 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14549 Don't segfault on invalid formats.
14551 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14553 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14554 Can't use gst_segment_to_running_time() when the segment
14555 is not in GST_TIME_FORMAT (like with filesink, for example).
14556 Stops flac encoding pipelines from spewing critical warnings
14559 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14561 * gst/gstpipeline.c: (gst_pipeline_class_init):
14562 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14564 * plugins/elements/gsttypefindelement.c:
14565 (gst_type_find_element_handle_event):
14566 Don't try to typefind empty streams.
14568 2006-03-14 Wim Taymans <wim@fluendo.com>
14570 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14571 (gst_base_sink_do_qos):
14572 Separate QoS calculation.
14573 Only drop buffers when lateness is bigger than the
14574 duration of the buffer.
14576 2006-03-13 Wim Taymans <wim@fluendo.com>
14578 * gst/gstpipeline.c: (gst_pipeline_set_property),
14579 (gst_pipeline_get_property), (do_pipeline_seek),
14580 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14581 (gst_pipeline_get_delay):
14582 Don't deadlock when reading properties.
14584 2006-03-13 Wim Taymans <wim@fluendo.com>
14586 * libs/gst/base/gstbasetransform.c:
14587 (gst_base_transform_class_init), (gst_base_transform_init),
14588 (gst_base_transform_sink_event),
14589 (gst_base_transform_sink_eventfunc),
14590 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14591 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14592 (gst_base_transform_set_property),
14593 (gst_base_transform_get_property),
14594 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14595 (gst_base_transform_set_qos_enabled),
14596 (gst_base_transform_is_qos_enabled):
14597 * libs/gst/base/gstbasetransform.h:
14598 Make basetransform virtual method for src events too.
14599 Handle QOS in basetransform.
14600 API: gst_base_transform_update_qos()
14601 API: gst_base_transform_set_qos_enabled()
14602 API: gst_base_transform_is_qos_enabled()
14604 2006-03-13 Wim Taymans <wim@fluendo.com>
14606 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14607 (gst_base_sink_do_sync):
14609 Use QOS debug category.
14611 2006-03-13 Wim Taymans <wim@fluendo.com>
14613 * plugins/elements/gstqueue.c:
14614 Very small doc update.
14616 2006-03-13 Wim Taymans <wim@fluendo.com>
14618 * gst/gst_private.h:
14619 * gst/gstinfo.c: (_gst_debug_init):
14620 Added QOS debug category
14622 2006-03-13 Wim Taymans <wim@fluendo.com>
14624 * docs/gst/gstreamer-sections.txt:
14625 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14627 * gst/gstbus.c: (gst_bus_class_init):
14630 * gst/gstelement.c: (gst_element_set_locked_state):
14631 * gst/gstsegment.c:
14632 Documentation updates.
14634 * gst/gstpipeline.c: (gst_pipeline_get_type),
14635 (gst_pipeline_class_init), (gst_pipeline_init),
14636 (gst_pipeline_dispose), (gst_pipeline_set_property),
14637 (gst_pipeline_get_property), (do_pipeline_seek),
14638 (gst_pipeline_send_event), (gst_pipeline_change_state),
14639 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14640 (gst_pipeline_get_delay):
14641 * gst/gstpipeline.h:
14642 Added methods for setting the delay.
14643 API: gst_pipeline_set_delay()
14644 API: gst_pipeline_get_delay()
14645 Add pipeline debug category
14648 Don't reset stream time when seek failed.
14650 2006-03-13 Wim Taymans <wim@fluendo.com>
14652 * docs/design/draft-klass.txt:
14653 * docs/design/part-clocks.txt:
14654 * docs/design/part-events.txt:
14655 * docs/design/part-gstbin.txt:
14656 * docs/design/part-gstpipeline.txt:
14657 * docs/design/part-messages.txt:
14658 * docs/design/part-negotiation.txt:
14659 * docs/design/part-overview.txt:
14660 * docs/design/part-preroll.txt:
14661 * docs/design/part-seeking.txt:
14662 * docs/design/part-states.txt:
14663 * docs/design/part-streams.txt:
14664 Documentation updates.
14666 2006-03-12 Julien MOUTTE <julien@moutte.net>
14668 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14669 us to leak strings...
14671 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14673 * libs/gst/net/gstnettimeprovider.c:
14675 * win32/common/config.h:
14678 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14680 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14683 Don't check for libgnomeui (leftover from old examples
14684 that aren't built or disted any longer) (#334303).
14686 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14688 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14689 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14690 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14691 there's no space left on the device.
14693 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14696 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14697 to cast the input to GstClockTime before comparing with
14698 another GstClockTime value.
14700 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14705 === release 0.10.4 ===
14707 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14710 releasing 0.10.4, "Light"
14712 2006-03-10 Michael Smith <msmith@fluendo.com>
14714 * libs/gst/dataprotocol/dataprotocol.c:
14715 Fix docs for dataprocotol to not get the return types completely
14716 wrong for a few functions.
14718 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14720 * docs/gst/gstreamer-sections.txt:
14721 * gst/gstpipeline.c: (gst_pipeline_class_init),
14722 (gst_pipeline_init), (gst_pipeline_set_property),
14723 (gst_pipeline_get_property), (gst_pipeline_change_state),
14724 (gst_pipeline_set_auto_flush_bus),
14725 (gst_pipeline_get_auto_flush_bus):
14726 * gst/gstpipeline.h:
14727 Add new API: gst_pipeline_set_auto_flush_bus() and
14728 gst_pipeline_get_auto_flush_bus() to disable automatic
14729 flushing of the pipeline's GstBus when going from READY
14730 to NULL state (#332045).
14732 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14734 * docs/gst/gstreamer-sections.txt:
14735 * gst/gsturi.c: (gst_uri_has_protocol):
14737 Add new API: gst_uri_has_protocol() (#333779).
14739 2006-03-09 Wim Taymans <wim@fluendo.com>
14741 * gst/gstclock.c: (gst_clock_entry_new),
14742 (gst_clock_id_compare_func), (gst_clock_id_wait),
14743 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14744 (gst_clock_init), (gst_clock_get_internal_time),
14745 (gst_clock_set_master), (do_linear_regression),
14746 (gst_clock_add_observation), (gst_clock_set_property):
14750 Fix a possible segfault when the window-size is made smaller.
14751 Calculate jitter before performing the clock wait. Ideally
14752 the clock implementation should calculate jitter but we need
14753 API breakage for that.
14755 * gst/gstsystemclock.c: (gst_system_clock_init):
14758 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14759 Remove leftover else
14761 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14762 (gst_systemclock_suite):
14763 Added check to test GST_CLOCK_DIFF.
14765 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14767 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14768 (gst_type_find_helper_get_range):
14769 If we are provided with the size, we should implement
14770 GstTypeFind::get_length, so that typefind functions who
14771 want to can actually peek at the middle of a file.
14773 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14775 * docs/manual/advanced-dataaccess.xml:
14776 Add some very very basic error checking.
14778 * docs/pwg/appendix-checklist.xml:
14779 Some updates to the list of things to check when writing an element.
14781 2006-03-08 Wim Taymans <wim@fluendo.com>
14783 * docs/design/part-element-transform.txt:
14784 Added some docs about the design of tranform elements.
14786 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14787 (gst_base_src_loop), (gst_base_src_change_state):
14788 Mark buffers with the DISCONT flag.
14790 2006-03-08 Michael Smith <msmith@fluendo.com>
14792 * gst/gstregistry.h:
14793 * gst/gstregistryxml.c: (gst_registry_save),
14794 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14795 (gst_registry_xml_save_pad_template),
14796 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14797 (gst_registry_xml_write_cache):
14798 Rewrite registry-saving to avoid race conditions and check for
14801 2006-03-08 Wim Taymans <wim@fluendo.com>
14803 * libs/gst/base/gstbasetransform.c:
14804 (gst_base_transform_transform_caps),
14805 (gst_base_transform_transform_size),
14806 (gst_base_transform_prepare_output_buffer),
14807 (gst_base_transform_get_unit_size),
14808 (gst_base_transform_buffer_alloc),
14809 (gst_base_transform_handle_buffer),
14810 (gst_base_transform_change_state):
14811 Cleanups, separate normal flow from errors, add sensible
14813 Don't try to renegotiate when allocating an output buffer.
14814 Also copy DISCONT buffer flag when copying a buffer.
14815 Reset the transform after we finish streaming, not during.
14817 2006-03-08 Wim Taymans <wim@fluendo.com>
14819 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14820 Use last buffer timestamp in qos message.
14822 2006-03-07 Wim Taymans <wim@fluendo.com>
14824 Patch by: Christophe Fergeau
14826 * docs/pwg/advanced-tagging.xml:
14827 * docs/pwg/building-pads.xml:
14830 2006-03-07 Wim Taymans <wim@fluendo.com>
14832 * docs/libs/gstreamer-libs-sections.txt:
14833 Added basesink new methods.
14837 Docs updates. Flesh out the QoS docs.
14839 * libs/gst/base/gstadapter.c:
14840 Small doc clarification about ownership and flushing.
14842 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14843 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14844 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14845 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14846 * libs/gst/base/gstbasesink.h:
14848 Added new methods to allow subclass to control max-lateness
14850 Generate very basic QoS events based on last sync observation.
14851 Updated docs, fix typo, added some QoS blurb.
14853 * libs/gst/base/gstbasesrc.c:
14854 Remove obsolete _get_state() calls from docs.
14856 2006-03-07 Wim Taymans <wim@fluendo.com>
14858 * docs/libs/gstreamer-libs-sections.txt:
14859 * libs/gst/base/gstbasetransform.h:
14860 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14861 Fix docs for GstBaseSrc.
14863 2006-03-07 Wim Taymans <wim@fluendo.com>
14865 * docs/gst/gstreamer-sections.txt:
14868 * libs/gst/base/gstbasetransform.h:
14869 Small documentation fixes.
14871 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14874 Document thread-unsafety of gst_value_register_foo_func()
14875 when used at the same time as gst_value_foo() (#322628).
14877 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14879 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14880 (gst_push_src_check_get_range):
14881 Push sources don't support pull mode by default.
14883 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14885 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14886 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14887 (gst_base_src_default_check_get_range):
14888 * libs/gst/base/gstbasesrc.h:
14889 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14890 provide default implementation, and rename
14891 gst_base_src_check_get_range() to
14892 gst_base_src_pad_check_get_range() for clarity.
14894 2006-03-06 Wim Taymans <wim@fluendo.com>
14896 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14897 Make property overridable.
14899 2006-03-06 Wim Taymans <wim@fluendo.com>
14901 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14902 (gst_base_sink_init), (gst_base_sink_set_property),
14903 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14904 * libs/gst/base/gstbasesink.h:
14905 API addition: Make max-lateness a property.
14907 2006-03-06 Wim Taymans <wim@fluendo.com>
14909 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14910 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14911 Don't ever draw a frame that is >10ms late.
14913 2006-03-06 Michael Smith <msmith@fluendo.com>
14915 * gst/gstmessage.c: (_gst_message_copy):
14916 When copying a message, set the parent_refcount of the enclosed
14917 structure to point at the copy, not the original message.
14919 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14921 Patch by: Christophe Fergeau
14924 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14925 usable in c++ code (#333417)
14927 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14930 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14932 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14934 * libs/gst/base/gstbasetransform.c:
14935 (gst_base_transform_transform_caps):
14936 Make sure caps are writable before passing them to
14939 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14942 Fix some minor docs errors.
14944 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14946 Patch by: Ross Burton <ross at burtonini dot com>
14948 * gst/gsterror.c: (_gst_resource_errors_init):
14950 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14952 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14955 Add a check and output a g_warning when GStreamer is built
14956 against GLib 2.6 but running against 2.8 or higher, and vice
14957 versa. (Closes: #323542)
14959 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14961 * gst/parse/parse.l:
14962 Commit patch for parse_launch syntax from #331255. Removes
14963 support for quoted strings and mimetypes when writing filtered
14964 caps. See the bug report for more details - I'm pretty sure this
14965 obscure feature is not in use by _anyone_ anywhere.
14967 With this simple change, the size of the gstreamer.so here
14968 drops from 2193KB to 1565KB.
14970 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14972 * plugins/elements/gsttypefindelement.h:
14973 * plugins/elements/gsttypefindelement.c:
14974 (gst_type_find_element_src_event), (start_typefinding),
14975 (stop_typefinding), (gst_type_find_element_handle_event),
14976 (gst_type_find_element_chain),
14977 (gst_type_find_element_chain_do_typefinding):
14978 Use gst_type_find_helper_for_buffer() for chain-based
14981 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14983 * plugins/elements/gsttypefindelement.c:
14984 (gst_type_find_element_class_init),
14985 (gst_type_find_element_set_property),
14986 (gst_type_find_element_get_property):
14987 Deprecate "maximum" property (not only was it only taken into
14988 account for typefinding in push-mode anyway, it also was never
14989 actually possible to set it in the first place because the
14990 property was registered with the numeric property ID for the
14991 "minimum" property). Register "maximum" property correctly,
14992 for the sake of future copy'n'pasters. Remove some cruft
14993 from property get/set functions.
14995 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14997 * plugins/elements/gsttypefindelement.c:
14998 (gst_type_find_element_activate):
14999 Use gst_type_find_helper_get_range() here, so we
15000 can honour the "minimum" property and also emit
15001 the signal with the correct probability of the found caps.
15003 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15005 * docs/libs/gstreamer-libs-sections.txt:
15006 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15007 (helper_find_suggest), (gst_type_find_helper_get_range),
15008 (gst_type_find_helper):
15009 * libs/gst/base/gsttypefindhelper.h:
15010 New API: gst_type_find_helper_get_range() (#333042).
15012 2006-03-02 Michael Smith <msmith@fluendo.com>
15014 * gst/gstregistryxml.c: (load_feature):
15015 Asserting on a failure to read part of the registry is Not Cool.
15016 Just log a warning and return NULL (which is already handled)
15018 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15020 * win32/common/libgstbase.def:
15021 added export of gst_type_find_helper_for_buffer
15022 * win32/common/libgstbase.def:
15023 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15024 gst_ghost_pad_get_target
15026 2006-02-28 Wim Taymans <wim@fluendo.com>
15028 * docs/design/draft-klass.txt:
15030 Added Connector to mark elements that are only used to
15031 allow pipeline connections.
15032 Moved Debug to extra feature since most of them are
15033 functionally something else.
15035 2006-02-28 Wim Taymans <wim@fluendo.com>
15037 * docs/design/draft-klass.txt:
15038 Some updates and clarifications.
15040 2006-02-28 Wim Taymans <wim@fluendo.com>
15042 * docs/design/draft-klass.txt:
15043 Proposal for klass field values.
15045 * docs/design/part-streams.txt:
15046 Start of a doc describing stream anatomy.
15048 2006-02-28 Wim Taymans <wim@fluendo.com>
15050 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15051 Help the compiler a bit with type registration.
15052 Use existing forward cod path instead of duplicating it when
15053 handling a message.
15055 * gst/gstbus.c: (gst_bus_get_type):
15056 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15057 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15058 * gst/gstclock.c: (gst_clock_get_type):
15059 * gst/gstelement.c: (gst_element_get_type),
15060 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15061 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15062 * gst/gstminiobject.c: (gst_mini_object_get_type):
15063 * gst/gstpad.c: (gst_pad_get_type):
15064 * gst/gstsegment.c: (gst_segment_get_type):
15065 * gst/gststructure.c: (gst_structure_get_type):
15066 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15067 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15069 Help compiler with type registration.
15071 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15074 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15076 * plugins/elements/gsttypefindelement.c:
15077 (gst_type_find_element_handle_event):
15078 When we get an EOS event and have not found a type yet
15079 (most likely because we had not yet accumulated
15080 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15081 type given the data we have so far. Fixes typefinding
15082 for very short streams again, most notably quicktime
15083 redirections as used on Apple's trailer site (#331701).
15085 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15087 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15088 (gst_type_find_helper):
15089 Try typefinding factories with the highest rank first.
15091 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15093 * docs/libs/gstreamer-libs-docs.sgml:
15094 * docs/libs/gstreamer-libs-sections.txt:
15095 * libs/gst/base/gsttypefindhelper.c:
15096 Add section for typefind helper and add documentation
15097 for the old and the new function.
15099 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15101 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15102 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15103 (gst_type_find_helper_for_buffer):
15104 * libs/gst/base/gsttypefindhelper.h:
15105 New API: gst_type_find_helper_for_buffer() (#332723).
15107 2006-02-27 Michael Smith <msmith@fluendo.com>
15109 Patch by: Loïc Minier
15112 * docs/Makefile.am:
15113 * docs/slides/Makefile.am:
15114 prevent CVS directories getting disted.
15116 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15118 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15119 Use the REFCOUNTING category for caps refcounting.
15121 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15123 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15124 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15126 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15128 * plugins/elements/gsttypefindelement.c:
15129 (gst_type_find_element_activate):
15130 Use gst_pad_check_pull_range() before _activate_pull()
15131 to avoid unnecessary open/close (see #331690).
15133 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15136 Docs enhancement: make it crystal clear what the
15137 gst_pad_add_*_probe() callbacks should look like.
15139 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15141 * libs/gst/base/gstbasesrc.c:
15142 Document how applications can stop recording from
15143 live sources (see #330996).
15145 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15147 * tests/check/Makefile.am:
15148 * tests/check/libs/basesrc.c: (eos_event_counter),
15149 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15150 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15151 (gst_basesrc_suite), (main):
15152 ... and add some tests for the base source EOS stuff.
15154 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15156 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15157 Test case originally showed the problem fixed below,
15158 but was then amended. Add checks back at the place
15159 where they used to be.
15161 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15163 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15164 (gst_base_src_init), (gst_base_src_loop),
15165 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15166 (gst_base_src_change_state):
15167 * libs/gst/base/gstbasesrc.h:
15168 Don't unconditionally send EOS when going from PAUSED to
15169 READY state, esp. make sure we don't send two EOS events
15170 in some cases (e.g. one when reaching EOS and one when
15171 going from PAUSED to READY). Also, we don't want to send
15172 EOS events when operating in pull mode. However, we do
15173 want to send an EOS event when shutting down a live
15174 source explicitly, for example (fixes #330996).
15176 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15178 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15179 Update src->read_position after a seek when not using mmap.
15180 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15182 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15188 Make things work with --disable-parse as they do with
15189 --disable-load-save - the symbols involved disappear, but the
15190 header is still installed and GST_DISABLE_PARSE is included via
15193 2006-02-20 Julien MOUTTE <julien@moutte.net>
15195 * libs/gst/base/gstbasetransform.c:
15196 (gst_base_transform_change_state): Fix a stupid bug. I was
15197 sure I compiled that.
15199 2006-02-20 Julien MOUTTE <julien@moutte.net>
15201 * gst/gstpad.c: (gst_pad_set_blocked_async):
15202 * gst/gstutils.c: (gst_pad_add_data_probe),
15203 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15204 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15205 (gst_pad_remove_buffer_probe): Make those function act on the
15206 ghostpad target when it's a ghostpad. (Closes #331727)
15208 2006-02-20 Julien MOUTTE <julien@moutte.net>
15210 * libs/gst/base/gstbasetransform.c:
15211 (gst_base_transform_change_state): Make basetransform reusable.
15214 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15216 * docs/random/release:
15217 Move the current documentation of how to do a release to the top
15220 * gst/gstbin.c: (gst_bin_class_init),
15221 (gst_bin_handle_message_func):
15222 Allow multiple state-recalculation threads. (Closes #328873)
15224 2006-02-19 Julien MOUTTE <julien@moutte.net>
15226 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15227 * gst/gstpad.c: (gst_pad_set_event_function),
15228 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15229 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15230 2 strings. You can't use the STR_NULL macro on that.
15232 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15234 * gst/gstpad.c: (gst_pad_set_event_function),
15235 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15236 (gst_pad_set_getcaps_function)
15237 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15238 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15239 So now, we can use --gst-debug-level=5 on Windows
15240 * win32/common/libgstcontroller.def:
15241 Added export of gst_controller_init
15242 * win32/vs6/libgstcontroller.dsp:
15243 Fixed Release post build configuration
15245 2006-02-17 Wim Taymans <wim@fluendo.com>
15247 * tests/check/gst/gstquery.c: (GST_START_TEST):
15248 Added another check.
15250 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15252 * plugins/elements/gsttypefindelement.c: (find_peek):
15253 We can do peeks at non-zero offsets, as long as they
15254 fall within the buffer we have.
15256 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15258 * tests/check/Makefile.am:
15259 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15260 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15261 (parse_suite), (main):
15262 Add testsuite for parse launch syntax
15264 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15266 * plugins/elements/gsttypefindelement.c:
15267 (gst_type_find_element_chain):
15268 When typefinding is unsuccessful in the chain function, don't
15269 error out immediately. Only error out with NO_CAPS_FOUND if
15270 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15271 otherwise simply wait for more data so we can try typefinding
15272 again with more data later. Also, don't attempt to typefind
15273 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15274 this should improve typefinding from network sources where the
15275 size of the first buffer can be somewhat random.
15277 2006-02-14 Wim Taymans <wim@fluendo.com>
15279 * docs/gst/gstreamer-sections.txt:
15280 * gst/gstpadtemplate.c:
15281 * gst/gstpadtemplate.h:
15282 Fix padtemplate docs, fixes #328805.
15284 2006-02-14 Wim Taymans <wim@fluendo.com>
15286 * tools/gst-launch.c: (main):
15287 NO_PREROLL is not an ERROR so don't send confusing messages
15290 2006-02-14 Wim Taymans <wim@fluendo.com>
15292 Patch by: Torsten Schoenfeld
15294 * gst/gstregistry.c: (gst_registry_get_default),
15295 (_gst_registry_cleanup):
15296 Protect default registry with lock and ref/sink it.
15299 2006-02-14 Wim Taymans <wim@fluendo.com>
15302 * gst/gstquery.c: (gst_query_list_add_format),
15303 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15304 (gst_query_parse_formats_nth):
15305 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15308 2006-02-14 Wim Taymans <wim@fluendo.com>
15310 * docs/gst/gstreamer-sections.txt:
15311 Reworked query docs.
15313 * gst/gstquery.c: (gst_query_new_formats),
15314 (gst_query_list_add_format), (gst_query_set_formats),
15315 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15316 (gst_query_parse_formats_nth):
15318 Flesh out formats query, added some new methods.
15319 Fix part of #324398.
15321 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15322 Added query creation tests.
15324 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15326 * gst/gstpad.c: (fixate_value):
15327 Add a default fixation for fraction lists.
15329 2006-02-13 Wim Taymans <wim@fluendo.com>
15331 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15332 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15335 Detect and warn for obvious deadlocks. fixes #320340
15336 Fix error case where lock was not released.
15338 * tests/check/Makefile.am:
15339 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15340 (task_func), (gst_element_suite), (main):
15343 2006-02-13 Wim Taymans <wim@fluendo.com>
15345 * docs/gst/gstreamer-sections.txt:
15347 Add new functions to docs.
15349 2006-02-13 Wim Taymans <wim@fluendo.com>
15351 * docs/design/part-TODO.txt:
15352 Updated TODO list, basesrc supports seeking to non-bytes
15355 * docs/design/part-element-sink.txt:
15358 * gst/gstbin.c: (bin_replace_message),
15359 (gst_bin_handle_message_func):
15360 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15361 * gst/gstevent.c: (gst_event_finalize):
15362 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15363 (gst_pad_send_event):
15364 Use shiny new _TYPE_NAME macros.
15366 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15367 Move debug statement up.
15369 * gst/gstelement.c: (gst_element_set_locked_state):
15370 Add some debugging.
15372 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15374 * docs/gst/gstreamer-sections.txt:
15375 * gst/gstmessage.h:
15377 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15378 macros (#330906). Also, document the already existing
15379 GST_QUERY_TYPE macro.
15381 2006-02-13 Wim Taymans <wim@fluendo.com>
15383 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15384 (event_probe), (GST_START_TEST):
15385 Only events up to the pipeline EOS are counted, there are
15386 some more when going to NULL currently which we don't care
15389 2006-02-13 Wim Taymans <wim@fluendo.com>
15391 * gst/gstpad.c: (gst_pad_send_event):
15392 Correctly check flushing and emit probes. fixes #330125
15394 2006-02-10 Andy Wingo <wingo@pobox.com>
15396 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15398 (gst_bus_init): Cache the location of the private data in the
15399 instance structure.
15400 (gst_bus_enable_sync_message_emission)
15401 (gst_bus_disable_sync_message_emission): Implement new public
15403 (gst_bus_post): Emit the sync-message signal if the user asked for
15406 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15407 location of the bus-private structure.
15408 (gst_bus_enable_sync_message_emission)
15409 (gst_bus_disable_sync_message_emission): API addition
15411 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15413 Patch by: Vincent Torri
15415 * docs/pwg/building-boiler.xml:
15416 PWG patch from #326800
15418 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15421 * docs/Makefile.am:
15422 * docs/design/Makefile.am:
15425 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15430 === release 0.10.3 ===
15432 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15435 releasing 0.10.3, "Like a virgin"
15437 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15440 2nd prerelease of 0.10.3
15441 Bump libtool versioning.
15443 2006-02-07 Andy Wingo <wingo@pobox.com>
15445 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15446 update last_stop if we're in TIME format and the timestamp is
15449 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15450 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15451 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15452 If we get a new newsegment with a different format, adapt
15455 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15456 of 0. Not a problem, really.
15458 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15461 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15466 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15469 project files updated to the default vs7 configuration
15470 * win32/common/libgstbase.def:
15471 * win32/common/libgstreamer.def:
15473 removed empty lines,
15474 sorted all exported symbols alphabetically
15475 * win32/common/dirent.c:
15476 * win32/common/dirent.h:
15477 * win32/common/gchar.h:
15478 use windows line end.
15480 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15482 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15483 Send EOS event when stopping.
15485 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15488 Tell folks what to do if the plugin-foobar.xml file
15489 hasn't been generated for a newly-added plugin.
15491 2006-02-05 Julien MOUTTE <julien@moutte.net>
15493 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15494 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15495 (gst_collect_pads_start), (gst_collect_pads_stop),
15496 (gst_collect_pads_event): Collectpads now holds a reference
15497 to the GstPad that was added. Indeed we don't want to look
15498 at pads that might just go away with no warning...
15500 2006-02-05 Julien MOUTTE <julien@moutte.net>
15502 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15503 (gst_collect_pads_start), (gst_collect_pads_stop),
15504 (gst_collect_pads_event), (gst_collect_pads_chain):
15505 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15506 Mark Nauwelaerts's patch on bug #328491.
15508 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15510 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15512 Add some simple tests for gst_parse_bin_from_description() and
15513 gst_bin_find_unconnected_pad() (#329069).
15515 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15517 * tools/gst-launch.c: (event_loop), (main):
15518 Catch errors during preroll (#320084).
15520 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15522 * plugins/elements/gsttypefindelement.c:
15523 (gst_type_find_element_activate):
15524 Post TYPE_NOT_FOUND error message when typefinding
15525 is unsuccessful in the activate function as well.
15527 2006-02-02 Wim Taymans <wim@fluendo.com>
15529 * docs/design/part-element-sink.txt:
15532 2006-02-02 Wim Taymans <wim@fluendo.com>
15534 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15535 (gst_base_sink_render_object),
15536 (gst_base_sink_queue_object_unlocked):
15537 Only keep track of prerollable items when we are
15539 Before rendering after preroll, always check if we
15541 Added some more debugging.
15543 2006-02-02 Wim Taymans <wim@fluendo.com>
15545 * gst/gstelement.c: (gst_element_continue_state),
15546 (gst_element_set_state_func), (gst_element_change_state):
15547 Fixed #326576, been running this for quite some time with
15548 no regressions at all.
15550 2006-02-02 Wim Taymans <wim@fluendo.com>
15553 Added more suppressions
15555 2006-02-02 Wim Taymans <wim@fluendo.com>
15557 * docs/design/part-element-sink.txt:
15560 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15561 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15562 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15563 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15564 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15565 (gst_base_sink_preroll_object),
15566 (gst_base_sink_queue_object_unlocked),
15567 (gst_base_sink_queue_object), (gst_base_sink_event),
15568 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15569 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15570 (gst_base_sink_get_position), (gst_base_sink_change_state):
15571 * libs/gst/base/gstbasesink.h:
15572 Totally refactored matching the design doc.
15573 Use two segments, one to clip incomming buffers and another to
15575 Handle queueing correctly, bypass the queue when playing.
15576 Make EOS cancelable.
15577 Handle errors correctly when operating in pull based mode.
15579 * tests/check/elements/fakesink.c: (GST_START_TEST),
15581 Added new check for sinks.
15583 2006-02-02 Wim Taymans <wim@fluendo.com>
15585 * gst/gstsegment.c: (gst_segment_clip):
15586 No reason to refuse to clip when start == -1
15588 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15591 * docs/manual/intro-basics.xml:
15592 * docs/manual/intro-preface.xml:
15593 * docs/manual/manual.xml:
15594 * docs/pwg/advanced-dparams.xml:
15595 * docs/pwg/intro-basics.xml:
15596 * docs/pwg/intro-preface.xml:
15597 * docs/pwg/pwg.xml:
15598 describe dparams (controller) for plugins
15599 unify docs a little more
15601 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15603 * docs/gst/gstreamer-sections.txt:
15604 * gst/gstutils.c: (element_find_unconnected_pad),
15605 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15607 Add new API: gst_parse_bin_from_description() and
15608 gst_bin_find_unconnected_pad() (#329069).
15610 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15612 * docs/manual/README:
15613 uncover a nasty detail of the docs build
15615 2006-01-31 Wim Taymans <wim@fluendo.com>
15617 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15618 Don't cache duration messages if we're not going to use or
15621 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15623 * docs/manual/advanced-dparams.xml:
15624 * docs/pwg/advanced-dparams.xml:
15628 * libs/gst/controller/lib.c: (gst_controller_init):
15631 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15633 * gst/gstelement.c: (gst_element_message_full):
15634 also show file/line/func if no additional debug was given
15636 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15638 * win32/vs7/grammar.vcproj:
15639 activate copy of autogenerated files for Release mode
15641 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15643 * win32/common/libgstreamer.def:
15644 export gst_value_compare
15646 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15648 * plugins/elements/Makefile.am:
15649 * plugins/elements/gstelements.c:
15650 * plugins/elements/gstfdsink.c: (_do_init),
15651 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15652 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15653 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15654 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15655 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15656 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15657 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15658 * plugins/elements/gstfdsink.h:
15659 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15661 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15663 * docs/manual/advanced-dparams.xml:
15664 describe controller
15665 * docs/manual/advanced-position.xml:
15666 * docs/manual/basics-init.xml:
15667 * docs/manual/manual.xml:
15668 * docs/manual/titlepage.xml:
15669 * docs/pwg/pwg.xml:
15670 * docs/pwg/titlepage.xml:
15671 cleanup xml (more to come)
15672 * libs/gst/controller/gstcontroller.c:
15675 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15677 * win32/vs6/grammar.dsp:
15678 add autogen of gstmarshal.c,h for Release mode
15680 2006-01-30 Wim Taymans <wim@fluendo.com>
15682 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15683 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15684 (gst_base_sink_handle_object), (gst_base_sink_event),
15685 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15686 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15687 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15688 (gst_base_sink_deactivate), (gst_base_sink_activate),
15689 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15690 (gst_base_sink_query), (gst_base_sink_change_state):
15691 Basesink cleanups, remove some old code.
15692 Handle the case where a subclass can preroll in the render
15693 method (mostly audiosinks).
15694 Handle more events.
15695 Remove some locks around variables that are now protected
15696 with the PREROLL_LOCK (clock_id, flushing, ..).
15697 Optimize position query some more, do correct locking.
15698 Remove old code to push queue in state change, this is not
15699 needed anymore since preroll blocks on all prerollable items
15701 Almost implemented as described in design doc.
15703 2006-01-30 Wim Taymans <wim@fluendo.com>
15705 * tests/check/gst/gstbin.c: (GST_START_TEST):
15706 Wait for refcount to settle down before checking.
15708 2006-01-30 Wim Taymans <wim@fluendo.com>
15710 * docs/design/part-element-sink.txt:
15711 Pseudo code overview of desired sink behaviour regarding
15714 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15715 * win32/vs6/grammar.dsp:
15716 fix some bugs in Release mode for autogenerated files
15718 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15719 * win32/common/libgstbase.def:
15720 * win32/common/libgstreamer.def:
15721 export some new symbols: gst_base_src_set_format,
15722 gst_iterator_next, gst_structure_set_valist
15724 2006-01-29 Julien MOUTTE <julien@moutte.net>
15726 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15727 Set pad functions unconditionally. Fixes #329105.
15729 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15731 add vs8 project files created by Sergey Scobich
15733 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15735 * gst/gstutils.c: (gst_element_unlink_pads):
15736 Don't leak pad references.
15738 * tests/check/elements/fakesink.c: (GST_START_TEST):
15739 * tests/check/generic/sinks.c: (GST_START_TEST):
15740 * tests/check/generic/states.c: (GST_START_TEST):
15741 * tests/check/gst/gstbin.c: (GST_START_TEST):
15742 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15743 * tests/check/gst/gstelement.c: (GST_START_TEST):
15744 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15745 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15746 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15747 Fix a bunch of leaks. Make generic/sinks.c
15748 use a bit less cpu by slowing the buffer rate
15749 between fakesrc and fakesink.
15751 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15753 * gst/gstelement.c: (gst_element_send_event):
15756 * gst/gstiterator.c:
15757 * gst/gstiterator.h:
15758 * gst/gstpad.c: (gst_pad_send_event):
15759 * gst/gststructure.c:
15763 * libs/gst/base/gstadapter.c:
15764 doc fixes, to link to function, just write gst_cool_function(), don't
15767 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15769 * plugins/elements/gsttee.c: (gst_tee_do_push),
15770 (gst_tee_handle_buffer):
15771 Always prefer an actual return value from a src
15772 pad in place of NOT_LINKED. This means we return
15773 WRONG_STATE when all src pads are WRONG_STATE
15774 instead of NOT_LINKED.
15776 Lock when replacing the last message to prevent
15777 racing with the get_property method.
15781 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15783 * tests/check/Makefile.am:
15784 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15786 Add a very simple check that should have caught the memleak I fixed
15787 last night (if not for the slice allocator hiding it)
15789 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15791 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15792 (gst_bin_remove_func), (gst_bin_handle_message_func),
15793 (bin_query_duration_fold), (bin_query_generic_fold):
15794 Clean up references to the clock provider when disposed or when
15795 handling a clock-lost message from it.
15797 Unref sinks when performing a query via gst_iterator_fold, as the
15798 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15800 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15801 (gst_clock_set_master):
15802 Drop our reference to the master clock, if any, when we are disposed.
15804 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15805 Chain up in dispose.
15807 2006-01-26 Wim Taymans <wim@fluendo.com>
15809 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15810 Add some debugging.
15812 2006-01-26 Julien MOUTTE <julien@moutte.net>
15814 * plugins/elements/gsttee.c: (gst_tee_do_push),
15815 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15816 handles pad being NOT_LINKED or in WRONG_STATE.
15818 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15823 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15826 remove obsolete entry
15828 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15830 * docs/gst/gstreamer-sections.txt:
15831 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15832 (gst_bin_iterate_sources), (gst_bin_send_event):
15834 * gst/gstelement.c: (gst_element_send_event):
15836 * gst/gstpad.c: (gst_pad_send_event):
15837 added code for downstream events, reviewed docs in gstevent.c
15839 2006-01-25 Julien MOUTTE <julien@moutte.net>
15841 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15842 We only query position using the clock in the playing state.
15843 Query peer in the other cases.
15844 * win32/common/config.h: Updates.
15846 2006-01-24 Wim Taymans <wim@fluendo.com>
15848 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15849 A clock entry that is scheduled for the exact time of the
15850 clock is still in time.
15852 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15853 (gst_base_sink_do_sync):
15854 Add some more debug info.
15856 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15859 Add new vs7 project files and solution.
15861 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15864 all files removed as they were out-dated.
15866 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15868 * docs/random/release:
15870 * gst/gstbin.c: (gst_bin_init):
15871 * gst/gstbus.c: (gst_bus_new):
15873 * gst/gstpipeline.c: (gst_pipeline_init):
15874 use gst_bus_new(), improve logging, fix docs
15875 * win32/common/config.h:
15876 update for cvs build
15878 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15881 up required version of automake to 1.7
15883 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15885 * win32/common/libgstreamer.def:
15886 export gst_buffer_is_metadata_writable
15888 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15890 * docs/gst/gstreamer-sections.txt:
15892 Add gst_event_replace() (#327001)
15894 2006-01-20 Wim Taymans <wim@fluendo.com>
15896 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15897 Make it actually compile too..
15899 2006-01-20 Wim Taymans <wim@fluendo.com>
15902 Clarify behaviour of _is_equal() when passing NULL parameters.
15904 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15905 (gst_pad_set_caps):
15906 Cleanups. Don't unref NULL caps.
15907 When setting the same caps, protect caps of the pad with
15909 Use full functionality of _is_equal() when comparing caps.
15911 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15913 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15914 Don't loop infinitely if there are no buffers to present. Partially
15915 fixes #327197, but collectpads is just broken for reusing elements
15916 to do multiple encodes atm.
15918 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15920 * tools/gst-inspect.c: (print_element_features):
15921 * tools/gst-xmlinspect.c: (main):
15922 URL_HANDLER is not a plugin feature we can search for in
15925 2006-01-19 Edward Hervey <edward@fluendo.com>
15927 * gst/gstelement.c: (gst_element_pads_activate):
15928 When activating, do src pads first, then sink pads.
15929 When de-activating, do sink pads first, then src pads.
15931 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15933 * docs/gst/gstreamer-sections.txt:
15934 Add gst_index_add_associationv to the docs
15936 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15941 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15942 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15943 Do some refactoring. Doesn't actually change functionality,
15944 but makes landing the DRAIN event easier later.
15946 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15948 * docs/pwg/advanced-scheduling.xml:
15949 Update from 0.9.x to 0.10 API and make example a bit
15952 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15954 * docs/gst/gstreamer-sections.txt:
15955 Add gst_buffer_(is|make)_metadata_writable methods.
15957 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15959 * docs/design/part-sparsestreams.txt:
15960 Update sparse streams doc, hopefully for greater clarity
15962 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15964 * docs/design/part-events.txt:
15965 Remove mention of FILLER events.
15968 * docs/design/part-sparsestreams.txt:
15969 Write some things about using NEWSEGMENT to keep sparse streams
15972 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15974 * gst/gstbin.c: (gst_bin_dispose):
15975 Guard gst_object_unref call against a NULL object (dispose
15976 can theoretically be called multiple times).
15978 2006-01-18 Wim Taymans <wim@fluendo.com>
15980 * gst/gstbin.c: (gst_bin_element_set_state):
15981 * gst/gstclock.c: (gst_clock_id_wait):
15982 Added some more debug info.
15984 * libs/gst/base/gstadapter.c:
15987 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15988 (gst_base_sink_do_sync), (gst_base_sink_chain):
15989 Added some comments.
15991 2006-01-18 Wim Taymans <wim@fluendo.com>
15993 * tests/check/Makefile.am:
15994 * tests/check/elements/fakesink.c: (chain_async_buffer),
15995 (chain_async), (chain_async_return), (GST_START_TEST),
15996 (fakesink_suite), (main):
15997 Added fakesink test that checks prerolling and clipping
16000 * tests/check/gst/gstutils.c: (GST_START_TEST):
16001 Make check run faster so that buildbots don't timeout.
16003 2006-01-18 Wim Taymans <wim@fluendo.com>
16005 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16006 (gst_base_sink_do_sync):
16008 When the sink finishes blocking on the preroll buffer, it can
16009 immediatly render it instead of rendering when the next buffer
16012 2006-01-18 Wim Taymans <wim@fluendo.com>
16014 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16015 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16016 (gst_base_sink_chain):
16018 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16019 Don't store _last_stop if the buffer is dropped.
16021 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16023 * plugins/elements/gsttypefindelement.c:
16024 (gst_type_find_element_class_init):
16025 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16026 object method handler that sets the caps on the pad and we want
16027 that to happen before we emit the signal (fixes e.g. feeding a
16028 plain text file to decodebin).
16030 2006-01-18 Christian Schaller <Christian@fluendo.com>
16032 * gst/gstplugin.c: Add MPL and Proprietary as license options
16034 2006-01-18 Andy Wingo <wingo@pobox.com>
16036 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16037 symbol was exported before, it appears this was just an oversight.
16039 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16041 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16042 prototype to gint. OK since this prototype was not in the header.
16044 2006-01-17 Andy Wingo <wingo@pobox.com>
16046 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16047 registry while we remove plugins.
16049 * tools/gst-inspect.c (print_element_info): Don't unref the
16050 factory arg, that should be the responsibility of whatever code
16051 received the ref. Fixes a double-free when called from
16052 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16053 (main): Unref the factory if we have one.
16054 (print_element_list): No change -- relies on the
16055 plugin_feature_list_free to free the list of features.
16057 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16059 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16060 (gst_buffer_make_metadata_writable):
16062 * libs/gst/base/gstbasetransform.c:
16063 (gst_base_transform_prepare_output_buf):
16064 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16065 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16066 Replace gst_buffer_(make|is)_metadata_writable patch now
16067 that the release is out.
16069 2006-01-17 Andy Wingo <wingo@pobox.com>
16071 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16072 in the present tense without reference to versions.
16074 * gst/gstregistry.c (gst_registry_add_plugin)
16075 (gst_registry_remove_plugin, gst_registry_remove_feature)
16076 (gst_registry_find_feature, gst_registry_get_feature_list)
16077 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16078 (gst_registry_lookup, gst_registry_scan_path)
16079 (_gst_registry_remove_cache_plugins)
16080 (gst_registry_get_feature_list_by_plugin): Add argument
16083 === release 0.10.2 ===
16085 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16088 releasing 0.10.2, "If man is five"
16090 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16094 * libs/gst/base/gstbasetransform.c:
16095 (gst_base_transform_prepare_output_buf):
16096 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16097 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16098 Back out patch until after the release.
16100 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16102 * gst/gstminiobject.c:
16103 Spelling fix in docs.
16104 * ChangeLog - remove conflict indicator
16106 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16108 Reviewed By: Andy Wingo
16110 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16111 (gst_buffer_make_metadata_writable):
16113 Add gst_buffer_(is|make)_metadata_writable as analogues of
16114 gst_buffer_(is|make)_writable.
16116 * libs/gst/base/gstbasetransform.c:
16117 (gst_base_transform_prepare_output_buf):
16118 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16119 Use name gst_buffer_(is|make)_metadata_writable functions.
16121 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16122 Test gst_buffer_(is|make)_metadata_writable
16126 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16128 * docs/manual/Makefile.am:
16129 don't do parallel make
16132 * win32/common/config.h.in:
16133 add generations for HOST_CPU and GST_MAJORMINOR
16134 * win32/common/config.h:
16135 commit generated result
16137 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16139 * docs/manual/appendix-integration.xml:
16140 Update GNOME integration section to use gst_init_get_option_group()
16141 instead of the old popt stuff (#322911). Also, GNOME applications
16142 should now use gconf*sink and gconf*src instead of the old gconf
16145 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16148 * docs/gst/gstreamer-docs.sgml:
16149 * docs/gst/gstreamer-sections.txt:
16150 * docs/libs/gstreamer-libs-sections.txt:
16151 add new API entries to the docs
16152 * libs/gst/controller/Makefile.am:
16153 * libs/gst/controller/gstcontroller.c:
16154 * libs/gst/controller/gstcontroller.h:
16155 * libs/gst/controller/gstcontrollerprivate.h:
16156 * libs/gst/controller/gsthelper.c:
16157 * libs/gst/controller/gstinterpolation.c:
16158 move private structs to private header
16160 gstreamer-0.7 -> gstreamer-0.10
16161 * tests/check/libs/struct_i386.h:
16162 remove private structs
16164 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16166 * plugins/indexers/Makefile.am:
16167 Fixes as part of #317048
16169 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16171 * plugins/indexers/Makefile.am:
16172 fix #316086 - compilation when mmap is missing
16174 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16176 * libs/gst/base/gstbasesink.c:
16177 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16178 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16179 * win32/common/config.h:
16180 added some defines GST_MAJORMINOR and HOST_CPU
16181 * win32/common/libgstbase.def:
16182 * win32/common/libgstreamer.def:
16183 added some exported functions.
16185 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16187 * libs/gst/controller/gstcontroller.c:
16188 (gst_controlled_property_set_interpolation_mode),
16189 (gst_controlled_property_new):
16190 * libs/gst/controller/gstcontroller.h:
16191 * libs/gst/controller/gstinterpolation.c:
16192 (interpolate_none_get_string_value_array):
16193 make G_TYPE_STRING controlable
16195 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16198 * tools/gst-feedback.1.in:
16199 * tools/gst-inspect.1.in:
16200 * tools/gst-launch.1.in:
16201 * tools/gst-md5sum.1.in:
16202 * tools/gst-typefind.1.in:
16203 * tools/gst-xmlinspect.1.in:
16204 * tools/gst-xmllaunch.1.in:
16205 cleanup man-pages, remove reference to gst-register, document env-vars
16207 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16209 * gst/gstbuffer.c: (gst_buffer_span):
16210 gst_buffer_span should copy the timestamp of the first buffer
16211 if they were both originally overlapping subbuffers of the
16212 same parent, using the same logic as the 'slow copy' case.
16214 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16216 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16217 Need to awaken ALL the pads when we pop a buffer, otherwise
16218 collectpads only works when there is 2 input streams.
16220 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16222 * docs/random/ensonic/media-device-daemon.txt:
16225 fix doc example, add clarification
16226 * tools/gst-launch.1.in:
16227 add initial info about GST_PLUGIN_PATH, needs more work
16229 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16231 * docs/manual/basics-bins.xml:
16232 * docs/manual/basics-elements.xml:
16233 * docs/manual/intro-basics.xml:
16234 Some more minor docs additions and updates.
16236 2006-01-11 Wim Taymans <wim@fluendo.com>
16238 * docs/manual/basics-bins.xml:
16239 * docs/manual/basics-elements.xml:
16240 Some small fixes as pointed out by Ser-ver on IRC.
16242 2006-01-10 Edward Hervey <edward@fluendo.com>
16244 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16245 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16246 the single-segment mode.
16248 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16250 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16252 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16253 (gst_base_src_perform_seek), (gst_base_src_send_event),
16254 (gst_base_src_set_property), (gst_base_src_get_property),
16255 (gst_base_src_loop), (gst_base_src_start),
16256 (gst_base_src_activate_push):
16257 * libs/gst/base/gstbasesrc.h:
16258 Name (private) union; makes Sun's Forte compiler happy (#324900).
16260 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16263 gst-register is gone.
16265 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16267 * gst/gstvalue.c: (_gst_value_initialize):
16268 make the G_TYPE_DATE instantiation work if debug is disabled
16270 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16272 * gst/gstmessage.c: (gst_message_parse_tag),
16273 (gst_message_parse_error), (gst_message_parse_warning):
16274 Don't crash when return location for error/warning debug
16275 string is NULL; add fact that return locations can be
16276 NULL to docs where appropriate.
16278 2006-01-05 Wim Taymans <wim@fluendo.com>
16280 * gst/gstplugin.c: (gst_plugin_load_file):
16281 Replace strdup by g_strdup.
16283 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16285 * docs/pwg/advanced-types.xml:
16288 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16290 submitted by: Abel Cheung
16294 Added Chinese (traditional) translation
16296 2006-01-04 Wim Taymans <wim@fluendo.com>
16298 * docs/manual/basics-pads.xml:
16299 * docs/plugins/Makefile.am:
16300 * docs/plugins/gstreamer-plugins-docs.sgml:
16301 * docs/plugins/gstreamer-plugins-sections.txt:
16302 * docs/pwg/advanced-clock.xml:
16303 * docs/pwg/advanced-scheduling.xml:
16304 * docs/pwg/advanced-types.xml:
16305 * plugins/elements/gstfdsink.c:
16306 * plugins/elements/gstfdsrc.c:
16307 * plugins/elements/gstfdsrc.h:
16308 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16309 * plugins/elements/gstidentity.h:
16310 * plugins/elements/gstqueue.h:
16311 * plugins/elements/gsttee.c:
16312 * plugins/elements/gsttee.h:
16313 * plugins/elements/gsttypefindelement.c:
16314 (gst_type_find_element_class_init):
16315 * plugins/elements/gsttypefindelement.h:
16316 Small updates to various docs.
16317 Added core plugins to docs.
16319 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16322 add a suppression for liboil's uninitialized variable
16324 2006-01-02 James Livingston <jrl at ids dot org dot au>
16326 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16329 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16330 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16331 compiler switch is being used (#325429).
16333 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16335 * gst/gstbin.c: (gst_bin_query):
16336 Disable duration query caching in bins until it gets
16337 fixed (see #324807).
16339 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16341 * tools/gst-inspect.c: (print_element_properties_info):
16342 Handle properties of POINTER and BOXED type.
16344 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16346 * gst/gst.c: (init_post):
16347 Init tags stuff and some other things before loading
16348 any static plugins (there may be other static plugins
16349 than just the GStreamer ones, and they may want to
16350 register their own tags or formats or whatever, and
16351 preferably without segfaulting).
16353 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16354 Print at least a warning in the debug logs if we drop a
16355 query just because we don't know how to adjust the value
16356 in the particular format.
16358 2005-12-24 David Schleef <ds@schleef.org>
16360 * tools/gstreamer-completion:
16361 Replacement for gst-complete written in sh and sed. Only
16362 completes names of features, but that's 90% of what I want
16363 it for. Properties are not available in registry.xml. (Maybe
16366 === release 0.10.1 ===
16368 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16371 releasing 0.10.1, "Nollaig chridheil"
16373 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16375 * docs/faq/cvs.xml:
16376 Add missing quote, should be make ERROR_CFLAGS="".
16378 2005-12-20 Wim Taymans <wim@fluendo.com>
16380 * docs/design/part-trickmodes.txt:
16381 More documentation on trickmodes.
16383 2005-12-20 Edward Hervey <edward@fluendo.com>
16385 * gst/gstcaps.c: (gst_static_caps_get_type):
16387 API addition: GST_TYPE_STATIC_CAPS
16388 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16389 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16390 * gst/gstpadtemplate.h:
16391 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16392 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16395 2005-12-18 Wim Taymans <wim@fluendo.com>
16397 * libs/gst/base/gstadapter.c:
16398 * libs/gst/base/gstadapter.h:
16399 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16400 (gst_base_sink_get_position):
16401 * libs/gst/base/gstbasesink.h:
16402 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16403 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16404 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16405 (gst_base_src_send_event), (gst_base_src_update_length),
16406 (gst_base_src_get_range), (gst_base_src_loop),
16407 (gst_base_src_start):
16408 * libs/gst/base/gstbasesrc.h:
16409 * libs/gst/base/gstbasetransform.h:
16410 * libs/gst/base/gstcollectpads.h:
16411 * libs/gst/base/gstpushsrc.c:
16412 * libs/gst/base/gstpushsrc.h:
16413 * libs/gst/dataprotocol/dataprotocol.c:
16414 * libs/gst/dataprotocol/dataprotocol.h:
16415 * libs/gst/net/gstnetclientclock.h:
16416 * libs/gst/net/gstnettimeprovider.h:
16417 Documentation updates.
16419 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16421 * docs/manual/basics-helloworld.xml:
16422 Remove superfluous closing bracket in helloworld example.
16424 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16426 * tools/gst-launch.1.in:
16427 Update gst-launch man page; add a section with useful
16428 environment variables. Fixes #323882.
16430 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16433 * gst/gst_private.h:
16434 change some char* into char[]
16436 2005-12-16 Wim Taymans <wim@fluendo.com>
16438 * gst/gstregistryxml.c: (load_feature):
16440 Don't use g_object_unref on GstObjects so that we avoid
16441 leaks on unsafe glibs.
16443 2005-12-16 Wim Taymans <wim@fluendo.com>
16445 * gst/gstbin.c: (gst_bin_recalc_state):
16448 2005-12-16 Wim Taymans <wim@fluendo.com>
16450 * common/check.mak:
16451 Added make forever target for check.
16453 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16455 * gst/gst.c: (init_post):
16456 make the registry cache file HOST_CPU-dependent
16458 2005-12-16 Andy Wingo <wingo@pobox.com>
16460 * plugins/elements/gstbufferstore.c
16461 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16464 * tests/check/gst/gstobject.c
16465 (test_fake_object_name_threaded_unique): Pay attention to
16466 g_list_sort return value.
16468 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16470 * tools/gst-feedback-m.m:
16471 Update for 0.9/0.10 (fixes #323870).
16473 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16475 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16476 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16478 * tests/check/gst/gstminiobject.c: (my_foo_init),
16479 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16480 (test_value_collection), (gst_mini_object_suite):
16481 Add test to ensure refcounts end up as expected when passing
16482 GstMiniObjects through g_object_get() and g_object_set().
16484 2005-12-14 Julien MOUTTE <julien@moutte.net>
16486 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16487 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16488 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16489 of collectpads. This version removes a lot of races without
16490 touching API/ABI. Yay !
16492 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16494 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16495 Don't allow activation of a srcpad in pull_range if it has no
16497 Change some debug statements to be a little clearer
16499 * plugins/elements/gsttypefindelement.c:
16500 (gst_type_find_handle_src_query):
16501 Check that we have a peer before executing queries thereupon.
16503 * tests/examples/metadata/read-metadata.c: (message_loop):
16504 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16505 immediately return us any available message with 0 timeout.
16507 2005-12-12 Michael Smith <msmith@fluendo.com>
16509 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16510 Don't unref factories after calling them.
16511 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16512 * plugins/elements/gsttypefindelement.c:
16513 (gst_type_find_element_chain):
16514 Free lists of factories after using them. Fixing typefinding memory
16517 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16519 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16520 (gst_plugin_feature_load):
16521 more meaningful debug output
16523 * tests/Makefile.am:
16524 * tests/old/examples/Makefile.am:
16525 make make distcheck happy again
16527 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16529 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16530 Catch the special case where we are operating chain-based,
16531 but the downstream peer pad has no chain function. Emit a
16532 custom error message in this case instead of letting the
16533 core generate one implying that this is some sort of core
16534 bug. It's not, it just means that whatever got plugged
16535 into the pipeline downstream when we announced the type
16536 can only operate pull-based, while our source can only
16537 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16538 Error string has not been marked for translation yet, as
16539 it probably needs some more work first.
16541 (gst_type_find_element_get_best_possibility):
16542 Add helper function to find the best of all available
16543 found possibilities that qualify given the min. threshold.
16545 (gst_type_find_element_handle_event):
16546 Fix the case where we get an EOS while still in TYPEFIND
16547 mode (we want to chose the best of all possible types,
16548 not just the first type that happens to be in our unsorted
16549 list of possible types).
16551 (gst_type_find_element_chain):
16552 Make sure we return GST_FLOW_ERROR when we errored out
16553 in stop_typefinding(); also, don't just find the best of
16554 all found type entries and then use the last examined
16555 type entry, but actually use the best entry.
16557 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16559 * tests/examples/typefind/typefind.c: (type_found):
16560 * tests/examples/xml/runxml.c: (xml_loaded):
16561 More gcc4 fixes and a mem leak fix.
16563 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16565 * tests/examples/xml/createxml.c: (object_saved):
16568 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16570 * tests/Makefile.am:
16571 enable the examples even more
16573 2005-12-12 Andy Wingo <wingo@pobox.com>
16575 * libs/gst/net/gstnettimeprovider.c
16576 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16577 (gst_net_time_provider_set_property)
16578 (gst_net_time_provider_get_property):
16579 API addition: Export "active" as a GObject property.
16580 (gst_net_time_provider_thread): Only respond to time queries if
16581 the time provider is active.
16583 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16584 NetTimeProvider, preserving binary compat.
16586 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16588 * tests/examples/controller/audio-example.c: (main):
16589 * tests/examples/launch/Makefile.am:
16590 convert comments again
16592 2005-12-12 Wim Taymans <wim@fluendo.com>
16594 * libs/gst/base/gstpushsrc.c:
16597 2005-12-12 Wim Taymans <wim@fluendo.com>
16599 * docs/libs/gstreamer-libs-sections.txt:
16600 Added new symbol to docs.
16602 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16603 (gst_base_src_init), (gst_base_src_set_format),
16604 (gst_base_src_default_query), (gst_base_src_query),
16605 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16606 (gst_base_src_perform_seek), (gst_base_src_send_event),
16607 (gst_base_src_default_event), (gst_base_src_event_handler),
16608 (gst_base_src_set_property), (gst_base_src_get_property),
16609 (gst_base_src_wait), (gst_base_src_do_sync),
16610 (gst_base_src_update_length), (gst_base_src_get_range),
16611 (gst_base_src_check_get_range), (gst_base_src_loop),
16612 (gst_base_src_default_negotiate), (gst_base_src_start),
16613 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16614 (gst_base_src_change_state):
16615 * libs/gst/base/gstbasesrc.h:
16616 Implement seeking to other formats than _BYTES.
16617 Implement more seeking methods correctly.
16619 Added query vmethod.
16620 Added do_seek vmethod to make life easier for subclasses
16622 API addition: gst_base_src_set_format()
16624 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16626 * tests/examples/Makefile.am:
16629 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16632 * docs/random/ensonic/media-device-daemon.txt:
16633 * tests/examples/controller/.cvsignore:
16634 * tests/examples/controller/Makefile.am:
16635 * tests/examples/controller/audio-example.c: (main):
16636 * tests/examples/helloworld/.cvsignore:
16637 * tests/examples/helloworld/Makefile.am:
16638 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16639 * tests/examples/launch/.cvsignore:
16640 * tests/examples/launch/Makefile.am:
16641 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16642 * tests/examples/metadata/.cvsignore:
16643 * tests/examples/metadata/Makefile.am:
16644 * tests/examples/metadata/read-metadata.c: (message_loop),
16645 (make_pipeline), (print_tag), (main):
16646 * tests/examples/queue/.cvsignore:
16647 * tests/examples/queue/Makefile.am:
16648 * tests/examples/queue/queue.c: (event_loop), (main):
16649 * tests/examples/typefind/.cvsignore:
16650 * tests/examples/typefind/Makefile.am:
16651 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16653 * tests/examples/xml/.cvsignore:
16654 * tests/examples/xml/Makefile.am:
16655 * tests/examples/xml/createxml.c: (object_saved), (main):
16656 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16657 * tests/old/examples/Makefile.am:
16658 * tests/old/examples/TODO:
16659 * tests/old/examples/controller/.cvsignore:
16660 * tests/old/examples/controller/Makefile.am:
16661 * tests/old/examples/controller/audio-example.c:
16662 * tests/old/examples/helloworld/.cvsignore:
16663 * tests/old/examples/helloworld/Makefile.am:
16664 * tests/old/examples/helloworld/helloworld.c:
16665 * tests/old/examples/launch/.cvsignore:
16666 * tests/old/examples/launch/Makefile.am:
16667 * tests/old/examples/launch/mp3parselaunch.c:
16668 * tests/old/examples/launch/mp3play:
16669 * tests/old/examples/manual/Makefile.am:
16670 * tests/old/examples/metadata/Makefile.am:
16671 * tests/old/examples/metadata/read-metadata.c:
16672 * tests/old/examples/queue/.cvsignore:
16673 * tests/old/examples/queue/Makefile.am:
16674 * tests/old/examples/queue/queue.c:
16675 * tests/old/examples/typefind/.cvsignore:
16676 * tests/old/examples/typefind/Makefile.am:
16677 * tests/old/examples/typefind/typefind.c:
16678 * tests/old/examples/xml/.cvsignore:
16679 * tests/old/examples/xml/Makefile.am:
16680 * tests/old/examples/xml/createxml.c:
16681 * tests/old/examples/xml/runxml.c:
16682 applied some simple fixing to some examples
16683 re-enabled the working examples
16685 2005-12-12 Wim Taymans <wim@fluendo.com>
16687 * gst/gstsegment.c: (gst_segment_init),
16688 (gst_segment_set_last_stop), (gst_segment_set_seek),
16689 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16690 (gst_segment_to_running_time):
16691 Added more documentation.
16692 Make sure the last_pos value is updated properly.
16693 Make sure to_stream_time and to_running_time don't
16694 operate on wrong values.
16696 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16699 2005-12-12 Michael Smith <msmith@fluendo.com>
16701 * plugins/elements/gsttypefindelement.c: (free_entry),
16702 (gst_type_find_element_chain):
16703 Now that we're not leaking factories, make sure we keep references
16704 to them while we need them.
16706 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16708 * tests/check/gst/struct_i386.h:
16709 ifdef out the XML structs
16711 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16713 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16714 floor is not needed, F is always positive; this obviates the
16715 need for adding -lm when building without libxml
16717 2005-12-12 Wim Taymans <wim@fluendo.com>
16719 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16720 Take current playback rate into account when reporting
16723 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16725 * docs/manual/mime-world.fig:
16726 Let's try this again, this time with a file that is
16727 actually in XFig format.
16729 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16731 * docs/manual/mime-world.fig:
16732 Add audioconvert element to diagram so that it
16733 matches the text and the code (fixes #319526).
16735 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16737 * docs/pwg/building-chainfn.xml:
16738 * docs/pwg/building-pads.xml:
16739 * docs/pwg/building-state.xml:
16740 * docs/pwg/other-source.xml:
16741 Update state change stuff for 0.10 (fixes #322969).
16743 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16745 * docs/manual/advanced-dataaccess.xml:
16746 * docs/manual/appendix-checklist.xml:
16747 * docs/manual/appendix-programs.xml:
16748 * docs/manual/basics-pads.xml:
16749 * docs/manual/highlevel-components.xml:
16750 * docs/manual/manual.xml:
16751 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16752 add converters in front of pipelines; remove curly
16753 brackets for threads stuff, they no longer exist; use
16754 GST_TYPE_FRACTION for framerates; update some pieces of
16755 code to 0.10, but there's plenty more to do.
16757 * docs/manual/appendix-porting.xml:
16758 Expand on asynchroneous state changes; s/0.9/0.10/;
16759 mention disappearance of gst_init_get_popt_table()
16762 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16764 * docs/faq/using.xml:
16765 Spider no longer exists, and neither does gst-launch-ext.
16766 Update examples to use decodebin and playbin and put
16767 converters in front of sinks (fixes #323726).
16769 2005-12-09 Michael Smith <msmith@fluendo.com>
16771 * plugins/elements/gsttypefindelement.c: (find_peek),
16772 (gst_type_find_element_chain):
16773 Fix leaking element factories in typefinding.
16774 Fix problem where we forgot about a probable type on non-seekable
16775 files, and thus later mis-typefound it.
16777 2005-12-09 Michael Smith <msmith@fluendo.com>
16779 * common/m4/gst-makecontext.m4:
16780 * common/m4/gst-mcsc.m4:
16782 * win32/common/config.h:
16783 * win32/common/config.h.in:
16784 Remove makecontext stuff; not used in 0.10 and causes problems on
16785 HPUX according to bug #322441
16787 2005-12-07 Wim Taymans <wim@fluendo.com>
16789 * tests/check/Makefile.am:
16790 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16792 * tests/check/libs/struct_i386.h:
16793 Added ABI check for libs
16795 2005-12-07 Wim Taymans <wim@fluendo.com>
16797 * tests/check/Makefile.am:
16798 And add the struct_i386.h to dist.
16800 2005-12-07 Wim Taymans <wim@fluendo.com>
16802 * tests/check/Makefile.am:
16803 * tests/check/gst/.cvsignore:
16804 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16806 * tests/check/gst/struct_i386.h:
16807 Added check for ABI compatibility.
16809 2005-12-07 Wim Taymans <wim@fluendo.com>
16811 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16812 (gst_fake_src_get_times), (gst_fake_src_create):
16813 Fix broken sync option, fixes #323259
16815 2005-12-07 Wim Taymans <wim@fluendo.com>
16820 * gst/gstcaps.c: (gst_caps_is_equal):
16821 Don't assert on NULL <--> X. Fixes #323260
16823 * gst/gstminiobject.c: (gst_mini_object_replace):
16824 If we're doing atomic operations, we might just as well use
16825 the proper way to get an atomic pointer.
16827 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16828 Clean up debugging.
16830 2005-12-07 Michael Smith <msmith@fluendo.com>
16832 * gst/parse/grammar.y:
16833 Remove handling of { } for threads.
16835 2005-12-06 David Schleef <ds@schleef.org>
16837 * libs/gst/base/gstbasetransform.c: speling fix.
16839 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16841 * docs/libs/tmpl/gstdataprotocol.sgml:
16842 * docs/random/omega/testing/gstobject.c:
16845 * gst/gstelement.c:
16846 * gst/gstelementfactory.c:
16849 * gst/gstghostpad.c:
16851 * gst/gstpadtemplate.c:
16852 * gst/gstregistryxml.c:
16853 * gst/gsttaglist.c:
16854 * gst/gsttagsetter.c:
16855 * gst/gsttypefind.c:
16857 * libs/gst/base/gstbasesrc.c:
16858 * libs/gst/net/gstnetclientclock.c:
16859 * libs/gst/net/gstnettimeprovider.c:
16860 * plugins/elements/gstfakesrc.c:
16861 * plugins/elements/gstfdsrc.c:
16862 * plugins/elements/gstfilesrc.c:
16863 * plugins/elements/gstidentity.c:
16864 * plugins/elements/gstqueue.c:
16865 * plugins/elements/gsttypefindelement.c:
16866 * plugins/indexers/gstfileindex.c:
16867 * plugins/indexers/gstmemindex.c:
16868 * tests/check/gst/gsttag.c:
16869 * tests/old/examples/cutter/cutter.c:
16870 * tests/old/examples/mixer/mixer.c:
16871 * tests/old/examples/xml/runxml.c: (main):
16872 * tests/old/testsuite/caps/normalisation.c:
16873 * tests/old/testsuite/debug/global.c:
16874 * tests/old/testsuite/parse/parse1.c:
16875 * tools/gst-xmlinspect.c:
16876 * win32/common/dirent.c:
16879 === release 0.10.0 ===
16881 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16884 releasing 0.10.0, "Maroilles"
16886 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16888 submitted by: Funda Wang <fundawang@linux.net.cn>
16892 added Chinese (Traditional) translation
16894 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16896 * docs/gst/gstreamer-sections.txt:
16897 * docs/libs/tmpl/gstdataprotocol.sgml:
16898 * docs/random/thomasvs/TODO:
16903 2005-12-05 Andy Wingo <wingo@pobox.com>
16905 patch by: Wim Taymans <wim@fluendo.com>
16907 * libs/gst/base/gstbasetransform.c
16908 (gst_base_transform_prepare_output_buf)
16909 (gst_base_transform_buffer_alloc):
16910 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16911 alloc_buffer_and_set_caps.
16913 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16914 set_caps on the source pad.
16915 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16916 alloc_buffer used to do. Fixes #322874.
16918 * docs/gst/gstreamer-sections.txt:
16919 * docs/design/part-negotiation.txt:
16920 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16923 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16925 patch by: Sebastien Moutte
16928 * win32/common/config.h.in:
16929 * win32/vs6/libgstcontroller.dsp:
16932 2005-12-05 Wim Taymans <wim@fluendo.com>
16934 * gst/gstcaps.c: (gst_caps_is_equal):
16935 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16936 (gst_fake_src_create):
16937 Back out previous code changes, leave doc updates, file bugs
16940 2005-12-05 Wim Taymans <wim@fluendo.com>
16942 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16943 (gst_fake_src_get_times), (gst_fake_src_create):
16944 * plugins/elements/gstfakesrc.h:
16945 Fix broken sync code.
16947 2005-12-05 Wim Taymans <wim@fluendo.com>
16949 * gst/gstcaps.c: (gst_caps_is_equal):
16950 Comparing NULL against !NULL yields different caps, not a
16953 2005-12-05 Wim Taymans <wim@fluendo.com>
16955 * gst/gstpipeline.c:
16956 Fix small typo in docs.
16958 2005-12-05 Andy Wingo <wingo@pobox.com>
16960 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16962 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16963 registries/plugins with a MAJORMINOR one.
16964 (plugin_desc): Rename library from gstcoreleements to
16965 staticelements. Fixes #323222.
16967 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16969 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16970 Change debug category to 'collectpads' from 'collect_pads'
16973 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16975 patch by: Sebastien Moutte
16977 * libs/gst/controller/gstinterpolation.c:
16978 use convert function for uint64/double
16979 * win32/vs6/libgstcontroller.dsp:
16982 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16984 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16985 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16987 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16988 add tests that seem to show that the guint64/gdouble conversions
16991 2005-12-02 Wim Taymans <wim@fluendo.com>
16993 * gst/gstregistry.c: (gst_registry_add_path):
16994 * gst/gstregistry.h:
16995 * gst/gstregistryxml.c:
16998 2005-12-02 Wim Taymans <wim@fluendo.com>
17000 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17001 (gst_util_uint64_scale_int):
17004 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17005 Add debug log line.
17007 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17010 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17013 * win32/common/config.h:
17014 * win32/vs6/gstreamer.dsw:
17015 * win32/vs6/libgstcoreelements.dsp:
17016 * win32/vs6/libgstelements.dsp:
17017 renamed core elements plugin
17019 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17021 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17023 do piece-wise major/minor comparison so 0.9 < 0.10
17024 also allow .exe extensions for tools
17026 2005-12-02 Michael Smith <msmith@fluendo.com>
17029 Escape a % to make gtkdoc happier; bug 322958.
17031 === release 0.9.7 ===
17033 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17036 releasing 0.9.7, "My Dog Has No Nose"
17038 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17040 * common/gst-xmlinspect.py:
17042 * docs/libs/tmpl/gstdataprotocol.sgml:
17043 * docs/random/release:
17062 * win32/common/config.h:
17063 * win32/common/config.h.in:
17064 * win32/vs6/gst_inspect.dsp:
17065 * win32/vs6/gst_launch.dsp:
17066 * win32/vs6/libgstbase.dsp:
17067 * win32/vs6/libgstelements.dsp:
17068 * win32/vs6/libgstreamer.dsp:
17069 * win32/vs7/GStreamer.vcproj:
17070 * win32/vs7/gst-inspect.vcproj:
17071 * win32/vs7/gst-launch.vcproj:
17072 * win32/vs7/libgstbase.vcproj:
17073 bump GST_MAJORMINOR to 0.10
17074 reset libtool version
17076 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17080 Added Bulgarian translation by (Alexander Shopov)
17082 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17084 * tests/check/gst/gstplugin.c:
17087 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17089 * common/gst-xmlinspect.py:
17090 * common/gtk-doc-plugins.mak:
17092 * docs/Makefile.am:
17093 * docs/gst/Makefile.am:
17094 * docs/gst/gstreamer-docs.sgml:
17095 * docs/gst/gstreamer-sections.txt:
17096 * docs/gst/gstreamer.types:
17097 * docs/gst/gstreamer.types.in:
17098 * docs/plugins/Makefile.am:
17099 * docs/plugins/gstreamer-plugins-docs.sgml:
17100 * docs/plugins/gstreamer-plugins-sections.txt:
17101 * docs/plugins/gstreamer-plugins.types:
17102 * docs/plugins/inspect.stamp:
17103 * docs/plugins/inspect/plugin-coreelements.xml:
17104 * docs/plugins/inspect/plugin-coreindexers.xml:
17105 * docs/plugins/scanobj-build.stamp:
17106 * gstreamer.spec.in:
17107 * plugins/elements/Makefile.am:
17108 * plugins/elements/gstelements.c:
17109 * plugins/elements/gstfakesink.c:
17110 * plugins/elements/gstfakesrc.c:
17111 * plugins/elements/gstfilesink.c:
17112 * plugins/elements/gstfilesrc.c:
17113 * plugins/elements/gstqueue.c:
17114 * plugins/indexers/Makefile.am:
17115 * plugins/indexers/gstindexers.c:
17116 document core plugins in a separate document just like all the
17118 rename these plugins to something starting with core
17120 2005-12-01 Andy Wingo <wingo@pobox.com>
17122 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17123 padding here before, but it missed the commit.
17125 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17127 * libs/gst/controller/gstinterpolation.c:
17128 whitespace prices have crashed, we should feel free to use some now
17129 use gst_guint64_to_gdouble
17131 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17133 * libs/gst/controller/gstcontroller.c:
17134 * libs/gst/controller/gsthelper.c:
17135 * libs/gst/controller/gstinterpolation.c:
17136 * libs/gst/controller/lib.c:
17137 wrap config.h include
17139 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17141 * docs/gst/gstreamer-sections.txt:
17144 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17146 * plugins/elements/gstelements.c:
17147 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17148 (gst_fd_sink__class_init), (gst_fd_sink__init),
17149 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17150 (gst_fd_sink__get_property):
17151 * plugins/elements/gstfdsink.h:
17152 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17153 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17154 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17155 (gst_fd_src_unlock), (gst_fd_src_set_property),
17156 (gst_fd_src_get_property), (gst_fd_src_create),
17157 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17158 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17159 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17160 (gst_fd_src_uri_handler_init):
17161 * plugins/elements/gstfdsrc.h:
17162 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17165 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17167 * docs/gst/Makefile.am:
17168 * docs/gst/gstreamer.types.in:
17172 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17178 * gst/gstregistry.h:
17179 * tests/benchmarks/complexity.c:
17180 * tests/benchmarks/mass-elements.c:
17181 * tests/check/Makefile.am:
17182 * tools/Makefile.am:
17183 * tools/gst-inspect.c:
17184 * tools/gst-xmlinspect.c:
17185 various fixes to make
17186 --disable-nls --disable-registry --disable-loadsave
17187 --disable-parse --disable-gst-debug
17188 work and get the core .so down to 360444 bytes after stripping
17190 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17195 * docs/random/thomasvs/TODO:
17196 * tests/Makefile.am:
17200 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17202 * win32/GStreamer.vcproj:
17205 * win32/Makefile.inspect:
17206 * win32/Makefile.launch:
17207 * win32/Makefile.register:
17208 * win32/README.txt:
17209 * win32/gst-inspect.vcproj:
17210 * win32/gst-launch.vcproj:
17211 * win32/gst-register.vcproj:
17212 * win32/gstelements.vcproj:
17213 * win32/gstgetbits.def:
17214 * win32/gstgetbits.vcproj:
17215 * win32/gstreamer-dbg.def:
17216 * win32/gstreamer.def:
17217 * win32/libgstbase.def:
17218 * win32/libgstbase.vcproj:
17219 * win32/link_oldruntime.c:
17223 * win32/msvc71.sln:
17224 move even more stuff, win32/ is nice and clean now
17226 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17228 * libs/gst/control/.cvsignore:
17233 * win32/gstbytestream.def:
17234 * win32/gstbytestream.vcproj:
17235 * win32/gstconfig.h:
17236 * win32/gstenumtypes.c:
17237 * win32/gstenumtypes.h:
17238 * win32/gstoptimalscheduler.vcproj:
17239 * win32/gstversion.h:
17241 * win32/testsuite/bins.vcproj:
17242 * win32/testsuite/bytestream.vcproj:
17243 * win32/testsuite/caps.vcproj:
17244 * win32/testsuite/cleanup.vcproj:
17245 * win32/testsuite/clock.vcproj:
17246 * win32/testsuite/debug.vcproj:
17247 * win32/testsuite/dlopen.vcproj:
17248 * win32/testsuite/dynparams.vcproj:
17249 * win32/testsuite/elements.vcproj:
17250 * win32/testsuite/ghostpads.vcproj:
17251 * win32/testsuite/indexers.vcproj:
17252 * win32/testsuite/negotiation.vcproj:
17253 * win32/testsuite/parse.vcproj:
17254 * win32/testsuite/plugin.vcproj:
17255 * win32/testsuite/refcounting.vcproj:
17256 * win32/testsuite/schedulers.vcproj:
17257 * win32/testsuite/states.vcproj:
17258 * win32/testsuite/tags.vcproj:
17259 * win32/testsuite/threads.vcproj:
17260 remove old win32 stuff that isn't maintained and should be
17263 2005-11-30 Andy Wingo <wingo@pobox.com>
17265 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17266 loading the gst.interfaces python module bork.
17268 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17269 available since GLib 2.2. Fixes #318031.
17271 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17274 * check/.cvsignore:
17275 * check/Makefile.am:
17276 * check/elements/.cvsignore:
17277 * check/elements/fakesrc.c:
17278 * check/elements/fdsrc.c:
17279 * check/elements/identity.c:
17280 * check/generic/.cvsignore:
17281 * check/generic/states.c:
17282 * check/gst-libs/.cvsignore:
17283 * check/gst-libs/controller.c:
17284 * check/gst-libs/gdp.c:
17285 * check/gst/.cvsignore:
17286 * check/gst/capslist.h:
17288 * check/gst/gstbin.c:
17289 * check/gst/gstbuffer.c:
17290 * check/gst/gstbus.c:
17291 * check/gst/gstcaps.c:
17292 * check/gst/gstelement.c:
17293 * check/gst/gstevent.c:
17294 * check/gst/gstghostpad.c:
17295 * check/gst/gstiterator.c:
17296 * check/gst/gstmessage.c:
17297 * check/gst/gstminiobject.c:
17298 * check/gst/gstobject.c:
17299 * check/gst/gstpad.c:
17300 * check/gst/gstpipeline.c:
17301 * check/gst/gstplugin.c:
17302 * check/gst/gstsegment.c:
17303 * check/gst/gststructure.c:
17304 * check/gst/gstsystemclock.c:
17305 * check/gst/gsttag.c:
17306 * check/gst/gstutils.c:
17307 * check/gst/gstvalue.c:
17308 * check/net/.cvsignore:
17309 * check/net/gstnetclientclock.c:
17310 * check/net/gstnettimeprovider.c:
17311 * check/pipelines/.cvsignore:
17312 * check/pipelines/cleanup.c:
17313 * check/pipelines/simple_launch_lines.c:
17314 * check/pipelines/stress.c:
17315 * check/states/.cvsignore:
17316 * check/states/sinks.c:
17318 * examples/Makefile.am:
17319 * examples/appreader/.cvsignore:
17320 * examples/appreader/Makefile.am:
17321 * examples/appreader/appreader.c:
17322 * examples/controller/.cvsignore:
17323 * examples/controller/Makefile.am:
17324 * examples/controller/audio-example.c:
17325 * examples/cutter/.cvsignore:
17326 * examples/cutter/Makefile.am:
17327 * examples/cutter/cutter.c:
17328 * examples/cutter/cutter.h:
17329 * examples/events/Makefile.am:
17330 * examples/events/seek.c:
17331 * examples/helloworld/.cvsignore:
17332 * examples/helloworld/Makefile.am:
17333 * examples/helloworld/helloworld.c:
17334 * examples/helloworld2/.cvsignore:
17335 * examples/helloworld2/Makefile.am:
17336 * examples/helloworld2/helloworld2.c:
17337 * examples/launch/.cvsignore:
17338 * examples/launch/Makefile.am:
17339 * examples/launch/mp3parselaunch.c:
17340 * examples/launch/mp3play:
17341 * examples/manual/.cvsignore:
17342 * examples/manual/Makefile.am:
17343 * examples/manual/extract.pl:
17344 * examples/metadata/Makefile.am:
17345 * examples/metadata/read-metadata.c:
17346 * examples/mixer/.cvsignore:
17347 * examples/mixer/Makefile.am:
17348 * examples/mixer/mixer.c:
17349 * examples/mixer/mixer.h:
17350 * examples/pingpong/.cvsignore:
17351 * examples/pingpong/Makefile.am:
17352 * examples/pingpong/pingpong.c:
17353 * examples/plugins/.cvsignore:
17354 * examples/plugins/Makefile.am:
17355 * examples/plugins/example.c:
17356 * examples/plugins/example.h:
17357 * examples/pwg/.cvsignore:
17358 * examples/pwg/Makefile.am:
17359 * examples/pwg/extract.pl:
17360 * examples/queue/.cvsignore:
17361 * examples/queue/Makefile.am:
17362 * examples/queue/queue.c:
17363 * examples/queue2/.cvsignore:
17364 * examples/queue2/Makefile.am:
17365 * examples/queue2/queue2.c:
17366 * examples/queue3/.cvsignore:
17367 * examples/queue3/Makefile.am:
17368 * examples/queue3/queue3.c:
17369 * examples/queue4/.cvsignore:
17370 * examples/queue4/Makefile.am:
17371 * examples/queue4/queue4.c:
17372 * examples/retag/.cvsignore:
17373 * examples/retag/Makefile.am:
17374 * examples/retag/retag.c:
17375 * examples/retag/transcode.c:
17376 * examples/thread/.cvsignore:
17377 * examples/thread/Makefile.am:
17378 * examples/thread/thread.c:
17379 * examples/typefind/.cvsignore:
17380 * examples/typefind/Makefile.am:
17381 * examples/typefind/typefind.c:
17382 * examples/xml/.cvsignore:
17383 * examples/xml/Makefile.am:
17384 * examples/xml/createxml.c:
17385 * examples/xml/runxml.c:
17386 * tests/Makefile.am:
17387 * tests/check/Makefile.am:
17388 * testsuite/.cvsignore:
17389 * testsuite/Makefile.am:
17391 * testsuite/caps/.cvsignore:
17392 * testsuite/caps/Makefile.am:
17393 * testsuite/caps/app_fixate.c:
17394 * testsuite/caps/audioscale.c:
17395 * testsuite/caps/caps.c:
17396 * testsuite/caps/caps.h:
17397 * testsuite/caps/caps_strings:
17398 * testsuite/caps/compatibility.c:
17399 * testsuite/caps/deserialize.c:
17400 * testsuite/caps/enumcaps.c:
17401 * testsuite/caps/eratosthenes.c:
17402 * testsuite/caps/filtercaps.c:
17403 * testsuite/caps/fixed.c:
17404 * testsuite/caps/fraction-convert.c:
17405 * testsuite/caps/fraction-multiply-and-zero.c:
17406 * testsuite/caps/intersect2.c:
17407 * testsuite/caps/intersection.c:
17408 * testsuite/caps/normalisation.c:
17409 * testsuite/caps/random.c:
17410 * testsuite/caps/renegotiate.c:
17411 * testsuite/caps/sets.c:
17412 * testsuite/caps/simplify.c:
17413 * testsuite/caps/string-conversions.c:
17414 * testsuite/caps/structure.c:
17415 * testsuite/caps/subtract.c:
17416 * testsuite/caps/union.c:
17417 * testsuite/debug/.cvsignore:
17418 * testsuite/debug/Makefile.am:
17419 * testsuite/debug/category.c:
17420 * testsuite/debug/commandline.c:
17421 * testsuite/debug/global.c:
17422 * testsuite/debug/output.c:
17423 * testsuite/debug/printf_extension.c:
17424 * testsuite/dlopen/.cvsignore:
17425 * testsuite/dlopen/Makefile.am:
17426 * testsuite/dlopen/dlopen_gst.c:
17427 * testsuite/dlopen/loadgst.c:
17428 * testsuite/elements/.cvsignore:
17429 * testsuite/elements/Makefile.am:
17430 * testsuite/elements/gst-inspect-check.in:
17431 * testsuite/elements/struct_i386.h:
17432 * testsuite/elements/struct_size.c:
17433 * testsuite/indexers/.cvsignore:
17434 * testsuite/indexers/Makefile.am:
17435 * testsuite/indexers/cache1.c:
17436 * testsuite/indexers/indexdump.c:
17437 * testsuite/parse/.cvsignore:
17438 * testsuite/parse/Makefile.am:
17439 * testsuite/parse/parse1.c:
17440 * testsuite/parse/parse2.c:
17441 * testsuite/plugin/.cvsignore:
17442 * testsuite/plugin/Makefile.am:
17443 * testsuite/plugin/README:
17444 * testsuite/plugin/dynamic.c:
17445 * testsuite/plugin/linked.c:
17446 * testsuite/plugin/loading.c:
17447 * testsuite/plugin/registry.c:
17448 * testsuite/plugin/static.c:
17449 * testsuite/plugin/static2.c:
17450 * testsuite/plugin/testplugin.c:
17451 * testsuite/plugin/testplugin2.c:
17452 * testsuite/plugin/testplugin2_s.c:
17453 * testsuite/plugin/testplugin_s.c:
17454 * testsuite/refcounting/.cvsignore:
17455 * testsuite/refcounting/Makefile.am:
17456 * testsuite/refcounting/bin.c:
17457 * testsuite/refcounting/element.c:
17458 * testsuite/refcounting/element_pad.c:
17459 * testsuite/refcounting/mainloop.c:
17460 * testsuite/refcounting/mem.c:
17461 * testsuite/refcounting/mem.h:
17462 * testsuite/refcounting/object.c:
17463 * testsuite/refcounting/pad.c:
17464 * testsuite/refcounting/sched.c:
17465 * testsuite/refcounting/thread.c:
17466 * testsuite/states/.cvsignore:
17467 * testsuite/states/Makefile.am:
17468 * testsuite/states/bin.c:
17469 * testsuite/states/locked.c:
17470 * testsuite/states/parent.c:
17471 * testsuite/threads/.cvsignore:
17472 * testsuite/threads/159566.c:
17473 * testsuite/threads/159852.c:
17474 * testsuite/threads/Makefile.am:
17475 * testsuite/threads/queue.c:
17476 * testsuite/threads/signals.c:
17477 * testsuite/threads/staticrec.c:
17478 * testsuite/threads/thread.c:
17479 * testsuite/threads/threadb.c:
17480 * testsuite/threads/threadc.c:
17481 * testsuite/threads/threadd.c:
17482 * testsuite/threads/threade.c:
17483 * testsuite/threads/threadf.c:
17484 * testsuite/threads/threadg.c:
17485 * testsuite/threads/threadh.c:
17486 * testsuite/threads/threadi.c:
17487 move all of these under tests
17489 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17492 * tests/Makefile.am:
17495 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17497 * docs/gst/gstreamer-sections.txt:
17498 * tests/sched/.cvsignore:
17499 * tests/sched/Makefile.am:
17500 * tests/sched/cases/(fs-fs).xml:
17501 * tests/sched/cases/(fs-i-fs).xml:
17502 * tests/sched/cases/(fs-i-i-fs).xml:
17503 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17504 * tests/sched/dynamic-pipeline.c:
17505 * tests/sched/interrupt1.c:
17506 * tests/sched/interrupt2.c:
17507 * tests/sched/interrupt3.c:
17508 * tests/sched/runtestcases:
17509 * tests/sched/runxml.c:
17510 * tests/sched/sched-stress.c:
17511 * tests/sched/sort.c:
17512 * tests/sched/testcases:
17513 * tests/sched/testcases1.tc:
17514 * tests/seeking/.cvsignore:
17515 * tests/seeking/Makefile.am:
17516 * tests/seeking/seeking1.c:
17517 * tests/threadstate/.cvsignore:
17518 * tests/threadstate/Makefile.am:
17519 * tests/threadstate/test1.c:
17520 * tests/threadstate/test2.c:
17521 * tests/threadstate/threadstate1.c:
17522 * tests/threadstate/threadstate2.c:
17523 * tests/threadstate/threadstate3.c:
17524 * tests/threadstate/threadstate4.c:
17525 * tests/threadstate/threadstate5.c:
17526 remove obsolete tests
17528 * tests/bench-complexity.scm:
17529 * tests/bench-mass_elements.scm:
17530 * tests/complexity.c:
17531 * tests/complexity.gnuplot:
17532 * tests/instantiate/.cvsignore:
17533 * tests/instantiate/Makefile.am:
17534 * tests/instantiate/caps.c:
17535 * tests/mass_elements.c:
17536 * tests/network-clock-utils.scm:
17537 * tests/network-clock.scm:
17539 First pass at cleaning up tests/ dir before moving the rest
17540 Combined with CVS surgery
17542 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17545 queue has moved, update
17547 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17549 * docs/gst/gstreamer-sections.txt:
17550 remove double entries from the docs
17551 * gst/gst_private.h:
17552 * gst/gstinfo.c: (_gst_debug_init):
17553 remove the THREAD debug category
17557 * docs/gst/gstreamer.types:
17558 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17559 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17560 completely move queue and fix up debugging categories
17562 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17564 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17565 make initialization portable, using LL is not
17567 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17569 * win32/common/gstconfig.h:
17572 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17574 * win32/common/libgstreamer.def:
17575 rename symbols; sort base section
17577 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17579 * gst/gstclock.c: (do_linear_regression):
17580 remove crack non-portable handrolled DEBUG macro
17582 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17584 * docs/random/release:
17586 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17587 (gst_object_flags_get_type), (register_gst_bin_flags),
17588 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17589 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17590 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17591 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17592 (gst_caps_flags_get_type), (register_gst_clock_return),
17593 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17594 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17595 (gst_clock_flags_get_type), (register_gst_state),
17596 (gst_state_get_type), (register_gst_state_change_return),
17597 (gst_state_change_return_get_type), (register_gst_state_change),
17598 (gst_state_change_get_type), (register_gst_element_flags),
17599 (gst_element_flags_get_type), (register_gst_core_error),
17600 (gst_core_error_get_type), (register_gst_library_error),
17601 (gst_library_error_get_type), (register_gst_resource_error),
17602 (gst_resource_error_get_type), (register_gst_stream_error),
17603 (gst_stream_error_get_type), (register_gst_event_type_flags),
17604 (gst_event_type_flags_get_type), (register_gst_event_type),
17605 (gst_event_type_get_type), (register_gst_seek_type),
17606 (gst_seek_type_get_type), (register_gst_seek_flags),
17607 (gst_seek_flags_get_type), (register_gst_format),
17608 (gst_format_get_type), (register_gst_index_certainty),
17609 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17610 (gst_index_entry_type_get_type),
17611 (register_gst_index_lookup_method),
17612 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17613 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17614 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17615 (gst_index_flags_get_type), (register_gst_debug_level),
17616 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17617 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17618 (gst_iterator_result_get_type), (register_gst_iterator_item),
17619 (gst_iterator_item_get_type), (register_gst_message_type),
17620 (gst_message_type_get_type), (register_gst_mini_object_flags),
17621 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17622 (gst_pad_link_return_get_type), (register_gst_flow_return),
17623 (gst_flow_return_get_type), (register_gst_activate_mode),
17624 (gst_activate_mode_get_type), (register_gst_pad_direction),
17625 (gst_pad_direction_get_type), (register_gst_pad_flags),
17626 (gst_pad_flags_get_type), (register_gst_pad_presence),
17627 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17628 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17629 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17630 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17631 (gst_plugin_flags_get_type), (register_gst_rank),
17632 (gst_rank_get_type), (register_gst_query_type),
17633 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17634 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17635 (gst_tag_flag_get_type), (register_gst_task_state),
17636 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17637 (gst_alloc_trace_flags_get_type),
17638 (register_gst_type_find_probability),
17639 (gst_type_find_probability_get_type), (register_gst_uri_type),
17640 (gst_uri_type_get_type), (register_gst_parse_error),
17641 (gst_parse_error_get_type):
17642 * win32/common/gstenumtypes.h:
17643 * win32/common/gstversion.h:
17644 update visual studio generated files
17646 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17648 * win32/vs6/libgstbase.dsp:
17649 * win32/vs6/libgstelements.dsp:
17650 update project files for new locations
17652 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17657 reinstate and update
17662 * docs/random/LICENSE:
17665 2005-11-30 Edward Hervey <edward@fluendo.com>
17667 * gst/gsttypefind.c: (gst_type_find_register):
17668 * gst/gsttypefind.h:
17669 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17670 (gst_type_find_factory_dispose):
17671 * gst/gsttypefindfactory.h:
17672 Fix memory leak in GstTypeFindFactory.
17674 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17677 * plugins/elements/Makefile.am:
17678 * plugins/elements/gstelements.c:
17679 * plugins/elements/gstqueue.c:
17680 move queue from core to the elements plugin
17682 2005-11-29 Andy Wingo <wingo@pobox.com>
17684 * libs/gst/base/gstbasetransform.h:
17685 * libs/gst/base/gstbasesrc.h:
17686 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17688 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17689 of pointers by which to pad very extensible base classes (like the
17690 ones in libs/gst/base).
17692 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17694 * docs/gst/gstreamer-docs.sgml:
17695 * docs/gst/gstreamer-sections.txt:
17696 * docs/libs/gstreamer-libs-docs.sgml:
17697 * docs/libs/gstreamer-libs-sections.txt:
17698 moving documentation from core to lib
17700 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17702 * check/Makefile.am:
17704 * docs/gst/Makefile.am:
17706 * gst/base/.cvsignore:
17707 * gst/base/Makefile.am:
17709 * gst/base/gstadapter.c:
17710 * gst/base/gstadapter.h:
17711 * gst/base/gstbasesink.c:
17712 * gst/base/gstbasesink.h:
17713 * gst/base/gstbasesrc.c:
17714 * gst/base/gstbasesrc.h:
17715 * gst/base/gstbasetransform.c:
17716 * gst/base/gstbasetransform.h:
17717 * gst/base/gstcollectpads.c:
17718 * gst/base/gstcollectpads.h:
17719 * gst/base/gstpushsrc.c:
17720 * gst/base/gstpushsrc.h:
17721 * gst/base/gsttypefindhelper.c:
17722 * gst/base/gsttypefindhelper.h:
17723 * gst/check/Makefile.am:
17724 * gst/check/gstcheck.c:
17725 * gst/check/gstcheck.h:
17726 * gst/net/Makefile.am:
17727 * gst/net/gstnet.h:
17728 * gst/net/gstnetclientclock.c:
17729 * gst/net/gstnetclientclock.h:
17730 * gst/net/gstnettimepacket.c:
17731 * gst/net/gstnettimepacket.h:
17732 * gst/net/gstnettimeprovider.c:
17733 * gst/net/gstnettimeprovider.h:
17734 * libs/gst/Makefile.am:
17735 * libs/gst/base/Makefile.am:
17736 * libs/gst/base/gstbasetransform.c:
17737 * libs/gst/check/Makefile.am:
17738 * plugins/elements/Makefile.am:
17740 CVS surgery + support to move base, check, and net out of gst
17743 2005-11-29 Andy Wingo <wingo@pobox.com>
17745 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17747 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17750 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17752 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17754 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17756 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17757 padding; reduces object size by about 30%. We don't expect
17758 anything else to go into gstobject.
17760 * gst/gstminiobject.h (struct _GstMiniObject)
17761 (struct _GstMiniObjectClass): Only one pointer of padding; the
17762 payload is only a pointer and two ints anyway. For the class there
17763 are only two methods as well.
17765 * gst/gstelement.h (struct _GstElementClass): Removed
17766 the state_changed signal callback, it is not used.
17768 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17770 * docs/gst/gstreamer.types:
17771 fix includes, though they are a little dinky
17773 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17775 * check/Makefile.am:
17776 look in the right place for elements, a lot more chance of
17779 remove indexers and elements subdirs
17780 * plugins/Makefile.am:
17781 make indexers conditional
17783 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17787 * plugins/elements/Makefile.am:
17788 * plugins/elements/gstcapsfilter.c:
17789 * plugins/elements/gstfilesink.c:
17790 * plugins/elements/gstfilesrc.c:
17791 * plugins/elements/gstidentity.c:
17792 * plugins/indexers/Makefile.am:
17793 do CVS surgery and related build fixery to move elements
17794 and indexers in a new gstreamer/plugins directory, out of the
17797 2005-11-29 Andy Wingo <wingo@pobox.com>
17799 * check/Makefile.am:
17800 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17801 * pkgconfig/gstreamer-net.pc.in:
17802 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17805 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17807 * tools/Makefile.am:
17808 * tools/gst-complete.1.in:
17809 * tools/gst-complete.c:
17810 * tools/gst-compprep.1.in:
17811 * tools/gst-compprep.c:
17812 removing -compprep and -complete
17814 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17816 * gst/gstevent.c: (gst_event_new_new_segment),
17817 (gst_event_parse_new_segment):
17819 fix #320529 - clean up new_segment API and structure.
17820 Let's hope everyone was using the methods, and not the structure.
17822 2005-11-29 Edward Hervey <edward@fluendo.com>
17824 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17825 (gst_base_sink_event), (gst_base_sink_do_sync),
17826 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17827 Properly handle non GST_FORMAT_TIME segment
17828 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17829 Properly handle non GST_FORMAT_TIME segment
17830 * gst/gstsegment.c:
17831 This function is valid if the accumulator is 0 and the format
17832 is different from the requested format.
17834 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17836 * docs/gst/gstreamer-sections.txt:
17837 Add gst_query_new_seeking and gst_query_parse_seeking to the
17840 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17842 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17843 Treat a pad alloc with new caps the same as if we were not
17844 negotiated, in order to allow a changing upstream output
17845 to produce a new format of data.
17847 2005-11-29 Edward Hervey <edward@fluendo.com>
17849 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17850 (gst_base_transform_event), (gst_base_transform_eventfunc):
17851 The event virtual method is now properly implemented, with a default
17853 Sub classes should call the parent_class event method. They should
17854 return FALSE if they had a problem handling the given event, or don't
17855 want GstBaseTransform to send that even downstream
17856 * gst/elements/gstidentity.c: (gst_identity_class_init),
17857 (gst_identity_init), (gst_identity_event),
17858 (gst_identity_transform_ip), (gst_identity_set_property),
17859 (gst_identity_get_property):
17860 * gst/elements/gstidentity.h:
17861 Added the single-segment boolean property.
17862 If set to TRUE, it will output a single segment of data, starting from
17863 0, will eat up all incoming newsegment, and modify the timestamp of the
17864 buffers accordingly
17866 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17868 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17869 Don't ref NULL target pad (#322751). Improve docs.
17871 2005-11-29 Michael Smith <msmith@fluendo.com>
17873 * gst/gstregistryxml.c: (load_plugin):
17874 Don't crash if we failed to load a feature from a plugin.
17876 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17878 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17880 use more check API and less GLib API
17882 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17885 don't run checks if we don't have check
17886 * common/check.mak:
17887 remove the registry when running make torture
17888 * docs/gst/gstreamer-sections.txt:
17889 remove second multiply
17890 * gst/gstqueue.c: (gst_queue_loop):
17891 fix a compile warning when disabling debug
17893 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17896 Hey! Let's print the pad name if the pointer != NULL instead
17897 of when it == NULL :-)
17899 2005-11-28 Wim Taymans <wim@fluendo.com>
17901 * check/gst/gstutils.c: (GST_START_TEST):
17902 Updated check, add some scaling accuracy checking code.
17904 * gst/gstutils.c: (gst_util_div128_64),
17905 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17906 (gst_util_uint64_scale_int):
17907 Fix 6 times faster division code. Optimize for common
17908 1/1 and less common X/1 cases.
17910 2005-11-28 Wim Taymans <wim@fluendo.com>
17912 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17915 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17916 (do_linear_regression), (gst_clock_add_observation):
17918 Release lock when the clock cannot be slaved.
17919 Catch the case where the regression returned an invalid denominator.
17921 * gst/gstutils.c: (gst_util_div128_64_iterate),
17922 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17923 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17924 Add protentially more performant non-iterative 128/64 divide function
17925 that unfortunatly does not work yet.
17926 Shortcut the trivial 0/X = 0 case.
17927 Remove the warnings on overflow.
17929 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17931 * gst/gstplugin.c: (gst_plugin_register_func):
17932 everything causing a plugin not to load should be at least a WARNING
17934 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17936 * docs/random/ensonic/dparams.txt:
17937 some TODOs for the next dev cycle
17938 * libs/gst/controller/gstcontroller.c:
17939 (gst_controlled_property_set_interpolation_mode),
17940 (gst_controlled_property_new):
17941 * libs/gst/controller/gstcontroller.h:
17942 use base type to assign acccessor functions
17944 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17946 * check/Makefile.am:
17947 Oops, that should have been top_srcdir
17949 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17951 * check/Makefile.am:
17952 * check/elements/fdsrc.c: (GST_START_TEST):
17953 Use a cmdline define to specify the location of a file to use for
17954 testing, to avoid breaking distcheck.
17956 2005-11-28 Andy Wingo <wingo@pobox.com>
17958 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17960 2005-11-28 Edward Hervey <edward@fluendo.com>
17962 * tools/gst-launch.c: (main):
17963 Clarify the output strings, makes it easier to translate.
17966 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17969 don't try and build net if we don't even have <sys/socket.h>
17971 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17973 * check/Makefile.am:
17974 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17975 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17976 Add tests for fdsrc seekability
17978 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17979 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17980 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17981 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17982 * gst/elements/gstfdsrc.h:
17983 fdsrc should not be a 'live' source.
17984 Implement seeking on seekable fd's.
17986 * gst/gstquery.c: (gst_query_new_seeking),
17987 (gst_query_parse_seeking):
17989 Implement SEEKING query functions:
17990 *_new_seeking and *_parse_seeking
17992 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17994 * gst/gstelement.c: (gst_element_dispose):
17997 * gst/gstiterator.c:
17998 * gst/gststructure.c:
18001 * libs/gst/controller/gstcontroller.c:
18002 (gst_controlled_property_set_interpolation_mode):
18003 * libs/gst/controller/gstcontroller.h:
18004 * libs/gst/controller/gstinterpolation.c:
18005 (interpolate_none_get_enum_value_array):
18006 support controlling enums
18008 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18011 Improve documentation for gst_value_union().
18014 Change return value for union, intersect and subtract functions
18015 from gint to gboolean.
18017 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18019 * gst/gstvalue.c: (gst_value_serialize_any_list),
18020 (gst_value_transform_any_list_string),
18021 (gst_value_deserialize_list), (gst_value_deserialize_array),
18022 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18023 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18024 (gst_value_set_fraction_range_full),
18025 (gst_value_deserialize_fraction_range),
18026 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18027 (gst_value_deserialize_boolean),
18028 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18029 (gst_value_serialize_float), (gst_value_deserialize_float),
18030 (gst_string_wrap), (gst_value_deserialize_string),
18031 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18032 (gst_value_union_int_range_int_range),
18033 (gst_value_intersect_int_range_int_range),
18034 (gst_value_intersect_double_range_double_range),
18035 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18036 (gst_value_subtract_int_range_int_range),
18037 (gst_value_subtract_double_double_range),
18038 (gst_value_subtract_double_range_double_range),
18039 (gst_value_deserialize_fraction):
18041 Use gint, gdouble and gchar in our API instead of int, double and
18042 char (and make usage in gstvalue.c more consistent).
18044 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18046 * check/Makefile.am:
18047 * libs/gst/controller/Makefile.am:
18048 * libs/gst/dataprotocol/Makefile.am:
18049 fix up Makefile.am and remove GST_ENABLE_NEW
18051 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18055 * gst/base/Makefile.am:
18056 * gst/check/Makefile.am:
18057 * gst/elements/Makefile.am:
18058 * gst/net/Makefile.am:
18059 update LDFLAGS use some more
18061 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18063 * common/m4/gst-doc.m4:
18066 2005-11-26 Edward Hervey <edward@fluendo.com>
18068 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18069 This shouldn't issue a g_warning since it returns NULL if it
18070 couldn't find the plugin, and all functions using this behave
18071 properly on a NULL return. Switching to a GST_WARNING.
18073 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18075 * gst/gstbin.c: (gst_bin_handle_message_func):
18076 Don't leak clock messages.
18078 2005-11-25 Wim Taymans <wim@fluendo.com>
18080 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18081 (gst_util_uint64_scale_int):
18082 Optimisations, remove unneeded vars.
18084 2005-11-25 Wim Taymans <wim@fluendo.com>
18086 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18087 Added more checks for the high precision uint64 cases.
18089 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18090 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18091 Implement high precision (guint64 * guint64) / guint64.
18093 2005-11-24 Wim Taymans <wim@fluendo.com>
18095 * gst/base/gstbasesrc.c: (gst_base_src_query):
18096 Fix wrong percentage query.
18098 * gst/gstutils.c: (gst_util_uint64_scale),
18099 (gst_util_uint64_scale_int):
18100 Add some more common cases that can be handled
18101 efficiently to _scale.
18103 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18105 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18106 (gst_mini_object_suite):
18107 don't use check calls from threads; check probably isn't
18108 threadsafe and using a lock to make it threadsafe would
18109 defeat the purpose of this check
18110 * gst/check/gstcheck.c:
18111 * gst/check/gstcheck.h:
18112 use GST_DEBUG some more
18114 2005-11-24 Wim Taymans <wim@fluendo.com>
18116 * gst/gstutils.c: (gst_util_uint64_scale),
18117 (gst_util_uint64_scale_int):
18118 Chain trivial case to _scale_int.
18120 2005-11-24 Wim Taymans <wim@fluendo.com>
18122 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18123 Added test for scaling.
18128 * gst/gstutils.c: (gst_util_uint64_scale_int):
18129 Implemented high precision scaling code.
18131 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18134 do not crash on pad==NULL
18136 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18138 Patch by: Stefan Kost
18140 * common/gtk-doc.mak:
18141 * docs/gst/Makefile.am:
18142 * docs/libs/Makefile.am:
18143 Fix distcheck issues for the libraries docs build
18146 2005-11-24 Michael Smith <msmith@fluendo.com>
18148 * docs/manual/basics-helloworld.xml:
18149 Fix bug #315027: memory leak in example code in docs.
18151 2005-11-24 Michael Smith <msmith@fluendo.com>
18153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18154 Unlock the PREROLL_LOCK in a failure case.
18156 2005-11-24 Wim Taymans <wim@fluendo.com>
18158 * docs/gst/gstreamer-sections.txt:
18159 * gst/base/gstadapter.h:
18160 * gst/base/gstbasesink.h:
18161 * gst/base/gstbasesrc.h:
18162 * gst/base/gstbasetransform.h:
18163 * gst/base/gstpushsrc.h:
18164 * gst/elements/gstfakesink.h:
18165 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18166 * gst/elements/gstfakesrc.h:
18167 * gst/elements/gstfilesink.h:
18168 * gst/elements/gstfilesrc.h:
18171 * gst/gstbuffer.c: (_gst_buffer_copy):
18174 * gst/gstchildproxy.c:
18176 * gst/gstelement.c:
18177 * gst/gstelementfactory.c:
18178 * gst/gstelementfactory.h:
18180 * gst/gstghostpad.h:
18182 * gst/gstinterface.h:
18183 * gst/gstminiobject.c:
18184 * gst/gstminiobject.h:
18187 * gst/gstpadtemplate.h:
18188 * gst/gstpipeline.h:
18189 * gst/gstpluginfeature.h:
18192 * gst/gsttaglist.c:
18193 * gst/gsttaglist.h:
18194 * gst/gsttagsetter.c:
18195 * gst/gsttagsetter.h:
18198 * gst/gsttypefind.h:
18201 * gst/net/gstnetclientclock.c:
18202 * gst/net/gstnetclientclock.h:
18203 * gst/net/gstnettimepacket.c:
18204 * gst/net/gstnettimeprovider.c:
18205 * gst/net/gstnettimeprovider.h:
18208 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18210 * configure.ac: back to HEAD
18212 === release 0.9.6 ===
18214 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18217 releasing 0.9.6, "Always On Time"
18219 2005-11-23 Wim Taymans <wim@fluendo.com>
18221 * docs/gst/gstreamer-sections.txt:
18222 * gst/glib-compat.c:
18223 * gst/gsttagsetter.c:
18225 * gst/net/gstnetclientclock.c:
18226 * gst/net/gstnettimepacket.h:
18229 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18231 * docs/faq/using.xml:
18232 * docs/libs/tmpl/gstcontrol.sgml:
18233 * docs/manual/advanced-dparams.xml:
18234 * docs/manual/appendix-checklist.xml:
18235 * docs/manual/basics-elements.xml:
18236 * docs/pwg/other-source.xml:
18237 * docs/random/moving-plugins:
18239 * tools/gst-launch.1.in:
18240 remove mentions of sinesrc
18242 2005-11-23 Michael Smith <msmith@fluendo.com>
18244 * docs/gst/gstreamer-sections.txt:
18245 Update for new API and API changes.
18247 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18249 Documentation typo fix.
18250 * gst/net/gstnettimepacket.c:
18251 Documentation fixes for arguments.
18253 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18255 * gst/gststructure.c: (gst_structure_get_fraction),
18256 (gst_structure_parse_value),
18257 (gst_structure_fixate_field_nearest_fraction):
18258 * gst/gststructure.h:
18259 * gst/gstutils.c: (gst_util_uint64_scale_int):
18261 * scripts/update-funcnames:
18263 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18264 Make gst_structure_fixate_field_nearest_fraction take a numerator
18265 and denominator argument instead of a GValue
18266 add gst_structure_get_fraction helper function.
18268 2005-11-23 Wim Taymans <wim@fluendo.com>
18270 * docs/design/part-TODO.txt:
18273 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18274 * gst/net/gstnetclientclock.h:
18275 Use parent fields for timeout and window_size.
18277 2005-11-23 Andy Wingo <wingo@pobox.com>
18279 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18280 rate_num/rate_denom change.
18282 * gst/net/gstnetclientclock.c
18283 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18284 OBJECT_LOCK. Don't call add_observation with the lock.
18286 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18288 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18290 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18291 deal with rate as a fraction whose numerator and denominator are
18292 GstClockTime values.
18293 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18294 master; the other fields are protected by the SLAVE_LOCK.
18295 (do_linear_regression): Note that this must be called with the
18297 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18298 OBJECT_LOCK. Call set_calibration instead of touching the
18299 variables directly.
18300 (gst_clock_set_property, gst_clock_get_property): Protect
18301 master/slave parameters with the SLAVE_LOCK.
18303 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18304 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18305 note that all of the instance variables that add_observation and
18306 the set_master functions use are protected by that lock and not
18308 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18310 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18311 the caller to take the object lock.
18313 2005-11-23 Wim Taymans <wim@fluendo.com>
18315 * gst/gsterror.c: (_gst_core_errors_init):
18317 Add error for clock stuff.
18319 * gst/gstpipeline.c: (gst_pipeline_change_state),
18320 (gst_pipeline_set_clock):
18321 Post clock error when clock cannot be used in a pipeline.
18323 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18325 * docs/gst/gstreamer-sections.txt:
18326 make two symbols from gstinfo private for the docs
18327 * gst/base/gstcollectpads.h:
18329 fix doc typos, update docs
18331 2005-11-22 Wim Taymans <wim@fluendo.com>
18333 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18334 (gst_base_sink_wait), (gst_base_sink_do_sync),
18335 (gst_base_sink_handle_event):
18336 * gst/base/gstbasesink.h:
18337 No need to store the clock, the parent element class already
18340 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18341 Updates for clock_set returning a gboolean
18343 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18344 (gst_clock_id_wait_async), (gst_clock_class_init),
18345 (gst_clock_init), (gst_clock_finalize),
18346 (gst_clock_get_internal_time), (gst_clock_get_time),
18347 (gst_clock_slave_callback), (gst_clock_set_master),
18348 (gst_clock_get_master), (do_linear_regression),
18349 (gst_clock_add_observation), (gst_clock_set_property),
18350 (gst_clock_get_property):
18352 Implement master/slave. When setting a clock as a slave, a
18353 periodic timeout is scheduled to sample master and slave times.
18354 Then the slave clock is recalibrated to match offset and rate
18355 of the master clock.
18356 Update logging a bit.
18357 Add flag so that a clock can state that is cannot be slaved to
18360 * gst/gstelement.c: (gst_element_set_clock):
18361 * gst/gstelement.h:
18362 The set clock returns a gboolean for when an element cannot
18363 deal with the selected clock in the pipeline.
18365 * gst/gstpipeline.c: (gst_pipeline_change_state),
18366 (gst_pipeline_set_clock):
18367 * gst/gstpipeline.h:
18368 Handle the case where the selected clock cannot be set on
18371 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18372 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18373 (gst_net_client_clock_set_property),
18374 (gst_net_client_clock_get_property),
18375 (gst_net_client_clock_observe_times):
18376 * gst/net/gstnetclientclock.h:
18377 Use regression code in GstClock parent, remove duplicated
18380 2005-11-22 Michael Smith <msmith@fluendo.com>
18382 * gst/gstutils.c: (gst_util_clock_time_scale):
18384 * docs/gst/gstreamer-sections.txt:
18385 Rename method to have extra underscore.
18387 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18389 * gst/elements/Makefile.am:
18390 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18391 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18392 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18393 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18394 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18395 * gst/elements/gstfakesrc.h:
18396 * gst/gstqueue.c: (queue_leaky_get_type):
18397 correctly fix GEnumValues so that nick is the short lowercase
18399 * tools/gst-inspect.c: (print_element_properties_info):
18400 also show the nick, since it's useful to use from parse_launch
18404 2005-11-22 Michael Smith <msmith@fluendo.com>
18406 * gst/gstutils.c: (gst_util_clocktime_scale):
18408 * docs/gst/gstreamer-sections.txt:
18409 Add util method for scaling a clocktime by a fraction. Useful
18410 implementation is left as an exercise for the reader.
18412 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18414 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18415 If needed, allocate storage in the destination value during
18418 2005-11-22 Edward Hervey <edward@fluendo.com>
18420 * docs/gst/gstreamer-sections.txt:
18423 * gst/gsturitype.c:
18424 * gst/gsturitype.h:
18425 * gst/gstutils.c: (gst_util_set_object_arg):
18426 * tools/gst-compprep.c: (main):
18427 * tools/gst-inspect.c: (print_element_properties_info):
18428 Removed GstURI, closes bug #321061
18430 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18432 * check/gst/gststructure.c: (GST_START_TEST):
18433 * gst/gststructure.c: (gst_structure_parse_value):
18434 Oops, broke automatic string type parsing.
18435 Add a test to catch it in future.
18437 2005-11-22 Andy Wingo <wingo@pobox.com>
18439 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18440 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18441 Actually rename the function implementations. Grr.
18443 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18445 * check/gst/capslist.h:
18447 * check/gst/gststructure.c: (GST_START_TEST),
18448 (gst_structure_suite):
18449 Test automatic value type detection in gst_structure_from_string.
18450 * gst/gststructure.c: (gst_structure_parse_value):
18451 Add fraction as a type we try and guess automatically in
18452 caps/structure strings.
18454 2005-11-22 Andy Wingo <wingo@pobox.com>
18456 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18458 * gst/gsttagsetter.h:
18459 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18460 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18461 (gst_tag_setter_add_tag_valist)
18462 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18463 _add_values, _add_valist, and _add_valist_values. Since this is an
18464 interface the function suffixes should be more explicit so
18465 language binding don't end up with element.add_valist ->
18466 gst_tag_setter_add_valist, for example. Fixes #322069.
18468 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18470 * check/gst/gstcaps.c: (GST_START_TEST):
18471 Extend caps string tests to check that a caps to string
18472 conversion is reversible and produces the same caps.
18474 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18475 Output "fraction" as the generic type fraction range, so caps
18476 serialisation and deserialisation works.
18477 * check/gst/capslist.h:
18478 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18479 Support 'MIN' and 'MAX' for deserialising fractions.
18481 2005-11-22 Andy Wingo <wingo@pobox.com>
18483 * gst/gstevent.h (gst_event_new_new_segment)
18484 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18485 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18486 Renamed from *_newsegment, *_buffersize, *_notarget.
18488 * scripts/update-funcnames: New script, performs the changes
18491 2005-11-22 Wim Taymans <wim@fluendo.com>
18493 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18494 Make sure the GstFlowReturn is returned.
18496 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18497 (gst_bus_add_signal_watch):
18499 add gst_bus_add_signal_watch_full.
18501 * gst/gstplugin.c: (gst_plugin_load_file):
18502 Small style cleanup.
18504 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18506 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18507 Block the fakesrc srcpad when we send an event, to avoid
18508 contention on the stream_lock causing random test failures.
18510 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18512 * check/gst/gstvalue.c: (GST_START_TEST):
18513 * gst/gstvalue.c: (gst_value_fraction_subtract):
18516 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18519 include "gstchildproxy.h"
18520 * gst/gstchildproxy.h:
18521 * libs/gst/controller/gstcontroller.h:
18522 use G_GNUC_NULL_TERMINATED
18524 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18526 * check/gst/capslist.h:
18527 * check/gst/gstcaps.c: (GST_START_TEST):
18528 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18529 * gst/gststructure.c: (gst_structure_parse_range),
18530 (gst_structure_fixate_field_nearest_fraction):
18531 * gst/gststructure.h:
18532 * gst/gstvalue.c: (gst_value_init_fraction_range),
18533 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18534 (gst_value_collect_fraction_range),
18535 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18536 (gst_value_set_fraction_range_full),
18537 (gst_value_get_fraction_range_min),
18538 (gst_value_get_fraction_range_max),
18539 (gst_value_serialize_fraction_range),
18540 (gst_value_transform_fraction_range_string),
18541 (gst_value_compare_fraction_range),
18542 (gst_value_deserialize_fraction_range),
18543 (gst_value_intersect_fraction_fraction_range),
18544 (gst_value_intersect_fraction_range_fraction_range),
18545 (gst_value_subtract_fraction_fraction_range),
18546 (gst_value_subtract_fraction_range_fraction),
18547 (gst_value_subtract_fraction_range_fraction_range),
18548 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18549 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18550 (gst_value_transform_string_fraction), (_gst_value_initialize):
18552 Implement fraction ranges and extend GstFraction to support
18553 arithmetic subtraction, as well as deserialization from integer
18554 strings such as "100"
18555 Add a testsuite as for int and double range set operations
18557 2005-11-21 Andy Wingo <wingo@pobox.com>
18559 * gst/gsttaglist.h:
18561 * gst/gststructure.h: Add glib-compat.h.
18563 2005-11-21 Wim Taymans <wim@fluendo.com>
18565 * gst/gstbin.c: (gst_bin_change_state_func):
18568 2005-11-21 Wim Taymans <wim@fluendo.com>
18570 * gst/gstsegment.h:
18571 And add a nice define too.
18573 2005-11-21 Wim Taymans <wim@fluendo.com>
18575 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18576 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18577 (gst_segment_set_duration), (gst_segment_set_last_stop),
18578 (gst_segment_set_seek), (gst_segment_set_newsegment),
18579 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18580 (gst_segment_clip):
18581 * gst/gstsegment.h:
18582 Make binding friendly.
18584 2005-11-21 Andy Wingo <wingo@pobox.com>
18586 * gst/gsttagsetter.h:
18587 * gst/gsttaglist.h:
18588 * gst/gststructure.h:
18590 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18593 * gst/gsterror.c (_gst_core_errors_init):
18594 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18597 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18598 (noinst_HEADERS): noinst the -private.
18600 2005-11-21 Michael Smith <msmith@fluendo.com>
18603 * gst/gstregistry.h:
18604 Remove unimplemented declarations for which we can see no sensible
18607 2005-11-21 Andy Wingo <wingo@pobox.com>
18609 * gst/gst.h: Include glib-compat.h.
18611 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18613 * gst/glib-compat.c: Include the public and the private header.
18615 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18619 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18621 * check/gst/gstevent.c (create_custom_events): Check that
18622 FLUSH_STOP is serialized.
18624 * check/elements/identity.c (event_func):
18625 * check/elements/fakesrc.c (event_func): No stream lock, the core
18628 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18629 stream lock taking, yay.
18631 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18632 ensure that core takes the stream lock.
18634 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18637 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18638 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18639 it already. For the flush start we do take it though so we get the
18640 right preroll state change messages.
18642 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18643 the stream lock here, the core does it for us.
18645 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18646 GST_STREAM_GET_LOCK.
18647 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18648 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18649 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18650 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18651 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18652 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18654 * gst/gstpad.c: Update for stream lock name change.
18656 * gst/base/gstbasesink.c: Update for preroll lock name change.
18658 2005-11-21 Wim Taymans <wim@fluendo.com>
18660 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18661 (gst_clock_get_master):
18663 * gst/gstsystemclock.c: (gst_system_clock_init):
18664 Convert Clock flags to object flags.
18665 Added methods to manage master/slave clocks.
18667 2005-11-21 Wim Taymans <wim@fluendo.com>
18669 * check/gst/gstsegment.c: (GST_START_TEST):
18670 * docs/design/part-TODO.txt:
18671 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18672 (gst_base_sink_event), (gst_base_sink_do_sync),
18673 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18674 (gst_base_sink_query), (gst_base_sink_change_state):
18675 * gst/base/gstbasesink.h:
18676 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18677 (gst_base_src_default_newsegment),
18678 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18679 (gst_base_src_get_range), (gst_base_src_loop),
18680 (gst_base_src_change_state):
18681 * gst/base/gstbasesrc.h:
18682 * gst/base/gstbasetransform.c:
18683 (gst_base_transform_prepare_output_buf),
18684 (gst_base_transform_event), (gst_base_transform_change_state):
18685 * gst/base/gstbasetransform.h:
18686 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18687 (gst_collect_pads_event):
18688 * gst/base/gstcollectpads.h:
18689 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18690 (gst_fake_src_create):
18691 * gst/elements/gstfakesrc.h:
18692 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18693 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18694 (gst_segment_set_last_stop), (gst_segment_set_seek),
18695 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18696 (gst_segment_to_running_time), (gst_segment_clip):
18697 * gst/gstsegment.h:
18698 More segment updates, replace code in plugins with segment
18701 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18703 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18704 Don't ignore sscanf results
18706 2005-11-21 Andy Wingo <wingo@pobox.com>
18708 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18711 * *.c: Ran scripts/update-macros. Oh yes.
18713 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18714 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18717 * scripts/update-macros: New script. Run it on your files to
18718 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18721 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18723 * docs/gst/Makefile.am:
18724 * docs/gst/gstreamer-docs.sgml:
18725 * docs/gst/gstreamer-sections.txt:
18726 * docs/gst/gstreamer.types:
18728 more docs fixes, add new api to the docs
18730 2005-11-21 Andy Wingo <wingo@pobox.com>
18732 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18733 state_broadcast call.
18735 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18737 2005-11-21 Julien MOUTTE <julien@moutte.net>
18739 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18740 function calls for arrays.
18742 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18744 * docs/random/ensonic/media-device-daemon.txt:
18745 wild idea, can this be done?
18746 * docs/gst/gstreamer-sections.txt:
18751 * gst/gstpluginfeature.c:
18755 doc fixes and additions
18757 2005-11-21 Andy Wingo <wingo@pobox.com>
18759 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18760 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18761 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18762 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18763 private to the basesrc implementation.
18765 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18766 behalf of event function if necessary. It should no longer be
18767 necessary to take the stream lock in pad's event functions. Fixes
18770 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18771 * docs/gst/gstreamer-sections.txt:
18772 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18773 (gst_structure_fixate_field_nearest_double),
18774 (gst_structure_fixate_field_boolean):
18775 * gst/gststructure.h:
18776 * win32/common/libgstreamer.def:
18777 * win32/gstreamer.def:
18779 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18782 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18784 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18785 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18786 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18787 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18788 (gst_fdsrc_uri_handler_init):
18789 * gst/elements/gstfdsrc.h:
18790 Port fd:// URI handler from 0.8 to fdsrc
18792 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18794 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18795 (gst_value_serialize_fourcc):
18797 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18798 consistent with our other format defines (#320324).
18800 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18802 * gst/gstvalue.c: (gst_value_is_fixed):
18803 Revert previous commit. Value lists are by definition
18804 not fixed, as they are a list of possible values.
18806 2005-11-21 Andy Wingo <wingo@pobox.com>
18808 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18809 during the stable series if we need it. Fixes #319178.
18811 * gst/gstevent.c (gst_event_new_filler): Removed.
18813 * check/gst/gstevent.c: Update comment about filler events.
18815 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18817 * gst/gstvalue.c: (gst_value_is_fixed):
18818 Should handle both value arrays and value lists.
18820 2005-11-21 Andy Wingo <wingo@pobox.com>
18822 patch by: Alessandro Dessina <alessandro nnva org>
18824 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18825 functions to access arrays. Fixes #321962.
18827 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18829 * docs/gst/gstreamer.types:
18830 gst_collectpads_get_type => gst_collect_pads_get_type.
18832 * gst/base/gstbasetransform.c:
18833 Remove unused SIGNAL_HANDOFF enum.
18835 2005-11-21 Andy Wingo <wingo@pobox.com>
18837 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18838 the event type (upstream, downstream, serialized). Renamed
18839 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18840 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18841 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18843 * gst/gstevent.c: Update for new CUSTOM event names.
18845 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18848 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18851 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18853 * docs/gst/gstreamer-sections.txt:
18854 * win32/common/libgstbase.def:
18855 * win32/libgstbase.def:
18856 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18857 (gst_collect_pads_class_init), (gst_collect_pads_init),
18858 (gst_collect_pads_finalize), (gst_collect_pads_new),
18859 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18860 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18861 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18862 (gst_collect_pads_start), (gst_collect_pads_stop),
18863 (gst_collect_pads_peek), (gst_collect_pads_pop),
18864 (gst_collect_pads_available), (gst_collect_pads_read),
18865 (gst_collect_pads_flush), (gst_collect_pads_event),
18866 (gst_collect_pads_chain):
18867 * gst/base/gstcollectpads.h:
18868 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18869 unimplemented functions as unimplemented. Add padding to
18870 GstCollectData. (#320766, #320423)
18872 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18874 * gst/gstmessage.c:
18875 Improve docs for DURATION message (usage of duration parameter)
18878 2005-11-20 Wim Taymans <wim@fluendo.com>
18880 * check/Makefile.am:
18881 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18885 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18886 (gst_segment_set_seek), (gst_segment_set_newsegment),
18887 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18888 (gst_segment_clip):
18889 * gst/gstsegment.h:
18890 Added segment helper structure and methods. Not fully implemented
18892 Added segment check.
18894 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18896 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18897 Add a deserialisation test for fractions
18898 * examples/metadata/read-metadata.c: (message_loop),
18899 (make_pipeline), (main):
18900 Fix up metadata reading sample.
18901 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18903 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18904 Don't try and fixate empty caps
18905 * gst/gst_private.h:
18906 Wrap in G_BEGIN_DECLS/G_END_DECLS
18907 * gst/gstvalue.c: (gst_value_collect_fraction),
18908 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18909 (gst_value_transform_string_fraction),
18910 (gst_value_compare_fraction):
18911 Add some extra guards to ensure that we don't end up
18912 with an invalid denominator of 0 in a gstfraction and
18913 that fractions always get reduced.
18915 2005-11-20 Wim Taymans <wim@fluendo.com>
18917 * docs/gst/gstreamer-sections.txt:
18919 * gst/gstelement.c:
18928 2005-11-20 Wim Taymans <wim@fluendo.com>
18930 * docs/design/part-TODO.txt:
18932 Make a proper enum of the flag.
18934 2005-11-19 Wim Taymans <wim@fluendo.com>
18936 * docs/design/part-TODO.txt:
18937 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18938 (gst_format_to_quark), (gst_format_register):
18940 * gst/gstquery.c: (_gst_query_initialize),
18941 (gst_query_type_get_name), (gst_query_type_to_quark),
18942 (gst_query_type_register):
18944 Add type to quark and type to string conversions.
18946 2005-11-19 Andy Wingo <wingo@pobox.com>
18948 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18951 2005-11-19 Wim Taymans <wim@fluendo.com>
18953 * docs/design/part-TODO.txt:
18954 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18955 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18956 (gst_bin_handle_message_func):
18958 Make message handling overridable.
18960 2005-11-19 Andy Wingo <wingo@pobox.com>
18962 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18965 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18967 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18968 is a GstClockTime. Fixes #321710.
18970 * gst/gstclock.h (GstClock): Remove offset property. Add
18971 internal_calibration and external_calibration. Fix padding. Pad
18972 also by GstClockTime so we don't run into problems.
18974 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18975 (gst_clock_get_rate_offset): Remove.
18976 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18979 * gst/gstutils.c (g_static_rec_cond_wait)
18980 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18982 * gst/gstbin.c: Remove terrible continue_state prototype.
18984 * gst/gstelement.h (gst_element_continue_state): Make public.
18986 * gst/gstelement.h:
18987 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18988 by continue_state. Fixes #319389.
18990 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18991 Really fixes #168438. However I don't see anywhere where the
18992 filter function is called... stupid GStreamer...
18994 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18995 don't have a dispose function, so it won't get called when the
18996 object is unreffed, but oh well!
18998 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18999 allows a destroy function to be set so user_data can be freed.
19001 (gst_index_set_filter): Call gst_index_set_filter_full.
19003 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19005 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19006 string should produce an error, given the lack of a way to
19007 represent NULL strings. Fixes #165650.
19010 * gst/gstvalue.c (gst_value_array_append_value)
19011 (gst_value_array_prepend_value, gst_value_array_get_size)
19012 (gst_value_array_get_value): New API, copied from
19013 gst_value_list_*, only operates on arrays.
19014 (gst_value_list_append_value, gst_value_list_prepend_value)
19015 (gst_value_list_concat, gst_value_list_get_size)
19016 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19018 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19019 init_list, because it works on both.
19020 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19021 (gst_value_copy_list_or_array): Renamed from copy_list.
19022 (gst_value_free_list_or_array): Renamed from free_list.
19023 (gst_value_collect_list_or_array): Renamed from collect_list.
19024 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19025 (gst_value_list_or_array_peek_pointer): Renamed from
19027 (_gst_value_array_value_table, _gst_value_list_value_table):
19028 Update value table functions.
19029 (gst_value_compare_list_or_array): Renamed from compare_list.
19031 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19034 * gst/gsttaglist.c:
19035 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19036 GstTagList*. Fixes #143472.
19038 * gst/gststructure.h: Clarify what the foreach/map functions can
19039 or can't do to their arguments.
19041 2005-11-18 Wim Taymans <wim@fluendo.com>
19043 * gst/gstclock.c: (gst_clock_set_calibration),
19044 (gst_clock_get_calibration):
19046 Calibration can be set with internal time equal to current
19049 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19055 2005-11-18 Andy Wingo <wingo@pobox.com>
19058 * pkgconfig/gstreamer-net.pc.in:
19059 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19060 * pkgconfig/Makefile.am: Add net pkgconfig files.
19062 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19065 * gst/gstghostpad.c:
19071 2005-11-18 Andy Wingo <wingo@pobox.com>
19073 * gst/net/gstnetclientclock.c: Turn off debugging.
19075 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19076 times connverge somewhat. Can't make a real test.
19078 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19079 integer arithmetic. Return the minimum of the domain, which can be
19080 set as "internal" for gst_clock_set_calibration.
19081 (gst_net_client_clock_observe_times): Call _set_calibration.
19082 (gst_net_client_clock_new): Call _set_calibration instead of
19085 * check/net/gstnetclientclock.c (test_functioning): Use the right
19089 * gst/gstclock.c (gst_clock_get_calibration)
19090 (gst_clock_set_calibration): New functions, obsolete the ones I
19091 added yesterday. Doh. Precision issues mean we have to extrapolate
19092 from a point in the more recent past than 1970.
19093 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19095 (gst_clock_adjust_unlocked): Use the right calibration data.
19097 2005-11-18 Edward Hervey <edward@fluendo.com>
19099 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19100 Also reset the ->current_* values in READY->PAUSED
19102 2005-11-18 Andy Wingo <wingo@pobox.com>
19104 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19105 Whoops, check the right fd. Also add some debugging.
19106 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19107 (do_linear_regression): Add a crapload of debugging. Subtract off
19108 the minimum values from the input series to discard unneeded bits.
19109 Use only int arithmetic. There is still double arithmetic when
19110 calculating the intercept that needs fixing. Return boolean to
19111 indicate success; FALSE would mean the domain or range is too
19112 great. Still needs fixes.
19114 2005-11-18 Wim Taymans <wim@fluendo.com>
19116 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19117 For the current position in stream time, we need to subtract
19120 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19121 Release lock before calling the callback function of async
19124 2005-11-18 Andy Wingo <wingo@pobox.com>
19126 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19127 Port goes all the way to MAXUINT16.
19129 * gst/net/gstnettimeprovider.c: Make the port range the same as
19130 for the kernel: 0 assigns, otherwise ports are less than
19133 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19136 * check/net/gstnetclientclock.c (test_functioning): Add the start
19139 2005-11-18 Wim Taymans <wim@fluendo.com>
19141 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19142 (gst_bin_remove_func), (bin_bus_handler):
19144 Removing a clock provider from a bin, triggers a clock lost message
19145 so that a new clock will be selected.
19146 Adding a clock to a bin triggers a clock provider message.
19147 Make sure we reselect a clock when we received a clock lost message.
19148 Keep a reference to the element that provided the clock.
19150 2005-11-18 Andy Wingo <wingo@pobox.com>
19152 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19153 the clock initially so it produces values around the base time.
19154 (gst_net_client_clock_class_init): Typo fix.
19155 (gst_net_client_clock_thread): Add note on when the socket gets
19158 2005-11-17 Wim Taymans <wim@fluendo.com>
19160 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19161 Free remote and local time arrays.
19163 2005-11-17 Wim Taymans <wim@fluendo.com>
19165 * gst/net/gstnetclientclock.c: (do_linear_regression),
19166 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19167 Fix compilation, uninitialized vars and a forgotten continue.
19169 2005-11-17 Andy Wingo <wingo@pobox.com>
19171 * check/Makefile.am (check_PROGRAMS):
19172 * check/net/gstnetclientclock.c: Add a most minimal test for the
19173 net client clock. More to come later.
19175 * gst/net/gstnet.h:
19176 * gst/net/Makefile.am: Add netclientclock.
19178 * gst/net/gstnetclientclock.h:
19179 * gst/net/gstnetclientclock.c: New files, implement an untested
19180 GstClock that takes its time from a network time provider.
19181 Implements the algorithm in network-clock.scm.
19183 * tests/network-clock.scm (*window-size*): Rename from
19185 * tests/network-clock.scm (network-time):
19186 * tests/network-clock-utils.scm (q-push): Update callers.
19188 2005-11-17 Wim Taymans <wim@fluendo.com>
19190 * gst/gstbin.c: (gst_bin_provide_clock_func),
19191 (gst_bin_sort_iterator_new):
19192 And unref the child too..
19194 2005-11-17 Wim Taymans <wim@fluendo.com>
19196 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19197 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19198 Refactor the sort iterator so it can be used while holding the
19200 Make clock selection select a clock closest to the source.
19202 2005-11-17 Michael Smith <msmith@fluendo.com>
19204 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19205 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19207 Anonymous structs are a gcc (and some other compilers) extension, so
19208 don't use them. Since this is only for ABI-compatibility, and our
19209 API/ABI freeze is over in a few days, this whole thing will only
19210 last a few days, so don't bother trying to think up a meaningful
19211 name for the struct.
19213 2005-11-17 Andy Wingo <wingo@pobox.com>
19215 * gst/gstclock.h (GstClock): Add rate and offset properties,
19216 preserving ABI stability. Add rate/offset accessors. Will file bug
19217 for the freeze break.
19219 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19220 and offset, trying to keep precision and avoiding
19221 underflow/overflow.
19222 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19223 functions. Make gst_clock_set_time_adjust obsolete.
19224 (gst_clock_set_time_adjust): Note that this function is obsolete.
19225 Will file bug soon.
19227 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19228 greppable by using GST_PADDING-1+1.
19230 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19232 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19234 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19235 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19237 * gst/gstpadtemplate.h:
19238 * gst/gstpluginfeature.h:
19239 Don't use c++ style comments in headers (#321638).
19241 2005-11-16 Andy Wingo <wingo@pobox.com>
19243 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19246 * check/net/gstnettimeprovider.c: Check to see that the time
19247 provider actually provides times. Works, yo!
19249 2005-11-16 Wim Taymans <wim@fluendo.com>
19251 * check/Makefile.am:
19254 * check/elements/fakesrc.c: (GST_START_TEST):
19255 Set element to NULL before disposing it.
19257 2005-11-16 Andy Wingo <wingo@pobox.com>
19259 * gst/net/Makefile.am:
19260 * gst/net/gstnet.h:
19261 * gst/net/gstnettimeprovider.c:
19262 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19263 provider, include it from gstnet.h, and add it to the build.
19265 * gst/net/gstnettimepacket.h:
19266 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19267 sending and receiving.
19269 2005-11-16 Wim Taymans <wim@fluendo.com>
19271 * check/Makefile.am:
19272 Enable valgrind check.
19274 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19275 (gst_fake_src_alloc_buffer):
19278 2005-11-16 Wim Taymans <wim@fluendo.com>
19280 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19281 Call parent finalize too.
19283 2005-11-16 Wim Taymans <wim@fluendo.com>
19285 * check/Makefile.am:
19286 Enable valgrind check that should work fine now.
19288 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19289 * gst/gstqueue.c: (gst_queue_init):
19290 Fix memleaks in pad allocation.
19292 2005-11-16 Andy Wingo <wingo@pobox.com>
19294 * gst/net/Makefile.am:
19295 * gst/net/gstnet.h: New part of core to hold network elements and
19296 objects. Put in core because it exposes API that applications want
19297 to use. The library is named libgstnet-tempname right now because
19298 of the existing libgstnet in gst-plugins-base. Solution is
19299 probably to rename the one in plugins-base; will file a bug for
19302 * gst/net/gstnettimeprovider.c:
19303 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19304 get_time call over the network.
19307 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19309 * check/Makefile.am:
19310 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19311 get additions shortly.
19313 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19315 * gst/gstpad.c: (gst_pad_new_from_static_template):
19317 add gst_pad_new_from_static_template functions
19318 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19319 (gst_check_setup_sink_pad):
19320 * gst/elements/gsttee.c: (gst_tee_init):
19323 2005-11-16 Wim Taymans <wim@fluendo.com>
19325 * gst/gstpad.c: (gst_pad_pause_task):
19326 Removed warning, it's not really an error either.
19328 2005-11-16 Wim Taymans <wim@fluendo.com>
19330 * gst/base/gstbasetransform.c:
19331 (gst_base_transform_prepare_output_buf),
19332 (gst_base_transform_event):
19333 Check if the caps are NULL, this can happen if the element
19334 is shutting down and the pad caps are set to NULL.
19336 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19338 * gst/elements/gsttee.c: (gst_tee_init):
19339 fix pad template leak in tee
19341 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19343 * gst/glib-compat.c: (g_value_dup_gst_object):
19344 * gst/glib-compat.h:
19345 * gst/gstpad.c: (gst_pad_set_property):
19346 use gst_object_ref when setting the pad template; this will
19347 trigger the pad template leaks on GLib 2.6 and the slaves
19349 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19351 * gst/glib-compat.c: (gst_flags_get_first_value):
19352 * gst/glib-compat.h:
19353 * gst/gstregistryxml.c:
19354 remove functions copied from GLib 2.6
19356 2005-11-16 Michael Smith <msmith@fluendo.com>
19359 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19360 do, but only breaks with newer valgrind versions. We're not a
19361 valgrind tool, we have no link-time dependencies on libcoregrind.
19363 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19365 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19367 * gst/gstmessage.h:
19370 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19372 * gst/base/gstbasesrc.c: (gst_base_src_init):
19373 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19374 * gst/gstqueue.c: (gst_queue_init):
19375 * gst/gstregistryxml.c: (load_feature):
19376 Revert all these unrefs, they don't even pass make check !
19378 2005-11-15 Johan Dahlin <johan@gnome.org>
19380 * gst/base/gstbasesrc.c: (gst_base_src_init):
19381 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19382 * gst/gstqueue.c: (gst_queue_init):
19383 Free pad templates, fixes a couple of leaks.
19385 2005-11-15 Daniel Fischer <dan at f3c dot com>
19387 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19389 * gst/gstpad.c: (gst_pad_get_property):
19390 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19391 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19394 2005-11-15 Wim Taymans <wim@fluendo.com>
19399 2005-11-15 Andy Wingo <wingo@pobox.com>
19401 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19403 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19404 using GST_CLOCK_TIME_NONE to disable base time management.
19405 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19406 time if it was NONE before.
19407 (gst_pipeline_change_state): Only munge the base time if
19408 stream_time != GST_CLOCK_TIME_NONE.
19410 * check/gst/gstpipeline.c (test_base_time): Punt around the
19411 problem of the probe not being called, because that's not the
19412 issue I'm looking at. Add a check that setting stream_time to NONE
19413 disables base time management.
19415 2005-11-15 Wim Taymans <wim@fluendo.com>
19417 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19418 segment_stop == -1 at startup.
19420 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19421 (gst_base_transform_change_state):
19422 Init segment values at start.
19424 2005-11-15 Wim Taymans <wim@fluendo.com>
19426 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19427 0 segment values are 0 in any format.
19429 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19430 * gst/base/gstbasetransform.h:
19431 Parse newsegment correctly in basetransform
19433 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19434 Sync to clock using updated segment values.
19436 2005-11-15 Andy Wingo <wingo@pobox.com>
19438 * check/gst/gstpipeline.c (test_base_time): Add check that the
19439 base time and stream time are reset correctly.
19441 2005-11-15 Wim Taymans <wim@fluendo.com>
19443 * docs/design/part-TODO.txt:
19444 Some more TODO items.
19446 2005-11-15 Andy Wingo <wingo@pobox.com>
19448 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19449 error if the user selected "no clock" as the clocking method.
19451 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19452 timestamps with live capture.
19454 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19455 is 0 but we are a live source, timestamp the buffers using the
19458 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19460 * docs/gst/gstreamer-sections.txt:
19462 * gst/gstghostpad.c:
19467 2005-11-14 Wim Taymans <wim@fluendo.com>
19470 add suppressions from Wim's Debian machine
19472 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19475 add suppressions from Andy's AMD64 Ubuntu machine
19477 2005-11-14 Andy Wingo <wingo@pobox.com>
19479 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19480 STATE_LOCK not necessary. Fixes #311489.
19482 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19485 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19486 this function is not implemented.
19488 2005-11-14 Julien MOUTTE <julien@moutte.net>
19490 * gst/base/gstbasetransform.c:
19491 (gst_base_transform_prepare_output_buf):
19492 Ref the source pad caps while we need them.
19495 2005-11-11 Wim Taymans <wim@fluendo.com>
19497 * docs/gst/gstreamer-sections.txt:
19498 Added some docs for GstCollectData.
19500 * gst/base/gstadapter.c:
19501 Some small code example fix.
19503 * gst/base/gstcollectpads.c:
19504 * gst/base/gstcollectpads.h:
19505 Document some more.
19507 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19509 * configure.ac: back to HEAD
19511 === release 0.9.5 ===
19513 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19516 releasing 0.9.5, "Bike Lunch Day"
19518 2005-11-11 Wim Taymans <wim@fluendo.com>
19520 * gst/gstbuffer.c: (_gst_buffer_copy):
19523 * gst/gstcaps.c: (gst_caps_is_equal):
19525 Make _is_equal fast in the trivial cases.
19527 * gst/gstminiobject.c:
19528 * gst/gstminiobject.h:
19529 More docs. Spifify .h file.
19534 2005-11-11 Wim Taymans <wim@fluendo.com>
19536 * gst/base/gstbasetransform.c:
19537 (gst_base_transform_prepare_output_buf),
19538 (gst_base_transform_handle_buffer):
19540 If we're processing a buffer and need to allocate an output
19541 buffer, we cannot accept a format change. If we did get a
19542 format change, we have to alloc a buffer ourselves of the
19545 2005-11-11 Wim Taymans <wim@fluendo.com>
19547 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19548 While checking the flag for reentrancy in the gstcaps function
19549 is nice to detect recursive invocations, it also makes it
19550 impossible to call getcaps from multiple threads, which must be
19551 possible. So, checking for recursive calls has to go.
19553 2005-11-11 Michael Smith <msmith@fluendo.com>
19555 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19556 Don't sync on buffers that fall partially outside our current
19557 segment. Prevents an assertion failure/abort playing some files.
19559 2005-11-10 Andy Wingo <wingo@pobox.com>
19561 * check/gst/gstbin.c (test_message_state_changed_children): Style
19564 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19565 gst_bus_poll with the signal watch. Ensures that poll and a signal
19566 watch see the same messages.
19568 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19569 a poll and a watch at the same time get the same messages.
19571 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19573 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19574 * gst/gstcaps.c: (gst_caps_intersect):
19575 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19576 and it's not needed.
19578 2005-11-10 Wim Taymans <wim@fluendo.com>
19580 * docs/design/part-TODO.txt:
19583 2005-11-10 Wim Taymans <wim@fluendo.com>
19585 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19586 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19587 (gst_base_src_do_sync), (gst_base_src_get_range):
19588 Implement clock sync in base class.
19590 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19592 patch by: Tim-Philipp Müller <tim at centricular dot net>
19594 * gst/gststructure.c: (gst_structure_parse_field),
19595 (gst_structure_from_string):
19596 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19597 so that gst_parse_launch() can deal with spaces in filtered link
19598 caps (fixes #164479)
19599 * check/gst/capslist.h:
19600 * check/gst/gststructure.c: (GST_START_TEST):
19601 add unit tests for this change
19603 2005-11-10 Wim Taymans <wim@fluendo.com>
19605 * docs/gst/gstreamer-sections.txt:
19606 * gst/gstelement.c:
19607 * gst/gstelement.h:
19608 Fix docs, move some STATE macros to private.
19610 2005-11-10 Wim Taymans <wim@fluendo.com>
19612 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19613 Added check for bug #317341
19617 Some more spiffifying.
19619 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19620 Call peer linkfunction if we are a source pad. Totally fixes
19624 Update docs, source pads should call the peer linkfunction
19625 so they can atomically perform the pad link.
19627 2005-11-09 Wim Taymans <wim@fluendo.com>
19631 Uber-spiffy-spiffify some more.
19633 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19635 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19636 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19637 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19638 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19639 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19640 * gst/gstpad.c: (gst_pad_init):
19641 Use GST_DEBUG_FUNCPTR() more extensively.
19643 2005-11-09 Wim Taymans <wim@fluendo.com>
19645 * gst/gstobject.c: (gst_object_class_init):
19647 Documentation fixes.
19649 2005-11-09 Edward Hervey <edward@fluendo.com>
19651 * gst/gsttypefindfactory.c:
19654 2005-11-09 Edward Hervey <edward@fluendo.com>
19656 * gst/base/gsttypefindhelper.c:
19657 * gst/gsttypefind.c:
19658 * gst/gsttypefind.h:
19661 2005-11-09 Wim Taymans <wim@fluendo.com>
19663 * gst/gstiterator.c:
19670 2005-11-09 Wim Taymans <wim@fluendo.com>
19676 2005-11-09 Wim Taymans <wim@fluendo.com>
19678 * docs/gst/gstreamer-sections.txt:
19679 Moved the message async delivery private lock and cond
19680 to the private section.
19682 * gst/gstmessage.c:
19683 * gst/gstmessage.h:
19686 2005-11-09 Edward Hervey <edward@fluendo.com>
19688 * docs/gst/gstreamer-sections.txt:
19691 Document GstURIHandler
19693 2005-11-09 Wim Taymans <wim@fluendo.com>
19695 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19696 (gst_iterator_find_custom):
19697 * gst/gstiterator.h:
19700 2005-11-09 Wim Taymans <wim@fluendo.com>
19703 Document another field.
19705 * gst/gststructure.c:
19706 * gst/gststructure.h:
19709 2005-11-09 Wim Taymans <wim@fluendo.com>
19712 Documented structs.
19714 2005-11-09 Wim Taymans <wim@fluendo.com>
19716 * docs/gst/gstreamer-sections.txt:
19717 Added some new macros.
19724 2005-11-09 Wim Taymans <wim@fluendo.com>
19726 * docs/design/part-TODO.txt:
19727 Some more items for the TODO
19733 2005-11-09 Andy Wingo <wingo@pobox.com>
19735 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19736 to work on something else now tho...
19738 * gst/base/gstadapter.c: More adapter docs.
19740 * gst/elements/gstfilesink.c (gst_file_sink_start)
19741 (gst_file_sink_stop): New functions, replace the state change
19743 (gst_file_sink_class_init): Hook up the start and stop functions.
19744 (gst_file_sink_base_init): Don't set the state change handler any
19745 more. It was a bit ugly too, being set from here...
19746 (gst_file_sink_get_property, gst_file_sink_set_property):
19748 (gst_file_sink_set_location): More robust check that doesn't call
19749 GST_STATE. Ugggggg.
19751 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19753 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19754 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19756 2005-11-08 Wim Taymans <wim@fluendo.com>
19758 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19759 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19760 (gst_base_sink_chain), (gst_base_sink_change_state):
19761 * gst/base/gstbasesink.h:
19762 * gst/base/gstbasesrc.h:
19763 * gst/gstelement.h:
19765 Avoid excessive typechecking in macros.
19767 * gst/gstminiobject.c: (gst_mini_object_get_type),
19768 (gst_mini_object_init), (gst_mini_object_new),
19769 (gst_mini_object_free):
19770 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19771 (gst_object_finalize):
19772 Remove cruft code, optimize alloc_trace.
19774 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19776 * docs/faq/gst-uninstalled:
19777 fix up PS1 for systems that try to reset it
19779 2005-11-07 Wim Taymans <wim@fluendo.com>
19781 * gst/base/gstbasesrc.c: (gst_base_src_init),
19782 (gst_base_src_get_range):
19783 Set the segment_end to -1 initially. Fixed typefind.
19785 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19787 * gst/base/gstadapter.c:
19788 Debug category should be 'adapter', not 'GstAdapter'.
19790 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19791 (gst_collectpads_class_init), (gst_collectpads_init),
19792 (gst_collectpads_peek), (gst_collectpads_pop),
19793 (gst_collectpads_event), (gst_collectpads_chain):
19794 Add debug category and some debugging output. Use boilerplate
19795 macros. Remove some extraneous words from docs.
19797 2005-11-05 Andy Wingo <wingo@pobox.com>
19799 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19802 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19804 * docs/gst/gstreamer-sections.txt:
19807 * gst/gstminiobject.h:
19812 2005-11-04 Wim Taymans <wim@fluendo.com>
19814 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19815 Small update to stop at the configured segment_end
19818 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19820 * gst/gstregistry.c:
19821 * gst/gstregistry.h:
19824 2005-11-04 Edward Hervey <edward@fluendo.com>
19826 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19827 Check if we are doing a segment seek and have arrived at the
19828 end of that segment.
19830 2005-11-04 Wim Taymans <wim@fluendo.com>
19832 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19833 Don't leak a mutex unlock in case of an error.
19838 2005-11-04 Wim Taymans <wim@fluendo.com>
19840 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19842 Get the context to wake up only once.
19844 2005-11-03 Wim Taymans <wim@fluendo.com>
19846 * check/states/sinks.c: (GST_START_TEST):
19847 Uncomment fixed check.
19849 * docs/design/part-TODO.txt:
19852 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19853 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19854 (gst_base_sink_get_position):
19855 If we are going to PLAYING, post the right pending state
19856 when we post the intermediate paused message.
19858 * gst/gstelement.c: (gst_element_continue_state),
19859 (gst_element_set_state_func), (gst_element_change_state):
19860 Don't post state changes that were between the same state
19861 and were not ASYNC.
19863 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19865 * docs/gst/gstreamer-sections.txt:
19868 * gst/gstminiobject.h:
19871 more docs and doc style fixes
19873 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19875 * docs/gst/gstreamer-sections.txt:
19876 * gst/gstelement.c:
19877 * gst/gstminiobject.c:
19880 2005-11-03 Andy Wingo <wingo@pobox.com>
19882 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19883 state-changed messages actually have the right order and the right
19886 2005-11-03 Wim Taymans <wim@fluendo.com>
19888 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19889 Added some more checks. Specifically the case where NO_PREROLL
19890 elements are in the pipeline.
19892 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19893 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19894 (gst_base_sink_get_position):
19895 Post READY->PAUSED state change messages too.
19896 Fix bug where VOID was posted as pending state...
19898 * gst/gstbin.c: (gst_bin_recalc_state):
19899 use _element_continue_state() to continue the state change.
19901 * gst/gstelement.c: (gst_element_continue_state),
19902 (gst_element_commit_state), (gst_element_set_state_func),
19903 (gst_element_change_state), (gst_element_change_state_func):
19904 Lots of state change cleanups, assign the STATE_RETURN in
19905 a new continue_state() function that also propagates the
19906 last return value from a state change to the app.
19907 Update some debug statements with proper category.
19909 2005-11-03 Wim Taymans <wim@fluendo.com>
19911 * docs/design/part-events.txt:
19912 * docs/design/part-gstpipeline.txt:
19913 * docs/design/part-messages.txt:
19914 * docs/design/part-overview.txt:
19915 * docs/design/part-seeking.txt:
19916 * docs/design/part-states.txt:
19917 * docs/design/part-trickmodes.txt:
19918 * docs/manual/advanced-position.xml:
19919 Small docs updates.
19922 People think !! is ugly, this looks better.
19924 * gst/gstpad.c: (gst_pad_set_blocked_async):
19925 Remove !! since it's fixed elsewhere now.
19927 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19929 * gst/gstminiobject.h:
19931 Add !! to _FLAG_IS_SET macros to make the result boolean.
19933 2005-11-03 Edward Hervey <edward@fluendo.com>
19935 * gst/gstpad.c: (gst_pad_set_blocked_async):
19936 comparing a flag and a gboolean rarely returns coherent results...
19937 Added two characters (!!) to make that work correctly.
19939 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19941 * gst/gstbus.c: (gst_bus_class_init):
19944 * gst/gstqueue.c: (gst_queue_loop):
19945 Don't assume a miniobject that isn't a buffer is an
19946 event (it could be that there is a refcounting
19947 problem somewhere and the pointer is stale and
19948 refers to an already destroyed miniobject).
19950 2005-11-03 Julien MOUTTE <julien@moutte.net>
19952 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19954 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19956 * docs/manual/advanced-position.xml:
19957 Update seek example and explanations to current 0.9 API.
19959 * gst/elements/gsttypefindelement.c:
19960 (gst_type_find_element_activate):
19961 Remove FIXME comment now that the found caps
19964 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19966 * gst/gstregistryxml.c: (load_feature):
19967 Add another GST_STR_NULL instance
19969 2005-11-02 Edward Hervey <edward@fluendo.com>
19971 * gst/gstpad.c: (handle_pad_block):
19972 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19974 2005-11-02 Wim Taymans <wim@fluendo.com>
19979 * gst/gstelement.c: (gst_element_commit_state):
19980 Remove unused value.
19982 * gst/gstiterator.c:
19983 Mention that the returned element is reffed in the docs.
19985 2005-11-02 Wim Taymans <wim@fluendo.com>
19987 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19988 (gst_pad_push), (gst_pad_push_event):
19989 Unlock blocked pads when they are flushed.
19991 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19994 * docs/gst/gstreamer-sections.txt:
19997 * gst/gstregistry.c: (gst_registry_scan_path_level):
19998 fix for a nasty little missed situation where an installed plug-in
19999 which was in the cache did not get overridden by an uninstalled one
20000 which was earlier in the plugin path because the newly created plugin
20001 for the uninstalled one (not in the registry) didn't get its
20002 ->registered set to TRUE
20004 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20006 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20007 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20008 (gst_collectpads_is_active), (gst_collectpads_collect),
20009 (gst_collectpads_collect_range), (gst_collectpads_start),
20010 (gst_collectpads_stop), (gst_collectpads_peek),
20011 (gst_collectpads_pop), (gst_collectpads_available),
20012 (gst_collectpads_read), (gst_collectpads_flush):
20013 Guard public API with assertions.
20016 Fix docs for gst_pad_set_link_function().
20018 2005-11-02 Johan Dahlin <johan@gnome.org>
20020 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20021 Unref found_caps after we used it.
20023 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20025 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20026 Don't try to ref NULL.
20028 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20030 * win32/common/config.h.in:
20031 provide a GST_FUNCTION that just gives a string for now
20033 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20035 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20036 (gst_object_flags_get_type), (register_gst_bin_flags),
20037 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20038 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20039 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20040 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20041 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20042 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20043 (gst_clock_flags_get_type), (register_gst_state),
20044 (gst_state_get_type), (register_gst_state_change_return),
20045 (gst_state_change_return_get_type), (register_gst_state_change),
20046 (gst_state_change_get_type), (register_gst_element_flags),
20047 (gst_element_flags_get_type), (register_gst_core_error),
20048 (gst_core_error_get_type), (register_gst_library_error),
20049 (gst_library_error_get_type), (register_gst_resource_error),
20050 (gst_resource_error_get_type), (register_gst_stream_error),
20051 (gst_stream_error_get_type), (register_gst_event_type),
20052 (gst_event_type_get_type), (register_gst_seek_type),
20053 (gst_seek_type_get_type), (register_gst_seek_flags),
20054 (gst_seek_flags_get_type), (register_gst_format),
20055 (gst_format_get_type), (register_gst_index_certainty),
20056 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20057 (gst_index_entry_type_get_type),
20058 (register_gst_index_lookup_method),
20059 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20060 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20061 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20062 (gst_index_flags_get_type), (register_gst_debug_level),
20063 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20064 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20065 (gst_iterator_result_get_type), (register_gst_iterator_item),
20066 (gst_iterator_item_get_type), (register_gst_message_type),
20067 (gst_message_type_get_type), (register_gst_mini_object_flags),
20068 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20069 (gst_pad_link_return_get_type), (register_gst_flow_return),
20070 (gst_flow_return_get_type), (register_gst_activate_mode),
20071 (gst_activate_mode_get_type), (register_gst_pad_direction),
20072 (gst_pad_direction_get_type), (register_gst_pad_flags),
20073 (gst_pad_flags_get_type), (register_gst_pad_presence),
20074 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20075 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20076 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20077 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20078 (gst_plugin_flags_get_type), (register_gst_rank),
20079 (gst_rank_get_type), (register_gst_query_type),
20080 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20081 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20082 (gst_tag_flag_get_type), (register_gst_task_state),
20083 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20084 (gst_alloc_trace_flags_get_type),
20085 (register_gst_type_find_probability),
20086 (gst_type_find_probability_get_type), (register_gst_uri_type),
20087 (gst_uri_type_get_type), (register_gst_parse_error),
20088 (gst_parse_error_get_type):
20089 * win32/common/gstversion.h:
20090 update win32 copies
20092 2005-11-01 Luca Ognibene <luogni@tin.it>
20095 fix docs. popt is dead, long live GOption.
20097 2005-10-31 Wim Taymans <wim@fluendo.com>
20102 2005-10-31 Andy Wingo <wingo@pobox.com>
20106 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20108 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20109 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20110 the possibility of deadlocks here if code calling notify() or
20111 set() has a lock that can be taken in another notify handler (ABBA
20112 with class lock and e.g. python GIL state lock).
20114 2005-10-28 Julien MOUTTE <julien@moutte.net>
20116 * gst/gstbus.c: Doc updates.
20118 2005-10-28 Wim Taymans <wim@fluendo.com>
20120 * docs/design/part-TODO.txt:
20121 * gst/gstiterator.c:
20122 * gst/gstsystemclock.c:
20123 * gst/gstsystemclock.h:
20126 2005-10-28 Edward Hervey <edward@fluendo.com>
20128 * docs/gst/gstreamer-docs.sgml:
20129 * docs/gst/gstreamer-sections.txt:
20130 the GstURIType documentation page is private, it only defines GstURIType
20131 which should be defined in the GstURIHandler page
20133 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20135 * gst/gstbin.c: (gst_bin_class_init):
20138 Documentation updates.
20140 2005-10-28 Wim Taymans <wim@fluendo.com>
20142 * docs/gst/gstreamer-sections.txt:
20145 Documented the clocks.
20147 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20149 * docs/gst/gstreamer-sections.txt:
20150 move some macros to private sections
20151 * gst/gstminiobject.c:
20152 * gst/gstminiobject.h:
20153 add descriptions provided by ds and some more
20155 mark macro as to be removed
20157 2005-10-28 Wim Taymans <wim@fluendo.com>
20159 * docs/design/part-TODO.txt:
20160 Add an item to TODO.
20162 * gst/gstiterator.c: (gst_iterator_fold),
20163 (gst_iterator_find_custom):
20164 * gst/gstiterator.h:
20167 2005-10-28 Wim Taymans <wim@fluendo.com>
20169 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20170 (gst_base_transform_init):
20173 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20174 An EOS event marks the queue as completely filled.
20176 2005-10-27 Wim Taymans <wim@fluendo.com>
20178 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20179 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20180 Some more debugging.
20182 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20183 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20184 (gst_base_transform_event), (gst_base_transform_getrange),
20185 (gst_base_transform_chain):
20186 * gst/base/gstbasetransform.h:
20188 Protect transform and concurrent buffer alloc with a new lock.
20189 Try not to break ABI/API.
20191 2005-10-27 Wim Taymans <wim@fluendo.com>
20193 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20194 (gst_base_src_init), (gst_base_src_query),
20195 (gst_base_src_default_newsegment),
20196 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20197 (gst_base_src_send_event), (gst_base_src_event_handler),
20198 (gst_base_src_pad_get_range), (gst_base_src_loop),
20199 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20200 (gst_base_src_start), (gst_base_src_deactivate),
20201 (gst_base_src_activate_push), (gst_base_src_change_state):
20202 Move some stuff around and cleanup things.
20204 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20206 * gst/base/gstbasesrc.c: (gst_base_src_query):
20207 Add missing break statements.
20209 2005-10-27 Wim Taymans <wim@fluendo.com>
20211 * check/gst/gstbin.c: (GST_START_TEST):
20212 An extra refcount is taken in basesrc.
20214 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20215 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20216 (gst_base_src_loop):
20217 Small cleanups, check for flushing after being unlocked from the
20218 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20219 Don't send out EOS when going to READY.
20221 2005-10-27 Wim Taymans <wim@fluendo.com>
20223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20224 (gst_base_sink_get_position):
20227 * gst/gstbin.c: (message_check), (bin_replace_message),
20228 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20229 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20230 (bin_query_duration_init), (bin_query_duration_fold),
20231 (bin_query_duration_done), (bin_query_generic_fold),
20233 * tools/gst-launch.c: (main):
20236 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20238 * examples/controller/audio-example.c: (main):
20239 * examples/queue/queue.c: (event_loop):
20240 * gst/base/gstbasetransform.h:
20241 * gst/gstelement.c: (gst_element_send_event):
20243 * gst/gstpad.c: (gst_pad_send_event):
20246 changing log priority in error situations
20248 2005-10-25 Wim Taymans <wim@fluendo.com>
20250 * gst/gstbin.c: (message_check), (bin_replace_message),
20251 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20252 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20253 (bin_query_duration_init), (bin_query_duration_fold),
20254 (bin_query_duration_done), (bin_query_generic_fold),
20256 Some doc and debug updates.
20257 Cache previously requested query DURATION for speed. invalidate
20258 cached duration if element posts a DURATION message.
20260 2005-10-25 Wim Taymans <wim@fluendo.com>
20262 * docs/design/part-TODO.txt:
20265 * gst/gstbin.c: (message_check), (bin_replace_message),
20266 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20267 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20268 (bin_query_duration_init), (bin_query_duration_fold),
20269 (bin_query_duration_done), (bin_query_generic_fold),
20271 Handle SEGMENT_START/DONE messages correctly.
20272 More evolved query algorithm that handles duration queries
20275 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20276 (gst_element_get_state_func), (gst_element_abort_state),
20277 (gst_element_commit_state), (gst_element_lost_state):
20278 Some more debugging.
20280 * gst/gstmessage.h:
20283 2005-10-25 Wim Taymans <wim@fluendo.com>
20285 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20286 Don't use invalid stream_time.
20288 * gst/gstevent.c: (gst_event_new_newsegment):
20289 stream_time in newsegment cannot be undefined.
20291 2005-10-24 Wim Taymans <wim@fluendo.com>
20296 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20298 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20300 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20302 * docs/libs/tmpl/gstdparam.sgml:
20303 * docs/libs/tmpl/gstdplinint.sgml:
20304 * docs/libs/tmpl/gstdpman.sgml:
20305 * docs/libs/tmpl/gstdpsmooth.sgml:
20306 * docs/libs/tmpl/gstunitconvert.sgml:
20309 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20314 === release 0.9.4 ===
20316 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20319 releasing 0.9.4, "Tyrannosaurus Rex"
20321 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20323 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20324 (gst_file_sink_get_current_offset):
20325 Use fseeko() and ftello() if available. When falling back on
20326 lseek() to get the current offset, fflush() first to make sure
20327 everything is up-to-date and we get the right offset.
20329 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20331 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20332 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20333 * gst/gsterror.c: (_gst_stream_errors_init):
20335 * gst/gstqueue.c: (gst_queue_loop):
20337 remove prematurely added error category and clean up the instances
20339 2005-10-21 Wim Taymans <wim@fluendo.com>
20341 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20342 (gst_base_sink_get_position), (gst_base_sink_query),
20343 (gst_base_sink_change_state):
20344 Simply set the right flag when going to playing, that's all
20345 we need to do instead of calling a function inside the object
20346 lock (that could take the lock as well and deadlock)
20348 2005-10-21 Wim Taymans <wim@fluendo.com>
20350 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20351 (gst_base_src_loop):
20352 Don't warn, the peer element knows what to do best when
20353 the seek failed, it might try something else.
20355 2005-10-21 Wim Taymans <wim@fluendo.com>
20357 * gst/base/gstbasesrc.c: (gst_base_src_init),
20358 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20361 2005-10-21 Wim Taymans <wim@fluendo.com>
20363 * docs/design/part-segments.txt:
20366 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20367 Correctly set caps, even on the subbufer.
20369 2005-10-21 Wim Taymans <wim@fluendo.com>
20371 * docs/gst/gstreamer-docs.sgml:
20372 * docs/gst/gstreamer-sections.txt:
20373 * gst/gstelement.h:
20376 * gst/gstmessage.h:
20379 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20383 And 2% more doc coverage.
20385 2005-10-21 Andy Wingo <wingo@pobox.com>
20387 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20388 position reporting.
20390 2005-10-20 Wim Taymans <wim@fluendo.com>
20392 * gst/gsterror.c: (gst_error_get_message):
20395 * gst/gststructure.c:
20400 2005-10-20 Wim Taymans <wim@fluendo.com>
20405 Another 1% more coverage.
20407 2005-10-20 Wim Taymans <wim@fluendo.com>
20409 * docs/gst/gstreamer-sections.txt:
20410 * gst/gstelement.c: (gst_element_get_state_func),
20411 (gst_element_abort_state), (gst_element_commit_state),
20412 (gst_element_lost_state):
20414 * gst/gstquery.c: (gst_query_set_position),
20415 (gst_query_parse_position), (gst_query_set_duration),
20416 (gst_query_parse_duration), (gst_query_new_convert):
20418 Yay! 1% more docs coverage.
20420 2005-10-20 Wim Taymans <wim@fluendo.com>
20423 * gst/gstquery.c: (gst_query_set_position),
20424 (gst_query_parse_position), (gst_query_set_duration),
20425 (gst_query_parse_duration), (gst_query_new_convert):
20427 * gst/gstutils.c: (gst_element_query_convert):
20429 Docs and consistency fixes.
20431 2005-10-20 Wim Taymans <wim@fluendo.com>
20437 2005-10-20 Wim Taymans <wim@fluendo.com>
20439 * gst/gstbin.c: (message_check), (bin_replace_message),
20440 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20441 (update_degree), (gst_bin_sort_iterator_next),
20442 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20443 Reworked the message handling a bit, cache the messages instead of
20444 only the senders. alows us to do more in the future.
20446 2005-10-20 Wim Taymans <wim@fluendo.com>
20448 * docs/design/part-TODO.txt:
20451 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20452 (gst_base_sink_query):
20453 Don't use clock time to report position when in EOS.
20455 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20457 * tools/gst-inspect.c: (print_interfaces),
20458 (print_element_properties_info), (print_element_info):
20459 Fix interface output with gst-inspect -a; don't print
20460 newlines after double/float properties.
20462 2005-10-20 Wim Taymans <wim@fluendo.com>
20464 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20465 (gst_base_sink_query):
20466 Speed up current position calculation.
20468 * gst/base/gstbasesrc.c: (gst_base_src_query),
20469 (gst_base_src_default_newsegment):
20470 Correctly set stream position in newsegment.
20472 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20473 (update_degree), (gst_bin_sort_iterator_next),
20474 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20475 * gst/gstmessage.c: (gst_message_new_custom):
20476 Clean up debugging info
20478 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20479 (gst_queue_loop), (gst_queue_handle_src_query):
20482 2005-10-19 Wim Taymans <wim@fluendo.com>
20484 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20485 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20486 Fix query handling again.
20488 2005-10-19 Wim Taymans <wim@fluendo.com>
20490 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20491 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20492 * gst/base/gstbasesrc.c: (gst_base_src_query):
20493 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20494 * gst/elements/gsttypefindelement.c:
20495 (gst_type_find_handle_src_query), (find_element_get_length),
20496 (gst_type_find_element_activate):
20499 * gst/gstquery.c: (gst_query_new_position),
20500 (gst_query_set_position), (gst_query_parse_position),
20501 (gst_query_new_duration), (gst_query_set_duration),
20502 (gst_query_parse_duration), (gst_query_set_segment),
20503 (gst_query_parse_segment):
20505 Bundling query position/duration is not a good idea since duration
20506 does not change much and we don't want to recalculate it for every
20507 position query, so they are separated again..
20508 Base value in segment query is not needed.
20510 * gst/gstqueue.c: (gst_queue_handle_src_query):
20511 * gst/gstutils.c: (gst_element_query_position),
20512 (gst_element_query_duration), (gst_pad_query_position),
20513 (gst_pad_query_duration):
20515 Updates for query API change.
20516 Added some docs here and there.
20518 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20520 * check/gst/gstbin.c: (GST_START_TEST):
20521 * check/gst/gstghostpad.c: (GST_START_TEST):
20522 * check/pipelines/cleanup.c: (GST_START_TEST):
20523 wait on thread to die so we can check refcount correctly
20525 2005-10-18 Wim Taymans <wim@fluendo.com>
20527 * check/pipelines/stress.c: (GST_START_TEST):
20528 Make check a little more time consuming.
20530 2005-10-18 Wim Taymans <wim@fluendo.com>
20532 * check/Makefile.am:
20533 * check/pipelines/stress.c: (GST_START_TEST),
20534 (simple_launch_lines_suite), (main):
20535 Small state change torture test.
20537 * docs/design/part-states.txt:
20538 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20539 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20540 (gst_base_sink_change_state):
20541 Never take state lock from streaming thread, clean up ugly
20542 hacks. Unfortunatly core does not yet support nice ways to
20543 async commit state.
20545 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20547 Start state recalc if a STATE_DIRTY message is posted, but only
20548 on the toplevel bin.
20550 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20551 (gst_element_get_state_func), (gst_element_abort_state),
20552 (gst_element_commit_state), (gst_element_lost_state),
20553 (gst_element_set_state_func), (gst_element_change_state):
20554 * gst/gstelement.h:
20555 State variables are now protected with the LOCK, the state
20556 lock is only used to serialize _set_state().
20558 2005-10-18 Wim Taymans <wim@fluendo.com>
20560 * check/gst/gstbin.c: (GST_START_TEST):
20561 * check/gst/gstmessage.c: (GST_START_TEST):
20562 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20563 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20565 * gst/gstelement.c: (gst_element_abort_state),
20566 (gst_element_commit_state), (gst_element_lost_state):
20567 * gst/gstmessage.c: (gst_message_new_state_changed),
20568 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20569 (gst_message_new_segment_done), (gst_message_new_duration),
20570 (gst_message_parse_state_changed),
20571 (gst_message_parse_segment_start),
20572 (gst_message_parse_segment_done), (gst_message_parse_duration):
20573 * gst/gstmessage.h:
20574 * tools/gst-launch.c: (event_loop):
20575 Seriously, this is better than a previous commit as we only need
20576 to notify the fact that an element changed state in a streaming
20577 thread, marking the state of the parents dirty, hence the
20578 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20581 2005-10-18 Wim Taymans <wim@fluendo.com>
20583 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20584 (gst_bin_recalc_func):
20585 * gst/gstelement.c: (gst_element_set_clock),
20586 (gst_element_abort_state), (gst_element_lost_state):
20587 Cleanups, prepare for state change fixes.
20589 2005-10-18 Wim Taymans <wim@fluendo.com>
20592 * gst/gstelement.c: (gst_element_class_init),
20593 (gst_element_set_state), (gst_element_set_state_func):
20594 * gst/gstelement.h:
20595 Pending ABI changes.
20596 GThreadPool in GstBinClass to monitor async state changes.
20597 state_cookie in GstElement to detect concurrent gst/set state.
20598 set_state is now virtual too in case a very complicated element
20599 has to be constructed.
20601 2005-10-18 Wim Taymans <wim@fluendo.com>
20603 * check/gst/gstbin.c: (GST_START_TEST):
20604 * check/gst/gstmessage.c: (GST_START_TEST):
20605 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20606 * gst/gstbin.c: (bin_bus_handler):
20607 * gst/gstelement.c: (gst_element_commit_state),
20608 (gst_element_lost_state):
20609 * gst/gstmessage.c: (gst_message_new_state_changed),
20610 (gst_message_new_segment_start), (gst_message_new_segment_done),
20611 (gst_message_new_duration), (gst_message_parse_state_changed),
20612 (gst_message_parse_segment_start),
20613 (gst_message_parse_segment_done), (gst_message_parse_duration):
20614 * gst/gstmessage.h:
20615 * tools/gst-launch.c: (event_loop):
20616 Make messages future proof.
20617 state-change gets a flag if it was a message comming from the
20619 segment-start/stop can also be specified in other formats.
20620 A message to notify an app that a pipeline changed playback
20622 Also fix a GstMessage leak in -launch
20624 2005-10-18 Andy Wingo <wingo@pobox.com>
20626 * gst/gstelement.c (gst_element_dispose): More helpful message.
20628 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20630 reviewed by: <delete if not using a buddy>
20632 * common/gtk-doc.mak:
20634 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20636 * gst/gstregistry.c: (gst_registry_scan_path_level):
20637 unref a plug-in we get that was already initialized
20639 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20641 * docs/gst/gstreamer-sections.txt:
20642 * docs/libs/gstreamer-libs-sections.txt:
20643 * gst/gstelement.h:
20644 add new api entries
20645 hide internal macro
20647 2005-10-17 Andy Wingo <wingo@pobox.com>
20649 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20652 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20654 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20656 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20657 (gst_element_get_state_func): Better debug message.
20658 (gst_element_commit_state): s/INFO/DEBUG/.
20659 (gst_element_lost_state, gst_element_change_state):
20661 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20662 (gst_message_new_custom): s/INFO/LOG/.
20664 2005-10-17 Michael Smith <msmith@fluendo.com>
20666 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20667 Check if end time is valid using end time, not start time.
20669 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20671 * check/gst-libs/controller.c: (GST_START_TEST),
20672 (gst_controller_suite):
20673 * libs/gst/controller/gstcontroller.c:
20674 (gst_controlled_property_set_interpolation_mode):
20675 * libs/gst/controller/gstcontroller.h:
20676 * libs/gst/controller/gstinterpolation.c:
20677 * testsuite/controller/.cvsignore:
20678 * testsuite/controller/Makefile.am:
20679 * testsuite/controller/interpolator.c:
20680 merge controller testsuites
20682 remove mem-chunk from docs
20684 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20686 * gst/gstmemchunk.c:
20687 * gst/gstmemchunk.h:
20688 * gst/gsttrashstack.c:
20689 * gst/gsttrashstack.h:
20690 out. get out. you're fired. to the Attic !
20692 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20694 * gst/gstcaps.c: (gst_caps_intersect):
20695 fix signedness issues in a (hopefully) correct way
20696 * gst/gstelement.c: (gst_element_pads_activate):
20698 * gst/gstobject.c: (gst_object_set_parent):
20701 2005-10-17 Julien MOUTTE <julien@moutte.net>
20703 * gst/gstvalue.h: Fix prototypes.
20705 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20707 * docs/gst/gstreamer-sections.txt:
20708 * gst/gst.c: (gst_version_string):
20710 * gst/gstversion.h.in:
20711 * win32/common/libgstreamer.def:
20712 add gst_version_string ()
20714 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20718 * gst/gst.c: (init_post):
20719 * win32/common/config.h.in:
20721 * gst/gstcaps.c: (gst_caps_intersect):
20722 use gint64, the range could be bigger than a guint
20724 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20727 document potential problem in 2038
20729 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20731 * gst/gstcaps.c: (gst_caps_intersect):
20732 Fix guint j diving under 0
20734 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20737 * win32/common/config.h:
20738 * win32/common/config.h.in:
20739 check for process.h, declares getpid() on Windows
20741 include process.h if we have it
20742 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20743 * gst/gstmemchunk.h:
20744 fix signedness issues
20745 * win32/common/libgstreamer.def:
20748 2005-10-16 Julien MOUTTE <julien@moutte.net>
20750 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20751 fix. Because of unsigned ints, caps intersection was going nuts and
20752 trying to access structures with G_MAXUINT index. That fixes
20753 videotestsrc ! ffmpegcolorspace ! fakesink
20754 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20757 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20760 use the gettext macro
20761 * gst/elements/gstelements.c:
20763 * gst/indexers/gstindexers.c:
20764 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20765 * win32/common/config.h:
20767 * win32/common/config.h.in:
20768 add the template to generate config.h
20769 * win32/common/gstenumtypes.c:
20770 * win32/common/gstversion.h:
20773 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20775 * gst/gst.c: (gst_version):
20776 * gst/gstversion.h.in:
20779 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20782 Oops, add missing closing bracket.
20784 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20787 use common m4's for argument checking
20789 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20791 * docs/gst/gstreamer-sections.txt:
20793 Add GST_EVENT_TYPE_NAME() macro.
20795 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20798 * gst/gstpluginfeature.c:
20800 privatize more symbols
20802 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20805 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20806 everything that uses GStreamer API should have the includes
20808 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20810 * docs/gst/gstreamer-sections.txt:
20811 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20813 give each value a _get_type, removes the DATA exports
20815 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20819 remove _gst_registry_auto_load, not used anymore
20820 * gst/gstbin.c: (gst_bin_get_type):
20822 * gst/gstelement.c: (gst_element_get_type):
20823 * gst/gstelement.h:
20824 * gst/gstobject.c: (gst_object_get_type):
20826 * gst/gstpad.c: (gst_pad_get_type):
20828 make _get_type functions similar, fixes data export from library
20830 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20833 correctly make conditionals
20834 * gst/elements/Makefile.am:
20835 * gst/elements/gstelements.c:
20836 fix typo causing fdsrc not to build
20838 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20840 * testsuite/Makefile.am:
20841 * testsuite/bytestream/.cvsignore:
20842 * testsuite/bytestream/Makefile.am:
20843 * testsuite/bytestream/filepadsink.c:
20844 * testsuite/bytestream/gstbstest.c:
20845 * testsuite/bytestream/test1.c:
20846 * testsuite/bytestream/testfile1:
20847 * testsuite/caps/normalisation.c:
20848 * testsuite/caps/random.c: (main):
20849 * testsuite/cleanup/.cvsignore:
20850 * testsuite/cleanup/Makefile.am:
20851 * testsuite/cleanup/cleanup1.c:
20852 * testsuite/cleanup/cleanup2.c:
20853 * testsuite/cleanup/cleanup3.c:
20854 * testsuite/cleanup/cleanup4.c:
20855 * testsuite/cleanup/cleanup5.c:
20856 * testsuite/controller/interpolator.c:
20857 * testsuite/debug/printf_extension.c: (main):
20858 * testsuite/elements/tee.c:
20859 * testsuite/negotiation/.cvsignore:
20860 * testsuite/negotiation/Makefile.am:
20861 * testsuite/negotiation/pad_link.c:
20862 * testsuite/pad/Makefile.am:
20863 * testsuite/pad/chainnopull.c:
20864 * testsuite/pad/getnopush.c:
20865 * testsuite/pad/link.c:
20866 * testsuite/refcounting/sched.c: (create_pipeline):
20867 * testsuite/registry/Makefile.am:
20868 * testsuite/registry/gst-print-formats.c:
20869 * testsuite/schedulers/.cvsignore:
20870 * testsuite/schedulers/142183-2.c:
20871 * testsuite/schedulers/142183.c:
20872 * testsuite/schedulers/143777-2.c:
20873 * testsuite/schedulers/143777.c:
20874 * testsuite/schedulers/147713.c:
20875 * testsuite/schedulers/147819.c:
20876 * testsuite/schedulers/147894-2.c:
20877 * testsuite/schedulers/147894.c:
20878 * testsuite/schedulers/Makefile.am:
20879 * testsuite/schedulers/group_link.c:
20880 * testsuite/schedulers/queue_link.c:
20881 * testsuite/schedulers/relink.c:
20882 * testsuite/schedulers/unlink.c:
20883 * testsuite/schedulers/unref.c:
20884 * testsuite/schedulers/useless_iteration.c:
20885 * testsuite/states/bin.c:
20886 clean out/remove some stuff from the testsuite directories
20888 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20891 check for some headers
20892 * gst/elements/Makefile.am:
20893 * gst/elements/gstelements.c:
20894 don't compile fdsrc without sys/socket.h
20895 * gst/indexers/Makefile.am:
20896 * gst/indexers/gstindexers.c: (plugin_init):
20897 don't compile fileindex without mmap
20899 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20906 * check/Makefile.am:
20907 * docs/gst/Makefile.am:
20908 * examples/helloworld/Makefile.am:
20910 * gst/base/Makefile.am:
20911 * gst/check/Makefile.am:
20912 * gst/elements/Makefile.am:
20913 * gst/indexers/Makefile.am:
20914 * gst/parse/Makefile.am:
20915 * libs/gst/controller/Makefile.am:
20916 * libs/gst/dataprotocol/Makefile.am:
20917 * examples/helloworld/helloworld.c: (event_loop):
20918 compile fixes, though it's not being compiled currently
20920 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20922 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20923 Add some simple tests for the new taglist date API.
20925 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20927 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20928 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20929 Beautify 'last-message' output: print 'none' for buffer timestamps
20930 and durations if none is set; improve alignment with next messages.
20932 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20934 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20935 * gst/gstpluginfeature.h:
20936 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20937 * gst/gstregistry.h:
20938 * docs/gst/gstreamer-sections.txt:
20939 Add new API to check plugin feature version requirements.
20941 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20942 Some basic tests for the above.
20944 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20946 * gst/gststructure.c: (gst_structure_to_string):
20947 guard against NULL printf - happens when for example
20948 a message structure with GstClock gets serialized
20950 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20952 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20953 Fix presumable copy'n'pasto.
20955 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20957 * gst/elements/gstfakesrc.h:
20958 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20959 * gst/elements/gsttypefindelement.c:
20960 fix some signedness
20961 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20962 I wonder if this could actually write +2GB files before
20964 2005-10-13 Andy Wingo <wingo@pobox.com>
20966 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20967 Fix Timmeke Waymans bug.
20968 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20969 string of the proper length to gst_caps_from_string. There's a
20970 potential for, before this fix, that this could cause someone
20971 connecting over the network to cause a segfault if the payload is
20972 not NUL-terminated.
20974 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20976 * docs/design/draft-push-pull.txt:
20977 * docs/design/part-overview.txt:
20978 * docs/random/TODO-pre-0.9:
20979 * docs/random/old/ChangeLog.gstreamer:
20980 * gst/base/gstpushsrc.c:
20984 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20986 * gst/glib-compat.c: (gst_flags_get_first_value):
20987 * gst/glib-compat.h:
20988 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20989 (gst_value_compare_double), (gst_value_serialize_flags):
20990 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20993 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20996 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20998 * tools/gst-launch.c: (event_loop):
20999 print out clock nicely
21001 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21003 * docs/gst/gstreamer-sections.txt:
21004 * gst/gsttaglist.h:
21005 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21006 (gst_tag_list_get_date_index):
21007 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21008 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21010 2005-10-13 Julien MOUTTE <julien@moutte.net>
21012 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21013 (gst_collectpads_chain):
21014 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21017 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21019 * docs/gst/gstreamer-sections.txt:
21022 * tools/gst-inspect.c: (main):
21023 * tools/gst-launch.c: (main):
21024 * tools/gst-run.c: (main):
21025 * tools/gst-xmlinspect.c: (main):
21026 fix GOption context leaks
21029 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21033 * win32/common/config.h:
21035 * win32/vs6/grammar.dsp:
21036 * win32/vs6/libgstelements.dsp:
21037 * win32/vs6/libgstreamer.dsp:
21040 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21042 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21043 * gst/base/gstbasesrc.c: (gst_base_src_query):
21044 fix more guint64<->gdouble conversions
21046 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21049 add win32-update target
21050 * win32/common/gstconfig.h:
21051 * win32/common/gstenumtypes.c:
21052 * win32/common/gstenumtypes.h:
21053 * win32/common/gstversion.h:
21054 add files that visual studio can't generate
21056 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21059 add a win32-update target
21062 2005-10-12 Wim Taymans <wim@fluendo.com>
21064 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21065 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21066 * gst/gstelement.c: (gst_element_commit_state),
21067 (gst_element_set_state):
21068 Protect flags with proper lock.
21069 unref provided cached clock in dispose.
21071 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21074 * gst/gstminiobject.h:
21076 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21077 removed unused flags from miniobject
21080 2005-10-12 Wim Taymans <wim@fluendo.com>
21082 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21083 (gst_file_sink_event), (gst_file_sink_render):
21084 Flush before seeking.
21086 2005-10-12 Andy Wingo <wingo@pobox.com>
21088 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21089 always been the case.
21091 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21093 * check/gst/gstbin.c: (GST_START_TEST):
21094 * docs/gst/gstreamer-sections.txt:
21095 * gst/base/gstbasesink.c: (gst_base_sink_init):
21096 * gst/base/gstbasesrc.c: (gst_base_src_init),
21097 (gst_base_src_get_range), (gst_base_src_check_get_range),
21098 (gst_base_src_start), (gst_base_src_stop):
21099 * gst/base/gstbasesrc.h:
21100 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21101 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21102 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21106 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21108 * gst/gstelement.c: (gst_element_is_locked_state),
21109 (gst_element_set_locked_state), (gst_element_commit_state),
21110 (gst_element_set_state):
21111 * gst/gstelement.h:
21112 * gst/gstindex.c: (gst_index_init):
21114 * gst/gstminiobject.h:
21115 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21116 (gst_object_set_parent):
21118 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21119 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21121 * gst/gstpadtemplate.h:
21122 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21123 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21124 * gst/gstpipeline.h:
21125 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21126 (gst_file_index_commit):
21127 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21128 * testsuite/pad/link.c: (gst_test_src_init),
21129 (gst_test_filter_init), (gst_test_sink_init):
21130 * testsuite/states/locked.c: (main):
21131 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21132 moved bitshift from macro to enum definition
21134 2005-10-12 Wim Taymans <wim@fluendo.com>
21136 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21137 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21138 (gst_file_sink_render):
21139 Some more debugging info.
21141 2005-10-12 Wim Taymans <wim@fluendo.com>
21143 * docs/design/part-states.txt:
21144 * tools/gst-launch.c: (main):
21146 Revert non-intentional change.
21148 2005-10-12 Wim Taymans <wim@fluendo.com>
21150 * check/gst/gstbin.c: (GST_START_TEST):
21151 * check/gst/gstelement.c: (GST_START_TEST):
21152 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21153 * check/gst/gstghostpad.c: (GST_START_TEST):
21154 * check/gst/gstpipeline.c: (GST_START_TEST):
21155 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21156 * check/states/sinks.c: (GST_START_TEST):
21157 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21158 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21159 (gst_bin_remove_func), (gst_bin_get_state_func),
21160 (gst_bin_recalc_state), (gst_bin_change_state_func),
21162 * gst/gstelement.c: (gst_element_get_state_func),
21163 (gst_element_get_state), (gst_element_abort_state),
21164 (gst_element_commit_state), (gst_element_set_state),
21165 (gst_element_change_state), (gst_element_change_state_func):
21166 * gst/gstelement.h:
21167 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21168 (gst_pipeline_provide_clock_func):
21169 * gst/gstutils.c: (gst_element_link_pads_filtered):
21170 * tools/gst-launch.c: (main):
21171 * tools/gst-typefind.c: (main):
21172 Use GstClockTime in _get_state() instead of GTimeVal.
21173 Remove old code in gstutils.c
21175 2005-10-12 Andy Wingo <wingo@pobox.com>
21177 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21180 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21181 there is no task. Shouldn't affect any code, as nothing in our
21182 plugins checks this return value.
21183 (gst_pad_stop_task): Also take the stream lock if the pad has no
21184 task. Docs updated.
21186 2005-10-12 Wim Taymans <wim@fluendo.com>
21188 * gst/gstpad.c: (pre_activate), (post_activate),
21189 (gst_pad_activate_pull), (gst_pad_activate_push):
21190 Cleanup activation code. Reset old state if
21193 2005-10-12 Wim Taymans <wim@fluendo.com>
21195 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21196 (gst_base_sink_change_state):
21197 No need to prerol after receiving EOS.
21199 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21200 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21201 * gst/elements/gstidentity.c: (gst_identity_event):
21202 Print events more verbosely.
21204 2005-10-12 Wim Taymans <wim@fluendo.com>
21206 * check/Makefile.am:
21207 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21208 * check/states/sinks2.c:
21209 Moved sinks2 testcode in sinks check.
21211 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21212 (gst_bin_remove_func), (gst_bin_recalc_state),
21213 (gst_bin_change_state_func), (bin_bus_handler):
21214 Fix potential race condition when _get_state() iterated over an
21215 ASYNC element right before it posted a state completion.
21218 Do proper cast here.
21220 * gst/gstevent.c: (gst_event_new_newsegment),
21221 (gst_event_parse_newsegment):
21222 A playback rate of 0.0 is not allowed.
21224 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21226 * win32/common/config.h:
21227 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21228 (_trewinddir), (_ttelldir), (_tseekdir):
21229 * win32/common/dirent.h:
21230 * win32/common/gtchar.h:
21231 * win32/common/libgstbase.def:
21232 * win32/common/libgstreamer.def:
21233 * win32/vs6/grammar.dsp:
21234 * win32/vs6/gst_inspect.dsp:
21235 * win32/vs6/gst_launch.dsp:
21236 * win32/vs6/gstreamer.dsw:
21237 * win32/vs6/libgstbase.dsp:
21238 * win32/vs6/libgstelements.dsp:
21239 * win32/vs6/libgstreamer.dsp:
21240 Visual Studio 6 project files, and a new common directory.
21243 2005-10-11 Wim Taymans <wim@fluendo.com>
21245 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21246 (gst_base_sink_do_sync), (gst_base_sink_query),
21247 (gst_base_sink_change_state):
21248 * gst/base/gstbasesink.h:
21249 Correctly parse newsegment info.
21251 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21253 * gst/gst.c: (init_post):
21254 split plugin paths correctly
21256 2005-10-11 Wim Taymans <wim@fluendo.com>
21258 * check/gst/gstevent.c: (GST_START_TEST):
21259 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21260 (gst_base_sink_change_state):
21261 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21262 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21263 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21264 * gst/gstevent.c: (gst_event_new_newsegment),
21265 (gst_event_parse_newsegment):
21267 Added extra flag to newsegment for future API freeze.
21268 Updated check and base elements.
21270 2005-10-11 Julien MOUTTE <julien@moutte.net>
21272 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21273 (gst_collectpads_add_pad), (gst_collectpads_pop),
21274 (gst_collectpads_event), (gst_collectpads_chain):
21275 * gst/base/gstcollectpads.h: Handle EOS correctly.
21277 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21279 * tools/gst-launch.c: (main):
21280 more null protecting
21282 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21284 * gst/gst-i18n-lib.h:
21285 check for ENABLE_NLS, not GETTEXT_PACKAGE
21286 * gst/gstregistry.c: (gst_registry_add_plugin),
21287 (gst_registry_scan_path_level),
21288 (_gst_registry_remove_cache_plugins):
21289 protect possibly NULL strings
21290 * gst/parse/types.h:
21291 config.h already included before
21292 * tools/gst-inspect.c: (main):
21293 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21294 check for ENABLE_NLS, not GETTEXT_PACKAGE
21295 * tools/gst-launch.c: (main):
21296 check for ENABLE_NLS, not GETTEXT_PACKAGE
21298 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21301 if we don't have glib, fail before testing 2.8
21302 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21303 fix a leak, should fix plugins-base testsuite
21305 2005-10-11 Andy Wingo <wingo@pobox.com>
21307 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21308 take the mode we're going to as an arg. Go head and set the mode
21309 and flushing flags now, so that if the activate function starts a
21310 thread all the flags will be in the right state.
21311 (post_activate): Renamed also. Just handle making sure streaming
21312 finishes for the deactivation case, and setting the deactivated
21314 (gst_pad_set_active): Complain loudly if deactivation fails.
21315 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21316 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21317 remove the terrible hack.
21319 2005-10-11 Wim Taymans <wim@fluendo.com>
21321 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21322 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21323 (gst_bin_recalc_state), (gst_bin_change_state_func),
21324 (gst_bin_dispose), (bin_bus_handler):
21326 Prepare to make current EOS message queue more generic.
21329 * gst/gstevent.c: (gst_event_new_newsegment),
21330 (gst_event_parse_newsegment):
21332 Rename base to stream_time.
21334 * gst/gstmessage.h:
21337 2005-10-11 Wim Taymans <wim@fluendo.com>
21339 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21340 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21341 (gst_bin_change_state_func), (bin_bus_handler):
21343 Work on proper clock selection.
21345 2005-10-11 Edward Hervey <edward@fluendo.com>
21347 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21348 * libs/gst/controller/gstcontroller.h:
21349 Added GList* version of _remove_properties() in order to be able to wrap
21352 2005-10-11 Wim Taymans <wim@fluendo.com>
21354 * docs/design/part-states.txt:
21357 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21358 (gst_bin_change_state_func), (bin_bus_handler):
21359 Doc updates. Don't distribute the same clock over and over again.
21365 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21366 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21367 (gst_pad_send_event):
21369 Make probe emission threadsafe again.
21370 Register quarks and move _get_name() from utils.
21373 * gst/gstpipeline.c: (gst_pipeline_class_init),
21374 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21375 Only redistribute the clock of it changed.
21377 * gst/gstsystemclock.h:
21382 Moved the _flow_get_name() to GstPad.
21384 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21386 * check/gst-libs/gdp.c: (GST_START_TEST):
21387 * check/gst/gstcaps.c: (GST_START_TEST):
21388 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21389 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21390 (gst_dp_packet_from_caps):
21391 fix more valgrind warnings before turning up the heat
21393 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21395 * gst/parse/grammar.y:
21396 some cleanup before the hacking
21398 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21400 * gst/base/gstbasesrc.c: (gst_base_src_query):
21402 * gst/gstutils.c: (gst_guint64_to_gdouble),
21403 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21405 externalize, basesrc uses it
21406 obviously the implementation needs testing
21408 2005-10-10 Wim Taymans <wim@fluendo.com>
21410 * tests/sched/Makefile.am:
21411 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21412 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21414 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21416 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21417 apparently converting from guint64 to double is not implemented
21420 2005-10-10 Wim Taymans <wim@fluendo.com>
21422 * check/Makefile.am:
21423 * check/generic/states.c: (GST_START_TEST):
21424 * check/gst/gstbin.c: (GST_START_TEST):
21425 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21426 * check/states/sinks.c: (GST_START_TEST):
21427 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21429 Check fixes, use API as stated in design docs, remove hacks.
21431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21432 (gst_base_sink_change_state):
21433 Catch stopping our task while we're shutting down.
21435 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21436 (gst_bin_remove_func), (gst_bin_get_state_func),
21437 (gst_bin_recalc_state), (gst_bin_change_state_func),
21440 * gst/gstelement.c: (gst_element_init),
21441 (gst_element_get_state_func), (gst_element_abort_state),
21442 (gst_element_commit_state), (gst_element_lost_state),
21443 (gst_element_set_state), (gst_element_change_state),
21444 (gst_element_change_state_func):
21445 * gst/gstelement.h:
21446 New state change algorithm (see #318116)
21448 * gst/gstpipeline.c: (gst_pipeline_class_init),
21449 (gst_pipeline_init), (gst_pipeline_set_property),
21450 (gst_pipeline_get_property), (do_pipeline_seek),
21451 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21452 * gst/gstpipeline.h:
21453 Remove crude state change hacks.
21456 Remove crude hacks.
21458 * tools/gst-launch.c: (main):
21459 Fixes for state change. Needs some more work to fully use the
21462 2005-10-10 Andy Wingo <wingo@pobox.com>
21464 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21466 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21467 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21470 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21472 * gst/gstiterator.c: (gst_iterator_new):
21473 Fix my previous commit: GTypes passed to gst_iterator_new()
21474 can be fundamental types.
21476 2005-10-10 Wim Taymans <wim@fluendo.com>
21478 * gst/gstelement.c: (gst_element_iterate_pad_list),
21479 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21480 (gst_element_iterate_sink_pads):
21481 Use src/sink pads lists for the respective iterators instead
21484 2005-10-10 Andy Wingo <wingo@pobox.com>
21486 Merged in popt removal + GOption addition patch from Ronald, bug
21489 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21490 GstElement macros around, remove popt-related symbols, add goption
21493 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21495 * docs/gst/Makefile.am:
21496 * docs/libs/Makefile.am: No POPT_CFLAGS.
21498 * examples/manual/Makefile.am:
21499 * docs/manual/basics-init.xml: Doc updates with an example.
21501 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21502 (gst_init), (parse_one_option), (parse_goption_arg):
21503 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21504 bit of hand merging and debugging to get the GOption stuff working
21507 * tests/Makefile.am:
21508 * tools/Makefile.am:
21509 * tools/gst-inspect.c: (main):
21510 * tools/gst-launch.c: (main):
21511 * tools/gst-run.c: (main):
21512 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21514 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21516 * gst/gstiterator.c: (gst_iterator_new):
21517 Add assertions to make sure passed GType is likely to really
21518 be a GType (as the compiler won't catch it if the size and
21519 GType arguments get mixed up, see #318447).
21521 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21523 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21525 * gst/gstbin.c: (gst_bin_iterate_sorted):
21526 Pass GType and size arguments to gst_iterator_new() in the right
21527 order (maybe we should make _new() take the GType as first argument
21528 just like _new_list()?) (#318447).
21531 2005-10-10 Wim Taymans <wim@fluendo.com>
21533 * gst/gstelement.c: (gst_element_finalize):
21534 And free the GStaticRecMutex too
21536 2005-10-10 Andy Wingo <wingo@pobox.com>
21538 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21539 Allocate and free the mutex properly.
21541 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21543 (GstElement): The state_lock is now recursive. Rebuild your
21544 plugins, suckers. Old macros adapted.
21546 * docs/gst/gstreamer-sections.txt: Doc updates.
21549 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21550 (g_static_rec_cond_wait): Ported from state changes patch, while
21551 we wait on bug #317802 to be solved in a well-distributed GLib.
21553 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21554 gst_element_change_state, variable name changes.
21555 (gst_element_change_state): Split out of gst_element_set_state in
21556 preparation for the state change merge. Doesn't pay attention to
21557 the 'transition' argument.
21558 (gst_element_set_state): Updates, hopefully purely cosmetic.
21559 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21560 state change patch.
21561 (gst_element_get_state_func): Renamed from get_state, cosmetic
21564 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21566 * gst/elements/gstelements.c:
21567 * win32/GStreamer.vcproj:
21569 * win32/dirent.c: (_tseekdir):
21570 * win32/gst-inspect.vcproj:
21571 * win32/gst-launch.vcproj:
21572 * win32/gstconfig.h:
21573 * win32/gstelements.vcproj:
21574 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21575 * win32/gstreamer.def:
21576 * win32/msvc71.sln:
21577 updates for the win32 build (patch from Sebastien Moutte)
21579 2005-10-10 Andy Wingo <wingo@pobox.com>
21581 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21582 gst_bin_get_state, cleaned up (but no logic changes).
21583 (bin_element_is_sink): Comment updates.
21584 (sink_iterator_filter): Remove needless cast.
21585 (gst_bin_iterate_sinks): Doc update.
21586 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21587 cleaned up (but no logic changes).
21589 * check/states/sinks.c (test_src_sink): Cleanups from the state
21591 (test_livesrc_sink): Sync on the state.
21593 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21594 the state change patch.
21596 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21599 * check/gst/gstbin.c: Merge in some style fixes and additional
21600 checks from Wim's state change patch.
21602 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21604 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21605 (gst_type_find_helper):
21606 Check whether we have the requested data already in our list of
21607 cached buffers before pulling a new buffer; also make the buffer
21608 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21610 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21615 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21616 don't use long long, it's not portable. Replacing with
21617 gint64 seems to work; let's hope no skeletons fall out of the closet.
21619 2005-10-10 Andy Wingo <wingo@pobox.com>
21621 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21623 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21625 * docs/gst/gstreamer-sections.txt:
21630 * gst/gstmessage.c: (gst_message_parse_state_changed):
21633 more docs, fix compilation
21635 2005-10-09 Philippe Khalaf <burger@speedy.org>
21636 * gst/gstmessage.c:
21637 Fixed a few forgotten variables on previous commit
21639 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21641 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21642 Fix evil typefind crasher: getrange() might return a short
21643 buffer at the end of a file, but gst_type_find_peek() must
21644 either return the full data as requested or NULL, but
21645 never a short buffer.
21647 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21649 * gst/gstmessage.c: (gst_message_new_state_changed),
21650 (gst_message_parse_state_changed):
21651 * gst/gstmessage.h:
21652 don't use "new", it's a C++ keyword
21654 2005-10-08 Wim Taymans <wim@fluendo.com>
21656 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21657 * gst/gstelement.c: (gst_element_post_message):
21658 * gst/gstpipeline.c: (gst_pipeline_change_state):
21659 Small docs and debug updates.
21661 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21663 * docs/gst/gstreamer-sections.txt:
21664 * gst/gstelementfactory.c:
21666 * gst/gsttaglist.c:
21669 2005-10-08 Wim Taymans <wim@fluendo.com>
21671 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21672 (gst_bin_dispose), (bin_bus_handler):
21673 Fix typos, add comments.
21674 Clear EOS list when going to PAUSED from any direction and do it
21675 in a threadsafe way.
21676 Get base time in a threadsafe way too.
21677 Fix confusing debug in the change_state function.
21678 Various other small cleanups.
21680 * gst/gstelement.c: (gst_element_post_message):
21681 Fix very verbose bus posting code.
21683 * gst/gstpipeline.c: (gst_pipeline_class_init),
21684 (gst_pipeline_set_property), (gst_pipeline_get_property),
21685 (gst_pipeline_change_state):
21686 Small ARG_ -> PROP_ cleanup
21688 2005-10-08 Wim Taymans <wim@fluendo.com>
21690 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21691 Do a less CPU demanding EOS check because we can.
21693 2005-10-08 Wim Taymans <wim@fluendo.com>
21695 * libs/gst/dataprotocol/dataprotocol.c:
21696 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21697 (gst_dp_packet_from_event):
21698 * libs/gst/dataprotocol/dataprotocol.h:
21699 * libs/gst/dataprotocol/dp-private.h:
21700 It's about time we bump the version number.
21701 Since event types don't fit in the guint8 anymore describing
21702 the payload type, make payload type 16 bits wide.
21704 2005-10-08 Wim Taymans <wim@fluendo.com>
21706 * docs/design/part-TODO.txt:
21707 * docs/design/part-clocks.txt:
21708 * docs/design/part-events.txt:
21709 * docs/design/part-gstbin.txt:
21710 * docs/design/part-gstelement.txt:
21711 * docs/design/part-gstpipeline.txt:
21712 * docs/design/part-live-source.txt:
21713 * docs/design/part-messages.txt:
21714 * docs/design/part-overview.txt:
21715 * docs/design/part-states.txt:
21718 2005-10-08 Wim Taymans <wim@fluendo.com>
21722 Fix event quark registration.
21723 Add some space between events so we can insert them in the
21726 2005-10-08 Wim Taymans <wim@fluendo.com>
21728 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21729 (gst_base_sink_handle_buffer):
21730 Better log message.
21733 * gst/gstelement.h:
21736 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21737 (gst_queue_set_property), (gst_queue_get_property):
21739 Remove old unused properties.
21741 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21742 * docs/gst/gstreamer-sections.txt:
21743 * gst/gstmessage.c:
21744 * gst/gstmessage.h:
21745 * gst/gstminiobject.c:
21746 * gst/gstminiobject.h:
21750 lots of new docs and doc fixes
21752 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21754 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21756 * gst/gstregistry.c: (gst_registry_lookup_locked),
21757 (gst_registry_scan_path_level):
21758 * gst/gstregistryxml.c: (load_plugin):
21759 Only ever load one plugin for a given plugin basename.
21760 This ensures correct overriding of GST_PLUGIN_PATH over
21761 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21762 system installed plugins.
21764 2005-10-08 Wim Taymans <wim@fluendo.com>
21766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21767 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21768 Prepare for doing QOS.
21770 2005-10-08 Wim Taymans <wim@fluendo.com>
21772 * check/gst/gstbin.c: (GST_START_TEST):
21773 * check/pipelines/cleanup.c: (GST_START_TEST):
21774 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21775 Allow new clock message too.
21777 2005-10-08 Wim Taymans <wim@fluendo.com>
21779 * gst/gstmessage.c: (gst_message_new_error),
21780 (gst_message_new_warning), (gst_message_new_tag),
21781 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21782 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21783 (gst_message_new_segment_start), (gst_message_new_segment_done),
21784 (gst_message_parse_state_changed),
21785 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21786 (gst_message_parse_new_clock):
21787 * gst/gstmessage.h:
21788 Also carry the clock in question.
21790 2005-10-08 Wim Taymans <wim@fluendo.com>
21792 * gst/gstmessage.c: (gst_message_new_custom),
21793 (gst_message_new_eos), (gst_message_new_error),
21794 (gst_message_new_warning), (gst_message_new_tag),
21795 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21796 (gst_message_new_new_clock), (gst_message_new_segment_start),
21797 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21798 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21799 * gst/gstmessage.h:
21801 Added clock related messages.
21803 * gst/gstpipeline.c: (gst_pipeline_change_state):
21804 Post message when the clock changed.
21806 * tools/gst-launch.c: (event_loop):
21809 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21811 * tools/gst-inspect.c: (print_element_properties_info):
21812 Can't pass NULL strings to g_print() on windows.
21814 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21816 * docs/Makefile.am:
21817 * docs/gst/Makefile.am:
21818 * docs/gst/gstreamer-docs.sgml:
21819 * docs/gst/running.xml:
21820 * docs/version.entities.in:
21821 add a chapter on running GStreamer.
21822 document GST_DEBUG and GST_PLUGIN* env vars
21824 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21829 remove PLUGINS_BUILDDIR stuff
21830 * gst/gst.c: (init_post):
21831 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21833 remove, it was condescending and not needed
21835 2005-10-08 Wim Taymans <wim@fluendo.com>
21837 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21838 (gst_base_sink_handle_object), (gst_base_sink_event),
21839 (gst_base_sink_wait), (gst_base_sink_handle_event),
21840 (gst_base_sink_change_state):
21841 * gst/base/gstbasesink.h:
21842 Repost EOS message while going to PLAYING if still EOS.
21843 Make sure that when receiving a FLUSH_START we don't attempt
21844 to sync on the clock anymore.
21846 2005-10-08 Wim Taymans <wim@fluendo.com>
21848 * tools/gst-launch.c: (event_loop):
21849 Better message printout.
21851 2005-10-08 Wim Taymans <wim@fluendo.com>
21853 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21854 (gst_bin_child_proxy_get_children_count):
21855 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21856 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21857 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21858 (gst_child_proxy_set_valist):
21859 * gst/parse/grammar.y:
21860 Make ChildProxy threadsafe and fix mem leaks.
21862 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21864 * gst/gst.c: (init_post):
21865 debug the GST_PLUGIN_ env vars
21867 2005-10-08 Wim Taymans <wim@fluendo.com>
21869 * check/gst/gstbin.c: (GST_START_TEST):
21870 * check/gst/gstmessage.c: (GST_START_TEST):
21871 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21872 * gst/gstelement.c: (gst_element_commit_state),
21873 (gst_element_lost_state):
21874 * gst/gstmessage.c: (gst_message_new_state_changed),
21875 (gst_message_parse_state_changed):
21876 * gst/gstmessage.h:
21877 * tools/gst-launch.c: (event_loop):
21878 Added extra field to STATE_CHANGE message with the pending
21879 state, which will be different from the new state soon.
21881 2005-10-08 Wim Taymans <wim@fluendo.com>
21883 * gst/gstbus.c: (gst_bus_pop):
21885 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21886 Small cleanups and doc updates.
21888 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21890 * gst/gst.c: (init_pre):
21891 * gst/gstbin.c: (gst_bin_add_func):
21892 log distributing clocks and base time
21893 * gst/gstregistry.c: (gst_registry_add_plugin),
21894 (gst_registry_scan_path_level), (gst_registry_scan_path):
21895 clean up the debugging output a little
21896 * gst/gstutils.c: (gst_element_state_get_name):
21897 warn about a memleak (I've actually seen this be used, though
21898 it was probably a bug)
21900 2005-10-07 Wim Taymans <wim@fluendo.com>
21902 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21903 (gst_base_src_init), (gst_base_src_default_newsegment),
21904 (gst_base_src_newsegment), (gst_base_src_do_seek),
21905 (gst_base_src_loop), (gst_base_src_start):
21906 * gst/base/gstbasesrc.h:
21907 Make the newsegment event customizable by subclasses.
21909 2005-10-07 Wim Taymans <wim@fluendo.com>
21911 * gst/gstevent.c: (gst_event_new_buffersize),
21912 (gst_event_parse_buffersize):
21914 New event for future idea.
21916 2005-10-07 Andy Wingo <wingo@pobox.com>
21918 * gst/gstelement.c (gst_element_post_message): Doc update.
21920 * docs/gst/gstreamer-sections.txt: Update.
21922 * gst/gstmessage.c (gst_message_new_application): Made into a
21923 function like honest API calls.
21924 (gst_message_new_element): New message type.
21926 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21928 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21929 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21932 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21933 NO_PREROLL from gst_element_change_state to fall through.
21935 2005-10-07 Wim Taymans <wim@fluendo.com>
21937 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21938 (gst_ghost_pad_do_activate_push):
21939 Activating a ghostpad with no internal pad in push mode
21942 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21945 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21946 Fixes compilation on Windows.
21948 2005-10-07 Michael Smith <msmith@fluendo.com>
21950 * tools/gst-inspect.c:
21951 Print out feature and plugin count at the end when printing out
21954 2005-10-04 Michael Smith <msmith@fluendo.com>
21956 * gst/gsterror.c: (_gst_stream_errors_init):
21957 Add another error string used in a few existing plugins.
21960 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21961 * tools/gst-inspect.c: (print_element_info):
21962 When a feature disappears from a plugin (and the feature exists in
21963 the cached registry file), things went horribly wrong. This isn't a
21964 complete fix, we should actually be removing the 'missing' features
21965 from the features list when we load the actual plugin. That's not
21968 2005-10-04 Johan Dahlin <johan@gnome.org>
21970 * check/gst/gstiterator.c: (GST_START_TEST):
21971 * gst/gstbin.c: (gst_bin_iterate_elements),
21972 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21973 * gst/gstelement.c: (gst_element_iterate_pads):
21974 * gst/gstformat.c: (gst_format_iterate_definitions):
21975 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21976 (gst_iterator_new_list), (gst_iterator_filter):
21977 * gst/gstiterator.h:
21978 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21979 Add a GType to GstIterator, update callsites and tests.
21981 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21983 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21984 give events a chance to be handled by event probes when the pad
21987 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21989 * gst/gstevent.c: (gst_event_type_get_name),
21990 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21992 add string representations for event types
21994 2005-10-06 Wim Taymans <wim@fluendo.com>
21996 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21997 Don't use NULL pointers.
21999 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22001 * gst/gst_private.h:
22003 * gst/gstelement.c:
22005 * gst/gstpluginfeature.c:
22006 widen the debug category in output to fit the biggest one we have
22007 add a bus category and use it
22008 play with the colors
22009 fix up some categories
22011 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22013 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22014 add push activation of sink ghost pads.
22015 Andye, please verify
22017 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22019 * gst/gstutils.c: (gst_element_link_pads):
22020 fix a bug in the case where neither element has a pad
22021 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22022 add a test for that case
22024 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22026 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22027 emit have-data before checking for peers. This allows
22028 for probe handlers to connect elements. This helps autopluggers.
22029 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22031 add six checks, linked/unlinked with no/true/false probe
22033 2005-10-04 Wim Taymans <wim@fluendo.com>
22035 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22036 (gst_fake_sink_event), (gst_fake_sink_preroll),
22037 (gst_fake_sink_render), (gst_fake_sink_change_state):
22038 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22039 (gst_fake_src_get_property), (gst_fake_src_create),
22040 (gst_fake_src_stop):
22041 * gst/elements/gstidentity.c: (gst_identity_stop):
22042 Protect last_message with lock.
22044 2005-10-04 Edward Hervey <edward@fluendo.com>
22047 Added precision in the comments for GST_FORMAT_DEFAULT
22049 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22051 * tools/gst-launch.c: (main):
22052 Don't try to run erroneous pipelines.
22054 2005-10-04 Julien MOUTTE <julien@moutte.net>
22056 * gst/gstbus.c: We don't need this header.
22058 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22061 back to development
22063 === release 0.9.3 ===
22065 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22069 Releasing 0.9.3, "Unregistered"
22071 2005-10-03 Andy Wingo <wingo@pobox.com>
22073 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22074 whereby calling a pad's activatepush() function can start a thread
22075 that starts to push or pull before the pad gets the FLUSHING flag
22076 unset. Hack around it by holding the stream lock until the flag is
22077 set. Need to replace this with a proper solution. Together with
22078 the ghost pad fixes, this fixes mp3 playing/tagreading.
22080 * docs/design/part-gstghostpad.txt: Add a note about activation of
22081 proxy pads outside of ghost pads.
22083 * gst/gstghostpad.c: Implement the ghost pad activation design.
22085 2005-10-02 Andy Wingo <wingo@pobox.com>
22087 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22088 It is volatile, after all.
22090 * docs/design/part-gstghostpad.txt: Flesh out activation with
22093 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22096 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22099 Fix (unused) AM_CONDITIONAL tests.
22101 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22103 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22105 * gst/gstutils.c: (gst_pad_query_convert):
22106 Add assertion that makes sure src_val is >=0, just like
22107 gst_query_new_convert() has. (#315895)
22109 2005-09-30 Edward Hervey <edward@fluendo.com>
22111 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22112 Let's not iterate pads we're not interested in, it avoids getting
22113 sky-high refcounts on sinkpad.
22115 2005-09-30 Wim Taymans <wim@fluendo.com>
22117 * gst/gstelement.c: (gst_element_set_state),
22118 (gst_element_change_state):
22119 Small tweak, element in ASYNC remains ASYNC.
22121 2005-09-30 Wim Taymans <wim@fluendo.com>
22123 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22124 Only error is an error.
22126 * gst/gstbin.c: (gst_bin_change_state):
22129 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22130 Also call pad_block in pad alloc.
22132 * gst/gstutils.c: (gst_flow_get_name):
22135 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22137 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22138 (gst_base_src_get_range):
22139 Fix documentation typos. Add some more debug info.
22141 2005-09-29 David Schleef <ds@schleef.org>
22143 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22144 more end-user friendly.
22145 * tools/gst-inspect.c: (main): Check if command-line argument is
22146 a file and attempt to load that file as a plugin.
22148 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22150 * check/gst/gstbin.c:
22151 * check/states/sinks.c:
22152 fix tests for the new warning
22153 * check/gst/gstpipeline.c:
22154 add a test for pipeline and bus interaction
22155 * gst/gstelement.c:
22156 elements should be NULL if they get disposed; add a warning if not
22158 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22161 for 2.6 refcounting, make debug log more correct by printing
22162 the actual refcounts at the time of swap (Wim)
22164 2005-09-29 Andy Wingo <wingo@pobox.com>
22166 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22167 removes signal watches previously added via
22168 gst_bus_add_signal_watch.
22169 (gst_bus_add_signal_watch): Don't return the source id, just store
22170 it on the bus if there wasn't an id already.
22172 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22173 add_signal_watch and remove_signal_watch.
22175 2005-09-29 Edward Hervey <edward@fluendo.com>
22177 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22178 Better if we actually iterate the list :)
22180 2005-09-29 Wim Taymans <wim@fluendo.com>
22182 * check/gst/gstbin.c: (GST_START_TEST):
22183 Change for new bus API.
22185 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22186 (send_messages), (GST_START_TEST), (gstbus_suite):
22187 Change for new bus signal API.
22189 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22190 (gst_bus_source_prepare), (gst_bus_source_check),
22191 (gst_bus_create_watch), (gst_bus_add_watch_full),
22192 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22193 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22195 Remove support for multiple GSources operating on different
22196 message types as it is too complex and unneeded when using
22198 Added support for receiving signals from the bus.
22200 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22202 * docs/libs/tmpl/gstdataprotocol.sgml:
22203 * docs/manual/advanced-dataaccess.xml:
22204 * gst/elements/gstcapsfilter.c:
22206 rename filter-caps to caps property
22208 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22210 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22211 More robust fraction string parsing.
22213 * docs/pwg/appendix-porting.xml:
22214 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22216 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22218 * gst/gstcaps.c: (gst_caps_do_simplify):
22219 Thou shalt not free a structure and then continue using it
22220 in the next loop iteration.
22222 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22224 Add test case for caps simplification.
22226 2005-09-29 Wim Taymans <wim@fluendo.com>
22228 * check/gst/gstbin.c: (GST_START_TEST):
22231 2005-09-29 Wim Taymans <wim@fluendo.com>
22233 * check/gst/gstbin.c: (GST_START_TEST):
22236 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22237 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22238 (find_element), (gst_bin_sort_iterator_next),
22239 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22240 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22241 (gst_bin_change_state), (gst_bin_dispose):
22242 A bin does not have a bus, it gets the bus from the parent.
22244 * gst/gstelement.c: (gst_element_requires_clock),
22245 (gst_element_provides_clock), (gst_element_is_indexable),
22246 (gst_element_is_locked_state), (gst_element_change_state),
22247 (gst_element_set_bus_func):
22250 * gst/gstpipeline.c: (gst_pipeline_class_init),
22251 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22252 The pipeline provides a bus.
22254 2005-09-28 Johan Dahlin <johan@gnome.org>
22256 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22257 gst_structure_get_enum instead of gst_structure_get_int
22259 * gst/gststructure.c (gst_structure_get_enum): Impl.
22261 * gst/gststructure.h (gst_structure_get_enum): Add
22263 * docs/gst/gstreamer-sections.txt: Ditto
22265 * gst/gstmessage.c (gst_message_new_state_changed): Use
22266 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22267 which does introspection.
22268 Reviewed by Christian Schaller
22270 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22272 * gst/gstinfo.c: (gst_debug_log_default):
22273 don't do dummy g_strdup()s
22274 * libs/gst/controller/gstcontroller.c:
22275 (on_object_controlled_property_changed),
22276 (gst_controlled_property_new), (gst_controller_new_valist),
22277 (gst_controller_new_list),
22278 (gst_controller_remove_properties_valist), (gst_controller_set),
22279 (gst_controller_get), (gst_controller_sync_values),
22280 (gst_controller_get_value_array), (_gst_controller_class_init),
22281 (gst_controller_get_type):
22282 * libs/gst/controller/gstcontroller.h:
22283 * libs/gst/controller/gstinterpolation.c:
22284 (gst_controlled_property_find_timed_value_node):
22285 convert // to /**/ comments
22287 2005-09-28 Wim Taymans <wim@fluendo.com>
22289 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22290 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22291 (gst_bus_sync_signal_handler):
22293 Added async-message and sync-message signals to the bus.
22294 Added helper BusFunc to emit signals for all posted messages.
22296 * gst/gstmessage.c: (gst_message_type_get_name),
22297 (gst_message_type_to_quark), (gst_message_get_type):
22298 * gst/gstmessage.h:
22299 Register quarks for message names.
22301 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22303 * docs/libs/gstreamer-libs-sections.txt:
22304 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22305 (gst_controller_new_list):
22306 * libs/gst/controller/gstcontroller.h:
22307 added another constructor for language bindings
22309 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22311 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22315 * gst/gstinfo.c: (_gst_debug_init):
22316 slightly more readable color for refcount debugging
22318 2005-09-28 Wim Taymans <wim@fluendo.com>
22320 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22321 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22322 (find_element), (gst_bin_sort_iterator_next),
22323 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22324 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22325 (gst_bin_change_state), (gst_bin_dispose):
22326 Small doc fixes. get_clock -> provide_clock.
22328 * gst/gstelement.c: (gst_element_class_init),
22329 (gst_element_provides_clock), (gst_element_provide_clock),
22330 (gst_element_get_clock), (gst_element_commit_state),
22331 (gst_element_lost_state):
22332 * gst/gstelement.h:
22333 Make get/set_clock() symetric. Add provide_clock vmethod since
22334 that is actually what this function does.
22336 * gst/gstpipeline.c: (gst_pipeline_class_init),
22337 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22338 (gst_pipeline_get_clock):
22339 get_clock -> provide_clock.
22341 2005-09-28 Andy Wingo <wingo@pobox.com>
22343 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22344 lieu of real docs...
22346 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22348 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22350 * gst/elements/gstcapsfilter.c:
22351 * gst/elements/gstfakesink.c:
22352 * gst/elements/gstfakesrc.c:
22353 * gst/elements/gstfdsink.c:
22354 * gst/elements/gstfdsrc.c:
22355 * gst/elements/gstfilesink.c:
22356 * gst/elements/gstfilesrc.c:
22357 * gst/elements/gstidentity.c:
22358 * gst/elements/gsttee.c:
22359 * gst/elements/gsttypefindelement.c:
22360 Make element details static.
22362 2005-09-28 Wim Taymans <wim@fluendo.com>
22364 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22365 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22366 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22367 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22368 (gst_bin_change_state), (gst_bin_dispose):
22369 Some documentation updates.
22370 Clean up dispose handlers.
22372 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22373 * gst/gstpad.c: (gst_pad_dispose):
22374 Clean up dispose handler.
22376 * gst/gstpipeline.c: (gst_pipeline_change_state):
22377 Removed spurious UNLOCK.
22379 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22381 * docs/gst/gstreamer-sections.txt:
22382 * gst/base/gstbasesrc.h:
22383 * gst/gstelement.h:
22387 * gst/gstpipeline.c:
22388 * gst/gstpipeline.h:
22391 added two new functions to the docs
22392 documents all undocumented GstXXXFlags
22393 completed some incomplete docs
22395 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22397 * gst/gstbin.c: (gst_bin_dispose):
22398 * gst/gstelement.c: (gst_element_dispose):
22399 remove now useless and leaky resurrection code in dispose
22400 * gst/base/gstbasesrc.c: (gst_base_src_init):
22401 * gst/gstelementfactory.c: (gst_element_factory_create):
22402 * gst/gstobject.c: (gst_object_set_parent):
22405 2005-09-27 Wim Taymans <wim@fluendo.com>
22407 * docs/design/part-TODO.txt:
22410 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22411 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22412 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22413 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22414 (gst_bin_change_state):
22415 * gst/gstelement.h:
22416 Remove element variable, we keep element info in the iterator now.
22418 2005-09-27 Andy Wingo <wingo@pobox.com>
22420 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22423 2005-09-27 Wim Taymans <wim@fluendo.com>
22425 * check/gst/gstbin.c: (GST_START_TEST):
22426 Enable check that works now.
22428 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22429 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22430 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22431 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22432 (gst_bin_change_state):
22434 Redid the state change algorithm using a topological sort algo.
22435 Handles all cases correctly.
22436 Exposed iterator for state change order.
22438 * gst/gstelement.h:
22439 Temp storage for state changes. Need to get rid of this soon.
22441 2005-09-27 Wim Taymans <wim@fluendo.com>
22443 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22444 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22445 (link_fold_func), (gst_pad_proxy_setcaps):
22446 Leak fixes, the fold functions need to unref the passed object and
22447 _get_parent_*() returns ref to parent.
22449 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22451 * check/gst/gstbuffer.c: (test_make_writable):
22452 Plug leak in test case and fix 'make check-valgrind'
22454 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22456 * gst/gstbuffer.c: (gst_subbuffer_init):
22457 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22458 works correctly in all circumstances (we could have just copied
22459 the parent buffer's readonly flag, but conceptually it seems
22460 cleaner to mark all subbuffers as read-only). (based on patch
22461 by Alessandro Decina, #314710).
22463 * check/gst/gstbuffer.c: (create_read_only_buffer),
22464 (test_make_writable), (test_subbuffer_make_writable),
22466 Add some tests for gst_buffer_make_writable().
22468 2005-09-27 Wim Taymans <wim@fluendo.com>
22470 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22471 use gst_object_has_ancestor().
22473 * gst/gstobject.c: (gst_object_has_ancestor):
22475 gst_object_has_ancestor() copied from gstbin.c as it is a
22478 * tests/instantiate/create.c: (create_all_elements):
22479 * tests/lat.c: (handoff_src), (handoff_sink):
22480 * tests/sched/runxml.c: (main):
22481 * tests/seeking/seeking1.c: (main):
22482 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22484 Fix compilation of some tests.
22486 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22489 Remove comment. GST_TYPE_G_ERROR is here to stay,
22490 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22491 (#316961, #300610).
22493 2005-09-26 Wim Taymans <wim@fluendo.com>
22495 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22496 Added check that shows error in state change order.
22498 2005-09-26 Wim Taymans <wim@fluendo.com>
22500 * gst/gstbin.c: (gst_bin_change_state):
22501 Make state change function use 3 queues again, we were
22502 adding elements in the wrong order.
22504 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22507 * gst/gstpad.c: (gst_pad_dispose):
22508 Added some debug info first.
22510 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22512 * docs/design/draft-push-pull.txt:
22513 * docs/design/part-events.txt:
22514 * docs/design/part-overview.txt:
22515 * docs/design/part-scheduling.txt:
22516 Replace all _pull_region() with _pull_range()
22518 2005-09-26 Andy Wingo <wingo@pobox.com>
22520 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22522 * check/gst-libs/controller.c: Update for controller api change.
22525 * tests/Makefile.am:
22526 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22527 over by GLib bug 118439.
22529 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22530 routines to a function.
22532 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22534 * libs/gst/controller/gsthelper.c:
22535 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22536 (gst_object_sync_values): Renamed from sink_values. Ugh.
22538 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22540 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22541 Renamed from controller_key, as it is exported.
22543 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22545 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22550 * gst/gstpadtemplate.h:
22553 * gst/gstqueryutils.c:
22554 * gst/gstqueryutils.h:
22555 remove queryutils headers after moving the two used functions
22556 to gstquery. also fixes build problem for gstsiddec
22558 2005-09-26 Michael Smith <msmith@fluendo.com>
22560 * tools/gst-launch.1.in:
22561 Correct documentation in manpage of debug syntax
22563 2005-09-26 Wim Taymans <wim@fluendo.com>
22565 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22566 (gst_base_src_is_seekable), (gst_base_src_change_state):
22567 Some more debugging info.
22569 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22571 * docs/gst/gstreamer-sections.txt:
22572 * gst/base/gstbasetransform.h:
22576 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22578 * docs/gst/.cvsignore:
22579 * docs/gst/tmpl/.cvsignore:
22580 * docs/gst/tmpl/gstpipeline.sgml:
22581 * docs/gst/tmpl/gstplugin.sgml:
22582 * gst/gstpipeline.c:
22585 inlined the last two docs files
22586 removed the tmpl directory from cvs (no more conflicts here!)
22588 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22590 * docs/gst/gstreamer-sections.txt:
22591 * docs/gst/tmpl/.cvsignore:
22592 * docs/gst/tmpl/gstpad.sgml:
22593 * docs/gst/tmpl/gstpadtemplate.sgml:
22595 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22596 (gst_pad_finalize), (gst_pad_set_pad_template):
22598 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22599 (gst_pad_template_class_init), (gst_pad_template_init),
22600 (gst_pad_template_dispose), (name_is_valid),
22601 (gst_static_pad_template_get), (gst_pad_template_new),
22602 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22603 (gst_pad_template_pad_created):
22604 * gst/gstpadtemplate.h:
22605 inlined two more docs
22606 factored gstpadtemplate out of gstpad
22608 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22610 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22611 (test_children_state_change_order_semi_sink):
22612 Fix test case: we can't rely on a fixed state change order when
22613 going from READY => PAUSED because the sink might commit its
22614 new state first when the first buffer created by the source
22615 reaches the sink before the source has finished its change state.
22616 (Test case still fails at times, see #316856, comment 5 onwards)
22618 2005-09-24 Wim Taymans <wim@fluendo.com>
22620 * docs/design/part-events.txt:
22621 * docs/design/part-gstbus.txt:
22622 * docs/design/part-gstpipeline.txt:
22623 * docs/design/part-messages.txt:
22624 * docs/design/part-overview.txt:
22625 * docs/design/part-segments.txt:
22629 * gst/gstelement.c:
22632 * gst/gstiterator.c:
22633 Various documentation updates.
22635 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22638 Well, that's embarassing. Luckily we weren't using
22639 GST_CLOCK_DIFF anywhere.
22641 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22643 * common/gtk-doc.mak:
22644 don't fail on building XML, FC4 slave shows a bunch of doc
22645 missing bits that I don't get
22647 * gst/gstpipeline.c:
22648 * gst/gststructure.c:
22651 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22653 * docs/design/part-gstbin.txt:
22654 * docs/design/part-gstbus.txt:
22656 Add blurb about how the bus goes into flushing mode and
22657 drops all messages when its bin goes from READY into NULL
22660 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22662 * docs/gst/gstreamer-sections.txt:
22663 * gst/gststructure.c: (gst_structure_get_clock_time):
22664 * gst/gststructure.h:
22665 add a method to get a GstClockTime out of a structure
22667 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22669 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22670 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22671 Added test to check state change order in bins (can still be made
22672 to fail here under heavy disk load; bails out with 'Push on pad
22673 fakesink:sink0, but it was not activated in push mode').
22675 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22676 Fix state change order when there is only a semi sink (#316856)
22678 * gst/gstbus.c: (gst_bus_class_init):
22679 Use _class_peek_parent(), not _class_ref(); fix docs to say
22680 'default main context' instead of 'mainloop' where that is
22683 * gst/gstelement.c: (gst_element_commit_state),
22684 (gst_element_set_state):
22685 Fix typos in debug messages
22687 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22690 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22691 * gst/gstpluginfeature.c:
22693 various doc updates
22694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22695 change an assert into an error until it gets fixed properly
22697 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22699 * docs/gst/gstreamer-sections.txt:
22700 * docs/gst/tmpl/.cvsignore:
22701 * docs/gst/tmpl/gstelement.sgml:
22702 * docs/gst/tmpl/gstinfo.sgml:
22703 * docs/gst/tmpl/gstobject.sgml:
22704 * gst/gstelement.c:
22705 * gst/gstelement.h:
22708 * gst/gstobject.c: (gst_object_class_init):
22710 inlined 3 more biiiig doc files and added some missing docs on the fly
22712 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22714 * check/gst/.cvsignore:
22715 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22716 * gst/gstregistryxml.c: (load_plugin),
22717 (gst_registry_xml_save_plugin):
22718 put back source in registry. add checks for find_plugin.
22719 * testsuite/states/bin.c: (assert_state), (empty_bin),
22720 (test_adding_one_element), (main):
22721 * testsuite/states/locked.c: (main):
22722 some compile/run fixes
22724 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22726 * check/gst/gstvalue.c: (GST_START_TEST):
22727 fix leaks in the test itself
22729 2005-09-22 Wim Taymans <wim@fluendo.com>
22731 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22732 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22733 (gst_base_sink_query):
22734 Prepare for more accurate position reporting and query
22737 * gst/gstelement.c: (gst_element_send_event),
22738 (gst_element_set_state):
22741 2005-09-22 Wim Taymans <wim@fluendo.com>
22743 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22744 (gst_query_parse_segment):
22746 More documentation.
22747 Add segment query for future use.
22749 2005-09-22 Wim Taymans <wim@fluendo.com>
22751 * gst/gstbin.c: (gst_bin_add_func):
22752 Some more debug info.
22754 * gst/gstelement.c: (gst_element_send_event):
22755 Simplify send_event
22757 * gst/gstelement.h:
22758 Don't know how flags got broken.
22763 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22765 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22766 Add simplistic test suite for GST_TYPE_DATE serialisation and
22769 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22771 * docs/gst/gstreamer-sections.txt:
22772 * gst/gststructure.c: (gst_structure_set_valist),
22773 (gst_structure_get_date):
22774 * gst/gststructure.h:
22775 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22776 (gst_date_copy), (gst_value_compare_date),
22777 (gst_value_serialize_date), (gst_value_deserialize_date),
22778 (gst_value_transform_date_string),
22779 (gst_value_transform_string_date), (_gst_value_initialize):
22781 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22782 bunch of utility functions along with a hack that checks that
22783 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22784 is required. Part of the grand scheme in #170777.
22786 2005-09-22 Andy Wingo <wingo@pobox.com>
22788 * gst/gstconfig.h.in: Psych out gtk-doc.
22790 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22792 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22794 * tools/gst-inspect.c (print_element_list): Plug some
22795 inconsequential leaks.
22797 * gst/gstregistry.c (gst_registry_get_default): Doc.
22799 * check/gst/gstplugin.c:
22800 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22801 * gst/gstelementfactory.c (gst_element_factory_create):
22802 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22805 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22806 (gst_plugin_feature_load): Doc, don't eat refs.
22808 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22809 (gst_plugin_list_free): Doc.
22810 (gst_plugin_load_file): Doc updates.
22812 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22813 accessors returning refcounted objects, return a ref.
22815 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22816 accessor for caps. IDEMPOTENCE. Oh yes.
22818 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22820 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22822 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22823 (_gst_debug_register_funcptr):
22824 Add mutex to serialise access to the hash table with
22825 the function pointer => function name string mapping;
22826 make that hash table static scope (#316809).
22828 * gst/registries/.cvsignore:
22829 Remove left-over file.
22831 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22833 * docs/pwg/appendix-porting.xml:
22834 And something about newsegment events and caps-on-buffers to
22835 the porting guide (feel free to improve).
22837 2005-09-21 Andy Wingo <wingo@pobox.com>
22839 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22840 data and event probes on the same pad.
22841 (test_buffer_probe_once): Test that removing probes from within
22842 the probe functions works.
22844 2005-09-21 Andy Wingo <wingo@pobox.com>
22846 * check/gst/gstutils.c: New file.
22847 (test_buffer_probe_n_times): A simple buffer probe test. More to
22850 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22851 have-data::buffer, not have-data.
22852 (gst_pad_add_event_probe): Likewise for have-data::event.
22853 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22854 peer' isn't quite right yet though.
22855 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22856 (gst_pad_remove_data_probe): Change to take the guint handler_id
22857 as their arg, not the function+data, which is more glib-like.
22859 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22860 the signal emission to indicate if the data is a buffer or an
22862 (gst_pad_get_type): Initialize buffer and event quarks.
22863 (gst_pad_class_init): have-data is now a detailed signal, yes it
22866 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22868 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22869 * gst/gstutils.c: (gst_util_set_value_from_string),
22870 (gst_util_set_object_arg):
22871 Don't put functional code in g_return_if_fail() or
22872 g_return_val_if_fail() statements, otherwise things will
22873 break when G_DISABLE_CHECKS is defined during compilation.
22875 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22877 * docs/gst/tmpl/.cvsignore:
22878 * docs/gst/tmpl/gstvalue.sgml:
22881 inlied another one and added some obvious docs
22883 2005-09-21 Wim Taymans <wim@fluendo.com>
22885 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22886 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22887 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22888 (gst_fdsrc_get_property), (gst_fdsrc_create):
22889 * gst/elements/gstfdsrc.h:
22890 Properly implement fdsrc. Removed signal and timeout,
22891 better implemented somewhere else.
22893 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22895 * docs/gst/tmpl/.cvsignore:
22896 * docs/gst/tmpl/gstimplementsinterface.sgml:
22897 * gst/gstinterface.c:
22900 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22902 * docs/gst/gstreamer-sections.txt:
22903 * docs/gst/tmpl/.cvsignore:
22904 * docs/gst/tmpl/gstenumtypes.sgml:
22905 remove obsolete doc file
22907 2005-09-21 David Schleef <ds@schleef.org>
22909 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22910 little beer, fix a little leak.
22912 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22914 * docs/gst/gstreamer-docs.sgml:
22915 * docs/gst/gstreamer-sections.txt:
22916 * docs/gst/tmpl/.cvsignore:
22920 * gst/gstelement.h:
22921 * gst/gstindex.c: (gst_index_class_init):
22923 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22924 (gst_index_factory_class_init), (gst_index_factory_init),
22925 (gst_index_factory_finalize), (gst_index_factory_new),
22926 (gst_index_factory_destroy), (gst_index_factory_find),
22927 (gst_index_factory_create), (gst_index_factory_make):
22928 * gst/gstindexfactory.h:
22929 * gst/gstpluginfeature.c:
22930 * gst/gstpluginfeature.h:
22931 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22932 more docs inlined, splitted gstindex.{c,h}
22934 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22936 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22939 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22941 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22942 Set sync to FALSE by default.
22944 2005-09-20 Wim Taymans <wim@fluendo.com>
22946 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22947 (gst_base_sink_init):
22948 Make sync property settable from subclass.
22950 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22951 (gst_fake_sink_change_state):
22952 Set sync to FALSE by default.
22954 2005-09-20 Wim Taymans <wim@fluendo.com>
22956 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22957 * tools/gst-launch.c: (main):
22958 The timeout handler should have lower priority than the source
22959 so we don't timeout before popping a message with 0 timeout.
22960 Dump error messages after failed state change.
22962 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22964 * tools/gst-inspect.c: (print_element_properties_info):
22967 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22969 * check/gst/gstevent.c:
22970 * gst/elements/gstfakesink.c:
22971 * gst/elements/gstfakesink.h:
22972 remove the sync property from fakesink.
22973 has the side effect of setting sync TRUE
22974 for fakesink, which is a change. Anyone who knows how
22975 to fix this nicely in a GObject-y way, feel free.
22977 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22979 * docs/gst/gstreamer-docs.sgml:
22980 remove probe refsection
22982 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22984 * check/Makefile.am:
22985 disable valgrinding the controller test again
22986 * docs/gst/gstreamer-sections.txt:
22987 update for api-changes
22989 2005-09-20 Wim Taymans <wim@fluendo.com>
22991 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22992 (gst_base_sink_set_property), (gst_base_sink_get_property),
22993 (gst_base_sink_do_sync):
22994 * gst/base/gstbasesink.h:
22995 Added sync property to basesink to disable clock sync.
22997 2005-09-20 Andy Wingo <wingo@pobox.com>
22999 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23000 eating the caller's refcount.
23002 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23003 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23006 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23007 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23008 of GLib 2.8 public, so we can know which refcount to check in
23011 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23012 (gst_object_init): Only set the gst refcount if we're going ahead
23013 with the refcount hack.
23015 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23017 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23018 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23019 more leaks plumbed, added more debug-logging
23023 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23025 * gst/gstmessage.c:
23026 remove include of gstmemchunk.h
23028 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23030 * gst/gstclock.c: (_gst_clock_id_free):
23031 Commit from the Political Party For More Atomic CVS Commits,
23032 so that people don't waste too much of their day fishing
23033 out obvious leaks out of massive commits.
23034 Oh, and fix a pretty damn obvious leak in the memchunk
23037 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23039 * check/Makefile.am:
23040 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23041 plug mem-leak, re-add to valgrindable tests
23043 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23046 unbreak the build for those who have chronic arthritis
23047 and typing "make check" is just too taxing on the hands
23049 2005-09-20 Andy Wingo <wingo@pobox.com>
23051 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23052 really want it out, you should fix plugins at the same time.
23054 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23057 * docs/gst/gstreamer-sections.txt:
23059 added missing symbols to api docs
23060 disable ref-count hack if we have glib >= 2.8
23062 2005-09-19 David Schleef <ds@schleef.org>
23064 * docs/gst/Makefile.am: Ignore a few more internal headers
23065 * docs/gst/gstreamer-docs.sgml: Remove old sections
23066 * docs/gst/gstreamer-sections.txt: Remove old sections
23067 * docs/gst/tmpl/gstobject.sgml: update
23068 * docs/gst/tmpl/gstplugin.sgml: update
23069 * docs/gst/tmpl/gstpluginfeature.sgml: update
23070 * docs/random/ds/0.9-suggested-changes: update.
23071 * gst/Makefile.am: remove memchunk and trashstack, since they're
23073 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23074 * gst/gst.h: don't include some headers
23075 * gst/gstchildproxy.c: add gstmarshal.h
23076 * gst/gstclock.c: Don't use memchunks
23077 * gst/gstminiobject.c: Add some docs
23078 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23079 * gst/gstobject.h: same
23080 * gst/gstplugin.c: include gstmacros.h
23081 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23082 * gst/gstquery.c: don't use memchunks
23083 * gst/gstregistry.c: rename gst_registry_deinit()
23084 * gst/gstregistry.h: same
23086 2005-09-19 David Schleef <ds@schleef.org>
23088 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23089 * docs/libs/gstreamer-libs-sections.txt:
23090 * docs/libs/tmpl/gstgetbits.sgml:
23091 * docs/libs/tmpl/gstputbits.sgml:
23093 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23095 * win32/gstenumtypes.c:
23096 * win32/gstenumtypes.h:
23099 2005-09-19 Wim Taymans <wim@fluendo.com>
23101 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23102 Automatically PAUSE and RESUME a pipeline when a flushing seek
23105 2005-09-19 Andy Wingo <wingo@pobox.com>
23107 * gst/gstregistry.h: Spacing fixen.
23109 2005-09-19 Wim Taymans <wim@fluendo.com>
23111 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23112 Handle state change failure more correctly.
23114 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23116 * check/Makefile.am:
23117 * check/pipelines/cleanup.c: (run_pipeline):
23118 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23120 enable cleanup again after fixing the leak
23122 some more info on docs
23124 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23126 * check/Makefile.am:
23127 re-enable tests now that leaks are plugged
23129 * check/gst/gstbin.c:
23130 * check/gst/gstpipeline.c:
23131 add some more tests while fixing leaks
23132 * common/check.mak:
23133 make sure binaries are uptodate when valgrinding/gdbing
23135 * gst/gstelementfactory.c:
23136 remove a ref too many, and add a FIXME for when we get
23137 round to disposing of classes
23139 fix the refcounting when loading a plugin from a file and
23140 the code pretends that the pointer is the same even though
23141 of course it can change
23142 * gst/gstpluginfeature.c:
23143 unref plugins marked cached (a bit confusing as a name)
23144 as the docs state should be done
23145 various doc additions to explain refcounting
23146 * gst/gstregistry.c:
23147 * gst/gstregistryxml.c:
23150 2005-09-19 Wim Taymans <wim@fluendo.com>
23152 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23153 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23154 (send_messages), (GST_START_TEST), (gstbus_suite):
23155 * check/gst/gstpipeline.c: (GST_START_TEST):
23156 * check/pipelines/cleanup.c: (run_pipeline):
23157 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23159 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23160 (gst_bus_source_check), (gst_bus_source_dispatch),
23161 (gst_bus_create_watch), (gst_bus_add_watch_full),
23162 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23164 * tools/gst-launch.c: (event_loop):
23165 * tools/gst-md5sum.c: (event_loop):
23166 GstBusHandler -> GstBusFunc, return value has the same meaning as
23167 any other GSource (FALSE == remove source).
23168 _add_watch() and _add_watch_full() now take a MessageType mask to
23169 only handle specific types of messages.
23170 _poll() returns the GstMessage instead of the message type to avoid
23172 _have_pending() takes a MessageType mask now too.
23173 Added testsuite for multiple bus watches.
23174 Fix testsuites and applications for new bus API.
23176 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23178 * check/Makefile.am:
23179 mark a bunch of the tests as to fix until we fix them
23181 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23183 * common/check.mak:
23184 use GST_PLUGIN settings for valgrind tests as well, so we're
23185 valgrinding the correct thing
23186 * gst/gst.c: (init_post):
23189 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23191 * gst/gst.c: (init_post), (gst_deinit):
23192 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23193 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23194 * gst/gstindex.c: (gst_index_factory_class_init),
23195 (gst_index_factory_finalize):
23196 * gst/gstobject.c: (gst_object_dispose):
23197 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23198 (gst_plugin_load_file), (gst_plugin_desc_free):
23199 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23200 (gst_plugin_feature_finalize):
23201 * gst/gstregistry.c: (gst_registry_class_init),
23202 (gst_registry_init), (gst_registry_finalize),
23203 (gst_registry_get_default), (gst_registry_deinit):
23204 * gst/gstregistry.h:
23205 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23206 various cleanups and memleak plugging. make valgrind is happy now.
23208 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23210 * common/check.mak:
23211 add a check-valgrind target
23213 2005-09-18 David Schleef <ds@schleef.org>
23215 * tools/gst-inspect.c: Revert the GOption code.
23217 2005-09-17 David Schleef <ds@schleef.org>
23219 * check/Makefile.am: Fix environment variables.
23220 * check/gst/gstplugin.c: Fix for API changes.
23221 * tools/gst-inspect.c: Fix for API changes.
23222 * tools/gst-xmlinspect.c: Fix for API changes.
23223 * gst/gstelementfactory.c:
23226 * gst/gstpluginfeature.c:
23227 * gst/gstpluginfeature.h:
23228 * gst/gstregistry.c:
23229 * gst/gstregistry.h:
23230 * gst/gstregistryxml.c:
23231 * gst/gsttypefind.c:
23232 * gst/gsttypefindfactory.c:
23233 * gst/indexers/gstfileindex.c:
23234 * gst/indexers/gstmemindex.c:
23235 * gst/schedulers/Makefile.am:
23236 Change registry to keep track of both plugins and features,
23237 removing the feature tracking from plugins themselves.
23239 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23241 * check/Makefile.am:
23242 * tools/gst-register.1.in:
23243 remove gst-register
23245 2005-09-15 David Schleef <ds@schleef.org>
23247 * check/gst/gstplugin.c:
23248 * gst/gstelementfactory.c:
23250 * gst/gstpluginfeature.c:
23251 * gst/gstregistry.c:
23252 Getting tired of debugging. Disabled all the unreffing of
23253 plugins and features, which fixes the segfaults, but of
23254 course leaks like crazy. At least playbin works.
23256 2005-09-15 David Schleef <ds@schleef.org>
23258 * check/gst/gstplugin.c: (register_check_elements),
23259 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23261 * gst/elements/gsttypefindelement.c: Fix refcounting.
23262 * gst/gsttypefind.c:
23263 * gst/gsttypefindfactory.c:
23264 * gst/gsttypefindfactory.h:
23266 2005-09-15 David Schleef <ds@schleef.org>
23268 * gst/gstindex.c: get refcounting correct.
23269 * gst/gstregistry.c: Handle the case where a feature/plugin is
23272 2005-09-15 David Schleef <ds@schleef.org>
23274 * check/Makefile.am:
23275 * check/gst/gstplugin.c: Add test
23276 * gst/gstplugin.c: Fix problems noticed by testsuite
23278 * gst/gstregistry.c:
23279 * gst/gstregistry.h:
23281 2005-09-15 David Schleef <ds@schleef.org>
23283 * gst/gstplugin.c: Implement semi-decent recounting and locking
23284 in plugins and plugin features.
23286 * gst/gstpluginfeature.c:
23287 * gst/gstpluginfeature.h:
23288 * gst/gstregistry.c:
23290 2005-09-15 Michael Smith <msmith@fluendo.com>
23292 * gst/gstregistry.c: (gst_registry_get_feature_list):
23293 Implement this. Makes oggdemux work; decodebin still broken.
23295 2005-09-14 David Schleef <ds@schleef.org>
23297 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23299 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23300 * gst/check/Makefile.am:
23301 * libs/gst/controller/Makefile.am:
23302 * libs/gst/dataprotocol/Makefile.am:
23304 2005-09-14 David Schleef <ds@schleef.org>
23306 * configure.ac: Remove getbits library. Nothing uses it, and
23307 it should be in something like liboil if someone did want
23309 * libs/gst/Makefile.am:
23310 * libs/gst/getbits/Makefile.am:
23311 * libs/gst/getbits/gbtest.c:
23312 * libs/gst/getbits/getbits.c:
23313 * libs/gst/getbits/getbits.h:
23314 * libs/gst/getbits/gstgetbits_generic.c:
23315 * libs/gst/getbits/gstgetbits_i386.s:
23316 * libs/gst/getbits/gstgetbits_inl.h:
23318 2005-09-14 David Schleef <ds@schleef.org>
23320 * gst/Makefile.am: Dist glib-compat.h
23322 2005-09-14 David Schleef <ds@schleef.org>
23324 * configure.ac: Remove gst/registries, since it's no longer used.
23325 * gst/registries/Makefile.am:
23326 * gst/registries/gstlibxmlregistry.c:
23327 * gst/registries/gstlibxmlregistry.h:
23328 * gst/registries/gstxmlregistry.c:
23329 * gst/registries/gstxmlregistry.h:
23330 * gst/registries/registrytest.c:
23332 2005-09-14 David Schleef <ds@schleef.org>
23334 * gst/glib-compat.h:
23335 * gst/gstregistryxml.c:
23336 Convergence is near. Seriously.
23338 2005-09-14 David Schleef <ds@schleef.org>
23340 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23341 * gst/glib-compat.h:
23342 Attempt #4 to appease the buildbots.
23344 2005-09-14 David Schleef <ds@schleef.org>
23346 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23349 2005-09-14 David Schleef <ds@schleef.org>
23351 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23354 2005-09-14 David Schleef <ds@schleef.org>
23356 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23359 2005-09-14 David Schleef <ds@schleef.org>
23361 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23362 * gst/glib-compat.h: Add some functions that are in newer versions
23363 of glib than we care to require.
23364 * gst/gstregistryxml.c: Use them.
23366 2005-09-14 David Schleef <ds@schleef.org>
23368 * po/POTFILES.in: remove gst-register.c
23370 2005-09-14 David Schleef <ds@schleef.org>
23372 * docs/gst/gstreamer-docs.sgml:
23373 * docs/gst/gstreamer-sections.txt:
23374 * docs/gst/gstreamer.types:
23375 * docs/gst/tmpl/gstelement.sgml:
23376 * docs/gst/tmpl/gstplugin.sgml:
23377 * docs/gst/tmpl/gstpluginfeature.sgml:
23378 Documentation updates for registry changes.
23380 2005-09-14 David Schleef <ds@schleef.org>
23382 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23383 because we don't require glib-2.8.
23385 2005-09-14 David Schleef <ds@schleef.org>
23387 * gst/gstregistryxml.c: Added. Essentially moved out of the
23388 registries directory.
23390 2005-09-14 David Schleef <ds@schleef.org>
23392 * check/Makefile.am:
23393 * check/generic/states.c:
23397 * gst/gst_private.h:
23398 * gst/gstelementfactory.c:
23403 * gst/gstpluginfeature.c:
23404 * gst/gstpluginfeature.h:
23405 * gst/gstregistry.c:
23406 * gst/gstregistry.h:
23407 * gst/gstregistrypool.c: remove
23408 * gst/gstregistrypool.h: remove
23409 * gst/gsttypefind.c:
23410 * gst/gsttypefindfactory.c:
23412 * tools/Makefile.am:
23413 * tools/gst-compprep.c:
23414 * tools/gst-inspect.c:
23415 * tools/gst-register.c: remove
23416 * tools/gst-xmlinspect.c:
23417 Registry rewrite. Changes registry from being a file created
23418 by a tool into a simple cache file created automatically by
23419 libgstreamer. Removed gst-register (because it's no longer
23420 needed). Remove registry pools, because we only have one
23421 registry implementation (XML). Fix up other subsystems as
23424 2005-09-13 Michael Smith <msmith@fluendo.com>
23426 * gst/gstconfig.h.in:
23427 Don't Use windows linking attributes for MinGW. Fixes #316157
23429 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23431 * gst/gstutils.c: (set_state_async_thread_func),
23432 (gst_element_set_state_async):
23433 Apparently people think it's better if this function doesn't
23434 try to set the state to whatever state was asked for on the first
23435 call to this function for any object. Seriously.
23437 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23439 * check/gst/gstpipeline.c: (GST_START_TEST):
23440 * docs/gst/gstreamer-sections.txt:
23441 * gst/gstutils.c: (set_state_async_thread_func),
23442 (gst_element_set_state_async):
23444 add a "gst_element_set_state_async" method that
23445 sets the state and starts a thread to make sure the state
23446 change completes as best as it can
23448 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23450 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23451 codify design+behaviour in testsuite after discussion
23453 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23455 * docs/gst/tmpl/gstelement.sgml:
23456 * docs/manual/appendix-quotes.xml:
23458 * gst/gstelement.c: (gst_element_set_state):
23461 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23463 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23464 (gst_base_transform_prepare_output_buf),
23465 (gst_base_transform_handle_buffer):
23466 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23467 (gst_capsfilter_prepare_buf):
23468 Remove the requirement for sub-classes to call the parent
23469 implementation of prepare_output_buffer with a wrapper function.
23471 * gst/gsttaglist.h:
23472 * gst/gsttagsetter.h:
23473 Fix #define wrapper
23475 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23477 * docs/gst/gstreamer-sections.txt:
23480 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23482 * docs/gst/gstreamer-sections.txt:
23483 * docs/gst/tmpl/gstelement.sgml:
23484 * docs/gst/tmpl/gstplugin.sgml:
23485 * gst/gstminiobject.c:
23487 docs now stop throwing warnings
23489 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23491 * docs/gst/gstreamer-sections.txt:
23492 * docs/gst/gstreamer.types:
23493 * docs/gst/tmpl/gstpad.sgml:
23494 * docs/gst/tmpl/gsttypes.sgml:
23495 * gst/base/gstadapter.h:
23496 * gst/base/gstbasesink.h:
23497 * gst/base/gstbasesrc.h:
23503 * gst/gstelement.h:
23505 * gst/gstmessage.h:
23507 * gst/gststructure.c:
23508 * gst/registries/gstlibxmlregistry.h:
23509 various documentation fixes
23511 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23513 * docs/gst/gstreamer-sections.txt:
23514 * docs/gst/tmpl/gstvalue.sgml:
23515 rearrange gstvalue section
23516 * gst/gstutils.c: (gst_element_state_get_name):
23518 * gst/gstvalue.c: (_gst_value_initialize):
23522 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23524 * check/gst-libs/controller.c:
23525 Header include fix.
23526 * gst/base/gstbasetransform.c:
23527 (gst_base_transform_default_prepare_buf),
23528 (gst_base_transform_handle_buffer):
23529 * gst/base/gstbasetransform.h:
23530 Some more basetransform changes and fixes to enable sub-classes
23531 that modify buffer metadata only.
23532 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23533 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23534 (gst_capsfilter_prepare_buf):
23535 If the output pad has fixed allowed caps and input buffers
23536 don't have any, set the fixed caps on outgoing buffers.
23538 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23539 * check/elements/identity.c: (GST_START_TEST):
23540 Make the error a little clearer when the test fails because
23541 identity made a copy of the buffer.
23542 * docs/gst/gstreamer-sections.txt:
23543 New symbols in gstbasetransform.h
23544 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23545 (gst_base_transform_init), (gst_base_transform_transform_size),
23546 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23547 (gst_base_transform_default_prepare_buf),
23548 (gst_base_transform_get_unit_size),
23549 (gst_base_transform_buffer_alloc),
23550 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23551 (gst_base_transform_change_state),
23552 (gst_base_transform_set_passthrough),
23553 (gst_base_transform_set_in_place),
23554 (gst_base_transform_is_in_place):
23555 * gst/base/gstbasetransform.h:
23556 Change BaseTransform to separate in_place operate from same_caps
23557 output. in_place implies that the element can perform the transform
23558 on incoming buffers in-place, even if the caps on the output are
23560 Sub-class elements can now implement special buffer allocation
23561 methods for outgoing buffers if they wish to.
23562 Big documentation addition.
23563 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23564 * gst/elements/gstelements.c:
23565 Changes for basetransform modifications.
23566 * gst/elements/Makefile.am:
23567 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23568 Compile fix. Extra debug output.
23570 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23572 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23574 add tests for valid pad naming
23575 * gst/check/gstcheck.c: (gst_check_log_message_func),
23576 (gst_check_log_critical_func):
23578 remove printing of code, it is fragile when the code contains
23579 % and the line number is enough info
23580 * gst/check/gstcheck.h:
23581 * gst/gstpad.c: (gst_pad_template_new):
23584 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23587 say what CHECK flags we use
23588 * docs/libs/gstreamer-libs.types:
23589 * libs/gst/controller/Makefile.am:
23590 * libs/gst/controller/gst-controller.c:
23591 * libs/gst/controller/gst-controller.h:
23592 * libs/gst/controller/gst-helper.c:
23593 * libs/gst/controller/gst-interpolation.c:
23594 * libs/gst/controller/gstcontroller.c:
23595 * libs/gst/controller/gsthelper.c:
23596 * libs/gst/controller/gstinterpolation.c:
23597 * tools/gst-inspect.c: (print_plugin_info):
23598 we don't use dashes in header names
23600 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23602 * check/Makefile.am:
23603 * check/gst/.cvsignore:
23604 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23605 (gst_pipeline_suite), (main):
23606 adding a test for pipelines and state changes
23607 * gst/gstutils.c: (get_state_func):
23609 * gstreamer.spec.in:
23612 2005-09-08 Michael Smith <msmith@fluendo.com>
23614 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23615 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23616 (gst_file_src_is_seekable), (gst_file_src_get_size),
23617 (gst_file_src_start):
23618 * gst/elements/gstfilesrc.h:
23619 Various fixes for unseekable, unmmapable, and non-normal files, so
23620 that fallback to read() rather than mmap() works.
23621 * gst/gstevent.c: (gst_event_new_newsegment):
23622 Allow newsegment events with segment_start == segment_end, as will
23623 correctly happen if you use filesrc on a zero-size file, for
23626 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23628 * gst/gstplugin.c: (gst_plugin_load_file):
23629 Call g_module_close when we don't load the module
23631 * gst/registries/gstlibxmlregistry.c:
23632 (gst_xml_registry_get_property):
23633 Port leak fix from 0.8
23635 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23637 * docs/gst/gstreamer-docs.sgml:
23638 * docs/gst/tmpl/.cvsignore:
23639 * docs/gst/tmpl/gsttrace.sgml:
23640 * docs/gst/tmpl/gsttrashstack.sgml:
23643 * gst/gstelement.h:
23645 * gst/gstmessage.c:
23646 * gst/gstmessage.h:
23649 * gst/gsttaginterface.c:
23650 * gst/gsttaginterface.h:
23651 * gst/gsttaglist.c:
23652 * gst/gsttaglist.h:
23653 * gst/gsttagsetter.c:
23654 * gst/gsttagsetter.h:
23657 * gst/gsttrashstack.c:
23658 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23659 inlined docs for gsttrace, gsttrashstack
23661 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23664 * gst/elements/gstbufferstore.h:
23665 * gst/elements/gsttypefindelement.c:
23666 * gst/elements/gsttypefindelement.h:
23668 * gst/gsttypefind.c:
23669 * gst/gsttypefind.h:
23670 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23671 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23672 (gst_type_find_factory_dispose),
23673 (gst_type_find_factory_unload_thyself),
23674 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23675 (gst_type_find_factory_get_caps),
23676 (gst_type_find_factory_get_extensions),
23677 (gst_type_find_factory_call_function):
23678 * gst/gsttypefindfactory.h:
23679 * gst/registries/gstlibxmlregistry.c:
23680 * gst/registries/gstxmlregistry.c:
23681 splitted gsttypefind into gsttypefind, gsttypefindfactory
23683 2005-09-07 Andy Wingo <wingo@pobox.com>
23685 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23686 condition whereby the pad's task function is entered before the
23687 pad_mode variable was set.
23689 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23691 * gst/gstpad.c: (gst_pad_alloc_buffer):
23692 Catch misbehaving pad_alloc functions that don't
23693 set up caps and do it for them.
23695 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23697 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23698 test for pipe!=NULL
23699 * docs/gst/tmpl/.cvsignore:
23700 * docs/gst/tmpl/gstmemchunk.sgml:
23701 * docs/gst/tmpl/gstparse.sgml:
23702 * docs/gst/tmpl/gsttaglist.sgml:
23703 * docs/gst/tmpl/gsttagsetter.sgml:
23704 * docs/gst/tmpl/gsttypefind.sgml:
23705 * docs/gst/tmpl/gsttypefindfactory.sgml:
23706 * gst/gstmemchunk.c:
23709 * gst/gsttaginterface.c:
23710 * gst/gsttypefind.c:
23711 * gst/gsttypefind.h:
23714 === release 0.9.2 ===
23716 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23721 releasing 0.9.2, "South"
23723 2005-09-05 Andy Wingo <wingo@pobox.com>
23725 * gst/registries/gstxmlregistry.h:
23726 * gst/registries/gstxmlregistry.c: Um... resurrect...
23728 * gst/registries/gstxmlregistry.h:
23729 * gst/registries/gstxmlregistry.c: and update to newer API.
23730 Incidentally they should be a bit faster now that they don't have
23733 2005-09-05 Andy Wingo <wingo@pobox.com>
23735 * gst/registries/gstxmlregistry.h:
23736 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23737 replaced by the libxml registry a while back
23739 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23741 * docs/gst/tmpl/gstplugin.sgml:
23742 * gst/elements/gstelements.c:
23744 * gst/gstplugin.c: (gst_plugin_register_func),
23745 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23746 (gst_plugin_get_source):
23748 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23749 (gst_xml_registry_save_plugin):
23750 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23751 (gst_xml_registry_save_plugin):
23752 * tools/gst-inspect.c: (print_plugin_info):
23753 add a "source" plugin description field, to represent the source
23754 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23755 will set it to PACKAGE, which is automake's idea of the name of
23756 the source project.
23758 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23763 * docs/Makefile.am:
23764 * docs/faq/Makefile.am:
23765 * docs/gst/tmpl/gstelement.sgml:
23766 * docs/gst/tmpl/gsttypes.sgml:
23767 * docs/htmlinstall.mak:
23768 * docs/manual/Makefile.am:
23769 * docs/pwg/Makefile.am:
23770 reorganize doc build a little
23771 split out docbook and gtk-doc stuff
23772 have two separate --enable's and enable them through autogen
23773 but disable by default in configure (to be similar to other
23775 * gstreamer.spec.in:
23776 clean up docs install
23794 translation updates
23796 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23798 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23801 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23802 (gst_fake_sink_change_state):
23803 Make state change function thread-safe.
23805 * gst/gstpad.c: (gst_pad_alloc_buffer):
23806 Set offset on generic buffer allocated by fallback.
23808 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23810 * docs/gst/gstreamer-sections.txt:
23811 * docs/gst/tmpl/gstelement.sgml:
23813 * libs/gst/controller/gst-controller.c:
23814 (gst_controlled_property_set_interpolation_mode),
23815 (gst_controlled_property_new),
23816 (gst_controller_find_controlled_property):
23817 run the wingo-magic script against the docs
23819 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23821 * docs/gst/gstreamer-docs.sgml:
23822 * docs/gst/gstreamer-sections.txt:
23823 * docs/gst/tmpl/.cvsignore:
23824 * docs/gst/tmpl/gstelementdetails.sgml:
23825 * docs/gst/tmpl/gstelementfactory.sgml:
23828 * gst/gstelementfactory.c:
23829 * gst/gstelementfactory.h:
23830 merged elementdetails docs into elementfactory docs
23833 2005-09-02 Andy Wingo <wingo@pobox.com>
23835 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23836 consider this enum an enum and not a flags.
23838 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23840 * docs/gst/gstreamer-docs.sgml:
23841 * docs/gst/tmpl/.cvsignore:
23842 * docs/gst/tmpl/gstghostpad.sgml:
23843 * docs/gst/tmpl/gstiterator.sgml:
23844 * docs/gst/tmpl/gstmacros.sgml:
23845 * docs/gst/tmpl/gstrealpad.sgml:
23846 * docs/gst/tmpl/gstregistry.sgml:
23847 * docs/gst/tmpl/gstregistrypool.sgml:
23848 * docs/gst/tmpl/gststructure.sgml:
23849 * docs/gst/tmpl/gstsystemclock.sgml:
23850 * docs/gst/tmpl/gsttrace.sgml:
23851 * gst/gstghostpad.c:
23853 * gst/gstmemchunk.c:
23854 * gst/gstmemchunk.h:
23856 * gst/gstregistry.c:
23857 * gst/gstregistrypool.c:
23858 * gst/gststructure.c:
23859 * gst/gstsystemclock.c:
23862 2005-09-02 Andy Wingo <wingo@pobox.com>
23864 * gst/gstelement.h (GstState): Renamed from GstElementState,
23865 changed to be a normal enum instead of flags.
23866 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23867 munged to be GST_STATE_CHANGE_*.
23868 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23869 work with the new state representation.
23870 (GstStateChange): New enumeration of possible state transitions.
23871 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23872 (GstElementClass::change_state): Pass the GstStateChange along as
23873 an argument. Helps language bindings, so they don't have to use
23874 tricky lock-needing macros like GST_STATE_CHANGE ().
23876 * scripts/update-states (file): New script. Run it on a file to
23877 update it for state naming and API changes. Updates files in
23880 * All files updated for the new API.
23882 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23884 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23885 * gst/gstutils.c: (gst_util_set_value_from_string),
23886 (gst_util_set_object_arg):
23887 fix a bunch of unchecked return values
23888 * tools/gst-complete.c: (main):
23889 * gstreamer.spec.in:
23892 2005-09-01 Wim Taymans <wim@fluendo.com>
23894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23895 (gst_base_sink_event), (gst_base_sink_do_sync),
23896 (gst_base_sink_handle_event):
23897 * gst/base/gstbasesink.h:
23898 Handle newsegments more correctly.
23903 * gst/gstevent.c: (gst_event_new_newsegment):
23904 A newsegment cannot have a start_time of -1
23906 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23908 * win32/gstenumtypes.c:
23909 * win32/gstenumtypes.h:
23912 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23914 * libs/gst/controller/gst-controller.c:
23915 (gst_controlled_property_set_interpolation_mode),
23916 (gst_controlled_property_new):
23917 fixed boolean again
23919 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23921 * docs/faq/gst-uninstalled:
23926 * gst/gstutils.c: (gst_element_link_filtered):
23928 add gst_element_link_filtered
23930 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23932 * docs/gst/gstreamer-docs.sgml:
23933 * docs/gst/gstreamer-sections.txt:
23934 * docs/gst/tmpl/.cvsignore:
23935 * docs/gst/tmpl/gsterror.sgml:
23936 * docs/gst/tmpl/gstfilter.sgml:
23937 * docs/gst/tmpl/gsturihandler.sgml:
23938 * docs/gst/tmpl/gsturitype.sgml:
23939 * docs/gst/tmpl/gstutils.sgml:
23940 * docs/gst/tmpl/gstxml.sgml:
23945 * gst/gsturitype.c:
23948 inlined more docs, fixed double id-ref
23950 2005-08-31 Wim Taymans <wim@fluendo.com>
23952 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23953 (gst_base_transform_handle_buffer):
23954 Passthrough elements don't need the caps as they don't care.
23956 2005-08-31 Wim Taymans <wim@fluendo.com>
23958 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23959 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23960 Don't leak refcounts on buffers.
23962 2005-08-31 Wim Taymans <wim@fluendo.com>
23964 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23965 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23966 (gst_base_transform_chain), (gst_base_transform_change_state):
23967 * gst/base/gstbasetransform.h:
23968 Handle the case where we are not negotiated more gracefully.
23970 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23972 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23973 (gst_file_src_map_region):
23974 Set READONLY flag on mmap'ed buffers, otherwise
23975 gst_buffer_make_writable() won't work properly (#314708).
23977 2005-08-31 Wim Taymans <wim@fluendo.com>
23979 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23980 passthrough elements can even do inplace on non writable
23981 buffers (as they don't touch them).
23983 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23985 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23986 (gst_test_mono_source_set_property),
23987 (gst_test_mono_source_class_init), (GST_START_TEST),
23988 (gst_controller_suite):
23989 more tests (hehe I have the most)
23991 describe popping messages whenusing mulltiple sources
23992 * libs/gst/controller/gst-controller.c:
23993 (gst_controlled_property_set_interpolation_mode),
23994 (gst_controlled_property_new):
23995 * libs/gst/controller/gst-controller.h:
23996 * libs/gst/controller/gst-interpolation.c:
23997 implement boolean properties
23999 2005-08-31 Wim Taymans <wim@fluendo.com>
24001 * gst/gstminiobject.c: (gst_mini_object_ref):
24002 Cannot assert that the refcount has to be positive
24003 since a disposed object can be resurrected.
24005 2005-08-31 Wim Taymans <wim@fluendo.com>
24007 * gst/gstpad.c: (gst_pad_init):
24008 Revert change, need to first fix badly behaving
24011 2005-08-30 Wim Taymans <wim@fluendo.com>
24013 * check/elements/fakesrc.c: (setup_fakesrc):
24014 * check/elements/identity.c: (setup_identity):
24015 Activate pads before using them.
24017 2005-08-30 Wim Taymans <wim@fluendo.com>
24019 * gst/base/gstadapter.c: (gst_adapter_flush):
24020 Flushing out 0 bytes is ok for this function.
24022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24023 no newsegment gives a warning and sets the start/stop to
24026 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24027 (gst_base_transform_set_passthrough):
24030 * gst/gstminiobject.c: (gst_mini_object_ref):
24031 Check refcount here too.
24033 * gst/gstpad.c: (gst_pad_init):
24034 Pads are initially flushing and refusing data.
24036 * gst/gstutils.c: (gst_element_link_pads_filtered):
24037 When adding a capsfilter element make sure it has the
24038 same state as the parent bin.
24040 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24042 * docs/gst/tmpl/.cvsignore:
24043 * docs/gst/tmpl/gstformat.sgml:
24044 * docs/gst/tmpl/gstversion.sgml:
24048 * gst/gstversion.h.in:
24049 more docs and two more inlined
24051 2005-08-30 Wim Taymans <wim@fluendo.com>
24053 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24054 Don't sync to clock.
24056 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24058 * docs/gst/gstreamer-sections.txt:
24059 ultral33t func10ns deserve to appear in the docs actually
24060 * docs/gst/tmpl/.cvsignore:
24061 * docs/gst/tmpl/gstcompat.sgml:
24062 * docs/gst/tmpl/gstconfig.sgml:
24063 * gst/check/gstcheck.c:
24065 * gst/gstconfig.h.in:
24068 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24070 * docs/gst/tmpl/.cvsignore:
24071 * docs/gst/tmpl/gstquery.sgml:
24072 * docs/gst/tmpl/gstutils.sgml:
24075 inlined and extended docs
24077 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24079 * check/gst-libs/controller.c: (GST_START_TEST),
24080 (gst_controller_suite):
24082 * docs/gst/tmpl/gstutils.sgml:
24083 * docs/libs/gstreamer-libs-sections.txt:
24084 * docs/libs/tmpl/gstdataprotocol.sgml:
24086 * examples/controller/audio-example.c: (main):
24087 controller example works now
24090 * tools/gst-inspect.c: (print_element_properties_info):
24091 show param spec flags
24093 2005-08-29 Andy Wingo <wingo@pobox.com>
24095 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24097 2005-08-28 Andy Wingo <wingo@pobox.com>
24099 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24100 as having two arguments instead of just one. Allows superclasses
24101 to access information on subclasses -- see the terrible for() loop
24102 in gtype.c:g_type_create_instance for the reason why. All callers
24105 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24107 * docs/design/part-messages.txt:
24109 * docs/gst/tmpl/.cvsignore:
24110 * docs/gst/tmpl/gstcaps.sgml:
24111 * docs/gst/tmpl/gstclock.sgml:
24117 * gst/gstmessage.c:
24118 added descriptions for bus and message
24119 inline caps and clock docs
24121 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24123 * gst/gstmessage.c:
24124 * gst/gstmessage.h:
24127 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24129 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24132 2005-08-26 Andy Wingo <wingo@pobox.com>
24134 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24135 element_set_state's return val.
24136 (test_2_elements): Add test that's been disabled for months.
24138 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24139 can-activate-pull properties.
24141 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24142 can-activate-pull properties. Implement is_seekable so fakesrc can
24143 operate in pull mode.
24145 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24147 (gst_base_sink_activate, gst_base_sink_activate_pull)
24148 (gst_base_sink_activate_push): Make activation mode choosing work.
24150 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24151 is right. Make pull mode work. Post an eos before pausing in pull
24153 (gst_base_sink_change_state): Pay attention to the core's
24154 change_state() return val.
24156 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24157 has-getrange properties. Cleanups.
24159 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24160 has_getrange and replace with can_activate_pull and
24163 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24164 locking comments. Remove has_loop, has_chain and replace with
24165 can_activate_pull and can_activate_push.
24167 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24170 * examples/Makefile.am:
24171 * examples/metadata/Makefile.am:
24172 * examples/metadata/read-metadata.c: (message_loop),
24173 (have_pad_handler), (make_pipeline), (print_tag), (main):
24174 Add metadata reading example that loops over a list of filenames,
24175 dumping any tags found.
24177 * gst/gstbus.c: (gst_bus_dispose):
24178 * gst/gstelement.c: (gst_element_dispose):
24179 Release a few potentially-held references in dispose.
24181 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24183 * docs/gst/tmpl/gstminiobject.sgml:
24184 do *not* add tmpl/*.sgml files to CVS!
24186 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24188 * libs/gst/bytestream/.cvsignore:
24189 * libs/gst/bytestream/Makefile.am:
24190 * libs/gst/bytestream/adapter.c:
24191 * libs/gst/bytestream/adapter.h:
24192 * libs/gst/bytestream/bytestream.c:
24193 * libs/gst/bytestream/bytestream.h:
24194 * libs/gst/bytestream/filepad.c:
24195 * libs/gst/bytestream/filepad.h:
24196 removing obsolete files
24198 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24200 * docs/gst/gstreamer-docs.sgml:
24201 * docs/libs/gstreamer-libs-docs.sgml:
24202 disabed additional index entries again, as this makes docs-gen just
24203 slow and they aren't useful yet
24204 * docs/libs/gstreamer-libs-sections.txt:
24205 little -section.txt cleanup for libs
24207 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24209 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24210 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24211 fix up some debugging
24212 (gst_base_transform_get_unit_size),
24213 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24214 (gst_base_transform_handle_buffer):
24215 * gst/base/gstbasetransform.h:
24216 handle and store timed NEWSEGMENT events so that subclasses that
24217 calculate time by counting samples have a segment_start time they
24218 need to add to their timestamps - see audioresample
24220 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24223 removed ';' from the end of macro defs
24224 * docs/gst/gstreamer-docs.sgml:
24225 * docs/gst/gstreamer-sections.txt:
24226 * docs/gst/tmpl/.cvsignore:
24228 * gst/gstelement.c: (gst_element_class_init),
24229 (gst_element_set_state), (activate_pads),
24230 (gst_element_save_thyself):
24231 * gst/gstevent.c: (gst_event_new_newsegment):
24233 * gst/gstiterator.c:
24234 * gst/gstiterator.h:
24237 * gst/gstutils.c: (gst_pad_query_convert):
24239 fixed parameter name mismatches between source, header and docs
24240 added some more docs, resolved the last batch of unused elements in
24241 docs (now someone needs to doc them)
24243 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24245 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24246 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24247 don't walk through the plugins backwards. Where is all this
24248 reversed logic coming from ?
24250 2005-08-25 Wim Taymans <wim@fluendo.com>
24252 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24253 (gst_base_transform_transform_size),
24254 (gst_base_transform_configure_caps),
24255 (gst_base_transform_get_unit_size),
24256 (gst_base_transform_buffer_alloc),
24257 (gst_base_transform_change_state):
24258 * gst/base/gstbasetransform.h:
24259 Cache caps unit_size.
24260 Make sure we cannot negotiate up and downstream at the
24263 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24265 * gst/gst.c: (init_pre), (init_post):
24266 register the installed plugin path after the env var
24267 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24268 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24269 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24270 directories, so the tests can prefer uninstalled over installed
24272 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24274 * gst/base/gstbasetransform.h:
24279 2005-08-25 Wim Taymans <wim@fluendo.com>
24281 * gst/gstbin.c: (bin_bus_handler):
24282 Be a bit more conservative about the posted message.
24284 * gst/gstbus.c: (gst_bus_post):
24285 Some cleanups, warn wrong return values.
24287 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24289 * check/gst/gstbin.c: (GST_START_TEST):
24290 * gst/gstbin.c: (bin_bus_handler):
24291 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24292 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24293 (gst_message_new_warning), (gst_message_new_tag),
24294 (gst_message_new_state_changed), (gst_message_new_segment_start),
24295 (gst_message_new_segment_done), (gst_message_new_custom):
24296 * gst/gstmessage.h:
24297 * tools/gst-launch.c: (event_loop):
24298 * tools/gst-md5sum.c: (event_loop):
24299 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24301 2005-08-25 Wim Taymans <wim@fluendo.com>
24303 * check/generic/states.c: (GST_START_TEST):
24304 Cleanup can be done at the end.
24306 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24307 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24308 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24309 Oh boy.. Thanks for finding this, Thomas.
24311 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24313 * docs/gst/gstreamer.types:
24314 added missing types
24316 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24318 * docs/gst/gstreamer-docs.sgml:
24319 * docs/gst/gstreamer-sections.txt:
24320 * docs/gst/tmpl/.cvsignore:
24322 * gst/gstiterator.c:
24324 * gst/registries/gstxmlregistry.h:
24325 added missing classes and symbols (123 more to go)
24326 removed removed symbols from section file
24327 fixed many doc-comments
24329 2005-08-24 Wim Taymans <wim@fluendo.com>
24331 * check/generic/states.c: (GST_START_TEST):
24332 Make sure all tasks are stopped.
24334 * check/gst/gstbin.c: (GST_START_TEST):
24335 Unref after usage for proper valgrinding.
24337 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24338 Really wait for the task to stop before destroying the
24341 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24342 (gst_queue_src_activate_push):
24343 Small cleanups. Don't stop the task when we did not start
24346 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24347 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24348 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24351 Protect the stream lock with the object lock.
24352 Disallow setting the stream lock when running.
24353 Add cleanup_all to wait for the threadpool to finish.
24354 Remove code to autoallocate a mutex if none was provided.
24355 Add _join() to wait for a task to stop.
24356 Protect the thread pool with a global lock.
24358 2005-08-24 Wim Taymans <wim@fluendo.com>
24360 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24361 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24362 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24363 * gst/base/gstbasesink.h:
24364 Handle newsegment events correctly.
24365 Drop buffers out of the segment range.
24367 2005-08-22 Andy Wingo <wingo@pobox.com>
24369 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24370 macro, implements an interface and gstimplementsinterface for a
24373 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24375 * check/Makefile.am:
24376 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24377 add a test that does a bunch of state changes on elements
24378 needs some fixing for valgrind
24379 * check/states/sinks.c: (gst_object_suite):
24382 add prototype for gst_caps_is_equal_fixed
24384 * gst/gstregistrypool.c:
24387 2005-08-24 Andy Wingo <wingo@pobox.com>
24389 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24390 convert a negative value. Doesn't make much sense. Mostly this is
24391 here to force callers to ensure -1 maps to -1.
24393 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24395 * docs/pwg/advanced-types.xml:
24396 Well done to Michael for catching my deliberate introduction
24397 of this spelling mistake.
24398 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24399 * gst/gstelement.h:
24400 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24401 unlink pads before removing the element from the bin.
24403 2005-08-24 Andy Wingo <wingo@pobox.com>
24405 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24406 the same thing as GST_DEBUG=*:4.
24407 (parse_debug_level, parse_debug_category): New helper parsers.
24409 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24411 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24412 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24413 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24414 (gst_base_transform_buffer_alloc),
24415 (gst_base_transform_handle_buffer):
24416 use gboolean return values and pointers to size so we can use the
24417 full GST_BUFFER_SIZE range (guint) for buffer sizes
24418 use GstPadDirection for transform_caps
24419 * gst/base/gstbasetransform.h:
24420 rename get_size to get_unit_size since that's what it is
24421 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24422 use GstPadDirection for transform_caps
24423 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24425 cleanup and debugging
24427 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24429 * gst/gstelement.c: (gst_element_class_init),
24430 (gst_element_set_state), (activate_pads),
24431 (gst_element_save_thyself):
24432 * tools/gst-compprep.c: (main):
24433 * tools/gst-inspect.c: (print_element_properties_info):
24434 * tools/gst-xmlinspect.c: (print_element_properties):
24435 Fixed long standing mem-leak
24437 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24439 * check/gst/gstbin.c: (GST_START_TEST):
24440 * gst/gstbin.c: (bin_bus_handler):
24441 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24442 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24443 (gst_message_new_warning), (gst_message_new_tag),
24444 (gst_message_new_state_changed), (gst_message_new_segment_start),
24445 (gst_message_new_segment_done), (gst_message_new_custom):
24446 * gst/gstmessage.h:
24447 * tools/gst-launch.c: (event_loop):
24448 * tools/gst-md5sum.c: (event_loop):
24449 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24450 that applications can sensibly post custom messages with references
24451 to their own objects.
24453 2005-08-24 Andy Wingo <wingo@pobox.com>
24455 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24458 2005-08-24 Wim Taymans <wim@fluendo.com>
24460 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24461 (gst_base_transform_transform_caps),
24462 (gst_base_transform_transform_size),
24463 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24464 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24465 (gst_base_transform_handle_buffer):
24466 * gst/base/gstbasetransform.h:
24467 Many fixes and new features added by Thomas. Can now also do
24468 transforms with variable sizes and a custom fixate_caps function.
24470 2005-08-24 Wim Taymans <wim@fluendo.com>
24472 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24476 Cast to ClockTime before formatting to time.
24481 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24483 * check/gst-libs/controller.c: (GST_START_TEST),
24484 (gst_controller_suite):
24485 * docs/gst/tmpl/gstcaps.sgml:
24486 * docs/gst/tmpl/gstghostpad.sgml:
24487 * docs/gst/tmpl/gstquery.sgml:
24488 * docs/gst/tmpl/gstutils.sgml:
24489 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24490 (gst_object_sink_values), (gst_object_get_value_arrays),
24491 (gst_object_get_value_array):
24492 gracefully handle helper method calls to objects that are not beeing
24493 controlled, added test case for that
24495 2005-08-23 Wim Taymans <wim@fluendo.com>
24497 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24498 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24499 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24500 (gst_event_parse_qos), (gst_event_new_seek),
24501 (gst_event_parse_seek):
24503 Some more debugging output and doc cleanups.
24505 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24506 Fix possible deadlock.
24508 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24510 * docs/gst/gstreamer-docs.sgml:
24511 * docs/gst/gstreamer-sections.txt:
24512 * docs/gst/gstreamer.types:
24513 * docs/gst/tmpl/.cvsignore:
24516 * gst/gstelement.c:
24518 added 100 symbols from gstreamer-unused.txt to the right sections
24519 fixed more broken comments
24520 added GstBus to docs
24522 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24524 * docs/gst/gstreamer-sections.txt:
24525 * docs/gst/tmpl/.cvsignore:
24526 * docs/gst/tmpl/gstbin.sgml:
24527 * docs/gst/tmpl/gstbuffer.sgml:
24528 * gst/base/gstbasesrc.c:
24529 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24532 * tools/gst-launch.1.in:
24533 inlined more doc comments, added missing comments and fixed comments
24536 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24538 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24542 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24544 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24545 * gst/gststructure.h:
24546 add a fixate function for booleans; add a FIXME that these func
24547 names should probably be gst_structure_fixate_*
24549 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24551 * docs/gst/gstreamer-docs.sgml:
24552 * docs/gst/gstreamer-sections.txt:
24554 * gst/gstbin.c: (gst_bin_get_type),
24555 (gst_bin_child_proxy_get_child_by_index),
24556 (gst_bin_child_proxy_get_children_count),
24557 (gst_bin_child_proxy_init):
24558 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24559 (gst_child_proxy_get_child_by_index),
24560 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24561 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24562 (gst_child_proxy_get), (gst_child_proxy_set_property),
24563 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24564 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24565 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24566 * gst/gstchildproxy.h:
24567 * gst/parse/grammar.y:
24568 * tools/gst-inspect.c: (print_interfaces),
24569 (print_element_properties_info), (print_element_info):
24570 ported gstchildproxy over from 0.8
24571 ported gst-inspect fixes and enhancements over from 0.8
24573 2005-08-22 Wim Taymans <wim@fluendo.com>
24575 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24576 (gst_base_transform_handle_buffer):
24577 Also call the transform function if we have ANY caps.
24579 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24582 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24584 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24585 Don't pretend to handle seek events if the source is not seekable
24587 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24590 Remove extra parameter to debug output
24592 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24593 (gst_base_src_do_seek), (gst_base_src_activate_push):
24594 Fix seek event handling.
24596 * gst/gstpipeline.c: (gst_pipeline_change_state):
24597 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24598 (gst_queue_src_activate_push):
24599 Don't start the src pad task on FLUSH_STOP if the pad
24603 2005-08-22 Wim Taymans <wim@fluendo.com>
24605 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24606 Added check for gst_static_caps_get() refcounting.
24608 2005-08-22 Wim Taymans <wim@fluendo.com>
24610 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24611 Make _static_caps_get() refcounting sane.
24613 * gst/gstelement.c: (gst_element_set_state):
24614 Add g_return_val_if_fail() to protect against segfaults.
24616 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24618 * docs/gst/tmpl/gstevent.sgml:
24621 inlined remaining docs, added missing doc comments
24623 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24625 * check/gst/gstbin.c: (GST_START_TEST):
24626 since we don't know when preroll is done, use refcount range
24628 * gst/check/gstcheck.h:
24629 add macro for checking refcount range
24631 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24633 * check/Makefile.am:
24634 clean up environment for when registry gets built versus
24635 when actual tests are run; valgrind seems to not report
24636 leaks if GST_PLUGIN_PATH is set to some specific values
24637 * check/gst/gstbin.c: (GST_START_TEST):
24638 add more refcounting checks; maybe this exposes a
24640 * common/check.mak:
24641 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24642 * gst/check/gstcheck.h:
24643 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24644 (gst_bin_change_state):
24645 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24646 add/fix debugging/whitespace
24648 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24650 * check/gst/gstevent.c: (event_probe), (test_event),
24652 Er, don't call gst_bin_watch_for_state_change you idiot.
24654 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24656 * check/Makefile.am:
24657 Use CHECK_CFLAGS and CHECK_LIBS
24658 * check/gst/gstevent.c: (event_probe), (test_event),
24661 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24662 (gst_base_src_start), (gst_base_src_stop),
24663 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24664 (gst_base_src_change_state):
24665 Sprinkle gst_base_src_stop liberally around error paths to fix
24666 problems reusing a source after failed state changes.
24667 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24668 (helper_find_suggest), (gst_type_find_helper):
24669 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24671 * docs/gst/tmpl/gstevent.sgml:
24672 Migrate part of the docs from the SGML file. Wait for ensonic to
24673 tell me how I did it wrong ;)
24674 * tools/gst-typefind.c: (main):
24675 Extra robustness to state changes between files.
24677 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24679 * check/Makefile.am:
24680 don't valgrind the controller test - it's leaking - Stefan, HELP
24681 * gst/check/gstcheck.c: (gst_check_message_error),
24682 (gst_check_chain_func), (gst_check_setup_element),
24683 (gst_check_teardown_element), (gst_check_setup_src_pad),
24684 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24685 (gst_check_teardown_sink_pad):
24686 * gst/check/gstcheck.h:
24687 add a bunch of methods to set up elements, and src and sink pads
24688 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24689 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24692 * gst/gstmessage.c:
24694 whitespace/doc fixes
24696 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24698 * gst/gstelement.h:
24699 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24700 be handled by the application and not always printed as well
24702 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24704 * check/Makefile.am:
24706 * gst/check/gstcheck.c: (gst_check_message_error):
24707 * gst/check/gstcheck.h:
24708 add a fail_unless_equals_int
24709 add fail_unless for error messages
24711 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24713 * check/Makefile.am:
24715 * common/Makefile.am:
24716 * common/check.mak:
24718 factor out some of the common stuff so we can use it
24720 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24722 * check/Makefile.am:
24723 * check/gst/gstiterator.c: (GST_START_TEST):
24724 * check/gst/gstsystemclock.c: (GST_START_TEST),
24725 (gst_systemclock_suite):
24726 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24728 valgrind more tests
24730 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24732 * check/elements/.cvsignore:
24733 * check/elements/gstfakesrc.c:
24734 rename to name of element
24735 * check/elements/identity.c: (chain_func), (event_func),
24736 (setup_identity), (cleanup_identity), (GST_START_TEST),
24737 (identity_suite), (main):
24738 add a test for identity
24739 * check/Makefile.am:
24740 * pkgconfig/Makefile.am:
24741 * pkgconfig/gstreamer-check.pc.in:
24742 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24746 move the check stuff to a library that gets installed
24747 * check/gst-libs/controller.c: (GST_START_TEST):
24748 * check/gst-libs/gdp.c:
24749 * check/gst/gst.c: (GST_START_TEST):
24750 * check/gst/gstbin.c:
24751 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24752 * check/gst/gstbus.c:
24753 * check/gst/gstcaps.c: (GST_START_TEST):
24754 * check/gst/gstelement.c:
24755 * check/gst/gstghostpad.c:
24756 * check/gst/gstiterator.c:
24757 * check/gst/gstmessage.c:
24758 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24759 * check/gst/gstobject.c:
24760 * check/gst/gstpad.c: (GST_START_TEST):
24761 * check/gst/gststructure.c: (GST_START_TEST):
24762 * check/gst/gstsystemclock.c: (GST_START_TEST),
24763 (gst_systemclock_suite):
24764 * check/gst/gsttag.c: (gst_tag_suite):
24765 * check/gst/gstvalue.c:
24766 * check/pipelines/cleanup.c:
24767 * check/pipelines/simple_launch_lines.c:
24768 * check/states/sinks.c:
24769 change include statement
24771 * docs/gst/gstreamer-sections.txt:
24772 * docs/gst/tmpl/gstpad.sgml:
24773 document more pad stuff
24774 * gst/gstminiobject.c: (gst_mini_object_ref),
24775 (gst_mini_object_unref):
24778 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24780 * docs/gst/tmpl/gst.sgml:
24782 eliminate another tmpl file, fix spelling in the long-description
24784 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24786 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24787 (test_event), (timediff), (gstevents_suite):
24788 Should fix build on 64-bit arch's
24790 2005-08-18 Andy Wingo <wingo@pobox.com>
24792 Make sure that when a pipeline goes to PLAYING, that data has
24793 actually hit the sink.
24795 * check/states/sinks.c (test_sink): A sink that doesn't get any
24796 data shouldn't return SUCCESS for going to either PLAYING or
24797 PAUSED. Test also the return values on the way back down.
24799 * gst/gstelement.c (gst_element_set_state): When changing the
24800 state of an element currently changing state asynchronously, go to
24801 lost-state after commiting the pending state. Makes future calls
24802 to get_state continue to return ASYNC.
24804 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24805 ASYNC when going to PLAYING if we still don't have preroll, as can
24806 happen with live sources.
24808 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24810 * docs/pwg/advanced-types.xml:
24811 Hack long paragraph into 2 chunks as a workaround for buggy
24812 jadetex version in sid and breezy that loops infinitely and
24815 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24817 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24818 (test_event), (timediff), (gstevents_suite):
24819 Provide more error margin in clock measurements to allow for
24820 g_get_current_time inaccuracies.
24822 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24824 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24825 (test_event), (timediff), (gstevents_suite):
24826 Fix error message output so I might be able to tell why the
24827 test works here but fails on the build farm.
24829 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24831 * check/Makefile.am:
24832 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24833 (test_event), (timediff), (gstevents_suite), (main):
24836 * docs/design/part-seeking.txt:
24837 Spelling correction
24839 * docs/gst/tmpl/gstevent.sgml:
24840 * docs/gst/tmpl/gstfakesrc.sgml:
24843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24844 Treat a buffer-without-newsegment the same as a receiving
24845 a newsegment not in time format, and disable syncing to the clock
24848 * gst/gstbus.c: (gst_bus_set_sync_handler):
24849 Assert if anyone tries to replace the existing sync_handler for bus,
24850 as only the owner should be setting it.
24853 Have a fixed set of custom event enums with events identified by
24854 their structure name (as in 0.8), rather than a free-for-all
24855 allowing collisions between enum values from different plugins.
24857 * gst/gstpad.c: (gst_pad_class_init):
24860 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24861 Handle out-of-band downstream events from the sending thread.
24863 2005-08-17 Andy Wingo <wingo@pobox.com>
24865 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24866 play-timeout==0 to mean no timeout at all. In that case, don't
24867 bother with a get_state or a warning, just return directly, even
24870 * gst/base/gstbasetransform.c: Debug changes.
24873 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24874 ensure bins post state change messages. A bit of a hack but I can't
24875 think of a way to avoid it.
24877 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24879 2005-08-16 Andy Wingo <wingo@pobox.com>
24881 * gst/base/gstadapter.h:
24882 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24883 peek() but you own the data. Not terribly efficient atm.
24885 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24887 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24888 (gst_element_found_tags):
24890 Add two utility functions for tag handling.
24892 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24894 * docs/manual/advanced-dataaccess.xml:
24895 * docs/manual/basics-helloworld.xml:
24896 Fix docs to use _bin_add() before _link(), which fixes the examples
24897 with recent core versions (reported by Madhan Raj M
24898 <raj_madan@rediffmail.com>, #313199).
24900 2005-08-16 Wim Taymans <wim@fluendo.com>
24902 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24903 Added subtract checks.
24905 * docs/design/part-events.txt:
24906 Some more docs about newsegment
24908 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24911 * gst/gstcaps.c: (gst_caps_to_string):
24912 Add comments, cleanups.
24914 * gst/gstelement.c: (gst_element_save_thyself):
24917 * gst/gstvalue.c: (gst_value_collect_int_range),
24918 (gst_string_unwrap), (gst_value_union_int_int_range),
24919 (gst_value_union_int_range_int_range),
24920 (gst_value_intersect_int_int_range),
24921 (gst_value_intersect_int_range_int_range),
24922 (gst_value_intersect_double_double_range),
24923 (gst_value_intersect_double_range_double_range),
24924 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24925 (gst_value_subtract_int_range_int),
24926 (gst_value_subtract_double_range_double),
24927 (gst_value_subtract_double_range_double_range),
24928 (gst_value_subtract_from_list), (gst_value_subtract_list),
24929 (gst_value_can_compare), (gst_value_compare_fraction):
24930 Cleanups, add comments, remove unneeded asserts.
24932 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24934 * tools/gst-launch.c: (event_loop):
24935 don't convert NULL structures to strings
24937 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24939 * docs/gst/gstreamer-sections.txt:
24940 made some defines private
24941 * docs/gst/tmpl/gstconfig.sgml:
24942 * docs/gst/tmpl/gstqueue.sgml:
24943 * docs/gst/tmpl/gsttaglist.sgml:
24944 * docs/gst/tmpl/gsttypes.sgml:
24945 * docs/gst/tmpl/gstutils.sgml:
24946 * docs/pwg/appendix-porting.xml:
24947 * gst/base/gstbasesink.h:
24948 * gst/base/gstbasesrc.c:
24949 * gst/base/gstbasesrc.h:
24950 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24951 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24952 * gst/gstelement.c: (gst_element_class_init):
24953 * gst/gstpad.c: (gst_pad_class_init):
24954 * gst/gstqueue.c: (gst_queue_class_init):
24955 * gst/gstxml.c: (gst_xml_class_init):
24956 documented all undocumented signal inline
24957 * libs/gst/controller/gst-controller.h:
24960 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24962 * docs/pwg/appendix-porting.xml:
24963 Document _set_link_function -> _set_setcaps_function.
24965 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24967 * check/Makefile.am:
24968 add a .check target for running the check
24969 * check/gst-libs/controller.c: (GST_START_TEST):
24971 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24972 complete checks for gstbuffer; would be nice if I could get the
24973 gcov stuff to work so I can see if I actually completed gstbuffer.c
24974 * check/gstcheck.h:
24975 add ASSERT_BUFFER_REFCOUNT
24977 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24979 * docs/gst/gstreamer-sections.txt:
24980 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24982 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24983 spew out a warning if a tag that is already registered
24984 is re-registered, unless it is re-registered with a
24985 different type (#308438).
24987 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24989 * docs/pwg/appendix-porting.xml:
24990 * docs/pwg/building-state.xml:
24991 Add some paragraphs about state changes in 0.9 to the PWG
24992 and the porting guide, in particular about the new meaning
24993 of GST_STATE_PAUSED and how to write state change functions
24994 with concurrent access by multiple threads in mind.
24996 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24998 * docs/gst/gstreamer-docs.sgml:
24999 * docs/libs/gstreamer-libs-docs.sgml:
25000 added deprecation and since indexes
25001 * libs/gst/controller/gst-controller.c:
25002 * libs/gst/controller/gst-helper.c:
25006 2005-08-11 Wim Taymans <wim@fluendo.com>
25008 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25009 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25010 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25011 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25012 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25013 (gst_ghost_pad_set_target):
25014 Actually implement (re)setting the target on a ghostpad
25015 as described in the docs.
25017 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25019 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25020 Check whether GST_DEBUG_NO_COLOR environment variable is
25021 set and disable coloured debug output if that is the case.
25023 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25025 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25026 (gst_type_find_helper):
25027 The memory returned by gst_type_find_peek() needs to
25028 stay valid until the end of a typefind function, and
25029 typefind functions may keep results from different
25030 offsets around, so we can't just unref the buffer from
25031 the previous _peek(), but have to save all buffers
25032 returned by _peek() until typefinding is done and only
25035 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25037 * docs/gst/gstreamer-sections.txt:
25039 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25041 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25043 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25044 Fix a pretty good memleak.
25046 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25048 * gst/gstiterator.h:
25049 Fix wrong include and 'make distcheck'.
25051 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25053 * gst/gstbin.c: (bin_bus_handler):
25054 Use gst_element_post_message() instead.
25056 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25058 * gst/base/gstadapter.h:
25059 * gst/base/gstbasesink.h:
25060 * gst/base/gstbasesrc.h:
25061 * gst/base/gstbasetransform.h:
25062 * gst/base/gstcollectpads.h:
25063 * gst/base/gstpushsrc.h:
25064 * gst/gstiterator.h:
25065 Add padding to our base elements' class and instance structs and
25066 to GstIterator (you will need to rebuild all plugins and apps!)
25068 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25070 * gst/gstbin.c: (bin_bus_handler):
25071 Make default message forwarding from child->bus to bin->bus
25072 threadsafe and make it not emit warnings if the parent has no bus.
25074 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25076 * gst/gstelement.c: (activate_pads):
25077 On paused->ready, set pad->caps to NULL, as is the documented
25078 behaviour in this state change. Fixes playback of series of
25079 media files when visualization is enabled in Totem.
25081 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25083 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25084 Allow NULL as filter-caps (which means "any").
25086 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25088 * docs/libs/gstreamer-libs-sections.txt:
25089 * libs/gst/controller/gst-controller.c:
25090 * libs/gst/controller/gst-controller.h:
25091 * libs/gst/controller/gst-helper.c:
25092 adding more entries to the docs and fix small doc-bugs
25094 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25096 * docs/gst/gstreamer-docs.sgml:
25097 * docs/gst/gstreamer-sections.txt:
25098 * docs/gst/gstreamer.types:
25099 * docs/gst/tmpl/gstbasesink.sgml:
25100 * docs/gst/tmpl/gstbasesrc.sgml:
25101 * docs/gst/tmpl/gstbasetransform.sgml:
25102 * docs/gst/tmpl/gstfakesrc.sgml:
25103 * gst/base/gstcollectpads.c:
25104 * gst/base/gstcollectpads.h:
25105 * libs/gst/controller/gst-controller.c:
25106 * libs/gst/controller/gst-controller.h:
25107 * libs/gst/controller/gst-helper.c:
25108 * libs/gst/controller/gst-interpolation.c:
25109 * libs/gst/controller/lib.c:
25110 added long/short desc for controller docs
25111 added collectpads base class docs
25112 added correct includes to base-class docs
25114 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25116 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25117 (gst_test_mono_source_set_property),
25118 (gst_test_mono_source_class_init), (GST_START_TEST),
25119 (gst_controller_suite):
25120 * docs/gst/gstreamer-docs.sgml:
25121 * docs/gst/gstreamer-sections.txt:
25122 * docs/gst/gstreamer.types:
25123 * docs/libs/gstreamer-libs-docs.sgml:
25124 * docs/libs/gstreamer-libs-sections.txt:
25125 * gst/base/gstadapter.c:
25126 * libs/gst/controller/gst-controller.c:
25127 (gst_controlled_property_new), (gst_controlled_property_free),
25128 (gst_controller_new_valist),
25129 (gst_controller_remove_properties_valist),
25130 (gst_controller_sink_values), (_gst_controller_finalize):
25131 * libs/gst/controller/gst-controller.h:
25132 * libs/gst/controller/gst-helper.c:
25133 (gst_object_control_properties), (gst_object_uncontrol_properties),
25134 (gst_object_get_controller), (gst_object_set_controller),
25135 (gst_object_sink_values), (gst_object_get_value_arrays),
25136 (gst_object_get_value_array):
25137 more tests (and fixes) for the controller
25138 more docs for the controller
25139 integrated companies docs for the adapter
25141 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25143 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25144 (GST_START_TEST), (fakesrc_suite):
25145 add tests for sizetype
25147 2005-08-04 Andy Wingo <wingo@pobox.com>
25149 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25150 fixes buffer_alloc proxying among other things.
25152 * gst/base/gstbasetransform.c:
25153 * gst/base/gstbasetransform.h:
25154 Revert patch to gstbasetransform from 7-28 removing
25157 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25158 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25159 Semantics changed, should return not the size of the output buffer
25160 but the byte size of a buffer with a given caps.
25162 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25164 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25165 out) are not the pad caps until setcaps finishes.
25166 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25167 not-in-place case as well. Deal with changing from in-place to
25168 not-in-place within calling pad_alloc_buffer. Still a bit
25169 concerned about the overhead here...
25171 2005-08-03 Andy Wingo <wingo@pobox.com>
25173 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25174 fixating is an error.
25176 2005-08-04 Edward Hervey <edward@fluendo.com>
25178 * gst/base/gstadapter.h:
25179 Added gst_adapter_get_type() to the header
25181 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25183 * check/Makefile.am:
25184 * check/gst-libs/controller.c:
25185 * libs/gst/controller/gst-controller.c:
25186 (gst_controller_new_valist):
25187 added check test suite for the controller
25188 * gst/base/gstpushsrc.c:
25191 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25193 * docs/gst/Makefile.am:
25194 * docs/gst/gstreamer-docs.sgml:
25195 * docs/gst/gstreamer-sections.txt:
25196 * docs/gst/gstreamer.types:
25197 * docs/gst/tmpl/gstfakesrc.sgml:
25199 * gst/base/gstbasesink.c:
25200 * gst/base/gstbasesink.h:
25201 * gst/base/gstbasesrc.c:
25202 * gst/base/gstbasesrc.h:
25203 * gst/base/gstbasetransform.c:
25204 * gst/base/gstpushsrc.c:
25205 * gst/base/gstpushsrc.h:
25206 add short/long description docs to base classes
25207 add pushsrc to the docs
25208 remove consolidated doc fragments
25210 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25213 * docs/libs/Makefile.am:
25214 * docs/libs/gstreamer-libs-docs.sgml:
25215 * docs/libs/gstreamer-libs-sections.txt:
25216 * docs/libs/gstreamer-libs.types:
25217 * examples/Makefile.am:
25218 * examples/controller/.cvsignore:
25219 * examples/controller/Makefile.am:
25220 * examples/controller/audio-example.c: (main):
25221 * libs/gst/Makefile.am:
25222 * libs/gst/controller/.cvsignore:
25223 * libs/gst/controller/Makefile.am:
25224 * libs/gst/controller/gst-controller.c:
25225 (on_object_controlled_property_changed), (gst_timed_value_compare),
25226 (gst_timed_value_find),
25227 (gst_controlled_property_set_interpolation_mode),
25228 (gst_controlled_property_new), (gst_controlled_property_free),
25229 (gst_controller_find_controlled_property),
25230 (gst_controller_new_valist), (gst_controller_new),
25231 (gst_controller_remove_properties_valist),
25232 (gst_controller_remove_properties), (gst_controller_set),
25233 (gst_controller_set_from_list), (gst_controller_unset),
25234 (gst_controller_get), (gst_controller_get_all),
25235 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25236 (gst_controller_get_value_array),
25237 (gst_controller_set_interpolation_mode),
25238 (_gst_controller_finalize), (_gst_controller_init),
25239 (_gst_controller_class_init), (gst_controller_get_type):
25240 * libs/gst/controller/gst-controller.h:
25241 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25242 (g_object_uncontrol_properties), (g_object_get_controller),
25243 (g_object_set_controller), (g_object_sink_values),
25244 (g_object_get_value_arrays), (g_object_get_value_array):
25245 * libs/gst/controller/gst-interpolation.c:
25246 (gst_controlled_property_find_timed_value_node),
25247 (interpolate_none_get), (interpolate_trigger_get),
25248 (interpolate_trigger_get_value_array):
25249 * libs/gst/controller/lib.c: (gst_controller_init):
25250 * pkgconfig/Makefile.am:
25251 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25252 * pkgconfig/gstreamer-control.pc.in:
25253 * testsuite/Makefile.am:
25254 * testsuite/controller/.cvsignore:
25255 * testsuite/controller/Makefile.am:
25256 * testsuite/controller/interpolator.c: (main):
25257 added controller code
25258 removed dparam pc files
25260 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25261 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25262 (gst_collectpads_stop):
25263 Broadcast the condition when shutting down, to make sure we wake all
25264 threads up. Shut down pads on finalize, for safety.
25266 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25267 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25268 (gst_base_transform_handle_buffer),
25269 (gst_base_transform_change_state):
25270 Handle PAUSED->READY->PAUSED transition after negotiation
25272 * gst/gstmessage.c: (gst_message_init):
25273 Extra piece of debug for new messages.
25275 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25278 * docs/gst/tmpl/gstbasesrc.sgml:
25279 * docs/gst/tmpl/gstelement.sgml:
25280 * docs/gst/tmpl/gstevent.sgml:
25281 * docs/gst/tmpl/gstfakesrc.sgml:
25282 * docs/gst/tmpl/gstformat.sgml:
25283 * docs/gst/tmpl/gstghostpad.sgml:
25284 * docs/gst/tmpl/gstpad.sgml:
25285 * docs/gst/tmpl/gstquery.sgml:
25286 * docs/gst/tmpl/gststructure.sgml:
25287 * docs/gst/tmpl/gsttaglist.sgml:
25288 * docs/gst/tmpl/gstvalue.sgml:
25289 * docs/libs/gstreamer-libs-docs.sgml:
25290 * docs/libs/gstreamer-libs-sections.txt:
25291 * docs/libs/gstreamer-libs.types:
25292 * libs/gst/Makefile.am:
25293 * libs/gst/control/.cvsignore:
25294 * libs/gst/control/Makefile.am:
25295 * libs/gst/control/control.c:
25296 * libs/gst/control/control.h:
25297 * libs/gst/control/dparam.c:
25298 * libs/gst/control/dparam.h:
25299 * libs/gst/control/dparam_smooth.c:
25300 * libs/gst/control/dparam_smooth.h:
25301 * libs/gst/control/dparamcommon.h:
25302 * libs/gst/control/dparammanager.c:
25303 * libs/gst/control/dparammanager.h:
25304 * libs/gst/control/dplinearinterp.c:
25305 * libs/gst/control/dplinearinterp.h:
25306 * libs/gst/control/unitconvert.c:
25307 * libs/gst/control/unitconvert.h:
25308 * testsuite/Makefile.am:
25309 * testsuite/dynparams/.cvsignore:
25310 * testsuite/dynparams/Makefile.am:
25311 * testsuite/dynparams/dparamstest.c:
25312 * tools/Makefile.am:
25313 * tools/gst-inspect.c: (print_element_info), (main):
25314 * tools/gst-xmlinspect.c: (print_element_info), (main):
25315 deactivate and remove dparams (libgstcontrol)
25317 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25319 * gst/elements/gsttypefindelement.c:
25320 (gst_type_find_element_have_type), (gst_type_find_element_init),
25321 (stop_typefinding), (gst_type_find_element_handle_event),
25322 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25323 * gst/elements/gsttypefindelement.h:
25324 Set caps on all outgoing buffers, not just the first one.
25326 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25328 * gst/elements/gsttypefindelement.c:
25329 (gst_type_find_element_have_type),
25330 (gst_type_find_element_check_set_buffer_caps),
25331 (gst_type_find_element_init), (stop_typefinding),
25332 (gst_type_find_element_handle_event),
25333 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25334 * gst/elements/gsttypefindelement.h:
25335 Set caps on first outgoing buffer when we've found the type.
25337 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25339 * docs/gst/gstreamer-docs.sgml:
25340 * docs/gst/gstreamer-sections.txt:
25341 * docs/gst/tmpl/gstscheduler.sgml:
25342 * docs/gst/tmpl/gstschedulerfactory.sgml:
25343 Remove some old cruft from docs.
25345 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25348 Fix inline docs for GstPadLinkReturn.
25350 * gst/gststructure.c: (gst_structure_has_name):
25351 * gst/gststructure.h:
25352 * docs/gst/gstreamer-sections.txt:
25353 New API: gst_structure_has_name().
25355 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25358 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25359 and _LARGEFILE_SOURCE in config.h as required. Do not
25360 export those flags in our .pc files any longer (#142209).
25362 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25364 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25365 (gst_file_sink_do_seek), (gst_file_sink_event),
25366 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25367 Redo seek/tell calls with large file support in mind; add some
25368 debugging messages; add log message that tells us when large
25369 file support is unavailable or not enabled for some reason.
25371 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25372 Add log message that tells us when large file support
25373 is unavailable or not enabled for some reason.
25375 2005-07-29 Wim Taymans <wim@fluendo.com>
25377 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25378 Added test for removing an element with ghostpad from a bin.
25379 Fixed test as current implementation does the right thing.
25381 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25382 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25383 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25384 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25385 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25386 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25387 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25388 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25389 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25390 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25391 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25392 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25393 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25394 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25395 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25396 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25397 * gst/gstghostpad.h:
25398 Clean up ghostpads, remove properties for internal stuff.
25401 Prepare for switching targets, not all use cases work yet.
25403 2005-07-29 Wim Taymans <wim@fluendo.com>
25405 * docs/design/part-gstghostpad.txt:
25408 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25409 (gst_bin_remove_func):
25410 Unlinking pads while holding the bin LOCK is not a good
25413 * gst/gstpad.c: (gst_pad_class_init),
25414 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25415 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25416 No prob setting template after creating the pad.
25418 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25420 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25421 (gst_bus_peek), (gst_bus_source_dispatch),
25422 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25423 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25424 gst_bus_poll may be called from other threads. Handle
25425 this nicely by not making poll_data disappear off the
25426 stack once gst_bus_poll returns.
25427 gst_bus_peek now increments the refcount on the returned
25430 2005-07-29 Wim Taymans <wim@fluendo.com>
25432 * docs/design/part-gstghostpad.txt:
25433 Overview of current GhostPad datastructures and use
25434 cases for changing the target.
25436 2005-07-28 Wim Taymans <wim@fluendo.com>
25438 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25439 Added checks for hierarchy consistency whan adding linked
25442 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25443 Added check to test element scheduling without bin/pipeline.
25445 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25446 First add elements to bin, then link.
25448 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25449 (gst_bin_remove_func):
25450 Unlink pads from elements added/removed from bin to maintain
25451 hierarchy consistency.
25453 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25455 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25456 (gst_base_transform_handle_buffer):
25457 * gst/base/gstbasetransform.h:
25458 Remove broken delay_configure (fixes renegotiation of software
25459 scaling pipelines); remove some leftover printf()s.
25461 2005-07-28 Wim Taymans <wim@fluendo.com>
25463 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25464 Added some more tests for wrong hierarchy
25466 * docs/design/part-overview.txt:
25469 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25472 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25473 (gst_element_dispose):
25474 Some more cleanups.
25476 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25477 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25478 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25479 (gst_pad_set_caps), (gst_pad_send_event):
25480 Check for correct hierarchy when linking pads. Moving to
25481 strict requirement for ghostpads when linking elements in
25485 Clean ups. Added WRONG_HIERARCHY return value.
25487 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25489 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25490 Better debug if no transform is possible.
25492 2005-07-27 Wim Taymans <wim@fluendo.com>
25494 * docs/random/wtay/network-transp:
25495 Some old doc I had.
25497 2005-07-27 Wim Taymans <wim@fluendo.com>
25499 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25500 (gst_dp_event_from_packet):
25501 Fix serialization of seek events.
25503 2005-07-27 Wim Taymans <wim@fluendo.com>
25505 * check/gst-libs/gdp.c: (GST_START_TEST):
25506 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25507 Fix compilation and fix event serialization.
25509 2005-07-27 Wim Taymans <wim@fluendo.com>
25512 * docs/design/part-TODO.txt:
25513 * docs/design/part-events.txt:
25516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25517 (gst_base_sink_event), (gst_base_sink_do_sync),
25518 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25519 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25520 (gst_base_src_do_seek), (gst_base_src_event_handler),
25521 (gst_base_src_loop):
25522 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25523 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25524 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25525 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25526 (gst_base_transform_set_passthrough),
25527 (gst_base_transform_is_passthrough):
25528 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25529 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25535 * gst/gstelement.c: (gst_element_seek):
25536 * gst/gstelement.h:
25537 Update gst_element_seek.
25539 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25540 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25541 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25542 (gst_event_new_eos), (gst_event_new_newsegment),
25543 (gst_event_parse_newsegment), (gst_event_new_tag),
25544 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25545 (gst_event_parse_qos), (gst_event_new_seek),
25546 (gst_event_parse_seek), (gst_event_new_navigation):
25548 Make GstEvent use GstStructure. Add parsing code, make sure the
25549 API is sufficiently generic.
25550 Mark possible directions of events and serialization.
25552 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25553 (_gst_message_copy), (gst_message_new_segment_start),
25554 (gst_message_new_segment_done), (gst_message_new_custom),
25555 (gst_message_parse_segment_start),
25556 (gst_message_parse_segment_done):
25559 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25560 (gst_pad_set_caps), (gst_pad_send_event):
25561 Update for new events.
25562 Catch events sent in wrong directions.
25564 * gst/gstqueue.c: (gst_queue_link_src),
25565 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25566 (gst_queue_handle_src_query):
25571 Remove event code from this file.
25573 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25574 (gst_dp_event_from_packet):
25577 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25579 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25580 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25581 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25582 Make debugging actually useful.
25584 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25586 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25587 (gst_pad_fixate_caps):
25588 Implement default fixation once again, so that gst_pad_fixate()
25589 actually does anything at all. This probably needs to be some
25590 sort of a last resort, and use profile-based fixation first, but
25591 since that doesn't exist yet, this is the best we have. Fixes
25592 visualization in Totem.
25594 2005-07-22 Wim Taymans <wim@fluendo.com>
25596 * docs/design/part-events.txt:
25599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25600 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25601 (gst_base_sink_activate_pull):
25602 Some more comments.
25604 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25605 (gst_fake_src_create):
25606 Fix handoff marshall.
25608 * gst/elements/gstidentity.c: (gst_identity_class_init),
25609 (gst_identity_transform_ip):
25610 We're a real inplace element.
25612 * gst/gstbus.c: (gst_bus_post):
25613 Added some comments.
25615 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25616 * tests/muxing/case1.c: (main):
25617 * tests/sched/dynamic-pipeline.c: (main):
25618 * tests/sched/interrupt1.c: (main):
25619 * tests/sched/interrupt2.c: (main):
25620 * tests/sched/interrupt3.c: (main):
25621 * tests/sched/runxml.c: (main):
25622 * tests/sched/sched-stress.c: (main):
25623 * tests/seeking/seeking1.c: (event_received), (main):
25624 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25626 * tests/threadstate/threadstate3.c: (main):
25627 * tests/threadstate/threadstate4.c: (main):
25628 * tests/threadstate/threadstate5.c: (main):
25631 2005-07-21 Wim Taymans <wim@fluendo.com>
25633 * docs/design/part-seeking.txt:
25634 Some small additions.
25636 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25637 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25638 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25639 * gst/base/gstbasesink.h:
25640 discont values are gint64, handle the math correctly.
25642 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25643 Make the basesrc report error if the source pad is not linked.
25645 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25646 (gst_queue_loop), (gst_queue_handle_src_query),
25647 (gst_queue_src_activate_push):
25648 Make queue collect data even if the srcpad is not linked.
25649 Start pushing out data as soon as it is linked.
25651 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25653 Added gst_flow_get_name() to ease error reporting.
25655 2005-07-20 Wim Taymans <wim@fluendo.com>
25657 * gst/gstmessage.c: (gst_message_new_segment_start),
25658 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25659 (gst_message_parse_segment_done):
25660 * gst/gstmessage.h:
25661 Added a bunch of messages for advanced seeking.
25663 * gst/parse/grammar.y:
25664 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25665 (gst_dpman_state_changed):
25666 Fix some new-pad -> pad-added signals
25668 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25670 * docs/manual/appendix-porting.xml:
25671 * docs/pwg/appendix-porting.xml:
25672 Document new-pad/state-change signal renames and the FixedList
25675 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25677 * docs/manual/advanced-autoplugging.xml:
25678 * docs/manual/basics-helloworld.xml:
25679 * docs/manual/basics-pads.xml:
25680 * docs/random/ds/0.9-suggested-changes:
25681 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25682 * gst/gstelement.h:
25686 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25687 (gst_structure_parse_array), (gst_structure_parse_value):
25688 * gst/gstvalue.c: (gst_type_is_fixed),
25689 (gst_value_list_prepend_value), (gst_value_list_append_value),
25690 (gst_value_list_get_size), (gst_value_list_get_value),
25691 (gst_value_transform_array_string), (gst_value_serialize_array),
25692 (gst_value_deserialize_array), (gst_value_intersect_array),
25693 (gst_value_is_fixed), (_gst_value_initialize):
25695 GstElement::new-pad -> pad-added, GstElement::state-change ->
25696 state-changed, GstValueFixedList -> GstValueArray, add format and
25697 flags as their own arguments in gst_element_seek() (should improve
25698 "bindeability"), remove function generators since they don't work
25699 under a whole bunch of compilers (they were deprecated already
25702 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25704 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25705 (_gst_debug_register_funcptr):
25707 Fix illegal cast on some platforms (#309253).
25709 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25711 * gst/gstmessage.c: (gst_message_new_custom):
25712 * gst/gstmessage.h:
25713 Add _new_custom, make _new_application a macro to _new_custom.
25715 2005-07-20 Wim Taymans <wim@fluendo.com>
25717 * gst/base/gstbasesrc.c: (gst_base_src_init),
25718 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25719 * gst/base/gstbasesrc.h:
25720 Add a gboolean to decide when to push out a discont.
25722 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25723 (gst_queue_loop), (gst_queue_handle_src_query),
25724 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25725 (gst_queue_set_property), (gst_queue_get_property):
25728 * tests/threadstate/threadstate1.c: (main):
25729 Make a thread test compile and run... very silly..
25732 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25734 * docs/manual/appendix-porting.xml:
25735 Mention removal of libgstgconf-0.9.la and existence of gconf
25738 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25740 * docs/pwg/advanced-clock.xml:
25741 * docs/pwg/appendix-porting.xml:
25742 * docs/pwg/intro-preface.xml:
25743 * docs/pwg/other-base.xml:
25744 * docs/pwg/other-manager.xml:
25745 * docs/pwg/other-nton.xml:
25746 * docs/pwg/other-ntoone.xml:
25747 * docs/pwg/other-oneton.xml:
25748 * docs/pwg/pwg.xml:
25749 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25750 demuxer), remove n-to-n (was never written), fix some code examples
25751 and links and update the porting section to include all this.
25753 2005-07-19 Wim Taymans <wim@fluendo.com>
25755 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25756 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25757 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25758 (gst_queue_src_activate_push), (gst_queue_change_state),
25759 (gst_queue_get_property):
25761 Propagate GstFlowReturn more intelligently upstream and output
25762 an ERROR/EOS when streaming stopped due to fatal error.
25764 2005-07-19 Wim Taymans <wim@fluendo.com>
25766 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25767 Don't block forever for the state change to complete, the
25768 pipeline already did with a sensible timeout.
25770 2005-07-19 Wim Taymans <wim@fluendo.com>
25772 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25773 Make sure we never call the create function is we
25776 2005-07-19 Andy Wingo <wingo@pobox.com>
25778 * gst/parse/parse.l: Attempt to solve bug #172815.
25780 2005-07-19 Wim Taymans <wim@fluendo.com>
25782 * docs/design/part-clocks.txt:
25783 * docs/design/part-events.txt:
25784 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25785 Small docs updates.
25786 Only update the seeking values when we are not
25789 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25791 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25792 Oops, ignore the result of gst_pad_push_event here.
25794 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25796 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25797 (gst_base_src_activate_push):
25798 Send discont event from the loop function, as pads
25799 aren't activated yet in the activate_push handler.
25801 * gst/gstbin.c: (bin_bus_handler):
25802 Don't leak element name.
25804 2005-07-18 Andy Wingo <wingo@pobox.com>
25806 * configure.ac: Use AS_LIBTOOL_TAGS.
25808 2005-07-18 Wim Taymans <wim@fluendo.com>
25810 * docs/gst/gstreamer.types:
25811 Remove deleted types.
25813 2005-07-18 Wim Taymans <wim@fluendo.com>
25815 * check/elements/gstfakesrc.c: (GST_START_TEST):
25818 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25819 (init_popt_callback):
25821 * gst/gst_private.h:
25822 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25823 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25826 * gst/gstconfig.h.in:
25827 * gst/gstelement.c: (gst_element_class_init),
25828 (gst_element_set_base_time), (gst_element_get_base_time),
25829 (iterator_fold_with_resync), (gst_element_change_state),
25830 (gst_element_dispose), (gst_element_get_bus):
25831 * gst/gstelement.h:
25832 * gst/gstelementfactory.h:
25833 * gst/gsterror.c: (_gst_core_errors_init):
25836 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25838 * gst/gstinfo.c: (_gst_debug_init):
25839 * gst/gstmessage.c: (_gst_message_copy):
25840 * gst/gstmessage.h:
25841 * gst/gstminiobject.h:
25844 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25845 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25848 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25849 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25850 (gst_pipeline_get_last_stream_time):
25851 * gst/gstpipeline.h:
25852 * gst/gstpluginfeature.h:
25854 * gst/gstscheduler.c:
25855 * gst/gstscheduler.h:
25856 * gst/gststructure.h:
25857 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25858 (gst_task_finalize), (gst_task_func), (gst_task_create),
25859 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25860 (gst_task_stop), (gst_task_pause):
25862 * gst/gsttypefind.h:
25864 * gst/registries/gstlibxmlregistry.c: (load_feature),
25865 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25866 * gst/registries/gstxmlregistry.c:
25867 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25868 * gst/schedulers/threadscheduler.c:
25869 * libs/gst/control/dparammanager.h:
25870 * tools/gst-inspect.c: (print_element_list),
25871 (print_plugin_features), (print_element_features):
25872 * tools/gst-xmlinspect.c: (print_element_list),
25873 (print_plugin_info), (main):
25874 Removed plugable schedulers.
25875 Removed Scheduler/Manager from elements.
25876 Removed gsttypes.h, rearranged includes.
25877 Removed dependency pad<->element, element<>pipeline, and
25878 various others, fix includes.
25879 implement gst_pad_get_parent() with gst_object_get_parent()
25880 Make GstTask sefcontained.
25881 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25883 Fix endless loop in iterator_fold_with_resync.
25886 2005-07-18 Wim Taymans <wim@fluendo.com>
25892 2005-07-18 Wim Taymans <wim@fluendo.com>
25895 No more cothreads.h
25897 2005-07-18 Wim Taymans <wim@fluendo.com>
25901 Let's remove these.
25903 2005-07-18 Wim Taymans <wim@fluendo.com>
25905 * docs/design/part-dynamic.txt:
25906 * docs/design/part-events.txt:
25907 * docs/design/part-seeking.txt:
25908 Some more docs in the works.
25910 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25911 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25912 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25913 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25914 (gst_base_transform_handle_buffer),
25915 (gst_base_transform_sink_activate_push),
25916 (gst_base_transform_src_activate_pull),
25917 (gst_base_transform_set_passthrough),
25918 (gst_base_transform_is_passthrough):
25921 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25924 * gst/gstevent.c: (gst_event_finalize):
25927 * gst/gstutils.c: (gst_element_unlink),
25928 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25929 (gst_pad_proxy_setcaps):
25931 Add _get_parent_element() to get a pads parent as an element.
25933 2005-07-18 Wim Taymans <wim@fluendo.com>
25935 * check/gst/gstbin.c: (GST_START_TEST):
25938 2005-07-18 Wim Taymans <wim@fluendo.com>
25940 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25941 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25942 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25943 (gst_base_sink_event), (gst_base_sink_do_sync),
25944 (gst_base_sink_chain), (gst_base_sink_loop),
25945 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25946 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25948 Fix logic for returning ASYNC when not prerolled.
25950 2005-07-18 Wim Taymans <wim@fluendo.com>
25952 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25953 Fix nasty refcount bug.
25955 2005-07-16 Philippe Khalaf <burger@speedy.org>
25957 * gst/elements/gstfdsrc.c:
25958 * gst/elements/gstfdsrc.h:
25959 * gst/elements/gstelements.c:
25960 * gst/elements/Makefile.am:
25961 Ported fdsrc to 0.9.
25963 2005-07-16 Wim Taymans <wim@fluendo.com>
25965 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25966 (gst_base_sink_do_sync):
25969 2005-07-16 Wim Taymans <wim@fluendo.com>
25971 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25972 (gst_base_sink_event), (gst_base_sink_get_times),
25973 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25974 * gst/base/gstbasesink.h:
25975 Store and use discont values when syncing buffers as described
25978 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25979 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25980 (gst_base_src_activate_push):
25981 Push discont event when starting.
25983 * gst/elements/gstidentity.c: (gst_identity_transform):
25986 * gst/gstbin.c: (gst_bin_change_state):
25987 Small cleanups in base_time distribution.
25989 * gst/gstelement.c: (gst_element_set_base_time),
25990 (gst_element_get_base_time), (gst_element_change_state):
25991 * gst/gstelement.h:
25992 Added methods for the base_time of the element.
25995 * gst/gstpipeline.c: (gst_pipeline_send_event),
25996 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25997 (gst_pipeline_get_last_stream_time):
25998 * gst/gstpipeline.h:
26000 Handle seeking as described in design doc, remove stream_time
26002 Cleanups clock and stream_time selection code. Added accessors
26003 for the stream_time.
26006 2005-07-16 Andy Wingo <wingo@pobox.com>
26008 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26011 2005-07-16 Wim Taymans <wim@fluendo.com>
26013 * check/gst/gstbin.c: (GST_START_TEST):
26014 Make elements silent as the deep_notify refs the
26015 parent, which might make the test fail.
26017 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26018 Don't hold the lock for too long.
26020 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26022 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26023 Don't unref the caps we passed to gst_caps_make_writable() after
26024 passing them. gst_caps_make_writable() will do that for us.
26026 2005-07-15 Andy Wingo <wingo@pobox.com>
26028 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26031 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26032 own marshalling function for the handoff signal. Properly type the
26033 buffer as a buffer. Fixes some warnings. Should do a more general
26035 (gst_identity_class_init): Plug into the right marshaller.
26037 2005-07-15 Wim Taymans <wim@fluendo.com>
26039 * docs/design/part-TODO.txt:
26040 * docs/design/part-clocks.txt:
26041 * docs/design/part-element-sink.txt:
26042 * docs/design/part-events.txt:
26043 * docs/design/part-gstpipeline.txt:
26044 Updated docs, mostly DISCONT related.
26046 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26048 * docs/pwg/building-pads.xml:
26049 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26051 2005-07-15 Andy Wingo <wingo@pobox.com>
26053 * tools/gst-typefind.c: Update, add copyright block.
26055 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26056 Normalize and truncate caps before fixation.
26059 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26060 discards all but the first structure from its argument.
26062 2005-07-15 Wim Taymans <wim@fluendo.com>
26064 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26065 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26066 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26067 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26068 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26069 (gst_base_transform_chain), (gst_base_transform_change_state),
26070 (gst_base_transform_set_passthrough),
26071 (gst_base_transform_is_passthrough):
26072 * gst/base/gstbasetransform.h:
26073 Make passthrough work using the bufferpools.
26074 Changed API a bit, subclasses have to write into a buffer
26075 provided by the base class.
26076 More debug info in nego functions.
26078 * gst/elements/gstidentity.c: (gst_identity_init),
26079 (gst_identity_transform):
26080 Port to new base class.
26082 2005-07-15 Wim Taymans <wim@fluendo.com>
26084 * gst/gstmessage.c: (gst_message_new_state_changed):
26085 * tools/gst-launch.c: (event_loop), (main):
26086 Totally dump messages in -launch with the -m option.
26087 Fix message name for State messages,
26089 2005-07-14 Wim Taymans <wim@fluendo.com>
26091 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26092 Post error messages on errors.
26094 2005-07-14 Wim Taymans <wim@fluendo.com>
26096 * gst/gstcaps.c: (gst_caps_do_simplify):
26100 Define error for stream stopped.
26102 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26103 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26104 Do proper return values.
26106 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26107 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26108 (gst_pad_get_range):
26109 Better return values.
26112 Reorganise return values, add macro to check for fatal errors.
26114 * gst/gstqueue.c: (gst_queue_chain):
26115 Return proper GstFlowReturn values,
26117 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26119 * docs/gst/gstreamer-sections.txt:
26120 * docs/gst/gstreamer.types:
26121 * docs/gst/tmpl/gst.sgml:
26122 * docs/gst/tmpl/gstbasesink.sgml:
26123 * docs/gst/tmpl/gstbasesrc.sgml:
26124 * docs/gst/tmpl/gstbasetransform.sgml:
26125 * docs/gst/tmpl/gstbin.sgml:
26126 * docs/gst/tmpl/gstbuffer.sgml:
26127 * docs/gst/tmpl/gstcaps.sgml:
26128 * docs/gst/tmpl/gstclock.sgml:
26129 * docs/gst/tmpl/gstcompat.sgml:
26130 * docs/gst/tmpl/gstconfig.sgml:
26131 * docs/gst/tmpl/gstelement.sgml:
26132 * docs/gst/tmpl/gstelementdetails.sgml:
26133 * docs/gst/tmpl/gstelementfactory.sgml:
26134 * docs/gst/tmpl/gstenumtypes.sgml:
26135 * docs/gst/tmpl/gsterror.sgml:
26136 * docs/gst/tmpl/gstevent.sgml:
26137 * docs/gst/tmpl/gstfakesink.sgml:
26138 * docs/gst/tmpl/gstfakesrc.sgml:
26139 * docs/gst/tmpl/gstfilesink.sgml:
26140 * docs/gst/tmpl/gstfilesrc.sgml:
26141 * docs/gst/tmpl/gstfilter.sgml:
26142 * docs/gst/tmpl/gstformat.sgml:
26143 * docs/gst/tmpl/gstghostpad.sgml:
26144 * docs/gst/tmpl/gstimplementsinterface.sgml:
26145 * docs/gst/tmpl/gstindex.sgml:
26146 * docs/gst/tmpl/gstindexfactory.sgml:
26147 * docs/gst/tmpl/gstinfo.sgml:
26148 * docs/gst/tmpl/gstiterator.sgml:
26149 * docs/gst/tmpl/gstmacros.sgml:
26150 * docs/gst/tmpl/gstmemchunk.sgml:
26151 * docs/gst/tmpl/gstminiobject.sgml:
26152 * docs/gst/tmpl/gstobject.sgml:
26153 * docs/gst/tmpl/gstpad.sgml:
26154 * docs/gst/tmpl/gstpadtemplate.sgml:
26155 * docs/gst/tmpl/gstparse.sgml:
26156 * docs/gst/tmpl/gstpipeline.sgml:
26157 * docs/gst/tmpl/gstplugin.sgml:
26158 * docs/gst/tmpl/gstpluginfeature.sgml:
26159 * docs/gst/tmpl/gstquery.sgml:
26160 * docs/gst/tmpl/gstqueue.sgml:
26161 * docs/gst/tmpl/gstregistry.sgml:
26162 * docs/gst/tmpl/gstregistrypool.sgml:
26163 * docs/gst/tmpl/gstscheduler.sgml:
26164 * docs/gst/tmpl/gstschedulerfactory.sgml:
26165 * docs/gst/tmpl/gststructure.sgml:
26166 * docs/gst/tmpl/gstsystemclock.sgml:
26167 * docs/gst/tmpl/gsttaglist.sgml:
26168 * docs/gst/tmpl/gsttagsetter.sgml:
26169 * docs/gst/tmpl/gsttrace.sgml:
26170 * docs/gst/tmpl/gsttrashstack.sgml:
26171 * docs/gst/tmpl/gsttypefind.sgml:
26172 * docs/gst/tmpl/gsttypefindfactory.sgml:
26173 * docs/gst/tmpl/gsttypes.sgml:
26174 * docs/gst/tmpl/gsturihandler.sgml:
26175 * docs/gst/tmpl/gsturitype.sgml:
26176 * docs/gst/tmpl/gstutils.sgml:
26177 * docs/gst/tmpl/gstvalue.sgml:
26178 * docs/gst/tmpl/gstversion.sgml:
26179 * docs/gst/tmpl/gstxml.sgml:
26180 * docs/libs/tmpl/gstcontrol.sgml:
26181 * docs/libs/tmpl/gstdataprotocol.sgml:
26182 * docs/libs/tmpl/gstdparam.sgml:
26183 * docs/libs/tmpl/gstdplinint.sgml:
26184 * docs/libs/tmpl/gstdpman.sgml:
26185 * docs/libs/tmpl/gstdpsmooth.sgml:
26186 * docs/libs/tmpl/gstgetbits.sgml:
26187 * docs/libs/tmpl/gstunitconvert.sgml:
26188 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26189 (gst_push_src_base_init), (gst_push_src_class_init),
26190 (gst_push_src_init), (gst_push_src_create):
26191 * gst/base/gstpushsrc.h:
26192 * gst/elements/gstelements.c:
26193 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26194 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26195 (gst_fake_sink_init), (gst_fake_sink_set_property),
26196 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26197 (gst_fake_sink_event), (gst_fake_sink_preroll),
26198 (gst_fake_sink_render), (gst_fake_sink_change_state):
26199 * gst/elements/gstfakesink.h:
26200 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26201 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26202 (gst_fake_src_base_init), (gst_fake_src_class_init),
26203 (gst_fake_src_init), (gst_fake_src_event_handler),
26204 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26205 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26206 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26207 (gst_fake_src_create_buffer), (gst_fake_src_create),
26208 (gst_fake_src_start), (gst_fake_src_stop):
26209 * gst/elements/gstfakesrc.h:
26210 * gst/elements/gstfilesink.c: (_do_init),
26211 (gst_file_sink_base_init), (gst_file_sink_class_init),
26212 (gst_file_sink_init), (gst_file_sink_dispose),
26213 (gst_file_sink_set_location), (gst_file_sink_set_property),
26214 (gst_file_sink_get_property), (gst_file_sink_open_file),
26215 (gst_file_sink_close_file), (gst_file_sink_query),
26216 (gst_file_sink_event), (gst_file_sink_render),
26217 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26218 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26219 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26220 * gst/elements/gstfilesink.h:
26221 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26222 (gst_file_src_class_init), (gst_file_src_init),
26223 (gst_file_src_finalize), (gst_file_src_set_location),
26224 (gst_file_src_set_property), (gst_file_src_get_property),
26225 (gst_file_src_map_region), (gst_file_src_map_small_region),
26226 (gst_file_src_create_mmap), (gst_file_src_create_read),
26227 (gst_file_src_create), (gst_file_src_is_seekable),
26228 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26229 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26230 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26231 (gst_file_src_uri_handler_init):
26232 * gst/elements/gstfilesrc.h:
26233 more autistic cleanliness in functions/names/defines
26235 2005-07-13 Andy Wingo <wingo@pobox.com>
26237 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26238 source couldn't negotiate.
26240 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26244 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26245 function. I am channeling Hades. Put your boots on suckers!!!
26247 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26249 * testsuite/caps/Makefile.am:
26250 * testsuite/caps/value_compare.c:
26251 * testsuite/caps/value_intersect.c:
26252 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26253 move two testsuite apps over to the check dir
26255 2005-07-12 Wim Taymans <wim@fluendo.com>
26257 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26258 Added more debug info in the negotiate process.
26260 * gst/gstmessage.h:
26261 Prepare for segment playback.
26263 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26269 * tools/gst-launch.c: (main):
26270 NULL pipeline on errors.
26272 2005-07-12 Andy Wingo <wingo@pobox.com>
26274 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26275 not it comes from a malloc region. Make sure our copy gets freed.
26277 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26279 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26280 * check/gst/gstmessage.c: (GST_START_TEST):
26281 * check/gst/gststructure.c: (GST_START_TEST),
26282 (gst_structure_suite), (main):
26284 * gst/gstelement.c: (gst_element_message_full):
26285 clean up GError and debug string now that they get copied
26286 * gst/gstmessage.c: (gst_message_new_error),
26287 (gst_message_new_warning), (gst_message_parse_error),
26288 (gst_message_parse_warning):
26289 use GST_TYPE_G_ERROR for structure_new, and take copies of
26290 arguments, so that we don't mess up refcounting
26292 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26294 * check/Makefile.am:
26295 add per-test valgrind targets
26296 * check/gst-libs/gdp.c: (GST_START_TEST),
26297 (gst_data_protocol_suite), (main):
26300 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26302 * check/Makefile.am:
26303 instate more valgrindable tests
26304 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26305 (GST_START_TEST), (fakesrc_suite):
26306 * check/gst/gstpad.c: (GST_START_TEST):
26307 * check/gst/gststructure.c: (GST_START_TEST):
26309 * docs/gst/tmpl/gstminiobject.sgml:
26310 * gst/gstpad.c: (gst_pad_finalize):
26311 fix the static mutex leak
26313 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26315 * check/Makefile.am:
26316 add two more tests for valgrinding
26317 * check/gst/gstvalue.c: (GST_START_TEST):
26318 test refcount of deserialized buffer, found a leak
26319 * docs/gst/gstreamer-docs.sgml:
26320 * docs/gst/gstreamer-sections.txt:
26321 * docs/gst/gstreamer.types:
26322 * docs/gst/tmpl/gstminiobject.sgml:
26323 add miniobject to docs
26324 * gst/gstminiobject.c:
26326 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26327 (gst_string_unwrap):
26328 fix a hard-to-find invalid write for one of the tests
26329 fix a leak for deserialized buffers
26331 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26333 * docs/pwg/advanced-events.xml:
26334 * docs/pwg/advanced-request.xml:
26335 * docs/pwg/advanced-scheduling.xml:
26336 * docs/pwg/appendix-porting.xml:
26337 * docs/pwg/building-boiler.xml:
26338 * docs/pwg/intro-preface.xml:
26339 * docs/pwg/other-ntoone.xml:
26340 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26341 of example code and explanation for pad activation, loop() and
26342 getrange() functions and a bit more. Remove old comments pointing
26344 * examples/pwg/Makefile.am:
26345 Add loop/getrange examples.
26347 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26350 check for valgrind binary + some fixes
26352 valgrind suppressions for the tests
26353 * check/Makefile.am:
26354 add a valgrind: target that valgrinds the unit tests
26355 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26356 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26357 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26358 * check/gst/gstghostpad.c:
26360 * check/gst/gstdata.c:
26362 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26363 (thread_unref), (gst_mini_object_suite), (main):
26365 * gst/gst.c: (gst_deinit):
26367 add a method to clean up.
26368 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26369 (gst_system_clock_obtain):
26370 allow for disposing the system clock.
26371 * tools/gst-launch.c: (main):
26374 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26376 * docs/gst/tmpl/gstbasesrc.sgml:
26377 * docs/gst/tmpl/gstfakesrc.sgml:
26378 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26379 (gst_base_src_init), (gst_base_src_set_property),
26380 (gst_base_src_get_property), (gst_base_src_get_range),
26381 (gst_base_src_start):
26382 * gst/base/gstbasesrc.h:
26383 add num-buffers property
26384 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26385 (gst_fakesrc_init), (gst_fakesrc_set_property),
26386 (gst_fakesrc_get_property), (gst_fakesrc_create),
26387 (gst_fakesrc_start):
26388 remove num-buffers property
26390 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26392 * docs/gst/gstreamer-sections.txt:
26393 * docs/gst/tmpl/gstbasesink.sgml:
26394 * docs/gst/tmpl/gstbasesrc.sgml:
26395 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26396 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26397 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26398 (gst_base_sink_set_property), (gst_base_sink_get_property),
26399 (gst_base_sink_handle_object), (gst_base_sink_event),
26400 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26401 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26402 (gst_base_sink_loop), (gst_base_sink_deactivate),
26403 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26404 (gst_base_sink_change_state):
26405 * gst/base/gstbasesink.h:
26406 * gst/base/gstbasesrc.h:
26407 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26408 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26409 (gst_filesink_init):
26410 more macro splitting
26412 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26414 * gst/gstelement.c: (gst_element_get_bus):
26416 * tools/gst-launch.c: (check_intr), (event_loop):
26419 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26421 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26424 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26426 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26427 (gst_base_src_finalize):
26428 add finalize method and clean up properly
26429 * gst/gstpipeline.c: (gst_pipeline_dispose):
26432 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26434 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26436 add more things to check
26437 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26438 * gst/gstelement.c:
26441 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26443 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26444 (GST_START_TEST), (fakesrc_suite):
26445 * check/gst-libs/gdp.c: (GST_START_TEST):
26446 * check/gst/gst.c: (GST_START_TEST):
26447 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26448 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26449 * check/gst/gstbus.c: (GST_START_TEST):
26450 * check/gst/gstcaps.c: (GST_START_TEST):
26451 * check/gst/gstdata.c: (GST_START_TEST):
26452 * check/gst/gstelement.c: (GST_START_TEST):
26453 * check/gst/gstghostpad.c: (GST_START_TEST):
26454 * check/gst/gstiterator.c: (GST_START_TEST):
26455 * check/gst/gstmessage.c: (GST_START_TEST):
26456 * check/gst/gstobject.c: (GST_START_TEST):
26457 * check/gst/gstpad.c: (GST_START_TEST):
26458 * check/gst/gststructure.c: (GST_START_TEST):
26459 * check/gst/gstsystemclock.c: (GST_START_TEST),
26460 (gst_systemclock_suite):
26461 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26462 * check/gst/gstvalue.c: (GST_START_TEST):
26463 * check/pipelines/cleanup.c: (GST_START_TEST):
26464 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26465 * check/states/sinks.c: (GST_START_TEST):
26466 * check/gstcheck.c: (gst_check_init):
26467 * check/gstcheck.h:
26468 add debugging category
26469 use GST_START_TEST now, so we add a debug line
26471 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26473 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26474 add test for state change message on a bin
26475 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26477 * gst/gstbin.c: (gst_bin_init):
26478 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26479 * gst/gstelement.c: (gst_element_post_message),
26480 (gst_element_set_state):
26481 * gst/gstelementfactory.c: (gst_element_factory_create):
26482 * gst/gstmessage.c: (gst_message_new):
26483 * gst/gstscheduler.c:
26484 various debugging additions and cleanups
26486 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26488 * check/Makefile.am:
26489 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26491 adding tests for elements
26492 * gst/gstelement.c: (gst_element_dispose):
26494 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26496 * gst/registries/gstlibxmlregistry.c: (load_feature):
26497 plug more leaks. A simple gst_init() now is leakfree, yay.
26499 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26501 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26502 (gst_xml_registry_load):
26503 plug another memleak
26505 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26508 use GST_SET_ERROR_CFLAGS
26509 * docs/faq/cvs.xml:
26510 change to ERROR_CFLAGS
26512 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26515 make GST_ERROR_CFLAGS overridable and re-enable Werror
26516 * docs/faq/cvs.xml:
26517 add a note about error CFLAGS
26518 * docs/gst/tmpl/gstfakesrc.sgml:
26519 * gst/elements/gstfakesrc.c:
26520 comment out some unused code
26521 * gst/gst.c: (split_and_iterate):
26522 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26526 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26528 * common/Makefile.am:
26529 * common/gtk-doc.mak:
26530 * docs/gst/Makefile.am:
26531 factor out gtk-doc.mak
26533 2005-07-07 Wim Taymans <wim@fluendo.com>
26535 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26536 (gst_thread_scheduler_dispose):
26537 Unlock the STREAM_LOCK completely.
26539 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26541 * check/Makefile.am:
26542 * check/elements/.cvsignore:
26543 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26544 (START_TEST), (fakesrc_suite), (main):
26545 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26546 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26547 (gst_fakesrc_create), (gst_fakesrc_start):
26548 * gst/elements/gstfakesrc.h:
26549 adding a first element test
26551 2005-07-07 Andy Wingo <wingo@pobox.com>
26553 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26556 2005-07-07 Wim Taymans <wim@fluendo.com>
26562 2005-07-07 Wim Taymans <wim@fluendo.com>
26564 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26565 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26566 Allow subclasses to implement their own negotiation.
26568 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26570 * docs/design/part-gstbin.txt:
26571 * docs/design/part-gstpipeline.txt:
26572 Update design notes to reflect the movement of
26573 responsibility for bus handling from GstPipeline to
26576 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26579 Remove unnecessary queue2/3/4 examples.
26581 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26583 * examples/Makefile.am:
26584 * examples/helloworld/helloworld.c: (event_loop), (main):
26585 * examples/queue/queue.c: (event_loop), (main):
26586 * examples/queue2/queue2.c: (main):
26587 Update a couple of the examples to work again.
26589 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26590 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26591 Spelling corrections and extra debug.
26593 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26594 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26595 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26597 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26598 (gst_pipeline_change_state):
26599 * gst/gstpipeline.h:
26600 Move the bus handler for children to the GstBin, and create a
26601 separate bus for receiving messages from children to the one the
26602 bus sends 'upwards' on.
26604 2005-07-06 Wim Taymans <wim@fluendo.com>
26607 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26608 (gst_base_sink_handle_object), (gst_base_sink_loop),
26609 (gst_base_sink_change_state):
26610 * gst/base/gstbasesink.h:
26611 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26612 (gst_base_src_init), (gst_base_src_setcaps),
26613 (gst_base_src_getcaps), (gst_base_src_loop),
26614 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26615 (gst_base_src_start), (gst_base_src_change_state):
26616 * gst/base/gstbasesrc.h:
26617 Make basesrc negotiate.
26618 Handle the case where preroll fails in basesink.
26621 2005-07-06 Wim Taymans <wim@fluendo.com>
26623 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26624 Implement the fixate function.
26625 Clean up acceptcaps.
26627 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26629 * docs/pwg/building-filterfactory.xml:
26630 * docs/pwg/pwg.xml:
26631 Remove never-written filter-factory chapter; I'll add the various
26632 base classes to part 4 ("other element types") later on.
26634 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26636 * docs/pwg/advanced-negotiation.xml:
26637 * docs/pwg/building-boiler.xml:
26638 * docs/pwg/building-pads.xml:
26639 * docs/pwg/pwg.xml:
26640 * examples/pwg/Makefile.am:
26641 Add a chapter on caps negotiation, simplify the original code
26642 samples a bit w.r.t. caps negotiation, add link to the advanced
26643 section. Add a bunch of examples showing different use cases of
26644 different types of caps negotiation. Upstream renegotiation isn't
26645 fully documented yet since nobody knows how that works.
26647 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26649 * check/gst/gstpad.c:
26650 * check/gstcheck.c:
26651 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26652 if pad has no parent, return NULL as list of internal links
26654 2005-07-05 Andy Wingo <wingo@pobox.com>
26656 * gst/elements/gstfilesrc.c:
26657 * gst/elements/gstfakesrc.c:
26658 * gst/base/gstpushsrc.c:
26659 * gst/base/gstbasesrc.h:
26660 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26662 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26665 better report generation target (lcov needs a patch)
26667 2005-07-05 Andy Wingo <wingo@pobox.com>
26669 * gst/elements, testsuite: Null if we got it...
26671 2005-07-05 Wim Taymans <wim@fluendo.com>
26674 * libs/gst/dataprotocol/Makefile.am:
26675 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26676 * libs/gst/dataprotocol/dataprotocol.h:
26677 * pkgconfig/Makefile.am:
26678 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26679 * pkgconfig/gstreamer-dataprotocol.pc.in:
26680 Ported dataprotol to 0.9.
26681 Added pkgconfig files.
26683 2005-07-05 Andy Wingo <wingo@pobox.com>
26685 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26686 Default to returning TRUE for the case when tranform_caps returns
26687 a fixed caps, like for identity or volume.
26689 * check/gst/gstbus.c (pound_bus_with_messages):
26690 * check/gst/gstmessage.c (START_TEST):
26691 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26692 message API change.
26694 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26695 logic weaks here: always run transform_caps, trying passthrough
26696 operation only if the original caps intersects with the transform.
26698 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26699 source and sink caps.
26701 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26702 Intersect the peer caps with the pad template before going into
26704 (gst_base_transform_transform_caps): More debugging.
26706 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26709 2005-07-04 Edward Hervey <edward@fluendo.com>
26713 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26716 2005-07-04 Andy Wingo <wingo@pobox.com>
26718 * check/gst/gstpad.c: Only set explicit caps on pads.
26720 2005-07-01 Andy Wingo <wingo@pobox.com>
26722 * tests/network-clock.scm: Commentary update.
26724 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26725 Didn't really make sense, not implementable with basetransform,
26727 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26728 attempt at implementing the sync property, needs an unlock method.
26730 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26731 New func, by default returns the same caps (the identity
26733 (gst_base_transform_getcaps): Uses transform_caps to return
26734 something sensible.
26735 (gst_base_transform_setcaps): Complicated logic to get caps on
26736 both pads, even if they are different, and to call set_caps once
26737 for every time both pads get their caps set.
26738 (gst_base_transform_handle_buffer): Give the ref to the transform
26739 function. Allows in-place modification of the buffer.
26741 * gst/base/gstbasetransform.h (transform_caps): New class method.
26742 Given caps on one side, what can I do on the other.
26743 (set_caps): Take two caps, one for each side of the element.
26746 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26747 caps in place. This is safe because we can check the mutability of
26748 the caps, and a good idea because fixate functions are just called
26749 as a matter of last resort. (Not actually implemented.)
26750 (gst_pad_set_caps): If the caps we're setting is actually the same
26751 as the existing pad caps, just update the pointer without calling
26752 setcaps. Assert that caps is either NULL or fixed, as per the
26755 * gst/gstghostpad.c: Update for fixate changes.
26757 2005-07-02 Andy Wingo <wingo@pobox.com>
26760 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26761 two refcounts makes it immutable, which is enough. Doc more.
26763 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26765 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26766 Put the mini_object into GValue as a mini_object,
26767 not a gpointer, since that's how we declared
26770 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26772 * examples/pwg/Makefile.am:
26773 Fix buildbot again.
26775 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26777 * docs/pwg/building-testapp.xml:
26779 * examples/pwg/Makefile.am:
26782 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26785 * examples/Makefile.am:
26786 * examples/pwg/Makefile.am:
26787 * examples/pwg/extract.pl:
26788 Enable building the PWG examples.
26789 * docs/pwg/advanced-interfaces.xml:
26790 Add URI interface stub.
26791 * docs/pwg/advanced-types.xml:
26792 * docs/pwg/other-autoplugger.xml:
26793 * docs/pwg/appendix-porting.xml:
26794 * docs/pwg/pwg.xml:
26795 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26796 * docs/pwg/building-boiler.xml:
26797 * docs/pwg/building-chainfn.xml:
26798 * docs/pwg/building-pads.xml:
26799 * docs/pwg/building-props.xml:
26800 * docs/pwg/building-state.xml:
26801 * docs/pwg/building-testapp.xml:
26802 Update the building-*.xml parts for 0.9 changes. All examples
26803 code blocks compile in examples/pwg/*.
26805 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26807 * docs/manual/advanced-autoplugging.xml:
26808 * docs/manual/appendix-checklist.xml:
26809 * docs/manual/appendix-integration.xml:
26810 * docs/manual/highlevel-components.xml:
26811 Fix playbin/decodebin examples, update docs a bit, mention bus
26812 instead of signals in various places, mention kmplayer and
26813 kaffeine since they have a working GStreamer backend in the KDE
26816 2005-06-30 Wim Taymans <wim@fluendo.com>
26819 * docs/design/draft-ghostpads.txt:
26820 * docs/design/draft-push-pull.txt:
26821 * docs/design/draft-query.txt:
26822 * docs/design/part-TODO.txt:
26823 * docs/design/part-query.txt:
26824 Added CHANGES-0.9 doc, updated status of other docs.
26829 2005-06-30 Wim Taymans <wim@fluendo.com>
26831 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26832 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26833 (gst_base_sink_change_state):
26834 * gst/base/gstbasesink.h:
26835 Some tweaks, only EOS and a buffer complete a preroll.
26837 2005-06-30 Andy Wingo <wingo@pobox.com>
26839 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26840 activate_push down to the internal pad as well.
26842 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26844 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26846 * gst/gsttaginterface.c:
26847 Some documentation fixes (#307394 and #307397).
26849 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26851 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26853 * gst/gstvalue.c: (gst_value_intersect_list):
26854 Fix memleak (#309125).
26856 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26858 * docs/manual/advanced-dataaccess.xml:
26859 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26860 * docs/manual/basics-pads.xml:
26861 Add reference for filtered caps to above chapter.
26863 2005-06-30 Wim Taymans <wim@fluendo.com>
26865 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26866 (gst_bin_change_state):
26868 Lame attempt at making the state change function a bit
26871 2005-06-30 Wim Taymans <wim@fluendo.com>
26873 * docs/design/part-clocks.txt:
26874 * docs/design/part-element-sink.txt:
26875 * docs/design/part-events.txt:
26876 * docs/design/part-preroll.txt:
26877 * docs/design/part-states.txt:
26878 Some more tweeks and additions to the docs.
26880 2005-06-30 Wim Taymans <wim@fluendo.com>
26882 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26883 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26884 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26885 (gst_pad_check_pull_range), (gst_pad_get_range),
26886 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26888 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26889 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26890 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26891 (gst_pad_remove_buffer_probe):
26892 Removed atomic operations, use existing LOCK.
26893 Move exception handling out of main code path.
26895 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26897 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26898 (silly_return_true_function), (gst_pad_class_init),
26899 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26900 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26901 (gst_pad_send_event):
26902 Fix accumulator, add default value by using _emitv() instead
26903 of _emit() for signal emission.
26905 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26907 * docs/manual/advanced-dataaccess.xml:
26908 * examples/manual/Makefile.am:
26910 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26913 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26915 * gst/elements/gstfilesink.c: (gst_filesink_render):
26916 Simplify code so that we don't have to handle short
26917 writes and return GST_FLOW_ERROR if an error occured.
26919 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26921 * docs/gst/gstreamer-docs.sgml:
26922 Remove probes more.
26924 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26926 * docs/gst/gstreamer-sections.txt:
26927 * docs/gst/tmpl/gstpad.sgml:
26928 * docs/gst/tmpl/gstprobe.sgml:
26930 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26931 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26932 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26933 (gst_pad_push_event), (gst_pad_send_event):
26935 * gst/gstutils.c: (gst_pad_add_data_probe),
26936 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26937 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26938 (gst_pad_remove_buffer_probe):
26940 Remove old probes, add new g-signal-based probes and some utility
26943 2005-06-29 Edward Hervey <edward@fluendo.com>
26945 * gst/gstelementfactory.c:
26948 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26949 the definition to the header file.
26951 2005-06-29 Andy Wingo <wingo@pobox.com>
26953 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26954 plugins from the source directory.
26956 2005-06-29 Wim Taymans <wim@fluendo.com>
26958 * docs/gst/tmpl/gstbuffer.sgml:
26959 * docs/gst/tmpl/gstclock.sgml:
26960 Some fixings for blantently wrong text.
26962 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26964 * check/Makefile.am:
26965 * gst/gst.c: (add_path_func), (init_pre):
26966 * gst/gstregistry.c: (gst_registry_add_path):
26967 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26968 only scan the GST_PLUGIN_PATH locations, and not add
26971 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26973 * docs/gst/gstreamer-sections.txt:
26974 * docs/gst/tmpl/gstbasesrc.sgml:
26975 * gst/gstelement.c:
26976 * gst/gstelement.h:
26981 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26983 * docs/manual/advanced-autoplugging.xml:
26984 Fix autoplugging example.
26986 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26988 * docs/manual/advanced-autoplugging.xml:
26989 * docs/manual/mime-world.fig:
26990 Try to get autoplugging working, fix type detection. Fix text
26991 in hello-world image.
26993 2005-06-29 Wim Taymans <wim@fluendo.com>
26995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26996 (gst_base_sink_change_state):
27000 map SIGNAL and BROADCAST to the right function.
27003 Remove redundant braces.
27005 * gst/gstpad.c: (gst_pad_set_caps):
27006 Don't call setcaps function when reseting caps to NULL.
27008 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27009 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27010 (gst_system_clock_id_unschedule):
27011 Use BROADCAST as this is what we do.
27013 2005-06-29 Wim Taymans <wim@fluendo.com>
27015 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27016 We are actually prerolling before commiting the state
27019 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27021 * docs/manual/advanced-clocks.xml:
27022 * docs/manual/advanced-interfaces.xml:
27023 * docs/manual/advanced-metadata.xml:
27024 * docs/manual/advanced-position.xml:
27025 * docs/manual/advanced-schedulers.xml:
27026 * docs/manual/advanced-threads.xml:
27027 * docs/manual/appendix-porting.xml:
27028 * docs/manual/basics-bins.xml:
27029 * docs/manual/basics-bus.xml:
27030 * docs/manual/basics-elements.xml:
27031 * docs/manual/basics-helloworld.xml:
27032 * docs/manual/basics-pads.xml:
27033 * docs/manual/highlevel-components.xml:
27034 * docs/manual/manual.xml:
27035 * docs/manual/thread.fig:
27036 Update (until threads/scheduling) Application Development Manual;
27037 remove GstThread, add GstBus, add simple porting checklist, add
27038 documentation for tag writing, clocks, make all examples until this
27039 part compile and run.
27040 * examples/manual/Makefile.am:
27041 Update from changes to Application Development Manual; add bus
27042 example, remove thread example.
27044 2005-06-28 Wim Taymans <wim@fluendo.com>
27046 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27047 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27048 (gst_bus_source_dispatch):
27049 Add debugging messages.
27050 Make internal methods static.
27051 Handle the case where the bus is flushed in the handler.
27053 * gst/gstelement.c: (gst_element_get_bus):
27054 Fix refcount in _get_bus();
27056 * gst/gstpipeline.c: (gst_pipeline_change_state),
27057 (gst_pipeline_get_clock_func):
27058 Clock refcounting fixes.
27059 Handle the case where preroll timed out more gracefully.
27061 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27062 Clean up the internal thread in dispose. This is needed
27063 for subclasses that actually get disposed.
27065 * gst/schedulers/threadscheduler.c:
27066 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27067 (gst_thread_scheduler_dispose):
27068 Free thread pool in dispose.
27070 2005-06-28 Andy Wingo <wingo@pobox.com>
27072 * tests/network-clock-utils.scm (debug, print-event): New utils.
27074 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27075 (*packet-loss*): Unified loss probability.
27076 (network-time): Report out-of-band events.
27078 * tests/plot-data: Add support for out-of-band events. Hack it
27079 into this script instead of passing it down the pipe; should fix
27082 2005-06-28 Wim Taymans <wim@fluendo.com>
27084 * docs/gst/gstreamer.types:
27085 * docs/gst/tmpl/gstbasesrc.sgml:
27086 * docs/gst/tmpl/gstpad.sgml:
27089 2005-06-28 Wim Taymans <wim@fluendo.com>
27091 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27092 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27093 (gst_proxy_pad_do_fixatecaps):
27094 Correctly proxy the check_pull_range function.
27096 2005-06-28 Andy Wingo <wingo@pobox.com>
27098 * tests/network-clock.scm: Removed need for slib.
27100 2005-06-28 Wim Taymans <wim@fluendo.com>
27102 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27103 (gst_basesink_preroll_queue_flush):
27104 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27105 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27106 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27107 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27108 (gst_proxy_pad_set_property):
27111 * gst/gstqueue.c: (gst_queue_init):
27112 The deprecated pad loop function is removed now.
27114 2005-06-28 Andy Wingo <wingo@pobox.com>
27116 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27117 New parameters, simulate network packet loss.
27119 * tests/network-clock-utils.scm: Initialize the RNG.
27121 2005-06-28 Wim Taymans <wim@fluendo.com>
27123 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27124 (gst_basesink_event), (gst_basesink_deactivate):
27125 Flushing the preroll queue always needs to unlock the waiters.
27127 2005-06-28 Edward Hervey <edward@fluendo.com>
27129 * gst/gstpipeline.c: (gst_pipeline_send_event):
27130 Wheen a seek was successful on a pipeline, set the stream_time to the
27131 seek offset in order to have a synchronized stream_time.
27133 2005-06-28 Wim Taymans <wim@fluendo.com>
27135 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27136 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27137 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27138 (gst_proxy_pad_do_fixatecaps):
27139 Call wrapper function instead of just calling the function
27140 pointers. This takes care of any locking and whatmore.
27142 2005-06-28 Wim Taymans <wim@fluendo.com>
27144 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27145 (gst_pad_pull_range):
27147 CONNECTED -> LINKED.
27149 2005-06-28 Andy Wingo <wingo@pobox.com>
27151 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27152 source-munging commit!!!
27154 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27155 (gst_object_sink): Take gpointer arguments, not GstObject --
27156 avoids casts. Like GLib.
27158 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27161 2005-06-27 Andy Wingo <wingo@pobox.com>
27163 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27166 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27167 returns a sorted copy of the trace list.
27168 (gst_alloc_trace_print_live): New API, only prints traces with
27169 live objects. Sort the list.
27170 (gst_alloc_trace_print_all): Sort the list.
27171 (gst_alloc_trace_print): Align columns.
27173 * gst/elements/gstttypefindelement.c:
27174 * gst/elements/gsttee.c:
27175 * gst/base/gstbasesrc.c:
27176 * gst/base/gstbasesink.c:
27177 * gst/base/gstbasetransform.c:
27178 * gst/gstqueue.c: Adapt for pad activation changes.
27180 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27182 (gst_pipeline_dispose): Drop ref on sched.
27184 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27185 (gst_pad_activate_default): Push mode by default.
27186 (pre_activate_switch, post_activate_switch): New stubs, things to
27187 do before and after switching activation modes on pads.
27188 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27189 the pad's activate function to choose which mode to activate.
27190 Shortcut on deactivation and call the right function directly.
27191 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27193 (gst_pad_activate_push): New API, same for push mode.
27194 (gst_pad_set_activate_function)
27195 (gst_pad_set_activatepull_function)
27196 (gst_pad_set_activatepush_function): Setters for new API.
27198 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27199 Trace all miniobjects.
27200 (gst_mini_object_make_writable): Unref the arg if we copy, like
27201 gst_caps_make_writable.
27203 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27205 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27206 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27207 Adapt for new pad API.
27209 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27211 * gst/gstelement.h:
27212 * gst/gstelement.c (gst_element_iterate_src_pads)
27213 (gst_element_iterate_sink_pads): New API functions.
27215 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27216 should fold into gstiterator.c in some form.
27217 (gst_element_pads_activate): Simplified via use of fold and
27218 delegation of decisions to gstpad->activate.
27220 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27223 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27224 class once in init, like gstmessage. Didn't run into this issue
27225 but it seems correct. Don't initialize a trace, gstminiobject does
27228 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27229 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27231 (assert_live_count): New util function, uses alloc traces to check
27234 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27235 To be modified when unlink drops the internal pad.
27237 2005-06-27 Wim Taymans <wim@fluendo.com>
27239 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27240 (gst_bin_change_state):
27241 Cleanup the get_state() function a little, make sure it
27242 iterates the same set of elements.
27243 Added stub iterate_state_order().
27245 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27247 * docs/gst/gstreamer-docs.sgml:
27248 * docs/gst/gstreamer-sections.txt:
27249 * docs/gst/gstreamer.types:
27250 * docs/gst/tmpl/gstbasesink.sgml:
27251 * docs/gst/tmpl/gstbasesrc.sgml:
27252 * docs/gst/tmpl/gstbasetransform.sgml:
27253 * docs/gst/tmpl/gstelement.sgml:
27254 * docs/gst/tmpl/gstiterator.sgml:
27255 * gst/base/gstbasesrc.c:
27256 * gst/base/gstbasesrc.h:
27257 * gst/base/gstbasetransform.h:
27258 * gst/gstelement.c:
27259 * gst/gstiterator.h:
27260 adding basetransform and iterator docs
27262 2005-06-27 Andy Wingo <wingo@pobox.com>
27264 * docs/design/part-activation.txt: Notes on how activation should
27265 work -- not quite implemented yet.
27267 2005-06-25 Wim Taymans <wim@fluendo.com>
27269 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27270 At least get the chain function correct, needs more
27273 2005-06-25 Wim Taymans <wim@fluendo.com>
27275 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27276 (gst_basesink_handle_object), (gst_basesink_event),
27277 (gst_basesink_do_sync), (gst_basesink_handle_event),
27278 (gst_basesink_change_state):
27280 Right, two problems here: ghostpads don't take locks and
27281 glib _rec_mutex_lock_full() with depth==0 still locks.
27282 Catch illegal locking and g_warn them.
27284 2005-06-25 Wim Taymans <wim@fluendo.com>
27286 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27287 Have to check for completion now...
27289 2005-06-25 Wim Taymans <wim@fluendo.com>
27291 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27292 (gst_basesink_handle_object), (gst_basesink_event),
27293 (gst_basesink_do_sync), (gst_basesink_handle_event),
27294 (gst_basesink_change_state):
27296 Unlock STREAM_LOCK whatever the recursion was.
27298 2005-06-25 Wim Taymans <wim@fluendo.com>
27300 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27301 (gst_basesink_preroll_queue_empty),
27302 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27303 (gst_basesink_event), (gst_basesink_do_sync),
27304 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27305 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27306 (gst_basesink_change_state):
27307 Reworked the base sink, handle event and buffer serialisation
27308 correctly and removed possible deadlock.
27309 Handle EOS correctly.
27311 2005-06-25 Wim Taymans <wim@fluendo.com>
27313 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27314 (gst_pipeline_change_state):
27315 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27316 Allow elements to post EOS in the state change function.
27317 Fix up -launch, make it exit the poll loop when the
27318 pipeline actually changed state.
27319 Fix up warning parsing in -launch.
27321 2005-06-25 Wim Taymans <wim@fluendo.com>
27323 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27324 (gst_tee_sink_activate):
27325 Core takes STREAM_LOCK for us now.
27327 2005-06-25 Wim Taymans <wim@fluendo.com>
27329 * gst/gstelement.c: (gst_element_get_state_func),
27330 (gst_element_set_state):
27331 * gst/gstelement.h:
27332 * gst/gstmessage.c: (gst_message_parse_error),
27333 (gst_message_parse_warning):
27334 Keep track of current target state while performing a state
27335 change so that subclasses can do something interesting.
27336 Fix parsing of warning/error messages when GError is NULL.
27338 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27340 * docs/gst/Makefile.am:
27341 * docs/gst/gstreamer-docs.sgml:
27342 * docs/gst/gstreamer-sections.txt:
27343 * docs/gst/gstreamer.types:
27344 * docs/gst/tmpl/gstbasesink.sgml:
27345 * docs/gst/tmpl/gstbasesrc.sgml:
27346 * docs/gst/tmpl/gstbin.sgml:
27347 * docs/gst/tmpl/gstcompat.sgml:
27348 * docs/gst/tmpl/gstfakesink.sgml:
27349 * docs/gst/tmpl/gstfakesrc.sgml:
27350 * docs/gst/tmpl/gstfilesink.sgml:
27351 * docs/gst/tmpl/gstfilesrc.sgml:
27352 * docs/gst/tmpl/gstindex.sgml:
27353 * docs/manual/appendix-quotes.xml:
27354 * gst/base/gstbasesrc.h:
27355 * gst/elements/gstfakesrc.h:
27356 * gst/gstmessage.h:
27357 start pulling in base classes and elements in our docs
27359 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27361 * docs/gst/Makefile.am:
27362 * docs/libs/Makefile.am:
27363 fixed make distcheck with gtk-doc 1.3
27365 2005-06-23 Wim Taymans <wim@fluendo.com>
27367 * gst/gstelement.c: (gst_element_get_state_func),
27368 (gst_element_set_state), (gst_element_change_state):
27369 When the state did not change, also report NO_PREROLL
27372 2005-06-23 Wim Taymans <wim@fluendo.com>
27374 * gst/gstpad.c: (gst_pad_event_default):
27375 * gst/gstqueue.c: (gst_queue_loop):
27376 No unsafe task pausing please.
27378 2005-06-23 Wim Taymans <wim@fluendo.com>
27380 * gst/schedulers/threadscheduler.c:
27381 (gst_thread_scheduler_task_start),
27382 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27383 Ref the task before pushing it on the threadpool. This
27384 makes sure that we have a ref when the threadfunction is
27387 2005-06-23 Andy Wingo <wingo@pobox.com>
27389 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27390 offset is greater than the file's size.
27392 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27393 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27394 * gst/gstobject.c (gst_object_class_init): Make the class lock
27395 recursive. Wim won't let me drop deep_notify. Decodebin works
27396 again, whoopdy doo.
27398 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27399 internal pad, and hacks accordingly. Doesn't do it on the target
27400 pad because we change its caps. Probably catches all cases of
27402 (gst_ghost_pad_set_property): Connect to notify::caps as
27405 * tests/network-clock.scm (plot-simulation): Pipe data to the
27406 elite python skript.
27408 * tests/network-clock-utils.scm (define-parameter): New macro,
27409 defines a parameter that can be set via the command line.
27410 (set-parameter!, parse-parameter-arguments): Command line args
27413 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27416 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27418 * gst/elements/gsttypefindelement.c:
27419 (gst_type_find_element_handle_event):
27420 Don't restart typefinding on a discont.
27421 * gst/gstelement.c: (gst_element_set_state):
27422 Debug spelling fix.
27423 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27424 Allow changing mode of an active pad.
27425 Debug output fixes.
27426 * gst/registries/gstlibxmlregistry.c: (load_feature):
27427 Don't cast a static pad template to a normal pad template.
27429 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27431 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27432 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27433 remove gst_strtoll completely, since it didn't actually do
27434 anything more than what g_ascii_strtoull already does.
27435 check for range errors when deserializing
27436 do a cast for the unsigned cases; but further fixing needs
27437 a decision on what the interpretation of "(int)" and
27438 deserialization should be for values that fall outside the
27439 type's boundaries (ie, refuse, or interpret as casting)
27441 2005-06-23 Wim Taymans <wim@fluendo.com>
27443 * check/Makefile.am:
27444 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27445 * docs/design/part-live-source.txt:
27446 * docs/design/part-states.txt:
27447 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27448 (gst_basesrc_set_live), (gst_basesrc_is_live),
27449 (gst_basesrc_get_range), (gst_basesrc_activate),
27450 (gst_basesrc_change_state):
27451 * gst/base/gstbasesrc.h:
27452 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27453 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27454 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27455 * gst/gstelement.c: (gst_element_get_state_func),
27456 (gst_element_set_state):
27457 * gst/gstelement.h:
27459 * tools/gst-launch.c: (event_loop), (main):
27460 Added support for live sources and other elements that
27462 Updated design docs, added live-source design doc.
27463 Implemented live source functionality in basesrc
27464 Fix error condition in _bin_get_state()
27465 Implement live source handling in -launch.
27466 Added check for live sources.
27467 Fixed case in GstBin where elements were changed state
27471 2005-06-23 Andy Wingo <wingo@pobox.com>
27473 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27474 borken refcounting.
27476 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27477 gst_caps_replace takes care of this for us.
27479 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27480 gst_pad_set_caps on the target, not just its setcaps() function.
27482 * tests/network-clock.scm:
27483 * tests/network-clock-utils.scm: A network clock simulator.
27484 Something of an algorithmic testbed before doing something in C.
27486 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27488 * check/Makefile.am:
27489 * check/gst/capslist.h:
27490 copy over from 0.8, and add two with bitmasks specified with
27492 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27493 add test to parse everything from capslist.h
27494 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27496 add test for structure deserialization
27497 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27498 add tests for deserialization of strings to int types
27499 * gst/gststructure.c: (gst_structure_nth_field_name):
27500 * gst/gststructure.h:
27501 add a way to get the name of a field referenced by index
27502 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27503 instead of checking if the resulting long long lies between
27504 min and max, we check if the long long would fit into
27505 a number of bytes for the final type.
27506 This fixes cases where a string represents 2^32 - 1, which
27507 when cast to int would be the (valid) -1, but is bigger than
27510 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27512 * gst/parse/grammar.y:
27513 add a log line for type deserialization
27515 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27517 * check/gst/gstvalue.c: (START_TEST):
27518 * gst/gstvalue.c: (gst_value_deserialize):
27519 return long long, not int, so gint64 deserialization actually
27520 works. Is there any flag that makes the compiler check this ?
27523 2005-06-22 Wim Taymans <wim@fluendo.com>
27526 Added convenience macros for setting buffers in GValue.
27528 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27530 * check/gst/.cvsignore:
27531 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27532 add a test deserializing int64, and comment part out because
27535 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27537 * check/Makefile.am:
27538 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27539 * testsuite/Makefile.am:
27540 * testsuite/caps/Makefile.am:
27541 * testsuite/caps/value_serialize.c:
27542 * testsuite/test_gst_init.c:
27543 move a value_serialize test over
27545 2005-06-20 Wim Taymans <wim@fluendo.com>
27550 * gst/gstvalue.c: (gst_value_compare_buffer),
27551 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27552 (gst_value_compare_flags), (gst_value_serialize_flags),
27553 (gst_value_deserialize_flags), (_gst_value_initialize):
27554 Fix serialisation of buffers, they are not boxed types anymore
27556 2005-06-20 Wim Taymans <wim@fluendo.com>
27558 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27559 Testcase to show error in buffer-on-caps serialisation.
27561 2005-06-20 Andy Wingo <wingo@pobox.com>
27563 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27564 will be adding to later.
27566 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27567 if its socks fill with rocks.
27568 (gst_system_clock_obtain): Set the name on object construction.
27569 Avoid double-checked locking.
27571 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27573 * gst/gsturi.c: (gst_element_make_from_uri):
27574 Fix potential endless loop.
27576 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27578 * check/Makefile.am:
27580 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27582 move over from testsuite dir and clean up
27585 * testsuite/Makefile.am:
27586 * testsuite/tags/.cvsignore:
27587 * testsuite/tags/Makefile.am:
27588 * testsuite/tags/merge.c:
27589 remove testsuite/tags
27591 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27593 * docs/gst/gstreamer-sections.txt:
27594 * docs/gst/tmpl/gstenumtypes.sgml:
27595 * win32/gstenumtypes.c:
27596 clean up documentation build a little
27598 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27600 * check/gstcheck.h:
27601 add macros for checking refcounts on objects and caps
27602 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27603 add some more unit tests
27604 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27605 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27606 fix leaked refcounts (I hope :)) so unittest works
27610 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27612 * configure.ac: back to HEAD
27614 === release 0.9.1 ===
27616 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27622 2005-06-17 Andy Wingo <wingo@pobox.com>
27624 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27625 assert; it's always possible that the pad gets deactivated in
27626 between the checks in gstpad.c and the implementation. Rely on
27627 finish_preroll() to return a FLUSHING or similar instead of on the
27630 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27631 clock and post an EOS message if we come out of finish_preroll in
27634 2005-06-16 David Schleef <ds@schleef.org>
27636 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27637 (gst_capsfilter_set_property): Allow NULL as possible value
27638 for filter_caps property, indicating GST_CAPS_ANY.
27640 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27642 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27644 * gst/schedulers/Makefile.am:
27646 * gstreamer.spec.in:
27649 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27651 * gstreamer.spec.in:
27654 2005-06-08 Andy Wingo <wingo@pobox.com>
27656 * gst/gstutils.c: RPAD fixes all around.
27657 (gst_element_link_pads): Refcounting fixes.
27659 * tools/gst-inspect.c:
27660 * tools/gst-xmlinspect.c:
27662 * gst/base/gsttypefindhelper.c:
27663 * gst/base/gstbasesink.c:
27664 * gst/gstqueue.c: RPAD fixes.
27666 * gst/gstghostpad.h:
27667 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27668 pads. The tricky thing is they provide both source and sink
27669 interfaces, since they proxy the internal pad for the external
27670 pad, and vice versa. Implement with lower-level ProxyPad objects,
27671 with the interior proxy pad as a child of the exterior ghost pad.
27672 Should write a doc on this.
27674 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27675 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27678 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27679 pads are real pads. No ghost pads in this file. Not documenting
27680 the myriad s/RPAD/PAD/ and REALIZE fixes.
27681 (gst_pad_class_init): Add properties for "direction" and
27682 "template". Both are construct-only, so they can't change during
27683 the life of the pad. Fixes properly deriving from GstPad.
27684 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27685 derived objects, just set properties when creating the objects via
27687 (gst_pad_get_parent): Implement as a function, return NULL if the
27688 parent is not an element.
27689 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27690 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27692 * gst/gstobject.c (gst_object_class_init): Make name a construct
27693 property. Don't set it in the object init.
27695 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27696 with UNKNOWN direction.
27697 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27698 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27699 (gst_element_remove_pad): Remove ghost-pad special cases.
27700 (gst_element_pads_activate): Remove rpad cruft.
27702 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27703 catch the pad's-parent-not-an-element case.
27705 * gst/gst.h: Include gstghostpad.h.
27707 * gst/gst.c (init_post): No more real, ghost pads.
27709 * gst/Makefile.am: Add gstghostpad.[ch].
27711 * check/Makefile.am:
27712 * check/gst/gstbin.c:
27713 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27714 into a bin creates ghost pads, and that the refcounts are right.
27715 Partly moved from gstbin.c.
27717 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27719 * check/gst-libs/.cvsignore:
27720 * check/gst/.cvsignore:
27721 * check/pipelines/.cvsignore:
27723 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27724 (START_TEST), (cleanup_suite), (main):
27725 add some tests related to cleanup after running pipelines
27727 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27729 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27730 add a testsuite for GstBuffer
27732 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27734 * gst/gstminiobject.h:
27735 add defines for accessing the refcount
27737 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27739 * Makefile.am: added support for html unit test coverage reports
27741 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27743 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27744 Free existing caps if the capsfilter changes. Add a FIXME about
27745 setting those caps on the pads.
27747 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27748 Before adding a ghost pad to a parent bin, check that there isn't
27749 already one for the element on the bin. Prevents infinite recursion
27750 when using decodebin in parse pipelines. Andy says he'll rewrite the
27751 way this works anyway, so ignore the hack.
27753 2005-06-02 Andy Wingo <wingo@pobox.com>
27755 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27756 file size, pass it on to the type find helper.
27758 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27759 segment_start and segment_end properly according to the seek
27760 method. Segment_end is still a bit flaky because offset can be
27761 negative for CUR and END cases, but it takes -1 as an "unset"
27764 2005-06-02 Wim Taymans <wim@fluendo.com>
27766 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27767 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27768 (gst_basesink_activate):
27769 * gst/base/gstbasesink.h:
27770 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27771 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27772 (gst_pad_query), (gst_pad_start_task):
27774 * gst/gstqueue.c: (gst_queue_bufferalloc),
27775 (gst_queue_handle_sink_event), (gst_queue_chain):
27776 Bufferalloc: return GstFlowReturn to more accuratly report
27777 why allocation failed.
27779 2005-06-02 Wim Taymans <wim@fluendo.com>
27781 * gst/gstpipeline.c: (gst_pipeline_send_event):
27782 Take snapshot of state without blocking.
27784 2005-06-02 Wim Taymans <wim@fluendo.com>
27786 * docs/design/part-TODO.txt:
27787 * docs/design/part-caps.txt:
27788 * docs/design/part-clocks.txt:
27789 * docs/design/part-negotiation.txt:
27790 * docs/design/part-preroll.txt:
27793 2005-05-30 Wim Taymans <wim@fluendo.com>
27795 * gst/elements/gstidentity.c: (gst_identity_event),
27796 (gst_identity_transform), (gst_identity_get_property):
27797 Protect last_message property as it is accessed from
27800 2005-05-30 Wim Taymans <wim@fluendo.com>
27802 * gst/gstelement.c: (gst_element_init),
27803 (gst_element_pads_activate), (gst_element_change_state):
27804 Slicker pad activation code.
27806 2005-05-30 Wim Taymans <wim@fluendo.com>
27809 * gst/gstelement.h:
27810 * gst/gstelementfactory.h:
27812 Move elementfactory methods to separate .h file.
27814 2005-05-30 Wim Taymans <wim@fluendo.com>
27816 * docs/design/part-overview.txt:
27817 * gst/gstsystemclock.h:
27818 Small typo fixes, doc updates.
27820 2005-05-30 Wim Taymans <wim@fluendo.com>
27822 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27823 (init_popt_callback):
27824 Remove cpu-opt flag.
27826 2005-05-30 Wim Taymans <wim@fluendo.com>
27828 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27829 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27831 Avoid typechecking in places where not needed.
27832 Added accessor for malloc_data.
27834 2005-05-30 Wim Taymans <wim@fluendo.com>
27836 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27837 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27838 (gst_pad_configure_sink), (gst_pad_configure_src),
27839 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27840 (gst_pad_start_task):
27841 Propagate errors from _set_caps() in configure_src/sink
27842 functions instead of returning TRUE.
27843 FLUSH events can travel up and downstream
27846 2005-05-30 Wim Taymans <wim@fluendo.com>
27848 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27849 (gst_basesink_activate):
27850 Handle EOS in preroll.
27852 2005-05-30 Wim Taymans <wim@fluendo.com>
27854 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27855 (gst_queue_loop), (gst_queue_handle_src_event):
27856 Remove old pieces of code
27857 Flushing the queue in an upstream event is a very bad idea.
27859 2005-05-26 Andy Wingo <wingo@pobox.com>
27861 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27862 gst_value_set_mini_object so as to add a ref on the object (which
27863 will be removed when the value is unset).
27865 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27866 arg type in ::handoff.
27868 * gst/gstelement.c (gst_element_change_state): Also deactivate
27869 pads in READY->NULL, just in case the element didn't make it to
27870 PAUSED. Wingo tested, Wim approved.
27872 2005-05-26 Wim Taymans <wim@fluendo.com>
27874 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27875 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27876 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27877 A flushing pad cannot be used to alloc_buffer from.
27879 2005-05-26 Wim Taymans <wim@fluendo.com>
27881 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27882 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27883 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27884 (gst_bus_create_watch), (gst_bus_add_watch_full):
27886 Implement a real GSource and use g_main_context_wakeup() to
27887 signal new messages instead of the socketpair.
27889 2005-05-25 Wim Taymans <wim@fluendo.com>
27891 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27892 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27893 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27894 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27895 (gst_pad_send_event), (gst_pad_start_task):
27896 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27897 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27898 (gst_queue_sink_activate), (gst_queue_src_activate),
27899 (gst_queue_change_state):
27901 Fix state changes for non sinks. We now change sinks, then elements
27902 with unconnected srcpads, then the rest.
27903 More efficient queue unlocking in flush and state changes.
27904 Set the pad activate mode even if it does not have an activate
27907 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27909 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27910 Don't go in pull mode for non-seekable sources.
27911 * gst/elements/gsttypefindelement.h:
27912 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27913 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27914 (free_entry), (stop_typefinding),
27915 (gst_type_find_element_handle_event), (find_peek),
27916 (gst_type_find_element_chain), (do_pull_typefind),
27917 (gst_type_find_element_change_state):
27918 Allow typefinding (w/o seeking) in push-mode, simplified version
27919 of what was in 0.8.
27920 * gst/gstutils.c: (gst_buffer_join):
27922 gst_buffer_join() from 0.8.
27924 2005-05-25 Wim Taymans <wim@fluendo.com>
27926 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27927 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27928 (gst_pad_send_event), (gst_pad_start_task):
27929 Disable attempt at mode switching until it is figured out.
27931 2005-05-25 Wim Taymans <wim@fluendo.com>
27933 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27934 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27935 (gst_basesink_finish_preroll), (gst_basesink_chain),
27936 (gst_basesink_loop), (gst_basesink_activate),
27937 (gst_basesink_change_state):
27938 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27939 (gst_basesrc_get_range), (gst_basesrc_loop),
27940 (gst_basesrc_activate):
27941 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27942 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27943 (gst_real_pad_init), (gst_real_pad_set_property),
27944 (gst_real_pad_get_property), (gst_pad_set_active),
27945 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27946 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27947 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27948 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27949 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27950 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27951 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27952 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27953 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27954 (gst_pad_stop_task):
27956 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27957 (gst_queue_loop), (gst_queue_src_activate):
27958 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27959 (gst_task_get_state):
27961 * gst/schedulers/threadscheduler.c:
27962 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27963 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27965 Remove ACTIVE pad flag, use FLUSHING everywhere
27966 Added _pad_chain(), _pad_get_range() to call chain/getrange
27968 Add locks around IS_FLUSHING when reading.
27969 Take STREAM lock in chain(), get_range() functions so plugins
27970 don't need to take it anymore.
27974 2005-05-25 Wim Taymans <wim@fluendo.com>
27976 * tools/gst-launch.c: (event_loop):
27977 Unref message after using its contents instead of
27980 2005-05-24 Wim Taymans <wim@fluendo.com>
27982 * docs/design/draft-ghostpads.txt:
27983 * docs/design/draft-push-pull.txt:
27984 * docs/design/draft-query.txt:
27985 * docs/design/part-overview.txt:
27986 Docs updates, added general overview doc.
27988 2005-05-21 David Schleef <ds@schleef.org>
27990 * docs/gst/tmpl/old/GstBin.sgml:
27991 * docs/gst/tmpl/old/GstBuffer.sgml:
27992 * docs/gst/tmpl/old/GstCaps.sgml:
27993 * docs/gst/tmpl/old/GstClock.sgml:
27994 * docs/gst/tmpl/old/GstCompat.sgml:
27995 * docs/gst/tmpl/old/GstData.sgml:
27996 * docs/gst/tmpl/old/GstElement.sgml:
27997 * docs/gst/tmpl/old/GstEvent.sgml:
27998 * docs/gst/tmpl/old/GstIndex.sgml:
27999 * docs/gst/tmpl/old/GstStructure.sgml:
28000 * docs/gst/tmpl/old/GstTag.sgml:
28001 * docs/gst/tmpl/old/cothreads.sgml:
28002 * docs/gst/tmpl/old/cothreads_compat.sgml:
28003 * docs/gst/tmpl/old/gettext.sgml:
28004 * docs/gst/tmpl/old/gobject2gtk.sgml:
28005 * docs/gst/tmpl/old/grammar.tab.sgml:
28006 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28007 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28008 * docs/gst/tmpl/old/gst_private.sgml:
28009 * docs/gst/tmpl/old/gstaggregator.sgml:
28010 * docs/gst/tmpl/old/gstarch.sgml:
28011 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28012 * docs/gst/tmpl/old/gstbufferstore.sgml:
28013 * docs/gst/tmpl/old/gstdata_private.sgml:
28014 * docs/gst/tmpl/old/gstdisksink.sgml:
28015 * docs/gst/tmpl/old/gstdisksrc.sgml:
28016 * docs/gst/tmpl/old/gstelementfactory.sgml:
28017 * docs/gst/tmpl/old/gstextratypes.sgml:
28018 * docs/gst/tmpl/old/gstfakesink.sgml:
28019 * docs/gst/tmpl/old/gstfakesrc.sgml:
28020 * docs/gst/tmpl/old/gstfdsink.sgml:
28021 * docs/gst/tmpl/old/gstfdsrc.sgml:
28022 * docs/gst/tmpl/old/gstfilesink.sgml:
28023 * docs/gst/tmpl/old/gstfilesrc.sgml:
28024 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28025 * docs/gst/tmpl/old/gstidentity.sgml:
28026 * docs/gst/tmpl/old/gstindexfactory.sgml:
28027 * docs/gst/tmpl/old/gstmarshal.sgml:
28028 * docs/gst/tmpl/old/gstmd5sink.sgml:
28029 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28030 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28031 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28032 * docs/gst/tmpl/old/gstpipefilter.sgml:
28033 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28034 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28035 * docs/gst/tmpl/old/gstshaper.sgml:
28036 * docs/gst/tmpl/old/gstspider.sgml:
28037 * docs/gst/tmpl/old/gstspideridentity.sgml:
28038 * docs/gst/tmpl/old/gststatistics.sgml:
28039 * docs/gst/tmpl/old/gsttee.sgml:
28040 * docs/gst/tmpl/old/gsttimecache.sgml:
28041 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28042 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28043 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28044 * docs/gst/tmpl/old/types.sgml:
28045 I didn't intend to add these or check them in.
28047 2005-05-19 David Schleef <ds@schleef.org>
28049 * configure.ac: Use -no-common everywhere. In a sane world, it
28050 would be the default in libtool, because without it, you can't
28051 build DLLs on Windows.
28052 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28053 * docs/gst/gstreamer-sections.txt:
28054 * docs/gst/tmpl/gstcpu.sgml:
28055 * docs/gst/tmpl/gstdata.sgml:
28056 * docs/gst/tmpl/gstthread.sgml:
28058 2005-05-19 David Schleef <ds@schleef.org>
28060 * gst/gstminiobject.c: (gst_value_set_mini_object),
28061 (gst_value_take_mini_object), (gst_value_get_mini_object):
28062 * gst/gstminiobject.h: Add GValue set/get functions.
28064 2005-05-19 Wim Taymans <wim@fluendo.com>
28066 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28067 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28068 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28070 * gst/gstbus.c: (gst_bus_post):
28071 * gst/gstelement.c: (gst_element_get_random_pad):
28072 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28073 Make subbufer unref the parent in finalize.
28074 some more debugging info.
28077 2005-05-19 Wim Taymans <wim@fluendo.com>
28079 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28080 (gst_basesink_init), (gst_basesink_finalize),
28081 (gst_basesink_activate), (gst_basesink_change_state):
28082 Don't free preroll queue too early.
28084 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28088 Hi, I'm outdated. Please shoot me.
28090 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28092 * gst/gstpipeline.c: (gst_pipeline_send_event):
28093 Do not access variables after they have been deleted.
28095 2005-05-19 Wim Taymans <wim@fluendo.com>
28097 * tools/gst-inspect.c: (print_plugin_features):
28098 A plugin feature does unfortunatly not use the
28101 2005-05-18 Wim Taymans <wim@fluendo.com>
28103 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28104 Port _span() functions to new subbuffers.
28106 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28108 * gst/gstbin.c: (gst_bin_add_func):
28109 Fix clock settery in bins when adding kids after the clock has
28112 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28114 * gst/elements/gstidentity.c: (gst_identity_class_init):
28115 Workaround until signals support GstMiniObject.
28117 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28120 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28122 2005-05-18 Wim Taymans <wim@fluendo.com>
28124 * gst/base/Makefile.am:
28125 * gst/base/gstadapter.c: (gst_adapter_base_init),
28126 (gst_adapter_class_init), (gst_adapter_init),
28127 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28128 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28129 (gst_adapter_flush), (gst_adapter_available),
28130 (gst_adapter_available_fast):
28131 * gst/base/gstadapter.h:
28132 Ported and added adapter to the base classes.
28134 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28137 * gst/gstmessage.c:
28138 Make sure the class is reffed/unreffed once before threads can be
28139 used. Fixes #304551.
28141 2005-05-17 Wim Taymans <wim@fluendo.com>
28143 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28144 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28145 * gst/gstminiobject.c: (gst_mini_object_get_type),
28146 (gst_mini_object_free):
28147 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28148 (gst_pad_push), (gst_pad_push_event):
28149 * gst/gstqueue.c: (gst_queue_change_state):
28150 Don't queue buffers in basesink when we are flushing.
28151 Unref buffer when flushing in basesink.
28152 Flush queue when going to READY
28153 Unref buffer when _push() returns an error.
28154 Don't free MiniObject instance when refcount is incremented
28155 in _finalize() so that we can recover objects.
28157 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28159 * docs/manual/advanced-schedulers.xml:
28160 * docs/manual/appendix-checklist.xml:
28161 * docs/pwg/advanced-clock.xml:
28162 * docs/pwg/advanced-interfaces.xml:
28163 * docs/pwg/advanced-request.xml:
28164 * docs/pwg/advanced-types.xml:
28165 * docs/pwg/intro-preface.xml:
28166 * examples/plugins/example.c: (gst_example_get_type),
28167 (gst_example_class_init), (gst_example_chain),
28168 (gst_example_set_property), (gst_example_get_property),
28169 (gst_example_change_state), (plugin_init):
28170 * examples/plugins/example.h:
28173 2005-05-17 Wim Taymans <wim@fluendo.com>
28175 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28176 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28177 * gst/gstqueue.c: (gst_queue_change_state):
28178 Clear queue when going to READY.
28179 Remove IN_SETCAPS flag too.
28181 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28183 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28184 Remove implicit cast from gboolean to GstElementStateReturn;
28185 make sure we still return failure in paused => ready case if
28186 the parent class fails to change state and our own stop
28189 2005-05-17 Wim Taymans <wim@fluendo.com>
28191 * tools/gst-launch.c: (event_loop):
28192 Message was unreffed too soon.
28194 2005-05-16 Andy Wingo <wingo@pobox.com>
28196 * gst/gstbin.c (sink_iterator_filter): Err... um...
28198 * check/gst/gstbin.c (test_ghost_pads): New test for the
28199 ghosting-if-elements-not-in-same-bin behavior.
28201 2005-05-16 David Schleef <ds@schleef.org>
28203 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28204 accessing refcount directly.
28206 2005-05-15 David Schleef <ds@schleef.org>
28208 * check/Makefile.am: remove GstData checks
28209 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28210 * gst/Makefile.am: add miniobject, remove data
28211 * gst/gst.h: add miniobject, remove data
28212 * gst/gstdata.c: remove
28213 * gst/gstdata.h: remove
28214 * gst/gstdata_private.h: remove
28215 * gst/gsttypes.h: remove GstEvent and GstMessage
28216 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28217 * gst/gstmarshal.list: change BOXED -> OBJECT
28219 Implement GstMiniObject.
28220 * gst/gstminiobject.c:
28221 * gst/gstminiobject.h:
28223 Modify to be subclasses of GstMiniObject.
28224 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28225 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28226 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28227 (gst_subbuffer_get_type), (gst_subbuffer_init),
28228 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28231 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28232 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28233 (_gst_event_copy), (gst_event_new):
28235 * gst/gstmessage.c: (_gst_message_initialize),
28236 (gst_message_get_type), (gst_message_class_init),
28237 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28238 (gst_message_new), (gst_message_new_error),
28239 (gst_message_new_warning), (gst_message_new_tag),
28240 (gst_message_new_state_changed), (gst_message_new_application):
28241 * gst/gstmessage.h:
28242 * gst/gstprobe.c: (gst_probe_perform),
28243 (gst_probe_dispatcher_dispatch):
28245 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28246 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28247 (_gst_query_copy), (gst_query_new):
28249 Update elements for GstData -> GstMiniObject changes
28251 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28252 (gst_queue_chain), (gst_queue_loop):
28253 * gst/elements/gstbufferstore.c:
28254 (gst_buffer_store_add_buffer_func),
28255 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28256 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28257 (gst_fakesink_render):
28258 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28259 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28260 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28261 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28262 (gst_filesrc_create_read):
28263 * gst/elements/gstidentity.c: (gst_identity_class_init):
28264 * gst/elements/gsttypefindelement.c:
28265 (gst_type_find_element_src_event), (free_entry_buffers),
28266 (gst_type_find_element_handle_event):
28267 * libs/gst/dataprotocol/dataprotocol.c:
28268 (gst_dp_header_from_buffer):
28269 * libs/gst/dataprotocol/dataprotocol.h:
28270 * libs/gst/dataprotocol/dp-private.h:
28272 2005-05-15 David Schleef <ds@schleef.org>
28274 * gst/elements/gstelements.c: Don't include headers that were
28277 2005-05-15 David Schleef <ds@schleef.org>
28279 * gst/elements/Makefile.am: Remove some elements that don't
28280 need to be in the core (or even exist at all).
28281 * gst/elements/gstaggregator.c:
28282 * gst/elements/gstaggregator.h:
28283 * gst/elements/gstmd5sink.c:
28284 * gst/elements/gstmd5sink.h:
28285 * gst/elements/gstmultifilesrc.c:
28286 * gst/elements/gstmultifilesrc.h:
28287 * gst/elements/gstpipefilter.c:
28288 * gst/elements/gstpipefilter.h:
28289 * gst/elements/gstshaper.c:
28290 * gst/elements/gstshaper.h:
28291 * gst/elements/gststatistics.c:
28292 * gst/elements/gststatistics.h:
28293 * po/POTFILES.in: Remove above files.
28295 2005-05-14 Andy Wingo <wingo@pobox.com>
28297 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28298 so as to get the refs right.
28299 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28300 unreffing objects that don't pass the filter.
28302 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28303 gst_element_set_bus.
28304 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28305 normal cases, this will destroy the bus.
28307 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28310 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28313 2005-05-13 Andy Wingo <wingo@pobox.com>
28315 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28316 gst_pad_link, call pad_link_maybe_ghosting,
28317 (pad_link_maybe_ghosting): Links pads, making sure that the
28318 elements being linked are in the same bin.
28319 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28320 Helpers for pad_link_maybe_ghosting.
28322 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28325 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28327 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28329 * docs/design/part-element-source.txt:
28332 2005-05-12 Wim Taymans <wim@fluendo.com>
28334 * gst/base/gstbasesink.c: (gst_basesink_init),
28335 (gst_basesink_activate):
28336 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28337 (gst_basesrc_is_seekable):
28338 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28339 (bin_element_is_sink), (gst_bin_change_state):
28340 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28341 * gst/gstelement.h:
28342 Identify sinks by their flag to avoid overly complicated
28344 Do state changes even for elements not reachable from the
28346 BaseSink is a sink now :)
28347 Some more debugging info in the basesrc.
28350 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28353 Implement _query on a bin, similar to _send_event.
28355 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28357 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28358 Discont event offset format should be GST_FORMAT_BYTES,
28359 not GST_FORMAT_TIME.
28361 2005-05-12 Wim Taymans <wim@fluendo.com>
28363 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28364 Same fix as Ronald's but without the signal.
28366 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28368 * gst/gstutils.c: (gst_element_query_position):
28369 No, an element is not a pad.
28371 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28373 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28374 (gst_bin_get_state):
28375 If a child is removed from a bin while we remove the child from
28376 the bin and while we're retrieving its state, signal this to the
28377 get_state function so we abort the wait (instead of waiting for
28378 a timeout) and can immediately re-iterate over all other elements.
28380 2005-05-12 Wim Taymans <wim@fluendo.com>
28382 * gst/base/Makefile.am:
28383 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28384 (gst_basesrc_start):
28385 * gst/base/gstbasesrc.h:
28386 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28387 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28388 (gst_pushsrc_init), (gst_pushsrc_create):
28389 * gst/base/gstpushsrc.h:
28390 Added is_seekable to BaseSrc
28391 Added simple PushSrc.
28393 2005-05-11 Wim Taymans <wim@fluendo.com>
28395 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28396 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28397 (gst_element_link_pads), (gst_element_query_position),
28398 (gst_element_query_convert), (intersect_caps_func),
28399 (gst_pad_query_position), (gst_pad_query_convert):
28400 Fix refcounting in utils function.
28401 No point in trying to activate a pad when it's added, it could
28402 be added from the state change function and then we deadlock, the
28403 element has to decide what to do.
28405 2005-05-10 Andy Wingo <wingo@pobox.com>
28407 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28408 *all* the arguments.
28410 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28411 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28412 lock (according to the docs -- if this is wrong change the docs).
28414 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28415 flush messages in the NULL state.
28417 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28418 message immediately and return.
28419 (gst_bus_set_flushing): New function. If a bus is flushing, it
28420 flushes out any queued messages and immediately unrefs new
28421 messages. This is so when an element goes to NULL, all of the
28422 unhandled messages coming from it can be freed, and their
28423 references to the element dropped. In other words: message source
28424 ref considered harmful :P
28426 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28427 we're finished with it.
28429 * gst/gstmessage.c (gst_message_new_state_changed):
28431 2005-05-10 Wim Taymans <wim@fluendo.com>
28433 * gst/gstvalue.c: (gst_value_compare_flags),
28434 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28435 (_gst_value_initialize):
28436 Added flags serialize/deserialize/compare code.
28438 2005-05-09 Andy Wingo <wingo@pobox.com>
28440 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28441 Intersect the peer's caps with our caps.
28443 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28445 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28446 * gst/elements/gsttypefindelement.c: (find_peek):
28447 Handle negative offsets better. Fixes decodebin.
28449 2005-05-09 Wim Taymans <wim@fluendo.com>
28451 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28452 (gst_base_transform_event):
28453 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28454 Implement accept_caps.
28455 Fix silly lock/unlock mismatch in base class.
28457 2005-05-09 Wim Taymans <wim@fluendo.com>
28459 * docs/design/draft-push-pull.txt:
28460 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28461 * gst/elements/gstfilesink.c: (gst_filesink_init),
28462 (gst_filesink_query):
28463 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28464 (gst_type_find_handle_src_query), (find_element_get_length):
28465 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28466 * gst/gstelement.h:
28467 * gst/gstmessage.c:
28468 * gst/gstmessage.h:
28469 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28470 (gst_real_pad_get_caps_unlocked),
28471 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28472 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28473 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28474 (gst_real_pad_dispose), (gst_real_pad_finalize),
28475 (gst_pad_load_and_link), (gst_pad_save_thyself),
28476 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28477 (gst_pad_check_pull_range), (gst_pad_pull_range),
28478 (gst_pad_template_get_type), (gst_pad_template_class_init),
28479 (gst_pad_template_init), (gst_pad_template_dispose),
28480 (name_is_valid), (gst_static_pad_template_get),
28481 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28482 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28483 (gst_pad_get_element_private), (gst_pad_start_task),
28484 (gst_pad_pause_task), (gst_pad_stop_task),
28485 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28486 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28487 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28488 (gst_ghost_pad_new):
28490 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28491 (gst_query_new_position), (gst_query_set_position),
28492 (gst_query_parse_position), (gst_query_new_convert),
28493 (gst_query_set_convert), (gst_query_parse_convert):
28495 * gst/gstqueryutils.c:
28496 * gst/gstqueryutils.h:
28497 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28498 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28499 (gst_queue_handle_src_query):
28500 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28501 (gst_element_query_position), (gst_element_query_convert),
28502 (intersect_caps_func), (gst_pad_query_position),
28503 (gst_pad_query_convert):
28505 * tools/gst-inspect.c: (print_pad_info):
28506 * tools/gst-xmlinspect.c: (print_element_info):
28507 Remove old query functions. Ported old code.
28508 Added position/convert helper functions to gstutils.
28509 Reordered gstpad.c code, grouping relevant things.
28510 Remove gst_message_new(), always need to speficy a specific
28514 2005-05-09 Andy Wingo <wingo@pobox.com>
28516 * gst/gstiterator.h: Add some includes.
28518 * gst/gstqueryutils.h: Include more headers.
28521 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28522 some uses of gst_pad_query.
28524 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28525 NULL out parameters.
28526 (gst_query_new_position): New proc, allocates a new position
28529 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28530 gstqueryutils.c to the build.
28532 * gst/gststructure.c (gst_structure_set_valist): Implement with
28533 the generic G_VALUE_COLLECT.
28535 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28537 * gst/Makefile.am: (gst_headers):
28538 Added gstqueryutils.h to the list of headers to install, that was
28539 a 'nachty' move wingo :)
28541 2005-05-06 Andy Wingo <wingo@pobox.com>
28544 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28545 GstData, init a memchunk.
28546 (standard_definitions): Add a few query types, deprecate a few.
28547 (gst_query_get_type): New proc.
28548 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28550 (gst_query_new_application, gst_query_get_structure): New public
28553 * docs/design/draft-query.txt: Removed LINKS from the query types,
28554 because all the rest can be dispatched to other pads -- seemed
28555 ugly to have a query that couldn't be dispatched. internal_links
28556 is fine as a pad method.
28558 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28559 in gstpad.c, but maintain binary compatibility for the moment.
28560 Will fix before 0.9 is out.
28562 * gst/gstqueryutils.c:
28563 * gst/gstqueryutils.h: New files, implement 3 methods for each
28564 query type: parse_query, parse_response, and set. Probably need an
28567 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28569 * gst/elements/gstfilesink.c (gst_filesink_query2):
28570 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28571 query_types, and formats methods.
28573 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28574 (gst_pad_set_query2_function): New functions.
28575 (gst_real_pad_init): Set query2_default as the default query2
28576 function. Basically just dispatches to internally linked pads.
28580 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28581 without using the atomic operations. Only one thread can possibly
28582 be accessing the data at this point. Changed so as to avoid
28583 gst_atomic operations.
28585 2005-05-06 Wim Taymans <wim@fluendo.com>
28587 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28588 Also set caps if we use the fallback buffer alloc.
28590 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28592 * docs/gst/Makefile.am:
28593 * docs/gst/gstreamer-docs.sgml:
28594 * docs/gst/gstreamer-sections.txt:
28595 * docs/gst/tmpl/gstatomic.sgml:
28596 * docs/gst/tmpl/gstmemchunk.sgml:
28597 * testsuite/elements/struct_i386.h:
28598 * win32/GStreamer.vcproj:
28600 Purge GstAtomic stuff from docs and win32 makefiles as well
28602 2005-05-06 Wim Taymans <wim@fluendo.com>
28604 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28605 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28606 * gst/gstpad.c: (gst_pad_peer_get_caps):
28607 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28608 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28609 (gst_queue_src_activate), (gst_queue_change_state):
28611 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28612 (intersect_caps_func):
28613 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28614 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28615 Some fixes for the peer_get_caps() change.
28617 2005-05-06 Wim Taymans <wim@fluendo.com>
28619 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28620 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28621 (gst_basesink_activate):
28622 Actually do something with error codes returned from the push
28625 2005-05-06 Wim Taymans <wim@fluendo.com>
28627 * docs/design/part-element-sink.txt:
28628 * docs/design/part-element-source.txt:
28629 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28630 (gst_basesink_event), (gst_basesink_activate):
28631 * gst/base/gstbasesink.h:
28632 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28633 (gst_basesrc_activate):
28634 * gst/base/gstbasesrc.h:
28635 * gst/gstelement.c: (gst_element_pads_activate):
28636 Some more documentation.
28637 Fixed scheduling decision in _pads_activate().
28639 2005-05-05 Andy Wingo <wingo@pobox.com>
28641 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28644 2005-05-05 Wim Taymans <wim@fluendo.com>
28646 * gst/base/Makefile.am:
28647 * gst/base/gstbasesink.h:
28648 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28649 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28650 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28651 (gst_collectpads_class_init), (gst_collectpads_init),
28652 (gst_collectpads_finalize), (gst_collectpads_new),
28653 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28654 (find_pad), (gst_collectpads_remove_pad),
28655 (gst_collectpads_is_active), (gst_collectpads_collect),
28656 (gst_collectpads_collect_range), (gst_collectpads_start),
28657 (gst_collectpads_stop), (gst_collectpads_peek),
28658 (gst_collectpads_pop), (gst_collectpads_available),
28659 (gst_collectpads_read), (gst_collectpads_flush),
28660 (gst_collectpads_chain):
28661 * gst/base/gstcollectpads.h:
28662 * gst/elements/Makefile.am:
28663 * gst/elements/gstelements.c:
28664 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28665 (gst_fakesink_get_times), (gst_fakesink_event),
28666 (gst_fakesink_preroll), (gst_fakesink_render):
28667 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28668 (gst_filesink_init), (gst_filesink_set_location),
28669 (gst_filesink_open_file), (gst_filesink_close_file),
28670 (gst_filesink_pad_query), (gst_filesink_event),
28671 (gst_filesink_render), (gst_filesink_change_state):
28672 * gst/elements/gstfilesink.h:
28673 Added object to help in making collect pad based elements.
28675 Make event function in sink baseclass return gboolean.
28677 2005-05-05 Wim Taymans <wim@fluendo.com>
28679 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28680 (gst_bin_get_by_name):
28682 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28683 (gst_clock_finalize):
28684 * gst/gstdata.c: (gst_data_replace):
28686 * gst/gstelement.c: (gst_element_request_pad),
28687 (gst_element_pads_activate):
28688 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28689 (gst_object_unref):
28690 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28691 (gst_pad_set_checkgetrange_function),
28692 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28693 (gst_pad_check_pull_range), (gst_pad_pull_range),
28694 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28695 (gst_pad_pause_task), (gst_pad_stop_task):
28696 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28697 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28698 Fix name lookup in GstBin.
28699 Added _data_replace() function and _buffer_replace()
28700 Use finalize method to clean up clock.
28701 Fix refcounting on request pads.
28702 Fix pad schedule mode error.
28703 Some more object refcounting debug info,
28706 2005-05-04 Andy Wingo <wingo@pobox.com>
28708 * check/Makefile.am:
28709 * docs/gst/tmpl/gstatomic.sgml:
28710 * docs/gst/tmpl/gstplugin.sgml:
28711 * gst/base/gstbasesink.c: (gst_basesink_activate):
28712 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28713 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28714 (gst_basesrc_query), (gst_basesrc_set_property),
28715 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28716 (gst_basesrc_activate):
28717 * gst/base/gstbasesrc.h:
28718 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28719 (gst_base_transform_src_activate):
28720 * gst/elements/gstelements.c:
28721 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28722 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28723 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28724 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28725 (gst_type_find_element_checkgetrange),
28726 (gst_type_find_element_activate):
28727 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28728 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28729 (gst_caps_load_thyself):
28730 * gst/gstelement.c: (gst_element_pads_activate),
28731 (gst_element_save_thyself), (gst_element_restore_thyself):
28732 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28733 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28735 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28736 (gst_xml_parse_file), (gst_xml_parse_memory),
28737 (gst_xml_get_element), (gst_xml_make_element):
28738 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28739 (_file_index_id_save_xml), (gst_file_index_commit):
28740 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28741 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28743 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28744 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28745 * tools/gst-complete.c: (main):
28746 * tools/gst-compprep.c: (main):
28747 * tools/gst-inspect.c: (print_element_properties_info):
28748 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28749 * tools/gst-xmlinspect.c: (print_element_properties):
28752 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28754 * gst/gstplugin.c: (gst_plugin_check_module),
28755 (gst_plugin_check_file), (gst_plugin_load_file):
28756 apply patch from #172526 to make register work on MacOSX
28758 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28760 * docs/gst/tmpl/gstconfig.sgml:
28761 * gst/gstconfig.h.in:
28762 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28763 * testsuite/debug/printf_extension.c: (main):
28764 Do not use GST_PTR_FORMAT on pointers to types with
28765 sizeof < sizeof(gpointer). Fixes test on 64-bit
28766 * testsuite/elements/property.h:
28767 use correct printf format
28769 2005-05-02 Wim Taymans <wim@fluendo.com>
28771 * docs/design/draft-push-pull.txt:
28772 * docs/design/draft-query.txt:
28773 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28774 (gst_basesrc_start):
28775 Added draft for new query API.
28776 Added draft for better selecting scheduling methods.
28777 Make basesrc ignore length if the subclass does not support
28780 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28783 possible fixes for automake-1.5 - _LIBADD is reserved
28785 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28787 * docs/faq/Makefile.am:
28788 * docs/manual/Makefile.am:
28789 * docs/manuals.mak:
28790 * docs/pwg/Makefile.am:
28792 possible fixes for automake-1.5
28794 2005-04-28 Wim Taymans <wim@fluendo.com>
28796 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28797 (gst_basesink_pad_getcaps), (gst_basesink_init),
28798 (gst_basesink_do_sync):
28799 * gst/gstclock.c: (gst_clock_entry_new):
28800 * gst/gstevent.c: (gst_event_discont_get_value):
28801 * gst/gstpipeline.c: (pipeline_bus_handler),
28802 (gst_pipeline_change_state):
28803 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28804 Better debugging of clocking info.
28805 Allow NULL values when getting discont values.
28807 2005-04-27 Wim Taymans <wim@fluendo.com>
28809 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28810 * check/gst/gstpad.c: (gst_pad_suite):
28811 Increase timeout for checks.
28813 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28815 * check/Makefile.am:
28816 fix the broken rule for cleanup. Apparently this rule is
28817 only needed on FC2, so maybe this warrants further autotool
28820 2005-04-26 Wim Taymans <wim@fluendo.com>
28822 * gst/gsttrashstack.h:
28823 Ooohh. a nasty one! After having a failed pop() from the stack,
28824 it's possible that the stack is empty. In that case, don't
28825 follow the NULL pointer.
28827 2005-04-25 Wim Taymans <wim@fluendo.com>
28829 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28830 (gst_pad_set_checkgetrange_function),
28831 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28832 (gst_pad_check_pull_range), (gst_pad_pull_range),
28833 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28834 (gst_pad_pause_task), (gst_pad_stop_task):
28835 * gst/gstplugin.c: (gst_plugin_load):
28837 Remove gst_library_load as it does more harm than good with
28838 the new g_module flags.
28839 Revert bogus caps template check in pad linking, pad caps
28840 are important when linking not the template, which is more
28841 general than the current caps.
28843 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28845 * gst/autoplug/.cvsignore:
28846 * gst/autoplug/Makefile.am:
28847 * gst/autoplug/gstsearchfuncs.c:
28848 * gst/autoplug/gstsearchfuncs.h:
28849 * gst/autoplug/gstspider.c:
28850 * gst/autoplug/gstspider.h:
28851 * gst/autoplug/gstspideridentity.c:
28852 * gst/autoplug/gstspideridentity.h:
28853 * gst/autoplug/spidertest.c:
28856 2005-04-25 Wim Taymans <wim@fluendo.com>
28858 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28859 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28860 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28861 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28863 Added stubs for unimplemented functions.
28865 2005-04-24 David Schleef <ds@schleef.org>
28867 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28870 2005-04-24 David Schleef <ds@schleef.org>
28872 Convert everything from GstAtomicInt to g_atomic_int_*, and
28877 * gst/gstatomic_impl.h:
28885 * gst/gstdata_private.h:
28889 * gst/gstmessage.c:
28892 * gst/gststructure.c:
28893 * gst/gststructure.h:
28894 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28897 2005-04-24 David Schleef <ds@schleef.org>
28899 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28900 make the regressions tests work. Remove some code that is no
28902 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28903 Disable warning for pads without templates.
28905 2005-04-24 David Schleef <ds@schleef.org>
28907 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28908 functions that handle filtered links.
28909 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28911 * gst/gstutils.c: Fix/remove utility functions that handle
28914 * gst/gstvalue.c: Add serialization/deserialization of caps
28915 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28916 requires fixing so that the filter caps notation creates
28917 a capsfilter element and sets the filter_caps property. I
28918 think everyone probably wants to keep the shorthand notation.
28919 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28920 * docs/gst/tmpl/gstpad.sgml:
28922 * gst/elements/gstelements.c: Register capsfilter element.
28923 * gst/Makefile.am: fix spacing
28924 * docs/random/ds/0.9-suggested-changes: random
28926 2005-04-23 David Schleef <ds@schleef.org>
28928 * gst/elements/Makefile.am:
28929 * gst/elements/gstcapsfilter.c: New element that acts like an
28930 identity, but filters caps. Will eventually replace filtered
28931 caps in pad linking.
28932 * gst/gstutils.c: (gst_element_create_all_pads): New function
28933 to create all the ALWAYS pads that are registered with an
28934 element class. This functionality should eventually be
28935 merged in with GstElement initialization.
28937 * testsuite/trigger/README: part of trigger test code that should
28938 have been checked in a long time ago.
28940 2005-04-23 David Schleef <ds@schleef.org>
28942 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28943 needed with new versions of libtool (nobody will confirm this),
28944 and hard to carry around.
28945 * gst/autoplug/Makefile.am:
28946 * gst/base/Makefile.am:
28947 * gst/elements/Makefile.am:
28948 * gst/indexers/Makefile.am:
28949 * gst/schedulers/Makefile.am:
28950 * libs/gst/bytestream/Makefile.am:
28951 * libs/gst/control/Makefile.am:
28952 * libs/gst/dataprotocol/Makefile.am:
28953 * libs/gst/getbits/Makefile.am:
28955 2005-04-21 Wim Taymans <wim@fluendo.com>
28957 * docs/design/draft-push-pull.txt:
28958 * docs/design/part-MT-refcounting.txt:
28959 * docs/design/part-TODO.txt:
28960 * docs/design/part-caps.txt:
28961 * docs/design/part-events.txt:
28962 * docs/design/part-gstbus.txt:
28963 * docs/design/part-gstpipeline.txt:
28964 * docs/design/part-messages.txt:
28965 * docs/design/part-push-pull.txt:
28966 * docs/design/part-query.txt:
28969 2005-04-21 Wim Taymans <wim@fluendo.com>
28971 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28972 (gst_message_new), (gst_message_new_error),
28973 (gst_message_new_warning), (gst_message_new_tag),
28974 (gst_message_new_state_changed), (gst_message_new_application),
28975 (gst_message_get_structure):
28976 * gst/gstmessage.h:
28977 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28978 (gst_structure_copy_conditional):
28979 Use parent refcount in GstMessage to ensure GstStructure
28981 Cleaned up headers a bit.
28984 2005-04-20 Wim Taymans <wim@fluendo.com>
28986 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28987 (gst_basesink_pad_getcaps), (gst_basesink_init),
28988 (gst_basesink_chain_unlocked):
28989 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28990 (gst_type_find_helper):
28991 * gst/elements/gsttypefindelement.c:
28992 (gst_type_find_element_have_type), (gst_type_find_element_init),
28993 (stop_typefinding), (gst_type_find_element_handle_event),
28994 (find_suggest), (gst_type_find_element_chain),
28995 (gst_type_find_element_checkgetrange),
28996 (gst_type_find_element_getrange), (do_typefind),
28997 (gst_type_find_element_activate):
28998 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28999 (gst_buffer_default_free), (gst_buffer_default_copy),
29000 (gst_buffer_set_caps):
29001 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29002 (gst_caps_replace):
29003 * gst/gstmessage.c: (gst_message_new),
29004 (gst_message_new_state_changed):
29005 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29006 (gst_pad_set_checkgetrange_function),
29007 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29008 (gst_pad_set_caps), (gst_pad_check_pull_range),
29009 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29011 * gst/gsttypefind.c: (gst_type_find_register):
29012 Make gst_caps_replace() work like other _replace() functions.
29013 Use _caps_replace() where possible.
29014 Make sure _message_new() initialises its field.
29015 Add gst_static_pad_template_get_caps()
29018 2005-04-18 Andy Wingo <wingo@pobox.com>
29020 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29021 on the peer, not the pad. I think that was a typo. Pass an extra
29022 arg to see if random access is possible. Activate the pads as
29023 PULL_RANGE if possible.
29025 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29027 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29028 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29031 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29033 * docs/faq/using.xml:
29034 Add note on gstreamer-properties (#154996).
29036 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29038 * docs/random/bbb/optional-properties:
29039 Some analysis on optional properties.
29041 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29043 * docs/gst/tmpl/gstelementfactory.sgml:
29044 * gst/gstelement.h:
29045 * gst/gstelementfactory.c: (gst_element_factory_init),
29046 (gst_element_factory_cleanup), (gst_element_register),
29047 (__gst_element_factory_add_static_pad_template),
29048 (gst_element_factory_get_static_pad_templates),
29049 (gst_element_factory_can_src_caps),
29050 (gst_element_factory_can_sink_caps):
29051 * gst/registries/Makefile.am:
29052 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29053 (gst_xml_registry_class_init), (gst_xml_registry_init),
29054 (gst_xml_registry_new), (gst_xml_registry_set_property),
29055 (gst_xml_registry_get_property), (get_time), (make_dir),
29056 (gst_xml_registry_get_perms_func),
29057 (plugin_times_older_than_recurse), (plugin_times_older_than),
29058 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29059 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29060 (add_to_char_array), (read_string), (read_uint), (read_enum),
29061 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29062 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29063 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29064 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29065 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29066 (gst_xml_registry_rebuild):
29067 * gst/registries/gstlibxmlregistry.h:
29068 * tools/gst-compprep.c: (main):
29069 * tools/gst-inspect.c: (print_pad_templates_info):
29070 * tools/gst-xmlinspect.c: (print_element_info):
29071 Use libxml2 for registry parsing, use staticpadtemplates in
29072 elementfactories. Makes gst_init() +/- 10x faster.
29074 2005-04-12 Wim Taymans <wim@fluendo.com>
29076 * gst/base/Makefile.am:
29077 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29078 (gst_basesink_pad_getcaps), (gst_basesink_init),
29079 (gst_basesink_event), (gst_basesink_change_state):
29080 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29081 (gst_basesrc_init), (gst_basesrc_query),
29082 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29083 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29084 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29085 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29086 (gst_basesrc_stop), (gst_basesrc_activate),
29087 (gst_basesrc_change_state):
29088 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29089 (helper_find_suggest), (gst_type_find_helper):
29090 * gst/base/gsttypefindhelper.h:
29091 * gst/elements/Makefile.am:
29092 * gst/elements/gstelements.c:
29093 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29094 (gst_fakesink_get_times), (gst_fakesink_event),
29095 (gst_fakesink_preroll), (gst_fakesink_render):
29096 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29097 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29098 (gst_fakesrc_get_property), (gst_fakesrc_create),
29099 (gst_fakesrc_start), (gst_fakesrc_stop):
29100 * gst/elements/gstfakesrc.h:
29101 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29102 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29103 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29104 (gst_filesrc_create_read), (gst_filesrc_create),
29105 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29106 (gst_filesrc_start):
29107 * gst/elements/gsttypefindelement.c:
29108 (gst_type_find_element_have_type), (gst_type_find_element_init),
29109 (start_typefinding), (stop_typefinding), (push_buffer_store),
29110 (gst_type_find_element_handle_event),
29111 (gst_type_find_element_chain),
29112 (gst_type_find_element_checkgetrange),
29113 (gst_type_find_element_getrange), (do_typefind),
29114 (gst_type_find_element_activate),
29115 (gst_type_find_element_change_state):
29116 * gst/elements/gsttypefindelement.h:
29117 * gst/gstpipeline.c: (pipeline_bus_handler):
29118 Added typefind helper.
29119 Small preroll fix in the base sink.
29120 Disable typefind code in basesrc.
29121 Crude port of typefindelement.
29125 2005-04-11 Wim Taymans <wim@fluendo.com>
29127 * check/gst/gstbus.c: (gstbus_suite):
29128 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29129 * check/gstcheck.h:
29130 Fix up the timeout so that the test does not fail.
29132 2005-04-06 Wim Taymans <wim@fluendo.com>
29135 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29136 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29137 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29138 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29139 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29140 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29141 (gst_basesrc_stop), (gst_basesrc_activate),
29142 (gst_basesrc_change_state), (basesrc_find_peek),
29143 (basesrc_find_suggest), (gst_basesrc_type_find):
29144 * gst/base/gstbasesrc.h:
29145 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29146 (gst_filesrc_class_init), (gst_filesrc_init),
29147 (gst_filesrc_finalize), (gst_filesrc_set_location),
29148 (gst_filesrc_set_property), (gst_filesrc_get_property),
29149 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29150 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29151 (gst_filesrc_create_read), (gst_filesrc_create),
29152 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29153 * gst/elements/gstfilesrc.h:
29154 * gst/gstelement.c: (gst_element_get_state_func),
29155 (gst_element_lost_state), (gst_element_pads_activate):
29156 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29157 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29158 (gst_pad_pull_range):
29160 More work on the generic source base class, implement seeking,
29162 Make filesrc extend the base source class.
29163 Added gst_pad_set_checkgetrange_function to GstPad.
29165 2005-04-06 Andy Wingo <wingo@pobox.com>
29167 * pkgconfig/gstreamer-base.pc.in:
29168 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29170 * pkgconfig/Makefile.am:
29171 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29173 2005-04-04 Wim Taymans <wim@fluendo.com>
29175 * gst/base/Makefile.am:
29177 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29178 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29179 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29180 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29181 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29182 (gst_basesrc_base_init), (gst_basesrc_class_init),
29183 (gst_basesrc_init), (gst_basesrc_get_formats),
29184 (gst_basesrc_get_query_types), (gst_basesrc_query),
29185 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29186 (gst_basesrc_set_property), (gst_basesrc_get_property),
29187 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29188 (gst_basesrc_loop), (gst_basesrc_activate),
29189 (gst_basesrc_change_state):
29190 * gst/base/gstbasesrc.h:
29191 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29192 (gst_fakesrc_class_init), (gst_fakesrc_init),
29193 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29194 (gst_fakesrc_get_property), (gst_fakesrc_create):
29195 * gst/elements/gstfakesrc.h:
29196 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29197 (gst_filesrc_open_file), (gst_filesrc_loop),
29198 (gst_filesrc_activate), (filesrc_find_peek),
29199 (gst_filesrc_type_find):
29200 Made base source class, make fakesrc extend it.
29201 Add comments to basesink class.
29202 Some filesrc cleanup.
29204 2005-03-31 David Schleef <ds@schleef.org>
29206 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29207 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29208 expected to link against libgstreamer.
29209 * gst/base/Makefile.am: link against libgstreamer
29210 * gst/elements/Makefile.am: same
29212 2005-03-31 Andy Wingo <wingo@pobox.com>
29214 * tests/instantiate/Makefile.am:
29215 * tests/instantiate/caps.c: Add test to test speed of caps copy
29218 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29219 GMemChunk to be fair.
29221 * gst/gsttrashstack.h: Remove warning about using the fallback
29222 trash stack implementation, it's still faster than malloc.
29224 2005-03-30 Andy Wingo <wingo@pobox.com>
29226 * tests/complexity.c: Add a copyright.
29228 2005-03-31 Wim Taymans <wim@fluendo.com>
29230 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29231 (gst_base_transform_class_init), (gst_base_transform_init),
29232 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29233 (gst_base_transform_get_property),
29234 (gst_base_transform_sink_activate),
29235 (gst_base_transform_src_activate),
29236 (gst_base_transform_change_state):
29237 * gst/base/gstbasetransform.h:
29238 * gst/elements/gstidentity.c: (gst_identity_class_init),
29239 (gst_identity_event), (gst_identity_check_perfect),
29240 (gst_identity_transform), (gst_identity_start),
29241 (gst_identity_stop):
29242 Added start/stop methods to transform base class so subclasses
29243 don't need to deal with state changes even.
29245 2005-03-31 Wim Taymans <wim@fluendo.com>
29247 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29248 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29250 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29251 (gst_pad_pull_range):
29252 Added rate to the discont event to prepare for variable speed
29253 and reverse playback.
29255 2005-03-29 David Schleef <ds@schleef.org>
29258 * testsuite/trigger/Makefile.am:
29259 * testsuite/trigger/trigger.c: A little example program to show
29260 how trigger-based elements can work.
29262 2005-03-29 Wim Taymans <wim@fluendo.com>
29264 * gst/base/Makefile.am:
29266 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29267 (gst_basesink_base_init), (gst_basesink_class_init),
29268 (gst_basesink_pad_getcaps), (gst_basesink_init),
29269 (gst_basesink_activate), (gst_basesink_change_state):
29270 * gst/base/gstbasesink.h:
29271 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29272 (gst_base_transform_base_init), (gst_base_transform_finalize),
29273 (gst_base_transform_class_init), (gst_base_transform_init),
29274 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29275 (gst_base_transform_event), (gst_base_transform_getrange),
29276 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29277 (gst_base_transform_set_property),
29278 (gst_base_transform_get_property),
29279 (gst_base_transform_sink_activate),
29280 (gst_base_transform_src_activate),
29281 (gst_base_transform_change_state):
29282 * gst/base/gstbasetransform.h:
29283 * gst/elements/gstidentity.c: (gst_identity_finalize),
29284 (gst_identity_class_init), (gst_identity_init),
29285 (gst_identity_event), (gst_identity_check_perfect),
29286 (gst_identity_transform), (gst_identity_set_property),
29287 (gst_identity_get_property), (gst_identity_change_state):
29288 * gst/elements/gstidentity.h:
29289 * gst/gstelement.c: (gst_element_get_state_func),
29290 (gst_element_lost_state), (gst_element_pads_activate):
29291 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29292 (gst_pad_check_pull_range), (gst_pad_pull_range):
29294 Simplify pad activation.
29295 Added function to check if pull_range can be performed.
29296 Error out when pulling inactive or flushing pads.
29297 Removed const from refcounted types as it does not make sense.
29298 Simplify pad templates in basesink
29299 Added base class for simple 1-to-1 transforms.
29300 Make identity subclass the base transform.
29302 2005-03-29 Andy Wingo <wingo@pobox.com>
29304 * docs/libs/gstreamer-libs-overrides.txt:
29305 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29306 really don't understand what's going on, but like whatever. I want
29309 * docs/gst/Makefile.am:
29310 * docs/libs/Makefile.am: Dist the overrides files.
29312 * check/Makefile.am (clean-local): Remove .libs directories.
29314 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29315 elements to EXTRA_DIST, so po/ files are happy.
29317 * po/POTFILES.in: Er, remove it here.
29319 * po/POTFILES: Remove gstspider.c.
29321 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29323 * docs/libs/gstreamer-libs-docs.sgml:
29324 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29327 * tests/complexity.c (main): Set the length of the preroll queue
29328 on the sinks to prevent a lockup.
29330 * libs/gst/dataprotocol/Makefile.am:
29331 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29332 the same as the one in check/gst-libs/gdp.c.
29334 * po/, docs/gst/: Commit automatic changes to docs and po files.
29336 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29337 the versioned libgstbase.
29339 * check/Makefile.am: Depend on an unversioned gst-register, seems
29340 to make autoconf happier.
29342 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29344 2005-03-28 Wim Taymans <wim@fluendo.com>
29347 * docs/design/part-gstelement.txt:
29348 * docs/design/part-negotiation.txt:
29349 * docs/design/part-preroll.txt:
29350 * docs/design/part-scheduling.txt:
29351 * docs/design/part-states.txt:
29353 * gst/base/Makefile.am:
29355 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29356 (gst_basesink_base_init), (gst_basesink_class_init),
29357 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29358 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29359 (gst_basesink_set_pad_functions),
29360 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29361 (gst_basesink_set_property), (gst_basesink_get_property),
29362 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29363 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29364 (gst_basesink_preroll_queue_push),
29365 (gst_basesink_preroll_queue_empty),
29366 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29367 (gst_basesink_event), (gst_basesink_get_times),
29368 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29369 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29370 (gst_basesink_loop), (gst_basesink_activate),
29371 (gst_basesink_change_state):
29372 * gst/base/gstbasesink.h:
29373 * gst/elements/Makefile.am:
29374 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29375 (gst_fakesink_class_init), (gst_fakesink_init),
29376 (gst_fakesink_set_property), (gst_fakesink_get_property),
29377 (gst_fakesink_get_times), (gst_fakesink_event),
29378 (gst_fakesink_preroll), (gst_fakesink_render),
29379 (gst_fakesink_change_state):
29380 * gst/elements/gstfakesink.h:
29381 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29382 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29383 * gst/gstelement.c: (gst_element_add_pad),
29384 (gst_element_get_state_func), (gst_element_abort_state),
29385 (gst_element_commit_state), (gst_element_lost_state),
29386 (gst_element_set_state), (gst_element_pads_activate):
29387 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29388 * gst/gstpipeline.c: (gst_pipeline_send_event),
29389 (gst_pipeline_change_state):
29390 Added state change code.
29391 Added/updated docs.
29392 Added sink base class, make fakesink extend the base class.
29393 Small cleanups in GstPipeline.
29395 2005-03-26 David Schleef <ds@schleef.org>
29397 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29398 is broken and should be implemented in a different library.
29399 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29400 * gst/gst.h: remove gstcpu.h
29401 * gst/gstcpu.c: remove
29402 * gst/gstcpu.h: remove
29403 * gst/Makefile.am.future: Remove this file. It's ancient.
29405 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29407 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29408 (gst_bin_send_event):
29409 Add default event/set_manager handlers. The set_manager handler
29410 takes care that the manager is distributed over kids that were
29411 already in the bin before the manager was set. The event handler
29412 is a utility virtual function that sends the event over all sinks,
29413 so that gst_element_send_event (bin, event); has the expected
29415 * gst/gstpad.c: (gst_pad_event_default):
29416 Re-install default event handling for discontinuities, so that
29417 seeking works without requiring hacks in applications or extra
29419 * gst/gstpipeline.c: (gst_pipeline_class_init),
29420 (gst_pipeline_send_event):
29421 Half hack, half utility: set a pipeline to PAUSED for seek events,
29422 since that is the only way we can guarantee a/v sync. Means that
29423 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29424 and it "just works".
29426 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29428 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29429 Lock/unlock mismatch.
29431 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29433 * docs/faq/gst-uninstalled:
29434 add gst-plugins-base
29435 * docs/gst/Makefile.am:
29436 don't error out until docs are fixed
29437 * docs/gst/gstreamer.types:
29440 2005-03-22 Wim Taymans <wim@fluendo.com>
29442 * check/Makefile.am:
29443 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29444 * gst/gststructure.c: (gst_structure_set_valist),
29445 (gst_structure_copy_conditional):
29446 Activated more tests.
29447 Added message test.
29448 Added G_TYPE_POINTER to GstStructure.
29451 2005-03-22 Wim Taymans <wim@fluendo.com>
29453 * docs/design/part-TODO.txt:
29454 * docs/design/part-events.txt:
29455 * docs/design/part-gstbin.txt:
29456 * docs/design/part-gstbus.txt:
29457 * docs/design/part-gstpipeline.txt:
29458 * docs/design/part-messages.txt:
29460 * gst/gstmessage.c:
29463 2005-03-21 Wim Taymans <wim@fluendo.com>
29465 * gst/gstbus.c: (gst_bus_post):
29466 Fix copy-and-paste error.
29468 2005-03-21 Wim Taymans <wim@fluendo.com>
29470 * check/Makefile.am:
29472 * gst/elements/Makefile.am:
29473 * gst/elements/gstelements.c:
29474 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29475 (gst_fakesink_event), (gst_fakesink_chain):
29476 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29477 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29478 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29479 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29480 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29481 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29482 (gst_fakesrc_loop), (gst_fakesrc_activate),
29483 (gst_fakesrc_change_state):
29484 * gst/elements/gstfakesrc.h:
29485 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29486 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29487 (gst_filesrc_open_file), (gst_filesrc_loop),
29488 (gst_filesrc_activate), (gst_filesrc_change_state),
29489 (filesrc_find_peek), (filesrc_find_suggest),
29490 (gst_filesrc_type_find):
29491 * gst/elements/gstidentity.c: (gst_identity_finalize),
29492 (gst_identity_class_init), (gst_identity_init),
29493 (gst_identity_proxy_getcaps), (identity_queue_push),
29494 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29495 (gst_identity_getrange), (gst_identity_chain),
29496 (gst_identity_sink_loop), (gst_identity_src_loop),
29497 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29498 (gst_identity_set_property), (gst_identity_get_property),
29499 (gst_identity_change_state):
29500 * gst/elements/gstidentity.h:
29501 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29502 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29503 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29504 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29505 (gst_tee_sink_activate):
29506 * gst/elements/gsttee.h:
29507 * gst/gst.c: (gst_register_core_elements), (init_post):
29509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29510 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29511 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29512 (gst_bin_change_state):
29514 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29515 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29516 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29517 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29518 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29519 (bus_watch_callback), (bus_watch_destroy),
29520 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29521 (poll_timeout), (gst_bus_poll):
29525 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29526 (gst_element_post_message), (gst_element_message_full),
29527 (gst_element_get_state_func), (gst_element_get_state),
29528 (gst_element_abort_state), (gst_element_commit_state),
29529 (gst_element_lost_state), (gst_element_set_state),
29530 (gst_element_pads_activate), (gst_element_change_state),
29531 (gst_element_dispose), (gst_element_set_manager_func),
29532 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29533 (gst_element_set_manager), (gst_element_get_manager),
29534 (gst_element_set_bus), (gst_element_get_bus),
29535 (gst_element_set_scheduler), (gst_element_get_scheduler):
29536 * gst/gstelement.h:
29537 * gst/gstevent.c: (gst_event_new_segment_seek),
29538 (gst_event_new_flush):
29540 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29541 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29542 (gst_message_new_eos), (gst_message_new_error),
29543 (gst_message_new_warning), (gst_message_new_tag),
29544 (gst_message_new_state_changed), (gst_message_new_application),
29545 (gst_message_get_structure), (gst_message_parse_tag),
29546 (gst_message_parse_state_changed), (gst_message_parse_error),
29547 (gst_message_parse_warning):
29548 * gst/gstmessage.h:
29549 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29550 (gst_real_pad_set_property), (gst_pad_set_active),
29551 (gst_pad_is_active), (gst_pad_set_blocked_async),
29552 (gst_pad_set_blocked), (gst_pad_is_blocked),
29553 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29554 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29555 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29556 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29557 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29558 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29559 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29560 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29561 (gst_pad_set_caps), (gst_pad_configure_sink),
29562 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29563 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29564 (gst_real_pad_dispose), (gst_real_pad_finalize),
29565 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29566 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29567 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29569 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29570 (pipeline_bus_handler), (gst_pipeline_change_state),
29571 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29572 * gst/gstpipeline.h:
29574 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29575 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29576 (gst_queue_link_src), (gst_queue_bufferalloc),
29577 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29578 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29579 (gst_queue_loop), (gst_queue_handle_src_event),
29580 (gst_queue_handle_src_query), (gst_queue_src_activate),
29581 (gst_queue_change_state):
29583 * gst/gstscheduler.c: (gst_scheduler_init),
29584 (gst_scheduler_dispose), (gst_scheduler_create_task),
29585 (gst_scheduler_factory_create):
29586 * gst/gstscheduler.h:
29587 * gst/gststructure.c: (gst_structure_get_type),
29588 (gst_structure_copy_conditional):
29589 * gst/gststructure.h:
29590 * gst/gsttaginterface.h:
29591 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29592 (gst_task_init), (gst_task_dispose), (gst_task_create),
29593 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29599 * gst/schedulers/Makefile.am:
29600 * gst/schedulers/cothreads_compat.h:
29601 * gst/schedulers/entryscheduler.c:
29602 * gst/schedulers/faircothreads.c:
29603 * gst/schedulers/faircothreads.h:
29604 * gst/schedulers/fairscheduler.c:
29605 * gst/schedulers/gstbasicscheduler.c:
29606 * gst/schedulers/gstoptimalscheduler.c:
29607 * gst/schedulers/gthread-cothreads.h:
29608 * gst/schedulers/threadscheduler.c:
29609 (gst_thread_scheduler_task_get_type),
29610 (gst_thread_scheduler_task_class_init),
29611 (gst_thread_scheduler_task_init),
29612 (gst_thread_scheduler_task_start),
29613 (gst_thread_scheduler_task_stop),
29614 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29615 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29616 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29617 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29619 * libs/gst/Makefile.am:
29620 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29621 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29622 (gst_file_pad_parent_set):
29623 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29624 (gst_dp_event_from_packet):
29625 * tests/complexity.c: (main):
29626 * tests/mass_elements.c: (main):
29627 * testsuite/states/locked.c: (message_received), (main):
29628 * testsuite/states/parent.c: (main):
29629 * tools/gst-inspect.c: (print_element_flag_info),
29630 (print_implementation_info), (print_pad_info):
29631 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29633 * tools/gst-md5sum.c: (event_loop), (main):
29634 * tools/gst-typefind.c: (main):
29635 * tools/gst-xmlinspect.c: (print_element_info):
29637 Added GstBus for mainloop integration.
29638 Added GstMessage for sending notifications on the bus.
29639 Added GstTask as an abstraction for pipeline entry points.
29641 Removed Schedulers.
29642 Simplified GstQueue for multithreaded core.
29643 Made _link threadsafe, removed old capsnego.
29644 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29645 Added pad blocking functions.
29646 Reworked scheduling functions in GstPad to prepare for
29647 scheduling updates soon.
29648 Moved events out of data stream.
29649 Simplified GstEvent types.
29650 Added return values to push/pull.
29651 Removed clocking from GstElement.
29652 Added prototypes for state change function for next merge.
29653 Removed iterate from bins and state change management.
29654 Fixed some elements, disabled others for now.
29655 Fixed -inspect and -launch.
29656 Added check for GstBus.
29658 2005-03-10 Wim Taymans <wim@fluendo.com>
29660 * docs/design/part-MT-refcounting.txt:
29661 * docs/design/part-clocks.txt:
29662 * docs/design/part-gstelement.txt:
29663 * docs/design/part-gstobject.txt:
29664 * docs/design/part-standards.txt:
29665 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29666 (gst_bin_remove_func), (gst_bin_remove):
29670 * testsuite/clock/clock1.c: (main):
29671 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29673 * testsuite/dlopen/loadgst.c: (do_test):
29674 * testsuite/refcounting/bin.c: (add_remove_test1),
29675 (add_remove_test2), (main):
29676 * testsuite/refcounting/element.c: (main):
29677 * testsuite/refcounting/element_pad.c: (main):
29678 * testsuite/refcounting/pad.c: (main):
29679 * tools/gst-launch.c: (sigint_handler_sighandler):
29680 * tools/gst-typefind.c: (main):
29682 Added doc about clock.
29683 removed gst_bin_iterate_recurse_up(), marked methods
29685 Fix more testsuites.
29687 2005-03-09 Wim Taymans <wim@fluendo.com>
29689 * gst/gstpad.c: (gst_pad_get_direction),
29690 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29691 (gst_pad_collect_valist):
29692 * testsuite/bins/interface.c: (main):
29693 * testsuite/caps/audioscale.c: (test_caps):
29694 * testsuite/caps/caps.c: (test1), (test2), (test3):
29695 * testsuite/caps/deserialize.c: (main):
29696 * testsuite/caps/enumcaps.c: (main):
29697 * testsuite/caps/filtercaps.c: (main):
29698 * testsuite/caps/intersect2.c: (main):
29699 * testsuite/caps/random.c: (main):
29700 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29701 * testsuite/caps/sets.c: (check_caps):
29702 * testsuite/caps/simplify.c: (check_caps), (main):
29703 * testsuite/caps/subtract.c: (check_caps):
29704 Fix _pad_get_direction wrt ghostpads.
29705 Fix caps testsuite.
29707 2005-03-09 Wim Taymans <wim@fluendo.com>
29709 * check/Makefile.am:
29710 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29711 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29712 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29713 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29714 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29715 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29716 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29717 (bin_element_is_sink), (gst_bin_iterate_sinks),
29718 (gst_bin_iterate_all_by_interface):
29720 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29721 (gst_element_change_state), (gst_element_dispose),
29722 (gst_element_finalize), (gst_element_set_loop_function):
29723 * gst/gstelement.h:
29724 * gst/gstiterator.c: (find_custom_fold_func):
29725 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29726 (gst_pad_collectv), (gst_pad_collect_valist),
29727 (gst_pad_template_new):
29728 * gst/gstpipeline.c: (gst_pipeline_class_init),
29729 (gst_pipeline_dispose), (gst_pipeline_set_property),
29730 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29731 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29732 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29734 * gst/schedulers/entryscheduler.c:
29735 * gst/schedulers/gstbasicscheduler.c:
29736 (gst_basic_scheduler_cothreaded_chain),
29737 (gst_basic_scheduler_chain_add_element):
29738 * testsuite/bins/interface.c: (main):
29740 Added GstSystemClock test.
29741 Implemented clock distribution code in GstBin.
29742 Implemented iterate sinks method for future use.
29743 Rearranged gstelement.h
29744 Fix GstIterator comparison bug.
29745 Moved some code to GstPipeline, mostly clocking related.
29747 2005-03-09 Wim Taymans <wim@fluendo.com>
29750 * gst/gst_private.h:
29751 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29752 (gst_bin_remove_func), (gst_bin_remove),
29753 (gst_bin_get_by_name_recurse_up):
29754 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29755 (gst_clock_id_compare_func), (gst_clock_id_wait),
29756 (gst_clock_id_wait_async), (gst_clock_init),
29757 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29758 * gst/gstelement.h:
29759 * gst/gstinfo.c: (_gst_debug_init):
29761 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29762 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29764 Bump version number, we're now 0.9.0
29765 Add future debugging category.
29766 Fix NULL _unref() in _get_by_name_recurse_up
29767 Rearrange gstpad.h.
29770 2005-03-08 Wim Taymans <wim@fluendo.com>
29772 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29773 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29774 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29775 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29776 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29777 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29778 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29779 * gst/elements/gstidentity.c: (gst_identity_class_init):
29780 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29781 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29782 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29783 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29784 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29786 * gst/gstelement.c: (gst_element_class_init),
29787 (gst_element_base_class_init), (gst_element_init),
29788 (gst_element_get_random_pad), (gst_element_wait_state_change),
29789 (gst_element_change_state), (gst_element_dispose),
29790 (gst_element_finalize), (gst_element_set_loop_function):
29791 * gst/gstelement.h:
29792 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29793 * gst/gstthread.c: (gst_thread_class_init),
29794 (gst_thread_release_children_locks), (gst_thread_change_state):
29795 * gst/schedulers/gstbasicscheduler.c:
29796 (gst_basic_scheduler_loopfunc_wrapper),
29797 (gst_basic_scheduler_chain_wrapper),
29798 (gst_basic_scheduler_src_wrapper),
29799 (gst_basic_scheduler_remove_element):
29800 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29801 Remove threadsafe properties. Fix elements because GObject
29802 complains when installing a property before declaring a
29803 set/get_property handler.
29804 Rearrange gstelement.h file, use STATE macros for state locks.
29805 Free mutexes in the finalize method instead of dispose.
29807 2005-03-08 Wim Taymans <wim@fluendo.com>
29809 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29810 * gst/gstthread.c: (gst_thread_release_children_locks):
29811 Added parentage check.
29812 Fix build og GstThread again.
29814 2005-03-08 Wim Taymans <wim@fluendo.com>
29816 * docs/design/part-MT-refcounting.txt:
29817 * docs/design/part-conventions.txt:
29818 * docs/design/part-gstobject.txt:
29819 * docs/design/part-relations.txt:
29820 * docs/design/part-standards.txt:
29821 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29822 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29823 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29824 (gst_bin_iterate_all_by_interface):
29827 * gst/gstelement.c: (gst_element_class_init),
29828 (gst_element_change_state), (gst_element_set_loop_function):
29829 * gst/gstelement.h:
29830 * gst/gstiterator.c:
29831 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29832 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29833 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29834 (gst_object_set_parent), (gst_object_unparent),
29835 (gst_object_check_uniqueness):
29837 Docs updates, clean up some headers.
29839 2005-03-07 Wim Taymans <wim@fluendo.com>
29841 * check/.cvsignore:
29842 * check/Makefile.am:
29843 * check/gst-libs/.cvsignore:
29844 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29845 * check/gst/.cvsignore:
29846 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29847 (START_TEST), (gstbus_suite), (main):
29848 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29849 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29850 (gst_data_suite), (main):
29851 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29852 (add_fold_func), (gstiterator_suite), (main):
29853 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29854 (thread_name_object), (thread_name_object_default),
29855 (gst_object_name_compare), (gst_object_suite), (main):
29856 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29857 (gst_pad_suite), (main):
29858 * check/gstcheck.c: (gst_check_log_message_func),
29859 (gst_check_log_critical_func), (gst_check_init):
29860 * check/gstcheck.h:
29861 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29862 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29865 2005-03-07 Wim Taymans <wim@fluendo.com>
29867 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29868 (gst_list_iterator_next), (gst_list_iterator_resync),
29869 (gst_list_iterator_free), (gst_iterator_new_list),
29870 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29871 (gst_iterator_free), (gst_iterator_push), (filter_next),
29872 (filter_resync), (filter_uninit), (filter_free),
29873 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29874 (gst_iterator_foreach), (find_custom_fold_func),
29875 (gst_iterator_find_custom):
29876 * gst/gstiterator.h:
29877 Added missing files.
29879 2005-03-07 Wim Taymans <wim@fluendo.com>
29883 * docs/design/part-MT-refcounting.txt:
29884 * docs/design/part-conventions.txt:
29885 * docs/design/part-gstobject.txt:
29886 * docs/design/part-relations.txt:
29887 * examples/mixer/mixer.c: (main):
29888 * examples/thread/thread.c: (eos), (main):
29890 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29891 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29892 (gst_spider_plug_from_srcpad):
29893 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29894 (gst_spider_identity_change_state),
29895 (gst_spider_identity_sink_loop_type_finding):
29896 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29897 * gst/elements/gstidentity.c: (gst_identity_init):
29898 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29899 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29900 * gst/elements/gsttypefindelement.c: (free_entry):
29903 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29904 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29905 (gst_bin_set_index), (gst_bin_set_element_sched),
29906 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29907 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29908 (gst_bin_iterate_elements), (iterate_child_recurse),
29909 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29910 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29911 (compare_interface), (gst_bin_get_by_interface),
29912 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29914 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29915 (gst_buffer_default_free), (gst_buffer_default_copy),
29916 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29917 (gst_buffer_create_sub):
29919 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29920 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29921 (gst_caps_unref), (gst_static_caps_get),
29922 (gst_caps_remove_and_get_structure), (gst_caps_append),
29923 (gst_caps_append_structure), (gst_caps_remove_structure),
29924 (gst_caps_copy_nth), (gst_caps_set_simple),
29925 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29926 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29927 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29928 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29929 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29930 (gst_caps_structure_figure_out_union),
29931 (gst_caps_switch_structures), (gst_caps_do_simplify),
29932 (gst_caps_replace), (gst_caps_from_string),
29933 (gst_caps_copy_conditional):
29935 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29936 (_gst_clock_id_free), (gst_clock_id_unref),
29937 (gst_clock_id_compare_func), (gst_clock_id_wait),
29938 (gst_clock_id_wait_async), (gst_clock_class_init),
29939 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29940 (gst_clock_get_time), (gst_clock_set_time_adjust),
29941 (gst_clock_set_property), (gst_clock_get_property):
29944 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29945 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29947 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29948 (gst_element_requires_clock), (gst_element_provides_clock),
29949 (gst_element_set_clock), (gst_element_clock_wait),
29950 (gst_element_wait), (gst_element_set_time_delay),
29951 (gst_element_is_indexable), (gst_element_add_pad),
29952 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29953 (pad_compare_name), (gst_element_get_static_pad),
29954 (gst_element_request_pad), (gst_element_get_request_pad),
29955 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29956 (gst_element_class_get_pad_template_list),
29957 (gst_element_class_get_pad_template), (gst_element_error_func),
29958 (gst_element_get_random_pad), (gst_element_get_event_masks),
29959 (gst_element_send_event), (gst_element_seek),
29960 (gst_element_get_query_types), (gst_element_query),
29961 (gst_element_get_formats), (gst_element_convert),
29962 (gst_element_is_locked_state), (gst_element_set_locked_state),
29963 (gst_element_sync_state_with_parent), (gst_element_change_state),
29964 (gst_element_finalize), (gst_element_yield),
29965 (gst_element_interrupt), (gst_element_set_scheduler),
29966 (gst_element_get_scheduler), (gst_element_set_loop_function):
29967 * gst/gstelement.h:
29969 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29970 (gst_format_get_by_nick), (gst_format_get_details),
29971 (gst_format_iterate_definitions):
29973 * gst/gstindex.c: (gst_index_gtype_resolver):
29976 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29977 (gst_mem_chunk_free):
29978 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29979 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29980 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29981 (gst_object_dispatch_properties_changed),
29982 (gst_object_set_name_default), (gst_object_set_name),
29983 (gst_object_get_name), (gst_object_set_name_prefix),
29984 (gst_object_get_name_prefix), (gst_object_set_parent),
29985 (gst_object_get_parent), (gst_object_unparent),
29986 (gst_object_check_uniqueness), (gst_object_save_thyself),
29987 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29988 (gst_object_set_property), (gst_object_get_property),
29989 (gst_object_get_path_string):
29991 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29992 (gst_real_pad_init), (gst_real_pad_get_property),
29993 (gst_pad_custom_new), (gst_pad_get_direction),
29994 (gst_pad_set_active), (gst_pad_is_active),
29995 (gst_pad_set_event_function), (gst_pad_is_linked),
29996 (gst_pad_link_free), (gst_pad_link_intersect),
29997 (gst_pad_link_fixate), (gst_pad_set_caps),
29998 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29999 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30000 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30001 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30002 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30003 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30004 (gst_pad_realize), (gst_pad_get_allowed_caps),
30005 (gst_real_pad_dispose), (gst_real_pad_finalize),
30006 (gst_pad_collectv), (gst_pad_collect_valist),
30007 (gst_pad_template_dispose), (gst_pad_template_new),
30008 (gst_pad_get_internal_links):
30010 * gst/gstpipeline.c: (gst_pipeline_dispose),
30011 (gst_pipeline_change_state):
30012 * gst/gstpipeline.h:
30014 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30015 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30016 * gst/gstpluginfeature.h:
30017 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30018 * gst/gstquery.c: (_gst_query_type_initialize),
30019 (gst_query_type_register), (gst_query_type_get_by_nick),
30020 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30022 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30023 * gst/gstscheduler.c: (gst_scheduler_add_element),
30024 (gst_scheduler_factory_create):
30025 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30026 (gst_structure_free), (gst_structure_set_name),
30027 (gst_structure_id_set_value), (gst_structure_set_value),
30028 (gst_structure_set_valist), (gst_structure_remove_field),
30029 (gst_structure_remove_fields),
30030 (gst_structure_remove_fields_valist),
30031 (gst_structure_remove_all_fields), (gst_structure_foreach),
30032 (gst_structure_map_in_place),
30033 (gst_caps_structure_fixate_field_nearest_int),
30034 (gst_caps_structure_fixate_field_nearest_double):
30035 * gst/gststructure.h:
30036 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30037 (gst_system_clock_init), (gst_system_clock_dispose),
30038 (gst_system_clock_async_thread),
30039 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30040 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30041 * gst/gstsystemclock.h:
30042 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30043 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30044 * gst/gsttaginterface.c:
30045 * gst/gstthread.c: (gst_thread_dispose),
30046 (gst_thread_release_children_locks), (gst_thread_change_state),
30047 (gst_thread_main_loop):
30048 * gst/gsttrashstack.h:
30049 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30051 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30052 (gst_element_request_pad), (gst_element_get_pad_from_template),
30053 (gst_element_request_compatible_pad),
30054 (gst_element_get_compatible_pad_filtered),
30055 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30056 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30057 (gst_element_link_many), (gst_element_link),
30058 (gst_element_link_pads), (gst_element_unlink_pads),
30059 (gst_element_unlink_many), (gst_element_unlink),
30060 (gst_pad_can_link_filtered), (gst_pad_can_link),
30061 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30062 (gst_object_default_error), (gst_bin_add_many),
30063 (gst_bin_remove_many), (gst_element_populate_std_props),
30064 (gst_element_class_install_std_props), (gst_buffer_merge),
30065 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30066 (link_fold_func), (gst_pad_proxy_setcaps):
30068 * gst/gstvalue.c: (gst_value_deserialize_string):
30069 * gst/parse/grammar.y:
30070 * gst/schedulers/gstbasicscheduler.c:
30071 (gst_basic_scheduler_cothreaded_chain),
30072 (gst_basic_scheduler_chain_recursive_add),
30073 (gst_basic_scheduler_pad_link):
30074 * gst/schedulers/gstoptimalscheduler.c:
30075 (get_group_schedule_function),
30076 (gst_opt_scheduler_state_transition),
30077 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30078 * libs/gst/bytestream/bytestream.c:
30079 * libs/gst/dataprotocol/dataprotocol.c:
30080 (gst_dp_header_from_buffer):
30083 * tests/threadstate/threadstate2.c: (eos):
30084 * tools/gst-compprep.c: (main):
30085 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30086 (print_pad_info), (print_children_info):
30087 * tools/gst-launch.c: (idle_func), (main):
30088 * tools/gst-md5sum.c: (idle_func), (main):
30089 * tools/gst-xmlinspect.c: (print_element_info):
30090 First THREADED backport attempt, focusing on adding locks and
30091 making sure the API is threadsafe. Needs more work. More docs
30094 2005-02-24 Andy Wingo <wingo@pobox.com>
30096 * tests/bench-complexity.scm:
30097 * tests/complexity.gnuplot: New files, good for running complexity
30100 * tests/Makefile.am:
30101 * tests/complexity.c: New test, sets up N elements, at each level
30102 teeing into M streams per element. Eeeenteresting.
30104 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30105 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30106 running bench-mass_elements.scm.
30108 * tests/bench-mass_elements.scm: New script, runs mass_elements
30109 for various numbers of identities, outputting the results to a
30110 file. Requires guile 1.6. Just for testing.
30112 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30114 * gst/schedulers/fairscheduler.c:
30115 compile with debug disabled
30117 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30120 hunting season on 0.9 is now OPEN