1 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
6 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
8 Patch by: Alessandro Decina <alessandro at nnva dot org>
11 Fix "ignored return value" compiler warning with newer glibc.
13 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
15 * gst/gstchildproxy.c:
16 Fix copy&paste error in gst_child_proxy_removed() documentation.
18 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
20 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
21 Print error debug message if plugin description fields that should
24 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
25 Don't crash if the string to serialise is NULL (it really should
26 not be, but apparently this used to work with the xml registry ...).
28 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
30 * tools/gst-plot-timeline.py:
31 Fix parsing of log messages
33 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
35 * win32/common/libgstbase.def::
36 Sort alphabetically so make check-exports doesn't barf.
38 2008-07-01 Stefan Kost <ensonic@users.sf.net>
41 Use gst_format_get_name() to improve debug output.
44 Remove #ifdef'ed code. Add TODO comment.
47 Add debug output to ease spotting format != segment.format assertions.
49 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
51 * tests/check/libs/gdp.c: (gst_dp_suite):
52 Also enable the GDP unit test again on PPC now that the bug
55 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
57 * libs/gst/dataprotocol/dataprotocol.c:
58 Don't write to the same region of memory as a uint64 and uint16
59 as this breaks strict aliasing rules and apparantly breaks on PPC
60 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
62 2008-06-29 Stefan Kost <ensonic@users.sf.net>
64 * libs/gst/controller/gstinterpolationcontrolsource.c:
65 Optimize list handling. Use own find function. Exploit that fact that
66 the list is sorted. Also pass back the node before, so that we can
67 insert quickly. Have a fast path for append.
69 2008-06-29 Stefan Kost <ensonic@users.sf.net>
71 * docs/design/draft-framestep.txt:
72 * docs/design/part-negotiation.txt:
75 2008-06-27 Stefan Kost <ensonic@users.sf.net>
78 Show configuration sumary after configure run. Based on patch by
79 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
81 2008-06-27 Stefan Kost <ensonic@users.sf.net>
83 patch by: Luc Pionchon <luc.pionchon@nokia.com>
85 * docs/manual/advanced-autoplugging.xml:
86 * docs/manual/advanced-threads.xml:
87 * docs/manual/basics-bins.xml:
88 * docs/manual/basics-elements.xml:
89 * docs/manual/basics-helloworld.xml:
90 * docs/manual/basics-pads.xml:
91 Add scale factor for pdf output.
93 * docs/manual/intro-basics.xml:
94 Switched sections "pads" and "bins" and added a pipeline diagram.
96 * docs/manual/intro-gstreamer.xml:
97 Added more info on gstreamer.
99 * docs/manual/intro-motivation.xml:
100 Commented out the whole section "current problem", which sounds
101 historical and somehow osolete; it could be turned in a positive
102 way and reused to improve the design principles.
104 * docs/manual/intro-preface.xml:
105 - Update URLs to library.gnome.org.
106 - Do not mention GTK+ in preliminary reading (irrelevant).
107 - Mention Plugin Writer's Manual and further reading only in the
109 - Added a list of most relevant GObject/glib topics.
111 * docs/manual/Makefile.am:
112 * docs/manual/bin-element-ghost.fig:
113 * docs/manual/bin-element-ghost.png:
114 * docs/manual/bin-element-noghost.fig:
115 * docs/manual/bin-element-noghost.png:
116 * docs/manual/bin-element.fig:
117 * docs/manual/bin-element.png:
118 * docs/manual/filter-element-multi.fig:
119 * docs/manual/filter-element-multi.png:
120 * docs/manual/filter-element.fig:
121 * docs/manual/filter-element.png:
122 * docs/manual/gstreamer-overview.png:
123 * docs/manual/hello-world.fig:
124 * docs/manual/hello-world.png:
125 * docs/manual/linked-elements.fig:
126 * docs/manual/linked-elements.png:
127 * docs/manual/mime-world.fig:
128 * docs/manual/mime-world.png:
129 * docs/manual/queue.fig:
130 * docs/manual/queue.png:
131 * docs/manual/simple-player.png:
132 * docs/manual/sink-element.fig:
133 * docs/manual/sink-element.png:
134 * docs/manual/src-element.fig:
135 * docs/manual/src-element.png:
136 * docs/manual/diagrams-general.svg:
137 * docs/manual/diagrams-pipelines.svg:
138 Removed .fig, added .png counterpart.
142 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
144 * plugins/elements/gstmultiqueue.c:
145 * plugins/elements/gstmultiqueue.h:
146 revert extra-size-buffers stuff, caused some race conditions
147 and extra-size-buffers is not used anymore. Docs needs some updates
149 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
151 * win32/common/config.h:
152 * win32/common/gstenumtypes.c:
153 * win32/common/gstenumtypes.h:
154 * win32/common/gstversion.h:
157 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
159 * gst/gstdebugutils.h: (GstDebugGraphDetails),
160 (GST_DEBUG_BIN_TO_DOT_FILE):
161 Add missing Since' markers to gtk-doc blurbs.
163 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
165 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
166 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
167 (set_caps_1), (set_caps_ct1), (transform_ct1),
168 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
169 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
170 (transform_size_ct2), (buffer_alloc_ct2):
171 Add some more tests with switching caps in buffer_alloc.
173 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
175 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
176 (gst_test_trans_class_init), (result_sink_chain),
177 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
178 (gst_test_trans_push), (gst_test_trans_pop):
179 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
180 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
181 (set_caps_1), (set_caps_ct1), (transform_ct1),
182 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
183 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
184 (transform_size_ct2), (buffer_alloc_ct2),
185 (gst_basetransform_suite):
186 More tests, prepare for tests with switching caps in buffer_alloc.
188 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
190 * plugins/elements/gstmultiqueue.c:
191 * plugins/elements/gstmultiqueue.h:
192 Fix dead-lock in underrun_cb
194 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
196 * docs/design/part-states.txt:
197 Fix device open/close docs.
199 2008-06-25 Stefan Kost <ensonic@users.sf.net>
202 Mention bugnumber for last commit.
204 2008-06-25 Stefan Kost <ensonic@users.sf.net>
206 patch by: Luc Pionchon <luc.pionchon@nokia.com>
208 * docs/manual/manual.xml:
209 - Reorganised the previous "introduction" bundle into Foreword,
210 Introduction, and About GStreamer. The two first are <preface>
211 docbook elements. The later is the first part of the book.
212 - added intro-gstreamer.xml (content partially from
214 - moved appendix-win32.xml into appendix-integration.xml
216 * docs/manual/intro-preface.xml: gstreamer section moved...
217 * docs/manual/intro-gstreamer.xml: ...here. new file.
219 * docs/manual/appendix-win32.xml: removed file. Content moved...
220 * docs/manual/appendix-integration.xml: ...here.
222 * docs/manual/highlevel-components.xml: section about GstEditor moved...
223 * docs/manual/appendix-checklist.xml: ...here.
227 2008-06-25 Stefan Kost <ensonic@users.sf.net>
229 patch by: Luc Pionchon <luc.pionchon@nokia.com>
231 * docs/manual/basics-helloworld.xml:
232 * docs/manual/hello-world.fig:
233 - Explicitely include glib.h.
234 - Do not use global variables.
235 - Use g_printerr() instead of g_print().
236 - Minor formating/renaming to increase readibility.
237 - Renamed new_pad() to on_pad_added()
238 - Improved explenatory comments.
239 - renamed ogg parser to ogg demuxer
240 - Use "autoaudiosink" instead of "alsasink".
243 2008-06-25 Stefan Kost <ensonic@users.sf.net>
246 Remove cvs conflict marker.
248 2008-06-25 Stefan Kost <ensonic@users.sf.net>
251 Document that for plgin-docs we extraxt he short-desc from the element
254 * docs/design/part-states.txt:
255 Tell that devices should be closed in PAUSED -> READY.
257 * docs/manual/README:
258 Document how tests in the manual are handled.
263 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
265 * gst/gstbin.c: (bin_query_latency_fold):
266 Only care about latency min and max when the sink is actually a live
269 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
271 * docs/design/part-block.txt:
274 * docs/design/part-element-transform.txt:
275 Add notes about why transform needs to know input/output sizes.
276 Add some issues that need to be solved.
277 Add some more use cases.
279 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
280 (gst_test_trans_class_init), (result_sink_chain),
281 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
282 (gst_test_trans_push), (gst_test_trans_pop):
283 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
284 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
285 (set_caps_1), (set_caps_ct1), (transform_ct1),
286 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
287 (gst_basetransform_suite):
288 Add suport for different pad templates and buffer-alloc.
289 Add more checks for caps and buffer-alloc.
290 Add checks for proxy buffer alloc.
291 Add unit test for copy transform.
293 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
295 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
297 * docs/manual/appendix-integration.xml:
298 * docs/manual/appendix-licensing.xml:
299 * docs/manual/basics-elements.xml:
300 * docs/manual/basics-helloworld.xml:
301 * docs/manual/basics-pads.xml:
302 * docs/manual/highlevel-components.xml:
303 * docs/manual/highlevel-xml.xml:
304 * docs/manual/intro-basics.xml:
305 * docs/manual/intro-preface.xml:
306 Typo and formatting fixes (#538594).
308 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
310 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
311 Fix some memory leaks and uses of object instances that we don't
314 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
316 * plugins/elements/gstmultiqueue.c:
317 Add functionality to extra-size-buffers property.
319 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
321 * plugins/elements/gstmultiqueue.c:
322 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
323 activate the pads if they are added in STATE_NULL.
325 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
327 * docs/libs/gstreamer-libs-sections.txt:
329 * libs/gst/check/gstcheck.c:
330 * libs/gst/check/gstcheck.h:
331 API: gst_check_teardown_pad_by_name
333 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
335 * libs/gst/check/gstcheck.c:
336 * libs/gst/check/gstcheck.h:
337 Also setup request pads and allow setup pads by name (#537812)
338 API: gst_check_setup_src_pad_by_name
339 API: gst_check_setup_sink_pad_by_name
341 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
343 * tests/check/gst/gstbuffer.c:
344 * tests/check/pipelines/parse-launch.c:
345 Use HAVE_VALGRIND_H some more.
347 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
349 * scripts/cvs-update.sh:
350 Pass arguments to make.
351 Run autoregen.sh if Makefile is not there.
353 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
357 Don't assume that <valgrind/valgrind.h> exists just because
360 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
362 * tests/check/Makefile.am:
363 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
364 (gst_test_trans_class_init), (gst_test_trans_init),
365 (gst_test_trans_set_data), (result_sink_chain),
366 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
367 (gst_test_trans_pop):
368 * tests/check/libs/transform1.c: (GST_START_TEST),
369 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
370 Add some test basetransform element and the beginnings of various
373 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
375 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
376 Increase code readability.
377 Don't try to compare buffer offsets when ther are invalid.
379 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
381 * docs/design/Makefile.am:
382 Dist some more design docs.
384 * docs/random/moving-plugins:
385 Small addition: good plugins mustn't have functional code
386 within assertion macros.
388 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
390 * docs/design/draft-framestep.txt:
391 Some ideas about a framestep API
393 * docs/design/part-element-transform.txt:
394 Start design and use cases for basetransform in order to get it
397 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
400 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
401 be in UTF-8 encoding.
403 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
406 Make it known that gst_bus_poll() is pure evil (fixes #538810).
408 2008-06-20 Stefan Kost <ensonic@users.sf.net>
410 * plugins/elements/gstcapsfilter.c:
411 * plugins/elements/gstfakesink.c:
412 * plugins/elements/gstfakesrc.c:
413 * plugins/elements/gstfdsink.c:
414 * plugins/elements/gstfdsrc.c:
415 * plugins/elements/gstfilesink.c:
416 * plugins/elements/gstfilesrc.c:
417 * plugins/elements/gstidentity.c:
418 * plugins/elements/gstmultiqueue.c:
419 * plugins/elements/gstqueue.c:
420 * plugins/elements/gsttee.c:
421 * plugins/elements/gsttypefindelement.c:
422 Remove short_description. Add basic docs for gsttypefindelement.
423 Simplify markup for fakesrc/fdsrc.
425 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
427 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
430 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
432 Patch by: joel larsson <tilljoel at gmail dot com>
434 * docs/plugins/gstreamer-plugins.args:
435 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
436 (gst_fd_src_init), (gst_fd_src_update_fd),
437 (gst_fd_src_set_property), (gst_fd_src_get_property),
439 * plugins/elements/gstfdsrc.h:
440 Add timeout property like udpsrc. Fixes #538628.
441 Add some more docs and example pipelines.
443 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
445 * docs/libs/gstreamer-libs-sections.txt:
446 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
447 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
448 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
449 (gst_base_sink_do_sync):
450 * libs/gst/base/gstbasesink.h:
451 * win32/common/libgstbase.def:
452 Add method to allow sinks to specify additional delay between the sync
453 times and the actual rendering of the data.
454 API: gst_base_sink_set_render_delay()
455 API: gst_base_sink_get_render_delay()
457 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
460 Bump version number back to dev -> 0.10.20.1
462 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
464 * docs/gst/gstreamer-sections.txt:
465 * gst/gsttaglist.c: (_gst_tag_initialize):
467 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
470 2008-06-20 Stefan Kost <ensonic@users.sf.net>
472 * libs/gst/controller/gstcontroller.c:
473 Revert one change, that make ret value possible uninitialized.
475 2008-06-20 Stefan Kost <ensonic@users.sf.net>
477 * libs/gst/controller/gstcontroller.c:
478 Use freeze/thaw notify to sync notify emission a bit (its also more
479 efficient). Move debug output to LOG (is called a lot in a loop).
480 Always unset g_values if the have been initialized.
482 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
484 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
485 (gst_base_sink_wait_eos), (gst_base_sink_event):
486 If we have not seen a buffer before EOS, use the segment values to
487 report the current position instead of invalid positions.
489 2008-06-20 Stefan Kost <ensonic@users.sf.net>
491 * docs/plugins/tmpl/.cvsignore:
492 * tests/check/gst/.cvsignore:
495 2008-06-20 Stefan Kost <ensonic@users.sf.net>
497 * libs/gst/controller/gstinterpolation.c:
498 * libs/gst/controller/gstinterpolationcontrolsource.c:
499 * tests/check/libs/controller.c:
500 Rewrite handling of default values. Fix overflow with unsigned types
501 in linear interpolation. Remove now obsolete _first_value() function.
502 Add more tests. Fixes #538201.
504 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
506 * libs/gst/base/gstbasetransform.c:
507 (gst_base_transform_class_init), (gst_base_transform_init),
508 (gst_base_transform_transform_caps),
509 (gst_base_transform_prepare_output_buffer):
511 When a buffer is writable, its metadata is also writable so we don't
512 need to subbuffer (which then makes the buffer not-writable anymore).
514 === release 0.10.20 ===
516 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
519 releasing 0.10.20, "You Crazy Diamond"
521 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
524 0.10.19.3 pre-release
526 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
530 Rename DATADIR to GST_DATADIR to avoid build problems
531 on win32. Patch By: David Schleef <ds@schleef.org>
534 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
537 Explicitely link with -ldl if dladdr() is found there. Before it was
538 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
539 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
541 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
543 * gst/gsterror.c: (_gst_stream_errors_init):
544 Fix typo (spotted by Fabricio Godoy, #536723).
546 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
549 0.10.19.2 pre-release
551 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
553 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
554 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
556 Make sure we don't generate invalid QoS messages.
558 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
560 * gst/gstevent.c: (gst_event_new_qos):
561 Add some assert and docs for invalid input to the qos function.
563 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
565 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
566 (gst_base_sink_get_position):
567 The reported position must always be smaller than the last seen
568 timestamps (or timestamp + duration for reverse).
570 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
572 Patch by: Rob Bradford <rob at robster dot org dot uk>
574 * gst/gstregistry.c: (gst_registry_scan_path_level):
575 Don't recurse into .debug directories as some distros install
576 the debugging symbols next to the plugins in .debug directories
577 and dlopen() crashes on them sometimes. Fixes bug #508070.
579 Add FIXME for 0.11 to not recurse into directories at all because
580 it's very inconsistent to the behaviour of other PATH environment
583 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
585 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
586 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
587 Fix position query range checks in reverse playback.
589 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
593 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
594 clear of the reference to the resulting pad must be released later
595 or not, resulting in possible leaks. Fixes bug #533865.
597 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
599 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
601 * gst/gstelementfactory.c:
602 Small doc fix. Fixes #535285.
604 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
606 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
608 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
609 (gst_base_src_get_range), (gst_base_src_pad_get_range),
610 (gst_base_src_loop), (gst_base_src_set_flushing),
611 (gst_base_src_change_state):
612 Make sending an EOS event to the basesrc non-blocking even if the
613 implementation does blocking waits in the create function. This is done
614 by unlocking the create function when EOS is sent.
617 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
619 * tools/gst-inspect.c: (print_element_properties_info):
620 If possible print the element type of GValueArray properties.
622 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
625 Remove an unused field from the private GstListIterator struct.
627 2008-05-27 Stefan Kost <ensonic@users.sf.net>
629 * libs/gst/controller/gstcontroller.c:
630 Add parameter guards.
632 2008-05-27 Stefan Kost <ensonic@users.sf.net>
634 * tests/check/gst/gstpipeline.c:
635 Revert test change and add comment why it should not work.
637 2008-05-27 Stefan Kost <ensonic@users.sf.net>
639 * tests/check/gst/gstpipeline.c:
640 Extending the test a little to verify that we also get the NULL state-
643 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
645 * gst/gstpreset.c: (gst_preset_default_get_meta),
646 (gst_preset_get_preset_names), (gst_preset_get_property_names),
647 (gst_preset_load_preset), (gst_preset_save_preset),
648 (gst_preset_rename_preset), (gst_preset_delete_preset),
649 (gst_preset_set_meta):
650 Add Since: markers to docs blurbs.
652 * win32/common/libgstreamer.def:
653 Add recently-added API.
655 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
657 Patch by: Stefan Kost <ensonic@users.sf.net>
660 Add DATADIR for storing presets.
662 * docs/gst/gstreamer-docs.sgml:
663 * docs/gst/gstreamer-sections.txt:
664 * docs/gst/gstreamer.types.in:
665 Add GstPreset to docs.
669 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
670 (preset_open_and_parse_header), (preset_parse_version),
671 (preset_merge), (preset_get_keyfile),
672 (gst_preset_default_get_preset_names),
673 (gst_preset_default_get_property_names),
674 (gst_preset_default_load_preset),
675 (gst_preset_default_save_presets_file),
676 (gst_preset_default_save_preset),
677 (gst_preset_default_rename_preset),
678 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
679 (gst_preset_default_get_meta), (gst_preset_default_randomize),
680 (gst_preset_default_reset), (gst_preset_get_preset_names),
681 (gst_preset_get_property_names), (gst_preset_load_preset),
682 (gst_preset_save_preset), (gst_preset_rename_preset),
683 (gst_preset_delete_preset), (gst_preset_set_meta),
684 (gst_preset_get_meta), (gst_preset_class_init),
685 (gst_preset_base_init), (gst_preset_get_type):
687 Add GstPreset to core. Fixes #396779
689 * tests/check/Makefile.am:
690 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
691 (gst_preset_test_set_property), (gst_preset_test_class_init),
692 (gst_preset_test_base_init), (gst_preset_test_get_type),
693 (gst_preset_test_plugin_init), (GST_START_TEST),
694 (remove_preset_file), (test_setup), (test_teardown),
696 Add GstPreset unit tests.
698 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
700 * gst/gstpad.c: (gst_pad_event_default_dispatch):
701 The default event function on a sinkpad should return TRUE when
702 there are no internal links but should collect the return values from
703 the internal links otherwise.
705 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
707 * plugins/elements/gsttypefindelement.c:
708 (gst_type_find_element_src_event),
709 (gst_type_find_element_handle_event):
710 Use faster and safer _pad_push_event().
712 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
714 * docs/gst/gstreamer-sections.txt:
715 * gst/gstutils.c: (element_find_unlinked_pad),
716 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
718 API: add gst_bin_find_unlinked_pad()
719 API: deprecate gst_bin_find_unconnected_pad() (#401456)
721 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
727 Fixed a bunch of typos.
729 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
732 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
733 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
734 (gst_parse_bin_from_description_full):
736 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
738 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
740 * docs/pwg/advanced-tagging.xml:
741 Small docs update, can't be bothered to rewrite the nonsensical
744 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
747 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
749 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
751 * gst/parse/grammar.y:
752 Remove unneeded casts.
754 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
756 * gst/parse/grammar.y:
757 * tests/check/pipelines/parse-launch.c:
758 Get all missing elements from a parse launch string if possible
759 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
761 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
763 * tests/check/Makefile.am:
764 * tests/check/pipelines/parse-launch.c:
765 Add some unit tests for the new gst_parse_launch*_full() API.
766 (Exposes a previously-existing memory leak in the error code
767 path, so adding to VALGRIND_TO_FIX for now).
769 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
771 * docs/gst/gstreamer-sections.txt:
772 * gst/gst.c: (init_post):
773 * gst/gst_private.h: (_GstParseContext):
774 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
775 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
776 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
777 (gst_parse_launch_full):
778 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
779 (GstParseFlags), (GstParseContext):
780 * gst/gstutils.c: (gst_parse_bin_from_description),
781 (gst_parse_bin_from_description_full):
783 * gst/parse/grammar.y:
785 * win32/common/libgstreamer.def:
786 Add new gst_parse_*_full API (#528178):
787 API: gst_parse_launch_full()
788 API: gst_parse_launchv_full()
789 API: gst_parse_bin_from_description_full()
790 API: gst_parse_context_new()
791 API: gst_parse_context_free()
792 API: gst_parse_context_get_missing_elements()
794 2008-05-23 Stefan Kost <ensonic@users.sf.net>
796 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
798 * docs/faq/gst-uninstalled:
799 Also support ffmpeg in gst-uninstalled.
801 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
804 After discussion on IRC use the binary registry as default
805 but allow to disable it with --disable-binary-registry.
807 * win32/common/libgstreamer.def:
808 Add the two new symbols for the binary registry.
810 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
812 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
813 * gst/gstutils.c: (gst_parse_bin_from_description):
814 * gst/parse/grammar.y: (graph):
815 More guards against bad input; typo fix; some minor clean-ups.
817 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
819 Patch by: Sjoerd Simons <sjoerd at luon dot net>
821 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
822 If nothing else can be used, use the last buffer's start time as
823 the segment's last stop. Fixes bug #534258.
825 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
827 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
828 Move size sanity check to the right place: downstream may return
829 a buffer with a smaller size if the buffer caps are different than
830 the requested ones, as may happen when doing reverse negotiation.
832 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
834 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
835 (gst_file_sink_render):
836 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
837 (gst_file_src_start):
838 Small cleanups. Add note adbout g_fopen() on windows and why we don't
841 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
843 * gst/gstpad.c: (gst_pad_load_and_link):
844 * gst/gstutils.c: (gst_element_link_pads),
845 (gst_element_unlink_pads):
846 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
847 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
848 (gst_check_teardown_sink_pad),
849 (gst_check_element_push_buffer_list):
850 * tests/check/elements/fakesink.c: (GST_START_TEST):
851 * tests/check/elements/filesink.c:
852 * tests/check/elements/filesrc.c: (GST_START_TEST):
853 * tests/check/elements/multiqueue.c: (setup_multiqueue),
854 (mq_sinkpad_to_srcpad):
855 * tests/check/elements/tee.c: (GST_START_TEST):
856 * tests/check/generic/sinks.c: (GST_START_TEST):
857 * tests/check/gst/gstbin.c: (GST_START_TEST):
858 * tests/check/gst/gstevent.c: (GST_START_TEST):
859 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
860 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
861 * tests/check/gst/gstquery.c: (GST_START_TEST):
862 * tests/check/gst/gstutils.c: (GST_START_TEST):
863 * tests/check/libs/basesrc.c: (GST_START_TEST):
864 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
865 (gst_parse_test_element_change_state):
866 Don't use gst_element_get_pad().
868 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
871 Fix installing plugin documentation when gtk-doc is disabled.
873 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
875 * docs/manual/advanced-autoplugging.xml:
876 * docs/manual/basics-helloworld.xml:
877 * docs/manual/basics-pads.xml:
878 * docs/manual/highlevel-components.xml:
879 Avoid using a bad function in the example code.
881 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
883 * gst/gstclock.c: (gst_clock_set_calibration):
884 Fix debug of the new clock rate.
886 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
888 * win32/common/libgstbase.def:
889 Add gst_base_sink_wait_clock() to the exported symbols.
891 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
893 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
895 * libs/gst/base/gstbasetransform.c:
896 (gst_base_transform_sink_event):
897 Unref events that the GstBaseTransform::event vfunc didn't want to
898 have forwarded by the base class. Closes a leak in identity.
901 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
903 * docs/libs/gstreamer-libs-sections.txt:
904 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
905 * libs/gst/base/gstbasesink.h:
906 Expose a method that was previously used internally to synchronize
907 against the clock because it can be useful for subclasses too.
908 API: GstBaseSink::gst_base_sink_wait_clock()
910 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
912 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
913 Add sanity check to make sure we don't get smaller buffers
914 than requested (and fallback to normal buffer alloc if we do).
916 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
918 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
919 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
920 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
921 Refactor adjusting the running_time with latency and offset into a
923 When doing clipping, we still want to use the subclass get_times method,
924 just in case the DURATION or TIMESTAMP are not set.
926 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
928 * docs/gst/gstreamer-sections.txt:
929 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
931 * win32/common/libgstreamer.def:
932 API: add gst_type_find_suggest_simple(), #533740.
934 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
936 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
937 Use right error code when typefinding fails, so we can use
938 the default (translated) error messages.
940 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
942 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
943 (gst_base_src_start):
944 When the subclass did not set caps on outgoing buffers, configure the
945 caps we negotiated on the source pad.
946 When the typefind helper does not find caps, error out properly instead
947 of doing things with NULL caps.
949 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
952 Tabs to spaces, oh yes!
954 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
956 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
957 Add David's and Benjamin's tests for array intersection to the
958 unit test suite (#147931).
960 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
963 Document that gst_event_new_tag() and gst_event_new_navigation()
964 take ownership of the taglist/structure passed to them. (#533635).
966 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
969 Don't descend into the plugins dir if plugin docs building
973 Add a note about the new type:GTypeName syntax for the plugin
974 documentation .types file.
976 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
978 * gst/gstmessage.c: (gst_message_new_error),
979 (gst_message_new_warning), (gst_message_new_info):
981 Mark the debug string parameters as const. Fixes bug #533490.
983 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
985 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
986 Sort buffer cache list by end offsets. This makes sure that we don't
987 stop to search for a cached buffer that contains the requested data
989 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
990 more efficient. Fixes bug #459862.
992 2008-05-14 Stefan Kost <ensonic@users.sf.net>
995 Explain why we copy the list.
1001 Add one debug-log statement to help tracing probelms with linking pads.
1003 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1005 * tests/check/gst/gstinfo.c:
1006 Add a test for removing the default log handler. Seems to fail under
1009 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1011 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1012 Release pad lock before calling out to avoid a possible deadlock.
1014 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1016 * gst/parse/grammar.y:
1017 Remove unneeded value unset.
1019 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1020 Add unit test for de/serialization of caps.
1022 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1024 * plugins/elements/gstfakesink.c:
1025 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1026 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1027 (gst_fake_src_class_init):
1028 Use custom marshalers that take GstMiniObject as first parameter.
1029 Using OBJECT as parameter while a GstMiniObject is given will lead
1030 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1032 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1034 * plugins/elements/gsttypefindelement.c:
1035 (gst_type_find_element_handle_event),
1036 (gst_type_find_element_send_cached_events),
1037 (gst_type_find_element_change_state):
1038 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1041 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1043 * plugins/elements/gsttypefindelement.c:
1044 (gst_type_find_handle_src_query), (stop_typefinding),
1045 (gst_type_find_element_handle_event),
1046 (gst_type_find_element_send_cached_events),
1047 (gst_type_find_element_change_state):
1048 Forward FLUSH_START events immediately and clean up instead of
1051 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1053 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1055 * libs/gst/base/gstbasetransform.c:
1056 (gst_base_transform_buffer_alloc):
1057 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1058 fall back to default negotiation in the chain function if the caps
1059 are different from what was requested. Fixes bug #526768.
1061 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1064 * tests/check/gst/gstsegment.c:
1065 No, let's not use g_slice_{dup|copy} here, since they only exist
1066 since GLib 2.14 and we still depend only on >= 2.12. Also add
1067 unit test for gst_segment_copy().
1069 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1071 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1072 Try to fix 'dereferencing type-punned pointer will break strict
1073 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1074 changed the default GType typedef from gulong to gsize at some point,
1075 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1076 g_once_* functions all take a gsize * though, so work around the type
1077 mismatch for C++ by doing everything in gsize and casting to GType
1080 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1082 * plugins/elements/gstmultiqueue.c:
1083 Add documentation for the signals to push our core plugin docs
1084 coverage back up to 100%.
1086 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1088 * gst/gstinfo.h (GST_FUNCTION):
1089 Reverted GST_FUNCTION to the old version as we don't want the
1090 full signature in C++ code. Also added support for MSVC.
1092 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1095 Intern the type name string, similar to what G_DEFINE_TYPE does.
1097 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1100 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1102 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1104 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1106 * libs/gst/base/gstbasetransform.c:
1107 (gst_base_transform_buffer_alloc):
1108 Don't passthrough buffer allocation too easily if the caps change.
1109 This breaks when working in passthrough mode and upstream changes
1110 it's caps. Fixes bug #526768.
1112 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1114 * gst/gstinfo.c (gst_debug_log_valist):
1115 Improved the __FILE__ part of debug output for MSVC.
1117 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1119 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1120 Declaration after statement fix for compilers like MSVC.
1122 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1124 * win32/common/config.h.in:
1125 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1126 use the real thing than having "???" unconditionally.
1128 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1130 * gst/gstinfo.h (GST_FUNCTION):
1131 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1133 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1135 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1138 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1139 (gst_base_sink_set_flushing):
1140 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1143 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1145 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1146 (gst_fake_src_init), (gst_fake_src_set_property),
1147 (gst_fake_src_get_property), (gst_fake_src_start):
1148 * plugins/elements/gstfakesrc.h:
1149 Added format property to control the format of the newsegment events.
1150 API: GstFakeSrc:format
1152 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1154 * win32/common/libgstreamer.def:
1155 Add gst_pad_has_name() to the exported symbols.
1157 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1159 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1160 * libs/gst/base/gstbasetransform.c:
1161 (gst_base_transform_prepare_output_buffer):
1162 Don't allow negative sizes when allocating new buffers.
1165 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1167 Patch by: Sjoerd Simons <sjoerd at luon net>
1169 * gst/gstbus.c: (gst_bus_source_dispatch):
1170 Don't print a warning if the queue is empty when we try to pop
1171 here. That could happen if another thread or callback set the
1172 bus to flushing between the source's check/prepare and the
1173 dispatch being called (#531538).
1175 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1177 * plugins/elements/gstmultiqueue.c:
1180 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1182 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1183 Add unit test for deserializing uint64s and check some really large
1184 numbers in the int64 test.
1186 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1188 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1189 (print_interfaces), (print_element_properties_info),
1190 (print_signal_info):
1191 Use "%s" as format string instead of printing strings directly.
1193 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1195 * gst/gstclock.c: (gst_clock_set_calibration):
1196 Make some checks actually useful.
1198 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1199 Remove some unused code. Unsigned integers tend to be >= 0.
1201 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1203 * gst/gstminiobject.c: (gst_value_get_mini_object):
1204 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1205 function was not in the unscheduled 0.10.19 release.
1207 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1209 * gst/gstregistry.c: (gst_registry_scan_path_level):
1210 Only print one log message per non-plugin file.
1212 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1214 * gst/gstinfo.c: (gst_debug_log_default):
1215 Fix alignment of debug log columns on 64-bit.
1217 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1219 * docs/libs/Makefile.am:
1220 * docs/libs/gstreamer-libs-sections.txt:
1221 Ignore private controller headers for docs.
1223 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1225 * libs/gst/controller/gstcontrollerprivate.h:
1226 * libs/gst/controller/gsthelper.c:
1227 * libs/gst/controller/gstinterpolation.c:
1228 * libs/gst/controller/gstinterpolationcontrolsource.c:
1229 (gst_interpolation_control_source_set_interpolation_mode):
1230 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1231 * libs/gst/controller/lib.c:
1232 Move some private declarations into private headers.
1234 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1236 * gst/gstdebugutils.c: (debug_dump_element_pad):
1237 Remove some code that is unused after Stefan's refactoring and uses
1238 uninitialized variables now, resulting in a compiler warning.
1240 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1242 * gst/gstregistry.c: (gst_registry_scan_path_level):
1243 Run g_str_has_suffix() only on the file name, not the
1246 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1248 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1249 Since we're not called only from the chain function any longer,
1250 we can't assume that there's always data in the queue, so move
1251 the is_full check to the beginning of the loop (otherwise we'd
1252 hit the assert when changing the limit properties while the
1253 queue is empty or not running yet).
1254 Also, only set a discont if items were actually removed from
1257 * tests/check/elements/queue.c: (test_leaky_downstream):
1258 Test case for the above.
1260 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1262 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1264 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1265 (gst_queue_chain), (queue_capacity_change),
1266 (gst_queue_set_property):
1267 When changing thr max capacity of a leaky queue, immediatly drop buffers
1268 instead of waiting for a push on the sinkpad. Fixes #530637.
1270 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1272 * gst/gstdebugutils.c:
1273 Refactor code and fix handling of ghostpads and their proxypads.
1275 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1277 * docs/gst/gstreamer-sections.txt:
1278 * gst/gstevent.c: (gst_event_has_name):
1280 * tests/check/gst/gstevent.c: (GST_START_TEST):
1281 Add method to conveniently check the name of a custom event with
1282 gst_event_has_name().
1283 Reformat the event docs so that related methods are put together instead
1284 of the default alphabetical sort.
1285 Update unit test with new method.
1286 API: GstEvent::gst_event_has_name()
1288 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1290 * libs/gst/check/Makefile.am:
1291 Don't add an explicit link to libgstreamer-0.10.la; it's already
1292 included in GST_OBJ_LIBS.
1294 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1297 Register GstClock type from a type-safe context. Fixes bug #530317.
1299 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1301 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1303 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1305 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1307 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1309 Use the GLib stuff to create a private structure.
1310 Add some locking around some dispose methods to make them a little
1311 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1313 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1315 * libs/gst/base/gstbasesink.h:
1316 * libs/gst/base/gstbasesrc.h:
1317 * libs/gst/base/gstbasetransform.h:
1318 * libs/gst/base/gstcollectpads.h:
1319 Fix doc typos and unify caps a bit.
1321 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1323 * tools/gst-launch.1.in:
1324 Forgot to also add the envvar docs here.
1326 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1328 * gst/gst.c: (init_post), (gst_deinit):
1329 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1330 (test_concurrent_create), (gst_pipeline_suite):
1331 Ref some more classes in gst_init() to work around thread-safety
1332 issues in pre-2.16 GLibs, and add basic unit test.
1334 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1336 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1337 (gst_base_sink_send_event):
1338 Rearrange the latency query code. We always want to do the upstream
1339 query, even if we are not live so that the upstream elements can get the
1340 latency results too. If we fail doing the query and we are live, we
1341 return TRUE afterwards.
1343 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1345 patch by: Jason Zhao <e3423c@motorola.com>
1347 * docs/gst/running.xml:
1349 Enable/disable scan_and_update_registry() based on commandline switch
1350 or environment variable. Fixes #520468.
1353 Fix typo in my previous commit.
1355 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1357 * gst/gstregistrybinary.c:
1358 Add a warning if we hit unhandled factories when saving.
1359 More debug logging detail, but move to LOG category.
1361 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1363 * gst/gstregistry.c:
1364 Tell the *truth* when improving the documentation.
1366 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1368 * gst/gstelementfactory.c: (gst_element_factory_make):
1369 Unref the factory after it was used the last time, not before.
1371 * gst/gstindexfactory.c: (gst_index_factory_make):
1372 Improve debugging a bit and don't leak a ref to the index factory with
1375 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1377 * gst/gstregistry.c:
1378 Improve the documentation.
1380 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1383 The glib macro seems to be borked. Use g_slice_copy directly and cast
1384 in the hope that this fixes the warning on 64bit.
1386 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1389 Document the new function. Use g_slice_dup() (no need for
1390 gst_segment_init()).
1392 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1394 * docs/gst/gstreamer-sections.txt:
1395 Move GParamSepc macros to standart section.
1398 Dn't document _get_type - its in private section in docs anyway and
1399 this doc-blob was incomplete.
1402 Fix wrong symbol names in docs.
1405 Add once doc sentence.
1407 * tests/check/gst/.cvsignore:
1410 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1412 * docs/gst/Makefile.am:
1413 And remove those libs here.
1415 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1417 * docs/libs/Makefile.am:
1418 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1420 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1422 Patch by: Olivier Crete <tester at tester dot ca>
1424 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1425 Add the min-threshold to the min latency if possible. Fixes #529148.
1427 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1429 * docs/gst/gstreamer.types.in:
1430 Stupid editor, I removed that line as it should go in yet.
1432 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1434 * docs/gst/gstreamer.types.in:
1435 * docs/libs/gstreamer-libs.types:
1436 Remove library types fro core docs and have them in libs docs.
1437 Reformat and cleanup. Add comment for miniobject types.
1439 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1441 * gst/gsturi.c: (gst_uri_get_protocol):
1442 Fix leak: g_strdown operates on the string in place, while
1443 g_ascii_strdown() returns a newly-allocated string.
1445 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1447 * tools/gst-inspect.c: (print_uri_handler_info),
1448 (print_element_info):
1449 Print the URI protocols and the URI type supported by the element.
1451 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1453 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1454 Use g_value_take_string() instead of the deprecated
1455 g_value_set_string_take_ownership().
1457 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1459 * gst/gstregistrybinary.c: (_gst_crc32):
1460 Return the old CRC instead of 0 if we give a NULL buffer
1461 or a buffer with a length of 0.
1463 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1465 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1466 (gst_uri_get_protocol), (gst_uri_has_protocol),
1467 (gst_uri_construct), (gst_uri_handler_set_uri):
1468 A valid URI scheme can also include '+', '-' and '.' additional
1469 to alphanumeric characters as per RFC 3986 Section 3.1.
1471 Handle URI schemes case insensitive in all places and convert
1472 to lower-case when constructing an URI or setting an URI with
1473 the GstURIHandler interface. Fixes bug #528868.
1474 All elements can still assume (as before) that they will
1475 get passed URIs with a lower-case URI scheme by the GstURIHandler
1478 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1480 * gst/gstcaps.c: (gst_static_caps_get):
1481 * gst/gstclock.c: (gst_clock_entry_new):
1482 Don't use g_atomic_set_int where it's not needed.
1484 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1486 * gst/gstvalue.c: (gst_value_deserialize_caps):
1487 * gst/parse/grammar.y:
1490 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1492 * gst/gstutils.c: (gst_atomic_int_set):
1493 Use g_atomic_int_set() here too instead of assignment +
1496 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1500 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1501 now that we depend on new enough GLib.
1503 * gst/gstcaps.c: (gst_static_caps_get):
1504 * gst/gstclock.c: (gst_clock_entry_new):
1505 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1506 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1507 (gst_debug_category_set_threshold):
1508 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1509 (gst_base_sink_set_qos_enabled):
1510 * libs/gst/net/gstnettimeprovider.c:
1511 (gst_net_time_provider_set_property):
1512 Use g_atomic_int_set() instead of gst_atomic_int_set().
1514 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1517 Also use G_GINT64_CONSTANT for the queries.
1519 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1522 Use G_GINT64_CONSTANT in varargs function.
1524 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1526 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1527 Initialize the registry magic with zeroes.
1529 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1531 * gst/gstregistrybinary.c: (_gst_crc32),
1532 (gst_registry_binary_write),
1533 (gst_registry_binary_initialize_magic),
1534 (gst_registry_binary_write_cache),
1535 (gst_registry_binary_check_magic),
1536 (gst_registry_binary_read_cache):
1537 * gst/gstregistrybinary.h:
1538 Add crc32 checksum to the binary registry file and check this before
1539 accepting a registry file.
1541 Also free the data list when writing to the registry file fails.
1543 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1545 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1546 (gst_registry_binary_load_feature),
1547 (gst_registry_binary_load_plugin):
1548 If an element supports the Uri interface, returns a valid pointer
1549 to the supported URI protocols but this pointer contains nothing
1550 don't try to save that as it will corrupt the registry.
1552 Don't unref the plugin if we added it to the registry already but
1553 fail to load a feature as gst_registry_add_plugin() takes ownership
1556 Improve debugging a bit.
1558 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1561 Clarify some tag item docs after discussion on irc.
1563 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1565 * docs/gst/gstreamer-docs.sgml:
1566 Remove commented out plugins (they have their own docs). Update
1569 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1571 * docs/gst/gstreamer-docs.sgml:
1572 * docs/gst/gstreamer-sections.txt:
1573 * gst/gstparamspecs.c:
1574 * gst/gstparamspecs.h:
1575 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1576 docs to own section.
1579 This now only documents GValue.
1581 * docs/libs/gstreamer-libs-sections.txt:
1582 * libs/gst/controller/gstcontroller.h:
1583 Remove GST_PARAM_CONTROLLABLE.
1585 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1588 Correct file path. Tell about how to use -overrides.txt.
1589 * docs/design/draft-tagreading.txt:
1590 Small design update.
1592 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1594 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1595 (gst_registry_binary_load_plugin):
1596 Fix a typo in a debug message and revert change from yesterday as
1597 gst_registry_add_plugin() will only fail if something is really wrong
1598 already and we can't survive it anyway.
1600 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1602 * gst/gst.c: (init_post), (gst_deinit):
1603 Pre-register GstGError GType from a thread-safe context
1604 (fixes #527967); unref enum type classes in deinit.
1606 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1608 Patch by: Rene Stadler <mail at renestadler de>
1610 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1611 Merging an empty list with another list in KEEP_ALL mode should
1612 yield an empty list as result and not the second list (#512578).
1614 * tests/check/gst/gsttagsetter.c:
1615 Add unit test for tag merge modes and the aforementioned bug.
1617 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1619 Patch by: Rene Stadler <mail at renestadler de>
1622 Fix description to match the order in the table (#512577).
1624 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1626 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1628 * libs/gst/net/gstnettimepacket.h:
1629 * docs/libs/gstreamer-libs-sections.txt:
1630 Define socklen_t as int if it's not defined yet. Fixes compilation
1631 with MSVC6 and other versions where socklen_t is not defined in
1632 the windows headers (#518022).
1634 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1636 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1637 If gst_registry_add_plugin() fails our reference to the plugin is
1638 invalid so don't try to use it anymore and instead error out.
1640 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1642 * tools/gst-xmlinspect.c: (print_element_info), (main):
1643 De-cruft a bit. If no argument is specified, print all elements in
1644 XML syntax rather than a freestyle list of elements like gst-inspect.
1645 Also, don't print XML header chunk unless we actually have something
1646 to print (ie. don't print it before an error message); print error
1647 message to stderr not stdout. Remove support for printing plugin
1648 info (it would just output something freestyle along the lines of
1649 gst-inspect so far), which fixes #514507. Also add license header.
1651 2008-04-11 Julien Moutte <julien@fluendo.com>
1654 * configure.ac: Merge platform specific defines, introduce a new
1655 define on OS X to remember that forking when updating registry is
1657 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1659 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1661 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1662 condition that leads to absolutely no plugins being registered on
1665 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1667 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1669 * gst/gstutils.c: (gst_pad_add_data_probe),
1670 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1671 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1672 (gst_pad_add_buffer_probe_full):
1674 * docs/gst/gstreamer-sections.txt:
1675 * win32/common/libgstreamer.def:
1676 Add gst_pad_add_*_probe_full() functions with a notify callback that
1677 lets the caller free the data it passes to the probe functions. This
1678 is useful for bindings such as gst-python or gstreamermm (#526814).
1679 API: gst_pad_add_data_probe_full
1680 API: gst_pad_add_buffer_probe_full
1681 API: gst_pad_add_event_probe_full
1683 * tests/check/gst/gstutils.c:
1684 Add minimal unit test to make sure freeing the data actually works
1687 * tests/benchmarks/.cvsignore:
1688 Random cvsignore addendum.
1690 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1692 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1693 (GST_DEBUG_BIN_TO_DOT_FILE):
1694 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1695 to it in the docs (since these are macros the types of the arguments
1696 won't be shown in the docs otherwise).
1698 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1701 Do not abort on out of memory for pad_alloc_buffer.
1703 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1705 * libs/gst/check/gstcheck.c:
1706 Remove blank line between symbol name ad parameters to fix gtkdoc
1709 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1711 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1713 * docs/gst/gstreamer-sections.txt:
1716 * win32/common/libgstreamer.def:
1717 Expose gst_segment_copy() to make things easier for the c++ bindings.
1719 API: gst_segment_copy()
1721 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1723 * gst/gst.c: (gst_init_get_option_group), (init_post):
1724 Fix const position; ref GType classes for enum types to work
1725 around thread-safety issues in GLib versions < 2.16.
1727 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1729 * docs/design/part-buffering.txt:
1730 Fix some typos and set the estimated total for push mode to -1.
1732 * gst/gstquery.c: (gst_query_new_buffering):
1733 Set buffering-left to 0 as we're not buffering by default.
1735 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1736 Implement BUFFERING query.
1738 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1740 Based on patch by: Milosz Derezynski <internalerror gmail com>
1742 * gst/gsterror.c: (_gst_stream_errors_init):
1744 Add two new error codes for encrypted content. Fixes #524659.
1745 API: GST_STREAM_ERROR_DECRYPT
1746 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1748 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1753 * win32/common/libgstreamer.def:
1756 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1758 * plugins/elements/gstidentity.c: (gst_identity_event),
1759 (gst_identity_start):
1760 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1761 event after processing some data. Fixes bug #526042.
1763 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1765 * docs/gst/gstreamer-sections.txt:
1766 * gst/gstquery.c: (gst_query_parse_latency),
1767 (gst_query_set_buffering_percent),
1768 (gst_query_parse_buffering_percent),
1769 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1771 Rename _avail -> _range
1772 API: gst_query_set_buffering_range
1773 API: gst_query_parse_buffering_range
1775 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1777 * docs/design/part-buffering.txt:
1780 * gst/gstquery.c: (gst_query_parse_latency),
1781 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1782 (gst_query_parse_buffering_percent):
1784 Add busy field and quark for the buffering query so that the app can
1785 only use the query to see if buffering is in progress.
1787 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1789 * docs/gst/gstreamer-sections.txt:
1790 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1791 (gst_message_parse_buffering_stats):
1793 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1794 (gst_query_parse_latency), (gst_query_new_buffering),
1795 (gst_query_set_buffering_percent),
1796 (gst_query_parse_buffering_percent),
1797 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1798 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1800 Reorder the message docs and headers for clarity.
1801 Add aditional buffering stats API for messages.
1802 Add buffering query.
1803 Convert some leftover queries to use GstQuark.
1804 API: gst_message_set_buffering_stats
1805 API: gst_message_parse_buffering_stats
1806 API: GST_QUERY_BUFFERING
1807 API: GstBufferingMode
1808 API: gst_query_new_buffering
1809 API: gst_query_set_buffering_percent
1810 API: gst_query_parse_buffering_percent
1811 API: gst_query_set_buffering_stats
1812 API: gst_query_parse_buffering_stats
1814 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1816 * gst/gstmessage.c: (gst_message_new_error),
1817 (gst_message_new_warning), (gst_message_new_info),
1818 (gst_message_new_buffering), (gst_message_new_state_changed),
1819 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1820 (gst_message_new_new_clock), (gst_message_new_segment_start),
1821 (gst_message_new_segment_done), (gst_message_new_duration),
1822 (gst_message_new_async_start), (gst_message_parse_buffering),
1823 (gst_message_parse_state_changed),
1824 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1825 (gst_message_parse_new_clock), (gst_message_parse_error),
1826 (gst_message_parse_warning), (gst_message_parse_info),
1827 (gst_message_parse_segment_start),
1828 (gst_message_parse_segment_done), (gst_message_parse_duration),
1829 (gst_message_parse_async_start):
1830 Use GstQuark for messages.
1832 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1834 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1836 Add some more quarks needed for messages and queries.
1838 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1840 * docs/design/part-buffering.txt:
1841 Remove the "none" buffering mode, STREAM is a good default.
1842 Move estimated-time to the avail query, that's when it will be needed.
1843 Other small typo fixes and updates.
1845 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1847 * gst/gstindex.c: (gst_index_resolver_get_type):
1848 Don't put descriptions into the nick field of a GEnumValue: it's not
1849 meant for that and some language bindings rely on the nick field to
1850 construct constants and the like. Fixes #526705.
1852 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1857 Merge other changes from 0.10.19 release branch.
1859 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1861 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1864 Actually build dlls when cross-compiling with mingw32.
1867 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1869 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1872 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1874 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1876 * docs/design/draft-latency.txt:
1879 * docs/design/part-buffering.txt:
1880 Update design docs with more buffering ideas.
1882 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1885 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1887 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1890 Revert part that belongs to the preset patch.
1892 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1895 Add qoutes to the define. Fixes # 525961.
1897 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1899 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1900 (gst_file_index_load), (gst_file_index_add_id),
1901 (gst_file_index_get_assoc_entry):
1902 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1903 (gst_mem_index_free_id), (gst_mem_index_add_id),
1904 (gst_mem_index_index_format):
1905 Use GSlice when possible.
1907 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1909 * libs/gst/controller/gstinterpolationcontrolsource.c:
1910 (gst_control_point_free),
1911 (gst_interpolation_control_source_set_internal):
1912 Use GSlice for allocating the control points.
1914 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1916 * plugins/elements/gsttypefindelement.c:
1917 (gst_type_find_element_class_init),
1918 (gst_type_find_element_set_property),
1919 (gst_type_find_element_get_property),
1920 (gst_type_find_element_activate):
1921 * plugins/elements/gsttypefindelement.h:
1923 Fix pad leak when peer query fails.
1924 We can still typefind when the peer returns -1.
1925 Add property to force caps and bypass typefinding. This will be used in
1929 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1934 * gst/glib-compat-private.h:
1935 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1936 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1937 Unconditionally use GSlice for allocation.
1939 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1940 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1941 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1942 (gst_structure_free):
1943 Use GSlice for allocation.
1945 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1947 * gst/parse/Makefile.am:
1948 * gst/parse/grammar.tab.pre.c:
1949 * gst/parse/grammar.tab.pre.h:
1950 * gst/parse/lex._gst_parse_yy.pre.c:
1951 Require a new enough flex and bison and remove the parser hacks to use
1952 a pre-regenerated version.
1954 2008-04-01 Julien Moutte <julien@fluendo.com>
1956 patch by: Jason Zhao <E3423C@motorola.com>
1958 * configure.ac: Add a configure switch to disable option parsing
1962 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1965 * gst/gstregistry.c:
1966 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1967 and handle this case.
1970 Add a comment here describing, why we stat each plugin and not try to
1973 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1975 * libs/gst/base/gstbasetransform.c:
1976 (gst_base_transform_prepare_output_buffer):
1977 Also unset the GAP flag on buffers if we're working inplace but
1978 the element is not GAP-aware.
1980 Mark a comment as FIXME 0.11.
1982 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1985 Fix type in log message and add one to ease seeing how long registry
1986 cache verification takes.
1988 * gst/gstregistry.c:
1989 Only test plugin filenames against G_MODULE_SUFFIX.
1991 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1993 * gst/gstdebugutils.c:
1994 Improve handling ghost/proxy pads.
1996 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1998 * docs/gst/gstreamer-sections.txt:
2001 Expose macro to docs and fix link to it.
2003 2008-03-27 Michael Smith <msmith@fluendo.com>
2005 * libs/gst/dataprotocol/dataprotocol.c:
2006 (gst_dp_packet_from_event_1_0):
2007 When calculating GDP body CRC, use the correct pointer.
2008 Fixes part of #522401.
2010 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2012 Patch by: Mark Nauwelaerts <manauw at skynet be>
2014 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2015 (gst_identity_init), (gst_identity_prepare_output_buffer):
2016 Identity is not always a passthrough element, it can modify the buffer
2017 timestamps when it has a datarate and operates in single-segment mode.
2018 We therefore make it an in_place filter with a custom buffer prepare
2019 function that conditionally makes the input buffer metadata writable
2020 when needed. Fixes #523985.
2022 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2024 Patch by: Mark Nauwelaerts <manauw at skynet be>
2027 * libs/gst/base/gstbasesrc.h:
2028 * libs/gst/base/gstbasetransform.c:
2029 * libs/gst/check/gstcheck.c:
2030 Small documentation fixes. Fixes #523978.
2032 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2034 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2035 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2036 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2038 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2040 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2041 (single_queue_underrun_cb):
2042 When trying to make room in the queue, bump the max allowed buffers
2043 bigger than the current amount of buffers in the queue. this fixes some
2044 nasty deadlocks in multiqueue when dynamically changing the limits of
2047 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2049 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2051 * gst/gstcaps.c: (gst_caps_set_simple),
2052 (gst_caps_set_simple_valist), (gst_caps_intersect):
2054 Constify the field gchar * params in set_simple and friends.
2057 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2059 * gst/gstvalue.c: (gst_value_transform_object_string):
2060 Transform a GstObject to a more meaningfull string that includes the
2061 object type in addition to its name.
2063 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2066 ChangeLog surgery to add bugnumber to commit.
2068 2008-03-23 Rene Stadler <mail@renestadler.de>
2070 * libs/gst/base/gstbasetransform.c:
2071 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2073 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2075 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2076 Rename constant everywhere and don't forget one occurence.
2078 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2080 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2081 Align memory to the pointer size even if the architecture allows
2082 unaligned memory access. Unaligned memory access usually comes with
2083 performance penality.
2085 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2087 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2088 (gst_registry_binary_check_magic),
2089 (gst_registry_binary_load_pad_template),
2090 (gst_registry_binary_load_feature),
2091 (gst_registry_binary_load_plugin):
2092 Align memory to the pointer size instead of always 32 bit. Fixes
2093 unaligned memory accesses on ia64 and friends.
2095 * gst/gstregistrybinary.h:
2096 Bump binary registry format version for this as it changes the
2097 format on those architectures that don't have unaligned access
2098 and 64 bit pointers.
2100 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2102 * docs/pwg/advanced-dparams.xml:
2103 * docs/pwg/building-props.xml:
2104 * docs/pwg/other-source.xml:
2105 * gst/glib-compat.h:
2106 * gst/gstbin.c: (gst_bin_class_init):
2107 * gst/gstclock.c: (gst_clock_class_init):
2108 * gst/gstindex.c: (gst_index_class_init):
2109 * gst/gstobject.c: (gst_object_class_init):
2110 * gst/gstpad.c: (gst_pad_class_init):
2111 * gst/gstpipeline.c: (gst_pipeline_class_init):
2112 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2113 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2114 * libs/gst/base/gstbasetransform.c:
2115 (gst_base_transform_class_init):
2116 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2117 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2118 (_gst_check_fault_handler_sighandler),
2119 (_gst_check_fault_handler_setup), (gst_check_init):
2120 * libs/gst/controller/gstcontroller.c:
2121 (_gst_controller_class_init):
2122 * libs/gst/controller/gstlfocontrolsource.c:
2123 (gst_lfo_control_source_class_init):
2124 * libs/gst/net/gstnetclientclock.c:
2125 (gst_net_client_clock_class_init):
2126 * libs/gst/net/gstnettimeprovider.c:
2127 (gst_net_time_provider_class_init):
2128 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2129 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2130 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2131 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2132 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2133 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2134 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2135 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2136 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2137 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2138 * plugins/elements/gsttee.c: (gst_tee_class_init):
2139 * plugins/elements/gsttypefindelement.c:
2140 (gst_type_find_element_class_init):
2141 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2142 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2143 use it everywhere for GParamSpecs that use static strings (i.e. all).
2144 This gives us less memory usage, fewer allocations and thus less
2145 memory defragmentation. Fixes bug #523806.
2147 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2149 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2150 (gst_param_spec_mini_object):
2151 * gst/gstminiobject.h:
2152 * win32/common/libgstreamer.def:
2153 * docs/gst/gstreamer-sections.txt:
2154 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2155 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2156 GstParamSpecMiniObject into a public header for this.
2158 This make GstMiniObject a bit more consistent with GObject and makes
2159 it possible to extend the param specs.
2161 gst_value_dup_mini_object is mainly useful for set_property methods.
2165 * tools/gst-inspect.c: (print_element_properties_info):
2166 Print something useful for GstMiniObject properties and not just
2169 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2171 * docs/gst/gstreamer-sections.txt:
2172 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2173 (gst_registry_binary_check_magic):
2174 * gst/gstregistrybinary.h:
2175 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2176 and add it to the (private part) of the docs to fix the build.
2178 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2180 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2181 (gst_registry_binary_check_magic),
2182 (gst_registry_binary_read_cache):
2183 * gst/gstregistrybinary.h:
2184 Don't use GST_MAJORMINOR for the binary registry version. Instead
2185 hardcode a value that must be changed whenever the format changes
2186 in an incompatible way.
2187 Also don't GST_ERROR when there is a version mismatch, just
2188 regenerate the registry silently.
2190 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2193 Back to development - 0.10.18.1
2195 === release 0.10.18 ===
2197 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2200 releasing 0.10.18, "So far away"
2202 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2205 * win32/common/config.h:
2206 0.10.17.4 pre-release
2208 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2210 Patch by: Ole André Vadla Ravnås
2211 <ole dot andre dot ravnas at tandberg dot com>
2213 * docs/gst/gstreamer-sections.txt:
2214 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2215 (gst_poll_update_winsock_event_mask),
2216 (gst_poll_prepare_winsock_active_sets),
2217 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2218 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2219 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2220 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2221 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2223 * win32/common/libgstreamer.def:
2224 Add new function gst_poll_fd_ignored() for improved Windows
2226 Various minor fixes and cleanups. See #520808.
2228 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2230 * gst/gstindex.c: (gst_index_entry_free):
2232 Don't free key strings which we don't own. Fixes crash in
2233 gst_index_entry_free() (#522741).
2235 * tests/check/Makefile.am:
2236 * tests/check/gst/.cvsignore:
2237 * tests/check/gst/gstindex.c: (test_index_entries),
2238 (gst_index_suite), (gst_index):
2239 Add unit test for the above.
2241 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2243 * win32/common/libgstreamer.def:
2244 Remove symbols that were removed recently. Fixes bug #521740.
2246 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2249 * win32/common/config.h:
2250 0.10.17.3 pre-release
2252 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2254 Patch by: Ole André Vadla Ravnås
2255 <ole dot andre dot ravnas at tandberg dot com>
2257 * docs/gst/gstreamer-sections.txt:
2258 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2259 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2260 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2261 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2262 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2263 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2264 (gst_poll_fd_can_write), (gst_poll_wait),
2265 (gst_poll_set_controllable), (gst_poll_restart),
2266 (gst_poll_set_flushing):
2268 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2269 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2270 (gst_net_time_provider_new):
2271 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2272 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2273 * tests/benchmarks/gstpollstress.c: (main):
2274 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2275 Remove GstPollMode from the API, it does not make sense to let the
2276 application control this.
2277 Add support for Win32.
2278 Fix the testsuite. Fixes #520671.
2280 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2282 Patch by: Ole André Vadla Ravnås
2283 <ole dot andre dot ravnas at tandberg dot com>
2285 * gst/gstregistrybinary.c:
2286 Include io.h for write() and close() when building with MSVC. Fixes
2289 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2292 * gst/gst_private.h:
2293 * gst/gstconfig.h.in:
2294 * gst/gstregistry.h:
2295 * gst/gstregistrybinary.c:
2296 * win32/common/gstconfig.h:
2297 Move registry backend API to private headers where we can. Add
2298 fixme-0.11 comments for the others. Add stubs for the xml backend when
2299 using the binary to ensure they functions exists (they should not be
2300 used though). Fixes #520756.
2302 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2305 * win32/common/config.h:
2308 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2310 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2311 (gst_registry_binary_read_cache):
2312 * gst/gstregistryxml.c: (gst_registry_save):
2313 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2314 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2315 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2316 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2317 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2320 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2322 * gst/gstminiobject.c:
2323 Import gst_private.h before any other header that might include other
2324 glib headers. This fixes the build on windows using native compilers.
2326 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2328 * win32/common/gstconfig.h:
2329 Add here too, just for completeness.
2331 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2334 * gst/gstconfig.h.in:
2335 * gst/gstregistry.h:
2336 Fix broken use of config.h-defined preprocessor directive in a public
2337 header file. Add a corresponding define to gstconfig.h, since we can't
2338 really remove those function declarations from the header file now
2339 (or can we? and why are they there in the first place?).
2341 2008-03-03 Andy Wingo <wingo@pobox.com>
2343 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2346 * gst/gststructure.c (gst_structure_from_string): Warn if
2347 structure_from_string didn't consume the whole string, but the
2348 caller did not provide an end pointer.
2350 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2352 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2354 * gst/gstregistryxml.c: (read_string), (load_feature):
2355 Strings allocated by libxml2 should be freed with xmlFree(), not
2356 with g_free(). Fixes issues on windows in certain contexts (#519698).
2358 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2360 * gst/gstinterface.c: (gst_element_implements_interface):
2361 Don't crash if the element supports the interface queried, but does
2362 not implement GstImplementsInterface. Fixes #519584.
2364 * tests/check/Makefile.am:
2365 * tests/check/gst/.cvsignore:
2366 * tests/check/gst/gstinterface.c:
2367 Add unit test for the above.
2369 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2371 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2374 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2376 * gst/gstsegment.c: (gst_segment_set_seek),
2377 (gst_segment_to_stream_time):
2378 Improve some comment.
2379 Update variables where it makes more sense.
2381 2008-02-29 Rene Stadler <mail@renestadler.de>
2383 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2384 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2385 URIHandlers implemented using language bindings.
2387 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2389 * gst/gstelementfactory.h:
2390 * tests/check/elements/fakesink.c:
2391 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2392 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2393 * tests/check/elements/filesink.c: (setup_filesink):
2394 * tests/check/elements/filesrc.c: (setup_filesrc):
2395 * tests/check/elements/identity.c: (setup_identity):
2396 * tests/check/elements/tee.c:
2397 * tests/check/generic/sinks.c:
2398 * tests/check/generic/states.c: (setup), (teardown):
2399 * tests/check/gst/gst.c:
2400 * tests/check/gst/gstabi.c:
2401 * tests/check/gst/gstbin.c:
2402 * tests/check/gst/gstbus.c: (pull_messages):
2403 * tests/check/gst/gstcaps.c:
2404 * tests/check/gst/gstelement.c:
2405 * tests/check/gst/gstevent.c:
2406 * tests/check/gst/gstghostpad.c:
2407 * tests/check/gst/gstiterator.c:
2408 * tests/check/gst/gstmessage.c:
2409 * tests/check/gst/gstminiobject.c: (my_foo_init):
2410 * tests/check/gst/gstobject.c: (thread_name_object),
2412 * tests/check/gst/gstpad.c:
2413 * tests/check/gst/gstplugin.c:
2414 * tests/check/gst/gstpoll.c:
2415 * tests/check/gst/gstquery.c:
2416 * tests/check/gst/gstsegment.c:
2417 * tests/check/gst/gststructure.c:
2418 * tests/check/gst/gstsystemclock.c:
2419 * tests/check/gst/gsttask.c:
2420 * tests/check/gst/gstutils.c:
2421 * tests/check/gst/gstvalue.c:
2422 * tests/check/gst/struct_hppa.h:
2423 * tests/check/gst/struct_i386.h:
2424 * tests/check/gst/struct_ppc32.h:
2425 * tests/check/gst/struct_ppc64.h:
2426 * tests/check/gst/struct_x86_64.h:
2427 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2428 * tests/check/libs/basesrc.c:
2429 * tests/check/libs/controller.c: (GST_START_TEST):
2430 * tests/check/libs/gdp.c:
2431 * tests/check/libs/gstnetclientclock.c:
2432 * tests/check/libs/gstnettimeprovider.c:
2433 * tests/check/libs/libsabi.c:
2434 * tests/check/libs/struct_hppa.h:
2435 * tests/check/libs/struct_i386.h:
2436 * tests/check/libs/struct_ppc32.h:
2437 * tests/check/libs/struct_ppc64.h:
2438 * tests/check/libs/struct_x86_64.h:
2439 * tests/check/pipelines/cleanup.c:
2440 * tests/check/pipelines/simple-launch-lines.c:
2441 * tests/check/pipelines/stress.c:
2442 And correct even more valid sparse warnings.
2444 * win32/common/libgstreamer.def:
2445 Add gst_poll_fd_init to the list of symbols.
2447 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2449 * gst/gstconfig.h.in:
2450 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2451 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2452 (gst_check_log_critical_func), (gst_check_drop_buffers),
2453 (gst_check_element_push_buffer_list):
2454 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2455 (gst_controller_get_type):
2456 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2457 (gst_object_get_controller), (gst_object_get_control_source):
2458 * libs/gst/controller/gstinterpolationcontrolsource.c:
2459 (gst_interpolation_control_source_new):
2460 * libs/gst/controller/gstlfocontrolsource.c:
2461 (gst_lfo_control_source_new):
2462 * libs/gst/dataprotocol/dataprotocol.c:
2463 (gst_dp_event_from_packet_0_2):
2464 * plugins/elements/gstfdsrc.c:
2465 * plugins/elements/gstmultiqueue.c:
2466 * plugins/elements/gsttee.c:
2467 * plugins/elements/gsttypefindelement.c:
2468 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2469 (gst_file_index_add_association):
2470 * plugins/indexers/gstmemindex.c:
2471 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2472 * tests/check/elements/queue.c: (setup_queue):
2473 * tests/check/gst/gstpipeline.c:
2474 * tests/check/libs/collectpads.c: (setup), (teardown),
2475 (gst_collect_pads_suite):
2476 * tests/examples/adapter/adapter_test.c:
2477 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2478 * tests/examples/xml/createxml.c:
2479 * tests/examples/xml/runxml.c:
2480 * tools/gst-inspect.c:
2482 Correct all relevant warnings found by the sparse semantic code
2483 analyzer. This include marking several symbols static, using
2484 NULL instead of 0 for pointers, not using variable sized arrays
2485 on the stack, moving variable declarations to the beginning of
2486 a block and using "foo (void)" instead of "foo ()" for declarations.
2488 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2490 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2491 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2492 Don't reset GstPollFDs, this is not necessary at all.
2494 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2495 (delayed_restart), (delayed_control):
2496 Use GST_POLL_FD_INIT.
2498 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2500 * gst/gstpoll.c: (gst_poll_fd_init):
2504 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2505 Use some more init macros.
2507 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2509 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2510 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2511 Use init macros and functions.
2513 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2515 * docs/gst/gstreamer-sections.txt:
2516 * gst/gstpoll.c: (gst_poll_fd_init):
2518 Add INIT macro and _init method for initializing the GstPollFD.
2520 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2522 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2523 (gst_fd_sink_update_fd):
2524 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2525 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2526 (delayed_restart), (delayed_control):
2527 Initialize some uninitialized variables as spotted by valgrind.
2529 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2531 * tests/benchmarks/Makefile.am:
2532 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2534 Add poll stress test.
2536 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2538 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2540 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2541 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2542 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2543 * plugins/elements/gstfdsink.h:
2544 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2545 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2546 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2547 (gst_fd_src_uri_set_uri):
2548 * plugins/elements/gstfdsrc.h:
2549 Port to GstPoll. See #505417.
2551 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2553 * win32/common/libgstreamer.def:
2554 Add new gst_poll_ symbols to win32 defs.
2556 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2558 * docs/libs/gstreamer-libs-sections.txt:
2559 * libs/gst/net/gstnetclientclock.c:
2560 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2561 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2562 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2563 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2564 * libs/gst/net/gstnetclientclock.h:
2565 * libs/gst/net/gstnettimeprovider.c:
2566 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2567 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2568 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2569 (gst_net_time_provider_new):
2570 * libs/gst/net/gstnettimeprovider.h:
2571 Use a private stuct to not break ABI.
2573 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2575 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2577 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2578 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2579 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2580 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2581 * libs/gst/net/gstnetclientclock.h:
2582 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2583 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2584 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2585 (gst_net_time_provider_new):
2586 * libs/gst/net/gstnettimeprovider.h:
2587 Massive code removal and cleanups because of GstPoll.
2590 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2593 Add checks for poll, ppoll and pselect.
2595 * docs/gst/gstreamer-docs.sgml:
2596 * docs/gst/gstreamer-sections.txt:
2597 Add docs for GstPoll.
2601 * gst/gstpoll.c: (find_index), (selectable_fds),
2602 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2603 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2604 (gst_poll_set_mode), (gst_poll_get_mode),
2605 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2606 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2607 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2608 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2609 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2610 (gst_poll_fd_can_write), (gst_poll_wait),
2611 (gst_poll_set_controllable), (gst_poll_restart),
2612 (gst_poll_set_flushing):
2614 Add generic poll abstraction. We ideally don't want to have this in core
2615 here but in glib intead...
2616 This code will be used in various network elements and ultimately for
2617 the nanosecond precision monotonic clock (that's why it's here in core).
2618 It'll allow us to implement cancelable socket operations for windows too.
2620 * tests/check/Makefile.am:
2621 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2622 (delayed_stop), (delayed_restart), (delayed_flush),
2623 (delayed_control), (gst_poll_suite):
2624 Add GstPoll unit test.
2626 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2629 Improve documentation of gst_filter_run(). Fixes #518627.
2631 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2634 Add a few lines about the new 'check-inspected-versions' target.
2636 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2638 * tests/check/gst/gstevent.c:
2639 Add qos to the event test. Rename tcase/tsuite; is not only about
2642 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2644 * plugins/elements/gstqueue.c:
2645 Ensure that buffer metadata is writeable, before modifying. Spotted by
2648 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2650 * plugins/elements/gstqueue.c:
2651 * plugins/elements/gstqueue.h:
2652 When dropping buffers in leaky modes, mark next buffers we sent as
2655 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2657 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2658 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2660 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2662 * plugins/elements/Makefile.am:
2663 * plugins/elements/gstbufferstore.c:
2664 * plugins/elements/gstbufferstore.h:
2665 * plugins/elements/gsttypefindelement.h:
2666 Remove GstBufferStore, no idea why we were still building it.
2667 It's not used anywhere and superseded by GstAdapter.
2669 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2670 (gst_file_src_create_mmap):
2671 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2672 Printf format fixes for 64-bit integers.
2674 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2677 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2678 We're not in 0.8 times anymore.
2680 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2682 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2683 (gst_check_element_push_buffer_list):
2684 * libs/gst/check/gstcheck.h:
2685 Make the declaration in the header for
2686 gst_check_element_push_buffer_list match the implementation.
2688 Fix up spelling, grammar and wording of the documentation in a few
2689 places, and add the Since keyword to new API functions.
2690 Use g_list_delete_link instead of g_list_remove in
2691 gst_check_drop_buffers, since it's immeasurably more efficient.
2693 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2694 Use new gst_check_drop_buffers function where appropriate.
2696 * win32/common/libgstbase.def:
2697 * win32/common/libgstreamer.def:
2698 Add new symbols gst_collect_pads_take_buffer,
2699 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2702 Changelog surgery to add API keyword to new gst_check API.
2704 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2706 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2707 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2708 Update pre-generated flex files with flex 2.3.34.
2710 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2712 * gst/gstminiobject.c:
2713 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2714 friendly to subclasses and not require them to know all internals
2715 of their parent class.
2717 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2719 * docs/libs/gstreamer-libs-sections.txt:
2720 * libs/gst/base/gstcollectpads.c:
2721 * libs/gst/base/gstcollectpads.h:
2722 Add sub-buffer functions to collectpads. Fixes #516187.
2723 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2725 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2728 Copy selected buffer-flags when creating subbuffers.
2731 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2733 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2734 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2735 * gst/gstmessage.c: (gst_message_class_init),
2736 (gst_message_finalize):
2737 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2738 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2739 (gst_mmap_buffer_finalize):
2740 Properly chain up finalize functions to the parent class.
2742 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2744 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2746 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2747 (gst_index_set_resolver_full):
2749 Add new function with option to dispose of user_data in resolver.
2750 Actually call the dispose function when finalizing the object and not
2751 just when changing the resolver/filter.
2752 API: GstIndex::gst_index_set_resolver_full()
2754 * docs/gst/gstreamer-sections.txt:
2755 Add new function to docs. Fixes #515469.
2757 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2759 * gst/gstindex.c: (gst_index_finalize):
2760 Chain up finalize to the parent class. Fixes leaking the GstObject
2761 name and other things.
2763 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2766 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2767 pre-releases or releases.
2769 * docs/faq/gst-uninstalled:
2772 * docs/random/release:
2773 Change one of the steps - we only upload core & base to Gnome FTP
2775 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2777 * gst/gstconfig.h.in:
2778 Add 'id' for example.
2782 * plugins/elements/gstfdsink.c:
2783 Link to signals. Doc and comment fixes.
2785 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2787 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2788 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2789 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2790 unused and unimplemented; finally, it is plugin features, not
2791 plugins, that have ranks.
2793 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2795 * gst/gstpluginfeature.h:
2796 Clarify GstRank range docs.
2798 2008-02-05 David Schleef <ds@schleef.org>
2800 * gst/gst.c: Add a separate gst_deinitialized that prevents
2801 gst_init() from being called after gst_deinit(). Fixes #509559
2803 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2805 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2806 (gst_bin_class_init):
2807 * gst/gstelement.c: (gst_element_base_class_init),
2808 (gst_element_class_add_pad_template):
2809 * gst/gstpadtemplate.c: (gst_pad_template_init):
2810 * gst/gstpipeline.c: (gst_pipeline_get_type),
2811 (gst_pipeline_base_init), (gst_pipeline_class_init):
2812 * libs/gst/base/gstbasesink.c:
2813 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2814 (gst_base_src_base_init), (gst_base_src_class_init):
2815 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2816 (gst_capsfilter_class_init):
2817 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2818 (gst_fake_sink_class_init):
2819 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2820 (gst_fake_src_class_init):
2821 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2822 (gst_fd_sink_class_init):
2823 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2824 (gst_fd_src_class_init):
2825 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2826 (gst_file_sink_class_init):
2827 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2828 (gst_file_src_class_init):
2829 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2830 (gst_identity_class_init):
2831 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2832 (gst_multi_queue_class_init):
2833 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2834 (gst_queue_class_init):
2835 * plugins/elements/gsttee.c: (gst_tee_base_init),
2836 (gst_tee_class_init):
2837 * plugins/elements/gsttypefindelement.c:
2838 (gst_type_find_element_base_init),
2839 (gst_type_find_element_class_init):
2840 * tests/check/gst/gstelement.c: (gst_element_suite):
2841 Revert previous changes to the behaviour of GstPadTemplates, etc
2842 and the possiblity to call them in class_init as it breaks too
2843 many elements. Reopens bug #491501.
2845 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2848 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2850 * tools/gst-launch.c:
2851 Dump one graph per pipeline state-change and state change name
2852 (if GST_DEBUG_DUMP_DOT_DIR is set).
2854 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2857 * tests/check/gst/gstpad.c:
2858 Be sure that we have a new copy of the caps and not
2859 reffed caps from a template
2861 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2863 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2864 * gst/gstpipeline.c: (gst_pipeline_get_type),
2865 (gst_pipeline_class_init):
2866 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2867 (gst_base_sink_class_init):
2868 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2869 (gst_base_src_class_init):
2870 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2871 (gst_base_transform_class_init):
2872 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2873 (gst_collect_pads_class_init):
2874 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2875 * libs/gst/net/gstnettimeprovider.c:
2876 (gst_net_time_provider_base_init),
2877 (gst_net_time_provider_class_init):
2878 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2879 (gst_capsfilter_class_init):
2880 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2881 (gst_fake_sink_class_init):
2882 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2883 (gst_fake_src_class_init):
2884 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2885 (gst_fd_sink_class_init):
2886 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2887 (gst_fd_src_class_init):
2888 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2889 (gst_file_sink_class_init):
2890 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2891 (gst_file_src_class_init):
2892 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2893 (gst_identity_class_init):
2894 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2895 (gst_multi_queue_class_init):
2896 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2897 (gst_queue_class_init):
2898 * plugins/elements/gsttee.c: (gst_tee_base_init),
2899 (gst_tee_class_init):
2900 * plugins/elements/gsttypefindelement.c:
2901 (gst_type_find_element_base_init),
2902 (gst_type_find_element_class_init):
2903 Don't use base_init where not absolutely necessary. For example it's
2904 not necessary anymore for adding pad templates or setting element
2907 Leave empty base_init functions in several places as GST_BOILERPLATE
2908 still defines and uses them.
2910 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2912 * gst/gstelement.c: (gst_element_base_class_init),
2913 (gst_element_class_add_pad_template):
2914 * gst/gstpadtemplate.c:
2915 Make it possible (and recommended) to set element details and add
2916 pad templates in the class_init functions by copying the details/pad
2917 templates in GstElement's base_init.
2919 Also make it possible to replace existing pad templates by adding
2920 a new one with the same name. This was done in a hackish fashion
2921 in same elements before already.
2923 Don't reference pad templates that are added a second time. A
2924 new pad template has a refcount of one and is not floating anymore
2925 and to be owned by the element's class. Make this more explicit by
2926 mentioning it in the docs of gst_element_class_add_pad_template().
2928 These changes are backwards compatible. Fixes bug #491501.
2930 * tests/check/gst/gstelement.c:
2931 Add unit test for setting element details, adding pad templates and
2932 replacing them in a subclass.
2934 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2936 * tools/gst-inspect.c: (print_interfaces),
2937 (print_element_properties_info), (print_pad_info),
2938 (print_signal_info), (print_element_info):
2939 Fix a few memory leaks.
2941 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2943 * docs/libs/gstreamer-libs-sections.txt:
2944 * libs/gst/check/gstcheck.c:
2945 * libs/gst/check/gstcheck.h:
2946 Add more functions for unit testing: gst_check_drop_buffers,
2947 gst_check_caps_equal, gst_check_element_push_buffer_list,
2948 gst_check_element_push_buffer
2949 API: gst_check_drop_buffers
2950 API: gst_check_caps_equal
2951 API: gst_check_element_push_buffer_list
2952 API: gst_check_element_push_buffer
2954 2008-02-01 Julien Moutte <julien@fluendo.com>
2956 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2957 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2958 (gst_index_finalize), (gst_index_entry_free),
2959 (gst_index_add_association): Fix memory leaks.
2960 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2961 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2962 (gst_mem_index_free_format), (gst_mem_index_free_id),
2963 (gst_mem_index_finalize): Fix memory leaks.
2964 * win32/common/config.h: Updated to CVS HEAD.
2966 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2969 Some more details about how the plugin docs works.
2971 * docs/plugins/gstreamer-plugins-sections.txt:
2974 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2976 * gst/parse/grammar.tab.pre.c:
2977 * gst/parse/grammar.tab.pre.h:
2978 * gst/parse/grammar.y:
2979 * gst/parse/lex._gst_parse_yy.pre.c:
2980 Add delayed set-property. This allows to set properties on dynamicaly
2981 created objects (pads in videomxer). Fixes #509391.
2983 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2986 Check if caps are not NULL (fix bug #510194)
2988 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2990 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2991 (gst_base_sink_get_position_paused):
2992 Add fixme regarding EOS in pull mode.
2993 Fix position reporting in PAUSED for negative rates.
2995 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2997 * gst/gstminiobject.c: (gst_mini_object_replace):
2998 When replacing a miniobject, do a quick equality check first so that we
2999 can avoid a ref/unref pair.
3001 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3003 * docs/design/part-synchronisation.txt:
3006 * docs/plugins/Makefile.am:
3007 * docs/plugins/gstreamer-plugins-docs.sgml:
3008 * docs/plugins/gstreamer-plugins-sections.txt:
3009 * plugins/elements/gstmultiqueue.c:
3010 Add multiqueue to the docs.
3012 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3017 === release 0.10.17 ===
3019 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3022 releasing 0.10.17, "Due Negligence"
3024 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3027 Revert caps != NULL check temporarily for 0.10.17 release.
3029 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3032 Check if caps are not NULL (fix bug #510194)
3034 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3037 Fix compilation on systems that have posix timers but no
3040 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3043 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3045 * tools/gst-inspect.c:
3046 Revert previous commit in preparation for an impromptu 0.10.17 release
3048 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3050 * tools/gst-inspect.c: (print_interfaces),
3051 (print_element_properties_info), (print_pad_info),
3052 (print_signal_info), (print_element_info):
3053 Fix a few memory leaks.
3055 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3060 === release 0.10.16 ===
3062 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3065 releasing 0.10.16, "Special Dispensation"
3067 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3070 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3071 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3072 not fail when trying to crosscompile on OpenEmbedded (#511750).
3074 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3077 Use $(MAKE) instead of make to fix the build if GNU make is
3078 called different. Fixes bug #510747.
3080 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3082 * gst/gstplugin.c: (_gst_plugin_initialize):
3083 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3084 again, which I broke two commits ago when changing the API
3085 of gst_plugin_register_static(): the g_list_foreach() in
3086 _gst_plugin_register_static still assumed the old function
3087 signature and would therefore fail (re-fixes #510187).
3089 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3090 (_gst_plugin_register_static), (gst_plugin_register_static):
3091 Revert the (technically correct) change to call g_thread_init() from
3092 the pre-main() constructor. This will break programs which call
3093 g_thread_init() without an if (!g_thread_supported()) guard in their
3094 main function. We could just blame it on GLib or the application, but
3095 it's probably best to just avoid this altogether and simply not use
3096 any GLib functions here and use plain old malloc() with a simple
3097 array to store the plugins to register later when gst_init() is
3098 finally called (re-fixes #510187).
3100 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3101 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3102 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3103 (GST_START_TEST), (gst_plugin_suite):
3104 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3107 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3109 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3110 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3111 This makes gtk-doc complain, but results in slightly better
3112 compiler errors. The old _gst_plugin_register_static() is
3113 still guarded, so there'll be a compiler warning about that
3114 instead. Fixes #510187 too.
3116 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3118 * gst/gst.c: (init_post):
3119 * gst/gstplugin.c: (_gst_plugin_register_static),
3120 (gst_plugin_register_static), (_gst_plugin_initialize):
3121 * gst/gstplugin.h: (GstPluginFilter):
3122 Change API of gst_plugin_register_static() to not take
3123 a GstPluginDesc, but rather just take all the arguments
3124 in a GstPluginDesc directly. This is more intuitive and
3125 avoids certain mistakes when porting code from
3126 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3129 * tests/check/gst/gstplugin.c:
3130 Fix up for changed API.
3132 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3134 * docs/faq/legal.xml:
3135 Update FAQ, Totem actually has an exception these days.
3137 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3139 * win32/common/libgstreamer.def:
3140 Add new API declarations
3142 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3144 * gst/gstminiobject.c:
3145 Spelling fixes for the API docs.
3147 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3149 * libs/gst/base/gstbasetransform.c:
3150 Fix long property description for QoS.
3152 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3155 _gst_trace_on is already provided by gsttrace.h, no need to declare
3158 * docs/libs/gstreamer-libs-sections.txt:
3159 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3160 and remove strange tcase_add_test which is outputting a warning.
3162 * libs/gst/check/gstcheck.c:
3163 * libs/gst/check/gstcheck.h:
3164 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3165 and define them in gstcheck.c instead of having every .c file whcih
3166 includes gstcheck.h be defining its own copy and relying on symbol
3167 interposing to marry them all, which doesn't work on Solaris.
3169 * tests/check/elements/identity.c: (GST_START_TEST):
3170 Don't define 'buffers' locally, it comes from libgstcheck.
3172 * tests/check/generic/sinks.c: (send_buffer):
3173 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3175 * tests/check/gst/gststructure.c: (GST_START_TEST):
3176 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3177 * tests/check/gst/gstutils.c: (GST_START_TEST):
3178 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3179 Add a bunch of casts to make various constants fit the types
3180 they're being assigned to.
3182 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3184 * gst/gstchildproxy.c:
3185 Improve docs and add some ideas for making this more general-purpose.
3187 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3189 * gst/gst_private.h: (GST_CAT_TYPES):
3190 Add GST_CAT_TYPES, for consistency, and so that the other
3191 debug categories don't make fun of it. Spotted by Saur on IRC.
3193 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3195 * gst/parse/Makefile.am:
3196 Move types.h from EXTRA_DIST to noinst_HEADERS.
3198 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3201 Add -Wno-portability to the automake parameters to stop warnings
3202 about GNU make extensions being used. We require GNU make in almost
3203 every Makefile anyway.
3206 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3207 at the same time is required for per target flags.
3209 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3212 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3213 __GNUC__ is defined before using it.
3215 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3217 * docs/gst/gstreamer-sections.txt:
3218 * gst/gst.c: (init_post):
3219 * gst/gstplugin.c: (_gst_plugin_register_static),
3220 (gst_plugin_register_static), (_gst_plugin_initialize),
3221 (gst_plugin_register_func):
3222 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3223 API: add gst_plugin_register_static() and deprecate
3224 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3226 Also, in _gst_plugin_register_static(), make sure to call
3227 g_thread_init() before calling GLib functions such as
3228 g_list_append() if we're not initialised yet, since that
3229 may lead to random crashes with older GSlice/GLib versions.
3231 * tests/check/gst/gstplugin.c:
3232 Adapt unit test to above changes.
3234 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3236 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3237 * gst/gstcaps.c: (gst_caps_to_string):
3238 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3239 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3240 Yet another gratuitous GString micro-optimisation: add a (private)
3241 function that serialises a structure appending to an existing
3242 GString, so that when we serialise caps we don't need to alloc+free
3243 a throwaway GString for each structure (each of which also entailing
3244 multiple reallocs on the way); also use g_string_sized_new() in
3245 various places with an approximate string length to avoid reallocs
3246 within GString. See #500143.
3248 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3250 * gst/gststructure.c: (gst_structure_id_set_value):
3251 Always check UTF-8 conformance of structure strings and not only
3252 if the debugging system is enabled; reasoning: the behaviour of
3253 the actual code shouldn't really change depending on whether the
3254 debugging system is enabled or not (#508291).
3256 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3259 Remove old coverage target in favour of "make lcov".
3261 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3263 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3264 (gst_base_src_loop):
3265 The start segment for reverse playback goes from start to last_stop.
3267 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3269 Patch by: Peter Kjellerstedt <pkj axis com>
3272 Cast the results from the timeval/spec_to_time macros to what the
3273 docs say it casts to, a GstClockTime. fixes #508175.
3275 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3278 Update some comments.
3280 * tools/gst-inspect.c: (print_element_properties_info):
3281 Improve printing of flags.
3283 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3285 * libs/gst/base/gstbasetransform.c:
3286 (gst_base_transform_transform_size):
3287 Print element name with g_warning() if there's a problem
3290 2008-01-07 David Schleef <ds@schleef.org>
3292 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3294 * libs/gst/controller/gstcontroller.h:
3295 * libs/gst/controller/gstcontrolsource.h:
3296 * libs/gst/controller/gstinterpolationcontrolsource.h:
3297 * libs/gst/controller/gstlfocontrolsource.h:
3298 * libs/gst/dataprotocol/dataprotocol.h:
3299 Fix empty prototypes. Fixes bug #507957.
3301 2008-01-07 David Schleef <ds@schleef.org>
3303 * docs/faq/dependencies.xml: Fix typo.
3305 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3307 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3308 (gst_base_src_loop):
3309 Don't update the last_stop position in do_seek, that's the position we
3311 Read backwards when we have a negative rate.
3313 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3314 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3316 Add check for reverse reading.
3318 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3320 Patch by: Alexis Ballier <aballier at gentoo org>
3322 * tests/check/gst/gstabi.c:
3323 * tests/check/gst/struct_ppc64.h:
3324 * tests/check/libs/libsabi.c:
3325 * tests/check/libs/struct_ppc64.h:
3326 Decide which header to include based on the userland ABI target
3327 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3328 for 64-bit userland (#503590). Might need something similar for
3331 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3333 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3334 Log the reason why fopen fails in addition to the fact that it failed.
3336 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3338 * gst/parse/parse.l:
3339 Use "%option never-interactive" to prevent useless calls to isatty()
3340 on every input when parsing. Also use "%option noinput" to not define
3341 the static input/yyinput functions which we don't use anyway. This
3342 removes a compiler warning with gcc 4.3 and saves some bytes in the
3345 * gst/parse/lex._gst_parse_yy.pre.c:
3346 Regenerated for the above change.
3348 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3350 * gst/gstpad.c: (fixate_value):
3351 Don't crash when trying to fixate and empty list.
3354 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3356 * docs/faq/gst-uninstalled:
3357 Clarify the comments to make the usage of this script and what it
3358 does easier to understand.
3360 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3362 * tools/gst-plot-timeline.py:
3363 Add more options to gst-plot-timeline
3365 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3367 * docs/design/part-synchronisation.txt:
3368 Some more info on how the stream_time in GstBaseSink is done.
3370 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3372 * tests/check/generic/sinks.c: (gst_sinks_suite):
3373 Put back the tcase_set_timeout(), apparently it's needed after
3374 all; fix it up in a way that makes things work with valgrind too.
3376 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3378 * gst/gstdebugutils.c:
3379 Add warning when failed to open file for writing.
3381 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3383 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3385 * gst/gstvalue.c: (gst_value_is_fixed):
3386 Optimisation: bail out of the loop as early as possible (#500143).
3388 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3390 * gst/gstcaps.c: (gst_caps_to_string):
3391 * gst/gstinfo.c: (gst_debug_construct_term_color):
3392 * gst/gstparse.c: (gst_parse_launchv):
3393 * gst/gstutils.c: (gst_util_dump_mem):
3394 * gst/gstvalue.c: (gst_value_serialize_any_list),
3395 (gst_value_transform_any_list_string):
3396 Bunch of gratuitous nano-optimisations.
3398 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3400 * tests/check/generic/sinks.c: (async_done_func),
3401 (async_done_eos_func):
3402 Fix leak in unit test (bus sync handler must unref the message
3403 if it returns GST_BUS_DROP). Don't fiddle with the default test
3404 timeout, this is smaller than the current preconfigured value
3405 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3406 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3408 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3410 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3413 Check for stdio_ext.h for the filesink changes.
3415 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3416 (gst_file_sink_class_init), (gst_file_sink_init),
3417 (gst_file_sink_dispose), (gst_file_sink_set_property),
3418 (gst_file_sink_get_property), (gst_file_sink_open_file),
3419 (gst_file_sink_close_file):
3420 * plugins/elements/gstfilesink.h:
3421 Add two properties to control the buffering mode and size.
3422 API: GstFileSink::buffer-mode
3423 API: GstFileSink::buffer-size
3426 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3428 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3429 Add some more docs to explain why a FIXME was wrongly added.
3431 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3434 Fix typo in the gst_object_{ref,unref} documentation.
3436 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3438 * tests/check/libs/controller.c:
3439 * tests/check/libs/typefindhelper.c:
3440 * tests/check/pipelines/parse-launch.c:
3441 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3442 going to be deprecated (see #498924).
3444 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3446 * gst/gsttypefind.c: (gst_type_find_register):
3447 Make gst_type_find_register work for static typefind functions,
3448 ie. allow passing plugin == NULL (prerequisite for #498924).
3450 * gst/gstelementfactory.c: (gst_element_register):
3451 Small docs addition.
3453 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3455 * gst/gstpad.c: (gst_pad_dispose):
3456 Really unlink the peer pad instead of setting the peer pointer to NULL
3457 when we dispose the pad.
3458 This correctly calls the unlink functions and makes sure that the peer
3459 does not have a handle to invalid memory. See #504671.
3461 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3462 Add testsuite for above case.
3464 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3466 Patch by: Peter Kjellerstedt <pkj axis com>
3468 * libs/gst/check/gstcheck.h:
3469 Fix detection of the check version we're compiling against (would
3470 otherwise break if check goes v0.10.0); correctly report the
3471 name of the failed test again in case of failure, instead of
3472 just 'tf' (fixes #504499).
3474 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3476 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3477 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3478 (gst_base_src_loop), (gst_base_src_set_flushing),
3479 (gst_base_src_change_state):
3480 Allow sending EOS to the source to make it send out an EOS event from
3481 the streaming thread.
3482 Update docs and deprecate the old NULL/READY shutdown method.
3484 * tests/check/libs/basesrc.c: (GST_START_TEST),
3485 (gst_basesrc_suite):
3486 Add unit test for controlled shutdown.
3488 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3490 * docs/design/part-synchronisation.txt:
3493 * gst/gstsegment.c: (gst_segment_set_seek),
3494 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3495 (gst_segment_to_running_time):
3496 The seek format can be different from the segment format when the start
3497 and stop values are not to be updated, when we only do a rate change for
3500 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3501 (gst_segment_suite):
3502 Add a testcase for the rate-only seeks, checking that the format is
3503 correctly ignored when start and stop are not updated.
3505 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3507 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3509 * win32/vs8/grammar.vcproj:
3510 * win32/vs8/libgstcontroller.vcproj:
3511 * win32/vs8/libgstreamer.vcproj:
3512 Fix compilation with VS8 and include some missing files.
3514 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3517 Small docs addition: mention that the strings returned by
3518 gst_tag_list_get_string*() are in UTF-8 encoding.
3520 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3523 The check-exports stuff moved to common/win32.mak, so include that.
3525 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3527 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3528 (gst_base_src_perform_seek), (gst_base_src_get_range),
3529 (gst_base_src_set_playing), (gst_base_src_change_state):
3530 Make _wait_playing() not check any variables so that we can call this
3531 function from subclasses. Move the checks elsewhere similar to
3532 _wait_preroll() in basesink.
3534 Only signal the LIVE cond when we are going back to PLAYING.
3536 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3538 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3539 Use g_remove() and g_rename(). Check result of g_rename(), and
3540 don't leak the open file descriptor if we error out when writing.
3542 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3543 Must check the return value of close() after writing out the new
3544 registry file. Sometimes write problems such as out-of-diskspace
3545 are only reported when the file is closed and not already during
3546 the write. This may have caused partial/broken registry files in
3547 some rare circumstances. Should fix #503675.
3549 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3551 * docs/gst/.cvsignore:
3552 * docs/libs/.cvsignore:
3553 * docs/plugins/.cvsignore:
3554 Ignore files generated by new common/* modifications
3556 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3558 * win32/common/libgstbase.def:
3559 Yes, you can also have a <TAB> if you want.
3561 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3563 * win32/common/libgstbase.def:
3564 Add new basetransform API to win export file.
3566 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3568 * tests/check/gst/gstbin.c:
3569 Adjust the test to the refcount change two days ago.
3571 2007-12-14 David Schleef <ds@schleef.org>
3573 * docs/faq/getting.xml: Fix typo.
3575 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3577 * docs/libs/gstreamer-libs-sections.txt:
3578 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3579 (gst_base_transform_prepare_output_buffer),
3580 (gst_base_transform_set_gap_aware):
3581 * libs/gst/base/gstbasetransform.h:
3582 API: Add gst_base_transform_set_gap_aware() to control whether
3583 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3584 get buffers with this flag at all. Fixes #503231.
3586 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3588 * libs/gst/base/gstbasesink.c:
3589 * libs/gst/base/gstbasesrc.c:
3590 * libs/gst/base/gstbasetransform.c:
3591 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3592 thread. Correct log message in gstbasesrc.c.
3594 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3596 * gst/gstutils.c: (element_find_unconnected_pad):
3597 Fix possible compiler warning (#503417).
3599 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3601 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3602 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3604 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3606 * tools/gst-inspect.c: (print_element_properties_info):
3607 Add support for GstFraction properties.
3609 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3612 Add check-exports target and run it as part of 'make check'
3613 (see #499140 and #493983).
3615 * gst/gst_private.h:
3616 * gst/gstelementfactory.h:
3617 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3618 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3619 (_priv_gst_in_valgrind):
3620 * gst/gstinfo.h: (GstLogFunction):
3621 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3622 (gst_type_find_register):
3623 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3624 (gst_type_find_factory_get_type):
3625 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3626 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3627 (gst_controller_new_valist), (gst_controller_new_list),
3628 (_gst_controller_dispose), (_gst_controller_class_init):
3629 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3630 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3631 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3632 (gst_object_get_controller), (gst_object_set_controller),
3633 (gst_object_suggest_next_sync), (gst_object_sync_values),
3634 (gst_object_set_control_source), (gst_object_get_control_source),
3635 (gst_object_get_value_arrays), (gst_object_get_value_array),
3636 (gst_object_get_control_rate), (gst_object_set_control_rate):
3637 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3638 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3639 Make some functions that should be static static; rename some
3640 private symbols so that they don't get exported; add some FIXME
3641 comments so we can move accidentally exported functions into
3642 our private section in 0.11.
3644 * win32/common/libgstreamer.def:
3645 Add gst_utils_get_timestamp().
3647 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3651 Add more missing "Since:" tags to docs.
3653 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3656 Add mising "Since:" to docs.
3658 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3661 Include "glib-compat-private.h" to fix the build on system with
3662 glib < 2.10. Fixes #503131.
3664 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3668 Actually its not PURE as it gets the time from elsewhere.
3670 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3672 * docs/gst/gstreamer-sections.txt:
3674 * gst/gstdebugutils.c:
3678 * libs/gst/base/gstbasesink.c:
3679 * tools/gst-launch.c:
3680 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3681 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3682 Thanks Tim for spotting.
3683 API: gst_util_get_timestamp
3685 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3688 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3690 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3692 * gst/gststructure.c: (gst_structure_validate_name),
3693 (gst_structure_new_valist), (gst_structure_parse_value),
3694 (gst_structure_from_string):
3695 Don't crash in _from_string() if the structure name is not valid
3696 (fixes #501560). Allow structure names to start with a number
3697 again (this apparently broke the ubuntu codec installer).
3699 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3701 Add unit test for the crash; update unit tests for new behaviour.
3703 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3706 Clarify gst_element_get_compatible_pad() documentation.
3709 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3711 * tests/check/Makefile.am:
3712 Don't forget to dist {gst,libs}/struct_hppa.h.
3714 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3716 * libs/gst/base/gstbasesink.c:
3717 Use new API to get elapsed time.
3719 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3721 * gst/gstdebugutils.c:
3723 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3725 * tools/gst-launch.c:
3726 Use new API to get elapsed time.
3728 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3730 * docs/gst/gstreamer-sections.txt:
3732 * gst/gstdebugutils.c:
3734 Rename new API + ChangeLog surgery to remove old name from last entry..
3736 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3738 * docs/gst/gstreamer-sections.txt:
3740 * gst/gstdebugutils.c:
3742 Now hide the different clock stuff behind a macro.
3744 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3747 * gst/gstdebugutils.c:
3749 Apply the posix-timer check from #361155. Conditionally use the posix
3750 timer for logging. This gives better timestamp precission, less
3751 overhead and no ntp jitter.
3753 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3755 * gst/gstminiobject.c: (gst_mini_object_get_type),
3756 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3757 (gst_mini_object_finalize), (gst_mini_object_copy),
3758 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3759 (gst_mini_object_replace), (param_mini_object_validate),
3760 (gst_param_spec_mini_object_get_type):
3761 Some cleanup and checking against invalid function parameters.
3763 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3765 * docs/gst/gstreamer-sections.txt:
3767 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3768 (gst_systemclock_suite):
3769 Start merging in the easy bits of #361155, the monotonic clock patch.
3770 This one adds a few handy macros with docs and a testsuite.
3772 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3774 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3775 Be a bit smarter when seeking, like, don't try to do a seek when it's
3776 not needed. This avoids errors when the file is not seekable.
3779 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3781 * docs/gst/gstreamer-docs.sgml:
3782 * docs/gst/gstreamer-sections.txt:
3783 * docs/gst/gstreamer.types.in:
3788 * plugins/elements/gstqueue.c:
3789 Due to popular request remove preset interface again. :-(.
3791 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3793 * tools/gst-inspect.c:
3794 Print 'default value' for enums and flags too.
3796 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3798 * docs/random/ensonic/profiling.txt:
3802 Fix typo and give better log output.
3804 * gst/gstdebugutils.c:
3805 * gst/gstdebugutils.h:
3806 More ideas, make graphs a bit smaller and fix param name in macro.
3808 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3811 Try harder to use the return value from fgets().
3813 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3816 For theses two fgets we handle the error below.
3818 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3820 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3821 Only send upstream events upstream. Fixes #498746.
3823 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3825 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3827 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3828 (gst_identity_init), (gst_identity_transform_ip),
3829 (gst_identity_set_property), (gst_identity_get_property):
3830 * plugins/elements/gstidentity.h:
3831 Add property to disable handoff signal emission. Fixes #498694.
3832 API: GstIdentity::signal-handoffs
3834 2007-11-21 Julien Moutte <julien@fluendo.com>
3836 * docs/faq/gst-uninstalled: Yet another missing library for the
3837 uninstalled script (fft)
3839 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3841 * docs/faq/developing.xml:
3842 Add a question about how to submit new translations.
3844 * docs/random/release:
3845 Update the contact email address for the Translation Project
3847 * plugins/elements/gstfdsrc.c:
3848 The parent_class for fdsrc is pushsrc, not GstElement.
3850 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3853 Plug a leak and fix saving.
3855 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3857 * docs/gst/gstreamer-sections.txt:
3858 Add new gst_preset__get_property_names() function to the docs
3861 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3865 Change _get_preset_names API to return a strv with copies. Add
3866 _get_property_names to allow implementations to filter and provide
3867 good default implementation.
3869 2007-11-20 Julien MOUTTE <julien@moutte.net>
3871 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3874 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3877 More cleanups, docs, and TODOs from comments that now slowly come in.
3879 2007-11-19 Julien MOUTTE <julien@moutte.net>
3881 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3884 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3887 Fix bogus warning and make the property type specific code more
3890 2007-11-19 Julien MOUTTE <julien@moutte.net>
3892 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3895 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3897 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3898 (gst_bin_add_func), (gst_bin_remove_func),
3899 (gst_bin_change_state_func), (gst_bin_continue_func):
3900 Change email, cleanups add some more debug and comments.
3901 Also set bus and clock on new elements when the pipeline was in error.
3903 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3906 * gst/gstdebugutils.c:
3907 Fix build with --disable-gst-debug. Fixes #497859.
3908 Spotted by Sameer Naik.
3910 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3913 Little documentation improvment.
3916 More TODO cleanups. Remove c++ comments.
3918 * libs/gst/controller/gstcontroller.c:
3919 Add TODO and use quark from static string.
3921 * tests/check/gst/gstmessage.c:
3922 * tests/check/gst/gststructure.c:
3923 Use quark from static string.
3925 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3928 Add some comments and TODOs.
3931 Add padding for future changes.
3933 * plugins/elements/gstqueue.c:
3934 Implement the iface.
3936 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3938 * docs/gst/gstreamer-docs.sgml:
3939 * docs/gst/gstreamer-sections.txt:
3940 * docs/gst/gstreamer.types.in:
3945 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3947 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3953 === release 0.10.15 ===
3955 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3958 releasing 0.10.15, "October"
3960 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3962 * win32/vs6/libgstreamer.dsp:
3963 Convert line endings back to DOS.
3965 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3967 * docs/design/draft-tagreading.txt:
3968 * docs/random/ensonic/profiling.txt:
3969 Update fast tagreading draft and performance profiling ideas.
3971 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3973 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3974 Don't hold the object lock when unreffing a buffer because it could
3975 cause a deadlock when the finalize function wants to grab the object
3976 lock too. Fixes #495133.
3978 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3980 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3981 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3982 Also accumulate time correctly when doing reverse playback. Fixes
3984 When converting to running and stream time, use default values for
3985 start/stop/time/accum when comparing different formats. Fixes #494245.
3987 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3988 Do running/stream time in TIME format.
3990 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3991 (gst_segment_suite):
3992 2 new unit tests for segment accumulation.
3994 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3996 * gst/gst.c: (init_pre):
3997 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3998 (_gst_debug_bin_to_dot_file):
3999 Move getenv() back into gst_init, so everyone can live happily
4000 ever after. Make sure the symbol isn't exported though.
4002 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4004 Patch by: Sebastien Moutte <sebastien moutte net>
4006 * win32/common/gstenumtypes.c:
4007 * win32/common/gstenumtypes.h:
4010 * win32/vs6/libgstreamer.dsp:
4011 Update vs6 project files (#494343).
4013 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4015 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4016 (gst_base_src_perform_seek), (gst_base_src_default_event),
4017 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4018 (gst_base_src_activate_pull):
4019 Unify flushing code, remove some old unlock code that is no longer used.
4020 Take the streaming lock when seeking to avoid races. Fixes #492729.
4021 Added some more comments.
4023 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4025 * gst/gst.c: (_gst_disable_segtrap):
4026 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4027 we can use gst_segtrap_is_enabled() there now that we have that API.
4028 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4029 to do the getenv here (and export the variable).
4031 * gst/gstdebugutils.c: (debug_dump_element),
4032 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4033 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4035 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4036 (gst_debug_log_default):
4037 Rename _gst_info_start_time to priv_gst_info_start_time so it
4038 doesn't get exported (was never in any header).
4040 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4041 (gst_plugin_loading_mutex):
4042 Make static mutex gst_plugin_loading_mutex really static (was never
4043 in any header), and use gst_segtrap_is_enabled() instead of
4044 _gst_disable_segtrap.
4046 * gst/gsttrace.c: (_gst_trace_default):
4047 Make local _gst_trace_default static (was never in any header).
4049 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4051 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4053 * win32/common/libgstbase.def:
4054 * win32/common/libgstcontroller.def:
4055 * win32/common/libgstdataprotocol.def:
4056 * win32/common/libgstnet.def:
4057 * win32/common/libgstreamer.def:
4058 Add more missing symbols, remove some duplicates, and sort
4059 as the 'sort' command sorts it (partially fixes #493983).
4061 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4063 * gst/gstelement.c: (gst_element_set_state_func):
4064 Only change the state cookie if a different state was set on the
4065 element. See #492729.
4067 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4070 Remove unused and uninitialised type variables that were still
4071 exported for some reason (they were never in any header files
4074 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4076 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4077 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4078 (gst_base_sink_event), (gst_base_sink_get_position_last),
4079 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4080 (gst_base_sink_change_state):
4081 Don't try to report a 0 position when we don't know, return -1 and FALSE
4082 instead. This mostly happens when we are prerolling.
4083 Make sure we can report the right position before we post the ASYNC_DONE
4084 message so that a message handler can query position without races.
4086 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4087 (async_done_handoff), (async_done_func), (send_buffer),
4088 (async_done_eos_func), (gst_sinks_suite):
4089 Add two tests for the above.
4091 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4094 Update with new email address.
4096 * docs/design/part-TODO.txt:
4097 Add some more info about future pad-block and negotiation changes.
4099 * docs/design/part-buffering.txt:
4100 Add some ideas about buffering reporting.
4102 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4104 * tests/check/gst/gstobject.c:
4105 Disable silly racy test that always fails on this combination of CPU
4108 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4110 Patch by: Murray Cumming <murrayc@murrayc.com>
4113 Corrected the registration of the parent-set and parent-unset
4114 signals: The parameter is a GstObject, not a GObject (#493134).
4116 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4118 * gst/gst_private.h:
4127 Move declaration of private _gst_foo_initialize() functions into
4128 our private header file where they should have been all along.
4130 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4132 * docs/plugins/gstreamer-plugins-sections.txt:
4133 * gst/gstdebugutils.h:
4135 * plugins/elements/gstqueue.c:
4136 gtk-doc fixes; trailing-comma-in-enum fix.
4138 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4140 * gst/gst.c: (gst_deinit):
4141 Clean up on deinit (not the external ones though, doesn't seem to be
4142 needed for some reason).
4144 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4146 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4147 Remove __declspec(dllimport) for MSVC that was copied over into core
4148 from a plugin, obviously without ever having been tested (note the
4149 single underscore in _declspec in the initial commit), and that doesn't
4150 really make sense. See #492077.
4152 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4154 * gst/gst.c: (init_post):
4155 * gst/gstevent.c: (_gst_event_initialize):
4156 * gst/gstquery.c: (_gst_query_initialize):
4157 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4158 g_type_class_ref() other types as well, see #349410 and #64764.
4160 * gst/gstbuffer.c: (_gst_buffer_initialize):
4161 * gst/gstmessage.c: (_gst_message_initialize):
4162 Simplify existing g_type_class_ref().
4164 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4166 * gst/gstformat.c: (_gst_format_initialize):
4167 g_type_class_ref() our GstFormat type to make sure we avoid the
4168 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4169 bug #64764. Should fix intermittent tee unit test failures (#474823).
4171 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4173 * tests/check/elements/tee.c: (test_num_buffers):
4174 Simplify, simplify, simplify - or not. Rewrite unit test
4175 not to use gst_parse_launch(); allow N sub-streams. Increasing
4176 the number of sub-streams seems to reproduce #474823 more easily.
4178 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4180 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4183 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4184 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4185 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4186 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4187 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4188 so use _pipe() directly (#492077).
4190 * win32/common/dirent.c: (_treaddir):
4191 Add a couple of casts to make it build without warnings with MSVC.
4193 * win32/common/libgstreamer.def:
4194 Add some more symbols that need to be exported.
4196 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4198 * tests/examples/metadata/read-metadata.c: (message_loop):
4199 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4200 arriving in a second or third tag message are added to
4201 the tag list as well.
4203 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4205 * libs/gst/base/gstbasesrc.c:
4206 Its "Since:" and not "@Since:". And remove an superflous cast.
4208 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4210 * docs/libs/gstreamer-libs-sections.txt:
4211 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4212 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4213 (gst_base_sink_get_property), (gst_base_sink_render_object),
4214 (gst_base_sink_preroll_object),
4215 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4216 (gst_base_sink_change_state):
4217 * libs/gst/base/gstbasesink.h:
4218 Add a new last-buffer property that contains the last buffer used in
4219 basesink for preroll or rendering. useful for making snapshots.
4220 API: gst_base_sink_get_last_buffer()
4221 API: GstBaseSink::last-buffer
4223 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4225 * docs/gst/running.xml:
4227 * gst/gstdebugutils.c:
4228 * gst/gstdebugutils.h:
4229 * tools/gst-launch.c:
4230 Improve bin graph dumping, by using the envvar to specify a path.
4231 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4233 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4235 * plugins/elements/gsttypefindelement.c:
4236 (gst_type_find_element_handle_event),
4237 (gst_type_find_element_activate):
4238 Post special error message if we can't determine the type of a stream
4241 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4243 * docs/gst/running.xml:
4244 * gst/gstdebugutils.c:
4245 Document new env-var. Add one log-line after dumpng a graph.
4247 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4250 Ugly hack to put the (recently removed and non-portable, apparently)
4251 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4252 GNU ld, because without that 'make check' fails miserably on my debian
4253 stable box. Someone with more knowledge of linker intricacies and
4254 portability issues than me fix this properly please.
4256 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4258 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4259 Reset last seen position after flushing so that we don't report the old
4262 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4264 * gst/gstelementfactory.c: (gst_element_register):
4266 Patch from Alessandro Decina adding get_type_full and
4267 get_protocols_full private vfuncs to the URIHandler interface
4268 to allow bindings to support creating URI handlers.
4269 Partially fixes: #339279
4270 API: GstURIHandlerInterface::get_type_full
4271 API: GstURIHandlerInterface::get_protocols_full
4273 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4275 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4276 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4277 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4278 Make it so that pads are considered linked until a buffer is pushed
4279 and discovered otherwise. This avoids problems with decodebin2 hanging
4280 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4283 Make sure we lock the multiqueue when updating the max-size properties.
4285 Fix a crash on Solaris in a debug statement in get_request_pad that
4286 passes a NULL string to GST_DEBUG.
4288 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4289 (run_output_order_test):
4290 Fix the test to allow the first buffer on not-linked pads to come out
4291 of sequence while multiqueue discovers that they are not-linked.
4293 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4296 * libs/gst/check/Makefile.am:
4297 Use a custom export symbol regex for libgstcheck, as it needs
4298 to export symbols that don't match the standard GStreamer gst_*
4299 pattern, and --export-dynamic is not portable (only works on
4302 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4303 (gst_check_setup_sink_pad):
4304 Make sure to pass a message parameter to the fail_* macros.
4306 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4307 Fix some compiler warnings.
4309 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4311 * tests/check/gst/gststructure.c: (test_to_string):
4312 Disable test that checks that white spaces are not allowed
4313 in structure names or field names, since we need to
4314 support that for now for backwards compatibility reasons.
4316 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4318 * docs/gst/gstreamer-sections.txt:
4321 API: add GST_TAG_ARTIST_SORTNAME
4322 API: add GST_TAG_ALBUM_SORTNAME
4323 API: add GST_TAG_TITLE_SORTNAME
4324 Add tag variants for sorting (#414539).
4326 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4328 * gst/gststructure.c:
4329 Also allow white space for names so we don't break
4330 backwards compatibility.
4332 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4334 * docs/design/part-TODO.txt:
4335 * docs/design/part-segments.txt:
4336 * docs/design/part-streams.txt:
4339 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4341 * docs/gst/gstreamer-sections.txt:
4342 Fixed documentation from my previous commit (added new API add
4343 gst_value_set_structure(), add gst_value_get_structure() and
4344 GST_VALUE_HOLDS_STRUCTURE).
4346 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4348 * gst/gstdebugutils.c:
4349 Reflow code to fix uninitialized variable warning.
4351 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4353 * gst/gstcaps.c: (gst_caps_to_string),
4354 (gst_caps_from_string_inplace):
4355 * gst/gststructure.c: (gst_structure_get_abbrs),
4356 (gst_structure_to_string), (gst_structure_from_string):
4357 * gst/gstvalue.c: (gst_value_set_structure),
4358 (gst_value_get_structure), (gst_value_serialize_structure),
4359 (gst_value_deserialize_structure), (_gst_value_initialize):
4361 * tests/check/gst/gststructure.c: (GST_START_TEST),
4362 (gst_structure_suite):
4363 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4364 Added GstStructure to gst_value_table and its related functions.
4365 Changed gst_structure_to_string to print ';' in the end.
4366 Changed gst_caps_to_string to not print ';' beteween its
4367 fields (structures) anymore and remove the lastes ';' from latest
4368 structure. Now it is possible to have nested structures.
4369 In addition, backward compatibilty is assured by accepting '\0' as
4370 end delimiter. Fixes: #487969.
4371 API: add gst_value_set_structure()
4372 API: add gst_value_get_structure()
4373 API: add GST_VALUE_HOLDS_STRUCTURE
4375 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4378 When no GSource callback has been set up, tell developer
4379 to use a function that actually exists.
4381 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4383 * docs/gst/gstreamer-sections.txt:
4387 * gst/gstdebugutils.c:
4388 * gst/gstdebugutils.h:
4391 * tools/gst-launch.c:
4392 Allow dumping pipelines as dot graphs. Fixes #456573.
4394 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4396 * gst/gststructure.c:
4397 Allow '+' as well, it can be part of media or mime types
4398 such as image/svg+xml.
4400 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4402 * docs/gst/gstreamer-sections.txt:
4405 API: add gst_bus_pop_filtered
4406 API: add gst_bus_timed_pop_filtered
4407 Two new functions for waiting for specific message types on the
4408 bus for a specified amount of time without iterating any main
4409 loops or main contexts.
4411 * tests/check/gst/gstbus.c:
4412 Some tests for the new functions.
4414 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4416 * docs/libs/gstreamer-libs-sections.txt:
4417 Make gtk-doc ignore stuff it should ignore.
4419 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4421 * libs/gst/check/gstcheck.c:
4422 * libs/gst/check/gstcheck.h:
4423 Allow runtime selection of unit tests to run via the GST_CHECKS
4424 environment variable (test case function names, comma-separated).
4426 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4428 * gst/gststructure.c:
4429 * tests/check/gst/gststructure.c:
4430 Revert serialisation change and constrain structure-names after
4431 consensus on irc. Update api documentation to reflect the change.
4433 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4435 * gst/gststructure.c:
4436 Improve serialization and fix tests.
4438 * tests/check/gst/gststructure.c:
4439 Add another test that covers why I actually did the previous structure
4442 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4444 * tools/gst-inspect.c: (print_element_info):
4445 Don't crash when inspecting an element.
4447 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4449 * tests/check/gst/gststructure.c:
4450 Add unit test for escaping of structure name when serialising
4451 and deserialising to/from strings.
4453 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4455 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4456 (gst_single_queue_new):
4457 * plugins/elements/gstqueue.c: (gst_queue_init),
4458 (gst_queue_push_one):
4459 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4460 upstream is tricked into thinking it can suggest a format downstream
4461 while downstream does not support that format. The real problem is that
4462 core calls acceptcaps when pushing a buffer with new caps, for which we
4463 do a little workaround by setting the caps on the srcpad ourselves
4464 before pushing the buffer (until this is figured out). Fixes #486758.
4466 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4468 * gst/gststructure.c:
4470 Add some more comments and debug output. Quote structure name to fix
4471 deserialisation of some strings.
4473 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4476 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4477 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4479 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4481 * tools/gst-inspect.c:
4482 Save approx. 400 1 byte allocs when printing. Use API to acces element
4488 * tools/gst-xmlinspect.c:
4489 Use API to acces element details.
4491 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4494 Fix some spelling errors.
4496 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4498 * gst/gstbin.c: (bin_handle_async_done):
4499 Correctly set the next state if all of our async children commited their
4500 state. This makes sure we can actually cancel the state change in
4501 progress. Fixes a regression in Rhythmbox when seeking.
4503 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4506 Don't shadow local variable.
4509 Don't shadow global function name.
4511 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4513 * gst/gstelementfactory.c:
4514 * gst/gstpluginfeature.c:
4515 * gst/gstpluginfeature.h:
4516 * gst/gstregistrybinary.c:
4517 * gst/gstregistryxml.c:
4518 * gst/gsttypefind.c:
4519 Use already-interned string for the private GstPluginFeature
4522 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4524 * docs/libs/gstreamer-libs-sections.txt:
4525 Add new API to docs; fixes the build.
4527 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4529 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4531 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4532 (gst_base_sink_event):
4533 * libs/gst/base/gstbasesink.h:
4534 Add function to wait for EOS, subclasses can use this to correctly wait
4535 for devices to drain before performing the EOS logic. Fixes #485343.
4536 API: gst_base_sink_wait_eos()
4538 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4541 Cast description string constants in GST_PLUGIN_DEFINE macros
4542 to a (gchar*) to make C++ code using these macros compile
4543 without warning with g++-4.2 (see #462737). Even if slightly
4544 ugly, this seems preferable to putting the description strings
4545 into the GLib quark table or making the structure member a
4546 const gchar * and doing casts in core code that allocs and
4547 frees these strings, or requiring a cast in the C++ code.
4549 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4552 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4553 to print the entire class/function signature into the log
4554 file for C++ code. This only affects C++ code, for C code
4555 everything remains the same.
4557 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4559 * gst/gstbin.c: (remove_from_queue):
4560 Work around a problem with pipelines containing (semi)loops until a
4561 proper, more complicated solution is ready. See #475455.
4563 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4567 * gst/gstregistrybinary.c:
4568 * gst/gstregistryxml.c:
4569 Put more strings into the GLib quark table. No need to keep
4570 a hundred-something copies of identical version strings,
4571 license strings, package name strings and package origin
4574 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4576 * docs/manual/advanced-dataaccess.xml:
4577 Don't imply that it's okay to unconditionally change
4578 buffer data or buffer metadata in a pad probe callback,
4579 and a bunch of other comments. Fixes #430031.
4581 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4583 * win32/common/gstenumtypes.c:
4584 * win32/common/gstenumtypes.h:
4585 * win32/common/gstversion.h:
4586 Update generated files.
4588 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4590 * docs/manual/advanced-autoplugging.xml:
4591 Prefix section with broken code with a warning (see #342432).
4593 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4595 * docs/manual/appendix-integration.xml:
4596 * docs/manual/basics-init.xml:
4597 Call g_thread_init() before g_option_context_new() to
4598 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4600 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4602 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4603 (gst_base_sink_queue_object_unlocked),
4604 (gst_base_sink_queue_object), (gst_base_sink_event),
4605 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4606 When we received EOS and are waiting for when to post the EOS message,
4607 our state is prerolled and we should not return ASYNC.
4608 Reorganize some code paths to implement this behavior.
4610 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4612 Add unit test to verify above EOS fix.
4614 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4616 * plugins/elements/gsttypefindelement.c:
4617 (gst_type_find_element_have_type), (gst_type_find_element_init),
4618 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4619 Move detecting the input caps of the sinkpad to the setcaps function.
4620 This allows us to update the output caps when we receive new input caps
4621 instead of always using the first detected caps.
4623 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4625 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4626 (gst_base_sink_get_position):
4627 Don't try to preroll non-async elements after a flush.
4628 Subtract latency form clock times when reporting position.
4630 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4632 * gst/gstpad.c: (gst_pad_pause_task):
4634 Small comment and documentation update.
4636 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4638 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4639 (gst_base_src_set_live), (gst_base_src_is_live),
4640 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4641 (gst_base_src_default_event), (gst_base_src_wait),
4642 (gst_base_src_do_sync), (gst_base_src_get_range),
4643 (gst_base_src_pad_get_range), (gst_base_src_loop),
4644 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4645 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4646 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4647 (gst_base_src_change_state):
4648 Rework the locking of basesrc in a similar fashion to basesink. We
4649 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4650 us to handle live sources and semi live ones much better.
4652 Fix unlocking when seeking, shutting down and pausing in live sources.
4654 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4656 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4657 Fix compilation again.
4659 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4662 Use meaningful categories for the logs to clean the default one.
4664 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4666 * tests/check/pipelines/cleanup.c:
4667 Print message name and not just number.
4669 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4671 * docs/design/draft-tagreading.txt:
4672 Add some more thoughts.
4674 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4676 * tests/check/pipelines/simple-launch-lines.c:
4677 Print message name and not just number.
4679 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4681 * libs/gst/base/gsttypefindhelper.c:
4682 Speedup typefinding. This is work in progress (see #459862).
4684 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4687 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4688 Spotted by Josep Torra Valles <josep@fluendo.com>.
4690 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4693 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4694 field has moved to GstObject.
4696 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4698 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4699 (gst_base_src_get_range), (gst_base_src_change_state):
4700 Call unlock for live sources so that they can't get stuck in _create and
4701 produce a buffer before they are set back to PLAYING.
4703 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4705 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4706 (gst_queue_locked_dequeue):
4707 Comment the segment-related code... in the PROPER function.
4708 See #482147 and my commit from yesterday.
4710 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4712 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4713 Also initialize the counter that calculates the first timestamp on a
4714 buffer correctly for non-live sources.
4716 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4718 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4719 Disable code that's breaking the current-time-level reporting.
4722 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4724 * docs/gst/gstreamer-sections.txt:
4725 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4726 as they shouldn't show up. Fixes the docs build.
4728 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4731 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4732 Define M_PI which is used in files which are including gstinfo.h.
4733 VS6 includes doesn't define it.
4734 * win32/common/libgstbase.def:
4735 * win32/common/libgstcontroller.def:
4736 * win32/common/libgstreamer.def:
4737 Add new exported functions and variables.
4738 * win32/vs6/libgstcontroller.dsp:
4739 * win32/vs6/libgstreamer.dsp:
4740 Update the list of files to build.
4742 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4744 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4746 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4747 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4748 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4749 Improve debugging. Fixes #480858.
4751 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4753 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4755 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4756 First patch of code cleanups, use the macros and right arguments in the
4757 macros to signal and lock the queue. See #480858.
4759 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4761 * gst/gstbus.c: (poll_func):
4762 Improve debugging when dealing with _poll().
4764 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4766 * gst/gstregistryxml.c:
4767 Fix memory leak I introduced a few days ago.
4769 2007-09-26 Michael Smith <msmith@fluendo.com>
4771 * gst/gstbuffer.c: (gst_buffer_finalize):
4772 Make it once again possible to free GstBuffers in the default
4774 The poisoning scribbles on parts of the miniobject we need in
4778 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4780 * docs/gst/gstreamer-sections.txt:
4783 API: add GST_TAG_COMPOSER, fixes #459809.
4785 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4789 Add the 3-clause BSD license and the MIT/X11 license to the license
4790 list. Fixes #479784.
4792 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4794 * docs/faq/getting.xml:
4795 Add Q+A about different GStreamer versions (#364056).
4797 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4799 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4800 (gst_base_sink_event), (gst_base_sink_change_state):
4801 Return correct gboolean from query function.
4803 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4805 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4806 (gst_base_sink_event), (gst_base_sink_query),
4807 (gst_base_sink_change_state):
4808 Simplify latency query.
4809 When not synchronizing, we can report latency without querying the peer
4812 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4816 Fix small typos in the docs.
4818 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4820 * docs/design/draft-latency.txt:
4821 * docs/design/draft-push-pull.txt:
4822 * docs/design/draft-tagreading.txt:
4823 * docs/design/part-MT-refcounting.txt:
4824 * docs/design/part-activation.txt:
4825 * docs/design/part-block.txt:
4826 * docs/design/part-element-source.txt:
4827 * docs/design/part-events.txt:
4828 * docs/design/part-gstbin.txt:
4829 * docs/design/part-gstelement.txt:
4830 * docs/design/part-gstobject.txt:
4831 * docs/design/part-gstpipeline.txt:
4832 * docs/design/part-messages.txt:
4833 * docs/design/part-preroll.txt:
4834 * docs/design/part-push-pull.txt:
4835 * docs/design/part-qos.txt:
4836 * docs/design/part-query.txt:
4837 * docs/design/part-scheduling.txt:
4838 * docs/design/part-seeking.txt:
4839 * docs/design/part-segments.txt:
4840 * docs/design/part-states.txt:
4841 Documentation updates and typo fixes.
4843 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4845 * plugins/elements/gstfakesink.c:
4846 Add some debug text to error message to indicate that
4847 we errored out on request.
4849 * tools/gst-launch.c:
4850 When the state change to PLAYING fails, check for an
4851 error message on the bus and print it.
4853 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4855 translated by: Jorge González González <aloriel@gmail.com>
4859 Added Spanish translation.
4861 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4863 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4864 Fix printf arguments.
4866 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4868 * tests/check/generic/states.c:
4869 Improved state change unit test.
4871 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4874 Move priv to the right place.
4876 * gst/gstsystemclock.c:
4877 Add FIXME: and improve log.
4879 * tests/check/Makefile.am:
4880 * tests/examples/manual/Makefile.am:
4881 Work with all types of registries.
4883 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4885 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4886 Don't unref the event after pushing it. Fixes #478401.
4888 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4891 * tests/examples/manual/.cvsignore:
4892 Ignore registries in any format.
4894 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4896 * gst/glib-compat-private.h:
4897 Add compatibility macro for g_intern_string() for
4898 GLib-2.8 (any reason we can't just bump the
4899 requirement to at least 2.10?)
4901 * gst/gstpadtemplate.h:
4902 * gst/gstelementfactory.c:
4903 * gst/gstregistryxml.c:
4904 * gst/gstregistrybinary.c:
4905 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4906 up the internal code accordingly. This shouldn't be a problem, since
4907 there is no reason external code could ever assume the string in such
4908 a structure is dynamically allocated unless it did that itself; the
4909 use of g_strdup() is private to element factories. The new code also
4910 saves some memory by putting pad template name strings into the GLib
4911 quark table instead of allocating them dynamically.
4912 Declaring this field constant fixes warnings with g++-4.2 when using
4913 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4915 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4917 * gst/gstelementfactory.c:
4918 Release static caps. Fixes #475723.
4920 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4924 Make some internal API take const gchar * instead of just
4925 gchar * to avoid compiler warnings with g++-4.2.2 when
4926 passing string constants (partially fixes #478092).
4928 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4930 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4931 A latency query fails when one of the sinks fail.
4933 * gst/gstelement.c: (gst_element_set_base_time):
4936 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4938 * gst/gstbin.c: (gst_bin_continue_func):
4939 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4940 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4941 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4943 Fix minor compilation warnings shown with Forte.
4945 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4947 * plugins/elements/gstqueue.c: (apply_buffer),
4948 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4949 Measure queue level based on the diff between head and tail timestamps
4950 even when pushing the first buffer.
4952 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4954 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4955 (gst_base_sink_event), (gst_base_sink_change_state):
4956 Sinks that don't preroll can always be queried for the latency.
4957 Don't post ASYNC start when we are not async.
4959 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4961 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4962 (gst_queue_handle_sink_event), (gst_queue_chain),
4963 (gst_queue_push_one), (gst_queue_handle_src_query),
4964 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4965 * plugins/elements/gstqueue.h:
4966 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4967 push more buffers but allow pushing of EOS and NEWSEGMENT.
4968 Add some more debug info here and there. Fixes #476514.
4970 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4972 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4973 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4974 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4975 (gst_base_sink_set_flushing), (gst_base_sink_query),
4976 (gst_base_sink_change_state):
4977 Latency query is allowed after we are prerolled. Introduce a new flag
4978 for this and stop abusing other variables.
4980 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4982 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4983 Push OOB events downstream when we get them in send_event. This allows
4984 the application to insert events in the pipeline.
4985 Add some more comments.
4987 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4989 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4990 (do_bin_latency), (gst_bin_change_state_func):
4991 * gst/gstpipeline.c: (gst_pipeline_change_state):
4992 Move latency query from GstPipeline to GstBin so that we can also
4993 use it when async-handling is enabled on bins.
4995 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4997 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4998 (gst_base_src_do_sync), (gst_base_src_change_state):
5000 Clean up the timestamping and syncing code for pseudo live sources.
5002 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5004 Patch by: Steve Fink <sphink gmail com>
5006 * docs/manual/appendix-checklist.xml:
5007 Mention less -R switch in the section about debug output (#474055).
5009 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5011 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5012 Queue can latency to the pipeline up to the configured max size in time.
5013 Report this fact in the latency query.
5015 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5017 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5019 * libs/gst/controller/gstinterpolation.c:
5020 * libs/gst/controller/gstlfocontrolsource.c:
5021 Use gst_guint64_to_gdouble() when converting from a uint64 or
5022 GstClockTime to double to fix the build on win32. Fixes #474371.
5024 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5026 * gst/gstbuffer.c: (gst_buffer_finalize):
5027 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5028 When finalizing a buffer the complete struct is filled with 0xff,
5029 thus making a use of the buffer after the final unref impossible.
5031 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5033 * tests/check/libs/controller.c: (GST_START_TEST):
5034 Use fail_unless_equals_int(a, b) instead of
5035 fail_unless_equals (a == b) to get better output on failures.
5037 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5039 * tests/check/gst/gsturi.c:
5040 Also check for the other file URI variant on win32.
5042 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5044 * gst/gsturi.c: (gst_uri_get_location):
5045 If there's no hostname, we want to return 'c:/foo/bar.txt'
5046 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5048 * tests/check/gst/gsturi.c:
5049 Unit test for the above and a few more things.
5051 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5053 * docs/design/part-live-source.txt:
5054 Add docs on how live sources should timestamp.
5056 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5057 Add some more debug info.
5058 For subclasses that are live and like to sync, add aditional startup
5059 latency to sync time and timestamps so that we timstamp according to the
5062 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5065 Also do a g_type_class_ref() for the subbuffer type in
5068 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5070 * docs/gst/gstreamer-sections.txt:
5071 * gst/gstpad.c: (gst_pad_peer_query):
5073 Add function to perform a query on the peer of a pad.
5074 API: gst_pad_peer_query()
5076 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5078 * tests/check/gst/gstsystemclock.c:
5079 Cleanup the test a little (use gst-logging and not g_message). Improve
5080 test to check if a wait reached the target.
5082 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5084 * docs/libs/gstreamer-libs-sections.txt:
5085 Add new API to docs and fix the build.
5087 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5089 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5090 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5091 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5092 (gst_base_src_get_property), (gst_base_src_do_sync):
5093 * libs/gst/base/gstbasesrc.h:
5094 Add property to make the basesrc timestamp buffers based on the current
5096 API: GstBaseSrc::do-timestamp
5097 API: gst_base_src_set_do_timestamp()
5098 API: gst_base_src_get_do_timestamp()
5100 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5102 * docs/random/release:
5103 Really make sure translations are up-to-date before
5104 a release (#465010).
5106 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5108 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5109 Always destroy the timer, also in error cases.
5111 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5113 * docs/manual/highlevel-xml.xml:
5114 Fix XML example code. Fixes #472714.
5116 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5118 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5119 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5120 (gst_base_sink_query):
5121 Protect eos and have_preroll with the OBJECT lock so we don't need to
5122 take the PREROLL lock when querying the latency. Fixes #473846.
5124 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5127 Give some log-messages a category.
5129 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5131 * gst/gststructure.c:
5132 (gst_structure_fixate_field_nearest_fraction):
5133 Fix fraction list fixation code. Take the fraction with the smallest
5134 difference with the target instead of the first one in the list.
5136 * tests/check/gst/gststructure.c: (GST_START_TEST),
5137 (gst_structure_suite):
5138 Added test to verify correct fraction list fixation behaviour.
5140 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5142 * win32/common/libgstreamer.def:
5143 Export gst_bus_add_signal_watch too.
5145 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5147 * docs/libs/gstreamer-libs-sections.txt:
5148 Add new methods to docs.
5150 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5151 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5152 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5153 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5154 * libs/gst/base/gstbasesink.h:
5155 Add ts-offset property to fine-tune the synchronisation.
5156 API: GstBaseSink::ts-offset property
5157 API: gst_base_sink_set_ts_offset()
5158 API: gst_base_sink_get_ts_offset()
5160 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5162 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5163 (gst_base_sink_init), (gst_base_sink_set_sync),
5164 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5165 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5166 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5167 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5168 (gst_base_sink_get_property), (gst_base_sink_change_state):
5169 * libs/gst/base/gstbasesink.h:
5170 Add async property to instruct the sink never to inform the parent about
5171 ASYNC state changes, update docs.
5172 Check argument with g_return_* for the public functions.
5173 API: GstBaseSink::async property
5174 API: gst_base_sink_set_async_enabled()
5175 API: gst_base_sink_is_async_enabled()
5177 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5179 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5182 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5183 (gst_base_src_default_query), (gst_base_src_wait),
5184 (gst_base_src_do_sync), (gst_base_src_change_state):
5185 Rearrange some code so that we can add support for measuring the
5188 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5190 * docs/random/ensonic/dynlink.txt:
5191 More thoughs on this.
5193 * plugins/elements/gstcapsfilter.c:
5194 Add bugzilla ticket number to FIXME comment.
5196 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5198 * docs/design/part-TODO.txt:
5199 * docs/design/part-block.txt:
5202 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5205 Revert patch which uses $(gst_headers) instead of $^ because it
5208 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5210 * tests/check/gst/gstbin.c: (GST_START_TEST):
5211 Fix leaks in the new unit test.
5213 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5216 Don't use GST_INFO before the debug system is actually initialised
5217 (shouldn't do any harm, but won't print anything either, so we can
5218 just as well remove it).
5221 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5222 compilers that don't support variadic macros (such as MSVC), should
5223 check for debug_level <= __gst_debug_min as well, since that's the
5224 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5225 inline helper functions. Should improve performance a bit, but also
5226 makes sure uses of GST_INFO et.al are ignored if the debugging
5227 system isn't initialised yet (instead of printing an assertion
5230 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5232 patch by: David Nečas <yeti@physics.muni.cz>
5235 Replace some non portable makefile constructs.
5237 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5239 * common/gtk-doc-plugins.mak:
5240 Grrrrr. Don't remove the types file on make clean.
5242 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5244 * tools/gst-launch.1.in:
5245 Add colorspace to example pipeline. Fixes #458274.
5247 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5249 * docs/random/release:
5250 The release manager should run 'make download-po' before making a
5251 release to make sure translations are up-to-date.
5257 Add some new translations.
5259 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5261 * tools/gst-launch.c: (event_loop), (main):
5262 Don´t try to do any state management when a live pipeline posts
5264 Also make the buffering string translatable.
5266 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5268 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5269 (bin_handle_async_start), (gst_bin_handle_message_func):
5271 When adding elements, insert messages into the bus of the newly added
5272 element and make sure the element is the source of the message. This
5273 allows the parent bin to intercept the message and do the
5274 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5275 messages to the app (which is not allowed).
5278 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5279 Fix testsuite so that is does not work around messages that should not
5280 have been posted in the first place.
5282 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5284 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5285 (update_degree), (gst_bin_sort_iterator_next):
5286 Fix annoying bug in the sorted iterator where a sink that is not really
5287 a sink (when it has downstream links) screwed up the iterator.
5289 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5290 Unit test to verify the fix.
5292 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5295 Add some more docs for the messages.
5297 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5298 (gst_base_sink_query):
5299 Add some more debugging.
5301 * tools/gst-launch.c: (event_loop):
5302 When interrupting, don't try to set pipeline to PAUSED twice.
5304 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5307 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5308 (bin_handle_async_start), (gst_bin_handle_message_func):
5309 Move ASYNC_START message posting to where it belongs, similar to
5311 Don't post ASYNC_START when we are in error.
5312 Post ASYNC_START when we added an async element to a bin.
5314 2007-08-14 Julien MOUTTE <julien@moutte.net>
5316 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5317 generation from vargs. Fixes #466595.
5319 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5321 * gst/gstbin.c: (gst_bin_element_set_state):
5322 Always change the state of a NO_PREROLL element even if it has ASYNC
5323 elements inside (in case of a bin).
5325 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5326 Unit test for this case.
5328 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5330 * libs/gst/check/gstbufferstraw.c:
5331 * libs/gst/check/gstcheck.h:
5332 * libs/gst/controller/gstcontroller.c:
5333 * libs/gst/controller/gstcontrolsource.h:
5334 * libs/gst/controller/gstlfocontrolsource.h:
5335 * plugins/elements/gstcapsfilter.h:
5336 * plugins/elements/gstfdsink.h:
5337 * plugins/elements/gstfdsrc.h:
5338 Add more missing docs.
5340 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5342 * gst/gststructure.c:
5343 Add Since tag to docs.
5345 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5347 * docs/gst/gstreamer-sections.txt:
5348 * gst/gststructure.c: (gst_structure_get_uint):
5349 * gst/gststructure.h:
5350 Add function to get uint from a structure.
5351 API: gst_structure_get_uint()
5353 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5355 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5356 (gst_caps_intersect):
5357 Fix proper check for simple caps.
5359 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5361 * docs/gst/Makefile.am:
5362 * docs/libs/Makefile.am:
5363 Remove cruft and do some cleanups.
5365 * docs/gst/gstreamer-docs.sgml:
5366 * docs/libs/gstreamer-libs-docs.sgml:
5367 Prepare for comming gtkdoc features (rebase against online docs).
5369 2007-08-10 Michael Smith <msmith@fluendo.com>
5371 * docs/gst/gstreamer-sections.txt:
5372 Add gst_registry_add_path to docs.
5374 2007-08-10 Michael Smith <msmith@fluendo.com>
5376 * gst/gstregistry.h:
5377 Add gst_registry_add_path, which was missing from this header.
5379 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5381 * libs/gst/controller/gstlfocontrolsource.c:
5384 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5386 * libs/gst/base/gstbasesink.c:
5387 Don't send an async_start message during downwards state change if
5388 target state is less than READY
5390 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5392 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5396 Added Hungarian translation.
5398 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5405 Updated translations.
5407 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5409 * libs/gst/controller/Makefile.am:
5410 Dist gstlfocontrolsourceprivate.h
5412 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5414 * docs/libs/gstreamer-libs.types:
5415 Don't register the enum type gst_lfo_waveform_get_type() in the
5416 .types file - only GObject derived types belong.
5418 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5420 Patch by: <arenevier at fdn dot fr>
5423 Remove comma from last element in enum to avoid compile errors when
5424 using -pendantic. Fixes #464366.
5426 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5428 * docs/design/part-TODO.txt:
5429 Add some more TODO items
5431 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5434 * gst/gstcaps.c: (gst_caps_intersect):
5435 Optimize trivial intersection case between identical caps pointers.
5437 * gst/gstelement.c: (gst_element_continue_state),
5438 (gst_element_set_state_func):
5440 Fix spelling and grammar mistakes.
5442 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5446 Update POTFILES. Fixes #461599.
5448 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5451 Fix confusing typo in debug output.
5453 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5455 reviewed by: Stefan Kost <ensonic@users.sf.net>
5457 * libs/gst/controller/Makefile.am:
5458 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5459 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5460 (gst_lfo_control_source_new),
5461 (gst_lfo_control_source_set_waveform),
5462 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5463 (gst_lfo_control_source_finalize),
5464 (gst_lfo_control_source_dispose),
5465 (gst_lfo_control_source_set_property),
5466 (gst_lfo_control_source_get_property),
5467 (gst_lfo_control_source_class_init):
5468 * libs/gst/controller/gstlfocontrolsource.h:
5469 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5470 API: Add GstLFOControlSource, a control source that gives values
5471 for specific timestamps based on several periodic waveforms.
5474 * tests/check/libs/controller.c: (GST_START_TEST),
5475 (gst_controller_suite):
5476 * docs/libs/gstreamer-libs-docs.sgml:
5477 * docs/libs/gstreamer-libs-sections.txt:
5478 * docs/libs/gstreamer-libs.types:
5479 Add documentation and unit tests for GstLFOControlSource.
5481 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5486 === release 0.10.14 ===
5488 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5491 releasing 0.10.14, "Breathing Vacuum"
5493 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5495 * gst/gstelement.c: (gst_element_class_set_details_simple):
5497 Make strings passed to gst_element_class_set_details_simple()
5498 constant, as they should be (#462752).
5500 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5502 * gst/gstbin.c: (gst_bin_change_state_func),
5503 (bin_handle_async_done), (gst_bin_handle_message_func):
5504 Don't forget about the fact that some element went ASYNC even after a
5505 resync. This makes us post the ASYNC_DONE message correctly.
5508 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5510 * gst/gstregistry.c: (gst_registry_add_feature):
5511 When replacing an existing feature in the registry, make sure to
5512 continue holding a reference until we've replaced the name string
5513 within our feature hash table. Make sure to use g_hash_table_replace
5514 instead of g_hash_table_insert to ensure the new name string is used
5515 as a key instead of the old one that we're about to free.
5518 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5520 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5521 (gst_plugin_feature_set_name):
5522 Revert patch from #459466 until after the release and we can work
5523 out exactly what the problem is (if any).
5525 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5527 * docs/gst/gstreamer-sections.txt:
5530 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5532 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5534 * docs/libs/Makefile.am:
5535 Include our build-prefix libs and includes before the generic ones to
5536 avoid linking against the installed libs when we want the build-tree
5539 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5541 Patch by: Steve Fink <sphink gmail com>
5543 * docs/pwg/building-testapp.xml:
5544 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5545 if people try to build or install the example from the plugin
5546 template against a GStreamer from package using the configure
5549 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5551 Patch by: Steve Fink <sphink gmail com>
5553 * tools/gst-inspect.1.in:
5554 Document --print-all and --print-plugin-auto-install-info command
5555 line options in man page.
5557 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5559 * docs/gst/gstreamer-sections.txt:
5560 Add docs for new api function.
5562 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5564 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5565 * gst/gstelementfactory.h:
5566 API: gst_element_factory_has_interface()
5567 Added method to check if an element factory implements a named
5570 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5573 * docs/gst/gstreamer.types.in:
5574 Another conditional doc check.
5577 * gst/gstparamspecs.h:
5578 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5583 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5585 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5586 (gst_registry_binary_load_feature),
5587 (gst_registry_binary_load_plugin),
5588 (gst_registry_binary_read_cache):
5589 Print error just once and with additional info.
5591 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5593 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5594 (helper_find_suggest), (helper_find_get_length),
5595 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5596 (gst_type_find_helper_for_buffer):
5597 Cleanup the typefindhelper code and add private doc comments.
5599 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5601 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5602 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5603 Fix capsfilter for cases where the caps set on capsfilter will provide
5604 additional information.
5607 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5609 * gst/gsttypefindfactory.c:
5610 Fix docs that recommened wrong function to use.
5612 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5614 * tools/gst-inspect.c: (print_plugin_features):
5615 Also give media-type for typefinders in element output.
5617 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5619 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5620 (gst_registry_remove_features_for_plugin_unlocked),
5621 (gst_registry_add_feature), (gst_registry_remove_feature),
5622 (gst_registry_lookup_feature_locked):
5623 * gst/gstregistry.h:
5624 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5627 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5629 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5630 (gst_plugin_feature_set_name):
5631 Avoid double memory usage for pluginfeature names. Fixes #459466.
5633 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5636 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5637 driving the pipeline may need to explicitly check for NOT_LINKED as
5638 well, since IS_FATAL doesn't cover that.
5640 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5642 * docs/pwg/advanced-types.xml:
5643 Fix typo and duplicate entry in video formats list.
5645 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5647 * libs/gst/controller/gstinterpolation.c:
5648 Also round to the nearest int when using cubic interpolation.
5650 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5652 * libs/gst/controller/gstinterpolation.c:
5653 When linearly interpolating integer types, round to the nearest int
5654 by adding 0.5. Don't do it for float/double types.
5655 Fixes the failing controller test on my machine, which is somehow
5656 rounding differently than on the buildbots.
5658 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5660 * tools/gst-plot-timeline.py:
5661 Better log parsing (categories can have -). Adjust text vs. lines, so
5662 that they span the same y-range.
5664 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5666 * docs/random/ensonic/audiobaseclasses.txt:
5667 * docs/random/ensonic/dynlink.txt:
5668 * docs/random/ensonic/profiling.txt:
5671 * docs/random/moving-plugins:
5672 Add note to use g_assert type macros.
5674 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5677 * libs/gst/check/Makefile.am:
5678 Add libm check as we use in for plugins.
5680 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5682 * gst/gstbin.c: (gst_bin_continue_func):
5683 Check that the state_cookie hasn't changed since the continue_func
5684 was scheduled. Avoids problems where the state changes back to
5685 something it shouldn't be because it was changed in the meantime.
5687 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5689 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5690 (gst_registry_binary_save_string),
5691 (gst_registry_binary_save_pad_template),
5692 (gst_registry_binary_save_feature),
5693 (gst_registry_binary_save_plugin),
5694 (gst_registry_binary_load_feature),
5695 (gst_registry_binary_load_plugin),
5696 (gst_registry_binary_read_cache):
5697 Fix memory leak. Be less verbose in the log.
5699 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5701 * tests/check/elements/.cvsignore:
5702 Add file to cvsignore as commanded.
5704 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5706 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5707 (mq_dummypad_event), (run_output_order_test):
5708 Use a GStaticMutex to protect all cases where libcheck
5709 fail_if/fail_unless macros might be called from multiple threads
5710 simultaneously to avoid errors like:
5711 "check_pack.c:107: :-1081725400:Bad message type arg"
5713 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5715 * tests/check/pipelines/stress.c: (GST_START_TEST):
5716 Make sure we set the pipeline back to the NULL state before
5717 dropping our final reference.
5719 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5721 * tests/check/elements/tee.c: (GST_START_TEST):
5722 Make the tee stress-test a little less stressful so it doesn't just
5723 time out on slow-machines, and remove a small race when it's starting
5724 up by adding a get_state() call.
5726 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5729 Avoid reading registry twice on startup. Fixes #457322.
5731 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5733 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5734 * pkgconfig/gstreamer-check.pc.in:
5735 Substitute the CFLAGS for libcheck into our .pc file too so that
5736 dependent modules will pick it up properly if libcheck is installed
5737 into some other prefix.
5739 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5742 Revert the pkg-config check for libcheck, since it pulls in the
5743 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5744 a proper solution, either from the check project, or something else.
5746 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5749 Use pkg-config to locate check.
5751 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5758 Add deprecation guards.
5760 * libs/gst/base/gstcollectpads.h:
5761 Don't document object (this is implicitly private).
5763 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5765 * gst/gststructure.c: (gst_structure_parse_value):
5766 When deserialising foo=bar without a type cast, check if it's a
5767 boolean before falling back to a string type, otherwise things like
5768 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5769 because the filtercaps end up having a signed=(string)true field,
5770 which causes problems later when intersection caps.
5772 * tests/check/gst/gststructure.c: (GST_START_TEST):
5773 Add a unit test for this.
5775 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5777 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5779 * libs/gst/controller/Makefile.am:
5780 * libs/gst/controller/gstcontroller.c:
5781 (gst_controlled_property_add_interpolation_control_source),
5782 (gst_controlled_property_new), (gst_controlled_property_free),
5783 (gst_controller_find_controlled_property),
5784 (gst_controller_new_valist), (gst_controller_new_list),
5785 (gst_controller_new), (gst_controller_remove_properties_valist),
5786 (gst_controller_remove_properties_list),
5787 (gst_controller_remove_properties),
5788 (gst_controller_set_property_disabled),
5789 (gst_controller_set_disabled), (gst_controller_set_control_source),
5790 (gst_controller_get_control_source), (gst_controller_get),
5791 (gst_controller_sync_values), (gst_controller_get_value_array),
5792 (_gst_controller_dispose), (gst_controller_get_type),
5793 (gst_controlled_property_set_interpolation_mode),
5794 (gst_controller_set), (gst_controller_set_from_list),
5795 (gst_controller_unset), (gst_controller_unset_all),
5796 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5797 * libs/gst/controller/gstcontroller.h:
5798 * libs/gst/controller/gstcontrollerprivate.h:
5799 * libs/gst/controller/gstcontrolsource.c:
5800 (gst_control_source_class_init), (gst_control_source_init),
5801 (gst_control_source_get_value),
5802 (gst_control_source_get_value_array), (gst_control_source_bind):
5803 * libs/gst/controller/gstcontrolsource.h:
5804 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5805 (gst_object_get_control_source):
5806 * libs/gst/controller/gstinterpolation.c:
5807 (gst_interpolation_control_source_find_control_point_node),
5808 (gst_interpolation_control_source_get_first_value),
5809 (_interpolate_none_get), (interpolate_none_get),
5810 (interpolate_none_get_boolean_value_array),
5811 (interpolate_none_get_enum_value_array),
5812 (interpolate_none_get_string_value_array),
5813 (_interpolate_trigger_get), (interpolate_trigger_get),
5814 (interpolate_trigger_get_boolean_value_array),
5815 (interpolate_trigger_get_enum_value_array),
5816 (interpolate_trigger_get_string_value_array):
5817 * libs/gst/controller/gstinterpolationcontrolsource.c:
5818 (gst_control_point_free), (gst_interpolation_control_source_reset),
5819 (gst_interpolation_control_source_new),
5820 (gst_interpolation_control_source_set_interpolation_mode),
5821 (gst_interpolation_control_source_bind),
5822 (gst_control_point_compare), (gst_control_point_find),
5823 (gst_interpolation_control_source_set_internal),
5824 (gst_interpolation_control_source_set),
5825 (gst_interpolation_control_source_set_from_list),
5826 (gst_interpolation_control_source_unset),
5827 (gst_interpolation_control_source_unset_all),
5828 (gst_interpolation_control_source_get_all),
5829 (gst_interpolation_control_source_get_count),
5830 (gst_interpolation_control_source_init),
5831 (gst_interpolation_control_source_finalize),
5832 (gst_interpolation_control_source_dispose),
5833 (gst_interpolation_control_source_class_init):
5834 * libs/gst/controller/gstinterpolationcontrolsource.h:
5835 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5836 API: Refactor GstController into the core controller which can take
5837 a GstControlSource for providing actual values for timestamps.
5838 Implement a interpolation control source and use this for backward
5839 compatibility, deprecate a bunch of functions that are now handled
5840 by GstControlSource or GstInterpolationControlSource.
5841 Make it possible to disable the controller completely or only for
5842 specific properties. Fixes #450711.
5843 * docs/libs/gstreamer-libs-docs.sgml:
5844 * docs/libs/gstreamer-libs-sections.txt:
5845 * docs/libs/gstreamer-libs.types:
5846 Add new functions and classes to the docs.
5847 * tests/check/libs/controller.c: (GST_START_TEST),
5848 (gst_controller_suite):
5849 * tests/examples/controller/audio-example.c: (main):
5850 Port unit test and example to the new API and add some new
5853 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5855 Patch by: Mark Nauwelaerts <manauw at skynet be>
5857 * plugins/elements/gstmultiqueue.c:
5858 (gst_multi_queue_get_internal_links), (apply_buffer),
5859 (single_queue_overrun_cb), (gst_single_queue_new):
5860 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5861 the pipeline layout can be tracked correctly. Fixes #453732.
5863 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5865 * docs/gst/Makefile.am:
5866 * docs/libs/Makefile.am:
5867 * docs/plugins/Makefile.am:
5868 Simplify --extra-dir as gtkdoc scans recursively.
5870 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5872 * tools/gst-launch.c: (main):
5873 When we got an error, there is no point in waiting for preroll when
5876 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5878 * plugins/elements/gsttee.c: (gst_tee_base_init),
5879 (gst_tee_request_new_pad), (gst_tee_release_pad),
5880 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5881 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5883 Be a lot smarter when deciding what srcpad to use for proxying
5884 the buffer_alloc. Also handle pad added/removed when doing so.
5886 Keep track of what pads we already pushed on in case we have pads
5887 added/removed while pushing. Fixes #374639
5889 * tests/check/Makefile.am:
5890 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5892 Added unit test for pad resync.
5894 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5898 Updated translations.
5900 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5902 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5906 Added new Finnish translation.
5908 2007-06-28 Wim Taymans <wim@fluendo.com>
5910 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5911 (single_queue_overrun_cb):
5912 When figuring out when a queue is filled, use our internal time estimate
5913 based on segments, just like check_full does.
5915 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5917 * gst/gstminiobject.c: (gst_mini_object_get_type):
5918 Remove 3 do-nothing methods.
5920 2007-06-27 Wim Taymans <wim@fluendo.com>
5922 Patch by: Tim Angus <tim at ngus dot net>
5924 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5925 (gst_capsfilter_set_property):
5926 Take a reference instead of a copy when setting "caps".
5927 Fix documentation to clarify this behaviour. Fixes #449414.
5929 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5931 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5932 * gst/gstplugin.c: (gst_plugin_init):
5933 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5934 * gst/gstquery.c: (gst_query_get_type):
5935 * gst/gstregistry.c: (gst_registry_init):
5936 * gst/gsturi.c: (gst_uri_handler_base_init):
5937 Remove empty instance_init() functions to save relocs and lessen the
5938 noise. Remove some of the function prototypes that are doubled by
5941 2007-06-27 Wim Taymans <wim@fluendo.com>
5943 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5945 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5946 Add peer and direction in the XML serialisation of ghostpads.
5949 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5952 Preserve useful information, thanks Tim.
5954 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5956 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5957 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5958 (gst_single_queue_push_one), (gst_multi_queue_loop),
5959 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5960 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5961 (compute_high_id), (gst_single_queue_new):
5962 * plugins/elements/gstmultiqueue.h:
5963 Take the multiqueue lock when updating the fill level so we don't get
5966 After applying a buffer or event on the src pad segment, make sure to
5967 call gst_data_queue_limits_changed() to get the data queue to unblock
5968 and check the filled state again.
5970 Rework the not-linked pad handling so the logic is that not-linked
5971 pads can push as fast as they like, but only so they never get
5972 ahead of any linked pads.
5974 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5975 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5976 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5978 Add a test to check that not-linked pads always stay behind
5983 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5985 * docs/random/release:
5986 Some updates to the release procedure.
5988 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5990 * gst/gstelementfactory.c: (__gst_element_details_clear):
5991 Microoptimization that saves stunning 80 bytes.
5993 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5995 * docs/plugins/gstreamer-plugins.args:
5996 * docs/plugins/inspect/plugin-coreelements.xml:
5997 * docs/plugins/inspect/plugin-coreindexers.xml:
5998 Update docs with caps info.
6000 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6003 Updated Italian translation.
6005 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6009 Update Vietnamese translations.
6011 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6013 * libs/gst/base/gstbasesink.c:
6014 Remove unused signal enum.
6016 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6018 * docs/gst/gstreamer-sections.txt:
6020 * gst/gstutils.c: (gst_type_register_static_full):
6021 Beef up and include the docs for gst_type_register_static_full and
6022 gst_element_class_set_details_simple and add the API keyword
6025 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6027 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6028 (update_time_level), (gst_single_queue_push_one),
6029 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6030 (single_queue_overrun_cb), (single_queue_underrun_cb),
6031 (single_queue_check_full):
6032 Fix setting max-* properties after adding queues.
6033 Use IS_FILLED for checking visible items.
6034 Signal overrun if multiple queues overrun.
6035 Add extra debug output.
6036 Patch by: Wim Taymans <wim@fluendo.com>
6038 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6040 * gst/gstelement.c: (gst_element_class_set_details_simple):
6042 * gst/gstutils.c: (gst_type_register_static_full):
6044 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6045 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6046 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6047 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6048 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6049 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6050 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6051 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6052 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6053 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6054 (apply_buffer), (gst_queue_chain):
6055 * plugins/elements/gsttee.c: (gst_tee_base_init):
6056 * plugins/elements/gsttypefindelement.c:
6057 (gst_type_find_element_base_init),
6058 (gst_type_find_element_class_init):
6059 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6060 API: add gst_type_register_static_full
6061 API: add gst_element_class_set_details_simple
6063 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6065 * docs/pwg/advanced-types.xml:
6066 Fix typo in iana.org URI.
6068 2007-06-19 Andy Wingo <wingo@pobox.com>
6070 * tests/check/pipelines/simple-launch-lines.c
6071 (test_state_change_returns): Enable pull-mode tests now that
6072 basesink has been fixed.
6074 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6075 Changed from gst_base_sink_is_prerolled, reversing the sense of
6076 the return value. Returns FALSE also if the sink is in pull mode,
6077 in which case it needs no preroll.
6078 (gst_base_sink_query, gst_base_sink_change_state): Update for
6079 needs_preroll change.
6080 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6081 chaining up, in which we return SUCCESS directly if we activated
6082 in pull mode instead of ASYNC. Involves countering an async_start
6083 message sent before chaining up; not sure if this is correct, in
6084 an ideal world we only send async-start when activating in push
6087 * tests/check/pipelines/simple-launch-lines.c
6088 (test_state_change_returns): New test, partially disabled until
6091 2007-06-19 Wim Taymans <wim@fluendo.com>
6093 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6094 (gst_multi_queue_sink_event):
6097 2007-06-19 Wim Taymans <wim@fluendo.com>
6099 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6100 (gst_bin_change_state_func), (bin_push_state_continue),
6101 (bin_handle_async_start), (bin_handle_async_done),
6102 (gst_bin_handle_message_func):
6103 Move the common code for posting state-change messages into
6105 Broadcast the state signal after we posted the messages.
6106 Mark the bin as busy when it's doing a state-change.
6107 Make sure async-start/done messages don't interfere with the bin's
6108 state when it's busy.
6109 After the state change, let the bin check which elements completed the
6110 state change while it was busy so that it can update its state.
6112 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6114 * docs/random/release:
6115 Add a note about updating the doap file to the release checklist
6117 2007-06-18 Wim Taymans <wim@fluendo.com>
6119 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6120 (gst_single_queue_push_one), (gst_multi_queue_chain),
6121 (gst_multi_queue_sink_event):
6122 Make sure we don't reference the buffer/event after we have given away
6123 ownership in the queue.
6125 2007-06-18 Wim Taymans <wim@fluendo.com>
6127 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6128 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6129 Update queue state _after_ adding the item in the queue because else we
6130 could end up being full without the element added yet.
6132 2007-06-18 Wim Taymans <wim@fluendo.com>
6134 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6135 (gst_bin_remove_func), (gst_bin_get_state_func),
6136 (gst_bin_element_set_state), (gst_bin_continue_func),
6137 (bin_push_state_continue), (bin_handle_async_start),
6138 (bin_handle_async_done), (gst_bin_handle_message_func):
6140 Immediatly commit the toplevel bin state when receiving an async-done
6141 message. This enables us to avoid spawning a thread to commit the state
6142 in some common cases and it also avoids some races.
6143 Avoid spawning a state thread when adding/removing async elements to a
6144 toplevel bin. Instead we immediatly update the bin state.
6145 Get rid of iterating all the children when getting the state in the bin
6146 because it is now always up-to-date.
6147 Fix bug where locked elements would always return _SUCCESS even it they
6148 returned NO_PREROLL before being locked.
6149 Fix the order of the state_change, async-start/done messages that was
6150 sometimes incorrect.
6151 Mark the state_dirty field as deprecated, we don't need it anymore as we
6152 are always up-to-date.
6154 * gst/gstelement.c: (gst_element_get_state_func),
6155 (gst_element_continue_state):
6156 Small debug inprovements.
6157 Return the previous element state return when nothing is pending instead
6158 of blindly returning SUCCESS.
6160 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6162 Add a whole bunch of new testcases.
6164 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6168 Update translations.
6170 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6173 Fix typo in the docs.
6175 2007-06-15 Wim Taymans <wim@fluendo.com>
6177 * docs/libs/gstreamer-libs-sections.txt:
6178 Add docs for new methods.
6180 2007-06-15 Wim Taymans <wim@fluendo.com>
6182 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6183 (gst_multi_queue_item_new):
6184 Don't use GSlice because we don't depend on >= 2.10 yet.
6186 2007-06-15 Wim Taymans <wim@fluendo.com>
6188 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6189 (update_time_level), (apply_segment), (apply_buffer),
6190 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6191 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6192 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6193 (single_queue_underrun_cb), (single_queue_check_full):
6194 Remove debug printf.
6196 2007-06-15 Wim Taymans <wim@fluendo.com>
6198 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6199 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6200 (gst_data_queue_set_flushing), (gst_data_queue_push),
6201 (gst_data_queue_pop), (gst_data_queue_drop_head),
6202 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6203 * libs/gst/base/gstdataqueue.h:
6205 Added methods to get the current levels and to inform the queue that the
6206 'full' limits changed.
6208 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6209 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6210 (gst_single_queue_flush), (update_time_level), (apply_segment),
6211 (apply_buffer), (gst_single_queue_push_one),
6212 (gst_multi_queue_item_steal_object),
6213 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6214 (gst_multi_queue_loop), (gst_multi_queue_chain),
6215 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6216 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6217 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6218 (single_queue_underrun_cb), (single_queue_check_full),
6219 (gst_single_queue_new):
6220 Keep track of time in the queue by measuring the difference between
6221 running_time on input and output. This gives more accurate results and
6222 can compensate for segments correctly.
6223 Make a queue by default only 5 buffers deep. We will now increase the
6224 buffer size depending on the filledness of the other queues.
6225 Factor out commong flush code.
6226 Make sure we don't add additional refcounts to buffers when we can avoid
6228 Propagate GstFlowReturn differently.
6229 Use GSlice for intermediate GstMultiQueueItems.
6231 Resize queues on over and underruns based on filled level of other
6233 When checking if the queue is filled, prefer to measure in time if we
6234 can and fall back to bytes when no time is known.
6236 * plugins/elements/gstqueue.c:
6239 2007-06-15 Wim Taymans <wim@fluendo.com>
6241 * libs/gst/base/gstbasetransform.c:
6242 (gst_base_transform_sink_event):
6243 Work around the brokenness of the event vmethod in basetransform. Prefer
6244 to return TRUE when the subclass returned FALSE (meaning don't forward
6247 * libs/gst/base/gstbasetransform.h:
6250 2007-06-15 Wim Taymans <wim@fluendo.com>
6252 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6253 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6254 (gst_base_src_default_query), (gst_base_src_get_range),
6255 (gst_base_src_start):
6256 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6259 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6261 * docs/pwg/advanced-types.xml:
6262 Added more formats to caps table.
6264 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6266 * tools/gst-launch.c: (main):
6267 Remove crufy code. GOption does not need this workaround.
6269 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6271 * libs/gst/controller/gstcontroller.c:
6272 (gst_controlled_property_set_interpolation_mode):
6273 Fix wrong getter for enums in controller.
6275 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6277 * libs/gst/check/gstcheck.c: (gst_check_init):
6278 Intercept criticals and warnings in the Gst-Phonon log domain, so
6279 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6282 2007-06-14 Edward Hervey <edward@fluendo.com>
6284 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6285 Since this file doesn't include "gst.h" it will not go through the
6286 macros that disable GST_LOG if debugging was disabled.
6288 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6290 * libs/gst/check/Makefile.am:
6291 * libs/gst/check/gstcheck.h:
6292 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6293 * pkgconfig/gstreamer-check.pc.in:
6294 Ugly 'fix' for the controller unit test on the p5 bot: in
6295 fail_unless_equals_float() check whether the values are 'almost
6296 equal' by allowing a small absolute error, which should be good
6297 enough for our use cases (normal numbers and values close to 0).
6298 Proper fixage left to floating point arithmetic aficionados.
6300 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6302 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6303 (gst_base_sink_render_object), (gst_base_sink_get_position):
6304 Add two breaks thats where missing.
6306 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6308 * docs/libs/gstreamer-libs-sections.txt:
6309 * libs/gst/check/gstcheck.h:
6310 API: add fail_unless_equals_float() and assert_equals_float().
6311 Add documentation for some of the macros.
6313 * tests/check/libs/controller.c: (GST_START_TEST):
6314 Use newly-added asserts.
6316 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6318 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6319 Show the caps change in the log to help spotting the case of not
6320 exactly matching caps.
6322 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6324 * docs/pwg/building-boiler.xml:
6325 Fix typos, spotted by Thijs Vermeir (#447190).
6327 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6329 * docs/plugins/tmpl/.cvsignore:
6330 Ignore file to keep the buildbots happy
6332 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6334 * docs/plugins/Makefile.am:
6335 * docs/plugins/gstreamer-plugins-docs.sgml:
6336 * docs/plugins/gstreamer-plugins-sections.txt:
6337 Pull fdsink into the docs too.
6339 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6341 * libs/gst/controller/gstinterpolation.c:
6342 Actually use the new functions with min/max checks for the trigger and
6343 none interpolation modes for get() and get_value_array() instead of
6346 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6348 * libs/gst/controller/gstcontroller.c:
6349 (gst_controlled_property_free):
6350 Unset the minimum and maximum GValues when freeing the corresponding
6351 GstControllerProperty struct.
6353 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6355 * libs/gst/controller/gstcontroller.c:
6356 (gst_controlled_property_new):
6357 * libs/gst/controller/gstcontrollerprivate.h:
6358 * libs/gst/controller/gstinterpolation.c:
6359 (gst_controlled_property_find_control_point_node),
6360 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6361 (interpolate_none_get_string_value_array),
6362 (interpolate_trigger_get),
6363 (interpolate_trigger_get_enum_value_array),
6364 (interpolate_trigger_get_string_value_array):
6365 Protect against values larger or smaller than the minimum or maximum
6366 allowed value for the property when using values that can be compared.
6368 Optimize trigger interpolator a bit by taking the last requested value
6369 into account instead of always looping through the complete list.
6371 Fix coding style a bit, everywhere else we use "return foo" instead
6374 * tests/check/libs/controller.c: (GST_START_TEST),
6375 (gst_controller_suite):
6376 Add unit test for the protection against too large or too small
6379 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6381 * docs/random/slomo/controller.txt:
6382 Add some thoughts about the future of the controller.
6384 2007-06-08 Wim Taymans <wim@fluendo.com>
6386 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6387 Don't overflow in retimestamping code.
6389 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6391 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6392 Use gst_util_guint64_to_gdouble for conversions.
6393 * win32/common/libgstreamer.def:
6394 Add new exported functions.
6396 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6399 Small docs addition.
6401 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6404 Remove that test line again.
6406 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6409 Test commit mail sending.
6411 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6414 Fix typo and test commit mail sending.
6416 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6418 * tests/examples/controller/audio-example.c:
6419 Improve comment and test commit mail sending.
6421 2007-06-07 Wim Taymans <wim@fluendo.com>
6423 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6424 (gst_bin_remove_func), (gst_bin_element_set_state),
6425 (bin_handle_async_start), (bin_handle_async_done),
6426 (gst_bin_handle_message_func):
6427 Add helper function to find messages.
6428 Generate the async-done messages together with the state change
6430 Small cleanups in handling toplevel bins.
6432 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6434 * libs/gst/base/gstdataqueue.c:
6435 * libs/gst/base/gstdataqueue.h:
6436 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6437 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6438 (gst_multi_queue_sink_event):
6439 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6440 Fix multiqueue leaking buffers and events when downstream or the
6441 queue are flushing. Make refcounting assumptions explicit and
6442 document them (shouldn't break existing code that uses it other than
6443 maybe leak miniobjects, but that already happens anyway). Add unit
6444 test for the most common flushing case. Fixes #423700.
6446 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6448 * libs/gst/controller/gstcontroller.c:
6449 Clarify docs: The get_all, get_value_array(s) functions
6450 don't modify the GObject properties.
6452 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6454 * libs/gst/controller/gstcontroller.c:
6455 (gst_controlled_property_set_interpolation_mode),
6456 (gst_controlled_property_prepend_default),
6457 (gst_controlled_property_new), (gst_controller_set_unlocked),
6458 (gst_controller_set), (gst_controller_set_from_list),
6459 (gst_controller_unset), (gst_controller_unset_all):
6460 * libs/gst/controller/gstcontrollerprivate.h:
6461 * libs/gst/controller/gstinterpolation.c:
6462 Factor out the 'set' logic into gst_controller_set_unlocked for the
6463 gst_controller_set and gst_controller_set_from_list functions.
6465 To make life of the interpolators easier always add a control point
6466 at timestamp zero with the default value.
6468 In the linear interpolator make things more obvious by better variable
6471 Implement cubic interpolation mode (by using a natural cubic spline)
6472 and map the quadratic interpolation mode to this too (as quadratic
6473 doesn't make much sense, see discussion on the list).
6475 * tests/check/libs/controller.c: (GST_START_TEST),
6476 (gst_controller_suite):
6477 Add unit test for the cubic interpolation mode and check everywhere
6478 if the interpolation mode could be set as expected.
6480 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6482 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6483 Don't use GLib-2.10 functions, we still depend on
6484 GLib-how-old-is-it-again-2.8.
6486 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6488 * docs/gst/gstreamer-sections.txt:
6492 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6493 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6494 (_gst_param_fraction_values_cmp),
6495 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6496 * gst/gstparamspecs.h:
6498 * tests/check/Makefile.am:
6499 * tests/check/gst/.cvsignore:
6500 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6501 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6502 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6503 (GST_START_TEST), (gst_param_spec_suite):
6504 API: add GstParamSpecFraction, so elements can have fraction
6505 properties without lots of painful string parsing (#444648).
6507 2007-06-05 Wim Taymans <wim@fluendo.com>
6509 * gst/gstobject.c: (gst_object_class_init):
6510 Fix signal signature.
6513 Add small clarification in the api docs.
6515 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6516 States are protected with object lock.
6518 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6521 I should probably be listed as an author by now.
6523 * docs/random/release:
6524 Update the release doc
6526 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6529 Make docs for gst_value_compare() mention return enums that
6532 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6537 === release 0.10.13 ===
6539 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6542 releasing 0.10.13, "With or without you"
6544 2007-05-25 Wim Taymans <wim@fluendo.com>
6546 * gst/gstbin.c: (bin_handle_async_done):
6547 Make sure that the child bin stops after completing the async state
6548 change so that the parent can continue the state change to PLAYING.
6551 2007-05-25 Wim Taymans <wim@fluendo.com>
6553 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6554 (unref_data), (gst_collect_pads_remove_pad),
6555 (gst_collect_pads_check_pads):
6556 Use additional refcounting to avoid crashes when dynamically adding and
6557 removing pads. Fixes #420206.
6559 2007-05-24 Wim Taymans <wim@fluendo.com>
6561 * tools/gst-launch.c: (event_loop):
6562 When buffering goes from a two digit to a single digit number, make sure
6563 to remove the old second digit by writing a blank over it.
6565 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6567 * libs/gst/base/gstdataqueue.c:
6568 Eliminate tabs and trailing comma in enum list; fix some typos.
6570 2007-05-24 Wim Taymans <wim@fluendo.com>
6572 * tests/check/gst/gstbin.c: (GST_START_TEST):
6573 Allow refcount of 3 and 4 because some state thread might still be busy
6576 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6578 * plugins/elements/Makefile.am:
6579 * plugins/elements/gstmultiqueue.h:
6580 * plugins/elements/gstqueue.h:
6581 These are not installed headers, no need for padding.
6583 2007-05-24 Wim Taymans <wim@fluendo.com>
6585 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6586 (gst_bin_continue_func):
6587 Enable latency for next release.
6588 Restore STATE_LOCK around recalc_state that was left out during the
6589 rewrite and could result in racy behaviour when _get_state and
6590 recalc_state are run concurrently. See #440463.
6592 2007-05-23 Wim Taymans <wim@fluendo.com>
6594 * tests/check/gst/gstsystemclock.c: (store_callback),
6596 Improve test_async_order to also work when both timers are already
6597 expired when we get scheduled to check it.
6599 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6601 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6602 (gst_bin_set_property), (gst_bin_get_property),
6603 (gst_bin_remove_func), (gst_bin_handle_message_func):
6605 'private' is a c++ keyword, let's not use that in header files,
6606 otherwise c++ compilers will throw a tantrum.
6608 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6610 * plugins/elements/gstelements.c:
6611 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6612 (gst_file_sink_get_current_offset):
6613 * plugins/indexers/gstindexers.c: (plugin_init):
6614 Use #ifdef for HAVE_XYZ for consistency.
6616 * tests/check/Makefile.am:
6617 * tests/check/elements/.cvsignore:
6618 * tests/check/elements/filesink.c: (setup_filesink),
6619 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6620 Add some unit tests for filesink.
6622 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6624 Patch by: Mark Nauwelaerts <manauw at skynet be>
6626 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6627 (gst_file_sink_query), (gst_file_sink_do_seek),
6628 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6629 * plugins/elements/gstfilesink.h:
6630 Fix position reporting; rename data_written member to current_pos to
6631 reflect its real meaning (fixes #412648).
6633 2007-05-22 Edward Hervey <edward@fluendo.com>
6635 * docs/gst/gstreamer-sections.txt:
6636 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6637 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6638 (gst_bin_remove_func), (gst_bin_handle_message_func):
6640 Add a property for bins that handle the state change of their childs.
6643 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6645 * libs/gst/controller/gstinterpolation.c:
6646 Use an array of the correct type when using _get_value_array with
6647 linear interpolation.
6649 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6651 * gst/gstelement.c (gst_element_requires_clock,
6652 gst_element_provides_clock, gst_element_request_pad,
6653 gst_element_class_set_details, gst_element_class_set_details_simple,
6654 gst_element_default_send_event, gst_element_abort_state,
6655 gst_element_continue_state, gst_element_set_state,
6656 gst_element_set_state_func, iterator_activate_fold_with_resync):
6657 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6658 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6659 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6660 gst_pad_get_range, gst_pad_pull_range):
6661 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6662 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6663 GstPadActivateModeFunction, GstPadChainFunction,
6664 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6665 GstPadFixateCapsFunction, GstPadTemplate):
6666 * gst/gstpipeline.c (gst_pipeline_change_state,
6667 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6668 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6669 gst_pipeline_get_delay):
6670 Whitespace and docs fixes.
6672 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6674 * libs/gst/controller/gstinterpolation.c:
6675 (interpolate_trigger_get_enum_value_array),
6676 (interpolate_trigger_get_string_value_array):
6677 Add support for retrieving value arrays when using the trigger
6680 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6682 * libs/gst/controller/gstcontroller.c:
6683 (gst_controller_get_value_array):
6684 * libs/gst/controller/gstcontroller.h:
6685 Clarify the docs of gst_controller_get_value_array(): The array where
6686 the values should be written to must be allocated as there seems to be
6687 no way to get the size of a random GType. This doesn't change any
6688 behaviour. Also fix some typos all over the place and remove an unused,
6689 commented function that is not necessary as g_object_set() could be
6691 * tests/check/libs/controller.c: (GST_START_TEST),
6692 (gst_controller_suite):
6693 Add unit test for gst_controller_get_value_array().
6695 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6697 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6699 Disable part of the gst_buffer_try_new_and_alloc test, because
6700 it can happily succeed on 64-bit systems where there's more address
6703 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6705 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6706 Add unit test for the improved caps checking from bug #421543.
6708 2007-05-21 Wim Taymans <wim@fluendo.com>
6710 * docs/design/part-synchronisation.txt:
6713 * gst/gstbin.c: (gst_bin_query):
6714 * plugins/elements/gstqueue.c: (apply_segment):
6720 2007-05-21 Wim Taymans <wim@fluendo.com>
6722 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6723 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6724 (gst_pad_configure_src):
6725 Added simple version of improved caps checking. It was previously
6726 assumed that a setcaps function would check the validity of the caps but
6727 people prefer us to check caps against the template automatically.
6730 2007-05-21 Wim Taymans <wim@fluendo.com>
6732 * libs/gst/base/gstbasetransform.h:
6733 Fix macro for locking/unlocking the transform lock.
6735 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6737 * docs/plugins/tmpl/.cvsignore:
6740 2007-05-18 Edward Hervey <edward@fluendo.com>
6742 * plugins/elements/gstqueue.c: (gst_queue_loop):
6743 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6744 for the subtle art of warning a potentially blocking thread that it
6745 should check the source pad return value, and relay the information
6748 2007-05-18 Edward Hervey <edward@fluendo.com>
6750 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6751 Release the queue lock !
6753 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6755 * docs/libs/gstreamer-libs-sections.txt:
6756 Add the two new controller functions to the appropiate places.
6758 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6760 reviewed by: Stefan Kost <ensonic@users.sf.net>
6762 * libs/gst/controller/gstcontroller.c:
6763 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6764 (_gst_controller_get_property), (_gst_controller_set_property),
6765 (_gst_controller_init), (_gst_controller_class_init):
6766 * libs/gst/controller/gstcontroller.h:
6767 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6768 (gst_object_get_control_rate), (gst_object_set_control_rate):
6769 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6770 Add API that provides sync suggestion timestamps for elements that
6771 call gst_object_sync_values() from which those elements can subdivide
6772 their processing loop to get the best results for the controlled
6773 properties. For now it just suggests last_sync + control_rate as
6774 new timestamp but this will be improved in the future.
6776 While doing that change the control-rate property to a GstClockTime
6777 from guint and change it's meaning from samples to nanoseconds as
6778 the GstController doesn't know anything about sampling rate. Strictly
6779 speaking this breaks ABI but as the control-rate property didn't do
6780 anything in the past and as such couldn't be used this should be no
6783 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6785 reviewed by: Stefan Kost <ensonic@users.sf.net>
6787 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6788 (gst_controller_unset_all):
6789 * libs/gst/controller/gstcontrollerprivate.h:
6790 * libs/gst/controller/gstinterpolation.c:
6791 (gst_controlled_property_find_control_point_node):
6792 Save last synced value from the list to continue searching from there
6793 in future syncs. This speeds everything up a bit.
6795 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6797 reviewed by: Stefan Kost <ensonic@users.sf.net>
6799 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6800 (gst_control_point_find), (gst_controlled_property_new),
6801 (gst_control_point_free), (gst_controlled_property_free),
6802 (gst_controller_set), (gst_controller_set_from_list),
6803 (gst_controller_unset), (gst_controller_unset_all),
6804 (gst_controller_sync_values):
6805 * libs/gst/controller/gstcontroller.h:
6806 * libs/gst/controller/gstcontrollerprivate.h:
6807 * libs/gst/controller/gstinterpolation.c:
6808 (gst_controlled_property_find_control_point_node),
6809 (interpolate_none_get), (interpolate_trigger_get):
6810 Add a new private GstControlPoint struct which "inherits" from
6811 GstTimedValue to allow different interpolators to store internal
6812 values next to each control point. From the outside everything is
6813 still a GstControlPoint so we don't loose binary compatibility.
6814 Also fixup all the GValue handling to not leak GValues or list nodes.
6815 * tests/check/libs/controller.c: (GST_START_TEST):
6816 Free the list nodes and GValues in the controller_misc test.
6818 2007-05-17 Edward Hervey <edward@fluendo.com>
6823 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6825 * gst/gstplugin.c: (gst_plugin_load_file):
6826 If we fail to load a plugin because of unresolved symbols or missing
6827 libraries and spew a warning to stderr, we may just as well mention
6828 which plugin it was that failed to load.
6830 2007-05-13 David Schleef <ds@schleef.org>
6832 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6833 handles the case when ENABLE_GTK_DOC is false, and installs
6834 the prebuilt documentation. So gtk-doc subdirs are
6835 unconditionally enabled. Fixes: #349099.
6837 2007-05-13 David Schleef <ds@schleef.org>
6839 * gst/gstutils.h: Reword some documentation.
6841 2007-05-12 David Schleef <ds@schleef.org>
6843 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6844 do anything with the passed "module" parameter, so remove it.
6845 Allows removal of additional vestigal code.
6847 2007-05-12 David Schleef <ds@schleef.org>
6850 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6851 Switch to using g_stat() because it's more portable.
6853 2007-05-12 David Schleef <ds@schleef.org>
6856 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6857 parsing for embedded systems.
6858 * gst/gstelementfactory.c:
6859 Allow gst_element_register() to be called with plugin==NULL.
6860 Did nobody notice that static elements were broken?
6862 2007-05-12 Wim Taymans <wim@fluendo.com>
6864 * tools/gst-launch.c: (event_loop):
6865 Give more interesting info when buffering starts and stops.
6866 Fix case where buffering starts but we fail to update the buffering flag
6867 because the target state is not PLAYING.
6869 2007-05-12 Wim Taymans <wim@fluendo.com>
6871 * plugins/elements/gstqueue.c: (gst_queue_init),
6872 (gst_queue_finalize), (update_time_level), (apply_segment),
6873 (apply_buffer), (gst_queue_locked_flush),
6874 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6875 (gst_queue_handle_sink_event), (gst_queue_chain),
6876 (gst_queue_push_one), (gst_queue_loop):
6877 * plugins/elements/gstqueue.h:
6878 Refactor an cleanup queue a bit.
6879 Do better time level calculations that also work when the srcpad is not
6881 Remove some unneeded debug lines.
6883 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6884 Added testcase for time level measurement.
6885 Try to make some stuff more racefree.
6887 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6889 * gst/gsturi.c: (gst_element_make_from_uri):
6890 Don't leak plugin feature.
6892 * tests/check/Makefile.am:
6893 * tests/check/gst/.cvsignore:
6894 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6895 Add brain-dead unit test.
6897 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6899 Patch by: Jeroen Wouters <woutersj at gmail com>
6901 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6902 Treat protocol strings in a case-insensitive way (#437563).
6904 2007-05-11 Michael Smith <msmith@fluendo.com>
6906 * gst/gstplugin.c: (gst_plugin_load_file):
6907 * gst/gstregistry.c: (gst_registry_scan_path_level):
6908 Don't print a g_warning for any failure to load a shared object.
6909 Instead, push this down into gstplugin.c, and warn _only_ if we
6910 failed to open the module (i.e. failure to link).
6911 Avoids warnings on normal, working, non-plugin .so files.
6913 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6915 * gst/gstplugin.c (gst_plugin_load_file):
6916 * gst/gstregistry.c (GST_CAT_DEFAULT,
6917 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6918 Print a g_warning if there was an error when loading a plugins during
6919 registry scan. The shuld help beginners starting with gst-plugin
6922 2007-05-10 Wim Taymans <wim@fluendo.com>
6924 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6925 (update_time_level), (gst_queue_locked_flush),
6926 (gst_queue_handle_sink_event), (gst_queue_chain),
6927 (gst_queue_push_one), (gst_queue_loop):
6928 * plugins/elements/gstqueue.h:
6929 Be smarter when calculating the current amount of data in the queue by
6930 measuring the difference between start and end timestamps (in running
6931 time) inside the queue. Fixes #432876.
6932 API: GstQueue::pushing to notify elements that we are pushing data again
6933 since the running signal is rather broken for this purpose.
6935 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6937 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6938 gst_queue_base_init, gst_queue_init):
6941 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6943 * win32/common/libgstreamer.def:
6944 Add new exported functions.
6945 * win32/vs6/grammar.dsp:
6946 Use grammar pre-generated files.
6948 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6950 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6953 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6955 * gst/gstutils.c: (gst_parse_bin_from_description):
6957 Maintain API and ABI when --disable-parse is used. Now that
6958 we have an appropriate error code, we can just return NULL and the
6959 appropriate error when gst_parse_launch() is used despite it having
6960 been disabled (#342564).
6962 * tests/check/Makefile.am:
6963 * tests/check/pipelines/.cvsignore:
6964 * tests/check/pipelines/parse-disabled.c:
6965 Make sure these functions exist and return NULL plus a GError when
6966 --disable-parse is used.
6968 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6970 * tests/benchmarks/complexity.c: (main):
6971 * tests/benchmarks/mass-elements.c: (main):
6972 Set a good example and don't leak messages.
6974 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6976 * docs/gst/Makefile.am:
6977 * docs/libs/Makefile.am:
6978 Correct fixxrefs options.
6980 * docs/plugins/Makefile.am:
6981 * docs/plugins/gstreamer-plugins-docs.sgml:
6982 * docs/plugins/gstreamer-plugins-sections.txt:
6983 * plugins/elements/Makefile.am:
6984 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6985 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6986 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6987 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6988 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6989 _GstCapsFilterClass, trans_class):
6990 * plugins/elements/gstelements.c (name, rank, type, _elements):
6991 * plugins/elements/gstidentity.c
6992 (gst_identity_check_imperfect_timestamp,
6993 gst_identity_check_imperfect_offset):
6994 Document capsfilter and add doc-blurb to identity.
6996 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6998 * libs/gst/controller/gstcontroller.c:
6999 (gst_controlled_property_set_interpolation_mode):
7000 * libs/gst/controller/gstinterpolation.c:
7001 Don't crash if someone tries to set an interpolation mode that
7002 is invalid or that isn't supported yet. Fixes #422295.
7004 * tests/check/libs/controller.c: (GST_START_TEST),
7005 (gst_controller_suite):
7006 Add a test case for the above.
7008 2007-05-03 Edward Hervey <edward@fluendo.com>
7010 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7011 Properly set the last_stop position on GstSegment. This will only happen
7012 if there is a buffer to push out.
7014 2007-05-03 Wim Taymans <wim@fluendo.com>
7016 * libs/gst/base/gstbasetransform.c:
7017 (gst_base_transform_buffer_alloc):
7018 always_in_place does not mean that the sink and source caps are the
7019 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7021 2007-05-03 Wim Taymans <wim@fluendo.com>
7023 * docs/libs/gstreamer-libs-sections.txt:
7024 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7025 (gst_base_src_default_query), (gst_base_src_get_range):
7026 * libs/gst/base/gstbasesrc.h:
7027 API: gst_base_src_query_latency(). Added method so that subclasses can
7028 easily get the latency values of the base source class.
7030 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7032 * tools/gst-inspect.c (print_implementation_info):
7035 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7037 * tools/Makefile.am:
7038 * tools/gst-launch.1.in:
7039 Don't create a customised man page based on the host architecture,
7040 describe the default registry path generically. That way the man
7041 page is the same for all architectures and packagers have one
7042 multilib issue less to deal with. Fixes #434926.
7044 2007-05-02 Wim Taymans <wim@fluendo.com>
7047 Fix documentation as spotted by rg on IRC.
7049 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7052 Improve docs for gst_element_{link,unlink}.
7054 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7056 * docs/design/part-events.txt:
7057 * docs/design/part-overview.txt:
7061 * libs/gst/base/gstbasesink.c:
7062 Typo fixes; minor docs addition.
7064 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7066 * docs/gst/gstreamer-sections.txt:
7067 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7068 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7070 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7071 or src that supports a given URI protocol exists.
7073 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7075 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7076 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7077 Set the location to NULL if "file://" is set as URI. Otherwise
7078 some random previous URI would still be set if "file://" is
7079 set on an already used filesink/filesrc.
7081 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7083 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7084 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7085 Special case the "file://" URI as as this is used by some
7086 applications to test with gst_element_make_from_uri if there's
7087 an element that supports the URI protocol.
7088 Also move the g_path_is_absolute() check for the location part
7089 of the URI to also check this for "file://localhost/bla" URIs.
7091 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7093 * docs/gst/gstreamer-sections.txt:
7094 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7096 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7098 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7100 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7102 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7103 (gst_registry_binary_load_pad_template),
7104 (gst_registry_binary_load_plugin),
7105 (gst_registry_binary_read_cache):
7106 * gst/gstregistrybinary.h:
7107 Implement no-mmap alternative for registry reading. Do code cleanups.
7108 Add more comments about avoiding strdups for all text data. Comments
7111 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7113 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7114 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7115 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7116 Comment structs and reformat to fix the build (that stuff should go
7117 into a priv. header).
7119 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7121 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7122 (gst_registry_binary_load_feature):
7123 * gst/gstregistrybinary.h:
7124 Refactor so that we can implement multiple features. Add support for
7125 TypeFindFactory features.
7127 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7129 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7132 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7134 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7136 * gst/gstbin.c: (gst_bin_element_set_state),
7137 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7138 (bin_handle_async_done), (gst_bin_handle_message_func):
7139 Fix build with --gst-disable-gst-debug
7141 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7143 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7144 Make sure streaming has finished before calling the ::stop() vfunc,
7145 since that vfunc might clear state which is being used in the
7146 streaming thread. This fixes a race that caused crashes in
7147 audioresample when shutting down a pipeline (#420106).
7149 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7151 * docs/gst/gstreamer-sections.txt:
7152 That was one byte missing.
7154 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7157 * docs/gst/gstreamer-sections.txt:
7159 * gst/gstconfig.h.in:
7160 * gst/gstobject.c: (gst_object_class_init),
7161 (gst_signal_object_class_init):
7163 2nd attempt to have a xml-less build as a joined effort of #413123
7166 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7168 * docs/design/draft-tagreading.txt:
7169 Added open issues/thoughts to draft.
7171 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7173 * gst/parse/grammar.tab.pre.c:
7174 * gst/parse/grammar.tab.pre.h:
7175 * gst/parse/lex._gst_parse_yy.pre.c:
7176 Update the prebuild parser sources.
7178 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7180 * gst/parse/Makefile.am:
7181 And now fix the building of the flex sources. Now everything should
7184 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7186 * gst/parse/Makefile.am:
7187 Now hopefully fix the build failures by setting proper rule
7188 dependencies and moving instead of copying.
7190 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7192 * tests/benchmarks/complexity.gnuplot:
7193 * tests/benchmarks/complexity.scm:
7194 * tests/benchmarks/mass-elements.gnuplot:
7195 * tests/benchmarks/mass-elements.scm:
7196 Total licensification.
7198 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7200 * gst/parse/Makefile.am:
7201 Fix the build by correcting the rule that gave wrong files to flex.
7203 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7205 * tests/benchmarks/complexity.c:
7206 * tests/benchmarks/mass-elements.c:
7207 Change licence to LGPL as granted by Benjamin and Andy.
7209 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7211 * gst/parse/Makefile.am:
7212 Add correct grammar.tab.h dependency if compiling without new enough
7213 flex. Fixes #431150.
7215 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7217 * gst/parse/Makefile.am:
7218 Fix typo and use outdated sources if the flex/bison sources are newer
7219 than the pregenerated ones but flex is too old. Print a warning in
7220 that case. This should fix the build on the build bot.
7222 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7224 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7225 * gst/parse/Makefile.am:
7226 * gst/parse/grammar.y:
7227 * gst/parse/parse.l:
7228 Make the parser reentrant and recursively callable. This requires flex
7229 >= 2.5.31, for older versions pregenerated sources are used as we
7230 can't bump the build dependency. Finally fixes #349180.
7232 * gst/gstparse.c: (gst_parse_launch):
7233 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7236 * docs/gst/Makefile.am:
7237 * docs/gst/Makefile.am:
7238 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7239 (__gst_parse_strfree), (__gst_parse_link_new),
7240 (__gst_parse_link_free), (__gst_parse_chain_new),
7241 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7242 (gst_parse_element_set), (gst_parse_free_link),
7243 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7244 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7245 (_gst_parse_launch):
7246 * gst/parse/grammar.tab.pre.h:
7247 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7248 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7249 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7250 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7251 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7252 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7253 (_gst_parse_yypop_buffer_state),
7254 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7255 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7256 (yy_fatal_error), (_gst_parse_yyget_extra),
7257 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7258 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7259 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7260 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7261 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7262 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7263 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7264 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7265 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7266 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7267 (_gst_parse_yyfree):
7268 If the installed flex version is too old use pre-generated parser
7269 sources. These pre-generated parser sources are always updated when
7270 the actual flex/bison sources change but require everybody who wants
7271 to change something in the parser to have flex >= 2.5.31 installed.
7273 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7275 * common/m4/gst-gettext.m4:
7276 * gst/gst-i18n-lib.h:
7277 Make --disable-nls to work
7279 2007-04-17 Wim Taymans <wim@fluendo.com>
7281 * gst/gstconfig.h.in:
7282 Revert previous change that broke the build.
7284 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7288 * gst/gstconfig.h.in:
7289 Drop libxml2 dependency when building with
7290 --enable-binary-registry --disable-loadsave
7292 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7294 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7295 (gst_registry_binary_read_cache):
7296 * gst/gstregistrybinary.h:
7297 Remove unnecessary <sys/mman.h> include which broke the win32 build
7298 with MingW; move includes from header file to .c file, even if the
7299 header file isn't installed; use g_strerror() where UTF-8 strings
7300 are expected, such as in GST_DEBUG messages.
7302 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7304 * docs/libs/gstreamer-libs-sections.txt:
7305 Remove bogus addition for API I didn't end up keeping.
7307 * libs/gst/base/gstbasesrc.h:
7308 Mention Since: 0.10.13 in the documentation.
7310 Add the API keyword to the previous ChangeLog entry.
7312 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7314 * docs/libs/gstreamer-libs-sections.txt:
7315 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7316 (gst_base_src_default_prepare_seek_segment),
7317 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7318 * libs/gst/base/gstbasesrc.h:
7319 Allow basesrc derived classes to execute seeks in other formats
7320 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7321 to prepare the GstSegment in any format that their perform_seek method
7322 will be able to understand. The default implementation provides the
7323 old behaviour of attempting to convert the seek offsets to the
7324 configured native format.
7326 API: basesrc::prepare_seek_segment vmethod.
7328 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7330 * gst/gstelement.c: (gst_element_get_state_func):
7331 Don't output the same debug statement twice.
7333 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7334 (gst_adapter_peek), (gst_adapter_take_buffer):
7335 Optimise the case where we have buffers at the head of the queue that
7336 can be joined quickly (because they're contiguous sub-buffers) by
7337 merging them together rather than copying data out into new memory.
7339 * gst/parse/grammar.y:
7340 * tests/check/pipelines/parse-launch.c:
7341 Fix a leak in an error path for parse_launch, and add a check
7342 for it to the testsuite.
7344 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7346 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7347 Don't deadlock when releasing a pad - gst_pad_set_active may try
7348 and take the multiqueue lock too.
7350 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7352 * gst/gsterror.c: (_gst_core_errors_init):
7354 API: add GST_CORE_ERROR_DISABLED (#392804).
7356 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7358 * docs/faq/gst-uninstalled:
7359 don't get empty paths on the PATH variables
7360 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7361 Don't format for the uncommon terminal width of 84 characters.
7363 2007-04-06 Wim Taymans <wim@fluendo.com>
7365 * gst/gstpipeline.c: (reset_stream_time),
7366 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7367 Only try to select a different pipeline clock when we went back to
7368 PAUSED and not when we merely got flushed.
7370 2007-04-05 Michael Smith <msmith@fluendo.com>
7372 * tools/gst-launch.1.in:
7373 fractions are better supported in gstreamer than ractions, so
7374 suggest using those.
7376 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7378 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7382 Added Danish translation.
7384 2007-04-05 Wim Taymans <wim@fluendo.com>
7386 * libs/gst/base/gstbasesink.c:
7387 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7388 Fix leak caused when refusing newsegment after EOS.
7390 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7391 (gst_fake_sink_init), (gst_fake_sink_set_property),
7392 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7393 (gst_fake_sink_render), (gst_fake_sink_change_state):
7394 * plugins/elements/gstfakesink.h:
7395 Add num-buffers property to make the element generate EOS after a
7396 configurable amount of buffers.
7397 API: fakesink::num-buffers property.
7399 * tests/check/elements/fakesink.c: (GST_START_TEST),
7401 Fix GstBus leak in test.
7402 Test for fakesink num-buffers.
7404 2007-04-05 Wim Taymans <wim@fluendo.com>
7406 * libs/gst/base/gstbasesink.c:
7407 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7408 (gst_base_sink_change_state):
7409 Don't accept anything after an EOS, return UNEXPECTED instead.
7411 * tests/check/elements/fakesink.c: (GST_START_TEST),
7413 Unit test for new EOS behaviour.
7415 2007-04-05 Wim Taymans <wim@fluendo.com>
7417 * gst/gstelement.c: (gst_element_get_request_pad):
7418 Make padtemplates also work when they don't contain %s or %d.
7420 2007-04-05 Wim Taymans <wim@fluendo.com>
7422 * docs/gst/gstreamer-sections.txt:
7423 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7424 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7426 Improve _adjust_unlocked() so that it overflows less.
7427 Add gst_clock_unadjust_unlocked to convert from external time to
7428 internal time based on calibration.
7429 Add some more debug.
7430 API: GstClock::gst_clock_unadjust_unlocked()
7432 2007-04-03 Wim Taymans <wim@fluendo.com>
7434 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7436 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7437 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7438 when releasing sink pad. Fixes #425400.
7440 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7442 * docs/random/ensonic/dynlink.txt:
7443 More work on proposal for new core api.
7445 * docs/libs/gstreamer-libs-sections.txt:
7446 * libs/gst/base/gstbasetransform.h:
7447 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7449 * libs/gst/controller/gstcontroller.c:
7450 (on_object_controlled_property_changed),
7451 (gst_controller_sync_values),
7452 (gst_controller_set_interpolation_mode):
7453 * libs/gst/controller/gstcontroller.h:
7454 Less verbose logging add docs for unimplemented parts and correctly
7455 return when using unavailable parts.
7457 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7459 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7460 Move all the debug to the CLOCK category, and associate it with
7463 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7465 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7466 Make take_buffer a bit quicker by removing redundant checks
7467 caused by calling gst_adapter_take.
7469 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7471 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7474 * tests/check/Makefile.am:
7475 * tests/check/elements/.cvsignore:
7476 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7477 (GST_START_TEST), (multiqueue_suite):
7478 Add some dead simple unit tests for the 'multiqueue' element
7479 (some bits don't work yet and are disabled for now).
7481 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7483 * gst/gstelement.c: (gst_element_get_request_pad),
7484 (gst_element_class_get_request_pad_template):
7485 Make gst_element_get_request_pad() create request pads only for
7486 request pad templates and not for, say, sometimes pad templates.
7488 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7490 * docs/design/draft-klass.txt:
7491 Add example that needs more thinking.
7493 * docs/design/draft-missing-plugins.txt:
7494 More thoughts about wrapper plugins.
7496 * docs/random/ensonic/embedded.txt:
7497 * docs/random/ensonic/profiling.txt:
7500 2007-03-25 Wim Taymans <wim@fluendo.com>
7502 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7503 (gst_base_src_loop):
7504 Only push the segment events in the PLAYING state for live sources.
7506 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7508 * gst/gstpipeline.c: (gst_pipeline_change_state):
7509 Modify the clock distribution path in PAUSED->PLAYING so that we
7510 never attempt to choose a new clock unless we're actually leaving
7511 the PAUSED state for the first time. This prevents choosing a
7512 different clock when the state_change gets called for a 2nd time due
7513 to some element doing an async state change.
7515 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7517 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7518 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7519 (gst_pad_chain_unchecked), (gst_pad_push):
7520 Revert last commit. This needs some more thoughts.
7522 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7524 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7525 (gst_pad_chain_unchecked), (gst_pad_push):
7526 Check in set_caps if the caps are compatible with the pad and remove
7527 two functions that are redundant now. Fixes #421543.
7529 2007-03-22 Wim Taymans <wim@fluendo.com>
7531 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7532 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7533 Unref some more to make valgrind happy.
7535 2007-03-22 Wim Taymans <wim@fluendo.com>
7537 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7538 (gst_system_clock_id_wait_jitter),
7539 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7540 Fix anoying regression that survived a few releases. When adding an
7541 async entry while blocking on a sync entry, the sync entry will unblock
7542 but still be busy, so it should continue to wait instead of returning
7544 Add some comments here and there.
7546 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7547 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7548 Add testcase for this.
7550 2007-03-22 Wim Taymans <wim@fluendo.com>
7552 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7553 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7554 WRONG_STATE and can silently pause the task. All other cases should
7557 2007-03-22 Wim Taymans <wim@fluendo.com>
7559 Patch by: Ville Syrjala <syrjala at sci dot fi>
7561 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7562 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7565 2007-03-21 Michael Smith <msmith@fluendo.com>
7567 * docs/pwg/advanced-types.xml:
7568 Fix some errors in the typefinding docs pointed out on irc.
7570 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7572 * libs/gst/base/gstbasesrc.c:
7573 Clarify FIXME comment in the face of having added unlock_stop()
7575 2007-03-21 Wim Taymans <wim@fluendo.com>
7577 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7578 Prepare for release where we warn against possible app breakage in the
7579 case of live pipelines along with an env var to enable/disable live
7580 preroll mode (GST_COMPAT=[no-]live-preroll).
7582 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7584 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7585 So we should use correct constants for checking for None offset.
7587 2007-03-20 Wim Taymans <wim@fluendo.com>
7589 * docs/design/part-block.txt:
7590 Mention the fact that the newly switched element should be set to at
7593 2007-03-20 Wim Taymans <wim@fluendo.com>
7596 Fix compilation with registry disabled as spotted by Saur.
7598 2007-03-20 Wim Taymans <wim@fluendo.com>
7600 Patch by: Olivier Crete <tester at tester dot ca>
7602 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7603 Look at the pending state too when syncing the element state to the
7604 parent. Fixes #420133.
7606 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7608 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7609 (gst_base_sink_change_state):
7610 * libs/gst/base/gstbasesink.h:
7611 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7612 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7613 (gst_base_src_deactivate):
7614 * libs/gst/base/gstbasesrc.h:
7615 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7616 for sub-classes to correctly clear any state they set trying to
7617 unlock, such as clearing out unlock commands from a command fd.
7618 API: basesrc::unlock_stop
7619 API: basesink::unlock_stop
7621 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7622 (gst_fd_sink_render), (gst_fd_sink_unlock),
7623 (gst_fd_sink_unlock_stop):
7624 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7625 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7626 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7628 Implement unlock_stop in fdsrc and fdsink.
7629 Implement seeking in fdsrc when a seekable fd is passed, as in
7630 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7632 2007-03-19 Wim Taymans <wim@fluendo.com>
7634 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7636 * gst/gstelement.c: (gst_element_class_init):
7637 Fix pad-added and pad-removed signal signatures so that the pad type is
7638 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7640 2007-03-19 Wim Taymans <wim@fluendo.com>
7642 * docs/gst/gstreamer-sections.txt:
7643 Add new element field and method.
7645 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7646 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7647 (gst_bin_recalc_state), (gst_bin_get_state_func),
7648 (gst_bin_element_set_state), (gst_bin_change_state_func),
7649 (gst_bin_continue_func), (bin_bus_handler),
7650 (bin_push_state_continue), (bin_handle_async_start),
7651 (bin_handle_async_done), (gst_bin_handle_message_func):
7652 Make async state changes a bit smarter by using new ASYNC_START and
7653 ASYNC_DONE messages. This reduces the number of times we run the state
7654 recalculation thread.
7655 Don't change state of element with a pending ASYNC_START message.
7656 Deprecate STATE_DIRTY messages.
7658 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7659 (gst_element_get_state_func), (gst_element_continue_state),
7660 (gst_element_lost_state), (gst_element_set_state_func),
7661 (gst_element_change_state):
7663 Keep the state that was last set by the app in a new element field.
7664 Don't allow state changes when handling an element event.
7665 Post ASYNC_START and ASYNC_DONE messages.
7666 Change lost_state so that we go to PAUSED and wait for the parent to set
7667 us to PLAYING again (so latency calculation can be performed)
7668 Export gst_element_change_state() method so that subclasses can use it.
7669 API: gst_element_change_state()
7670 API: GST_STATE_TARGET
7672 * gst/gstpipeline.c: (gst_pipeline_class_init),
7673 (reset_stream_time), (gst_pipeline_change_state),
7674 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7675 Using the new ASYNC_START message we can reset the base_time when
7676 needed. This can then be used to implement base_time redistribution in
7677 flushing seeks so that we can remove the explicit seek handling.
7678 Perform latency query and configuration when going to PLAYING.
7680 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7681 (gst_base_sink_query), (gst_base_sink_change_state):
7682 Post new ASYNC_START/ASYNC_DONE messages.
7684 * tests/check/generic/sinks.c: (GST_START_TEST):
7685 Fix test because the bin will not set the async element to PLAYING right
7688 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7689 Make the message check a little stronger.
7690 Handle ASYNC messages.
7692 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7693 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7694 Expect ASYNC_DONE messages.
7696 2007-03-19 Wim Taymans <wim@fluendo.com>
7698 * docs/gst/gstreamer-sections.txt:
7699 * gst/gstmessage.c: (gst_message_new_async_start),
7700 (gst_message_new_async_done), (gst_message_parse_info),
7701 (gst_message_parse_async_start):
7703 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7706 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7708 * tools/gst-inspect.c:
7709 (print_plugin_automatic_install_info_codecs):
7710 Now that we don't check for the 'Codec' keyword any longer in the
7711 klass, we shouldn't spew a warning if the klass isn't a decoder or
7712 encoder (since it might be a Source/Network, for example).
7714 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7716 * tools/gst-inspect.c:
7717 (print_plugin_automatic_install_info_codecs):
7718 Don't require decoder/demuxer/depayloader elements or
7719 encoder/muxer/paylader elements to have 'Codec' as part of their
7720 factory class string when introspecting a plugin's capabilities.
7721 draft-klass.txt mentions that it might be removed in future, and
7722 flump3dec doesn't have it as part of its class string, so chances
7723 are others might also not have it.
7725 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7747 Update translations from translation project
7749 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7751 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7752 (gst_child_proxy_set_property):
7753 Invert precondition check to be alike the ones in the mimiced gobject
7756 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7758 * docs/design/draft-tagreading.txt:
7759 * docs/random/ensonic/audiobaseclasses.txt:
7760 Do some Architect work.
7762 * gst/gstobject.c: (gst_object_set_name):
7766 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7768 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7770 * gst/gstsystemclock.c: (gst_system_clock_init),
7771 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7772 Defer starting the async system clock thread until the first async
7773 wait is scheduled. Fixes #414986.
7775 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7777 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7778 (gst_single_queue_free):
7779 Fix small leak (free GstSingleQueue structure too, not only contents).
7781 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7783 * gst/gstbin.c:(gst_bin_add):
7784 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7785 * win32/common/libgstbase.def:
7786 * win32/common/libgstreamer.def:
7787 Add new exported functions.
7789 2007-03-09 Wim Taymans <wim@fluendo.com>
7791 * docs/plugins/gstreamer-plugins-sections.txt:
7794 2007-03-09 Wim Taymans <wim@fluendo.com>
7796 * docs/gst/gstreamer-sections.txt:
7797 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7799 Add metadata copy functions. Fixes #393099.
7800 API: gst_buffer_copy_metadata()
7802 * gst/gstutils.c: (gst_buffer_stamp):
7803 * libs/gst/base/gstbasetransform.c:
7804 (gst_base_transform_prepare_output_buffer):
7805 Use new metadata copy functions.
7807 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7809 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7810 (gst_identity_init), (gst_identity_check_perfect),
7811 (gst_identity_check_imperfect_timestamp),
7812 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7813 (gst_identity_set_property), (gst_identity_get_property):
7814 * plugins/elements/gstidentity.h:
7815 Separate out check-imperfect-timestamp and check-imperfect-offset.
7816 Put back check-perfect as it was to keep compatibility.
7818 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7820 * gst/gstelement.c: (gst_element_dispose):
7821 There's no need to warn if VOID_PENDING is not NONE here, as
7822 long as the state is NULL it's ok, and that's checked immediately
7825 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7827 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7828 Fix check for perfect stream to ignore buffers with -1
7829 offsets/offset ends when checking data contiguity.
7831 2007-03-08 Wim Taymans <wim@fluendo.com>
7833 * tools/gst-launch.c: (event_loop):
7834 Print INFO messages.
7836 2007-03-08 Wim Taymans <wim@fluendo.com>
7838 * libs/gst/base/gstbasetransform.c:
7839 (gst_base_transform_sink_eventfunc),
7840 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7841 (gst_base_transform_activate):
7842 * libs/gst/base/gstbasetransform.h:
7843 Add support for dropping buffers with custom GstFlowReturn.
7844 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7845 buffers or dropped buffers.
7847 * docs/libs/gstreamer-libs-sections.txt:
7848 docs for new custom return code.
7850 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7851 Use drop support in base class to implement drop-probability.
7853 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7855 * gst/gst.c: (load_plugin_func):
7856 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7857 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7858 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7859 Remove newlines at end of debug log strings.
7861 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7863 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7864 Only post bus message at max, once per buffer received.
7866 2007-03-07 Wim Taymans <wim@fluendo.com>
7868 * docs/design/Makefile.am:
7869 * docs/design/part-synchronisation.txt:
7870 Add doc about synchronisation
7872 * docs/design/draft-latency.txt:
7873 * docs/design/part-TODO.txt:
7874 * docs/design/part-clocks.txt:
7875 * docs/design/part-events.txt:
7876 * docs/design/part-gstbus.txt:
7877 * docs/design/part-gstpipeline.txt:
7878 * docs/design/part-live-source.txt:
7879 * docs/design/part-messages.txt:
7880 * docs/design/part-overview.txt:
7881 * docs/design/part-streams.txt:
7882 * docs/design/part-trickmodes.txt:
7883 Documentation updates.
7885 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7888 Update the doap file.
7890 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7892 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7893 Rename non-perfect to imperfect for Mike and for the sanctity of the
7895 Also make sure bus message gets emitted for data-incontiguities.
7897 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7899 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7900 (gst_identity_start):
7901 * plugins/elements/gstidentity.h:
7902 Emit bus message if check-perfect is true and we encounter a
7903 non-perfect stream between 2 consecutive buffers.
7906 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7911 === release 0.10.12 ===
7913 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7916 releasing 0.10.12, "Inevitable Demise"
7918 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7921 Version 0.10.11.2 (0.10.12 pre-release)
7922 Bump libtool versioning.
7924 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7926 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7927 Log flow-names and not numbers.
7929 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7932 Convert to new AG_GST style.
7934 2007-02-28 Wim Taymans <wim@fluendo.com>
7936 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7937 Don't unref query twice.
7939 2007-02-28 Wim Taymans <wim@fluendo.com>
7941 * gst/gstvalue.c: (gst_value_transform_object_string),
7942 (_gst_value_initialize):
7943 Implement GstObject -> string transform so we print object names
7944 when serializing GValues containing GstObjects.
7946 2007-02-28 Wim Taymans <wim@fluendo.com>
7948 * docs/gst/gstreamer-sections.txt:
7949 Add new stuff to docs.
7951 2007-02-28 Wim Taymans <wim@fluendo.com>
7953 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7954 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7955 (gst_base_sink_change_state):
7956 Improve latency query code.
7957 Don't leak latency events.
7959 * tests/check/gst/gstbin.c: (GST_START_TEST):
7962 2007-02-28 Wim Taymans <wim@fluendo.com>
7964 * gst/gstelement.c: (gst_element_message_full),
7965 (gst_element_get_state_func):
7967 Improve docs a little. Added Since: for new macro.
7969 * gst/gstobject.c: (gst_object_sink):
7970 * gst/gstpipeline.c: (gst_pipeline_change_state),
7971 (gst_pipeline_set_new_stream_time):
7972 * gst/gstpipeline.h:
7973 Improve debugging and docs.
7975 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7978 2007-02-28 Wim Taymans <wim@fluendo.com>
7980 * gst/gstelement.c: (gst_element_message_full),
7981 (gst_element_set_locked_state), (gst_element_get_state_func),
7982 (gst_element_change_state):
7983 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7984 Documentation updates.
7985 Small code cleanups.
7987 * gst/gstmessage.c: (gst_message_new_info),
7988 (gst_message_parse_info):
7990 API: gst_message_new_info()
7991 API: gst_message_parse_info()
7992 Add INFO message create and parse code.
7994 2007-02-28 Wim Taymans <wim@fluendo.com>
7996 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7997 (bin_query_latency_done):
7998 Also report the live parameter of a latency query.
8000 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8002 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8003 Copy the current generic/states example from -base and adapt so
8004 we can use the exact same code everywhere.
8005 Check a STATES_IGNORE_ELEMENTS env var which can be used
8006 to ignore certain element factories for this test, which is
8007 what is being done in -base
8008 * tests/check/Makefile.am:
8009 Mention this environment variable.
8011 2007-02-27 Wim Taymans <wim@fluendo.com>
8013 * docs/gst/gstreamer-sections.txt:
8014 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8015 (gst_bus_timed_pop), (gst_bus_pop):
8017 API: gst_bus_timed_pop()
8018 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8019 message to arrive on the bus.
8021 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8023 Two unit tests for new _timed_pop() function.
8025 2007-02-23 Wim Taymans <wim@fluendo.com>
8027 * gst/gstpipeline.c: (gst_pipeline_change_state),
8028 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8029 Don't ref a NULL clock in _provide_clock_func().
8030 Don't allow an INVALID delay.
8031 Don't try to calculate base_time with an invalid start_time.
8032 Also distribute and notify a NULL clock when it was selected.
8034 * tools/gst-launch.c: (event_loop):
8035 Don't crash when a NULL clock was selected in the pipeline.
8037 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8039 * docs/design/Makefile.am:
8040 * docs/design/draft-missing-plugins.txt:
8041 * docs/random/draft-missing-plugins.txt:
8042 Some small updates: update plugin system identifier prefix
8043 ('gstreamer.net' to 'gstreamer'), mention our new install
8044 API in libgstbaseutils rather than libgimme-codec, add
8045 reference to the online docs.
8047 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8049 * win32/common/config.h:
8050 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8051 use moap cl ci to only check in what is mentioned in the ChangeLog.
8053 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8055 * docs/gst/gstreamer-sections.txt:
8057 Fix up documentation to link to the correct GstGError section.
8058 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8060 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8062 * tools/gst-launch.c: (event_loop):
8063 Make sure that we actually show the important message part of a
8065 No need to check if the gerror is not NULL to free; first of all
8066 g_free accepts NULL; and second the default error handler would
8067 segfault if gerror was NULL.
8069 2007-02-21 Wim Taymans <wim@fluendo.com>
8071 * docs/gst/gstreamer-sections.txt:
8072 Removed docs as well.
8074 2007-02-21 Wim Taymans <wim@fluendo.com>
8076 * gst/gstmessage.c: (gst_message_parse_duration):
8078 Remove new messages for release.
8080 2007-02-20 Wim Taymans <wim@fluendo.com>
8082 * docs/design/part-gstghostpad.txt:
8083 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8084 (gst_ghost_pad_new_full):
8085 Make the ghostpad a parent of the internal pad again for better backward
8086 compatibility. Don't write code that relies on this however.
8088 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8089 (gst_pad_link_check_hierarchy):
8090 Require that parents should be GstElements in the hierarchy check.
8092 2007-02-20 Wim Taymans <wim@fluendo.com>
8094 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8095 (gst_bin_change_state_func), (bin_query_min_max_init),
8096 (bin_query_latency_fold), (bin_query_latency_done),
8099 Implement latency query.
8101 2007-02-20 Wim Taymans <wim@fluendo.com>
8103 * docs/design/part-gstghostpad.txt:
8104 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8105 (gst_ghost_pad_internal_do_activate_push),
8106 (gst_ghost_pad_internal_do_activate_pull),
8107 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8108 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8109 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8110 Do not set the internal pad as a parent anymore so we can avoid
8111 hierarchy linking errors when the ghostpad has no parent yet. This also
8112 fixes failed activation because of unlinked internal pads, which in
8113 turn fixes the impossible case where you have to activate a pad before
8114 you can add it to a running element.
8117 * gst/gstpad.c: (pre_activate), (post_activate),
8118 (gst_pad_set_active), (gst_pad_activate_pull),
8119 (gst_pad_activate_push), (gst_pad_check_pull_range):
8120 Add some more debug info.
8121 Mark activation mode in pre_activate so that we don't try to activate in
8122 endless loops. Fixes #385084.
8124 2007-02-19 Wim Taymans <wim@fluendo.com>
8126 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8127 (gst_base_transform_check_get_range):
8128 Implement a checkgetrange function instead of relying on the default
8129 core behaviour that assumes we can operate in pull mode if we have a
8130 getrange function. First step at fixing #385084.
8132 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8134 * gst/gstchildproxy.h:
8135 * libs/gst/base/gstbasesink.h:
8136 * libs/gst/base/gstbasesrc.h:
8137 * libs/gst/base/gstbasetransform.h:
8138 More docs coverage and some ChangeLog surgery (add missing names)
8140 2007-02-15 Wim Taymans <wim@fluendo.com>
8142 * docs/design/part-TODO.txt:
8143 * docs/design/part-activation.txt:
8144 * docs/design/part-block.txt:
8145 * docs/design/part-buffering.txt:
8146 * docs/design/part-clocks.txt:
8147 * docs/design/part-element-source.txt:
8148 * docs/design/part-events.txt:
8149 * docs/design/part-gstbin.txt:
8150 * docs/design/part-gstbus.txt:
8151 * docs/design/part-gstpipeline.txt:
8152 * docs/design/part-live-source.txt:
8153 * docs/design/part-messages.txt:
8154 * docs/design/part-overview.txt:
8155 * docs/design/part-qos.txt:
8156 * docs/design/part-query.txt:
8157 * docs/design/part-states.txt:
8158 * docs/design/part-trickmodes.txt:
8159 Some doc updates. Start renaming from stream_time to running_time where
8160 it was used wrongly.
8162 2007-02-15 Wim Taymans <wim@fluendo.com>
8164 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8165 Answer LATENCY query.
8167 2007-02-15 Wim Taymans <wim@fluendo.com>
8169 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8173 2007-02-15 Wim Taymans <wim@fluendo.com>
8175 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8176 (gst_pad_dispatcher):
8177 Improve debugging of default pad dispatcher and query functions.
8179 2007-02-15 Wim Taymans <wim@fluendo.com>
8181 * docs/gst/gstreamer-sections.txt:
8182 Remove old unused method.
8184 2007-02-13 Wim Taymans <wim@fluendo.com>
8186 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8189 2007-02-13 Wim Taymans <wim@fluendo.com>
8191 * docs/design/part-seeking.txt:
8194 * gst/gstsegment.c: (gst_segment_set_seek):
8195 Revert old bogus change that should make seeking work again.
8197 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8199 * docs/random/ensonic/dynlink.txt:
8200 * docs/random/ensonic/interfaces.txt:
8201 * docs/random/ensonic/receipies.txt:
8202 Possible dynamic reconnection api, plus some type fixes the other two
8205 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8207 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8208 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8209 Also check for an absolute path following file:// in the filesrc
8210 element. Remove redundant check and call g_path_is_absolute() on the
8213 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8215 * docs/design/draft-klass.txt:
8216 Add existing category analysis.
8219 Fix doc example, framerate is a fraction.
8221 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8224 * docs/gst/Makefile.am:
8225 * docs/gst/gstreamer-sections.txt:
8226 * docs/libs/Makefile.am:
8227 Erm, forgot a bunch of --extra-dir.
8229 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8232 * docs/gst/Makefile.am:
8233 * docs/libs/Makefile.am:
8234 * docs/plugins/Makefile.am:
8235 Add crossreferences to glib/gobject docs.
8237 2007-02-12 Wim Taymans <wim@fluendo.com>
8239 * docs/design/draft-latency.txt:
8242 * docs/libs/gstreamer-libs-sections.txt:
8243 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8244 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8245 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8246 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8247 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8248 (gst_base_sink_get_position), (gst_base_sink_query),
8249 (gst_base_sink_change_state):
8250 * libs/gst/base/gstbasesink.h:
8251 API: gst_base_sink_query_latency() to let subclasses query the upstream
8253 API: gst_base_sink_get_latency() to let subclasses query the configured
8254 latency in the sink.
8255 Implement query and set latency.
8257 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8258 don't continue preroll when we are flushing. Fixes #405284.
8260 * tests/check/pipelines/stress.c: (change_state_timeout),
8261 (quit_timeout), (GST_START_TEST), (stress_suite):
8264 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8266 Patch by: René Stadler <mail at renestadler de>
8268 * docs/gst/gstreamer-sections.txt:
8269 * gst/gsttaglist.c: (_gst_tag_initialize):
8271 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8273 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8275 * docs/libs/Makefile.am:
8276 Fix path to core docs.
8278 * gst/gstbin.c: (gst_bin_get_by_interface),
8279 (gst_bin_iterate_all_by_interface):
8280 Refix docs by also renaming 'interface' to 'iface' in implementation.
8282 * docs/gst/gstreamer-sections.txt:
8284 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8285 * gst/gstchildproxy.h:
8286 * gst/gstelementfactory.c:
8287 * gst/gstpadtemplate.h:
8288 * libs/gst/controller/gstcontroller.c:
8289 (gst_controlled_property_new):
8292 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8294 * gst/gstbin.h:(gst_bin_get_by_interface),
8295 (gst_bin_iterate_all_by_interface):
8296 Replace interface parameter name by iface as interface is
8297 a reserved keyword in Visual Studio for C++ projects so it removes
8298 a build error for application developpers using VS.
8299 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8300 Fix a bug on Windows in uri format check. Now the prefix checked
8301 is file:// and next we check if the path after file:// is absolute.
8302 * win32/common/libgstbase.def:
8303 * win32/common/libgstdataprotocol.def:
8304 * win32/common/libgstgstreamer.def:
8305 Add new exported functions.
8307 2007-02-09 Andy Wingo <wingo@pobox.com>
8309 * tests/check/pipelines/simple-launch-lines.c
8310 (simple_launch_lines_suite, test_tee): Disable tee test until I
8311 have time to fix it :-(
8313 * tests/check/Makefile.am (noinst_HEADERS):
8314 * tests/check/libs/libsabi.c:
8315 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8316 * tests/check/gst/gstabi.c:
8317 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8319 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8320 tests for push and pull tee behavior.
8322 * plugins/elements/gsttee.h:
8323 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8324 mark as deprecated as well as unimplemented. It was a crack idea.
8325 Add support for tee operating in pull mode, off by default.
8327 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8328 normal-case logs down to LOG, raise errors to WARNING.
8329 (gst_registry_xml_read_cache): Don't log before calling a function
8332 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8333 exit (registry finalize).
8334 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8335 DEBUG log when we emit signals that people don't even have the
8336 chance to connect to.
8337 (gst_registry_scan_path_level): Less logging in the normal case.
8339 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8341 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8343 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8344 Correctly generate EOS for non-seekable files. We don't have a total
8345 length for them and would get an unexpected end of file if we only
8346 special-cased for regular files. (Fixes: #404569)
8348 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8350 * tests/check/elements/filesrc.c: (GST_START_TEST),
8352 Add unit test for the GstURIHandler interface in filesrc. This also
8353 tests the newly added file://localhost/foo/bar support.
8355 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8357 * gst/gstelementfactory.h:
8358 The klass string is not a hierarchy. Add reference to the design doc
8359 for more information and common types.
8361 2007-02-02 Wim Taymans <wim@fluendo.com>
8363 * gst/gstquery.c: (gst_query_new_latency):
8364 Remove old structure field.
8366 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8368 * tools/gst-launch.1.in:
8369 Give example for network streaming (#351998)
8371 2007-02-02 Wim Taymans <wim@fluendo.com>
8373 * docs/gst/gstreamer-sections.txt:
8374 Add docs for new methods.
8376 * gst/gstevent.c: (gst_event_new_latency),
8377 (gst_event_parse_latency):
8379 Add new LATENCY event to configure latency in a pipeline.
8380 API: gst_event_new_latency
8381 API: gst_event_parse_latency
8383 * gst/gstmessage.c: (gst_message_new_buffering),
8384 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8385 (gst_message_new_latency), (gst_message_parse_buffering),
8386 (gst_message_parse_lost_preroll):
8388 Added messages used in draft-latency.
8389 API: gst_message_new_lost_preroll
8390 API: gst_message_parse_lost_preroll
8391 API: gst_message_new_prerolled
8392 API: gst_message_new_latency
8394 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8395 (gst_query_parse_latency):
8397 Implemented new latency query as in design doc.
8398 API: gst_query_new_latency
8399 API: gst_query_set_latency
8400 API: gst_query_parse_latency
8402 2007-02-02 Wim Taymans <wim@fluendo.com>
8404 * docs/design/draft-latency.txt:
8405 Slight redesign to allow for dynamic latency adjustments.
8407 * docs/design/part-negotiation.txt:
8410 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8412 reviewed by: Wim Taymans <wim@fluendo.com>
8414 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8415 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8416 Allow file://localhost/foo/bar URLs and correctly fail for every other
8417 hostname that one sets. This was gnomevfssrc is linked for those if
8418 installed as it can handle it (#403172)
8420 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8422 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8424 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8425 (unref_data), (gst_collect_pads_add_pad_full):
8426 * libs/gst/base/gstcollectpads.h:
8427 Don't put the previously added destroy notify in the GstCollectData
8428 struct as all it's padding is already used and we don't want to break
8429 ABI. Instead put in the pad's GObject data for now. This should be
8430 cleaned up for 0.11 (#402393).
8432 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8434 reviewed by: Wim Taymans <wim@fluendo.com>
8436 * docs/libs/gstreamer-libs-sections.txt:
8437 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8438 (unref_data), (gst_collect_pads_add_pad),
8439 (gst_collect_pads_add_pad_full):
8440 * libs/gst/base/gstcollectpads.h:
8441 API: Add function to specify a destroy notification for custom
8442 GstCollectData when adding new pads in GstCollectPads (#402393).
8444 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8447 Update Swedish translation (#378255).
8449 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8451 * docs/design/draft-klass.txt:
8452 Fix the previous change, this is a list of categories and not a hierarchy.
8454 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8456 * docs/design/draft-klass.txt:
8457 Add info about how to get a list of used classes.
8459 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8461 * plugins/elements/gsttypefindelement.c:
8462 (gst_type_find_element_chain_do_typefinding),
8463 (gst_type_find_element_change_state):
8464 Don't leak found caps in chain function (no idea why that never
8465 showed up as a leak anywhere).
8467 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8470 Fix and expand GstPluginDesc API docs.
8472 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8475 * gst/gstelementfactory.c:
8476 * gst/gstpadtemplate.h:
8479 * libs/gst/controller/gstcontroller.c:
8480 (gst_controlled_property_new):
8481 * tests/examples/controller/audio-example.c:
8484 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8487 comment about refining the xml deps
8490 comments about moving away from jade for docs
8493 recommit the ifdefs to use the binary registry
8495 * gst/gstbin.c: (gst_bin_change_state_func):
8496 this break is obsolete
8498 * gst/gstelementfactory.h:
8499 better GST_ELEMENT_DETAILS docs, add comment about translation
8504 * gst/gstobject.c: (gst_signal_object_get_type):
8505 add G_UNLIKELY as usual
8507 * gst/gstpad.c: (gst_pad_event_default):
8508 add fall trhu comment
8510 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8511 (gst_registry_binary_initialize_magic),
8512 (gst_registry_binary_save_string),
8513 (gst_registry_binary_save_pad_template),
8514 (gst_registry_binary_save_feature),
8515 (gst_registry_binary_save_plugin),
8516 (gst_registry_binary_write_cache),
8517 (gst_registry_binary_check_magic),
8518 (gst_registry_binary_load_pad_template),
8519 (gst_registry_binary_load_feature),
8520 (gst_registry_binary_load_plugin),
8521 (gst_registry_binary_read_cache):
8522 comment typo and formatting
8524 * gst/gstutils.c: (gst_element_state_get_name),
8525 (gst_element_state_change_return_get_name):
8526 remove obsolete breaks
8528 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8529 add FIXME 0.11 and remove cpp comment
8531 2007-01-29 Edward Hervey <edward@fluendo.com>
8533 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8534 Fix print statement in an even more portable way.
8536 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8538 * docs/gst/gstreamer-sections.txt:
8540 API: add GST_ROUND_DOWN_* macros (#401781).
8542 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8544 * docs/gst/gstreamer.types.in:
8545 * gst/gstregistry.c: (gst_registry_class_init):
8546 Document registry signals and make gtk-doc pick them up (#401381).
8548 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8550 * docs/pwg/building-testapp.xml:
8551 Add some audioconverts and audioresample to the pipeline, and some
8552 more comments and error handling.
8554 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8556 * docs/manual/manual.xml:
8560 2007-01-26 Wim Taymans <wim@fluendo.com>
8562 * gst/gstcaps.c: (gst_static_caps_get):
8563 Init caps flags too.
8565 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8567 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8569 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8570 If not using mmap'ed files try to seek to the end instead of the
8571 start to determine whether we can seek at all. This fixes the case
8572 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8573 seeks for everything afterwards fail. Fixes #400656
8575 2007-01-25 Wim Taymans <wim@fluendo.com>
8577 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8578 Add some refcount debugging.
8579 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8580 in multiple streaming threads.
8582 2007-01-25 Wim Taymans <wim@fluendo.com>
8584 Patch by: David Schleef <ds at schleef dot org>
8586 * docs/libs/gstreamer-libs-sections.txt:
8587 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8588 * libs/gst/base/gstadapter.h:
8589 API: gst_adapter_copy() that can reduce the amount of memcpy when
8590 getting data from the adapter. Fixes #388201.
8592 2007-01-25 Edward Hervey <edward@fluendo.com>
8594 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8595 In print statements, "%x" is for guint. Fixes build on macosx.
8597 2007-01-24 Edward Hervey <edward@fluendo.com>
8599 * plugins/elements/gstmultiqueue.c:
8600 (gst_multi_queue_loop):
8602 (single_queue_overrun_cb), (single_queue_underrun_cb),
8603 (single_queue_check_full), (gst_single_queue_new):
8604 Implement single queue growth system.
8605 This uses the extra-size properties, and will grow single queues by
8606 that much if one goes full whereas there are others empty. This is
8607 called extra-mode in the code.
8608 When a single queue's levels go back below the initial max-size
8609 limits, it is no longer in extra-mode. This is to ensure we don't
8610 consume too much memory.
8613 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8615 * gst/gst.c: (gst_init_get_option_group):
8616 Make warning about late g_thread_init() calls a bit more explicit,
8617 so that it's more obvious to application developers what they need
8618 to do if a user files a bug against their application.
8620 2007-01-22 Edward Hervey <edward@fluendo.com>
8622 * plugins/elements/gstmultiqueue.c:
8623 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8624 Remove previous hack of unsetting the flushing flag for the source pad
8625 instead of activating it. Instead, fix the source pad activate function
8626 so that it no longer depends on having a parent set or not.
8628 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8630 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8632 * docs/manual/basics-bus.xml:
8633 Fix example code, gst_element_unref() doesn't exist any longer.
8635 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8637 Patch by: Mark Nauwelaerts <manauw at skynet be>
8640 Fix two docs typoes (#399094).
8642 2007-01-19 Edward Hervey <edward@fluendo.com>
8644 * docs/faq/gst-uninstalled:
8645 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8646 depending on libgstbaseutils can work in uninstalled environment.
8648 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8651 * gst/gsttagsetter.c:
8652 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8653 statement for new tag.
8655 2007-01-17 Edward Hervey <edward@fluendo.com>
8657 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8658 When dynamically creating single queues, activate sinkpad before adding
8660 We should be doing the same thing for the source pad, but we can't
8661 since it would call a method which needs the parent to be set in order
8662 to work propertly. Instead of activating the source pad, we just unset
8663 the flushing flag, which is the minimal requirement for adding a pad
8664 to an element in a state greater than READY.
8666 2007-01-17 Edward Hervey <edward@fluendo.com>
8668 * docs/faq/gst-uninstalled:
8669 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8672 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8674 * tests/check/gst/gstabi.c:
8675 * tests/check/gst/struct_hppa.h:
8676 * tests/check/libs/libsabi.c:
8677 * tests/check/libs/struct_hppa.h:
8678 Add ABI structs for HPPA (see #393796).
8680 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8682 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8683 Actually write ABI structs to the file specified in the GST_ABI
8684 environment variable, as the message we print claims we would.
8686 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8688 * tests/check/gst/gsttask.c:
8691 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8693 * gst/gsttaglist.c: (_gst_tag_initialize):
8694 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8695 previous two entries.
8697 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8699 * docs/gst/gstreamer-sections.txt:
8700 * gst/gsttaglist.c: (_gst_tag_initialize):
8702 Add tag support for beat-per-minute.
8704 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8706 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8707 (gst_registry_binary_initialize_magic),
8708 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8709 (gst_registry_binary_save_pad_template),
8710 (gst_registry_binary_save_feature),
8711 (gst_registry_binary_save_plugin),
8712 (gst_registry_binary_write_cache),
8713 (gst_registry_binary_check_magic),
8714 (gst_registry_binary_load_pad_template),
8715 (gst_registry_binary_load_feature),
8716 (gst_registry_binary_load_plugin),
8717 (gst_registry_binary_read_cache):
8718 * gst/gstregistrybinary.h:
8719 Use glib types, cleanup comments, impement interfaces and uri-types.
8721 2007-01-13 Andy Wingo <wingo@pobox.com>
8723 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8724 getrange() to return buffers with other caps, while we fix
8725 demuxers and typefind, or otherwise change part-negotiation.txt.
8727 2007-01-12 Andy Wingo <wingo@pobox.com>
8729 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8730 Factor start/stop into this private function instead of partially
8731 in activate functions and partially in the change_state function.
8732 Fixes setup before the element has changed from READY->PAUSED, as
8733 is the case in pull-mode pipelines.
8734 (gst_base_transform_sink_activate_push)
8735 (gst_base_transform_src_activate_pull): Refactor to use
8736 gst_base_transform_activate().
8737 (gst_base_transform_change_state): Removed, not needed any more.
8739 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8740 Truncate before fixating.
8742 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8743 Don't set_caps() if the result of fixating is ANY, as it's not
8744 supported, and not necessary in the case of a link with no
8745 template caps on either side. Fixes tests/check/libs/basesrc in
8746 some pull-mode tests.
8748 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8749 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8750 (gst_base_transform_src_activate_pull):
8751 Track the activation mode.
8752 (gst_base_transform_setcaps): In pull mode, when activating the
8753 src pad, after activating the sink pad, activate the sink pad's
8754 peer, as discussed in part-negotiation.txt.
8756 * libs/gst/base/gstbasesrc.h:
8757 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8758 vmethod, as in basesink.
8760 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8762 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8763 mode, first proxy the setcaps to the peer pad.
8764 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8766 (gst_base_sink_default_activate_pull): Rename from
8767 gst_base_sink_activate_pull.
8768 (gst_base_sink_negotiate_pull): New function, performs negotiation
8769 in pull mode before calling ::activate_pull().
8770 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8771 vmethod instead of the default implementation. I have no idea how
8772 this worked before. Negotiate before calling activate_pull.
8774 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8775 sink pads in pull mode. In addition to being correct, fixes
8776 filesrc ! decodebin ! identity ! fakesink.
8777 (gst_pad_get_range, gst_pad_pull_range): Don't call
8778 gst_pad_set_caps() if the caps changes; instead error out with
8779 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8781 2007-01-12 Andy Wingo <wingo@pobox.com>
8783 * docs/design/part-negotiation.txt: Update with more policy.
8785 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8787 * libs/gst/check/gstbufferstraw.h:
8788 * libs/gst/check/gstcheck.h:
8789 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8792 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8794 * tests/check/Makefile.am:
8795 * tests/check/gst/.cvsignore:
8796 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8797 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8798 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8799 (GST_START_TEST), (gst_tag_setter_suite):
8800 Add minimal unit test for beforementioned GstTagSetter bug.
8802 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8804 Patch by: René Stadler <mail at renestadler dot de>
8806 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8807 gst_tag_list_merge() returns a new list, so it's not the best idea
8808 to ingore its return value. Effectively meant that tags could only
8809 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8810 Also add function guard to require a non-NULL taglist as input (has
8811 always been so due to gst_tag_list_copy(), just making it explicit).
8813 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8815 * docs/random/draft-missing-plugins.txt:
8816 Some additions: mention new API that is supposed to be used at the
8817 various stages; short blob about new gst-inspect introspection
8818 option; mention potential future problem with plugins that have
8819 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8821 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8823 * tools/gst-inspect.c:
8824 (print_plugin_automatic_install_info_codecs),
8825 (print_plugin_automatic_install_info_protocols),
8826 (print_plugin_automatic_install_info), (main):
8827 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8828 introspect plugin files and get machine-parsable output that corresponds
8829 to the last bit of the missing-plugin installer string (small gotcha:
8830 doesn't take into account ranks).
8832 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8835 * docs/gst/gstreamer-sections.txt:
8837 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8838 (gst_registry_lookup_locked):
8839 * gst/gstregistry.h:
8840 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8841 (gst_registry_binary_initialize_magic),
8842 (gst_registry_binary_save_string),
8843 (gst_registry_binary_save_pad_template),
8844 (gst_registry_binary_save_feature),
8845 (gst_registry_binary_save_plugin),
8846 (gst_registry_binary_write_cache),
8847 (gst_registry_binary_check_magic),
8848 (gst_registry_binary_load_pad_template),
8849 (gst_registry_binary_load_feature),
8850 (gst_registry_binary_load_plugin),
8851 (gst_registry_binary_read_cache):
8852 * gst/gstregistrybinary.h:
8853 * gst/gstregistryxml.c: (load_feature),
8854 (gst_registry_xml_read_cache):
8855 commit binary registry (disabled by default, see #359653)
8857 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8859 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8860 Fix 'make check' too.
8862 2007-01-10 Andy Wingo <wingo@pobox.com>
8864 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8867 * docs/design/part-negotiation.txt: Update with, um, one way that
8868 pull-mode negotiation might work?
8871 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8872 that the pad must be a src pad; makes sense to call it the other
8873 way in pull mode, and the logic is symmetric anyway.
8875 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8877 * plugins/elements/gstfilesink.c:
8878 Include <stdio.h> for fseeko().
8880 2007-01-10 Wim Taymans <wim@fluendo.com>
8884 Reserve LATENCY event.
8886 2007-01-09 Wim Taymans <wim@fluendo.com>
8888 * docs/design/draft-latency.txt:
8891 2007-01-09 Wim Taymans <wim@fluendo.com>
8893 * docs/design/draft-latency.txt:
8897 * gst/gststructure.c:
8901 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8903 * tests/check/.cvsignore:
8904 Ignore test-registry.xml as well.
8906 2007-01-09 Wim Taymans <wim@fluendo.com>
8908 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8909 unref data at the end when we are done with the pad.
8911 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8913 * docs/gst/gstreamer-sections.txt:
8914 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8915 (init_post), (gst_deinit), (gst_update_registry):
8917 API: add gst_update_registry() (#391296).
8919 * tests/check/Makefile.am:
8920 * tests/check/gst/gstregistry.c:
8921 * tests/check/gst/.cvsignore:
8922 Simple unit test for the above.
8924 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8926 * gst/gstregistry.c: (gst_registry_scan_path_level):
8927 Plugin extension on HP-UX is .sl, add that to the list of approved
8928 plugin extensions (see #393796).
8930 * tests/check/gst/gstpad.c: (GST_START_TEST):
8931 ulong => gulong. Fixes compilation with HP-UX compiler.
8933 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8934 Fix compilation if valgrind headers are not available.
8936 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8938 * win32/common/libgstreamer.def:
8939 Add new exported function.
8940 * win32/vs6/libgstbase.dsp:
8941 Add gstdataqueue.c to the build.
8942 * win32/vs6/libgstcoreelements.dsp:
8943 Add gstmultiqueue.c to the build.
8945 2007-01-06 Andy Wingo <wingo@pobox.com>
8947 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8948 activate_pull(), providing for a way to specialize the process of
8949 spawning a thread to pull on the sink pad. There is a default
8952 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8953 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8954 (gst_base_sink_init): Renamed pad activation functions (inserting
8955 "_pad" in their names). Refactor to use the new activate_pull
8956 vmethod, as appropriate.
8957 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8958 default activate_pull function to start a task pulling from the
8959 sink pad, as before.
8961 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8962 on the pads if necessary, as in push()/chain(). Update docs.
8963 Shouldn't affect existing pull() usage as it is currently only
8964 being used on buffers without caps.
8966 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8968 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8970 Call g_thread_init() first thing in gst_init() / gst_check_init().
8971 When initialisation is done via gst_init_get_option_group() and
8972 GOption parsing, issue a warning if the GLib thread system has not
8973 been initialised yet by the time gst_init_get_option_group() is
8974 called, as it's quite likely other GLib functions such as
8975 g_option_context_new() have been called already then, and
8976 g_thread_init() must be called before any other GLib function. The
8977 application in question must be fixed in that case, since memory
8978 corruption might happen otherwise.
8979 We issue the warning because even if the GLib folks decide to work
8980 around the problem on their end in future, this is still an issue
8981 with all GLib versions >= 2.10.0, so we should warn until we depend
8982 on a GLib version we know to be safe.
8983 Update documentation as well.
8986 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8988 * tools/gst-inspect.c: (main):
8989 * tools/gst-launch.c: (main):
8990 * tools/gst-typefind.c: (main):
8991 * tools/gst-xmlinspect.c: (main):
8992 Call g_thread_init() really really early, before any other GLib
8993 function (see #342564 and recent discussion on gtk-devel-list).
8995 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8997 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8999 * gst/gst_private.h:
9000 * gst/gstconfig.h.in:
9002 On win32, all the __declspec stuff for symbol exporting is
9003 apparently only needed with MSVC, but doesn't work with MingW.
9004 Fixes compilation with MingW and #391909.
9006 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9008 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9009 Change some GST_ERROR_OBJECT that aren't really errors to
9010 GST_WARNING_OBJECT in order to reduce terminal spam.
9012 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9014 * tests/check/Makefile.am:
9015 disable test again, as there seem to be still race problems
9017 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9019 * tests/check/Makefile.am:
9020 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9021 (GST_START_TEST), (queue_suite):
9022 enable queue test again, add tests for the leaky behaviour
9024 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9027 * tests/examples/Makefile.am:
9028 Compile adapter test/example only if the required headers are
9029 available (fixes #391915).
9031 2007-01-01 David Schleef <ds@schleef.org>
9034 Restore the previous signal handler for SIGSEGV instead of
9035 setting to default, since we may have stolen it away from
9036 someone. (i.e., Mono)
9038 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9040 * docs/random/draft-missing-plugins.txt:
9041 Some small additions and clarifications.
9043 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9045 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9046 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9047 since that can lead to random memory corruptions and crashes
9048 (may or may not be related to #383244, #386711, and #386711).
9050 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9052 * tests/check/.cvsignore:
9053 * tests/check/Makefile.am:
9054 sync .cvsignome and CLEANFILES
9056 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9058 * tests/check/Makefile.am:
9061 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9063 * docs/design/part-states.txt:
9064 two tiny additional comments
9066 * gst/gststructure.c:
9069 * tests/check/Makefile.am:
9070 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9072 disable test for now, unless it gets fixed
9074 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9076 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9078 fix race in underrun test
9080 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9082 * tests/check/elements/.cvsignore:
9085 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9087 try to narrow test failure
9089 2006-12-21 David Schleef <ds@schleef.org>
9091 * plugins/elements/gstfakesrc.c:
9092 Use g_random_int_range(), since it produces better random
9093 numbers in a range than almost-correct floating point code.
9095 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9097 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9098 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9099 (gst_check_teardown_sink_pad):
9100 do not automatically (de)activate pads
9102 * tests/check/Makefile.am:
9103 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9104 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9105 add new, yet simple tests for queue
9107 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9108 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9109 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9111 * tests/check/elements/identity.c: (cleanup_identity):
9112 consistent pad (de)activation
9114 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9116 Patch by: Sebastian Dröge <slomo ubuntu com>
9118 * libs/gst/base/gstcollectpads.c:
9119 Fix two doc typos (#387866).
9121 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9123 * docs/manual/advanced-dparams.xml:
9124 Fix typo (g_object_control_properties() doesn't exist).
9126 2006-12-19 Edward Hervey <edward@fluendo.com>
9128 * gst/gstsegment.c: (gst_segment_set_seek):
9129 Fine tune the cases where the segment start/stop values are really
9131 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9132 Add tests for the return values of gst_segment_set_seek().
9134 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9139 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9141 Fix incorrect documentation and flesh it out a bit more.
9142 Set default values for the max properties on the GParamSpec as well,
9143 so it shows up correctly in gst-inspect.
9145 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9147 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9148 Correct docs of queue, add more detail and crosslink it more.
9150 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9152 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9153 Print additional debug info when the stream isn't perfectly
9154 timestamped; don't try to use invalid durations.
9156 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9158 * docs/design/Makefile.am:
9159 Dist new design docs.
9161 2006-12-16 Wim Taymans <wim@fluendo.com>
9163 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9165 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9166 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9167 (gst_collect_pads_stop), (gst_collect_pads_event),
9168 (gst_collect_pads_chain):
9169 * libs/gst/base/gstcollectpads.h:
9170 Add refcounting to the collectpads data so we can track when it's safe
9171 to free the data. Fixes #383382.
9173 2006-12-15 Wim Taymans <wim@fluendo.com>
9175 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9176 (gst_collect_pads_remove_pad):
9177 Automatically activate/deactivate pads when they are added to a
9178 started/stoped collectpads.
9180 2006-12-15 Wim Taymans <wim@fluendo.com>
9182 * gst/gstelement.c: (gst_element_add_pad):
9183 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9184 * gst/gstpad.c: (gst_pad_init):
9185 Set pads to FLUSHING when they are created. Check, warn and fix when a
9186 demuxer adds an inactive pad to itself when running. Fixes #339326.
9188 2006-12-15 Wim Taymans <wim@fluendo.com>
9190 * gst/gstelement.c: (gst_element_class_init),
9191 (gst_element_default_send_event), (gst_element_send_event),
9192 (gst_element_default_query), (gst_element_query):
9193 Expose default element send_event and query handling as vmethods that
9194 subclasses can chain up to.
9196 2006-12-15 Wim Taymans <wim@fluendo.com>
9198 * gst/gstelement.c: (gst_element_set_state_func):
9199 Small documentation fixes.
9201 2006-12-15 Wim Taymans <wim@fluendo.com>
9203 * docs/design/draft-latency.txt:
9204 Checked in draft for handling latency in pipelines.
9206 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9210 * gstreamer.spec.in:
9213 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9215 * gst/gst.c: (init_pre), (init_post):
9216 init_pre() and init_post() might be called via our GOptionGroup or
9217 from gst_init(), and we should skip both of them if we've already
9218 been initialised, otherwise we will init some things twice or add
9219 two default log functions.
9221 2006-12-13 Edward Hervey <edward@fluendo.com>
9223 * docs/manual/basics-bus.xml:
9224 No, gst_main_loop does not exist. Its g_main_loop.
9225 Discovered by somebody who abused the copy-paste technique of coding :)
9227 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9229 * gst/gstghostpad.c:
9230 Log ghostpad debug stuff to the GST_PADS category as well rather
9231 than just to the default category.
9233 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9236 * gst/gst.c: (init_pre):
9237 Add some basic system details such as OS and architecture
9238 to the debug output if possible, courtesy of uname().
9240 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9242 * docs/gst/running.xml:
9243 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9244 environment variables.
9246 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9248 * tests/check/gst/gstbin.c: (GST_START_TEST):
9249 It is acceptable to have a refcount of 2 or 3 at this point in the
9250 test, because the pipeline might be just posting its state_change
9251 message. The next line then waits for that message to appear using
9252 bus_poll, so that should be fine too.
9254 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9256 * gst/gst.c: (ensure_current_registry_forking):
9257 Ignore EINTR when reading from the child registry pipe.
9258 Explicitly ignore the return value from close, since it makes no
9261 * gst/gstminiobject.c: (gst_mini_object_ref),
9262 (gst_mini_object_unref):
9263 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9265 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9266 When removing cached plugins, remove their features too, so they're
9267 not visible after they've disappeared.
9269 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9270 In the unlikely case that we are linking pads with no parents, don't
9271 crash trying to get the non-existent parent bin.
9273 * gst/parse/grammar.y:
9274 Output debug in the PIPELINE category
9276 2005-03-08 Wim Taymans <wim@fluendo.com>
9278 Patch by: René Stadler <mail at renestadler dot de>
9280 * gst/gstclock.c: (gst_clock_new_periodic_id):
9281 Reject invalid clock times for interval of periodic ids.
9284 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9286 * gst/gstelementfactory.c: (gst_element_factory_create):
9287 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9288 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9289 * tools/gst-inspect.c: (print_element_info):
9290 Fix refcounting of gst_plugin_feature_load to match the docs.
9293 2006-12-07 Wim Taymans <wim@fluendo.com>
9295 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9296 (gst_base_sink_get_position):
9297 Improve debugging of events.
9299 2006-12-07 Wim Taymans <wim@fluendo.com>
9301 Patch by: René Stadler <mail at renestadler dot de>
9303 * gst/gstclock.c: (gst_clock_id_wait):
9304 Make period ids add the interval to the origial requested time instead
9305 of the possibly updated time which can be wrong when there are multiple
9306 waiters for the same id. Fixes #382592.
9308 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9309 (gst_system_clock_id_wait_jitter_unlocked),
9310 (gst_system_clock_id_wait_jitter):
9311 Fix restart in the async notify thread when an async entry is added to
9312 the front of the list. Fixes #381492.
9314 * tests/check/gst/gstsystemclock.c: (store_callback),
9315 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9316 Added test for multiple async waits.
9317 Added test for async wait order.
9319 2006-12-07 Wim Taymans <wim@fluendo.com>
9321 * gst/gstbin.c: (gst_bin_query):
9322 Add some more docs about the POSITION query.
9324 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9327 Bump version nano - back to CVS.
9329 === release 0.10.11 ===
9331 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9334 releasing 0.10.11, "Love never runs on time"
9336 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9338 * win32/common/libgstbase.def:
9339 * win32/common/libgstreamer.def:
9340 * win32/vs8/libgstbase.vcproj:
9341 * win32/vs8/libgstcoreelements.vcproj:
9342 * win32/vs8/libgstreamer.vcproj:
9343 Fix compilation on win32 under VS8
9344 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9345 Partially fixes #381175
9347 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9349 * gst/gstvalue.c: (gst_value_compare_fraction):
9350 If someone is foolish enough to compare 2 fractions with denominator =
9351 0, return UNORDERED rather than aborting.
9353 2006-11-28 Edward Hervey <edward@fluendo.com>
9355 * libs/gst/base/Makefile.am:
9356 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9357 (gst_data_queue_base_init), (gst_data_queue_class_init),
9358 (gst_data_queue_init), (gst_data_queue_new),
9359 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9360 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9361 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9362 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9363 (gst_data_queue_set_flushing), (gst_data_queue_push),
9364 (gst_data_queue_pop), (gst_data_queue_drop_head),
9365 (gst_data_queue_set_property), (gst_data_queue_get_property):
9366 * libs/gst/base/gstdataqueue.h:
9367 New GstDataQueue object for threadsafe queueing. Most useful for
9368 elements that need some queueing functionnality.
9369 * docs/libs/gstreamer-libs-docs.sgml:
9370 * docs/libs/gstreamer-libs-sections.txt:
9371 Insert documentation for GstDataQueue
9372 * plugins/elements/Makefile.am:
9373 * plugins/elements/gstelements.c:
9374 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9375 (gst_multi_queue_class_init), (gst_multi_queue_init),
9376 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9377 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9378 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9379 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9380 (gst_multi_queue_loop), (gst_multi_queue_chain),
9381 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9382 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9383 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9384 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9385 (wake_up_next_non_linked), (compute_next_non_linked),
9386 (single_queue_overrun_cb), (single_queue_underrun_cb),
9387 (single_queue_check_full), (gst_single_queue_new):
9388 * plugins/elements/gstmultiqueue.h:
9389 New multiqueue element, using GstDataQueue. Used for queuing multiple
9391 Closes #344639 and #347785
9393 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9395 * docs/pwg/advanced-types.xml:
9396 add more missing type details
9398 * tools/gst-run.c: (main):
9399 remove unused variable
9401 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9403 * docs/libs/Makefile.am:
9404 * docs/libs/gstreamer-libs.types:
9405 add types of base classes to enable gobject specific stuff in the docs
9407 * docs/random/ensonic/embedded.txt:
9408 more ideas about isolating platform specific things
9410 2006-11-20 Wim Taymans <wim@fluendo.com>
9412 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9414 * libs/gst/check/gstcheck.h:
9415 Fix compilation and running against 0.9.4. Fixes #377332.
9417 2006-11-20 Wim Taymans <wim@fluendo.com>
9419 * gst/gstsegment.c: (gst_segment_set_seek),
9420 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9421 (gst_segment_to_running_time):
9422 Fix boundary checking in to_running_time() and to_stream_time().
9425 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9426 stream and running time can now be calculated for the complete
9429 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9431 * gst/gstpad.c: (gst_pad_push_event):
9432 Can't access event structure after giving away ownership of
9435 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9437 * docs/random/ensonic/embedded.txt:
9438 * docs/random/ensonic/profiling.txt:
9439 * docs/random/ensonic/receipies.txt:
9442 2006-11-13 Wim Taymans <wim@fluendo.com>
9444 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9447 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9449 2006-11-13 Wim Taymans <wim@fluendo.com>
9451 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9453 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9454 Store new length in segment duration so we don't keep on calling the
9455 potentially expensize get_size() call. Fixes #370865.
9457 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9459 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9461 * win32/common/libgstreamer.def:
9462 Add two missing symbols (#366492).
9464 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9466 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9467 (gst_adapter_take_buffer):
9468 Fix format string to use all its arguments.
9469 Remove useless >= check on a guint
9471 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9473 * tests/examples/adapter/.cvsignore:
9474 Ignore build file as commanded by the build-bot
9476 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9478 * tests/examples/adapter/Makefile.am:
9479 * tests/examples/adapter/adapter_test.c: (run_test_take),
9480 (run_test_take_buffer), (run_tests), (main):
9482 Add new files from the previous commit
9484 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9488 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9489 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9490 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9491 * libs/gst/base/gstadapter.h:
9492 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9493 (GST_START_TEST), (gst_adapter_suite):
9494 * tests/examples/Makefile.am:
9495 Do some optimisation work in GstAdapter to avoid copies in more cases.
9496 It could still do slightly better by merging buffers when
9497 gst_buffer_is_span_fast is true, but is already faster.
9499 Also, avoid traversing a single-linked list to append each incoming
9500 buffer inside the adapter.
9502 Add simple test app that times the adapter behaviour in different
9503 situations, and extend the unit test to check that bytes enter and
9504 exit the adapter in their original order.
9506 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9508 * docs/random/draft-missing-plugins.txt:
9509 Update: use element message instead of adding a new message
9510 type to the core; don't provide GStreamer API to initiate the
9511 plugin download, just provide API to compose the strings needed
9512 and let an external libgimmestuff handle the rest.
9514 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9516 * tools/gst-inspect.c: (print_element_properties_info):
9517 Print a string instead of 'unknown type' for GValueArray properties
9519 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9521 * docs/random/draft-missing-plugins.txt:
9524 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9526 * tests/examples/typefind/typefind.c: (type_found), (main):
9527 Make typefind element example work again (#371894); add a
9530 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9532 * docs/random/draft-missing-plugins.txt:
9533 Commit initial draft about how to deal with missing plugins,
9534 needs work (API too).
9536 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9538 * docs/pwg/advanced-types.xml:
9539 documents the new caps elements (see #363118)
9541 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9543 * gst/gstplugin.c: (gst_plugin_load_file):
9544 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9545 (gst_file_src_map_region), (gst_file_src_start):
9546 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9547 (gst_file_index_commit):
9548 Use g_strerror() instead of strerror() - we want UTF-8.
9550 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9552 Patch by: Peter Kjellerstedt <pkj at axis com>
9554 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9555 Another printf fix (#371493).
9557 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9559 * tests/check/gst/gsttag.c:
9560 relicence (okay with author=company)
9562 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9564 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9565 (gst_pad_push_event):
9566 Enhance debug and improve docs
9571 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9573 * docs/random/ensonic/distributed.txt:
9574 * docs/random/ensonic/profiling.txt:
9577 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9579 * docs/gst/gstreamer-sections.txt:
9580 add new API and fix the build
9582 * gst/gstbin.c: (gst_bin_recalc_state):
9583 * gst/gstelement.c: (gst_element_message_full),
9584 (gst_element_get_state_func), (gst_element_set_state_func):
9585 use new API and improve logging
9587 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9589 API: add function to get StateChangereturn names to improve logs
9591 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9593 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9594 I'm considering shooting the next person to put strerror stuff
9595 in the translateable part of the message.
9597 2006-11-03 Wim Taymans <wim@fluendo.com>
9599 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9600 Get the type and printf conversion specifiers right.
9602 2006-11-03 Wim Taymans <wim@fluendo.com>
9604 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9606 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9607 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9608 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9609 Some small cleanups. Improve debugging.
9611 Signal all waiting threads with a broadcast instead of just one.
9614 2006-11-03 Wim Taymans <wim@fluendo.com>
9616 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9617 (gst_fd_src_create):
9619 Only update fd when it's different from the old.
9621 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9623 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9624 Printf fixes for PPC/OSX, take two (#369366).
9626 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9628 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9630 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9631 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9632 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9633 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9634 don't cast to long long for portability reasons, but use
9635 GLib's types instead.
9637 2006-10-30 Michael Smith <msmith@fluendo.com>
9639 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9640 Get the arguments to lseek() the right way around.
9643 2006-10-30 Wim Taymans <wim@fluendo.com>
9645 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9648 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9650 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9652 Patch by: Kjartan Maraas <kmaraas at gnome org>
9654 * docs/design/part-MT-refcounting.txt:
9655 * docs/random/wtay/capsnego2-docs:
9658 Typo fixes (#366212).
9660 2006-10-28 Wim Taymans <wim@fluendo.com>
9662 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9665 * win32/common/libgstbase.def:
9666 * win32/common/libgstreamer.def:
9667 * win32/vs8/libgstbase.vcproj:
9668 * win32/vs8/libgstcontroller.vcproj:
9669 Add needed entries in .def files.
9671 Rearrange def files in vs8 solutions. Fixes #366286.
9673 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9675 * win32/common/gstconfig.h:
9676 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9677 hand-made win32 gstconfig.h. Fixes #366321.
9679 2006-10-27 Wim Taymans <wim@fluendo.com>
9681 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9682 (gst_ghost_pad_new_full):
9683 Make acceptcaps return TRUE when we don't have a target, just like
9686 2006-10-27 Wim Taymans <wim@fluendo.com>
9688 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9689 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9691 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9693 * gst/gststructure.c: (gst_structure_id_set_value):
9694 If someone tries to set a non-UTF8 string field on a structure,
9695 don't just print a warning, but also ignore the request and do
9696 not change/add that field to the structure.
9698 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9701 2006-10-25 David Schleef <ds@schleef.org>
9704 g_hash_table_insert() needs a cast to a non-const pointer duh.
9706 2006-10-25 David Schleef <ds@schleef.org>
9710 Change name parameter of _gst_debug_register_funcptr to const
9711 to reflect the constness of its use in the function as well
9712 as to quiet a gcc warning.
9714 2006-10-25 Edward Hervey <edward@fluendo.com>
9716 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9717 Don't push the buffer if it's empty.
9720 2006-10-24 Wim Taymans <wim@fluendo.com>
9725 * libs/gst/base/gstbasetransform.c:
9726 (gst_base_transform_sink_eventfunc):
9727 Debug segment values *after* updating them as this is more
9730 2006-10-23 Wim Taymans <wim@fluendo.com>
9732 * docs/design/part-events.txt:
9735 * docs/design/part-block.txt:
9736 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9737 (gst_pad_push_event):
9738 Revert BLOCKING patch, it tries to be smart without really having a
9739 clear idea what or how. So, now we discard all FLUSHING events again on
9740 a blocking pad. Should fix gnonlin again.
9742 2006-10-23 Wim Taymans <wim@fluendo.com>
9744 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9746 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9747 (gst_base_src_start), (gst_base_src_activate_push):
9748 Make sure size is always initialized. Fixes #364388.
9750 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9752 * docs/random/ensonic/distributed.txt:
9753 add some ideas about doing distributed processing
9755 * docs/random/ensonic/profiling.txt:
9756 get_rusage look promising
9758 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9760 * docs/manual/basics-helloworld.xml:
9761 Add a cast in example to fix compile warning
9763 2006-10-18 Wim Taymans <wim@fluendo.com>
9765 * gst/gstsegment.c: (gst_segment_set_last_stop),
9766 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9767 Relax arg checking again, -1 is allowed.
9769 2006-10-18 Wim Taymans <wim@fluendo.com>
9771 * gst/gstsegment.c: (gst_segment_set_last_stop),
9772 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9773 _set_last_stop() must be with a value != -1
9774 A _TYPE_SET to -1 means seek to 0.
9775 Calc last_stop correctly for negative rates.
9776 Make sure we work with positive durations when updating a segment.
9778 2006-10-18 Wim Taymans <wim@fluendo.com>
9780 * docs/design/part-live-source.txt:
9784 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9787 Add an explicit cast to GstBuffer** to keep old code that added an
9788 explicit cast to GstMiniObject** for gst_mini_object_replace()
9789 compiling without warning.
9791 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9793 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9794 check for validity of dates
9796 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9798 * docs/gst/gstreamer-sections.txt:
9799 Forgot this one, makes gtk-doc shut up.
9801 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9803 Patch by: Peter Kjellerstedt <pkj at axis com>
9806 Don't define xmlNodePtr to gpointer if the core was built with
9807 --disable-loadsave and --disable-registry, this will break
9808 applications that want to use libxml2 but are buildling against a
9809 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9810 instead so we don't have to mess with the libxml2 namespace
9813 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9816 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9817 type-punned pointer warnings.
9819 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9822 Add casts to the correct return type to state <=> state transition
9825 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9827 * docs/design/part-live-source.txt:
9828 describe howto handle latency
9830 * docs/random/ensonic/profiling.txt:
9833 * tools/gst-plot-timeline.py:
9834 fix log parsing for solaris, remove unused function
9836 2006-10-16 Wim Taymans <wim@fluendo.com>
9838 * docs/design/part-trickmodes.txt:
9840 Update some docs regarding reverse playback.
9842 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9844 Patch by: Marcus Granado <mrc dot gran at gmail com>
9846 * win32/vs8/grammar.vcproj:
9847 Error out with a warning if glib-genmarshal.exe is not in path,
9848 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9850 2006-10-13 Wim Taymans <wim@fluendo.com>
9852 * gst/gstsegment.c: (gst_segment_set_seek):
9853 When seeking to stop -1, set last_stop (current position) to the
9854 duration of the segment.
9856 2006-10-13 Wim Taymans <wim@fluendo.com>
9859 Clarify _NO_PREROLL a bit more.
9864 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9865 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9866 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9867 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9868 due to wrong locking order. Fixes #361769.
9869 Remove some redundant/misplaced checks in pad_block.
9871 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9872 For negative rates, count backwards from the duration.
9874 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9876 * gst/gsterror.c: (_gst_library_errors_init):
9877 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9878 up with something better).
9880 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9882 * win32/vs6/libgstreamer.dsp:
9883 * win32/vs7/libgstreamer.vcproj:
9884 * win32/vs8/libgstreamer.vcproj:
9885 Don't reference glib-compat.c which is currently not used and not
9886 disted; add gstquark.c which was recently added. Fixes #361730.
9888 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9890 * win32/common/libgstbase.def:
9891 * win32/common/libgstcontroller.def:
9892 * win32/common/libgstreamer.def:
9893 Add gst_caps_merge() and a bunch of other recently-added functions.
9896 2006-10-11 Wim Taymans <wim@fluendo.com>
9898 * docs/plugins/gstreamer-plugins.args:
9899 * docs/plugins/inspect/plugin-coreelements.xml:
9900 * docs/plugins/inspect/plugin-coreindexers.xml:
9901 Update element args.
9903 * gst/gstsystemclock.c:
9904 Small comment update.
9906 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9907 (gst_tee_request_new_pad), (gst_tee_release_pad),
9908 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9909 (gst_tee_sink_activate_pull):
9910 * plugins/elements/gsttee.h:
9912 Add default property defines.
9913 Implement release pad function.
9914 Give properties better blubs etc.
9915 Activate pads before adding them to a running tee.
9916 Do simple buffer_alloc on the first requested pad.
9917 Post error when activation fails.
9919 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9921 * gst/gst.c: (ensure_current_registry_forking):
9922 Check return value of write() to make compiler happy.
9924 2006-10-11 Wim Taymans <wim@fluendo.com>
9926 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9928 * plugins/elements/gstqueue.c: (gst_queue_chain):
9929 Recheck queue filledness after signalling the overrun when we're about
9930 to leak downstream because we released the lock when emitting the signal
9931 and the queue could be empty again. Fixes #352345.
9933 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9935 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9936 Fix refcounting here too, just like we did for _new_valist() a few
9937 days ago (#357180) (thanks to René Stadler). Also remove all those
9938 'Since: 0.9' from the gtk-doc blobs.
9940 * tests/check/libs/controller.c: (controller_refcount_new_list),
9941 (gst_controller_suite):
9942 Unit test for the above.
9944 2006-10-10 Wim Taymans <wim@fluendo.com>
9946 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9948 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9949 (gst_pad_save_thyself):
9951 Write pad direction in XML output. Fixes #345496.
9953 2006-10-10 Wim Taymans <wim@fluendo.com>
9955 Patch by: René Stadler <mail at renestadler dot de>
9957 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9958 (gst_controller_new_list), (_gst_controller_dispose),
9959 (_gst_controller_finalize), (_gst_controller_class_init):
9960 Take ref to controlled object so that it cannot disappear.
9963 2006-10-10 Wim Taymans <wim@fluendo.com>
9965 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9966 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9967 (gst_check_teardown_sink_pad):
9968 Activate/deactivate pads in setup/teardown respectively.
9970 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9972 Patch by: Josep Torra Valles <josep@fluendo.com>
9975 Cast values when making gstenumtypes.h. This pacifies Forte
9976 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9979 2006-10-09 Wim Taymans <wim@fluendo.com>
9981 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9982 Rename some more @cur to @start to fix docs.
9984 * gst/gstsegment.c: (gst_segment_set_seek):
9986 time and start must always stay in sync as defined in design doc.
9988 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9989 Rename param to fix docs.
9991 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9992 Check that start and time are in sync.
9994 * tests/check/pipelines/parse-launch.c:
9995 (gst_parse_test_element_change_state):
9996 Activate pad before adding to the element.
9998 2006-10-09 Wim Taymans <wim@fluendo.com>
10000 * docs/design/part-qos.txt:
10005 Update seek event docs regarding negative rates.
10006 Rename @cur to @start.
10008 * gst/gstsegment.c: (gst_segment_set_seek):
10009 * gst/gstsegment.h:
10010 Update set_seek docs regarding negative rates.
10011 Correctly update last_stop to @stop when dealing with negative
10013 Rename @cur to @start.
10015 * tests/check/gst/gstpad.c: (GST_START_TEST):
10016 Activate pads before trying to use them.
10018 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10019 (gst_segment_suite):
10020 Add simple check for segments and negative rates.
10022 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10024 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10025 * gst/gsttaglist.h:
10026 * docs/gst/gstreamer-sections.txt:
10027 API: add gst_tag_list_is_empty() (#360467).
10029 * tests/check/gst/gsttag.c: (GST_START_TEST):
10032 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10034 * gst/gstmessage.h:
10035 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10036 a value that doesn't fit on enumeration.
10038 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10040 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10041 Remove local debugging system and use Gstreamer's instead.
10043 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10045 Patch by: Josep Torra Valles <josep@fluendo.com>
10047 * common/m4/gst-error.m4:
10048 Disable warning of statement not reached on Forte.
10049 * gst/gstmessage.h:
10050 Fix warning on Forte (value doesn't fit on enumeration).
10051 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10052 Fix warning on Forte (value doesn't fit on enumeration).
10053 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10054 DEBUG macro says it takes minimum of 2 args and so Forte
10055 complains about the use with just 1 arg.
10056 * plugins/elements/gstfdsink.c:
10057 * plugins/elements/gstfdsrc.c:
10058 * plugins/elements/gstfilesink.c:
10059 * plugins/elements/gstfilesrc.c:
10060 Use correct return type for the uri handler implementations.
10062 All these fix warnings in Forte. Fixes bug #360860.
10064 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10066 * gst/gstelement.h:
10067 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10068 format string, so don't use G_GNUC_PRINTF for those versions.
10070 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10072 * gst/gsttaglist.c: (gst_is_tag_list):
10073 * gst/gsttaglist.h:
10074 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10076 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10077 Small test for the above.
10079 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10081 * gst/gsttaglist.h:
10082 Less tabs, more spaces.
10084 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10087 Those two function declarations do actually belong there, revert
10088 commit from yesterday that turned them intro macros.
10090 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10092 Patch by: Josep Torra Valles <josep@fluendo.com>
10094 * gst/gst.c: (gst_init_get_option_group):
10095 Fix empty declaration and type mismatch.
10096 * gst/gstbin.c: (gst_bin_change_state_func):
10098 * gst/gstelement.c: (gst_element_continue_state),
10099 (gst_element_set_state_func), (gst_element_change_state),
10100 (gst_element_change_state_func):
10101 Fix type mismatches.
10102 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10103 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10104 Cast as appropriate.
10105 * gst/gstobject.c: (gst_class_signal_connect):
10106 Cast as appropriate. The function pointer parameter really
10107 has the wrong type but would break API if we change it.
10109 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10110 order of including string.h.
10111 * gst/gstutils.c: (gst_element_state_get_name):
10112 Remove unreachable line.
10113 * gst/gstxml.c: (gst_xml_parse_doc):
10115 All these caught by Forte.
10117 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10119 Patch by: Josep Torra Valles <josep@fluendo.com>
10121 * common/m4/gst-error.m4:
10123 We need to disable warnings on Forte for empty declarations
10124 due to gst-indent adding ;s to lines that just use macros
10125 where the macro actually doesn't need a ; at end to end
10128 2006-10-06 Wim Taymans <wim@fluendo.com>
10130 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10131 (gst_file_sink_close_file), (gst_file_sink_event),
10132 (gst_file_sink_render):
10133 Add some FIXME for the NEWSEGMENT handling.
10135 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10137 * gst/parse/grammar.y:
10138 Remove static function gst_parse_element_lock as all it does
10139 is return. Looks like cruft from 0.8.
10141 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10143 Patch by: Josep Torra Valles <josep@fluendo.com>
10145 * common/m4/gst-error.m4:
10147 * libs/gst/net/Makefile.am:
10148 Fix a compilation issue with Forte on Solaris. inet_aton is in
10151 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10153 * gst/gstpad.c: (pre_activate):
10154 * gst/gstregistry.c: (gst_registry_scan_path_level):
10155 * gst/gstregistryxml.c: (load_plugin):
10156 * libs/gst/controller/gstcontroller.c:
10157 (gst_controlled_property_set_interpolation_mode):
10158 * libs/gst/dataprotocol/dataprotocol.c:
10159 (gst_dp_packet_from_event_1_0):
10160 * libs/gst/net/gstnetclientclock.c:
10161 (gst_net_client_clock_observe_times):
10162 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10165 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10168 * docs/gst/gstreamer-sections.txt:
10169 * gst/gstconfig.h.in:
10170 * gst/gstelement.h:
10172 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10173 whether we can use G_GNUC_PRINTF in other header files and at
10174 least check the printf format/arguments of debug messages and
10175 GST_ELEMENT_ERROR messages when the printf extension is not
10177 Replace more tabs with spaces in gstinfo.h and remove two spurious
10178 function declarations in GST_DISABLE_DEBUG part with macros.
10180 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10182 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10183 More docs for the sync-message signal (mention that it is not
10184 emitted by default); log message structures of messages posted on
10187 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10189 * gst/gst.c: (ensure_current_registry_forking):
10190 Use a pipe pair to receive status results from the forked child, and
10191 ignore the result from waitpid. Fixes #355499
10193 2006-10-02 Wim Taymans <wim@fluendo.com>
10195 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10196 (gst_ghost_pad_suite):
10199 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10202 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10204 2006-10-02 Edward Hervey <edward@fluendo.com>
10206 * docs/design/part-block.txt:
10207 Further explain the use of flushing on blocked pads.
10208 * docs/gst/gstreamer-sections.txt:
10209 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10210 (gst_pad_push_event):
10212 Added new GstPadFlag : GST_PAD_BLOCKING.
10213 Adds the notion of pads really blocking, which enables to properly
10214 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10216 API: gst_pad_is_blocking()
10217 API: GST_PAD_IS_BLOCKING() macro
10218 API: GST_PAD_BLOCKING GstPadFlag
10220 2006-10-02 Wim Taymans <wim@fluendo.com>
10222 Patch by: mrcgran <mrc.gran at gmail dot com>
10224 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10225 Filter the proxied caps against the padtemplate if we have one.
10227 * gst/gstquery.c: (gst_query_new_segment):
10228 Add include for gstinfo.h so that compilation with
10229 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10231 2006-10-02 Wim Taymans <wim@fluendo.com>
10233 Patch by: Alessandro Decina <alessandro at nnva org>
10235 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10236 (gst_file_sink_set_location), (gst_file_sink_open_file),
10237 (gst_file_sink_close_file), (gst_file_sink_event),
10238 (gst_file_sink_render):
10239 Set file to NULL when closing filesink so that we can set a new filename
10240 in READY. Fixes #358613.
10242 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10244 Patch by: Alessandro Decina <alessandro at nnva org>
10246 * gst/gstevent.c: (_gst_event_copy):
10247 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10248 with event structures by setting the parent refcount address of the
10249 copied structure to the address of the refcount member of the newly
10250 copied event rather than the address of the refcount member of the
10251 original event. Fixes #358737.
10253 * tests/check/gst/gstevent.c: (GST_START_TEST):
10254 Unit test for the above.
10256 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10258 * docs/design/Makefile.am:
10259 Dist some more files.
10261 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10263 * tests/check/libs/controller.c: (GST_START_TEST),
10264 (gst_controller_suite):
10265 Add test for the previous fix; add some more tests
10266 for correct refcounting behaviour; fix a few leaks
10267 in test cases; call gst_controller_init() at start
10270 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10272 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10273 (gst_controller_set_from_list):
10274 Don't g_return_val_if_fail() on timed values with invalid timestamps
10275 inside a critical section without unlocking the mutex. Spotted by
10276 René Stadler. (#357617)
10277 Also, fix up refcounting properly: when returning an existing
10278 controller, we should increase the reference only once and not
10279 once per property and when trying to control a property again
10280 we should also increase the refcount.
10282 2006-09-29 Wim Taymans <wim@fluendo.com>
10284 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10285 * libs/gst/net/gstnettimeprovider.c:
10286 (gst_net_time_provider_thread):
10287 Stop reading commands when EOF as well.
10289 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10290 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10291 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10292 Unify description of the dump property.
10294 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10296 * tests/examples/manual/.cvsignore:
10297 OK, so it's actually cvsignore that needs changing. Stop laughing.
10299 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10301 * tests/examples/manual/Makefile.am:
10302 Gah, declare vars *before* using them
10304 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10306 * gst/gst.c: (init_pre), (scan_and_update_registry),
10307 (ensure_current_registry_nonforking),
10308 (ensure_current_registry_forking), (ensure_current_registry),
10309 (init_post), (gst_debug_help), (gst_deinit):
10310 * gst/gst_private.h:
10311 * gst/gstregistry.c: (gst_registry_finalize),
10312 (gst_registry_remove_features_for_plugin_unlocked),
10313 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10314 (gst_registry_scan_path),
10315 (_priv_gst_registry_remove_cache_plugins),
10316 (_priv_gst_registry_cleanup):
10317 * gst/gstregistry.h:
10318 Re-commit the registry changes, along with an extra fix:
10319 When a cached plugin is encountered at a different file path,
10320 update the stored path in the registry cache so that the parent
10321 process knows where it actually is now when it re-reads the registry
10322 cache. Fixes the thing that broke distcheck with the previous commit.
10324 * tests/check/Makefile.am:
10325 Clean up files named 'core' too when running make clean.
10327 * tests/examples/manual/Makefile.am:
10328 Set up a registry path for running these tests, and clean it properly
10331 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10334 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10335 want gmodule-no-export-2.0.pc instead so that we don't drag in
10336 --export-dynamic on every project that links to GStreamer.
10338 Also, make our export regex only match the start of symbols, rather
10339 than any symbol that contains '_gst' somewhere.
10341 * libs/gst/check/Makefile.am:
10342 The libgstcheck we build does however need export-dynamic, as it
10343 produces some symbols that don't match our _gst... style regex.
10346 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10348 * gst/gst.c: (init_pre), (scan_and_update_registry),
10349 (ensure_current_registry_nonforking),
10350 (ensure_current_registry_forking), (ensure_current_registry),
10351 (init_post), (gst_debug_help), (gst_deinit):
10352 * gst/gst_private.h:
10353 * gst/gstregistry.c: (gst_registry_finalize),
10354 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10355 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10356 (_gst_registry_cleanup):
10357 * gst/gstregistry.h:
10358 Revert previous change until I figure out why it breaks distcheck.
10360 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10362 * gst/gst.c: (init_pre), (scan_and_update_registry),
10363 (ensure_current_registry_nonforking),
10364 (ensure_current_registry_forking), (ensure_current_registry),
10365 (init_post), (gst_debug_help), (gst_deinit):
10367 Make init_pre and init_post take the full complement of GOptionFunc
10368 args so they can return useful GErrors. Make the registry updating
10371 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10372 ensure that the registry we're about to write out doesn't contain
10373 stale information about old-deleted plugin files.
10375 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10376 that deletion of plugin files is considered a registry change.
10378 * gst/gst_private.h:
10379 * gst/gstregistry.c: (gst_registry_finalize),
10380 (gst_registry_remove_features_for_plugin_unlocked),
10381 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10382 (gst_registry_scan_path),
10383 (_priv_gst_registry_remove_cache_plugins),
10384 (_priv_gst_registry_cleanup):
10385 * gst/gstregistry.h:
10386 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10387 by adding _priv prefix, so that they won't appear in the global
10388 symbol table. They still do atm though because of #318031. Move the
10389 prototypes to gst_private.h
10391 When removing a plugin, remove all features for that plugin too.
10394 2006-09-27 Wim Taymans <wim@fluendo.com>
10396 * docs/random/moving-plugins:
10397 Make it clear that the "compiled-in descriptions" really mean
10398 the element details.
10400 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10401 (gst_base_sink_wait_preroll):
10404 * docs/libs/gstreamer-libs-sections.txt:
10405 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10406 (gst_base_src_get_range), (gst_base_src_activate_push):
10407 * libs/gst/base/gstbasesrc.h:
10408 Added function to block while waiting for PLAYING, this function
10409 is used by live sources that block on the clock.
10410 API: gst_base_src_wait_playing()
10412 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10414 Patch by: Peter Kjellerstedt <pkj at axis com>
10417 gst-element-check.m4 is generated and should therefore be
10418 copied from the build dir rather than the source dir (#357593).
10419 'make distcheck' hasn't noticed this because we were disting
10420 the file as well, so stop doing that.
10422 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10424 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10425 Add some tests for gst_caps_intersect().
10427 * tools/gst-launch.c: (event_loop):
10428 Print all buffering percentages we get, even the 100% one.
10430 2006-09-26 Wim Taymans <wim@fluendo.com>
10432 * tools/gst-inspect.c: (print_element_properties_info),
10433 (print_signal_info):
10434 Fix printing of flags to match the look of enums.
10436 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10438 * gst/gstelementfactory.c:
10439 Fix typo in docs blurb.
10441 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10443 * gst/gsturi.c: (search_by_entry):
10444 Don't assert/crash here if a uri handler doesn't return any
10445 supported protocols. The list of protocols could be generated
10446 dynamically at runtime or at plugin registration, and an error
10447 in the underlying library shouldn't be fatal (#353301).
10449 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10452 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10453 (spotted by Peter Kjellerstedt).
10455 2006-09-23 Wim Taymans <wim@fluendo.com>
10457 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10459 * libs/gst/base/gstbasesrc.c:
10460 (gst_base_src_default_check_get_range), (gst_base_src_start),
10461 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10462 (gst_base_src_change_state):
10463 Match _start/_stop calls in the activate functions. Remove redundant
10464 _stop call from the state change function. Fixes #356910.
10465 Turn failure DEBUG into ERROR.
10467 2006-09-22 Wim Taymans <wim@fluendo.com>
10469 * docs/design/part-buffering.txt:
10470 * gst/gstmessage.c: (gst_message_new_buffering),
10471 (gst_message_parse_buffering):
10472 Update docs about buffering.
10474 * docs/design/part-trickmodes.txt:
10477 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10479 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10480 (gst_controller_new_list):
10481 Ref instances when returning them again (fixes #357180)
10483 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10485 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10486 Don't forget to release proxy lock when there's an error.
10488 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10491 Add extra initialisers for Caps things, to fix some plugin warnings
10494 2006-09-18 Wim Taymans <wim@fluendo.com>
10496 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10497 Also set template on the internal pad so that a getcaps from the
10498 target pad returns the template caps.
10500 2006-09-18 Wim Taymans <wim@fluendo.com>
10502 * gst/gstelement.c: (gst_element_post_message),
10503 (gst_element_dispose):
10504 Use _DEBUG_OBJECT some more.
10506 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10509 * tools/gst-launch.c: (main):
10510 If the toplevel element is not a GstPipeline, it must be put in a
10511 pipeline so that a bus and clock is selected.
10513 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10515 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10516 JITTER, RATE, and LATENCY query should be handled by the
10517 default case and not by the CONVERT query code.
10519 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10521 * gst/gstformat.c: (gst_format_register):
10522 Fix locking order (must take lock before using n_values).
10524 * gst/gstvalue.c: (gst_value_serialize_enum),
10525 (gst_value_deserialize_enum_iter_cmp),
10526 (gst_value_deserialize_enum):
10527 Fix serialisation/deserialisation of custom registered GstFormats.
10529 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10530 Unit test for custom format serialisation/deserialisation.
10532 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10534 * docs/pwg/building-boiler.xml:
10535 * plugins/elements/gstcapsfilter.c:
10536 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10539 2006-09-16 Edward Hervey <edward@fluendo.com>
10541 * libs/gst/base/gstbasetransform.c:
10542 (gst_base_transform_buffer_alloc):
10543 Check if requested caps are the same as the sinks caps IF
10544 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10546 This fixes the renegotiation issues stated in #352827.
10548 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10551 * docs/manual/advanced-autoplugging.xml:
10552 * tests/examples/Makefile.am:
10553 * tests/examples/manual/.cvsignore:
10554 * tests/examples/manual/Makefile.am:
10555 * tests/examples/manual/extract.pl:
10556 Extract the manual examples again like we used to do.
10559 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10561 * win32/common/config.h:
10564 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10567 Documents how to receive errors.
10569 2006-09-15 Wim Taymans <wim@fluendo.com>
10571 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10572 (event_loop), (main):
10573 Added some comments here and there.
10574 Post an application message when an interrupt is caught instead of doing
10575 an uncontrolled state change.
10576 Clean up the event loop.
10577 Handle buffering messages, pause/resume the pipeline.
10578 Make shutdown because of an interrupt more reliable.
10580 2006-09-15 Wim Taymans <wim@fluendo.com>
10582 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10583 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10584 (gst_base_sink_preroll_object):
10585 Make sure that our internal state is correct when we commit our state
10586 asynchronously. This solves a race where a state change to PLAYING
10587 could cause the sink to remain blocked in preroll in some situations.
10589 2006-09-15 Wim Taymans <wim@fluendo.com>
10591 * tools/gst-inspect.c: (print_element_properties_info),
10592 (print_signal_info):
10593 List flags as hex so it's easier to deal with.
10595 2006-09-15 Wim Taymans <wim@fluendo.com>
10597 * docs/libs/gstreamer-libs-sections.txt:
10598 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10599 (gst_base_sink_do_sync):
10600 * libs/gst/base/gstbasesink.h:
10601 Expose logic to wait for preroll so that subclasses such as audiosink
10602 can also use this method.
10603 API: gst_base_sink_wait_preroll()
10605 2006-09-15 Wim Taymans <wim@fluendo.com>
10607 * gst/gstobject.c: (gst_object_set_parent):
10608 * gst/gstpipeline.c: (do_pipeline_seek):
10609 Small cleanups in docs and code.
10611 * gst/gstsegment.c: (gst_segment_clip):
10612 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10613 if stop == start and start is in the segment, no clipping should be
10614 done. Also add a test for this.
10616 2006-09-15 Wim Taymans <wim@fluendo.com>
10618 * docs/design/part-buffering.txt:
10619 * docs/gst/gstreamer-sections.txt:
10620 * gst/gstmessage.c: (gst_message_new_buffering),
10621 (gst_message_parse_buffering):
10622 * gst/gstmessage.h:
10623 Added methods to create and parse BUFFERING messages.
10624 Added preliminary docs about buffering.
10625 API: gst_message_new_buffering
10626 API: gst_message_parse_buffering
10628 2006-09-06 Wim Taymans <wim@fluendo.com>
10631 Update documentation.
10633 * gst/gstelement.c: (gst_element_class_init),
10634 (gst_element_release_request_pad), (gst_element_set_clock),
10635 (gst_element_get_index), (gst_element_add_pad),
10636 (gst_element_remove_pad), (gst_element_get_random_pad),
10637 (gst_element_send_event), (gst_element_get_query_types),
10638 (gst_element_query), (gst_element_post_message),
10639 (gst_element_message_full), (gst_element_continue_state),
10640 (gst_element_lost_state), (gst_element_save_thyself),
10641 (gst_element_restore_thyself):
10642 Documentation updates.
10643 Rename last bit of the new-pad -> pad-added signal rename.
10644 Fix the case where an element query would only work if the source
10646 Avoid some useless type checking in message handling.
10651 Documentation updates.
10653 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10655 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10656 add an INFO line for when we actually update the fd
10658 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10663 === release 0.10.10 ===
10665 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10668 releasing 0.10.10, "Pais"
10670 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10672 * docs/manual/advanced-position.xml:
10673 Fix typo in sample code.
10675 2006-09-05 Wim Taymans <wim@fluendo.com>
10677 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10678 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10679 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10680 * libs/gst/net/gstnetclientclock.h:
10681 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10682 * libs/gst/net/gstnettimepacket.h:
10683 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10684 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10685 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10686 * libs/gst/net/gstnettimeprovider.h:
10687 Make stuff compile on windows. Fixes #345295.
10689 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10691 * gst/gst.c: (ensure_current_registry_forking):
10692 Print better details when child was terminated by signal.
10694 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10696 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10697 Print a warning rather than g_assert() if a plugin feature
10698 is a URI handler but returns no protocols (#353976).
10700 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10702 * docs/random/moving-plugins:
10705 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10707 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10708 Fix locking order, handle NULL function values properly.
10713 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10714 Initialise variable before using it and fix debug statement to
10715 print the address of the function rather than the address of the
10716 variable on the stack holding the address of the function.
10718 2006-09-01 Wim Taymans <wim@fluendo.com>
10720 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10721 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10722 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10723 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10724 (gst_ghost_pad_parent_unset),
10725 (gst_ghost_pad_internal_do_activate_push),
10726 (gst_ghost_pad_internal_do_activate_pull),
10727 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10728 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10729 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10730 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10731 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10732 (gst_ghost_pad_new_no_target_from_template),
10733 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10735 Avoid needless typechecking in macros.
10736 Since the internal pad is always present and never changes, there is
10737 no need to locking or ref when retrieving it.
10738 Improve debugging a bit.
10739 Handle link errors when setting the target. Fixes #341029.
10741 2006-09-01 Wim Taymans <wim@fluendo.com>
10743 * docs/libs/gstreamer-libs-sections.txt:
10744 * docs/plugins/gstreamer-plugins-sections.txt:
10745 Fix docs some more.
10747 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10748 (gst_collect_pads_event):
10749 * libs/gst/base/gstcollectpads.h:
10750 Documentation updates.
10751 Free queued buffer when removing a pad.
10753 2006-08-31 Michael Smith <msmith@fluendo.com>
10755 * gst/gstutils.c: (gst_element_link_pads),
10756 (gst_element_link_pads_filtered):
10757 Ensure that we set a capsfilter to NULL if we failed to link it
10758 when doing filtered linking, to avoid criticals.
10760 No need to check for unreffing srcpad, which is explicly NULLed
10761 above (a trivial code cleanup).
10763 2006-08-31 Wim Taymans <wim@fluendo.com>
10765 * docs/design/part-gstghostpad.txt:
10766 Update ascii art in documentation.
10768 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10769 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10770 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10771 (gst_ghost_pad_internal_do_activate_push),
10772 (gst_ghost_pad_internal_do_activate_pull),
10773 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10774 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10775 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10776 (gst_ghost_pad_set_target):
10777 Small cleanups and leak fixes.
10778 Remove some checks now that the internal pad is never NULL.
10779 Fix the case where linking pads without a target would create nasty
10780 criticals. Fixes #341029.
10781 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10782 value of _set_target().
10784 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10785 (gst_ghost_pad_suite):
10786 Some more tests for creating and linking untargeted ghostpads.
10788 2006-08-31 Edward Hervey <edward@fluendo.com>
10790 * docs/gst/gstreamer-sections.txt:
10791 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10792 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10793 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10794 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10795 (gst_ghost_pad_new_from_template),
10796 (gst_ghost_pad_new_no_target_from_template):
10797 * gst/gstghostpad.h:
10798 Refactored *_new() functions.
10799 Templates are now used as a g_object_new() parameter.
10800 Use template in _do_getcaps() if we don't have a target.
10801 Small documentation cleanups.
10802 Added two new constructors:
10803 gst_ghost_pad_new_from_template()
10804 gst_ghost_pad_new_no_target_from_template()
10805 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10806 (gst_ghost_pad_suite):
10807 Added tests for new ghostpad instanciation functions.
10809 API additions: gst_ghost_pad_new_from_template,
10810 gst_ghost_pad_new_no_target_from_template
10812 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10814 * docs/random/ensonic/profiling.txt:
10815 Ideas about qos profiling.
10817 2006-08-29 Wim Taymans <wim@fluendo.com>
10819 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10823 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10826 Improve and detypofy docs.
10828 * tests/check/Makefile.am:
10829 * tests/check/gst/.cvsignore:
10830 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10831 Add a basic test suite for GstXML.
10833 2006-08-29 Wim Taymans <wim@fluendo.com>
10835 * gst/gstelement.c: (activate_pads), (clear_caps),
10836 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10837 Clear the pad caps when the element shut down all of the pads and
10838 is not streaming data that could modify the caps.
10841 2006-08-28 Michael Smith <msmith@fluendo.com>
10843 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10844 Revert previous change; I misunderstood single-segment mode.
10846 2006-08-28 Michael Smith <msmith@fluendo.com>
10848 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10849 Unset DISCONT on buffers when using single-segment mode.
10851 2006-08-28 Wim Taymans <wim@fluendo.com>
10853 * gst/gstcaps.c: (gst_caps_merge_structure):
10855 Fix docs and indentation again.
10857 * tests/check/gst/gstquery.c: (GST_START_TEST):
10858 Fix leak in tests and add some more tests.
10860 2006-08-28 Edward Hervey <edward@fluendo.com>
10862 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10863 Inform GstSegment of the last stop position in order for the current
10864 segment to have a proper duration if it doesn't have a specific stop
10865 position from which a duration could be calculated.
10866 This bug was noticeable when a non-flushing, non-update new segment was
10867 followed by another segment (all buffers from the new segment were being
10870 2006-08-28 Wim Taymans <wim@fluendo.com>
10872 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10873 Small comment update.
10875 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10876 (gst_identity_transform_ip):
10877 Drop-probability is broken, mention this in the code with a
10878 FIXME and also in the property description.
10879 Make silent also be silent about the drop messages.
10881 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10883 * docs/manual/appendix-win32.xml:
10884 Remove mention of popt, we don't depend on that any
10885 longer (#353136). Add some comments pointing out that
10886 this section is slightly outdated.
10888 2006-08-28 Wim Taymans <wim@fluendo.com>
10890 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10892 * gst/gstquery.c: (gst_query_new_segment):
10893 * tests/check/gst/gstquery.c: (GST_START_TEST):
10894 Initialize variables when creating a new segment query.
10897 2006-08-28 Wim Taymans <wim@fluendo.com>
10899 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10901 * gst/gstelement.c: (gst_element_get_bus):
10902 * tests/check/gst/gstelement.c: (GST_START_TEST):
10903 Check for NULL before _reffing the bus. Fixes #353122.
10905 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10907 * docs/manual/basics-bus.xml:
10908 Docs update: fix wrong callback return value explanation; add
10909 some lines about the implicit relationship between main loop
10910 and main context; remove duplicate main loop variable declaration.
10912 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10914 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10915 Don't leak caps in unit test; add a few more simple
10918 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10920 * docs/gst/gstreamer-sections.txt:
10921 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10922 (gst_caps_structure_is_subset), (gst_caps_merge),
10923 (gst_caps_merge_structure):
10925 * libs/gst/base/gstbasetransform.c:
10926 (gst_base_transform_transform_caps):
10927 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10928 implement caps merging (fixes #352580)
10930 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10932 * tools/Makefile.am:
10933 * tools/gst-plot-timeline.py:
10934 add debug-log plotting developer tool (#340674)
10936 2006-08-23 Wim Taymans <wim@fluendo.com>
10938 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10939 (gst_pad_stop_task):
10940 Improve debugging for task functions.
10942 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10943 (gst_task_start), (gst_task_pause), (gst_task_join):
10944 Make sure that the task function started and finished after a
10946 Don't try to push the task function on the threadpool multiple
10948 Improve the g_warning message with some useful suggestions
10949 about how to fix the problem.
10951 2006-08-23 Wim Taymans <wim@fluendo.com>
10953 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10954 Handle RESYNC correctly in _proxy_getcaps.
10956 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10958 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10959 (gst_xml_parse_memory), (gst_xml_get_element):
10960 Chain up to parent class in dispose function and also
10961 unref the elements in the toplevel_elements GList.
10962 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10963 Always return a reference in gst_xml_get_element() rather
10964 than only sometimes.
10966 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10967 Don't leak GstXml object.
10969 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10971 * docs/gst/gstreamer-sections.txt:
10972 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10975 * libs/gst/base/gstbasetransform.c:
10976 (gst_base_transform_transform_caps):
10977 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10980 2006-08-21 Edward Hervey <edward@fluendo.com>
10982 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10983 Implement GObject::dispose virtual method in GstXML so we can free the
10984 top_elements GList.
10986 2006-08-21 Wim Taymans <wim@fluendo.com>
10988 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10989 (gst_buffer_create_sub):
10990 Copy duration/offset_end/caps when creating a subbuffer of the
10992 Make the subbuffer read-only when we make the metadata writable for
10993 now. Fixes #351768.
10995 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10996 Added check for metadata copy when creating subbuffers.
10998 2006-08-21 Edward Hervey <edward@fluendo.com>
11000 * libs/gst/base/gstbasetransform.c:
11001 (gst_base_transform_buffer_alloc):
11002 Only call downstream buffer_alloc if transform element is passthrough
11003 or always_in_place. Closes #350449.
11005 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11008 ChangeLog surgery to add comments to previous changes
11010 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11015 * gst/gstpad.c: (gst_pad_set_active):
11016 Be more verbose in the log
11018 * libs/gst/base/gstbasetransform.c:
11019 (gst_base_transform_transform_caps):
11020 Simplify caps to get rid of duplicates, fixes #345444
11022 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11026 Use these optimizations only internally.
11028 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11030 * gst/gstvalue.c: (gst_value_compare_list),
11031 (gst_value_compare_fraction_range),
11032 (gst_value_intersect_fraction_fraction_range),
11033 (gst_value_intersect_fraction_range_fraction_range),
11034 (gst_value_subtract_fraction_fraction_range),
11035 (gst_value_subtract_fraction_range_fraction_range),
11036 (gst_value_get_compare_func), (gst_value_compare),
11037 (gst_value_compare_with_func):
11039 Saves the expensive lookup of the compare function in many cases
11042 2006-08-18 Edward Hervey <edward@fluendo.com>
11044 * tests/check/gst/gstinfo.c: (gst_info_suite):
11045 Disable test that require gstdebug if it wasn't built in core.
11047 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11049 * docs/random/ensonic/logging.txt:
11052 * gst/gstinfo.c: (gst_debug_log_default):
11053 reorder fields, save some columns, add optional color codes for log
11056 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11058 * docs/random/ensonic/logging.txt:
11059 add ideas about making the logs a bit more useful
11061 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11063 * docs/pwg/advanced-events.xml:
11064 * docs/pwg/titlepage.xml:
11065 Update for 0.10 API (#340627). Add myself
11068 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11070 * docs/libs/gstreamer-libs-docs.sgml:
11071 * docs/libs/gstreamer-libs-sections.txt:
11072 * libs/gst/check/gstbufferstraw.c:
11073 Make gstcheck stuff show up in docs (still needs to
11074 be documented properly though).
11076 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11078 * docs/gst/gstreamer-sections.txt:
11080 * gst/gst.c: (init_post):
11081 * gst/gst_private.h:
11082 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11084 * gst/gstquery.c: (gst_query_new_position),
11085 (gst_query_set_position), (gst_query_parse_position),
11086 (gst_query_new_duration), (gst_query_set_duration),
11087 (gst_query_parse_duration), (gst_query_new_convert),
11088 (gst_query_set_convert), (gst_query_parse_convert),
11089 (gst_query_new_segment), (gst_query_set_segment),
11090 (gst_query_parse_segment), (gst_query_new_seeking),
11091 (gst_query_set_seeking), (gst_query_parse_seeking):
11092 Add internal helpers for pre-registering quarks from static strings
11093 and using the quark values directly instead of looking them up when
11094 creating and parsing queries. Can be used for event construction too.
11097 2006-08-16 Wim Taymans <wim@fluendo.com>
11102 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11104 * gst/gstutils.c: (gst_util_set_value_from_string):
11105 Fix memleak (#351502).
11107 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11108 Add unit test for most of gst_util_set_value_from_string()
11109 (not that one would want to encourage use of this function).
11111 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11113 * libs/gst/check/gstcheck.h:
11114 Use const gchar * variables in fail_unless_equals_string
11115 macro to avoid compiler warnings (and don't use tabs for
11118 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11120 * tools/gst-launch.c: (print_tag):
11121 More space on the left for the tag names, to cater
11122 for the 'extended comment' tag (not touching the
11123 string for the first line since it's translated).
11125 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11127 * libs/gst/check/gstcheck.h:
11128 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11129 print something when they fail.
11131 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11133 * docs/gst/gstreamer-sections.txt:
11134 * gst/gsttaglist.c: (_gst_tag_initialize):
11135 * gst/gsttaglist.h:
11136 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11137 Also change merge function for GST_TAG_COMMENT to
11140 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11142 * gst/gstinfo.c: (gst_debug_print_object):
11143 Make GST_PTR_FORMAT print messages as well.
11145 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11146 (GST_START_TEST), (gst_info_suite):
11149 2006-08-14 Edward Hervey <edward@fluendo.com>
11151 * gst/gstelementfactory.c: (gst_element_register):
11152 If the GstElementClass doesn't have a GstElementDetails with all fields
11153 filled up correctly (longname, description AND author), then error out
11154 nicely instead of crashing.
11156 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11158 * gst/gststructure.c:
11159 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11162 Expand on the difference between arrays and lists as we use them.
11164 2006-08-14 Wim Taymans <wim@fluendo.com>
11166 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11167 If the parent state change function failed, don't assume we can safely
11168 stop the source, this will be done when the pads are deactivated.
11170 2006-08-14 Wim Taymans <wim@fluendo.com>
11173 * gst/gsttask.c: (gst_task_join):
11176 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11177 (gst_pad_stop_task):
11178 When pad (de)activation failed for some reason, restore the old
11179 activation mode and set the pad to flushing instead of assuming the
11180 pad is deactivated.
11181 If the _task_join() failed, reinstall the task on the pad so that it can
11182 be stopped later and return an error.
11184 2006-08-11 Andy Wingo <wingo@pobox.com>
11187 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11188 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11189 is only for users of API that don't want to see deprecated
11190 functions in the headers; people that want to compile out
11191 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11192 CFLAGS. Fixes the build of multifdsink, or will soon..
11194 2006-08-11 Wim Taymans <wim@fluendo.com>
11196 * docs/gst/gstreamer-sections.txt:
11197 Add GstClockClass vmethod docs.
11200 Mark #endif with comment for associated #if
11202 * gst/gstclock.c: (gst_clock_id_wait):
11204 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11205 most clock implementations.
11207 Flesh out docs about resolution methods.
11208 API: GstClockClass::wait_jitter
11210 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11211 (gst_system_clock_async_thread),
11212 (gst_system_clock_id_wait_jitter_unlocked),
11213 (gst_system_clock_id_wait_jitter):
11214 Use base class wait_jitter variant for improved performance
11215 due to less clock polling.
11217 2006-08-11 Edward Hervey <edward@fluendo.com>
11219 * gst/gst.c: (gst_init_check), (init_post):
11220 Set gst as being initialized before scanning/updating the registry,
11221 since there might be my python plugin loader that calls gst_init() and
11222 we don't want to loop back in.
11225 2006-08-11 Wim Taymans <wim@fluendo.com>
11227 * docs/design/part-qos.txt:
11228 Bring docs in line with the code. Mostly the sign of the jitter was
11229 wrong in the docs. Fixes #349943.
11232 Fix the docs for the jitter.
11234 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11235 (gst_event_parse_tag), (gst_event_new_buffer_size),
11236 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11237 (gst_event_new_seek), (gst_event_parse_seek),
11238 (gst_event_new_navigation):
11239 Make sure the GstStructure has no parent when creating custom
11241 Add some more argument checking so that we avoid 0.0 rates.
11242 Flesh out the docs for the QoS event some more.
11244 2006-08-11 Wim Taymans <wim@fluendo.com>
11246 * docs/gst/gstreamer-sections.txt:
11247 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11248 (ensure_current_registry_forking), (ensure_current_registry),
11249 (parse_one_option), (parse_goption_arg), (gst_deinit),
11250 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11253 Added API and command line option to disable registry forking in
11254 addition to the environment variable.
11255 Constify some static arrays.
11256 Added some more debug.
11257 Don't deinit twice.
11258 API: gst_registry_fork_is_enabled()
11259 API: gst_registry_fork_set_enabled()
11260 API: --gst-disable-registry-fork command line option
11263 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11265 * gst/gst.c: (gst_init):
11266 Fix typo in error message.
11268 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11270 * libs/gst/controller/gstcontroller.h:
11271 fix ABI size-correction
11273 * tests/check/libs/gdp.c: (gst_dp_suite):
11274 make tests that use deprecated API conditional
11276 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11278 * docs/libs/gstreamer-libs-sections.txt:
11279 * libs/gst/controller/gstcontroller.c:
11280 (_gst_controller_get_property), (_gst_controller_set_property),
11281 (_gst_controller_init), (_gst_controller_class_init):
11282 * libs/gst/controller/gstcontroller.h:
11283 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11284 (gst_object_set_control_rate):
11285 API: add gst_object_{s,g}et_control_rate(), add private data section,
11288 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11289 * libs/gst/dataprotocol/dataprotocol.h:
11290 add deprecation guards to make gtk-doc happy and allow disabling cruft
11292 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11294 * tests/check/Makefile.am:
11295 * tests/check/gst/.cvsignore:
11296 Let's enable the new unit test as well.
11298 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11301 * docs/gst/gstreamer-sections.txt:
11302 * gst/gstconfig.h.in:
11303 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11304 (_gst_info_printf_extension_ptr),
11305 (_gst_info_printf_extension_segment):
11306 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11307 register that lets us easily dump GstSegments into debug
11310 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11311 (info_segment_format_printf_extension), (gst_info_suite):
11312 Add simple unit test that logs a bunch of different segments (not
11313 valgrinded at the moment because of leaks in
11314 gst_debug_add_log_function).
11316 2006-08-09 Edward Hervey <edward@fluendo.com>
11318 * libs/gst/base/gstbasetransform.c:
11319 (gst_base_transform_buffer_alloc):
11320 Even if we can't figure out the proper format to request downstream,
11321 call buffer_alloc() downstream with the input parameters without setting
11322 the caps on the srcpad. This will force negotiation in the chain
11326 2006-08-08 Edward Hervey <edward@fluendo.com>
11328 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11329 Unlinking from a pad without a target is now a perfectly valid case
11330 which should NOT raise an assertion.
11331 This case would happen if a linked ghostpad its target set to NULL after
11332 it was previously linked.
11334 2006-08-08 Edward Hervey <edward@fluendo.com>
11336 * tests/check/libs/gdp.c:
11337 Also comment out the test (see below).
11339 2006-08-08 Edward Hervey <edward@fluendo.com>
11341 * tests/check/libs/gdp.c: (gst_dp_suite):
11342 Use the architecture information from config.h and not gcc macros
11343 in order to properly disable a test that fails on PPC64.
11345 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11347 * gst/gstelement.c: (gst_element_remove_pad):
11348 Don't crash printing the warning if the pad has no parent.
11350 2006-08-02 Wim Taymans <wim@fluendo.com>
11352 * libs/gst/dataprotocol/dataprotocol.c:
11353 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11354 (gst_dp_crc), (gst_dp_header_payload_length),
11355 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11356 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11357 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11358 (gst_dp_event_from_packet), (gst_dp_validate_header),
11359 (gst_dp_validate_payload):
11360 Make debug category static
11361 Constify the crc table.
11362 Do some more arg checking in public functions.
11363 Fix some docs and do some small cleanups.
11365 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11366 Add some more checks to see if GDP deals with bogus input.
11368 2006-07-31 Wim Taymans <wim@fluendo.com>
11370 * gst/gstvalue.c: (gst_value_compare_list):
11371 Fix GstValueList comparison code. Fixes #347293.
11373 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11374 Check to test GstValueList comparison.
11376 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11378 * gst/gstelementfactory.c: (gst_element_factory_create):
11379 Remove unnecessary ref/unref pair
11381 * gst/parse/grammar.y:
11382 Make sure to free the parse buffer on all code paths.
11383 Move a g_free up to the error handler where it's easier to see.
11385 * tests/check/gst/gstevent.c: (test_event):
11386 Extending timeout for downstream travelling events to 10 seconds to
11387 hopefully avoid intermittent failure on the buildbots.
11389 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11390 Don't manually set the state of the src element - it will happen as a
11391 natural consequence of the pipeline changing state, and that way it
11392 will do it in the right order too.
11394 2006-07-31 Wim Taymans <wim@fluendo.com>
11396 * libs/gst/base/gstbasetransform.c:
11397 (gst_base_transform_buffer_alloc):
11398 Use OBJECT_LOCK and refcounting to get the pad caps in the
11399 buffer_alloc function because the caps could change while we are
11400 busy with them. Fixes #349105
11402 2006-07-31 Wim Taymans <wim@fluendo.com>
11404 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11405 Protect _PAD_CAPS with OBJECT_LOCK.
11407 2006-07-31 Wim Taymans <wim@fluendo.com>
11409 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11410 (gst_pad_get_property), (gst_pad_activate_pull),
11411 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11412 (gst_pad_set_activate_function),
11413 (gst_pad_set_activatepull_function),
11414 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11415 (gst_pad_set_getrange_function),
11416 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11417 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11418 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11419 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11420 (gst_pad_set_acceptcaps_function),
11421 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11422 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11423 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11424 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11425 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11426 (gst_pad_configure_sink), (gst_pad_configure_src),
11427 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11428 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11429 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11430 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11431 (gst_pad_send_event):
11432 Use _DEBUG_OBJECT when it makes sense.
11433 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11434 Small cleanups and code reflows.
11435 Avoid caps refcounting in _accept_caps.
11436 Refactor alloc_buffer so that the code performed on the peer is in a
11437 separate function. Also if the pad does not implement a buffer alloc
11438 function, we should still check if the pad is flushing before falling
11439 back to the default allocator.
11441 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11443 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11444 Make all uses of identity and fakesink have silent=true to avoid
11445 serialising every passing data structure, which is breaking tests
11446 on FC4 for some unknown reason.
11448 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11450 * gst/parse/Makefile.am:
11451 * gst/parse/grammar.y:
11452 * gst/parse/parse.l:
11453 Reverted previous patch as it required to bump the flex dependency to
11454 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11456 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11458 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11460 * gst/parse/Makefile.am:
11461 * gst/parse/grammar.y:
11462 * gst/parse/parse.l:
11463 push & pop the state of the lexer for reentrant use case
11466 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11468 * libs/gst/base/gstbasesrc.h:
11469 Note in the docs that the ::newsegment vfunc is not actually used by
11472 2006-07-28 Wim Taymans <wim@fluendo.com>
11474 * libs/gst/base/gstcollectpads.c:
11475 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11476 (gst_collect_pads_clear), (gst_collect_pads_flush),
11477 (gst_collect_pads_event), (gst_collect_pads_chain):
11478 When flushing a pad, also clear the queued buffer so that we don't
11479 accidentally use it when we shouldn't.
11480 Fix leaks by inreffing incomming buffer.
11481 Flush out queued buffers in case of errors.
11484 2006-07-28 Wim Taymans <wim@fluendo.com>
11486 * docs/random/phonon-gst:
11487 Random notes about a Phonon backend.
11489 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11491 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11493 * tests/check/libs/gdp.c: (gst_dp_suite):
11494 Take a whack at fixing the ppc compile using a different define to
11495 disable the broken test.
11497 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11498 Remove excess g_print()
11500 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11502 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11503 Oops, meant to uncomment this line too to dampen the noise a bit.
11505 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11507 * gst/parse/grammar.y:
11508 * gst/parse/parse.l:
11509 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11510 (GST_START_TEST), (parse_suite):
11511 Fix some of the leaks exposed by extending the parse-launch testsuite,
11512 and move the 3 I can't figure out into a separate test that won't run
11513 the pipelines unless the appropriate line is uncommented.
11515 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11517 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11518 Requesting 0 bytes before the end of the file should result in
11519 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11522 2006-07-27 Wim Taymans <wim@fluendo.com>
11524 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11525 Fix useless assert, a uint is always positive.
11527 * gst/gststructure.c: (gst_structure_nth_field_name),
11528 (gst_structure_foreach), (gst_structure_map_in_place):
11529 Check input arguments for public functions to avoid obvious crashes.
11531 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11532 * plugins/elements/gstfakesink.h:
11533 Do less useless typechecking.
11535 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11537 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11538 Do not use mmap() by default since there are a number of error
11539 conditions that we would like to handle in a non-fatal way that
11540 will result in a SIGBUS if we use mmap(). Examples: external
11541 devices (USB harddrive, portable music player) being unplugged
11542 while in use; file on mounted CD/DVD that can't be read because
11543 the medium is partly damaged. Fixes #348455 and #348475.
11545 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11548 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11549 rates are a gdouble
11551 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11553 * gst/gstregistry.c:
11554 Move big documentation comment into class section header, so that it
11555 appears in the API docs.
11557 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11559 * docs/gst/gstreamer-sections.txt:
11560 Oops. Commit the docs additions too for new API.
11561 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11563 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11565 * gst/gststructure.c: (gst_structure_id_set),
11566 (gst_structure_id_set_valist):
11567 * gst/gststructure.h:
11568 Add API for setting values into structures without performing
11569 a quark lookup, if the appropriate quark is already known.
11571 API: gst_structure_id_set
11572 API: gst_structure_id_set_valist
11574 * gst/parse/grammar.y:
11575 * gst/parse/parse.l:
11576 Remove some dead code shown by the coverage information.
11577 Don't throw a critical g_warning when encountering a syntax error,
11578 just warn and let the normal error path handle it.
11580 * plugins/elements/gstelements.c:
11581 Bump the rank of filesink up to PRIMARY so that it is preferred over
11582 gnomevfssink for file:// sink uri's
11584 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11585 (GST_START_TEST), (run_delayed_test),
11586 (gst_parse_test_element_base_init),
11587 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11588 (gst_parse_test_element_change_state),
11589 (gst_register_parse_element), (parse_suite):
11590 Beef up the tests for parse syntax to check that more error cases
11591 fail as they are supposed to. Increases the test coverage a bit.
11593 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11595 * docs/manual/basics-elements.xml:
11596 Fix gst_element_link() example.
11599 Mention in API docs that one should usually gst_bin_add()
11600 elements to a bin or pipeline before doing the linking.
11602 2006-07-26 Wim Taymans <wim@fluendo.com>
11604 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11605 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11606 Avoid function call for known types by keeping the buffer and
11607 subbuffer GType global.
11609 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11610 Random silly optimisations in read() path.
11612 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11614 * tools/gst-launch.c: (main):
11615 If the top-level of the parse is a normal bin, it doesn't do the
11616 right logic to run as a top-level element, so place it inside a
11619 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11621 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11622 Remove superfluous g_object_notify() calls, GObject does
11623 that for us automatically.
11625 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11628 on Win32, use dllspec to export the debug category symbols
11630 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11632 * gst/gsttaglist.c: (_gst_tag_initialize):
11633 Allow more than one GST_TAG_IMAGE per taglist.
11635 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11637 * gst/gstminiobject.c:
11639 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11640 (gst_fd_src_create):
11641 log recurring events at LOG level
11642 add more debug for when the fd gets set
11644 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11646 * gst/gstparse.c: (gst_parse_launch):
11647 Also remove reentrance checks if flex is MT safe (#348179)
11648 Fix my empty ChangeLog entry below
11650 2006-07-21 Andy Wingo <wingo@pobox.com>
11652 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11654 * libs/gst/check/Makefile.am
11655 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11656 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11657 * libs/gst/check/gstbufferstraw.h:
11658 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11659 functions, thus proving I am still a GStreamer haxor. OK I wrote
11660 them a long time ago, but anyways.
11662 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11665 * gst/gstparse.c: (gst_parse_launch):
11666 Check for flex version and omit mutex if we have a MT save flex
11669 2006-07-21 Wim Taymans <wim@fluendo.com>
11671 * gst/gstparse.c: (gst_parse_launch):
11672 Protect recursive calls to _parse with a recursive mutex
11675 2006-07-21 Wim Taymans <wim@fluendo.com>
11677 * tests/check/gst/gstpad.c: (GST_START_TEST):
11680 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11682 * gst/gstparse.c: (gst_parse_launch):
11683 Do not hang on recursive usage of gst_parse_launch()
11685 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11687 * gst/gsttaglist.c:
11688 Add some more docs, comments and FIXME 0.11s here and there
11689 and also fix some typos.
11691 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11693 * gst/gstsegment.h:
11694 Convert tabs to spaces for better readability.
11696 2006-07-20 Edward Hervey <edward@fluendo.com>
11698 * tests/check/libs/gdp.c: (gst_dp_suite):
11699 the test_buffer test fails at line 140 on ppc64 at the following
11701 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11702 GST_BUFFER_FLAG_IN_CAPS),
11703 "GST_BUFFER_IN_CAPS flag should have been copied !");
11704 See bug #348114 for more details.
11706 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11708 * docs/pwg/advanced-scheduling.xml:
11710 Fix typos (#348000).
11712 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11714 * docs/pwg/intro-basics.xml:
11715 Fix wrong links (#347927).
11717 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11719 * gst/gstregistry.h:
11720 * gst/gstregistryxml.c: (load_feature),
11721 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11722 * win32/common/config.h:
11723 make --disable-index work (#342564)
11725 2006-07-18 Wim Taymans <wim@fluendo.com>
11727 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11731 The attached patch adds two missing defines to gsttrace.h when tracing
11732 is disabled. It also corrects one existing define.
11735 2006-07-17 Wim Taymans <wim@fluendo.com>
11737 * docs/gst/gstreamer-sections.txt:
11738 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11740 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11741 Add two functions to check and change the SIGSEGV behaviour
11742 when loading plugins.
11743 Don't mess with the SIGSEGV handler when we were told not to.
11745 API: gst_segtrap_is_enabled
11746 API: gst_segtrap_set_enabled
11748 2006-07-14 Wim Taymans <wim@fluendo.com>
11750 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11751 * tests/check/elements/filesrc.c: (GST_START_TEST):
11752 Revert fix for regression in #347408 after release.
11754 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11756 Patch by: Antoine Tremblay <hexa00 at gmail com>
11758 * gst/gstutils.c: (gst_element_unlink):
11759 Free iterator when done (#347311).
11761 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11762 And add a test case for this.
11764 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11767 Bump nano back to CVS
11769 === release 0.10.9 ===
11771 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11774 releasing 0.10.9, "On the road again"
11776 2006-07-13 Wim Taymans <wim@fluendo.com>
11778 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11779 * tests/check/elements/filesrc.c: (GST_START_TEST):
11780 Revert pull-0 fix for release. Disable check. Fixes #347408.
11782 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11784 * libs/gst/dataprotocol/dataprotocol.c:
11785 (gst_dp_event_from_packet_1_0):
11786 Fixes #347337: failure to deserialize event packets with
11787 empty payload (only event type)
11789 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11792 do not install a .c file in the header directory
11794 2006-07-13 Edward Hervey <edward@fluendo.com>
11796 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11797 GhostPad no longer implicitely use the padtemplates of the targets.
11800 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11802 * gst/gstvalue.c: (gst_value_compare_list),
11803 (gst_value_compare_array), (_gst_value_initialize):
11804 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11805 Make GstValueArray comparison be order dependent as designed.
11806 Add checks for value lists and value array comparisons.
11809 2006-07-11 Edward Hervey <edward@fluendo.com>
11811 * gst/gstbin.c: (activate_pads),
11812 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11813 (gst_bin_change_state_func):
11814 (de)activate src pads before calling state_change on the childs.
11815 This is to avoid the case where a src ghostpad is blocked (holding the
11816 stream lock), which would block the deactivation of the ghostpad's
11818 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11819 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11820 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11821 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11822 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11823 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11824 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11825 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11826 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11827 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11828 (gst_ghost_pad_class_init),
11829 (gst_ghost_pad_internal_do_activate_push),
11830 (gst_ghost_pad_internal_do_activate_pull),
11831 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11832 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11833 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11834 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11835 GhostPads now create their internal GstProxyPad at creation (and not
11836 when they're linked, as it was being done previously).
11837 The internal and target pads are linked straight away.
11838 The data will also travel through the other pad in order to make
11839 pad blocking and probes non-hackish (the probe/block now really happens
11840 on the GhostPad and not on the target).
11841 * gst/gstpad.c: (gst_pad_set_blocked_async),
11842 (gst_pad_link_prepare), (gst_pad_push_event):
11843 Remove previous ghostpad cruft.
11844 * gst/gstutils.c: (gst_pad_add_data_probe),
11845 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11846 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11847 (gst_pad_remove_buffer_probe):
11848 Remove previous ghost pad cruft.
11849 Added more detailed debug statements.
11850 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11851 Fix the testsuite for refcounting changes.
11852 The comments about who has references were correct, but the refcount
11853 being checked wasn't the same (!?!).
11857 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11859 * docs/gst/gstreamer-sections.txt:
11860 * gst/gstconfig.h.in:
11861 More docs for configuration options, add docs to gtk-doc.
11863 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11866 * gst/gstconfig.h.in:
11867 * win32/common/config.h:
11868 Fix build when disabling tracing (fixes #344016). Also start to document
11869 the defines that disable the sub-systems.
11871 2006-07-10 Edward Hervey <edward@fluendo.com>
11873 * gst/gst.c: (ensure_current_registry_forking):
11874 let's make valgrind happy...
11876 2006-07-09 Wim Taymans <wim@fluendo.com>
11878 * gst/gstelement.c: (activate_pads),
11879 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11880 Better pad activation code: Reset the collect value too on resync.
11883 2006-07-09 Wim Taymans <wim@fluendo.com>
11885 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11886 (gst_pad_activate_push):
11887 Use some more macros where it makes sense.
11888 Allow pad mode switching instead of asserting. When a pad
11889 is activated in one mode and we activate it in another,
11890 deactivate it first before activating it in a different mode.
11893 2006-07-08 Andy Wingo <wingo@pobox.com>
11895 * tools/gst-launch.c (main): Handle err == NULL.
11897 * gst/gst.c (init_post, ensure_current_registry)
11898 (ensure_current_registry_forking)
11899 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11900 factoring out the registry scanning into separate functions. Don't
11901 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11902 Better environment var name/interface suggestions accepted.
11904 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11906 * gst/gstobject.c: (gst_object_set_name_default),
11907 (gst_object_set_name):
11908 Random micro-optimisation: don't use a hash table
11909 with strings as keys and the usual strdup/strcmp
11910 involved, but rather just use the GQuark of the
11911 type name as key, since it needs to be looked up
11912 anyway to get the type name string.
11914 * tests/check/gst/gstobject.c: (GST_START_TEST):
11917 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11919 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11920 (gst_bin_iterate_all_by_interface):
11921 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11922 GTypes are gulongs and thus the top 4 bytes might be cut
11923 off on some platforms when doing GPOINTER_TO_INT, leading
11924 to invalid GTypes and bad things happening (see RH bug #179654).
11925 Also add a check to make sure the type passed in is really
11928 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11933 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11937 * gst-element-check.m4:
11938 * gst-element-check.m4.in:
11939 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11940 instead of the unversioned gst-inspect (#324176, #168659).
11942 2006-07-06 Wim Taymans <wim@fluendo.com>
11944 * gst/gstmessage.h:
11945 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11948 2006-07-06 Wim Taymans <wim@fluendo.com>
11950 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11951 (gst_base_src_wait), (gst_base_src_update_length),
11952 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11953 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11954 (gst_base_src_loop), (gst_base_src_start),
11955 (gst_base_src_activate_pull):
11957 blocksize == 0 now means the default blocksize when working in push
11959 Remove some pointless asserts in _wait function.
11960 Fix offset/length calculations and EOS handling. We can now pull 0
11961 bytes as well, which is allowed.
11962 use _check_get_range() to decide if we can operate in _pull based
11964 Fix refcounting leak when check_get_range function was not
11966 API GstBaseSrc::blocksize range can be 0 too now (default)
11968 * tests/check/elements/filesrc.c: (GST_START_TEST),
11970 Added check to test _get_range() behaviour.
11972 2006-07-06 Wim Taymans <wim@fluendo.com>
11974 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11975 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11976 (gst_pad_pull_range):
11978 Lots of comments and docs added to the pad functions.
11979 Flesh out the expected behaviour of the get_range() functions.
11981 2006-07-06 Wim Taymans <wim@fluendo.com>
11986 * gst/gstiterator.h:
11990 Remove comma at end of enumerator list.
11992 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11994 * win32/common/libgstbase.def:
11995 * win32/common/libgstdataprotocol.def:
11996 * win32/common/libsgtreamer.def:
11997 Add new exported functions.
11999 2006-07-05 Wim Taymans <wim@fluendo.com>
12001 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12002 Add some more docs here and there.
12004 2006-07-05 Wim Taymans <wim@fluendo.com>
12006 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12007 (gst_base_sink_loop), (gst_base_sink_get_position):
12008 When operating in pull mode update the offset so that we
12011 2006-07-05 Wim Taymans <wim@fluendo.com>
12013 * gst/gstregistryxml.c: (read_string):
12014 Avoid strdup. (will happen in libxml, but hey!)
12017 Add some more docs.
12019 2006-07-05 Wim Taymans <wim@fluendo.com>
12021 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12022 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12023 (gst_buffer_suite):
12024 No point in checking if the size of the subbuffer > 0, the
12025 code handles it correclty as demonstrated by unit test.
12026 Also add a unit test for the zero sized _new_and_alloc and
12027 _copy. Fixes #346663.
12029 2006-07-05 Wim Taymans <wim@fluendo.com>
12031 * libs/gst/base/gstbasetransform.c:
12032 (gst_base_transform_prepare_output_buffer),
12033 (gst_base_transform_buffer_alloc),
12034 (gst_base_transform_handle_buffer):
12035 Make sure the buffer we pass to transform_ip has a refcount of
12036 1 and thus is writable. Fixes #343196
12038 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12040 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12041 (gst_file_src_init), (gst_file_src_set_property),
12042 (gst_file_src_get_property), (gst_file_src_map_region):
12043 * plugins/elements/gstfilesrc.h:
12044 Add "sequential" property, off by default, to use madvise and hint
12045 to the kernel that sequential access is desired.
12046 Touch all retrieved pages by default to ensure they are pulled
12047 into memory. (Closes #345720)
12049 2006-07-03 Wim Taymans <wim@fluendo.com>
12051 * docs/design/part-block.txt:
12052 * docs/design/part-dynamic.txt:
12053 Small docs updates.
12055 2006-07-03 Wim Taymans <wim@fluendo.com>
12057 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12058 (gst_caps_unref), (gst_static_caps_get),
12059 (gst_caps_append_structure):
12060 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12061 Use GSlice when the glib we build against is >= 2.10
12063 2006-07-03 Wim Taymans <wim@fluendo.com>
12065 * gst/gstelement.c: (gst_element_pads_activate):
12066 Small cleanup in pad activation code.
12068 2006-07-03 Wim Taymans <wim@fluendo.com>
12070 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12072 * gst/gst-i18n-app.h:
12073 * gst/gst-i18n-lib.h:
12074 * tools/gst-inspect.c: (print_signal_info):
12075 The attached patch will make the inclusion of gettext.h unconditional in
12076 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12077 libintl.h in tools/gst-inspect.c.
12078 This allows use of --disable-nls again and fixes #344642.
12080 2006-07-03 Edward Hervey <edward@fluendo.com>
12082 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12083 Implement pad blocking on events according to part-block.txt.
12084 More comments on behaviour.
12085 * tests/check/gst/gstevent.c: (test_event):
12086 Send event to peer pad of blocked pad (else it will block).
12088 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12090 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12091 (gst_check_run_suite):
12092 if we get the wrong message, give us the types as string
12093 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12095 * tests/check/elements/filesrc.c: (GST_START_TEST):
12096 add a test for trying to open a non-existing file
12098 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12100 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12101 add a test for adding self
12103 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12105 * libs/gst/check/gstcheck.h:
12106 add some assert_ as alias for fail_unless_*
12107 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12108 increase test coverage
12110 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12113 include lcov.mak for lcov coverage generation
12114 * tools/Makefile.am:
12117 2006-07-02 Edward Hervey <edward@fluendo.com>
12119 * tests/check/elements/.cvsignore:
12122 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12125 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12126 * tests/check/Makefile.am:
12127 clean up gcov files
12129 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12131 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12132 remove gst_caps_simplify; it was not declared and not used
12133 and deprecated in 0.8
12135 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12137 * docs/faq/gst-uninstalled:
12138 don't put empty paths on PYTHONPATH
12139 * docs/gst/gstreamer-sections.txt:
12140 remove some symbols that are not there
12142 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12144 * gst/gstcaps.c: (gst_caps_compare_structures):
12146 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12147 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12150 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12152 * libs/gst/dataprotocol/Makefile.am:
12153 build dataprotocol test by linking to the lib, instead of
12154 compiling the source, so we get coverage
12155 * tests/check/Makefile.am:
12156 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12157 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12158 add a test for filesrc
12160 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12162 * tests/check/gst/gststructure.c: (GST_START_TEST),
12163 (gst_structure_suite):
12164 Push coverage from 59.04% to 70.00%
12166 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12168 * tests/check/Makefile.am:
12169 gst-inspect every element; this makes sure that we also get
12170 coverage on element's get/set functions
12172 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12175 set CFLAGS and friends to -O0 if gcov is being used
12178 * libs/gst/base/Makefile.am:
12179 * libs/gst/check/Makefile.am:
12180 * libs/gst/controller/Makefile.am:
12181 * libs/gst/dataprotocol/Makefile.am:
12182 * libs/gst/net/Makefile.am:
12183 * plugins/elements/Makefile.am:
12184 * plugins/indexers/Makefile.am:
12185 add makefile rules to generate gcov data and clean up
12186 * tests/check/Makefile.am:
12187 add a coverage target that generates an html overview
12190 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12192 * tests/check/elements/fakesink.c:
12193 * tests/check/elements/fakesrc.c:
12194 * tests/check/elements/fdsrc.c:
12195 * tests/check/elements/identity.c:
12196 * tests/check/generic/sinks.c: (gst_sinks_suite):
12197 * tests/check/generic/states.c:
12198 * tests/check/gst/gst.c:
12199 * tests/check/gst/gstabi.c:
12200 * tests/check/gst/gstbin.c:
12201 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12202 * tests/check/gst/gstbus.c: (gst_bus_suite):
12203 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12204 * tests/check/gst/gstelement.c:
12205 * tests/check/gst/gstevent.c: (gst_event_suite):
12206 * tests/check/gst/gstghostpad.c:
12207 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12208 * tests/check/gst/gstmessage.c: (gst_message_suite):
12209 * tests/check/gst/gstminiobject.c:
12210 * tests/check/gst/gstobject.c:
12211 * tests/check/gst/gstpad.c:
12212 * tests/check/gst/gstpipeline.c:
12213 * tests/check/gst/gstplugin.c:
12214 * tests/check/gst/gstquery.c: (gst_query_suite):
12215 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12216 * tests/check/gst/gststructure.c:
12217 * tests/check/gst/gstsystemclock.c:
12218 * tests/check/gst/gsttag.c:
12219 * tests/check/gst/gsttask.c: (gst_task_suite):
12220 * tests/check/gst/gstutils.c:
12221 * tests/check/gst/gstvalue.c:
12222 * tests/check/libs/adapter.c:
12223 * tests/check/libs/basesrc.c:
12224 * tests/check/libs/collectpads.c:
12225 * tests/check/libs/controller.c:
12226 * tests/check/libs/gdp.c: (gst_dp_suite):
12227 * tests/check/libs/gstnetclientclock.c:
12228 * tests/check/libs/gstnettimeprovider.c:
12229 * tests/check/libs/libsabi.c: (libsabi_suite):
12230 * tests/check/libs/typefindhelper.c:
12231 * tests/check/pipelines/cleanup.c:
12232 * tests/check/pipelines/parse-launch.c:
12233 * tests/check/pipelines/simple-launch-lines.c:
12234 * tests/check/pipelines/stress.c: (stress_suite):
12237 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12239 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12240 * libs/gst/check/gstcheck.h:
12241 create a macro and function so that the simple unit test
12242 case can be just one macro to create main()
12244 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12246 * gst/gstbin.c: (gst_bin_restore_thyself):
12247 * gst/gstxml.c: (gst_xml_make_element):
12248 Fix deserialisation from XML. Set parent manually
12249 instead of using gst_bin_add(), since gst_bin_add()
12250 will unlink all pads of the element being added.
12253 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12255 Patch by: Peter Kjellerstedt <pkj at axis com>
12257 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12258 Fix missing g_strdup() and double free when using the
12259 --gst-plugin-load command line option (#346097).
12261 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12264 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12266 * libs/gst/net/gstnetclientclock.c:
12267 * libs/gst/net/gstnettimeprovider.c:
12268 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12270 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12272 * docs/manual/advanced-dataaccess.xml:
12273 Fix buffer probe example compilation in
12276 2006-06-22 Edward Hervey <edward@fluendo.com>
12278 * gst/gstelement.c: (gst_element_pads_activate):
12279 We need to deactivate src pads first and then sink pads.
12280 The reason is the src pads might be blocking while holding the streaming
12281 lock, so we need to deactivate them first so that deactivating the sink
12282 pads doesn't block (since it will require the streaming lock).
12284 2006-06-22 Wim Taymans <wim@fluendo.com>
12286 * libs/gst/base/gstbasetransform.c:
12287 (gst_base_transform_buffer_alloc):
12288 Forgot to remove two unneeded unrefs.
12289 Simplify a check _is_equal allready checks the obvious case.
12291 2006-06-22 Wim Taymans <wim@fluendo.com>
12293 * docs/design/part-block.txt:
12294 Some docs about what pad_block should do.
12296 2006-06-22 Wim Taymans <wim@fluendo.com>
12298 * gst/gstcaps.c: (gst_caps_replace):
12299 Fix crasher when passed NULL. Doc clarification.
12300 Optimize for the trivial case.
12302 * gst/gstpipeline.c: (gst_pipeline_change_state):
12305 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12306 Small documentation cleanup.
12308 * libs/gst/base/gstbasetransform.c:
12309 (gst_base_transform_buffer_alloc):
12310 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12311 is what we need and it avoids a whole lot of redundant
12312 refcount operations.
12314 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12316 Patch by: Philip Jägenstedt <philip at lysator liu se>
12318 * docs/manual/advanced-dataaccess.xml:
12319 Fix 'Embedding static elements' section to use
12320 GST_PLUGIN_DEFINE_STATIC (#345607).
12322 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12324 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12325 Attempt to 'fix' spuriously failing test case: it seems like the
12326 timeout of half a second is simply too small when the system is under
12327 load otherwise, and the timeout doesn't really seem to serve any
12328 particular purpose here. Give the pipeline a few seconds to preroll
12329 first, and then give it another half a second to go from PAUSED to
12330 PLAYING and marshal the message into the main thread.
12332 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12334 * tools/gst-feedback-m.m:
12335 Don't only use unversioned tools, try versioned tools as well
12338 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12340 * gst/gstbus.c: (gst_bus_class_init):
12341 Fix some typos, make docs more explicit.
12343 2006-06-20 Wim Taymans <wim@fluendo.com>
12345 * tests/check/gst/gstghostpad.c: (block_callback),
12346 (GST_START_TEST), (gst_ghost_pad_suite):
12347 Added some more ghostpad tests, mainly blocking
12350 2006-06-16 Wim Taymans <wim@fluendo.com>
12352 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12353 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12354 (gst_file_sink_event), (gst_file_sink_render):
12355 * plugins/elements/gstfilesink.h:
12356 Check if we can seek in the file instead of assuming
12357 we always can. Post an error when we are asked to seek in a
12358 non-seekable file (like a fifo). Fixes #343312.
12361 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12363 * tools/gst-launch.1.in:
12364 Un-garble (fourcc) bit in filtered caps section.
12366 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12368 * docs/manual/advanced-autoplugging.xml:
12369 * docs/manual/basics-helloworld.xml:
12370 * docs/manual/highlevel-components.xml:
12371 Don't leak bus reference in sample code.
12373 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12376 Add default for new --enable-plugin-docs switch.
12379 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12382 * docs/Makefile.am:
12383 Use new ENABLE_PLUGIN_DOCS conditional.
12385 2006-06-14 Wim Taymans <wim@fluendo.com>
12387 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12388 Make it clear with a FIXME and a real define what the #if 0
12389 previously disabled.
12391 2006-06-14 Wim Taymans <wim@fluendo.com>
12393 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12394 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12395 * libs/gst/base/gstbasetransform.c:
12396 (gst_base_transform_sink_eventfunc):
12397 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12398 Don't randomly and silently reset a segment when the format
12399 changes as this is a bug somewhere upstream. Fixes #330379.
12401 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12403 Patch by: Wouter Paesen <wouter at kangaroot net>
12405 * libs/gst/controller/gstcontroller.c:
12406 (gst_controlled_property_new):
12407 Fix controlling of float properties (#344849).
12409 * tests/check/libs/controller.c:
12410 (gst_test_mono_source_get_property),
12411 (gst_test_mono_source_set_property),
12412 (gst_test_mono_source_class_init), (GST_START_TEST):
12413 While we're at it, add some float stuff to unit test.
12415 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12418 * docs/images/gdp-header.svg:
12420 * docs/libs/Makefile.am:
12421 * docs/libs/gdp-header.png:
12422 * libs/gst/dataprotocol/dataprotocol.c:
12423 add it to the API docs
12424 * docs/manual/intro-motivation.xml:
12427 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12429 * gst/gst.c: (scan_and_update_registry), (init_post):
12430 If the fork()'ed child process can't write the updated registry cache
12431 file to disk for some reason, make it exit with a failure exit code,
12432 so that the parent can then re-scan the plugins itself and update the
12433 registry structures in memory and work with that (rather than failing
12434 when creating elements because seemingly no plugins are available).
12435 Refactor registry scanning code into separate function for this and
12436 also separate fork() and non-fork() code paths. Fixes #344748.
12438 2006-06-13 Wim Taymans <wim@fluendo.com>
12440 * docs/manual/advanced-dataaccess.xml:
12441 Fix wrong PluginDesc. Fixes #344755.
12443 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12445 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12446 Fix silly bug that prevented us from creating
12447 ~/.gstreamer-0.10 and writing the registry in one
12448 go (the first call to g_mkstemp() would overwrite the
12449 placeholder in the template string, so the second call
12450 to g_mkstemp() after creating the missing directory
12451 would then error out with 'invalid argument').
12453 2006-06-13 Edward Hervey <edward@fluendo.com>
12455 * gst/gst.c: (init_post):
12458 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12460 * gst/glib-compat-private.h:
12461 * gst/glib-compat.c:
12462 * gst/glib-compat.h:
12463 * gst/gstvalue.c: (gst_value_serialize_flags):
12464 remove GLib 2.6 compatibility code
12466 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12468 * gst/parse/Makefile.am:
12469 Fix build with 'make -j N' even more (#340016).
12471 2006-06-12 Wim Taymans <wim@fluendo.com>
12473 * docs/gst/gstreamer-sections.txt:
12476 2006-06-12 Wim Taymans <wim@fluendo.com>
12478 * gst/gstsegment.c: (gst_segment_set_duration),
12479 (gst_segment_set_last_stop), (gst_segment_set_seek),
12480 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12481 (gst_segment_to_running_time), (gst_segment_clip):
12482 Use G_UNLIKELY to help the compiler a bit.
12484 2006-06-12 Wim Taymans <wim@fluendo.com>
12486 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12488 * gst/gstevent.c: (gst_event_get_type):
12489 * gst/gstmessage.c:
12490 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12492 constify quark registration strings. Fixes #344115
12493 Avoid unneeded type checking is _pad_push() by internally
12494 calling gst_pad_chain_unchecked().
12496 2006-06-12 Wim Taymans <wim@fluendo.com>
12498 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12499 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12500 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12501 (gst_buffer_is_span_fast), (gst_buffer_span):
12502 Init _type for consistency.
12503 Use _FLAGS macro to avoid type check.
12504 Avoid unneeded type checks in subbufer code.
12506 2006-06-12 Wim Taymans <wim@fluendo.com>
12508 * gst/gst.c: (gst_debug_help):
12509 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12510 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12511 (gst_plugin_feature_list_free):
12512 * gst/gstregistry.c: (gst_registry_add_plugin),
12513 (gst_registry_add_feature), (gst_registry_plugin_filter),
12514 (gst_registry_feature_filter), (gst_registry_find_plugin),
12515 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12516 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12517 * gst/gstregistryxml.c: (load_feature),
12518 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12519 * gst/gstminiobject.c: (gst_mini_object_unref),
12520 (gst_mini_object_replace), (gst_value_mini_object_free),
12521 (gst_value_mini_object_copy):
12522 Use _CAST macros to avoid unneeded type checking.
12523 Added some more G_UNLIKELY.
12525 2006-06-12 Wim Taymans <wim@fluendo.com>
12528 Avoid unneeded type checking.
12529 API: GST_BUFFER_IS_DISCONT
12531 * gst/gstminiobject.h:
12532 Avoid type check in flag accessor.
12534 * gst/gstelementfactory.h:
12536 * gst/gstpluginfeature.h:
12538 API: GST_ELEMENT_FACTORY_CAST
12539 API: GST_PLUGIN_CAST
12540 API: GST_PLUGIN_FEATURE_CAST
12542 2006-06-12 Wim Taymans <wim@fluendo.com>
12544 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12545 (gst_object_unref):
12546 Add G_UNLIKELY in type registration.
12547 Avoid type check in _ref/_unref since that is also
12550 2006-06-12 Wim Taymans <wim@fluendo.com>
12552 * gst/gsterror.c: (gst_g_error_get_type):
12553 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12554 (gst_static_pad_template_get_type):
12555 * gst/gsttaglist.c: (gst_tag_list_get_type):
12556 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12557 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12558 * gst/gsturi.c: (gst_uri_handler_get_type):
12559 * gst/gstvalue.c: (gst_date_get_type):
12560 * gst/gstxml.c: (gst_xml_get_type):
12561 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12562 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12563 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12564 Add G_UNLIKELY in type registration.
12566 2006-06-12 Wim Taymans <wim@fluendo.com>
12568 * tools/gst-inspect.c: (print_signal_info):
12569 Properly print enum values.
12571 2006-06-12 Wim Taymans <wim@fluendo.com>
12573 * gst/gstinfo.c: (gst_debug_set_active),
12574 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12576 Add some G_[UN]LIKELY.
12577 Maintain __gst_debug_min to avoid formatting the arguments of
12578 debug messages that will be dropped anyway to avoid a lot of
12579 overhead from the debugging system.
12581 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12584 * po/POTFILES.skip:
12585 add missing files containing translatable strings, tell intltool about
12588 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12590 * tests/check/libs/.cvsignore:
12591 add test-binary to ignore list
12593 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12595 * docs/libs/gstreamer-libs-docs.sgml:
12596 reorder (put dp into a chapter) and indent
12598 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12603 === release 0.10.8 ===
12605 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12608 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12610 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12612 * gst/gst.c: (init_post):
12613 move pid declaration to declaration block
12615 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12617 * gst/gst.c: (init_post):
12618 use _exit() instead of exit() in our forked child; this ensures
12619 that none of the registered exit handlers from whatever is using
12620 GStreamer get executed. This fixes gnome-mixer-applet failing
12621 to load, because ORBit would shut down.
12622 Spotted by: Edward Hervey <edward@fluendo.com>
12623 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12626 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12631 === release 0.10.7 ===
12633 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12636 releasing 0.10.7, "Soepeke, ik zie ou"
12638 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12661 * win32/common/config.h:
12662 0.10.6.2 prerelease
12664 2006-06-07 Wim Taymans <wim@fluendo.com>
12666 * gst/gstindex.c: (gst_index_gtype_resolver):
12667 * tools/gst-xmlinspect.c: (print_plugin_info):
12668 Fix leak spotted by coverity checker. Fixes #343827
12669 Fix another other leak found by paolo borelli.
12671 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12673 * libs/gst/dataprotocol/dataprotocol.c:
12674 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12675 (gst_dp_version_get_type), (gst_dp_init),
12676 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12677 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12678 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12679 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12680 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12681 (gst_dp_packetizer_free):
12682 * libs/gst/dataprotocol/dataprotocol.h:
12683 API: add a GstDPPacketizer object, and create/free functions
12684 API: add GstDPVersion enum
12685 Add 1.0 event function that uses the string serialization
12686 Serialize more useful buffer flags
12689 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12691 * tests/check/Makefile.am:
12692 * tests/check/gst/gstabi.c:
12693 * tests/check/gst/struct_ppc64.h:
12694 * tests/check/libs/libsabi.c:
12695 * tests/check/libs/struct_ppc64.h:
12696 add ppc64 structure sizes
12698 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12700 * tests/check/Makefile.am:
12701 * tests/check/gst/gstabi.c:
12702 * tests/check/gst/struct_x86_64.h:
12703 * tests/check/libs/libsabi.c:
12704 * tests/check/libs/struct_x86_64.h:
12705 generate and add structure size lists for x86_64
12707 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12709 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12710 * libs/gst/check/gstcheck.h:
12711 factor out the method from tests that checks size of structures,
12712 and add code to generate the header containing these sizes
12713 * tests/check/gst/gstabi.c: (GST_START_TEST):
12714 * tests/check/gst/struct_i386.h:
12715 * tests/check/libs/libsabi.c: (GST_START_TEST):
12716 * tests/check/libs/struct_i386.h:
12719 2006-06-06 Michael Smith <msmith@fluendo.com>
12721 * gst/gstsegment.h:
12722 Don't use c++-style comments, fixes #343929
12724 2006-06-05 Edward Hervey <edward@fluendo.com>
12727 plugin_paths is not used if we build without registry support.
12729 * gst/gstsegment.c: (gst_segment_copy):
12730 _copy() was always returning NULL...
12732 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12734 * libs/gst/dataprotocol/dataprotocol.c:
12735 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12736 (gst_dp_packet_from_event):
12737 factor out CRC code
12739 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12741 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12742 make sure we unset caps
12744 2006-06-02 Michael Smith <msmith@fluendo.com>
12746 * libs/gst/check/gstcheck.c: (gst_check_init),
12747 (gst_check_chain_func):
12748 * libs/gst/check/gstcheck.h:
12749 Add a cond/mutex to the check support lib, signal this whenever we
12750 add to the buffers list. This will allow tests to not busy-wait on
12753 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12755 * libs/gst/dataprotocol/dataprotocol.c:
12756 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12757 (gst_dp_packet_from_event):
12758 factor out some common header init code
12760 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12762 * docs/libs/gstreamer-libs-sections.txt:
12763 * docs/libs/tmpl/gstdataprotocol.sgml:
12764 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12765 * libs/gst/dataprotocol/dataprotocol.h:
12766 API: make gst_dp_crc() public
12768 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12770 * plugins/indexers/gstindexers.c: (plugin_init):
12771 conditionally register fileindexer (fixes #343598)
12773 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12775 * gst/gsttagsetter.h:
12776 Can't cast ifaces to a class
12778 * libs/gst/net/gstnetclientclock.h:
12779 * libs/gst/net/gstnettimeprovider.h:
12780 * plugins/elements/gstfakesink.h:
12781 * plugins/elements/gstfakesrc.h:
12782 * plugins/elements/gstfdsink.h:
12783 * plugins/elements/gstfdsrc.h:
12784 * plugins/elements/gstfilesink.h:
12785 * plugins/elements/gstfilesrc.h:
12786 * plugins/elements/gstidentity.h:
12787 * plugins/elements/gstqueue.h:
12788 * plugins/elements/gsttee.h:
12789 * plugins/indexers/gstfileindex.c:
12790 * plugins/indexers/gstmemindex.c:
12791 * tests/old/examples/plugins/example.h:
12792 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12794 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12796 * libs/gst/dataprotocol/dataprotocol.c:
12797 (gst_dp_header_from_buffer):
12798 make sure we zero the whole ABI-compatible area
12800 2006-06-01 Wim Taymans <wim@fluendo.com>
12802 Patch by: Alessandro Decina <alessandro at nnva dot org>
12804 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12805 Make sure the EOS flag is cleared from pads after a flush
12806 or stop. Fixes #343538.
12808 * tests/check/libs/collectpads.c: (GST_START_TEST),
12809 (gst_collect_pads_suite):
12810 Added test for collectpads reusage after EOS.
12812 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12815 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12816 * win32/common/libgstbase.def:
12817 export gst_collect_pads_set_flushing
12818 * win32/common/libgstreamer.def:
12819 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12820 gst_value_fraction_multiply
12821 * win32/vs6/gst_inspect.dsp:
12822 add a link to intl.lib
12824 2006-05-30 Wim Taymans <wim@fluendo.com>
12826 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12827 (gst_collect_pads_chain):
12828 Handle the case where a pad is removed from the collection
12829 that could cause the other pads to become collectable.
12831 2006-05-30 Wim Taymans <wim@fluendo.com>
12833 * gst/gstelement.c:
12834 Clarify the use of _release_request_pad() and
12835 _get_request_pad() a bit better.
12837 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12838 (gst_adapter_take_buffer):
12839 Fix some doc and comment typos.
12841 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12843 * docs/gst/gstreamer-sections.txt:
12844 * docs/libs/gstreamer-libs-sections.txt:
12845 add declared symbols
12847 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12849 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12850 Add debug that can be enabled using a #define at the top of the file,
12851 for dumping stats about how late/early we were when waking up from
12852 waiting on the clock.
12854 2006-05-30 Wim Taymans <wim@fluendo.com>
12856 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12857 When rebuilding the pad list, don't leak the previous list.
12859 2006-05-30 Wim Taymans <wim@fluendo.com>
12861 Patch by: Lutz Mueller <lutz at topfrose dot de>
12863 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12864 (gst_base_src_get_query_types), (gst_base_src_update_length):
12865 Publish supported query types.
12866 Update last_stop field in get_range mode so the position
12867 query works. Fixes #342321.
12869 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12871 * docs/gst/gstreamer-sections.txt:
12872 * gst/gsttaglist.c: (_gst_tag_initialize):
12873 * gst/gsttaglist.h:
12874 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12876 2006-05-30 Wim Taymans <wim@fluendo.com>
12878 Patch by: Alessandro Decina <alessandro at nnva dot org>
12880 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12881 Unlock mutex when removing an unknown pad.
12884 * tests/check/Makefile.am:
12885 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12886 (push_event), (setup), (teardown), (GST_START_TEST),
12887 (gst_collect_pads_suite), (main):
12888 Added collecpads check, disabled for now as check crashes for
12891 2006-05-29 Wim Taymans <wim@fluendo.com>
12893 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12894 Don't leak pads lists.
12896 2006-05-29 Wim Taymans <wim@fluendo.com>
12898 * docs/libs/gstreamer-libs-sections.txt:
12899 * libs/gst/base/gstcollectpads.c:
12900 (gst_collect_pads_set_flushing_unlocked),
12901 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12902 (gst_collect_pads_stop):
12903 * libs/gst/base/gstcollectpads.h:
12904 API: gst_collect_pads_set_flushing()
12905 Added api to set the pads to flushing, useful for seeking
12906 code in elements using collectpads.
12907 Clear segment when receiving a flush.
12909 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12911 * gst/gst.c: (add_path_func), (init_post):
12912 Don't scan registry paths passed via --gst-plugin-path immediately
12913 (will crash, because absolutely nothing is set up and no types are
12914 registered etc.); do this later in init_post(). Fixes #343057.
12916 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12918 * gst/gst.c: (init_post):
12919 if we have fork, fork while reading/rebuilding the registry
12920 so the parent doesn't take the hit of having all plugins loaded
12921 in memory. Fixes #342777.
12923 Check if we have fork()
12924 * win32/common/config.h.in:
12927 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12929 * plugins/elements/gstelements.c:
12930 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12931 (gst_file_src_init), (gst_file_src_set_property),
12932 (gst_file_src_get_property), (gst_file_src_start):
12933 * plugins/elements/gstfilesrc.h:
12934 API: GstFileSrc::use-mmap
12936 Add a use-mmap property to enable easier testing of all code paths.
12937 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12938 in the absence of gnomevfssrc. (Closes #340501)
12940 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12942 * tools/gst-inspect.c:
12943 Add missing include, removes warning of ngettext not being defined on
12946 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12948 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12949 Handle NULL input and output pointers silently as a failed conversion,
12950 rather than g_warnings.
12952 2006-05-25 Wim Taymans <wim@fluendo.com>
12954 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12955 Initialize variable before using. Fixes #342820.
12957 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12959 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12960 Fix off-by-one bug that would only allow peeks of N-1 bytes
12961 from the start even if the buffer to typefind on contains
12962 in fact N bytes of data (makes vorbis typefinding from a
12963 vorbis identification header buffer work).
12965 * tests/check/Makefile.am:
12966 * tests/check/libs/.cvsignore:
12967 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12968 (gst_typefindhelper_suite), (main), (foobar_typefind),
12970 Add very basic unit test for gst_type_find_helper_for_buffer()
12971 that checks for the problem fixed above.
12973 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12975 * tools/gst-inspect.c: (print_interfaces),
12976 (print_element_properties_info), (print_element_list), (main):
12977 add more translatable strings
12979 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12981 Patch by: Julien Moutte <julien at moutte net>
12983 * docs/gst/gstreamer-sections.txt:
12984 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12986 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12987 (gst_fake_sink_preroll):
12988 * plugins/elements/gstfakesink.h:
12989 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12991 2006-05-23 Wim Taymans <wim@fluendo.com>
12993 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12995 Added _CUSTOM error and success GstFlowReturn that can be
12996 used be elements internally.
12997 Added macro to check for SUCCESS flowreturns.
12998 API: GST_FLOW_CUSTOM_SUCCESS
12999 API: GST_FLOW_CUSTOM_ERROR
13000 API: GST_FLOW_IS_SUCCESS
13002 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13003 Added check for GstFlowReturn sanity.
13005 2006-05-23 Wim Taymans <wim@fluendo.com>
13007 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13009 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13010 (gst_collect_pads_event):
13011 clear/reset segment info in FLUSH_STOP.
13014 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13016 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13017 (gst_collect_pads_check_collected):
13018 Flush queued buffer on _stop(), fixes playing again (#342454)
13020 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13022 * tests/check/gst/gststructure.c: (GST_START_TEST),
13023 (gst_structure_suite):
13024 add a test for a complete structure
13026 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13028 * docs/faq/developing.xml:
13029 * docs/faq/faq.xml:
13030 * docs/faq/troubleshooting.xml:
13031 * docs/faq/using.xml:
13032 Some minor FAQ updates that won't change the fact that
13033 our FAQ is badly structured, full of information hardly
13034 anyone new to GStreamer needs to know and lacking lots
13035 of information people constantly ask for.
13037 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13039 * gst/gstpad.c: (gst_pad_set_caps):
13040 Short-circuit gst_pad_set_caps if setting the existing
13041 caps pointer again, and avoid printing debug and
13042 reffing/unreffing the caps.
13044 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13045 There's actually no need to set the caps before pushing -
13046 the acceptcaps method will handle it anyway.
13048 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13050 * docs/gst/gstreamer-sections.txt:
13051 * win32/common/libgstreamer.def:
13052 * gst/gstutils.c: (gst_element_seek_simple):
13054 API: add gst_element_seek_simple() (#342238).
13056 2006-05-18 Edward Hervey <edward@fluendo.com>
13058 * gst/gsttypefind.c: (gst_type_find_get_type):
13059 * gst/gsttypefind.h:
13060 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13061 registered for GstTypeFind pointers. This allows wrapping the structure
13062 in bindings (i.e. gst-python).
13064 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13066 * gst/gsttagsetter.c:
13067 Docs additions and fixes (see #339918).
13069 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13071 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13072 The caps intersection algorithm can produce multiple copies of the
13073 caps. Until that is fixed, we need to simplify the result to be
13074 sure whether the allowed caps are fixed or not.
13076 * plugins/elements/gstqueue.c: (gst_queue_init),
13077 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13078 (gst_queue_push_one):
13079 Proxied buffer alloc should not set the caps on the source pad.
13080 When pushing buffers, we always accept the caps change that triggers.
13081 This prevents negotiation errors caused by caps changing mid-stream
13082 and then being refused on our source pad (because upstream is now
13083 refusing those caps).
13085 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13087 * tests/examples/helloworld/helloworld.c: (main):
13088 Must plug audioconvert and audioresample between decoder
13091 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13093 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13094 (load_feature), (load_plugin):
13095 Allow empty strings for some of the plugin fields so we don't
13096 drop valid plugin entries that were written out correctly
13099 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13101 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13102 Use g_remove and g_rename instead of remove and rename that don't
13103 handle utf8 characters. rename was failing for users who had specific
13104 characters in their name then the registry was built at each
13106 * win32/vs6/gst_inspect.dsp:
13107 * win32/vs6/gst_launch.dsp:
13108 * win32/vs6/libgstbase.dsp:
13109 * win32/vs6/libgstcoreelements.dsp:
13110 * win32/vs6/libgstreamer.dsp:
13111 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13112 build of libgstreamer and clean unused libraries in projects link
13115 2006-05-17 Edward Hervey <edward@fluendo.com>
13117 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13118 The queue is not responsible for pushing an EOS when receiving a fatal
13119 flow error. It's up to the real element driving the pipeline to do that.
13121 2006-05-16 Edward Hervey <edward@fluendo.com>
13123 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13124 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13125 buffer returned a fatal error. It should just send an EOS and stop
13127 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13128 when pushing buffers on the queue and will be able to handle the event.
13130 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13132 * docs/manual/basics-bins.xml:
13133 * docs/manual/basics-init.xml:
13134 Fix typos and minor errors in sample code (#341856).
13136 2006-05-16 Wim Taymans <wim@fluendo.com>
13138 * docs/design/part-qos.txt:
13139 Fix indexes in formulas to make more sense.
13141 2006-05-15 Wim Taymans <wim@fluendo.com>
13143 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13144 Don't report POSITION based on clock time if sync is
13145 disabled in a sink.
13147 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13150 Add cast to make compiler happy - refcount variable was a gint
13151 in GstObject but is a guint in GObject and g_atomic_int_get()
13154 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13156 * gst/parse/Makefile.am:
13157 chain commands using &&, which also makes parallel make work
13159 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13161 * docs/gst/gstreamer-sections.txt:
13164 * gst/gstmessage.h:
13167 === release 0.10.6 ===
13169 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13172 releasing 0.10.6, "Take the cannoli"
13174 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13176 * tools/gst-launch.c: (print_tag):
13177 Fix use of uninitialized variable in the hypothetical
13178 case that some broken plugin creates a GST_TAG_IMAGE
13179 tag containing a NULL buffer (#341667).
13181 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13183 * tools/gst-launch.c: (print_tag):
13184 Print something more intelligible for image tags when
13185 using the -t switch (#341556).
13187 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13192 define GST_MAJORMINOR so we have it available in win32/common/config.h
13193 Possibly remove it from our Makefile.am files later
13194 * win32/common/config.h:
13195 * win32/common/config.h.in:
13196 added GST_MAJORMINOR
13197 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13198 * win32/common/gstversion.h:
13201 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13204 Update win32 files listing.
13205 * win32/common/gstversion.h:
13206 Add GST_MAJORMINOR definition.
13207 * win32/common/libgstreamer.def:
13208 Add new exported functions.
13210 2006-05-12 Michael Smith <msmith@fluendo.com>
13212 * gst/gstplugin.c: (gst_plugin_load_file):
13213 If an so file has no plugin entry point, unload the module.
13215 2006-05-11 Wim Taymans <wim@fluendo.com>
13217 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13218 (gst_queue_set_property):
13219 Don't forget to signal the _chain or _loop function
13220 when the queue size or thresholds change since that might
13221 cause them to make progres again.
13223 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13225 * gst/gstclock.c: (gst_clock_class_init):
13226 * gst/gstindex.c: (gst_index_class_init):
13227 * gst/gstobject.c: (gst_object_class_init):
13228 * gst/gstpad.c: (gst_pad_class_init):
13229 * gst/gstpipeline.c: (gst_pipeline_class_init):
13230 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13231 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13232 * libs/gst/base/gstbasetransform.c:
13233 (gst_base_transform_class_init):
13234 * libs/gst/net/gstnetclientclock.c:
13235 (gst_net_client_clock_class_init):
13236 * libs/gst/net/gstnettimeprovider.c:
13237 (gst_net_time_provider_class_init):
13238 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13239 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13240 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13241 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13242 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13243 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13244 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13245 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13246 * plugins/elements/gsttee.c: (gst_tee_class_init):
13247 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13248 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13249 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13251 2006-05-11 Wim Taymans <wim@fluendo.com>
13253 * gst/gstbuffer.c: (_gst_buffer_initialize):
13254 Register subbufer along with the buffer type so that
13255 it does not accidentally gets registered from N
13256 different streaming threads in a non threadsafe way.
13258 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13262 * gst/gstmessage.h:
13263 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13264 gst_event_ref() and gst_message_ref() functions again
13265 (ugly hack, please do fix if there's a better way besides
13266 overrides.txt, which doesn't seem to work).
13268 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13270 * libs/gst/check/gstcheck.h:
13271 add an assert for setting state to avoid lots of repetitive code
13274 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13276 * gst/gstvalue.c: (gst_value_serialize_flags):
13277 fix a leak if no flags are set
13278 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13281 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13283 * docs/manual/basics-pads.xml:
13284 Expand a bit on caps and filtered links and update
13285 examples that were still using the no longer existing
13286 gst_pad_link_filtered() (#338206).
13288 2006-05-10 Wim Taymans <wim@fluendo.com>
13290 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13291 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13292 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13293 (gst_collect_pads_stop):
13294 * libs/gst/base/gstcollectpads.h:
13295 No need to call _stop in _finalize.
13296 Iterate the main pad list in _finalize.
13297 Added some more debug.
13298 Free lists and data in the right order.
13299 Also free data whem doing _remove_pad when stopped for
13300 backward compatibility protect ::started with PAD_LOCK as
13303 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13305 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13306 (gst_structure_parse_value):
13308 rename a method so that it actually says what it does better
13310 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13312 * gst/gstevent.c: (_gst_event_initialize):
13313 * gst/gstformat.c: (_gst_format_initialize):
13314 make sure some essential types used by events are registered
13315 as part of gst_init()
13316 * gst/gstvalue.c: (gst_value_serialize_flags):
13317 if no flags are set, serialize them to a value that represents NONE
13318 so that deserializing them works
13319 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13320 add tests for serialization and deserialization of flags
13322 2006-05-10 Wim Taymans <wim@fluendo.com>
13324 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13325 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13326 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13327 (gst_collect_pads_event), (gst_collect_pads_chain):
13330 Catch and return errors from the collect function
13331 Refuse data on eos pads.
13333 2006-05-10 Edward Hervey <edward@fluendo.com>
13335 * gst/gstinterface.h:
13336 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13337 GInterface type checking.
13338 They were previously using non-defined macros.
13340 2006-05-09 Wim Taymans <wim@fluendo.com>
13342 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13343 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13344 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13345 (gst_collect_pads_start), (gst_collect_pads_stop),
13346 (gst_collect_pads_peek), (gst_collect_pads_pop),
13347 (gst_collect_pads_available), (gst_collect_pads_read),
13348 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13349 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13350 (gst_collect_pads_chain):
13351 * libs/gst/base/gstcollectpads.h:
13352 Clean up the mess that is collectpads, add comments and
13353 FIXMEs where needed.
13354 Maintain a separate pad list so we can add pads while
13355 collecting the other ones. For this we need a new separate
13357 Fix memory leak in finalize.
13358 Refactor some weird code to set/unset pad flushing flags, mark
13360 Don't crash in _available, _read, _flush when we're EOS.
13362 * tests/check/libs/.cvsignore:
13363 Ignore adapter check binary.
13365 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13367 * gst/gstindex.c: (gst_index_resolver_get_type):
13368 * plugins/elements/gstfakesink.c:
13369 (gst_fake_sink_state_error_get_type):
13370 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13371 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13372 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13373 Const-ify GEnumValue arrays.
13375 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13377 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13378 Add test case for flags + gst_buffer_make_metadata_writable().
13380 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13382 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13383 gst_buffer_make_metadata_writable() should maintain the
13384 buffer flags (those that make sense at least) (see #340859).
13386 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13388 * tools/gst-inspect.c:
13389 * tools/gst-launch.c:
13390 * tools/gst-typefind.c:
13391 * tools/gst-xmlinspect.c:
13393 Fix up includes: need to include stdlib.h in tools.h for exit().
13395 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13397 * gst/gsttaglist.c: (_gst_tag_initialize):
13398 * gst/gsttaglist.h:
13399 API: add GST_TAG_IMAGE tag (#340721).
13401 2006-05-08 Wim Taymans <wim@fluendo.com>
13404 Added some docs for the segment query.
13406 2006-05-08 Wim Taymans <wim@fluendo.com>
13408 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13409 (gst_base_src_loop), (gst_base_src_change_state):
13410 Always push non-flushing serialized events in the streaming
13413 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13415 * gst/gsterror.c: (_gst_stream_errors_init):
13416 Add a missing error string.
13418 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13420 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13421 Add applied_rate to the debug
13423 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13424 Copy applied_rate into the outgoing NEWSEGMENT event
13426 2006-05-08 Wim Taymans <wim@fluendo.com>
13428 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13430 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13431 (gst_base_sink_change_state):
13432 call ::unlock before taking the PREROLL_LOCK so we can safely
13433 handle elements that lock in ::render.
13436 2006-05-08 Edward Hervey <edward@fluendo.com>
13438 * autogen.sh: (CONFIGURE_DEF_OPT):
13439 Darwin's libtoolize is in fact called glibtoolize.
13440 Adding glibtoolize to the list of accepted names for libtoolize.
13442 2006-05-08 Wim Taymans <wim@fluendo.com>
13444 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13445 Unify error handling, don't post an error message
13446 when a push() returns EOS but perform our normal EOS
13447 handling code. Fixes #340772.
13449 2006-05-08 Wim Taymans <wim@fluendo.com>
13451 * docs/design/part-overview.txt:
13452 Make upsteam/downstream concepts more clear.
13453 Give an example of serialized/non-serialized events.
13455 * docs/design/part-events.txt:
13456 * docs/design/part-streams.txt:
13457 Mention applied_rate.
13459 * docs/design/part-trickmodes.txt:
13460 Mention applied rate, flesh out some more use cases.
13462 * gst/gstevent.c: (gst_event_new_new_segment),
13463 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13464 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13465 (gst_event_parse_tag), (gst_event_new_buffer_size),
13466 (gst_event_parse_buffer_size), (gst_event_new_qos),
13467 (gst_event_parse_qos), (gst_event_parse_seek),
13468 (gst_event_new_navigation):
13470 Add applied_rate field to NEWSEGMENT event.
13471 API: gst_event_new_new_segment_full()
13472 API: gst_event_parse_new_segment_full()
13474 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13475 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13476 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13477 * gst/gstsegment.h:
13478 Add applied_rate to GstSegment structure.
13479 Make calculation of stream_time and running_time more correct
13480 wrt rate/applied_rate.
13481 Add some more docs.
13482 API: GstSegment::applied_rate field
13483 API: gst_segment_set_newsegment_full();
13485 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13486 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13487 * libs/gst/base/gstbasetransform.c:
13488 (gst_base_transform_sink_eventfunc),
13489 (gst_base_transform_handle_buffer):
13490 Parse and use applied_rate in the GstSegment field.
13492 * tests/check/gst/gstevent.c: (GST_START_TEST):
13493 Add check for applied_rate field.
13495 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13496 (gstsegments_suite):
13497 Add more checks for various GstSegment operations.
13499 2006-05-08 Wim Taymans <wim@fluendo.com>
13501 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13502 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13503 (gst_base_sink_get_position), (gst_base_sink_change_state):
13504 Store the sync time of the buffer end position separatly in a
13505 new variable eos_rtime so we can properly sync the EOS event.
13507 Fix the docs for gst_base_sink_set_qos_enabled().
13508 Don't set segment start to invalid value when we receive a
13509 non TIME newsegment.
13510 get closer to handling position reporting for negative rates
13513 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13516 Docs about how to print caps for debug purposes.
13518 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13519 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13521 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13523 * gst/gstelement.c:
13524 use full enum names and preprend a '%' in docs strings to make recent
13525 gtk-doc turn that into a link
13527 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13529 * docs/manual/basics-bins.xml:
13530 * docs/manual/basics-bus.xml:
13531 * docs/manual/basics-pads.xml:
13532 Some typo fixes, some additions, some clarifications.
13534 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13536 * tools/gst-inspect.c: (main):
13537 * tools/gst-launch.c: (main):
13538 * tools/gst-run.c: (main):
13539 * tools/gst-typefind.c: (main):
13540 * tools/gst-xmlinspect.c: (main):
13541 Use the string passed to g_option_context_new() for
13542 what it's intended for - the program name is already
13545 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13547 * tools/Makefile.am:
13548 * tools/gst-inspect.c: (main):
13549 * tools/gst-launch.c: (main):
13550 * tools/gst-xmlinspect.c: (main):
13552 Add back --version command line option (#340460).
13554 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13555 Add --version option and use GOption for argument parsing; refactor a
13556 bit; accept directories as arguments and recurse into them; lastly,
13557 print a decent error message when things go wrong.
13559 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13561 * docs/manual/basics-bins.xml:
13562 Don't mention GstThread (#340611)
13563 * docs/manual/basics-elements.xml:
13564 Update link to GObject tutorial (#340607)
13566 2006-05-05 Wim Taymans <wim@fluendo.com>
13569 * gst/gstminiobject.c:
13570 Add note about refcounting and miniobject/buffer writeability
13571 to docs. Fixes #340604
13573 * gst/gstelementfactory.h:
13574 Added some explanation about @klass.
13576 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13578 * docs/manual/intro-motivation.xml:
13579 * docs/manual/manual.xml:
13580 Avoid CORBA & Bonobo references (#340598)
13582 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13584 * docs/manual/basics-bus.xml:
13585 * docs/manual/basics-pads.xml:
13586 Fix up some inaccuracies and omissions (#340609)
13588 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13590 * gst/gstghostpad.c:
13591 Small typo in docs (#340625)
13593 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13595 * gst/parse/Makefile.am:
13596 Make 'make -j' proof (see #340698).
13598 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13601 Require GLib-2.8 here as well.
13603 2006-05-05 Wim Taymans <wim@fluendo.com>
13605 * gst/glib-compat.c:
13606 * gst/gst.c: (init_pre):
13607 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13608 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13609 (gst_object_dispatch_properties_changed):
13611 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13612 * gst/gststructure.c: (gst_structure_set_valist):
13613 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13614 Remove pre glib2.8 compatibility, fixes #340508
13616 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13618 * gst/gsttaglist.h:
13619 Mention type of tags in doc blurbs.
13621 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13623 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13624 (gst_pad_configure_src), (gst_pad_push):
13625 Restore acceptcaps checking behaviour now that good plugins have
13628 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13630 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13637 * gst/gstmessage.c:
13641 * gst/parse/Makefile.am:
13642 * libs/gst/base/gstadapter.c:
13643 * libs/gst/base/gstbasesrc.c:
13644 * libs/gst/base/gstpushsrc.c:
13645 * libs/gst/base/gsttypefindhelper.c:
13646 * plugins/elements/gstfakesrc.c:
13647 * plugins/elements/gstidentity.c:
13648 Make sure gstprivate.h and/or config.h are
13649 always included first, otherwise some of our
13650 defines (like _FILE_OFFSET_BITS) might be
13651 redefined in the system headers. Fixes build
13652 on opensolaris (#340016).
13654 2006-05-04 Wim Taymans <wim@fluendo.com>
13656 * docs/libs/gstreamer-libs-sections.txt:
13657 API: addition: gst_adapter_take_buffer()
13659 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13660 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13661 (gst_adapter_available_fast):
13662 * libs/gst/base/gstadapter.h:
13663 Prepare for optimizing the hell out of this hugely inefficient
13665 Added gst_adapter_take_buffer() so we can at least start thinking
13666 about subbuffering and merging.
13667 Added some comments.
13669 * tests/check/Makefile.am:
13670 * tests/check/libs/adapter.c: (GST_START_TEST),
13671 (gst_adapter_suite), (main):
13672 Added GstAdapter check.
13674 2006-05-04 Wim Taymans <wim@fluendo.com>
13676 * docs/design/part-overview.txt:
13677 Fix some typos, add blurb about buffer flags.
13679 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13681 * docs/libs/gstreamer-libs-sections.txt:
13682 make sure GstBaseTransformClass shows up in the docs
13683 * libs/gst/base/gstbasetransform.c:
13684 * libs/gst/base/gstbasetransform.h:
13685 move docs so gtk-doc picks it up now
13687 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13689 * docs/libs/gstreamer-libs-sections.txt:
13690 add missing symbols to docs
13692 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13694 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13695 back out the newsegment handling change, see #340060 for ongoing
13698 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13700 * tools/gst-run.c: (get_candidates), (main):
13701 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13702 work); fix typo in error message. Fixes #340079.
13704 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13706 * common/Makefile.am:
13707 * docs/Makefile.am:
13708 * docs/faq/Makefile.am:
13709 * docs/gst/Makefile.am:
13710 * docs/libs/Makefile.am:
13711 * docs/manual/Makefile.am:
13712 * docs/plugins/Makefile.am:
13713 * docs/pwg/Makefile.am:
13714 * docs/slides/Makefile.am:
13716 * common/upload.mak:
13717 move upload.mak to common
13719 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13721 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13722 add more asserts on refcounts
13723 do more cleanup at end of tests
13724 fix test leaks showing in FC5
13726 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13728 * plugins/elements/gsttypefindelement.c:
13729 (gst_type_find_element_handle_event):
13730 reverted wrong change and reflowed code to avoid others falling into
13733 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13735 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13736 fix changelog entry about last collectpads change,
13737 add notes about proper fix
13739 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13742 * gst/gstregistry.c: (gst_registry_scan_path_level),
13743 (gst_registry_scan_path):
13744 * gst/gstregistry.h:
13745 only write out registry if it has changed, fixes #338339
13747 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13750 * gst/gstpipeline.c:
13751 * plugins/elements/gstcapsfilter.c:
13752 * plugins/elements/gstfakesink.c:
13753 * plugins/elements/gstfakesrc.c:
13754 * plugins/elements/gstfdsink.c:
13755 * plugins/elements/gstfdsrc.c:
13756 * plugins/elements/gstfilesink.c:
13757 * plugins/elements/gstfilesrc.c:
13758 * plugins/elements/gstidentity.c:
13759 * plugins/elements/gstqueue.c:
13760 * plugins/elements/gsttee.c:
13761 * plugins/elements/gsttypefindelement.c:
13762 (gst_type_find_element_handle_event):
13763 make GstElementDetails const
13765 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13767 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13768 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13769 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13770 more detailed debug and formatting cleanup,
13771 forward newsegments to src-pad (so that e.g. adder not eats them)
13773 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13775 * gst/gstutils.c: (gst_element_link_pads):
13776 cleanup double code
13778 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13780 * libs/gst/controller/gstcontroller.c:
13781 (gst_controller_sync_values):
13783 * tests/check/libs/controller.c: (GST_START_TEST),
13784 (gst_controller_suite):
13785 a new test for live value handling
13787 2006-04-28 Wim Taymans <wim@fluendo.com>
13789 * gst/gstutils.c: (push_and_ref):
13790 Added some more docs.
13791 Fix refcount issue whith gst_element_found_tags() helper
13792 function. Fixes #338335
13794 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13795 Added testsuite for gst_element_found_tags().
13797 2006-04-28 Michael Smith <msmith@fluendo.com>
13799 * gst/gstvalue.c: (gst_value_serialize_flags):
13800 Avoid NULL dereference when trying to serialize flags containing
13803 2006-04-28 Michael Smith <msmith@fluendo.com>
13805 * plugins/elements/gsttypefindelement.c:
13806 (gst_type_find_element_handle_event):
13807 If we get EOS before any data is accumulated, don't use
13808 uninitialised local variables.
13810 2006-04-28 Michael Smith <msmith@fluendo.com>
13812 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13813 (gst_dp_event_from_packet):
13814 Fixes in reading/writing events over GDP (not currently used?) -
13815 dereferencing NULL events for unknown/invalid event types, memory
13816 leak, and change g_warning to GST_WARNING.
13818 2006-04-28 Wim Taymans <wim@fluendo.com>
13820 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13821 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13822 (gst_base_sink_get_position), (gst_base_sink_change_state):
13823 When frame dropping is enabled, we should not ignore frames
13824 without a duration.
13825 Update some documentation.
13827 2006-04-28 Wim Taymans <wim@fluendo.com>
13829 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13830 (gst_base_src_send_event), (gst_base_src_change_state):
13831 Documentation updates.
13833 2006-04-28 Wim Taymans <wim@fluendo.com>
13835 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13836 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13837 handle EAGAIN, EINTR and short writes correctly. Also clean
13838 up some error cases, avoid a deadlock on bad file descriptors and
13839 use GST_DEBUG_OBJECT.
13842 2006-04-28 Wim Taymans <wim@fluendo.com>
13844 * gst/gstvalue.c: (gst_value_serialize_buffer),
13845 (gst_value_deserialize_buffer):
13846 Don't try to serialize a GValue with a NULL buffer.
13849 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13850 Added check for serialisation of NULL buffers.
13852 2006-04-28 Wim Taymans <wim@fluendo.com>
13854 * gst/gstminiobject.c: (gst_value_take_mini_object):
13855 Taking a NULL miniobject is valid, fix the case where
13856 we try to unref the NULL miniobject.
13858 2006-04-28 Wim Taymans <wim@fluendo.com>
13860 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13862 * gst/gstbin.c: (gst_bin_handle_message_func):
13864 Don't leak bin refcount when a state recalc is
13865 in progress and we delay another one #339808.
13867 2006-04-28 Wim Taymans <wim@fluendo.com>
13869 * docs/design/part-TODO.txt:
13870 Mention QoS as an ongoing work item.
13872 * docs/design/part-buffering.txt:
13873 New doc about buffering that needs to be fleshed out
13876 * docs/design/part-qos.txt:
13877 More QoS policy for decoders/demuxers/transforms
13879 * docs/design/part-trickmodes.txt:
13882 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13887 === release 0.10.5 ===
13889 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13892 releasing 0.10.5, "Fogo"
13894 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13896 patch by: Wim Taymans
13898 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13899 (gst_pad_configure_src), (gst_pad_push):
13900 * gst/gstpipeline.c: (gst_pipeline_init):
13901 Fix internal data flow errors. Fixes #338711.
13903 2006-04-12 Wim Taymans <wim@fluendo.com>
13905 * tests/check/gst/gstelement.c: (GST_START_TEST):
13906 Don't leak the factory.
13908 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13911 * win32/common/config.h:
13914 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13916 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13917 (gst_controller_unset_all):
13918 Free allocated GstTimedValues when freeing list nodes.
13919 Should fix leaks 'make check-valgrind' complains about.
13921 * win32/common/libgstcontroller.def:
13922 Add gst_controller_unset_all.
13924 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13926 * docs/libs/gstreamer-libs-sections.txt:
13927 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13928 (gst_controller_unset_all):
13929 * libs/gst/controller/gstcontroller.h:
13930 API: Added new method gst_controller_unset_all()
13931 fixed gst_controller_unset()
13932 * tests/check/libs/controller.c: (GST_START_TEST),
13933 (gst_controller_suite):
13934 Added two testcases for new and fixed method
13936 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13938 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13939 MSG_DONTWAIT is not defined on Cygwin, so work
13940 around that (fixes #317048).
13942 2006-04-11 Wim Taymans <wim@fluendo.com>
13944 * gst/gstelementfactory.c: (gst_element_register),
13945 (gst_element_factory_create), (gst_element_factory_make):
13948 Updated docs (Fixes #131079)
13950 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13953 * tests/check/gst/gstelement.c: (GST_START_TEST),
13954 (gst_element_suite):
13955 Added testcase for elementfactory class field.
13957 2006-04-10 Wim Taymans <wim@fluendo.com>
13959 * gst/gstsegment.c:
13960 Added some more docs.
13962 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13963 (gst_base_sink_reset_qos):
13964 Calculate more accurate rate values.
13966 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13968 * gst/gst_private.h:
13969 add a new #ifdef to use __declspec(dllimport) only for
13970 other modules and not for gstreamer core
13971 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13972 use gst_guint64_to_gdouble for conversion
13973 * win32/common/libgstreamer.def:
13974 add new exported functions
13975 * win32/vs6/gst_inspect.dsp:
13976 * win32/vs6/gst_launch.dsp:
13977 * win32/vs6/libgstbase.dsp:
13978 * win32/vs6/libgstcontroller.dsp:
13979 * win32/vs6/libgstcoreelements.dsp:
13980 * win32/vs6/libgstdataprotocol.dsp:
13981 * win32/vs6/libgstnet.dsp:
13982 update project files
13984 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13986 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13987 * gst/gstclock.c: (gst_clock_class_init):
13988 * gst/gstelement.c: (gst_element_class_init):
13989 * gst/gstindex.c: (gst_index_class_init):
13990 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13991 * gst/gstobject.c: (gst_object_class_init),
13992 (gst_signal_object_class_init):
13993 * gst/gstpad.c: (gst_pad_class_init):
13994 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13995 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13996 * gst/gstregistry.c: (gst_registry_class_init):
13997 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13998 * gst/gsttask.c: (gst_task_class_init):
13999 * gst/gstxml.c: (gst_xml_class_init):
14000 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14001 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14002 (gst_base_src_loop):
14003 * libs/gst/controller/gstcontroller.c:/
14004 (_gst_controller_class_init):
14005 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14006 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14007 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14008 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14009 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14010 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14012 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14014 * gst/gstpad.c: (gst_pad_link):
14015 Must set peer pads before calling the link function, otherwise
14016 a task started from a link function might get a flow-not-linked
14017 result when trying to push because the other thread where the
14018 linking happens hasn't had a chance to set the peers yet. This
14019 might happen for example when a queue gets linked to a downstream
14020 element, as queue starts a streaming task when its source pad
14021 gets linked. Happens in real life when playing back flac/musepack
14022 files in playbin (#332390).
14024 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14028 * libs/gst/base/gstadapter.h:
14029 * libs/gst/base/gstbasesink.h:
14030 * libs/gst/base/gstbasesrc.h:
14031 * libs/gst/base/gstbasetransform.h:
14032 * libs/gst/base/gstcollectpads.h:
14033 * libs/gst/base/gstpushsrc.h:
14034 Fix broken GObject macros
14036 2006-04-07 Wim Taymans <wim@fluendo.com>
14038 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14039 Initialize start and stop times, thanks valgrind.
14041 2006-04-07 Wim Taymans <wim@fluendo.com>
14043 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14044 Be a bit nicer to badly behaving upstream elements that expect
14045 us to deal with non TIME segments and timestamps (such as fakesrc
14048 2006-04-07 Wim Taymans <wim@fluendo.com>
14051 Small documentation clarification about the signal watch.
14053 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14054 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14055 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14056 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14057 (gst_base_sink_get_position_last),
14058 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14059 Convert and store timestamps in stream time and running time, the
14060 raw timestamps are not useful, also document this better.
14061 Use different window sizes for good and bad QoS observations so
14062 we react to badness a little quicker.
14063 Keep track of the amount of rendered and dropped buffers.
14064 Send QoS timestamps in running time.
14066 * libs/gst/base/gstbasetransform.c:
14067 (gst_base_transform_sink_eventfunc),
14068 (gst_base_transform_handle_buffer):
14069 Compare QoS timestamps against running time.
14071 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14074 Typo fixes in docs.
14076 2006-04-06 Michael Smith <msmith@fluendo.com>
14078 * gst/gstpad.c: (gst_pad_set_property):
14079 Use g_value_get_object() instead of g_value_dup_gst_object(),
14080 to avoid double-reffing the pad template (which we then sink,
14081 so this worked previously if (and only if) the pad template
14084 * gst/gstpadtemplate.c: (gst_pad_template_init),
14085 (gst_pad_template_pad_created):
14086 Never return floating references to pad templates, create
14087 them as initially-sunken.
14089 Document an extra function (and make this stop sinking our
14090 pad template, since that is now guaranteed to do nothing,
14091 since we created it sunken).
14093 * gst/gstghostpad.c:
14096 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14098 * gst/gstinfo.c: (__gst_in_valgrind):
14101 * plugins/elements/gsttypefindelement.c:
14102 (gst_type_find_element_chain):
14103 Don't leak buffer caps.
14105 2006-04-06 Michael Smith <msmith@fluendo.com>
14107 * gst/parse/grammar.y:
14108 Fix a leak in parse-launch for any source-or-sink named element
14111 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14112 Unref the pipeline if it exists after we've failed parsing.
14114 2006-04-05 Michael Smith <msmith@fluendo.com>
14116 * gst/gstpipeline.c: (gst_pipeline_init):
14117 When we create a pipeline bus, initially create it in flushing mode.
14118 Fixes leaks in at least one test, and makes a new pipeline work the
14119 same as one that has gone to READY and then back to NULL.
14121 * gst/gstelement.c:
14124 2006-04-05 Michael Smith <msmith@fluendo.com>
14126 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14127 Unref a pad we reffed.
14128 * tests/check/gst/gstutils.c: (GST_START_TEST):
14131 2006-04-05 Michael Smith <msmith@fluendo.com>
14133 * gst/gstquery.c: (gst_query_set_formats),
14134 (gst_query_set_formatsv):
14135 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14137 2006-04-05 Michael Smith <msmith@fluendo.com>
14139 * tests/check/generic/sinks.c: (GST_START_TEST):
14140 Fix a variety of memleaks in sinks check, which are only sometimes
14141 shown by running the tests under valgrind (weird?).
14143 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14145 * docs/version.entities.in:
14146 Fix the substituted entity name after thomas' changes on the
14149 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14151 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14154 2006-04-05 Andy Wingo <wingo@pobox.com>
14156 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14158 * libs/gst/base/gstbasetransform.c
14159 (gst_base_transform_sink_eventfunc): When resetting our segment on
14160 FLUSH_STOP, also update the flag saying we haven't seen a
14163 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14165 Patch by: Paolo Borelli <pborelli at katamail dot com>
14167 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14168 (gst_plugin_check_license):
14169 minor clean-ups: G_DEFINE_TYPE already takes care of the
14170 parent_class stuff, no need to do it twice. Mark array of
14171 license strings as constant. (#337103)
14173 2006-04-04 Michael Smith <msmith@fluendo.com>
14175 * tools/gst-inspect.c: (print_element_list):
14176 Free the right plugin list; fixes a memory leak.
14178 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14180 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14182 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14183 Don't error out on empty buffers (#336945).
14185 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14187 * docs/libs/gstreamer-libs-sections.txt:
14188 * gst/gsttaglist.c:
14189 * libs/gst/base/gstbasesink.c:
14190 * libs/gst/base/gstbasesink.h:
14191 * libs/gst/base/gstbasesrc.c:
14192 * libs/gst/base/gstbasesrc.h:
14193 Documentation updates. Make BaseSink and BaseSrc docs contain the
14194 class structure so that people can actually see the prototypes for
14195 virtual functions they're supposed to be overriding.
14197 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14199 * plugins/elements/gsttypefindelement.c:
14200 (gst_type_find_element_chain):
14201 More debug info; when skipping typefinding, send cached
14202 events in all cases.
14204 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14207 use new AS_VERSION and AS_NANO macros
14208 * gst/gst-i18n-lib.h:
14211 * gst/gstversion.h.in:
14212 * win32/common/config.h:
14213 * win32/common/config.h.in:
14216 2006-03-31 Michael Smith <msmith@fluendo.com>
14218 * plugins/elements/gsttypefindelement.c:
14219 (gst_type_find_element_chain):
14220 Do not typefind content if the buffers already have caps.
14221 Neccesary for icydemux (#333657), and the right thing to do anyway.
14223 2006-03-30 Wim Taymans <wim@fluendo.com>
14225 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14226 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14227 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14228 (gst_base_sink_record_qos_observation),
14229 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14230 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14231 (gst_base_sink_change_state):
14232 More QoS measurements as described in the design doc.
14233 Get rid of ringbuffer with observations, running average is
14234 more simple and equally good.
14235 Calculates valid proportion now.
14236 Added beginning of flood measurement.
14238 2006-03-29 Wim Taymans <wim@fluendo.com>
14240 * docs/design/part-qos.txt:
14242 Small documentation updates and additions.
14244 2006-03-29 Wim Taymans <wim@fluendo.com>
14246 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14247 (gst_base_src_send_event), (gst_base_src_loop),
14248 (gst_base_src_change_state):
14249 Perform the EOS logic when we reach the segment stop position.
14250 Fix compilation on gcc4.1
14252 2006-03-29 Wim Taymans <wim@fluendo.com>
14254 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14256 * plugins/elements/gstqueue.c: (gst_queue_init),
14257 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14258 (gst_queue_set_property):
14259 * plugins/elements/gstqueue.h:
14260 In queue, when EOS is received, if minimum threshold > max_size -
14261 current_level, there is chance that queue blocks forever in conditional
14262 item del wait. This is because the queue is not emptied completely due
14263 to minimum threshold. Here is another approach. Instead of setting
14264 cur_levels to max in EOS, just zero all minimum threshold levels. This
14265 should make sure that queue gives out all data. When going to READY
14266 (stop) state, just reset the original minimum threshold levels.
14269 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14271 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14272 (gst_type_find_element_handle_event),
14273 (gst_type_find_element_send_cached_events),
14274 (gst_type_find_element_change_state):
14275 * plugins/elements/gsttypefindelement.h:
14276 When typefinding is done in push mode, we should cache
14277 events we receive during typefinding instead of just
14278 dropping them (e.g. newsegment, custom events from
14279 dvdreadsrc etc.) and then send them out once we've
14280 determined the type of the stream (and decodebin
14281 has had a chance to plug in a decoder/demuxer).
14283 2006-03-27 Wim Taymans <wim@fluendo.com>
14285 * docs/design/part-qos.txt:
14288 2006-03-27 Wim Taymans <wim@fluendo.com>
14290 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14292 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14293 (gst_base_src_send_event), (gst_base_src_change_state):
14294 Handle element seek correctly when we are streaming.
14297 2006-03-24 Michael Smith <msmith@fluendo.com>
14299 * docs/faq/gst-uninstalled:
14300 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14301 allow you to correctly run intalled applications built against old
14302 core, using plugins that require updated core (e.g. running
14303 installed totem against a full uninstalled gstreamer stack)
14305 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14307 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14310 2006-03-24 Wim Taymans <wim@fluendo.com>
14312 * docs/gst/gstreamer-sections.txt:
14313 Rearrange the order of the methods so that related methods
14314 are grouped together in sections.
14316 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14318 * gst/gstelement.c:
14319 Little clarification in the docs
14321 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14325 * plugins/elements/gstidentity.c:
14326 * plugins/elements/gstqueue.c:
14327 * plugins/elements/gsttee.c:
14328 * plugins/elements/gsttypefindelement.c:
14329 GST_ELEMENT_DETAILS formatting
14331 2006-03-24 Wim Taymans <wim@fluendo.com>
14333 * libs/gst/base/gstbasesink.h:
14334 Only add fields, not insert or we break ABI.
14336 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14338 * win32/common/libgstbase.def:
14339 * win32/common/libgstreamer.def:
14340 Update, add recently added functions.
14342 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14344 * docs/gst/gstreamer-sections.txt:
14345 * gst/gstutils.c: (gst_pad_query_peer_position),
14346 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14348 API: add some new utility functions:
14349 - gst_pad_query_peer_position()
14350 - gst_pad_query_peer_duration()
14351 - gst_pad_query_peer_convert()
14353 2006-03-23 Wim Taymans <wim@fluendo.com>
14355 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14356 (gst_base_sink_init), (gst_base_sink_finalize),
14357 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14358 (gst_base_sink_set_property), (gst_base_sink_get_property),
14359 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14360 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14361 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14362 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14363 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14364 (gst_base_sink_preroll_object), (gst_base_sink_event),
14365 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14366 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14367 (gst_base_sink_query), (gst_base_sink_change_state):
14368 Decouple max-lateness and the fact that QoS messages are generated
14369 with a new property (qos).
14370 added API: GstBaseSink::async_play()
14371 Add vmethod so subclasses can be notified of ASYNC playing
14373 Collect timestamp start and stop to report better current
14374 position in EOS/PLAYING/PAUSED/READY/NULL.
14375 Refactor QoS/frame dropping and other measurements.
14376 API: GstBaseSrc::qos
14379 * libs/gst/base/gstbasesink.h:
14380 Added Private struct.
14381 API: gst_base_sink_set_qos_enabled()
14382 API: gst_base_sink_is_qos_enabled()
14384 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14386 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14387 If compiling against GLib-2.8 or newer, try to read the
14388 registry file using GMappedFile first before falling back
14389 to fopen() + fread() (#332151).
14391 2006-03-22 Wim Taymans <wim@fluendo.com>
14393 * gst/gstinfo.c: (gst_debug_set_active),
14394 (gst_debug_category_set_threshold):
14395 Disable debugging unless explicitly activated.
14398 2006-03-22 Wim Taymans <wim@fluendo.com>
14400 * gst/gstelement.c: (gst_element_set_locked_state),
14401 (gst_element_dispose):
14402 Cleanup the error case.
14404 * gst/gstobject.c: (gst_object_dispose):
14405 print a critical when some object was disposed with
14406 a parent, also revive the object since it might
14409 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14411 * tools/gst-launch.1.in:
14414 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14417 * tests/check/Makefile.am:
14418 disable some tests when we don't have a registry
14419 * tests/check/gst/gstutils.c: (gst_utils_suite):
14420 don't build the part that needs parsing
14422 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14425 * tests/examples/Makefile.am:
14426 fix --disable-parse build
14428 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14430 * tools/gst-feedback.1.in:
14431 Fix typo: s/feeback/feedback/ (#133494).
14433 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14435 * tools/Makefile.am:
14436 * tools/gst-launch.1.in:
14437 Add FILES section and correct entry about GST_REGISTRY_PATH
14438 environment variable (#133495; #133494).
14440 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14442 * tools/Makefile.am:
14443 * tools/gst-md5sum.1.in:
14444 * tools/gst-md5sum.c:
14445 Remove gst-md5sum and man page (the md5sink element
14446 required was removed ages ago)
14448 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14450 * gst/gststructure.c: (gst_structure_id_set_value):
14451 Make sure that string fields in structures/taglists
14452 contain valid UTF-8 - we don't want to pass rubbish to
14453 applications because of a buggy plugin (cp. #334167).
14455 2006-03-21 Edward Hervey <edward@fluendo.com>
14457 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14458 (gst_bin_handle_message_func):
14459 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14460 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14461 (gst_element_set_bus_func):
14462 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14463 * gst/gstminiobject.c: (gst_value_set_mini_object),
14464 (gst_value_take_mini_object):
14465 * gst/gstpad.c: (gst_pad_set_pad_template):
14466 * gst/gstpipeline.c: (gst_pipeline_dispose),
14467 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14468 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14469 (gst_collect_pads_chain):
14470 * libs/gst/net/gstnettimeprovider.c:
14471 (gst_net_time_provider_set_property):
14472 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14473 It's in fact all issues with gst_*object_replace().
14475 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14477 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14479 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14480 * pkgconfig/gstreamer-check.pc.in:
14481 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14483 2006-03-21 Edward Hervey <edward@fluendo.com>
14487 * gst/gstmessage.h:
14488 gst_[buffer|event|message]_ref() macros are replaced by a static
14489 inline functions because gcc-4.1 will about if the return value
14491 * tests/check/gst/gstevent.c: (event_probe):
14492 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14494 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14497 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14498 the type' case. (Closes: #335195 for now). In the future, when we
14499 depend on GLib 2.10, we could also intern the type name using
14500 g_intern_static_string()
14502 2006-03-20 Wim Taymans <wim@fluendo.com>
14504 * gst/gstbin.c: (gst_bin_handle_message_func),
14505 (bin_query_max_init), (bin_query_position_fold),
14506 (bin_query_position_done), (gst_bin_query):
14507 Position query should also take max of all streams.
14509 2006-03-20 Wim Taymans <wim@fluendo.com>
14511 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14512 (gst_fake_src_finalize):
14513 Fix leaks in fakesrc.
14515 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14516 Fix leaks in the testcase.
14518 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14520 * gst/gst_private.h:
14521 add win32 specific import decoration(__declspec(dllimport))
14522 for all extern GstDebugCategory * variables
14523 * win32/common/libgstbase.def:
14524 * win32/common/libgstcontroller.def:
14525 * win32/common/libgstreamer.def:
14526 Add some exports, remove empty lines
14527 * win32/common/libgstdataprotocol.def:
14528 * win32/common/libgstdataprotocol.dsp:
14529 * win32/common/libgstnet.def:
14530 * win32/common/libgstnet.dsp:
14531 new project files and exportation files added
14533 2006-03-19 Wim Taymans <wim@fluendo.com>
14535 * tests/check/libs/basesrc.c: (eos_event_counter):
14536 Use proper return value for probe.
14538 2006-03-17 Wim Taymans <wim@fluendo.com>
14540 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14542 Don't leak buffers, caps and pads on negotiation errors.
14544 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14546 * docs/faq/cvs.xml:
14547 * docs/faq/dependencies.xml:
14548 * docs/faq/developing.xml:
14549 * docs/faq/faq.xml:
14550 * docs/faq/general.xml:
14551 * docs/faq/getting.xml:
14552 * docs/faq/legal.xml:
14553 * docs/faq/troubleshooting.xml:
14554 * docs/faq/using.xml:
14555 Faq review and update.
14557 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14559 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14561 Don't pound the cpu to pieces by checking get_caps when accept_caps
14562 is called with the same caps as the pad already has.
14563 Use GST_DEBUG_OBJECT when outputting caps change information.
14565 2006-03-15 Wim Taymans <wim@fluendo.com>
14567 * gst/gstclock.c: (gst_clock_class_init):
14570 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14575 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14576 (gst_pad_accept_caps), (gst_pad_configure_sink),
14577 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14578 Make the default acceptcaps behaviour be to check the requested
14579 caps against the gst_pad_get_caps output.
14581 Ensure that gst_pad_accept_caps is used to check caps when a pad
14582 doesn't have a setcaps function, so that pads automatically refuse
14583 caps that they don't allow in their pad template. (Fixes #332986)
14585 When a buffer with attached caps is pushed, ensure that the source
14586 pad receives those caps even if the element didn't call
14587 gst_pad_set_caps first.
14589 2006-03-15 Wim Taymans <wim@fluendo.com>
14591 * libs/gst/base/gstadapter.c:
14594 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14596 * win32/common/libgstbase.def:
14597 * win32/common/libgstcontroller.def:
14598 * win32/common/libgstreamer.def:
14599 Add a whole bunch of missing functions (#334434).
14601 2006-03-14 Wim Taymans <wim@fluendo.com>
14603 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14604 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14605 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14606 Better debug info when we receive a segment event.
14607 Reorganize a bit so we can pass the get_times() results around.
14608 Use the segment format when calculating the running time.
14609 Don't do QoS is sync is disabled or we have no clock or the
14610 element does not want us to sync to the clock.
14611 Don't drop buffers if QoS is disabled for now.
14613 2006-03-14 Wim Taymans <wim@fluendo.com>
14615 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14616 Marked the stats property as unimplemented so people don't get
14618 Add debug message when regression goes wrong.
14619 Added some more docs.
14621 2006-03-14 Wim Taymans <wim@fluendo.com>
14623 * gst/gstsegment.c: (gst_segment_to_stream_time):
14624 Return correct return type in case of errors.
14626 2006-03-14 Wim Taymans <wim@fluendo.com>
14628 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14629 Don't segfault on invalid formats.
14631 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14633 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14634 Can't use gst_segment_to_running_time() when the segment
14635 is not in GST_TIME_FORMAT (like with filesink, for example).
14636 Stops flac encoding pipelines from spewing critical warnings
14639 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14641 * gst/gstpipeline.c: (gst_pipeline_class_init):
14642 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14644 * plugins/elements/gsttypefindelement.c:
14645 (gst_type_find_element_handle_event):
14646 Don't try to typefind empty streams.
14648 2006-03-14 Wim Taymans <wim@fluendo.com>
14650 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14651 (gst_base_sink_do_qos):
14652 Separate QoS calculation.
14653 Only drop buffers when lateness is bigger than the
14654 duration of the buffer.
14656 2006-03-13 Wim Taymans <wim@fluendo.com>
14658 * gst/gstpipeline.c: (gst_pipeline_set_property),
14659 (gst_pipeline_get_property), (do_pipeline_seek),
14660 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14661 (gst_pipeline_get_delay):
14662 Don't deadlock when reading properties.
14664 2006-03-13 Wim Taymans <wim@fluendo.com>
14666 * libs/gst/base/gstbasetransform.c:
14667 (gst_base_transform_class_init), (gst_base_transform_init),
14668 (gst_base_transform_sink_event),
14669 (gst_base_transform_sink_eventfunc),
14670 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14671 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14672 (gst_base_transform_set_property),
14673 (gst_base_transform_get_property),
14674 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14675 (gst_base_transform_set_qos_enabled),
14676 (gst_base_transform_is_qos_enabled):
14677 * libs/gst/base/gstbasetransform.h:
14678 Make basetransform virtual method for src events too.
14679 Handle QOS in basetransform.
14680 API: gst_base_transform_update_qos()
14681 API: gst_base_transform_set_qos_enabled()
14682 API: gst_base_transform_is_qos_enabled()
14684 2006-03-13 Wim Taymans <wim@fluendo.com>
14686 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14687 (gst_base_sink_do_sync):
14689 Use QOS debug category.
14691 2006-03-13 Wim Taymans <wim@fluendo.com>
14693 * plugins/elements/gstqueue.c:
14694 Very small doc update.
14696 2006-03-13 Wim Taymans <wim@fluendo.com>
14698 * gst/gst_private.h:
14699 * gst/gstinfo.c: (_gst_debug_init):
14700 Added QOS debug category
14702 2006-03-13 Wim Taymans <wim@fluendo.com>
14704 * docs/gst/gstreamer-sections.txt:
14705 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14707 * gst/gstbus.c: (gst_bus_class_init):
14710 * gst/gstelement.c: (gst_element_set_locked_state):
14711 * gst/gstsegment.c:
14712 Documentation updates.
14714 * gst/gstpipeline.c: (gst_pipeline_get_type),
14715 (gst_pipeline_class_init), (gst_pipeline_init),
14716 (gst_pipeline_dispose), (gst_pipeline_set_property),
14717 (gst_pipeline_get_property), (do_pipeline_seek),
14718 (gst_pipeline_send_event), (gst_pipeline_change_state),
14719 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14720 (gst_pipeline_get_delay):
14721 * gst/gstpipeline.h:
14722 Added methods for setting the delay.
14723 API: gst_pipeline_set_delay()
14724 API: gst_pipeline_get_delay()
14725 Add pipeline debug category
14728 Don't reset stream time when seek failed.
14730 2006-03-13 Wim Taymans <wim@fluendo.com>
14732 * docs/design/draft-klass.txt:
14733 * docs/design/part-clocks.txt:
14734 * docs/design/part-events.txt:
14735 * docs/design/part-gstbin.txt:
14736 * docs/design/part-gstpipeline.txt:
14737 * docs/design/part-messages.txt:
14738 * docs/design/part-negotiation.txt:
14739 * docs/design/part-overview.txt:
14740 * docs/design/part-preroll.txt:
14741 * docs/design/part-seeking.txt:
14742 * docs/design/part-states.txt:
14743 * docs/design/part-streams.txt:
14744 Documentation updates.
14746 2006-03-12 Julien MOUTTE <julien@moutte.net>
14748 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14749 us to leak strings...
14751 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14753 * libs/gst/net/gstnettimeprovider.c:
14755 * win32/common/config.h:
14758 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14760 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14763 Don't check for libgnomeui (leftover from old examples
14764 that aren't built or disted any longer) (#334303).
14766 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14768 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14769 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14770 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14771 there's no space left on the device.
14773 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14776 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14777 to cast the input to GstClockTime before comparing with
14778 another GstClockTime value.
14780 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14785 === release 0.10.4 ===
14787 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14790 releasing 0.10.4, "Light"
14792 2006-03-10 Michael Smith <msmith@fluendo.com>
14794 * libs/gst/dataprotocol/dataprotocol.c:
14795 Fix docs for dataprocotol to not get the return types completely
14796 wrong for a few functions.
14798 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14800 * docs/gst/gstreamer-sections.txt:
14801 * gst/gstpipeline.c: (gst_pipeline_class_init),
14802 (gst_pipeline_init), (gst_pipeline_set_property),
14803 (gst_pipeline_get_property), (gst_pipeline_change_state),
14804 (gst_pipeline_set_auto_flush_bus),
14805 (gst_pipeline_get_auto_flush_bus):
14806 * gst/gstpipeline.h:
14807 Add new API: gst_pipeline_set_auto_flush_bus() and
14808 gst_pipeline_get_auto_flush_bus() to disable automatic
14809 flushing of the pipeline's GstBus when going from READY
14810 to NULL state (#332045).
14812 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14814 * docs/gst/gstreamer-sections.txt:
14815 * gst/gsturi.c: (gst_uri_has_protocol):
14817 Add new API: gst_uri_has_protocol() (#333779).
14819 2006-03-09 Wim Taymans <wim@fluendo.com>
14821 * gst/gstclock.c: (gst_clock_entry_new),
14822 (gst_clock_id_compare_func), (gst_clock_id_wait),
14823 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14824 (gst_clock_init), (gst_clock_get_internal_time),
14825 (gst_clock_set_master), (do_linear_regression),
14826 (gst_clock_add_observation), (gst_clock_set_property):
14830 Fix a possible segfault when the window-size is made smaller.
14831 Calculate jitter before performing the clock wait. Ideally
14832 the clock implementation should calculate jitter but we need
14833 API breakage for that.
14835 * gst/gstsystemclock.c: (gst_system_clock_init):
14838 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14839 Remove leftover else
14841 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14842 (gst_systemclock_suite):
14843 Added check to test GST_CLOCK_DIFF.
14845 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14847 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14848 (gst_type_find_helper_get_range):
14849 If we are provided with the size, we should implement
14850 GstTypeFind::get_length, so that typefind functions who
14851 want to can actually peek at the middle of a file.
14853 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14855 * docs/manual/advanced-dataaccess.xml:
14856 Add some very very basic error checking.
14858 * docs/pwg/appendix-checklist.xml:
14859 Some updates to the list of things to check when writing an element.
14861 2006-03-08 Wim Taymans <wim@fluendo.com>
14863 * docs/design/part-element-transform.txt:
14864 Added some docs about the design of tranform elements.
14866 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14867 (gst_base_src_loop), (gst_base_src_change_state):
14868 Mark buffers with the DISCONT flag.
14870 2006-03-08 Michael Smith <msmith@fluendo.com>
14872 * gst/gstregistry.h:
14873 * gst/gstregistryxml.c: (gst_registry_save),
14874 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14875 (gst_registry_xml_save_pad_template),
14876 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14877 (gst_registry_xml_write_cache):
14878 Rewrite registry-saving to avoid race conditions and check for
14881 2006-03-08 Wim Taymans <wim@fluendo.com>
14883 * libs/gst/base/gstbasetransform.c:
14884 (gst_base_transform_transform_caps),
14885 (gst_base_transform_transform_size),
14886 (gst_base_transform_prepare_output_buffer),
14887 (gst_base_transform_get_unit_size),
14888 (gst_base_transform_buffer_alloc),
14889 (gst_base_transform_handle_buffer),
14890 (gst_base_transform_change_state):
14891 Cleanups, separate normal flow from errors, add sensible
14893 Don't try to renegotiate when allocating an output buffer.
14894 Also copy DISCONT buffer flag when copying a buffer.
14895 Reset the transform after we finish streaming, not during.
14897 2006-03-08 Wim Taymans <wim@fluendo.com>
14899 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14900 Use last buffer timestamp in qos message.
14902 2006-03-07 Wim Taymans <wim@fluendo.com>
14904 Patch by: Christophe Fergeau
14906 * docs/pwg/advanced-tagging.xml:
14907 * docs/pwg/building-pads.xml:
14910 2006-03-07 Wim Taymans <wim@fluendo.com>
14912 * docs/libs/gstreamer-libs-sections.txt:
14913 Added basesink new methods.
14917 Docs updates. Flesh out the QoS docs.
14919 * libs/gst/base/gstadapter.c:
14920 Small doc clarification about ownership and flushing.
14922 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14923 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14924 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14925 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14926 * libs/gst/base/gstbasesink.h:
14928 Added new methods to allow subclass to control max-lateness
14930 Generate very basic QoS events based on last sync observation.
14931 Updated docs, fix typo, added some QoS blurb.
14933 * libs/gst/base/gstbasesrc.c:
14934 Remove obsolete _get_state() calls from docs.
14936 2006-03-07 Wim Taymans <wim@fluendo.com>
14938 * docs/libs/gstreamer-libs-sections.txt:
14939 * libs/gst/base/gstbasetransform.h:
14940 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14941 Fix docs for GstBaseSrc.
14943 2006-03-07 Wim Taymans <wim@fluendo.com>
14945 * docs/gst/gstreamer-sections.txt:
14948 * libs/gst/base/gstbasetransform.h:
14949 Small documentation fixes.
14951 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14954 Document thread-unsafety of gst_value_register_foo_func()
14955 when used at the same time as gst_value_foo() (#322628).
14957 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14959 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14960 (gst_push_src_check_get_range):
14961 Push sources don't support pull mode by default.
14963 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14965 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14966 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14967 (gst_base_src_default_check_get_range):
14968 * libs/gst/base/gstbasesrc.h:
14969 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14970 provide default implementation, and rename
14971 gst_base_src_check_get_range() to
14972 gst_base_src_pad_check_get_range() for clarity.
14974 2006-03-06 Wim Taymans <wim@fluendo.com>
14976 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14977 Make property overridable.
14979 2006-03-06 Wim Taymans <wim@fluendo.com>
14981 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14982 (gst_base_sink_init), (gst_base_sink_set_property),
14983 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14984 * libs/gst/base/gstbasesink.h:
14985 API addition: Make max-lateness a property.
14987 2006-03-06 Wim Taymans <wim@fluendo.com>
14989 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14990 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14991 Don't ever draw a frame that is >10ms late.
14993 2006-03-06 Michael Smith <msmith@fluendo.com>
14995 * gst/gstmessage.c: (_gst_message_copy):
14996 When copying a message, set the parent_refcount of the enclosed
14997 structure to point at the copy, not the original message.
14999 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15001 Patch by: Christophe Fergeau
15004 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15005 usable in c++ code (#333417)
15007 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15010 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15012 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15014 * libs/gst/base/gstbasetransform.c:
15015 (gst_base_transform_transform_caps):
15016 Make sure caps are writable before passing them to
15019 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15022 Fix some minor docs errors.
15024 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15026 Patch by: Ross Burton <ross at burtonini dot com>
15028 * gst/gsterror.c: (_gst_resource_errors_init):
15030 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15032 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15035 Add a check and output a g_warning when GStreamer is built
15036 against GLib 2.6 but running against 2.8 or higher, and vice
15037 versa. (Closes: #323542)
15039 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15041 * gst/parse/parse.l:
15042 Commit patch for parse_launch syntax from #331255. Removes
15043 support for quoted strings and mimetypes when writing filtered
15044 caps. See the bug report for more details - I'm pretty sure this
15045 obscure feature is not in use by _anyone_ anywhere.
15047 With this simple change, the size of the gstreamer.so here
15048 drops from 2193KB to 1565KB.
15050 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15052 * plugins/elements/gsttypefindelement.h:
15053 * plugins/elements/gsttypefindelement.c:
15054 (gst_type_find_element_src_event), (start_typefinding),
15055 (stop_typefinding), (gst_type_find_element_handle_event),
15056 (gst_type_find_element_chain),
15057 (gst_type_find_element_chain_do_typefinding):
15058 Use gst_type_find_helper_for_buffer() for chain-based
15061 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15063 * plugins/elements/gsttypefindelement.c:
15064 (gst_type_find_element_class_init),
15065 (gst_type_find_element_set_property),
15066 (gst_type_find_element_get_property):
15067 Deprecate "maximum" property (not only was it only taken into
15068 account for typefinding in push-mode anyway, it also was never
15069 actually possible to set it in the first place because the
15070 property was registered with the numeric property ID for the
15071 "minimum" property). Register "maximum" property correctly,
15072 for the sake of future copy'n'pasters. Remove some cruft
15073 from property get/set functions.
15075 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15077 * plugins/elements/gsttypefindelement.c:
15078 (gst_type_find_element_activate):
15079 Use gst_type_find_helper_get_range() here, so we
15080 can honour the "minimum" property and also emit
15081 the signal with the correct probability of the found caps.
15083 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15085 * docs/libs/gstreamer-libs-sections.txt:
15086 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15087 (helper_find_suggest), (gst_type_find_helper_get_range),
15088 (gst_type_find_helper):
15089 * libs/gst/base/gsttypefindhelper.h:
15090 New API: gst_type_find_helper_get_range() (#333042).
15092 2006-03-02 Michael Smith <msmith@fluendo.com>
15094 * gst/gstregistryxml.c: (load_feature):
15095 Asserting on a failure to read part of the registry is Not Cool.
15096 Just log a warning and return NULL (which is already handled)
15098 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15100 * win32/common/libgstbase.def:
15101 added export of gst_type_find_helper_for_buffer
15102 * win32/common/libgstbase.def:
15103 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15104 gst_ghost_pad_get_target
15106 2006-02-28 Wim Taymans <wim@fluendo.com>
15108 * docs/design/draft-klass.txt:
15110 Added Connector to mark elements that are only used to
15111 allow pipeline connections.
15112 Moved Debug to extra feature since most of them are
15113 functionally something else.
15115 2006-02-28 Wim Taymans <wim@fluendo.com>
15117 * docs/design/draft-klass.txt:
15118 Some updates and clarifications.
15120 2006-02-28 Wim Taymans <wim@fluendo.com>
15122 * docs/design/draft-klass.txt:
15123 Proposal for klass field values.
15125 * docs/design/part-streams.txt:
15126 Start of a doc describing stream anatomy.
15128 2006-02-28 Wim Taymans <wim@fluendo.com>
15130 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15131 Help the compiler a bit with type registration.
15132 Use existing forward cod path instead of duplicating it when
15133 handling a message.
15135 * gst/gstbus.c: (gst_bus_get_type):
15136 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15137 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15138 * gst/gstclock.c: (gst_clock_get_type):
15139 * gst/gstelement.c: (gst_element_get_type),
15140 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15141 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15142 * gst/gstminiobject.c: (gst_mini_object_get_type):
15143 * gst/gstpad.c: (gst_pad_get_type):
15144 * gst/gstsegment.c: (gst_segment_get_type):
15145 * gst/gststructure.c: (gst_structure_get_type):
15146 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15147 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15149 Help compiler with type registration.
15151 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15154 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15156 * plugins/elements/gsttypefindelement.c:
15157 (gst_type_find_element_handle_event):
15158 When we get an EOS event and have not found a type yet
15159 (most likely because we had not yet accumulated
15160 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15161 type given the data we have so far. Fixes typefinding
15162 for very short streams again, most notably quicktime
15163 redirections as used on Apple's trailer site (#331701).
15165 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15167 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15168 (gst_type_find_helper):
15169 Try typefinding factories with the highest rank first.
15171 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15173 * docs/libs/gstreamer-libs-docs.sgml:
15174 * docs/libs/gstreamer-libs-sections.txt:
15175 * libs/gst/base/gsttypefindhelper.c:
15176 Add section for typefind helper and add documentation
15177 for the old and the new function.
15179 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15181 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15182 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15183 (gst_type_find_helper_for_buffer):
15184 * libs/gst/base/gsttypefindhelper.h:
15185 New API: gst_type_find_helper_for_buffer() (#332723).
15187 2006-02-27 Michael Smith <msmith@fluendo.com>
15189 Patch by: Loïc Minier
15192 * docs/Makefile.am:
15193 * docs/slides/Makefile.am:
15194 prevent CVS directories getting disted.
15196 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15198 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15199 Use the REFCOUNTING category for caps refcounting.
15201 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15203 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15204 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15206 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15208 * plugins/elements/gsttypefindelement.c:
15209 (gst_type_find_element_activate):
15210 Use gst_pad_check_pull_range() before _activate_pull()
15211 to avoid unnecessary open/close (see #331690).
15213 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15216 Docs enhancement: make it crystal clear what the
15217 gst_pad_add_*_probe() callbacks should look like.
15219 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15221 * libs/gst/base/gstbasesrc.c:
15222 Document how applications can stop recording from
15223 live sources (see #330996).
15225 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15227 * tests/check/Makefile.am:
15228 * tests/check/libs/basesrc.c: (eos_event_counter),
15229 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15230 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15231 (gst_basesrc_suite), (main):
15232 ... and add some tests for the base source EOS stuff.
15234 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15236 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15237 Test case originally showed the problem fixed below,
15238 but was then amended. Add checks back at the place
15239 where they used to be.
15241 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15243 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15244 (gst_base_src_init), (gst_base_src_loop),
15245 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15246 (gst_base_src_change_state):
15247 * libs/gst/base/gstbasesrc.h:
15248 Don't unconditionally send EOS when going from PAUSED to
15249 READY state, esp. make sure we don't send two EOS events
15250 in some cases (e.g. one when reaching EOS and one when
15251 going from PAUSED to READY). Also, we don't want to send
15252 EOS events when operating in pull mode. However, we do
15253 want to send an EOS event when shutting down a live
15254 source explicitly, for example (fixes #330996).
15256 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15258 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15259 Update src->read_position after a seek when not using mmap.
15260 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15262 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15268 Make things work with --disable-parse as they do with
15269 --disable-load-save - the symbols involved disappear, but the
15270 header is still installed and GST_DISABLE_PARSE is included via
15273 2006-02-20 Julien MOUTTE <julien@moutte.net>
15275 * libs/gst/base/gstbasetransform.c:
15276 (gst_base_transform_change_state): Fix a stupid bug. I was
15277 sure I compiled that.
15279 2006-02-20 Julien MOUTTE <julien@moutte.net>
15281 * gst/gstpad.c: (gst_pad_set_blocked_async):
15282 * gst/gstutils.c: (gst_pad_add_data_probe),
15283 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15284 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15285 (gst_pad_remove_buffer_probe): Make those function act on the
15286 ghostpad target when it's a ghostpad. (Closes #331727)
15288 2006-02-20 Julien MOUTTE <julien@moutte.net>
15290 * libs/gst/base/gstbasetransform.c:
15291 (gst_base_transform_change_state): Make basetransform reusable.
15294 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15296 * docs/random/release:
15297 Move the current documentation of how to do a release to the top
15300 * gst/gstbin.c: (gst_bin_class_init),
15301 (gst_bin_handle_message_func):
15302 Allow multiple state-recalculation threads. (Closes #328873)
15304 2006-02-19 Julien MOUTTE <julien@moutte.net>
15306 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15307 * gst/gstpad.c: (gst_pad_set_event_function),
15308 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15309 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15310 2 strings. You can't use the STR_NULL macro on that.
15312 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15314 * gst/gstpad.c: (gst_pad_set_event_function),
15315 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15316 (gst_pad_set_getcaps_function)
15317 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15318 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15319 So now, we can use --gst-debug-level=5 on Windows
15320 * win32/common/libgstcontroller.def:
15321 Added export of gst_controller_init
15322 * win32/vs6/libgstcontroller.dsp:
15323 Fixed Release post build configuration
15325 2006-02-17 Wim Taymans <wim@fluendo.com>
15327 * tests/check/gst/gstquery.c: (GST_START_TEST):
15328 Added another check.
15330 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15332 * plugins/elements/gsttypefindelement.c: (find_peek):
15333 We can do peeks at non-zero offsets, as long as they
15334 fall within the buffer we have.
15336 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15338 * tests/check/Makefile.am:
15339 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15340 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15341 (parse_suite), (main):
15342 Add testsuite for parse launch syntax
15344 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15346 * plugins/elements/gsttypefindelement.c:
15347 (gst_type_find_element_chain):
15348 When typefinding is unsuccessful in the chain function, don't
15349 error out immediately. Only error out with NO_CAPS_FOUND if
15350 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15351 otherwise simply wait for more data so we can try typefinding
15352 again with more data later. Also, don't attempt to typefind
15353 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15354 this should improve typefinding from network sources where the
15355 size of the first buffer can be somewhat random.
15357 2006-02-14 Wim Taymans <wim@fluendo.com>
15359 * docs/gst/gstreamer-sections.txt:
15360 * gst/gstpadtemplate.c:
15361 * gst/gstpadtemplate.h:
15362 Fix padtemplate docs, fixes #328805.
15364 2006-02-14 Wim Taymans <wim@fluendo.com>
15366 * tools/gst-launch.c: (main):
15367 NO_PREROLL is not an ERROR so don't send confusing messages
15370 2006-02-14 Wim Taymans <wim@fluendo.com>
15372 Patch by: Torsten Schoenfeld
15374 * gst/gstregistry.c: (gst_registry_get_default),
15375 (_gst_registry_cleanup):
15376 Protect default registry with lock and ref/sink it.
15379 2006-02-14 Wim Taymans <wim@fluendo.com>
15382 * gst/gstquery.c: (gst_query_list_add_format),
15383 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15384 (gst_query_parse_formats_nth):
15385 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15388 2006-02-14 Wim Taymans <wim@fluendo.com>
15390 * docs/gst/gstreamer-sections.txt:
15391 Reworked query docs.
15393 * gst/gstquery.c: (gst_query_new_formats),
15394 (gst_query_list_add_format), (gst_query_set_formats),
15395 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15396 (gst_query_parse_formats_nth):
15398 Flesh out formats query, added some new methods.
15399 Fix part of #324398.
15401 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15402 Added query creation tests.
15404 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15406 * gst/gstpad.c: (fixate_value):
15407 Add a default fixation for fraction lists.
15409 2006-02-13 Wim Taymans <wim@fluendo.com>
15411 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15412 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15415 Detect and warn for obvious deadlocks. fixes #320340
15416 Fix error case where lock was not released.
15418 * tests/check/Makefile.am:
15419 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15420 (task_func), (gst_element_suite), (main):
15423 2006-02-13 Wim Taymans <wim@fluendo.com>
15425 * docs/gst/gstreamer-sections.txt:
15427 Add new functions to docs.
15429 2006-02-13 Wim Taymans <wim@fluendo.com>
15431 * docs/design/part-TODO.txt:
15432 Updated TODO list, basesrc supports seeking to non-bytes
15435 * docs/design/part-element-sink.txt:
15438 * gst/gstbin.c: (bin_replace_message),
15439 (gst_bin_handle_message_func):
15440 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15441 * gst/gstevent.c: (gst_event_finalize):
15442 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15443 (gst_pad_send_event):
15444 Use shiny new _TYPE_NAME macros.
15446 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15447 Move debug statement up.
15449 * gst/gstelement.c: (gst_element_set_locked_state):
15450 Add some debugging.
15452 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15454 * docs/gst/gstreamer-sections.txt:
15455 * gst/gstmessage.h:
15457 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15458 macros (#330906). Also, document the already existing
15459 GST_QUERY_TYPE macro.
15461 2006-02-13 Wim Taymans <wim@fluendo.com>
15463 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15464 (event_probe), (GST_START_TEST):
15465 Only events up to the pipeline EOS are counted, there are
15466 some more when going to NULL currently which we don't care
15469 2006-02-13 Wim Taymans <wim@fluendo.com>
15471 * gst/gstpad.c: (gst_pad_send_event):
15472 Correctly check flushing and emit probes. fixes #330125
15474 2006-02-10 Andy Wingo <wingo@pobox.com>
15476 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15478 (gst_bus_init): Cache the location of the private data in the
15479 instance structure.
15480 (gst_bus_enable_sync_message_emission)
15481 (gst_bus_disable_sync_message_emission): Implement new public
15483 (gst_bus_post): Emit the sync-message signal if the user asked for
15486 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15487 location of the bus-private structure.
15488 (gst_bus_enable_sync_message_emission)
15489 (gst_bus_disable_sync_message_emission): API addition
15491 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15493 Patch by: Vincent Torri
15495 * docs/pwg/building-boiler.xml:
15496 PWG patch from #326800
15498 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15501 * docs/Makefile.am:
15502 * docs/design/Makefile.am:
15505 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15510 === release 0.10.3 ===
15512 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15515 releasing 0.10.3, "Like a virgin"
15517 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15520 2nd prerelease of 0.10.3
15521 Bump libtool versioning.
15523 2006-02-07 Andy Wingo <wingo@pobox.com>
15525 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15526 update last_stop if we're in TIME format and the timestamp is
15529 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15530 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15531 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15532 If we get a new newsegment with a different format, adapt
15535 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15536 of 0. Not a problem, really.
15538 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15541 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15546 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15549 project files updated to the default vs7 configuration
15550 * win32/common/libgstbase.def:
15551 * win32/common/libgstreamer.def:
15553 removed empty lines,
15554 sorted all exported symbols alphabetically
15555 * win32/common/dirent.c:
15556 * win32/common/dirent.h:
15557 * win32/common/gchar.h:
15558 use windows line end.
15560 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15562 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15563 Send EOS event when stopping.
15565 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15568 Tell folks what to do if the plugin-foobar.xml file
15569 hasn't been generated for a newly-added plugin.
15571 2006-02-05 Julien MOUTTE <julien@moutte.net>
15573 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15574 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15575 (gst_collect_pads_start), (gst_collect_pads_stop),
15576 (gst_collect_pads_event): Collectpads now holds a reference
15577 to the GstPad that was added. Indeed we don't want to look
15578 at pads that might just go away with no warning...
15580 2006-02-05 Julien MOUTTE <julien@moutte.net>
15582 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15583 (gst_collect_pads_start), (gst_collect_pads_stop),
15584 (gst_collect_pads_event), (gst_collect_pads_chain):
15585 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15586 Mark Nauwelaerts's patch on bug #328491.
15588 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15590 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15592 Add some simple tests for gst_parse_bin_from_description() and
15593 gst_bin_find_unconnected_pad() (#329069).
15595 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15597 * tools/gst-launch.c: (event_loop), (main):
15598 Catch errors during preroll (#320084).
15600 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15602 * plugins/elements/gsttypefindelement.c:
15603 (gst_type_find_element_activate):
15604 Post TYPE_NOT_FOUND error message when typefinding
15605 is unsuccessful in the activate function as well.
15607 2006-02-02 Wim Taymans <wim@fluendo.com>
15609 * docs/design/part-element-sink.txt:
15612 2006-02-02 Wim Taymans <wim@fluendo.com>
15614 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15615 (gst_base_sink_render_object),
15616 (gst_base_sink_queue_object_unlocked):
15617 Only keep track of prerollable items when we are
15619 Before rendering after preroll, always check if we
15621 Added some more debugging.
15623 2006-02-02 Wim Taymans <wim@fluendo.com>
15625 * gst/gstelement.c: (gst_element_continue_state),
15626 (gst_element_set_state_func), (gst_element_change_state):
15627 Fixed #326576, been running this for quite some time with
15628 no regressions at all.
15630 2006-02-02 Wim Taymans <wim@fluendo.com>
15633 Added more suppressions
15635 2006-02-02 Wim Taymans <wim@fluendo.com>
15637 * docs/design/part-element-sink.txt:
15640 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15641 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15642 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15643 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15644 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15645 (gst_base_sink_preroll_object),
15646 (gst_base_sink_queue_object_unlocked),
15647 (gst_base_sink_queue_object), (gst_base_sink_event),
15648 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15649 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15650 (gst_base_sink_get_position), (gst_base_sink_change_state):
15651 * libs/gst/base/gstbasesink.h:
15652 Totally refactored matching the design doc.
15653 Use two segments, one to clip incomming buffers and another to
15655 Handle queueing correctly, bypass the queue when playing.
15656 Make EOS cancelable.
15657 Handle errors correctly when operating in pull based mode.
15659 * tests/check/elements/fakesink.c: (GST_START_TEST),
15661 Added new check for sinks.
15663 2006-02-02 Wim Taymans <wim@fluendo.com>
15665 * gst/gstsegment.c: (gst_segment_clip):
15666 No reason to refuse to clip when start == -1
15668 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15671 * docs/manual/intro-basics.xml:
15672 * docs/manual/intro-preface.xml:
15673 * docs/manual/manual.xml:
15674 * docs/pwg/advanced-dparams.xml:
15675 * docs/pwg/intro-basics.xml:
15676 * docs/pwg/intro-preface.xml:
15677 * docs/pwg/pwg.xml:
15678 describe dparams (controller) for plugins
15679 unify docs a little more
15681 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15683 * docs/gst/gstreamer-sections.txt:
15684 * gst/gstutils.c: (element_find_unconnected_pad),
15685 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15687 Add new API: gst_parse_bin_from_description() and
15688 gst_bin_find_unconnected_pad() (#329069).
15690 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15692 * docs/manual/README:
15693 uncover a nasty detail of the docs build
15695 2006-01-31 Wim Taymans <wim@fluendo.com>
15697 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15698 Don't cache duration messages if we're not going to use or
15701 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15703 * docs/manual/advanced-dparams.xml:
15704 * docs/pwg/advanced-dparams.xml:
15708 * libs/gst/controller/lib.c: (gst_controller_init):
15711 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15713 * gst/gstelement.c: (gst_element_message_full):
15714 also show file/line/func if no additional debug was given
15716 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15718 * win32/vs7/grammar.vcproj:
15719 activate copy of autogenerated files for Release mode
15721 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15723 * win32/common/libgstreamer.def:
15724 export gst_value_compare
15726 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15728 * plugins/elements/Makefile.am:
15729 * plugins/elements/gstelements.c:
15730 * plugins/elements/gstfdsink.c: (_do_init),
15731 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15732 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15733 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15734 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15735 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15736 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15737 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15738 * plugins/elements/gstfdsink.h:
15739 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15741 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15743 * docs/manual/advanced-dparams.xml:
15744 describe controller
15745 * docs/manual/advanced-position.xml:
15746 * docs/manual/basics-init.xml:
15747 * docs/manual/manual.xml:
15748 * docs/manual/titlepage.xml:
15749 * docs/pwg/pwg.xml:
15750 * docs/pwg/titlepage.xml:
15751 cleanup xml (more to come)
15752 * libs/gst/controller/gstcontroller.c:
15755 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15757 * win32/vs6/grammar.dsp:
15758 add autogen of gstmarshal.c,h for Release mode
15760 2006-01-30 Wim Taymans <wim@fluendo.com>
15762 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15763 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15764 (gst_base_sink_handle_object), (gst_base_sink_event),
15765 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15766 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15767 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15768 (gst_base_sink_deactivate), (gst_base_sink_activate),
15769 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15770 (gst_base_sink_query), (gst_base_sink_change_state):
15771 Basesink cleanups, remove some old code.
15772 Handle the case where a subclass can preroll in the render
15773 method (mostly audiosinks).
15774 Handle more events.
15775 Remove some locks around variables that are now protected
15776 with the PREROLL_LOCK (clock_id, flushing, ..).
15777 Optimize position query some more, do correct locking.
15778 Remove old code to push queue in state change, this is not
15779 needed anymore since preroll blocks on all prerollable items
15781 Almost implemented as described in design doc.
15783 2006-01-30 Wim Taymans <wim@fluendo.com>
15785 * tests/check/gst/gstbin.c: (GST_START_TEST):
15786 Wait for refcount to settle down before checking.
15788 2006-01-30 Wim Taymans <wim@fluendo.com>
15790 * docs/design/part-element-sink.txt:
15791 Pseudo code overview of desired sink behaviour regarding
15794 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15795 * win32/vs6/grammar.dsp:
15796 fix some bugs in Release mode for autogenerated files
15798 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15799 * win32/common/libgstbase.def:
15800 * win32/common/libgstreamer.def:
15801 export some new symbols: gst_base_src_set_format,
15802 gst_iterator_next, gst_structure_set_valist
15804 2006-01-29 Julien MOUTTE <julien@moutte.net>
15806 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15807 Set pad functions unconditionally. Fixes #329105.
15809 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15811 add vs8 project files created by Sergey Scobich
15813 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15815 * gst/gstutils.c: (gst_element_unlink_pads):
15816 Don't leak pad references.
15818 * tests/check/elements/fakesink.c: (GST_START_TEST):
15819 * tests/check/generic/sinks.c: (GST_START_TEST):
15820 * tests/check/generic/states.c: (GST_START_TEST):
15821 * tests/check/gst/gstbin.c: (GST_START_TEST):
15822 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15823 * tests/check/gst/gstelement.c: (GST_START_TEST):
15824 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15825 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15826 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15827 Fix a bunch of leaks. Make generic/sinks.c
15828 use a bit less cpu by slowing the buffer rate
15829 between fakesrc and fakesink.
15831 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15833 * gst/gstelement.c: (gst_element_send_event):
15836 * gst/gstiterator.c:
15837 * gst/gstiterator.h:
15838 * gst/gstpad.c: (gst_pad_send_event):
15839 * gst/gststructure.c:
15843 * libs/gst/base/gstadapter.c:
15844 doc fixes, to link to function, just write gst_cool_function(), don't
15847 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15849 * plugins/elements/gsttee.c: (gst_tee_do_push),
15850 (gst_tee_handle_buffer):
15851 Always prefer an actual return value from a src
15852 pad in place of NOT_LINKED. This means we return
15853 WRONG_STATE when all src pads are WRONG_STATE
15854 instead of NOT_LINKED.
15856 Lock when replacing the last message to prevent
15857 racing with the get_property method.
15861 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15863 * tests/check/Makefile.am:
15864 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15866 Add a very simple check that should have caught the memleak I fixed
15867 last night (if not for the slice allocator hiding it)
15869 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15871 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15872 (gst_bin_remove_func), (gst_bin_handle_message_func),
15873 (bin_query_duration_fold), (bin_query_generic_fold):
15874 Clean up references to the clock provider when disposed or when
15875 handling a clock-lost message from it.
15877 Unref sinks when performing a query via gst_iterator_fold, as the
15878 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15880 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15881 (gst_clock_set_master):
15882 Drop our reference to the master clock, if any, when we are disposed.
15884 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15885 Chain up in dispose.
15887 2006-01-26 Wim Taymans <wim@fluendo.com>
15889 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15890 Add some debugging.
15892 2006-01-26 Julien MOUTTE <julien@moutte.net>
15894 * plugins/elements/gsttee.c: (gst_tee_do_push),
15895 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15896 handles pad being NOT_LINKED or in WRONG_STATE.
15898 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15903 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15906 remove obsolete entry
15908 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15910 * docs/gst/gstreamer-sections.txt:
15911 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15912 (gst_bin_iterate_sources), (gst_bin_send_event):
15914 * gst/gstelement.c: (gst_element_send_event):
15916 * gst/gstpad.c: (gst_pad_send_event):
15917 added code for downstream events, reviewed docs in gstevent.c
15919 2006-01-25 Julien MOUTTE <julien@moutte.net>
15921 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15922 We only query position using the clock in the playing state.
15923 Query peer in the other cases.
15924 * win32/common/config.h: Updates.
15926 2006-01-24 Wim Taymans <wim@fluendo.com>
15928 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15929 A clock entry that is scheduled for the exact time of the
15930 clock is still in time.
15932 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15933 (gst_base_sink_do_sync):
15934 Add some more debug info.
15936 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15939 Add new vs7 project files and solution.
15941 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15944 all files removed as they were out-dated.
15946 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15948 * docs/random/release:
15950 * gst/gstbin.c: (gst_bin_init):
15951 * gst/gstbus.c: (gst_bus_new):
15953 * gst/gstpipeline.c: (gst_pipeline_init):
15954 use gst_bus_new(), improve logging, fix docs
15955 * win32/common/config.h:
15956 update for cvs build
15958 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15961 up required version of automake to 1.7
15963 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15965 * win32/common/libgstreamer.def:
15966 export gst_buffer_is_metadata_writable
15968 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15970 * docs/gst/gstreamer-sections.txt:
15972 Add gst_event_replace() (#327001)
15974 2006-01-20 Wim Taymans <wim@fluendo.com>
15976 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15977 Make it actually compile too..
15979 2006-01-20 Wim Taymans <wim@fluendo.com>
15982 Clarify behaviour of _is_equal() when passing NULL parameters.
15984 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15985 (gst_pad_set_caps):
15986 Cleanups. Don't unref NULL caps.
15987 When setting the same caps, protect caps of the pad with
15989 Use full functionality of _is_equal() when comparing caps.
15991 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15993 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15994 Don't loop infinitely if there are no buffers to present. Partially
15995 fixes #327197, but collectpads is just broken for reusing elements
15996 to do multiple encodes atm.
15998 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16000 * tools/gst-inspect.c: (print_element_features):
16001 * tools/gst-xmlinspect.c: (main):
16002 URL_HANDLER is not a plugin feature we can search for in
16005 2006-01-19 Edward Hervey <edward@fluendo.com>
16007 * gst/gstelement.c: (gst_element_pads_activate):
16008 When activating, do src pads first, then sink pads.
16009 When de-activating, do sink pads first, then src pads.
16011 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16013 * docs/gst/gstreamer-sections.txt:
16014 Add gst_index_add_associationv to the docs
16016 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16021 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16022 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16023 Do some refactoring. Doesn't actually change functionality,
16024 but makes landing the DRAIN event easier later.
16026 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16028 * docs/pwg/advanced-scheduling.xml:
16029 Update from 0.9.x to 0.10 API and make example a bit
16032 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16034 * docs/gst/gstreamer-sections.txt:
16035 Add gst_buffer_(is|make)_metadata_writable methods.
16037 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16039 * docs/design/part-sparsestreams.txt:
16040 Update sparse streams doc, hopefully for greater clarity
16042 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16044 * docs/design/part-events.txt:
16045 Remove mention of FILLER events.
16048 * docs/design/part-sparsestreams.txt:
16049 Write some things about using NEWSEGMENT to keep sparse streams
16052 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16054 * gst/gstbin.c: (gst_bin_dispose):
16055 Guard gst_object_unref call against a NULL object (dispose
16056 can theoretically be called multiple times).
16058 2006-01-18 Wim Taymans <wim@fluendo.com>
16060 * gst/gstbin.c: (gst_bin_element_set_state):
16061 * gst/gstclock.c: (gst_clock_id_wait):
16062 Added some more debug info.
16064 * libs/gst/base/gstadapter.c:
16067 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16068 (gst_base_sink_do_sync), (gst_base_sink_chain):
16069 Added some comments.
16071 2006-01-18 Wim Taymans <wim@fluendo.com>
16073 * tests/check/Makefile.am:
16074 * tests/check/elements/fakesink.c: (chain_async_buffer),
16075 (chain_async), (chain_async_return), (GST_START_TEST),
16076 (fakesink_suite), (main):
16077 Added fakesink test that checks prerolling and clipping
16080 * tests/check/gst/gstutils.c: (GST_START_TEST):
16081 Make check run faster so that buildbots don't timeout.
16083 2006-01-18 Wim Taymans <wim@fluendo.com>
16085 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16086 (gst_base_sink_do_sync):
16088 When the sink finishes blocking on the preroll buffer, it can
16089 immediatly render it instead of rendering when the next buffer
16092 2006-01-18 Wim Taymans <wim@fluendo.com>
16094 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16095 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16096 (gst_base_sink_chain):
16098 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16099 Don't store _last_stop if the buffer is dropped.
16101 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16103 * plugins/elements/gsttypefindelement.c:
16104 (gst_type_find_element_class_init):
16105 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16106 object method handler that sets the caps on the pad and we want
16107 that to happen before we emit the signal (fixes e.g. feeding a
16108 plain text file to decodebin).
16110 2006-01-18 Christian Schaller <Christian@fluendo.com>
16112 * gst/gstplugin.c: Add MPL and Proprietary as license options
16114 2006-01-18 Andy Wingo <wingo@pobox.com>
16116 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16117 symbol was exported before, it appears this was just an oversight.
16119 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16121 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16122 prototype to gint. OK since this prototype was not in the header.
16124 2006-01-17 Andy Wingo <wingo@pobox.com>
16126 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16127 registry while we remove plugins.
16129 * tools/gst-inspect.c (print_element_info): Don't unref the
16130 factory arg, that should be the responsibility of whatever code
16131 received the ref. Fixes a double-free when called from
16132 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16133 (main): Unref the factory if we have one.
16134 (print_element_list): No change -- relies on the
16135 plugin_feature_list_free to free the list of features.
16137 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16139 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16140 (gst_buffer_make_metadata_writable):
16142 * libs/gst/base/gstbasetransform.c:
16143 (gst_base_transform_prepare_output_buf):
16144 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16145 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16146 Replace gst_buffer_(make|is)_metadata_writable patch now
16147 that the release is out.
16149 2006-01-17 Andy Wingo <wingo@pobox.com>
16151 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16152 in the present tense without reference to versions.
16154 * gst/gstregistry.c (gst_registry_add_plugin)
16155 (gst_registry_remove_plugin, gst_registry_remove_feature)
16156 (gst_registry_find_feature, gst_registry_get_feature_list)
16157 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16158 (gst_registry_lookup, gst_registry_scan_path)
16159 (_gst_registry_remove_cache_plugins)
16160 (gst_registry_get_feature_list_by_plugin): Add argument
16163 === release 0.10.2 ===
16165 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16168 releasing 0.10.2, "If man is five"
16170 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16174 * libs/gst/base/gstbasetransform.c:
16175 (gst_base_transform_prepare_output_buf):
16176 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16177 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16178 Back out patch until after the release.
16180 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16182 * gst/gstminiobject.c:
16183 Spelling fix in docs.
16184 * ChangeLog - remove conflict indicator
16186 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16188 Reviewed By: Andy Wingo
16190 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16191 (gst_buffer_make_metadata_writable):
16193 Add gst_buffer_(is|make)_metadata_writable as analogues of
16194 gst_buffer_(is|make)_writable.
16196 * libs/gst/base/gstbasetransform.c:
16197 (gst_base_transform_prepare_output_buf):
16198 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16199 Use name gst_buffer_(is|make)_metadata_writable functions.
16201 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16202 Test gst_buffer_(is|make)_metadata_writable
16206 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16208 * docs/manual/Makefile.am:
16209 don't do parallel make
16212 * win32/common/config.h.in:
16213 add generations for HOST_CPU and GST_MAJORMINOR
16214 * win32/common/config.h:
16215 commit generated result
16217 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16219 * docs/manual/appendix-integration.xml:
16220 Update GNOME integration section to use gst_init_get_option_group()
16221 instead of the old popt stuff (#322911). Also, GNOME applications
16222 should now use gconf*sink and gconf*src instead of the old gconf
16225 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16228 * docs/gst/gstreamer-docs.sgml:
16229 * docs/gst/gstreamer-sections.txt:
16230 * docs/libs/gstreamer-libs-sections.txt:
16231 add new API entries to the docs
16232 * libs/gst/controller/Makefile.am:
16233 * libs/gst/controller/gstcontroller.c:
16234 * libs/gst/controller/gstcontroller.h:
16235 * libs/gst/controller/gstcontrollerprivate.h:
16236 * libs/gst/controller/gsthelper.c:
16237 * libs/gst/controller/gstinterpolation.c:
16238 move private structs to private header
16240 gstreamer-0.7 -> gstreamer-0.10
16241 * tests/check/libs/struct_i386.h:
16242 remove private structs
16244 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16246 * plugins/indexers/Makefile.am:
16247 Fixes as part of #317048
16249 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16251 * plugins/indexers/Makefile.am:
16252 fix #316086 - compilation when mmap is missing
16254 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16256 * libs/gst/base/gstbasesink.c:
16257 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16258 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16259 * win32/common/config.h:
16260 added some defines GST_MAJORMINOR and HOST_CPU
16261 * win32/common/libgstbase.def:
16262 * win32/common/libgstreamer.def:
16263 added some exported functions.
16265 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16267 * libs/gst/controller/gstcontroller.c:
16268 (gst_controlled_property_set_interpolation_mode),
16269 (gst_controlled_property_new):
16270 * libs/gst/controller/gstcontroller.h:
16271 * libs/gst/controller/gstinterpolation.c:
16272 (interpolate_none_get_string_value_array):
16273 make G_TYPE_STRING controlable
16275 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16278 * tools/gst-feedback.1.in:
16279 * tools/gst-inspect.1.in:
16280 * tools/gst-launch.1.in:
16281 * tools/gst-md5sum.1.in:
16282 * tools/gst-typefind.1.in:
16283 * tools/gst-xmlinspect.1.in:
16284 * tools/gst-xmllaunch.1.in:
16285 cleanup man-pages, remove reference to gst-register, document env-vars
16287 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16289 * gst/gstbuffer.c: (gst_buffer_span):
16290 gst_buffer_span should copy the timestamp of the first buffer
16291 if they were both originally overlapping subbuffers of the
16292 same parent, using the same logic as the 'slow copy' case.
16294 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16296 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16297 Need to awaken ALL the pads when we pop a buffer, otherwise
16298 collectpads only works when there is 2 input streams.
16300 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16302 * docs/random/ensonic/media-device-daemon.txt:
16305 fix doc example, add clarification
16306 * tools/gst-launch.1.in:
16307 add initial info about GST_PLUGIN_PATH, needs more work
16309 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16311 * docs/manual/basics-bins.xml:
16312 * docs/manual/basics-elements.xml:
16313 * docs/manual/intro-basics.xml:
16314 Some more minor docs additions and updates.
16316 2006-01-11 Wim Taymans <wim@fluendo.com>
16318 * docs/manual/basics-bins.xml:
16319 * docs/manual/basics-elements.xml:
16320 Some small fixes as pointed out by Ser-ver on IRC.
16322 2006-01-10 Edward Hervey <edward@fluendo.com>
16324 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16325 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16326 the single-segment mode.
16328 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16330 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16332 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16333 (gst_base_src_perform_seek), (gst_base_src_send_event),
16334 (gst_base_src_set_property), (gst_base_src_get_property),
16335 (gst_base_src_loop), (gst_base_src_start),
16336 (gst_base_src_activate_push):
16337 * libs/gst/base/gstbasesrc.h:
16338 Name (private) union; makes Sun's Forte compiler happy (#324900).
16340 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16343 gst-register is gone.
16345 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16347 * gst/gstvalue.c: (_gst_value_initialize):
16348 make the G_TYPE_DATE instantiation work if debug is disabled
16350 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16352 * gst/gstmessage.c: (gst_message_parse_tag),
16353 (gst_message_parse_error), (gst_message_parse_warning):
16354 Don't crash when return location for error/warning debug
16355 string is NULL; add fact that return locations can be
16356 NULL to docs where appropriate.
16358 2006-01-05 Wim Taymans <wim@fluendo.com>
16360 * gst/gstplugin.c: (gst_plugin_load_file):
16361 Replace strdup by g_strdup.
16363 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16365 * docs/pwg/advanced-types.xml:
16368 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16370 submitted by: Abel Cheung
16374 Added Chinese (traditional) translation
16376 2006-01-04 Wim Taymans <wim@fluendo.com>
16378 * docs/manual/basics-pads.xml:
16379 * docs/plugins/Makefile.am:
16380 * docs/plugins/gstreamer-plugins-docs.sgml:
16381 * docs/plugins/gstreamer-plugins-sections.txt:
16382 * docs/pwg/advanced-clock.xml:
16383 * docs/pwg/advanced-scheduling.xml:
16384 * docs/pwg/advanced-types.xml:
16385 * plugins/elements/gstfdsink.c:
16386 * plugins/elements/gstfdsrc.c:
16387 * plugins/elements/gstfdsrc.h:
16388 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16389 * plugins/elements/gstidentity.h:
16390 * plugins/elements/gstqueue.h:
16391 * plugins/elements/gsttee.c:
16392 * plugins/elements/gsttee.h:
16393 * plugins/elements/gsttypefindelement.c:
16394 (gst_type_find_element_class_init):
16395 * plugins/elements/gsttypefindelement.h:
16396 Small updates to various docs.
16397 Added core plugins to docs.
16399 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16402 add a suppression for liboil's uninitialized variable
16404 2006-01-02 James Livingston <jrl at ids dot org dot au>
16406 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16409 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16410 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16411 compiler switch is being used (#325429).
16413 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16415 * gst/gstbin.c: (gst_bin_query):
16416 Disable duration query caching in bins until it gets
16417 fixed (see #324807).
16419 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16421 * tools/gst-inspect.c: (print_element_properties_info):
16422 Handle properties of POINTER and BOXED type.
16424 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16426 * gst/gst.c: (init_post):
16427 Init tags stuff and some other things before loading
16428 any static plugins (there may be other static plugins
16429 than just the GStreamer ones, and they may want to
16430 register their own tags or formats or whatever, and
16431 preferably without segfaulting).
16433 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16434 Print at least a warning in the debug logs if we drop a
16435 query just because we don't know how to adjust the value
16436 in the particular format.
16438 2005-12-24 David Schleef <ds@schleef.org>
16440 * tools/gstreamer-completion:
16441 Replacement for gst-complete written in sh and sed. Only
16442 completes names of features, but that's 90% of what I want
16443 it for. Properties are not available in registry.xml. (Maybe
16446 === release 0.10.1 ===
16448 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16451 releasing 0.10.1, "Nollaig chridheil"
16453 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16455 * docs/faq/cvs.xml:
16456 Add missing quote, should be make ERROR_CFLAGS="".
16458 2005-12-20 Wim Taymans <wim@fluendo.com>
16460 * docs/design/part-trickmodes.txt:
16461 More documentation on trickmodes.
16463 2005-12-20 Edward Hervey <edward@fluendo.com>
16465 * gst/gstcaps.c: (gst_static_caps_get_type):
16467 API addition: GST_TYPE_STATIC_CAPS
16468 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16469 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16470 * gst/gstpadtemplate.h:
16471 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16472 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16475 2005-12-18 Wim Taymans <wim@fluendo.com>
16477 * libs/gst/base/gstadapter.c:
16478 * libs/gst/base/gstadapter.h:
16479 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16480 (gst_base_sink_get_position):
16481 * libs/gst/base/gstbasesink.h:
16482 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16483 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16484 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16485 (gst_base_src_send_event), (gst_base_src_update_length),
16486 (gst_base_src_get_range), (gst_base_src_loop),
16487 (gst_base_src_start):
16488 * libs/gst/base/gstbasesrc.h:
16489 * libs/gst/base/gstbasetransform.h:
16490 * libs/gst/base/gstcollectpads.h:
16491 * libs/gst/base/gstpushsrc.c:
16492 * libs/gst/base/gstpushsrc.h:
16493 * libs/gst/dataprotocol/dataprotocol.c:
16494 * libs/gst/dataprotocol/dataprotocol.h:
16495 * libs/gst/net/gstnetclientclock.h:
16496 * libs/gst/net/gstnettimeprovider.h:
16497 Documentation updates.
16499 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16501 * docs/manual/basics-helloworld.xml:
16502 Remove superfluous closing bracket in helloworld example.
16504 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16506 * tools/gst-launch.1.in:
16507 Update gst-launch man page; add a section with useful
16508 environment variables. Fixes #323882.
16510 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16513 * gst/gst_private.h:
16514 change some char* into char[]
16516 2005-12-16 Wim Taymans <wim@fluendo.com>
16518 * gst/gstregistryxml.c: (load_feature):
16520 Don't use g_object_unref on GstObjects so that we avoid
16521 leaks on unsafe glibs.
16523 2005-12-16 Wim Taymans <wim@fluendo.com>
16525 * gst/gstbin.c: (gst_bin_recalc_state):
16528 2005-12-16 Wim Taymans <wim@fluendo.com>
16530 * common/check.mak:
16531 Added make forever target for check.
16533 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16535 * gst/gst.c: (init_post):
16536 make the registry cache file HOST_CPU-dependent
16538 2005-12-16 Andy Wingo <wingo@pobox.com>
16540 * plugins/elements/gstbufferstore.c
16541 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16544 * tests/check/gst/gstobject.c
16545 (test_fake_object_name_threaded_unique): Pay attention to
16546 g_list_sort return value.
16548 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16550 * tools/gst-feedback-m.m:
16551 Update for 0.9/0.10 (fixes #323870).
16553 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16555 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16556 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16558 * tests/check/gst/gstminiobject.c: (my_foo_init),
16559 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16560 (test_value_collection), (gst_mini_object_suite):
16561 Add test to ensure refcounts end up as expected when passing
16562 GstMiniObjects through g_object_get() and g_object_set().
16564 2005-12-14 Julien MOUTTE <julien@moutte.net>
16566 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16567 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16568 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16569 of collectpads. This version removes a lot of races without
16570 touching API/ABI. Yay !
16572 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16574 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16575 Don't allow activation of a srcpad in pull_range if it has no
16577 Change some debug statements to be a little clearer
16579 * plugins/elements/gsttypefindelement.c:
16580 (gst_type_find_handle_src_query):
16581 Check that we have a peer before executing queries thereupon.
16583 * tests/examples/metadata/read-metadata.c: (message_loop):
16584 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16585 immediately return us any available message with 0 timeout.
16587 2005-12-12 Michael Smith <msmith@fluendo.com>
16589 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16590 Don't unref factories after calling them.
16591 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16592 * plugins/elements/gsttypefindelement.c:
16593 (gst_type_find_element_chain):
16594 Free lists of factories after using them. Fixing typefinding memory
16597 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16599 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16600 (gst_plugin_feature_load):
16601 more meaningful debug output
16603 * tests/Makefile.am:
16604 * tests/old/examples/Makefile.am:
16605 make make distcheck happy again
16607 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16609 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16610 Catch the special case where we are operating chain-based,
16611 but the downstream peer pad has no chain function. Emit a
16612 custom error message in this case instead of letting the
16613 core generate one implying that this is some sort of core
16614 bug. It's not, it just means that whatever got plugged
16615 into the pipeline downstream when we announced the type
16616 can only operate pull-based, while our source can only
16617 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16618 Error string has not been marked for translation yet, as
16619 it probably needs some more work first.
16621 (gst_type_find_element_get_best_possibility):
16622 Add helper function to find the best of all available
16623 found possibilities that qualify given the min. threshold.
16625 (gst_type_find_element_handle_event):
16626 Fix the case where we get an EOS while still in TYPEFIND
16627 mode (we want to chose the best of all possible types,
16628 not just the first type that happens to be in our unsorted
16629 list of possible types).
16631 (gst_type_find_element_chain):
16632 Make sure we return GST_FLOW_ERROR when we errored out
16633 in stop_typefinding(); also, don't just find the best of
16634 all found type entries and then use the last examined
16635 type entry, but actually use the best entry.
16637 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16639 * tests/examples/typefind/typefind.c: (type_found):
16640 * tests/examples/xml/runxml.c: (xml_loaded):
16641 More gcc4 fixes and a mem leak fix.
16643 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16645 * tests/examples/xml/createxml.c: (object_saved):
16648 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16650 * tests/Makefile.am:
16651 enable the examples even more
16653 2005-12-12 Andy Wingo <wingo@pobox.com>
16655 * libs/gst/net/gstnettimeprovider.c
16656 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16657 (gst_net_time_provider_set_property)
16658 (gst_net_time_provider_get_property):
16659 API addition: Export "active" as a GObject property.
16660 (gst_net_time_provider_thread): Only respond to time queries if
16661 the time provider is active.
16663 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16664 NetTimeProvider, preserving binary compat.
16666 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16668 * tests/examples/controller/audio-example.c: (main):
16669 * tests/examples/launch/Makefile.am:
16670 convert comments again
16672 2005-12-12 Wim Taymans <wim@fluendo.com>
16674 * libs/gst/base/gstpushsrc.c:
16677 2005-12-12 Wim Taymans <wim@fluendo.com>
16679 * docs/libs/gstreamer-libs-sections.txt:
16680 Added new symbol to docs.
16682 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16683 (gst_base_src_init), (gst_base_src_set_format),
16684 (gst_base_src_default_query), (gst_base_src_query),
16685 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16686 (gst_base_src_perform_seek), (gst_base_src_send_event),
16687 (gst_base_src_default_event), (gst_base_src_event_handler),
16688 (gst_base_src_set_property), (gst_base_src_get_property),
16689 (gst_base_src_wait), (gst_base_src_do_sync),
16690 (gst_base_src_update_length), (gst_base_src_get_range),
16691 (gst_base_src_check_get_range), (gst_base_src_loop),
16692 (gst_base_src_default_negotiate), (gst_base_src_start),
16693 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16694 (gst_base_src_change_state):
16695 * libs/gst/base/gstbasesrc.h:
16696 Implement seeking to other formats than _BYTES.
16697 Implement more seeking methods correctly.
16699 Added query vmethod.
16700 Added do_seek vmethod to make life easier for subclasses
16702 API addition: gst_base_src_set_format()
16704 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16706 * tests/examples/Makefile.am:
16709 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16712 * docs/random/ensonic/media-device-daemon.txt:
16713 * tests/examples/controller/.cvsignore:
16714 * tests/examples/controller/Makefile.am:
16715 * tests/examples/controller/audio-example.c: (main):
16716 * tests/examples/helloworld/.cvsignore:
16717 * tests/examples/helloworld/Makefile.am:
16718 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16719 * tests/examples/launch/.cvsignore:
16720 * tests/examples/launch/Makefile.am:
16721 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16722 * tests/examples/metadata/.cvsignore:
16723 * tests/examples/metadata/Makefile.am:
16724 * tests/examples/metadata/read-metadata.c: (message_loop),
16725 (make_pipeline), (print_tag), (main):
16726 * tests/examples/queue/.cvsignore:
16727 * tests/examples/queue/Makefile.am:
16728 * tests/examples/queue/queue.c: (event_loop), (main):
16729 * tests/examples/typefind/.cvsignore:
16730 * tests/examples/typefind/Makefile.am:
16731 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16733 * tests/examples/xml/.cvsignore:
16734 * tests/examples/xml/Makefile.am:
16735 * tests/examples/xml/createxml.c: (object_saved), (main):
16736 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16737 * tests/old/examples/Makefile.am:
16738 * tests/old/examples/TODO:
16739 * tests/old/examples/controller/.cvsignore:
16740 * tests/old/examples/controller/Makefile.am:
16741 * tests/old/examples/controller/audio-example.c:
16742 * tests/old/examples/helloworld/.cvsignore:
16743 * tests/old/examples/helloworld/Makefile.am:
16744 * tests/old/examples/helloworld/helloworld.c:
16745 * tests/old/examples/launch/.cvsignore:
16746 * tests/old/examples/launch/Makefile.am:
16747 * tests/old/examples/launch/mp3parselaunch.c:
16748 * tests/old/examples/launch/mp3play:
16749 * tests/old/examples/manual/Makefile.am:
16750 * tests/old/examples/metadata/Makefile.am:
16751 * tests/old/examples/metadata/read-metadata.c:
16752 * tests/old/examples/queue/.cvsignore:
16753 * tests/old/examples/queue/Makefile.am:
16754 * tests/old/examples/queue/queue.c:
16755 * tests/old/examples/typefind/.cvsignore:
16756 * tests/old/examples/typefind/Makefile.am:
16757 * tests/old/examples/typefind/typefind.c:
16758 * tests/old/examples/xml/.cvsignore:
16759 * tests/old/examples/xml/Makefile.am:
16760 * tests/old/examples/xml/createxml.c:
16761 * tests/old/examples/xml/runxml.c:
16762 applied some simple fixing to some examples
16763 re-enabled the working examples
16765 2005-12-12 Wim Taymans <wim@fluendo.com>
16767 * gst/gstsegment.c: (gst_segment_init),
16768 (gst_segment_set_last_stop), (gst_segment_set_seek),
16769 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16770 (gst_segment_to_running_time):
16771 Added more documentation.
16772 Make sure the last_pos value is updated properly.
16773 Make sure to_stream_time and to_running_time don't
16774 operate on wrong values.
16776 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16779 2005-12-12 Michael Smith <msmith@fluendo.com>
16781 * plugins/elements/gsttypefindelement.c: (free_entry),
16782 (gst_type_find_element_chain):
16783 Now that we're not leaking factories, make sure we keep references
16784 to them while we need them.
16786 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16788 * tests/check/gst/struct_i386.h:
16789 ifdef out the XML structs
16791 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16793 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16794 floor is not needed, F is always positive; this obviates the
16795 need for adding -lm when building without libxml
16797 2005-12-12 Wim Taymans <wim@fluendo.com>
16799 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16800 Take current playback rate into account when reporting
16803 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16805 * docs/manual/mime-world.fig:
16806 Let's try this again, this time with a file that is
16807 actually in XFig format.
16809 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16811 * docs/manual/mime-world.fig:
16812 Add audioconvert element to diagram so that it
16813 matches the text and the code (fixes #319526).
16815 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16817 * docs/pwg/building-chainfn.xml:
16818 * docs/pwg/building-pads.xml:
16819 * docs/pwg/building-state.xml:
16820 * docs/pwg/other-source.xml:
16821 Update state change stuff for 0.10 (fixes #322969).
16823 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16825 * docs/manual/advanced-dataaccess.xml:
16826 * docs/manual/appendix-checklist.xml:
16827 * docs/manual/appendix-programs.xml:
16828 * docs/manual/basics-pads.xml:
16829 * docs/manual/highlevel-components.xml:
16830 * docs/manual/manual.xml:
16831 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16832 add converters in front of pipelines; remove curly
16833 brackets for threads stuff, they no longer exist; use
16834 GST_TYPE_FRACTION for framerates; update some pieces of
16835 code to 0.10, but there's plenty more to do.
16837 * docs/manual/appendix-porting.xml:
16838 Expand on asynchroneous state changes; s/0.9/0.10/;
16839 mention disappearance of gst_init_get_popt_table()
16842 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16844 * docs/faq/using.xml:
16845 Spider no longer exists, and neither does gst-launch-ext.
16846 Update examples to use decodebin and playbin and put
16847 converters in front of sinks (fixes #323726).
16849 2005-12-09 Michael Smith <msmith@fluendo.com>
16851 * plugins/elements/gsttypefindelement.c: (find_peek),
16852 (gst_type_find_element_chain):
16853 Fix leaking element factories in typefinding.
16854 Fix problem where we forgot about a probable type on non-seekable
16855 files, and thus later mis-typefound it.
16857 2005-12-09 Michael Smith <msmith@fluendo.com>
16859 * common/m4/gst-makecontext.m4:
16860 * common/m4/gst-mcsc.m4:
16862 * win32/common/config.h:
16863 * win32/common/config.h.in:
16864 Remove makecontext stuff; not used in 0.10 and causes problems on
16865 HPUX according to bug #322441
16867 2005-12-07 Wim Taymans <wim@fluendo.com>
16869 * tests/check/Makefile.am:
16870 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16872 * tests/check/libs/struct_i386.h:
16873 Added ABI check for libs
16875 2005-12-07 Wim Taymans <wim@fluendo.com>
16877 * tests/check/Makefile.am:
16878 And add the struct_i386.h to dist.
16880 2005-12-07 Wim Taymans <wim@fluendo.com>
16882 * tests/check/Makefile.am:
16883 * tests/check/gst/.cvsignore:
16884 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16886 * tests/check/gst/struct_i386.h:
16887 Added check for ABI compatibility.
16889 2005-12-07 Wim Taymans <wim@fluendo.com>
16891 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16892 (gst_fake_src_get_times), (gst_fake_src_create):
16893 Fix broken sync option, fixes #323259
16895 2005-12-07 Wim Taymans <wim@fluendo.com>
16900 * gst/gstcaps.c: (gst_caps_is_equal):
16901 Don't assert on NULL <--> X. Fixes #323260
16903 * gst/gstminiobject.c: (gst_mini_object_replace):
16904 If we're doing atomic operations, we might just as well use
16905 the proper way to get an atomic pointer.
16907 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16908 Clean up debugging.
16910 2005-12-07 Michael Smith <msmith@fluendo.com>
16912 * gst/parse/grammar.y:
16913 Remove handling of { } for threads.
16915 2005-12-06 David Schleef <ds@schleef.org>
16917 * libs/gst/base/gstbasetransform.c: speling fix.
16919 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16921 * docs/libs/tmpl/gstdataprotocol.sgml:
16922 * docs/random/omega/testing/gstobject.c:
16925 * gst/gstelement.c:
16926 * gst/gstelementfactory.c:
16929 * gst/gstghostpad.c:
16931 * gst/gstpadtemplate.c:
16932 * gst/gstregistryxml.c:
16933 * gst/gsttaglist.c:
16934 * gst/gsttagsetter.c:
16935 * gst/gsttypefind.c:
16937 * libs/gst/base/gstbasesrc.c:
16938 * libs/gst/net/gstnetclientclock.c:
16939 * libs/gst/net/gstnettimeprovider.c:
16940 * plugins/elements/gstfakesrc.c:
16941 * plugins/elements/gstfdsrc.c:
16942 * plugins/elements/gstfilesrc.c:
16943 * plugins/elements/gstidentity.c:
16944 * plugins/elements/gstqueue.c:
16945 * plugins/elements/gsttypefindelement.c:
16946 * plugins/indexers/gstfileindex.c:
16947 * plugins/indexers/gstmemindex.c:
16948 * tests/check/gst/gsttag.c:
16949 * tests/old/examples/cutter/cutter.c:
16950 * tests/old/examples/mixer/mixer.c:
16951 * tests/old/examples/xml/runxml.c: (main):
16952 * tests/old/testsuite/caps/normalisation.c:
16953 * tests/old/testsuite/debug/global.c:
16954 * tests/old/testsuite/parse/parse1.c:
16955 * tools/gst-xmlinspect.c:
16956 * win32/common/dirent.c:
16959 === release 0.10.0 ===
16961 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16964 releasing 0.10.0, "Maroilles"
16966 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16968 submitted by: Funda Wang <fundawang@linux.net.cn>
16972 added Chinese (Traditional) translation
16974 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16976 * docs/gst/gstreamer-sections.txt:
16977 * docs/libs/tmpl/gstdataprotocol.sgml:
16978 * docs/random/thomasvs/TODO:
16983 2005-12-05 Andy Wingo <wingo@pobox.com>
16985 patch by: Wim Taymans <wim@fluendo.com>
16987 * libs/gst/base/gstbasetransform.c
16988 (gst_base_transform_prepare_output_buf)
16989 (gst_base_transform_buffer_alloc):
16990 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16991 alloc_buffer_and_set_caps.
16993 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16994 set_caps on the source pad.
16995 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16996 alloc_buffer used to do. Fixes #322874.
16998 * docs/gst/gstreamer-sections.txt:
16999 * docs/design/part-negotiation.txt:
17000 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17003 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17005 patch by: Sebastien Moutte
17008 * win32/common/config.h.in:
17009 * win32/vs6/libgstcontroller.dsp:
17012 2005-12-05 Wim Taymans <wim@fluendo.com>
17014 * gst/gstcaps.c: (gst_caps_is_equal):
17015 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17016 (gst_fake_src_create):
17017 Back out previous code changes, leave doc updates, file bugs
17020 2005-12-05 Wim Taymans <wim@fluendo.com>
17022 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17023 (gst_fake_src_get_times), (gst_fake_src_create):
17024 * plugins/elements/gstfakesrc.h:
17025 Fix broken sync code.
17027 2005-12-05 Wim Taymans <wim@fluendo.com>
17029 * gst/gstcaps.c: (gst_caps_is_equal):
17030 Comparing NULL against !NULL yields different caps, not a
17033 2005-12-05 Wim Taymans <wim@fluendo.com>
17035 * gst/gstpipeline.c:
17036 Fix small typo in docs.
17038 2005-12-05 Andy Wingo <wingo@pobox.com>
17040 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17042 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17043 registries/plugins with a MAJORMINOR one.
17044 (plugin_desc): Rename library from gstcoreleements to
17045 staticelements. Fixes #323222.
17047 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17049 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17050 Change debug category to 'collectpads' from 'collect_pads'
17053 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17055 patch by: Sebastien Moutte
17057 * libs/gst/controller/gstinterpolation.c:
17058 use convert function for uint64/double
17059 * win32/vs6/libgstcontroller.dsp:
17062 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17064 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17065 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17067 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17068 add tests that seem to show that the guint64/gdouble conversions
17071 2005-12-02 Wim Taymans <wim@fluendo.com>
17073 * gst/gstregistry.c: (gst_registry_add_path):
17074 * gst/gstregistry.h:
17075 * gst/gstregistryxml.c:
17078 2005-12-02 Wim Taymans <wim@fluendo.com>
17080 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17081 (gst_util_uint64_scale_int):
17084 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17085 Add debug log line.
17087 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17090 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17093 * win32/common/config.h:
17094 * win32/vs6/gstreamer.dsw:
17095 * win32/vs6/libgstcoreelements.dsp:
17096 * win32/vs6/libgstelements.dsp:
17097 renamed core elements plugin
17099 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17101 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17103 do piece-wise major/minor comparison so 0.9 < 0.10
17104 also allow .exe extensions for tools
17106 2005-12-02 Michael Smith <msmith@fluendo.com>
17109 Escape a % to make gtkdoc happier; bug 322958.
17111 === release 0.9.7 ===
17113 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17116 releasing 0.9.7, "My Dog Has No Nose"
17118 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17120 * common/gst-xmlinspect.py:
17122 * docs/libs/tmpl/gstdataprotocol.sgml:
17123 * docs/random/release:
17142 * win32/common/config.h:
17143 * win32/common/config.h.in:
17144 * win32/vs6/gst_inspect.dsp:
17145 * win32/vs6/gst_launch.dsp:
17146 * win32/vs6/libgstbase.dsp:
17147 * win32/vs6/libgstelements.dsp:
17148 * win32/vs6/libgstreamer.dsp:
17149 * win32/vs7/GStreamer.vcproj:
17150 * win32/vs7/gst-inspect.vcproj:
17151 * win32/vs7/gst-launch.vcproj:
17152 * win32/vs7/libgstbase.vcproj:
17153 bump GST_MAJORMINOR to 0.10
17154 reset libtool version
17156 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17160 Added Bulgarian translation by (Alexander Shopov)
17162 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17164 * tests/check/gst/gstplugin.c:
17167 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17169 * common/gst-xmlinspect.py:
17170 * common/gtk-doc-plugins.mak:
17172 * docs/Makefile.am:
17173 * docs/gst/Makefile.am:
17174 * docs/gst/gstreamer-docs.sgml:
17175 * docs/gst/gstreamer-sections.txt:
17176 * docs/gst/gstreamer.types:
17177 * docs/gst/gstreamer.types.in:
17178 * docs/plugins/Makefile.am:
17179 * docs/plugins/gstreamer-plugins-docs.sgml:
17180 * docs/plugins/gstreamer-plugins-sections.txt:
17181 * docs/plugins/gstreamer-plugins.types:
17182 * docs/plugins/inspect.stamp:
17183 * docs/plugins/inspect/plugin-coreelements.xml:
17184 * docs/plugins/inspect/plugin-coreindexers.xml:
17185 * docs/plugins/scanobj-build.stamp:
17186 * gstreamer.spec.in:
17187 * plugins/elements/Makefile.am:
17188 * plugins/elements/gstelements.c:
17189 * plugins/elements/gstfakesink.c:
17190 * plugins/elements/gstfakesrc.c:
17191 * plugins/elements/gstfilesink.c:
17192 * plugins/elements/gstfilesrc.c:
17193 * plugins/elements/gstqueue.c:
17194 * plugins/indexers/Makefile.am:
17195 * plugins/indexers/gstindexers.c:
17196 document core plugins in a separate document just like all the
17198 rename these plugins to something starting with core
17200 2005-12-01 Andy Wingo <wingo@pobox.com>
17202 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17203 padding here before, but it missed the commit.
17205 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17207 * libs/gst/controller/gstinterpolation.c:
17208 whitespace prices have crashed, we should feel free to use some now
17209 use gst_guint64_to_gdouble
17211 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17213 * libs/gst/controller/gstcontroller.c:
17214 * libs/gst/controller/gsthelper.c:
17215 * libs/gst/controller/gstinterpolation.c:
17216 * libs/gst/controller/lib.c:
17217 wrap config.h include
17219 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17221 * docs/gst/gstreamer-sections.txt:
17224 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17226 * plugins/elements/gstelements.c:
17227 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17228 (gst_fd_sink__class_init), (gst_fd_sink__init),
17229 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17230 (gst_fd_sink__get_property):
17231 * plugins/elements/gstfdsink.h:
17232 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17233 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17234 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17235 (gst_fd_src_unlock), (gst_fd_src_set_property),
17236 (gst_fd_src_get_property), (gst_fd_src_create),
17237 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17238 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17239 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17240 (gst_fd_src_uri_handler_init):
17241 * plugins/elements/gstfdsrc.h:
17242 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17245 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17247 * docs/gst/Makefile.am:
17248 * docs/gst/gstreamer.types.in:
17252 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17258 * gst/gstregistry.h:
17259 * tests/benchmarks/complexity.c:
17260 * tests/benchmarks/mass-elements.c:
17261 * tests/check/Makefile.am:
17262 * tools/Makefile.am:
17263 * tools/gst-inspect.c:
17264 * tools/gst-xmlinspect.c:
17265 various fixes to make
17266 --disable-nls --disable-registry --disable-loadsave
17267 --disable-parse --disable-gst-debug
17268 work and get the core .so down to 360444 bytes after stripping
17270 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17275 * docs/random/thomasvs/TODO:
17276 * tests/Makefile.am:
17280 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * win32/GStreamer.vcproj:
17285 * win32/Makefile.inspect:
17286 * win32/Makefile.launch:
17287 * win32/Makefile.register:
17288 * win32/README.txt:
17289 * win32/gst-inspect.vcproj:
17290 * win32/gst-launch.vcproj:
17291 * win32/gst-register.vcproj:
17292 * win32/gstelements.vcproj:
17293 * win32/gstgetbits.def:
17294 * win32/gstgetbits.vcproj:
17295 * win32/gstreamer-dbg.def:
17296 * win32/gstreamer.def:
17297 * win32/libgstbase.def:
17298 * win32/libgstbase.vcproj:
17299 * win32/link_oldruntime.c:
17303 * win32/msvc71.sln:
17304 move even more stuff, win32/ is nice and clean now
17306 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17308 * libs/gst/control/.cvsignore:
17313 * win32/gstbytestream.def:
17314 * win32/gstbytestream.vcproj:
17315 * win32/gstconfig.h:
17316 * win32/gstenumtypes.c:
17317 * win32/gstenumtypes.h:
17318 * win32/gstoptimalscheduler.vcproj:
17319 * win32/gstversion.h:
17321 * win32/testsuite/bins.vcproj:
17322 * win32/testsuite/bytestream.vcproj:
17323 * win32/testsuite/caps.vcproj:
17324 * win32/testsuite/cleanup.vcproj:
17325 * win32/testsuite/clock.vcproj:
17326 * win32/testsuite/debug.vcproj:
17327 * win32/testsuite/dlopen.vcproj:
17328 * win32/testsuite/dynparams.vcproj:
17329 * win32/testsuite/elements.vcproj:
17330 * win32/testsuite/ghostpads.vcproj:
17331 * win32/testsuite/indexers.vcproj:
17332 * win32/testsuite/negotiation.vcproj:
17333 * win32/testsuite/parse.vcproj:
17334 * win32/testsuite/plugin.vcproj:
17335 * win32/testsuite/refcounting.vcproj:
17336 * win32/testsuite/schedulers.vcproj:
17337 * win32/testsuite/states.vcproj:
17338 * win32/testsuite/tags.vcproj:
17339 * win32/testsuite/threads.vcproj:
17340 remove old win32 stuff that isn't maintained and should be
17343 2005-11-30 Andy Wingo <wingo@pobox.com>
17345 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17346 loading the gst.interfaces python module bork.
17348 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17349 available since GLib 2.2. Fixes #318031.
17351 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17354 * check/.cvsignore:
17355 * check/Makefile.am:
17356 * check/elements/.cvsignore:
17357 * check/elements/fakesrc.c:
17358 * check/elements/fdsrc.c:
17359 * check/elements/identity.c:
17360 * check/generic/.cvsignore:
17361 * check/generic/states.c:
17362 * check/gst-libs/.cvsignore:
17363 * check/gst-libs/controller.c:
17364 * check/gst-libs/gdp.c:
17365 * check/gst/.cvsignore:
17366 * check/gst/capslist.h:
17368 * check/gst/gstbin.c:
17369 * check/gst/gstbuffer.c:
17370 * check/gst/gstbus.c:
17371 * check/gst/gstcaps.c:
17372 * check/gst/gstelement.c:
17373 * check/gst/gstevent.c:
17374 * check/gst/gstghostpad.c:
17375 * check/gst/gstiterator.c:
17376 * check/gst/gstmessage.c:
17377 * check/gst/gstminiobject.c:
17378 * check/gst/gstobject.c:
17379 * check/gst/gstpad.c:
17380 * check/gst/gstpipeline.c:
17381 * check/gst/gstplugin.c:
17382 * check/gst/gstsegment.c:
17383 * check/gst/gststructure.c:
17384 * check/gst/gstsystemclock.c:
17385 * check/gst/gsttag.c:
17386 * check/gst/gstutils.c:
17387 * check/gst/gstvalue.c:
17388 * check/net/.cvsignore:
17389 * check/net/gstnetclientclock.c:
17390 * check/net/gstnettimeprovider.c:
17391 * check/pipelines/.cvsignore:
17392 * check/pipelines/cleanup.c:
17393 * check/pipelines/simple_launch_lines.c:
17394 * check/pipelines/stress.c:
17395 * check/states/.cvsignore:
17396 * check/states/sinks.c:
17398 * examples/Makefile.am:
17399 * examples/appreader/.cvsignore:
17400 * examples/appreader/Makefile.am:
17401 * examples/appreader/appreader.c:
17402 * examples/controller/.cvsignore:
17403 * examples/controller/Makefile.am:
17404 * examples/controller/audio-example.c:
17405 * examples/cutter/.cvsignore:
17406 * examples/cutter/Makefile.am:
17407 * examples/cutter/cutter.c:
17408 * examples/cutter/cutter.h:
17409 * examples/events/Makefile.am:
17410 * examples/events/seek.c:
17411 * examples/helloworld/.cvsignore:
17412 * examples/helloworld/Makefile.am:
17413 * examples/helloworld/helloworld.c:
17414 * examples/helloworld2/.cvsignore:
17415 * examples/helloworld2/Makefile.am:
17416 * examples/helloworld2/helloworld2.c:
17417 * examples/launch/.cvsignore:
17418 * examples/launch/Makefile.am:
17419 * examples/launch/mp3parselaunch.c:
17420 * examples/launch/mp3play:
17421 * examples/manual/.cvsignore:
17422 * examples/manual/Makefile.am:
17423 * examples/manual/extract.pl:
17424 * examples/metadata/Makefile.am:
17425 * examples/metadata/read-metadata.c:
17426 * examples/mixer/.cvsignore:
17427 * examples/mixer/Makefile.am:
17428 * examples/mixer/mixer.c:
17429 * examples/mixer/mixer.h:
17430 * examples/pingpong/.cvsignore:
17431 * examples/pingpong/Makefile.am:
17432 * examples/pingpong/pingpong.c:
17433 * examples/plugins/.cvsignore:
17434 * examples/plugins/Makefile.am:
17435 * examples/plugins/example.c:
17436 * examples/plugins/example.h:
17437 * examples/pwg/.cvsignore:
17438 * examples/pwg/Makefile.am:
17439 * examples/pwg/extract.pl:
17440 * examples/queue/.cvsignore:
17441 * examples/queue/Makefile.am:
17442 * examples/queue/queue.c:
17443 * examples/queue2/.cvsignore:
17444 * examples/queue2/Makefile.am:
17445 * examples/queue2/queue2.c:
17446 * examples/queue3/.cvsignore:
17447 * examples/queue3/Makefile.am:
17448 * examples/queue3/queue3.c:
17449 * examples/queue4/.cvsignore:
17450 * examples/queue4/Makefile.am:
17451 * examples/queue4/queue4.c:
17452 * examples/retag/.cvsignore:
17453 * examples/retag/Makefile.am:
17454 * examples/retag/retag.c:
17455 * examples/retag/transcode.c:
17456 * examples/thread/.cvsignore:
17457 * examples/thread/Makefile.am:
17458 * examples/thread/thread.c:
17459 * examples/typefind/.cvsignore:
17460 * examples/typefind/Makefile.am:
17461 * examples/typefind/typefind.c:
17462 * examples/xml/.cvsignore:
17463 * examples/xml/Makefile.am:
17464 * examples/xml/createxml.c:
17465 * examples/xml/runxml.c:
17466 * tests/Makefile.am:
17467 * tests/check/Makefile.am:
17468 * testsuite/.cvsignore:
17469 * testsuite/Makefile.am:
17471 * testsuite/caps/.cvsignore:
17472 * testsuite/caps/Makefile.am:
17473 * testsuite/caps/app_fixate.c:
17474 * testsuite/caps/audioscale.c:
17475 * testsuite/caps/caps.c:
17476 * testsuite/caps/caps.h:
17477 * testsuite/caps/caps_strings:
17478 * testsuite/caps/compatibility.c:
17479 * testsuite/caps/deserialize.c:
17480 * testsuite/caps/enumcaps.c:
17481 * testsuite/caps/eratosthenes.c:
17482 * testsuite/caps/filtercaps.c:
17483 * testsuite/caps/fixed.c:
17484 * testsuite/caps/fraction-convert.c:
17485 * testsuite/caps/fraction-multiply-and-zero.c:
17486 * testsuite/caps/intersect2.c:
17487 * testsuite/caps/intersection.c:
17488 * testsuite/caps/normalisation.c:
17489 * testsuite/caps/random.c:
17490 * testsuite/caps/renegotiate.c:
17491 * testsuite/caps/sets.c:
17492 * testsuite/caps/simplify.c:
17493 * testsuite/caps/string-conversions.c:
17494 * testsuite/caps/structure.c:
17495 * testsuite/caps/subtract.c:
17496 * testsuite/caps/union.c:
17497 * testsuite/debug/.cvsignore:
17498 * testsuite/debug/Makefile.am:
17499 * testsuite/debug/category.c:
17500 * testsuite/debug/commandline.c:
17501 * testsuite/debug/global.c:
17502 * testsuite/debug/output.c:
17503 * testsuite/debug/printf_extension.c:
17504 * testsuite/dlopen/.cvsignore:
17505 * testsuite/dlopen/Makefile.am:
17506 * testsuite/dlopen/dlopen_gst.c:
17507 * testsuite/dlopen/loadgst.c:
17508 * testsuite/elements/.cvsignore:
17509 * testsuite/elements/Makefile.am:
17510 * testsuite/elements/gst-inspect-check.in:
17511 * testsuite/elements/struct_i386.h:
17512 * testsuite/elements/struct_size.c:
17513 * testsuite/indexers/.cvsignore:
17514 * testsuite/indexers/Makefile.am:
17515 * testsuite/indexers/cache1.c:
17516 * testsuite/indexers/indexdump.c:
17517 * testsuite/parse/.cvsignore:
17518 * testsuite/parse/Makefile.am:
17519 * testsuite/parse/parse1.c:
17520 * testsuite/parse/parse2.c:
17521 * testsuite/plugin/.cvsignore:
17522 * testsuite/plugin/Makefile.am:
17523 * testsuite/plugin/README:
17524 * testsuite/plugin/dynamic.c:
17525 * testsuite/plugin/linked.c:
17526 * testsuite/plugin/loading.c:
17527 * testsuite/plugin/registry.c:
17528 * testsuite/plugin/static.c:
17529 * testsuite/plugin/static2.c:
17530 * testsuite/plugin/testplugin.c:
17531 * testsuite/plugin/testplugin2.c:
17532 * testsuite/plugin/testplugin2_s.c:
17533 * testsuite/plugin/testplugin_s.c:
17534 * testsuite/refcounting/.cvsignore:
17535 * testsuite/refcounting/Makefile.am:
17536 * testsuite/refcounting/bin.c:
17537 * testsuite/refcounting/element.c:
17538 * testsuite/refcounting/element_pad.c:
17539 * testsuite/refcounting/mainloop.c:
17540 * testsuite/refcounting/mem.c:
17541 * testsuite/refcounting/mem.h:
17542 * testsuite/refcounting/object.c:
17543 * testsuite/refcounting/pad.c:
17544 * testsuite/refcounting/sched.c:
17545 * testsuite/refcounting/thread.c:
17546 * testsuite/states/.cvsignore:
17547 * testsuite/states/Makefile.am:
17548 * testsuite/states/bin.c:
17549 * testsuite/states/locked.c:
17550 * testsuite/states/parent.c:
17551 * testsuite/threads/.cvsignore:
17552 * testsuite/threads/159566.c:
17553 * testsuite/threads/159852.c:
17554 * testsuite/threads/Makefile.am:
17555 * testsuite/threads/queue.c:
17556 * testsuite/threads/signals.c:
17557 * testsuite/threads/staticrec.c:
17558 * testsuite/threads/thread.c:
17559 * testsuite/threads/threadb.c:
17560 * testsuite/threads/threadc.c:
17561 * testsuite/threads/threadd.c:
17562 * testsuite/threads/threade.c:
17563 * testsuite/threads/threadf.c:
17564 * testsuite/threads/threadg.c:
17565 * testsuite/threads/threadh.c:
17566 * testsuite/threads/threadi.c:
17567 move all of these under tests
17569 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17572 * tests/Makefile.am:
17575 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17577 * docs/gst/gstreamer-sections.txt:
17578 * tests/sched/.cvsignore:
17579 * tests/sched/Makefile.am:
17580 * tests/sched/cases/(fs-fs).xml:
17581 * tests/sched/cases/(fs-i-fs).xml:
17582 * tests/sched/cases/(fs-i-i-fs).xml:
17583 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17584 * tests/sched/dynamic-pipeline.c:
17585 * tests/sched/interrupt1.c:
17586 * tests/sched/interrupt2.c:
17587 * tests/sched/interrupt3.c:
17588 * tests/sched/runtestcases:
17589 * tests/sched/runxml.c:
17590 * tests/sched/sched-stress.c:
17591 * tests/sched/sort.c:
17592 * tests/sched/testcases:
17593 * tests/sched/testcases1.tc:
17594 * tests/seeking/.cvsignore:
17595 * tests/seeking/Makefile.am:
17596 * tests/seeking/seeking1.c:
17597 * tests/threadstate/.cvsignore:
17598 * tests/threadstate/Makefile.am:
17599 * tests/threadstate/test1.c:
17600 * tests/threadstate/test2.c:
17601 * tests/threadstate/threadstate1.c:
17602 * tests/threadstate/threadstate2.c:
17603 * tests/threadstate/threadstate3.c:
17604 * tests/threadstate/threadstate4.c:
17605 * tests/threadstate/threadstate5.c:
17606 remove obsolete tests
17608 * tests/bench-complexity.scm:
17609 * tests/bench-mass_elements.scm:
17610 * tests/complexity.c:
17611 * tests/complexity.gnuplot:
17612 * tests/instantiate/.cvsignore:
17613 * tests/instantiate/Makefile.am:
17614 * tests/instantiate/caps.c:
17615 * tests/mass_elements.c:
17616 * tests/network-clock-utils.scm:
17617 * tests/network-clock.scm:
17619 First pass at cleaning up tests/ dir before moving the rest
17620 Combined with CVS surgery
17622 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17625 queue has moved, update
17627 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17629 * docs/gst/gstreamer-sections.txt:
17630 remove double entries from the docs
17631 * gst/gst_private.h:
17632 * gst/gstinfo.c: (_gst_debug_init):
17633 remove the THREAD debug category
17637 * docs/gst/gstreamer.types:
17638 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17639 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17640 completely move queue and fix up debugging categories
17642 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17644 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17645 make initialization portable, using LL is not
17647 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17649 * win32/common/gstconfig.h:
17652 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17654 * win32/common/libgstreamer.def:
17655 rename symbols; sort base section
17657 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17659 * gst/gstclock.c: (do_linear_regression):
17660 remove crack non-portable handrolled DEBUG macro
17662 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17664 * docs/random/release:
17666 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17667 (gst_object_flags_get_type), (register_gst_bin_flags),
17668 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17669 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17670 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17671 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17672 (gst_caps_flags_get_type), (register_gst_clock_return),
17673 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17674 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17675 (gst_clock_flags_get_type), (register_gst_state),
17676 (gst_state_get_type), (register_gst_state_change_return),
17677 (gst_state_change_return_get_type), (register_gst_state_change),
17678 (gst_state_change_get_type), (register_gst_element_flags),
17679 (gst_element_flags_get_type), (register_gst_core_error),
17680 (gst_core_error_get_type), (register_gst_library_error),
17681 (gst_library_error_get_type), (register_gst_resource_error),
17682 (gst_resource_error_get_type), (register_gst_stream_error),
17683 (gst_stream_error_get_type), (register_gst_event_type_flags),
17684 (gst_event_type_flags_get_type), (register_gst_event_type),
17685 (gst_event_type_get_type), (register_gst_seek_type),
17686 (gst_seek_type_get_type), (register_gst_seek_flags),
17687 (gst_seek_flags_get_type), (register_gst_format),
17688 (gst_format_get_type), (register_gst_index_certainty),
17689 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17690 (gst_index_entry_type_get_type),
17691 (register_gst_index_lookup_method),
17692 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17693 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17694 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17695 (gst_index_flags_get_type), (register_gst_debug_level),
17696 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17697 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17698 (gst_iterator_result_get_type), (register_gst_iterator_item),
17699 (gst_iterator_item_get_type), (register_gst_message_type),
17700 (gst_message_type_get_type), (register_gst_mini_object_flags),
17701 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17702 (gst_pad_link_return_get_type), (register_gst_flow_return),
17703 (gst_flow_return_get_type), (register_gst_activate_mode),
17704 (gst_activate_mode_get_type), (register_gst_pad_direction),
17705 (gst_pad_direction_get_type), (register_gst_pad_flags),
17706 (gst_pad_flags_get_type), (register_gst_pad_presence),
17707 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17708 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17709 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17710 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17711 (gst_plugin_flags_get_type), (register_gst_rank),
17712 (gst_rank_get_type), (register_gst_query_type),
17713 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17714 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17715 (gst_tag_flag_get_type), (register_gst_task_state),
17716 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17717 (gst_alloc_trace_flags_get_type),
17718 (register_gst_type_find_probability),
17719 (gst_type_find_probability_get_type), (register_gst_uri_type),
17720 (gst_uri_type_get_type), (register_gst_parse_error),
17721 (gst_parse_error_get_type):
17722 * win32/common/gstenumtypes.h:
17723 * win32/common/gstversion.h:
17724 update visual studio generated files
17726 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17728 * win32/vs6/libgstbase.dsp:
17729 * win32/vs6/libgstelements.dsp:
17730 update project files for new locations
17732 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17737 reinstate and update
17742 * docs/random/LICENSE:
17745 2005-11-30 Edward Hervey <edward@fluendo.com>
17747 * gst/gsttypefind.c: (gst_type_find_register):
17748 * gst/gsttypefind.h:
17749 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17750 (gst_type_find_factory_dispose):
17751 * gst/gsttypefindfactory.h:
17752 Fix memory leak in GstTypeFindFactory.
17754 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17757 * plugins/elements/Makefile.am:
17758 * plugins/elements/gstelements.c:
17759 * plugins/elements/gstqueue.c:
17760 move queue from core to the elements plugin
17762 2005-11-29 Andy Wingo <wingo@pobox.com>
17764 * libs/gst/base/gstbasetransform.h:
17765 * libs/gst/base/gstbasesrc.h:
17766 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17768 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17769 of pointers by which to pad very extensible base classes (like the
17770 ones in libs/gst/base).
17772 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17774 * docs/gst/gstreamer-docs.sgml:
17775 * docs/gst/gstreamer-sections.txt:
17776 * docs/libs/gstreamer-libs-docs.sgml:
17777 * docs/libs/gstreamer-libs-sections.txt:
17778 moving documentation from core to lib
17780 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17782 * check/Makefile.am:
17784 * docs/gst/Makefile.am:
17786 * gst/base/.cvsignore:
17787 * gst/base/Makefile.am:
17789 * gst/base/gstadapter.c:
17790 * gst/base/gstadapter.h:
17791 * gst/base/gstbasesink.c:
17792 * gst/base/gstbasesink.h:
17793 * gst/base/gstbasesrc.c:
17794 * gst/base/gstbasesrc.h:
17795 * gst/base/gstbasetransform.c:
17796 * gst/base/gstbasetransform.h:
17797 * gst/base/gstcollectpads.c:
17798 * gst/base/gstcollectpads.h:
17799 * gst/base/gstpushsrc.c:
17800 * gst/base/gstpushsrc.h:
17801 * gst/base/gsttypefindhelper.c:
17802 * gst/base/gsttypefindhelper.h:
17803 * gst/check/Makefile.am:
17804 * gst/check/gstcheck.c:
17805 * gst/check/gstcheck.h:
17806 * gst/net/Makefile.am:
17807 * gst/net/gstnet.h:
17808 * gst/net/gstnetclientclock.c:
17809 * gst/net/gstnetclientclock.h:
17810 * gst/net/gstnettimepacket.c:
17811 * gst/net/gstnettimepacket.h:
17812 * gst/net/gstnettimeprovider.c:
17813 * gst/net/gstnettimeprovider.h:
17814 * libs/gst/Makefile.am:
17815 * libs/gst/base/Makefile.am:
17816 * libs/gst/base/gstbasetransform.c:
17817 * libs/gst/check/Makefile.am:
17818 * plugins/elements/Makefile.am:
17820 CVS surgery + support to move base, check, and net out of gst
17823 2005-11-29 Andy Wingo <wingo@pobox.com>
17825 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17827 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17830 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17832 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17834 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17836 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17837 padding; reduces object size by about 30%. We don't expect
17838 anything else to go into gstobject.
17840 * gst/gstminiobject.h (struct _GstMiniObject)
17841 (struct _GstMiniObjectClass): Only one pointer of padding; the
17842 payload is only a pointer and two ints anyway. For the class there
17843 are only two methods as well.
17845 * gst/gstelement.h (struct _GstElementClass): Removed
17846 the state_changed signal callback, it is not used.
17848 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17850 * docs/gst/gstreamer.types:
17851 fix includes, though they are a little dinky
17853 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17855 * check/Makefile.am:
17856 look in the right place for elements, a lot more chance of
17859 remove indexers and elements subdirs
17860 * plugins/Makefile.am:
17861 make indexers conditional
17863 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17867 * plugins/elements/Makefile.am:
17868 * plugins/elements/gstcapsfilter.c:
17869 * plugins/elements/gstfilesink.c:
17870 * plugins/elements/gstfilesrc.c:
17871 * plugins/elements/gstidentity.c:
17872 * plugins/indexers/Makefile.am:
17873 do CVS surgery and related build fixery to move elements
17874 and indexers in a new gstreamer/plugins directory, out of the
17877 2005-11-29 Andy Wingo <wingo@pobox.com>
17879 * check/Makefile.am:
17880 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17881 * pkgconfig/gstreamer-net.pc.in:
17882 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17885 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17887 * tools/Makefile.am:
17888 * tools/gst-complete.1.in:
17889 * tools/gst-complete.c:
17890 * tools/gst-compprep.1.in:
17891 * tools/gst-compprep.c:
17892 removing -compprep and -complete
17894 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17896 * gst/gstevent.c: (gst_event_new_new_segment),
17897 (gst_event_parse_new_segment):
17899 fix #320529 - clean up new_segment API and structure.
17900 Let's hope everyone was using the methods, and not the structure.
17902 2005-11-29 Edward Hervey <edward@fluendo.com>
17904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17905 (gst_base_sink_event), (gst_base_sink_do_sync),
17906 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17907 Properly handle non GST_FORMAT_TIME segment
17908 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17909 Properly handle non GST_FORMAT_TIME segment
17910 * gst/gstsegment.c:
17911 This function is valid if the accumulator is 0 and the format
17912 is different from the requested format.
17914 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17916 * docs/gst/gstreamer-sections.txt:
17917 Add gst_query_new_seeking and gst_query_parse_seeking to the
17920 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17922 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17923 Treat a pad alloc with new caps the same as if we were not
17924 negotiated, in order to allow a changing upstream output
17925 to produce a new format of data.
17927 2005-11-29 Edward Hervey <edward@fluendo.com>
17929 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17930 (gst_base_transform_event), (gst_base_transform_eventfunc):
17931 The event virtual method is now properly implemented, with a default
17933 Sub classes should call the parent_class event method. They should
17934 return FALSE if they had a problem handling the given event, or don't
17935 want GstBaseTransform to send that even downstream
17936 * gst/elements/gstidentity.c: (gst_identity_class_init),
17937 (gst_identity_init), (gst_identity_event),
17938 (gst_identity_transform_ip), (gst_identity_set_property),
17939 (gst_identity_get_property):
17940 * gst/elements/gstidentity.h:
17941 Added the single-segment boolean property.
17942 If set to TRUE, it will output a single segment of data, starting from
17943 0, will eat up all incoming newsegment, and modify the timestamp of the
17944 buffers accordingly
17946 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17948 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17949 Don't ref NULL target pad (#322751). Improve docs.
17951 2005-11-29 Michael Smith <msmith@fluendo.com>
17953 * gst/gstregistryxml.c: (load_plugin):
17954 Don't crash if we failed to load a feature from a plugin.
17956 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17958 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17960 use more check API and less GLib API
17962 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17965 don't run checks if we don't have check
17966 * common/check.mak:
17967 remove the registry when running make torture
17968 * docs/gst/gstreamer-sections.txt:
17969 remove second multiply
17970 * gst/gstqueue.c: (gst_queue_loop):
17971 fix a compile warning when disabling debug
17973 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17976 Hey! Let's print the pad name if the pointer != NULL instead
17977 of when it == NULL :-)
17979 2005-11-28 Wim Taymans <wim@fluendo.com>
17981 * check/gst/gstutils.c: (GST_START_TEST):
17982 Updated check, add some scaling accuracy checking code.
17984 * gst/gstutils.c: (gst_util_div128_64),
17985 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17986 (gst_util_uint64_scale_int):
17987 Fix 6 times faster division code. Optimize for common
17988 1/1 and less common X/1 cases.
17990 2005-11-28 Wim Taymans <wim@fluendo.com>
17992 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17995 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17996 (do_linear_regression), (gst_clock_add_observation):
17998 Release lock when the clock cannot be slaved.
17999 Catch the case where the regression returned an invalid denominator.
18001 * gst/gstutils.c: (gst_util_div128_64_iterate),
18002 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18003 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18004 Add protentially more performant non-iterative 128/64 divide function
18005 that unfortunatly does not work yet.
18006 Shortcut the trivial 0/X = 0 case.
18007 Remove the warnings on overflow.
18009 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18011 * gst/gstplugin.c: (gst_plugin_register_func):
18012 everything causing a plugin not to load should be at least a WARNING
18014 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18016 * docs/random/ensonic/dparams.txt:
18017 some TODOs for the next dev cycle
18018 * libs/gst/controller/gstcontroller.c:
18019 (gst_controlled_property_set_interpolation_mode),
18020 (gst_controlled_property_new):
18021 * libs/gst/controller/gstcontroller.h:
18022 use base type to assign acccessor functions
18024 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18026 * check/Makefile.am:
18027 Oops, that should have been top_srcdir
18029 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18031 * check/Makefile.am:
18032 * check/elements/fdsrc.c: (GST_START_TEST):
18033 Use a cmdline define to specify the location of a file to use for
18034 testing, to avoid breaking distcheck.
18036 2005-11-28 Andy Wingo <wingo@pobox.com>
18038 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18040 2005-11-28 Edward Hervey <edward@fluendo.com>
18042 * tools/gst-launch.c: (main):
18043 Clarify the output strings, makes it easier to translate.
18046 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18049 don't try and build net if we don't even have <sys/socket.h>
18051 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18053 * check/Makefile.am:
18054 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18055 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18056 Add tests for fdsrc seekability
18058 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18059 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18060 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18061 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18062 * gst/elements/gstfdsrc.h:
18063 fdsrc should not be a 'live' source.
18064 Implement seeking on seekable fd's.
18066 * gst/gstquery.c: (gst_query_new_seeking),
18067 (gst_query_parse_seeking):
18069 Implement SEEKING query functions:
18070 *_new_seeking and *_parse_seeking
18072 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18074 * gst/gstelement.c: (gst_element_dispose):
18077 * gst/gstiterator.c:
18078 * gst/gststructure.c:
18081 * libs/gst/controller/gstcontroller.c:
18082 (gst_controlled_property_set_interpolation_mode):
18083 * libs/gst/controller/gstcontroller.h:
18084 * libs/gst/controller/gstinterpolation.c:
18085 (interpolate_none_get_enum_value_array):
18086 support controlling enums
18088 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18091 Improve documentation for gst_value_union().
18094 Change return value for union, intersect and subtract functions
18095 from gint to gboolean.
18097 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18099 * gst/gstvalue.c: (gst_value_serialize_any_list),
18100 (gst_value_transform_any_list_string),
18101 (gst_value_deserialize_list), (gst_value_deserialize_array),
18102 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18103 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18104 (gst_value_set_fraction_range_full),
18105 (gst_value_deserialize_fraction_range),
18106 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18107 (gst_value_deserialize_boolean),
18108 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18109 (gst_value_serialize_float), (gst_value_deserialize_float),
18110 (gst_string_wrap), (gst_value_deserialize_string),
18111 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18112 (gst_value_union_int_range_int_range),
18113 (gst_value_intersect_int_range_int_range),
18114 (gst_value_intersect_double_range_double_range),
18115 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18116 (gst_value_subtract_int_range_int_range),
18117 (gst_value_subtract_double_double_range),
18118 (gst_value_subtract_double_range_double_range),
18119 (gst_value_deserialize_fraction):
18121 Use gint, gdouble and gchar in our API instead of int, double and
18122 char (and make usage in gstvalue.c more consistent).
18124 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18126 * check/Makefile.am:
18127 * libs/gst/controller/Makefile.am:
18128 * libs/gst/dataprotocol/Makefile.am:
18129 fix up Makefile.am and remove GST_ENABLE_NEW
18131 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18135 * gst/base/Makefile.am:
18136 * gst/check/Makefile.am:
18137 * gst/elements/Makefile.am:
18138 * gst/net/Makefile.am:
18139 update LDFLAGS use some more
18141 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18143 * common/m4/gst-doc.m4:
18146 2005-11-26 Edward Hervey <edward@fluendo.com>
18148 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18149 This shouldn't issue a g_warning since it returns NULL if it
18150 couldn't find the plugin, and all functions using this behave
18151 properly on a NULL return. Switching to a GST_WARNING.
18153 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18155 * gst/gstbin.c: (gst_bin_handle_message_func):
18156 Don't leak clock messages.
18158 2005-11-25 Wim Taymans <wim@fluendo.com>
18160 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18161 (gst_util_uint64_scale_int):
18162 Optimisations, remove unneeded vars.
18164 2005-11-25 Wim Taymans <wim@fluendo.com>
18166 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18167 Added more checks for the high precision uint64 cases.
18169 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18170 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18171 Implement high precision (guint64 * guint64) / guint64.
18173 2005-11-24 Wim Taymans <wim@fluendo.com>
18175 * gst/base/gstbasesrc.c: (gst_base_src_query):
18176 Fix wrong percentage query.
18178 * gst/gstutils.c: (gst_util_uint64_scale),
18179 (gst_util_uint64_scale_int):
18180 Add some more common cases that can be handled
18181 efficiently to _scale.
18183 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18185 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18186 (gst_mini_object_suite):
18187 don't use check calls from threads; check probably isn't
18188 threadsafe and using a lock to make it threadsafe would
18189 defeat the purpose of this check
18190 * gst/check/gstcheck.c:
18191 * gst/check/gstcheck.h:
18192 use GST_DEBUG some more
18194 2005-11-24 Wim Taymans <wim@fluendo.com>
18196 * gst/gstutils.c: (gst_util_uint64_scale),
18197 (gst_util_uint64_scale_int):
18198 Chain trivial case to _scale_int.
18200 2005-11-24 Wim Taymans <wim@fluendo.com>
18202 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18203 Added test for scaling.
18208 * gst/gstutils.c: (gst_util_uint64_scale_int):
18209 Implemented high precision scaling code.
18211 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18214 do not crash on pad==NULL
18216 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18218 Patch by: Stefan Kost
18220 * common/gtk-doc.mak:
18221 * docs/gst/Makefile.am:
18222 * docs/libs/Makefile.am:
18223 Fix distcheck issues for the libraries docs build
18226 2005-11-24 Michael Smith <msmith@fluendo.com>
18228 * docs/manual/basics-helloworld.xml:
18229 Fix bug #315027: memory leak in example code in docs.
18231 2005-11-24 Michael Smith <msmith@fluendo.com>
18233 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18234 Unlock the PREROLL_LOCK in a failure case.
18236 2005-11-24 Wim Taymans <wim@fluendo.com>
18238 * docs/gst/gstreamer-sections.txt:
18239 * gst/base/gstadapter.h:
18240 * gst/base/gstbasesink.h:
18241 * gst/base/gstbasesrc.h:
18242 * gst/base/gstbasetransform.h:
18243 * gst/base/gstpushsrc.h:
18244 * gst/elements/gstfakesink.h:
18245 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18246 * gst/elements/gstfakesrc.h:
18247 * gst/elements/gstfilesink.h:
18248 * gst/elements/gstfilesrc.h:
18251 * gst/gstbuffer.c: (_gst_buffer_copy):
18254 * gst/gstchildproxy.c:
18256 * gst/gstelement.c:
18257 * gst/gstelementfactory.c:
18258 * gst/gstelementfactory.h:
18260 * gst/gstghostpad.h:
18262 * gst/gstinterface.h:
18263 * gst/gstminiobject.c:
18264 * gst/gstminiobject.h:
18267 * gst/gstpadtemplate.h:
18268 * gst/gstpipeline.h:
18269 * gst/gstpluginfeature.h:
18272 * gst/gsttaglist.c:
18273 * gst/gsttaglist.h:
18274 * gst/gsttagsetter.c:
18275 * gst/gsttagsetter.h:
18278 * gst/gsttypefind.h:
18281 * gst/net/gstnetclientclock.c:
18282 * gst/net/gstnetclientclock.h:
18283 * gst/net/gstnettimepacket.c:
18284 * gst/net/gstnettimeprovider.c:
18285 * gst/net/gstnettimeprovider.h:
18288 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18290 * configure.ac: back to HEAD
18292 === release 0.9.6 ===
18294 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18297 releasing 0.9.6, "Always On Time"
18299 2005-11-23 Wim Taymans <wim@fluendo.com>
18301 * docs/gst/gstreamer-sections.txt:
18302 * gst/glib-compat.c:
18303 * gst/gsttagsetter.c:
18305 * gst/net/gstnetclientclock.c:
18306 * gst/net/gstnettimepacket.h:
18309 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18311 * docs/faq/using.xml:
18312 * docs/libs/tmpl/gstcontrol.sgml:
18313 * docs/manual/advanced-dparams.xml:
18314 * docs/manual/appendix-checklist.xml:
18315 * docs/manual/basics-elements.xml:
18316 * docs/pwg/other-source.xml:
18317 * docs/random/moving-plugins:
18319 * tools/gst-launch.1.in:
18320 remove mentions of sinesrc
18322 2005-11-23 Michael Smith <msmith@fluendo.com>
18324 * docs/gst/gstreamer-sections.txt:
18325 Update for new API and API changes.
18327 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18329 Documentation typo fix.
18330 * gst/net/gstnettimepacket.c:
18331 Documentation fixes for arguments.
18333 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18335 * gst/gststructure.c: (gst_structure_get_fraction),
18336 (gst_structure_parse_value),
18337 (gst_structure_fixate_field_nearest_fraction):
18338 * gst/gststructure.h:
18339 * gst/gstutils.c: (gst_util_uint64_scale_int):
18341 * scripts/update-funcnames:
18343 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18344 Make gst_structure_fixate_field_nearest_fraction take a numerator
18345 and denominator argument instead of a GValue
18346 add gst_structure_get_fraction helper function.
18348 2005-11-23 Wim Taymans <wim@fluendo.com>
18350 * docs/design/part-TODO.txt:
18353 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18354 * gst/net/gstnetclientclock.h:
18355 Use parent fields for timeout and window_size.
18357 2005-11-23 Andy Wingo <wingo@pobox.com>
18359 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18360 rate_num/rate_denom change.
18362 * gst/net/gstnetclientclock.c
18363 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18364 OBJECT_LOCK. Don't call add_observation with the lock.
18366 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18368 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18370 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18371 deal with rate as a fraction whose numerator and denominator are
18372 GstClockTime values.
18373 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18374 master; the other fields are protected by the SLAVE_LOCK.
18375 (do_linear_regression): Note that this must be called with the
18377 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18378 OBJECT_LOCK. Call set_calibration instead of touching the
18379 variables directly.
18380 (gst_clock_set_property, gst_clock_get_property): Protect
18381 master/slave parameters with the SLAVE_LOCK.
18383 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18384 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18385 note that all of the instance variables that add_observation and
18386 the set_master functions use are protected by that lock and not
18388 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18390 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18391 the caller to take the object lock.
18393 2005-11-23 Wim Taymans <wim@fluendo.com>
18395 * gst/gsterror.c: (_gst_core_errors_init):
18397 Add error for clock stuff.
18399 * gst/gstpipeline.c: (gst_pipeline_change_state),
18400 (gst_pipeline_set_clock):
18401 Post clock error when clock cannot be used in a pipeline.
18403 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18405 * docs/gst/gstreamer-sections.txt:
18406 make two symbols from gstinfo private for the docs
18407 * gst/base/gstcollectpads.h:
18409 fix doc typos, update docs
18411 2005-11-22 Wim Taymans <wim@fluendo.com>
18413 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18414 (gst_base_sink_wait), (gst_base_sink_do_sync),
18415 (gst_base_sink_handle_event):
18416 * gst/base/gstbasesink.h:
18417 No need to store the clock, the parent element class already
18420 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18421 Updates for clock_set returning a gboolean
18423 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18424 (gst_clock_id_wait_async), (gst_clock_class_init),
18425 (gst_clock_init), (gst_clock_finalize),
18426 (gst_clock_get_internal_time), (gst_clock_get_time),
18427 (gst_clock_slave_callback), (gst_clock_set_master),
18428 (gst_clock_get_master), (do_linear_regression),
18429 (gst_clock_add_observation), (gst_clock_set_property),
18430 (gst_clock_get_property):
18432 Implement master/slave. When setting a clock as a slave, a
18433 periodic timeout is scheduled to sample master and slave times.
18434 Then the slave clock is recalibrated to match offset and rate
18435 of the master clock.
18436 Update logging a bit.
18437 Add flag so that a clock can state that is cannot be slaved to
18440 * gst/gstelement.c: (gst_element_set_clock):
18441 * gst/gstelement.h:
18442 The set clock returns a gboolean for when an element cannot
18443 deal with the selected clock in the pipeline.
18445 * gst/gstpipeline.c: (gst_pipeline_change_state),
18446 (gst_pipeline_set_clock):
18447 * gst/gstpipeline.h:
18448 Handle the case where the selected clock cannot be set on
18451 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18452 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18453 (gst_net_client_clock_set_property),
18454 (gst_net_client_clock_get_property),
18455 (gst_net_client_clock_observe_times):
18456 * gst/net/gstnetclientclock.h:
18457 Use regression code in GstClock parent, remove duplicated
18460 2005-11-22 Michael Smith <msmith@fluendo.com>
18462 * gst/gstutils.c: (gst_util_clock_time_scale):
18464 * docs/gst/gstreamer-sections.txt:
18465 Rename method to have extra underscore.
18467 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18469 * gst/elements/Makefile.am:
18470 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18471 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18472 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18473 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18474 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18475 * gst/elements/gstfakesrc.h:
18476 * gst/gstqueue.c: (queue_leaky_get_type):
18477 correctly fix GEnumValues so that nick is the short lowercase
18479 * tools/gst-inspect.c: (print_element_properties_info):
18480 also show the nick, since it's useful to use from parse_launch
18484 2005-11-22 Michael Smith <msmith@fluendo.com>
18486 * gst/gstutils.c: (gst_util_clocktime_scale):
18488 * docs/gst/gstreamer-sections.txt:
18489 Add util method for scaling a clocktime by a fraction. Useful
18490 implementation is left as an exercise for the reader.
18492 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18494 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18495 If needed, allocate storage in the destination value during
18498 2005-11-22 Edward Hervey <edward@fluendo.com>
18500 * docs/gst/gstreamer-sections.txt:
18503 * gst/gsturitype.c:
18504 * gst/gsturitype.h:
18505 * gst/gstutils.c: (gst_util_set_object_arg):
18506 * tools/gst-compprep.c: (main):
18507 * tools/gst-inspect.c: (print_element_properties_info):
18508 Removed GstURI, closes bug #321061
18510 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18512 * check/gst/gststructure.c: (GST_START_TEST):
18513 * gst/gststructure.c: (gst_structure_parse_value):
18514 Oops, broke automatic string type parsing.
18515 Add a test to catch it in future.
18517 2005-11-22 Andy Wingo <wingo@pobox.com>
18519 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18520 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18521 Actually rename the function implementations. Grr.
18523 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18525 * check/gst/capslist.h:
18527 * check/gst/gststructure.c: (GST_START_TEST),
18528 (gst_structure_suite):
18529 Test automatic value type detection in gst_structure_from_string.
18530 * gst/gststructure.c: (gst_structure_parse_value):
18531 Add fraction as a type we try and guess automatically in
18532 caps/structure strings.
18534 2005-11-22 Andy Wingo <wingo@pobox.com>
18536 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18538 * gst/gsttagsetter.h:
18539 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18540 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18541 (gst_tag_setter_add_tag_valist)
18542 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18543 _add_values, _add_valist, and _add_valist_values. Since this is an
18544 interface the function suffixes should be more explicit so
18545 language binding don't end up with element.add_valist ->
18546 gst_tag_setter_add_valist, for example. Fixes #322069.
18548 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18550 * check/gst/gstcaps.c: (GST_START_TEST):
18551 Extend caps string tests to check that a caps to string
18552 conversion is reversible and produces the same caps.
18554 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18555 Output "fraction" as the generic type fraction range, so caps
18556 serialisation and deserialisation works.
18557 * check/gst/capslist.h:
18558 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18559 Support 'MIN' and 'MAX' for deserialising fractions.
18561 2005-11-22 Andy Wingo <wingo@pobox.com>
18563 * gst/gstevent.h (gst_event_new_new_segment)
18564 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18565 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18566 Renamed from *_newsegment, *_buffersize, *_notarget.
18568 * scripts/update-funcnames: New script, performs the changes
18571 2005-11-22 Wim Taymans <wim@fluendo.com>
18573 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18574 Make sure the GstFlowReturn is returned.
18576 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18577 (gst_bus_add_signal_watch):
18579 add gst_bus_add_signal_watch_full.
18581 * gst/gstplugin.c: (gst_plugin_load_file):
18582 Small style cleanup.
18584 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18586 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18587 Block the fakesrc srcpad when we send an event, to avoid
18588 contention on the stream_lock causing random test failures.
18590 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18592 * check/gst/gstvalue.c: (GST_START_TEST):
18593 * gst/gstvalue.c: (gst_value_fraction_subtract):
18596 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18599 include "gstchildproxy.h"
18600 * gst/gstchildproxy.h:
18601 * libs/gst/controller/gstcontroller.h:
18602 use G_GNUC_NULL_TERMINATED
18604 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18606 * check/gst/capslist.h:
18607 * check/gst/gstcaps.c: (GST_START_TEST):
18608 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18609 * gst/gststructure.c: (gst_structure_parse_range),
18610 (gst_structure_fixate_field_nearest_fraction):
18611 * gst/gststructure.h:
18612 * gst/gstvalue.c: (gst_value_init_fraction_range),
18613 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18614 (gst_value_collect_fraction_range),
18615 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18616 (gst_value_set_fraction_range_full),
18617 (gst_value_get_fraction_range_min),
18618 (gst_value_get_fraction_range_max),
18619 (gst_value_serialize_fraction_range),
18620 (gst_value_transform_fraction_range_string),
18621 (gst_value_compare_fraction_range),
18622 (gst_value_deserialize_fraction_range),
18623 (gst_value_intersect_fraction_fraction_range),
18624 (gst_value_intersect_fraction_range_fraction_range),
18625 (gst_value_subtract_fraction_fraction_range),
18626 (gst_value_subtract_fraction_range_fraction),
18627 (gst_value_subtract_fraction_range_fraction_range),
18628 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18629 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18630 (gst_value_transform_string_fraction), (_gst_value_initialize):
18632 Implement fraction ranges and extend GstFraction to support
18633 arithmetic subtraction, as well as deserialization from integer
18634 strings such as "100"
18635 Add a testsuite as for int and double range set operations
18637 2005-11-21 Andy Wingo <wingo@pobox.com>
18639 * gst/gsttaglist.h:
18641 * gst/gststructure.h: Add glib-compat.h.
18643 2005-11-21 Wim Taymans <wim@fluendo.com>
18645 * gst/gstbin.c: (gst_bin_change_state_func):
18648 2005-11-21 Wim Taymans <wim@fluendo.com>
18650 * gst/gstsegment.h:
18651 And add a nice define too.
18653 2005-11-21 Wim Taymans <wim@fluendo.com>
18655 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18656 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18657 (gst_segment_set_duration), (gst_segment_set_last_stop),
18658 (gst_segment_set_seek), (gst_segment_set_newsegment),
18659 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18660 (gst_segment_clip):
18661 * gst/gstsegment.h:
18662 Make binding friendly.
18664 2005-11-21 Andy Wingo <wingo@pobox.com>
18666 * gst/gsttagsetter.h:
18667 * gst/gsttaglist.h:
18668 * gst/gststructure.h:
18670 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18673 * gst/gsterror.c (_gst_core_errors_init):
18674 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18677 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18678 (noinst_HEADERS): noinst the -private.
18680 2005-11-21 Michael Smith <msmith@fluendo.com>
18683 * gst/gstregistry.h:
18684 Remove unimplemented declarations for which we can see no sensible
18687 2005-11-21 Andy Wingo <wingo@pobox.com>
18689 * gst/gst.h: Include glib-compat.h.
18691 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18693 * gst/glib-compat.c: Include the public and the private header.
18695 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18699 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18701 * check/gst/gstevent.c (create_custom_events): Check that
18702 FLUSH_STOP is serialized.
18704 * check/elements/identity.c (event_func):
18705 * check/elements/fakesrc.c (event_func): No stream lock, the core
18708 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18709 stream lock taking, yay.
18711 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18712 ensure that core takes the stream lock.
18714 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18717 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18718 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18719 it already. For the flush start we do take it though so we get the
18720 right preroll state change messages.
18722 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18723 the stream lock here, the core does it for us.
18725 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18726 GST_STREAM_GET_LOCK.
18727 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18728 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18729 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18730 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18731 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18732 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18734 * gst/gstpad.c: Update for stream lock name change.
18736 * gst/base/gstbasesink.c: Update for preroll lock name change.
18738 2005-11-21 Wim Taymans <wim@fluendo.com>
18740 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18741 (gst_clock_get_master):
18743 * gst/gstsystemclock.c: (gst_system_clock_init):
18744 Convert Clock flags to object flags.
18745 Added methods to manage master/slave clocks.
18747 2005-11-21 Wim Taymans <wim@fluendo.com>
18749 * check/gst/gstsegment.c: (GST_START_TEST):
18750 * docs/design/part-TODO.txt:
18751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18752 (gst_base_sink_event), (gst_base_sink_do_sync),
18753 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18754 (gst_base_sink_query), (gst_base_sink_change_state):
18755 * gst/base/gstbasesink.h:
18756 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18757 (gst_base_src_default_newsegment),
18758 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18759 (gst_base_src_get_range), (gst_base_src_loop),
18760 (gst_base_src_change_state):
18761 * gst/base/gstbasesrc.h:
18762 * gst/base/gstbasetransform.c:
18763 (gst_base_transform_prepare_output_buf),
18764 (gst_base_transform_event), (gst_base_transform_change_state):
18765 * gst/base/gstbasetransform.h:
18766 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18767 (gst_collect_pads_event):
18768 * gst/base/gstcollectpads.h:
18769 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18770 (gst_fake_src_create):
18771 * gst/elements/gstfakesrc.h:
18772 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18773 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18774 (gst_segment_set_last_stop), (gst_segment_set_seek),
18775 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18776 (gst_segment_to_running_time), (gst_segment_clip):
18777 * gst/gstsegment.h:
18778 More segment updates, replace code in plugins with segment
18781 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18783 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18784 Don't ignore sscanf results
18786 2005-11-21 Andy Wingo <wingo@pobox.com>
18788 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18791 * *.c: Ran scripts/update-macros. Oh yes.
18793 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18794 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18797 * scripts/update-macros: New script. Run it on your files to
18798 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18801 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18803 * docs/gst/Makefile.am:
18804 * docs/gst/gstreamer-docs.sgml:
18805 * docs/gst/gstreamer-sections.txt:
18806 * docs/gst/gstreamer.types:
18808 more docs fixes, add new api to the docs
18810 2005-11-21 Andy Wingo <wingo@pobox.com>
18812 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18813 state_broadcast call.
18815 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18817 2005-11-21 Julien MOUTTE <julien@moutte.net>
18819 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18820 function calls for arrays.
18822 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18824 * docs/random/ensonic/media-device-daemon.txt:
18825 wild idea, can this be done?
18826 * docs/gst/gstreamer-sections.txt:
18831 * gst/gstpluginfeature.c:
18835 doc fixes and additions
18837 2005-11-21 Andy Wingo <wingo@pobox.com>
18839 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18840 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18841 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18842 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18843 private to the basesrc implementation.
18845 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18846 behalf of event function if necessary. It should no longer be
18847 necessary to take the stream lock in pad's event functions. Fixes
18850 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18851 * docs/gst/gstreamer-sections.txt:
18852 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18853 (gst_structure_fixate_field_nearest_double),
18854 (gst_structure_fixate_field_boolean):
18855 * gst/gststructure.h:
18856 * win32/common/libgstreamer.def:
18857 * win32/gstreamer.def:
18859 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18862 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18864 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18865 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18866 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18867 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18868 (gst_fdsrc_uri_handler_init):
18869 * gst/elements/gstfdsrc.h:
18870 Port fd:// URI handler from 0.8 to fdsrc
18872 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18874 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18875 (gst_value_serialize_fourcc):
18877 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18878 consistent with our other format defines (#320324).
18880 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18882 * gst/gstvalue.c: (gst_value_is_fixed):
18883 Revert previous commit. Value lists are by definition
18884 not fixed, as they are a list of possible values.
18886 2005-11-21 Andy Wingo <wingo@pobox.com>
18888 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18889 during the stable series if we need it. Fixes #319178.
18891 * gst/gstevent.c (gst_event_new_filler): Removed.
18893 * check/gst/gstevent.c: Update comment about filler events.
18895 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18897 * gst/gstvalue.c: (gst_value_is_fixed):
18898 Should handle both value arrays and value lists.
18900 2005-11-21 Andy Wingo <wingo@pobox.com>
18902 patch by: Alessandro Dessina <alessandro nnva org>
18904 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18905 functions to access arrays. Fixes #321962.
18907 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18909 * docs/gst/gstreamer.types:
18910 gst_collectpads_get_type => gst_collect_pads_get_type.
18912 * gst/base/gstbasetransform.c:
18913 Remove unused SIGNAL_HANDOFF enum.
18915 2005-11-21 Andy Wingo <wingo@pobox.com>
18917 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18918 the event type (upstream, downstream, serialized). Renamed
18919 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18920 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18921 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18923 * gst/gstevent.c: Update for new CUSTOM event names.
18925 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18928 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18931 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18933 * docs/gst/gstreamer-sections.txt:
18934 * win32/common/libgstbase.def:
18935 * win32/libgstbase.def:
18936 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18937 (gst_collect_pads_class_init), (gst_collect_pads_init),
18938 (gst_collect_pads_finalize), (gst_collect_pads_new),
18939 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18940 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18941 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18942 (gst_collect_pads_start), (gst_collect_pads_stop),
18943 (gst_collect_pads_peek), (gst_collect_pads_pop),
18944 (gst_collect_pads_available), (gst_collect_pads_read),
18945 (gst_collect_pads_flush), (gst_collect_pads_event),
18946 (gst_collect_pads_chain):
18947 * gst/base/gstcollectpads.h:
18948 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18949 unimplemented functions as unimplemented. Add padding to
18950 GstCollectData. (#320766, #320423)
18952 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18954 * gst/gstmessage.c:
18955 Improve docs for DURATION message (usage of duration parameter)
18958 2005-11-20 Wim Taymans <wim@fluendo.com>
18960 * check/Makefile.am:
18961 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18965 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18966 (gst_segment_set_seek), (gst_segment_set_newsegment),
18967 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18968 (gst_segment_clip):
18969 * gst/gstsegment.h:
18970 Added segment helper structure and methods. Not fully implemented
18972 Added segment check.
18974 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18976 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18977 Add a deserialisation test for fractions
18978 * examples/metadata/read-metadata.c: (message_loop),
18979 (make_pipeline), (main):
18980 Fix up metadata reading sample.
18981 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18983 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18984 Don't try and fixate empty caps
18985 * gst/gst_private.h:
18986 Wrap in G_BEGIN_DECLS/G_END_DECLS
18987 * gst/gstvalue.c: (gst_value_collect_fraction),
18988 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18989 (gst_value_transform_string_fraction),
18990 (gst_value_compare_fraction):
18991 Add some extra guards to ensure that we don't end up
18992 with an invalid denominator of 0 in a gstfraction and
18993 that fractions always get reduced.
18995 2005-11-20 Wim Taymans <wim@fluendo.com>
18997 * docs/gst/gstreamer-sections.txt:
18999 * gst/gstelement.c:
19008 2005-11-20 Wim Taymans <wim@fluendo.com>
19010 * docs/design/part-TODO.txt:
19012 Make a proper enum of the flag.
19014 2005-11-19 Wim Taymans <wim@fluendo.com>
19016 * docs/design/part-TODO.txt:
19017 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19018 (gst_format_to_quark), (gst_format_register):
19020 * gst/gstquery.c: (_gst_query_initialize),
19021 (gst_query_type_get_name), (gst_query_type_to_quark),
19022 (gst_query_type_register):
19024 Add type to quark and type to string conversions.
19026 2005-11-19 Andy Wingo <wingo@pobox.com>
19028 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19031 2005-11-19 Wim Taymans <wim@fluendo.com>
19033 * docs/design/part-TODO.txt:
19034 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19035 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19036 (gst_bin_handle_message_func):
19038 Make message handling overridable.
19040 2005-11-19 Andy Wingo <wingo@pobox.com>
19042 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19045 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19047 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19048 is a GstClockTime. Fixes #321710.
19050 * gst/gstclock.h (GstClock): Remove offset property. Add
19051 internal_calibration and external_calibration. Fix padding. Pad
19052 also by GstClockTime so we don't run into problems.
19054 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19055 (gst_clock_get_rate_offset): Remove.
19056 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19059 * gst/gstutils.c (g_static_rec_cond_wait)
19060 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19062 * gst/gstbin.c: Remove terrible continue_state prototype.
19064 * gst/gstelement.h (gst_element_continue_state): Make public.
19066 * gst/gstelement.h:
19067 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19068 by continue_state. Fixes #319389.
19070 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19071 Really fixes #168438. However I don't see anywhere where the
19072 filter function is called... stupid GStreamer...
19074 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19075 don't have a dispose function, so it won't get called when the
19076 object is unreffed, but oh well!
19078 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19079 allows a destroy function to be set so user_data can be freed.
19081 (gst_index_set_filter): Call gst_index_set_filter_full.
19083 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19085 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19086 string should produce an error, given the lack of a way to
19087 represent NULL strings. Fixes #165650.
19090 * gst/gstvalue.c (gst_value_array_append_value)
19091 (gst_value_array_prepend_value, gst_value_array_get_size)
19092 (gst_value_array_get_value): New API, copied from
19093 gst_value_list_*, only operates on arrays.
19094 (gst_value_list_append_value, gst_value_list_prepend_value)
19095 (gst_value_list_concat, gst_value_list_get_size)
19096 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19098 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19099 init_list, because it works on both.
19100 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19101 (gst_value_copy_list_or_array): Renamed from copy_list.
19102 (gst_value_free_list_or_array): Renamed from free_list.
19103 (gst_value_collect_list_or_array): Renamed from collect_list.
19104 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19105 (gst_value_list_or_array_peek_pointer): Renamed from
19107 (_gst_value_array_value_table, _gst_value_list_value_table):
19108 Update value table functions.
19109 (gst_value_compare_list_or_array): Renamed from compare_list.
19111 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19114 * gst/gsttaglist.c:
19115 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19116 GstTagList*. Fixes #143472.
19118 * gst/gststructure.h: Clarify what the foreach/map functions can
19119 or can't do to their arguments.
19121 2005-11-18 Wim Taymans <wim@fluendo.com>
19123 * gst/gstclock.c: (gst_clock_set_calibration),
19124 (gst_clock_get_calibration):
19126 Calibration can be set with internal time equal to current
19129 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19135 2005-11-18 Andy Wingo <wingo@pobox.com>
19138 * pkgconfig/gstreamer-net.pc.in:
19139 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19140 * pkgconfig/Makefile.am: Add net pkgconfig files.
19142 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19145 * gst/gstghostpad.c:
19151 2005-11-18 Andy Wingo <wingo@pobox.com>
19153 * gst/net/gstnetclientclock.c: Turn off debugging.
19155 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19156 times connverge somewhat. Can't make a real test.
19158 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19159 integer arithmetic. Return the minimum of the domain, which can be
19160 set as "internal" for gst_clock_set_calibration.
19161 (gst_net_client_clock_observe_times): Call _set_calibration.
19162 (gst_net_client_clock_new): Call _set_calibration instead of
19165 * check/net/gstnetclientclock.c (test_functioning): Use the right
19169 * gst/gstclock.c (gst_clock_get_calibration)
19170 (gst_clock_set_calibration): New functions, obsolete the ones I
19171 added yesterday. Doh. Precision issues mean we have to extrapolate
19172 from a point in the more recent past than 1970.
19173 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19175 (gst_clock_adjust_unlocked): Use the right calibration data.
19177 2005-11-18 Edward Hervey <edward@fluendo.com>
19179 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19180 Also reset the ->current_* values in READY->PAUSED
19182 2005-11-18 Andy Wingo <wingo@pobox.com>
19184 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19185 Whoops, check the right fd. Also add some debugging.
19186 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19187 (do_linear_regression): Add a crapload of debugging. Subtract off
19188 the minimum values from the input series to discard unneeded bits.
19189 Use only int arithmetic. There is still double arithmetic when
19190 calculating the intercept that needs fixing. Return boolean to
19191 indicate success; FALSE would mean the domain or range is too
19192 great. Still needs fixes.
19194 2005-11-18 Wim Taymans <wim@fluendo.com>
19196 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19197 For the current position in stream time, we need to subtract
19200 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19201 Release lock before calling the callback function of async
19204 2005-11-18 Andy Wingo <wingo@pobox.com>
19206 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19207 Port goes all the way to MAXUINT16.
19209 * gst/net/gstnettimeprovider.c: Make the port range the same as
19210 for the kernel: 0 assigns, otherwise ports are less than
19213 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19216 * check/net/gstnetclientclock.c (test_functioning): Add the start
19219 2005-11-18 Wim Taymans <wim@fluendo.com>
19221 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19222 (gst_bin_remove_func), (bin_bus_handler):
19224 Removing a clock provider from a bin, triggers a clock lost message
19225 so that a new clock will be selected.
19226 Adding a clock to a bin triggers a clock provider message.
19227 Make sure we reselect a clock when we received a clock lost message.
19228 Keep a reference to the element that provided the clock.
19230 2005-11-18 Andy Wingo <wingo@pobox.com>
19232 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19233 the clock initially so it produces values around the base time.
19234 (gst_net_client_clock_class_init): Typo fix.
19235 (gst_net_client_clock_thread): Add note on when the socket gets
19238 2005-11-17 Wim Taymans <wim@fluendo.com>
19240 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19241 Free remote and local time arrays.
19243 2005-11-17 Wim Taymans <wim@fluendo.com>
19245 * gst/net/gstnetclientclock.c: (do_linear_regression),
19246 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19247 Fix compilation, uninitialized vars and a forgotten continue.
19249 2005-11-17 Andy Wingo <wingo@pobox.com>
19251 * check/Makefile.am (check_PROGRAMS):
19252 * check/net/gstnetclientclock.c: Add a most minimal test for the
19253 net client clock. More to come later.
19255 * gst/net/gstnet.h:
19256 * gst/net/Makefile.am: Add netclientclock.
19258 * gst/net/gstnetclientclock.h:
19259 * gst/net/gstnetclientclock.c: New files, implement an untested
19260 GstClock that takes its time from a network time provider.
19261 Implements the algorithm in network-clock.scm.
19263 * tests/network-clock.scm (*window-size*): Rename from
19265 * tests/network-clock.scm (network-time):
19266 * tests/network-clock-utils.scm (q-push): Update callers.
19268 2005-11-17 Wim Taymans <wim@fluendo.com>
19270 * gst/gstbin.c: (gst_bin_provide_clock_func),
19271 (gst_bin_sort_iterator_new):
19272 And unref the child too..
19274 2005-11-17 Wim Taymans <wim@fluendo.com>
19276 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19277 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19278 Refactor the sort iterator so it can be used while holding the
19280 Make clock selection select a clock closest to the source.
19282 2005-11-17 Michael Smith <msmith@fluendo.com>
19284 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19285 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19287 Anonymous structs are a gcc (and some other compilers) extension, so
19288 don't use them. Since this is only for ABI-compatibility, and our
19289 API/ABI freeze is over in a few days, this whole thing will only
19290 last a few days, so don't bother trying to think up a meaningful
19291 name for the struct.
19293 2005-11-17 Andy Wingo <wingo@pobox.com>
19295 * gst/gstclock.h (GstClock): Add rate and offset properties,
19296 preserving ABI stability. Add rate/offset accessors. Will file bug
19297 for the freeze break.
19299 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19300 and offset, trying to keep precision and avoiding
19301 underflow/overflow.
19302 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19303 functions. Make gst_clock_set_time_adjust obsolete.
19304 (gst_clock_set_time_adjust): Note that this function is obsolete.
19305 Will file bug soon.
19307 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19308 greppable by using GST_PADDING-1+1.
19310 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19312 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19314 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19315 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19317 * gst/gstpadtemplate.h:
19318 * gst/gstpluginfeature.h:
19319 Don't use c++ style comments in headers (#321638).
19321 2005-11-16 Andy Wingo <wingo@pobox.com>
19323 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19326 * check/net/gstnettimeprovider.c: Check to see that the time
19327 provider actually provides times. Works, yo!
19329 2005-11-16 Wim Taymans <wim@fluendo.com>
19331 * check/Makefile.am:
19334 * check/elements/fakesrc.c: (GST_START_TEST):
19335 Set element to NULL before disposing it.
19337 2005-11-16 Andy Wingo <wingo@pobox.com>
19339 * gst/net/Makefile.am:
19340 * gst/net/gstnet.h:
19341 * gst/net/gstnettimeprovider.c:
19342 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19343 provider, include it from gstnet.h, and add it to the build.
19345 * gst/net/gstnettimepacket.h:
19346 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19347 sending and receiving.
19349 2005-11-16 Wim Taymans <wim@fluendo.com>
19351 * check/Makefile.am:
19352 Enable valgrind check.
19354 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19355 (gst_fake_src_alloc_buffer):
19358 2005-11-16 Wim Taymans <wim@fluendo.com>
19360 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19361 Call parent finalize too.
19363 2005-11-16 Wim Taymans <wim@fluendo.com>
19365 * check/Makefile.am:
19366 Enable valgrind check that should work fine now.
19368 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19369 * gst/gstqueue.c: (gst_queue_init):
19370 Fix memleaks in pad allocation.
19372 2005-11-16 Andy Wingo <wingo@pobox.com>
19374 * gst/net/Makefile.am:
19375 * gst/net/gstnet.h: New part of core to hold network elements and
19376 objects. Put in core because it exposes API that applications want
19377 to use. The library is named libgstnet-tempname right now because
19378 of the existing libgstnet in gst-plugins-base. Solution is
19379 probably to rename the one in plugins-base; will file a bug for
19382 * gst/net/gstnettimeprovider.c:
19383 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19384 get_time call over the network.
19387 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19389 * check/Makefile.am:
19390 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19391 get additions shortly.
19393 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19395 * gst/gstpad.c: (gst_pad_new_from_static_template):
19397 add gst_pad_new_from_static_template functions
19398 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19399 (gst_check_setup_sink_pad):
19400 * gst/elements/gsttee.c: (gst_tee_init):
19403 2005-11-16 Wim Taymans <wim@fluendo.com>
19405 * gst/gstpad.c: (gst_pad_pause_task):
19406 Removed warning, it's not really an error either.
19408 2005-11-16 Wim Taymans <wim@fluendo.com>
19410 * gst/base/gstbasetransform.c:
19411 (gst_base_transform_prepare_output_buf),
19412 (gst_base_transform_event):
19413 Check if the caps are NULL, this can happen if the element
19414 is shutting down and the pad caps are set to NULL.
19416 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19418 * gst/elements/gsttee.c: (gst_tee_init):
19419 fix pad template leak in tee
19421 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19423 * gst/glib-compat.c: (g_value_dup_gst_object):
19424 * gst/glib-compat.h:
19425 * gst/gstpad.c: (gst_pad_set_property):
19426 use gst_object_ref when setting the pad template; this will
19427 trigger the pad template leaks on GLib 2.6 and the slaves
19429 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19431 * gst/glib-compat.c: (gst_flags_get_first_value):
19432 * gst/glib-compat.h:
19433 * gst/gstregistryxml.c:
19434 remove functions copied from GLib 2.6
19436 2005-11-16 Michael Smith <msmith@fluendo.com>
19439 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19440 do, but only breaks with newer valgrind versions. We're not a
19441 valgrind tool, we have no link-time dependencies on libcoregrind.
19443 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19445 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19447 * gst/gstmessage.h:
19450 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19452 * gst/base/gstbasesrc.c: (gst_base_src_init):
19453 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19454 * gst/gstqueue.c: (gst_queue_init):
19455 * gst/gstregistryxml.c: (load_feature):
19456 Revert all these unrefs, they don't even pass make check !
19458 2005-11-15 Johan Dahlin <johan@gnome.org>
19460 * gst/base/gstbasesrc.c: (gst_base_src_init):
19461 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19462 * gst/gstqueue.c: (gst_queue_init):
19463 Free pad templates, fixes a couple of leaks.
19465 2005-11-15 Daniel Fischer <dan at f3c dot com>
19467 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19469 * gst/gstpad.c: (gst_pad_get_property):
19470 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19471 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19474 2005-11-15 Wim Taymans <wim@fluendo.com>
19479 2005-11-15 Andy Wingo <wingo@pobox.com>
19481 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19483 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19484 using GST_CLOCK_TIME_NONE to disable base time management.
19485 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19486 time if it was NONE before.
19487 (gst_pipeline_change_state): Only munge the base time if
19488 stream_time != GST_CLOCK_TIME_NONE.
19490 * check/gst/gstpipeline.c (test_base_time): Punt around the
19491 problem of the probe not being called, because that's not the
19492 issue I'm looking at. Add a check that setting stream_time to NONE
19493 disables base time management.
19495 2005-11-15 Wim Taymans <wim@fluendo.com>
19497 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19498 segment_stop == -1 at startup.
19500 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19501 (gst_base_transform_change_state):
19502 Init segment values at start.
19504 2005-11-15 Wim Taymans <wim@fluendo.com>
19506 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19507 0 segment values are 0 in any format.
19509 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19510 * gst/base/gstbasetransform.h:
19511 Parse newsegment correctly in basetransform
19513 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19514 Sync to clock using updated segment values.
19516 2005-11-15 Andy Wingo <wingo@pobox.com>
19518 * check/gst/gstpipeline.c (test_base_time): Add check that the
19519 base time and stream time are reset correctly.
19521 2005-11-15 Wim Taymans <wim@fluendo.com>
19523 * docs/design/part-TODO.txt:
19524 Some more TODO items.
19526 2005-11-15 Andy Wingo <wingo@pobox.com>
19528 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19529 error if the user selected "no clock" as the clocking method.
19531 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19532 timestamps with live capture.
19534 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19535 is 0 but we are a live source, timestamp the buffers using the
19538 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19540 * docs/gst/gstreamer-sections.txt:
19542 * gst/gstghostpad.c:
19547 2005-11-14 Wim Taymans <wim@fluendo.com>
19550 add suppressions from Wim's Debian machine
19552 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19555 add suppressions from Andy's AMD64 Ubuntu machine
19557 2005-11-14 Andy Wingo <wingo@pobox.com>
19559 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19560 STATE_LOCK not necessary. Fixes #311489.
19562 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19565 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19566 this function is not implemented.
19568 2005-11-14 Julien MOUTTE <julien@moutte.net>
19570 * gst/base/gstbasetransform.c:
19571 (gst_base_transform_prepare_output_buf):
19572 Ref the source pad caps while we need them.
19575 2005-11-11 Wim Taymans <wim@fluendo.com>
19577 * docs/gst/gstreamer-sections.txt:
19578 Added some docs for GstCollectData.
19580 * gst/base/gstadapter.c:
19581 Some small code example fix.
19583 * gst/base/gstcollectpads.c:
19584 * gst/base/gstcollectpads.h:
19585 Document some more.
19587 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19589 * configure.ac: back to HEAD
19591 === release 0.9.5 ===
19593 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19596 releasing 0.9.5, "Bike Lunch Day"
19598 2005-11-11 Wim Taymans <wim@fluendo.com>
19600 * gst/gstbuffer.c: (_gst_buffer_copy):
19603 * gst/gstcaps.c: (gst_caps_is_equal):
19605 Make _is_equal fast in the trivial cases.
19607 * gst/gstminiobject.c:
19608 * gst/gstminiobject.h:
19609 More docs. Spifify .h file.
19614 2005-11-11 Wim Taymans <wim@fluendo.com>
19616 * gst/base/gstbasetransform.c:
19617 (gst_base_transform_prepare_output_buf),
19618 (gst_base_transform_handle_buffer):
19620 If we're processing a buffer and need to allocate an output
19621 buffer, we cannot accept a format change. If we did get a
19622 format change, we have to alloc a buffer ourselves of the
19625 2005-11-11 Wim Taymans <wim@fluendo.com>
19627 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19628 While checking the flag for reentrancy in the gstcaps function
19629 is nice to detect recursive invocations, it also makes it
19630 impossible to call getcaps from multiple threads, which must be
19631 possible. So, checking for recursive calls has to go.
19633 2005-11-11 Michael Smith <msmith@fluendo.com>
19635 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19636 Don't sync on buffers that fall partially outside our current
19637 segment. Prevents an assertion failure/abort playing some files.
19639 2005-11-10 Andy Wingo <wingo@pobox.com>
19641 * check/gst/gstbin.c (test_message_state_changed_children): Style
19644 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19645 gst_bus_poll with the signal watch. Ensures that poll and a signal
19646 watch see the same messages.
19648 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19649 a poll and a watch at the same time get the same messages.
19651 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19653 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19654 * gst/gstcaps.c: (gst_caps_intersect):
19655 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19656 and it's not needed.
19658 2005-11-10 Wim Taymans <wim@fluendo.com>
19660 * docs/design/part-TODO.txt:
19663 2005-11-10 Wim Taymans <wim@fluendo.com>
19665 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19666 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19667 (gst_base_src_do_sync), (gst_base_src_get_range):
19668 Implement clock sync in base class.
19670 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19672 patch by: Tim-Philipp Müller <tim at centricular dot net>
19674 * gst/gststructure.c: (gst_structure_parse_field),
19675 (gst_structure_from_string):
19676 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19677 so that gst_parse_launch() can deal with spaces in filtered link
19678 caps (fixes #164479)
19679 * check/gst/capslist.h:
19680 * check/gst/gststructure.c: (GST_START_TEST):
19681 add unit tests for this change
19683 2005-11-10 Wim Taymans <wim@fluendo.com>
19685 * docs/gst/gstreamer-sections.txt:
19686 * gst/gstelement.c:
19687 * gst/gstelement.h:
19688 Fix docs, move some STATE macros to private.
19690 2005-11-10 Wim Taymans <wim@fluendo.com>
19692 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19693 Added check for bug #317341
19697 Some more spiffifying.
19699 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19700 Call peer linkfunction if we are a source pad. Totally fixes
19704 Update docs, source pads should call the peer linkfunction
19705 so they can atomically perform the pad link.
19707 2005-11-09 Wim Taymans <wim@fluendo.com>
19711 Uber-spiffy-spiffify some more.
19713 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19715 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19716 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19717 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19718 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19719 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19720 * gst/gstpad.c: (gst_pad_init):
19721 Use GST_DEBUG_FUNCPTR() more extensively.
19723 2005-11-09 Wim Taymans <wim@fluendo.com>
19725 * gst/gstobject.c: (gst_object_class_init):
19727 Documentation fixes.
19729 2005-11-09 Edward Hervey <edward@fluendo.com>
19731 * gst/gsttypefindfactory.c:
19734 2005-11-09 Edward Hervey <edward@fluendo.com>
19736 * gst/base/gsttypefindhelper.c:
19737 * gst/gsttypefind.c:
19738 * gst/gsttypefind.h:
19741 2005-11-09 Wim Taymans <wim@fluendo.com>
19743 * gst/gstiterator.c:
19750 2005-11-09 Wim Taymans <wim@fluendo.com>
19756 2005-11-09 Wim Taymans <wim@fluendo.com>
19758 * docs/gst/gstreamer-sections.txt:
19759 Moved the message async delivery private lock and cond
19760 to the private section.
19762 * gst/gstmessage.c:
19763 * gst/gstmessage.h:
19766 2005-11-09 Edward Hervey <edward@fluendo.com>
19768 * docs/gst/gstreamer-sections.txt:
19771 Document GstURIHandler
19773 2005-11-09 Wim Taymans <wim@fluendo.com>
19775 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19776 (gst_iterator_find_custom):
19777 * gst/gstiterator.h:
19780 2005-11-09 Wim Taymans <wim@fluendo.com>
19783 Document another field.
19785 * gst/gststructure.c:
19786 * gst/gststructure.h:
19789 2005-11-09 Wim Taymans <wim@fluendo.com>
19792 Documented structs.
19794 2005-11-09 Wim Taymans <wim@fluendo.com>
19796 * docs/gst/gstreamer-sections.txt:
19797 Added some new macros.
19804 2005-11-09 Wim Taymans <wim@fluendo.com>
19806 * docs/design/part-TODO.txt:
19807 Some more items for the TODO
19813 2005-11-09 Andy Wingo <wingo@pobox.com>
19815 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19816 to work on something else now tho...
19818 * gst/base/gstadapter.c: More adapter docs.
19820 * gst/elements/gstfilesink.c (gst_file_sink_start)
19821 (gst_file_sink_stop): New functions, replace the state change
19823 (gst_file_sink_class_init): Hook up the start and stop functions.
19824 (gst_file_sink_base_init): Don't set the state change handler any
19825 more. It was a bit ugly too, being set from here...
19826 (gst_file_sink_get_property, gst_file_sink_set_property):
19828 (gst_file_sink_set_location): More robust check that doesn't call
19829 GST_STATE. Ugggggg.
19831 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19833 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19834 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19836 2005-11-08 Wim Taymans <wim@fluendo.com>
19838 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19839 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19840 (gst_base_sink_chain), (gst_base_sink_change_state):
19841 * gst/base/gstbasesink.h:
19842 * gst/base/gstbasesrc.h:
19843 * gst/gstelement.h:
19845 Avoid excessive typechecking in macros.
19847 * gst/gstminiobject.c: (gst_mini_object_get_type),
19848 (gst_mini_object_init), (gst_mini_object_new),
19849 (gst_mini_object_free):
19850 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19851 (gst_object_finalize):
19852 Remove cruft code, optimize alloc_trace.
19854 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19856 * docs/faq/gst-uninstalled:
19857 fix up PS1 for systems that try to reset it
19859 2005-11-07 Wim Taymans <wim@fluendo.com>
19861 * gst/base/gstbasesrc.c: (gst_base_src_init),
19862 (gst_base_src_get_range):
19863 Set the segment_end to -1 initially. Fixed typefind.
19865 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19867 * gst/base/gstadapter.c:
19868 Debug category should be 'adapter', not 'GstAdapter'.
19870 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19871 (gst_collectpads_class_init), (gst_collectpads_init),
19872 (gst_collectpads_peek), (gst_collectpads_pop),
19873 (gst_collectpads_event), (gst_collectpads_chain):
19874 Add debug category and some debugging output. Use boilerplate
19875 macros. Remove some extraneous words from docs.
19877 2005-11-05 Andy Wingo <wingo@pobox.com>
19879 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19882 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19884 * docs/gst/gstreamer-sections.txt:
19887 * gst/gstminiobject.h:
19892 2005-11-04 Wim Taymans <wim@fluendo.com>
19894 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19895 Small update to stop at the configured segment_end
19898 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19900 * gst/gstregistry.c:
19901 * gst/gstregistry.h:
19904 2005-11-04 Edward Hervey <edward@fluendo.com>
19906 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19907 Check if we are doing a segment seek and have arrived at the
19908 end of that segment.
19910 2005-11-04 Wim Taymans <wim@fluendo.com>
19912 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19913 Don't leak a mutex unlock in case of an error.
19918 2005-11-04 Wim Taymans <wim@fluendo.com>
19920 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19922 Get the context to wake up only once.
19924 2005-11-03 Wim Taymans <wim@fluendo.com>
19926 * check/states/sinks.c: (GST_START_TEST):
19927 Uncomment fixed check.
19929 * docs/design/part-TODO.txt:
19932 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19933 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19934 (gst_base_sink_get_position):
19935 If we are going to PLAYING, post the right pending state
19936 when we post the intermediate paused message.
19938 * gst/gstelement.c: (gst_element_continue_state),
19939 (gst_element_set_state_func), (gst_element_change_state):
19940 Don't post state changes that were between the same state
19941 and were not ASYNC.
19943 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19945 * docs/gst/gstreamer-sections.txt:
19948 * gst/gstminiobject.h:
19951 more docs and doc style fixes
19953 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19955 * docs/gst/gstreamer-sections.txt:
19956 * gst/gstelement.c:
19957 * gst/gstminiobject.c:
19960 2005-11-03 Andy Wingo <wingo@pobox.com>
19962 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19963 state-changed messages actually have the right order and the right
19966 2005-11-03 Wim Taymans <wim@fluendo.com>
19968 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19969 Added some more checks. Specifically the case where NO_PREROLL
19970 elements are in the pipeline.
19972 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19973 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19974 (gst_base_sink_get_position):
19975 Post READY->PAUSED state change messages too.
19976 Fix bug where VOID was posted as pending state...
19978 * gst/gstbin.c: (gst_bin_recalc_state):
19979 use _element_continue_state() to continue the state change.
19981 * gst/gstelement.c: (gst_element_continue_state),
19982 (gst_element_commit_state), (gst_element_set_state_func),
19983 (gst_element_change_state), (gst_element_change_state_func):
19984 Lots of state change cleanups, assign the STATE_RETURN in
19985 a new continue_state() function that also propagates the
19986 last return value from a state change to the app.
19987 Update some debug statements with proper category.
19989 2005-11-03 Wim Taymans <wim@fluendo.com>
19991 * docs/design/part-events.txt:
19992 * docs/design/part-gstpipeline.txt:
19993 * docs/design/part-messages.txt:
19994 * docs/design/part-overview.txt:
19995 * docs/design/part-seeking.txt:
19996 * docs/design/part-states.txt:
19997 * docs/design/part-trickmodes.txt:
19998 * docs/manual/advanced-position.xml:
19999 Small docs updates.
20002 People think !! is ugly, this looks better.
20004 * gst/gstpad.c: (gst_pad_set_blocked_async):
20005 Remove !! since it's fixed elsewhere now.
20007 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20009 * gst/gstminiobject.h:
20011 Add !! to _FLAG_IS_SET macros to make the result boolean.
20013 2005-11-03 Edward Hervey <edward@fluendo.com>
20015 * gst/gstpad.c: (gst_pad_set_blocked_async):
20016 comparing a flag and a gboolean rarely returns coherent results...
20017 Added two characters (!!) to make that work correctly.
20019 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20021 * gst/gstbus.c: (gst_bus_class_init):
20024 * gst/gstqueue.c: (gst_queue_loop):
20025 Don't assume a miniobject that isn't a buffer is an
20026 event (it could be that there is a refcounting
20027 problem somewhere and the pointer is stale and
20028 refers to an already destroyed miniobject).
20030 2005-11-03 Julien MOUTTE <julien@moutte.net>
20032 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20034 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20036 * docs/manual/advanced-position.xml:
20037 Update seek example and explanations to current 0.9 API.
20039 * gst/elements/gsttypefindelement.c:
20040 (gst_type_find_element_activate):
20041 Remove FIXME comment now that the found caps
20044 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20046 * gst/gstregistryxml.c: (load_feature):
20047 Add another GST_STR_NULL instance
20049 2005-11-02 Edward Hervey <edward@fluendo.com>
20051 * gst/gstpad.c: (handle_pad_block):
20052 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20054 2005-11-02 Wim Taymans <wim@fluendo.com>
20059 * gst/gstelement.c: (gst_element_commit_state):
20060 Remove unused value.
20062 * gst/gstiterator.c:
20063 Mention that the returned element is reffed in the docs.
20065 2005-11-02 Wim Taymans <wim@fluendo.com>
20067 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20068 (gst_pad_push), (gst_pad_push_event):
20069 Unlock blocked pads when they are flushed.
20071 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20074 * docs/gst/gstreamer-sections.txt:
20077 * gst/gstregistry.c: (gst_registry_scan_path_level):
20078 fix for a nasty little missed situation where an installed plug-in
20079 which was in the cache did not get overridden by an uninstalled one
20080 which was earlier in the plugin path because the newly created plugin
20081 for the uninstalled one (not in the registry) didn't get its
20082 ->registered set to TRUE
20084 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20086 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20087 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20088 (gst_collectpads_is_active), (gst_collectpads_collect),
20089 (gst_collectpads_collect_range), (gst_collectpads_start),
20090 (gst_collectpads_stop), (gst_collectpads_peek),
20091 (gst_collectpads_pop), (gst_collectpads_available),
20092 (gst_collectpads_read), (gst_collectpads_flush):
20093 Guard public API with assertions.
20096 Fix docs for gst_pad_set_link_function().
20098 2005-11-02 Johan Dahlin <johan@gnome.org>
20100 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20101 Unref found_caps after we used it.
20103 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20105 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20106 Don't try to ref NULL.
20108 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20110 * win32/common/config.h.in:
20111 provide a GST_FUNCTION that just gives a string for now
20113 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20115 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20116 (gst_object_flags_get_type), (register_gst_bin_flags),
20117 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20118 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20119 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20120 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20121 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20122 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20123 (gst_clock_flags_get_type), (register_gst_state),
20124 (gst_state_get_type), (register_gst_state_change_return),
20125 (gst_state_change_return_get_type), (register_gst_state_change),
20126 (gst_state_change_get_type), (register_gst_element_flags),
20127 (gst_element_flags_get_type), (register_gst_core_error),
20128 (gst_core_error_get_type), (register_gst_library_error),
20129 (gst_library_error_get_type), (register_gst_resource_error),
20130 (gst_resource_error_get_type), (register_gst_stream_error),
20131 (gst_stream_error_get_type), (register_gst_event_type),
20132 (gst_event_type_get_type), (register_gst_seek_type),
20133 (gst_seek_type_get_type), (register_gst_seek_flags),
20134 (gst_seek_flags_get_type), (register_gst_format),
20135 (gst_format_get_type), (register_gst_index_certainty),
20136 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20137 (gst_index_entry_type_get_type),
20138 (register_gst_index_lookup_method),
20139 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20140 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20141 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20142 (gst_index_flags_get_type), (register_gst_debug_level),
20143 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20144 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20145 (gst_iterator_result_get_type), (register_gst_iterator_item),
20146 (gst_iterator_item_get_type), (register_gst_message_type),
20147 (gst_message_type_get_type), (register_gst_mini_object_flags),
20148 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20149 (gst_pad_link_return_get_type), (register_gst_flow_return),
20150 (gst_flow_return_get_type), (register_gst_activate_mode),
20151 (gst_activate_mode_get_type), (register_gst_pad_direction),
20152 (gst_pad_direction_get_type), (register_gst_pad_flags),
20153 (gst_pad_flags_get_type), (register_gst_pad_presence),
20154 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20155 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20156 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20157 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20158 (gst_plugin_flags_get_type), (register_gst_rank),
20159 (gst_rank_get_type), (register_gst_query_type),
20160 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20161 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20162 (gst_tag_flag_get_type), (register_gst_task_state),
20163 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20164 (gst_alloc_trace_flags_get_type),
20165 (register_gst_type_find_probability),
20166 (gst_type_find_probability_get_type), (register_gst_uri_type),
20167 (gst_uri_type_get_type), (register_gst_parse_error),
20168 (gst_parse_error_get_type):
20169 * win32/common/gstversion.h:
20170 update win32 copies
20172 2005-11-01 Luca Ognibene <luogni@tin.it>
20175 fix docs. popt is dead, long live GOption.
20177 2005-10-31 Wim Taymans <wim@fluendo.com>
20182 2005-10-31 Andy Wingo <wingo@pobox.com>
20186 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20188 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20189 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20190 the possibility of deadlocks here if code calling notify() or
20191 set() has a lock that can be taken in another notify handler (ABBA
20192 with class lock and e.g. python GIL state lock).
20194 2005-10-28 Julien MOUTTE <julien@moutte.net>
20196 * gst/gstbus.c: Doc updates.
20198 2005-10-28 Wim Taymans <wim@fluendo.com>
20200 * docs/design/part-TODO.txt:
20201 * gst/gstiterator.c:
20202 * gst/gstsystemclock.c:
20203 * gst/gstsystemclock.h:
20206 2005-10-28 Edward Hervey <edward@fluendo.com>
20208 * docs/gst/gstreamer-docs.sgml:
20209 * docs/gst/gstreamer-sections.txt:
20210 the GstURIType documentation page is private, it only defines GstURIType
20211 which should be defined in the GstURIHandler page
20213 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20215 * gst/gstbin.c: (gst_bin_class_init):
20218 Documentation updates.
20220 2005-10-28 Wim Taymans <wim@fluendo.com>
20222 * docs/gst/gstreamer-sections.txt:
20225 Documented the clocks.
20227 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20229 * docs/gst/gstreamer-sections.txt:
20230 move some macros to private sections
20231 * gst/gstminiobject.c:
20232 * gst/gstminiobject.h:
20233 add descriptions provided by ds and some more
20235 mark macro as to be removed
20237 2005-10-28 Wim Taymans <wim@fluendo.com>
20239 * docs/design/part-TODO.txt:
20240 Add an item to TODO.
20242 * gst/gstiterator.c: (gst_iterator_fold),
20243 (gst_iterator_find_custom):
20244 * gst/gstiterator.h:
20247 2005-10-28 Wim Taymans <wim@fluendo.com>
20249 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20250 (gst_base_transform_init):
20253 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20254 An EOS event marks the queue as completely filled.
20256 2005-10-27 Wim Taymans <wim@fluendo.com>
20258 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20259 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20260 Some more debugging.
20262 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20263 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20264 (gst_base_transform_event), (gst_base_transform_getrange),
20265 (gst_base_transform_chain):
20266 * gst/base/gstbasetransform.h:
20268 Protect transform and concurrent buffer alloc with a new lock.
20269 Try not to break ABI/API.
20271 2005-10-27 Wim Taymans <wim@fluendo.com>
20273 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20274 (gst_base_src_init), (gst_base_src_query),
20275 (gst_base_src_default_newsegment),
20276 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20277 (gst_base_src_send_event), (gst_base_src_event_handler),
20278 (gst_base_src_pad_get_range), (gst_base_src_loop),
20279 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20280 (gst_base_src_start), (gst_base_src_deactivate),
20281 (gst_base_src_activate_push), (gst_base_src_change_state):
20282 Move some stuff around and cleanup things.
20284 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20286 * gst/base/gstbasesrc.c: (gst_base_src_query):
20287 Add missing break statements.
20289 2005-10-27 Wim Taymans <wim@fluendo.com>
20291 * check/gst/gstbin.c: (GST_START_TEST):
20292 An extra refcount is taken in basesrc.
20294 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20295 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20296 (gst_base_src_loop):
20297 Small cleanups, check for flushing after being unlocked from the
20298 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20299 Don't send out EOS when going to READY.
20301 2005-10-27 Wim Taymans <wim@fluendo.com>
20303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20304 (gst_base_sink_get_position):
20307 * gst/gstbin.c: (message_check), (bin_replace_message),
20308 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20309 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20310 (bin_query_duration_init), (bin_query_duration_fold),
20311 (bin_query_duration_done), (bin_query_generic_fold),
20313 * tools/gst-launch.c: (main):
20316 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20318 * examples/controller/audio-example.c: (main):
20319 * examples/queue/queue.c: (event_loop):
20320 * gst/base/gstbasetransform.h:
20321 * gst/gstelement.c: (gst_element_send_event):
20323 * gst/gstpad.c: (gst_pad_send_event):
20326 changing log priority in error situations
20328 2005-10-25 Wim Taymans <wim@fluendo.com>
20330 * gst/gstbin.c: (message_check), (bin_replace_message),
20331 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20332 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20333 (bin_query_duration_init), (bin_query_duration_fold),
20334 (bin_query_duration_done), (bin_query_generic_fold),
20336 Some doc and debug updates.
20337 Cache previously requested query DURATION for speed. invalidate
20338 cached duration if element posts a DURATION message.
20340 2005-10-25 Wim Taymans <wim@fluendo.com>
20342 * docs/design/part-TODO.txt:
20345 * gst/gstbin.c: (message_check), (bin_replace_message),
20346 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20347 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20348 (bin_query_duration_init), (bin_query_duration_fold),
20349 (bin_query_duration_done), (bin_query_generic_fold),
20351 Handle SEGMENT_START/DONE messages correctly.
20352 More evolved query algorithm that handles duration queries
20355 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20356 (gst_element_get_state_func), (gst_element_abort_state),
20357 (gst_element_commit_state), (gst_element_lost_state):
20358 Some more debugging.
20360 * gst/gstmessage.h:
20363 2005-10-25 Wim Taymans <wim@fluendo.com>
20365 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20366 Don't use invalid stream_time.
20368 * gst/gstevent.c: (gst_event_new_newsegment):
20369 stream_time in newsegment cannot be undefined.
20371 2005-10-24 Wim Taymans <wim@fluendo.com>
20376 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20378 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20380 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20382 * docs/libs/tmpl/gstdparam.sgml:
20383 * docs/libs/tmpl/gstdplinint.sgml:
20384 * docs/libs/tmpl/gstdpman.sgml:
20385 * docs/libs/tmpl/gstdpsmooth.sgml:
20386 * docs/libs/tmpl/gstunitconvert.sgml:
20389 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20394 === release 0.9.4 ===
20396 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20399 releasing 0.9.4, "Tyrannosaurus Rex"
20401 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20403 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20404 (gst_file_sink_get_current_offset):
20405 Use fseeko() and ftello() if available. When falling back on
20406 lseek() to get the current offset, fflush() first to make sure
20407 everything is up-to-date and we get the right offset.
20409 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20412 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20413 * gst/gsterror.c: (_gst_stream_errors_init):
20415 * gst/gstqueue.c: (gst_queue_loop):
20417 remove prematurely added error category and clean up the instances
20419 2005-10-21 Wim Taymans <wim@fluendo.com>
20421 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20422 (gst_base_sink_get_position), (gst_base_sink_query),
20423 (gst_base_sink_change_state):
20424 Simply set the right flag when going to playing, that's all
20425 we need to do instead of calling a function inside the object
20426 lock (that could take the lock as well and deadlock)
20428 2005-10-21 Wim Taymans <wim@fluendo.com>
20430 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20431 (gst_base_src_loop):
20432 Don't warn, the peer element knows what to do best when
20433 the seek failed, it might try something else.
20435 2005-10-21 Wim Taymans <wim@fluendo.com>
20437 * gst/base/gstbasesrc.c: (gst_base_src_init),
20438 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20441 2005-10-21 Wim Taymans <wim@fluendo.com>
20443 * docs/design/part-segments.txt:
20446 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20447 Correctly set caps, even on the subbufer.
20449 2005-10-21 Wim Taymans <wim@fluendo.com>
20451 * docs/gst/gstreamer-docs.sgml:
20452 * docs/gst/gstreamer-sections.txt:
20453 * gst/gstelement.h:
20456 * gst/gstmessage.h:
20459 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20463 And 2% more doc coverage.
20465 2005-10-21 Andy Wingo <wingo@pobox.com>
20467 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20468 position reporting.
20470 2005-10-20 Wim Taymans <wim@fluendo.com>
20472 * gst/gsterror.c: (gst_error_get_message):
20475 * gst/gststructure.c:
20480 2005-10-20 Wim Taymans <wim@fluendo.com>
20485 Another 1% more coverage.
20487 2005-10-20 Wim Taymans <wim@fluendo.com>
20489 * docs/gst/gstreamer-sections.txt:
20490 * gst/gstelement.c: (gst_element_get_state_func),
20491 (gst_element_abort_state), (gst_element_commit_state),
20492 (gst_element_lost_state):
20494 * gst/gstquery.c: (gst_query_set_position),
20495 (gst_query_parse_position), (gst_query_set_duration),
20496 (gst_query_parse_duration), (gst_query_new_convert):
20498 Yay! 1% more docs coverage.
20500 2005-10-20 Wim Taymans <wim@fluendo.com>
20503 * gst/gstquery.c: (gst_query_set_position),
20504 (gst_query_parse_position), (gst_query_set_duration),
20505 (gst_query_parse_duration), (gst_query_new_convert):
20507 * gst/gstutils.c: (gst_element_query_convert):
20509 Docs and consistency fixes.
20511 2005-10-20 Wim Taymans <wim@fluendo.com>
20517 2005-10-20 Wim Taymans <wim@fluendo.com>
20519 * gst/gstbin.c: (message_check), (bin_replace_message),
20520 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20521 (update_degree), (gst_bin_sort_iterator_next),
20522 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20523 Reworked the message handling a bit, cache the messages instead of
20524 only the senders. alows us to do more in the future.
20526 2005-10-20 Wim Taymans <wim@fluendo.com>
20528 * docs/design/part-TODO.txt:
20531 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20532 (gst_base_sink_query):
20533 Don't use clock time to report position when in EOS.
20535 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20537 * tools/gst-inspect.c: (print_interfaces),
20538 (print_element_properties_info), (print_element_info):
20539 Fix interface output with gst-inspect -a; don't print
20540 newlines after double/float properties.
20542 2005-10-20 Wim Taymans <wim@fluendo.com>
20544 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20545 (gst_base_sink_query):
20546 Speed up current position calculation.
20548 * gst/base/gstbasesrc.c: (gst_base_src_query),
20549 (gst_base_src_default_newsegment):
20550 Correctly set stream position in newsegment.
20552 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20553 (update_degree), (gst_bin_sort_iterator_next),
20554 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20555 * gst/gstmessage.c: (gst_message_new_custom):
20556 Clean up debugging info
20558 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20559 (gst_queue_loop), (gst_queue_handle_src_query):
20562 2005-10-19 Wim Taymans <wim@fluendo.com>
20564 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20565 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20566 Fix query handling again.
20568 2005-10-19 Wim Taymans <wim@fluendo.com>
20570 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20571 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20572 * gst/base/gstbasesrc.c: (gst_base_src_query):
20573 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20574 * gst/elements/gsttypefindelement.c:
20575 (gst_type_find_handle_src_query), (find_element_get_length),
20576 (gst_type_find_element_activate):
20579 * gst/gstquery.c: (gst_query_new_position),
20580 (gst_query_set_position), (gst_query_parse_position),
20581 (gst_query_new_duration), (gst_query_set_duration),
20582 (gst_query_parse_duration), (gst_query_set_segment),
20583 (gst_query_parse_segment):
20585 Bundling query position/duration is not a good idea since duration
20586 does not change much and we don't want to recalculate it for every
20587 position query, so they are separated again..
20588 Base value in segment query is not needed.
20590 * gst/gstqueue.c: (gst_queue_handle_src_query):
20591 * gst/gstutils.c: (gst_element_query_position),
20592 (gst_element_query_duration), (gst_pad_query_position),
20593 (gst_pad_query_duration):
20595 Updates for query API change.
20596 Added some docs here and there.
20598 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20600 * check/gst/gstbin.c: (GST_START_TEST):
20601 * check/gst/gstghostpad.c: (GST_START_TEST):
20602 * check/pipelines/cleanup.c: (GST_START_TEST):
20603 wait on thread to die so we can check refcount correctly
20605 2005-10-18 Wim Taymans <wim@fluendo.com>
20607 * check/pipelines/stress.c: (GST_START_TEST):
20608 Make check a little more time consuming.
20610 2005-10-18 Wim Taymans <wim@fluendo.com>
20612 * check/Makefile.am:
20613 * check/pipelines/stress.c: (GST_START_TEST),
20614 (simple_launch_lines_suite), (main):
20615 Small state change torture test.
20617 * docs/design/part-states.txt:
20618 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20619 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20620 (gst_base_sink_change_state):
20621 Never take state lock from streaming thread, clean up ugly
20622 hacks. Unfortunatly core does not yet support nice ways to
20623 async commit state.
20625 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20627 Start state recalc if a STATE_DIRTY message is posted, but only
20628 on the toplevel bin.
20630 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20631 (gst_element_get_state_func), (gst_element_abort_state),
20632 (gst_element_commit_state), (gst_element_lost_state),
20633 (gst_element_set_state_func), (gst_element_change_state):
20634 * gst/gstelement.h:
20635 State variables are now protected with the LOCK, the state
20636 lock is only used to serialize _set_state().
20638 2005-10-18 Wim Taymans <wim@fluendo.com>
20640 * check/gst/gstbin.c: (GST_START_TEST):
20641 * check/gst/gstmessage.c: (GST_START_TEST):
20642 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20643 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20645 * gst/gstelement.c: (gst_element_abort_state),
20646 (gst_element_commit_state), (gst_element_lost_state):
20647 * gst/gstmessage.c: (gst_message_new_state_changed),
20648 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20649 (gst_message_new_segment_done), (gst_message_new_duration),
20650 (gst_message_parse_state_changed),
20651 (gst_message_parse_segment_start),
20652 (gst_message_parse_segment_done), (gst_message_parse_duration):
20653 * gst/gstmessage.h:
20654 * tools/gst-launch.c: (event_loop):
20655 Seriously, this is better than a previous commit as we only need
20656 to notify the fact that an element changed state in a streaming
20657 thread, marking the state of the parents dirty, hence the
20658 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20661 2005-10-18 Wim Taymans <wim@fluendo.com>
20663 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20664 (gst_bin_recalc_func):
20665 * gst/gstelement.c: (gst_element_set_clock),
20666 (gst_element_abort_state), (gst_element_lost_state):
20667 Cleanups, prepare for state change fixes.
20669 2005-10-18 Wim Taymans <wim@fluendo.com>
20672 * gst/gstelement.c: (gst_element_class_init),
20673 (gst_element_set_state), (gst_element_set_state_func):
20674 * gst/gstelement.h:
20675 Pending ABI changes.
20676 GThreadPool in GstBinClass to monitor async state changes.
20677 state_cookie in GstElement to detect concurrent gst/set state.
20678 set_state is now virtual too in case a very complicated element
20679 has to be constructed.
20681 2005-10-18 Wim Taymans <wim@fluendo.com>
20683 * check/gst/gstbin.c: (GST_START_TEST):
20684 * check/gst/gstmessage.c: (GST_START_TEST):
20685 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20686 * gst/gstbin.c: (bin_bus_handler):
20687 * gst/gstelement.c: (gst_element_commit_state),
20688 (gst_element_lost_state):
20689 * gst/gstmessage.c: (gst_message_new_state_changed),
20690 (gst_message_new_segment_start), (gst_message_new_segment_done),
20691 (gst_message_new_duration), (gst_message_parse_state_changed),
20692 (gst_message_parse_segment_start),
20693 (gst_message_parse_segment_done), (gst_message_parse_duration):
20694 * gst/gstmessage.h:
20695 * tools/gst-launch.c: (event_loop):
20696 Make messages future proof.
20697 state-change gets a flag if it was a message comming from the
20699 segment-start/stop can also be specified in other formats.
20700 A message to notify an app that a pipeline changed playback
20702 Also fix a GstMessage leak in -launch
20704 2005-10-18 Andy Wingo <wingo@pobox.com>
20706 * gst/gstelement.c (gst_element_dispose): More helpful message.
20708 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20710 reviewed by: <delete if not using a buddy>
20712 * common/gtk-doc.mak:
20714 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20716 * gst/gstregistry.c: (gst_registry_scan_path_level):
20717 unref a plug-in we get that was already initialized
20719 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20721 * docs/gst/gstreamer-sections.txt:
20722 * docs/libs/gstreamer-libs-sections.txt:
20723 * gst/gstelement.h:
20724 add new api entries
20725 hide internal macro
20727 2005-10-17 Andy Wingo <wingo@pobox.com>
20729 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20732 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20734 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20736 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20737 (gst_element_get_state_func): Better debug message.
20738 (gst_element_commit_state): s/INFO/DEBUG/.
20739 (gst_element_lost_state, gst_element_change_state):
20741 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20742 (gst_message_new_custom): s/INFO/LOG/.
20744 2005-10-17 Michael Smith <msmith@fluendo.com>
20746 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20747 Check if end time is valid using end time, not start time.
20749 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20751 * check/gst-libs/controller.c: (GST_START_TEST),
20752 (gst_controller_suite):
20753 * libs/gst/controller/gstcontroller.c:
20754 (gst_controlled_property_set_interpolation_mode):
20755 * libs/gst/controller/gstcontroller.h:
20756 * libs/gst/controller/gstinterpolation.c:
20757 * testsuite/controller/.cvsignore:
20758 * testsuite/controller/Makefile.am:
20759 * testsuite/controller/interpolator.c:
20760 merge controller testsuites
20762 remove mem-chunk from docs
20764 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20766 * gst/gstmemchunk.c:
20767 * gst/gstmemchunk.h:
20768 * gst/gsttrashstack.c:
20769 * gst/gsttrashstack.h:
20770 out. get out. you're fired. to the Attic !
20772 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20774 * gst/gstcaps.c: (gst_caps_intersect):
20775 fix signedness issues in a (hopefully) correct way
20776 * gst/gstelement.c: (gst_element_pads_activate):
20778 * gst/gstobject.c: (gst_object_set_parent):
20781 2005-10-17 Julien MOUTTE <julien@moutte.net>
20783 * gst/gstvalue.h: Fix prototypes.
20785 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20787 * docs/gst/gstreamer-sections.txt:
20788 * gst/gst.c: (gst_version_string):
20790 * gst/gstversion.h.in:
20791 * win32/common/libgstreamer.def:
20792 add gst_version_string ()
20794 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20798 * gst/gst.c: (init_post):
20799 * win32/common/config.h.in:
20801 * gst/gstcaps.c: (gst_caps_intersect):
20802 use gint64, the range could be bigger than a guint
20804 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20807 document potential problem in 2038
20809 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20811 * gst/gstcaps.c: (gst_caps_intersect):
20812 Fix guint j diving under 0
20814 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20817 * win32/common/config.h:
20818 * win32/common/config.h.in:
20819 check for process.h, declares getpid() on Windows
20821 include process.h if we have it
20822 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20823 * gst/gstmemchunk.h:
20824 fix signedness issues
20825 * win32/common/libgstreamer.def:
20828 2005-10-16 Julien MOUTTE <julien@moutte.net>
20830 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20831 fix. Because of unsigned ints, caps intersection was going nuts and
20832 trying to access structures with G_MAXUINT index. That fixes
20833 videotestsrc ! ffmpegcolorspace ! fakesink
20834 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20837 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20840 use the gettext macro
20841 * gst/elements/gstelements.c:
20843 * gst/indexers/gstindexers.c:
20844 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20845 * win32/common/config.h:
20847 * win32/common/config.h.in:
20848 add the template to generate config.h
20849 * win32/common/gstenumtypes.c:
20850 * win32/common/gstversion.h:
20853 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20855 * gst/gst.c: (gst_version):
20856 * gst/gstversion.h.in:
20859 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20862 Oops, add missing closing bracket.
20864 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20867 use common m4's for argument checking
20869 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20871 * docs/gst/gstreamer-sections.txt:
20873 Add GST_EVENT_TYPE_NAME() macro.
20875 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20878 * gst/gstpluginfeature.c:
20880 privatize more symbols
20882 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20885 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20886 everything that uses GStreamer API should have the includes
20888 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20890 * docs/gst/gstreamer-sections.txt:
20891 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20893 give each value a _get_type, removes the DATA exports
20895 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20899 remove _gst_registry_auto_load, not used anymore
20900 * gst/gstbin.c: (gst_bin_get_type):
20902 * gst/gstelement.c: (gst_element_get_type):
20903 * gst/gstelement.h:
20904 * gst/gstobject.c: (gst_object_get_type):
20906 * gst/gstpad.c: (gst_pad_get_type):
20908 make _get_type functions similar, fixes data export from library
20910 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20913 correctly make conditionals
20914 * gst/elements/Makefile.am:
20915 * gst/elements/gstelements.c:
20916 fix typo causing fdsrc not to build
20918 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20920 * testsuite/Makefile.am:
20921 * testsuite/bytestream/.cvsignore:
20922 * testsuite/bytestream/Makefile.am:
20923 * testsuite/bytestream/filepadsink.c:
20924 * testsuite/bytestream/gstbstest.c:
20925 * testsuite/bytestream/test1.c:
20926 * testsuite/bytestream/testfile1:
20927 * testsuite/caps/normalisation.c:
20928 * testsuite/caps/random.c: (main):
20929 * testsuite/cleanup/.cvsignore:
20930 * testsuite/cleanup/Makefile.am:
20931 * testsuite/cleanup/cleanup1.c:
20932 * testsuite/cleanup/cleanup2.c:
20933 * testsuite/cleanup/cleanup3.c:
20934 * testsuite/cleanup/cleanup4.c:
20935 * testsuite/cleanup/cleanup5.c:
20936 * testsuite/controller/interpolator.c:
20937 * testsuite/debug/printf_extension.c: (main):
20938 * testsuite/elements/tee.c:
20939 * testsuite/negotiation/.cvsignore:
20940 * testsuite/negotiation/Makefile.am:
20941 * testsuite/negotiation/pad_link.c:
20942 * testsuite/pad/Makefile.am:
20943 * testsuite/pad/chainnopull.c:
20944 * testsuite/pad/getnopush.c:
20945 * testsuite/pad/link.c:
20946 * testsuite/refcounting/sched.c: (create_pipeline):
20947 * testsuite/registry/Makefile.am:
20948 * testsuite/registry/gst-print-formats.c:
20949 * testsuite/schedulers/.cvsignore:
20950 * testsuite/schedulers/142183-2.c:
20951 * testsuite/schedulers/142183.c:
20952 * testsuite/schedulers/143777-2.c:
20953 * testsuite/schedulers/143777.c:
20954 * testsuite/schedulers/147713.c:
20955 * testsuite/schedulers/147819.c:
20956 * testsuite/schedulers/147894-2.c:
20957 * testsuite/schedulers/147894.c:
20958 * testsuite/schedulers/Makefile.am:
20959 * testsuite/schedulers/group_link.c:
20960 * testsuite/schedulers/queue_link.c:
20961 * testsuite/schedulers/relink.c:
20962 * testsuite/schedulers/unlink.c:
20963 * testsuite/schedulers/unref.c:
20964 * testsuite/schedulers/useless_iteration.c:
20965 * testsuite/states/bin.c:
20966 clean out/remove some stuff from the testsuite directories
20968 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20971 check for some headers
20972 * gst/elements/Makefile.am:
20973 * gst/elements/gstelements.c:
20974 don't compile fdsrc without sys/socket.h
20975 * gst/indexers/Makefile.am:
20976 * gst/indexers/gstindexers.c: (plugin_init):
20977 don't compile fileindex without mmap
20979 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20986 * check/Makefile.am:
20987 * docs/gst/Makefile.am:
20988 * examples/helloworld/Makefile.am:
20990 * gst/base/Makefile.am:
20991 * gst/check/Makefile.am:
20992 * gst/elements/Makefile.am:
20993 * gst/indexers/Makefile.am:
20994 * gst/parse/Makefile.am:
20995 * libs/gst/controller/Makefile.am:
20996 * libs/gst/dataprotocol/Makefile.am:
20997 * examples/helloworld/helloworld.c: (event_loop):
20998 compile fixes, though it's not being compiled currently
21000 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21002 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21003 Add some simple tests for the new taglist date API.
21005 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21007 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21008 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21009 Beautify 'last-message' output: print 'none' for buffer timestamps
21010 and durations if none is set; improve alignment with next messages.
21012 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21014 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21015 * gst/gstpluginfeature.h:
21016 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21017 * gst/gstregistry.h:
21018 * docs/gst/gstreamer-sections.txt:
21019 Add new API to check plugin feature version requirements.
21021 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21022 Some basic tests for the above.
21024 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21026 * gst/gststructure.c: (gst_structure_to_string):
21027 guard against NULL printf - happens when for example
21028 a message structure with GstClock gets serialized
21030 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21032 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21033 Fix presumable copy'n'pasto.
21035 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21037 * gst/elements/gstfakesrc.h:
21038 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21039 * gst/elements/gsttypefindelement.c:
21040 fix some signedness
21041 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21042 I wonder if this could actually write +2GB files before
21044 2005-10-13 Andy Wingo <wingo@pobox.com>
21046 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21047 Fix Timmeke Waymans bug.
21048 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21049 string of the proper length to gst_caps_from_string. There's a
21050 potential for, before this fix, that this could cause someone
21051 connecting over the network to cause a segfault if the payload is
21052 not NUL-terminated.
21054 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21056 * docs/design/draft-push-pull.txt:
21057 * docs/design/part-overview.txt:
21058 * docs/random/TODO-pre-0.9:
21059 * docs/random/old/ChangeLog.gstreamer:
21060 * gst/base/gstpushsrc.c:
21064 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21066 * gst/glib-compat.c: (gst_flags_get_first_value):
21067 * gst/glib-compat.h:
21068 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21069 (gst_value_compare_double), (gst_value_serialize_flags):
21070 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21073 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21075 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21076 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21078 * tools/gst-launch.c: (event_loop):
21079 print out clock nicely
21081 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21083 * docs/gst/gstreamer-sections.txt:
21084 * gst/gsttaglist.h:
21085 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21086 (gst_tag_list_get_date_index):
21087 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21088 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21090 2005-10-13 Julien MOUTTE <julien@moutte.net>
21092 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21093 (gst_collectpads_chain):
21094 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21097 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21099 * docs/gst/gstreamer-sections.txt:
21102 * tools/gst-inspect.c: (main):
21103 * tools/gst-launch.c: (main):
21104 * tools/gst-run.c: (main):
21105 * tools/gst-xmlinspect.c: (main):
21106 fix GOption context leaks
21109 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21113 * win32/common/config.h:
21115 * win32/vs6/grammar.dsp:
21116 * win32/vs6/libgstelements.dsp:
21117 * win32/vs6/libgstreamer.dsp:
21120 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21123 * gst/base/gstbasesrc.c: (gst_base_src_query):
21124 fix more guint64<->gdouble conversions
21126 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21129 add win32-update target
21130 * win32/common/gstconfig.h:
21131 * win32/common/gstenumtypes.c:
21132 * win32/common/gstenumtypes.h:
21133 * win32/common/gstversion.h:
21134 add files that visual studio can't generate
21136 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21139 add a win32-update target
21142 2005-10-12 Wim Taymans <wim@fluendo.com>
21144 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21145 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21146 * gst/gstelement.c: (gst_element_commit_state),
21147 (gst_element_set_state):
21148 Protect flags with proper lock.
21149 unref provided cached clock in dispose.
21151 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21154 * gst/gstminiobject.h:
21156 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21157 removed unused flags from miniobject
21160 2005-10-12 Wim Taymans <wim@fluendo.com>
21162 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21163 (gst_file_sink_event), (gst_file_sink_render):
21164 Flush before seeking.
21166 2005-10-12 Andy Wingo <wingo@pobox.com>
21168 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21169 always been the case.
21171 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21173 * check/gst/gstbin.c: (GST_START_TEST):
21174 * docs/gst/gstreamer-sections.txt:
21175 * gst/base/gstbasesink.c: (gst_base_sink_init):
21176 * gst/base/gstbasesrc.c: (gst_base_src_init),
21177 (gst_base_src_get_range), (gst_base_src_check_get_range),
21178 (gst_base_src_start), (gst_base_src_stop):
21179 * gst/base/gstbasesrc.h:
21180 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21181 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21182 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21186 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21188 * gst/gstelement.c: (gst_element_is_locked_state),
21189 (gst_element_set_locked_state), (gst_element_commit_state),
21190 (gst_element_set_state):
21191 * gst/gstelement.h:
21192 * gst/gstindex.c: (gst_index_init):
21194 * gst/gstminiobject.h:
21195 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21196 (gst_object_set_parent):
21198 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21199 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21201 * gst/gstpadtemplate.h:
21202 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21203 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21204 * gst/gstpipeline.h:
21205 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21206 (gst_file_index_commit):
21207 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21208 * testsuite/pad/link.c: (gst_test_src_init),
21209 (gst_test_filter_init), (gst_test_sink_init):
21210 * testsuite/states/locked.c: (main):
21211 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21212 moved bitshift from macro to enum definition
21214 2005-10-12 Wim Taymans <wim@fluendo.com>
21216 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21217 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21218 (gst_file_sink_render):
21219 Some more debugging info.
21221 2005-10-12 Wim Taymans <wim@fluendo.com>
21223 * docs/design/part-states.txt:
21224 * tools/gst-launch.c: (main):
21226 Revert non-intentional change.
21228 2005-10-12 Wim Taymans <wim@fluendo.com>
21230 * check/gst/gstbin.c: (GST_START_TEST):
21231 * check/gst/gstelement.c: (GST_START_TEST):
21232 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21233 * check/gst/gstghostpad.c: (GST_START_TEST):
21234 * check/gst/gstpipeline.c: (GST_START_TEST):
21235 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21236 * check/states/sinks.c: (GST_START_TEST):
21237 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21238 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21239 (gst_bin_remove_func), (gst_bin_get_state_func),
21240 (gst_bin_recalc_state), (gst_bin_change_state_func),
21242 * gst/gstelement.c: (gst_element_get_state_func),
21243 (gst_element_get_state), (gst_element_abort_state),
21244 (gst_element_commit_state), (gst_element_set_state),
21245 (gst_element_change_state), (gst_element_change_state_func):
21246 * gst/gstelement.h:
21247 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21248 (gst_pipeline_provide_clock_func):
21249 * gst/gstutils.c: (gst_element_link_pads_filtered):
21250 * tools/gst-launch.c: (main):
21251 * tools/gst-typefind.c: (main):
21252 Use GstClockTime in _get_state() instead of GTimeVal.
21253 Remove old code in gstutils.c
21255 2005-10-12 Andy Wingo <wingo@pobox.com>
21257 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21260 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21261 there is no task. Shouldn't affect any code, as nothing in our
21262 plugins checks this return value.
21263 (gst_pad_stop_task): Also take the stream lock if the pad has no
21264 task. Docs updated.
21266 2005-10-12 Wim Taymans <wim@fluendo.com>
21268 * gst/gstpad.c: (pre_activate), (post_activate),
21269 (gst_pad_activate_pull), (gst_pad_activate_push):
21270 Cleanup activation code. Reset old state if
21273 2005-10-12 Wim Taymans <wim@fluendo.com>
21275 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21276 (gst_base_sink_change_state):
21277 No need to prerol after receiving EOS.
21279 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21280 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21281 * gst/elements/gstidentity.c: (gst_identity_event):
21282 Print events more verbosely.
21284 2005-10-12 Wim Taymans <wim@fluendo.com>
21286 * check/Makefile.am:
21287 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21288 * check/states/sinks2.c:
21289 Moved sinks2 testcode in sinks check.
21291 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21292 (gst_bin_remove_func), (gst_bin_recalc_state),
21293 (gst_bin_change_state_func), (bin_bus_handler):
21294 Fix potential race condition when _get_state() iterated over an
21295 ASYNC element right before it posted a state completion.
21298 Do proper cast here.
21300 * gst/gstevent.c: (gst_event_new_newsegment),
21301 (gst_event_parse_newsegment):
21302 A playback rate of 0.0 is not allowed.
21304 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21306 * win32/common/config.h:
21307 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21308 (_trewinddir), (_ttelldir), (_tseekdir):
21309 * win32/common/dirent.h:
21310 * win32/common/gtchar.h:
21311 * win32/common/libgstbase.def:
21312 * win32/common/libgstreamer.def:
21313 * win32/vs6/grammar.dsp:
21314 * win32/vs6/gst_inspect.dsp:
21315 * win32/vs6/gst_launch.dsp:
21316 * win32/vs6/gstreamer.dsw:
21317 * win32/vs6/libgstbase.dsp:
21318 * win32/vs6/libgstelements.dsp:
21319 * win32/vs6/libgstreamer.dsp:
21320 Visual Studio 6 project files, and a new common directory.
21323 2005-10-11 Wim Taymans <wim@fluendo.com>
21325 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21326 (gst_base_sink_do_sync), (gst_base_sink_query),
21327 (gst_base_sink_change_state):
21328 * gst/base/gstbasesink.h:
21329 Correctly parse newsegment info.
21331 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21333 * gst/gst.c: (init_post):
21334 split plugin paths correctly
21336 2005-10-11 Wim Taymans <wim@fluendo.com>
21338 * check/gst/gstevent.c: (GST_START_TEST):
21339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21340 (gst_base_sink_change_state):
21341 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21342 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21343 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21344 * gst/gstevent.c: (gst_event_new_newsegment),
21345 (gst_event_parse_newsegment):
21347 Added extra flag to newsegment for future API freeze.
21348 Updated check and base elements.
21350 2005-10-11 Julien MOUTTE <julien@moutte.net>
21352 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21353 (gst_collectpads_add_pad), (gst_collectpads_pop),
21354 (gst_collectpads_event), (gst_collectpads_chain):
21355 * gst/base/gstcollectpads.h: Handle EOS correctly.
21357 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21359 * tools/gst-launch.c: (main):
21360 more null protecting
21362 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21364 * gst/gst-i18n-lib.h:
21365 check for ENABLE_NLS, not GETTEXT_PACKAGE
21366 * gst/gstregistry.c: (gst_registry_add_plugin),
21367 (gst_registry_scan_path_level),
21368 (_gst_registry_remove_cache_plugins):
21369 protect possibly NULL strings
21370 * gst/parse/types.h:
21371 config.h already included before
21372 * tools/gst-inspect.c: (main):
21373 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21374 check for ENABLE_NLS, not GETTEXT_PACKAGE
21375 * tools/gst-launch.c: (main):
21376 check for ENABLE_NLS, not GETTEXT_PACKAGE
21378 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21381 if we don't have glib, fail before testing 2.8
21382 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21383 fix a leak, should fix plugins-base testsuite
21385 2005-10-11 Andy Wingo <wingo@pobox.com>
21387 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21388 take the mode we're going to as an arg. Go head and set the mode
21389 and flushing flags now, so that if the activate function starts a
21390 thread all the flags will be in the right state.
21391 (post_activate): Renamed also. Just handle making sure streaming
21392 finishes for the deactivation case, and setting the deactivated
21394 (gst_pad_set_active): Complain loudly if deactivation fails.
21395 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21396 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21397 remove the terrible hack.
21399 2005-10-11 Wim Taymans <wim@fluendo.com>
21401 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21402 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21403 (gst_bin_recalc_state), (gst_bin_change_state_func),
21404 (gst_bin_dispose), (bin_bus_handler):
21406 Prepare to make current EOS message queue more generic.
21409 * gst/gstevent.c: (gst_event_new_newsegment),
21410 (gst_event_parse_newsegment):
21412 Rename base to stream_time.
21414 * gst/gstmessage.h:
21417 2005-10-11 Wim Taymans <wim@fluendo.com>
21419 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21420 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21421 (gst_bin_change_state_func), (bin_bus_handler):
21423 Work on proper clock selection.
21425 2005-10-11 Edward Hervey <edward@fluendo.com>
21427 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21428 * libs/gst/controller/gstcontroller.h:
21429 Added GList* version of _remove_properties() in order to be able to wrap
21432 2005-10-11 Wim Taymans <wim@fluendo.com>
21434 * docs/design/part-states.txt:
21437 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21438 (gst_bin_change_state_func), (bin_bus_handler):
21439 Doc updates. Don't distribute the same clock over and over again.
21445 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21446 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21447 (gst_pad_send_event):
21449 Make probe emission threadsafe again.
21450 Register quarks and move _get_name() from utils.
21453 * gst/gstpipeline.c: (gst_pipeline_class_init),
21454 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21455 Only redistribute the clock of it changed.
21457 * gst/gstsystemclock.h:
21462 Moved the _flow_get_name() to GstPad.
21464 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21466 * check/gst-libs/gdp.c: (GST_START_TEST):
21467 * check/gst/gstcaps.c: (GST_START_TEST):
21468 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21469 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21470 (gst_dp_packet_from_caps):
21471 fix more valgrind warnings before turning up the heat
21473 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21475 * gst/parse/grammar.y:
21476 some cleanup before the hacking
21478 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21480 * gst/base/gstbasesrc.c: (gst_base_src_query):
21482 * gst/gstutils.c: (gst_guint64_to_gdouble),
21483 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21485 externalize, basesrc uses it
21486 obviously the implementation needs testing
21488 2005-10-10 Wim Taymans <wim@fluendo.com>
21490 * tests/sched/Makefile.am:
21491 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21492 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21494 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21496 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21497 apparently converting from guint64 to double is not implemented
21500 2005-10-10 Wim Taymans <wim@fluendo.com>
21502 * check/Makefile.am:
21503 * check/generic/states.c: (GST_START_TEST):
21504 * check/gst/gstbin.c: (GST_START_TEST):
21505 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21506 * check/states/sinks.c: (GST_START_TEST):
21507 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21509 Check fixes, use API as stated in design docs, remove hacks.
21511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21512 (gst_base_sink_change_state):
21513 Catch stopping our task while we're shutting down.
21515 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21516 (gst_bin_remove_func), (gst_bin_get_state_func),
21517 (gst_bin_recalc_state), (gst_bin_change_state_func),
21520 * gst/gstelement.c: (gst_element_init),
21521 (gst_element_get_state_func), (gst_element_abort_state),
21522 (gst_element_commit_state), (gst_element_lost_state),
21523 (gst_element_set_state), (gst_element_change_state),
21524 (gst_element_change_state_func):
21525 * gst/gstelement.h:
21526 New state change algorithm (see #318116)
21528 * gst/gstpipeline.c: (gst_pipeline_class_init),
21529 (gst_pipeline_init), (gst_pipeline_set_property),
21530 (gst_pipeline_get_property), (do_pipeline_seek),
21531 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21532 * gst/gstpipeline.h:
21533 Remove crude state change hacks.
21536 Remove crude hacks.
21538 * tools/gst-launch.c: (main):
21539 Fixes for state change. Needs some more work to fully use the
21542 2005-10-10 Andy Wingo <wingo@pobox.com>
21544 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21546 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21547 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21550 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21552 * gst/gstiterator.c: (gst_iterator_new):
21553 Fix my previous commit: GTypes passed to gst_iterator_new()
21554 can be fundamental types.
21556 2005-10-10 Wim Taymans <wim@fluendo.com>
21558 * gst/gstelement.c: (gst_element_iterate_pad_list),
21559 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21560 (gst_element_iterate_sink_pads):
21561 Use src/sink pads lists for the respective iterators instead
21564 2005-10-10 Andy Wingo <wingo@pobox.com>
21566 Merged in popt removal + GOption addition patch from Ronald, bug
21569 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21570 GstElement macros around, remove popt-related symbols, add goption
21573 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21575 * docs/gst/Makefile.am:
21576 * docs/libs/Makefile.am: No POPT_CFLAGS.
21578 * examples/manual/Makefile.am:
21579 * docs/manual/basics-init.xml: Doc updates with an example.
21581 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21582 (gst_init), (parse_one_option), (parse_goption_arg):
21583 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21584 bit of hand merging and debugging to get the GOption stuff working
21587 * tests/Makefile.am:
21588 * tools/Makefile.am:
21589 * tools/gst-inspect.c: (main):
21590 * tools/gst-launch.c: (main):
21591 * tools/gst-run.c: (main):
21592 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21594 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21596 * gst/gstiterator.c: (gst_iterator_new):
21597 Add assertions to make sure passed GType is likely to really
21598 be a GType (as the compiler won't catch it if the size and
21599 GType arguments get mixed up, see #318447).
21601 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21603 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21605 * gst/gstbin.c: (gst_bin_iterate_sorted):
21606 Pass GType and size arguments to gst_iterator_new() in the right
21607 order (maybe we should make _new() take the GType as first argument
21608 just like _new_list()?) (#318447).
21611 2005-10-10 Wim Taymans <wim@fluendo.com>
21613 * gst/gstelement.c: (gst_element_finalize):
21614 And free the GStaticRecMutex too
21616 2005-10-10 Andy Wingo <wingo@pobox.com>
21618 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21619 Allocate and free the mutex properly.
21621 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21623 (GstElement): The state_lock is now recursive. Rebuild your
21624 plugins, suckers. Old macros adapted.
21626 * docs/gst/gstreamer-sections.txt: Doc updates.
21629 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21630 (g_static_rec_cond_wait): Ported from state changes patch, while
21631 we wait on bug #317802 to be solved in a well-distributed GLib.
21633 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21634 gst_element_change_state, variable name changes.
21635 (gst_element_change_state): Split out of gst_element_set_state in
21636 preparation for the state change merge. Doesn't pay attention to
21637 the 'transition' argument.
21638 (gst_element_set_state): Updates, hopefully purely cosmetic.
21639 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21640 state change patch.
21641 (gst_element_get_state_func): Renamed from get_state, cosmetic
21644 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21646 * gst/elements/gstelements.c:
21647 * win32/GStreamer.vcproj:
21649 * win32/dirent.c: (_tseekdir):
21650 * win32/gst-inspect.vcproj:
21651 * win32/gst-launch.vcproj:
21652 * win32/gstconfig.h:
21653 * win32/gstelements.vcproj:
21654 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21655 * win32/gstreamer.def:
21656 * win32/msvc71.sln:
21657 updates for the win32 build (patch from Sebastien Moutte)
21659 2005-10-10 Andy Wingo <wingo@pobox.com>
21661 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21662 gst_bin_get_state, cleaned up (but no logic changes).
21663 (bin_element_is_sink): Comment updates.
21664 (sink_iterator_filter): Remove needless cast.
21665 (gst_bin_iterate_sinks): Doc update.
21666 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21667 cleaned up (but no logic changes).
21669 * check/states/sinks.c (test_src_sink): Cleanups from the state
21671 (test_livesrc_sink): Sync on the state.
21673 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21674 the state change patch.
21676 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21679 * check/gst/gstbin.c: Merge in some style fixes and additional
21680 checks from Wim's state change patch.
21682 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21684 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21685 (gst_type_find_helper):
21686 Check whether we have the requested data already in our list of
21687 cached buffers before pulling a new buffer; also make the buffer
21688 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21690 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21695 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21696 don't use long long, it's not portable. Replacing with
21697 gint64 seems to work; let's hope no skeletons fall out of the closet.
21699 2005-10-10 Andy Wingo <wingo@pobox.com>
21701 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21703 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21705 * docs/gst/gstreamer-sections.txt:
21710 * gst/gstmessage.c: (gst_message_parse_state_changed):
21713 more docs, fix compilation
21715 2005-10-09 Philippe Khalaf <burger@speedy.org>
21716 * gst/gstmessage.c:
21717 Fixed a few forgotten variables on previous commit
21719 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21721 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21722 Fix evil typefind crasher: getrange() might return a short
21723 buffer at the end of a file, but gst_type_find_peek() must
21724 either return the full data as requested or NULL, but
21725 never a short buffer.
21727 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21729 * gst/gstmessage.c: (gst_message_new_state_changed),
21730 (gst_message_parse_state_changed):
21731 * gst/gstmessage.h:
21732 don't use "new", it's a C++ keyword
21734 2005-10-08 Wim Taymans <wim@fluendo.com>
21736 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21737 * gst/gstelement.c: (gst_element_post_message):
21738 * gst/gstpipeline.c: (gst_pipeline_change_state):
21739 Small docs and debug updates.
21741 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21743 * docs/gst/gstreamer-sections.txt:
21744 * gst/gstelementfactory.c:
21746 * gst/gsttaglist.c:
21749 2005-10-08 Wim Taymans <wim@fluendo.com>
21751 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21752 (gst_bin_dispose), (bin_bus_handler):
21753 Fix typos, add comments.
21754 Clear EOS list when going to PAUSED from any direction and do it
21755 in a threadsafe way.
21756 Get base time in a threadsafe way too.
21757 Fix confusing debug in the change_state function.
21758 Various other small cleanups.
21760 * gst/gstelement.c: (gst_element_post_message):
21761 Fix very verbose bus posting code.
21763 * gst/gstpipeline.c: (gst_pipeline_class_init),
21764 (gst_pipeline_set_property), (gst_pipeline_get_property),
21765 (gst_pipeline_change_state):
21766 Small ARG_ -> PROP_ cleanup
21768 2005-10-08 Wim Taymans <wim@fluendo.com>
21770 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21771 Do a less CPU demanding EOS check because we can.
21773 2005-10-08 Wim Taymans <wim@fluendo.com>
21775 * libs/gst/dataprotocol/dataprotocol.c:
21776 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21777 (gst_dp_packet_from_event):
21778 * libs/gst/dataprotocol/dataprotocol.h:
21779 * libs/gst/dataprotocol/dp-private.h:
21780 It's about time we bump the version number.
21781 Since event types don't fit in the guint8 anymore describing
21782 the payload type, make payload type 16 bits wide.
21784 2005-10-08 Wim Taymans <wim@fluendo.com>
21786 * docs/design/part-TODO.txt:
21787 * docs/design/part-clocks.txt:
21788 * docs/design/part-events.txt:
21789 * docs/design/part-gstbin.txt:
21790 * docs/design/part-gstelement.txt:
21791 * docs/design/part-gstpipeline.txt:
21792 * docs/design/part-live-source.txt:
21793 * docs/design/part-messages.txt:
21794 * docs/design/part-overview.txt:
21795 * docs/design/part-states.txt:
21798 2005-10-08 Wim Taymans <wim@fluendo.com>
21802 Fix event quark registration.
21803 Add some space between events so we can insert them in the
21806 2005-10-08 Wim Taymans <wim@fluendo.com>
21808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21809 (gst_base_sink_handle_buffer):
21810 Better log message.
21813 * gst/gstelement.h:
21816 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21817 (gst_queue_set_property), (gst_queue_get_property):
21819 Remove old unused properties.
21821 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21822 * docs/gst/gstreamer-sections.txt:
21823 * gst/gstmessage.c:
21824 * gst/gstmessage.h:
21825 * gst/gstminiobject.c:
21826 * gst/gstminiobject.h:
21830 lots of new docs and doc fixes
21832 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21834 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21836 * gst/gstregistry.c: (gst_registry_lookup_locked),
21837 (gst_registry_scan_path_level):
21838 * gst/gstregistryxml.c: (load_plugin):
21839 Only ever load one plugin for a given plugin basename.
21840 This ensures correct overriding of GST_PLUGIN_PATH over
21841 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21842 system installed plugins.
21844 2005-10-08 Wim Taymans <wim@fluendo.com>
21846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21847 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21848 Prepare for doing QOS.
21850 2005-10-08 Wim Taymans <wim@fluendo.com>
21852 * check/gst/gstbin.c: (GST_START_TEST):
21853 * check/pipelines/cleanup.c: (GST_START_TEST):
21854 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21855 Allow new clock message too.
21857 2005-10-08 Wim Taymans <wim@fluendo.com>
21859 * gst/gstmessage.c: (gst_message_new_error),
21860 (gst_message_new_warning), (gst_message_new_tag),
21861 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21862 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21863 (gst_message_new_segment_start), (gst_message_new_segment_done),
21864 (gst_message_parse_state_changed),
21865 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21866 (gst_message_parse_new_clock):
21867 * gst/gstmessage.h:
21868 Also carry the clock in question.
21870 2005-10-08 Wim Taymans <wim@fluendo.com>
21872 * gst/gstmessage.c: (gst_message_new_custom),
21873 (gst_message_new_eos), (gst_message_new_error),
21874 (gst_message_new_warning), (gst_message_new_tag),
21875 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21876 (gst_message_new_new_clock), (gst_message_new_segment_start),
21877 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21878 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21879 * gst/gstmessage.h:
21881 Added clock related messages.
21883 * gst/gstpipeline.c: (gst_pipeline_change_state):
21884 Post message when the clock changed.
21886 * tools/gst-launch.c: (event_loop):
21889 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21891 * tools/gst-inspect.c: (print_element_properties_info):
21892 Can't pass NULL strings to g_print() on windows.
21894 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21896 * docs/Makefile.am:
21897 * docs/gst/Makefile.am:
21898 * docs/gst/gstreamer-docs.sgml:
21899 * docs/gst/running.xml:
21900 * docs/version.entities.in:
21901 add a chapter on running GStreamer.
21902 document GST_DEBUG and GST_PLUGIN* env vars
21904 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21909 remove PLUGINS_BUILDDIR stuff
21910 * gst/gst.c: (init_post):
21911 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21913 remove, it was condescending and not needed
21915 2005-10-08 Wim Taymans <wim@fluendo.com>
21917 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21918 (gst_base_sink_handle_object), (gst_base_sink_event),
21919 (gst_base_sink_wait), (gst_base_sink_handle_event),
21920 (gst_base_sink_change_state):
21921 * gst/base/gstbasesink.h:
21922 Repost EOS message while going to PLAYING if still EOS.
21923 Make sure that when receiving a FLUSH_START we don't attempt
21924 to sync on the clock anymore.
21926 2005-10-08 Wim Taymans <wim@fluendo.com>
21928 * tools/gst-launch.c: (event_loop):
21929 Better message printout.
21931 2005-10-08 Wim Taymans <wim@fluendo.com>
21933 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21934 (gst_bin_child_proxy_get_children_count):
21935 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21936 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21937 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21938 (gst_child_proxy_set_valist):
21939 * gst/parse/grammar.y:
21940 Make ChildProxy threadsafe and fix mem leaks.
21942 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21944 * gst/gst.c: (init_post):
21945 debug the GST_PLUGIN_ env vars
21947 2005-10-08 Wim Taymans <wim@fluendo.com>
21949 * check/gst/gstbin.c: (GST_START_TEST):
21950 * check/gst/gstmessage.c: (GST_START_TEST):
21951 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21952 * gst/gstelement.c: (gst_element_commit_state),
21953 (gst_element_lost_state):
21954 * gst/gstmessage.c: (gst_message_new_state_changed),
21955 (gst_message_parse_state_changed):
21956 * gst/gstmessage.h:
21957 * tools/gst-launch.c: (event_loop):
21958 Added extra field to STATE_CHANGE message with the pending
21959 state, which will be different from the new state soon.
21961 2005-10-08 Wim Taymans <wim@fluendo.com>
21963 * gst/gstbus.c: (gst_bus_pop):
21965 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21966 Small cleanups and doc updates.
21968 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21970 * gst/gst.c: (init_pre):
21971 * gst/gstbin.c: (gst_bin_add_func):
21972 log distributing clocks and base time
21973 * gst/gstregistry.c: (gst_registry_add_plugin),
21974 (gst_registry_scan_path_level), (gst_registry_scan_path):
21975 clean up the debugging output a little
21976 * gst/gstutils.c: (gst_element_state_get_name):
21977 warn about a memleak (I've actually seen this be used, though
21978 it was probably a bug)
21980 2005-10-07 Wim Taymans <wim@fluendo.com>
21982 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21983 (gst_base_src_init), (gst_base_src_default_newsegment),
21984 (gst_base_src_newsegment), (gst_base_src_do_seek),
21985 (gst_base_src_loop), (gst_base_src_start):
21986 * gst/base/gstbasesrc.h:
21987 Make the newsegment event customizable by subclasses.
21989 2005-10-07 Wim Taymans <wim@fluendo.com>
21991 * gst/gstevent.c: (gst_event_new_buffersize),
21992 (gst_event_parse_buffersize):
21994 New event for future idea.
21996 2005-10-07 Andy Wingo <wingo@pobox.com>
21998 * gst/gstelement.c (gst_element_post_message): Doc update.
22000 * docs/gst/gstreamer-sections.txt: Update.
22002 * gst/gstmessage.c (gst_message_new_application): Made into a
22003 function like honest API calls.
22004 (gst_message_new_element): New message type.
22006 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22008 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22009 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22012 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22013 NO_PREROLL from gst_element_change_state to fall through.
22015 2005-10-07 Wim Taymans <wim@fluendo.com>
22017 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22018 (gst_ghost_pad_do_activate_push):
22019 Activating a ghostpad with no internal pad in push mode
22022 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22025 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22026 Fixes compilation on Windows.
22028 2005-10-07 Michael Smith <msmith@fluendo.com>
22030 * tools/gst-inspect.c:
22031 Print out feature and plugin count at the end when printing out
22034 2005-10-04 Michael Smith <msmith@fluendo.com>
22036 * gst/gsterror.c: (_gst_stream_errors_init):
22037 Add another error string used in a few existing plugins.
22040 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22041 * tools/gst-inspect.c: (print_element_info):
22042 When a feature disappears from a plugin (and the feature exists in
22043 the cached registry file), things went horribly wrong. This isn't a
22044 complete fix, we should actually be removing the 'missing' features
22045 from the features list when we load the actual plugin. That's not
22048 2005-10-04 Johan Dahlin <johan@gnome.org>
22050 * check/gst/gstiterator.c: (GST_START_TEST):
22051 * gst/gstbin.c: (gst_bin_iterate_elements),
22052 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22053 * gst/gstelement.c: (gst_element_iterate_pads):
22054 * gst/gstformat.c: (gst_format_iterate_definitions):
22055 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22056 (gst_iterator_new_list), (gst_iterator_filter):
22057 * gst/gstiterator.h:
22058 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22059 Add a GType to GstIterator, update callsites and tests.
22061 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22063 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22064 give events a chance to be handled by event probes when the pad
22067 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22069 * gst/gstevent.c: (gst_event_type_get_name),
22070 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22072 add string representations for event types
22074 2005-10-06 Wim Taymans <wim@fluendo.com>
22076 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22077 Don't use NULL pointers.
22079 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22081 * gst/gst_private.h:
22083 * gst/gstelement.c:
22085 * gst/gstpluginfeature.c:
22086 widen the debug category in output to fit the biggest one we have
22087 add a bus category and use it
22088 play with the colors
22089 fix up some categories
22091 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22093 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22094 add push activation of sink ghost pads.
22095 Andye, please verify
22097 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22099 * gst/gstutils.c: (gst_element_link_pads):
22100 fix a bug in the case where neither element has a pad
22101 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22102 add a test for that case
22104 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22106 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22107 emit have-data before checking for peers. This allows
22108 for probe handlers to connect elements. This helps autopluggers.
22109 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22111 add six checks, linked/unlinked with no/true/false probe
22113 2005-10-04 Wim Taymans <wim@fluendo.com>
22115 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22116 (gst_fake_sink_event), (gst_fake_sink_preroll),
22117 (gst_fake_sink_render), (gst_fake_sink_change_state):
22118 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22119 (gst_fake_src_get_property), (gst_fake_src_create),
22120 (gst_fake_src_stop):
22121 * gst/elements/gstidentity.c: (gst_identity_stop):
22122 Protect last_message with lock.
22124 2005-10-04 Edward Hervey <edward@fluendo.com>
22127 Added precision in the comments for GST_FORMAT_DEFAULT
22129 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22131 * tools/gst-launch.c: (main):
22132 Don't try to run erroneous pipelines.
22134 2005-10-04 Julien MOUTTE <julien@moutte.net>
22136 * gst/gstbus.c: We don't need this header.
22138 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22141 back to development
22143 === release 0.9.3 ===
22145 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22149 Releasing 0.9.3, "Unregistered"
22151 2005-10-03 Andy Wingo <wingo@pobox.com>
22153 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22154 whereby calling a pad's activatepush() function can start a thread
22155 that starts to push or pull before the pad gets the FLUSHING flag
22156 unset. Hack around it by holding the stream lock until the flag is
22157 set. Need to replace this with a proper solution. Together with
22158 the ghost pad fixes, this fixes mp3 playing/tagreading.
22160 * docs/design/part-gstghostpad.txt: Add a note about activation of
22161 proxy pads outside of ghost pads.
22163 * gst/gstghostpad.c: Implement the ghost pad activation design.
22165 2005-10-02 Andy Wingo <wingo@pobox.com>
22167 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22168 It is volatile, after all.
22170 * docs/design/part-gstghostpad.txt: Flesh out activation with
22173 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22176 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22179 Fix (unused) AM_CONDITIONAL tests.
22181 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22183 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22185 * gst/gstutils.c: (gst_pad_query_convert):
22186 Add assertion that makes sure src_val is >=0, just like
22187 gst_query_new_convert() has. (#315895)
22189 2005-09-30 Edward Hervey <edward@fluendo.com>
22191 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22192 Let's not iterate pads we're not interested in, it avoids getting
22193 sky-high refcounts on sinkpad.
22195 2005-09-30 Wim Taymans <wim@fluendo.com>
22197 * gst/gstelement.c: (gst_element_set_state),
22198 (gst_element_change_state):
22199 Small tweak, element in ASYNC remains ASYNC.
22201 2005-09-30 Wim Taymans <wim@fluendo.com>
22203 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22204 Only error is an error.
22206 * gst/gstbin.c: (gst_bin_change_state):
22209 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22210 Also call pad_block in pad alloc.
22212 * gst/gstutils.c: (gst_flow_get_name):
22215 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22217 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22218 (gst_base_src_get_range):
22219 Fix documentation typos. Add some more debug info.
22221 2005-09-29 David Schleef <ds@schleef.org>
22223 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22224 more end-user friendly.
22225 * tools/gst-inspect.c: (main): Check if command-line argument is
22226 a file and attempt to load that file as a plugin.
22228 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22230 * check/gst/gstbin.c:
22231 * check/states/sinks.c:
22232 fix tests for the new warning
22233 * check/gst/gstpipeline.c:
22234 add a test for pipeline and bus interaction
22235 * gst/gstelement.c:
22236 elements should be NULL if they get disposed; add a warning if not
22238 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22241 for 2.6 refcounting, make debug log more correct by printing
22242 the actual refcounts at the time of swap (Wim)
22244 2005-09-29 Andy Wingo <wingo@pobox.com>
22246 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22247 removes signal watches previously added via
22248 gst_bus_add_signal_watch.
22249 (gst_bus_add_signal_watch): Don't return the source id, just store
22250 it on the bus if there wasn't an id already.
22252 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22253 add_signal_watch and remove_signal_watch.
22255 2005-09-29 Edward Hervey <edward@fluendo.com>
22257 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22258 Better if we actually iterate the list :)
22260 2005-09-29 Wim Taymans <wim@fluendo.com>
22262 * check/gst/gstbin.c: (GST_START_TEST):
22263 Change for new bus API.
22265 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22266 (send_messages), (GST_START_TEST), (gstbus_suite):
22267 Change for new bus signal API.
22269 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22270 (gst_bus_source_prepare), (gst_bus_source_check),
22271 (gst_bus_create_watch), (gst_bus_add_watch_full),
22272 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22273 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22275 Remove support for multiple GSources operating on different
22276 message types as it is too complex and unneeded when using
22278 Added support for receiving signals from the bus.
22280 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22282 * docs/libs/tmpl/gstdataprotocol.sgml:
22283 * docs/manual/advanced-dataaccess.xml:
22284 * gst/elements/gstcapsfilter.c:
22286 rename filter-caps to caps property
22288 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22290 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22291 More robust fraction string parsing.
22293 * docs/pwg/appendix-porting.xml:
22294 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22296 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22298 * gst/gstcaps.c: (gst_caps_do_simplify):
22299 Thou shalt not free a structure and then continue using it
22300 in the next loop iteration.
22302 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22304 Add test case for caps simplification.
22306 2005-09-29 Wim Taymans <wim@fluendo.com>
22308 * check/gst/gstbin.c: (GST_START_TEST):
22311 2005-09-29 Wim Taymans <wim@fluendo.com>
22313 * check/gst/gstbin.c: (GST_START_TEST):
22316 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22317 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22318 (find_element), (gst_bin_sort_iterator_next),
22319 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22320 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22321 (gst_bin_change_state), (gst_bin_dispose):
22322 A bin does not have a bus, it gets the bus from the parent.
22324 * gst/gstelement.c: (gst_element_requires_clock),
22325 (gst_element_provides_clock), (gst_element_is_indexable),
22326 (gst_element_is_locked_state), (gst_element_change_state),
22327 (gst_element_set_bus_func):
22330 * gst/gstpipeline.c: (gst_pipeline_class_init),
22331 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22332 The pipeline provides a bus.
22334 2005-09-28 Johan Dahlin <johan@gnome.org>
22336 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22337 gst_structure_get_enum instead of gst_structure_get_int
22339 * gst/gststructure.c (gst_structure_get_enum): Impl.
22341 * gst/gststructure.h (gst_structure_get_enum): Add
22343 * docs/gst/gstreamer-sections.txt: Ditto
22345 * gst/gstmessage.c (gst_message_new_state_changed): Use
22346 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22347 which does introspection.
22348 Reviewed by Christian Schaller
22350 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22352 * gst/gstinfo.c: (gst_debug_log_default):
22353 don't do dummy g_strdup()s
22354 * libs/gst/controller/gstcontroller.c:
22355 (on_object_controlled_property_changed),
22356 (gst_controlled_property_new), (gst_controller_new_valist),
22357 (gst_controller_new_list),
22358 (gst_controller_remove_properties_valist), (gst_controller_set),
22359 (gst_controller_get), (gst_controller_sync_values),
22360 (gst_controller_get_value_array), (_gst_controller_class_init),
22361 (gst_controller_get_type):
22362 * libs/gst/controller/gstcontroller.h:
22363 * libs/gst/controller/gstinterpolation.c:
22364 (gst_controlled_property_find_timed_value_node):
22365 convert // to /**/ comments
22367 2005-09-28 Wim Taymans <wim@fluendo.com>
22369 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22370 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22371 (gst_bus_sync_signal_handler):
22373 Added async-message and sync-message signals to the bus.
22374 Added helper BusFunc to emit signals for all posted messages.
22376 * gst/gstmessage.c: (gst_message_type_get_name),
22377 (gst_message_type_to_quark), (gst_message_get_type):
22378 * gst/gstmessage.h:
22379 Register quarks for message names.
22381 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22383 * docs/libs/gstreamer-libs-sections.txt:
22384 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22385 (gst_controller_new_list):
22386 * libs/gst/controller/gstcontroller.h:
22387 added another constructor for language bindings
22389 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22391 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22395 * gst/gstinfo.c: (_gst_debug_init):
22396 slightly more readable color for refcount debugging
22398 2005-09-28 Wim Taymans <wim@fluendo.com>
22400 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22401 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22402 (find_element), (gst_bin_sort_iterator_next),
22403 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22404 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22405 (gst_bin_change_state), (gst_bin_dispose):
22406 Small doc fixes. get_clock -> provide_clock.
22408 * gst/gstelement.c: (gst_element_class_init),
22409 (gst_element_provides_clock), (gst_element_provide_clock),
22410 (gst_element_get_clock), (gst_element_commit_state),
22411 (gst_element_lost_state):
22412 * gst/gstelement.h:
22413 Make get/set_clock() symetric. Add provide_clock vmethod since
22414 that is actually what this function does.
22416 * gst/gstpipeline.c: (gst_pipeline_class_init),
22417 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22418 (gst_pipeline_get_clock):
22419 get_clock -> provide_clock.
22421 2005-09-28 Andy Wingo <wingo@pobox.com>
22423 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22424 lieu of real docs...
22426 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22428 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22430 * gst/elements/gstcapsfilter.c:
22431 * gst/elements/gstfakesink.c:
22432 * gst/elements/gstfakesrc.c:
22433 * gst/elements/gstfdsink.c:
22434 * gst/elements/gstfdsrc.c:
22435 * gst/elements/gstfilesink.c:
22436 * gst/elements/gstfilesrc.c:
22437 * gst/elements/gstidentity.c:
22438 * gst/elements/gsttee.c:
22439 * gst/elements/gsttypefindelement.c:
22440 Make element details static.
22442 2005-09-28 Wim Taymans <wim@fluendo.com>
22444 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22445 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22446 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22447 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22448 (gst_bin_change_state), (gst_bin_dispose):
22449 Some documentation updates.
22450 Clean up dispose handlers.
22452 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22453 * gst/gstpad.c: (gst_pad_dispose):
22454 Clean up dispose handler.
22456 * gst/gstpipeline.c: (gst_pipeline_change_state):
22457 Removed spurious UNLOCK.
22459 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22461 * docs/gst/gstreamer-sections.txt:
22462 * gst/base/gstbasesrc.h:
22463 * gst/gstelement.h:
22467 * gst/gstpipeline.c:
22468 * gst/gstpipeline.h:
22471 added two new functions to the docs
22472 documents all undocumented GstXXXFlags
22473 completed some incomplete docs
22475 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22477 * gst/gstbin.c: (gst_bin_dispose):
22478 * gst/gstelement.c: (gst_element_dispose):
22479 remove now useless and leaky resurrection code in dispose
22480 * gst/base/gstbasesrc.c: (gst_base_src_init):
22481 * gst/gstelementfactory.c: (gst_element_factory_create):
22482 * gst/gstobject.c: (gst_object_set_parent):
22485 2005-09-27 Wim Taymans <wim@fluendo.com>
22487 * docs/design/part-TODO.txt:
22490 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22491 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22492 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22493 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22494 (gst_bin_change_state):
22495 * gst/gstelement.h:
22496 Remove element variable, we keep element info in the iterator now.
22498 2005-09-27 Andy Wingo <wingo@pobox.com>
22500 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22503 2005-09-27 Wim Taymans <wim@fluendo.com>
22505 * check/gst/gstbin.c: (GST_START_TEST):
22506 Enable check that works now.
22508 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22509 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22510 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22511 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22512 (gst_bin_change_state):
22514 Redid the state change algorithm using a topological sort algo.
22515 Handles all cases correctly.
22516 Exposed iterator for state change order.
22518 * gst/gstelement.h:
22519 Temp storage for state changes. Need to get rid of this soon.
22521 2005-09-27 Wim Taymans <wim@fluendo.com>
22523 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22524 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22525 (link_fold_func), (gst_pad_proxy_setcaps):
22526 Leak fixes, the fold functions need to unref the passed object and
22527 _get_parent_*() returns ref to parent.
22529 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22531 * check/gst/gstbuffer.c: (test_make_writable):
22532 Plug leak in test case and fix 'make check-valgrind'
22534 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22536 * gst/gstbuffer.c: (gst_subbuffer_init):
22537 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22538 works correctly in all circumstances (we could have just copied
22539 the parent buffer's readonly flag, but conceptually it seems
22540 cleaner to mark all subbuffers as read-only). (based on patch
22541 by Alessandro Decina, #314710).
22543 * check/gst/gstbuffer.c: (create_read_only_buffer),
22544 (test_make_writable), (test_subbuffer_make_writable),
22546 Add some tests for gst_buffer_make_writable().
22548 2005-09-27 Wim Taymans <wim@fluendo.com>
22550 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22551 use gst_object_has_ancestor().
22553 * gst/gstobject.c: (gst_object_has_ancestor):
22555 gst_object_has_ancestor() copied from gstbin.c as it is a
22558 * tests/instantiate/create.c: (create_all_elements):
22559 * tests/lat.c: (handoff_src), (handoff_sink):
22560 * tests/sched/runxml.c: (main):
22561 * tests/seeking/seeking1.c: (main):
22562 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22564 Fix compilation of some tests.
22566 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22569 Remove comment. GST_TYPE_G_ERROR is here to stay,
22570 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22571 (#316961, #300610).
22573 2005-09-26 Wim Taymans <wim@fluendo.com>
22575 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22576 Added check that shows error in state change order.
22578 2005-09-26 Wim Taymans <wim@fluendo.com>
22580 * gst/gstbin.c: (gst_bin_change_state):
22581 Make state change function use 3 queues again, we were
22582 adding elements in the wrong order.
22584 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22587 * gst/gstpad.c: (gst_pad_dispose):
22588 Added some debug info first.
22590 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22592 * docs/design/draft-push-pull.txt:
22593 * docs/design/part-events.txt:
22594 * docs/design/part-overview.txt:
22595 * docs/design/part-scheduling.txt:
22596 Replace all _pull_region() with _pull_range()
22598 2005-09-26 Andy Wingo <wingo@pobox.com>
22600 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22602 * check/gst-libs/controller.c: Update for controller api change.
22605 * tests/Makefile.am:
22606 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22607 over by GLib bug 118439.
22609 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22610 routines to a function.
22612 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22614 * libs/gst/controller/gsthelper.c:
22615 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22616 (gst_object_sync_values): Renamed from sink_values. Ugh.
22618 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22620 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22621 Renamed from controller_key, as it is exported.
22623 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22625 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22630 * gst/gstpadtemplate.h:
22633 * gst/gstqueryutils.c:
22634 * gst/gstqueryutils.h:
22635 remove queryutils headers after moving the two used functions
22636 to gstquery. also fixes build problem for gstsiddec
22638 2005-09-26 Michael Smith <msmith@fluendo.com>
22640 * tools/gst-launch.1.in:
22641 Correct documentation in manpage of debug syntax
22643 2005-09-26 Wim Taymans <wim@fluendo.com>
22645 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22646 (gst_base_src_is_seekable), (gst_base_src_change_state):
22647 Some more debugging info.
22649 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22651 * docs/gst/gstreamer-sections.txt:
22652 * gst/base/gstbasetransform.h:
22656 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22658 * docs/gst/.cvsignore:
22659 * docs/gst/tmpl/.cvsignore:
22660 * docs/gst/tmpl/gstpipeline.sgml:
22661 * docs/gst/tmpl/gstplugin.sgml:
22662 * gst/gstpipeline.c:
22665 inlined the last two docs files
22666 removed the tmpl directory from cvs (no more conflicts here!)
22668 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22670 * docs/gst/gstreamer-sections.txt:
22671 * docs/gst/tmpl/.cvsignore:
22672 * docs/gst/tmpl/gstpad.sgml:
22673 * docs/gst/tmpl/gstpadtemplate.sgml:
22675 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22676 (gst_pad_finalize), (gst_pad_set_pad_template):
22678 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22679 (gst_pad_template_class_init), (gst_pad_template_init),
22680 (gst_pad_template_dispose), (name_is_valid),
22681 (gst_static_pad_template_get), (gst_pad_template_new),
22682 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22683 (gst_pad_template_pad_created):
22684 * gst/gstpadtemplate.h:
22685 inlined two more docs
22686 factored gstpadtemplate out of gstpad
22688 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22690 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22691 (test_children_state_change_order_semi_sink):
22692 Fix test case: we can't rely on a fixed state change order when
22693 going from READY => PAUSED because the sink might commit its
22694 new state first when the first buffer created by the source
22695 reaches the sink before the source has finished its change state.
22696 (Test case still fails at times, see #316856, comment 5 onwards)
22698 2005-09-24 Wim Taymans <wim@fluendo.com>
22700 * docs/design/part-events.txt:
22701 * docs/design/part-gstbus.txt:
22702 * docs/design/part-gstpipeline.txt:
22703 * docs/design/part-messages.txt:
22704 * docs/design/part-overview.txt:
22705 * docs/design/part-segments.txt:
22709 * gst/gstelement.c:
22712 * gst/gstiterator.c:
22713 Various documentation updates.
22715 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22718 Well, that's embarassing. Luckily we weren't using
22719 GST_CLOCK_DIFF anywhere.
22721 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22723 * common/gtk-doc.mak:
22724 don't fail on building XML, FC4 slave shows a bunch of doc
22725 missing bits that I don't get
22727 * gst/gstpipeline.c:
22728 * gst/gststructure.c:
22731 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22733 * docs/design/part-gstbin.txt:
22734 * docs/design/part-gstbus.txt:
22736 Add blurb about how the bus goes into flushing mode and
22737 drops all messages when its bin goes from READY into NULL
22740 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22742 * docs/gst/gstreamer-sections.txt:
22743 * gst/gststructure.c: (gst_structure_get_clock_time):
22744 * gst/gststructure.h:
22745 add a method to get a GstClockTime out of a structure
22747 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22749 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22750 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22751 Added test to check state change order in bins (can still be made
22752 to fail here under heavy disk load; bails out with 'Push on pad
22753 fakesink:sink0, but it was not activated in push mode').
22755 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22756 Fix state change order when there is only a semi sink (#316856)
22758 * gst/gstbus.c: (gst_bus_class_init):
22759 Use _class_peek_parent(), not _class_ref(); fix docs to say
22760 'default main context' instead of 'mainloop' where that is
22763 * gst/gstelement.c: (gst_element_commit_state),
22764 (gst_element_set_state):
22765 Fix typos in debug messages
22767 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22770 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22771 * gst/gstpluginfeature.c:
22773 various doc updates
22774 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22775 change an assert into an error until it gets fixed properly
22777 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22779 * docs/gst/gstreamer-sections.txt:
22780 * docs/gst/tmpl/.cvsignore:
22781 * docs/gst/tmpl/gstelement.sgml:
22782 * docs/gst/tmpl/gstinfo.sgml:
22783 * docs/gst/tmpl/gstobject.sgml:
22784 * gst/gstelement.c:
22785 * gst/gstelement.h:
22788 * gst/gstobject.c: (gst_object_class_init):
22790 inlined 3 more biiiig doc files and added some missing docs on the fly
22792 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22794 * check/gst/.cvsignore:
22795 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22796 * gst/gstregistryxml.c: (load_plugin),
22797 (gst_registry_xml_save_plugin):
22798 put back source in registry. add checks for find_plugin.
22799 * testsuite/states/bin.c: (assert_state), (empty_bin),
22800 (test_adding_one_element), (main):
22801 * testsuite/states/locked.c: (main):
22802 some compile/run fixes
22804 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22806 * check/gst/gstvalue.c: (GST_START_TEST):
22807 fix leaks in the test itself
22809 2005-09-22 Wim Taymans <wim@fluendo.com>
22811 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22812 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22813 (gst_base_sink_query):
22814 Prepare for more accurate position reporting and query
22817 * gst/gstelement.c: (gst_element_send_event),
22818 (gst_element_set_state):
22821 2005-09-22 Wim Taymans <wim@fluendo.com>
22823 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22824 (gst_query_parse_segment):
22826 More documentation.
22827 Add segment query for future use.
22829 2005-09-22 Wim Taymans <wim@fluendo.com>
22831 * gst/gstbin.c: (gst_bin_add_func):
22832 Some more debug info.
22834 * gst/gstelement.c: (gst_element_send_event):
22835 Simplify send_event
22837 * gst/gstelement.h:
22838 Don't know how flags got broken.
22843 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22845 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22846 Add simplistic test suite for GST_TYPE_DATE serialisation and
22849 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22851 * docs/gst/gstreamer-sections.txt:
22852 * gst/gststructure.c: (gst_structure_set_valist),
22853 (gst_structure_get_date):
22854 * gst/gststructure.h:
22855 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22856 (gst_date_copy), (gst_value_compare_date),
22857 (gst_value_serialize_date), (gst_value_deserialize_date),
22858 (gst_value_transform_date_string),
22859 (gst_value_transform_string_date), (_gst_value_initialize):
22861 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22862 bunch of utility functions along with a hack that checks that
22863 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22864 is required. Part of the grand scheme in #170777.
22866 2005-09-22 Andy Wingo <wingo@pobox.com>
22868 * gst/gstconfig.h.in: Psych out gtk-doc.
22870 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22872 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22874 * tools/gst-inspect.c (print_element_list): Plug some
22875 inconsequential leaks.
22877 * gst/gstregistry.c (gst_registry_get_default): Doc.
22879 * check/gst/gstplugin.c:
22880 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22881 * gst/gstelementfactory.c (gst_element_factory_create):
22882 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22885 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22886 (gst_plugin_feature_load): Doc, don't eat refs.
22888 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22889 (gst_plugin_list_free): Doc.
22890 (gst_plugin_load_file): Doc updates.
22892 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22893 accessors returning refcounted objects, return a ref.
22895 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22896 accessor for caps. IDEMPOTENCE. Oh yes.
22898 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22900 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22902 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22903 (_gst_debug_register_funcptr):
22904 Add mutex to serialise access to the hash table with
22905 the function pointer => function name string mapping;
22906 make that hash table static scope (#316809).
22908 * gst/registries/.cvsignore:
22909 Remove left-over file.
22911 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22913 * docs/pwg/appendix-porting.xml:
22914 And something about newsegment events and caps-on-buffers to
22915 the porting guide (feel free to improve).
22917 2005-09-21 Andy Wingo <wingo@pobox.com>
22919 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22920 data and event probes on the same pad.
22921 (test_buffer_probe_once): Test that removing probes from within
22922 the probe functions works.
22924 2005-09-21 Andy Wingo <wingo@pobox.com>
22926 * check/gst/gstutils.c: New file.
22927 (test_buffer_probe_n_times): A simple buffer probe test. More to
22930 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22931 have-data::buffer, not have-data.
22932 (gst_pad_add_event_probe): Likewise for have-data::event.
22933 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22934 peer' isn't quite right yet though.
22935 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22936 (gst_pad_remove_data_probe): Change to take the guint handler_id
22937 as their arg, not the function+data, which is more glib-like.
22939 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22940 the signal emission to indicate if the data is a buffer or an
22942 (gst_pad_get_type): Initialize buffer and event quarks.
22943 (gst_pad_class_init): have-data is now a detailed signal, yes it
22946 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22948 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22949 * gst/gstutils.c: (gst_util_set_value_from_string),
22950 (gst_util_set_object_arg):
22951 Don't put functional code in g_return_if_fail() or
22952 g_return_val_if_fail() statements, otherwise things will
22953 break when G_DISABLE_CHECKS is defined during compilation.
22955 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22957 * docs/gst/tmpl/.cvsignore:
22958 * docs/gst/tmpl/gstvalue.sgml:
22961 inlied another one and added some obvious docs
22963 2005-09-21 Wim Taymans <wim@fluendo.com>
22965 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22966 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22967 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22968 (gst_fdsrc_get_property), (gst_fdsrc_create):
22969 * gst/elements/gstfdsrc.h:
22970 Properly implement fdsrc. Removed signal and timeout,
22971 better implemented somewhere else.
22973 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22975 * docs/gst/tmpl/.cvsignore:
22976 * docs/gst/tmpl/gstimplementsinterface.sgml:
22977 * gst/gstinterface.c:
22980 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22982 * docs/gst/gstreamer-sections.txt:
22983 * docs/gst/tmpl/.cvsignore:
22984 * docs/gst/tmpl/gstenumtypes.sgml:
22985 remove obsolete doc file
22987 2005-09-21 David Schleef <ds@schleef.org>
22989 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22990 little beer, fix a little leak.
22992 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22994 * docs/gst/gstreamer-docs.sgml:
22995 * docs/gst/gstreamer-sections.txt:
22996 * docs/gst/tmpl/.cvsignore:
23000 * gst/gstelement.h:
23001 * gst/gstindex.c: (gst_index_class_init):
23003 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23004 (gst_index_factory_class_init), (gst_index_factory_init),
23005 (gst_index_factory_finalize), (gst_index_factory_new),
23006 (gst_index_factory_destroy), (gst_index_factory_find),
23007 (gst_index_factory_create), (gst_index_factory_make):
23008 * gst/gstindexfactory.h:
23009 * gst/gstpluginfeature.c:
23010 * gst/gstpluginfeature.h:
23011 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23012 more docs inlined, splitted gstindex.{c,h}
23014 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23016 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23019 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23021 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23022 Set sync to FALSE by default.
23024 2005-09-20 Wim Taymans <wim@fluendo.com>
23026 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23027 (gst_base_sink_init):
23028 Make sync property settable from subclass.
23030 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23031 (gst_fake_sink_change_state):
23032 Set sync to FALSE by default.
23034 2005-09-20 Wim Taymans <wim@fluendo.com>
23036 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23037 * tools/gst-launch.c: (main):
23038 The timeout handler should have lower priority than the source
23039 so we don't timeout before popping a message with 0 timeout.
23040 Dump error messages after failed state change.
23042 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23044 * tools/gst-inspect.c: (print_element_properties_info):
23047 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23049 * check/gst/gstevent.c:
23050 * gst/elements/gstfakesink.c:
23051 * gst/elements/gstfakesink.h:
23052 remove the sync property from fakesink.
23053 has the side effect of setting sync TRUE
23054 for fakesink, which is a change. Anyone who knows how
23055 to fix this nicely in a GObject-y way, feel free.
23057 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23059 * docs/gst/gstreamer-docs.sgml:
23060 remove probe refsection
23062 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23064 * check/Makefile.am:
23065 disable valgrinding the controller test again
23066 * docs/gst/gstreamer-sections.txt:
23067 update for api-changes
23069 2005-09-20 Wim Taymans <wim@fluendo.com>
23071 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23072 (gst_base_sink_set_property), (gst_base_sink_get_property),
23073 (gst_base_sink_do_sync):
23074 * gst/base/gstbasesink.h:
23075 Added sync property to basesink to disable clock sync.
23077 2005-09-20 Andy Wingo <wingo@pobox.com>
23079 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23080 eating the caller's refcount.
23082 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23083 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23086 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23087 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23088 of GLib 2.8 public, so we can know which refcount to check in
23091 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23092 (gst_object_init): Only set the gst refcount if we're going ahead
23093 with the refcount hack.
23095 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23097 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23098 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23099 more leaks plumbed, added more debug-logging
23103 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23105 * gst/gstmessage.c:
23106 remove include of gstmemchunk.h
23108 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23110 * gst/gstclock.c: (_gst_clock_id_free):
23111 Commit from the Political Party For More Atomic CVS Commits,
23112 so that people don't waste too much of their day fishing
23113 out obvious leaks out of massive commits.
23114 Oh, and fix a pretty damn obvious leak in the memchunk
23117 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23119 * check/Makefile.am:
23120 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23121 plug mem-leak, re-add to valgrindable tests
23123 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23126 unbreak the build for those who have chronic arthritis
23127 and typing "make check" is just too taxing on the hands
23129 2005-09-20 Andy Wingo <wingo@pobox.com>
23131 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23132 really want it out, you should fix plugins at the same time.
23134 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23137 * docs/gst/gstreamer-sections.txt:
23139 added missing symbols to api docs
23140 disable ref-count hack if we have glib >= 2.8
23142 2005-09-19 David Schleef <ds@schleef.org>
23144 * docs/gst/Makefile.am: Ignore a few more internal headers
23145 * docs/gst/gstreamer-docs.sgml: Remove old sections
23146 * docs/gst/gstreamer-sections.txt: Remove old sections
23147 * docs/gst/tmpl/gstobject.sgml: update
23148 * docs/gst/tmpl/gstplugin.sgml: update
23149 * docs/gst/tmpl/gstpluginfeature.sgml: update
23150 * docs/random/ds/0.9-suggested-changes: update.
23151 * gst/Makefile.am: remove memchunk and trashstack, since they're
23153 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23154 * gst/gst.h: don't include some headers
23155 * gst/gstchildproxy.c: add gstmarshal.h
23156 * gst/gstclock.c: Don't use memchunks
23157 * gst/gstminiobject.c: Add some docs
23158 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23159 * gst/gstobject.h: same
23160 * gst/gstplugin.c: include gstmacros.h
23161 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23162 * gst/gstquery.c: don't use memchunks
23163 * gst/gstregistry.c: rename gst_registry_deinit()
23164 * gst/gstregistry.h: same
23166 2005-09-19 David Schleef <ds@schleef.org>
23168 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23169 * docs/libs/gstreamer-libs-sections.txt:
23170 * docs/libs/tmpl/gstgetbits.sgml:
23171 * docs/libs/tmpl/gstputbits.sgml:
23173 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23175 * win32/gstenumtypes.c:
23176 * win32/gstenumtypes.h:
23179 2005-09-19 Wim Taymans <wim@fluendo.com>
23181 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23182 Automatically PAUSE and RESUME a pipeline when a flushing seek
23185 2005-09-19 Andy Wingo <wingo@pobox.com>
23187 * gst/gstregistry.h: Spacing fixen.
23189 2005-09-19 Wim Taymans <wim@fluendo.com>
23191 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23192 Handle state change failure more correctly.
23194 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23196 * check/Makefile.am:
23197 * check/pipelines/cleanup.c: (run_pipeline):
23198 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23200 enable cleanup again after fixing the leak
23202 some more info on docs
23204 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23206 * check/Makefile.am:
23207 re-enable tests now that leaks are plugged
23209 * check/gst/gstbin.c:
23210 * check/gst/gstpipeline.c:
23211 add some more tests while fixing leaks
23212 * common/check.mak:
23213 make sure binaries are uptodate when valgrinding/gdbing
23215 * gst/gstelementfactory.c:
23216 remove a ref too many, and add a FIXME for when we get
23217 round to disposing of classes
23219 fix the refcounting when loading a plugin from a file and
23220 the code pretends that the pointer is the same even though
23221 of course it can change
23222 * gst/gstpluginfeature.c:
23223 unref plugins marked cached (a bit confusing as a name)
23224 as the docs state should be done
23225 various doc additions to explain refcounting
23226 * gst/gstregistry.c:
23227 * gst/gstregistryxml.c:
23230 2005-09-19 Wim Taymans <wim@fluendo.com>
23232 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23233 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23234 (send_messages), (GST_START_TEST), (gstbus_suite):
23235 * check/gst/gstpipeline.c: (GST_START_TEST):
23236 * check/pipelines/cleanup.c: (run_pipeline):
23237 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23239 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23240 (gst_bus_source_check), (gst_bus_source_dispatch),
23241 (gst_bus_create_watch), (gst_bus_add_watch_full),
23242 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23244 * tools/gst-launch.c: (event_loop):
23245 * tools/gst-md5sum.c: (event_loop):
23246 GstBusHandler -> GstBusFunc, return value has the same meaning as
23247 any other GSource (FALSE == remove source).
23248 _add_watch() and _add_watch_full() now take a MessageType mask to
23249 only handle specific types of messages.
23250 _poll() returns the GstMessage instead of the message type to avoid
23252 _have_pending() takes a MessageType mask now too.
23253 Added testsuite for multiple bus watches.
23254 Fix testsuites and applications for new bus API.
23256 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23258 * check/Makefile.am:
23259 mark a bunch of the tests as to fix until we fix them
23261 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23263 * common/check.mak:
23264 use GST_PLUGIN settings for valgrind tests as well, so we're
23265 valgrinding the correct thing
23266 * gst/gst.c: (init_post):
23269 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23271 * gst/gst.c: (init_post), (gst_deinit):
23272 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23273 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23274 * gst/gstindex.c: (gst_index_factory_class_init),
23275 (gst_index_factory_finalize):
23276 * gst/gstobject.c: (gst_object_dispose):
23277 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23278 (gst_plugin_load_file), (gst_plugin_desc_free):
23279 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23280 (gst_plugin_feature_finalize):
23281 * gst/gstregistry.c: (gst_registry_class_init),
23282 (gst_registry_init), (gst_registry_finalize),
23283 (gst_registry_get_default), (gst_registry_deinit):
23284 * gst/gstregistry.h:
23285 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23286 various cleanups and memleak plugging. make valgrind is happy now.
23288 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23290 * common/check.mak:
23291 add a check-valgrind target
23293 2005-09-18 David Schleef <ds@schleef.org>
23295 * tools/gst-inspect.c: Revert the GOption code.
23297 2005-09-17 David Schleef <ds@schleef.org>
23299 * check/Makefile.am: Fix environment variables.
23300 * check/gst/gstplugin.c: Fix for API changes.
23301 * tools/gst-inspect.c: Fix for API changes.
23302 * tools/gst-xmlinspect.c: Fix for API changes.
23303 * gst/gstelementfactory.c:
23306 * gst/gstpluginfeature.c:
23307 * gst/gstpluginfeature.h:
23308 * gst/gstregistry.c:
23309 * gst/gstregistry.h:
23310 * gst/gstregistryxml.c:
23311 * gst/gsttypefind.c:
23312 * gst/gsttypefindfactory.c:
23313 * gst/indexers/gstfileindex.c:
23314 * gst/indexers/gstmemindex.c:
23315 * gst/schedulers/Makefile.am:
23316 Change registry to keep track of both plugins and features,
23317 removing the feature tracking from plugins themselves.
23319 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23321 * check/Makefile.am:
23322 * tools/gst-register.1.in:
23323 remove gst-register
23325 2005-09-15 David Schleef <ds@schleef.org>
23327 * check/gst/gstplugin.c:
23328 * gst/gstelementfactory.c:
23330 * gst/gstpluginfeature.c:
23331 * gst/gstregistry.c:
23332 Getting tired of debugging. Disabled all the unreffing of
23333 plugins and features, which fixes the segfaults, but of
23334 course leaks like crazy. At least playbin works.
23336 2005-09-15 David Schleef <ds@schleef.org>
23338 * check/gst/gstplugin.c: (register_check_elements),
23339 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23341 * gst/elements/gsttypefindelement.c: Fix refcounting.
23342 * gst/gsttypefind.c:
23343 * gst/gsttypefindfactory.c:
23344 * gst/gsttypefindfactory.h:
23346 2005-09-15 David Schleef <ds@schleef.org>
23348 * gst/gstindex.c: get refcounting correct.
23349 * gst/gstregistry.c: Handle the case where a feature/plugin is
23352 2005-09-15 David Schleef <ds@schleef.org>
23354 * check/Makefile.am:
23355 * check/gst/gstplugin.c: Add test
23356 * gst/gstplugin.c: Fix problems noticed by testsuite
23358 * gst/gstregistry.c:
23359 * gst/gstregistry.h:
23361 2005-09-15 David Schleef <ds@schleef.org>
23363 * gst/gstplugin.c: Implement semi-decent recounting and locking
23364 in plugins and plugin features.
23366 * gst/gstpluginfeature.c:
23367 * gst/gstpluginfeature.h:
23368 * gst/gstregistry.c:
23370 2005-09-15 Michael Smith <msmith@fluendo.com>
23372 * gst/gstregistry.c: (gst_registry_get_feature_list):
23373 Implement this. Makes oggdemux work; decodebin still broken.
23375 2005-09-14 David Schleef <ds@schleef.org>
23377 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23379 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23380 * gst/check/Makefile.am:
23381 * libs/gst/controller/Makefile.am:
23382 * libs/gst/dataprotocol/Makefile.am:
23384 2005-09-14 David Schleef <ds@schleef.org>
23386 * configure.ac: Remove getbits library. Nothing uses it, and
23387 it should be in something like liboil if someone did want
23389 * libs/gst/Makefile.am:
23390 * libs/gst/getbits/Makefile.am:
23391 * libs/gst/getbits/gbtest.c:
23392 * libs/gst/getbits/getbits.c:
23393 * libs/gst/getbits/getbits.h:
23394 * libs/gst/getbits/gstgetbits_generic.c:
23395 * libs/gst/getbits/gstgetbits_i386.s:
23396 * libs/gst/getbits/gstgetbits_inl.h:
23398 2005-09-14 David Schleef <ds@schleef.org>
23400 * gst/Makefile.am: Dist glib-compat.h
23402 2005-09-14 David Schleef <ds@schleef.org>
23404 * configure.ac: Remove gst/registries, since it's no longer used.
23405 * gst/registries/Makefile.am:
23406 * gst/registries/gstlibxmlregistry.c:
23407 * gst/registries/gstlibxmlregistry.h:
23408 * gst/registries/gstxmlregistry.c:
23409 * gst/registries/gstxmlregistry.h:
23410 * gst/registries/registrytest.c:
23412 2005-09-14 David Schleef <ds@schleef.org>
23414 * gst/glib-compat.h:
23415 * gst/gstregistryxml.c:
23416 Convergence is near. Seriously.
23418 2005-09-14 David Schleef <ds@schleef.org>
23420 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23421 * gst/glib-compat.h:
23422 Attempt #4 to appease the buildbots.
23424 2005-09-14 David Schleef <ds@schleef.org>
23426 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23429 2005-09-14 David Schleef <ds@schleef.org>
23431 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23434 2005-09-14 David Schleef <ds@schleef.org>
23436 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23439 2005-09-14 David Schleef <ds@schleef.org>
23441 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23442 * gst/glib-compat.h: Add some functions that are in newer versions
23443 of glib than we care to require.
23444 * gst/gstregistryxml.c: Use them.
23446 2005-09-14 David Schleef <ds@schleef.org>
23448 * po/POTFILES.in: remove gst-register.c
23450 2005-09-14 David Schleef <ds@schleef.org>
23452 * docs/gst/gstreamer-docs.sgml:
23453 * docs/gst/gstreamer-sections.txt:
23454 * docs/gst/gstreamer.types:
23455 * docs/gst/tmpl/gstelement.sgml:
23456 * docs/gst/tmpl/gstplugin.sgml:
23457 * docs/gst/tmpl/gstpluginfeature.sgml:
23458 Documentation updates for registry changes.
23460 2005-09-14 David Schleef <ds@schleef.org>
23462 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23463 because we don't require glib-2.8.
23465 2005-09-14 David Schleef <ds@schleef.org>
23467 * gst/gstregistryxml.c: Added. Essentially moved out of the
23468 registries directory.
23470 2005-09-14 David Schleef <ds@schleef.org>
23472 * check/Makefile.am:
23473 * check/generic/states.c:
23477 * gst/gst_private.h:
23478 * gst/gstelementfactory.c:
23483 * gst/gstpluginfeature.c:
23484 * gst/gstpluginfeature.h:
23485 * gst/gstregistry.c:
23486 * gst/gstregistry.h:
23487 * gst/gstregistrypool.c: remove
23488 * gst/gstregistrypool.h: remove
23489 * gst/gsttypefind.c:
23490 * gst/gsttypefindfactory.c:
23492 * tools/Makefile.am:
23493 * tools/gst-compprep.c:
23494 * tools/gst-inspect.c:
23495 * tools/gst-register.c: remove
23496 * tools/gst-xmlinspect.c:
23497 Registry rewrite. Changes registry from being a file created
23498 by a tool into a simple cache file created automatically by
23499 libgstreamer. Removed gst-register (because it's no longer
23500 needed). Remove registry pools, because we only have one
23501 registry implementation (XML). Fix up other subsystems as
23504 2005-09-13 Michael Smith <msmith@fluendo.com>
23506 * gst/gstconfig.h.in:
23507 Don't Use windows linking attributes for MinGW. Fixes #316157
23509 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23511 * gst/gstutils.c: (set_state_async_thread_func),
23512 (gst_element_set_state_async):
23513 Apparently people think it's better if this function doesn't
23514 try to set the state to whatever state was asked for on the first
23515 call to this function for any object. Seriously.
23517 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23519 * check/gst/gstpipeline.c: (GST_START_TEST):
23520 * docs/gst/gstreamer-sections.txt:
23521 * gst/gstutils.c: (set_state_async_thread_func),
23522 (gst_element_set_state_async):
23524 add a "gst_element_set_state_async" method that
23525 sets the state and starts a thread to make sure the state
23526 change completes as best as it can
23528 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23530 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23531 codify design+behaviour in testsuite after discussion
23533 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23535 * docs/gst/tmpl/gstelement.sgml:
23536 * docs/manual/appendix-quotes.xml:
23538 * gst/gstelement.c: (gst_element_set_state):
23541 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23543 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23544 (gst_base_transform_prepare_output_buf),
23545 (gst_base_transform_handle_buffer):
23546 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23547 (gst_capsfilter_prepare_buf):
23548 Remove the requirement for sub-classes to call the parent
23549 implementation of prepare_output_buffer with a wrapper function.
23551 * gst/gsttaglist.h:
23552 * gst/gsttagsetter.h:
23553 Fix #define wrapper
23555 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23557 * docs/gst/gstreamer-sections.txt:
23560 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23562 * docs/gst/gstreamer-sections.txt:
23563 * docs/gst/tmpl/gstelement.sgml:
23564 * docs/gst/tmpl/gstplugin.sgml:
23565 * gst/gstminiobject.c:
23567 docs now stop throwing warnings
23569 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23571 * docs/gst/gstreamer-sections.txt:
23572 * docs/gst/gstreamer.types:
23573 * docs/gst/tmpl/gstpad.sgml:
23574 * docs/gst/tmpl/gsttypes.sgml:
23575 * gst/base/gstadapter.h:
23576 * gst/base/gstbasesink.h:
23577 * gst/base/gstbasesrc.h:
23583 * gst/gstelement.h:
23585 * gst/gstmessage.h:
23587 * gst/gststructure.c:
23588 * gst/registries/gstlibxmlregistry.h:
23589 various documentation fixes
23591 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23593 * docs/gst/gstreamer-sections.txt:
23594 * docs/gst/tmpl/gstvalue.sgml:
23595 rearrange gstvalue section
23596 * gst/gstutils.c: (gst_element_state_get_name):
23598 * gst/gstvalue.c: (_gst_value_initialize):
23602 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23604 * check/gst-libs/controller.c:
23605 Header include fix.
23606 * gst/base/gstbasetransform.c:
23607 (gst_base_transform_default_prepare_buf),
23608 (gst_base_transform_handle_buffer):
23609 * gst/base/gstbasetransform.h:
23610 Some more basetransform changes and fixes to enable sub-classes
23611 that modify buffer metadata only.
23612 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23613 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23614 (gst_capsfilter_prepare_buf):
23615 If the output pad has fixed allowed caps and input buffers
23616 don't have any, set the fixed caps on outgoing buffers.
23618 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23619 * check/elements/identity.c: (GST_START_TEST):
23620 Make the error a little clearer when the test fails because
23621 identity made a copy of the buffer.
23622 * docs/gst/gstreamer-sections.txt:
23623 New symbols in gstbasetransform.h
23624 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23625 (gst_base_transform_init), (gst_base_transform_transform_size),
23626 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23627 (gst_base_transform_default_prepare_buf),
23628 (gst_base_transform_get_unit_size),
23629 (gst_base_transform_buffer_alloc),
23630 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23631 (gst_base_transform_change_state),
23632 (gst_base_transform_set_passthrough),
23633 (gst_base_transform_set_in_place),
23634 (gst_base_transform_is_in_place):
23635 * gst/base/gstbasetransform.h:
23636 Change BaseTransform to separate in_place operate from same_caps
23637 output. in_place implies that the element can perform the transform
23638 on incoming buffers in-place, even if the caps on the output are
23640 Sub-class elements can now implement special buffer allocation
23641 methods for outgoing buffers if they wish to.
23642 Big documentation addition.
23643 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23644 * gst/elements/gstelements.c:
23645 Changes for basetransform modifications.
23646 * gst/elements/Makefile.am:
23647 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23648 Compile fix. Extra debug output.
23650 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23652 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23654 add tests for valid pad naming
23655 * gst/check/gstcheck.c: (gst_check_log_message_func),
23656 (gst_check_log_critical_func):
23658 remove printing of code, it is fragile when the code contains
23659 % and the line number is enough info
23660 * gst/check/gstcheck.h:
23661 * gst/gstpad.c: (gst_pad_template_new):
23664 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23667 say what CHECK flags we use
23668 * docs/libs/gstreamer-libs.types:
23669 * libs/gst/controller/Makefile.am:
23670 * libs/gst/controller/gst-controller.c:
23671 * libs/gst/controller/gst-controller.h:
23672 * libs/gst/controller/gst-helper.c:
23673 * libs/gst/controller/gst-interpolation.c:
23674 * libs/gst/controller/gstcontroller.c:
23675 * libs/gst/controller/gsthelper.c:
23676 * libs/gst/controller/gstinterpolation.c:
23677 * tools/gst-inspect.c: (print_plugin_info):
23678 we don't use dashes in header names
23680 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23682 * check/Makefile.am:
23683 * check/gst/.cvsignore:
23684 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23685 (gst_pipeline_suite), (main):
23686 adding a test for pipelines and state changes
23687 * gst/gstutils.c: (get_state_func):
23689 * gstreamer.spec.in:
23692 2005-09-08 Michael Smith <msmith@fluendo.com>
23694 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23695 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23696 (gst_file_src_is_seekable), (gst_file_src_get_size),
23697 (gst_file_src_start):
23698 * gst/elements/gstfilesrc.h:
23699 Various fixes for unseekable, unmmapable, and non-normal files, so
23700 that fallback to read() rather than mmap() works.
23701 * gst/gstevent.c: (gst_event_new_newsegment):
23702 Allow newsegment events with segment_start == segment_end, as will
23703 correctly happen if you use filesrc on a zero-size file, for
23706 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23708 * gst/gstplugin.c: (gst_plugin_load_file):
23709 Call g_module_close when we don't load the module
23711 * gst/registries/gstlibxmlregistry.c:
23712 (gst_xml_registry_get_property):
23713 Port leak fix from 0.8
23715 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23717 * docs/gst/gstreamer-docs.sgml:
23718 * docs/gst/tmpl/.cvsignore:
23719 * docs/gst/tmpl/gsttrace.sgml:
23720 * docs/gst/tmpl/gsttrashstack.sgml:
23723 * gst/gstelement.h:
23725 * gst/gstmessage.c:
23726 * gst/gstmessage.h:
23729 * gst/gsttaginterface.c:
23730 * gst/gsttaginterface.h:
23731 * gst/gsttaglist.c:
23732 * gst/gsttaglist.h:
23733 * gst/gsttagsetter.c:
23734 * gst/gsttagsetter.h:
23737 * gst/gsttrashstack.c:
23738 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23739 inlined docs for gsttrace, gsttrashstack
23741 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23744 * gst/elements/gstbufferstore.h:
23745 * gst/elements/gsttypefindelement.c:
23746 * gst/elements/gsttypefindelement.h:
23748 * gst/gsttypefind.c:
23749 * gst/gsttypefind.h:
23750 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23751 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23752 (gst_type_find_factory_dispose),
23753 (gst_type_find_factory_unload_thyself),
23754 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23755 (gst_type_find_factory_get_caps),
23756 (gst_type_find_factory_get_extensions),
23757 (gst_type_find_factory_call_function):
23758 * gst/gsttypefindfactory.h:
23759 * gst/registries/gstlibxmlregistry.c:
23760 * gst/registries/gstxmlregistry.c:
23761 splitted gsttypefind into gsttypefind, gsttypefindfactory
23763 2005-09-07 Andy Wingo <wingo@pobox.com>
23765 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23766 condition whereby the pad's task function is entered before the
23767 pad_mode variable was set.
23769 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23771 * gst/gstpad.c: (gst_pad_alloc_buffer):
23772 Catch misbehaving pad_alloc functions that don't
23773 set up caps and do it for them.
23775 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23777 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23778 test for pipe!=NULL
23779 * docs/gst/tmpl/.cvsignore:
23780 * docs/gst/tmpl/gstmemchunk.sgml:
23781 * docs/gst/tmpl/gstparse.sgml:
23782 * docs/gst/tmpl/gsttaglist.sgml:
23783 * docs/gst/tmpl/gsttagsetter.sgml:
23784 * docs/gst/tmpl/gsttypefind.sgml:
23785 * docs/gst/tmpl/gsttypefindfactory.sgml:
23786 * gst/gstmemchunk.c:
23789 * gst/gsttaginterface.c:
23790 * gst/gsttypefind.c:
23791 * gst/gsttypefind.h:
23794 === release 0.9.2 ===
23796 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23801 releasing 0.9.2, "South"
23803 2005-09-05 Andy Wingo <wingo@pobox.com>
23805 * gst/registries/gstxmlregistry.h:
23806 * gst/registries/gstxmlregistry.c: Um... resurrect...
23808 * gst/registries/gstxmlregistry.h:
23809 * gst/registries/gstxmlregistry.c: and update to newer API.
23810 Incidentally they should be a bit faster now that they don't have
23813 2005-09-05 Andy Wingo <wingo@pobox.com>
23815 * gst/registries/gstxmlregistry.h:
23816 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23817 replaced by the libxml registry a while back
23819 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23821 * docs/gst/tmpl/gstplugin.sgml:
23822 * gst/elements/gstelements.c:
23824 * gst/gstplugin.c: (gst_plugin_register_func),
23825 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23826 (gst_plugin_get_source):
23828 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23829 (gst_xml_registry_save_plugin):
23830 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23831 (gst_xml_registry_save_plugin):
23832 * tools/gst-inspect.c: (print_plugin_info):
23833 add a "source" plugin description field, to represent the source
23834 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23835 will set it to PACKAGE, which is automake's idea of the name of
23836 the source project.
23838 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23843 * docs/Makefile.am:
23844 * docs/faq/Makefile.am:
23845 * docs/gst/tmpl/gstelement.sgml:
23846 * docs/gst/tmpl/gsttypes.sgml:
23847 * docs/htmlinstall.mak:
23848 * docs/manual/Makefile.am:
23849 * docs/pwg/Makefile.am:
23850 reorganize doc build a little
23851 split out docbook and gtk-doc stuff
23852 have two separate --enable's and enable them through autogen
23853 but disable by default in configure (to be similar to other
23855 * gstreamer.spec.in:
23856 clean up docs install
23874 translation updates
23876 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23878 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23881 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23882 (gst_fake_sink_change_state):
23883 Make state change function thread-safe.
23885 * gst/gstpad.c: (gst_pad_alloc_buffer):
23886 Set offset on generic buffer allocated by fallback.
23888 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23890 * docs/gst/gstreamer-sections.txt:
23891 * docs/gst/tmpl/gstelement.sgml:
23893 * libs/gst/controller/gst-controller.c:
23894 (gst_controlled_property_set_interpolation_mode),
23895 (gst_controlled_property_new),
23896 (gst_controller_find_controlled_property):
23897 run the wingo-magic script against the docs
23899 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23901 * docs/gst/gstreamer-docs.sgml:
23902 * docs/gst/gstreamer-sections.txt:
23903 * docs/gst/tmpl/.cvsignore:
23904 * docs/gst/tmpl/gstelementdetails.sgml:
23905 * docs/gst/tmpl/gstelementfactory.sgml:
23908 * gst/gstelementfactory.c:
23909 * gst/gstelementfactory.h:
23910 merged elementdetails docs into elementfactory docs
23913 2005-09-02 Andy Wingo <wingo@pobox.com>
23915 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23916 consider this enum an enum and not a flags.
23918 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23920 * docs/gst/gstreamer-docs.sgml:
23921 * docs/gst/tmpl/.cvsignore:
23922 * docs/gst/tmpl/gstghostpad.sgml:
23923 * docs/gst/tmpl/gstiterator.sgml:
23924 * docs/gst/tmpl/gstmacros.sgml:
23925 * docs/gst/tmpl/gstrealpad.sgml:
23926 * docs/gst/tmpl/gstregistry.sgml:
23927 * docs/gst/tmpl/gstregistrypool.sgml:
23928 * docs/gst/tmpl/gststructure.sgml:
23929 * docs/gst/tmpl/gstsystemclock.sgml:
23930 * docs/gst/tmpl/gsttrace.sgml:
23931 * gst/gstghostpad.c:
23933 * gst/gstmemchunk.c:
23934 * gst/gstmemchunk.h:
23936 * gst/gstregistry.c:
23937 * gst/gstregistrypool.c:
23938 * gst/gststructure.c:
23939 * gst/gstsystemclock.c:
23942 2005-09-02 Andy Wingo <wingo@pobox.com>
23944 * gst/gstelement.h (GstState): Renamed from GstElementState,
23945 changed to be a normal enum instead of flags.
23946 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23947 munged to be GST_STATE_CHANGE_*.
23948 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23949 work with the new state representation.
23950 (GstStateChange): New enumeration of possible state transitions.
23951 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23952 (GstElementClass::change_state): Pass the GstStateChange along as
23953 an argument. Helps language bindings, so they don't have to use
23954 tricky lock-needing macros like GST_STATE_CHANGE ().
23956 * scripts/update-states (file): New script. Run it on a file to
23957 update it for state naming and API changes. Updates files in
23960 * All files updated for the new API.
23962 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23964 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23965 * gst/gstutils.c: (gst_util_set_value_from_string),
23966 (gst_util_set_object_arg):
23967 fix a bunch of unchecked return values
23968 * tools/gst-complete.c: (main):
23969 * gstreamer.spec.in:
23972 2005-09-01 Wim Taymans <wim@fluendo.com>
23974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23975 (gst_base_sink_event), (gst_base_sink_do_sync),
23976 (gst_base_sink_handle_event):
23977 * gst/base/gstbasesink.h:
23978 Handle newsegments more correctly.
23983 * gst/gstevent.c: (gst_event_new_newsegment):
23984 A newsegment cannot have a start_time of -1
23986 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23988 * win32/gstenumtypes.c:
23989 * win32/gstenumtypes.h:
23992 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23994 * libs/gst/controller/gst-controller.c:
23995 (gst_controlled_property_set_interpolation_mode),
23996 (gst_controlled_property_new):
23997 fixed boolean again
23999 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24001 * docs/faq/gst-uninstalled:
24006 * gst/gstutils.c: (gst_element_link_filtered):
24008 add gst_element_link_filtered
24010 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24012 * docs/gst/gstreamer-docs.sgml:
24013 * docs/gst/gstreamer-sections.txt:
24014 * docs/gst/tmpl/.cvsignore:
24015 * docs/gst/tmpl/gsterror.sgml:
24016 * docs/gst/tmpl/gstfilter.sgml:
24017 * docs/gst/tmpl/gsturihandler.sgml:
24018 * docs/gst/tmpl/gsturitype.sgml:
24019 * docs/gst/tmpl/gstutils.sgml:
24020 * docs/gst/tmpl/gstxml.sgml:
24025 * gst/gsturitype.c:
24028 inlined more docs, fixed double id-ref
24030 2005-08-31 Wim Taymans <wim@fluendo.com>
24032 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24033 (gst_base_transform_handle_buffer):
24034 Passthrough elements don't need the caps as they don't care.
24036 2005-08-31 Wim Taymans <wim@fluendo.com>
24038 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24039 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24040 Don't leak refcounts on buffers.
24042 2005-08-31 Wim Taymans <wim@fluendo.com>
24044 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24045 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24046 (gst_base_transform_chain), (gst_base_transform_change_state):
24047 * gst/base/gstbasetransform.h:
24048 Handle the case where we are not negotiated more gracefully.
24050 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24052 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24053 (gst_file_src_map_region):
24054 Set READONLY flag on mmap'ed buffers, otherwise
24055 gst_buffer_make_writable() won't work properly (#314708).
24057 2005-08-31 Wim Taymans <wim@fluendo.com>
24059 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24060 passthrough elements can even do inplace on non writable
24061 buffers (as they don't touch them).
24063 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24065 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24066 (gst_test_mono_source_set_property),
24067 (gst_test_mono_source_class_init), (GST_START_TEST),
24068 (gst_controller_suite):
24069 more tests (hehe I have the most)
24071 describe popping messages whenusing mulltiple sources
24072 * libs/gst/controller/gst-controller.c:
24073 (gst_controlled_property_set_interpolation_mode),
24074 (gst_controlled_property_new):
24075 * libs/gst/controller/gst-controller.h:
24076 * libs/gst/controller/gst-interpolation.c:
24077 implement boolean properties
24079 2005-08-31 Wim Taymans <wim@fluendo.com>
24081 * gst/gstminiobject.c: (gst_mini_object_ref):
24082 Cannot assert that the refcount has to be positive
24083 since a disposed object can be resurrected.
24085 2005-08-31 Wim Taymans <wim@fluendo.com>
24087 * gst/gstpad.c: (gst_pad_init):
24088 Revert change, need to first fix badly behaving
24091 2005-08-30 Wim Taymans <wim@fluendo.com>
24093 * check/elements/fakesrc.c: (setup_fakesrc):
24094 * check/elements/identity.c: (setup_identity):
24095 Activate pads before using them.
24097 2005-08-30 Wim Taymans <wim@fluendo.com>
24099 * gst/base/gstadapter.c: (gst_adapter_flush):
24100 Flushing out 0 bytes is ok for this function.
24102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24103 no newsegment gives a warning and sets the start/stop to
24106 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24107 (gst_base_transform_set_passthrough):
24110 * gst/gstminiobject.c: (gst_mini_object_ref):
24111 Check refcount here too.
24113 * gst/gstpad.c: (gst_pad_init):
24114 Pads are initially flushing and refusing data.
24116 * gst/gstutils.c: (gst_element_link_pads_filtered):
24117 When adding a capsfilter element make sure it has the
24118 same state as the parent bin.
24120 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24122 * docs/gst/tmpl/.cvsignore:
24123 * docs/gst/tmpl/gstformat.sgml:
24124 * docs/gst/tmpl/gstversion.sgml:
24128 * gst/gstversion.h.in:
24129 more docs and two more inlined
24131 2005-08-30 Wim Taymans <wim@fluendo.com>
24133 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24134 Don't sync to clock.
24136 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24138 * docs/gst/gstreamer-sections.txt:
24139 ultral33t func10ns deserve to appear in the docs actually
24140 * docs/gst/tmpl/.cvsignore:
24141 * docs/gst/tmpl/gstcompat.sgml:
24142 * docs/gst/tmpl/gstconfig.sgml:
24143 * gst/check/gstcheck.c:
24145 * gst/gstconfig.h.in:
24148 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24150 * docs/gst/tmpl/.cvsignore:
24151 * docs/gst/tmpl/gstquery.sgml:
24152 * docs/gst/tmpl/gstutils.sgml:
24155 inlined and extended docs
24157 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24159 * check/gst-libs/controller.c: (GST_START_TEST),
24160 (gst_controller_suite):
24162 * docs/gst/tmpl/gstutils.sgml:
24163 * docs/libs/gstreamer-libs-sections.txt:
24164 * docs/libs/tmpl/gstdataprotocol.sgml:
24166 * examples/controller/audio-example.c: (main):
24167 controller example works now
24170 * tools/gst-inspect.c: (print_element_properties_info):
24171 show param spec flags
24173 2005-08-29 Andy Wingo <wingo@pobox.com>
24175 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24177 2005-08-28 Andy Wingo <wingo@pobox.com>
24179 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24180 as having two arguments instead of just one. Allows superclasses
24181 to access information on subclasses -- see the terrible for() loop
24182 in gtype.c:g_type_create_instance for the reason why. All callers
24185 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24187 * docs/design/part-messages.txt:
24189 * docs/gst/tmpl/.cvsignore:
24190 * docs/gst/tmpl/gstcaps.sgml:
24191 * docs/gst/tmpl/gstclock.sgml:
24197 * gst/gstmessage.c:
24198 added descriptions for bus and message
24199 inline caps and clock docs
24201 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24203 * gst/gstmessage.c:
24204 * gst/gstmessage.h:
24207 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24209 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24212 2005-08-26 Andy Wingo <wingo@pobox.com>
24214 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24215 element_set_state's return val.
24216 (test_2_elements): Add test that's been disabled for months.
24218 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24219 can-activate-pull properties.
24221 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24222 can-activate-pull properties. Implement is_seekable so fakesrc can
24223 operate in pull mode.
24225 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24227 (gst_base_sink_activate, gst_base_sink_activate_pull)
24228 (gst_base_sink_activate_push): Make activation mode choosing work.
24230 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24231 is right. Make pull mode work. Post an eos before pausing in pull
24233 (gst_base_sink_change_state): Pay attention to the core's
24234 change_state() return val.
24236 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24237 has-getrange properties. Cleanups.
24239 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24240 has_getrange and replace with can_activate_pull and
24243 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24244 locking comments. Remove has_loop, has_chain and replace with
24245 can_activate_pull and can_activate_push.
24247 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24250 * examples/Makefile.am:
24251 * examples/metadata/Makefile.am:
24252 * examples/metadata/read-metadata.c: (message_loop),
24253 (have_pad_handler), (make_pipeline), (print_tag), (main):
24254 Add metadata reading example that loops over a list of filenames,
24255 dumping any tags found.
24257 * gst/gstbus.c: (gst_bus_dispose):
24258 * gst/gstelement.c: (gst_element_dispose):
24259 Release a few potentially-held references in dispose.
24261 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24263 * docs/gst/tmpl/gstminiobject.sgml:
24264 do *not* add tmpl/*.sgml files to CVS!
24266 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24268 * libs/gst/bytestream/.cvsignore:
24269 * libs/gst/bytestream/Makefile.am:
24270 * libs/gst/bytestream/adapter.c:
24271 * libs/gst/bytestream/adapter.h:
24272 * libs/gst/bytestream/bytestream.c:
24273 * libs/gst/bytestream/bytestream.h:
24274 * libs/gst/bytestream/filepad.c:
24275 * libs/gst/bytestream/filepad.h:
24276 removing obsolete files
24278 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24280 * docs/gst/gstreamer-docs.sgml:
24281 * docs/libs/gstreamer-libs-docs.sgml:
24282 disabed additional index entries again, as this makes docs-gen just
24283 slow and they aren't useful yet
24284 * docs/libs/gstreamer-libs-sections.txt:
24285 little -section.txt cleanup for libs
24287 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24289 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24290 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24291 fix up some debugging
24292 (gst_base_transform_get_unit_size),
24293 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24294 (gst_base_transform_handle_buffer):
24295 * gst/base/gstbasetransform.h:
24296 handle and store timed NEWSEGMENT events so that subclasses that
24297 calculate time by counting samples have a segment_start time they
24298 need to add to their timestamps - see audioresample
24300 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24303 removed ';' from the end of macro defs
24304 * docs/gst/gstreamer-docs.sgml:
24305 * docs/gst/gstreamer-sections.txt:
24306 * docs/gst/tmpl/.cvsignore:
24308 * gst/gstelement.c: (gst_element_class_init),
24309 (gst_element_set_state), (activate_pads),
24310 (gst_element_save_thyself):
24311 * gst/gstevent.c: (gst_event_new_newsegment):
24313 * gst/gstiterator.c:
24314 * gst/gstiterator.h:
24317 * gst/gstutils.c: (gst_pad_query_convert):
24319 fixed parameter name mismatches between source, header and docs
24320 added some more docs, resolved the last batch of unused elements in
24321 docs (now someone needs to doc them)
24323 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24325 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24326 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24327 don't walk through the plugins backwards. Where is all this
24328 reversed logic coming from ?
24330 2005-08-25 Wim Taymans <wim@fluendo.com>
24332 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24333 (gst_base_transform_transform_size),
24334 (gst_base_transform_configure_caps),
24335 (gst_base_transform_get_unit_size),
24336 (gst_base_transform_buffer_alloc),
24337 (gst_base_transform_change_state):
24338 * gst/base/gstbasetransform.h:
24339 Cache caps unit_size.
24340 Make sure we cannot negotiate up and downstream at the
24343 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24345 * gst/gst.c: (init_pre), (init_post):
24346 register the installed plugin path after the env var
24347 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24348 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24349 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24350 directories, so the tests can prefer uninstalled over installed
24352 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24354 * gst/base/gstbasetransform.h:
24359 2005-08-25 Wim Taymans <wim@fluendo.com>
24361 * gst/gstbin.c: (bin_bus_handler):
24362 Be a bit more conservative about the posted message.
24364 * gst/gstbus.c: (gst_bus_post):
24365 Some cleanups, warn wrong return values.
24367 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24369 * check/gst/gstbin.c: (GST_START_TEST):
24370 * gst/gstbin.c: (bin_bus_handler):
24371 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24372 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24373 (gst_message_new_warning), (gst_message_new_tag),
24374 (gst_message_new_state_changed), (gst_message_new_segment_start),
24375 (gst_message_new_segment_done), (gst_message_new_custom):
24376 * gst/gstmessage.h:
24377 * tools/gst-launch.c: (event_loop):
24378 * tools/gst-md5sum.c: (event_loop):
24379 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24381 2005-08-25 Wim Taymans <wim@fluendo.com>
24383 * check/generic/states.c: (GST_START_TEST):
24384 Cleanup can be done at the end.
24386 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24387 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24388 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24389 Oh boy.. Thanks for finding this, Thomas.
24391 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24393 * docs/gst/gstreamer.types:
24394 added missing types
24396 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24398 * docs/gst/gstreamer-docs.sgml:
24399 * docs/gst/gstreamer-sections.txt:
24400 * docs/gst/tmpl/.cvsignore:
24402 * gst/gstiterator.c:
24404 * gst/registries/gstxmlregistry.h:
24405 added missing classes and symbols (123 more to go)
24406 removed removed symbols from section file
24407 fixed many doc-comments
24409 2005-08-24 Wim Taymans <wim@fluendo.com>
24411 * check/generic/states.c: (GST_START_TEST):
24412 Make sure all tasks are stopped.
24414 * check/gst/gstbin.c: (GST_START_TEST):
24415 Unref after usage for proper valgrinding.
24417 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24418 Really wait for the task to stop before destroying the
24421 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24422 (gst_queue_src_activate_push):
24423 Small cleanups. Don't stop the task when we did not start
24426 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24427 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24428 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24431 Protect the stream lock with the object lock.
24432 Disallow setting the stream lock when running.
24433 Add cleanup_all to wait for the threadpool to finish.
24434 Remove code to autoallocate a mutex if none was provided.
24435 Add _join() to wait for a task to stop.
24436 Protect the thread pool with a global lock.
24438 2005-08-24 Wim Taymans <wim@fluendo.com>
24440 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24441 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24442 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24443 * gst/base/gstbasesink.h:
24444 Handle newsegment events correctly.
24445 Drop buffers out of the segment range.
24447 2005-08-22 Andy Wingo <wingo@pobox.com>
24449 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24450 macro, implements an interface and gstimplementsinterface for a
24453 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24455 * check/Makefile.am:
24456 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24457 add a test that does a bunch of state changes on elements
24458 needs some fixing for valgrind
24459 * check/states/sinks.c: (gst_object_suite):
24462 add prototype for gst_caps_is_equal_fixed
24464 * gst/gstregistrypool.c:
24467 2005-08-24 Andy Wingo <wingo@pobox.com>
24469 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24470 convert a negative value. Doesn't make much sense. Mostly this is
24471 here to force callers to ensure -1 maps to -1.
24473 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24475 * docs/pwg/advanced-types.xml:
24476 Well done to Michael for catching my deliberate introduction
24477 of this spelling mistake.
24478 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24479 * gst/gstelement.h:
24480 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24481 unlink pads before removing the element from the bin.
24483 2005-08-24 Andy Wingo <wingo@pobox.com>
24485 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24486 the same thing as GST_DEBUG=*:4.
24487 (parse_debug_level, parse_debug_category): New helper parsers.
24489 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24491 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24492 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24493 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24494 (gst_base_transform_buffer_alloc),
24495 (gst_base_transform_handle_buffer):
24496 use gboolean return values and pointers to size so we can use the
24497 full GST_BUFFER_SIZE range (guint) for buffer sizes
24498 use GstPadDirection for transform_caps
24499 * gst/base/gstbasetransform.h:
24500 rename get_size to get_unit_size since that's what it is
24501 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24502 use GstPadDirection for transform_caps
24503 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24505 cleanup and debugging
24507 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24509 * gst/gstelement.c: (gst_element_class_init),
24510 (gst_element_set_state), (activate_pads),
24511 (gst_element_save_thyself):
24512 * tools/gst-compprep.c: (main):
24513 * tools/gst-inspect.c: (print_element_properties_info):
24514 * tools/gst-xmlinspect.c: (print_element_properties):
24515 Fixed long standing mem-leak
24517 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24519 * check/gst/gstbin.c: (GST_START_TEST):
24520 * gst/gstbin.c: (bin_bus_handler):
24521 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24522 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24523 (gst_message_new_warning), (gst_message_new_tag),
24524 (gst_message_new_state_changed), (gst_message_new_segment_start),
24525 (gst_message_new_segment_done), (gst_message_new_custom):
24526 * gst/gstmessage.h:
24527 * tools/gst-launch.c: (event_loop):
24528 * tools/gst-md5sum.c: (event_loop):
24529 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24530 that applications can sensibly post custom messages with references
24531 to their own objects.
24533 2005-08-24 Andy Wingo <wingo@pobox.com>
24535 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24538 2005-08-24 Wim Taymans <wim@fluendo.com>
24540 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24541 (gst_base_transform_transform_caps),
24542 (gst_base_transform_transform_size),
24543 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24544 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24545 (gst_base_transform_handle_buffer):
24546 * gst/base/gstbasetransform.h:
24547 Many fixes and new features added by Thomas. Can now also do
24548 transforms with variable sizes and a custom fixate_caps function.
24550 2005-08-24 Wim Taymans <wim@fluendo.com>
24552 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24556 Cast to ClockTime before formatting to time.
24561 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24563 * check/gst-libs/controller.c: (GST_START_TEST),
24564 (gst_controller_suite):
24565 * docs/gst/tmpl/gstcaps.sgml:
24566 * docs/gst/tmpl/gstghostpad.sgml:
24567 * docs/gst/tmpl/gstquery.sgml:
24568 * docs/gst/tmpl/gstutils.sgml:
24569 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24570 (gst_object_sink_values), (gst_object_get_value_arrays),
24571 (gst_object_get_value_array):
24572 gracefully handle helper method calls to objects that are not beeing
24573 controlled, added test case for that
24575 2005-08-23 Wim Taymans <wim@fluendo.com>
24577 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24578 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24579 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24580 (gst_event_parse_qos), (gst_event_new_seek),
24581 (gst_event_parse_seek):
24583 Some more debugging output and doc cleanups.
24585 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24586 Fix possible deadlock.
24588 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24590 * docs/gst/gstreamer-docs.sgml:
24591 * docs/gst/gstreamer-sections.txt:
24592 * docs/gst/gstreamer.types:
24593 * docs/gst/tmpl/.cvsignore:
24596 * gst/gstelement.c:
24598 added 100 symbols from gstreamer-unused.txt to the right sections
24599 fixed more broken comments
24600 added GstBus to docs
24602 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24604 * docs/gst/gstreamer-sections.txt:
24605 * docs/gst/tmpl/.cvsignore:
24606 * docs/gst/tmpl/gstbin.sgml:
24607 * docs/gst/tmpl/gstbuffer.sgml:
24608 * gst/base/gstbasesrc.c:
24609 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24612 * tools/gst-launch.1.in:
24613 inlined more doc comments, added missing comments and fixed comments
24616 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24618 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24622 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24624 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24625 * gst/gststructure.h:
24626 add a fixate function for booleans; add a FIXME that these func
24627 names should probably be gst_structure_fixate_*
24629 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24631 * docs/gst/gstreamer-docs.sgml:
24632 * docs/gst/gstreamer-sections.txt:
24634 * gst/gstbin.c: (gst_bin_get_type),
24635 (gst_bin_child_proxy_get_child_by_index),
24636 (gst_bin_child_proxy_get_children_count),
24637 (gst_bin_child_proxy_init):
24638 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24639 (gst_child_proxy_get_child_by_index),
24640 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24641 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24642 (gst_child_proxy_get), (gst_child_proxy_set_property),
24643 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24644 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24645 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24646 * gst/gstchildproxy.h:
24647 * gst/parse/grammar.y:
24648 * tools/gst-inspect.c: (print_interfaces),
24649 (print_element_properties_info), (print_element_info):
24650 ported gstchildproxy over from 0.8
24651 ported gst-inspect fixes and enhancements over from 0.8
24653 2005-08-22 Wim Taymans <wim@fluendo.com>
24655 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24656 (gst_base_transform_handle_buffer):
24657 Also call the transform function if we have ANY caps.
24659 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24662 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24664 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24665 Don't pretend to handle seek events if the source is not seekable
24667 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24669 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24670 Remove extra parameter to debug output
24672 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24673 (gst_base_src_do_seek), (gst_base_src_activate_push):
24674 Fix seek event handling.
24676 * gst/gstpipeline.c: (gst_pipeline_change_state):
24677 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24678 (gst_queue_src_activate_push):
24679 Don't start the src pad task on FLUSH_STOP if the pad
24683 2005-08-22 Wim Taymans <wim@fluendo.com>
24685 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24686 Added check for gst_static_caps_get() refcounting.
24688 2005-08-22 Wim Taymans <wim@fluendo.com>
24690 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24691 Make _static_caps_get() refcounting sane.
24693 * gst/gstelement.c: (gst_element_set_state):
24694 Add g_return_val_if_fail() to protect against segfaults.
24696 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24698 * docs/gst/tmpl/gstevent.sgml:
24701 inlined remaining docs, added missing doc comments
24703 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24705 * check/gst/gstbin.c: (GST_START_TEST):
24706 since we don't know when preroll is done, use refcount range
24708 * gst/check/gstcheck.h:
24709 add macro for checking refcount range
24711 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24713 * check/Makefile.am:
24714 clean up environment for when registry gets built versus
24715 when actual tests are run; valgrind seems to not report
24716 leaks if GST_PLUGIN_PATH is set to some specific values
24717 * check/gst/gstbin.c: (GST_START_TEST):
24718 add more refcounting checks; maybe this exposes a
24720 * common/check.mak:
24721 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24722 * gst/check/gstcheck.h:
24723 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24724 (gst_bin_change_state):
24725 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24726 add/fix debugging/whitespace
24728 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24730 * check/gst/gstevent.c: (event_probe), (test_event),
24732 Er, don't call gst_bin_watch_for_state_change you idiot.
24734 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24736 * check/Makefile.am:
24737 Use CHECK_CFLAGS and CHECK_LIBS
24738 * check/gst/gstevent.c: (event_probe), (test_event),
24741 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24742 (gst_base_src_start), (gst_base_src_stop),
24743 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24744 (gst_base_src_change_state):
24745 Sprinkle gst_base_src_stop liberally around error paths to fix
24746 problems reusing a source after failed state changes.
24747 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24748 (helper_find_suggest), (gst_type_find_helper):
24749 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24751 * docs/gst/tmpl/gstevent.sgml:
24752 Migrate part of the docs from the SGML file. Wait for ensonic to
24753 tell me how I did it wrong ;)
24754 * tools/gst-typefind.c: (main):
24755 Extra robustness to state changes between files.
24757 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24759 * check/Makefile.am:
24760 don't valgrind the controller test - it's leaking - Stefan, HELP
24761 * gst/check/gstcheck.c: (gst_check_message_error),
24762 (gst_check_chain_func), (gst_check_setup_element),
24763 (gst_check_teardown_element), (gst_check_setup_src_pad),
24764 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24765 (gst_check_teardown_sink_pad):
24766 * gst/check/gstcheck.h:
24767 add a bunch of methods to set up elements, and src and sink pads
24768 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24769 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24772 * gst/gstmessage.c:
24774 whitespace/doc fixes
24776 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24778 * gst/gstelement.h:
24779 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24780 be handled by the application and not always printed as well
24782 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24784 * check/Makefile.am:
24786 * gst/check/gstcheck.c: (gst_check_message_error):
24787 * gst/check/gstcheck.h:
24788 add a fail_unless_equals_int
24789 add fail_unless for error messages
24791 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24793 * check/Makefile.am:
24795 * common/Makefile.am:
24796 * common/check.mak:
24798 factor out some of the common stuff so we can use it
24800 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24802 * check/Makefile.am:
24803 * check/gst/gstiterator.c: (GST_START_TEST):
24804 * check/gst/gstsystemclock.c: (GST_START_TEST),
24805 (gst_systemclock_suite):
24806 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24808 valgrind more tests
24810 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24812 * check/elements/.cvsignore:
24813 * check/elements/gstfakesrc.c:
24814 rename to name of element
24815 * check/elements/identity.c: (chain_func), (event_func),
24816 (setup_identity), (cleanup_identity), (GST_START_TEST),
24817 (identity_suite), (main):
24818 add a test for identity
24819 * check/Makefile.am:
24820 * pkgconfig/Makefile.am:
24821 * pkgconfig/gstreamer-check.pc.in:
24822 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24826 move the check stuff to a library that gets installed
24827 * check/gst-libs/controller.c: (GST_START_TEST):
24828 * check/gst-libs/gdp.c:
24829 * check/gst/gst.c: (GST_START_TEST):
24830 * check/gst/gstbin.c:
24831 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24832 * check/gst/gstbus.c:
24833 * check/gst/gstcaps.c: (GST_START_TEST):
24834 * check/gst/gstelement.c:
24835 * check/gst/gstghostpad.c:
24836 * check/gst/gstiterator.c:
24837 * check/gst/gstmessage.c:
24838 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24839 * check/gst/gstobject.c:
24840 * check/gst/gstpad.c: (GST_START_TEST):
24841 * check/gst/gststructure.c: (GST_START_TEST):
24842 * check/gst/gstsystemclock.c: (GST_START_TEST),
24843 (gst_systemclock_suite):
24844 * check/gst/gsttag.c: (gst_tag_suite):
24845 * check/gst/gstvalue.c:
24846 * check/pipelines/cleanup.c:
24847 * check/pipelines/simple_launch_lines.c:
24848 * check/states/sinks.c:
24849 change include statement
24851 * docs/gst/gstreamer-sections.txt:
24852 * docs/gst/tmpl/gstpad.sgml:
24853 document more pad stuff
24854 * gst/gstminiobject.c: (gst_mini_object_ref),
24855 (gst_mini_object_unref):
24858 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24860 * docs/gst/tmpl/gst.sgml:
24862 eliminate another tmpl file, fix spelling in the long-description
24864 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24866 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24867 (test_event), (timediff), (gstevents_suite):
24868 Should fix build on 64-bit arch's
24870 2005-08-18 Andy Wingo <wingo@pobox.com>
24872 Make sure that when a pipeline goes to PLAYING, that data has
24873 actually hit the sink.
24875 * check/states/sinks.c (test_sink): A sink that doesn't get any
24876 data shouldn't return SUCCESS for going to either PLAYING or
24877 PAUSED. Test also the return values on the way back down.
24879 * gst/gstelement.c (gst_element_set_state): When changing the
24880 state of an element currently changing state asynchronously, go to
24881 lost-state after commiting the pending state. Makes future calls
24882 to get_state continue to return ASYNC.
24884 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24885 ASYNC when going to PLAYING if we still don't have preroll, as can
24886 happen with live sources.
24888 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24890 * docs/pwg/advanced-types.xml:
24891 Hack long paragraph into 2 chunks as a workaround for buggy
24892 jadetex version in sid and breezy that loops infinitely and
24895 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24897 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24898 (test_event), (timediff), (gstevents_suite):
24899 Provide more error margin in clock measurements to allow for
24900 g_get_current_time inaccuracies.
24902 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24904 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24905 (test_event), (timediff), (gstevents_suite):
24906 Fix error message output so I might be able to tell why the
24907 test works here but fails on the build farm.
24909 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24911 * check/Makefile.am:
24912 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24913 (test_event), (timediff), (gstevents_suite), (main):
24916 * docs/design/part-seeking.txt:
24917 Spelling correction
24919 * docs/gst/tmpl/gstevent.sgml:
24920 * docs/gst/tmpl/gstfakesrc.sgml:
24923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24924 Treat a buffer-without-newsegment the same as a receiving
24925 a newsegment not in time format, and disable syncing to the clock
24928 * gst/gstbus.c: (gst_bus_set_sync_handler):
24929 Assert if anyone tries to replace the existing sync_handler for bus,
24930 as only the owner should be setting it.
24933 Have a fixed set of custom event enums with events identified by
24934 their structure name (as in 0.8), rather than a free-for-all
24935 allowing collisions between enum values from different plugins.
24937 * gst/gstpad.c: (gst_pad_class_init):
24940 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24941 Handle out-of-band downstream events from the sending thread.
24943 2005-08-17 Andy Wingo <wingo@pobox.com>
24945 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24946 play-timeout==0 to mean no timeout at all. In that case, don't
24947 bother with a get_state or a warning, just return directly, even
24950 * gst/base/gstbasetransform.c: Debug changes.
24953 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24954 ensure bins post state change messages. A bit of a hack but I can't
24955 think of a way to avoid it.
24957 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24959 2005-08-16 Andy Wingo <wingo@pobox.com>
24961 * gst/base/gstadapter.h:
24962 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24963 peek() but you own the data. Not terribly efficient atm.
24965 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24967 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24968 (gst_element_found_tags):
24970 Add two utility functions for tag handling.
24972 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24974 * docs/manual/advanced-dataaccess.xml:
24975 * docs/manual/basics-helloworld.xml:
24976 Fix docs to use _bin_add() before _link(), which fixes the examples
24977 with recent core versions (reported by Madhan Raj M
24978 <raj_madan@rediffmail.com>, #313199).
24980 2005-08-16 Wim Taymans <wim@fluendo.com>
24982 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24983 Added subtract checks.
24985 * docs/design/part-events.txt:
24986 Some more docs about newsegment
24988 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24991 * gst/gstcaps.c: (gst_caps_to_string):
24992 Add comments, cleanups.
24994 * gst/gstelement.c: (gst_element_save_thyself):
24997 * gst/gstvalue.c: (gst_value_collect_int_range),
24998 (gst_string_unwrap), (gst_value_union_int_int_range),
24999 (gst_value_union_int_range_int_range),
25000 (gst_value_intersect_int_int_range),
25001 (gst_value_intersect_int_range_int_range),
25002 (gst_value_intersect_double_double_range),
25003 (gst_value_intersect_double_range_double_range),
25004 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25005 (gst_value_subtract_int_range_int),
25006 (gst_value_subtract_double_range_double),
25007 (gst_value_subtract_double_range_double_range),
25008 (gst_value_subtract_from_list), (gst_value_subtract_list),
25009 (gst_value_can_compare), (gst_value_compare_fraction):
25010 Cleanups, add comments, remove unneeded asserts.
25012 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25014 * tools/gst-launch.c: (event_loop):
25015 don't convert NULL structures to strings
25017 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25019 * docs/gst/gstreamer-sections.txt:
25020 made some defines private
25021 * docs/gst/tmpl/gstconfig.sgml:
25022 * docs/gst/tmpl/gstqueue.sgml:
25023 * docs/gst/tmpl/gsttaglist.sgml:
25024 * docs/gst/tmpl/gsttypes.sgml:
25025 * docs/gst/tmpl/gstutils.sgml:
25026 * docs/pwg/appendix-porting.xml:
25027 * gst/base/gstbasesink.h:
25028 * gst/base/gstbasesrc.c:
25029 * gst/base/gstbasesrc.h:
25030 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25031 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25032 * gst/gstelement.c: (gst_element_class_init):
25033 * gst/gstpad.c: (gst_pad_class_init):
25034 * gst/gstqueue.c: (gst_queue_class_init):
25035 * gst/gstxml.c: (gst_xml_class_init):
25036 documented all undocumented signal inline
25037 * libs/gst/controller/gst-controller.h:
25040 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25042 * docs/pwg/appendix-porting.xml:
25043 Document _set_link_function -> _set_setcaps_function.
25045 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25047 * check/Makefile.am:
25048 add a .check target for running the check
25049 * check/gst-libs/controller.c: (GST_START_TEST):
25051 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25052 complete checks for gstbuffer; would be nice if I could get the
25053 gcov stuff to work so I can see if I actually completed gstbuffer.c
25054 * check/gstcheck.h:
25055 add ASSERT_BUFFER_REFCOUNT
25057 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25059 * docs/gst/gstreamer-sections.txt:
25060 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25062 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25063 spew out a warning if a tag that is already registered
25064 is re-registered, unless it is re-registered with a
25065 different type (#308438).
25067 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25069 * docs/pwg/appendix-porting.xml:
25070 * docs/pwg/building-state.xml:
25071 Add some paragraphs about state changes in 0.9 to the PWG
25072 and the porting guide, in particular about the new meaning
25073 of GST_STATE_PAUSED and how to write state change functions
25074 with concurrent access by multiple threads in mind.
25076 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25078 * docs/gst/gstreamer-docs.sgml:
25079 * docs/libs/gstreamer-libs-docs.sgml:
25080 added deprecation and since indexes
25081 * libs/gst/controller/gst-controller.c:
25082 * libs/gst/controller/gst-helper.c:
25086 2005-08-11 Wim Taymans <wim@fluendo.com>
25088 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25089 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25090 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25091 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25092 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25093 (gst_ghost_pad_set_target):
25094 Actually implement (re)setting the target on a ghostpad
25095 as described in the docs.
25097 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25099 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25100 Check whether GST_DEBUG_NO_COLOR environment variable is
25101 set and disable coloured debug output if that is the case.
25103 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25105 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25106 (gst_type_find_helper):
25107 The memory returned by gst_type_find_peek() needs to
25108 stay valid until the end of a typefind function, and
25109 typefind functions may keep results from different
25110 offsets around, so we can't just unref the buffer from
25111 the previous _peek(), but have to save all buffers
25112 returned by _peek() until typefinding is done and only
25115 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25117 * docs/gst/gstreamer-sections.txt:
25119 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25121 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25123 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25124 Fix a pretty good memleak.
25126 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25128 * gst/gstiterator.h:
25129 Fix wrong include and 'make distcheck'.
25131 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25133 * gst/gstbin.c: (bin_bus_handler):
25134 Use gst_element_post_message() instead.
25136 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25138 * gst/base/gstadapter.h:
25139 * gst/base/gstbasesink.h:
25140 * gst/base/gstbasesrc.h:
25141 * gst/base/gstbasetransform.h:
25142 * gst/base/gstcollectpads.h:
25143 * gst/base/gstpushsrc.h:
25144 * gst/gstiterator.h:
25145 Add padding to our base elements' class and instance structs and
25146 to GstIterator (you will need to rebuild all plugins and apps!)
25148 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25150 * gst/gstbin.c: (bin_bus_handler):
25151 Make default message forwarding from child->bus to bin->bus
25152 threadsafe and make it not emit warnings if the parent has no bus.
25154 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25156 * gst/gstelement.c: (activate_pads):
25157 On paused->ready, set pad->caps to NULL, as is the documented
25158 behaviour in this state change. Fixes playback of series of
25159 media files when visualization is enabled in Totem.
25161 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25163 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25164 Allow NULL as filter-caps (which means "any").
25166 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25168 * docs/libs/gstreamer-libs-sections.txt:
25169 * libs/gst/controller/gst-controller.c:
25170 * libs/gst/controller/gst-controller.h:
25171 * libs/gst/controller/gst-helper.c:
25172 adding more entries to the docs and fix small doc-bugs
25174 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25176 * docs/gst/gstreamer-docs.sgml:
25177 * docs/gst/gstreamer-sections.txt:
25178 * docs/gst/gstreamer.types:
25179 * docs/gst/tmpl/gstbasesink.sgml:
25180 * docs/gst/tmpl/gstbasesrc.sgml:
25181 * docs/gst/tmpl/gstbasetransform.sgml:
25182 * docs/gst/tmpl/gstfakesrc.sgml:
25183 * gst/base/gstcollectpads.c:
25184 * gst/base/gstcollectpads.h:
25185 * libs/gst/controller/gst-controller.c:
25186 * libs/gst/controller/gst-controller.h:
25187 * libs/gst/controller/gst-helper.c:
25188 * libs/gst/controller/gst-interpolation.c:
25189 * libs/gst/controller/lib.c:
25190 added long/short desc for controller docs
25191 added collectpads base class docs
25192 added correct includes to base-class docs
25194 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25196 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25197 (gst_test_mono_source_set_property),
25198 (gst_test_mono_source_class_init), (GST_START_TEST),
25199 (gst_controller_suite):
25200 * docs/gst/gstreamer-docs.sgml:
25201 * docs/gst/gstreamer-sections.txt:
25202 * docs/gst/gstreamer.types:
25203 * docs/libs/gstreamer-libs-docs.sgml:
25204 * docs/libs/gstreamer-libs-sections.txt:
25205 * gst/base/gstadapter.c:
25206 * libs/gst/controller/gst-controller.c:
25207 (gst_controlled_property_new), (gst_controlled_property_free),
25208 (gst_controller_new_valist),
25209 (gst_controller_remove_properties_valist),
25210 (gst_controller_sink_values), (_gst_controller_finalize):
25211 * libs/gst/controller/gst-controller.h:
25212 * libs/gst/controller/gst-helper.c:
25213 (gst_object_control_properties), (gst_object_uncontrol_properties),
25214 (gst_object_get_controller), (gst_object_set_controller),
25215 (gst_object_sink_values), (gst_object_get_value_arrays),
25216 (gst_object_get_value_array):
25217 more tests (and fixes) for the controller
25218 more docs for the controller
25219 integrated companies docs for the adapter
25221 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25223 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25224 (GST_START_TEST), (fakesrc_suite):
25225 add tests for sizetype
25227 2005-08-04 Andy Wingo <wingo@pobox.com>
25229 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25230 fixes buffer_alloc proxying among other things.
25232 * gst/base/gstbasetransform.c:
25233 * gst/base/gstbasetransform.h:
25234 Revert patch to gstbasetransform from 7-28 removing
25237 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25238 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25239 Semantics changed, should return not the size of the output buffer
25240 but the byte size of a buffer with a given caps.
25242 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25244 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25245 out) are not the pad caps until setcaps finishes.
25246 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25247 not-in-place case as well. Deal with changing from in-place to
25248 not-in-place within calling pad_alloc_buffer. Still a bit
25249 concerned about the overhead here...
25251 2005-08-03 Andy Wingo <wingo@pobox.com>
25253 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25254 fixating is an error.
25256 2005-08-04 Edward Hervey <edward@fluendo.com>
25258 * gst/base/gstadapter.h:
25259 Added gst_adapter_get_type() to the header
25261 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25263 * check/Makefile.am:
25264 * check/gst-libs/controller.c:
25265 * libs/gst/controller/gst-controller.c:
25266 (gst_controller_new_valist):
25267 added check test suite for the controller
25268 * gst/base/gstpushsrc.c:
25271 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25273 * docs/gst/Makefile.am:
25274 * docs/gst/gstreamer-docs.sgml:
25275 * docs/gst/gstreamer-sections.txt:
25276 * docs/gst/gstreamer.types:
25277 * docs/gst/tmpl/gstfakesrc.sgml:
25279 * gst/base/gstbasesink.c:
25280 * gst/base/gstbasesink.h:
25281 * gst/base/gstbasesrc.c:
25282 * gst/base/gstbasesrc.h:
25283 * gst/base/gstbasetransform.c:
25284 * gst/base/gstpushsrc.c:
25285 * gst/base/gstpushsrc.h:
25286 add short/long description docs to base classes
25287 add pushsrc to the docs
25288 remove consolidated doc fragments
25290 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25293 * docs/libs/Makefile.am:
25294 * docs/libs/gstreamer-libs-docs.sgml:
25295 * docs/libs/gstreamer-libs-sections.txt:
25296 * docs/libs/gstreamer-libs.types:
25297 * examples/Makefile.am:
25298 * examples/controller/.cvsignore:
25299 * examples/controller/Makefile.am:
25300 * examples/controller/audio-example.c: (main):
25301 * libs/gst/Makefile.am:
25302 * libs/gst/controller/.cvsignore:
25303 * libs/gst/controller/Makefile.am:
25304 * libs/gst/controller/gst-controller.c:
25305 (on_object_controlled_property_changed), (gst_timed_value_compare),
25306 (gst_timed_value_find),
25307 (gst_controlled_property_set_interpolation_mode),
25308 (gst_controlled_property_new), (gst_controlled_property_free),
25309 (gst_controller_find_controlled_property),
25310 (gst_controller_new_valist), (gst_controller_new),
25311 (gst_controller_remove_properties_valist),
25312 (gst_controller_remove_properties), (gst_controller_set),
25313 (gst_controller_set_from_list), (gst_controller_unset),
25314 (gst_controller_get), (gst_controller_get_all),
25315 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25316 (gst_controller_get_value_array),
25317 (gst_controller_set_interpolation_mode),
25318 (_gst_controller_finalize), (_gst_controller_init),
25319 (_gst_controller_class_init), (gst_controller_get_type):
25320 * libs/gst/controller/gst-controller.h:
25321 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25322 (g_object_uncontrol_properties), (g_object_get_controller),
25323 (g_object_set_controller), (g_object_sink_values),
25324 (g_object_get_value_arrays), (g_object_get_value_array):
25325 * libs/gst/controller/gst-interpolation.c:
25326 (gst_controlled_property_find_timed_value_node),
25327 (interpolate_none_get), (interpolate_trigger_get),
25328 (interpolate_trigger_get_value_array):
25329 * libs/gst/controller/lib.c: (gst_controller_init):
25330 * pkgconfig/Makefile.am:
25331 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25332 * pkgconfig/gstreamer-control.pc.in:
25333 * testsuite/Makefile.am:
25334 * testsuite/controller/.cvsignore:
25335 * testsuite/controller/Makefile.am:
25336 * testsuite/controller/interpolator.c: (main):
25337 added controller code
25338 removed dparam pc files
25340 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25341 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25342 (gst_collectpads_stop):
25343 Broadcast the condition when shutting down, to make sure we wake all
25344 threads up. Shut down pads on finalize, for safety.
25346 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25347 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25348 (gst_base_transform_handle_buffer),
25349 (gst_base_transform_change_state):
25350 Handle PAUSED->READY->PAUSED transition after negotiation
25352 * gst/gstmessage.c: (gst_message_init):
25353 Extra piece of debug for new messages.
25355 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25358 * docs/gst/tmpl/gstbasesrc.sgml:
25359 * docs/gst/tmpl/gstelement.sgml:
25360 * docs/gst/tmpl/gstevent.sgml:
25361 * docs/gst/tmpl/gstfakesrc.sgml:
25362 * docs/gst/tmpl/gstformat.sgml:
25363 * docs/gst/tmpl/gstghostpad.sgml:
25364 * docs/gst/tmpl/gstpad.sgml:
25365 * docs/gst/tmpl/gstquery.sgml:
25366 * docs/gst/tmpl/gststructure.sgml:
25367 * docs/gst/tmpl/gsttaglist.sgml:
25368 * docs/gst/tmpl/gstvalue.sgml:
25369 * docs/libs/gstreamer-libs-docs.sgml:
25370 * docs/libs/gstreamer-libs-sections.txt:
25371 * docs/libs/gstreamer-libs.types:
25372 * libs/gst/Makefile.am:
25373 * libs/gst/control/.cvsignore:
25374 * libs/gst/control/Makefile.am:
25375 * libs/gst/control/control.c:
25376 * libs/gst/control/control.h:
25377 * libs/gst/control/dparam.c:
25378 * libs/gst/control/dparam.h:
25379 * libs/gst/control/dparam_smooth.c:
25380 * libs/gst/control/dparam_smooth.h:
25381 * libs/gst/control/dparamcommon.h:
25382 * libs/gst/control/dparammanager.c:
25383 * libs/gst/control/dparammanager.h:
25384 * libs/gst/control/dplinearinterp.c:
25385 * libs/gst/control/dplinearinterp.h:
25386 * libs/gst/control/unitconvert.c:
25387 * libs/gst/control/unitconvert.h:
25388 * testsuite/Makefile.am:
25389 * testsuite/dynparams/.cvsignore:
25390 * testsuite/dynparams/Makefile.am:
25391 * testsuite/dynparams/dparamstest.c:
25392 * tools/Makefile.am:
25393 * tools/gst-inspect.c: (print_element_info), (main):
25394 * tools/gst-xmlinspect.c: (print_element_info), (main):
25395 deactivate and remove dparams (libgstcontrol)
25397 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25399 * gst/elements/gsttypefindelement.c:
25400 (gst_type_find_element_have_type), (gst_type_find_element_init),
25401 (stop_typefinding), (gst_type_find_element_handle_event),
25402 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25403 * gst/elements/gsttypefindelement.h:
25404 Set caps on all outgoing buffers, not just the first one.
25406 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25408 * gst/elements/gsttypefindelement.c:
25409 (gst_type_find_element_have_type),
25410 (gst_type_find_element_check_set_buffer_caps),
25411 (gst_type_find_element_init), (stop_typefinding),
25412 (gst_type_find_element_handle_event),
25413 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25414 * gst/elements/gsttypefindelement.h:
25415 Set caps on first outgoing buffer when we've found the type.
25417 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25419 * docs/gst/gstreamer-docs.sgml:
25420 * docs/gst/gstreamer-sections.txt:
25421 * docs/gst/tmpl/gstscheduler.sgml:
25422 * docs/gst/tmpl/gstschedulerfactory.sgml:
25423 Remove some old cruft from docs.
25425 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25428 Fix inline docs for GstPadLinkReturn.
25430 * gst/gststructure.c: (gst_structure_has_name):
25431 * gst/gststructure.h:
25432 * docs/gst/gstreamer-sections.txt:
25433 New API: gst_structure_has_name().
25435 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25438 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25439 and _LARGEFILE_SOURCE in config.h as required. Do not
25440 export those flags in our .pc files any longer (#142209).
25442 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25444 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25445 (gst_file_sink_do_seek), (gst_file_sink_event),
25446 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25447 Redo seek/tell calls with large file support in mind; add some
25448 debugging messages; add log message that tells us when large
25449 file support is unavailable or not enabled for some reason.
25451 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25452 Add log message that tells us when large file support
25453 is unavailable or not enabled for some reason.
25455 2005-07-29 Wim Taymans <wim@fluendo.com>
25457 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25458 Added test for removing an element with ghostpad from a bin.
25459 Fixed test as current implementation does the right thing.
25461 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25462 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25463 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25464 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25465 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25466 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25467 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25468 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25469 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25470 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25471 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25472 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25473 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25474 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25475 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25476 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25477 * gst/gstghostpad.h:
25478 Clean up ghostpads, remove properties for internal stuff.
25481 Prepare for switching targets, not all use cases work yet.
25483 2005-07-29 Wim Taymans <wim@fluendo.com>
25485 * docs/design/part-gstghostpad.txt:
25488 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25489 (gst_bin_remove_func):
25490 Unlinking pads while holding the bin LOCK is not a good
25493 * gst/gstpad.c: (gst_pad_class_init),
25494 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25495 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25496 No prob setting template after creating the pad.
25498 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25500 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25501 (gst_bus_peek), (gst_bus_source_dispatch),
25502 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25503 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25504 gst_bus_poll may be called from other threads. Handle
25505 this nicely by not making poll_data disappear off the
25506 stack once gst_bus_poll returns.
25507 gst_bus_peek now increments the refcount on the returned
25510 2005-07-29 Wim Taymans <wim@fluendo.com>
25512 * docs/design/part-gstghostpad.txt:
25513 Overview of current GhostPad datastructures and use
25514 cases for changing the target.
25516 2005-07-28 Wim Taymans <wim@fluendo.com>
25518 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25519 Added checks for hierarchy consistency whan adding linked
25522 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25523 Added check to test element scheduling without bin/pipeline.
25525 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25526 First add elements to bin, then link.
25528 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25529 (gst_bin_remove_func):
25530 Unlink pads from elements added/removed from bin to maintain
25531 hierarchy consistency.
25533 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25535 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25536 (gst_base_transform_handle_buffer):
25537 * gst/base/gstbasetransform.h:
25538 Remove broken delay_configure (fixes renegotiation of software
25539 scaling pipelines); remove some leftover printf()s.
25541 2005-07-28 Wim Taymans <wim@fluendo.com>
25543 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25544 Added some more tests for wrong hierarchy
25546 * docs/design/part-overview.txt:
25549 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25552 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25553 (gst_element_dispose):
25554 Some more cleanups.
25556 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25557 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25558 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25559 (gst_pad_set_caps), (gst_pad_send_event):
25560 Check for correct hierarchy when linking pads. Moving to
25561 strict requirement for ghostpads when linking elements in
25565 Clean ups. Added WRONG_HIERARCHY return value.
25567 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25569 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25570 Better debug if no transform is possible.
25572 2005-07-27 Wim Taymans <wim@fluendo.com>
25574 * docs/random/wtay/network-transp:
25575 Some old doc I had.
25577 2005-07-27 Wim Taymans <wim@fluendo.com>
25579 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25580 (gst_dp_event_from_packet):
25581 Fix serialization of seek events.
25583 2005-07-27 Wim Taymans <wim@fluendo.com>
25585 * check/gst-libs/gdp.c: (GST_START_TEST):
25586 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25587 Fix compilation and fix event serialization.
25589 2005-07-27 Wim Taymans <wim@fluendo.com>
25592 * docs/design/part-TODO.txt:
25593 * docs/design/part-events.txt:
25596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25597 (gst_base_sink_event), (gst_base_sink_do_sync),
25598 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25599 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25600 (gst_base_src_do_seek), (gst_base_src_event_handler),
25601 (gst_base_src_loop):
25602 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25603 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25604 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25605 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25606 (gst_base_transform_set_passthrough),
25607 (gst_base_transform_is_passthrough):
25608 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25609 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25615 * gst/gstelement.c: (gst_element_seek):
25616 * gst/gstelement.h:
25617 Update gst_element_seek.
25619 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25620 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25621 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25622 (gst_event_new_eos), (gst_event_new_newsegment),
25623 (gst_event_parse_newsegment), (gst_event_new_tag),
25624 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25625 (gst_event_parse_qos), (gst_event_new_seek),
25626 (gst_event_parse_seek), (gst_event_new_navigation):
25628 Make GstEvent use GstStructure. Add parsing code, make sure the
25629 API is sufficiently generic.
25630 Mark possible directions of events and serialization.
25632 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25633 (_gst_message_copy), (gst_message_new_segment_start),
25634 (gst_message_new_segment_done), (gst_message_new_custom),
25635 (gst_message_parse_segment_start),
25636 (gst_message_parse_segment_done):
25639 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25640 (gst_pad_set_caps), (gst_pad_send_event):
25641 Update for new events.
25642 Catch events sent in wrong directions.
25644 * gst/gstqueue.c: (gst_queue_link_src),
25645 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25646 (gst_queue_handle_src_query):
25651 Remove event code from this file.
25653 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25654 (gst_dp_event_from_packet):
25657 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25659 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25660 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25661 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25662 Make debugging actually useful.
25664 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25666 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25667 (gst_pad_fixate_caps):
25668 Implement default fixation once again, so that gst_pad_fixate()
25669 actually does anything at all. This probably needs to be some
25670 sort of a last resort, and use profile-based fixation first, but
25671 since that doesn't exist yet, this is the best we have. Fixes
25672 visualization in Totem.
25674 2005-07-22 Wim Taymans <wim@fluendo.com>
25676 * docs/design/part-events.txt:
25679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25680 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25681 (gst_base_sink_activate_pull):
25682 Some more comments.
25684 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25685 (gst_fake_src_create):
25686 Fix handoff marshall.
25688 * gst/elements/gstidentity.c: (gst_identity_class_init),
25689 (gst_identity_transform_ip):
25690 We're a real inplace element.
25692 * gst/gstbus.c: (gst_bus_post):
25693 Added some comments.
25695 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25696 * tests/muxing/case1.c: (main):
25697 * tests/sched/dynamic-pipeline.c: (main):
25698 * tests/sched/interrupt1.c: (main):
25699 * tests/sched/interrupt2.c: (main):
25700 * tests/sched/interrupt3.c: (main):
25701 * tests/sched/runxml.c: (main):
25702 * tests/sched/sched-stress.c: (main):
25703 * tests/seeking/seeking1.c: (event_received), (main):
25704 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25706 * tests/threadstate/threadstate3.c: (main):
25707 * tests/threadstate/threadstate4.c: (main):
25708 * tests/threadstate/threadstate5.c: (main):
25711 2005-07-21 Wim Taymans <wim@fluendo.com>
25713 * docs/design/part-seeking.txt:
25714 Some small additions.
25716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25717 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25718 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25719 * gst/base/gstbasesink.h:
25720 discont values are gint64, handle the math correctly.
25722 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25723 Make the basesrc report error if the source pad is not linked.
25725 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25726 (gst_queue_loop), (gst_queue_handle_src_query),
25727 (gst_queue_src_activate_push):
25728 Make queue collect data even if the srcpad is not linked.
25729 Start pushing out data as soon as it is linked.
25731 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25733 Added gst_flow_get_name() to ease error reporting.
25735 2005-07-20 Wim Taymans <wim@fluendo.com>
25737 * gst/gstmessage.c: (gst_message_new_segment_start),
25738 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25739 (gst_message_parse_segment_done):
25740 * gst/gstmessage.h:
25741 Added a bunch of messages for advanced seeking.
25743 * gst/parse/grammar.y:
25744 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25745 (gst_dpman_state_changed):
25746 Fix some new-pad -> pad-added signals
25748 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25750 * docs/manual/appendix-porting.xml:
25751 * docs/pwg/appendix-porting.xml:
25752 Document new-pad/state-change signal renames and the FixedList
25755 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25757 * docs/manual/advanced-autoplugging.xml:
25758 * docs/manual/basics-helloworld.xml:
25759 * docs/manual/basics-pads.xml:
25760 * docs/random/ds/0.9-suggested-changes:
25761 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25762 * gst/gstelement.h:
25766 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25767 (gst_structure_parse_array), (gst_structure_parse_value):
25768 * gst/gstvalue.c: (gst_type_is_fixed),
25769 (gst_value_list_prepend_value), (gst_value_list_append_value),
25770 (gst_value_list_get_size), (gst_value_list_get_value),
25771 (gst_value_transform_array_string), (gst_value_serialize_array),
25772 (gst_value_deserialize_array), (gst_value_intersect_array),
25773 (gst_value_is_fixed), (_gst_value_initialize):
25775 GstElement::new-pad -> pad-added, GstElement::state-change ->
25776 state-changed, GstValueFixedList -> GstValueArray, add format and
25777 flags as their own arguments in gst_element_seek() (should improve
25778 "bindeability"), remove function generators since they don't work
25779 under a whole bunch of compilers (they were deprecated already
25782 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25784 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25785 (_gst_debug_register_funcptr):
25787 Fix illegal cast on some platforms (#309253).
25789 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25791 * gst/gstmessage.c: (gst_message_new_custom):
25792 * gst/gstmessage.h:
25793 Add _new_custom, make _new_application a macro to _new_custom.
25795 2005-07-20 Wim Taymans <wim@fluendo.com>
25797 * gst/base/gstbasesrc.c: (gst_base_src_init),
25798 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25799 * gst/base/gstbasesrc.h:
25800 Add a gboolean to decide when to push out a discont.
25802 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25803 (gst_queue_loop), (gst_queue_handle_src_query),
25804 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25805 (gst_queue_set_property), (gst_queue_get_property):
25808 * tests/threadstate/threadstate1.c: (main):
25809 Make a thread test compile and run... very silly..
25812 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25814 * docs/manual/appendix-porting.xml:
25815 Mention removal of libgstgconf-0.9.la and existence of gconf
25818 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25820 * docs/pwg/advanced-clock.xml:
25821 * docs/pwg/appendix-porting.xml:
25822 * docs/pwg/intro-preface.xml:
25823 * docs/pwg/other-base.xml:
25824 * docs/pwg/other-manager.xml:
25825 * docs/pwg/other-nton.xml:
25826 * docs/pwg/other-ntoone.xml:
25827 * docs/pwg/other-oneton.xml:
25828 * docs/pwg/pwg.xml:
25829 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25830 demuxer), remove n-to-n (was never written), fix some code examples
25831 and links and update the porting section to include all this.
25833 2005-07-19 Wim Taymans <wim@fluendo.com>
25835 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25836 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25837 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25838 (gst_queue_src_activate_push), (gst_queue_change_state),
25839 (gst_queue_get_property):
25841 Propagate GstFlowReturn more intelligently upstream and output
25842 an ERROR/EOS when streaming stopped due to fatal error.
25844 2005-07-19 Wim Taymans <wim@fluendo.com>
25846 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25847 Don't block forever for the state change to complete, the
25848 pipeline already did with a sensible timeout.
25850 2005-07-19 Wim Taymans <wim@fluendo.com>
25852 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25853 Make sure we never call the create function is we
25856 2005-07-19 Andy Wingo <wingo@pobox.com>
25858 * gst/parse/parse.l: Attempt to solve bug #172815.
25860 2005-07-19 Wim Taymans <wim@fluendo.com>
25862 * docs/design/part-clocks.txt:
25863 * docs/design/part-events.txt:
25864 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25865 Small docs updates.
25866 Only update the seeking values when we are not
25869 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25871 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25872 Oops, ignore the result of gst_pad_push_event here.
25874 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25876 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25877 (gst_base_src_activate_push):
25878 Send discont event from the loop function, as pads
25879 aren't activated yet in the activate_push handler.
25881 * gst/gstbin.c: (bin_bus_handler):
25882 Don't leak element name.
25884 2005-07-18 Andy Wingo <wingo@pobox.com>
25886 * configure.ac: Use AS_LIBTOOL_TAGS.
25888 2005-07-18 Wim Taymans <wim@fluendo.com>
25890 * docs/gst/gstreamer.types:
25891 Remove deleted types.
25893 2005-07-18 Wim Taymans <wim@fluendo.com>
25895 * check/elements/gstfakesrc.c: (GST_START_TEST):
25898 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25899 (init_popt_callback):
25901 * gst/gst_private.h:
25902 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25903 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25906 * gst/gstconfig.h.in:
25907 * gst/gstelement.c: (gst_element_class_init),
25908 (gst_element_set_base_time), (gst_element_get_base_time),
25909 (iterator_fold_with_resync), (gst_element_change_state),
25910 (gst_element_dispose), (gst_element_get_bus):
25911 * gst/gstelement.h:
25912 * gst/gstelementfactory.h:
25913 * gst/gsterror.c: (_gst_core_errors_init):
25916 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25918 * gst/gstinfo.c: (_gst_debug_init):
25919 * gst/gstmessage.c: (_gst_message_copy):
25920 * gst/gstmessage.h:
25921 * gst/gstminiobject.h:
25924 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25925 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25928 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25929 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25930 (gst_pipeline_get_last_stream_time):
25931 * gst/gstpipeline.h:
25932 * gst/gstpluginfeature.h:
25934 * gst/gstscheduler.c:
25935 * gst/gstscheduler.h:
25936 * gst/gststructure.h:
25937 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25938 (gst_task_finalize), (gst_task_func), (gst_task_create),
25939 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25940 (gst_task_stop), (gst_task_pause):
25942 * gst/gsttypefind.h:
25944 * gst/registries/gstlibxmlregistry.c: (load_feature),
25945 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25946 * gst/registries/gstxmlregistry.c:
25947 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25948 * gst/schedulers/threadscheduler.c:
25949 * libs/gst/control/dparammanager.h:
25950 * tools/gst-inspect.c: (print_element_list),
25951 (print_plugin_features), (print_element_features):
25952 * tools/gst-xmlinspect.c: (print_element_list),
25953 (print_plugin_info), (main):
25954 Removed plugable schedulers.
25955 Removed Scheduler/Manager from elements.
25956 Removed gsttypes.h, rearranged includes.
25957 Removed dependency pad<->element, element<>pipeline, and
25958 various others, fix includes.
25959 implement gst_pad_get_parent() with gst_object_get_parent()
25960 Make GstTask sefcontained.
25961 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25963 Fix endless loop in iterator_fold_with_resync.
25966 2005-07-18 Wim Taymans <wim@fluendo.com>
25972 2005-07-18 Wim Taymans <wim@fluendo.com>
25975 No more cothreads.h
25977 2005-07-18 Wim Taymans <wim@fluendo.com>
25981 Let's remove these.
25983 2005-07-18 Wim Taymans <wim@fluendo.com>
25985 * docs/design/part-dynamic.txt:
25986 * docs/design/part-events.txt:
25987 * docs/design/part-seeking.txt:
25988 Some more docs in the works.
25990 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25991 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25992 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25993 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25994 (gst_base_transform_handle_buffer),
25995 (gst_base_transform_sink_activate_push),
25996 (gst_base_transform_src_activate_pull),
25997 (gst_base_transform_set_passthrough),
25998 (gst_base_transform_is_passthrough):
26001 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26004 * gst/gstevent.c: (gst_event_finalize):
26007 * gst/gstutils.c: (gst_element_unlink),
26008 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26009 (gst_pad_proxy_setcaps):
26011 Add _get_parent_element() to get a pads parent as an element.
26013 2005-07-18 Wim Taymans <wim@fluendo.com>
26015 * check/gst/gstbin.c: (GST_START_TEST):
26018 2005-07-18 Wim Taymans <wim@fluendo.com>
26020 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26021 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26022 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26023 (gst_base_sink_event), (gst_base_sink_do_sync),
26024 (gst_base_sink_chain), (gst_base_sink_loop),
26025 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26026 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26028 Fix logic for returning ASYNC when not prerolled.
26030 2005-07-18 Wim Taymans <wim@fluendo.com>
26032 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26033 Fix nasty refcount bug.
26035 2005-07-16 Philippe Khalaf <burger@speedy.org>
26037 * gst/elements/gstfdsrc.c:
26038 * gst/elements/gstfdsrc.h:
26039 * gst/elements/gstelements.c:
26040 * gst/elements/Makefile.am:
26041 Ported fdsrc to 0.9.
26043 2005-07-16 Wim Taymans <wim@fluendo.com>
26045 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26046 (gst_base_sink_do_sync):
26049 2005-07-16 Wim Taymans <wim@fluendo.com>
26051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26052 (gst_base_sink_event), (gst_base_sink_get_times),
26053 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26054 * gst/base/gstbasesink.h:
26055 Store and use discont values when syncing buffers as described
26058 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26059 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26060 (gst_base_src_activate_push):
26061 Push discont event when starting.
26063 * gst/elements/gstidentity.c: (gst_identity_transform):
26066 * gst/gstbin.c: (gst_bin_change_state):
26067 Small cleanups in base_time distribution.
26069 * gst/gstelement.c: (gst_element_set_base_time),
26070 (gst_element_get_base_time), (gst_element_change_state):
26071 * gst/gstelement.h:
26072 Added methods for the base_time of the element.
26075 * gst/gstpipeline.c: (gst_pipeline_send_event),
26076 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26077 (gst_pipeline_get_last_stream_time):
26078 * gst/gstpipeline.h:
26080 Handle seeking as described in design doc, remove stream_time
26082 Cleanups clock and stream_time selection code. Added accessors
26083 for the stream_time.
26086 2005-07-16 Andy Wingo <wingo@pobox.com>
26088 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26091 2005-07-16 Wim Taymans <wim@fluendo.com>
26093 * check/gst/gstbin.c: (GST_START_TEST):
26094 Make elements silent as the deep_notify refs the
26095 parent, which might make the test fail.
26097 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26098 Don't hold the lock for too long.
26100 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26102 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26103 Don't unref the caps we passed to gst_caps_make_writable() after
26104 passing them. gst_caps_make_writable() will do that for us.
26106 2005-07-15 Andy Wingo <wingo@pobox.com>
26108 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26111 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26112 own marshalling function for the handoff signal. Properly type the
26113 buffer as a buffer. Fixes some warnings. Should do a more general
26115 (gst_identity_class_init): Plug into the right marshaller.
26117 2005-07-15 Wim Taymans <wim@fluendo.com>
26119 * docs/design/part-TODO.txt:
26120 * docs/design/part-clocks.txt:
26121 * docs/design/part-element-sink.txt:
26122 * docs/design/part-events.txt:
26123 * docs/design/part-gstpipeline.txt:
26124 Updated docs, mostly DISCONT related.
26126 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26128 * docs/pwg/building-pads.xml:
26129 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26131 2005-07-15 Andy Wingo <wingo@pobox.com>
26133 * tools/gst-typefind.c: Update, add copyright block.
26135 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26136 Normalize and truncate caps before fixation.
26139 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26140 discards all but the first structure from its argument.
26142 2005-07-15 Wim Taymans <wim@fluendo.com>
26144 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26145 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26146 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26147 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26148 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26149 (gst_base_transform_chain), (gst_base_transform_change_state),
26150 (gst_base_transform_set_passthrough),
26151 (gst_base_transform_is_passthrough):
26152 * gst/base/gstbasetransform.h:
26153 Make passthrough work using the bufferpools.
26154 Changed API a bit, subclasses have to write into a buffer
26155 provided by the base class.
26156 More debug info in nego functions.
26158 * gst/elements/gstidentity.c: (gst_identity_init),
26159 (gst_identity_transform):
26160 Port to new base class.
26162 2005-07-15 Wim Taymans <wim@fluendo.com>
26164 * gst/gstmessage.c: (gst_message_new_state_changed):
26165 * tools/gst-launch.c: (event_loop), (main):
26166 Totally dump messages in -launch with the -m option.
26167 Fix message name for State messages,
26169 2005-07-14 Wim Taymans <wim@fluendo.com>
26171 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26172 Post error messages on errors.
26174 2005-07-14 Wim Taymans <wim@fluendo.com>
26176 * gst/gstcaps.c: (gst_caps_do_simplify):
26180 Define error for stream stopped.
26182 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26183 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26184 Do proper return values.
26186 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26187 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26188 (gst_pad_get_range):
26189 Better return values.
26192 Reorganise return values, add macro to check for fatal errors.
26194 * gst/gstqueue.c: (gst_queue_chain):
26195 Return proper GstFlowReturn values,
26197 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26199 * docs/gst/gstreamer-sections.txt:
26200 * docs/gst/gstreamer.types:
26201 * docs/gst/tmpl/gst.sgml:
26202 * docs/gst/tmpl/gstbasesink.sgml:
26203 * docs/gst/tmpl/gstbasesrc.sgml:
26204 * docs/gst/tmpl/gstbasetransform.sgml:
26205 * docs/gst/tmpl/gstbin.sgml:
26206 * docs/gst/tmpl/gstbuffer.sgml:
26207 * docs/gst/tmpl/gstcaps.sgml:
26208 * docs/gst/tmpl/gstclock.sgml:
26209 * docs/gst/tmpl/gstcompat.sgml:
26210 * docs/gst/tmpl/gstconfig.sgml:
26211 * docs/gst/tmpl/gstelement.sgml:
26212 * docs/gst/tmpl/gstelementdetails.sgml:
26213 * docs/gst/tmpl/gstelementfactory.sgml:
26214 * docs/gst/tmpl/gstenumtypes.sgml:
26215 * docs/gst/tmpl/gsterror.sgml:
26216 * docs/gst/tmpl/gstevent.sgml:
26217 * docs/gst/tmpl/gstfakesink.sgml:
26218 * docs/gst/tmpl/gstfakesrc.sgml:
26219 * docs/gst/tmpl/gstfilesink.sgml:
26220 * docs/gst/tmpl/gstfilesrc.sgml:
26221 * docs/gst/tmpl/gstfilter.sgml:
26222 * docs/gst/tmpl/gstformat.sgml:
26223 * docs/gst/tmpl/gstghostpad.sgml:
26224 * docs/gst/tmpl/gstimplementsinterface.sgml:
26225 * docs/gst/tmpl/gstindex.sgml:
26226 * docs/gst/tmpl/gstindexfactory.sgml:
26227 * docs/gst/tmpl/gstinfo.sgml:
26228 * docs/gst/tmpl/gstiterator.sgml:
26229 * docs/gst/tmpl/gstmacros.sgml:
26230 * docs/gst/tmpl/gstmemchunk.sgml:
26231 * docs/gst/tmpl/gstminiobject.sgml:
26232 * docs/gst/tmpl/gstobject.sgml:
26233 * docs/gst/tmpl/gstpad.sgml:
26234 * docs/gst/tmpl/gstpadtemplate.sgml:
26235 * docs/gst/tmpl/gstparse.sgml:
26236 * docs/gst/tmpl/gstpipeline.sgml:
26237 * docs/gst/tmpl/gstplugin.sgml:
26238 * docs/gst/tmpl/gstpluginfeature.sgml:
26239 * docs/gst/tmpl/gstquery.sgml:
26240 * docs/gst/tmpl/gstqueue.sgml:
26241 * docs/gst/tmpl/gstregistry.sgml:
26242 * docs/gst/tmpl/gstregistrypool.sgml:
26243 * docs/gst/tmpl/gstscheduler.sgml:
26244 * docs/gst/tmpl/gstschedulerfactory.sgml:
26245 * docs/gst/tmpl/gststructure.sgml:
26246 * docs/gst/tmpl/gstsystemclock.sgml:
26247 * docs/gst/tmpl/gsttaglist.sgml:
26248 * docs/gst/tmpl/gsttagsetter.sgml:
26249 * docs/gst/tmpl/gsttrace.sgml:
26250 * docs/gst/tmpl/gsttrashstack.sgml:
26251 * docs/gst/tmpl/gsttypefind.sgml:
26252 * docs/gst/tmpl/gsttypefindfactory.sgml:
26253 * docs/gst/tmpl/gsttypes.sgml:
26254 * docs/gst/tmpl/gsturihandler.sgml:
26255 * docs/gst/tmpl/gsturitype.sgml:
26256 * docs/gst/tmpl/gstutils.sgml:
26257 * docs/gst/tmpl/gstvalue.sgml:
26258 * docs/gst/tmpl/gstversion.sgml:
26259 * docs/gst/tmpl/gstxml.sgml:
26260 * docs/libs/tmpl/gstcontrol.sgml:
26261 * docs/libs/tmpl/gstdataprotocol.sgml:
26262 * docs/libs/tmpl/gstdparam.sgml:
26263 * docs/libs/tmpl/gstdplinint.sgml:
26264 * docs/libs/tmpl/gstdpman.sgml:
26265 * docs/libs/tmpl/gstdpsmooth.sgml:
26266 * docs/libs/tmpl/gstgetbits.sgml:
26267 * docs/libs/tmpl/gstunitconvert.sgml:
26268 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26269 (gst_push_src_base_init), (gst_push_src_class_init),
26270 (gst_push_src_init), (gst_push_src_create):
26271 * gst/base/gstpushsrc.h:
26272 * gst/elements/gstelements.c:
26273 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26274 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26275 (gst_fake_sink_init), (gst_fake_sink_set_property),
26276 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26277 (gst_fake_sink_event), (gst_fake_sink_preroll),
26278 (gst_fake_sink_render), (gst_fake_sink_change_state):
26279 * gst/elements/gstfakesink.h:
26280 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26281 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26282 (gst_fake_src_base_init), (gst_fake_src_class_init),
26283 (gst_fake_src_init), (gst_fake_src_event_handler),
26284 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26285 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26286 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26287 (gst_fake_src_create_buffer), (gst_fake_src_create),
26288 (gst_fake_src_start), (gst_fake_src_stop):
26289 * gst/elements/gstfakesrc.h:
26290 * gst/elements/gstfilesink.c: (_do_init),
26291 (gst_file_sink_base_init), (gst_file_sink_class_init),
26292 (gst_file_sink_init), (gst_file_sink_dispose),
26293 (gst_file_sink_set_location), (gst_file_sink_set_property),
26294 (gst_file_sink_get_property), (gst_file_sink_open_file),
26295 (gst_file_sink_close_file), (gst_file_sink_query),
26296 (gst_file_sink_event), (gst_file_sink_render),
26297 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26298 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26299 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26300 * gst/elements/gstfilesink.h:
26301 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26302 (gst_file_src_class_init), (gst_file_src_init),
26303 (gst_file_src_finalize), (gst_file_src_set_location),
26304 (gst_file_src_set_property), (gst_file_src_get_property),
26305 (gst_file_src_map_region), (gst_file_src_map_small_region),
26306 (gst_file_src_create_mmap), (gst_file_src_create_read),
26307 (gst_file_src_create), (gst_file_src_is_seekable),
26308 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26309 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26310 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26311 (gst_file_src_uri_handler_init):
26312 * gst/elements/gstfilesrc.h:
26313 more autistic cleanliness in functions/names/defines
26315 2005-07-13 Andy Wingo <wingo@pobox.com>
26317 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26318 source couldn't negotiate.
26320 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26324 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26325 function. I am channeling Hades. Put your boots on suckers!!!
26327 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26329 * testsuite/caps/Makefile.am:
26330 * testsuite/caps/value_compare.c:
26331 * testsuite/caps/value_intersect.c:
26332 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26333 move two testsuite apps over to the check dir
26335 2005-07-12 Wim Taymans <wim@fluendo.com>
26337 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26338 Added more debug info in the negotiate process.
26340 * gst/gstmessage.h:
26341 Prepare for segment playback.
26343 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26349 * tools/gst-launch.c: (main):
26350 NULL pipeline on errors.
26352 2005-07-12 Andy Wingo <wingo@pobox.com>
26354 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26355 not it comes from a malloc region. Make sure our copy gets freed.
26357 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26359 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26360 * check/gst/gstmessage.c: (GST_START_TEST):
26361 * check/gst/gststructure.c: (GST_START_TEST),
26362 (gst_structure_suite), (main):
26364 * gst/gstelement.c: (gst_element_message_full):
26365 clean up GError and debug string now that they get copied
26366 * gst/gstmessage.c: (gst_message_new_error),
26367 (gst_message_new_warning), (gst_message_parse_error),
26368 (gst_message_parse_warning):
26369 use GST_TYPE_G_ERROR for structure_new, and take copies of
26370 arguments, so that we don't mess up refcounting
26372 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26374 * check/Makefile.am:
26375 add per-test valgrind targets
26376 * check/gst-libs/gdp.c: (GST_START_TEST),
26377 (gst_data_protocol_suite), (main):
26380 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26382 * check/Makefile.am:
26383 instate more valgrindable tests
26384 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26385 (GST_START_TEST), (fakesrc_suite):
26386 * check/gst/gstpad.c: (GST_START_TEST):
26387 * check/gst/gststructure.c: (GST_START_TEST):
26389 * docs/gst/tmpl/gstminiobject.sgml:
26390 * gst/gstpad.c: (gst_pad_finalize):
26391 fix the static mutex leak
26393 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26395 * check/Makefile.am:
26396 add two more tests for valgrinding
26397 * check/gst/gstvalue.c: (GST_START_TEST):
26398 test refcount of deserialized buffer, found a leak
26399 * docs/gst/gstreamer-docs.sgml:
26400 * docs/gst/gstreamer-sections.txt:
26401 * docs/gst/gstreamer.types:
26402 * docs/gst/tmpl/gstminiobject.sgml:
26403 add miniobject to docs
26404 * gst/gstminiobject.c:
26406 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26407 (gst_string_unwrap):
26408 fix a hard-to-find invalid write for one of the tests
26409 fix a leak for deserialized buffers
26411 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26413 * docs/pwg/advanced-events.xml:
26414 * docs/pwg/advanced-request.xml:
26415 * docs/pwg/advanced-scheduling.xml:
26416 * docs/pwg/appendix-porting.xml:
26417 * docs/pwg/building-boiler.xml:
26418 * docs/pwg/intro-preface.xml:
26419 * docs/pwg/other-ntoone.xml:
26420 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26421 of example code and explanation for pad activation, loop() and
26422 getrange() functions and a bit more. Remove old comments pointing
26424 * examples/pwg/Makefile.am:
26425 Add loop/getrange examples.
26427 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26430 check for valgrind binary + some fixes
26432 valgrind suppressions for the tests
26433 * check/Makefile.am:
26434 add a valgrind: target that valgrinds the unit tests
26435 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26436 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26437 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26438 * check/gst/gstghostpad.c:
26440 * check/gst/gstdata.c:
26442 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26443 (thread_unref), (gst_mini_object_suite), (main):
26445 * gst/gst.c: (gst_deinit):
26447 add a method to clean up.
26448 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26449 (gst_system_clock_obtain):
26450 allow for disposing the system clock.
26451 * tools/gst-launch.c: (main):
26454 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26456 * docs/gst/tmpl/gstbasesrc.sgml:
26457 * docs/gst/tmpl/gstfakesrc.sgml:
26458 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26459 (gst_base_src_init), (gst_base_src_set_property),
26460 (gst_base_src_get_property), (gst_base_src_get_range),
26461 (gst_base_src_start):
26462 * gst/base/gstbasesrc.h:
26463 add num-buffers property
26464 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26465 (gst_fakesrc_init), (gst_fakesrc_set_property),
26466 (gst_fakesrc_get_property), (gst_fakesrc_create),
26467 (gst_fakesrc_start):
26468 remove num-buffers property
26470 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26472 * docs/gst/gstreamer-sections.txt:
26473 * docs/gst/tmpl/gstbasesink.sgml:
26474 * docs/gst/tmpl/gstbasesrc.sgml:
26475 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26476 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26477 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26478 (gst_base_sink_set_property), (gst_base_sink_get_property),
26479 (gst_base_sink_handle_object), (gst_base_sink_event),
26480 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26481 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26482 (gst_base_sink_loop), (gst_base_sink_deactivate),
26483 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26484 (gst_base_sink_change_state):
26485 * gst/base/gstbasesink.h:
26486 * gst/base/gstbasesrc.h:
26487 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26488 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26489 (gst_filesink_init):
26490 more macro splitting
26492 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26494 * gst/gstelement.c: (gst_element_get_bus):
26496 * tools/gst-launch.c: (check_intr), (event_loop):
26499 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26501 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26504 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26506 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26507 (gst_base_src_finalize):
26508 add finalize method and clean up properly
26509 * gst/gstpipeline.c: (gst_pipeline_dispose):
26512 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26514 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26516 add more things to check
26517 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26518 * gst/gstelement.c:
26521 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26523 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26524 (GST_START_TEST), (fakesrc_suite):
26525 * check/gst-libs/gdp.c: (GST_START_TEST):
26526 * check/gst/gst.c: (GST_START_TEST):
26527 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26528 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26529 * check/gst/gstbus.c: (GST_START_TEST):
26530 * check/gst/gstcaps.c: (GST_START_TEST):
26531 * check/gst/gstdata.c: (GST_START_TEST):
26532 * check/gst/gstelement.c: (GST_START_TEST):
26533 * check/gst/gstghostpad.c: (GST_START_TEST):
26534 * check/gst/gstiterator.c: (GST_START_TEST):
26535 * check/gst/gstmessage.c: (GST_START_TEST):
26536 * check/gst/gstobject.c: (GST_START_TEST):
26537 * check/gst/gstpad.c: (GST_START_TEST):
26538 * check/gst/gststructure.c: (GST_START_TEST):
26539 * check/gst/gstsystemclock.c: (GST_START_TEST),
26540 (gst_systemclock_suite):
26541 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26542 * check/gst/gstvalue.c: (GST_START_TEST):
26543 * check/pipelines/cleanup.c: (GST_START_TEST):
26544 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26545 * check/states/sinks.c: (GST_START_TEST):
26546 * check/gstcheck.c: (gst_check_init):
26547 * check/gstcheck.h:
26548 add debugging category
26549 use GST_START_TEST now, so we add a debug line
26551 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26553 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26554 add test for state change message on a bin
26555 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26557 * gst/gstbin.c: (gst_bin_init):
26558 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26559 * gst/gstelement.c: (gst_element_post_message),
26560 (gst_element_set_state):
26561 * gst/gstelementfactory.c: (gst_element_factory_create):
26562 * gst/gstmessage.c: (gst_message_new):
26563 * gst/gstscheduler.c:
26564 various debugging additions and cleanups
26566 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26568 * check/Makefile.am:
26569 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26571 adding tests for elements
26572 * gst/gstelement.c: (gst_element_dispose):
26574 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26576 * gst/registries/gstlibxmlregistry.c: (load_feature):
26577 plug more leaks. A simple gst_init() now is leakfree, yay.
26579 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26581 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26582 (gst_xml_registry_load):
26583 plug another memleak
26585 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26588 use GST_SET_ERROR_CFLAGS
26589 * docs/faq/cvs.xml:
26590 change to ERROR_CFLAGS
26592 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26595 make GST_ERROR_CFLAGS overridable and re-enable Werror
26596 * docs/faq/cvs.xml:
26597 add a note about error CFLAGS
26598 * docs/gst/tmpl/gstfakesrc.sgml:
26599 * gst/elements/gstfakesrc.c:
26600 comment out some unused code
26601 * gst/gst.c: (split_and_iterate):
26602 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26606 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26608 * common/Makefile.am:
26609 * common/gtk-doc.mak:
26610 * docs/gst/Makefile.am:
26611 factor out gtk-doc.mak
26613 2005-07-07 Wim Taymans <wim@fluendo.com>
26615 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26616 (gst_thread_scheduler_dispose):
26617 Unlock the STREAM_LOCK completely.
26619 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26621 * check/Makefile.am:
26622 * check/elements/.cvsignore:
26623 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26624 (START_TEST), (fakesrc_suite), (main):
26625 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26626 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26627 (gst_fakesrc_create), (gst_fakesrc_start):
26628 * gst/elements/gstfakesrc.h:
26629 adding a first element test
26631 2005-07-07 Andy Wingo <wingo@pobox.com>
26633 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26636 2005-07-07 Wim Taymans <wim@fluendo.com>
26642 2005-07-07 Wim Taymans <wim@fluendo.com>
26644 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26645 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26646 Allow subclasses to implement their own negotiation.
26648 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26650 * docs/design/part-gstbin.txt:
26651 * docs/design/part-gstpipeline.txt:
26652 Update design notes to reflect the movement of
26653 responsibility for bus handling from GstPipeline to
26656 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26659 Remove unnecessary queue2/3/4 examples.
26661 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26663 * examples/Makefile.am:
26664 * examples/helloworld/helloworld.c: (event_loop), (main):
26665 * examples/queue/queue.c: (event_loop), (main):
26666 * examples/queue2/queue2.c: (main):
26667 Update a couple of the examples to work again.
26669 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26670 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26671 Spelling corrections and extra debug.
26673 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26674 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26675 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26677 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26678 (gst_pipeline_change_state):
26679 * gst/gstpipeline.h:
26680 Move the bus handler for children to the GstBin, and create a
26681 separate bus for receiving messages from children to the one the
26682 bus sends 'upwards' on.
26684 2005-07-06 Wim Taymans <wim@fluendo.com>
26687 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26688 (gst_base_sink_handle_object), (gst_base_sink_loop),
26689 (gst_base_sink_change_state):
26690 * gst/base/gstbasesink.h:
26691 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26692 (gst_base_src_init), (gst_base_src_setcaps),
26693 (gst_base_src_getcaps), (gst_base_src_loop),
26694 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26695 (gst_base_src_start), (gst_base_src_change_state):
26696 * gst/base/gstbasesrc.h:
26697 Make basesrc negotiate.
26698 Handle the case where preroll fails in basesink.
26701 2005-07-06 Wim Taymans <wim@fluendo.com>
26703 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26704 Implement the fixate function.
26705 Clean up acceptcaps.
26707 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26709 * docs/pwg/building-filterfactory.xml:
26710 * docs/pwg/pwg.xml:
26711 Remove never-written filter-factory chapter; I'll add the various
26712 base classes to part 4 ("other element types") later on.
26714 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26716 * docs/pwg/advanced-negotiation.xml:
26717 * docs/pwg/building-boiler.xml:
26718 * docs/pwg/building-pads.xml:
26719 * docs/pwg/pwg.xml:
26720 * examples/pwg/Makefile.am:
26721 Add a chapter on caps negotiation, simplify the original code
26722 samples a bit w.r.t. caps negotiation, add link to the advanced
26723 section. Add a bunch of examples showing different use cases of
26724 different types of caps negotiation. Upstream renegotiation isn't
26725 fully documented yet since nobody knows how that works.
26727 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26729 * check/gst/gstpad.c:
26730 * check/gstcheck.c:
26731 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26732 if pad has no parent, return NULL as list of internal links
26734 2005-07-05 Andy Wingo <wingo@pobox.com>
26736 * gst/elements/gstfilesrc.c:
26737 * gst/elements/gstfakesrc.c:
26738 * gst/base/gstpushsrc.c:
26739 * gst/base/gstbasesrc.h:
26740 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26742 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26745 better report generation target (lcov needs a patch)
26747 2005-07-05 Andy Wingo <wingo@pobox.com>
26749 * gst/elements, testsuite: Null if we got it...
26751 2005-07-05 Wim Taymans <wim@fluendo.com>
26754 * libs/gst/dataprotocol/Makefile.am:
26755 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26756 * libs/gst/dataprotocol/dataprotocol.h:
26757 * pkgconfig/Makefile.am:
26758 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26759 * pkgconfig/gstreamer-dataprotocol.pc.in:
26760 Ported dataprotol to 0.9.
26761 Added pkgconfig files.
26763 2005-07-05 Andy Wingo <wingo@pobox.com>
26765 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26766 Default to returning TRUE for the case when tranform_caps returns
26767 a fixed caps, like for identity or volume.
26769 * check/gst/gstbus.c (pound_bus_with_messages):
26770 * check/gst/gstmessage.c (START_TEST):
26771 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26772 message API change.
26774 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26775 logic weaks here: always run transform_caps, trying passthrough
26776 operation only if the original caps intersects with the transform.
26778 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26779 source and sink caps.
26781 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26782 Intersect the peer caps with the pad template before going into
26784 (gst_base_transform_transform_caps): More debugging.
26786 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26789 2005-07-04 Edward Hervey <edward@fluendo.com>
26793 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26796 2005-07-04 Andy Wingo <wingo@pobox.com>
26798 * check/gst/gstpad.c: Only set explicit caps on pads.
26800 2005-07-01 Andy Wingo <wingo@pobox.com>
26802 * tests/network-clock.scm: Commentary update.
26804 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26805 Didn't really make sense, not implementable with basetransform,
26807 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26808 attempt at implementing the sync property, needs an unlock method.
26810 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26811 New func, by default returns the same caps (the identity
26813 (gst_base_transform_getcaps): Uses transform_caps to return
26814 something sensible.
26815 (gst_base_transform_setcaps): Complicated logic to get caps on
26816 both pads, even if they are different, and to call set_caps once
26817 for every time both pads get their caps set.
26818 (gst_base_transform_handle_buffer): Give the ref to the transform
26819 function. Allows in-place modification of the buffer.
26821 * gst/base/gstbasetransform.h (transform_caps): New class method.
26822 Given caps on one side, what can I do on the other.
26823 (set_caps): Take two caps, one for each side of the element.
26826 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26827 caps in place. This is safe because we can check the mutability of
26828 the caps, and a good idea because fixate functions are just called
26829 as a matter of last resort. (Not actually implemented.)
26830 (gst_pad_set_caps): If the caps we're setting is actually the same
26831 as the existing pad caps, just update the pointer without calling
26832 setcaps. Assert that caps is either NULL or fixed, as per the
26835 * gst/gstghostpad.c: Update for fixate changes.
26837 2005-07-02 Andy Wingo <wingo@pobox.com>
26840 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26841 two refcounts makes it immutable, which is enough. Doc more.
26843 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26845 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26846 Put the mini_object into GValue as a mini_object,
26847 not a gpointer, since that's how we declared
26850 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26852 * examples/pwg/Makefile.am:
26853 Fix buildbot again.
26855 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26857 * docs/pwg/building-testapp.xml:
26859 * examples/pwg/Makefile.am:
26862 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26865 * examples/Makefile.am:
26866 * examples/pwg/Makefile.am:
26867 * examples/pwg/extract.pl:
26868 Enable building the PWG examples.
26869 * docs/pwg/advanced-interfaces.xml:
26870 Add URI interface stub.
26871 * docs/pwg/advanced-types.xml:
26872 * docs/pwg/other-autoplugger.xml:
26873 * docs/pwg/appendix-porting.xml:
26874 * docs/pwg/pwg.xml:
26875 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26876 * docs/pwg/building-boiler.xml:
26877 * docs/pwg/building-chainfn.xml:
26878 * docs/pwg/building-pads.xml:
26879 * docs/pwg/building-props.xml:
26880 * docs/pwg/building-state.xml:
26881 * docs/pwg/building-testapp.xml:
26882 Update the building-*.xml parts for 0.9 changes. All examples
26883 code blocks compile in examples/pwg/*.
26885 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26887 * docs/manual/advanced-autoplugging.xml:
26888 * docs/manual/appendix-checklist.xml:
26889 * docs/manual/appendix-integration.xml:
26890 * docs/manual/highlevel-components.xml:
26891 Fix playbin/decodebin examples, update docs a bit, mention bus
26892 instead of signals in various places, mention kmplayer and
26893 kaffeine since they have a working GStreamer backend in the KDE
26896 2005-06-30 Wim Taymans <wim@fluendo.com>
26899 * docs/design/draft-ghostpads.txt:
26900 * docs/design/draft-push-pull.txt:
26901 * docs/design/draft-query.txt:
26902 * docs/design/part-TODO.txt:
26903 * docs/design/part-query.txt:
26904 Added CHANGES-0.9 doc, updated status of other docs.
26909 2005-06-30 Wim Taymans <wim@fluendo.com>
26911 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26912 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26913 (gst_base_sink_change_state):
26914 * gst/base/gstbasesink.h:
26915 Some tweaks, only EOS and a buffer complete a preroll.
26917 2005-06-30 Andy Wingo <wingo@pobox.com>
26919 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26920 activate_push down to the internal pad as well.
26922 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26924 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26926 * gst/gsttaginterface.c:
26927 Some documentation fixes (#307394 and #307397).
26929 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26931 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26933 * gst/gstvalue.c: (gst_value_intersect_list):
26934 Fix memleak (#309125).
26936 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26938 * docs/manual/advanced-dataaccess.xml:
26939 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26940 * docs/manual/basics-pads.xml:
26941 Add reference for filtered caps to above chapter.
26943 2005-06-30 Wim Taymans <wim@fluendo.com>
26945 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26946 (gst_bin_change_state):
26948 Lame attempt at making the state change function a bit
26951 2005-06-30 Wim Taymans <wim@fluendo.com>
26953 * docs/design/part-clocks.txt:
26954 * docs/design/part-element-sink.txt:
26955 * docs/design/part-events.txt:
26956 * docs/design/part-preroll.txt:
26957 * docs/design/part-states.txt:
26958 Some more tweeks and additions to the docs.
26960 2005-06-30 Wim Taymans <wim@fluendo.com>
26962 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26963 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26964 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26965 (gst_pad_check_pull_range), (gst_pad_get_range),
26966 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26968 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26969 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26970 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26971 (gst_pad_remove_buffer_probe):
26972 Removed atomic operations, use existing LOCK.
26973 Move exception handling out of main code path.
26975 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26977 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26978 (silly_return_true_function), (gst_pad_class_init),
26979 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26980 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26981 (gst_pad_send_event):
26982 Fix accumulator, add default value by using _emitv() instead
26983 of _emit() for signal emission.
26985 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26987 * docs/manual/advanced-dataaccess.xml:
26988 * examples/manual/Makefile.am:
26990 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26993 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26995 * gst/elements/gstfilesink.c: (gst_filesink_render):
26996 Simplify code so that we don't have to handle short
26997 writes and return GST_FLOW_ERROR if an error occured.
26999 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27001 * docs/gst/gstreamer-docs.sgml:
27002 Remove probes more.
27004 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27006 * docs/gst/gstreamer-sections.txt:
27007 * docs/gst/tmpl/gstpad.sgml:
27008 * docs/gst/tmpl/gstprobe.sgml:
27010 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27011 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27012 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27013 (gst_pad_push_event), (gst_pad_send_event):
27015 * gst/gstutils.c: (gst_pad_add_data_probe),
27016 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27017 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27018 (gst_pad_remove_buffer_probe):
27020 Remove old probes, add new g-signal-based probes and some utility
27023 2005-06-29 Edward Hervey <edward@fluendo.com>
27025 * gst/gstelementfactory.c:
27028 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27029 the definition to the header file.
27031 2005-06-29 Andy Wingo <wingo@pobox.com>
27033 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27034 plugins from the source directory.
27036 2005-06-29 Wim Taymans <wim@fluendo.com>
27038 * docs/gst/tmpl/gstbuffer.sgml:
27039 * docs/gst/tmpl/gstclock.sgml:
27040 Some fixings for blantently wrong text.
27042 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27044 * check/Makefile.am:
27045 * gst/gst.c: (add_path_func), (init_pre):
27046 * gst/gstregistry.c: (gst_registry_add_path):
27047 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27048 only scan the GST_PLUGIN_PATH locations, and not add
27051 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27053 * docs/gst/gstreamer-sections.txt:
27054 * docs/gst/tmpl/gstbasesrc.sgml:
27055 * gst/gstelement.c:
27056 * gst/gstelement.h:
27061 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27063 * docs/manual/advanced-autoplugging.xml:
27064 Fix autoplugging example.
27066 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27068 * docs/manual/advanced-autoplugging.xml:
27069 * docs/manual/mime-world.fig:
27070 Try to get autoplugging working, fix type detection. Fix text
27071 in hello-world image.
27073 2005-06-29 Wim Taymans <wim@fluendo.com>
27075 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27076 (gst_base_sink_change_state):
27080 map SIGNAL and BROADCAST to the right function.
27083 Remove redundant braces.
27085 * gst/gstpad.c: (gst_pad_set_caps):
27086 Don't call setcaps function when reseting caps to NULL.
27088 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27089 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27090 (gst_system_clock_id_unschedule):
27091 Use BROADCAST as this is what we do.
27093 2005-06-29 Wim Taymans <wim@fluendo.com>
27095 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27096 We are actually prerolling before commiting the state
27099 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27101 * docs/manual/advanced-clocks.xml:
27102 * docs/manual/advanced-interfaces.xml:
27103 * docs/manual/advanced-metadata.xml:
27104 * docs/manual/advanced-position.xml:
27105 * docs/manual/advanced-schedulers.xml:
27106 * docs/manual/advanced-threads.xml:
27107 * docs/manual/appendix-porting.xml:
27108 * docs/manual/basics-bins.xml:
27109 * docs/manual/basics-bus.xml:
27110 * docs/manual/basics-elements.xml:
27111 * docs/manual/basics-helloworld.xml:
27112 * docs/manual/basics-pads.xml:
27113 * docs/manual/highlevel-components.xml:
27114 * docs/manual/manual.xml:
27115 * docs/manual/thread.fig:
27116 Update (until threads/scheduling) Application Development Manual;
27117 remove GstThread, add GstBus, add simple porting checklist, add
27118 documentation for tag writing, clocks, make all examples until this
27119 part compile and run.
27120 * examples/manual/Makefile.am:
27121 Update from changes to Application Development Manual; add bus
27122 example, remove thread example.
27124 2005-06-28 Wim Taymans <wim@fluendo.com>
27126 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27127 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27128 (gst_bus_source_dispatch):
27129 Add debugging messages.
27130 Make internal methods static.
27131 Handle the case where the bus is flushed in the handler.
27133 * gst/gstelement.c: (gst_element_get_bus):
27134 Fix refcount in _get_bus();
27136 * gst/gstpipeline.c: (gst_pipeline_change_state),
27137 (gst_pipeline_get_clock_func):
27138 Clock refcounting fixes.
27139 Handle the case where preroll timed out more gracefully.
27141 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27142 Clean up the internal thread in dispose. This is needed
27143 for subclasses that actually get disposed.
27145 * gst/schedulers/threadscheduler.c:
27146 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27147 (gst_thread_scheduler_dispose):
27148 Free thread pool in dispose.
27150 2005-06-28 Andy Wingo <wingo@pobox.com>
27152 * tests/network-clock-utils.scm (debug, print-event): New utils.
27154 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27155 (*packet-loss*): Unified loss probability.
27156 (network-time): Report out-of-band events.
27158 * tests/plot-data: Add support for out-of-band events. Hack it
27159 into this script instead of passing it down the pipe; should fix
27162 2005-06-28 Wim Taymans <wim@fluendo.com>
27164 * docs/gst/gstreamer.types:
27165 * docs/gst/tmpl/gstbasesrc.sgml:
27166 * docs/gst/tmpl/gstpad.sgml:
27169 2005-06-28 Wim Taymans <wim@fluendo.com>
27171 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27172 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27173 (gst_proxy_pad_do_fixatecaps):
27174 Correctly proxy the check_pull_range function.
27176 2005-06-28 Andy Wingo <wingo@pobox.com>
27178 * tests/network-clock.scm: Removed need for slib.
27180 2005-06-28 Wim Taymans <wim@fluendo.com>
27182 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27183 (gst_basesink_preroll_queue_flush):
27184 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27185 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27186 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27187 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27188 (gst_proxy_pad_set_property):
27191 * gst/gstqueue.c: (gst_queue_init):
27192 The deprecated pad loop function is removed now.
27194 2005-06-28 Andy Wingo <wingo@pobox.com>
27196 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27197 New parameters, simulate network packet loss.
27199 * tests/network-clock-utils.scm: Initialize the RNG.
27201 2005-06-28 Wim Taymans <wim@fluendo.com>
27203 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27204 (gst_basesink_event), (gst_basesink_deactivate):
27205 Flushing the preroll queue always needs to unlock the waiters.
27207 2005-06-28 Edward Hervey <edward@fluendo.com>
27209 * gst/gstpipeline.c: (gst_pipeline_send_event):
27210 Wheen a seek was successful on a pipeline, set the stream_time to the
27211 seek offset in order to have a synchronized stream_time.
27213 2005-06-28 Wim Taymans <wim@fluendo.com>
27215 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27216 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27217 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27218 (gst_proxy_pad_do_fixatecaps):
27219 Call wrapper function instead of just calling the function
27220 pointers. This takes care of any locking and whatmore.
27222 2005-06-28 Wim Taymans <wim@fluendo.com>
27224 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27225 (gst_pad_pull_range):
27227 CONNECTED -> LINKED.
27229 2005-06-28 Andy Wingo <wingo@pobox.com>
27231 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27232 source-munging commit!!!
27234 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27235 (gst_object_sink): Take gpointer arguments, not GstObject --
27236 avoids casts. Like GLib.
27238 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27241 2005-06-27 Andy Wingo <wingo@pobox.com>
27243 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27246 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27247 returns a sorted copy of the trace list.
27248 (gst_alloc_trace_print_live): New API, only prints traces with
27249 live objects. Sort the list.
27250 (gst_alloc_trace_print_all): Sort the list.
27251 (gst_alloc_trace_print): Align columns.
27253 * gst/elements/gstttypefindelement.c:
27254 * gst/elements/gsttee.c:
27255 * gst/base/gstbasesrc.c:
27256 * gst/base/gstbasesink.c:
27257 * gst/base/gstbasetransform.c:
27258 * gst/gstqueue.c: Adapt for pad activation changes.
27260 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27262 (gst_pipeline_dispose): Drop ref on sched.
27264 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27265 (gst_pad_activate_default): Push mode by default.
27266 (pre_activate_switch, post_activate_switch): New stubs, things to
27267 do before and after switching activation modes on pads.
27268 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27269 the pad's activate function to choose which mode to activate.
27270 Shortcut on deactivation and call the right function directly.
27271 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27273 (gst_pad_activate_push): New API, same for push mode.
27274 (gst_pad_set_activate_function)
27275 (gst_pad_set_activatepull_function)
27276 (gst_pad_set_activatepush_function): Setters for new API.
27278 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27279 Trace all miniobjects.
27280 (gst_mini_object_make_writable): Unref the arg if we copy, like
27281 gst_caps_make_writable.
27283 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27285 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27286 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27287 Adapt for new pad API.
27289 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27291 * gst/gstelement.h:
27292 * gst/gstelement.c (gst_element_iterate_src_pads)
27293 (gst_element_iterate_sink_pads): New API functions.
27295 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27296 should fold into gstiterator.c in some form.
27297 (gst_element_pads_activate): Simplified via use of fold and
27298 delegation of decisions to gstpad->activate.
27300 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27303 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27304 class once in init, like gstmessage. Didn't run into this issue
27305 but it seems correct. Don't initialize a trace, gstminiobject does
27308 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27309 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27311 (assert_live_count): New util function, uses alloc traces to check
27314 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27315 To be modified when unlink drops the internal pad.
27317 2005-06-27 Wim Taymans <wim@fluendo.com>
27319 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27320 (gst_bin_change_state):
27321 Cleanup the get_state() function a little, make sure it
27322 iterates the same set of elements.
27323 Added stub iterate_state_order().
27325 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27327 * docs/gst/gstreamer-docs.sgml:
27328 * docs/gst/gstreamer-sections.txt:
27329 * docs/gst/gstreamer.types:
27330 * docs/gst/tmpl/gstbasesink.sgml:
27331 * docs/gst/tmpl/gstbasesrc.sgml:
27332 * docs/gst/tmpl/gstbasetransform.sgml:
27333 * docs/gst/tmpl/gstelement.sgml:
27334 * docs/gst/tmpl/gstiterator.sgml:
27335 * gst/base/gstbasesrc.c:
27336 * gst/base/gstbasesrc.h:
27337 * gst/base/gstbasetransform.h:
27338 * gst/gstelement.c:
27339 * gst/gstiterator.h:
27340 adding basetransform and iterator docs
27342 2005-06-27 Andy Wingo <wingo@pobox.com>
27344 * docs/design/part-activation.txt: Notes on how activation should
27345 work -- not quite implemented yet.
27347 2005-06-25 Wim Taymans <wim@fluendo.com>
27349 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27350 At least get the chain function correct, needs more
27353 2005-06-25 Wim Taymans <wim@fluendo.com>
27355 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27356 (gst_basesink_handle_object), (gst_basesink_event),
27357 (gst_basesink_do_sync), (gst_basesink_handle_event),
27358 (gst_basesink_change_state):
27360 Right, two problems here: ghostpads don't take locks and
27361 glib _rec_mutex_lock_full() with depth==0 still locks.
27362 Catch illegal locking and g_warn them.
27364 2005-06-25 Wim Taymans <wim@fluendo.com>
27366 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27367 Have to check for completion now...
27369 2005-06-25 Wim Taymans <wim@fluendo.com>
27371 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27372 (gst_basesink_handle_object), (gst_basesink_event),
27373 (gst_basesink_do_sync), (gst_basesink_handle_event),
27374 (gst_basesink_change_state):
27376 Unlock STREAM_LOCK whatever the recursion was.
27378 2005-06-25 Wim Taymans <wim@fluendo.com>
27380 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27381 (gst_basesink_preroll_queue_empty),
27382 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27383 (gst_basesink_event), (gst_basesink_do_sync),
27384 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27385 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27386 (gst_basesink_change_state):
27387 Reworked the base sink, handle event and buffer serialisation
27388 correctly and removed possible deadlock.
27389 Handle EOS correctly.
27391 2005-06-25 Wim Taymans <wim@fluendo.com>
27393 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27394 (gst_pipeline_change_state):
27395 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27396 Allow elements to post EOS in the state change function.
27397 Fix up -launch, make it exit the poll loop when the
27398 pipeline actually changed state.
27399 Fix up warning parsing in -launch.
27401 2005-06-25 Wim Taymans <wim@fluendo.com>
27403 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27404 (gst_tee_sink_activate):
27405 Core takes STREAM_LOCK for us now.
27407 2005-06-25 Wim Taymans <wim@fluendo.com>
27409 * gst/gstelement.c: (gst_element_get_state_func),
27410 (gst_element_set_state):
27411 * gst/gstelement.h:
27412 * gst/gstmessage.c: (gst_message_parse_error),
27413 (gst_message_parse_warning):
27414 Keep track of current target state while performing a state
27415 change so that subclasses can do something interesting.
27416 Fix parsing of warning/error messages when GError is NULL.
27418 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27420 * docs/gst/Makefile.am:
27421 * docs/gst/gstreamer-docs.sgml:
27422 * docs/gst/gstreamer-sections.txt:
27423 * docs/gst/gstreamer.types:
27424 * docs/gst/tmpl/gstbasesink.sgml:
27425 * docs/gst/tmpl/gstbasesrc.sgml:
27426 * docs/gst/tmpl/gstbin.sgml:
27427 * docs/gst/tmpl/gstcompat.sgml:
27428 * docs/gst/tmpl/gstfakesink.sgml:
27429 * docs/gst/tmpl/gstfakesrc.sgml:
27430 * docs/gst/tmpl/gstfilesink.sgml:
27431 * docs/gst/tmpl/gstfilesrc.sgml:
27432 * docs/gst/tmpl/gstindex.sgml:
27433 * docs/manual/appendix-quotes.xml:
27434 * gst/base/gstbasesrc.h:
27435 * gst/elements/gstfakesrc.h:
27436 * gst/gstmessage.h:
27437 start pulling in base classes and elements in our docs
27439 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27441 * docs/gst/Makefile.am:
27442 * docs/libs/Makefile.am:
27443 fixed make distcheck with gtk-doc 1.3
27445 2005-06-23 Wim Taymans <wim@fluendo.com>
27447 * gst/gstelement.c: (gst_element_get_state_func),
27448 (gst_element_set_state), (gst_element_change_state):
27449 When the state did not change, also report NO_PREROLL
27452 2005-06-23 Wim Taymans <wim@fluendo.com>
27454 * gst/gstpad.c: (gst_pad_event_default):
27455 * gst/gstqueue.c: (gst_queue_loop):
27456 No unsafe task pausing please.
27458 2005-06-23 Wim Taymans <wim@fluendo.com>
27460 * gst/schedulers/threadscheduler.c:
27461 (gst_thread_scheduler_task_start),
27462 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27463 Ref the task before pushing it on the threadpool. This
27464 makes sure that we have a ref when the threadfunction is
27467 2005-06-23 Andy Wingo <wingo@pobox.com>
27469 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27470 offset is greater than the file's size.
27472 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27473 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27474 * gst/gstobject.c (gst_object_class_init): Make the class lock
27475 recursive. Wim won't let me drop deep_notify. Decodebin works
27476 again, whoopdy doo.
27478 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27479 internal pad, and hacks accordingly. Doesn't do it on the target
27480 pad because we change its caps. Probably catches all cases of
27482 (gst_ghost_pad_set_property): Connect to notify::caps as
27485 * tests/network-clock.scm (plot-simulation): Pipe data to the
27486 elite python skript.
27488 * tests/network-clock-utils.scm (define-parameter): New macro,
27489 defines a parameter that can be set via the command line.
27490 (set-parameter!, parse-parameter-arguments): Command line args
27493 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27496 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27498 * gst/elements/gsttypefindelement.c:
27499 (gst_type_find_element_handle_event):
27500 Don't restart typefinding on a discont.
27501 * gst/gstelement.c: (gst_element_set_state):
27502 Debug spelling fix.
27503 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27504 Allow changing mode of an active pad.
27505 Debug output fixes.
27506 * gst/registries/gstlibxmlregistry.c: (load_feature):
27507 Don't cast a static pad template to a normal pad template.
27509 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27511 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27512 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27513 remove gst_strtoll completely, since it didn't actually do
27514 anything more than what g_ascii_strtoull already does.
27515 check for range errors when deserializing
27516 do a cast for the unsigned cases; but further fixing needs
27517 a decision on what the interpretation of "(int)" and
27518 deserialization should be for values that fall outside the
27519 type's boundaries (ie, refuse, or interpret as casting)
27521 2005-06-23 Wim Taymans <wim@fluendo.com>
27523 * check/Makefile.am:
27524 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27525 * docs/design/part-live-source.txt:
27526 * docs/design/part-states.txt:
27527 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27528 (gst_basesrc_set_live), (gst_basesrc_is_live),
27529 (gst_basesrc_get_range), (gst_basesrc_activate),
27530 (gst_basesrc_change_state):
27531 * gst/base/gstbasesrc.h:
27532 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27533 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27534 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27535 * gst/gstelement.c: (gst_element_get_state_func),
27536 (gst_element_set_state):
27537 * gst/gstelement.h:
27539 * tools/gst-launch.c: (event_loop), (main):
27540 Added support for live sources and other elements that
27542 Updated design docs, added live-source design doc.
27543 Implemented live source functionality in basesrc
27544 Fix error condition in _bin_get_state()
27545 Implement live source handling in -launch.
27546 Added check for live sources.
27547 Fixed case in GstBin where elements were changed state
27551 2005-06-23 Andy Wingo <wingo@pobox.com>
27553 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27554 borken refcounting.
27556 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27557 gst_caps_replace takes care of this for us.
27559 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27560 gst_pad_set_caps on the target, not just its setcaps() function.
27562 * tests/network-clock.scm:
27563 * tests/network-clock-utils.scm: A network clock simulator.
27564 Something of an algorithmic testbed before doing something in C.
27566 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27568 * check/Makefile.am:
27569 * check/gst/capslist.h:
27570 copy over from 0.8, and add two with bitmasks specified with
27572 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27573 add test to parse everything from capslist.h
27574 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27576 add test for structure deserialization
27577 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27578 add tests for deserialization of strings to int types
27579 * gst/gststructure.c: (gst_structure_nth_field_name):
27580 * gst/gststructure.h:
27581 add a way to get the name of a field referenced by index
27582 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27583 instead of checking if the resulting long long lies between
27584 min and max, we check if the long long would fit into
27585 a number of bytes for the final type.
27586 This fixes cases where a string represents 2^32 - 1, which
27587 when cast to int would be the (valid) -1, but is bigger than
27590 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27592 * gst/parse/grammar.y:
27593 add a log line for type deserialization
27595 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27597 * check/gst/gstvalue.c: (START_TEST):
27598 * gst/gstvalue.c: (gst_value_deserialize):
27599 return long long, not int, so gint64 deserialization actually
27600 works. Is there any flag that makes the compiler check this ?
27603 2005-06-22 Wim Taymans <wim@fluendo.com>
27606 Added convenience macros for setting buffers in GValue.
27608 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27610 * check/gst/.cvsignore:
27611 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27612 add a test deserializing int64, and comment part out because
27615 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27617 * check/Makefile.am:
27618 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27619 * testsuite/Makefile.am:
27620 * testsuite/caps/Makefile.am:
27621 * testsuite/caps/value_serialize.c:
27622 * testsuite/test_gst_init.c:
27623 move a value_serialize test over
27625 2005-06-20 Wim Taymans <wim@fluendo.com>
27630 * gst/gstvalue.c: (gst_value_compare_buffer),
27631 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27632 (gst_value_compare_flags), (gst_value_serialize_flags),
27633 (gst_value_deserialize_flags), (_gst_value_initialize):
27634 Fix serialisation of buffers, they are not boxed types anymore
27636 2005-06-20 Wim Taymans <wim@fluendo.com>
27638 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27639 Testcase to show error in buffer-on-caps serialisation.
27641 2005-06-20 Andy Wingo <wingo@pobox.com>
27643 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27644 will be adding to later.
27646 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27647 if its socks fill with rocks.
27648 (gst_system_clock_obtain): Set the name on object construction.
27649 Avoid double-checked locking.
27651 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27653 * gst/gsturi.c: (gst_element_make_from_uri):
27654 Fix potential endless loop.
27656 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27658 * check/Makefile.am:
27660 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27662 move over from testsuite dir and clean up
27665 * testsuite/Makefile.am:
27666 * testsuite/tags/.cvsignore:
27667 * testsuite/tags/Makefile.am:
27668 * testsuite/tags/merge.c:
27669 remove testsuite/tags
27671 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27673 * docs/gst/gstreamer-sections.txt:
27674 * docs/gst/tmpl/gstenumtypes.sgml:
27675 * win32/gstenumtypes.c:
27676 clean up documentation build a little
27678 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27680 * check/gstcheck.h:
27681 add macros for checking refcounts on objects and caps
27682 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27683 add some more unit tests
27684 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27685 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27686 fix leaked refcounts (I hope :)) so unittest works
27690 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27692 * configure.ac: back to HEAD
27694 === release 0.9.1 ===
27696 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27702 2005-06-17 Andy Wingo <wingo@pobox.com>
27704 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27705 assert; it's always possible that the pad gets deactivated in
27706 between the checks in gstpad.c and the implementation. Rely on
27707 finish_preroll() to return a FLUSHING or similar instead of on the
27710 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27711 clock and post an EOS message if we come out of finish_preroll in
27714 2005-06-16 David Schleef <ds@schleef.org>
27716 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27717 (gst_capsfilter_set_property): Allow NULL as possible value
27718 for filter_caps property, indicating GST_CAPS_ANY.
27720 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27722 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27724 * gst/schedulers/Makefile.am:
27726 * gstreamer.spec.in:
27729 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27731 * gstreamer.spec.in:
27734 2005-06-08 Andy Wingo <wingo@pobox.com>
27736 * gst/gstutils.c: RPAD fixes all around.
27737 (gst_element_link_pads): Refcounting fixes.
27739 * tools/gst-inspect.c:
27740 * tools/gst-xmlinspect.c:
27742 * gst/base/gsttypefindhelper.c:
27743 * gst/base/gstbasesink.c:
27744 * gst/gstqueue.c: RPAD fixes.
27746 * gst/gstghostpad.h:
27747 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27748 pads. The tricky thing is they provide both source and sink
27749 interfaces, since they proxy the internal pad for the external
27750 pad, and vice versa. Implement with lower-level ProxyPad objects,
27751 with the interior proxy pad as a child of the exterior ghost pad.
27752 Should write a doc on this.
27754 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27755 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27758 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27759 pads are real pads. No ghost pads in this file. Not documenting
27760 the myriad s/RPAD/PAD/ and REALIZE fixes.
27761 (gst_pad_class_init): Add properties for "direction" and
27762 "template". Both are construct-only, so they can't change during
27763 the life of the pad. Fixes properly deriving from GstPad.
27764 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27765 derived objects, just set properties when creating the objects via
27767 (gst_pad_get_parent): Implement as a function, return NULL if the
27768 parent is not an element.
27769 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27770 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27772 * gst/gstobject.c (gst_object_class_init): Make name a construct
27773 property. Don't set it in the object init.
27775 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27776 with UNKNOWN direction.
27777 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27778 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27779 (gst_element_remove_pad): Remove ghost-pad special cases.
27780 (gst_element_pads_activate): Remove rpad cruft.
27782 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27783 catch the pad's-parent-not-an-element case.
27785 * gst/gst.h: Include gstghostpad.h.
27787 * gst/gst.c (init_post): No more real, ghost pads.
27789 * gst/Makefile.am: Add gstghostpad.[ch].
27791 * check/Makefile.am:
27792 * check/gst/gstbin.c:
27793 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27794 into a bin creates ghost pads, and that the refcounts are right.
27795 Partly moved from gstbin.c.
27797 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27799 * check/gst-libs/.cvsignore:
27800 * check/gst/.cvsignore:
27801 * check/pipelines/.cvsignore:
27803 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27804 (START_TEST), (cleanup_suite), (main):
27805 add some tests related to cleanup after running pipelines
27807 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27809 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27810 add a testsuite for GstBuffer
27812 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27814 * gst/gstminiobject.h:
27815 add defines for accessing the refcount
27817 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27819 * Makefile.am: added support for html unit test coverage reports
27821 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27823 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27824 Free existing caps if the capsfilter changes. Add a FIXME about
27825 setting those caps on the pads.
27827 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27828 Before adding a ghost pad to a parent bin, check that there isn't
27829 already one for the element on the bin. Prevents infinite recursion
27830 when using decodebin in parse pipelines. Andy says he'll rewrite the
27831 way this works anyway, so ignore the hack.
27833 2005-06-02 Andy Wingo <wingo@pobox.com>
27835 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27836 file size, pass it on to the type find helper.
27838 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27839 segment_start and segment_end properly according to the seek
27840 method. Segment_end is still a bit flaky because offset can be
27841 negative for CUR and END cases, but it takes -1 as an "unset"
27844 2005-06-02 Wim Taymans <wim@fluendo.com>
27846 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27847 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27848 (gst_basesink_activate):
27849 * gst/base/gstbasesink.h:
27850 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27851 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27852 (gst_pad_query), (gst_pad_start_task):
27854 * gst/gstqueue.c: (gst_queue_bufferalloc),
27855 (gst_queue_handle_sink_event), (gst_queue_chain):
27856 Bufferalloc: return GstFlowReturn to more accuratly report
27857 why allocation failed.
27859 2005-06-02 Wim Taymans <wim@fluendo.com>
27861 * gst/gstpipeline.c: (gst_pipeline_send_event):
27862 Take snapshot of state without blocking.
27864 2005-06-02 Wim Taymans <wim@fluendo.com>
27866 * docs/design/part-TODO.txt:
27867 * docs/design/part-caps.txt:
27868 * docs/design/part-clocks.txt:
27869 * docs/design/part-negotiation.txt:
27870 * docs/design/part-preroll.txt:
27873 2005-05-30 Wim Taymans <wim@fluendo.com>
27875 * gst/elements/gstidentity.c: (gst_identity_event),
27876 (gst_identity_transform), (gst_identity_get_property):
27877 Protect last_message property as it is accessed from
27880 2005-05-30 Wim Taymans <wim@fluendo.com>
27882 * gst/gstelement.c: (gst_element_init),
27883 (gst_element_pads_activate), (gst_element_change_state):
27884 Slicker pad activation code.
27886 2005-05-30 Wim Taymans <wim@fluendo.com>
27889 * gst/gstelement.h:
27890 * gst/gstelementfactory.h:
27892 Move elementfactory methods to separate .h file.
27894 2005-05-30 Wim Taymans <wim@fluendo.com>
27896 * docs/design/part-overview.txt:
27897 * gst/gstsystemclock.h:
27898 Small typo fixes, doc updates.
27900 2005-05-30 Wim Taymans <wim@fluendo.com>
27902 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27903 (init_popt_callback):
27904 Remove cpu-opt flag.
27906 2005-05-30 Wim Taymans <wim@fluendo.com>
27908 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27909 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27911 Avoid typechecking in places where not needed.
27912 Added accessor for malloc_data.
27914 2005-05-30 Wim Taymans <wim@fluendo.com>
27916 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27917 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27918 (gst_pad_configure_sink), (gst_pad_configure_src),
27919 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27920 (gst_pad_start_task):
27921 Propagate errors from _set_caps() in configure_src/sink
27922 functions instead of returning TRUE.
27923 FLUSH events can travel up and downstream
27926 2005-05-30 Wim Taymans <wim@fluendo.com>
27928 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27929 (gst_basesink_activate):
27930 Handle EOS in preroll.
27932 2005-05-30 Wim Taymans <wim@fluendo.com>
27934 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27935 (gst_queue_loop), (gst_queue_handle_src_event):
27936 Remove old pieces of code
27937 Flushing the queue in an upstream event is a very bad idea.
27939 2005-05-26 Andy Wingo <wingo@pobox.com>
27941 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27942 gst_value_set_mini_object so as to add a ref on the object (which
27943 will be removed when the value is unset).
27945 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27946 arg type in ::handoff.
27948 * gst/gstelement.c (gst_element_change_state): Also deactivate
27949 pads in READY->NULL, just in case the element didn't make it to
27950 PAUSED. Wingo tested, Wim approved.
27952 2005-05-26 Wim Taymans <wim@fluendo.com>
27954 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27955 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27956 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27957 A flushing pad cannot be used to alloc_buffer from.
27959 2005-05-26 Wim Taymans <wim@fluendo.com>
27961 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27962 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27963 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27964 (gst_bus_create_watch), (gst_bus_add_watch_full):
27966 Implement a real GSource and use g_main_context_wakeup() to
27967 signal new messages instead of the socketpair.
27969 2005-05-25 Wim Taymans <wim@fluendo.com>
27971 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27972 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27973 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27974 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27975 (gst_pad_send_event), (gst_pad_start_task):
27976 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27977 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27978 (gst_queue_sink_activate), (gst_queue_src_activate),
27979 (gst_queue_change_state):
27981 Fix state changes for non sinks. We now change sinks, then elements
27982 with unconnected srcpads, then the rest.
27983 More efficient queue unlocking in flush and state changes.
27984 Set the pad activate mode even if it does not have an activate
27987 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27989 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27990 Don't go in pull mode for non-seekable sources.
27991 * gst/elements/gsttypefindelement.h:
27992 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27993 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27994 (free_entry), (stop_typefinding),
27995 (gst_type_find_element_handle_event), (find_peek),
27996 (gst_type_find_element_chain), (do_pull_typefind),
27997 (gst_type_find_element_change_state):
27998 Allow typefinding (w/o seeking) in push-mode, simplified version
27999 of what was in 0.8.
28000 * gst/gstutils.c: (gst_buffer_join):
28002 gst_buffer_join() from 0.8.
28004 2005-05-25 Wim Taymans <wim@fluendo.com>
28006 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28007 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28008 (gst_pad_send_event), (gst_pad_start_task):
28009 Disable attempt at mode switching until it is figured out.
28011 2005-05-25 Wim Taymans <wim@fluendo.com>
28013 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28014 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28015 (gst_basesink_finish_preroll), (gst_basesink_chain),
28016 (gst_basesink_loop), (gst_basesink_activate),
28017 (gst_basesink_change_state):
28018 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28019 (gst_basesrc_get_range), (gst_basesrc_loop),
28020 (gst_basesrc_activate):
28021 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28022 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28023 (gst_real_pad_init), (gst_real_pad_set_property),
28024 (gst_real_pad_get_property), (gst_pad_set_active),
28025 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28026 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28027 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28028 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28029 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28030 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28031 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28032 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28033 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28034 (gst_pad_stop_task):
28036 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28037 (gst_queue_loop), (gst_queue_src_activate):
28038 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28039 (gst_task_get_state):
28041 * gst/schedulers/threadscheduler.c:
28042 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28043 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28045 Remove ACTIVE pad flag, use FLUSHING everywhere
28046 Added _pad_chain(), _pad_get_range() to call chain/getrange
28048 Add locks around IS_FLUSHING when reading.
28049 Take STREAM lock in chain(), get_range() functions so plugins
28050 don't need to take it anymore.
28054 2005-05-25 Wim Taymans <wim@fluendo.com>
28056 * tools/gst-launch.c: (event_loop):
28057 Unref message after using its contents instead of
28060 2005-05-24 Wim Taymans <wim@fluendo.com>
28062 * docs/design/draft-ghostpads.txt:
28063 * docs/design/draft-push-pull.txt:
28064 * docs/design/draft-query.txt:
28065 * docs/design/part-overview.txt:
28066 Docs updates, added general overview doc.
28068 2005-05-21 David Schleef <ds@schleef.org>
28070 * docs/gst/tmpl/old/GstBin.sgml:
28071 * docs/gst/tmpl/old/GstBuffer.sgml:
28072 * docs/gst/tmpl/old/GstCaps.sgml:
28073 * docs/gst/tmpl/old/GstClock.sgml:
28074 * docs/gst/tmpl/old/GstCompat.sgml:
28075 * docs/gst/tmpl/old/GstData.sgml:
28076 * docs/gst/tmpl/old/GstElement.sgml:
28077 * docs/gst/tmpl/old/GstEvent.sgml:
28078 * docs/gst/tmpl/old/GstIndex.sgml:
28079 * docs/gst/tmpl/old/GstStructure.sgml:
28080 * docs/gst/tmpl/old/GstTag.sgml:
28081 * docs/gst/tmpl/old/cothreads.sgml:
28082 * docs/gst/tmpl/old/cothreads_compat.sgml:
28083 * docs/gst/tmpl/old/gettext.sgml:
28084 * docs/gst/tmpl/old/gobject2gtk.sgml:
28085 * docs/gst/tmpl/old/grammar.tab.sgml:
28086 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28087 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28088 * docs/gst/tmpl/old/gst_private.sgml:
28089 * docs/gst/tmpl/old/gstaggregator.sgml:
28090 * docs/gst/tmpl/old/gstarch.sgml:
28091 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28092 * docs/gst/tmpl/old/gstbufferstore.sgml:
28093 * docs/gst/tmpl/old/gstdata_private.sgml:
28094 * docs/gst/tmpl/old/gstdisksink.sgml:
28095 * docs/gst/tmpl/old/gstdisksrc.sgml:
28096 * docs/gst/tmpl/old/gstelementfactory.sgml:
28097 * docs/gst/tmpl/old/gstextratypes.sgml:
28098 * docs/gst/tmpl/old/gstfakesink.sgml:
28099 * docs/gst/tmpl/old/gstfakesrc.sgml:
28100 * docs/gst/tmpl/old/gstfdsink.sgml:
28101 * docs/gst/tmpl/old/gstfdsrc.sgml:
28102 * docs/gst/tmpl/old/gstfilesink.sgml:
28103 * docs/gst/tmpl/old/gstfilesrc.sgml:
28104 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28105 * docs/gst/tmpl/old/gstidentity.sgml:
28106 * docs/gst/tmpl/old/gstindexfactory.sgml:
28107 * docs/gst/tmpl/old/gstmarshal.sgml:
28108 * docs/gst/tmpl/old/gstmd5sink.sgml:
28109 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28110 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28111 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28112 * docs/gst/tmpl/old/gstpipefilter.sgml:
28113 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28114 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28115 * docs/gst/tmpl/old/gstshaper.sgml:
28116 * docs/gst/tmpl/old/gstspider.sgml:
28117 * docs/gst/tmpl/old/gstspideridentity.sgml:
28118 * docs/gst/tmpl/old/gststatistics.sgml:
28119 * docs/gst/tmpl/old/gsttee.sgml:
28120 * docs/gst/tmpl/old/gsttimecache.sgml:
28121 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28122 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28123 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28124 * docs/gst/tmpl/old/types.sgml:
28125 I didn't intend to add these or check them in.
28127 2005-05-19 David Schleef <ds@schleef.org>
28129 * configure.ac: Use -no-common everywhere. In a sane world, it
28130 would be the default in libtool, because without it, you can't
28131 build DLLs on Windows.
28132 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28133 * docs/gst/gstreamer-sections.txt:
28134 * docs/gst/tmpl/gstcpu.sgml:
28135 * docs/gst/tmpl/gstdata.sgml:
28136 * docs/gst/tmpl/gstthread.sgml:
28138 2005-05-19 David Schleef <ds@schleef.org>
28140 * gst/gstminiobject.c: (gst_value_set_mini_object),
28141 (gst_value_take_mini_object), (gst_value_get_mini_object):
28142 * gst/gstminiobject.h: Add GValue set/get functions.
28144 2005-05-19 Wim Taymans <wim@fluendo.com>
28146 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28147 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28148 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28150 * gst/gstbus.c: (gst_bus_post):
28151 * gst/gstelement.c: (gst_element_get_random_pad):
28152 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28153 Make subbufer unref the parent in finalize.
28154 some more debugging info.
28157 2005-05-19 Wim Taymans <wim@fluendo.com>
28159 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28160 (gst_basesink_init), (gst_basesink_finalize),
28161 (gst_basesink_activate), (gst_basesink_change_state):
28162 Don't free preroll queue too early.
28164 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28168 Hi, I'm outdated. Please shoot me.
28170 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28172 * gst/gstpipeline.c: (gst_pipeline_send_event):
28173 Do not access variables after they have been deleted.
28175 2005-05-19 Wim Taymans <wim@fluendo.com>
28177 * tools/gst-inspect.c: (print_plugin_features):
28178 A plugin feature does unfortunatly not use the
28181 2005-05-18 Wim Taymans <wim@fluendo.com>
28183 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28184 Port _span() functions to new subbuffers.
28186 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28188 * gst/gstbin.c: (gst_bin_add_func):
28189 Fix clock settery in bins when adding kids after the clock has
28192 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28194 * gst/elements/gstidentity.c: (gst_identity_class_init):
28195 Workaround until signals support GstMiniObject.
28197 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28200 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28202 2005-05-18 Wim Taymans <wim@fluendo.com>
28204 * gst/base/Makefile.am:
28205 * gst/base/gstadapter.c: (gst_adapter_base_init),
28206 (gst_adapter_class_init), (gst_adapter_init),
28207 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28208 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28209 (gst_adapter_flush), (gst_adapter_available),
28210 (gst_adapter_available_fast):
28211 * gst/base/gstadapter.h:
28212 Ported and added adapter to the base classes.
28214 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28217 * gst/gstmessage.c:
28218 Make sure the class is reffed/unreffed once before threads can be
28219 used. Fixes #304551.
28221 2005-05-17 Wim Taymans <wim@fluendo.com>
28223 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28224 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28225 * gst/gstminiobject.c: (gst_mini_object_get_type),
28226 (gst_mini_object_free):
28227 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28228 (gst_pad_push), (gst_pad_push_event):
28229 * gst/gstqueue.c: (gst_queue_change_state):
28230 Don't queue buffers in basesink when we are flushing.
28231 Unref buffer when flushing in basesink.
28232 Flush queue when going to READY
28233 Unref buffer when _push() returns an error.
28234 Don't free MiniObject instance when refcount is incremented
28235 in _finalize() so that we can recover objects.
28237 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28239 * docs/manual/advanced-schedulers.xml:
28240 * docs/manual/appendix-checklist.xml:
28241 * docs/pwg/advanced-clock.xml:
28242 * docs/pwg/advanced-interfaces.xml:
28243 * docs/pwg/advanced-request.xml:
28244 * docs/pwg/advanced-types.xml:
28245 * docs/pwg/intro-preface.xml:
28246 * examples/plugins/example.c: (gst_example_get_type),
28247 (gst_example_class_init), (gst_example_chain),
28248 (gst_example_set_property), (gst_example_get_property),
28249 (gst_example_change_state), (plugin_init):
28250 * examples/plugins/example.h:
28253 2005-05-17 Wim Taymans <wim@fluendo.com>
28255 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28256 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28257 * gst/gstqueue.c: (gst_queue_change_state):
28258 Clear queue when going to READY.
28259 Remove IN_SETCAPS flag too.
28261 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28263 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28264 Remove implicit cast from gboolean to GstElementStateReturn;
28265 make sure we still return failure in paused => ready case if
28266 the parent class fails to change state and our own stop
28269 2005-05-17 Wim Taymans <wim@fluendo.com>
28271 * tools/gst-launch.c: (event_loop):
28272 Message was unreffed too soon.
28274 2005-05-16 Andy Wingo <wingo@pobox.com>
28276 * gst/gstbin.c (sink_iterator_filter): Err... um...
28278 * check/gst/gstbin.c (test_ghost_pads): New test for the
28279 ghosting-if-elements-not-in-same-bin behavior.
28281 2005-05-16 David Schleef <ds@schleef.org>
28283 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28284 accessing refcount directly.
28286 2005-05-15 David Schleef <ds@schleef.org>
28288 * check/Makefile.am: remove GstData checks
28289 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28290 * gst/Makefile.am: add miniobject, remove data
28291 * gst/gst.h: add miniobject, remove data
28292 * gst/gstdata.c: remove
28293 * gst/gstdata.h: remove
28294 * gst/gstdata_private.h: remove
28295 * gst/gsttypes.h: remove GstEvent and GstMessage
28296 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28297 * gst/gstmarshal.list: change BOXED -> OBJECT
28299 Implement GstMiniObject.
28300 * gst/gstminiobject.c:
28301 * gst/gstminiobject.h:
28303 Modify to be subclasses of GstMiniObject.
28304 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28305 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28306 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28307 (gst_subbuffer_get_type), (gst_subbuffer_init),
28308 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28311 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28312 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28313 (_gst_event_copy), (gst_event_new):
28315 * gst/gstmessage.c: (_gst_message_initialize),
28316 (gst_message_get_type), (gst_message_class_init),
28317 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28318 (gst_message_new), (gst_message_new_error),
28319 (gst_message_new_warning), (gst_message_new_tag),
28320 (gst_message_new_state_changed), (gst_message_new_application):
28321 * gst/gstmessage.h:
28322 * gst/gstprobe.c: (gst_probe_perform),
28323 (gst_probe_dispatcher_dispatch):
28325 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28326 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28327 (_gst_query_copy), (gst_query_new):
28329 Update elements for GstData -> GstMiniObject changes
28331 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28332 (gst_queue_chain), (gst_queue_loop):
28333 * gst/elements/gstbufferstore.c:
28334 (gst_buffer_store_add_buffer_func),
28335 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28336 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28337 (gst_fakesink_render):
28338 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28339 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28340 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28341 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28342 (gst_filesrc_create_read):
28343 * gst/elements/gstidentity.c: (gst_identity_class_init):
28344 * gst/elements/gsttypefindelement.c:
28345 (gst_type_find_element_src_event), (free_entry_buffers),
28346 (gst_type_find_element_handle_event):
28347 * libs/gst/dataprotocol/dataprotocol.c:
28348 (gst_dp_header_from_buffer):
28349 * libs/gst/dataprotocol/dataprotocol.h:
28350 * libs/gst/dataprotocol/dp-private.h:
28352 2005-05-15 David Schleef <ds@schleef.org>
28354 * gst/elements/gstelements.c: Don't include headers that were
28357 2005-05-15 David Schleef <ds@schleef.org>
28359 * gst/elements/Makefile.am: Remove some elements that don't
28360 need to be in the core (or even exist at all).
28361 * gst/elements/gstaggregator.c:
28362 * gst/elements/gstaggregator.h:
28363 * gst/elements/gstmd5sink.c:
28364 * gst/elements/gstmd5sink.h:
28365 * gst/elements/gstmultifilesrc.c:
28366 * gst/elements/gstmultifilesrc.h:
28367 * gst/elements/gstpipefilter.c:
28368 * gst/elements/gstpipefilter.h:
28369 * gst/elements/gstshaper.c:
28370 * gst/elements/gstshaper.h:
28371 * gst/elements/gststatistics.c:
28372 * gst/elements/gststatistics.h:
28373 * po/POTFILES.in: Remove above files.
28375 2005-05-14 Andy Wingo <wingo@pobox.com>
28377 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28378 so as to get the refs right.
28379 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28380 unreffing objects that don't pass the filter.
28382 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28383 gst_element_set_bus.
28384 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28385 normal cases, this will destroy the bus.
28387 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28390 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28393 2005-05-13 Andy Wingo <wingo@pobox.com>
28395 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28396 gst_pad_link, call pad_link_maybe_ghosting,
28397 (pad_link_maybe_ghosting): Links pads, making sure that the
28398 elements being linked are in the same bin.
28399 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28400 Helpers for pad_link_maybe_ghosting.
28402 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28405 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28407 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28409 * docs/design/part-element-source.txt:
28412 2005-05-12 Wim Taymans <wim@fluendo.com>
28414 * gst/base/gstbasesink.c: (gst_basesink_init),
28415 (gst_basesink_activate):
28416 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28417 (gst_basesrc_is_seekable):
28418 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28419 (bin_element_is_sink), (gst_bin_change_state):
28420 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28421 * gst/gstelement.h:
28422 Identify sinks by their flag to avoid overly complicated
28424 Do state changes even for elements not reachable from the
28426 BaseSink is a sink now :)
28427 Some more debugging info in the basesrc.
28430 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28432 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28433 Implement _query on a bin, similar to _send_event.
28435 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28437 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28438 Discont event offset format should be GST_FORMAT_BYTES,
28439 not GST_FORMAT_TIME.
28441 2005-05-12 Wim Taymans <wim@fluendo.com>
28443 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28444 Same fix as Ronald's but without the signal.
28446 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28448 * gst/gstutils.c: (gst_element_query_position):
28449 No, an element is not a pad.
28451 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28453 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28454 (gst_bin_get_state):
28455 If a child is removed from a bin while we remove the child from
28456 the bin and while we're retrieving its state, signal this to the
28457 get_state function so we abort the wait (instead of waiting for
28458 a timeout) and can immediately re-iterate over all other elements.
28460 2005-05-12 Wim Taymans <wim@fluendo.com>
28462 * gst/base/Makefile.am:
28463 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28464 (gst_basesrc_start):
28465 * gst/base/gstbasesrc.h:
28466 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28467 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28468 (gst_pushsrc_init), (gst_pushsrc_create):
28469 * gst/base/gstpushsrc.h:
28470 Added is_seekable to BaseSrc
28471 Added simple PushSrc.
28473 2005-05-11 Wim Taymans <wim@fluendo.com>
28475 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28476 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28477 (gst_element_link_pads), (gst_element_query_position),
28478 (gst_element_query_convert), (intersect_caps_func),
28479 (gst_pad_query_position), (gst_pad_query_convert):
28480 Fix refcounting in utils function.
28481 No point in trying to activate a pad when it's added, it could
28482 be added from the state change function and then we deadlock, the
28483 element has to decide what to do.
28485 2005-05-10 Andy Wingo <wingo@pobox.com>
28487 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28488 *all* the arguments.
28490 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28491 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28492 lock (according to the docs -- if this is wrong change the docs).
28494 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28495 flush messages in the NULL state.
28497 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28498 message immediately and return.
28499 (gst_bus_set_flushing): New function. If a bus is flushing, it
28500 flushes out any queued messages and immediately unrefs new
28501 messages. This is so when an element goes to NULL, all of the
28502 unhandled messages coming from it can be freed, and their
28503 references to the element dropped. In other words: message source
28504 ref considered harmful :P
28506 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28507 we're finished with it.
28509 * gst/gstmessage.c (gst_message_new_state_changed):
28511 2005-05-10 Wim Taymans <wim@fluendo.com>
28513 * gst/gstvalue.c: (gst_value_compare_flags),
28514 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28515 (_gst_value_initialize):
28516 Added flags serialize/deserialize/compare code.
28518 2005-05-09 Andy Wingo <wingo@pobox.com>
28520 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28521 Intersect the peer's caps with our caps.
28523 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28525 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28526 * gst/elements/gsttypefindelement.c: (find_peek):
28527 Handle negative offsets better. Fixes decodebin.
28529 2005-05-09 Wim Taymans <wim@fluendo.com>
28531 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28532 (gst_base_transform_event):
28533 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28534 Implement accept_caps.
28535 Fix silly lock/unlock mismatch in base class.
28537 2005-05-09 Wim Taymans <wim@fluendo.com>
28539 * docs/design/draft-push-pull.txt:
28540 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28541 * gst/elements/gstfilesink.c: (gst_filesink_init),
28542 (gst_filesink_query):
28543 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28544 (gst_type_find_handle_src_query), (find_element_get_length):
28545 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28546 * gst/gstelement.h:
28547 * gst/gstmessage.c:
28548 * gst/gstmessage.h:
28549 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28550 (gst_real_pad_get_caps_unlocked),
28551 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28552 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28553 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28554 (gst_real_pad_dispose), (gst_real_pad_finalize),
28555 (gst_pad_load_and_link), (gst_pad_save_thyself),
28556 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28557 (gst_pad_check_pull_range), (gst_pad_pull_range),
28558 (gst_pad_template_get_type), (gst_pad_template_class_init),
28559 (gst_pad_template_init), (gst_pad_template_dispose),
28560 (name_is_valid), (gst_static_pad_template_get),
28561 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28562 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28563 (gst_pad_get_element_private), (gst_pad_start_task),
28564 (gst_pad_pause_task), (gst_pad_stop_task),
28565 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28566 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28567 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28568 (gst_ghost_pad_new):
28570 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28571 (gst_query_new_position), (gst_query_set_position),
28572 (gst_query_parse_position), (gst_query_new_convert),
28573 (gst_query_set_convert), (gst_query_parse_convert):
28575 * gst/gstqueryutils.c:
28576 * gst/gstqueryutils.h:
28577 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28578 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28579 (gst_queue_handle_src_query):
28580 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28581 (gst_element_query_position), (gst_element_query_convert),
28582 (intersect_caps_func), (gst_pad_query_position),
28583 (gst_pad_query_convert):
28585 * tools/gst-inspect.c: (print_pad_info):
28586 * tools/gst-xmlinspect.c: (print_element_info):
28587 Remove old query functions. Ported old code.
28588 Added position/convert helper functions to gstutils.
28589 Reordered gstpad.c code, grouping relevant things.
28590 Remove gst_message_new(), always need to speficy a specific
28594 2005-05-09 Andy Wingo <wingo@pobox.com>
28596 * gst/gstiterator.h: Add some includes.
28598 * gst/gstqueryutils.h: Include more headers.
28601 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28602 some uses of gst_pad_query.
28604 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28605 NULL out parameters.
28606 (gst_query_new_position): New proc, allocates a new position
28609 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28610 gstqueryutils.c to the build.
28612 * gst/gststructure.c (gst_structure_set_valist): Implement with
28613 the generic G_VALUE_COLLECT.
28615 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28617 * gst/Makefile.am: (gst_headers):
28618 Added gstqueryutils.h to the list of headers to install, that was
28619 a 'nachty' move wingo :)
28621 2005-05-06 Andy Wingo <wingo@pobox.com>
28624 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28625 GstData, init a memchunk.
28626 (standard_definitions): Add a few query types, deprecate a few.
28627 (gst_query_get_type): New proc.
28628 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28630 (gst_query_new_application, gst_query_get_structure): New public
28633 * docs/design/draft-query.txt: Removed LINKS from the query types,
28634 because all the rest can be dispatched to other pads -- seemed
28635 ugly to have a query that couldn't be dispatched. internal_links
28636 is fine as a pad method.
28638 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28639 in gstpad.c, but maintain binary compatibility for the moment.
28640 Will fix before 0.9 is out.
28642 * gst/gstqueryutils.c:
28643 * gst/gstqueryutils.h: New files, implement 3 methods for each
28644 query type: parse_query, parse_response, and set. Probably need an
28647 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28649 * gst/elements/gstfilesink.c (gst_filesink_query2):
28650 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28651 query_types, and formats methods.
28653 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28654 (gst_pad_set_query2_function): New functions.
28655 (gst_real_pad_init): Set query2_default as the default query2
28656 function. Basically just dispatches to internally linked pads.
28660 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28661 without using the atomic operations. Only one thread can possibly
28662 be accessing the data at this point. Changed so as to avoid
28663 gst_atomic operations.
28665 2005-05-06 Wim Taymans <wim@fluendo.com>
28667 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28668 Also set caps if we use the fallback buffer alloc.
28670 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28672 * docs/gst/Makefile.am:
28673 * docs/gst/gstreamer-docs.sgml:
28674 * docs/gst/gstreamer-sections.txt:
28675 * docs/gst/tmpl/gstatomic.sgml:
28676 * docs/gst/tmpl/gstmemchunk.sgml:
28677 * testsuite/elements/struct_i386.h:
28678 * win32/GStreamer.vcproj:
28680 Purge GstAtomic stuff from docs and win32 makefiles as well
28682 2005-05-06 Wim Taymans <wim@fluendo.com>
28684 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28685 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28686 * gst/gstpad.c: (gst_pad_peer_get_caps):
28687 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28688 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28689 (gst_queue_src_activate), (gst_queue_change_state):
28691 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28692 (intersect_caps_func):
28693 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28694 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28695 Some fixes for the peer_get_caps() change.
28697 2005-05-06 Wim Taymans <wim@fluendo.com>
28699 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28700 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28701 (gst_basesink_activate):
28702 Actually do something with error codes returned from the push
28705 2005-05-06 Wim Taymans <wim@fluendo.com>
28707 * docs/design/part-element-sink.txt:
28708 * docs/design/part-element-source.txt:
28709 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28710 (gst_basesink_event), (gst_basesink_activate):
28711 * gst/base/gstbasesink.h:
28712 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28713 (gst_basesrc_activate):
28714 * gst/base/gstbasesrc.h:
28715 * gst/gstelement.c: (gst_element_pads_activate):
28716 Some more documentation.
28717 Fixed scheduling decision in _pads_activate().
28719 2005-05-05 Andy Wingo <wingo@pobox.com>
28721 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28724 2005-05-05 Wim Taymans <wim@fluendo.com>
28726 * gst/base/Makefile.am:
28727 * gst/base/gstbasesink.h:
28728 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28729 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28730 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28731 (gst_collectpads_class_init), (gst_collectpads_init),
28732 (gst_collectpads_finalize), (gst_collectpads_new),
28733 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28734 (find_pad), (gst_collectpads_remove_pad),
28735 (gst_collectpads_is_active), (gst_collectpads_collect),
28736 (gst_collectpads_collect_range), (gst_collectpads_start),
28737 (gst_collectpads_stop), (gst_collectpads_peek),
28738 (gst_collectpads_pop), (gst_collectpads_available),
28739 (gst_collectpads_read), (gst_collectpads_flush),
28740 (gst_collectpads_chain):
28741 * gst/base/gstcollectpads.h:
28742 * gst/elements/Makefile.am:
28743 * gst/elements/gstelements.c:
28744 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28745 (gst_fakesink_get_times), (gst_fakesink_event),
28746 (gst_fakesink_preroll), (gst_fakesink_render):
28747 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28748 (gst_filesink_init), (gst_filesink_set_location),
28749 (gst_filesink_open_file), (gst_filesink_close_file),
28750 (gst_filesink_pad_query), (gst_filesink_event),
28751 (gst_filesink_render), (gst_filesink_change_state):
28752 * gst/elements/gstfilesink.h:
28753 Added object to help in making collect pad based elements.
28755 Make event function in sink baseclass return gboolean.
28757 2005-05-05 Wim Taymans <wim@fluendo.com>
28759 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28760 (gst_bin_get_by_name):
28762 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28763 (gst_clock_finalize):
28764 * gst/gstdata.c: (gst_data_replace):
28766 * gst/gstelement.c: (gst_element_request_pad),
28767 (gst_element_pads_activate):
28768 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28769 (gst_object_unref):
28770 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28771 (gst_pad_set_checkgetrange_function),
28772 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28773 (gst_pad_check_pull_range), (gst_pad_pull_range),
28774 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28775 (gst_pad_pause_task), (gst_pad_stop_task):
28776 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28777 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28778 Fix name lookup in GstBin.
28779 Added _data_replace() function and _buffer_replace()
28780 Use finalize method to clean up clock.
28781 Fix refcounting on request pads.
28782 Fix pad schedule mode error.
28783 Some more object refcounting debug info,
28786 2005-05-04 Andy Wingo <wingo@pobox.com>
28788 * check/Makefile.am:
28789 * docs/gst/tmpl/gstatomic.sgml:
28790 * docs/gst/tmpl/gstplugin.sgml:
28791 * gst/base/gstbasesink.c: (gst_basesink_activate):
28792 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28793 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28794 (gst_basesrc_query), (gst_basesrc_set_property),
28795 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28796 (gst_basesrc_activate):
28797 * gst/base/gstbasesrc.h:
28798 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28799 (gst_base_transform_src_activate):
28800 * gst/elements/gstelements.c:
28801 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28802 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28803 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28804 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28805 (gst_type_find_element_checkgetrange),
28806 (gst_type_find_element_activate):
28807 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28808 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28809 (gst_caps_load_thyself):
28810 * gst/gstelement.c: (gst_element_pads_activate),
28811 (gst_element_save_thyself), (gst_element_restore_thyself):
28812 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28813 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28815 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28816 (gst_xml_parse_file), (gst_xml_parse_memory),
28817 (gst_xml_get_element), (gst_xml_make_element):
28818 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28819 (_file_index_id_save_xml), (gst_file_index_commit):
28820 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28821 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28823 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28824 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28825 * tools/gst-complete.c: (main):
28826 * tools/gst-compprep.c: (main):
28827 * tools/gst-inspect.c: (print_element_properties_info):
28828 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28829 * tools/gst-xmlinspect.c: (print_element_properties):
28832 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28834 * gst/gstplugin.c: (gst_plugin_check_module),
28835 (gst_plugin_check_file), (gst_plugin_load_file):
28836 apply patch from #172526 to make register work on MacOSX
28838 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28840 * docs/gst/tmpl/gstconfig.sgml:
28841 * gst/gstconfig.h.in:
28842 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28843 * testsuite/debug/printf_extension.c: (main):
28844 Do not use GST_PTR_FORMAT on pointers to types with
28845 sizeof < sizeof(gpointer). Fixes test on 64-bit
28846 * testsuite/elements/property.h:
28847 use correct printf format
28849 2005-05-02 Wim Taymans <wim@fluendo.com>
28851 * docs/design/draft-push-pull.txt:
28852 * docs/design/draft-query.txt:
28853 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28854 (gst_basesrc_start):
28855 Added draft for new query API.
28856 Added draft for better selecting scheduling methods.
28857 Make basesrc ignore length if the subclass does not support
28860 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28863 possible fixes for automake-1.5 - _LIBADD is reserved
28865 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28867 * docs/faq/Makefile.am:
28868 * docs/manual/Makefile.am:
28869 * docs/manuals.mak:
28870 * docs/pwg/Makefile.am:
28872 possible fixes for automake-1.5
28874 2005-04-28 Wim Taymans <wim@fluendo.com>
28876 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28877 (gst_basesink_pad_getcaps), (gst_basesink_init),
28878 (gst_basesink_do_sync):
28879 * gst/gstclock.c: (gst_clock_entry_new):
28880 * gst/gstevent.c: (gst_event_discont_get_value):
28881 * gst/gstpipeline.c: (pipeline_bus_handler),
28882 (gst_pipeline_change_state):
28883 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28884 Better debugging of clocking info.
28885 Allow NULL values when getting discont values.
28887 2005-04-27 Wim Taymans <wim@fluendo.com>
28889 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28890 * check/gst/gstpad.c: (gst_pad_suite):
28891 Increase timeout for checks.
28893 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28895 * check/Makefile.am:
28896 fix the broken rule for cleanup. Apparently this rule is
28897 only needed on FC2, so maybe this warrants further autotool
28900 2005-04-26 Wim Taymans <wim@fluendo.com>
28902 * gst/gsttrashstack.h:
28903 Ooohh. a nasty one! After having a failed pop() from the stack,
28904 it's possible that the stack is empty. In that case, don't
28905 follow the NULL pointer.
28907 2005-04-25 Wim Taymans <wim@fluendo.com>
28909 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28910 (gst_pad_set_checkgetrange_function),
28911 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28912 (gst_pad_check_pull_range), (gst_pad_pull_range),
28913 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28914 (gst_pad_pause_task), (gst_pad_stop_task):
28915 * gst/gstplugin.c: (gst_plugin_load):
28917 Remove gst_library_load as it does more harm than good with
28918 the new g_module flags.
28919 Revert bogus caps template check in pad linking, pad caps
28920 are important when linking not the template, which is more
28921 general than the current caps.
28923 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28925 * gst/autoplug/.cvsignore:
28926 * gst/autoplug/Makefile.am:
28927 * gst/autoplug/gstsearchfuncs.c:
28928 * gst/autoplug/gstsearchfuncs.h:
28929 * gst/autoplug/gstspider.c:
28930 * gst/autoplug/gstspider.h:
28931 * gst/autoplug/gstspideridentity.c:
28932 * gst/autoplug/gstspideridentity.h:
28933 * gst/autoplug/spidertest.c:
28936 2005-04-25 Wim Taymans <wim@fluendo.com>
28938 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28939 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28940 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28941 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28943 Added stubs for unimplemented functions.
28945 2005-04-24 David Schleef <ds@schleef.org>
28947 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28950 2005-04-24 David Schleef <ds@schleef.org>
28952 Convert everything from GstAtomicInt to g_atomic_int_*, and
28957 * gst/gstatomic_impl.h:
28965 * gst/gstdata_private.h:
28969 * gst/gstmessage.c:
28972 * gst/gststructure.c:
28973 * gst/gststructure.h:
28974 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28977 2005-04-24 David Schleef <ds@schleef.org>
28979 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28980 make the regressions tests work. Remove some code that is no
28982 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28983 Disable warning for pads without templates.
28985 2005-04-24 David Schleef <ds@schleef.org>
28987 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28988 functions that handle filtered links.
28989 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28991 * gst/gstutils.c: Fix/remove utility functions that handle
28994 * gst/gstvalue.c: Add serialization/deserialization of caps
28995 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28996 requires fixing so that the filter caps notation creates
28997 a capsfilter element and sets the filter_caps property. I
28998 think everyone probably wants to keep the shorthand notation.
28999 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29000 * docs/gst/tmpl/gstpad.sgml:
29002 * gst/elements/gstelements.c: Register capsfilter element.
29003 * gst/Makefile.am: fix spacing
29004 * docs/random/ds/0.9-suggested-changes: random
29006 2005-04-23 David Schleef <ds@schleef.org>
29008 * gst/elements/Makefile.am:
29009 * gst/elements/gstcapsfilter.c: New element that acts like an
29010 identity, but filters caps. Will eventually replace filtered
29011 caps in pad linking.
29012 * gst/gstutils.c: (gst_element_create_all_pads): New function
29013 to create all the ALWAYS pads that are registered with an
29014 element class. This functionality should eventually be
29015 merged in with GstElement initialization.
29017 * testsuite/trigger/README: part of trigger test code that should
29018 have been checked in a long time ago.
29020 2005-04-23 David Schleef <ds@schleef.org>
29022 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29023 needed with new versions of libtool (nobody will confirm this),
29024 and hard to carry around.
29025 * gst/autoplug/Makefile.am:
29026 * gst/base/Makefile.am:
29027 * gst/elements/Makefile.am:
29028 * gst/indexers/Makefile.am:
29029 * gst/schedulers/Makefile.am:
29030 * libs/gst/bytestream/Makefile.am:
29031 * libs/gst/control/Makefile.am:
29032 * libs/gst/dataprotocol/Makefile.am:
29033 * libs/gst/getbits/Makefile.am:
29035 2005-04-21 Wim Taymans <wim@fluendo.com>
29037 * docs/design/draft-push-pull.txt:
29038 * docs/design/part-MT-refcounting.txt:
29039 * docs/design/part-TODO.txt:
29040 * docs/design/part-caps.txt:
29041 * docs/design/part-events.txt:
29042 * docs/design/part-gstbus.txt:
29043 * docs/design/part-gstpipeline.txt:
29044 * docs/design/part-messages.txt:
29045 * docs/design/part-push-pull.txt:
29046 * docs/design/part-query.txt:
29049 2005-04-21 Wim Taymans <wim@fluendo.com>
29051 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29052 (gst_message_new), (gst_message_new_error),
29053 (gst_message_new_warning), (gst_message_new_tag),
29054 (gst_message_new_state_changed), (gst_message_new_application),
29055 (gst_message_get_structure):
29056 * gst/gstmessage.h:
29057 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29058 (gst_structure_copy_conditional):
29059 Use parent refcount in GstMessage to ensure GstStructure
29061 Cleaned up headers a bit.
29064 2005-04-20 Wim Taymans <wim@fluendo.com>
29066 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29067 (gst_basesink_pad_getcaps), (gst_basesink_init),
29068 (gst_basesink_chain_unlocked):
29069 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29070 (gst_type_find_helper):
29071 * gst/elements/gsttypefindelement.c:
29072 (gst_type_find_element_have_type), (gst_type_find_element_init),
29073 (stop_typefinding), (gst_type_find_element_handle_event),
29074 (find_suggest), (gst_type_find_element_chain),
29075 (gst_type_find_element_checkgetrange),
29076 (gst_type_find_element_getrange), (do_typefind),
29077 (gst_type_find_element_activate):
29078 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29079 (gst_buffer_default_free), (gst_buffer_default_copy),
29080 (gst_buffer_set_caps):
29081 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29082 (gst_caps_replace):
29083 * gst/gstmessage.c: (gst_message_new),
29084 (gst_message_new_state_changed):
29085 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29086 (gst_pad_set_checkgetrange_function),
29087 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29088 (gst_pad_set_caps), (gst_pad_check_pull_range),
29089 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29091 * gst/gsttypefind.c: (gst_type_find_register):
29092 Make gst_caps_replace() work like other _replace() functions.
29093 Use _caps_replace() where possible.
29094 Make sure _message_new() initialises its field.
29095 Add gst_static_pad_template_get_caps()
29098 2005-04-18 Andy Wingo <wingo@pobox.com>
29100 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29101 on the peer, not the pad. I think that was a typo. Pass an extra
29102 arg to see if random access is possible. Activate the pads as
29103 PULL_RANGE if possible.
29105 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29107 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29108 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29111 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29113 * docs/faq/using.xml:
29114 Add note on gstreamer-properties (#154996).
29116 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29118 * docs/random/bbb/optional-properties:
29119 Some analysis on optional properties.
29121 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29123 * docs/gst/tmpl/gstelementfactory.sgml:
29124 * gst/gstelement.h:
29125 * gst/gstelementfactory.c: (gst_element_factory_init),
29126 (gst_element_factory_cleanup), (gst_element_register),
29127 (__gst_element_factory_add_static_pad_template),
29128 (gst_element_factory_get_static_pad_templates),
29129 (gst_element_factory_can_src_caps),
29130 (gst_element_factory_can_sink_caps):
29131 * gst/registries/Makefile.am:
29132 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29133 (gst_xml_registry_class_init), (gst_xml_registry_init),
29134 (gst_xml_registry_new), (gst_xml_registry_set_property),
29135 (gst_xml_registry_get_property), (get_time), (make_dir),
29136 (gst_xml_registry_get_perms_func),
29137 (plugin_times_older_than_recurse), (plugin_times_older_than),
29138 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29139 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29140 (add_to_char_array), (read_string), (read_uint), (read_enum),
29141 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29142 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29143 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29144 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29145 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29146 (gst_xml_registry_rebuild):
29147 * gst/registries/gstlibxmlregistry.h:
29148 * tools/gst-compprep.c: (main):
29149 * tools/gst-inspect.c: (print_pad_templates_info):
29150 * tools/gst-xmlinspect.c: (print_element_info):
29151 Use libxml2 for registry parsing, use staticpadtemplates in
29152 elementfactories. Makes gst_init() +/- 10x faster.
29154 2005-04-12 Wim Taymans <wim@fluendo.com>
29156 * gst/base/Makefile.am:
29157 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29158 (gst_basesink_pad_getcaps), (gst_basesink_init),
29159 (gst_basesink_event), (gst_basesink_change_state):
29160 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29161 (gst_basesrc_init), (gst_basesrc_query),
29162 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29163 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29164 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29165 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29166 (gst_basesrc_stop), (gst_basesrc_activate),
29167 (gst_basesrc_change_state):
29168 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29169 (helper_find_suggest), (gst_type_find_helper):
29170 * gst/base/gsttypefindhelper.h:
29171 * gst/elements/Makefile.am:
29172 * gst/elements/gstelements.c:
29173 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29174 (gst_fakesink_get_times), (gst_fakesink_event),
29175 (gst_fakesink_preroll), (gst_fakesink_render):
29176 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29177 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29178 (gst_fakesrc_get_property), (gst_fakesrc_create),
29179 (gst_fakesrc_start), (gst_fakesrc_stop):
29180 * gst/elements/gstfakesrc.h:
29181 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29182 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29183 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29184 (gst_filesrc_create_read), (gst_filesrc_create),
29185 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29186 (gst_filesrc_start):
29187 * gst/elements/gsttypefindelement.c:
29188 (gst_type_find_element_have_type), (gst_type_find_element_init),
29189 (start_typefinding), (stop_typefinding), (push_buffer_store),
29190 (gst_type_find_element_handle_event),
29191 (gst_type_find_element_chain),
29192 (gst_type_find_element_checkgetrange),
29193 (gst_type_find_element_getrange), (do_typefind),
29194 (gst_type_find_element_activate),
29195 (gst_type_find_element_change_state):
29196 * gst/elements/gsttypefindelement.h:
29197 * gst/gstpipeline.c: (pipeline_bus_handler):
29198 Added typefind helper.
29199 Small preroll fix in the base sink.
29200 Disable typefind code in basesrc.
29201 Crude port of typefindelement.
29205 2005-04-11 Wim Taymans <wim@fluendo.com>
29207 * check/gst/gstbus.c: (gstbus_suite):
29208 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29209 * check/gstcheck.h:
29210 Fix up the timeout so that the test does not fail.
29212 2005-04-06 Wim Taymans <wim@fluendo.com>
29215 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29216 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29217 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29218 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29219 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29220 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29221 (gst_basesrc_stop), (gst_basesrc_activate),
29222 (gst_basesrc_change_state), (basesrc_find_peek),
29223 (basesrc_find_suggest), (gst_basesrc_type_find):
29224 * gst/base/gstbasesrc.h:
29225 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29226 (gst_filesrc_class_init), (gst_filesrc_init),
29227 (gst_filesrc_finalize), (gst_filesrc_set_location),
29228 (gst_filesrc_set_property), (gst_filesrc_get_property),
29229 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29230 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29231 (gst_filesrc_create_read), (gst_filesrc_create),
29232 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29233 * gst/elements/gstfilesrc.h:
29234 * gst/gstelement.c: (gst_element_get_state_func),
29235 (gst_element_lost_state), (gst_element_pads_activate):
29236 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29237 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29238 (gst_pad_pull_range):
29240 More work on the generic source base class, implement seeking,
29242 Make filesrc extend the base source class.
29243 Added gst_pad_set_checkgetrange_function to GstPad.
29245 2005-04-06 Andy Wingo <wingo@pobox.com>
29247 * pkgconfig/gstreamer-base.pc.in:
29248 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29250 * pkgconfig/Makefile.am:
29251 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29253 2005-04-04 Wim Taymans <wim@fluendo.com>
29255 * gst/base/Makefile.am:
29257 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29258 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29259 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29260 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29261 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29262 (gst_basesrc_base_init), (gst_basesrc_class_init),
29263 (gst_basesrc_init), (gst_basesrc_get_formats),
29264 (gst_basesrc_get_query_types), (gst_basesrc_query),
29265 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29266 (gst_basesrc_set_property), (gst_basesrc_get_property),
29267 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29268 (gst_basesrc_loop), (gst_basesrc_activate),
29269 (gst_basesrc_change_state):
29270 * gst/base/gstbasesrc.h:
29271 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29272 (gst_fakesrc_class_init), (gst_fakesrc_init),
29273 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29274 (gst_fakesrc_get_property), (gst_fakesrc_create):
29275 * gst/elements/gstfakesrc.h:
29276 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29277 (gst_filesrc_open_file), (gst_filesrc_loop),
29278 (gst_filesrc_activate), (filesrc_find_peek),
29279 (gst_filesrc_type_find):
29280 Made base source class, make fakesrc extend it.
29281 Add comments to basesink class.
29282 Some filesrc cleanup.
29284 2005-03-31 David Schleef <ds@schleef.org>
29286 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29287 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29288 expected to link against libgstreamer.
29289 * gst/base/Makefile.am: link against libgstreamer
29290 * gst/elements/Makefile.am: same
29292 2005-03-31 Andy Wingo <wingo@pobox.com>
29294 * tests/instantiate/Makefile.am:
29295 * tests/instantiate/caps.c: Add test to test speed of caps copy
29298 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29299 GMemChunk to be fair.
29301 * gst/gsttrashstack.h: Remove warning about using the fallback
29302 trash stack implementation, it's still faster than malloc.
29304 2005-03-30 Andy Wingo <wingo@pobox.com>
29306 * tests/complexity.c: Add a copyright.
29308 2005-03-31 Wim Taymans <wim@fluendo.com>
29310 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29311 (gst_base_transform_class_init), (gst_base_transform_init),
29312 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29313 (gst_base_transform_get_property),
29314 (gst_base_transform_sink_activate),
29315 (gst_base_transform_src_activate),
29316 (gst_base_transform_change_state):
29317 * gst/base/gstbasetransform.h:
29318 * gst/elements/gstidentity.c: (gst_identity_class_init),
29319 (gst_identity_event), (gst_identity_check_perfect),
29320 (gst_identity_transform), (gst_identity_start),
29321 (gst_identity_stop):
29322 Added start/stop methods to transform base class so subclasses
29323 don't need to deal with state changes even.
29325 2005-03-31 Wim Taymans <wim@fluendo.com>
29327 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29328 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29330 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29331 (gst_pad_pull_range):
29332 Added rate to the discont event to prepare for variable speed
29333 and reverse playback.
29335 2005-03-29 David Schleef <ds@schleef.org>
29338 * testsuite/trigger/Makefile.am:
29339 * testsuite/trigger/trigger.c: A little example program to show
29340 how trigger-based elements can work.
29342 2005-03-29 Wim Taymans <wim@fluendo.com>
29344 * gst/base/Makefile.am:
29346 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29347 (gst_basesink_base_init), (gst_basesink_class_init),
29348 (gst_basesink_pad_getcaps), (gst_basesink_init),
29349 (gst_basesink_activate), (gst_basesink_change_state):
29350 * gst/base/gstbasesink.h:
29351 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29352 (gst_base_transform_base_init), (gst_base_transform_finalize),
29353 (gst_base_transform_class_init), (gst_base_transform_init),
29354 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29355 (gst_base_transform_event), (gst_base_transform_getrange),
29356 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29357 (gst_base_transform_set_property),
29358 (gst_base_transform_get_property),
29359 (gst_base_transform_sink_activate),
29360 (gst_base_transform_src_activate),
29361 (gst_base_transform_change_state):
29362 * gst/base/gstbasetransform.h:
29363 * gst/elements/gstidentity.c: (gst_identity_finalize),
29364 (gst_identity_class_init), (gst_identity_init),
29365 (gst_identity_event), (gst_identity_check_perfect),
29366 (gst_identity_transform), (gst_identity_set_property),
29367 (gst_identity_get_property), (gst_identity_change_state):
29368 * gst/elements/gstidentity.h:
29369 * gst/gstelement.c: (gst_element_get_state_func),
29370 (gst_element_lost_state), (gst_element_pads_activate):
29371 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29372 (gst_pad_check_pull_range), (gst_pad_pull_range):
29374 Simplify pad activation.
29375 Added function to check if pull_range can be performed.
29376 Error out when pulling inactive or flushing pads.
29377 Removed const from refcounted types as it does not make sense.
29378 Simplify pad templates in basesink
29379 Added base class for simple 1-to-1 transforms.
29380 Make identity subclass the base transform.
29382 2005-03-29 Andy Wingo <wingo@pobox.com>
29384 * docs/libs/gstreamer-libs-overrides.txt:
29385 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29386 really don't understand what's going on, but like whatever. I want
29389 * docs/gst/Makefile.am:
29390 * docs/libs/Makefile.am: Dist the overrides files.
29392 * check/Makefile.am (clean-local): Remove .libs directories.
29394 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29395 elements to EXTRA_DIST, so po/ files are happy.
29397 * po/POTFILES.in: Er, remove it here.
29399 * po/POTFILES: Remove gstspider.c.
29401 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29403 * docs/libs/gstreamer-libs-docs.sgml:
29404 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29407 * tests/complexity.c (main): Set the length of the preroll queue
29408 on the sinks to prevent a lockup.
29410 * libs/gst/dataprotocol/Makefile.am:
29411 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29412 the same as the one in check/gst-libs/gdp.c.
29414 * po/, docs/gst/: Commit automatic changes to docs and po files.
29416 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29417 the versioned libgstbase.
29419 * check/Makefile.am: Depend on an unversioned gst-register, seems
29420 to make autoconf happier.
29422 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29424 2005-03-28 Wim Taymans <wim@fluendo.com>
29427 * docs/design/part-gstelement.txt:
29428 * docs/design/part-negotiation.txt:
29429 * docs/design/part-preroll.txt:
29430 * docs/design/part-scheduling.txt:
29431 * docs/design/part-states.txt:
29433 * gst/base/Makefile.am:
29435 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29436 (gst_basesink_base_init), (gst_basesink_class_init),
29437 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29438 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29439 (gst_basesink_set_pad_functions),
29440 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29441 (gst_basesink_set_property), (gst_basesink_get_property),
29442 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29443 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29444 (gst_basesink_preroll_queue_push),
29445 (gst_basesink_preroll_queue_empty),
29446 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29447 (gst_basesink_event), (gst_basesink_get_times),
29448 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29449 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29450 (gst_basesink_loop), (gst_basesink_activate),
29451 (gst_basesink_change_state):
29452 * gst/base/gstbasesink.h:
29453 * gst/elements/Makefile.am:
29454 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29455 (gst_fakesink_class_init), (gst_fakesink_init),
29456 (gst_fakesink_set_property), (gst_fakesink_get_property),
29457 (gst_fakesink_get_times), (gst_fakesink_event),
29458 (gst_fakesink_preroll), (gst_fakesink_render),
29459 (gst_fakesink_change_state):
29460 * gst/elements/gstfakesink.h:
29461 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29462 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29463 * gst/gstelement.c: (gst_element_add_pad),
29464 (gst_element_get_state_func), (gst_element_abort_state),
29465 (gst_element_commit_state), (gst_element_lost_state),
29466 (gst_element_set_state), (gst_element_pads_activate):
29467 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29468 * gst/gstpipeline.c: (gst_pipeline_send_event),
29469 (gst_pipeline_change_state):
29470 Added state change code.
29471 Added/updated docs.
29472 Added sink base class, make fakesink extend the base class.
29473 Small cleanups in GstPipeline.
29475 2005-03-26 David Schleef <ds@schleef.org>
29477 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29478 is broken and should be implemented in a different library.
29479 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29480 * gst/gst.h: remove gstcpu.h
29481 * gst/gstcpu.c: remove
29482 * gst/gstcpu.h: remove
29483 * gst/Makefile.am.future: Remove this file. It's ancient.
29485 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29487 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29488 (gst_bin_send_event):
29489 Add default event/set_manager handlers. The set_manager handler
29490 takes care that the manager is distributed over kids that were
29491 already in the bin before the manager was set. The event handler
29492 is a utility virtual function that sends the event over all sinks,
29493 so that gst_element_send_event (bin, event); has the expected
29495 * gst/gstpad.c: (gst_pad_event_default):
29496 Re-install default event handling for discontinuities, so that
29497 seeking works without requiring hacks in applications or extra
29499 * gst/gstpipeline.c: (gst_pipeline_class_init),
29500 (gst_pipeline_send_event):
29501 Half hack, half utility: set a pipeline to PAUSED for seek events,
29502 since that is the only way we can guarantee a/v sync. Means that
29503 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29504 and it "just works".
29506 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29508 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29509 Lock/unlock mismatch.
29511 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29513 * docs/faq/gst-uninstalled:
29514 add gst-plugins-base
29515 * docs/gst/Makefile.am:
29516 don't error out until docs are fixed
29517 * docs/gst/gstreamer.types:
29520 2005-03-22 Wim Taymans <wim@fluendo.com>
29522 * check/Makefile.am:
29523 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29524 * gst/gststructure.c: (gst_structure_set_valist),
29525 (gst_structure_copy_conditional):
29526 Activated more tests.
29527 Added message test.
29528 Added G_TYPE_POINTER to GstStructure.
29531 2005-03-22 Wim Taymans <wim@fluendo.com>
29533 * docs/design/part-TODO.txt:
29534 * docs/design/part-events.txt:
29535 * docs/design/part-gstbin.txt:
29536 * docs/design/part-gstbus.txt:
29537 * docs/design/part-gstpipeline.txt:
29538 * docs/design/part-messages.txt:
29540 * gst/gstmessage.c:
29543 2005-03-21 Wim Taymans <wim@fluendo.com>
29545 * gst/gstbus.c: (gst_bus_post):
29546 Fix copy-and-paste error.
29548 2005-03-21 Wim Taymans <wim@fluendo.com>
29550 * check/Makefile.am:
29552 * gst/elements/Makefile.am:
29553 * gst/elements/gstelements.c:
29554 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29555 (gst_fakesink_event), (gst_fakesink_chain):
29556 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29557 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29558 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29559 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29560 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29561 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29562 (gst_fakesrc_loop), (gst_fakesrc_activate),
29563 (gst_fakesrc_change_state):
29564 * gst/elements/gstfakesrc.h:
29565 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29566 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29567 (gst_filesrc_open_file), (gst_filesrc_loop),
29568 (gst_filesrc_activate), (gst_filesrc_change_state),
29569 (filesrc_find_peek), (filesrc_find_suggest),
29570 (gst_filesrc_type_find):
29571 * gst/elements/gstidentity.c: (gst_identity_finalize),
29572 (gst_identity_class_init), (gst_identity_init),
29573 (gst_identity_proxy_getcaps), (identity_queue_push),
29574 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29575 (gst_identity_getrange), (gst_identity_chain),
29576 (gst_identity_sink_loop), (gst_identity_src_loop),
29577 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29578 (gst_identity_set_property), (gst_identity_get_property),
29579 (gst_identity_change_state):
29580 * gst/elements/gstidentity.h:
29581 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29582 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29583 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29584 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29585 (gst_tee_sink_activate):
29586 * gst/elements/gsttee.h:
29587 * gst/gst.c: (gst_register_core_elements), (init_post):
29589 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29590 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29591 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29592 (gst_bin_change_state):
29594 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29595 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29596 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29597 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29598 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29599 (bus_watch_callback), (bus_watch_destroy),
29600 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29601 (poll_timeout), (gst_bus_poll):
29605 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29606 (gst_element_post_message), (gst_element_message_full),
29607 (gst_element_get_state_func), (gst_element_get_state),
29608 (gst_element_abort_state), (gst_element_commit_state),
29609 (gst_element_lost_state), (gst_element_set_state),
29610 (gst_element_pads_activate), (gst_element_change_state),
29611 (gst_element_dispose), (gst_element_set_manager_func),
29612 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29613 (gst_element_set_manager), (gst_element_get_manager),
29614 (gst_element_set_bus), (gst_element_get_bus),
29615 (gst_element_set_scheduler), (gst_element_get_scheduler):
29616 * gst/gstelement.h:
29617 * gst/gstevent.c: (gst_event_new_segment_seek),
29618 (gst_event_new_flush):
29620 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29621 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29622 (gst_message_new_eos), (gst_message_new_error),
29623 (gst_message_new_warning), (gst_message_new_tag),
29624 (gst_message_new_state_changed), (gst_message_new_application),
29625 (gst_message_get_structure), (gst_message_parse_tag),
29626 (gst_message_parse_state_changed), (gst_message_parse_error),
29627 (gst_message_parse_warning):
29628 * gst/gstmessage.h:
29629 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29630 (gst_real_pad_set_property), (gst_pad_set_active),
29631 (gst_pad_is_active), (gst_pad_set_blocked_async),
29632 (gst_pad_set_blocked), (gst_pad_is_blocked),
29633 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29634 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29635 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29636 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29637 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29638 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29639 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29640 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29641 (gst_pad_set_caps), (gst_pad_configure_sink),
29642 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29643 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29644 (gst_real_pad_dispose), (gst_real_pad_finalize),
29645 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29646 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29647 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29649 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29650 (pipeline_bus_handler), (gst_pipeline_change_state),
29651 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29652 * gst/gstpipeline.h:
29654 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29655 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29656 (gst_queue_link_src), (gst_queue_bufferalloc),
29657 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29658 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29659 (gst_queue_loop), (gst_queue_handle_src_event),
29660 (gst_queue_handle_src_query), (gst_queue_src_activate),
29661 (gst_queue_change_state):
29663 * gst/gstscheduler.c: (gst_scheduler_init),
29664 (gst_scheduler_dispose), (gst_scheduler_create_task),
29665 (gst_scheduler_factory_create):
29666 * gst/gstscheduler.h:
29667 * gst/gststructure.c: (gst_structure_get_type),
29668 (gst_structure_copy_conditional):
29669 * gst/gststructure.h:
29670 * gst/gsttaginterface.h:
29671 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29672 (gst_task_init), (gst_task_dispose), (gst_task_create),
29673 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29679 * gst/schedulers/Makefile.am:
29680 * gst/schedulers/cothreads_compat.h:
29681 * gst/schedulers/entryscheduler.c:
29682 * gst/schedulers/faircothreads.c:
29683 * gst/schedulers/faircothreads.h:
29684 * gst/schedulers/fairscheduler.c:
29685 * gst/schedulers/gstbasicscheduler.c:
29686 * gst/schedulers/gstoptimalscheduler.c:
29687 * gst/schedulers/gthread-cothreads.h:
29688 * gst/schedulers/threadscheduler.c:
29689 (gst_thread_scheduler_task_get_type),
29690 (gst_thread_scheduler_task_class_init),
29691 (gst_thread_scheduler_task_init),
29692 (gst_thread_scheduler_task_start),
29693 (gst_thread_scheduler_task_stop),
29694 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29695 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29696 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29697 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29699 * libs/gst/Makefile.am:
29700 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29701 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29702 (gst_file_pad_parent_set):
29703 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29704 (gst_dp_event_from_packet):
29705 * tests/complexity.c: (main):
29706 * tests/mass_elements.c: (main):
29707 * testsuite/states/locked.c: (message_received), (main):
29708 * testsuite/states/parent.c: (main):
29709 * tools/gst-inspect.c: (print_element_flag_info),
29710 (print_implementation_info), (print_pad_info):
29711 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29713 * tools/gst-md5sum.c: (event_loop), (main):
29714 * tools/gst-typefind.c: (main):
29715 * tools/gst-xmlinspect.c: (print_element_info):
29717 Added GstBus for mainloop integration.
29718 Added GstMessage for sending notifications on the bus.
29719 Added GstTask as an abstraction for pipeline entry points.
29721 Removed Schedulers.
29722 Simplified GstQueue for multithreaded core.
29723 Made _link threadsafe, removed old capsnego.
29724 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29725 Added pad blocking functions.
29726 Reworked scheduling functions in GstPad to prepare for
29727 scheduling updates soon.
29728 Moved events out of data stream.
29729 Simplified GstEvent types.
29730 Added return values to push/pull.
29731 Removed clocking from GstElement.
29732 Added prototypes for state change function for next merge.
29733 Removed iterate from bins and state change management.
29734 Fixed some elements, disabled others for now.
29735 Fixed -inspect and -launch.
29736 Added check for GstBus.
29738 2005-03-10 Wim Taymans <wim@fluendo.com>
29740 * docs/design/part-MT-refcounting.txt:
29741 * docs/design/part-clocks.txt:
29742 * docs/design/part-gstelement.txt:
29743 * docs/design/part-gstobject.txt:
29744 * docs/design/part-standards.txt:
29745 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29746 (gst_bin_remove_func), (gst_bin_remove):
29750 * testsuite/clock/clock1.c: (main):
29751 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29753 * testsuite/dlopen/loadgst.c: (do_test):
29754 * testsuite/refcounting/bin.c: (add_remove_test1),
29755 (add_remove_test2), (main):
29756 * testsuite/refcounting/element.c: (main):
29757 * testsuite/refcounting/element_pad.c: (main):
29758 * testsuite/refcounting/pad.c: (main):
29759 * tools/gst-launch.c: (sigint_handler_sighandler):
29760 * tools/gst-typefind.c: (main):
29762 Added doc about clock.
29763 removed gst_bin_iterate_recurse_up(), marked methods
29765 Fix more testsuites.
29767 2005-03-09 Wim Taymans <wim@fluendo.com>
29769 * gst/gstpad.c: (gst_pad_get_direction),
29770 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29771 (gst_pad_collect_valist):
29772 * testsuite/bins/interface.c: (main):
29773 * testsuite/caps/audioscale.c: (test_caps):
29774 * testsuite/caps/caps.c: (test1), (test2), (test3):
29775 * testsuite/caps/deserialize.c: (main):
29776 * testsuite/caps/enumcaps.c: (main):
29777 * testsuite/caps/filtercaps.c: (main):
29778 * testsuite/caps/intersect2.c: (main):
29779 * testsuite/caps/random.c: (main):
29780 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29781 * testsuite/caps/sets.c: (check_caps):
29782 * testsuite/caps/simplify.c: (check_caps), (main):
29783 * testsuite/caps/subtract.c: (check_caps):
29784 Fix _pad_get_direction wrt ghostpads.
29785 Fix caps testsuite.
29787 2005-03-09 Wim Taymans <wim@fluendo.com>
29789 * check/Makefile.am:
29790 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29791 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29792 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29793 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29794 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29795 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29796 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29797 (bin_element_is_sink), (gst_bin_iterate_sinks),
29798 (gst_bin_iterate_all_by_interface):
29800 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29801 (gst_element_change_state), (gst_element_dispose),
29802 (gst_element_finalize), (gst_element_set_loop_function):
29803 * gst/gstelement.h:
29804 * gst/gstiterator.c: (find_custom_fold_func):
29805 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29806 (gst_pad_collectv), (gst_pad_collect_valist),
29807 (gst_pad_template_new):
29808 * gst/gstpipeline.c: (gst_pipeline_class_init),
29809 (gst_pipeline_dispose), (gst_pipeline_set_property),
29810 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29811 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29812 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29814 * gst/schedulers/entryscheduler.c:
29815 * gst/schedulers/gstbasicscheduler.c:
29816 (gst_basic_scheduler_cothreaded_chain),
29817 (gst_basic_scheduler_chain_add_element):
29818 * testsuite/bins/interface.c: (main):
29820 Added GstSystemClock test.
29821 Implemented clock distribution code in GstBin.
29822 Implemented iterate sinks method for future use.
29823 Rearranged gstelement.h
29824 Fix GstIterator comparison bug.
29825 Moved some code to GstPipeline, mostly clocking related.
29827 2005-03-09 Wim Taymans <wim@fluendo.com>
29830 * gst/gst_private.h:
29831 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29832 (gst_bin_remove_func), (gst_bin_remove),
29833 (gst_bin_get_by_name_recurse_up):
29834 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29835 (gst_clock_id_compare_func), (gst_clock_id_wait),
29836 (gst_clock_id_wait_async), (gst_clock_init),
29837 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29838 * gst/gstelement.h:
29839 * gst/gstinfo.c: (_gst_debug_init):
29841 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29842 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29844 Bump version number, we're now 0.9.0
29845 Add future debugging category.
29846 Fix NULL _unref() in _get_by_name_recurse_up
29847 Rearrange gstpad.h.
29850 2005-03-08 Wim Taymans <wim@fluendo.com>
29852 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29853 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29854 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29855 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29856 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29857 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29858 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29859 * gst/elements/gstidentity.c: (gst_identity_class_init):
29860 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29861 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29862 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29863 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29864 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29866 * gst/gstelement.c: (gst_element_class_init),
29867 (gst_element_base_class_init), (gst_element_init),
29868 (gst_element_get_random_pad), (gst_element_wait_state_change),
29869 (gst_element_change_state), (gst_element_dispose),
29870 (gst_element_finalize), (gst_element_set_loop_function):
29871 * gst/gstelement.h:
29872 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29873 * gst/gstthread.c: (gst_thread_class_init),
29874 (gst_thread_release_children_locks), (gst_thread_change_state):
29875 * gst/schedulers/gstbasicscheduler.c:
29876 (gst_basic_scheduler_loopfunc_wrapper),
29877 (gst_basic_scheduler_chain_wrapper),
29878 (gst_basic_scheduler_src_wrapper),
29879 (gst_basic_scheduler_remove_element):
29880 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29881 Remove threadsafe properties. Fix elements because GObject
29882 complains when installing a property before declaring a
29883 set/get_property handler.
29884 Rearrange gstelement.h file, use STATE macros for state locks.
29885 Free mutexes in the finalize method instead of dispose.
29887 2005-03-08 Wim Taymans <wim@fluendo.com>
29889 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29890 * gst/gstthread.c: (gst_thread_release_children_locks):
29891 Added parentage check.
29892 Fix build og GstThread again.
29894 2005-03-08 Wim Taymans <wim@fluendo.com>
29896 * docs/design/part-MT-refcounting.txt:
29897 * docs/design/part-conventions.txt:
29898 * docs/design/part-gstobject.txt:
29899 * docs/design/part-relations.txt:
29900 * docs/design/part-standards.txt:
29901 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29902 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29903 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29904 (gst_bin_iterate_all_by_interface):
29907 * gst/gstelement.c: (gst_element_class_init),
29908 (gst_element_change_state), (gst_element_set_loop_function):
29909 * gst/gstelement.h:
29910 * gst/gstiterator.c:
29911 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29912 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29913 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29914 (gst_object_set_parent), (gst_object_unparent),
29915 (gst_object_check_uniqueness):
29917 Docs updates, clean up some headers.
29919 2005-03-07 Wim Taymans <wim@fluendo.com>
29921 * check/.cvsignore:
29922 * check/Makefile.am:
29923 * check/gst-libs/.cvsignore:
29924 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29925 * check/gst/.cvsignore:
29926 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29927 (START_TEST), (gstbus_suite), (main):
29928 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29929 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29930 (gst_data_suite), (main):
29931 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29932 (add_fold_func), (gstiterator_suite), (main):
29933 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29934 (thread_name_object), (thread_name_object_default),
29935 (gst_object_name_compare), (gst_object_suite), (main):
29936 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29937 (gst_pad_suite), (main):
29938 * check/gstcheck.c: (gst_check_log_message_func),
29939 (gst_check_log_critical_func), (gst_check_init):
29940 * check/gstcheck.h:
29941 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29942 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29945 2005-03-07 Wim Taymans <wim@fluendo.com>
29947 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29948 (gst_list_iterator_next), (gst_list_iterator_resync),
29949 (gst_list_iterator_free), (gst_iterator_new_list),
29950 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29951 (gst_iterator_free), (gst_iterator_push), (filter_next),
29952 (filter_resync), (filter_uninit), (filter_free),
29953 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29954 (gst_iterator_foreach), (find_custom_fold_func),
29955 (gst_iterator_find_custom):
29956 * gst/gstiterator.h:
29957 Added missing files.
29959 2005-03-07 Wim Taymans <wim@fluendo.com>
29963 * docs/design/part-MT-refcounting.txt:
29964 * docs/design/part-conventions.txt:
29965 * docs/design/part-gstobject.txt:
29966 * docs/design/part-relations.txt:
29967 * examples/mixer/mixer.c: (main):
29968 * examples/thread/thread.c: (eos), (main):
29970 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29971 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29972 (gst_spider_plug_from_srcpad):
29973 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29974 (gst_spider_identity_change_state),
29975 (gst_spider_identity_sink_loop_type_finding):
29976 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29977 * gst/elements/gstidentity.c: (gst_identity_init):
29978 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29979 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29980 * gst/elements/gsttypefindelement.c: (free_entry):
29983 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29984 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29985 (gst_bin_set_index), (gst_bin_set_element_sched),
29986 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29987 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29988 (gst_bin_iterate_elements), (iterate_child_recurse),
29989 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29990 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29991 (compare_interface), (gst_bin_get_by_interface),
29992 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29994 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29995 (gst_buffer_default_free), (gst_buffer_default_copy),
29996 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29997 (gst_buffer_create_sub):
29999 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30000 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30001 (gst_caps_unref), (gst_static_caps_get),
30002 (gst_caps_remove_and_get_structure), (gst_caps_append),
30003 (gst_caps_append_structure), (gst_caps_remove_structure),
30004 (gst_caps_copy_nth), (gst_caps_set_simple),
30005 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30006 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30007 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30008 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30009 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30010 (gst_caps_structure_figure_out_union),
30011 (gst_caps_switch_structures), (gst_caps_do_simplify),
30012 (gst_caps_replace), (gst_caps_from_string),
30013 (gst_caps_copy_conditional):
30015 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30016 (_gst_clock_id_free), (gst_clock_id_unref),
30017 (gst_clock_id_compare_func), (gst_clock_id_wait),
30018 (gst_clock_id_wait_async), (gst_clock_class_init),
30019 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30020 (gst_clock_get_time), (gst_clock_set_time_adjust),
30021 (gst_clock_set_property), (gst_clock_get_property):
30024 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30025 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30027 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30028 (gst_element_requires_clock), (gst_element_provides_clock),
30029 (gst_element_set_clock), (gst_element_clock_wait),
30030 (gst_element_wait), (gst_element_set_time_delay),
30031 (gst_element_is_indexable), (gst_element_add_pad),
30032 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30033 (pad_compare_name), (gst_element_get_static_pad),
30034 (gst_element_request_pad), (gst_element_get_request_pad),
30035 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30036 (gst_element_class_get_pad_template_list),
30037 (gst_element_class_get_pad_template), (gst_element_error_func),
30038 (gst_element_get_random_pad), (gst_element_get_event_masks),
30039 (gst_element_send_event), (gst_element_seek),
30040 (gst_element_get_query_types), (gst_element_query),
30041 (gst_element_get_formats), (gst_element_convert),
30042 (gst_element_is_locked_state), (gst_element_set_locked_state),
30043 (gst_element_sync_state_with_parent), (gst_element_change_state),
30044 (gst_element_finalize), (gst_element_yield),
30045 (gst_element_interrupt), (gst_element_set_scheduler),
30046 (gst_element_get_scheduler), (gst_element_set_loop_function):
30047 * gst/gstelement.h:
30049 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30050 (gst_format_get_by_nick), (gst_format_get_details),
30051 (gst_format_iterate_definitions):
30053 * gst/gstindex.c: (gst_index_gtype_resolver):
30056 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30057 (gst_mem_chunk_free):
30058 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30059 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30060 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30061 (gst_object_dispatch_properties_changed),
30062 (gst_object_set_name_default), (gst_object_set_name),
30063 (gst_object_get_name), (gst_object_set_name_prefix),
30064 (gst_object_get_name_prefix), (gst_object_set_parent),
30065 (gst_object_get_parent), (gst_object_unparent),
30066 (gst_object_check_uniqueness), (gst_object_save_thyself),
30067 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30068 (gst_object_set_property), (gst_object_get_property),
30069 (gst_object_get_path_string):
30071 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30072 (gst_real_pad_init), (gst_real_pad_get_property),
30073 (gst_pad_custom_new), (gst_pad_get_direction),
30074 (gst_pad_set_active), (gst_pad_is_active),
30075 (gst_pad_set_event_function), (gst_pad_is_linked),
30076 (gst_pad_link_free), (gst_pad_link_intersect),
30077 (gst_pad_link_fixate), (gst_pad_set_caps),
30078 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30079 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30080 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30081 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30082 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30083 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30084 (gst_pad_realize), (gst_pad_get_allowed_caps),
30085 (gst_real_pad_dispose), (gst_real_pad_finalize),
30086 (gst_pad_collectv), (gst_pad_collect_valist),
30087 (gst_pad_template_dispose), (gst_pad_template_new),
30088 (gst_pad_get_internal_links):
30090 * gst/gstpipeline.c: (gst_pipeline_dispose),
30091 (gst_pipeline_change_state):
30092 * gst/gstpipeline.h:
30094 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30095 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30096 * gst/gstpluginfeature.h:
30097 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30098 * gst/gstquery.c: (_gst_query_type_initialize),
30099 (gst_query_type_register), (gst_query_type_get_by_nick),
30100 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30102 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30103 * gst/gstscheduler.c: (gst_scheduler_add_element),
30104 (gst_scheduler_factory_create):
30105 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30106 (gst_structure_free), (gst_structure_set_name),
30107 (gst_structure_id_set_value), (gst_structure_set_value),
30108 (gst_structure_set_valist), (gst_structure_remove_field),
30109 (gst_structure_remove_fields),
30110 (gst_structure_remove_fields_valist),
30111 (gst_structure_remove_all_fields), (gst_structure_foreach),
30112 (gst_structure_map_in_place),
30113 (gst_caps_structure_fixate_field_nearest_int),
30114 (gst_caps_structure_fixate_field_nearest_double):
30115 * gst/gststructure.h:
30116 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30117 (gst_system_clock_init), (gst_system_clock_dispose),
30118 (gst_system_clock_async_thread),
30119 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30120 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30121 * gst/gstsystemclock.h:
30122 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30123 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30124 * gst/gsttaginterface.c:
30125 * gst/gstthread.c: (gst_thread_dispose),
30126 (gst_thread_release_children_locks), (gst_thread_change_state),
30127 (gst_thread_main_loop):
30128 * gst/gsttrashstack.h:
30129 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30131 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30132 (gst_element_request_pad), (gst_element_get_pad_from_template),
30133 (gst_element_request_compatible_pad),
30134 (gst_element_get_compatible_pad_filtered),
30135 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30136 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30137 (gst_element_link_many), (gst_element_link),
30138 (gst_element_link_pads), (gst_element_unlink_pads),
30139 (gst_element_unlink_many), (gst_element_unlink),
30140 (gst_pad_can_link_filtered), (gst_pad_can_link),
30141 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30142 (gst_object_default_error), (gst_bin_add_many),
30143 (gst_bin_remove_many), (gst_element_populate_std_props),
30144 (gst_element_class_install_std_props), (gst_buffer_merge),
30145 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30146 (link_fold_func), (gst_pad_proxy_setcaps):
30148 * gst/gstvalue.c: (gst_value_deserialize_string):
30149 * gst/parse/grammar.y:
30150 * gst/schedulers/gstbasicscheduler.c:
30151 (gst_basic_scheduler_cothreaded_chain),
30152 (gst_basic_scheduler_chain_recursive_add),
30153 (gst_basic_scheduler_pad_link):
30154 * gst/schedulers/gstoptimalscheduler.c:
30155 (get_group_schedule_function),
30156 (gst_opt_scheduler_state_transition),
30157 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30158 * libs/gst/bytestream/bytestream.c:
30159 * libs/gst/dataprotocol/dataprotocol.c:
30160 (gst_dp_header_from_buffer):
30163 * tests/threadstate/threadstate2.c: (eos):
30164 * tools/gst-compprep.c: (main):
30165 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30166 (print_pad_info), (print_children_info):
30167 * tools/gst-launch.c: (idle_func), (main):
30168 * tools/gst-md5sum.c: (idle_func), (main):
30169 * tools/gst-xmlinspect.c: (print_element_info):
30170 First THREADED backport attempt, focusing on adding locks and
30171 making sure the API is threadsafe. Needs more work. More docs
30174 2005-02-24 Andy Wingo <wingo@pobox.com>
30176 * tests/bench-complexity.scm:
30177 * tests/complexity.gnuplot: New files, good for running complexity
30180 * tests/Makefile.am:
30181 * tests/complexity.c: New test, sets up N elements, at each level
30182 teeing into M streams per element. Eeeenteresting.
30184 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30185 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30186 running bench-mass_elements.scm.
30188 * tests/bench-mass_elements.scm: New script, runs mass_elements
30189 for various numbers of identities, outputting the results to a
30190 file. Requires guile 1.6. Just for testing.
30192 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30194 * gst/schedulers/fairscheduler.c:
30195 compile with debug disabled
30197 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30200 hunting season on 0.9 is now OPEN