1 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
3 * libs/gst/controller/gstinterpolationcontrolsource.c:
4 (_list_find_sorted_custom):
5 Don't use declarations after statements.
7 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
9 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
11 of the the child-added / -removed signals as GstChildProxy
12 only supports GstObjects.
14 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
16 * gst/gstdebugutils.c:
19 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
21 Patch by: Alessandro Decina <alessandro at nnva dot org>
24 Fix "ignored return value" compiler warning with newer glibc.
26 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
28 * gst/gstchildproxy.c:
29 Fix copy&paste error in gst_child_proxy_removed() documentation.
31 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
33 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
34 Print error debug message if plugin description fields that should
37 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
38 Don't crash if the string to serialise is NULL (it really should
39 not be, but apparently this used to work with the xml registry ...).
41 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
43 * tools/gst-plot-timeline.py:
44 Fix parsing of log messages
46 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
48 * win32/common/libgstbase.def::
49 Sort alphabetically so make check-exports doesn't barf.
51 2008-07-01 Stefan Kost <ensonic@users.sf.net>
54 Use gst_format_get_name() to improve debug output.
57 Remove #ifdef'ed code. Add TODO comment.
60 Add debug output to ease spotting format != segment.format assertions.
62 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
64 * tests/check/libs/gdp.c: (gst_dp_suite):
65 Also enable the GDP unit test again on PPC now that the bug
68 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
70 * libs/gst/dataprotocol/dataprotocol.c:
71 Don't write to the same region of memory as a uint64 and uint16
72 as this breaks strict aliasing rules and apparantly breaks on PPC
73 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
75 2008-06-29 Stefan Kost <ensonic@users.sf.net>
77 * libs/gst/controller/gstinterpolationcontrolsource.c:
78 Optimize list handling. Use own find function. Exploit that fact that
79 the list is sorted. Also pass back the node before, so that we can
80 insert quickly. Have a fast path for append.
82 2008-06-29 Stefan Kost <ensonic@users.sf.net>
84 * docs/design/draft-framestep.txt:
85 * docs/design/part-negotiation.txt:
88 2008-06-27 Stefan Kost <ensonic@users.sf.net>
91 Show configuration sumary after configure run. Based on patch by
92 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
94 2008-06-27 Stefan Kost <ensonic@users.sf.net>
96 patch by: Luc Pionchon <luc.pionchon@nokia.com>
98 * docs/manual/advanced-autoplugging.xml:
99 * docs/manual/advanced-threads.xml:
100 * docs/manual/basics-bins.xml:
101 * docs/manual/basics-elements.xml:
102 * docs/manual/basics-helloworld.xml:
103 * docs/manual/basics-pads.xml:
104 Add scale factor for pdf output.
106 * docs/manual/intro-basics.xml:
107 Switched sections "pads" and "bins" and added a pipeline diagram.
109 * docs/manual/intro-gstreamer.xml:
110 Added more info on gstreamer.
112 * docs/manual/intro-motivation.xml:
113 Commented out the whole section "current problem", which sounds
114 historical and somehow osolete; it could be turned in a positive
115 way and reused to improve the design principles.
117 * docs/manual/intro-preface.xml:
118 - Update URLs to library.gnome.org.
119 - Do not mention GTK+ in preliminary reading (irrelevant).
120 - Mention Plugin Writer's Manual and further reading only in the
122 - Added a list of most relevant GObject/glib topics.
124 * docs/manual/Makefile.am:
125 * docs/manual/bin-element-ghost.fig:
126 * docs/manual/bin-element-ghost.png:
127 * docs/manual/bin-element-noghost.fig:
128 * docs/manual/bin-element-noghost.png:
129 * docs/manual/bin-element.fig:
130 * docs/manual/bin-element.png:
131 * docs/manual/filter-element-multi.fig:
132 * docs/manual/filter-element-multi.png:
133 * docs/manual/filter-element.fig:
134 * docs/manual/filter-element.png:
135 * docs/manual/gstreamer-overview.png:
136 * docs/manual/hello-world.fig:
137 * docs/manual/hello-world.png:
138 * docs/manual/linked-elements.fig:
139 * docs/manual/linked-elements.png:
140 * docs/manual/mime-world.fig:
141 * docs/manual/mime-world.png:
142 * docs/manual/queue.fig:
143 * docs/manual/queue.png:
144 * docs/manual/simple-player.png:
145 * docs/manual/sink-element.fig:
146 * docs/manual/sink-element.png:
147 * docs/manual/src-element.fig:
148 * docs/manual/src-element.png:
149 * docs/manual/diagrams-general.svg:
150 * docs/manual/diagrams-pipelines.svg:
151 Removed .fig, added .png counterpart.
155 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
157 * plugins/elements/gstmultiqueue.c:
158 * plugins/elements/gstmultiqueue.h:
159 revert extra-size-buffers stuff, caused some race conditions
160 and extra-size-buffers is not used anymore. Docs needs some updates
162 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
164 * win32/common/config.h:
165 * win32/common/gstenumtypes.c:
166 * win32/common/gstenumtypes.h:
167 * win32/common/gstversion.h:
170 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
172 * gst/gstdebugutils.h: (GstDebugGraphDetails),
173 (GST_DEBUG_BIN_TO_DOT_FILE):
174 Add missing Since' markers to gtk-doc blurbs.
176 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
178 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
179 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
180 (set_caps_1), (set_caps_ct1), (transform_ct1),
181 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
182 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
183 (transform_size_ct2), (buffer_alloc_ct2):
184 Add some more tests with switching caps in buffer_alloc.
186 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
188 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
189 (gst_test_trans_class_init), (result_sink_chain),
190 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
191 (gst_test_trans_push), (gst_test_trans_pop):
192 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
193 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
194 (set_caps_1), (set_caps_ct1), (transform_ct1),
195 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
196 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
197 (transform_size_ct2), (buffer_alloc_ct2),
198 (gst_basetransform_suite):
199 More tests, prepare for tests with switching caps in buffer_alloc.
201 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
203 * plugins/elements/gstmultiqueue.c:
204 * plugins/elements/gstmultiqueue.h:
205 Fix dead-lock in underrun_cb
207 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
209 * docs/design/part-states.txt:
210 Fix device open/close docs.
212 2008-06-25 Stefan Kost <ensonic@users.sf.net>
215 Mention bugnumber for last commit.
217 2008-06-25 Stefan Kost <ensonic@users.sf.net>
219 patch by: Luc Pionchon <luc.pionchon@nokia.com>
221 * docs/manual/manual.xml:
222 - Reorganised the previous "introduction" bundle into Foreword,
223 Introduction, and About GStreamer. The two first are <preface>
224 docbook elements. The later is the first part of the book.
225 - added intro-gstreamer.xml (content partially from
227 - moved appendix-win32.xml into appendix-integration.xml
229 * docs/manual/intro-preface.xml: gstreamer section moved...
230 * docs/manual/intro-gstreamer.xml: ...here. new file.
232 * docs/manual/appendix-win32.xml: removed file. Content moved...
233 * docs/manual/appendix-integration.xml: ...here.
235 * docs/manual/highlevel-components.xml: section about GstEditor moved...
236 * docs/manual/appendix-checklist.xml: ...here.
240 2008-06-25 Stefan Kost <ensonic@users.sf.net>
242 patch by: Luc Pionchon <luc.pionchon@nokia.com>
244 * docs/manual/basics-helloworld.xml:
245 * docs/manual/hello-world.fig:
246 - Explicitely include glib.h.
247 - Do not use global variables.
248 - Use g_printerr() instead of g_print().
249 - Minor formating/renaming to increase readibility.
250 - Renamed new_pad() to on_pad_added()
251 - Improved explenatory comments.
252 - renamed ogg parser to ogg demuxer
253 - Use "autoaudiosink" instead of "alsasink".
256 2008-06-25 Stefan Kost <ensonic@users.sf.net>
259 Remove cvs conflict marker.
261 2008-06-25 Stefan Kost <ensonic@users.sf.net>
264 Document that for plgin-docs we extraxt he short-desc from the element
267 * docs/design/part-states.txt:
268 Tell that devices should be closed in PAUSED -> READY.
270 * docs/manual/README:
271 Document how tests in the manual are handled.
276 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
278 * gst/gstbin.c: (bin_query_latency_fold):
279 Only care about latency min and max when the sink is actually a live
282 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
284 * docs/design/part-block.txt:
287 * docs/design/part-element-transform.txt:
288 Add notes about why transform needs to know input/output sizes.
289 Add some issues that need to be solved.
290 Add some more use cases.
292 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
293 (gst_test_trans_class_init), (result_sink_chain),
294 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
295 (gst_test_trans_push), (gst_test_trans_pop):
296 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
297 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
298 (set_caps_1), (set_caps_ct1), (transform_ct1),
299 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
300 (gst_basetransform_suite):
301 Add suport for different pad templates and buffer-alloc.
302 Add more checks for caps and buffer-alloc.
303 Add checks for proxy buffer alloc.
304 Add unit test for copy transform.
306 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
308 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
310 * docs/manual/appendix-integration.xml:
311 * docs/manual/appendix-licensing.xml:
312 * docs/manual/basics-elements.xml:
313 * docs/manual/basics-helloworld.xml:
314 * docs/manual/basics-pads.xml:
315 * docs/manual/highlevel-components.xml:
316 * docs/manual/highlevel-xml.xml:
317 * docs/manual/intro-basics.xml:
318 * docs/manual/intro-preface.xml:
319 Typo and formatting fixes (#538594).
321 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
323 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
324 Fix some memory leaks and uses of object instances that we don't
327 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
329 * plugins/elements/gstmultiqueue.c:
330 Add functionality to extra-size-buffers property.
332 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
334 * plugins/elements/gstmultiqueue.c:
335 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
336 activate the pads if they are added in STATE_NULL.
338 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
340 * docs/libs/gstreamer-libs-sections.txt:
342 * libs/gst/check/gstcheck.c:
343 * libs/gst/check/gstcheck.h:
344 API: gst_check_teardown_pad_by_name
346 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
348 * libs/gst/check/gstcheck.c:
349 * libs/gst/check/gstcheck.h:
350 Also setup request pads and allow setup pads by name (#537812)
351 API: gst_check_setup_src_pad_by_name
352 API: gst_check_setup_sink_pad_by_name
354 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
356 * tests/check/gst/gstbuffer.c:
357 * tests/check/pipelines/parse-launch.c:
358 Use HAVE_VALGRIND_H some more.
360 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
362 * scripts/cvs-update.sh:
363 Pass arguments to make.
364 Run autoregen.sh if Makefile is not there.
366 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
370 Don't assume that <valgrind/valgrind.h> exists just because
373 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
375 * tests/check/Makefile.am:
376 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
377 (gst_test_trans_class_init), (gst_test_trans_init),
378 (gst_test_trans_set_data), (result_sink_chain),
379 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
380 (gst_test_trans_pop):
381 * tests/check/libs/transform1.c: (GST_START_TEST),
382 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
383 Add some test basetransform element and the beginnings of various
386 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
388 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
389 Increase code readability.
390 Don't try to compare buffer offsets when ther are invalid.
392 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
394 * docs/design/Makefile.am:
395 Dist some more design docs.
397 * docs/random/moving-plugins:
398 Small addition: good plugins mustn't have functional code
399 within assertion macros.
401 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
403 * docs/design/draft-framestep.txt:
404 Some ideas about a framestep API
406 * docs/design/part-element-transform.txt:
407 Start design and use cases for basetransform in order to get it
410 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
413 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
414 be in UTF-8 encoding.
416 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
419 Make it known that gst_bus_poll() is pure evil (fixes #538810).
421 2008-06-20 Stefan Kost <ensonic@users.sf.net>
423 * plugins/elements/gstcapsfilter.c:
424 * plugins/elements/gstfakesink.c:
425 * plugins/elements/gstfakesrc.c:
426 * plugins/elements/gstfdsink.c:
427 * plugins/elements/gstfdsrc.c:
428 * plugins/elements/gstfilesink.c:
429 * plugins/elements/gstfilesrc.c:
430 * plugins/elements/gstidentity.c:
431 * plugins/elements/gstmultiqueue.c:
432 * plugins/elements/gstqueue.c:
433 * plugins/elements/gsttee.c:
434 * plugins/elements/gsttypefindelement.c:
435 Remove short_description. Add basic docs for gsttypefindelement.
436 Simplify markup for fakesrc/fdsrc.
438 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
440 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
443 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
445 Patch by: joel larsson <tilljoel at gmail dot com>
447 * docs/plugins/gstreamer-plugins.args:
448 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
449 (gst_fd_src_init), (gst_fd_src_update_fd),
450 (gst_fd_src_set_property), (gst_fd_src_get_property),
452 * plugins/elements/gstfdsrc.h:
453 Add timeout property like udpsrc. Fixes #538628.
454 Add some more docs and example pipelines.
456 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
458 * docs/libs/gstreamer-libs-sections.txt:
459 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
460 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
461 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
462 (gst_base_sink_do_sync):
463 * libs/gst/base/gstbasesink.h:
464 * win32/common/libgstbase.def:
465 Add method to allow sinks to specify additional delay between the sync
466 times and the actual rendering of the data.
467 API: gst_base_sink_set_render_delay()
468 API: gst_base_sink_get_render_delay()
470 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
473 Bump version number back to dev -> 0.10.20.1
475 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
477 * docs/gst/gstreamer-sections.txt:
478 * gst/gsttaglist.c: (_gst_tag_initialize):
480 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
483 2008-06-20 Stefan Kost <ensonic@users.sf.net>
485 * libs/gst/controller/gstcontroller.c:
486 Revert one change, that make ret value possible uninitialized.
488 2008-06-20 Stefan Kost <ensonic@users.sf.net>
490 * libs/gst/controller/gstcontroller.c:
491 Use freeze/thaw notify to sync notify emission a bit (its also more
492 efficient). Move debug output to LOG (is called a lot in a loop).
493 Always unset g_values if the have been initialized.
495 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
497 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
498 (gst_base_sink_wait_eos), (gst_base_sink_event):
499 If we have not seen a buffer before EOS, use the segment values to
500 report the current position instead of invalid positions.
502 2008-06-20 Stefan Kost <ensonic@users.sf.net>
504 * docs/plugins/tmpl/.cvsignore:
505 * tests/check/gst/.cvsignore:
508 2008-06-20 Stefan Kost <ensonic@users.sf.net>
510 * libs/gst/controller/gstinterpolation.c:
511 * libs/gst/controller/gstinterpolationcontrolsource.c:
512 * tests/check/libs/controller.c:
513 Rewrite handling of default values. Fix overflow with unsigned types
514 in linear interpolation. Remove now obsolete _first_value() function.
515 Add more tests. Fixes #538201.
517 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
519 * libs/gst/base/gstbasetransform.c:
520 (gst_base_transform_class_init), (gst_base_transform_init),
521 (gst_base_transform_transform_caps),
522 (gst_base_transform_prepare_output_buffer):
524 When a buffer is writable, its metadata is also writable so we don't
525 need to subbuffer (which then makes the buffer not-writable anymore).
527 === release 0.10.20 ===
529 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
532 releasing 0.10.20, "You Crazy Diamond"
534 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
537 0.10.19.3 pre-release
539 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
543 Rename DATADIR to GST_DATADIR to avoid build problems
544 on win32. Patch By: David Schleef <ds@schleef.org>
547 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
550 Explicitely link with -ldl if dladdr() is found there. Before it was
551 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
552 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
554 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
556 * gst/gsterror.c: (_gst_stream_errors_init):
557 Fix typo (spotted by Fabricio Godoy, #536723).
559 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
562 0.10.19.2 pre-release
564 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
566 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
567 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
569 Make sure we don't generate invalid QoS messages.
571 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
573 * gst/gstevent.c: (gst_event_new_qos):
574 Add some assert and docs for invalid input to the qos function.
576 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
578 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
579 (gst_base_sink_get_position):
580 The reported position must always be smaller than the last seen
581 timestamps (or timestamp + duration for reverse).
583 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
585 Patch by: Rob Bradford <rob at robster dot org dot uk>
587 * gst/gstregistry.c: (gst_registry_scan_path_level):
588 Don't recurse into .debug directories as some distros install
589 the debugging symbols next to the plugins in .debug directories
590 and dlopen() crashes on them sometimes. Fixes bug #508070.
592 Add FIXME for 0.11 to not recurse into directories at all because
593 it's very inconsistent to the behaviour of other PATH environment
596 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
598 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
599 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
600 Fix position query range checks in reverse playback.
602 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
606 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
607 clear of the reference to the resulting pad must be released later
608 or not, resulting in possible leaks. Fixes bug #533865.
610 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
612 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
614 * gst/gstelementfactory.c:
615 Small doc fix. Fixes #535285.
617 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
619 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
621 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
622 (gst_base_src_get_range), (gst_base_src_pad_get_range),
623 (gst_base_src_loop), (gst_base_src_set_flushing),
624 (gst_base_src_change_state):
625 Make sending an EOS event to the basesrc non-blocking even if the
626 implementation does blocking waits in the create function. This is done
627 by unlocking the create function when EOS is sent.
630 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
632 * tools/gst-inspect.c: (print_element_properties_info):
633 If possible print the element type of GValueArray properties.
635 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
638 Remove an unused field from the private GstListIterator struct.
640 2008-05-27 Stefan Kost <ensonic@users.sf.net>
642 * libs/gst/controller/gstcontroller.c:
643 Add parameter guards.
645 2008-05-27 Stefan Kost <ensonic@users.sf.net>
647 * tests/check/gst/gstpipeline.c:
648 Revert test change and add comment why it should not work.
650 2008-05-27 Stefan Kost <ensonic@users.sf.net>
652 * tests/check/gst/gstpipeline.c:
653 Extending the test a little to verify that we also get the NULL state-
656 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
658 * gst/gstpreset.c: (gst_preset_default_get_meta),
659 (gst_preset_get_preset_names), (gst_preset_get_property_names),
660 (gst_preset_load_preset), (gst_preset_save_preset),
661 (gst_preset_rename_preset), (gst_preset_delete_preset),
662 (gst_preset_set_meta):
663 Add Since: markers to docs blurbs.
665 * win32/common/libgstreamer.def:
666 Add recently-added API.
668 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
670 Patch by: Stefan Kost <ensonic@users.sf.net>
673 Add DATADIR for storing presets.
675 * docs/gst/gstreamer-docs.sgml:
676 * docs/gst/gstreamer-sections.txt:
677 * docs/gst/gstreamer.types.in:
678 Add GstPreset to docs.
682 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
683 (preset_open_and_parse_header), (preset_parse_version),
684 (preset_merge), (preset_get_keyfile),
685 (gst_preset_default_get_preset_names),
686 (gst_preset_default_get_property_names),
687 (gst_preset_default_load_preset),
688 (gst_preset_default_save_presets_file),
689 (gst_preset_default_save_preset),
690 (gst_preset_default_rename_preset),
691 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
692 (gst_preset_default_get_meta), (gst_preset_default_randomize),
693 (gst_preset_default_reset), (gst_preset_get_preset_names),
694 (gst_preset_get_property_names), (gst_preset_load_preset),
695 (gst_preset_save_preset), (gst_preset_rename_preset),
696 (gst_preset_delete_preset), (gst_preset_set_meta),
697 (gst_preset_get_meta), (gst_preset_class_init),
698 (gst_preset_base_init), (gst_preset_get_type):
700 Add GstPreset to core. Fixes #396779
702 * tests/check/Makefile.am:
703 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
704 (gst_preset_test_set_property), (gst_preset_test_class_init),
705 (gst_preset_test_base_init), (gst_preset_test_get_type),
706 (gst_preset_test_plugin_init), (GST_START_TEST),
707 (remove_preset_file), (test_setup), (test_teardown),
709 Add GstPreset unit tests.
711 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
713 * gst/gstpad.c: (gst_pad_event_default_dispatch):
714 The default event function on a sinkpad should return TRUE when
715 there are no internal links but should collect the return values from
716 the internal links otherwise.
718 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
720 * plugins/elements/gsttypefindelement.c:
721 (gst_type_find_element_src_event),
722 (gst_type_find_element_handle_event):
723 Use faster and safer _pad_push_event().
725 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
727 * docs/gst/gstreamer-sections.txt:
728 * gst/gstutils.c: (element_find_unlinked_pad),
729 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
731 API: add gst_bin_find_unlinked_pad()
732 API: deprecate gst_bin_find_unconnected_pad() (#401456)
734 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
740 Fixed a bunch of typos.
742 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
745 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
746 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
747 (gst_parse_bin_from_description_full):
749 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
751 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
753 * docs/pwg/advanced-tagging.xml:
754 Small docs update, can't be bothered to rewrite the nonsensical
757 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
760 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
762 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
764 * gst/parse/grammar.y:
765 Remove unneeded casts.
767 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
769 * gst/parse/grammar.y:
770 * tests/check/pipelines/parse-launch.c:
771 Get all missing elements from a parse launch string if possible
772 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
774 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
776 * tests/check/Makefile.am:
777 * tests/check/pipelines/parse-launch.c:
778 Add some unit tests for the new gst_parse_launch*_full() API.
779 (Exposes a previously-existing memory leak in the error code
780 path, so adding to VALGRIND_TO_FIX for now).
782 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
784 * docs/gst/gstreamer-sections.txt:
785 * gst/gst.c: (init_post):
786 * gst/gst_private.h: (_GstParseContext):
787 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
788 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
789 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
790 (gst_parse_launch_full):
791 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
792 (GstParseFlags), (GstParseContext):
793 * gst/gstutils.c: (gst_parse_bin_from_description),
794 (gst_parse_bin_from_description_full):
796 * gst/parse/grammar.y:
798 * win32/common/libgstreamer.def:
799 Add new gst_parse_*_full API (#528178):
800 API: gst_parse_launch_full()
801 API: gst_parse_launchv_full()
802 API: gst_parse_bin_from_description_full()
803 API: gst_parse_context_new()
804 API: gst_parse_context_free()
805 API: gst_parse_context_get_missing_elements()
807 2008-05-23 Stefan Kost <ensonic@users.sf.net>
809 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
811 * docs/faq/gst-uninstalled:
812 Also support ffmpeg in gst-uninstalled.
814 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
817 After discussion on IRC use the binary registry as default
818 but allow to disable it with --disable-binary-registry.
820 * win32/common/libgstreamer.def:
821 Add the two new symbols for the binary registry.
823 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
825 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
826 * gst/gstutils.c: (gst_parse_bin_from_description):
827 * gst/parse/grammar.y: (graph):
828 More guards against bad input; typo fix; some minor clean-ups.
830 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
832 Patch by: Sjoerd Simons <sjoerd at luon dot net>
834 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
835 If nothing else can be used, use the last buffer's start time as
836 the segment's last stop. Fixes bug #534258.
838 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
840 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
841 Move size sanity check to the right place: downstream may return
842 a buffer with a smaller size if the buffer caps are different than
843 the requested ones, as may happen when doing reverse negotiation.
845 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
847 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
848 (gst_file_sink_render):
849 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
850 (gst_file_src_start):
851 Small cleanups. Add note adbout g_fopen() on windows and why we don't
854 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
856 * gst/gstpad.c: (gst_pad_load_and_link):
857 * gst/gstutils.c: (gst_element_link_pads),
858 (gst_element_unlink_pads):
859 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
860 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
861 (gst_check_teardown_sink_pad),
862 (gst_check_element_push_buffer_list):
863 * tests/check/elements/fakesink.c: (GST_START_TEST):
864 * tests/check/elements/filesink.c:
865 * tests/check/elements/filesrc.c: (GST_START_TEST):
866 * tests/check/elements/multiqueue.c: (setup_multiqueue),
867 (mq_sinkpad_to_srcpad):
868 * tests/check/elements/tee.c: (GST_START_TEST):
869 * tests/check/generic/sinks.c: (GST_START_TEST):
870 * tests/check/gst/gstbin.c: (GST_START_TEST):
871 * tests/check/gst/gstevent.c: (GST_START_TEST):
872 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
873 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
874 * tests/check/gst/gstquery.c: (GST_START_TEST):
875 * tests/check/gst/gstutils.c: (GST_START_TEST):
876 * tests/check/libs/basesrc.c: (GST_START_TEST):
877 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
878 (gst_parse_test_element_change_state):
879 Don't use gst_element_get_pad().
881 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
884 Fix installing plugin documentation when gtk-doc is disabled.
886 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
888 * docs/manual/advanced-autoplugging.xml:
889 * docs/manual/basics-helloworld.xml:
890 * docs/manual/basics-pads.xml:
891 * docs/manual/highlevel-components.xml:
892 Avoid using a bad function in the example code.
894 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
896 * gst/gstclock.c: (gst_clock_set_calibration):
897 Fix debug of the new clock rate.
899 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
901 * win32/common/libgstbase.def:
902 Add gst_base_sink_wait_clock() to the exported symbols.
904 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
906 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
908 * libs/gst/base/gstbasetransform.c:
909 (gst_base_transform_sink_event):
910 Unref events that the GstBaseTransform::event vfunc didn't want to
911 have forwarded by the base class. Closes a leak in identity.
914 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
916 * docs/libs/gstreamer-libs-sections.txt:
917 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
918 * libs/gst/base/gstbasesink.h:
919 Expose a method that was previously used internally to synchronize
920 against the clock because it can be useful for subclasses too.
921 API: GstBaseSink::gst_base_sink_wait_clock()
923 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
925 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
926 Add sanity check to make sure we don't get smaller buffers
927 than requested (and fallback to normal buffer alloc if we do).
929 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
931 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
932 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
933 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
934 Refactor adjusting the running_time with latency and offset into a
936 When doing clipping, we still want to use the subclass get_times method,
937 just in case the DURATION or TIMESTAMP are not set.
939 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
941 * docs/gst/gstreamer-sections.txt:
942 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
944 * win32/common/libgstreamer.def:
945 API: add gst_type_find_suggest_simple(), #533740.
947 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
949 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
950 Use right error code when typefinding fails, so we can use
951 the default (translated) error messages.
953 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
955 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
956 (gst_base_src_start):
957 When the subclass did not set caps on outgoing buffers, configure the
958 caps we negotiated on the source pad.
959 When the typefind helper does not find caps, error out properly instead
960 of doing things with NULL caps.
962 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
965 Tabs to spaces, oh yes!
967 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
969 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
970 Add David's and Benjamin's tests for array intersection to the
971 unit test suite (#147931).
973 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
976 Document that gst_event_new_tag() and gst_event_new_navigation()
977 take ownership of the taglist/structure passed to them. (#533635).
979 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
982 Don't descend into the plugins dir if plugin docs building
986 Add a note about the new type:GTypeName syntax for the plugin
987 documentation .types file.
989 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
991 * gst/gstmessage.c: (gst_message_new_error),
992 (gst_message_new_warning), (gst_message_new_info):
994 Mark the debug string parameters as const. Fixes bug #533490.
996 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
998 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
999 Sort buffer cache list by end offsets. This makes sure that we don't
1000 stop to search for a cached buffer that contains the requested data
1002 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1003 more efficient. Fixes bug #459862.
1005 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1008 Explain why we copy the list.
1010 * gst/gstpipeline.c:
1014 Add one debug-log statement to help tracing probelms with linking pads.
1016 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1018 * tests/check/gst/gstinfo.c:
1019 Add a test for removing the default log handler. Seems to fail under
1022 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1024 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1025 Release pad lock before calling out to avoid a possible deadlock.
1027 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1029 * gst/parse/grammar.y:
1030 Remove unneeded value unset.
1032 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1033 Add unit test for de/serialization of caps.
1035 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1037 * plugins/elements/gstfakesink.c:
1038 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1039 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1040 (gst_fake_src_class_init):
1041 Use custom marshalers that take GstMiniObject as first parameter.
1042 Using OBJECT as parameter while a GstMiniObject is given will lead
1043 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1045 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1047 * plugins/elements/gsttypefindelement.c:
1048 (gst_type_find_element_handle_event),
1049 (gst_type_find_element_send_cached_events),
1050 (gst_type_find_element_change_state):
1051 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1054 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1056 * plugins/elements/gsttypefindelement.c:
1057 (gst_type_find_handle_src_query), (stop_typefinding),
1058 (gst_type_find_element_handle_event),
1059 (gst_type_find_element_send_cached_events),
1060 (gst_type_find_element_change_state):
1061 Forward FLUSH_START events immediately and clean up instead of
1064 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1066 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1068 * libs/gst/base/gstbasetransform.c:
1069 (gst_base_transform_buffer_alloc):
1070 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1071 fall back to default negotiation in the chain function if the caps
1072 are different from what was requested. Fixes bug #526768.
1074 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1077 * tests/check/gst/gstsegment.c:
1078 No, let's not use g_slice_{dup|copy} here, since they only exist
1079 since GLib 2.14 and we still depend only on >= 2.12. Also add
1080 unit test for gst_segment_copy().
1082 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1084 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1085 Try to fix 'dereferencing type-punned pointer will break strict
1086 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1087 changed the default GType typedef from gulong to gsize at some point,
1088 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1089 g_once_* functions all take a gsize * though, so work around the type
1090 mismatch for C++ by doing everything in gsize and casting to GType
1093 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1095 * plugins/elements/gstmultiqueue.c:
1096 Add documentation for the signals to push our core plugin docs
1097 coverage back up to 100%.
1099 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1101 * gst/gstinfo.h (GST_FUNCTION):
1102 Reverted GST_FUNCTION to the old version as we don't want the
1103 full signature in C++ code. Also added support for MSVC.
1105 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1108 Intern the type name string, similar to what G_DEFINE_TYPE does.
1110 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1113 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1115 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1117 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1119 * libs/gst/base/gstbasetransform.c:
1120 (gst_base_transform_buffer_alloc):
1121 Don't passthrough buffer allocation too easily if the caps change.
1122 This breaks when working in passthrough mode and upstream changes
1123 it's caps. Fixes bug #526768.
1125 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1127 * gst/gstinfo.c (gst_debug_log_valist):
1128 Improved the __FILE__ part of debug output for MSVC.
1130 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1132 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1133 Declaration after statement fix for compilers like MSVC.
1135 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1137 * win32/common/config.h.in:
1138 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1139 use the real thing than having "???" unconditionally.
1141 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1143 * gst/gstinfo.h (GST_FUNCTION):
1144 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1146 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1148 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1151 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1152 (gst_base_sink_set_flushing):
1153 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1156 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1158 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1159 (gst_fake_src_init), (gst_fake_src_set_property),
1160 (gst_fake_src_get_property), (gst_fake_src_start):
1161 * plugins/elements/gstfakesrc.h:
1162 Added format property to control the format of the newsegment events.
1163 API: GstFakeSrc:format
1165 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1167 * win32/common/libgstreamer.def:
1168 Add gst_pad_has_name() to the exported symbols.
1170 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1172 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1173 * libs/gst/base/gstbasetransform.c:
1174 (gst_base_transform_prepare_output_buffer):
1175 Don't allow negative sizes when allocating new buffers.
1178 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1180 Patch by: Sjoerd Simons <sjoerd at luon net>
1182 * gst/gstbus.c: (gst_bus_source_dispatch):
1183 Don't print a warning if the queue is empty when we try to pop
1184 here. That could happen if another thread or callback set the
1185 bus to flushing between the source's check/prepare and the
1186 dispatch being called (#531538).
1188 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1190 * plugins/elements/gstmultiqueue.c:
1193 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1195 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1196 Add unit test for deserializing uint64s and check some really large
1197 numbers in the int64 test.
1199 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1201 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1202 (print_interfaces), (print_element_properties_info),
1203 (print_signal_info):
1204 Use "%s" as format string instead of printing strings directly.
1206 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1208 * gst/gstclock.c: (gst_clock_set_calibration):
1209 Make some checks actually useful.
1211 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1212 Remove some unused code. Unsigned integers tend to be >= 0.
1214 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1216 * gst/gstminiobject.c: (gst_value_get_mini_object):
1217 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1218 function was not in the unscheduled 0.10.19 release.
1220 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1222 * gst/gstregistry.c: (gst_registry_scan_path_level):
1223 Only print one log message per non-plugin file.
1225 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1227 * gst/gstinfo.c: (gst_debug_log_default):
1228 Fix alignment of debug log columns on 64-bit.
1230 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1232 * docs/libs/Makefile.am:
1233 * docs/libs/gstreamer-libs-sections.txt:
1234 Ignore private controller headers for docs.
1236 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1238 * libs/gst/controller/gstcontrollerprivate.h:
1239 * libs/gst/controller/gsthelper.c:
1240 * libs/gst/controller/gstinterpolation.c:
1241 * libs/gst/controller/gstinterpolationcontrolsource.c:
1242 (gst_interpolation_control_source_set_interpolation_mode):
1243 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1244 * libs/gst/controller/lib.c:
1245 Move some private declarations into private headers.
1247 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1249 * gst/gstdebugutils.c: (debug_dump_element_pad):
1250 Remove some code that is unused after Stefan's refactoring and uses
1251 uninitialized variables now, resulting in a compiler warning.
1253 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1255 * gst/gstregistry.c: (gst_registry_scan_path_level):
1256 Run g_str_has_suffix() only on the file name, not the
1259 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1261 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1262 Since we're not called only from the chain function any longer,
1263 we can't assume that there's always data in the queue, so move
1264 the is_full check to the beginning of the loop (otherwise we'd
1265 hit the assert when changing the limit properties while the
1266 queue is empty or not running yet).
1267 Also, only set a discont if items were actually removed from
1270 * tests/check/elements/queue.c: (test_leaky_downstream):
1271 Test case for the above.
1273 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1275 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1277 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1278 (gst_queue_chain), (queue_capacity_change),
1279 (gst_queue_set_property):
1280 When changing thr max capacity of a leaky queue, immediatly drop buffers
1281 instead of waiting for a push on the sinkpad. Fixes #530637.
1283 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1285 * gst/gstdebugutils.c:
1286 Refactor code and fix handling of ghostpads and their proxypads.
1288 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1290 * docs/gst/gstreamer-sections.txt:
1291 * gst/gstevent.c: (gst_event_has_name):
1293 * tests/check/gst/gstevent.c: (GST_START_TEST):
1294 Add method to conveniently check the name of a custom event with
1295 gst_event_has_name().
1296 Reformat the event docs so that related methods are put together instead
1297 of the default alphabetical sort.
1298 Update unit test with new method.
1299 API: GstEvent::gst_event_has_name()
1301 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1303 * libs/gst/check/Makefile.am:
1304 Don't add an explicit link to libgstreamer-0.10.la; it's already
1305 included in GST_OBJ_LIBS.
1307 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1310 Register GstClock type from a type-safe context. Fixes bug #530317.
1312 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1314 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1316 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1318 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1320 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1322 Use the GLib stuff to create a private structure.
1323 Add some locking around some dispose methods to make them a little
1324 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1326 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1328 * libs/gst/base/gstbasesink.h:
1329 * libs/gst/base/gstbasesrc.h:
1330 * libs/gst/base/gstbasetransform.h:
1331 * libs/gst/base/gstcollectpads.h:
1332 Fix doc typos and unify caps a bit.
1334 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1336 * tools/gst-launch.1.in:
1337 Forgot to also add the envvar docs here.
1339 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1341 * gst/gst.c: (init_post), (gst_deinit):
1342 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1343 (test_concurrent_create), (gst_pipeline_suite):
1344 Ref some more classes in gst_init() to work around thread-safety
1345 issues in pre-2.16 GLibs, and add basic unit test.
1347 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1349 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1350 (gst_base_sink_send_event):
1351 Rearrange the latency query code. We always want to do the upstream
1352 query, even if we are not live so that the upstream elements can get the
1353 latency results too. If we fail doing the query and we are live, we
1354 return TRUE afterwards.
1356 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1358 patch by: Jason Zhao <e3423c@motorola.com>
1360 * docs/gst/running.xml:
1362 Enable/disable scan_and_update_registry() based on commandline switch
1363 or environment variable. Fixes #520468.
1366 Fix typo in my previous commit.
1368 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1370 * gst/gstregistrybinary.c:
1371 Add a warning if we hit unhandled factories when saving.
1372 More debug logging detail, but move to LOG category.
1374 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1376 * gst/gstregistry.c:
1377 Tell the *truth* when improving the documentation.
1379 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1381 * gst/gstelementfactory.c: (gst_element_factory_make):
1382 Unref the factory after it was used the last time, not before.
1384 * gst/gstindexfactory.c: (gst_index_factory_make):
1385 Improve debugging a bit and don't leak a ref to the index factory with
1388 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1390 * gst/gstregistry.c:
1391 Improve the documentation.
1393 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1396 The glib macro seems to be borked. Use g_slice_copy directly and cast
1397 in the hope that this fixes the warning on 64bit.
1399 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1402 Document the new function. Use g_slice_dup() (no need for
1403 gst_segment_init()).
1405 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1407 * docs/gst/gstreamer-sections.txt:
1408 Move GParamSepc macros to standart section.
1411 Dn't document _get_type - its in private section in docs anyway and
1412 this doc-blob was incomplete.
1415 Fix wrong symbol names in docs.
1418 Add once doc sentence.
1420 * tests/check/gst/.cvsignore:
1423 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1425 * docs/gst/Makefile.am:
1426 And remove those libs here.
1428 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1430 * docs/libs/Makefile.am:
1431 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1433 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1435 Patch by: Olivier Crete <tester at tester dot ca>
1437 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1438 Add the min-threshold to the min latency if possible. Fixes #529148.
1440 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1442 * docs/gst/gstreamer.types.in:
1443 Stupid editor, I removed that line as it should go in yet.
1445 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1447 * docs/gst/gstreamer.types.in:
1448 * docs/libs/gstreamer-libs.types:
1449 Remove library types fro core docs and have them in libs docs.
1450 Reformat and cleanup. Add comment for miniobject types.
1452 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1454 * gst/gsturi.c: (gst_uri_get_protocol):
1455 Fix leak: g_strdown operates on the string in place, while
1456 g_ascii_strdown() returns a newly-allocated string.
1458 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1460 * tools/gst-inspect.c: (print_uri_handler_info),
1461 (print_element_info):
1462 Print the URI protocols and the URI type supported by the element.
1464 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1466 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1467 Use g_value_take_string() instead of the deprecated
1468 g_value_set_string_take_ownership().
1470 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1472 * gst/gstregistrybinary.c: (_gst_crc32):
1473 Return the old CRC instead of 0 if we give a NULL buffer
1474 or a buffer with a length of 0.
1476 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1478 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1479 (gst_uri_get_protocol), (gst_uri_has_protocol),
1480 (gst_uri_construct), (gst_uri_handler_set_uri):
1481 A valid URI scheme can also include '+', '-' and '.' additional
1482 to alphanumeric characters as per RFC 3986 Section 3.1.
1484 Handle URI schemes case insensitive in all places and convert
1485 to lower-case when constructing an URI or setting an URI with
1486 the GstURIHandler interface. Fixes bug #528868.
1487 All elements can still assume (as before) that they will
1488 get passed URIs with a lower-case URI scheme by the GstURIHandler
1491 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1493 * gst/gstcaps.c: (gst_static_caps_get):
1494 * gst/gstclock.c: (gst_clock_entry_new):
1495 Don't use g_atomic_set_int where it's not needed.
1497 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1499 * gst/gstvalue.c: (gst_value_deserialize_caps):
1500 * gst/parse/grammar.y:
1503 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1505 * gst/gstutils.c: (gst_atomic_int_set):
1506 Use g_atomic_int_set() here too instead of assignment +
1509 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1513 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1514 now that we depend on new enough GLib.
1516 * gst/gstcaps.c: (gst_static_caps_get):
1517 * gst/gstclock.c: (gst_clock_entry_new):
1518 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1519 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1520 (gst_debug_category_set_threshold):
1521 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1522 (gst_base_sink_set_qos_enabled):
1523 * libs/gst/net/gstnettimeprovider.c:
1524 (gst_net_time_provider_set_property):
1525 Use g_atomic_int_set() instead of gst_atomic_int_set().
1527 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1530 Also use G_GINT64_CONSTANT for the queries.
1532 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1535 Use G_GINT64_CONSTANT in varargs function.
1537 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1539 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1540 Initialize the registry magic with zeroes.
1542 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1544 * gst/gstregistrybinary.c: (_gst_crc32),
1545 (gst_registry_binary_write),
1546 (gst_registry_binary_initialize_magic),
1547 (gst_registry_binary_write_cache),
1548 (gst_registry_binary_check_magic),
1549 (gst_registry_binary_read_cache):
1550 * gst/gstregistrybinary.h:
1551 Add crc32 checksum to the binary registry file and check this before
1552 accepting a registry file.
1554 Also free the data list when writing to the registry file fails.
1556 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1558 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1559 (gst_registry_binary_load_feature),
1560 (gst_registry_binary_load_plugin):
1561 If an element supports the Uri interface, returns a valid pointer
1562 to the supported URI protocols but this pointer contains nothing
1563 don't try to save that as it will corrupt the registry.
1565 Don't unref the plugin if we added it to the registry already but
1566 fail to load a feature as gst_registry_add_plugin() takes ownership
1569 Improve debugging a bit.
1571 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1574 Clarify some tag item docs after discussion on irc.
1576 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1578 * docs/gst/gstreamer-docs.sgml:
1579 Remove commented out plugins (they have their own docs). Update
1582 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1584 * docs/gst/gstreamer-docs.sgml:
1585 * docs/gst/gstreamer-sections.txt:
1586 * gst/gstparamspecs.c:
1587 * gst/gstparamspecs.h:
1588 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1589 docs to own section.
1592 This now only documents GValue.
1594 * docs/libs/gstreamer-libs-sections.txt:
1595 * libs/gst/controller/gstcontroller.h:
1596 Remove GST_PARAM_CONTROLLABLE.
1598 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1601 Correct file path. Tell about how to use -overrides.txt.
1602 * docs/design/draft-tagreading.txt:
1603 Small design update.
1605 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1607 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1608 (gst_registry_binary_load_plugin):
1609 Fix a typo in a debug message and revert change from yesterday as
1610 gst_registry_add_plugin() will only fail if something is really wrong
1611 already and we can't survive it anyway.
1613 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1615 * gst/gst.c: (init_post), (gst_deinit):
1616 Pre-register GstGError GType from a thread-safe context
1617 (fixes #527967); unref enum type classes in deinit.
1619 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1621 Patch by: Rene Stadler <mail at renestadler de>
1623 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1624 Merging an empty list with another list in KEEP_ALL mode should
1625 yield an empty list as result and not the second list (#512578).
1627 * tests/check/gst/gsttagsetter.c:
1628 Add unit test for tag merge modes and the aforementioned bug.
1630 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1632 Patch by: Rene Stadler <mail at renestadler de>
1635 Fix description to match the order in the table (#512577).
1637 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1639 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1641 * libs/gst/net/gstnettimepacket.h:
1642 * docs/libs/gstreamer-libs-sections.txt:
1643 Define socklen_t as int if it's not defined yet. Fixes compilation
1644 with MSVC6 and other versions where socklen_t is not defined in
1645 the windows headers (#518022).
1647 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1649 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1650 If gst_registry_add_plugin() fails our reference to the plugin is
1651 invalid so don't try to use it anymore and instead error out.
1653 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1655 * tools/gst-xmlinspect.c: (print_element_info), (main):
1656 De-cruft a bit. If no argument is specified, print all elements in
1657 XML syntax rather than a freestyle list of elements like gst-inspect.
1658 Also, don't print XML header chunk unless we actually have something
1659 to print (ie. don't print it before an error message); print error
1660 message to stderr not stdout. Remove support for printing plugin
1661 info (it would just output something freestyle along the lines of
1662 gst-inspect so far), which fixes #514507. Also add license header.
1664 2008-04-11 Julien Moutte <julien@fluendo.com>
1667 * configure.ac: Merge platform specific defines, introduce a new
1668 define on OS X to remember that forking when updating registry is
1670 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1672 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1674 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1675 condition that leads to absolutely no plugins being registered on
1678 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1680 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1682 * gst/gstutils.c: (gst_pad_add_data_probe),
1683 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1684 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1685 (gst_pad_add_buffer_probe_full):
1687 * docs/gst/gstreamer-sections.txt:
1688 * win32/common/libgstreamer.def:
1689 Add gst_pad_add_*_probe_full() functions with a notify callback that
1690 lets the caller free the data it passes to the probe functions. This
1691 is useful for bindings such as gst-python or gstreamermm (#526814).
1692 API: gst_pad_add_data_probe_full
1693 API: gst_pad_add_buffer_probe_full
1694 API: gst_pad_add_event_probe_full
1696 * tests/check/gst/gstutils.c:
1697 Add minimal unit test to make sure freeing the data actually works
1700 * tests/benchmarks/.cvsignore:
1701 Random cvsignore addendum.
1703 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1705 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1706 (GST_DEBUG_BIN_TO_DOT_FILE):
1707 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1708 to it in the docs (since these are macros the types of the arguments
1709 won't be shown in the docs otherwise).
1711 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1714 Do not abort on out of memory for pad_alloc_buffer.
1716 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1718 * libs/gst/check/gstcheck.c:
1719 Remove blank line between symbol name ad parameters to fix gtkdoc
1722 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1724 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1726 * docs/gst/gstreamer-sections.txt:
1729 * win32/common/libgstreamer.def:
1730 Expose gst_segment_copy() to make things easier for the c++ bindings.
1732 API: gst_segment_copy()
1734 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1736 * gst/gst.c: (gst_init_get_option_group), (init_post):
1737 Fix const position; ref GType classes for enum types to work
1738 around thread-safety issues in GLib versions < 2.16.
1740 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1742 * docs/design/part-buffering.txt:
1743 Fix some typos and set the estimated total for push mode to -1.
1745 * gst/gstquery.c: (gst_query_new_buffering):
1746 Set buffering-left to 0 as we're not buffering by default.
1748 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1749 Implement BUFFERING query.
1751 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1753 Based on patch by: Milosz Derezynski <internalerror gmail com>
1755 * gst/gsterror.c: (_gst_stream_errors_init):
1757 Add two new error codes for encrypted content. Fixes #524659.
1758 API: GST_STREAM_ERROR_DECRYPT
1759 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1761 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1766 * win32/common/libgstreamer.def:
1769 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1771 * plugins/elements/gstidentity.c: (gst_identity_event),
1772 (gst_identity_start):
1773 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1774 event after processing some data. Fixes bug #526042.
1776 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1778 * docs/gst/gstreamer-sections.txt:
1779 * gst/gstquery.c: (gst_query_parse_latency),
1780 (gst_query_set_buffering_percent),
1781 (gst_query_parse_buffering_percent),
1782 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1784 Rename _avail -> _range
1785 API: gst_query_set_buffering_range
1786 API: gst_query_parse_buffering_range
1788 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1790 * docs/design/part-buffering.txt:
1793 * gst/gstquery.c: (gst_query_parse_latency),
1794 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1795 (gst_query_parse_buffering_percent):
1797 Add busy field and quark for the buffering query so that the app can
1798 only use the query to see if buffering is in progress.
1800 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1802 * docs/gst/gstreamer-sections.txt:
1803 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1804 (gst_message_parse_buffering_stats):
1806 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1807 (gst_query_parse_latency), (gst_query_new_buffering),
1808 (gst_query_set_buffering_percent),
1809 (gst_query_parse_buffering_percent),
1810 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1811 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1813 Reorder the message docs and headers for clarity.
1814 Add aditional buffering stats API for messages.
1815 Add buffering query.
1816 Convert some leftover queries to use GstQuark.
1817 API: gst_message_set_buffering_stats
1818 API: gst_message_parse_buffering_stats
1819 API: GST_QUERY_BUFFERING
1820 API: GstBufferingMode
1821 API: gst_query_new_buffering
1822 API: gst_query_set_buffering_percent
1823 API: gst_query_parse_buffering_percent
1824 API: gst_query_set_buffering_stats
1825 API: gst_query_parse_buffering_stats
1827 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1829 * gst/gstmessage.c: (gst_message_new_error),
1830 (gst_message_new_warning), (gst_message_new_info),
1831 (gst_message_new_buffering), (gst_message_new_state_changed),
1832 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1833 (gst_message_new_new_clock), (gst_message_new_segment_start),
1834 (gst_message_new_segment_done), (gst_message_new_duration),
1835 (gst_message_new_async_start), (gst_message_parse_buffering),
1836 (gst_message_parse_state_changed),
1837 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1838 (gst_message_parse_new_clock), (gst_message_parse_error),
1839 (gst_message_parse_warning), (gst_message_parse_info),
1840 (gst_message_parse_segment_start),
1841 (gst_message_parse_segment_done), (gst_message_parse_duration),
1842 (gst_message_parse_async_start):
1843 Use GstQuark for messages.
1845 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1847 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1849 Add some more quarks needed for messages and queries.
1851 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1853 * docs/design/part-buffering.txt:
1854 Remove the "none" buffering mode, STREAM is a good default.
1855 Move estimated-time to the avail query, that's when it will be needed.
1856 Other small typo fixes and updates.
1858 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1860 * gst/gstindex.c: (gst_index_resolver_get_type):
1861 Don't put descriptions into the nick field of a GEnumValue: it's not
1862 meant for that and some language bindings rely on the nick field to
1863 construct constants and the like. Fixes #526705.
1865 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1870 Merge other changes from 0.10.19 release branch.
1872 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1874 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1877 Actually build dlls when cross-compiling with mingw32.
1880 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1882 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1885 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1887 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1889 * docs/design/draft-latency.txt:
1892 * docs/design/part-buffering.txt:
1893 Update design docs with more buffering ideas.
1895 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1898 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1900 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1903 Revert part that belongs to the preset patch.
1905 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1908 Add qoutes to the define. Fixes # 525961.
1910 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1912 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1913 (gst_file_index_load), (gst_file_index_add_id),
1914 (gst_file_index_get_assoc_entry):
1915 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1916 (gst_mem_index_free_id), (gst_mem_index_add_id),
1917 (gst_mem_index_index_format):
1918 Use GSlice when possible.
1920 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1922 * libs/gst/controller/gstinterpolationcontrolsource.c:
1923 (gst_control_point_free),
1924 (gst_interpolation_control_source_set_internal):
1925 Use GSlice for allocating the control points.
1927 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1929 * plugins/elements/gsttypefindelement.c:
1930 (gst_type_find_element_class_init),
1931 (gst_type_find_element_set_property),
1932 (gst_type_find_element_get_property),
1933 (gst_type_find_element_activate):
1934 * plugins/elements/gsttypefindelement.h:
1936 Fix pad leak when peer query fails.
1937 We can still typefind when the peer returns -1.
1938 Add property to force caps and bypass typefinding. This will be used in
1942 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1947 * gst/glib-compat-private.h:
1948 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1949 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1950 Unconditionally use GSlice for allocation.
1952 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1953 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1954 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1955 (gst_structure_free):
1956 Use GSlice for allocation.
1958 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1960 * gst/parse/Makefile.am:
1961 * gst/parse/grammar.tab.pre.c:
1962 * gst/parse/grammar.tab.pre.h:
1963 * gst/parse/lex._gst_parse_yy.pre.c:
1964 Require a new enough flex and bison and remove the parser hacks to use
1965 a pre-regenerated version.
1967 2008-04-01 Julien Moutte <julien@fluendo.com>
1969 patch by: Jason Zhao <E3423C@motorola.com>
1971 * configure.ac: Add a configure switch to disable option parsing
1975 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1978 * gst/gstregistry.c:
1979 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1980 and handle this case.
1983 Add a comment here describing, why we stat each plugin and not try to
1986 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1988 * libs/gst/base/gstbasetransform.c:
1989 (gst_base_transform_prepare_output_buffer):
1990 Also unset the GAP flag on buffers if we're working inplace but
1991 the element is not GAP-aware.
1993 Mark a comment as FIXME 0.11.
1995 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1998 Fix type in log message and add one to ease seeing how long registry
1999 cache verification takes.
2001 * gst/gstregistry.c:
2002 Only test plugin filenames against G_MODULE_SUFFIX.
2004 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2006 * gst/gstdebugutils.c:
2007 Improve handling ghost/proxy pads.
2009 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2011 * docs/gst/gstreamer-sections.txt:
2014 Expose macro to docs and fix link to it.
2016 2008-03-27 Michael Smith <msmith@fluendo.com>
2018 * libs/gst/dataprotocol/dataprotocol.c:
2019 (gst_dp_packet_from_event_1_0):
2020 When calculating GDP body CRC, use the correct pointer.
2021 Fixes part of #522401.
2023 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2025 Patch by: Mark Nauwelaerts <manauw at skynet be>
2027 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2028 (gst_identity_init), (gst_identity_prepare_output_buffer):
2029 Identity is not always a passthrough element, it can modify the buffer
2030 timestamps when it has a datarate and operates in single-segment mode.
2031 We therefore make it an in_place filter with a custom buffer prepare
2032 function that conditionally makes the input buffer metadata writable
2033 when needed. Fixes #523985.
2035 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2037 Patch by: Mark Nauwelaerts <manauw at skynet be>
2040 * libs/gst/base/gstbasesrc.h:
2041 * libs/gst/base/gstbasetransform.c:
2042 * libs/gst/check/gstcheck.c:
2043 Small documentation fixes. Fixes #523978.
2045 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2047 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2048 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2049 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2051 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2053 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2054 (single_queue_underrun_cb):
2055 When trying to make room in the queue, bump the max allowed buffers
2056 bigger than the current amount of buffers in the queue. this fixes some
2057 nasty deadlocks in multiqueue when dynamically changing the limits of
2060 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2062 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2064 * gst/gstcaps.c: (gst_caps_set_simple),
2065 (gst_caps_set_simple_valist), (gst_caps_intersect):
2067 Constify the field gchar * params in set_simple and friends.
2070 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2072 * gst/gstvalue.c: (gst_value_transform_object_string):
2073 Transform a GstObject to a more meaningfull string that includes the
2074 object type in addition to its name.
2076 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2079 ChangeLog surgery to add bugnumber to commit.
2081 2008-03-23 Rene Stadler <mail@renestadler.de>
2083 * libs/gst/base/gstbasetransform.c:
2084 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2086 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2088 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2089 Rename constant everywhere and don't forget one occurence.
2091 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2093 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2094 Align memory to the pointer size even if the architecture allows
2095 unaligned memory access. Unaligned memory access usually comes with
2096 performance penality.
2098 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2100 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2101 (gst_registry_binary_check_magic),
2102 (gst_registry_binary_load_pad_template),
2103 (gst_registry_binary_load_feature),
2104 (gst_registry_binary_load_plugin):
2105 Align memory to the pointer size instead of always 32 bit. Fixes
2106 unaligned memory accesses on ia64 and friends.
2108 * gst/gstregistrybinary.h:
2109 Bump binary registry format version for this as it changes the
2110 format on those architectures that don't have unaligned access
2111 and 64 bit pointers.
2113 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2115 * docs/pwg/advanced-dparams.xml:
2116 * docs/pwg/building-props.xml:
2117 * docs/pwg/other-source.xml:
2118 * gst/glib-compat.h:
2119 * gst/gstbin.c: (gst_bin_class_init):
2120 * gst/gstclock.c: (gst_clock_class_init):
2121 * gst/gstindex.c: (gst_index_class_init):
2122 * gst/gstobject.c: (gst_object_class_init):
2123 * gst/gstpad.c: (gst_pad_class_init):
2124 * gst/gstpipeline.c: (gst_pipeline_class_init):
2125 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2126 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2127 * libs/gst/base/gstbasetransform.c:
2128 (gst_base_transform_class_init):
2129 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2130 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2131 (_gst_check_fault_handler_sighandler),
2132 (_gst_check_fault_handler_setup), (gst_check_init):
2133 * libs/gst/controller/gstcontroller.c:
2134 (_gst_controller_class_init):
2135 * libs/gst/controller/gstlfocontrolsource.c:
2136 (gst_lfo_control_source_class_init):
2137 * libs/gst/net/gstnetclientclock.c:
2138 (gst_net_client_clock_class_init):
2139 * libs/gst/net/gstnettimeprovider.c:
2140 (gst_net_time_provider_class_init):
2141 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2142 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2143 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2144 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2145 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2146 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2147 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2148 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2149 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2150 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2151 * plugins/elements/gsttee.c: (gst_tee_class_init):
2152 * plugins/elements/gsttypefindelement.c:
2153 (gst_type_find_element_class_init):
2154 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2155 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2156 use it everywhere for GParamSpecs that use static strings (i.e. all).
2157 This gives us less memory usage, fewer allocations and thus less
2158 memory defragmentation. Fixes bug #523806.
2160 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2162 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2163 (gst_param_spec_mini_object):
2164 * gst/gstminiobject.h:
2165 * win32/common/libgstreamer.def:
2166 * docs/gst/gstreamer-sections.txt:
2167 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2168 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2169 GstParamSpecMiniObject into a public header for this.
2171 This make GstMiniObject a bit more consistent with GObject and makes
2172 it possible to extend the param specs.
2174 gst_value_dup_mini_object is mainly useful for set_property methods.
2178 * tools/gst-inspect.c: (print_element_properties_info):
2179 Print something useful for GstMiniObject properties and not just
2182 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2184 * docs/gst/gstreamer-sections.txt:
2185 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2186 (gst_registry_binary_check_magic):
2187 * gst/gstregistrybinary.h:
2188 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2189 and add it to the (private part) of the docs to fix the build.
2191 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2193 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2194 (gst_registry_binary_check_magic),
2195 (gst_registry_binary_read_cache):
2196 * gst/gstregistrybinary.h:
2197 Don't use GST_MAJORMINOR for the binary registry version. Instead
2198 hardcode a value that must be changed whenever the format changes
2199 in an incompatible way.
2200 Also don't GST_ERROR when there is a version mismatch, just
2201 regenerate the registry silently.
2203 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2206 Back to development - 0.10.18.1
2208 === release 0.10.18 ===
2210 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2213 releasing 0.10.18, "So far away"
2215 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2218 * win32/common/config.h:
2219 0.10.17.4 pre-release
2221 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2223 Patch by: Ole André Vadla Ravnås
2224 <ole dot andre dot ravnas at tandberg dot com>
2226 * docs/gst/gstreamer-sections.txt:
2227 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2228 (gst_poll_update_winsock_event_mask),
2229 (gst_poll_prepare_winsock_active_sets),
2230 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2231 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2232 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2233 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2234 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2236 * win32/common/libgstreamer.def:
2237 Add new function gst_poll_fd_ignored() for improved Windows
2239 Various minor fixes and cleanups. See #520808.
2241 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2243 * gst/gstindex.c: (gst_index_entry_free):
2245 Don't free key strings which we don't own. Fixes crash in
2246 gst_index_entry_free() (#522741).
2248 * tests/check/Makefile.am:
2249 * tests/check/gst/.cvsignore:
2250 * tests/check/gst/gstindex.c: (test_index_entries),
2251 (gst_index_suite), (gst_index):
2252 Add unit test for the above.
2254 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2256 * win32/common/libgstreamer.def:
2257 Remove symbols that were removed recently. Fixes bug #521740.
2259 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2262 * win32/common/config.h:
2263 0.10.17.3 pre-release
2265 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2267 Patch by: Ole André Vadla Ravnås
2268 <ole dot andre dot ravnas at tandberg dot com>
2270 * docs/gst/gstreamer-sections.txt:
2271 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2272 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2273 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2274 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2275 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2276 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2277 (gst_poll_fd_can_write), (gst_poll_wait),
2278 (gst_poll_set_controllable), (gst_poll_restart),
2279 (gst_poll_set_flushing):
2281 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2282 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2283 (gst_net_time_provider_new):
2284 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2285 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2286 * tests/benchmarks/gstpollstress.c: (main):
2287 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2288 Remove GstPollMode from the API, it does not make sense to let the
2289 application control this.
2290 Add support for Win32.
2291 Fix the testsuite. Fixes #520671.
2293 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2295 Patch by: Ole André Vadla Ravnås
2296 <ole dot andre dot ravnas at tandberg dot com>
2298 * gst/gstregistrybinary.c:
2299 Include io.h for write() and close() when building with MSVC. Fixes
2302 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2305 * gst/gst_private.h:
2306 * gst/gstconfig.h.in:
2307 * gst/gstregistry.h:
2308 * gst/gstregistrybinary.c:
2309 * win32/common/gstconfig.h:
2310 Move registry backend API to private headers where we can. Add
2311 fixme-0.11 comments for the others. Add stubs for the xml backend when
2312 using the binary to ensure they functions exists (they should not be
2313 used though). Fixes #520756.
2315 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2318 * win32/common/config.h:
2321 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2323 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2324 (gst_registry_binary_read_cache):
2325 * gst/gstregistryxml.c: (gst_registry_save):
2326 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2327 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2328 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2329 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2330 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2333 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2335 * gst/gstminiobject.c:
2336 Import gst_private.h before any other header that might include other
2337 glib headers. This fixes the build on windows using native compilers.
2339 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2341 * win32/common/gstconfig.h:
2342 Add here too, just for completeness.
2344 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2347 * gst/gstconfig.h.in:
2348 * gst/gstregistry.h:
2349 Fix broken use of config.h-defined preprocessor directive in a public
2350 header file. Add a corresponding define to gstconfig.h, since we can't
2351 really remove those function declarations from the header file now
2352 (or can we? and why are they there in the first place?).
2354 2008-03-03 Andy Wingo <wingo@pobox.com>
2356 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2359 * gst/gststructure.c (gst_structure_from_string): Warn if
2360 structure_from_string didn't consume the whole string, but the
2361 caller did not provide an end pointer.
2363 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2365 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2367 * gst/gstregistryxml.c: (read_string), (load_feature):
2368 Strings allocated by libxml2 should be freed with xmlFree(), not
2369 with g_free(). Fixes issues on windows in certain contexts (#519698).
2371 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2373 * gst/gstinterface.c: (gst_element_implements_interface):
2374 Don't crash if the element supports the interface queried, but does
2375 not implement GstImplementsInterface. Fixes #519584.
2377 * tests/check/Makefile.am:
2378 * tests/check/gst/.cvsignore:
2379 * tests/check/gst/gstinterface.c:
2380 Add unit test for the above.
2382 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2384 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2387 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2389 * gst/gstsegment.c: (gst_segment_set_seek),
2390 (gst_segment_to_stream_time):
2391 Improve some comment.
2392 Update variables where it makes more sense.
2394 2008-02-29 Rene Stadler <mail@renestadler.de>
2396 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2397 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2398 URIHandlers implemented using language bindings.
2400 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2402 * gst/gstelementfactory.h:
2403 * tests/check/elements/fakesink.c:
2404 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2405 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2406 * tests/check/elements/filesink.c: (setup_filesink):
2407 * tests/check/elements/filesrc.c: (setup_filesrc):
2408 * tests/check/elements/identity.c: (setup_identity):
2409 * tests/check/elements/tee.c:
2410 * tests/check/generic/sinks.c:
2411 * tests/check/generic/states.c: (setup), (teardown):
2412 * tests/check/gst/gst.c:
2413 * tests/check/gst/gstabi.c:
2414 * tests/check/gst/gstbin.c:
2415 * tests/check/gst/gstbus.c: (pull_messages):
2416 * tests/check/gst/gstcaps.c:
2417 * tests/check/gst/gstelement.c:
2418 * tests/check/gst/gstevent.c:
2419 * tests/check/gst/gstghostpad.c:
2420 * tests/check/gst/gstiterator.c:
2421 * tests/check/gst/gstmessage.c:
2422 * tests/check/gst/gstminiobject.c: (my_foo_init):
2423 * tests/check/gst/gstobject.c: (thread_name_object),
2425 * tests/check/gst/gstpad.c:
2426 * tests/check/gst/gstplugin.c:
2427 * tests/check/gst/gstpoll.c:
2428 * tests/check/gst/gstquery.c:
2429 * tests/check/gst/gstsegment.c:
2430 * tests/check/gst/gststructure.c:
2431 * tests/check/gst/gstsystemclock.c:
2432 * tests/check/gst/gsttask.c:
2433 * tests/check/gst/gstutils.c:
2434 * tests/check/gst/gstvalue.c:
2435 * tests/check/gst/struct_hppa.h:
2436 * tests/check/gst/struct_i386.h:
2437 * tests/check/gst/struct_ppc32.h:
2438 * tests/check/gst/struct_ppc64.h:
2439 * tests/check/gst/struct_x86_64.h:
2440 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2441 * tests/check/libs/basesrc.c:
2442 * tests/check/libs/controller.c: (GST_START_TEST):
2443 * tests/check/libs/gdp.c:
2444 * tests/check/libs/gstnetclientclock.c:
2445 * tests/check/libs/gstnettimeprovider.c:
2446 * tests/check/libs/libsabi.c:
2447 * tests/check/libs/struct_hppa.h:
2448 * tests/check/libs/struct_i386.h:
2449 * tests/check/libs/struct_ppc32.h:
2450 * tests/check/libs/struct_ppc64.h:
2451 * tests/check/libs/struct_x86_64.h:
2452 * tests/check/pipelines/cleanup.c:
2453 * tests/check/pipelines/simple-launch-lines.c:
2454 * tests/check/pipelines/stress.c:
2455 And correct even more valid sparse warnings.
2457 * win32/common/libgstreamer.def:
2458 Add gst_poll_fd_init to the list of symbols.
2460 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2462 * gst/gstconfig.h.in:
2463 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2464 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2465 (gst_check_log_critical_func), (gst_check_drop_buffers),
2466 (gst_check_element_push_buffer_list):
2467 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2468 (gst_controller_get_type):
2469 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2470 (gst_object_get_controller), (gst_object_get_control_source):
2471 * libs/gst/controller/gstinterpolationcontrolsource.c:
2472 (gst_interpolation_control_source_new):
2473 * libs/gst/controller/gstlfocontrolsource.c:
2474 (gst_lfo_control_source_new):
2475 * libs/gst/dataprotocol/dataprotocol.c:
2476 (gst_dp_event_from_packet_0_2):
2477 * plugins/elements/gstfdsrc.c:
2478 * plugins/elements/gstmultiqueue.c:
2479 * plugins/elements/gsttee.c:
2480 * plugins/elements/gsttypefindelement.c:
2481 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2482 (gst_file_index_add_association):
2483 * plugins/indexers/gstmemindex.c:
2484 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2485 * tests/check/elements/queue.c: (setup_queue):
2486 * tests/check/gst/gstpipeline.c:
2487 * tests/check/libs/collectpads.c: (setup), (teardown),
2488 (gst_collect_pads_suite):
2489 * tests/examples/adapter/adapter_test.c:
2490 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2491 * tests/examples/xml/createxml.c:
2492 * tests/examples/xml/runxml.c:
2493 * tools/gst-inspect.c:
2495 Correct all relevant warnings found by the sparse semantic code
2496 analyzer. This include marking several symbols static, using
2497 NULL instead of 0 for pointers, not using variable sized arrays
2498 on the stack, moving variable declarations to the beginning of
2499 a block and using "foo (void)" instead of "foo ()" for declarations.
2501 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2503 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2504 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2505 Don't reset GstPollFDs, this is not necessary at all.
2507 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2508 (delayed_restart), (delayed_control):
2509 Use GST_POLL_FD_INIT.
2511 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2513 * gst/gstpoll.c: (gst_poll_fd_init):
2517 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2518 Use some more init macros.
2520 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2522 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2523 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2524 Use init macros and functions.
2526 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2528 * docs/gst/gstreamer-sections.txt:
2529 * gst/gstpoll.c: (gst_poll_fd_init):
2531 Add INIT macro and _init method for initializing the GstPollFD.
2533 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2535 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2536 (gst_fd_sink_update_fd):
2537 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2538 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2539 (delayed_restart), (delayed_control):
2540 Initialize some uninitialized variables as spotted by valgrind.
2542 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2544 * tests/benchmarks/Makefile.am:
2545 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2547 Add poll stress test.
2549 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2551 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2553 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2554 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2555 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2556 * plugins/elements/gstfdsink.h:
2557 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2558 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2559 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2560 (gst_fd_src_uri_set_uri):
2561 * plugins/elements/gstfdsrc.h:
2562 Port to GstPoll. See #505417.
2564 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2566 * win32/common/libgstreamer.def:
2567 Add new gst_poll_ symbols to win32 defs.
2569 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2571 * docs/libs/gstreamer-libs-sections.txt:
2572 * libs/gst/net/gstnetclientclock.c:
2573 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2574 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2575 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2576 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2577 * libs/gst/net/gstnetclientclock.h:
2578 * libs/gst/net/gstnettimeprovider.c:
2579 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2580 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2581 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2582 (gst_net_time_provider_new):
2583 * libs/gst/net/gstnettimeprovider.h:
2584 Use a private stuct to not break ABI.
2586 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2588 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2590 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2591 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2592 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2593 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2594 * libs/gst/net/gstnetclientclock.h:
2595 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2596 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2597 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2598 (gst_net_time_provider_new):
2599 * libs/gst/net/gstnettimeprovider.h:
2600 Massive code removal and cleanups because of GstPoll.
2603 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2606 Add checks for poll, ppoll and pselect.
2608 * docs/gst/gstreamer-docs.sgml:
2609 * docs/gst/gstreamer-sections.txt:
2610 Add docs for GstPoll.
2614 * gst/gstpoll.c: (find_index), (selectable_fds),
2615 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2616 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2617 (gst_poll_set_mode), (gst_poll_get_mode),
2618 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2619 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2620 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2621 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2622 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2623 (gst_poll_fd_can_write), (gst_poll_wait),
2624 (gst_poll_set_controllable), (gst_poll_restart),
2625 (gst_poll_set_flushing):
2627 Add generic poll abstraction. We ideally don't want to have this in core
2628 here but in glib intead...
2629 This code will be used in various network elements and ultimately for
2630 the nanosecond precision monotonic clock (that's why it's here in core).
2631 It'll allow us to implement cancelable socket operations for windows too.
2633 * tests/check/Makefile.am:
2634 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2635 (delayed_stop), (delayed_restart), (delayed_flush),
2636 (delayed_control), (gst_poll_suite):
2637 Add GstPoll unit test.
2639 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2642 Improve documentation of gst_filter_run(). Fixes #518627.
2644 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2647 Add a few lines about the new 'check-inspected-versions' target.
2649 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2651 * tests/check/gst/gstevent.c:
2652 Add qos to the event test. Rename tcase/tsuite; is not only about
2655 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2657 * plugins/elements/gstqueue.c:
2658 Ensure that buffer metadata is writeable, before modifying. Spotted by
2661 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2663 * plugins/elements/gstqueue.c:
2664 * plugins/elements/gstqueue.h:
2665 When dropping buffers in leaky modes, mark next buffers we sent as
2668 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2670 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2671 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2673 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2675 * plugins/elements/Makefile.am:
2676 * plugins/elements/gstbufferstore.c:
2677 * plugins/elements/gstbufferstore.h:
2678 * plugins/elements/gsttypefindelement.h:
2679 Remove GstBufferStore, no idea why we were still building it.
2680 It's not used anywhere and superseded by GstAdapter.
2682 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2683 (gst_file_src_create_mmap):
2684 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2685 Printf format fixes for 64-bit integers.
2687 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2690 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2691 We're not in 0.8 times anymore.
2693 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2695 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2696 (gst_check_element_push_buffer_list):
2697 * libs/gst/check/gstcheck.h:
2698 Make the declaration in the header for
2699 gst_check_element_push_buffer_list match the implementation.
2701 Fix up spelling, grammar and wording of the documentation in a few
2702 places, and add the Since keyword to new API functions.
2703 Use g_list_delete_link instead of g_list_remove in
2704 gst_check_drop_buffers, since it's immeasurably more efficient.
2706 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2707 Use new gst_check_drop_buffers function where appropriate.
2709 * win32/common/libgstbase.def:
2710 * win32/common/libgstreamer.def:
2711 Add new symbols gst_collect_pads_take_buffer,
2712 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2715 Changelog surgery to add API keyword to new gst_check API.
2717 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2719 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2720 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2721 Update pre-generated flex files with flex 2.3.34.
2723 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2725 * gst/gstminiobject.c:
2726 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2727 friendly to subclasses and not require them to know all internals
2728 of their parent class.
2730 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2732 * docs/libs/gstreamer-libs-sections.txt:
2733 * libs/gst/base/gstcollectpads.c:
2734 * libs/gst/base/gstcollectpads.h:
2735 Add sub-buffer functions to collectpads. Fixes #516187.
2736 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2738 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2741 Copy selected buffer-flags when creating subbuffers.
2744 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2746 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2747 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2748 * gst/gstmessage.c: (gst_message_class_init),
2749 (gst_message_finalize):
2750 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2751 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2752 (gst_mmap_buffer_finalize):
2753 Properly chain up finalize functions to the parent class.
2755 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2757 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2759 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2760 (gst_index_set_resolver_full):
2762 Add new function with option to dispose of user_data in resolver.
2763 Actually call the dispose function when finalizing the object and not
2764 just when changing the resolver/filter.
2765 API: GstIndex::gst_index_set_resolver_full()
2767 * docs/gst/gstreamer-sections.txt:
2768 Add new function to docs. Fixes #515469.
2770 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2772 * gst/gstindex.c: (gst_index_finalize):
2773 Chain up finalize to the parent class. Fixes leaking the GstObject
2774 name and other things.
2776 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2779 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2780 pre-releases or releases.
2782 * docs/faq/gst-uninstalled:
2785 * docs/random/release:
2786 Change one of the steps - we only upload core & base to Gnome FTP
2788 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2790 * gst/gstconfig.h.in:
2791 Add 'id' for example.
2795 * plugins/elements/gstfdsink.c:
2796 Link to signals. Doc and comment fixes.
2798 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2800 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2801 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2802 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2803 unused and unimplemented; finally, it is plugin features, not
2804 plugins, that have ranks.
2806 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2808 * gst/gstpluginfeature.h:
2809 Clarify GstRank range docs.
2811 2008-02-05 David Schleef <ds@schleef.org>
2813 * gst/gst.c: Add a separate gst_deinitialized that prevents
2814 gst_init() from being called after gst_deinit(). Fixes #509559
2816 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2818 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2819 (gst_bin_class_init):
2820 * gst/gstelement.c: (gst_element_base_class_init),
2821 (gst_element_class_add_pad_template):
2822 * gst/gstpadtemplate.c: (gst_pad_template_init):
2823 * gst/gstpipeline.c: (gst_pipeline_get_type),
2824 (gst_pipeline_base_init), (gst_pipeline_class_init):
2825 * libs/gst/base/gstbasesink.c:
2826 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2827 (gst_base_src_base_init), (gst_base_src_class_init):
2828 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2829 (gst_capsfilter_class_init):
2830 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2831 (gst_fake_sink_class_init):
2832 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2833 (gst_fake_src_class_init):
2834 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2835 (gst_fd_sink_class_init):
2836 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2837 (gst_fd_src_class_init):
2838 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2839 (gst_file_sink_class_init):
2840 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2841 (gst_file_src_class_init):
2842 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2843 (gst_identity_class_init):
2844 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2845 (gst_multi_queue_class_init):
2846 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2847 (gst_queue_class_init):
2848 * plugins/elements/gsttee.c: (gst_tee_base_init),
2849 (gst_tee_class_init):
2850 * plugins/elements/gsttypefindelement.c:
2851 (gst_type_find_element_base_init),
2852 (gst_type_find_element_class_init):
2853 * tests/check/gst/gstelement.c: (gst_element_suite):
2854 Revert previous changes to the behaviour of GstPadTemplates, etc
2855 and the possiblity to call them in class_init as it breaks too
2856 many elements. Reopens bug #491501.
2858 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2861 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2863 * tools/gst-launch.c:
2864 Dump one graph per pipeline state-change and state change name
2865 (if GST_DEBUG_DUMP_DOT_DIR is set).
2867 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2870 * tests/check/gst/gstpad.c:
2871 Be sure that we have a new copy of the caps and not
2872 reffed caps from a template
2874 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2876 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2877 * gst/gstpipeline.c: (gst_pipeline_get_type),
2878 (gst_pipeline_class_init):
2879 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2880 (gst_base_sink_class_init):
2881 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2882 (gst_base_src_class_init):
2883 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2884 (gst_base_transform_class_init):
2885 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2886 (gst_collect_pads_class_init):
2887 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2888 * libs/gst/net/gstnettimeprovider.c:
2889 (gst_net_time_provider_base_init),
2890 (gst_net_time_provider_class_init):
2891 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2892 (gst_capsfilter_class_init):
2893 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2894 (gst_fake_sink_class_init):
2895 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2896 (gst_fake_src_class_init):
2897 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2898 (gst_fd_sink_class_init):
2899 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2900 (gst_fd_src_class_init):
2901 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2902 (gst_file_sink_class_init):
2903 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2904 (gst_file_src_class_init):
2905 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2906 (gst_identity_class_init):
2907 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2908 (gst_multi_queue_class_init):
2909 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2910 (gst_queue_class_init):
2911 * plugins/elements/gsttee.c: (gst_tee_base_init),
2912 (gst_tee_class_init):
2913 * plugins/elements/gsttypefindelement.c:
2914 (gst_type_find_element_base_init),
2915 (gst_type_find_element_class_init):
2916 Don't use base_init where not absolutely necessary. For example it's
2917 not necessary anymore for adding pad templates or setting element
2920 Leave empty base_init functions in several places as GST_BOILERPLATE
2921 still defines and uses them.
2923 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2925 * gst/gstelement.c: (gst_element_base_class_init),
2926 (gst_element_class_add_pad_template):
2927 * gst/gstpadtemplate.c:
2928 Make it possible (and recommended) to set element details and add
2929 pad templates in the class_init functions by copying the details/pad
2930 templates in GstElement's base_init.
2932 Also make it possible to replace existing pad templates by adding
2933 a new one with the same name. This was done in a hackish fashion
2934 in same elements before already.
2936 Don't reference pad templates that are added a second time. A
2937 new pad template has a refcount of one and is not floating anymore
2938 and to be owned by the element's class. Make this more explicit by
2939 mentioning it in the docs of gst_element_class_add_pad_template().
2941 These changes are backwards compatible. Fixes bug #491501.
2943 * tests/check/gst/gstelement.c:
2944 Add unit test for setting element details, adding pad templates and
2945 replacing them in a subclass.
2947 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2949 * tools/gst-inspect.c: (print_interfaces),
2950 (print_element_properties_info), (print_pad_info),
2951 (print_signal_info), (print_element_info):
2952 Fix a few memory leaks.
2954 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2956 * docs/libs/gstreamer-libs-sections.txt:
2957 * libs/gst/check/gstcheck.c:
2958 * libs/gst/check/gstcheck.h:
2959 Add more functions for unit testing: gst_check_drop_buffers,
2960 gst_check_caps_equal, gst_check_element_push_buffer_list,
2961 gst_check_element_push_buffer
2962 API: gst_check_drop_buffers
2963 API: gst_check_caps_equal
2964 API: gst_check_element_push_buffer_list
2965 API: gst_check_element_push_buffer
2967 2008-02-01 Julien Moutte <julien@fluendo.com>
2969 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2970 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2971 (gst_index_finalize), (gst_index_entry_free),
2972 (gst_index_add_association): Fix memory leaks.
2973 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2974 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2975 (gst_mem_index_free_format), (gst_mem_index_free_id),
2976 (gst_mem_index_finalize): Fix memory leaks.
2977 * win32/common/config.h: Updated to CVS HEAD.
2979 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2982 Some more details about how the plugin docs works.
2984 * docs/plugins/gstreamer-plugins-sections.txt:
2987 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2989 * gst/parse/grammar.tab.pre.c:
2990 * gst/parse/grammar.tab.pre.h:
2991 * gst/parse/grammar.y:
2992 * gst/parse/lex._gst_parse_yy.pre.c:
2993 Add delayed set-property. This allows to set properties on dynamicaly
2994 created objects (pads in videomxer). Fixes #509391.
2996 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2999 Check if caps are not NULL (fix bug #510194)
3001 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3003 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3004 (gst_base_sink_get_position_paused):
3005 Add fixme regarding EOS in pull mode.
3006 Fix position reporting in PAUSED for negative rates.
3008 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3010 * gst/gstminiobject.c: (gst_mini_object_replace):
3011 When replacing a miniobject, do a quick equality check first so that we
3012 can avoid a ref/unref pair.
3014 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3016 * docs/design/part-synchronisation.txt:
3019 * docs/plugins/Makefile.am:
3020 * docs/plugins/gstreamer-plugins-docs.sgml:
3021 * docs/plugins/gstreamer-plugins-sections.txt:
3022 * plugins/elements/gstmultiqueue.c:
3023 Add multiqueue to the docs.
3025 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3030 === release 0.10.17 ===
3032 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3035 releasing 0.10.17, "Due Negligence"
3037 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3040 Revert caps != NULL check temporarily for 0.10.17 release.
3042 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3045 Check if caps are not NULL (fix bug #510194)
3047 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3050 Fix compilation on systems that have posix timers but no
3053 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3056 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3058 * tools/gst-inspect.c:
3059 Revert previous commit in preparation for an impromptu 0.10.17 release
3061 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3063 * tools/gst-inspect.c: (print_interfaces),
3064 (print_element_properties_info), (print_pad_info),
3065 (print_signal_info), (print_element_info):
3066 Fix a few memory leaks.
3068 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3073 === release 0.10.16 ===
3075 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3078 releasing 0.10.16, "Special Dispensation"
3080 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3083 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3084 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3085 not fail when trying to crosscompile on OpenEmbedded (#511750).
3087 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3090 Use $(MAKE) instead of make to fix the build if GNU make is
3091 called different. Fixes bug #510747.
3093 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3095 * gst/gstplugin.c: (_gst_plugin_initialize):
3096 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3097 again, which I broke two commits ago when changing the API
3098 of gst_plugin_register_static(): the g_list_foreach() in
3099 _gst_plugin_register_static still assumed the old function
3100 signature and would therefore fail (re-fixes #510187).
3102 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3103 (_gst_plugin_register_static), (gst_plugin_register_static):
3104 Revert the (technically correct) change to call g_thread_init() from
3105 the pre-main() constructor. This will break programs which call
3106 g_thread_init() without an if (!g_thread_supported()) guard in their
3107 main function. We could just blame it on GLib or the application, but
3108 it's probably best to just avoid this altogether and simply not use
3109 any GLib functions here and use plain old malloc() with a simple
3110 array to store the plugins to register later when gst_init() is
3111 finally called (re-fixes #510187).
3113 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3114 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3115 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3116 (GST_START_TEST), (gst_plugin_suite):
3117 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3120 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3122 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3123 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3124 This makes gtk-doc complain, but results in slightly better
3125 compiler errors. The old _gst_plugin_register_static() is
3126 still guarded, so there'll be a compiler warning about that
3127 instead. Fixes #510187 too.
3129 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3131 * gst/gst.c: (init_post):
3132 * gst/gstplugin.c: (_gst_plugin_register_static),
3133 (gst_plugin_register_static), (_gst_plugin_initialize):
3134 * gst/gstplugin.h: (GstPluginFilter):
3135 Change API of gst_plugin_register_static() to not take
3136 a GstPluginDesc, but rather just take all the arguments
3137 in a GstPluginDesc directly. This is more intuitive and
3138 avoids certain mistakes when porting code from
3139 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3142 * tests/check/gst/gstplugin.c:
3143 Fix up for changed API.
3145 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3147 * docs/faq/legal.xml:
3148 Update FAQ, Totem actually has an exception these days.
3150 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3152 * win32/common/libgstreamer.def:
3153 Add new API declarations
3155 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3157 * gst/gstminiobject.c:
3158 Spelling fixes for the API docs.
3160 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3162 * libs/gst/base/gstbasetransform.c:
3163 Fix long property description for QoS.
3165 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3168 _gst_trace_on is already provided by gsttrace.h, no need to declare
3171 * docs/libs/gstreamer-libs-sections.txt:
3172 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3173 and remove strange tcase_add_test which is outputting a warning.
3175 * libs/gst/check/gstcheck.c:
3176 * libs/gst/check/gstcheck.h:
3177 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3178 and define them in gstcheck.c instead of having every .c file whcih
3179 includes gstcheck.h be defining its own copy and relying on symbol
3180 interposing to marry them all, which doesn't work on Solaris.
3182 * tests/check/elements/identity.c: (GST_START_TEST):
3183 Don't define 'buffers' locally, it comes from libgstcheck.
3185 * tests/check/generic/sinks.c: (send_buffer):
3186 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3188 * tests/check/gst/gststructure.c: (GST_START_TEST):
3189 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3190 * tests/check/gst/gstutils.c: (GST_START_TEST):
3191 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3192 Add a bunch of casts to make various constants fit the types
3193 they're being assigned to.
3195 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3197 * gst/gstchildproxy.c:
3198 Improve docs and add some ideas for making this more general-purpose.
3200 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3202 * gst/gst_private.h: (GST_CAT_TYPES):
3203 Add GST_CAT_TYPES, for consistency, and so that the other
3204 debug categories don't make fun of it. Spotted by Saur on IRC.
3206 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3208 * gst/parse/Makefile.am:
3209 Move types.h from EXTRA_DIST to noinst_HEADERS.
3211 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3214 Add -Wno-portability to the automake parameters to stop warnings
3215 about GNU make extensions being used. We require GNU make in almost
3216 every Makefile anyway.
3219 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3220 at the same time is required for per target flags.
3222 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3225 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3226 __GNUC__ is defined before using it.
3228 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3230 * docs/gst/gstreamer-sections.txt:
3231 * gst/gst.c: (init_post):
3232 * gst/gstplugin.c: (_gst_plugin_register_static),
3233 (gst_plugin_register_static), (_gst_plugin_initialize),
3234 (gst_plugin_register_func):
3235 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3236 API: add gst_plugin_register_static() and deprecate
3237 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3239 Also, in _gst_plugin_register_static(), make sure to call
3240 g_thread_init() before calling GLib functions such as
3241 g_list_append() if we're not initialised yet, since that
3242 may lead to random crashes with older GSlice/GLib versions.
3244 * tests/check/gst/gstplugin.c:
3245 Adapt unit test to above changes.
3247 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3249 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3250 * gst/gstcaps.c: (gst_caps_to_string):
3251 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3252 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3253 Yet another gratuitous GString micro-optimisation: add a (private)
3254 function that serialises a structure appending to an existing
3255 GString, so that when we serialise caps we don't need to alloc+free
3256 a throwaway GString for each structure (each of which also entailing
3257 multiple reallocs on the way); also use g_string_sized_new() in
3258 various places with an approximate string length to avoid reallocs
3259 within GString. See #500143.
3261 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3263 * gst/gststructure.c: (gst_structure_id_set_value):
3264 Always check UTF-8 conformance of structure strings and not only
3265 if the debugging system is enabled; reasoning: the behaviour of
3266 the actual code shouldn't really change depending on whether the
3267 debugging system is enabled or not (#508291).
3269 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3272 Remove old coverage target in favour of "make lcov".
3274 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3276 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3277 (gst_base_src_loop):
3278 The start segment for reverse playback goes from start to last_stop.
3280 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3282 Patch by: Peter Kjellerstedt <pkj axis com>
3285 Cast the results from the timeval/spec_to_time macros to what the
3286 docs say it casts to, a GstClockTime. fixes #508175.
3288 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3291 Update some comments.
3293 * tools/gst-inspect.c: (print_element_properties_info):
3294 Improve printing of flags.
3296 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3298 * libs/gst/base/gstbasetransform.c:
3299 (gst_base_transform_transform_size):
3300 Print element name with g_warning() if there's a problem
3303 2008-01-07 David Schleef <ds@schleef.org>
3305 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3307 * libs/gst/controller/gstcontroller.h:
3308 * libs/gst/controller/gstcontrolsource.h:
3309 * libs/gst/controller/gstinterpolationcontrolsource.h:
3310 * libs/gst/controller/gstlfocontrolsource.h:
3311 * libs/gst/dataprotocol/dataprotocol.h:
3312 Fix empty prototypes. Fixes bug #507957.
3314 2008-01-07 David Schleef <ds@schleef.org>
3316 * docs/faq/dependencies.xml: Fix typo.
3318 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3320 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3321 (gst_base_src_loop):
3322 Don't update the last_stop position in do_seek, that's the position we
3324 Read backwards when we have a negative rate.
3326 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3327 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3329 Add check for reverse reading.
3331 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3333 Patch by: Alexis Ballier <aballier at gentoo org>
3335 * tests/check/gst/gstabi.c:
3336 * tests/check/gst/struct_ppc64.h:
3337 * tests/check/libs/libsabi.c:
3338 * tests/check/libs/struct_ppc64.h:
3339 Decide which header to include based on the userland ABI target
3340 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3341 for 64-bit userland (#503590). Might need something similar for
3344 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3346 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3347 Log the reason why fopen fails in addition to the fact that it failed.
3349 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3351 * gst/parse/parse.l:
3352 Use "%option never-interactive" to prevent useless calls to isatty()
3353 on every input when parsing. Also use "%option noinput" to not define
3354 the static input/yyinput functions which we don't use anyway. This
3355 removes a compiler warning with gcc 4.3 and saves some bytes in the
3358 * gst/parse/lex._gst_parse_yy.pre.c:
3359 Regenerated for the above change.
3361 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3363 * gst/gstpad.c: (fixate_value):
3364 Don't crash when trying to fixate and empty list.
3367 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3369 * docs/faq/gst-uninstalled:
3370 Clarify the comments to make the usage of this script and what it
3371 does easier to understand.
3373 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3375 * tools/gst-plot-timeline.py:
3376 Add more options to gst-plot-timeline
3378 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3380 * docs/design/part-synchronisation.txt:
3381 Some more info on how the stream_time in GstBaseSink is done.
3383 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3385 * tests/check/generic/sinks.c: (gst_sinks_suite):
3386 Put back the tcase_set_timeout(), apparently it's needed after
3387 all; fix it up in a way that makes things work with valgrind too.
3389 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3391 * gst/gstdebugutils.c:
3392 Add warning when failed to open file for writing.
3394 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3396 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3398 * gst/gstvalue.c: (gst_value_is_fixed):
3399 Optimisation: bail out of the loop as early as possible (#500143).
3401 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3403 * gst/gstcaps.c: (gst_caps_to_string):
3404 * gst/gstinfo.c: (gst_debug_construct_term_color):
3405 * gst/gstparse.c: (gst_parse_launchv):
3406 * gst/gstutils.c: (gst_util_dump_mem):
3407 * gst/gstvalue.c: (gst_value_serialize_any_list),
3408 (gst_value_transform_any_list_string):
3409 Bunch of gratuitous nano-optimisations.
3411 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3413 * tests/check/generic/sinks.c: (async_done_func),
3414 (async_done_eos_func):
3415 Fix leak in unit test (bus sync handler must unref the message
3416 if it returns GST_BUS_DROP). Don't fiddle with the default test
3417 timeout, this is smaller than the current preconfigured value
3418 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3419 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3421 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3423 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3426 Check for stdio_ext.h for the filesink changes.
3428 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3429 (gst_file_sink_class_init), (gst_file_sink_init),
3430 (gst_file_sink_dispose), (gst_file_sink_set_property),
3431 (gst_file_sink_get_property), (gst_file_sink_open_file),
3432 (gst_file_sink_close_file):
3433 * plugins/elements/gstfilesink.h:
3434 Add two properties to control the buffering mode and size.
3435 API: GstFileSink::buffer-mode
3436 API: GstFileSink::buffer-size
3439 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3441 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3442 Add some more docs to explain why a FIXME was wrongly added.
3444 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3447 Fix typo in the gst_object_{ref,unref} documentation.
3449 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3451 * tests/check/libs/controller.c:
3452 * tests/check/libs/typefindhelper.c:
3453 * tests/check/pipelines/parse-launch.c:
3454 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3455 going to be deprecated (see #498924).
3457 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3459 * gst/gsttypefind.c: (gst_type_find_register):
3460 Make gst_type_find_register work for static typefind functions,
3461 ie. allow passing plugin == NULL (prerequisite for #498924).
3463 * gst/gstelementfactory.c: (gst_element_register):
3464 Small docs addition.
3466 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3468 * gst/gstpad.c: (gst_pad_dispose):
3469 Really unlink the peer pad instead of setting the peer pointer to NULL
3470 when we dispose the pad.
3471 This correctly calls the unlink functions and makes sure that the peer
3472 does not have a handle to invalid memory. See #504671.
3474 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3475 Add testsuite for above case.
3477 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3479 Patch by: Peter Kjellerstedt <pkj axis com>
3481 * libs/gst/check/gstcheck.h:
3482 Fix detection of the check version we're compiling against (would
3483 otherwise break if check goes v0.10.0); correctly report the
3484 name of the failed test again in case of failure, instead of
3485 just 'tf' (fixes #504499).
3487 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3489 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3490 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3491 (gst_base_src_loop), (gst_base_src_set_flushing),
3492 (gst_base_src_change_state):
3493 Allow sending EOS to the source to make it send out an EOS event from
3494 the streaming thread.
3495 Update docs and deprecate the old NULL/READY shutdown method.
3497 * tests/check/libs/basesrc.c: (GST_START_TEST),
3498 (gst_basesrc_suite):
3499 Add unit test for controlled shutdown.
3501 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3503 * docs/design/part-synchronisation.txt:
3506 * gst/gstsegment.c: (gst_segment_set_seek),
3507 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3508 (gst_segment_to_running_time):
3509 The seek format can be different from the segment format when the start
3510 and stop values are not to be updated, when we only do a rate change for
3513 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3514 (gst_segment_suite):
3515 Add a testcase for the rate-only seeks, checking that the format is
3516 correctly ignored when start and stop are not updated.
3518 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3520 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3522 * win32/vs8/grammar.vcproj:
3523 * win32/vs8/libgstcontroller.vcproj:
3524 * win32/vs8/libgstreamer.vcproj:
3525 Fix compilation with VS8 and include some missing files.
3527 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3530 Small docs addition: mention that the strings returned by
3531 gst_tag_list_get_string*() are in UTF-8 encoding.
3533 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3536 The check-exports stuff moved to common/win32.mak, so include that.
3538 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3540 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3541 (gst_base_src_perform_seek), (gst_base_src_get_range),
3542 (gst_base_src_set_playing), (gst_base_src_change_state):
3543 Make _wait_playing() not check any variables so that we can call this
3544 function from subclasses. Move the checks elsewhere similar to
3545 _wait_preroll() in basesink.
3547 Only signal the LIVE cond when we are going back to PLAYING.
3549 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3551 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3552 Use g_remove() and g_rename(). Check result of g_rename(), and
3553 don't leak the open file descriptor if we error out when writing.
3555 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3556 Must check the return value of close() after writing out the new
3557 registry file. Sometimes write problems such as out-of-diskspace
3558 are only reported when the file is closed and not already during
3559 the write. This may have caused partial/broken registry files in
3560 some rare circumstances. Should fix #503675.
3562 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3564 * docs/gst/.cvsignore:
3565 * docs/libs/.cvsignore:
3566 * docs/plugins/.cvsignore:
3567 Ignore files generated by new common/* modifications
3569 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3571 * win32/common/libgstbase.def:
3572 Yes, you can also have a <TAB> if you want.
3574 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3576 * win32/common/libgstbase.def:
3577 Add new basetransform API to win export file.
3579 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3581 * tests/check/gst/gstbin.c:
3582 Adjust the test to the refcount change two days ago.
3584 2007-12-14 David Schleef <ds@schleef.org>
3586 * docs/faq/getting.xml: Fix typo.
3588 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3590 * docs/libs/gstreamer-libs-sections.txt:
3591 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3592 (gst_base_transform_prepare_output_buffer),
3593 (gst_base_transform_set_gap_aware):
3594 * libs/gst/base/gstbasetransform.h:
3595 API: Add gst_base_transform_set_gap_aware() to control whether
3596 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3597 get buffers with this flag at all. Fixes #503231.
3599 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3601 * libs/gst/base/gstbasesink.c:
3602 * libs/gst/base/gstbasesrc.c:
3603 * libs/gst/base/gstbasetransform.c:
3604 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3605 thread. Correct log message in gstbasesrc.c.
3607 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3609 * gst/gstutils.c: (element_find_unconnected_pad):
3610 Fix possible compiler warning (#503417).
3612 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3614 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3615 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3617 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3619 * tools/gst-inspect.c: (print_element_properties_info):
3620 Add support for GstFraction properties.
3622 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3625 Add check-exports target and run it as part of 'make check'
3626 (see #499140 and #493983).
3628 * gst/gst_private.h:
3629 * gst/gstelementfactory.h:
3630 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3631 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3632 (_priv_gst_in_valgrind):
3633 * gst/gstinfo.h: (GstLogFunction):
3634 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3635 (gst_type_find_register):
3636 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3637 (gst_type_find_factory_get_type):
3638 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3639 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3640 (gst_controller_new_valist), (gst_controller_new_list),
3641 (_gst_controller_dispose), (_gst_controller_class_init):
3642 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3643 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3644 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3645 (gst_object_get_controller), (gst_object_set_controller),
3646 (gst_object_suggest_next_sync), (gst_object_sync_values),
3647 (gst_object_set_control_source), (gst_object_get_control_source),
3648 (gst_object_get_value_arrays), (gst_object_get_value_array),
3649 (gst_object_get_control_rate), (gst_object_set_control_rate):
3650 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3651 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3652 Make some functions that should be static static; rename some
3653 private symbols so that they don't get exported; add some FIXME
3654 comments so we can move accidentally exported functions into
3655 our private section in 0.11.
3657 * win32/common/libgstreamer.def:
3658 Add gst_utils_get_timestamp().
3660 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3664 Add more missing "Since:" tags to docs.
3666 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3669 Add mising "Since:" to docs.
3671 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3674 Include "glib-compat-private.h" to fix the build on system with
3675 glib < 2.10. Fixes #503131.
3677 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3681 Actually its not PURE as it gets the time from elsewhere.
3683 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3685 * docs/gst/gstreamer-sections.txt:
3687 * gst/gstdebugutils.c:
3691 * libs/gst/base/gstbasesink.c:
3692 * tools/gst-launch.c:
3693 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3694 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3695 Thanks Tim for spotting.
3696 API: gst_util_get_timestamp
3698 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3701 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3703 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3705 * gst/gststructure.c: (gst_structure_validate_name),
3706 (gst_structure_new_valist), (gst_structure_parse_value),
3707 (gst_structure_from_string):
3708 Don't crash in _from_string() if the structure name is not valid
3709 (fixes #501560). Allow structure names to start with a number
3710 again (this apparently broke the ubuntu codec installer).
3712 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3714 Add unit test for the crash; update unit tests for new behaviour.
3716 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3719 Clarify gst_element_get_compatible_pad() documentation.
3722 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3724 * tests/check/Makefile.am:
3725 Don't forget to dist {gst,libs}/struct_hppa.h.
3727 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3729 * libs/gst/base/gstbasesink.c:
3730 Use new API to get elapsed time.
3732 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3734 * gst/gstdebugutils.c:
3736 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3738 * tools/gst-launch.c:
3739 Use new API to get elapsed time.
3741 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3743 * docs/gst/gstreamer-sections.txt:
3745 * gst/gstdebugutils.c:
3747 Rename new API + ChangeLog surgery to remove old name from last entry..
3749 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3751 * docs/gst/gstreamer-sections.txt:
3753 * gst/gstdebugutils.c:
3755 Now hide the different clock stuff behind a macro.
3757 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3760 * gst/gstdebugutils.c:
3762 Apply the posix-timer check from #361155. Conditionally use the posix
3763 timer for logging. This gives better timestamp precission, less
3764 overhead and no ntp jitter.
3766 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3768 * gst/gstminiobject.c: (gst_mini_object_get_type),
3769 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3770 (gst_mini_object_finalize), (gst_mini_object_copy),
3771 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3772 (gst_mini_object_replace), (param_mini_object_validate),
3773 (gst_param_spec_mini_object_get_type):
3774 Some cleanup and checking against invalid function parameters.
3776 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3778 * docs/gst/gstreamer-sections.txt:
3780 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3781 (gst_systemclock_suite):
3782 Start merging in the easy bits of #361155, the monotonic clock patch.
3783 This one adds a few handy macros with docs and a testsuite.
3785 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3787 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3788 Be a bit smarter when seeking, like, don't try to do a seek when it's
3789 not needed. This avoids errors when the file is not seekable.
3792 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3794 * docs/gst/gstreamer-docs.sgml:
3795 * docs/gst/gstreamer-sections.txt:
3796 * docs/gst/gstreamer.types.in:
3801 * plugins/elements/gstqueue.c:
3802 Due to popular request remove preset interface again. :-(.
3804 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3806 * tools/gst-inspect.c:
3807 Print 'default value' for enums and flags too.
3809 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3811 * docs/random/ensonic/profiling.txt:
3815 Fix typo and give better log output.
3817 * gst/gstdebugutils.c:
3818 * gst/gstdebugutils.h:
3819 More ideas, make graphs a bit smaller and fix param name in macro.
3821 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3824 Try harder to use the return value from fgets().
3826 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3829 For theses two fgets we handle the error below.
3831 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3833 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3834 Only send upstream events upstream. Fixes #498746.
3836 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3838 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3840 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3841 (gst_identity_init), (gst_identity_transform_ip),
3842 (gst_identity_set_property), (gst_identity_get_property):
3843 * plugins/elements/gstidentity.h:
3844 Add property to disable handoff signal emission. Fixes #498694.
3845 API: GstIdentity::signal-handoffs
3847 2007-11-21 Julien Moutte <julien@fluendo.com>
3849 * docs/faq/gst-uninstalled: Yet another missing library for the
3850 uninstalled script (fft)
3852 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3854 * docs/faq/developing.xml:
3855 Add a question about how to submit new translations.
3857 * docs/random/release:
3858 Update the contact email address for the Translation Project
3860 * plugins/elements/gstfdsrc.c:
3861 The parent_class for fdsrc is pushsrc, not GstElement.
3863 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3866 Plug a leak and fix saving.
3868 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3870 * docs/gst/gstreamer-sections.txt:
3871 Add new gst_preset__get_property_names() function to the docs
3874 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3878 Change _get_preset_names API to return a strv with copies. Add
3879 _get_property_names to allow implementations to filter and provide
3880 good default implementation.
3882 2007-11-20 Julien MOUTTE <julien@moutte.net>
3884 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3887 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3890 More cleanups, docs, and TODOs from comments that now slowly come in.
3892 2007-11-19 Julien MOUTTE <julien@moutte.net>
3894 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3897 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3900 Fix bogus warning and make the property type specific code more
3903 2007-11-19 Julien MOUTTE <julien@moutte.net>
3905 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3908 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3910 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3911 (gst_bin_add_func), (gst_bin_remove_func),
3912 (gst_bin_change_state_func), (gst_bin_continue_func):
3913 Change email, cleanups add some more debug and comments.
3914 Also set bus and clock on new elements when the pipeline was in error.
3916 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3919 * gst/gstdebugutils.c:
3920 Fix build with --disable-gst-debug. Fixes #497859.
3921 Spotted by Sameer Naik.
3923 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3926 Little documentation improvment.
3929 More TODO cleanups. Remove c++ comments.
3931 * libs/gst/controller/gstcontroller.c:
3932 Add TODO and use quark from static string.
3934 * tests/check/gst/gstmessage.c:
3935 * tests/check/gst/gststructure.c:
3936 Use quark from static string.
3938 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3941 Add some comments and TODOs.
3944 Add padding for future changes.
3946 * plugins/elements/gstqueue.c:
3947 Implement the iface.
3949 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3951 * docs/gst/gstreamer-docs.sgml:
3952 * docs/gst/gstreamer-sections.txt:
3953 * docs/gst/gstreamer.types.in:
3958 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3960 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3966 === release 0.10.15 ===
3968 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3971 releasing 0.10.15, "October"
3973 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3975 * win32/vs6/libgstreamer.dsp:
3976 Convert line endings back to DOS.
3978 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3980 * docs/design/draft-tagreading.txt:
3981 * docs/random/ensonic/profiling.txt:
3982 Update fast tagreading draft and performance profiling ideas.
3984 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3986 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3987 Don't hold the object lock when unreffing a buffer because it could
3988 cause a deadlock when the finalize function wants to grab the object
3989 lock too. Fixes #495133.
3991 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3993 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3994 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3995 Also accumulate time correctly when doing reverse playback. Fixes
3997 When converting to running and stream time, use default values for
3998 start/stop/time/accum when comparing different formats. Fixes #494245.
4000 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4001 Do running/stream time in TIME format.
4003 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4004 (gst_segment_suite):
4005 2 new unit tests for segment accumulation.
4007 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4009 * gst/gst.c: (init_pre):
4010 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4011 (_gst_debug_bin_to_dot_file):
4012 Move getenv() back into gst_init, so everyone can live happily
4013 ever after. Make sure the symbol isn't exported though.
4015 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4017 Patch by: Sebastien Moutte <sebastien moutte net>
4019 * win32/common/gstenumtypes.c:
4020 * win32/common/gstenumtypes.h:
4023 * win32/vs6/libgstreamer.dsp:
4024 Update vs6 project files (#494343).
4026 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4028 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4029 (gst_base_src_perform_seek), (gst_base_src_default_event),
4030 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4031 (gst_base_src_activate_pull):
4032 Unify flushing code, remove some old unlock code that is no longer used.
4033 Take the streaming lock when seeking to avoid races. Fixes #492729.
4034 Added some more comments.
4036 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4038 * gst/gst.c: (_gst_disable_segtrap):
4039 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4040 we can use gst_segtrap_is_enabled() there now that we have that API.
4041 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4042 to do the getenv here (and export the variable).
4044 * gst/gstdebugutils.c: (debug_dump_element),
4045 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4046 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4048 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4049 (gst_debug_log_default):
4050 Rename _gst_info_start_time to priv_gst_info_start_time so it
4051 doesn't get exported (was never in any header).
4053 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4054 (gst_plugin_loading_mutex):
4055 Make static mutex gst_plugin_loading_mutex really static (was never
4056 in any header), and use gst_segtrap_is_enabled() instead of
4057 _gst_disable_segtrap.
4059 * gst/gsttrace.c: (_gst_trace_default):
4060 Make local _gst_trace_default static (was never in any header).
4062 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4064 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4066 * win32/common/libgstbase.def:
4067 * win32/common/libgstcontroller.def:
4068 * win32/common/libgstdataprotocol.def:
4069 * win32/common/libgstnet.def:
4070 * win32/common/libgstreamer.def:
4071 Add more missing symbols, remove some duplicates, and sort
4072 as the 'sort' command sorts it (partially fixes #493983).
4074 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4076 * gst/gstelement.c: (gst_element_set_state_func):
4077 Only change the state cookie if a different state was set on the
4078 element. See #492729.
4080 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4083 Remove unused and uninitialised type variables that were still
4084 exported for some reason (they were never in any header files
4087 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4089 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4090 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4091 (gst_base_sink_event), (gst_base_sink_get_position_last),
4092 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4093 (gst_base_sink_change_state):
4094 Don't try to report a 0 position when we don't know, return -1 and FALSE
4095 instead. This mostly happens when we are prerolling.
4096 Make sure we can report the right position before we post the ASYNC_DONE
4097 message so that a message handler can query position without races.
4099 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4100 (async_done_handoff), (async_done_func), (send_buffer),
4101 (async_done_eos_func), (gst_sinks_suite):
4102 Add two tests for the above.
4104 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4107 Update with new email address.
4109 * docs/design/part-TODO.txt:
4110 Add some more info about future pad-block and negotiation changes.
4112 * docs/design/part-buffering.txt:
4113 Add some ideas about buffering reporting.
4115 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4117 * tests/check/gst/gstobject.c:
4118 Disable silly racy test that always fails on this combination of CPU
4121 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4123 Patch by: Murray Cumming <murrayc@murrayc.com>
4126 Corrected the registration of the parent-set and parent-unset
4127 signals: The parameter is a GstObject, not a GObject (#493134).
4129 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4131 * gst/gst_private.h:
4140 Move declaration of private _gst_foo_initialize() functions into
4141 our private header file where they should have been all along.
4143 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4145 * docs/plugins/gstreamer-plugins-sections.txt:
4146 * gst/gstdebugutils.h:
4148 * plugins/elements/gstqueue.c:
4149 gtk-doc fixes; trailing-comma-in-enum fix.
4151 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4153 * gst/gst.c: (gst_deinit):
4154 Clean up on deinit (not the external ones though, doesn't seem to be
4155 needed for some reason).
4157 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4159 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4160 Remove __declspec(dllimport) for MSVC that was copied over into core
4161 from a plugin, obviously without ever having been tested (note the
4162 single underscore in _declspec in the initial commit), and that doesn't
4163 really make sense. See #492077.
4165 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4167 * gst/gst.c: (init_post):
4168 * gst/gstevent.c: (_gst_event_initialize):
4169 * gst/gstquery.c: (_gst_query_initialize):
4170 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4171 g_type_class_ref() other types as well, see #349410 and #64764.
4173 * gst/gstbuffer.c: (_gst_buffer_initialize):
4174 * gst/gstmessage.c: (_gst_message_initialize):
4175 Simplify existing g_type_class_ref().
4177 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4179 * gst/gstformat.c: (_gst_format_initialize):
4180 g_type_class_ref() our GstFormat type to make sure we avoid the
4181 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4182 bug #64764. Should fix intermittent tee unit test failures (#474823).
4184 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4186 * tests/check/elements/tee.c: (test_num_buffers):
4187 Simplify, simplify, simplify - or not. Rewrite unit test
4188 not to use gst_parse_launch(); allow N sub-streams. Increasing
4189 the number of sub-streams seems to reproduce #474823 more easily.
4191 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4193 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4196 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4197 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4198 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4199 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4200 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4201 so use _pipe() directly (#492077).
4203 * win32/common/dirent.c: (_treaddir):
4204 Add a couple of casts to make it build without warnings with MSVC.
4206 * win32/common/libgstreamer.def:
4207 Add some more symbols that need to be exported.
4209 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4211 * tests/examples/metadata/read-metadata.c: (message_loop):
4212 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4213 arriving in a second or third tag message are added to
4214 the tag list as well.
4216 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4218 * libs/gst/base/gstbasesrc.c:
4219 Its "Since:" and not "@Since:". And remove an superflous cast.
4221 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4223 * docs/libs/gstreamer-libs-sections.txt:
4224 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4225 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4226 (gst_base_sink_get_property), (gst_base_sink_render_object),
4227 (gst_base_sink_preroll_object),
4228 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4229 (gst_base_sink_change_state):
4230 * libs/gst/base/gstbasesink.h:
4231 Add a new last-buffer property that contains the last buffer used in
4232 basesink for preroll or rendering. useful for making snapshots.
4233 API: gst_base_sink_get_last_buffer()
4234 API: GstBaseSink::last-buffer
4236 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4238 * docs/gst/running.xml:
4240 * gst/gstdebugutils.c:
4241 * gst/gstdebugutils.h:
4242 * tools/gst-launch.c:
4243 Improve bin graph dumping, by using the envvar to specify a path.
4244 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4246 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4248 * plugins/elements/gsttypefindelement.c:
4249 (gst_type_find_element_handle_event),
4250 (gst_type_find_element_activate):
4251 Post special error message if we can't determine the type of a stream
4254 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4256 * docs/gst/running.xml:
4257 * gst/gstdebugutils.c:
4258 Document new env-var. Add one log-line after dumpng a graph.
4260 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4263 Ugly hack to put the (recently removed and non-portable, apparently)
4264 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4265 GNU ld, because without that 'make check' fails miserably on my debian
4266 stable box. Someone with more knowledge of linker intricacies and
4267 portability issues than me fix this properly please.
4269 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4271 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4272 Reset last seen position after flushing so that we don't report the old
4275 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4277 * gst/gstelementfactory.c: (gst_element_register):
4279 Patch from Alessandro Decina adding get_type_full and
4280 get_protocols_full private vfuncs to the URIHandler interface
4281 to allow bindings to support creating URI handlers.
4282 Partially fixes: #339279
4283 API: GstURIHandlerInterface::get_type_full
4284 API: GstURIHandlerInterface::get_protocols_full
4286 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4288 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4289 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4290 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4291 Make it so that pads are considered linked until a buffer is pushed
4292 and discovered otherwise. This avoids problems with decodebin2 hanging
4293 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4296 Make sure we lock the multiqueue when updating the max-size properties.
4298 Fix a crash on Solaris in a debug statement in get_request_pad that
4299 passes a NULL string to GST_DEBUG.
4301 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4302 (run_output_order_test):
4303 Fix the test to allow the first buffer on not-linked pads to come out
4304 of sequence while multiqueue discovers that they are not-linked.
4306 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4309 * libs/gst/check/Makefile.am:
4310 Use a custom export symbol regex for libgstcheck, as it needs
4311 to export symbols that don't match the standard GStreamer gst_*
4312 pattern, and --export-dynamic is not portable (only works on
4315 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4316 (gst_check_setup_sink_pad):
4317 Make sure to pass a message parameter to the fail_* macros.
4319 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4320 Fix some compiler warnings.
4322 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4324 * tests/check/gst/gststructure.c: (test_to_string):
4325 Disable test that checks that white spaces are not allowed
4326 in structure names or field names, since we need to
4327 support that for now for backwards compatibility reasons.
4329 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4331 * docs/gst/gstreamer-sections.txt:
4334 API: add GST_TAG_ARTIST_SORTNAME
4335 API: add GST_TAG_ALBUM_SORTNAME
4336 API: add GST_TAG_TITLE_SORTNAME
4337 Add tag variants for sorting (#414539).
4339 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4341 * gst/gststructure.c:
4342 Also allow white space for names so we don't break
4343 backwards compatibility.
4345 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4347 * docs/design/part-TODO.txt:
4348 * docs/design/part-segments.txt:
4349 * docs/design/part-streams.txt:
4352 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4354 * docs/gst/gstreamer-sections.txt:
4355 Fixed documentation from my previous commit (added new API add
4356 gst_value_set_structure(), add gst_value_get_structure() and
4357 GST_VALUE_HOLDS_STRUCTURE).
4359 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4361 * gst/gstdebugutils.c:
4362 Reflow code to fix uninitialized variable warning.
4364 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4366 * gst/gstcaps.c: (gst_caps_to_string),
4367 (gst_caps_from_string_inplace):
4368 * gst/gststructure.c: (gst_structure_get_abbrs),
4369 (gst_structure_to_string), (gst_structure_from_string):
4370 * gst/gstvalue.c: (gst_value_set_structure),
4371 (gst_value_get_structure), (gst_value_serialize_structure),
4372 (gst_value_deserialize_structure), (_gst_value_initialize):
4374 * tests/check/gst/gststructure.c: (GST_START_TEST),
4375 (gst_structure_suite):
4376 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4377 Added GstStructure to gst_value_table and its related functions.
4378 Changed gst_structure_to_string to print ';' in the end.
4379 Changed gst_caps_to_string to not print ';' beteween its
4380 fields (structures) anymore and remove the lastes ';' from latest
4381 structure. Now it is possible to have nested structures.
4382 In addition, backward compatibilty is assured by accepting '\0' as
4383 end delimiter. Fixes: #487969.
4384 API: add gst_value_set_structure()
4385 API: add gst_value_get_structure()
4386 API: add GST_VALUE_HOLDS_STRUCTURE
4388 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4391 When no GSource callback has been set up, tell developer
4392 to use a function that actually exists.
4394 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4396 * docs/gst/gstreamer-sections.txt:
4400 * gst/gstdebugutils.c:
4401 * gst/gstdebugutils.h:
4404 * tools/gst-launch.c:
4405 Allow dumping pipelines as dot graphs. Fixes #456573.
4407 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4409 * gst/gststructure.c:
4410 Allow '+' as well, it can be part of media or mime types
4411 such as image/svg+xml.
4413 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4415 * docs/gst/gstreamer-sections.txt:
4418 API: add gst_bus_pop_filtered
4419 API: add gst_bus_timed_pop_filtered
4420 Two new functions for waiting for specific message types on the
4421 bus for a specified amount of time without iterating any main
4422 loops or main contexts.
4424 * tests/check/gst/gstbus.c:
4425 Some tests for the new functions.
4427 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4429 * docs/libs/gstreamer-libs-sections.txt:
4430 Make gtk-doc ignore stuff it should ignore.
4432 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4434 * libs/gst/check/gstcheck.c:
4435 * libs/gst/check/gstcheck.h:
4436 Allow runtime selection of unit tests to run via the GST_CHECKS
4437 environment variable (test case function names, comma-separated).
4439 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4441 * gst/gststructure.c:
4442 * tests/check/gst/gststructure.c:
4443 Revert serialisation change and constrain structure-names after
4444 consensus on irc. Update api documentation to reflect the change.
4446 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4448 * gst/gststructure.c:
4449 Improve serialization and fix tests.
4451 * tests/check/gst/gststructure.c:
4452 Add another test that covers why I actually did the previous structure
4455 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4457 * tools/gst-inspect.c: (print_element_info):
4458 Don't crash when inspecting an element.
4460 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4462 * tests/check/gst/gststructure.c:
4463 Add unit test for escaping of structure name when serialising
4464 and deserialising to/from strings.
4466 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4468 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4469 (gst_single_queue_new):
4470 * plugins/elements/gstqueue.c: (gst_queue_init),
4471 (gst_queue_push_one):
4472 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4473 upstream is tricked into thinking it can suggest a format downstream
4474 while downstream does not support that format. The real problem is that
4475 core calls acceptcaps when pushing a buffer with new caps, for which we
4476 do a little workaround by setting the caps on the srcpad ourselves
4477 before pushing the buffer (until this is figured out). Fixes #486758.
4479 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4481 * gst/gststructure.c:
4483 Add some more comments and debug output. Quote structure name to fix
4484 deserialisation of some strings.
4486 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4489 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4490 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4492 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4494 * tools/gst-inspect.c:
4495 Save approx. 400 1 byte allocs when printing. Use API to acces element
4501 * tools/gst-xmlinspect.c:
4502 Use API to acces element details.
4504 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4507 Fix some spelling errors.
4509 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4511 * gst/gstbin.c: (bin_handle_async_done):
4512 Correctly set the next state if all of our async children commited their
4513 state. This makes sure we can actually cancel the state change in
4514 progress. Fixes a regression in Rhythmbox when seeking.
4516 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4519 Don't shadow local variable.
4522 Don't shadow global function name.
4524 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4526 * gst/gstelementfactory.c:
4527 * gst/gstpluginfeature.c:
4528 * gst/gstpluginfeature.h:
4529 * gst/gstregistrybinary.c:
4530 * gst/gstregistryxml.c:
4531 * gst/gsttypefind.c:
4532 Use already-interned string for the private GstPluginFeature
4535 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4537 * docs/libs/gstreamer-libs-sections.txt:
4538 Add new API to docs; fixes the build.
4540 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4542 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4544 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4545 (gst_base_sink_event):
4546 * libs/gst/base/gstbasesink.h:
4547 Add function to wait for EOS, subclasses can use this to correctly wait
4548 for devices to drain before performing the EOS logic. Fixes #485343.
4549 API: gst_base_sink_wait_eos()
4551 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4554 Cast description string constants in GST_PLUGIN_DEFINE macros
4555 to a (gchar*) to make C++ code using these macros compile
4556 without warning with g++-4.2 (see #462737). Even if slightly
4557 ugly, this seems preferable to putting the description strings
4558 into the GLib quark table or making the structure member a
4559 const gchar * and doing casts in core code that allocs and
4560 frees these strings, or requiring a cast in the C++ code.
4562 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4565 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4566 to print the entire class/function signature into the log
4567 file for C++ code. This only affects C++ code, for C code
4568 everything remains the same.
4570 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4572 * gst/gstbin.c: (remove_from_queue):
4573 Work around a problem with pipelines containing (semi)loops until a
4574 proper, more complicated solution is ready. See #475455.
4576 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4580 * gst/gstregistrybinary.c:
4581 * gst/gstregistryxml.c:
4582 Put more strings into the GLib quark table. No need to keep
4583 a hundred-something copies of identical version strings,
4584 license strings, package name strings and package origin
4587 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4589 * docs/manual/advanced-dataaccess.xml:
4590 Don't imply that it's okay to unconditionally change
4591 buffer data or buffer metadata in a pad probe callback,
4592 and a bunch of other comments. Fixes #430031.
4594 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4596 * win32/common/gstenumtypes.c:
4597 * win32/common/gstenumtypes.h:
4598 * win32/common/gstversion.h:
4599 Update generated files.
4601 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4603 * docs/manual/advanced-autoplugging.xml:
4604 Prefix section with broken code with a warning (see #342432).
4606 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4608 * docs/manual/appendix-integration.xml:
4609 * docs/manual/basics-init.xml:
4610 Call g_thread_init() before g_option_context_new() to
4611 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4613 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4615 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4616 (gst_base_sink_queue_object_unlocked),
4617 (gst_base_sink_queue_object), (gst_base_sink_event),
4618 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4619 When we received EOS and are waiting for when to post the EOS message,
4620 our state is prerolled and we should not return ASYNC.
4621 Reorganize some code paths to implement this behavior.
4623 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4625 Add unit test to verify above EOS fix.
4627 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4629 * plugins/elements/gsttypefindelement.c:
4630 (gst_type_find_element_have_type), (gst_type_find_element_init),
4631 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4632 Move detecting the input caps of the sinkpad to the setcaps function.
4633 This allows us to update the output caps when we receive new input caps
4634 instead of always using the first detected caps.
4636 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4638 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4639 (gst_base_sink_get_position):
4640 Don't try to preroll non-async elements after a flush.
4641 Subtract latency form clock times when reporting position.
4643 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4645 * gst/gstpad.c: (gst_pad_pause_task):
4647 Small comment and documentation update.
4649 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4651 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4652 (gst_base_src_set_live), (gst_base_src_is_live),
4653 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4654 (gst_base_src_default_event), (gst_base_src_wait),
4655 (gst_base_src_do_sync), (gst_base_src_get_range),
4656 (gst_base_src_pad_get_range), (gst_base_src_loop),
4657 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4658 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4659 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4660 (gst_base_src_change_state):
4661 Rework the locking of basesrc in a similar fashion to basesink. We
4662 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4663 us to handle live sources and semi live ones much better.
4665 Fix unlocking when seeking, shutting down and pausing in live sources.
4667 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4669 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4670 Fix compilation again.
4672 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4675 Use meaningful categories for the logs to clean the default one.
4677 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4679 * tests/check/pipelines/cleanup.c:
4680 Print message name and not just number.
4682 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4684 * docs/design/draft-tagreading.txt:
4685 Add some more thoughts.
4687 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4689 * tests/check/pipelines/simple-launch-lines.c:
4690 Print message name and not just number.
4692 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4694 * libs/gst/base/gsttypefindhelper.c:
4695 Speedup typefinding. This is work in progress (see #459862).
4697 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4700 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4701 Spotted by Josep Torra Valles <josep@fluendo.com>.
4703 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4706 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4707 field has moved to GstObject.
4709 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4711 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4712 (gst_base_src_get_range), (gst_base_src_change_state):
4713 Call unlock for live sources so that they can't get stuck in _create and
4714 produce a buffer before they are set back to PLAYING.
4716 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4718 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4719 (gst_queue_locked_dequeue):
4720 Comment the segment-related code... in the PROPER function.
4721 See #482147 and my commit from yesterday.
4723 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4725 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4726 Also initialize the counter that calculates the first timestamp on a
4727 buffer correctly for non-live sources.
4729 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4731 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4732 Disable code that's breaking the current-time-level reporting.
4735 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4737 * docs/gst/gstreamer-sections.txt:
4738 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4739 as they shouldn't show up. Fixes the docs build.
4741 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4744 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4745 Define M_PI which is used in files which are including gstinfo.h.
4746 VS6 includes doesn't define it.
4747 * win32/common/libgstbase.def:
4748 * win32/common/libgstcontroller.def:
4749 * win32/common/libgstreamer.def:
4750 Add new exported functions and variables.
4751 * win32/vs6/libgstcontroller.dsp:
4752 * win32/vs6/libgstreamer.dsp:
4753 Update the list of files to build.
4755 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4757 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4759 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4760 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4761 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4762 Improve debugging. Fixes #480858.
4764 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4766 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4768 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4769 First patch of code cleanups, use the macros and right arguments in the
4770 macros to signal and lock the queue. See #480858.
4772 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4774 * gst/gstbus.c: (poll_func):
4775 Improve debugging when dealing with _poll().
4777 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4779 * gst/gstregistryxml.c:
4780 Fix memory leak I introduced a few days ago.
4782 2007-09-26 Michael Smith <msmith@fluendo.com>
4784 * gst/gstbuffer.c: (gst_buffer_finalize):
4785 Make it once again possible to free GstBuffers in the default
4787 The poisoning scribbles on parts of the miniobject we need in
4791 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4793 * docs/gst/gstreamer-sections.txt:
4796 API: add GST_TAG_COMPOSER, fixes #459809.
4798 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4802 Add the 3-clause BSD license and the MIT/X11 license to the license
4803 list. Fixes #479784.
4805 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4807 * docs/faq/getting.xml:
4808 Add Q+A about different GStreamer versions (#364056).
4810 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4812 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4813 (gst_base_sink_event), (gst_base_sink_change_state):
4814 Return correct gboolean from query function.
4816 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4818 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4819 (gst_base_sink_event), (gst_base_sink_query),
4820 (gst_base_sink_change_state):
4821 Simplify latency query.
4822 When not synchronizing, we can report latency without querying the peer
4825 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4829 Fix small typos in the docs.
4831 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4833 * docs/design/draft-latency.txt:
4834 * docs/design/draft-push-pull.txt:
4835 * docs/design/draft-tagreading.txt:
4836 * docs/design/part-MT-refcounting.txt:
4837 * docs/design/part-activation.txt:
4838 * docs/design/part-block.txt:
4839 * docs/design/part-element-source.txt:
4840 * docs/design/part-events.txt:
4841 * docs/design/part-gstbin.txt:
4842 * docs/design/part-gstelement.txt:
4843 * docs/design/part-gstobject.txt:
4844 * docs/design/part-gstpipeline.txt:
4845 * docs/design/part-messages.txt:
4846 * docs/design/part-preroll.txt:
4847 * docs/design/part-push-pull.txt:
4848 * docs/design/part-qos.txt:
4849 * docs/design/part-query.txt:
4850 * docs/design/part-scheduling.txt:
4851 * docs/design/part-seeking.txt:
4852 * docs/design/part-segments.txt:
4853 * docs/design/part-states.txt:
4854 Documentation updates and typo fixes.
4856 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4858 * plugins/elements/gstfakesink.c:
4859 Add some debug text to error message to indicate that
4860 we errored out on request.
4862 * tools/gst-launch.c:
4863 When the state change to PLAYING fails, check for an
4864 error message on the bus and print it.
4866 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4868 translated by: Jorge González González <aloriel@gmail.com>
4872 Added Spanish translation.
4874 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4876 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4877 Fix printf arguments.
4879 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4881 * tests/check/generic/states.c:
4882 Improved state change unit test.
4884 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4887 Move priv to the right place.
4889 * gst/gstsystemclock.c:
4890 Add FIXME: and improve log.
4892 * tests/check/Makefile.am:
4893 * tests/examples/manual/Makefile.am:
4894 Work with all types of registries.
4896 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4898 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4899 Don't unref the event after pushing it. Fixes #478401.
4901 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4904 * tests/examples/manual/.cvsignore:
4905 Ignore registries in any format.
4907 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4909 * gst/glib-compat-private.h:
4910 Add compatibility macro for g_intern_string() for
4911 GLib-2.8 (any reason we can't just bump the
4912 requirement to at least 2.10?)
4914 * gst/gstpadtemplate.h:
4915 * gst/gstelementfactory.c:
4916 * gst/gstregistryxml.c:
4917 * gst/gstregistrybinary.c:
4918 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4919 up the internal code accordingly. This shouldn't be a problem, since
4920 there is no reason external code could ever assume the string in such
4921 a structure is dynamically allocated unless it did that itself; the
4922 use of g_strdup() is private to element factories. The new code also
4923 saves some memory by putting pad template name strings into the GLib
4924 quark table instead of allocating them dynamically.
4925 Declaring this field constant fixes warnings with g++-4.2 when using
4926 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4928 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4930 * gst/gstelementfactory.c:
4931 Release static caps. Fixes #475723.
4933 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4937 Make some internal API take const gchar * instead of just
4938 gchar * to avoid compiler warnings with g++-4.2.2 when
4939 passing string constants (partially fixes #478092).
4941 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4943 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4944 A latency query fails when one of the sinks fail.
4946 * gst/gstelement.c: (gst_element_set_base_time):
4949 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4951 * gst/gstbin.c: (gst_bin_continue_func):
4952 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4953 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4954 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4956 Fix minor compilation warnings shown with Forte.
4958 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4960 * plugins/elements/gstqueue.c: (apply_buffer),
4961 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4962 Measure queue level based on the diff between head and tail timestamps
4963 even when pushing the first buffer.
4965 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4967 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4968 (gst_base_sink_event), (gst_base_sink_change_state):
4969 Sinks that don't preroll can always be queried for the latency.
4970 Don't post ASYNC start when we are not async.
4972 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4974 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4975 (gst_queue_handle_sink_event), (gst_queue_chain),
4976 (gst_queue_push_one), (gst_queue_handle_src_query),
4977 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4978 * plugins/elements/gstqueue.h:
4979 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4980 push more buffers but allow pushing of EOS and NEWSEGMENT.
4981 Add some more debug info here and there. Fixes #476514.
4983 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4985 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4986 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4987 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4988 (gst_base_sink_set_flushing), (gst_base_sink_query),
4989 (gst_base_sink_change_state):
4990 Latency query is allowed after we are prerolled. Introduce a new flag
4991 for this and stop abusing other variables.
4993 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4995 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4996 Push OOB events downstream when we get them in send_event. This allows
4997 the application to insert events in the pipeline.
4998 Add some more comments.
5000 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5002 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5003 (do_bin_latency), (gst_bin_change_state_func):
5004 * gst/gstpipeline.c: (gst_pipeline_change_state):
5005 Move latency query from GstPipeline to GstBin so that we can also
5006 use it when async-handling is enabled on bins.
5008 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5010 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5011 (gst_base_src_do_sync), (gst_base_src_change_state):
5013 Clean up the timestamping and syncing code for pseudo live sources.
5015 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5017 Patch by: Steve Fink <sphink gmail com>
5019 * docs/manual/appendix-checklist.xml:
5020 Mention less -R switch in the section about debug output (#474055).
5022 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5024 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5025 Queue can latency to the pipeline up to the configured max size in time.
5026 Report this fact in the latency query.
5028 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5030 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5032 * libs/gst/controller/gstinterpolation.c:
5033 * libs/gst/controller/gstlfocontrolsource.c:
5034 Use gst_guint64_to_gdouble() when converting from a uint64 or
5035 GstClockTime to double to fix the build on win32. Fixes #474371.
5037 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5039 * gst/gstbuffer.c: (gst_buffer_finalize):
5040 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5041 When finalizing a buffer the complete struct is filled with 0xff,
5042 thus making a use of the buffer after the final unref impossible.
5044 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5046 * tests/check/libs/controller.c: (GST_START_TEST):
5047 Use fail_unless_equals_int(a, b) instead of
5048 fail_unless_equals (a == b) to get better output on failures.
5050 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5052 * tests/check/gst/gsturi.c:
5053 Also check for the other file URI variant on win32.
5055 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5057 * gst/gsturi.c: (gst_uri_get_location):
5058 If there's no hostname, we want to return 'c:/foo/bar.txt'
5059 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5061 * tests/check/gst/gsturi.c:
5062 Unit test for the above and a few more things.
5064 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5066 * docs/design/part-live-source.txt:
5067 Add docs on how live sources should timestamp.
5069 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5070 Add some more debug info.
5071 For subclasses that are live and like to sync, add aditional startup
5072 latency to sync time and timestamps so that we timstamp according to the
5075 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5078 Also do a g_type_class_ref() for the subbuffer type in
5081 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5083 * docs/gst/gstreamer-sections.txt:
5084 * gst/gstpad.c: (gst_pad_peer_query):
5086 Add function to perform a query on the peer of a pad.
5087 API: gst_pad_peer_query()
5089 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5091 * tests/check/gst/gstsystemclock.c:
5092 Cleanup the test a little (use gst-logging and not g_message). Improve
5093 test to check if a wait reached the target.
5095 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5097 * docs/libs/gstreamer-libs-sections.txt:
5098 Add new API to docs and fix the build.
5100 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5102 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5103 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5104 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5105 (gst_base_src_get_property), (gst_base_src_do_sync):
5106 * libs/gst/base/gstbasesrc.h:
5107 Add property to make the basesrc timestamp buffers based on the current
5109 API: GstBaseSrc::do-timestamp
5110 API: gst_base_src_set_do_timestamp()
5111 API: gst_base_src_get_do_timestamp()
5113 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5115 * docs/random/release:
5116 Really make sure translations are up-to-date before
5117 a release (#465010).
5119 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5121 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5122 Always destroy the timer, also in error cases.
5124 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5126 * docs/manual/highlevel-xml.xml:
5127 Fix XML example code. Fixes #472714.
5129 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5131 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5132 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5133 (gst_base_sink_query):
5134 Protect eos and have_preroll with the OBJECT lock so we don't need to
5135 take the PREROLL lock when querying the latency. Fixes #473846.
5137 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5140 Give some log-messages a category.
5142 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5144 * gst/gststructure.c:
5145 (gst_structure_fixate_field_nearest_fraction):
5146 Fix fraction list fixation code. Take the fraction with the smallest
5147 difference with the target instead of the first one in the list.
5149 * tests/check/gst/gststructure.c: (GST_START_TEST),
5150 (gst_structure_suite):
5151 Added test to verify correct fraction list fixation behaviour.
5153 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5155 * win32/common/libgstreamer.def:
5156 Export gst_bus_add_signal_watch too.
5158 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5160 * docs/libs/gstreamer-libs-sections.txt:
5161 Add new methods to docs.
5163 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5164 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5165 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5166 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5167 * libs/gst/base/gstbasesink.h:
5168 Add ts-offset property to fine-tune the synchronisation.
5169 API: GstBaseSink::ts-offset property
5170 API: gst_base_sink_set_ts_offset()
5171 API: gst_base_sink_get_ts_offset()
5173 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5175 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5176 (gst_base_sink_init), (gst_base_sink_set_sync),
5177 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5178 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5179 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5180 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5181 (gst_base_sink_get_property), (gst_base_sink_change_state):
5182 * libs/gst/base/gstbasesink.h:
5183 Add async property to instruct the sink never to inform the parent about
5184 ASYNC state changes, update docs.
5185 Check argument with g_return_* for the public functions.
5186 API: GstBaseSink::async property
5187 API: gst_base_sink_set_async_enabled()
5188 API: gst_base_sink_is_async_enabled()
5190 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5192 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5195 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5196 (gst_base_src_default_query), (gst_base_src_wait),
5197 (gst_base_src_do_sync), (gst_base_src_change_state):
5198 Rearrange some code so that we can add support for measuring the
5201 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5203 * docs/random/ensonic/dynlink.txt:
5204 More thoughs on this.
5206 * plugins/elements/gstcapsfilter.c:
5207 Add bugzilla ticket number to FIXME comment.
5209 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5211 * docs/design/part-TODO.txt:
5212 * docs/design/part-block.txt:
5215 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5218 Revert patch which uses $(gst_headers) instead of $^ because it
5221 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5223 * tests/check/gst/gstbin.c: (GST_START_TEST):
5224 Fix leaks in the new unit test.
5226 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5229 Don't use GST_INFO before the debug system is actually initialised
5230 (shouldn't do any harm, but won't print anything either, so we can
5231 just as well remove it).
5234 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5235 compilers that don't support variadic macros (such as MSVC), should
5236 check for debug_level <= __gst_debug_min as well, since that's the
5237 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5238 inline helper functions. Should improve performance a bit, but also
5239 makes sure uses of GST_INFO et.al are ignored if the debugging
5240 system isn't initialised yet (instead of printing an assertion
5243 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5245 patch by: David Nečas <yeti@physics.muni.cz>
5248 Replace some non portable makefile constructs.
5250 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5252 * common/gtk-doc-plugins.mak:
5253 Grrrrr. Don't remove the types file on make clean.
5255 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5257 * tools/gst-launch.1.in:
5258 Add colorspace to example pipeline. Fixes #458274.
5260 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5262 * docs/random/release:
5263 The release manager should run 'make download-po' before making a
5264 release to make sure translations are up-to-date.
5270 Add some new translations.
5272 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5274 * tools/gst-launch.c: (event_loop), (main):
5275 Don´t try to do any state management when a live pipeline posts
5277 Also make the buffering string translatable.
5279 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5281 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5282 (bin_handle_async_start), (gst_bin_handle_message_func):
5284 When adding elements, insert messages into the bus of the newly added
5285 element and make sure the element is the source of the message. This
5286 allows the parent bin to intercept the message and do the
5287 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5288 messages to the app (which is not allowed).
5291 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5292 Fix testsuite so that is does not work around messages that should not
5293 have been posted in the first place.
5295 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5297 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5298 (update_degree), (gst_bin_sort_iterator_next):
5299 Fix annoying bug in the sorted iterator where a sink that is not really
5300 a sink (when it has downstream links) screwed up the iterator.
5302 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5303 Unit test to verify the fix.
5305 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5308 Add some more docs for the messages.
5310 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5311 (gst_base_sink_query):
5312 Add some more debugging.
5314 * tools/gst-launch.c: (event_loop):
5315 When interrupting, don't try to set pipeline to PAUSED twice.
5317 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5320 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5321 (bin_handle_async_start), (gst_bin_handle_message_func):
5322 Move ASYNC_START message posting to where it belongs, similar to
5324 Don't post ASYNC_START when we are in error.
5325 Post ASYNC_START when we added an async element to a bin.
5327 2007-08-14 Julien MOUTTE <julien@moutte.net>
5329 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5330 generation from vargs. Fixes #466595.
5332 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5334 * gst/gstbin.c: (gst_bin_element_set_state):
5335 Always change the state of a NO_PREROLL element even if it has ASYNC
5336 elements inside (in case of a bin).
5338 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5339 Unit test for this case.
5341 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5343 * libs/gst/check/gstbufferstraw.c:
5344 * libs/gst/check/gstcheck.h:
5345 * libs/gst/controller/gstcontroller.c:
5346 * libs/gst/controller/gstcontrolsource.h:
5347 * libs/gst/controller/gstlfocontrolsource.h:
5348 * plugins/elements/gstcapsfilter.h:
5349 * plugins/elements/gstfdsink.h:
5350 * plugins/elements/gstfdsrc.h:
5351 Add more missing docs.
5353 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5355 * gst/gststructure.c:
5356 Add Since tag to docs.
5358 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5360 * docs/gst/gstreamer-sections.txt:
5361 * gst/gststructure.c: (gst_structure_get_uint):
5362 * gst/gststructure.h:
5363 Add function to get uint from a structure.
5364 API: gst_structure_get_uint()
5366 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5368 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5369 (gst_caps_intersect):
5370 Fix proper check for simple caps.
5372 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5374 * docs/gst/Makefile.am:
5375 * docs/libs/Makefile.am:
5376 Remove cruft and do some cleanups.
5378 * docs/gst/gstreamer-docs.sgml:
5379 * docs/libs/gstreamer-libs-docs.sgml:
5380 Prepare for comming gtkdoc features (rebase against online docs).
5382 2007-08-10 Michael Smith <msmith@fluendo.com>
5384 * docs/gst/gstreamer-sections.txt:
5385 Add gst_registry_add_path to docs.
5387 2007-08-10 Michael Smith <msmith@fluendo.com>
5389 * gst/gstregistry.h:
5390 Add gst_registry_add_path, which was missing from this header.
5392 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5394 * libs/gst/controller/gstlfocontrolsource.c:
5397 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5399 * libs/gst/base/gstbasesink.c:
5400 Don't send an async_start message during downwards state change if
5401 target state is less than READY
5403 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5405 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5409 Added Hungarian translation.
5411 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5418 Updated translations.
5420 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5422 * libs/gst/controller/Makefile.am:
5423 Dist gstlfocontrolsourceprivate.h
5425 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5427 * docs/libs/gstreamer-libs.types:
5428 Don't register the enum type gst_lfo_waveform_get_type() in the
5429 .types file - only GObject derived types belong.
5431 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5433 Patch by: <arenevier at fdn dot fr>
5436 Remove comma from last element in enum to avoid compile errors when
5437 using -pendantic. Fixes #464366.
5439 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5441 * docs/design/part-TODO.txt:
5442 Add some more TODO items
5444 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5447 * gst/gstcaps.c: (gst_caps_intersect):
5448 Optimize trivial intersection case between identical caps pointers.
5450 * gst/gstelement.c: (gst_element_continue_state),
5451 (gst_element_set_state_func):
5453 Fix spelling and grammar mistakes.
5455 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5459 Update POTFILES. Fixes #461599.
5461 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5464 Fix confusing typo in debug output.
5466 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5468 reviewed by: Stefan Kost <ensonic@users.sf.net>
5470 * libs/gst/controller/Makefile.am:
5471 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5472 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5473 (gst_lfo_control_source_new),
5474 (gst_lfo_control_source_set_waveform),
5475 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5476 (gst_lfo_control_source_finalize),
5477 (gst_lfo_control_source_dispose),
5478 (gst_lfo_control_source_set_property),
5479 (gst_lfo_control_source_get_property),
5480 (gst_lfo_control_source_class_init):
5481 * libs/gst/controller/gstlfocontrolsource.h:
5482 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5483 API: Add GstLFOControlSource, a control source that gives values
5484 for specific timestamps based on several periodic waveforms.
5487 * tests/check/libs/controller.c: (GST_START_TEST),
5488 (gst_controller_suite):
5489 * docs/libs/gstreamer-libs-docs.sgml:
5490 * docs/libs/gstreamer-libs-sections.txt:
5491 * docs/libs/gstreamer-libs.types:
5492 Add documentation and unit tests for GstLFOControlSource.
5494 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5499 === release 0.10.14 ===
5501 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5504 releasing 0.10.14, "Breathing Vacuum"
5506 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5508 * gst/gstelement.c: (gst_element_class_set_details_simple):
5510 Make strings passed to gst_element_class_set_details_simple()
5511 constant, as they should be (#462752).
5513 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5515 * gst/gstbin.c: (gst_bin_change_state_func),
5516 (bin_handle_async_done), (gst_bin_handle_message_func):
5517 Don't forget about the fact that some element went ASYNC even after a
5518 resync. This makes us post the ASYNC_DONE message correctly.
5521 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5523 * gst/gstregistry.c: (gst_registry_add_feature):
5524 When replacing an existing feature in the registry, make sure to
5525 continue holding a reference until we've replaced the name string
5526 within our feature hash table. Make sure to use g_hash_table_replace
5527 instead of g_hash_table_insert to ensure the new name string is used
5528 as a key instead of the old one that we're about to free.
5531 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5533 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5534 (gst_plugin_feature_set_name):
5535 Revert patch from #459466 until after the release and we can work
5536 out exactly what the problem is (if any).
5538 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5540 * docs/gst/gstreamer-sections.txt:
5543 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5545 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5547 * docs/libs/Makefile.am:
5548 Include our build-prefix libs and includes before the generic ones to
5549 avoid linking against the installed libs when we want the build-tree
5552 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5554 Patch by: Steve Fink <sphink gmail com>
5556 * docs/pwg/building-testapp.xml:
5557 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5558 if people try to build or install the example from the plugin
5559 template against a GStreamer from package using the configure
5562 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5564 Patch by: Steve Fink <sphink gmail com>
5566 * tools/gst-inspect.1.in:
5567 Document --print-all and --print-plugin-auto-install-info command
5568 line options in man page.
5570 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5572 * docs/gst/gstreamer-sections.txt:
5573 Add docs for new api function.
5575 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5577 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5578 * gst/gstelementfactory.h:
5579 API: gst_element_factory_has_interface()
5580 Added method to check if an element factory implements a named
5583 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5586 * docs/gst/gstreamer.types.in:
5587 Another conditional doc check.
5590 * gst/gstparamspecs.h:
5591 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5596 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5598 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5599 (gst_registry_binary_load_feature),
5600 (gst_registry_binary_load_plugin),
5601 (gst_registry_binary_read_cache):
5602 Print error just once and with additional info.
5604 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5606 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5607 (helper_find_suggest), (helper_find_get_length),
5608 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5609 (gst_type_find_helper_for_buffer):
5610 Cleanup the typefindhelper code and add private doc comments.
5612 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5614 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5615 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5616 Fix capsfilter for cases where the caps set on capsfilter will provide
5617 additional information.
5620 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5622 * gst/gsttypefindfactory.c:
5623 Fix docs that recommened wrong function to use.
5625 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5627 * tools/gst-inspect.c: (print_plugin_features):
5628 Also give media-type for typefinders in element output.
5630 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5632 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5633 (gst_registry_remove_features_for_plugin_unlocked),
5634 (gst_registry_add_feature), (gst_registry_remove_feature),
5635 (gst_registry_lookup_feature_locked):
5636 * gst/gstregistry.h:
5637 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5640 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5642 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5643 (gst_plugin_feature_set_name):
5644 Avoid double memory usage for pluginfeature names. Fixes #459466.
5646 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5649 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5650 driving the pipeline may need to explicitly check for NOT_LINKED as
5651 well, since IS_FATAL doesn't cover that.
5653 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5655 * docs/pwg/advanced-types.xml:
5656 Fix typo and duplicate entry in video formats list.
5658 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5660 * libs/gst/controller/gstinterpolation.c:
5661 Also round to the nearest int when using cubic interpolation.
5663 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5665 * libs/gst/controller/gstinterpolation.c:
5666 When linearly interpolating integer types, round to the nearest int
5667 by adding 0.5. Don't do it for float/double types.
5668 Fixes the failing controller test on my machine, which is somehow
5669 rounding differently than on the buildbots.
5671 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5673 * tools/gst-plot-timeline.py:
5674 Better log parsing (categories can have -). Adjust text vs. lines, so
5675 that they span the same y-range.
5677 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5679 * docs/random/ensonic/audiobaseclasses.txt:
5680 * docs/random/ensonic/dynlink.txt:
5681 * docs/random/ensonic/profiling.txt:
5684 * docs/random/moving-plugins:
5685 Add note to use g_assert type macros.
5687 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5690 * libs/gst/check/Makefile.am:
5691 Add libm check as we use in for plugins.
5693 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5695 * gst/gstbin.c: (gst_bin_continue_func):
5696 Check that the state_cookie hasn't changed since the continue_func
5697 was scheduled. Avoids problems where the state changes back to
5698 something it shouldn't be because it was changed in the meantime.
5700 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5702 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5703 (gst_registry_binary_save_string),
5704 (gst_registry_binary_save_pad_template),
5705 (gst_registry_binary_save_feature),
5706 (gst_registry_binary_save_plugin),
5707 (gst_registry_binary_load_feature),
5708 (gst_registry_binary_load_plugin),
5709 (gst_registry_binary_read_cache):
5710 Fix memory leak. Be less verbose in the log.
5712 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5714 * tests/check/elements/.cvsignore:
5715 Add file to cvsignore as commanded.
5717 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5719 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5720 (mq_dummypad_event), (run_output_order_test):
5721 Use a GStaticMutex to protect all cases where libcheck
5722 fail_if/fail_unless macros might be called from multiple threads
5723 simultaneously to avoid errors like:
5724 "check_pack.c:107: :-1081725400:Bad message type arg"
5726 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5728 * tests/check/pipelines/stress.c: (GST_START_TEST):
5729 Make sure we set the pipeline back to the NULL state before
5730 dropping our final reference.
5732 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5734 * tests/check/elements/tee.c: (GST_START_TEST):
5735 Make the tee stress-test a little less stressful so it doesn't just
5736 time out on slow-machines, and remove a small race when it's starting
5737 up by adding a get_state() call.
5739 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5742 Avoid reading registry twice on startup. Fixes #457322.
5744 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5746 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5747 * pkgconfig/gstreamer-check.pc.in:
5748 Substitute the CFLAGS for libcheck into our .pc file too so that
5749 dependent modules will pick it up properly if libcheck is installed
5750 into some other prefix.
5752 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5755 Revert the pkg-config check for libcheck, since it pulls in the
5756 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5757 a proper solution, either from the check project, or something else.
5759 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5762 Use pkg-config to locate check.
5764 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5771 Add deprecation guards.
5773 * libs/gst/base/gstcollectpads.h:
5774 Don't document object (this is implicitly private).
5776 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5778 * gst/gststructure.c: (gst_structure_parse_value):
5779 When deserialising foo=bar without a type cast, check if it's a
5780 boolean before falling back to a string type, otherwise things like
5781 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5782 because the filtercaps end up having a signed=(string)true field,
5783 which causes problems later when intersection caps.
5785 * tests/check/gst/gststructure.c: (GST_START_TEST):
5786 Add a unit test for this.
5788 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5790 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5792 * libs/gst/controller/Makefile.am:
5793 * libs/gst/controller/gstcontroller.c:
5794 (gst_controlled_property_add_interpolation_control_source),
5795 (gst_controlled_property_new), (gst_controlled_property_free),
5796 (gst_controller_find_controlled_property),
5797 (gst_controller_new_valist), (gst_controller_new_list),
5798 (gst_controller_new), (gst_controller_remove_properties_valist),
5799 (gst_controller_remove_properties_list),
5800 (gst_controller_remove_properties),
5801 (gst_controller_set_property_disabled),
5802 (gst_controller_set_disabled), (gst_controller_set_control_source),
5803 (gst_controller_get_control_source), (gst_controller_get),
5804 (gst_controller_sync_values), (gst_controller_get_value_array),
5805 (_gst_controller_dispose), (gst_controller_get_type),
5806 (gst_controlled_property_set_interpolation_mode),
5807 (gst_controller_set), (gst_controller_set_from_list),
5808 (gst_controller_unset), (gst_controller_unset_all),
5809 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5810 * libs/gst/controller/gstcontroller.h:
5811 * libs/gst/controller/gstcontrollerprivate.h:
5812 * libs/gst/controller/gstcontrolsource.c:
5813 (gst_control_source_class_init), (gst_control_source_init),
5814 (gst_control_source_get_value),
5815 (gst_control_source_get_value_array), (gst_control_source_bind):
5816 * libs/gst/controller/gstcontrolsource.h:
5817 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5818 (gst_object_get_control_source):
5819 * libs/gst/controller/gstinterpolation.c:
5820 (gst_interpolation_control_source_find_control_point_node),
5821 (gst_interpolation_control_source_get_first_value),
5822 (_interpolate_none_get), (interpolate_none_get),
5823 (interpolate_none_get_boolean_value_array),
5824 (interpolate_none_get_enum_value_array),
5825 (interpolate_none_get_string_value_array),
5826 (_interpolate_trigger_get), (interpolate_trigger_get),
5827 (interpolate_trigger_get_boolean_value_array),
5828 (interpolate_trigger_get_enum_value_array),
5829 (interpolate_trigger_get_string_value_array):
5830 * libs/gst/controller/gstinterpolationcontrolsource.c:
5831 (gst_control_point_free), (gst_interpolation_control_source_reset),
5832 (gst_interpolation_control_source_new),
5833 (gst_interpolation_control_source_set_interpolation_mode),
5834 (gst_interpolation_control_source_bind),
5835 (gst_control_point_compare), (gst_control_point_find),
5836 (gst_interpolation_control_source_set_internal),
5837 (gst_interpolation_control_source_set),
5838 (gst_interpolation_control_source_set_from_list),
5839 (gst_interpolation_control_source_unset),
5840 (gst_interpolation_control_source_unset_all),
5841 (gst_interpolation_control_source_get_all),
5842 (gst_interpolation_control_source_get_count),
5843 (gst_interpolation_control_source_init),
5844 (gst_interpolation_control_source_finalize),
5845 (gst_interpolation_control_source_dispose),
5846 (gst_interpolation_control_source_class_init):
5847 * libs/gst/controller/gstinterpolationcontrolsource.h:
5848 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5849 API: Refactor GstController into the core controller which can take
5850 a GstControlSource for providing actual values for timestamps.
5851 Implement a interpolation control source and use this for backward
5852 compatibility, deprecate a bunch of functions that are now handled
5853 by GstControlSource or GstInterpolationControlSource.
5854 Make it possible to disable the controller completely or only for
5855 specific properties. Fixes #450711.
5856 * docs/libs/gstreamer-libs-docs.sgml:
5857 * docs/libs/gstreamer-libs-sections.txt:
5858 * docs/libs/gstreamer-libs.types:
5859 Add new functions and classes to the docs.
5860 * tests/check/libs/controller.c: (GST_START_TEST),
5861 (gst_controller_suite):
5862 * tests/examples/controller/audio-example.c: (main):
5863 Port unit test and example to the new API and add some new
5866 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5868 Patch by: Mark Nauwelaerts <manauw at skynet be>
5870 * plugins/elements/gstmultiqueue.c:
5871 (gst_multi_queue_get_internal_links), (apply_buffer),
5872 (single_queue_overrun_cb), (gst_single_queue_new):
5873 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5874 the pipeline layout can be tracked correctly. Fixes #453732.
5876 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5878 * docs/gst/Makefile.am:
5879 * docs/libs/Makefile.am:
5880 * docs/plugins/Makefile.am:
5881 Simplify --extra-dir as gtkdoc scans recursively.
5883 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5885 * tools/gst-launch.c: (main):
5886 When we got an error, there is no point in waiting for preroll when
5889 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5891 * plugins/elements/gsttee.c: (gst_tee_base_init),
5892 (gst_tee_request_new_pad), (gst_tee_release_pad),
5893 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5894 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5896 Be a lot smarter when deciding what srcpad to use for proxying
5897 the buffer_alloc. Also handle pad added/removed when doing so.
5899 Keep track of what pads we already pushed on in case we have pads
5900 added/removed while pushing. Fixes #374639
5902 * tests/check/Makefile.am:
5903 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5905 Added unit test for pad resync.
5907 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5911 Updated translations.
5913 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5915 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5919 Added new Finnish translation.
5921 2007-06-28 Wim Taymans <wim@fluendo.com>
5923 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5924 (single_queue_overrun_cb):
5925 When figuring out when a queue is filled, use our internal time estimate
5926 based on segments, just like check_full does.
5928 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5930 * gst/gstminiobject.c: (gst_mini_object_get_type):
5931 Remove 3 do-nothing methods.
5933 2007-06-27 Wim Taymans <wim@fluendo.com>
5935 Patch by: Tim Angus <tim at ngus dot net>
5937 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5938 (gst_capsfilter_set_property):
5939 Take a reference instead of a copy when setting "caps".
5940 Fix documentation to clarify this behaviour. Fixes #449414.
5942 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5944 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5945 * gst/gstplugin.c: (gst_plugin_init):
5946 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5947 * gst/gstquery.c: (gst_query_get_type):
5948 * gst/gstregistry.c: (gst_registry_init):
5949 * gst/gsturi.c: (gst_uri_handler_base_init):
5950 Remove empty instance_init() functions to save relocs and lessen the
5951 noise. Remove some of the function prototypes that are doubled by
5954 2007-06-27 Wim Taymans <wim@fluendo.com>
5956 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5958 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5959 Add peer and direction in the XML serialisation of ghostpads.
5962 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5965 Preserve useful information, thanks Tim.
5967 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5969 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5970 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5971 (gst_single_queue_push_one), (gst_multi_queue_loop),
5972 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5973 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5974 (compute_high_id), (gst_single_queue_new):
5975 * plugins/elements/gstmultiqueue.h:
5976 Take the multiqueue lock when updating the fill level so we don't get
5979 After applying a buffer or event on the src pad segment, make sure to
5980 call gst_data_queue_limits_changed() to get the data queue to unblock
5981 and check the filled state again.
5983 Rework the not-linked pad handling so the logic is that not-linked
5984 pads can push as fast as they like, but only so they never get
5985 ahead of any linked pads.
5987 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5988 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5989 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5991 Add a test to check that not-linked pads always stay behind
5996 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5998 * docs/random/release:
5999 Some updates to the release procedure.
6001 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6003 * gst/gstelementfactory.c: (__gst_element_details_clear):
6004 Microoptimization that saves stunning 80 bytes.
6006 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6008 * docs/plugins/gstreamer-plugins.args:
6009 * docs/plugins/inspect/plugin-coreelements.xml:
6010 * docs/plugins/inspect/plugin-coreindexers.xml:
6011 Update docs with caps info.
6013 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6016 Updated Italian translation.
6018 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6022 Update Vietnamese translations.
6024 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6026 * libs/gst/base/gstbasesink.c:
6027 Remove unused signal enum.
6029 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6031 * docs/gst/gstreamer-sections.txt:
6033 * gst/gstutils.c: (gst_type_register_static_full):
6034 Beef up and include the docs for gst_type_register_static_full and
6035 gst_element_class_set_details_simple and add the API keyword
6038 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6040 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6041 (update_time_level), (gst_single_queue_push_one),
6042 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6043 (single_queue_overrun_cb), (single_queue_underrun_cb),
6044 (single_queue_check_full):
6045 Fix setting max-* properties after adding queues.
6046 Use IS_FILLED for checking visible items.
6047 Signal overrun if multiple queues overrun.
6048 Add extra debug output.
6049 Patch by: Wim Taymans <wim@fluendo.com>
6051 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6053 * gst/gstelement.c: (gst_element_class_set_details_simple):
6055 * gst/gstutils.c: (gst_type_register_static_full):
6057 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6058 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6059 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6060 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6061 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6062 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6063 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6064 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6065 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6066 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6067 (apply_buffer), (gst_queue_chain):
6068 * plugins/elements/gsttee.c: (gst_tee_base_init):
6069 * plugins/elements/gsttypefindelement.c:
6070 (gst_type_find_element_base_init),
6071 (gst_type_find_element_class_init):
6072 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6073 API: add gst_type_register_static_full
6074 API: add gst_element_class_set_details_simple
6076 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6078 * docs/pwg/advanced-types.xml:
6079 Fix typo in iana.org URI.
6081 2007-06-19 Andy Wingo <wingo@pobox.com>
6083 * tests/check/pipelines/simple-launch-lines.c
6084 (test_state_change_returns): Enable pull-mode tests now that
6085 basesink has been fixed.
6087 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6088 Changed from gst_base_sink_is_prerolled, reversing the sense of
6089 the return value. Returns FALSE also if the sink is in pull mode,
6090 in which case it needs no preroll.
6091 (gst_base_sink_query, gst_base_sink_change_state): Update for
6092 needs_preroll change.
6093 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6094 chaining up, in which we return SUCCESS directly if we activated
6095 in pull mode instead of ASYNC. Involves countering an async_start
6096 message sent before chaining up; not sure if this is correct, in
6097 an ideal world we only send async-start when activating in push
6100 * tests/check/pipelines/simple-launch-lines.c
6101 (test_state_change_returns): New test, partially disabled until
6104 2007-06-19 Wim Taymans <wim@fluendo.com>
6106 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6107 (gst_multi_queue_sink_event):
6110 2007-06-19 Wim Taymans <wim@fluendo.com>
6112 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6113 (gst_bin_change_state_func), (bin_push_state_continue),
6114 (bin_handle_async_start), (bin_handle_async_done),
6115 (gst_bin_handle_message_func):
6116 Move the common code for posting state-change messages into
6118 Broadcast the state signal after we posted the messages.
6119 Mark the bin as busy when it's doing a state-change.
6120 Make sure async-start/done messages don't interfere with the bin's
6121 state when it's busy.
6122 After the state change, let the bin check which elements completed the
6123 state change while it was busy so that it can update its state.
6125 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6127 * docs/random/release:
6128 Add a note about updating the doap file to the release checklist
6130 2007-06-18 Wim Taymans <wim@fluendo.com>
6132 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6133 (gst_single_queue_push_one), (gst_multi_queue_chain),
6134 (gst_multi_queue_sink_event):
6135 Make sure we don't reference the buffer/event after we have given away
6136 ownership in the queue.
6138 2007-06-18 Wim Taymans <wim@fluendo.com>
6140 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6141 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6142 Update queue state _after_ adding the item in the queue because else we
6143 could end up being full without the element added yet.
6145 2007-06-18 Wim Taymans <wim@fluendo.com>
6147 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6148 (gst_bin_remove_func), (gst_bin_get_state_func),
6149 (gst_bin_element_set_state), (gst_bin_continue_func),
6150 (bin_push_state_continue), (bin_handle_async_start),
6151 (bin_handle_async_done), (gst_bin_handle_message_func):
6153 Immediatly commit the toplevel bin state when receiving an async-done
6154 message. This enables us to avoid spawning a thread to commit the state
6155 in some common cases and it also avoids some races.
6156 Avoid spawning a state thread when adding/removing async elements to a
6157 toplevel bin. Instead we immediatly update the bin state.
6158 Get rid of iterating all the children when getting the state in the bin
6159 because it is now always up-to-date.
6160 Fix bug where locked elements would always return _SUCCESS even it they
6161 returned NO_PREROLL before being locked.
6162 Fix the order of the state_change, async-start/done messages that was
6163 sometimes incorrect.
6164 Mark the state_dirty field as deprecated, we don't need it anymore as we
6165 are always up-to-date.
6167 * gst/gstelement.c: (gst_element_get_state_func),
6168 (gst_element_continue_state):
6169 Small debug inprovements.
6170 Return the previous element state return when nothing is pending instead
6171 of blindly returning SUCCESS.
6173 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6175 Add a whole bunch of new testcases.
6177 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6181 Update translations.
6183 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6186 Fix typo in the docs.
6188 2007-06-15 Wim Taymans <wim@fluendo.com>
6190 * docs/libs/gstreamer-libs-sections.txt:
6191 Add docs for new methods.
6193 2007-06-15 Wim Taymans <wim@fluendo.com>
6195 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6196 (gst_multi_queue_item_new):
6197 Don't use GSlice because we don't depend on >= 2.10 yet.
6199 2007-06-15 Wim Taymans <wim@fluendo.com>
6201 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6202 (update_time_level), (apply_segment), (apply_buffer),
6203 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6204 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6205 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6206 (single_queue_underrun_cb), (single_queue_check_full):
6207 Remove debug printf.
6209 2007-06-15 Wim Taymans <wim@fluendo.com>
6211 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6212 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6213 (gst_data_queue_set_flushing), (gst_data_queue_push),
6214 (gst_data_queue_pop), (gst_data_queue_drop_head),
6215 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6216 * libs/gst/base/gstdataqueue.h:
6218 Added methods to get the current levels and to inform the queue that the
6219 'full' limits changed.
6221 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6222 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6223 (gst_single_queue_flush), (update_time_level), (apply_segment),
6224 (apply_buffer), (gst_single_queue_push_one),
6225 (gst_multi_queue_item_steal_object),
6226 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6227 (gst_multi_queue_loop), (gst_multi_queue_chain),
6228 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6229 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6230 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6231 (single_queue_underrun_cb), (single_queue_check_full),
6232 (gst_single_queue_new):
6233 Keep track of time in the queue by measuring the difference between
6234 running_time on input and output. This gives more accurate results and
6235 can compensate for segments correctly.
6236 Make a queue by default only 5 buffers deep. We will now increase the
6237 buffer size depending on the filledness of the other queues.
6238 Factor out commong flush code.
6239 Make sure we don't add additional refcounts to buffers when we can avoid
6241 Propagate GstFlowReturn differently.
6242 Use GSlice for intermediate GstMultiQueueItems.
6244 Resize queues on over and underruns based on filled level of other
6246 When checking if the queue is filled, prefer to measure in time if we
6247 can and fall back to bytes when no time is known.
6249 * plugins/elements/gstqueue.c:
6252 2007-06-15 Wim Taymans <wim@fluendo.com>
6254 * libs/gst/base/gstbasetransform.c:
6255 (gst_base_transform_sink_event):
6256 Work around the brokenness of the event vmethod in basetransform. Prefer
6257 to return TRUE when the subclass returned FALSE (meaning don't forward
6260 * libs/gst/base/gstbasetransform.h:
6263 2007-06-15 Wim Taymans <wim@fluendo.com>
6265 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6266 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6267 (gst_base_src_default_query), (gst_base_src_get_range),
6268 (gst_base_src_start):
6269 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6272 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6274 * docs/pwg/advanced-types.xml:
6275 Added more formats to caps table.
6277 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6279 * tools/gst-launch.c: (main):
6280 Remove crufy code. GOption does not need this workaround.
6282 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6284 * libs/gst/controller/gstcontroller.c:
6285 (gst_controlled_property_set_interpolation_mode):
6286 Fix wrong getter for enums in controller.
6288 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6290 * libs/gst/check/gstcheck.c: (gst_check_init):
6291 Intercept criticals and warnings in the Gst-Phonon log domain, so
6292 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6295 2007-06-14 Edward Hervey <edward@fluendo.com>
6297 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6298 Since this file doesn't include "gst.h" it will not go through the
6299 macros that disable GST_LOG if debugging was disabled.
6301 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6303 * libs/gst/check/Makefile.am:
6304 * libs/gst/check/gstcheck.h:
6305 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6306 * pkgconfig/gstreamer-check.pc.in:
6307 Ugly 'fix' for the controller unit test on the p5 bot: in
6308 fail_unless_equals_float() check whether the values are 'almost
6309 equal' by allowing a small absolute error, which should be good
6310 enough for our use cases (normal numbers and values close to 0).
6311 Proper fixage left to floating point arithmetic aficionados.
6313 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6315 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6316 (gst_base_sink_render_object), (gst_base_sink_get_position):
6317 Add two breaks thats where missing.
6319 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6321 * docs/libs/gstreamer-libs-sections.txt:
6322 * libs/gst/check/gstcheck.h:
6323 API: add fail_unless_equals_float() and assert_equals_float().
6324 Add documentation for some of the macros.
6326 * tests/check/libs/controller.c: (GST_START_TEST):
6327 Use newly-added asserts.
6329 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6331 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6332 Show the caps change in the log to help spotting the case of not
6333 exactly matching caps.
6335 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6337 * docs/pwg/building-boiler.xml:
6338 Fix typos, spotted by Thijs Vermeir (#447190).
6340 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6342 * docs/plugins/tmpl/.cvsignore:
6343 Ignore file to keep the buildbots happy
6345 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6347 * docs/plugins/Makefile.am:
6348 * docs/plugins/gstreamer-plugins-docs.sgml:
6349 * docs/plugins/gstreamer-plugins-sections.txt:
6350 Pull fdsink into the docs too.
6352 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6354 * libs/gst/controller/gstinterpolation.c:
6355 Actually use the new functions with min/max checks for the trigger and
6356 none interpolation modes for get() and get_value_array() instead of
6359 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6361 * libs/gst/controller/gstcontroller.c:
6362 (gst_controlled_property_free):
6363 Unset the minimum and maximum GValues when freeing the corresponding
6364 GstControllerProperty struct.
6366 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6368 * libs/gst/controller/gstcontroller.c:
6369 (gst_controlled_property_new):
6370 * libs/gst/controller/gstcontrollerprivate.h:
6371 * libs/gst/controller/gstinterpolation.c:
6372 (gst_controlled_property_find_control_point_node),
6373 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6374 (interpolate_none_get_string_value_array),
6375 (interpolate_trigger_get),
6376 (interpolate_trigger_get_enum_value_array),
6377 (interpolate_trigger_get_string_value_array):
6378 Protect against values larger or smaller than the minimum or maximum
6379 allowed value for the property when using values that can be compared.
6381 Optimize trigger interpolator a bit by taking the last requested value
6382 into account instead of always looping through the complete list.
6384 Fix coding style a bit, everywhere else we use "return foo" instead
6387 * tests/check/libs/controller.c: (GST_START_TEST),
6388 (gst_controller_suite):
6389 Add unit test for the protection against too large or too small
6392 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6394 * docs/random/slomo/controller.txt:
6395 Add some thoughts about the future of the controller.
6397 2007-06-08 Wim Taymans <wim@fluendo.com>
6399 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6400 Don't overflow in retimestamping code.
6402 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6404 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6405 Use gst_util_guint64_to_gdouble for conversions.
6406 * win32/common/libgstreamer.def:
6407 Add new exported functions.
6409 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6412 Small docs addition.
6414 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6417 Remove that test line again.
6419 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6422 Test commit mail sending.
6424 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6427 Fix typo and test commit mail sending.
6429 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6431 * tests/examples/controller/audio-example.c:
6432 Improve comment and test commit mail sending.
6434 2007-06-07 Wim Taymans <wim@fluendo.com>
6436 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6437 (gst_bin_remove_func), (gst_bin_element_set_state),
6438 (bin_handle_async_start), (bin_handle_async_done),
6439 (gst_bin_handle_message_func):
6440 Add helper function to find messages.
6441 Generate the async-done messages together with the state change
6443 Small cleanups in handling toplevel bins.
6445 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6447 * libs/gst/base/gstdataqueue.c:
6448 * libs/gst/base/gstdataqueue.h:
6449 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6450 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6451 (gst_multi_queue_sink_event):
6452 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6453 Fix multiqueue leaking buffers and events when downstream or the
6454 queue are flushing. Make refcounting assumptions explicit and
6455 document them (shouldn't break existing code that uses it other than
6456 maybe leak miniobjects, but that already happens anyway). Add unit
6457 test for the most common flushing case. Fixes #423700.
6459 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6461 * libs/gst/controller/gstcontroller.c:
6462 Clarify docs: The get_all, get_value_array(s) functions
6463 don't modify the GObject properties.
6465 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6467 * libs/gst/controller/gstcontroller.c:
6468 (gst_controlled_property_set_interpolation_mode),
6469 (gst_controlled_property_prepend_default),
6470 (gst_controlled_property_new), (gst_controller_set_unlocked),
6471 (gst_controller_set), (gst_controller_set_from_list),
6472 (gst_controller_unset), (gst_controller_unset_all):
6473 * libs/gst/controller/gstcontrollerprivate.h:
6474 * libs/gst/controller/gstinterpolation.c:
6475 Factor out the 'set' logic into gst_controller_set_unlocked for the
6476 gst_controller_set and gst_controller_set_from_list functions.
6478 To make life of the interpolators easier always add a control point
6479 at timestamp zero with the default value.
6481 In the linear interpolator make things more obvious by better variable
6484 Implement cubic interpolation mode (by using a natural cubic spline)
6485 and map the quadratic interpolation mode to this too (as quadratic
6486 doesn't make much sense, see discussion on the list).
6488 * tests/check/libs/controller.c: (GST_START_TEST),
6489 (gst_controller_suite):
6490 Add unit test for the cubic interpolation mode and check everywhere
6491 if the interpolation mode could be set as expected.
6493 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6495 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6496 Don't use GLib-2.10 functions, we still depend on
6497 GLib-how-old-is-it-again-2.8.
6499 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6501 * docs/gst/gstreamer-sections.txt:
6505 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6506 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6507 (_gst_param_fraction_values_cmp),
6508 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6509 * gst/gstparamspecs.h:
6511 * tests/check/Makefile.am:
6512 * tests/check/gst/.cvsignore:
6513 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6514 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6515 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6516 (GST_START_TEST), (gst_param_spec_suite):
6517 API: add GstParamSpecFraction, so elements can have fraction
6518 properties without lots of painful string parsing (#444648).
6520 2007-06-05 Wim Taymans <wim@fluendo.com>
6522 * gst/gstobject.c: (gst_object_class_init):
6523 Fix signal signature.
6526 Add small clarification in the api docs.
6528 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6529 States are protected with object lock.
6531 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6534 I should probably be listed as an author by now.
6536 * docs/random/release:
6537 Update the release doc
6539 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6542 Make docs for gst_value_compare() mention return enums that
6545 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6550 === release 0.10.13 ===
6552 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6555 releasing 0.10.13, "With or without you"
6557 2007-05-25 Wim Taymans <wim@fluendo.com>
6559 * gst/gstbin.c: (bin_handle_async_done):
6560 Make sure that the child bin stops after completing the async state
6561 change so that the parent can continue the state change to PLAYING.
6564 2007-05-25 Wim Taymans <wim@fluendo.com>
6566 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6567 (unref_data), (gst_collect_pads_remove_pad),
6568 (gst_collect_pads_check_pads):
6569 Use additional refcounting to avoid crashes when dynamically adding and
6570 removing pads. Fixes #420206.
6572 2007-05-24 Wim Taymans <wim@fluendo.com>
6574 * tools/gst-launch.c: (event_loop):
6575 When buffering goes from a two digit to a single digit number, make sure
6576 to remove the old second digit by writing a blank over it.
6578 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6580 * libs/gst/base/gstdataqueue.c:
6581 Eliminate tabs and trailing comma in enum list; fix some typos.
6583 2007-05-24 Wim Taymans <wim@fluendo.com>
6585 * tests/check/gst/gstbin.c: (GST_START_TEST):
6586 Allow refcount of 3 and 4 because some state thread might still be busy
6589 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6591 * plugins/elements/Makefile.am:
6592 * plugins/elements/gstmultiqueue.h:
6593 * plugins/elements/gstqueue.h:
6594 These are not installed headers, no need for padding.
6596 2007-05-24 Wim Taymans <wim@fluendo.com>
6598 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6599 (gst_bin_continue_func):
6600 Enable latency for next release.
6601 Restore STATE_LOCK around recalc_state that was left out during the
6602 rewrite and could result in racy behaviour when _get_state and
6603 recalc_state are run concurrently. See #440463.
6605 2007-05-23 Wim Taymans <wim@fluendo.com>
6607 * tests/check/gst/gstsystemclock.c: (store_callback),
6609 Improve test_async_order to also work when both timers are already
6610 expired when we get scheduled to check it.
6612 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6614 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6615 (gst_bin_set_property), (gst_bin_get_property),
6616 (gst_bin_remove_func), (gst_bin_handle_message_func):
6618 'private' is a c++ keyword, let's not use that in header files,
6619 otherwise c++ compilers will throw a tantrum.
6621 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6623 * plugins/elements/gstelements.c:
6624 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6625 (gst_file_sink_get_current_offset):
6626 * plugins/indexers/gstindexers.c: (plugin_init):
6627 Use #ifdef for HAVE_XYZ for consistency.
6629 * tests/check/Makefile.am:
6630 * tests/check/elements/.cvsignore:
6631 * tests/check/elements/filesink.c: (setup_filesink),
6632 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6633 Add some unit tests for filesink.
6635 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6637 Patch by: Mark Nauwelaerts <manauw at skynet be>
6639 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6640 (gst_file_sink_query), (gst_file_sink_do_seek),
6641 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6642 * plugins/elements/gstfilesink.h:
6643 Fix position reporting; rename data_written member to current_pos to
6644 reflect its real meaning (fixes #412648).
6646 2007-05-22 Edward Hervey <edward@fluendo.com>
6648 * docs/gst/gstreamer-sections.txt:
6649 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6650 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6651 (gst_bin_remove_func), (gst_bin_handle_message_func):
6653 Add a property for bins that handle the state change of their childs.
6656 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6658 * libs/gst/controller/gstinterpolation.c:
6659 Use an array of the correct type when using _get_value_array with
6660 linear interpolation.
6662 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6664 * gst/gstelement.c (gst_element_requires_clock,
6665 gst_element_provides_clock, gst_element_request_pad,
6666 gst_element_class_set_details, gst_element_class_set_details_simple,
6667 gst_element_default_send_event, gst_element_abort_state,
6668 gst_element_continue_state, gst_element_set_state,
6669 gst_element_set_state_func, iterator_activate_fold_with_resync):
6670 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6671 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6672 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6673 gst_pad_get_range, gst_pad_pull_range):
6674 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6675 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6676 GstPadActivateModeFunction, GstPadChainFunction,
6677 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6678 GstPadFixateCapsFunction, GstPadTemplate):
6679 * gst/gstpipeline.c (gst_pipeline_change_state,
6680 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6681 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6682 gst_pipeline_get_delay):
6683 Whitespace and docs fixes.
6685 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6687 * libs/gst/controller/gstinterpolation.c:
6688 (interpolate_trigger_get_enum_value_array),
6689 (interpolate_trigger_get_string_value_array):
6690 Add support for retrieving value arrays when using the trigger
6693 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6695 * libs/gst/controller/gstcontroller.c:
6696 (gst_controller_get_value_array):
6697 * libs/gst/controller/gstcontroller.h:
6698 Clarify the docs of gst_controller_get_value_array(): The array where
6699 the values should be written to must be allocated as there seems to be
6700 no way to get the size of a random GType. This doesn't change any
6701 behaviour. Also fix some typos all over the place and remove an unused,
6702 commented function that is not necessary as g_object_set() could be
6704 * tests/check/libs/controller.c: (GST_START_TEST),
6705 (gst_controller_suite):
6706 Add unit test for gst_controller_get_value_array().
6708 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6710 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6712 Disable part of the gst_buffer_try_new_and_alloc test, because
6713 it can happily succeed on 64-bit systems where there's more address
6716 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6718 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6719 Add unit test for the improved caps checking from bug #421543.
6721 2007-05-21 Wim Taymans <wim@fluendo.com>
6723 * docs/design/part-synchronisation.txt:
6726 * gst/gstbin.c: (gst_bin_query):
6727 * plugins/elements/gstqueue.c: (apply_segment):
6733 2007-05-21 Wim Taymans <wim@fluendo.com>
6735 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6736 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6737 (gst_pad_configure_src):
6738 Added simple version of improved caps checking. It was previously
6739 assumed that a setcaps function would check the validity of the caps but
6740 people prefer us to check caps against the template automatically.
6743 2007-05-21 Wim Taymans <wim@fluendo.com>
6745 * libs/gst/base/gstbasetransform.h:
6746 Fix macro for locking/unlocking the transform lock.
6748 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6750 * docs/plugins/tmpl/.cvsignore:
6753 2007-05-18 Edward Hervey <edward@fluendo.com>
6755 * plugins/elements/gstqueue.c: (gst_queue_loop):
6756 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6757 for the subtle art of warning a potentially blocking thread that it
6758 should check the source pad return value, and relay the information
6761 2007-05-18 Edward Hervey <edward@fluendo.com>
6763 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6764 Release the queue lock !
6766 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6768 * docs/libs/gstreamer-libs-sections.txt:
6769 Add the two new controller functions to the appropiate places.
6771 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6773 reviewed by: Stefan Kost <ensonic@users.sf.net>
6775 * libs/gst/controller/gstcontroller.c:
6776 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6777 (_gst_controller_get_property), (_gst_controller_set_property),
6778 (_gst_controller_init), (_gst_controller_class_init):
6779 * libs/gst/controller/gstcontroller.h:
6780 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6781 (gst_object_get_control_rate), (gst_object_set_control_rate):
6782 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6783 Add API that provides sync suggestion timestamps for elements that
6784 call gst_object_sync_values() from which those elements can subdivide
6785 their processing loop to get the best results for the controlled
6786 properties. For now it just suggests last_sync + control_rate as
6787 new timestamp but this will be improved in the future.
6789 While doing that change the control-rate property to a GstClockTime
6790 from guint and change it's meaning from samples to nanoseconds as
6791 the GstController doesn't know anything about sampling rate. Strictly
6792 speaking this breaks ABI but as the control-rate property didn't do
6793 anything in the past and as such couldn't be used this should be no
6796 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6798 reviewed by: Stefan Kost <ensonic@users.sf.net>
6800 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6801 (gst_controller_unset_all):
6802 * libs/gst/controller/gstcontrollerprivate.h:
6803 * libs/gst/controller/gstinterpolation.c:
6804 (gst_controlled_property_find_control_point_node):
6805 Save last synced value from the list to continue searching from there
6806 in future syncs. This speeds everything up a bit.
6808 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6810 reviewed by: Stefan Kost <ensonic@users.sf.net>
6812 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6813 (gst_control_point_find), (gst_controlled_property_new),
6814 (gst_control_point_free), (gst_controlled_property_free),
6815 (gst_controller_set), (gst_controller_set_from_list),
6816 (gst_controller_unset), (gst_controller_unset_all),
6817 (gst_controller_sync_values):
6818 * libs/gst/controller/gstcontroller.h:
6819 * libs/gst/controller/gstcontrollerprivate.h:
6820 * libs/gst/controller/gstinterpolation.c:
6821 (gst_controlled_property_find_control_point_node),
6822 (interpolate_none_get), (interpolate_trigger_get):
6823 Add a new private GstControlPoint struct which "inherits" from
6824 GstTimedValue to allow different interpolators to store internal
6825 values next to each control point. From the outside everything is
6826 still a GstControlPoint so we don't loose binary compatibility.
6827 Also fixup all the GValue handling to not leak GValues or list nodes.
6828 * tests/check/libs/controller.c: (GST_START_TEST):
6829 Free the list nodes and GValues in the controller_misc test.
6831 2007-05-17 Edward Hervey <edward@fluendo.com>
6836 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6838 * gst/gstplugin.c: (gst_plugin_load_file):
6839 If we fail to load a plugin because of unresolved symbols or missing
6840 libraries and spew a warning to stderr, we may just as well mention
6841 which plugin it was that failed to load.
6843 2007-05-13 David Schleef <ds@schleef.org>
6845 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6846 handles the case when ENABLE_GTK_DOC is false, and installs
6847 the prebuilt documentation. So gtk-doc subdirs are
6848 unconditionally enabled. Fixes: #349099.
6850 2007-05-13 David Schleef <ds@schleef.org>
6852 * gst/gstutils.h: Reword some documentation.
6854 2007-05-12 David Schleef <ds@schleef.org>
6856 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6857 do anything with the passed "module" parameter, so remove it.
6858 Allows removal of additional vestigal code.
6860 2007-05-12 David Schleef <ds@schleef.org>
6863 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6864 Switch to using g_stat() because it's more portable.
6866 2007-05-12 David Schleef <ds@schleef.org>
6869 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6870 parsing for embedded systems.
6871 * gst/gstelementfactory.c:
6872 Allow gst_element_register() to be called with plugin==NULL.
6873 Did nobody notice that static elements were broken?
6875 2007-05-12 Wim Taymans <wim@fluendo.com>
6877 * tools/gst-launch.c: (event_loop):
6878 Give more interesting info when buffering starts and stops.
6879 Fix case where buffering starts but we fail to update the buffering flag
6880 because the target state is not PLAYING.
6882 2007-05-12 Wim Taymans <wim@fluendo.com>
6884 * plugins/elements/gstqueue.c: (gst_queue_init),
6885 (gst_queue_finalize), (update_time_level), (apply_segment),
6886 (apply_buffer), (gst_queue_locked_flush),
6887 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6888 (gst_queue_handle_sink_event), (gst_queue_chain),
6889 (gst_queue_push_one), (gst_queue_loop):
6890 * plugins/elements/gstqueue.h:
6891 Refactor an cleanup queue a bit.
6892 Do better time level calculations that also work when the srcpad is not
6894 Remove some unneeded debug lines.
6896 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6897 Added testcase for time level measurement.
6898 Try to make some stuff more racefree.
6900 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6902 * gst/gsturi.c: (gst_element_make_from_uri):
6903 Don't leak plugin feature.
6905 * tests/check/Makefile.am:
6906 * tests/check/gst/.cvsignore:
6907 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6908 Add brain-dead unit test.
6910 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6912 Patch by: Jeroen Wouters <woutersj at gmail com>
6914 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6915 Treat protocol strings in a case-insensitive way (#437563).
6917 2007-05-11 Michael Smith <msmith@fluendo.com>
6919 * gst/gstplugin.c: (gst_plugin_load_file):
6920 * gst/gstregistry.c: (gst_registry_scan_path_level):
6921 Don't print a g_warning for any failure to load a shared object.
6922 Instead, push this down into gstplugin.c, and warn _only_ if we
6923 failed to open the module (i.e. failure to link).
6924 Avoids warnings on normal, working, non-plugin .so files.
6926 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6928 * gst/gstplugin.c (gst_plugin_load_file):
6929 * gst/gstregistry.c (GST_CAT_DEFAULT,
6930 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6931 Print a g_warning if there was an error when loading a plugins during
6932 registry scan. The shuld help beginners starting with gst-plugin
6935 2007-05-10 Wim Taymans <wim@fluendo.com>
6937 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6938 (update_time_level), (gst_queue_locked_flush),
6939 (gst_queue_handle_sink_event), (gst_queue_chain),
6940 (gst_queue_push_one), (gst_queue_loop):
6941 * plugins/elements/gstqueue.h:
6942 Be smarter when calculating the current amount of data in the queue by
6943 measuring the difference between start and end timestamps (in running
6944 time) inside the queue. Fixes #432876.
6945 API: GstQueue::pushing to notify elements that we are pushing data again
6946 since the running signal is rather broken for this purpose.
6948 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6950 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6951 gst_queue_base_init, gst_queue_init):
6954 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6956 * win32/common/libgstreamer.def:
6957 Add new exported functions.
6958 * win32/vs6/grammar.dsp:
6959 Use grammar pre-generated files.
6961 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6963 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6966 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6968 * gst/gstutils.c: (gst_parse_bin_from_description):
6970 Maintain API and ABI when --disable-parse is used. Now that
6971 we have an appropriate error code, we can just return NULL and the
6972 appropriate error when gst_parse_launch() is used despite it having
6973 been disabled (#342564).
6975 * tests/check/Makefile.am:
6976 * tests/check/pipelines/.cvsignore:
6977 * tests/check/pipelines/parse-disabled.c:
6978 Make sure these functions exist and return NULL plus a GError when
6979 --disable-parse is used.
6981 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6983 * tests/benchmarks/complexity.c: (main):
6984 * tests/benchmarks/mass-elements.c: (main):
6985 Set a good example and don't leak messages.
6987 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6989 * docs/gst/Makefile.am:
6990 * docs/libs/Makefile.am:
6991 Correct fixxrefs options.
6993 * docs/plugins/Makefile.am:
6994 * docs/plugins/gstreamer-plugins-docs.sgml:
6995 * docs/plugins/gstreamer-plugins-sections.txt:
6996 * plugins/elements/Makefile.am:
6997 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6998 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6999 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7000 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7001 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7002 _GstCapsFilterClass, trans_class):
7003 * plugins/elements/gstelements.c (name, rank, type, _elements):
7004 * plugins/elements/gstidentity.c
7005 (gst_identity_check_imperfect_timestamp,
7006 gst_identity_check_imperfect_offset):
7007 Document capsfilter and add doc-blurb to identity.
7009 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7011 * libs/gst/controller/gstcontroller.c:
7012 (gst_controlled_property_set_interpolation_mode):
7013 * libs/gst/controller/gstinterpolation.c:
7014 Don't crash if someone tries to set an interpolation mode that
7015 is invalid or that isn't supported yet. Fixes #422295.
7017 * tests/check/libs/controller.c: (GST_START_TEST),
7018 (gst_controller_suite):
7019 Add a test case for the above.
7021 2007-05-03 Edward Hervey <edward@fluendo.com>
7023 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7024 Properly set the last_stop position on GstSegment. This will only happen
7025 if there is a buffer to push out.
7027 2007-05-03 Wim Taymans <wim@fluendo.com>
7029 * libs/gst/base/gstbasetransform.c:
7030 (gst_base_transform_buffer_alloc):
7031 always_in_place does not mean that the sink and source caps are the
7032 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7034 2007-05-03 Wim Taymans <wim@fluendo.com>
7036 * docs/libs/gstreamer-libs-sections.txt:
7037 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7038 (gst_base_src_default_query), (gst_base_src_get_range):
7039 * libs/gst/base/gstbasesrc.h:
7040 API: gst_base_src_query_latency(). Added method so that subclasses can
7041 easily get the latency values of the base source class.
7043 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7045 * tools/gst-inspect.c (print_implementation_info):
7048 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7050 * tools/Makefile.am:
7051 * tools/gst-launch.1.in:
7052 Don't create a customised man page based on the host architecture,
7053 describe the default registry path generically. That way the man
7054 page is the same for all architectures and packagers have one
7055 multilib issue less to deal with. Fixes #434926.
7057 2007-05-02 Wim Taymans <wim@fluendo.com>
7060 Fix documentation as spotted by rg on IRC.
7062 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7065 Improve docs for gst_element_{link,unlink}.
7067 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7069 * docs/design/part-events.txt:
7070 * docs/design/part-overview.txt:
7074 * libs/gst/base/gstbasesink.c:
7075 Typo fixes; minor docs addition.
7077 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7079 * docs/gst/gstreamer-sections.txt:
7080 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7081 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7083 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7084 or src that supports a given URI protocol exists.
7086 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7088 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7089 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7090 Set the location to NULL if "file://" is set as URI. Otherwise
7091 some random previous URI would still be set if "file://" is
7092 set on an already used filesink/filesrc.
7094 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7096 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7097 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7098 Special case the "file://" URI as as this is used by some
7099 applications to test with gst_element_make_from_uri if there's
7100 an element that supports the URI protocol.
7101 Also move the g_path_is_absolute() check for the location part
7102 of the URI to also check this for "file://localhost/bla" URIs.
7104 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7106 * docs/gst/gstreamer-sections.txt:
7107 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7109 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7111 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7113 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7115 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7116 (gst_registry_binary_load_pad_template),
7117 (gst_registry_binary_load_plugin),
7118 (gst_registry_binary_read_cache):
7119 * gst/gstregistrybinary.h:
7120 Implement no-mmap alternative for registry reading. Do code cleanups.
7121 Add more comments about avoiding strdups for all text data. Comments
7124 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7126 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7127 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7128 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7129 Comment structs and reformat to fix the build (that stuff should go
7130 into a priv. header).
7132 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7134 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7135 (gst_registry_binary_load_feature):
7136 * gst/gstregistrybinary.h:
7137 Refactor so that we can implement multiple features. Add support for
7138 TypeFindFactory features.
7140 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7142 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7145 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7147 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7149 * gst/gstbin.c: (gst_bin_element_set_state),
7150 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7151 (bin_handle_async_done), (gst_bin_handle_message_func):
7152 Fix build with --gst-disable-gst-debug
7154 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7156 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7157 Make sure streaming has finished before calling the ::stop() vfunc,
7158 since that vfunc might clear state which is being used in the
7159 streaming thread. This fixes a race that caused crashes in
7160 audioresample when shutting down a pipeline (#420106).
7162 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7164 * docs/gst/gstreamer-sections.txt:
7165 That was one byte missing.
7167 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7170 * docs/gst/gstreamer-sections.txt:
7172 * gst/gstconfig.h.in:
7173 * gst/gstobject.c: (gst_object_class_init),
7174 (gst_signal_object_class_init):
7176 2nd attempt to have a xml-less build as a joined effort of #413123
7179 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7181 * docs/design/draft-tagreading.txt:
7182 Added open issues/thoughts to draft.
7184 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7186 * gst/parse/grammar.tab.pre.c:
7187 * gst/parse/grammar.tab.pre.h:
7188 * gst/parse/lex._gst_parse_yy.pre.c:
7189 Update the prebuild parser sources.
7191 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7193 * gst/parse/Makefile.am:
7194 And now fix the building of the flex sources. Now everything should
7197 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7199 * gst/parse/Makefile.am:
7200 Now hopefully fix the build failures by setting proper rule
7201 dependencies and moving instead of copying.
7203 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7205 * tests/benchmarks/complexity.gnuplot:
7206 * tests/benchmarks/complexity.scm:
7207 * tests/benchmarks/mass-elements.gnuplot:
7208 * tests/benchmarks/mass-elements.scm:
7209 Total licensification.
7211 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7213 * gst/parse/Makefile.am:
7214 Fix the build by correcting the rule that gave wrong files to flex.
7216 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7218 * tests/benchmarks/complexity.c:
7219 * tests/benchmarks/mass-elements.c:
7220 Change licence to LGPL as granted by Benjamin and Andy.
7222 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7224 * gst/parse/Makefile.am:
7225 Add correct grammar.tab.h dependency if compiling without new enough
7226 flex. Fixes #431150.
7228 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7230 * gst/parse/Makefile.am:
7231 Fix typo and use outdated sources if the flex/bison sources are newer
7232 than the pregenerated ones but flex is too old. Print a warning in
7233 that case. This should fix the build on the build bot.
7235 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7237 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7238 * gst/parse/Makefile.am:
7239 * gst/parse/grammar.y:
7240 * gst/parse/parse.l:
7241 Make the parser reentrant and recursively callable. This requires flex
7242 >= 2.5.31, for older versions pregenerated sources are used as we
7243 can't bump the build dependency. Finally fixes #349180.
7245 * gst/gstparse.c: (gst_parse_launch):
7246 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7249 * docs/gst/Makefile.am:
7250 * docs/gst/Makefile.am:
7251 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7252 (__gst_parse_strfree), (__gst_parse_link_new),
7253 (__gst_parse_link_free), (__gst_parse_chain_new),
7254 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7255 (gst_parse_element_set), (gst_parse_free_link),
7256 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7257 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7258 (_gst_parse_launch):
7259 * gst/parse/grammar.tab.pre.h:
7260 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7261 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7262 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7263 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7264 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7265 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7266 (_gst_parse_yypop_buffer_state),
7267 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7268 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7269 (yy_fatal_error), (_gst_parse_yyget_extra),
7270 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7271 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7272 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7273 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7274 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7275 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7276 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7277 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7278 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7279 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7280 (_gst_parse_yyfree):
7281 If the installed flex version is too old use pre-generated parser
7282 sources. These pre-generated parser sources are always updated when
7283 the actual flex/bison sources change but require everybody who wants
7284 to change something in the parser to have flex >= 2.5.31 installed.
7286 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7288 * common/m4/gst-gettext.m4:
7289 * gst/gst-i18n-lib.h:
7290 Make --disable-nls to work
7292 2007-04-17 Wim Taymans <wim@fluendo.com>
7294 * gst/gstconfig.h.in:
7295 Revert previous change that broke the build.
7297 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7301 * gst/gstconfig.h.in:
7302 Drop libxml2 dependency when building with
7303 --enable-binary-registry --disable-loadsave
7305 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7307 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7308 (gst_registry_binary_read_cache):
7309 * gst/gstregistrybinary.h:
7310 Remove unnecessary <sys/mman.h> include which broke the win32 build
7311 with MingW; move includes from header file to .c file, even if the
7312 header file isn't installed; use g_strerror() where UTF-8 strings
7313 are expected, such as in GST_DEBUG messages.
7315 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7317 * docs/libs/gstreamer-libs-sections.txt:
7318 Remove bogus addition for API I didn't end up keeping.
7320 * libs/gst/base/gstbasesrc.h:
7321 Mention Since: 0.10.13 in the documentation.
7323 Add the API keyword to the previous ChangeLog entry.
7325 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7327 * docs/libs/gstreamer-libs-sections.txt:
7328 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7329 (gst_base_src_default_prepare_seek_segment),
7330 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7331 * libs/gst/base/gstbasesrc.h:
7332 Allow basesrc derived classes to execute seeks in other formats
7333 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7334 to prepare the GstSegment in any format that their perform_seek method
7335 will be able to understand. The default implementation provides the
7336 old behaviour of attempting to convert the seek offsets to the
7337 configured native format.
7339 API: basesrc::prepare_seek_segment vmethod.
7341 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7343 * gst/gstelement.c: (gst_element_get_state_func):
7344 Don't output the same debug statement twice.
7346 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7347 (gst_adapter_peek), (gst_adapter_take_buffer):
7348 Optimise the case where we have buffers at the head of the queue that
7349 can be joined quickly (because they're contiguous sub-buffers) by
7350 merging them together rather than copying data out into new memory.
7352 * gst/parse/grammar.y:
7353 * tests/check/pipelines/parse-launch.c:
7354 Fix a leak in an error path for parse_launch, and add a check
7355 for it to the testsuite.
7357 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7359 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7360 Don't deadlock when releasing a pad - gst_pad_set_active may try
7361 and take the multiqueue lock too.
7363 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7365 * gst/gsterror.c: (_gst_core_errors_init):
7367 API: add GST_CORE_ERROR_DISABLED (#392804).
7369 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7371 * docs/faq/gst-uninstalled:
7372 don't get empty paths on the PATH variables
7373 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7374 Don't format for the uncommon terminal width of 84 characters.
7376 2007-04-06 Wim Taymans <wim@fluendo.com>
7378 * gst/gstpipeline.c: (reset_stream_time),
7379 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7380 Only try to select a different pipeline clock when we went back to
7381 PAUSED and not when we merely got flushed.
7383 2007-04-05 Michael Smith <msmith@fluendo.com>
7385 * tools/gst-launch.1.in:
7386 fractions are better supported in gstreamer than ractions, so
7387 suggest using those.
7389 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7391 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7395 Added Danish translation.
7397 2007-04-05 Wim Taymans <wim@fluendo.com>
7399 * libs/gst/base/gstbasesink.c:
7400 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7401 Fix leak caused when refusing newsegment after EOS.
7403 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7404 (gst_fake_sink_init), (gst_fake_sink_set_property),
7405 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7406 (gst_fake_sink_render), (gst_fake_sink_change_state):
7407 * plugins/elements/gstfakesink.h:
7408 Add num-buffers property to make the element generate EOS after a
7409 configurable amount of buffers.
7410 API: fakesink::num-buffers property.
7412 * tests/check/elements/fakesink.c: (GST_START_TEST),
7414 Fix GstBus leak in test.
7415 Test for fakesink num-buffers.
7417 2007-04-05 Wim Taymans <wim@fluendo.com>
7419 * libs/gst/base/gstbasesink.c:
7420 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7421 (gst_base_sink_change_state):
7422 Don't accept anything after an EOS, return UNEXPECTED instead.
7424 * tests/check/elements/fakesink.c: (GST_START_TEST),
7426 Unit test for new EOS behaviour.
7428 2007-04-05 Wim Taymans <wim@fluendo.com>
7430 * gst/gstelement.c: (gst_element_get_request_pad):
7431 Make padtemplates also work when they don't contain %s or %d.
7433 2007-04-05 Wim Taymans <wim@fluendo.com>
7435 * docs/gst/gstreamer-sections.txt:
7436 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7437 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7439 Improve _adjust_unlocked() so that it overflows less.
7440 Add gst_clock_unadjust_unlocked to convert from external time to
7441 internal time based on calibration.
7442 Add some more debug.
7443 API: GstClock::gst_clock_unadjust_unlocked()
7445 2007-04-03 Wim Taymans <wim@fluendo.com>
7447 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7449 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7450 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7451 when releasing sink pad. Fixes #425400.
7453 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7455 * docs/random/ensonic/dynlink.txt:
7456 More work on proposal for new core api.
7458 * docs/libs/gstreamer-libs-sections.txt:
7459 * libs/gst/base/gstbasetransform.h:
7460 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7462 * libs/gst/controller/gstcontroller.c:
7463 (on_object_controlled_property_changed),
7464 (gst_controller_sync_values),
7465 (gst_controller_set_interpolation_mode):
7466 * libs/gst/controller/gstcontroller.h:
7467 Less verbose logging add docs for unimplemented parts and correctly
7468 return when using unavailable parts.
7470 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7472 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7473 Move all the debug to the CLOCK category, and associate it with
7476 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7478 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7479 Make take_buffer a bit quicker by removing redundant checks
7480 caused by calling gst_adapter_take.
7482 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7484 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7487 * tests/check/Makefile.am:
7488 * tests/check/elements/.cvsignore:
7489 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7490 (GST_START_TEST), (multiqueue_suite):
7491 Add some dead simple unit tests for the 'multiqueue' element
7492 (some bits don't work yet and are disabled for now).
7494 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7496 * gst/gstelement.c: (gst_element_get_request_pad),
7497 (gst_element_class_get_request_pad_template):
7498 Make gst_element_get_request_pad() create request pads only for
7499 request pad templates and not for, say, sometimes pad templates.
7501 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7503 * docs/design/draft-klass.txt:
7504 Add example that needs more thinking.
7506 * docs/design/draft-missing-plugins.txt:
7507 More thoughts about wrapper plugins.
7509 * docs/random/ensonic/embedded.txt:
7510 * docs/random/ensonic/profiling.txt:
7513 2007-03-25 Wim Taymans <wim@fluendo.com>
7515 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7516 (gst_base_src_loop):
7517 Only push the segment events in the PLAYING state for live sources.
7519 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7521 * gst/gstpipeline.c: (gst_pipeline_change_state):
7522 Modify the clock distribution path in PAUSED->PLAYING so that we
7523 never attempt to choose a new clock unless we're actually leaving
7524 the PAUSED state for the first time. This prevents choosing a
7525 different clock when the state_change gets called for a 2nd time due
7526 to some element doing an async state change.
7528 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7530 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7531 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7532 (gst_pad_chain_unchecked), (gst_pad_push):
7533 Revert last commit. This needs some more thoughts.
7535 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7537 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7538 (gst_pad_chain_unchecked), (gst_pad_push):
7539 Check in set_caps if the caps are compatible with the pad and remove
7540 two functions that are redundant now. Fixes #421543.
7542 2007-03-22 Wim Taymans <wim@fluendo.com>
7544 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7545 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7546 Unref some more to make valgrind happy.
7548 2007-03-22 Wim Taymans <wim@fluendo.com>
7550 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7551 (gst_system_clock_id_wait_jitter),
7552 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7553 Fix anoying regression that survived a few releases. When adding an
7554 async entry while blocking on a sync entry, the sync entry will unblock
7555 but still be busy, so it should continue to wait instead of returning
7557 Add some comments here and there.
7559 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7560 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7561 Add testcase for this.
7563 2007-03-22 Wim Taymans <wim@fluendo.com>
7565 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7566 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7567 WRONG_STATE and can silently pause the task. All other cases should
7570 2007-03-22 Wim Taymans <wim@fluendo.com>
7572 Patch by: Ville Syrjala <syrjala at sci dot fi>
7574 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7575 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7578 2007-03-21 Michael Smith <msmith@fluendo.com>
7580 * docs/pwg/advanced-types.xml:
7581 Fix some errors in the typefinding docs pointed out on irc.
7583 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7585 * libs/gst/base/gstbasesrc.c:
7586 Clarify FIXME comment in the face of having added unlock_stop()
7588 2007-03-21 Wim Taymans <wim@fluendo.com>
7590 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7591 Prepare for release where we warn against possible app breakage in the
7592 case of live pipelines along with an env var to enable/disable live
7593 preroll mode (GST_COMPAT=[no-]live-preroll).
7595 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7597 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7598 So we should use correct constants for checking for None offset.
7600 2007-03-20 Wim Taymans <wim@fluendo.com>
7602 * docs/design/part-block.txt:
7603 Mention the fact that the newly switched element should be set to at
7606 2007-03-20 Wim Taymans <wim@fluendo.com>
7609 Fix compilation with registry disabled as spotted by Saur.
7611 2007-03-20 Wim Taymans <wim@fluendo.com>
7613 Patch by: Olivier Crete <tester at tester dot ca>
7615 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7616 Look at the pending state too when syncing the element state to the
7617 parent. Fixes #420133.
7619 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7621 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7622 (gst_base_sink_change_state):
7623 * libs/gst/base/gstbasesink.h:
7624 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7625 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7626 (gst_base_src_deactivate):
7627 * libs/gst/base/gstbasesrc.h:
7628 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7629 for sub-classes to correctly clear any state they set trying to
7630 unlock, such as clearing out unlock commands from a command fd.
7631 API: basesrc::unlock_stop
7632 API: basesink::unlock_stop
7634 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7635 (gst_fd_sink_render), (gst_fd_sink_unlock),
7636 (gst_fd_sink_unlock_stop):
7637 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7638 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7639 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7641 Implement unlock_stop in fdsrc and fdsink.
7642 Implement seeking in fdsrc when a seekable fd is passed, as in
7643 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7645 2007-03-19 Wim Taymans <wim@fluendo.com>
7647 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7649 * gst/gstelement.c: (gst_element_class_init):
7650 Fix pad-added and pad-removed signal signatures so that the pad type is
7651 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7653 2007-03-19 Wim Taymans <wim@fluendo.com>
7655 * docs/gst/gstreamer-sections.txt:
7656 Add new element field and method.
7658 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7659 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7660 (gst_bin_recalc_state), (gst_bin_get_state_func),
7661 (gst_bin_element_set_state), (gst_bin_change_state_func),
7662 (gst_bin_continue_func), (bin_bus_handler),
7663 (bin_push_state_continue), (bin_handle_async_start),
7664 (bin_handle_async_done), (gst_bin_handle_message_func):
7665 Make async state changes a bit smarter by using new ASYNC_START and
7666 ASYNC_DONE messages. This reduces the number of times we run the state
7667 recalculation thread.
7668 Don't change state of element with a pending ASYNC_START message.
7669 Deprecate STATE_DIRTY messages.
7671 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7672 (gst_element_get_state_func), (gst_element_continue_state),
7673 (gst_element_lost_state), (gst_element_set_state_func),
7674 (gst_element_change_state):
7676 Keep the state that was last set by the app in a new element field.
7677 Don't allow state changes when handling an element event.
7678 Post ASYNC_START and ASYNC_DONE messages.
7679 Change lost_state so that we go to PAUSED and wait for the parent to set
7680 us to PLAYING again (so latency calculation can be performed)
7681 Export gst_element_change_state() method so that subclasses can use it.
7682 API: gst_element_change_state()
7683 API: GST_STATE_TARGET
7685 * gst/gstpipeline.c: (gst_pipeline_class_init),
7686 (reset_stream_time), (gst_pipeline_change_state),
7687 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7688 Using the new ASYNC_START message we can reset the base_time when
7689 needed. This can then be used to implement base_time redistribution in
7690 flushing seeks so that we can remove the explicit seek handling.
7691 Perform latency query and configuration when going to PLAYING.
7693 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7694 (gst_base_sink_query), (gst_base_sink_change_state):
7695 Post new ASYNC_START/ASYNC_DONE messages.
7697 * tests/check/generic/sinks.c: (GST_START_TEST):
7698 Fix test because the bin will not set the async element to PLAYING right
7701 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7702 Make the message check a little stronger.
7703 Handle ASYNC messages.
7705 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7706 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7707 Expect ASYNC_DONE messages.
7709 2007-03-19 Wim Taymans <wim@fluendo.com>
7711 * docs/gst/gstreamer-sections.txt:
7712 * gst/gstmessage.c: (gst_message_new_async_start),
7713 (gst_message_new_async_done), (gst_message_parse_info),
7714 (gst_message_parse_async_start):
7716 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7719 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7721 * tools/gst-inspect.c:
7722 (print_plugin_automatic_install_info_codecs):
7723 Now that we don't check for the 'Codec' keyword any longer in the
7724 klass, we shouldn't spew a warning if the klass isn't a decoder or
7725 encoder (since it might be a Source/Network, for example).
7727 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7729 * tools/gst-inspect.c:
7730 (print_plugin_automatic_install_info_codecs):
7731 Don't require decoder/demuxer/depayloader elements or
7732 encoder/muxer/paylader elements to have 'Codec' as part of their
7733 factory class string when introspecting a plugin's capabilities.
7734 draft-klass.txt mentions that it might be removed in future, and
7735 flump3dec doesn't have it as part of its class string, so chances
7736 are others might also not have it.
7738 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7760 Update translations from translation project
7762 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7764 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7765 (gst_child_proxy_set_property):
7766 Invert precondition check to be alike the ones in the mimiced gobject
7769 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7771 * docs/design/draft-tagreading.txt:
7772 * docs/random/ensonic/audiobaseclasses.txt:
7773 Do some Architect work.
7775 * gst/gstobject.c: (gst_object_set_name):
7779 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7781 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7783 * gst/gstsystemclock.c: (gst_system_clock_init),
7784 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7785 Defer starting the async system clock thread until the first async
7786 wait is scheduled. Fixes #414986.
7788 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7790 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7791 (gst_single_queue_free):
7792 Fix small leak (free GstSingleQueue structure too, not only contents).
7794 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7796 * gst/gstbin.c:(gst_bin_add):
7797 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7798 * win32/common/libgstbase.def:
7799 * win32/common/libgstreamer.def:
7800 Add new exported functions.
7802 2007-03-09 Wim Taymans <wim@fluendo.com>
7804 * docs/plugins/gstreamer-plugins-sections.txt:
7807 2007-03-09 Wim Taymans <wim@fluendo.com>
7809 * docs/gst/gstreamer-sections.txt:
7810 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7812 Add metadata copy functions. Fixes #393099.
7813 API: gst_buffer_copy_metadata()
7815 * gst/gstutils.c: (gst_buffer_stamp):
7816 * libs/gst/base/gstbasetransform.c:
7817 (gst_base_transform_prepare_output_buffer):
7818 Use new metadata copy functions.
7820 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7822 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7823 (gst_identity_init), (gst_identity_check_perfect),
7824 (gst_identity_check_imperfect_timestamp),
7825 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7826 (gst_identity_set_property), (gst_identity_get_property):
7827 * plugins/elements/gstidentity.h:
7828 Separate out check-imperfect-timestamp and check-imperfect-offset.
7829 Put back check-perfect as it was to keep compatibility.
7831 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7833 * gst/gstelement.c: (gst_element_dispose):
7834 There's no need to warn if VOID_PENDING is not NONE here, as
7835 long as the state is NULL it's ok, and that's checked immediately
7838 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7840 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7841 Fix check for perfect stream to ignore buffers with -1
7842 offsets/offset ends when checking data contiguity.
7844 2007-03-08 Wim Taymans <wim@fluendo.com>
7846 * tools/gst-launch.c: (event_loop):
7847 Print INFO messages.
7849 2007-03-08 Wim Taymans <wim@fluendo.com>
7851 * libs/gst/base/gstbasetransform.c:
7852 (gst_base_transform_sink_eventfunc),
7853 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7854 (gst_base_transform_activate):
7855 * libs/gst/base/gstbasetransform.h:
7856 Add support for dropping buffers with custom GstFlowReturn.
7857 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7858 buffers or dropped buffers.
7860 * docs/libs/gstreamer-libs-sections.txt:
7861 docs for new custom return code.
7863 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7864 Use drop support in base class to implement drop-probability.
7866 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7868 * gst/gst.c: (load_plugin_func):
7869 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7870 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7871 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7872 Remove newlines at end of debug log strings.
7874 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7876 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7877 Only post bus message at max, once per buffer received.
7879 2007-03-07 Wim Taymans <wim@fluendo.com>
7881 * docs/design/Makefile.am:
7882 * docs/design/part-synchronisation.txt:
7883 Add doc about synchronisation
7885 * docs/design/draft-latency.txt:
7886 * docs/design/part-TODO.txt:
7887 * docs/design/part-clocks.txt:
7888 * docs/design/part-events.txt:
7889 * docs/design/part-gstbus.txt:
7890 * docs/design/part-gstpipeline.txt:
7891 * docs/design/part-live-source.txt:
7892 * docs/design/part-messages.txt:
7893 * docs/design/part-overview.txt:
7894 * docs/design/part-streams.txt:
7895 * docs/design/part-trickmodes.txt:
7896 Documentation updates.
7898 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7901 Update the doap file.
7903 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7905 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7906 Rename non-perfect to imperfect for Mike and for the sanctity of the
7908 Also make sure bus message gets emitted for data-incontiguities.
7910 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7912 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7913 (gst_identity_start):
7914 * plugins/elements/gstidentity.h:
7915 Emit bus message if check-perfect is true and we encounter a
7916 non-perfect stream between 2 consecutive buffers.
7919 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7924 === release 0.10.12 ===
7926 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7929 releasing 0.10.12, "Inevitable Demise"
7931 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7934 Version 0.10.11.2 (0.10.12 pre-release)
7935 Bump libtool versioning.
7937 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7939 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7940 Log flow-names and not numbers.
7942 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7945 Convert to new AG_GST style.
7947 2007-02-28 Wim Taymans <wim@fluendo.com>
7949 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7950 Don't unref query twice.
7952 2007-02-28 Wim Taymans <wim@fluendo.com>
7954 * gst/gstvalue.c: (gst_value_transform_object_string),
7955 (_gst_value_initialize):
7956 Implement GstObject -> string transform so we print object names
7957 when serializing GValues containing GstObjects.
7959 2007-02-28 Wim Taymans <wim@fluendo.com>
7961 * docs/gst/gstreamer-sections.txt:
7962 Add new stuff to docs.
7964 2007-02-28 Wim Taymans <wim@fluendo.com>
7966 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7967 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7968 (gst_base_sink_change_state):
7969 Improve latency query code.
7970 Don't leak latency events.
7972 * tests/check/gst/gstbin.c: (GST_START_TEST):
7975 2007-02-28 Wim Taymans <wim@fluendo.com>
7977 * gst/gstelement.c: (gst_element_message_full),
7978 (gst_element_get_state_func):
7980 Improve docs a little. Added Since: for new macro.
7982 * gst/gstobject.c: (gst_object_sink):
7983 * gst/gstpipeline.c: (gst_pipeline_change_state),
7984 (gst_pipeline_set_new_stream_time):
7985 * gst/gstpipeline.h:
7986 Improve debugging and docs.
7988 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7991 2007-02-28 Wim Taymans <wim@fluendo.com>
7993 * gst/gstelement.c: (gst_element_message_full),
7994 (gst_element_set_locked_state), (gst_element_get_state_func),
7995 (gst_element_change_state):
7996 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7997 Documentation updates.
7998 Small code cleanups.
8000 * gst/gstmessage.c: (gst_message_new_info),
8001 (gst_message_parse_info):
8003 API: gst_message_new_info()
8004 API: gst_message_parse_info()
8005 Add INFO message create and parse code.
8007 2007-02-28 Wim Taymans <wim@fluendo.com>
8009 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8010 (bin_query_latency_done):
8011 Also report the live parameter of a latency query.
8013 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8015 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8016 Copy the current generic/states example from -base and adapt so
8017 we can use the exact same code everywhere.
8018 Check a STATES_IGNORE_ELEMENTS env var which can be used
8019 to ignore certain element factories for this test, which is
8020 what is being done in -base
8021 * tests/check/Makefile.am:
8022 Mention this environment variable.
8024 2007-02-27 Wim Taymans <wim@fluendo.com>
8026 * docs/gst/gstreamer-sections.txt:
8027 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8028 (gst_bus_timed_pop), (gst_bus_pop):
8030 API: gst_bus_timed_pop()
8031 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8032 message to arrive on the bus.
8034 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8036 Two unit tests for new _timed_pop() function.
8038 2007-02-23 Wim Taymans <wim@fluendo.com>
8040 * gst/gstpipeline.c: (gst_pipeline_change_state),
8041 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8042 Don't ref a NULL clock in _provide_clock_func().
8043 Don't allow an INVALID delay.
8044 Don't try to calculate base_time with an invalid start_time.
8045 Also distribute and notify a NULL clock when it was selected.
8047 * tools/gst-launch.c: (event_loop):
8048 Don't crash when a NULL clock was selected in the pipeline.
8050 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8052 * docs/design/Makefile.am:
8053 * docs/design/draft-missing-plugins.txt:
8054 * docs/random/draft-missing-plugins.txt:
8055 Some small updates: update plugin system identifier prefix
8056 ('gstreamer.net' to 'gstreamer'), mention our new install
8057 API in libgstbaseutils rather than libgimme-codec, add
8058 reference to the online docs.
8060 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8062 * win32/common/config.h:
8063 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8064 use moap cl ci to only check in what is mentioned in the ChangeLog.
8066 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8068 * docs/gst/gstreamer-sections.txt:
8070 Fix up documentation to link to the correct GstGError section.
8071 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8073 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8075 * tools/gst-launch.c: (event_loop):
8076 Make sure that we actually show the important message part of a
8078 No need to check if the gerror is not NULL to free; first of all
8079 g_free accepts NULL; and second the default error handler would
8080 segfault if gerror was NULL.
8082 2007-02-21 Wim Taymans <wim@fluendo.com>
8084 * docs/gst/gstreamer-sections.txt:
8085 Removed docs as well.
8087 2007-02-21 Wim Taymans <wim@fluendo.com>
8089 * gst/gstmessage.c: (gst_message_parse_duration):
8091 Remove new messages for release.
8093 2007-02-20 Wim Taymans <wim@fluendo.com>
8095 * docs/design/part-gstghostpad.txt:
8096 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8097 (gst_ghost_pad_new_full):
8098 Make the ghostpad a parent of the internal pad again for better backward
8099 compatibility. Don't write code that relies on this however.
8101 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8102 (gst_pad_link_check_hierarchy):
8103 Require that parents should be GstElements in the hierarchy check.
8105 2007-02-20 Wim Taymans <wim@fluendo.com>
8107 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8108 (gst_bin_change_state_func), (bin_query_min_max_init),
8109 (bin_query_latency_fold), (bin_query_latency_done),
8112 Implement latency query.
8114 2007-02-20 Wim Taymans <wim@fluendo.com>
8116 * docs/design/part-gstghostpad.txt:
8117 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8118 (gst_ghost_pad_internal_do_activate_push),
8119 (gst_ghost_pad_internal_do_activate_pull),
8120 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8121 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8122 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8123 Do not set the internal pad as a parent anymore so we can avoid
8124 hierarchy linking errors when the ghostpad has no parent yet. This also
8125 fixes failed activation because of unlinked internal pads, which in
8126 turn fixes the impossible case where you have to activate a pad before
8127 you can add it to a running element.
8130 * gst/gstpad.c: (pre_activate), (post_activate),
8131 (gst_pad_set_active), (gst_pad_activate_pull),
8132 (gst_pad_activate_push), (gst_pad_check_pull_range):
8133 Add some more debug info.
8134 Mark activation mode in pre_activate so that we don't try to activate in
8135 endless loops. Fixes #385084.
8137 2007-02-19 Wim Taymans <wim@fluendo.com>
8139 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8140 (gst_base_transform_check_get_range):
8141 Implement a checkgetrange function instead of relying on the default
8142 core behaviour that assumes we can operate in pull mode if we have a
8143 getrange function. First step at fixing #385084.
8145 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8147 * gst/gstchildproxy.h:
8148 * libs/gst/base/gstbasesink.h:
8149 * libs/gst/base/gstbasesrc.h:
8150 * libs/gst/base/gstbasetransform.h:
8151 More docs coverage and some ChangeLog surgery (add missing names)
8153 2007-02-15 Wim Taymans <wim@fluendo.com>
8155 * docs/design/part-TODO.txt:
8156 * docs/design/part-activation.txt:
8157 * docs/design/part-block.txt:
8158 * docs/design/part-buffering.txt:
8159 * docs/design/part-clocks.txt:
8160 * docs/design/part-element-source.txt:
8161 * docs/design/part-events.txt:
8162 * docs/design/part-gstbin.txt:
8163 * docs/design/part-gstbus.txt:
8164 * docs/design/part-gstpipeline.txt:
8165 * docs/design/part-live-source.txt:
8166 * docs/design/part-messages.txt:
8167 * docs/design/part-overview.txt:
8168 * docs/design/part-qos.txt:
8169 * docs/design/part-query.txt:
8170 * docs/design/part-states.txt:
8171 * docs/design/part-trickmodes.txt:
8172 Some doc updates. Start renaming from stream_time to running_time where
8173 it was used wrongly.
8175 2007-02-15 Wim Taymans <wim@fluendo.com>
8177 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8178 Answer LATENCY query.
8180 2007-02-15 Wim Taymans <wim@fluendo.com>
8182 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8186 2007-02-15 Wim Taymans <wim@fluendo.com>
8188 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8189 (gst_pad_dispatcher):
8190 Improve debugging of default pad dispatcher and query functions.
8192 2007-02-15 Wim Taymans <wim@fluendo.com>
8194 * docs/gst/gstreamer-sections.txt:
8195 Remove old unused method.
8197 2007-02-13 Wim Taymans <wim@fluendo.com>
8199 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8202 2007-02-13 Wim Taymans <wim@fluendo.com>
8204 * docs/design/part-seeking.txt:
8207 * gst/gstsegment.c: (gst_segment_set_seek):
8208 Revert old bogus change that should make seeking work again.
8210 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8212 * docs/random/ensonic/dynlink.txt:
8213 * docs/random/ensonic/interfaces.txt:
8214 * docs/random/ensonic/receipies.txt:
8215 Possible dynamic reconnection api, plus some type fixes the other two
8218 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8220 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8221 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8222 Also check for an absolute path following file:// in the filesrc
8223 element. Remove redundant check and call g_path_is_absolute() on the
8226 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8228 * docs/design/draft-klass.txt:
8229 Add existing category analysis.
8232 Fix doc example, framerate is a fraction.
8234 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8237 * docs/gst/Makefile.am:
8238 * docs/gst/gstreamer-sections.txt:
8239 * docs/libs/Makefile.am:
8240 Erm, forgot a bunch of --extra-dir.
8242 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8245 * docs/gst/Makefile.am:
8246 * docs/libs/Makefile.am:
8247 * docs/plugins/Makefile.am:
8248 Add crossreferences to glib/gobject docs.
8250 2007-02-12 Wim Taymans <wim@fluendo.com>
8252 * docs/design/draft-latency.txt:
8255 * docs/libs/gstreamer-libs-sections.txt:
8256 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8257 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8258 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8259 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8260 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8261 (gst_base_sink_get_position), (gst_base_sink_query),
8262 (gst_base_sink_change_state):
8263 * libs/gst/base/gstbasesink.h:
8264 API: gst_base_sink_query_latency() to let subclasses query the upstream
8266 API: gst_base_sink_get_latency() to let subclasses query the configured
8267 latency in the sink.
8268 Implement query and set latency.
8270 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8271 don't continue preroll when we are flushing. Fixes #405284.
8273 * tests/check/pipelines/stress.c: (change_state_timeout),
8274 (quit_timeout), (GST_START_TEST), (stress_suite):
8277 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8279 Patch by: René Stadler <mail at renestadler de>
8281 * docs/gst/gstreamer-sections.txt:
8282 * gst/gsttaglist.c: (_gst_tag_initialize):
8284 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8286 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8288 * docs/libs/Makefile.am:
8289 Fix path to core docs.
8291 * gst/gstbin.c: (gst_bin_get_by_interface),
8292 (gst_bin_iterate_all_by_interface):
8293 Refix docs by also renaming 'interface' to 'iface' in implementation.
8295 * docs/gst/gstreamer-sections.txt:
8297 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8298 * gst/gstchildproxy.h:
8299 * gst/gstelementfactory.c:
8300 * gst/gstpadtemplate.h:
8301 * libs/gst/controller/gstcontroller.c:
8302 (gst_controlled_property_new):
8305 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8307 * gst/gstbin.h:(gst_bin_get_by_interface),
8308 (gst_bin_iterate_all_by_interface):
8309 Replace interface parameter name by iface as interface is
8310 a reserved keyword in Visual Studio for C++ projects so it removes
8311 a build error for application developpers using VS.
8312 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8313 Fix a bug on Windows in uri format check. Now the prefix checked
8314 is file:// and next we check if the path after file:// is absolute.
8315 * win32/common/libgstbase.def:
8316 * win32/common/libgstdataprotocol.def:
8317 * win32/common/libgstgstreamer.def:
8318 Add new exported functions.
8320 2007-02-09 Andy Wingo <wingo@pobox.com>
8322 * tests/check/pipelines/simple-launch-lines.c
8323 (simple_launch_lines_suite, test_tee): Disable tee test until I
8324 have time to fix it :-(
8326 * tests/check/Makefile.am (noinst_HEADERS):
8327 * tests/check/libs/libsabi.c:
8328 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8329 * tests/check/gst/gstabi.c:
8330 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8332 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8333 tests for push and pull tee behavior.
8335 * plugins/elements/gsttee.h:
8336 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8337 mark as deprecated as well as unimplemented. It was a crack idea.
8338 Add support for tee operating in pull mode, off by default.
8340 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8341 normal-case logs down to LOG, raise errors to WARNING.
8342 (gst_registry_xml_read_cache): Don't log before calling a function
8345 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8346 exit (registry finalize).
8347 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8348 DEBUG log when we emit signals that people don't even have the
8349 chance to connect to.
8350 (gst_registry_scan_path_level): Less logging in the normal case.
8352 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8354 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8356 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8357 Correctly generate EOS for non-seekable files. We don't have a total
8358 length for them and would get an unexpected end of file if we only
8359 special-cased for regular files. (Fixes: #404569)
8361 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8363 * tests/check/elements/filesrc.c: (GST_START_TEST),
8365 Add unit test for the GstURIHandler interface in filesrc. This also
8366 tests the newly added file://localhost/foo/bar support.
8368 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8370 * gst/gstelementfactory.h:
8371 The klass string is not a hierarchy. Add reference to the design doc
8372 for more information and common types.
8374 2007-02-02 Wim Taymans <wim@fluendo.com>
8376 * gst/gstquery.c: (gst_query_new_latency):
8377 Remove old structure field.
8379 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8381 * tools/gst-launch.1.in:
8382 Give example for network streaming (#351998)
8384 2007-02-02 Wim Taymans <wim@fluendo.com>
8386 * docs/gst/gstreamer-sections.txt:
8387 Add docs for new methods.
8389 * gst/gstevent.c: (gst_event_new_latency),
8390 (gst_event_parse_latency):
8392 Add new LATENCY event to configure latency in a pipeline.
8393 API: gst_event_new_latency
8394 API: gst_event_parse_latency
8396 * gst/gstmessage.c: (gst_message_new_buffering),
8397 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8398 (gst_message_new_latency), (gst_message_parse_buffering),
8399 (gst_message_parse_lost_preroll):
8401 Added messages used in draft-latency.
8402 API: gst_message_new_lost_preroll
8403 API: gst_message_parse_lost_preroll
8404 API: gst_message_new_prerolled
8405 API: gst_message_new_latency
8407 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8408 (gst_query_parse_latency):
8410 Implemented new latency query as in design doc.
8411 API: gst_query_new_latency
8412 API: gst_query_set_latency
8413 API: gst_query_parse_latency
8415 2007-02-02 Wim Taymans <wim@fluendo.com>
8417 * docs/design/draft-latency.txt:
8418 Slight redesign to allow for dynamic latency adjustments.
8420 * docs/design/part-negotiation.txt:
8423 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8425 reviewed by: Wim Taymans <wim@fluendo.com>
8427 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8428 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8429 Allow file://localhost/foo/bar URLs and correctly fail for every other
8430 hostname that one sets. This was gnomevfssrc is linked for those if
8431 installed as it can handle it (#403172)
8433 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8435 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8437 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8438 (unref_data), (gst_collect_pads_add_pad_full):
8439 * libs/gst/base/gstcollectpads.h:
8440 Don't put the previously added destroy notify in the GstCollectData
8441 struct as all it's padding is already used and we don't want to break
8442 ABI. Instead put in the pad's GObject data for now. This should be
8443 cleaned up for 0.11 (#402393).
8445 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8447 reviewed by: Wim Taymans <wim@fluendo.com>
8449 * docs/libs/gstreamer-libs-sections.txt:
8450 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8451 (unref_data), (gst_collect_pads_add_pad),
8452 (gst_collect_pads_add_pad_full):
8453 * libs/gst/base/gstcollectpads.h:
8454 API: Add function to specify a destroy notification for custom
8455 GstCollectData when adding new pads in GstCollectPads (#402393).
8457 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8460 Update Swedish translation (#378255).
8462 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8464 * docs/design/draft-klass.txt:
8465 Fix the previous change, this is a list of categories and not a hierarchy.
8467 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8469 * docs/design/draft-klass.txt:
8470 Add info about how to get a list of used classes.
8472 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8474 * plugins/elements/gsttypefindelement.c:
8475 (gst_type_find_element_chain_do_typefinding),
8476 (gst_type_find_element_change_state):
8477 Don't leak found caps in chain function (no idea why that never
8478 showed up as a leak anywhere).
8480 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8483 Fix and expand GstPluginDesc API docs.
8485 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8488 * gst/gstelementfactory.c:
8489 * gst/gstpadtemplate.h:
8492 * libs/gst/controller/gstcontroller.c:
8493 (gst_controlled_property_new):
8494 * tests/examples/controller/audio-example.c:
8497 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8500 comment about refining the xml deps
8503 comments about moving away from jade for docs
8506 recommit the ifdefs to use the binary registry
8508 * gst/gstbin.c: (gst_bin_change_state_func):
8509 this break is obsolete
8511 * gst/gstelementfactory.h:
8512 better GST_ELEMENT_DETAILS docs, add comment about translation
8517 * gst/gstobject.c: (gst_signal_object_get_type):
8518 add G_UNLIKELY as usual
8520 * gst/gstpad.c: (gst_pad_event_default):
8521 add fall trhu comment
8523 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8524 (gst_registry_binary_initialize_magic),
8525 (gst_registry_binary_save_string),
8526 (gst_registry_binary_save_pad_template),
8527 (gst_registry_binary_save_feature),
8528 (gst_registry_binary_save_plugin),
8529 (gst_registry_binary_write_cache),
8530 (gst_registry_binary_check_magic),
8531 (gst_registry_binary_load_pad_template),
8532 (gst_registry_binary_load_feature),
8533 (gst_registry_binary_load_plugin),
8534 (gst_registry_binary_read_cache):
8535 comment typo and formatting
8537 * gst/gstutils.c: (gst_element_state_get_name),
8538 (gst_element_state_change_return_get_name):
8539 remove obsolete breaks
8541 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8542 add FIXME 0.11 and remove cpp comment
8544 2007-01-29 Edward Hervey <edward@fluendo.com>
8546 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8547 Fix print statement in an even more portable way.
8549 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8551 * docs/gst/gstreamer-sections.txt:
8553 API: add GST_ROUND_DOWN_* macros (#401781).
8555 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8557 * docs/gst/gstreamer.types.in:
8558 * gst/gstregistry.c: (gst_registry_class_init):
8559 Document registry signals and make gtk-doc pick them up (#401381).
8561 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8563 * docs/pwg/building-testapp.xml:
8564 Add some audioconverts and audioresample to the pipeline, and some
8565 more comments and error handling.
8567 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8569 * docs/manual/manual.xml:
8573 2007-01-26 Wim Taymans <wim@fluendo.com>
8575 * gst/gstcaps.c: (gst_static_caps_get):
8576 Init caps flags too.
8578 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8580 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8582 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8583 If not using mmap'ed files try to seek to the end instead of the
8584 start to determine whether we can seek at all. This fixes the case
8585 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8586 seeks for everything afterwards fail. Fixes #400656
8588 2007-01-25 Wim Taymans <wim@fluendo.com>
8590 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8591 Add some refcount debugging.
8592 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8593 in multiple streaming threads.
8595 2007-01-25 Wim Taymans <wim@fluendo.com>
8597 Patch by: David Schleef <ds at schleef dot org>
8599 * docs/libs/gstreamer-libs-sections.txt:
8600 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8601 * libs/gst/base/gstadapter.h:
8602 API: gst_adapter_copy() that can reduce the amount of memcpy when
8603 getting data from the adapter. Fixes #388201.
8605 2007-01-25 Edward Hervey <edward@fluendo.com>
8607 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8608 In print statements, "%x" is for guint. Fixes build on macosx.
8610 2007-01-24 Edward Hervey <edward@fluendo.com>
8612 * plugins/elements/gstmultiqueue.c:
8613 (gst_multi_queue_loop):
8615 (single_queue_overrun_cb), (single_queue_underrun_cb),
8616 (single_queue_check_full), (gst_single_queue_new):
8617 Implement single queue growth system.
8618 This uses the extra-size properties, and will grow single queues by
8619 that much if one goes full whereas there are others empty. This is
8620 called extra-mode in the code.
8621 When a single queue's levels go back below the initial max-size
8622 limits, it is no longer in extra-mode. This is to ensure we don't
8623 consume too much memory.
8626 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8628 * gst/gst.c: (gst_init_get_option_group):
8629 Make warning about late g_thread_init() calls a bit more explicit,
8630 so that it's more obvious to application developers what they need
8631 to do if a user files a bug against their application.
8633 2007-01-22 Edward Hervey <edward@fluendo.com>
8635 * plugins/elements/gstmultiqueue.c:
8636 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8637 Remove previous hack of unsetting the flushing flag for the source pad
8638 instead of activating it. Instead, fix the source pad activate function
8639 so that it no longer depends on having a parent set or not.
8641 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8643 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8645 * docs/manual/basics-bus.xml:
8646 Fix example code, gst_element_unref() doesn't exist any longer.
8648 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8650 Patch by: Mark Nauwelaerts <manauw at skynet be>
8653 Fix two docs typoes (#399094).
8655 2007-01-19 Edward Hervey <edward@fluendo.com>
8657 * docs/faq/gst-uninstalled:
8658 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8659 depending on libgstbaseutils can work in uninstalled environment.
8661 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8664 * gst/gsttagsetter.c:
8665 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8666 statement for new tag.
8668 2007-01-17 Edward Hervey <edward@fluendo.com>
8670 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8671 When dynamically creating single queues, activate sinkpad before adding
8673 We should be doing the same thing for the source pad, but we can't
8674 since it would call a method which needs the parent to be set in order
8675 to work propertly. Instead of activating the source pad, we just unset
8676 the flushing flag, which is the minimal requirement for adding a pad
8677 to an element in a state greater than READY.
8679 2007-01-17 Edward Hervey <edward@fluendo.com>
8681 * docs/faq/gst-uninstalled:
8682 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8685 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8687 * tests/check/gst/gstabi.c:
8688 * tests/check/gst/struct_hppa.h:
8689 * tests/check/libs/libsabi.c:
8690 * tests/check/libs/struct_hppa.h:
8691 Add ABI structs for HPPA (see #393796).
8693 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8695 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8696 Actually write ABI structs to the file specified in the GST_ABI
8697 environment variable, as the message we print claims we would.
8699 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8701 * tests/check/gst/gsttask.c:
8704 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8706 * gst/gsttaglist.c: (_gst_tag_initialize):
8707 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8708 previous two entries.
8710 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8712 * docs/gst/gstreamer-sections.txt:
8713 * gst/gsttaglist.c: (_gst_tag_initialize):
8715 Add tag support for beat-per-minute.
8717 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8719 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8720 (gst_registry_binary_initialize_magic),
8721 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8722 (gst_registry_binary_save_pad_template),
8723 (gst_registry_binary_save_feature),
8724 (gst_registry_binary_save_plugin),
8725 (gst_registry_binary_write_cache),
8726 (gst_registry_binary_check_magic),
8727 (gst_registry_binary_load_pad_template),
8728 (gst_registry_binary_load_feature),
8729 (gst_registry_binary_load_plugin),
8730 (gst_registry_binary_read_cache):
8731 * gst/gstregistrybinary.h:
8732 Use glib types, cleanup comments, impement interfaces and uri-types.
8734 2007-01-13 Andy Wingo <wingo@pobox.com>
8736 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8737 getrange() to return buffers with other caps, while we fix
8738 demuxers and typefind, or otherwise change part-negotiation.txt.
8740 2007-01-12 Andy Wingo <wingo@pobox.com>
8742 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8743 Factor start/stop into this private function instead of partially
8744 in activate functions and partially in the change_state function.
8745 Fixes setup before the element has changed from READY->PAUSED, as
8746 is the case in pull-mode pipelines.
8747 (gst_base_transform_sink_activate_push)
8748 (gst_base_transform_src_activate_pull): Refactor to use
8749 gst_base_transform_activate().
8750 (gst_base_transform_change_state): Removed, not needed any more.
8752 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8753 Truncate before fixating.
8755 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8756 Don't set_caps() if the result of fixating is ANY, as it's not
8757 supported, and not necessary in the case of a link with no
8758 template caps on either side. Fixes tests/check/libs/basesrc in
8759 some pull-mode tests.
8761 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8762 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8763 (gst_base_transform_src_activate_pull):
8764 Track the activation mode.
8765 (gst_base_transform_setcaps): In pull mode, when activating the
8766 src pad, after activating the sink pad, activate the sink pad's
8767 peer, as discussed in part-negotiation.txt.
8769 * libs/gst/base/gstbasesrc.h:
8770 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8771 vmethod, as in basesink.
8773 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8775 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8776 mode, first proxy the setcaps to the peer pad.
8777 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8779 (gst_base_sink_default_activate_pull): Rename from
8780 gst_base_sink_activate_pull.
8781 (gst_base_sink_negotiate_pull): New function, performs negotiation
8782 in pull mode before calling ::activate_pull().
8783 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8784 vmethod instead of the default implementation. I have no idea how
8785 this worked before. Negotiate before calling activate_pull.
8787 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8788 sink pads in pull mode. In addition to being correct, fixes
8789 filesrc ! decodebin ! identity ! fakesink.
8790 (gst_pad_get_range, gst_pad_pull_range): Don't call
8791 gst_pad_set_caps() if the caps changes; instead error out with
8792 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8794 2007-01-12 Andy Wingo <wingo@pobox.com>
8796 * docs/design/part-negotiation.txt: Update with more policy.
8798 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8800 * libs/gst/check/gstbufferstraw.h:
8801 * libs/gst/check/gstcheck.h:
8802 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8805 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8807 * tests/check/Makefile.am:
8808 * tests/check/gst/.cvsignore:
8809 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8810 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8811 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8812 (GST_START_TEST), (gst_tag_setter_suite):
8813 Add minimal unit test for beforementioned GstTagSetter bug.
8815 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8817 Patch by: René Stadler <mail at renestadler dot de>
8819 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8820 gst_tag_list_merge() returns a new list, so it's not the best idea
8821 to ingore its return value. Effectively meant that tags could only
8822 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8823 Also add function guard to require a non-NULL taglist as input (has
8824 always been so due to gst_tag_list_copy(), just making it explicit).
8826 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8828 * docs/random/draft-missing-plugins.txt:
8829 Some additions: mention new API that is supposed to be used at the
8830 various stages; short blob about new gst-inspect introspection
8831 option; mention potential future problem with plugins that have
8832 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8834 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8836 * tools/gst-inspect.c:
8837 (print_plugin_automatic_install_info_codecs),
8838 (print_plugin_automatic_install_info_protocols),
8839 (print_plugin_automatic_install_info), (main):
8840 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8841 introspect plugin files and get machine-parsable output that corresponds
8842 to the last bit of the missing-plugin installer string (small gotcha:
8843 doesn't take into account ranks).
8845 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8848 * docs/gst/gstreamer-sections.txt:
8850 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8851 (gst_registry_lookup_locked):
8852 * gst/gstregistry.h:
8853 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8854 (gst_registry_binary_initialize_magic),
8855 (gst_registry_binary_save_string),
8856 (gst_registry_binary_save_pad_template),
8857 (gst_registry_binary_save_feature),
8858 (gst_registry_binary_save_plugin),
8859 (gst_registry_binary_write_cache),
8860 (gst_registry_binary_check_magic),
8861 (gst_registry_binary_load_pad_template),
8862 (gst_registry_binary_load_feature),
8863 (gst_registry_binary_load_plugin),
8864 (gst_registry_binary_read_cache):
8865 * gst/gstregistrybinary.h:
8866 * gst/gstregistryxml.c: (load_feature),
8867 (gst_registry_xml_read_cache):
8868 commit binary registry (disabled by default, see #359653)
8870 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8872 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8873 Fix 'make check' too.
8875 2007-01-10 Andy Wingo <wingo@pobox.com>
8877 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8880 * docs/design/part-negotiation.txt: Update with, um, one way that
8881 pull-mode negotiation might work?
8884 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8885 that the pad must be a src pad; makes sense to call it the other
8886 way in pull mode, and the logic is symmetric anyway.
8888 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8890 * plugins/elements/gstfilesink.c:
8891 Include <stdio.h> for fseeko().
8893 2007-01-10 Wim Taymans <wim@fluendo.com>
8897 Reserve LATENCY event.
8899 2007-01-09 Wim Taymans <wim@fluendo.com>
8901 * docs/design/draft-latency.txt:
8904 2007-01-09 Wim Taymans <wim@fluendo.com>
8906 * docs/design/draft-latency.txt:
8910 * gst/gststructure.c:
8914 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8916 * tests/check/.cvsignore:
8917 Ignore test-registry.xml as well.
8919 2007-01-09 Wim Taymans <wim@fluendo.com>
8921 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8922 unref data at the end when we are done with the pad.
8924 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8926 * docs/gst/gstreamer-sections.txt:
8927 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8928 (init_post), (gst_deinit), (gst_update_registry):
8930 API: add gst_update_registry() (#391296).
8932 * tests/check/Makefile.am:
8933 * tests/check/gst/gstregistry.c:
8934 * tests/check/gst/.cvsignore:
8935 Simple unit test for the above.
8937 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8939 * gst/gstregistry.c: (gst_registry_scan_path_level):
8940 Plugin extension on HP-UX is .sl, add that to the list of approved
8941 plugin extensions (see #393796).
8943 * tests/check/gst/gstpad.c: (GST_START_TEST):
8944 ulong => gulong. Fixes compilation with HP-UX compiler.
8946 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8947 Fix compilation if valgrind headers are not available.
8949 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8951 * win32/common/libgstreamer.def:
8952 Add new exported function.
8953 * win32/vs6/libgstbase.dsp:
8954 Add gstdataqueue.c to the build.
8955 * win32/vs6/libgstcoreelements.dsp:
8956 Add gstmultiqueue.c to the build.
8958 2007-01-06 Andy Wingo <wingo@pobox.com>
8960 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8961 activate_pull(), providing for a way to specialize the process of
8962 spawning a thread to pull on the sink pad. There is a default
8965 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8966 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8967 (gst_base_sink_init): Renamed pad activation functions (inserting
8968 "_pad" in their names). Refactor to use the new activate_pull
8969 vmethod, as appropriate.
8970 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8971 default activate_pull function to start a task pulling from the
8972 sink pad, as before.
8974 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8975 on the pads if necessary, as in push()/chain(). Update docs.
8976 Shouldn't affect existing pull() usage as it is currently only
8977 being used on buffers without caps.
8979 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8981 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8983 Call g_thread_init() first thing in gst_init() / gst_check_init().
8984 When initialisation is done via gst_init_get_option_group() and
8985 GOption parsing, issue a warning if the GLib thread system has not
8986 been initialised yet by the time gst_init_get_option_group() is
8987 called, as it's quite likely other GLib functions such as
8988 g_option_context_new() have been called already then, and
8989 g_thread_init() must be called before any other GLib function. The
8990 application in question must be fixed in that case, since memory
8991 corruption might happen otherwise.
8992 We issue the warning because even if the GLib folks decide to work
8993 around the problem on their end in future, this is still an issue
8994 with all GLib versions >= 2.10.0, so we should warn until we depend
8995 on a GLib version we know to be safe.
8996 Update documentation as well.
8999 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9001 * tools/gst-inspect.c: (main):
9002 * tools/gst-launch.c: (main):
9003 * tools/gst-typefind.c: (main):
9004 * tools/gst-xmlinspect.c: (main):
9005 Call g_thread_init() really really early, before any other GLib
9006 function (see #342564 and recent discussion on gtk-devel-list).
9008 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9010 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9012 * gst/gst_private.h:
9013 * gst/gstconfig.h.in:
9015 On win32, all the __declspec stuff for symbol exporting is
9016 apparently only needed with MSVC, but doesn't work with MingW.
9017 Fixes compilation with MingW and #391909.
9019 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9021 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9022 Change some GST_ERROR_OBJECT that aren't really errors to
9023 GST_WARNING_OBJECT in order to reduce terminal spam.
9025 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9027 * tests/check/Makefile.am:
9028 disable test again, as there seem to be still race problems
9030 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9032 * tests/check/Makefile.am:
9033 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9034 (GST_START_TEST), (queue_suite):
9035 enable queue test again, add tests for the leaky behaviour
9037 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9040 * tests/examples/Makefile.am:
9041 Compile adapter test/example only if the required headers are
9042 available (fixes #391915).
9044 2007-01-01 David Schleef <ds@schleef.org>
9047 Restore the previous signal handler for SIGSEGV instead of
9048 setting to default, since we may have stolen it away from
9049 someone. (i.e., Mono)
9051 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9053 * docs/random/draft-missing-plugins.txt:
9054 Some small additions and clarifications.
9056 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9058 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9059 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9060 since that can lead to random memory corruptions and crashes
9061 (may or may not be related to #383244, #386711, and #386711).
9063 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9065 * tests/check/.cvsignore:
9066 * tests/check/Makefile.am:
9067 sync .cvsignome and CLEANFILES
9069 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9071 * tests/check/Makefile.am:
9074 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9076 * docs/design/part-states.txt:
9077 two tiny additional comments
9079 * gst/gststructure.c:
9082 * tests/check/Makefile.am:
9083 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9085 disable test for now, unless it gets fixed
9087 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9089 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9091 fix race in underrun test
9093 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9095 * tests/check/elements/.cvsignore:
9098 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9100 try to narrow test failure
9102 2006-12-21 David Schleef <ds@schleef.org>
9104 * plugins/elements/gstfakesrc.c:
9105 Use g_random_int_range(), since it produces better random
9106 numbers in a range than almost-correct floating point code.
9108 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9110 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9111 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9112 (gst_check_teardown_sink_pad):
9113 do not automatically (de)activate pads
9115 * tests/check/Makefile.am:
9116 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9117 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9118 add new, yet simple tests for queue
9120 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9121 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9122 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9124 * tests/check/elements/identity.c: (cleanup_identity):
9125 consistent pad (de)activation
9127 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9129 Patch by: Sebastian Dröge <slomo ubuntu com>
9131 * libs/gst/base/gstcollectpads.c:
9132 Fix two doc typos (#387866).
9134 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9136 * docs/manual/advanced-dparams.xml:
9137 Fix typo (g_object_control_properties() doesn't exist).
9139 2006-12-19 Edward Hervey <edward@fluendo.com>
9141 * gst/gstsegment.c: (gst_segment_set_seek):
9142 Fine tune the cases where the segment start/stop values are really
9144 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9145 Add tests for the return values of gst_segment_set_seek().
9147 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9152 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9154 Fix incorrect documentation and flesh it out a bit more.
9155 Set default values for the max properties on the GParamSpec as well,
9156 so it shows up correctly in gst-inspect.
9158 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9160 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9161 Correct docs of queue, add more detail and crosslink it more.
9163 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9165 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9166 Print additional debug info when the stream isn't perfectly
9167 timestamped; don't try to use invalid durations.
9169 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9171 * docs/design/Makefile.am:
9172 Dist new design docs.
9174 2006-12-16 Wim Taymans <wim@fluendo.com>
9176 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9178 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9179 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9180 (gst_collect_pads_stop), (gst_collect_pads_event),
9181 (gst_collect_pads_chain):
9182 * libs/gst/base/gstcollectpads.h:
9183 Add refcounting to the collectpads data so we can track when it's safe
9184 to free the data. Fixes #383382.
9186 2006-12-15 Wim Taymans <wim@fluendo.com>
9188 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9189 (gst_collect_pads_remove_pad):
9190 Automatically activate/deactivate pads when they are added to a
9191 started/stoped collectpads.
9193 2006-12-15 Wim Taymans <wim@fluendo.com>
9195 * gst/gstelement.c: (gst_element_add_pad):
9196 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9197 * gst/gstpad.c: (gst_pad_init):
9198 Set pads to FLUSHING when they are created. Check, warn and fix when a
9199 demuxer adds an inactive pad to itself when running. Fixes #339326.
9201 2006-12-15 Wim Taymans <wim@fluendo.com>
9203 * gst/gstelement.c: (gst_element_class_init),
9204 (gst_element_default_send_event), (gst_element_send_event),
9205 (gst_element_default_query), (gst_element_query):
9206 Expose default element send_event and query handling as vmethods that
9207 subclasses can chain up to.
9209 2006-12-15 Wim Taymans <wim@fluendo.com>
9211 * gst/gstelement.c: (gst_element_set_state_func):
9212 Small documentation fixes.
9214 2006-12-15 Wim Taymans <wim@fluendo.com>
9216 * docs/design/draft-latency.txt:
9217 Checked in draft for handling latency in pipelines.
9219 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9223 * gstreamer.spec.in:
9226 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9228 * gst/gst.c: (init_pre), (init_post):
9229 init_pre() and init_post() might be called via our GOptionGroup or
9230 from gst_init(), and we should skip both of them if we've already
9231 been initialised, otherwise we will init some things twice or add
9232 two default log functions.
9234 2006-12-13 Edward Hervey <edward@fluendo.com>
9236 * docs/manual/basics-bus.xml:
9237 No, gst_main_loop does not exist. Its g_main_loop.
9238 Discovered by somebody who abused the copy-paste technique of coding :)
9240 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9242 * gst/gstghostpad.c:
9243 Log ghostpad debug stuff to the GST_PADS category as well rather
9244 than just to the default category.
9246 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9249 * gst/gst.c: (init_pre):
9250 Add some basic system details such as OS and architecture
9251 to the debug output if possible, courtesy of uname().
9253 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9255 * docs/gst/running.xml:
9256 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9257 environment variables.
9259 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9261 * tests/check/gst/gstbin.c: (GST_START_TEST):
9262 It is acceptable to have a refcount of 2 or 3 at this point in the
9263 test, because the pipeline might be just posting its state_change
9264 message. The next line then waits for that message to appear using
9265 bus_poll, so that should be fine too.
9267 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9269 * gst/gst.c: (ensure_current_registry_forking):
9270 Ignore EINTR when reading from the child registry pipe.
9271 Explicitly ignore the return value from close, since it makes no
9274 * gst/gstminiobject.c: (gst_mini_object_ref),
9275 (gst_mini_object_unref):
9276 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9278 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9279 When removing cached plugins, remove their features too, so they're
9280 not visible after they've disappeared.
9282 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9283 In the unlikely case that we are linking pads with no parents, don't
9284 crash trying to get the non-existent parent bin.
9286 * gst/parse/grammar.y:
9287 Output debug in the PIPELINE category
9289 2005-03-08 Wim Taymans <wim@fluendo.com>
9291 Patch by: René Stadler <mail at renestadler dot de>
9293 * gst/gstclock.c: (gst_clock_new_periodic_id):
9294 Reject invalid clock times for interval of periodic ids.
9297 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9299 * gst/gstelementfactory.c: (gst_element_factory_create):
9300 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9301 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9302 * tools/gst-inspect.c: (print_element_info):
9303 Fix refcounting of gst_plugin_feature_load to match the docs.
9306 2006-12-07 Wim Taymans <wim@fluendo.com>
9308 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9309 (gst_base_sink_get_position):
9310 Improve debugging of events.
9312 2006-12-07 Wim Taymans <wim@fluendo.com>
9314 Patch by: René Stadler <mail at renestadler dot de>
9316 * gst/gstclock.c: (gst_clock_id_wait):
9317 Make period ids add the interval to the origial requested time instead
9318 of the possibly updated time which can be wrong when there are multiple
9319 waiters for the same id. Fixes #382592.
9321 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9322 (gst_system_clock_id_wait_jitter_unlocked),
9323 (gst_system_clock_id_wait_jitter):
9324 Fix restart in the async notify thread when an async entry is added to
9325 the front of the list. Fixes #381492.
9327 * tests/check/gst/gstsystemclock.c: (store_callback),
9328 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9329 Added test for multiple async waits.
9330 Added test for async wait order.
9332 2006-12-07 Wim Taymans <wim@fluendo.com>
9334 * gst/gstbin.c: (gst_bin_query):
9335 Add some more docs about the POSITION query.
9337 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9340 Bump version nano - back to CVS.
9342 === release 0.10.11 ===
9344 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9347 releasing 0.10.11, "Love never runs on time"
9349 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9351 * win32/common/libgstbase.def:
9352 * win32/common/libgstreamer.def:
9353 * win32/vs8/libgstbase.vcproj:
9354 * win32/vs8/libgstcoreelements.vcproj:
9355 * win32/vs8/libgstreamer.vcproj:
9356 Fix compilation on win32 under VS8
9357 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9358 Partially fixes #381175
9360 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9362 * gst/gstvalue.c: (gst_value_compare_fraction):
9363 If someone is foolish enough to compare 2 fractions with denominator =
9364 0, return UNORDERED rather than aborting.
9366 2006-11-28 Edward Hervey <edward@fluendo.com>
9368 * libs/gst/base/Makefile.am:
9369 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9370 (gst_data_queue_base_init), (gst_data_queue_class_init),
9371 (gst_data_queue_init), (gst_data_queue_new),
9372 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9373 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9374 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9375 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9376 (gst_data_queue_set_flushing), (gst_data_queue_push),
9377 (gst_data_queue_pop), (gst_data_queue_drop_head),
9378 (gst_data_queue_set_property), (gst_data_queue_get_property):
9379 * libs/gst/base/gstdataqueue.h:
9380 New GstDataQueue object for threadsafe queueing. Most useful for
9381 elements that need some queueing functionnality.
9382 * docs/libs/gstreamer-libs-docs.sgml:
9383 * docs/libs/gstreamer-libs-sections.txt:
9384 Insert documentation for GstDataQueue
9385 * plugins/elements/Makefile.am:
9386 * plugins/elements/gstelements.c:
9387 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9388 (gst_multi_queue_class_init), (gst_multi_queue_init),
9389 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9390 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9391 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9392 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9393 (gst_multi_queue_loop), (gst_multi_queue_chain),
9394 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9395 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9396 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9397 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9398 (wake_up_next_non_linked), (compute_next_non_linked),
9399 (single_queue_overrun_cb), (single_queue_underrun_cb),
9400 (single_queue_check_full), (gst_single_queue_new):
9401 * plugins/elements/gstmultiqueue.h:
9402 New multiqueue element, using GstDataQueue. Used for queuing multiple
9404 Closes #344639 and #347785
9406 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9408 * docs/pwg/advanced-types.xml:
9409 add more missing type details
9411 * tools/gst-run.c: (main):
9412 remove unused variable
9414 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9416 * docs/libs/Makefile.am:
9417 * docs/libs/gstreamer-libs.types:
9418 add types of base classes to enable gobject specific stuff in the docs
9420 * docs/random/ensonic/embedded.txt:
9421 more ideas about isolating platform specific things
9423 2006-11-20 Wim Taymans <wim@fluendo.com>
9425 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9427 * libs/gst/check/gstcheck.h:
9428 Fix compilation and running against 0.9.4. Fixes #377332.
9430 2006-11-20 Wim Taymans <wim@fluendo.com>
9432 * gst/gstsegment.c: (gst_segment_set_seek),
9433 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9434 (gst_segment_to_running_time):
9435 Fix boundary checking in to_running_time() and to_stream_time().
9438 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9439 stream and running time can now be calculated for the complete
9442 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9444 * gst/gstpad.c: (gst_pad_push_event):
9445 Can't access event structure after giving away ownership of
9448 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9450 * docs/random/ensonic/embedded.txt:
9451 * docs/random/ensonic/profiling.txt:
9452 * docs/random/ensonic/receipies.txt:
9455 2006-11-13 Wim Taymans <wim@fluendo.com>
9457 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9460 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9462 2006-11-13 Wim Taymans <wim@fluendo.com>
9464 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9466 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9467 Store new length in segment duration so we don't keep on calling the
9468 potentially expensize get_size() call. Fixes #370865.
9470 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9472 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9474 * win32/common/libgstreamer.def:
9475 Add two missing symbols (#366492).
9477 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9479 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9480 (gst_adapter_take_buffer):
9481 Fix format string to use all its arguments.
9482 Remove useless >= check on a guint
9484 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9486 * tests/examples/adapter/.cvsignore:
9487 Ignore build file as commanded by the build-bot
9489 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9491 * tests/examples/adapter/Makefile.am:
9492 * tests/examples/adapter/adapter_test.c: (run_test_take),
9493 (run_test_take_buffer), (run_tests), (main):
9495 Add new files from the previous commit
9497 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9501 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9502 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9503 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9504 * libs/gst/base/gstadapter.h:
9505 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9506 (GST_START_TEST), (gst_adapter_suite):
9507 * tests/examples/Makefile.am:
9508 Do some optimisation work in GstAdapter to avoid copies in more cases.
9509 It could still do slightly better by merging buffers when
9510 gst_buffer_is_span_fast is true, but is already faster.
9512 Also, avoid traversing a single-linked list to append each incoming
9513 buffer inside the adapter.
9515 Add simple test app that times the adapter behaviour in different
9516 situations, and extend the unit test to check that bytes enter and
9517 exit the adapter in their original order.
9519 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9521 * docs/random/draft-missing-plugins.txt:
9522 Update: use element message instead of adding a new message
9523 type to the core; don't provide GStreamer API to initiate the
9524 plugin download, just provide API to compose the strings needed
9525 and let an external libgimmestuff handle the rest.
9527 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9529 * tools/gst-inspect.c: (print_element_properties_info):
9530 Print a string instead of 'unknown type' for GValueArray properties
9532 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9534 * docs/random/draft-missing-plugins.txt:
9537 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9539 * tests/examples/typefind/typefind.c: (type_found), (main):
9540 Make typefind element example work again (#371894); add a
9543 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9545 * docs/random/draft-missing-plugins.txt:
9546 Commit initial draft about how to deal with missing plugins,
9547 needs work (API too).
9549 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9551 * docs/pwg/advanced-types.xml:
9552 documents the new caps elements (see #363118)
9554 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9556 * gst/gstplugin.c: (gst_plugin_load_file):
9557 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9558 (gst_file_src_map_region), (gst_file_src_start):
9559 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9560 (gst_file_index_commit):
9561 Use g_strerror() instead of strerror() - we want UTF-8.
9563 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9565 Patch by: Peter Kjellerstedt <pkj at axis com>
9567 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9568 Another printf fix (#371493).
9570 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9572 * tests/check/gst/gsttag.c:
9573 relicence (okay with author=company)
9575 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9577 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9578 (gst_pad_push_event):
9579 Enhance debug and improve docs
9584 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9586 * docs/random/ensonic/distributed.txt:
9587 * docs/random/ensonic/profiling.txt:
9590 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9592 * docs/gst/gstreamer-sections.txt:
9593 add new API and fix the build
9595 * gst/gstbin.c: (gst_bin_recalc_state):
9596 * gst/gstelement.c: (gst_element_message_full),
9597 (gst_element_get_state_func), (gst_element_set_state_func):
9598 use new API and improve logging
9600 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9602 API: add function to get StateChangereturn names to improve logs
9604 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9606 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9607 I'm considering shooting the next person to put strerror stuff
9608 in the translateable part of the message.
9610 2006-11-03 Wim Taymans <wim@fluendo.com>
9612 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9613 Get the type and printf conversion specifiers right.
9615 2006-11-03 Wim Taymans <wim@fluendo.com>
9617 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9619 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9620 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9621 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9622 Some small cleanups. Improve debugging.
9624 Signal all waiting threads with a broadcast instead of just one.
9627 2006-11-03 Wim Taymans <wim@fluendo.com>
9629 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9630 (gst_fd_src_create):
9632 Only update fd when it's different from the old.
9634 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9636 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9637 Printf fixes for PPC/OSX, take two (#369366).
9639 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9641 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9643 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9644 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9645 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9646 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9647 don't cast to long long for portability reasons, but use
9648 GLib's types instead.
9650 2006-10-30 Michael Smith <msmith@fluendo.com>
9652 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9653 Get the arguments to lseek() the right way around.
9656 2006-10-30 Wim Taymans <wim@fluendo.com>
9658 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9661 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9663 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9665 Patch by: Kjartan Maraas <kmaraas at gnome org>
9667 * docs/design/part-MT-refcounting.txt:
9668 * docs/random/wtay/capsnego2-docs:
9671 Typo fixes (#366212).
9673 2006-10-28 Wim Taymans <wim@fluendo.com>
9675 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9678 * win32/common/libgstbase.def:
9679 * win32/common/libgstreamer.def:
9680 * win32/vs8/libgstbase.vcproj:
9681 * win32/vs8/libgstcontroller.vcproj:
9682 Add needed entries in .def files.
9684 Rearrange def files in vs8 solutions. Fixes #366286.
9686 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9688 * win32/common/gstconfig.h:
9689 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9690 hand-made win32 gstconfig.h. Fixes #366321.
9692 2006-10-27 Wim Taymans <wim@fluendo.com>
9694 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9695 (gst_ghost_pad_new_full):
9696 Make acceptcaps return TRUE when we don't have a target, just like
9699 2006-10-27 Wim Taymans <wim@fluendo.com>
9701 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9702 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9704 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9706 * gst/gststructure.c: (gst_structure_id_set_value):
9707 If someone tries to set a non-UTF8 string field on a structure,
9708 don't just print a warning, but also ignore the request and do
9709 not change/add that field to the structure.
9711 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9714 2006-10-25 David Schleef <ds@schleef.org>
9717 g_hash_table_insert() needs a cast to a non-const pointer duh.
9719 2006-10-25 David Schleef <ds@schleef.org>
9723 Change name parameter of _gst_debug_register_funcptr to const
9724 to reflect the constness of its use in the function as well
9725 as to quiet a gcc warning.
9727 2006-10-25 Edward Hervey <edward@fluendo.com>
9729 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9730 Don't push the buffer if it's empty.
9733 2006-10-24 Wim Taymans <wim@fluendo.com>
9738 * libs/gst/base/gstbasetransform.c:
9739 (gst_base_transform_sink_eventfunc):
9740 Debug segment values *after* updating them as this is more
9743 2006-10-23 Wim Taymans <wim@fluendo.com>
9745 * docs/design/part-events.txt:
9748 * docs/design/part-block.txt:
9749 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9750 (gst_pad_push_event):
9751 Revert BLOCKING patch, it tries to be smart without really having a
9752 clear idea what or how. So, now we discard all FLUSHING events again on
9753 a blocking pad. Should fix gnonlin again.
9755 2006-10-23 Wim Taymans <wim@fluendo.com>
9757 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9759 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9760 (gst_base_src_start), (gst_base_src_activate_push):
9761 Make sure size is always initialized. Fixes #364388.
9763 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9765 * docs/random/ensonic/distributed.txt:
9766 add some ideas about doing distributed processing
9768 * docs/random/ensonic/profiling.txt:
9769 get_rusage look promising
9771 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9773 * docs/manual/basics-helloworld.xml:
9774 Add a cast in example to fix compile warning
9776 2006-10-18 Wim Taymans <wim@fluendo.com>
9778 * gst/gstsegment.c: (gst_segment_set_last_stop),
9779 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9780 Relax arg checking again, -1 is allowed.
9782 2006-10-18 Wim Taymans <wim@fluendo.com>
9784 * gst/gstsegment.c: (gst_segment_set_last_stop),
9785 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9786 _set_last_stop() must be with a value != -1
9787 A _TYPE_SET to -1 means seek to 0.
9788 Calc last_stop correctly for negative rates.
9789 Make sure we work with positive durations when updating a segment.
9791 2006-10-18 Wim Taymans <wim@fluendo.com>
9793 * docs/design/part-live-source.txt:
9797 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9800 Add an explicit cast to GstBuffer** to keep old code that added an
9801 explicit cast to GstMiniObject** for gst_mini_object_replace()
9802 compiling without warning.
9804 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9806 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9807 check for validity of dates
9809 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9811 * docs/gst/gstreamer-sections.txt:
9812 Forgot this one, makes gtk-doc shut up.
9814 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9816 Patch by: Peter Kjellerstedt <pkj at axis com>
9819 Don't define xmlNodePtr to gpointer if the core was built with
9820 --disable-loadsave and --disable-registry, this will break
9821 applications that want to use libxml2 but are buildling against a
9822 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9823 instead so we don't have to mess with the libxml2 namespace
9826 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9829 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9830 type-punned pointer warnings.
9832 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9835 Add casts to the correct return type to state <=> state transition
9838 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9840 * docs/design/part-live-source.txt:
9841 describe howto handle latency
9843 * docs/random/ensonic/profiling.txt:
9846 * tools/gst-plot-timeline.py:
9847 fix log parsing for solaris, remove unused function
9849 2006-10-16 Wim Taymans <wim@fluendo.com>
9851 * docs/design/part-trickmodes.txt:
9853 Update some docs regarding reverse playback.
9855 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9857 Patch by: Marcus Granado <mrc dot gran at gmail com>
9859 * win32/vs8/grammar.vcproj:
9860 Error out with a warning if glib-genmarshal.exe is not in path,
9861 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9863 2006-10-13 Wim Taymans <wim@fluendo.com>
9865 * gst/gstsegment.c: (gst_segment_set_seek):
9866 When seeking to stop -1, set last_stop (current position) to the
9867 duration of the segment.
9869 2006-10-13 Wim Taymans <wim@fluendo.com>
9872 Clarify _NO_PREROLL a bit more.
9877 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9878 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9879 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9880 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9881 due to wrong locking order. Fixes #361769.
9882 Remove some redundant/misplaced checks in pad_block.
9884 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9885 For negative rates, count backwards from the duration.
9887 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9889 * gst/gsterror.c: (_gst_library_errors_init):
9890 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9891 up with something better).
9893 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9895 * win32/vs6/libgstreamer.dsp:
9896 * win32/vs7/libgstreamer.vcproj:
9897 * win32/vs8/libgstreamer.vcproj:
9898 Don't reference glib-compat.c which is currently not used and not
9899 disted; add gstquark.c which was recently added. Fixes #361730.
9901 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9903 * win32/common/libgstbase.def:
9904 * win32/common/libgstcontroller.def:
9905 * win32/common/libgstreamer.def:
9906 Add gst_caps_merge() and a bunch of other recently-added functions.
9909 2006-10-11 Wim Taymans <wim@fluendo.com>
9911 * docs/plugins/gstreamer-plugins.args:
9912 * docs/plugins/inspect/plugin-coreelements.xml:
9913 * docs/plugins/inspect/plugin-coreindexers.xml:
9914 Update element args.
9916 * gst/gstsystemclock.c:
9917 Small comment update.
9919 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9920 (gst_tee_request_new_pad), (gst_tee_release_pad),
9921 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9922 (gst_tee_sink_activate_pull):
9923 * plugins/elements/gsttee.h:
9925 Add default property defines.
9926 Implement release pad function.
9927 Give properties better blubs etc.
9928 Activate pads before adding them to a running tee.
9929 Do simple buffer_alloc on the first requested pad.
9930 Post error when activation fails.
9932 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9934 * gst/gst.c: (ensure_current_registry_forking):
9935 Check return value of write() to make compiler happy.
9937 2006-10-11 Wim Taymans <wim@fluendo.com>
9939 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9941 * plugins/elements/gstqueue.c: (gst_queue_chain):
9942 Recheck queue filledness after signalling the overrun when we're about
9943 to leak downstream because we released the lock when emitting the signal
9944 and the queue could be empty again. Fixes #352345.
9946 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9948 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9949 Fix refcounting here too, just like we did for _new_valist() a few
9950 days ago (#357180) (thanks to René Stadler). Also remove all those
9951 'Since: 0.9' from the gtk-doc blobs.
9953 * tests/check/libs/controller.c: (controller_refcount_new_list),
9954 (gst_controller_suite):
9955 Unit test for the above.
9957 2006-10-10 Wim Taymans <wim@fluendo.com>
9959 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9961 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9962 (gst_pad_save_thyself):
9964 Write pad direction in XML output. Fixes #345496.
9966 2006-10-10 Wim Taymans <wim@fluendo.com>
9968 Patch by: René Stadler <mail at renestadler dot de>
9970 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9971 (gst_controller_new_list), (_gst_controller_dispose),
9972 (_gst_controller_finalize), (_gst_controller_class_init):
9973 Take ref to controlled object so that it cannot disappear.
9976 2006-10-10 Wim Taymans <wim@fluendo.com>
9978 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9979 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9980 (gst_check_teardown_sink_pad):
9981 Activate/deactivate pads in setup/teardown respectively.
9983 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9985 Patch by: Josep Torra Valles <josep@fluendo.com>
9988 Cast values when making gstenumtypes.h. This pacifies Forte
9989 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9992 2006-10-09 Wim Taymans <wim@fluendo.com>
9994 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9995 Rename some more @cur to @start to fix docs.
9997 * gst/gstsegment.c: (gst_segment_set_seek):
9999 time and start must always stay in sync as defined in design doc.
10001 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10002 Rename param to fix docs.
10004 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10005 Check that start and time are in sync.
10007 * tests/check/pipelines/parse-launch.c:
10008 (gst_parse_test_element_change_state):
10009 Activate pad before adding to the element.
10011 2006-10-09 Wim Taymans <wim@fluendo.com>
10013 * docs/design/part-qos.txt:
10018 Update seek event docs regarding negative rates.
10019 Rename @cur to @start.
10021 * gst/gstsegment.c: (gst_segment_set_seek):
10022 * gst/gstsegment.h:
10023 Update set_seek docs regarding negative rates.
10024 Correctly update last_stop to @stop when dealing with negative
10026 Rename @cur to @start.
10028 * tests/check/gst/gstpad.c: (GST_START_TEST):
10029 Activate pads before trying to use them.
10031 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10032 (gst_segment_suite):
10033 Add simple check for segments and negative rates.
10035 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10037 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10038 * gst/gsttaglist.h:
10039 * docs/gst/gstreamer-sections.txt:
10040 API: add gst_tag_list_is_empty() (#360467).
10042 * tests/check/gst/gsttag.c: (GST_START_TEST):
10045 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10047 * gst/gstmessage.h:
10048 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10049 a value that doesn't fit on enumeration.
10051 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10053 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10054 Remove local debugging system and use Gstreamer's instead.
10056 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10058 Patch by: Josep Torra Valles <josep@fluendo.com>
10060 * common/m4/gst-error.m4:
10061 Disable warning of statement not reached on Forte.
10062 * gst/gstmessage.h:
10063 Fix warning on Forte (value doesn't fit on enumeration).
10064 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10065 Fix warning on Forte (value doesn't fit on enumeration).
10066 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10067 DEBUG macro says it takes minimum of 2 args and so Forte
10068 complains about the use with just 1 arg.
10069 * plugins/elements/gstfdsink.c:
10070 * plugins/elements/gstfdsrc.c:
10071 * plugins/elements/gstfilesink.c:
10072 * plugins/elements/gstfilesrc.c:
10073 Use correct return type for the uri handler implementations.
10075 All these fix warnings in Forte. Fixes bug #360860.
10077 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10079 * gst/gstelement.h:
10080 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10081 format string, so don't use G_GNUC_PRINTF for those versions.
10083 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10085 * gst/gsttaglist.c: (gst_is_tag_list):
10086 * gst/gsttaglist.h:
10087 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10089 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10090 Small test for the above.
10092 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10094 * gst/gsttaglist.h:
10095 Less tabs, more spaces.
10097 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10100 Those two function declarations do actually belong there, revert
10101 commit from yesterday that turned them intro macros.
10103 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10105 Patch by: Josep Torra Valles <josep@fluendo.com>
10107 * gst/gst.c: (gst_init_get_option_group):
10108 Fix empty declaration and type mismatch.
10109 * gst/gstbin.c: (gst_bin_change_state_func):
10111 * gst/gstelement.c: (gst_element_continue_state),
10112 (gst_element_set_state_func), (gst_element_change_state),
10113 (gst_element_change_state_func):
10114 Fix type mismatches.
10115 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10116 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10117 Cast as appropriate.
10118 * gst/gstobject.c: (gst_class_signal_connect):
10119 Cast as appropriate. The function pointer parameter really
10120 has the wrong type but would break API if we change it.
10122 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10123 order of including string.h.
10124 * gst/gstutils.c: (gst_element_state_get_name):
10125 Remove unreachable line.
10126 * gst/gstxml.c: (gst_xml_parse_doc):
10128 All these caught by Forte.
10130 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10132 Patch by: Josep Torra Valles <josep@fluendo.com>
10134 * common/m4/gst-error.m4:
10136 We need to disable warnings on Forte for empty declarations
10137 due to gst-indent adding ;s to lines that just use macros
10138 where the macro actually doesn't need a ; at end to end
10141 2006-10-06 Wim Taymans <wim@fluendo.com>
10143 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10144 (gst_file_sink_close_file), (gst_file_sink_event),
10145 (gst_file_sink_render):
10146 Add some FIXME for the NEWSEGMENT handling.
10148 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10150 * gst/parse/grammar.y:
10151 Remove static function gst_parse_element_lock as all it does
10152 is return. Looks like cruft from 0.8.
10154 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10156 Patch by: Josep Torra Valles <josep@fluendo.com>
10158 * common/m4/gst-error.m4:
10160 * libs/gst/net/Makefile.am:
10161 Fix a compilation issue with Forte on Solaris. inet_aton is in
10164 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10166 * gst/gstpad.c: (pre_activate):
10167 * gst/gstregistry.c: (gst_registry_scan_path_level):
10168 * gst/gstregistryxml.c: (load_plugin):
10169 * libs/gst/controller/gstcontroller.c:
10170 (gst_controlled_property_set_interpolation_mode):
10171 * libs/gst/dataprotocol/dataprotocol.c:
10172 (gst_dp_packet_from_event_1_0):
10173 * libs/gst/net/gstnetclientclock.c:
10174 (gst_net_client_clock_observe_times):
10175 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10178 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10181 * docs/gst/gstreamer-sections.txt:
10182 * gst/gstconfig.h.in:
10183 * gst/gstelement.h:
10185 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10186 whether we can use G_GNUC_PRINTF in other header files and at
10187 least check the printf format/arguments of debug messages and
10188 GST_ELEMENT_ERROR messages when the printf extension is not
10190 Replace more tabs with spaces in gstinfo.h and remove two spurious
10191 function declarations in GST_DISABLE_DEBUG part with macros.
10193 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10195 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10196 More docs for the sync-message signal (mention that it is not
10197 emitted by default); log message structures of messages posted on
10200 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10202 * gst/gst.c: (ensure_current_registry_forking):
10203 Use a pipe pair to receive status results from the forked child, and
10204 ignore the result from waitpid. Fixes #355499
10206 2006-10-02 Wim Taymans <wim@fluendo.com>
10208 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10209 (gst_ghost_pad_suite):
10212 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10215 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10217 2006-10-02 Edward Hervey <edward@fluendo.com>
10219 * docs/design/part-block.txt:
10220 Further explain the use of flushing on blocked pads.
10221 * docs/gst/gstreamer-sections.txt:
10222 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10223 (gst_pad_push_event):
10225 Added new GstPadFlag : GST_PAD_BLOCKING.
10226 Adds the notion of pads really blocking, which enables to properly
10227 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10229 API: gst_pad_is_blocking()
10230 API: GST_PAD_IS_BLOCKING() macro
10231 API: GST_PAD_BLOCKING GstPadFlag
10233 2006-10-02 Wim Taymans <wim@fluendo.com>
10235 Patch by: mrcgran <mrc.gran at gmail dot com>
10237 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10238 Filter the proxied caps against the padtemplate if we have one.
10240 * gst/gstquery.c: (gst_query_new_segment):
10241 Add include for gstinfo.h so that compilation with
10242 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10244 2006-10-02 Wim Taymans <wim@fluendo.com>
10246 Patch by: Alessandro Decina <alessandro at nnva org>
10248 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10249 (gst_file_sink_set_location), (gst_file_sink_open_file),
10250 (gst_file_sink_close_file), (gst_file_sink_event),
10251 (gst_file_sink_render):
10252 Set file to NULL when closing filesink so that we can set a new filename
10253 in READY. Fixes #358613.
10255 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10257 Patch by: Alessandro Decina <alessandro at nnva org>
10259 * gst/gstevent.c: (_gst_event_copy):
10260 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10261 with event structures by setting the parent refcount address of the
10262 copied structure to the address of the refcount member of the newly
10263 copied event rather than the address of the refcount member of the
10264 original event. Fixes #358737.
10266 * tests/check/gst/gstevent.c: (GST_START_TEST):
10267 Unit test for the above.
10269 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10271 * docs/design/Makefile.am:
10272 Dist some more files.
10274 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10276 * tests/check/libs/controller.c: (GST_START_TEST),
10277 (gst_controller_suite):
10278 Add test for the previous fix; add some more tests
10279 for correct refcounting behaviour; fix a few leaks
10280 in test cases; call gst_controller_init() at start
10283 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10285 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10286 (gst_controller_set_from_list):
10287 Don't g_return_val_if_fail() on timed values with invalid timestamps
10288 inside a critical section without unlocking the mutex. Spotted by
10289 René Stadler. (#357617)
10290 Also, fix up refcounting properly: when returning an existing
10291 controller, we should increase the reference only once and not
10292 once per property and when trying to control a property again
10293 we should also increase the refcount.
10295 2006-09-29 Wim Taymans <wim@fluendo.com>
10297 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10298 * libs/gst/net/gstnettimeprovider.c:
10299 (gst_net_time_provider_thread):
10300 Stop reading commands when EOF as well.
10302 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10303 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10304 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10305 Unify description of the dump property.
10307 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10309 * tests/examples/manual/.cvsignore:
10310 OK, so it's actually cvsignore that needs changing. Stop laughing.
10312 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10314 * tests/examples/manual/Makefile.am:
10315 Gah, declare vars *before* using them
10317 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10319 * gst/gst.c: (init_pre), (scan_and_update_registry),
10320 (ensure_current_registry_nonforking),
10321 (ensure_current_registry_forking), (ensure_current_registry),
10322 (init_post), (gst_debug_help), (gst_deinit):
10323 * gst/gst_private.h:
10324 * gst/gstregistry.c: (gst_registry_finalize),
10325 (gst_registry_remove_features_for_plugin_unlocked),
10326 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10327 (gst_registry_scan_path),
10328 (_priv_gst_registry_remove_cache_plugins),
10329 (_priv_gst_registry_cleanup):
10330 * gst/gstregistry.h:
10331 Re-commit the registry changes, along with an extra fix:
10332 When a cached plugin is encountered at a different file path,
10333 update the stored path in the registry cache so that the parent
10334 process knows where it actually is now when it re-reads the registry
10335 cache. Fixes the thing that broke distcheck with the previous commit.
10337 * tests/check/Makefile.am:
10338 Clean up files named 'core' too when running make clean.
10340 * tests/examples/manual/Makefile.am:
10341 Set up a registry path for running these tests, and clean it properly
10344 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10347 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10348 want gmodule-no-export-2.0.pc instead so that we don't drag in
10349 --export-dynamic on every project that links to GStreamer.
10351 Also, make our export regex only match the start of symbols, rather
10352 than any symbol that contains '_gst' somewhere.
10354 * libs/gst/check/Makefile.am:
10355 The libgstcheck we build does however need export-dynamic, as it
10356 produces some symbols that don't match our _gst... style regex.
10359 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10361 * gst/gst.c: (init_pre), (scan_and_update_registry),
10362 (ensure_current_registry_nonforking),
10363 (ensure_current_registry_forking), (ensure_current_registry),
10364 (init_post), (gst_debug_help), (gst_deinit):
10365 * gst/gst_private.h:
10366 * gst/gstregistry.c: (gst_registry_finalize),
10367 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10368 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10369 (_gst_registry_cleanup):
10370 * gst/gstregistry.h:
10371 Revert previous change until I figure out why it breaks distcheck.
10373 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10375 * gst/gst.c: (init_pre), (scan_and_update_registry),
10376 (ensure_current_registry_nonforking),
10377 (ensure_current_registry_forking), (ensure_current_registry),
10378 (init_post), (gst_debug_help), (gst_deinit):
10380 Make init_pre and init_post take the full complement of GOptionFunc
10381 args so they can return useful GErrors. Make the registry updating
10384 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10385 ensure that the registry we're about to write out doesn't contain
10386 stale information about old-deleted plugin files.
10388 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10389 that deletion of plugin files is considered a registry change.
10391 * gst/gst_private.h:
10392 * gst/gstregistry.c: (gst_registry_finalize),
10393 (gst_registry_remove_features_for_plugin_unlocked),
10394 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10395 (gst_registry_scan_path),
10396 (_priv_gst_registry_remove_cache_plugins),
10397 (_priv_gst_registry_cleanup):
10398 * gst/gstregistry.h:
10399 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10400 by adding _priv prefix, so that they won't appear in the global
10401 symbol table. They still do atm though because of #318031. Move the
10402 prototypes to gst_private.h
10404 When removing a plugin, remove all features for that plugin too.
10407 2006-09-27 Wim Taymans <wim@fluendo.com>
10409 * docs/random/moving-plugins:
10410 Make it clear that the "compiled-in descriptions" really mean
10411 the element details.
10413 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10414 (gst_base_sink_wait_preroll):
10417 * docs/libs/gstreamer-libs-sections.txt:
10418 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10419 (gst_base_src_get_range), (gst_base_src_activate_push):
10420 * libs/gst/base/gstbasesrc.h:
10421 Added function to block while waiting for PLAYING, this function
10422 is used by live sources that block on the clock.
10423 API: gst_base_src_wait_playing()
10425 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10427 Patch by: Peter Kjellerstedt <pkj at axis com>
10430 gst-element-check.m4 is generated and should therefore be
10431 copied from the build dir rather than the source dir (#357593).
10432 'make distcheck' hasn't noticed this because we were disting
10433 the file as well, so stop doing that.
10435 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10437 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10438 Add some tests for gst_caps_intersect().
10440 * tools/gst-launch.c: (event_loop):
10441 Print all buffering percentages we get, even the 100% one.
10443 2006-09-26 Wim Taymans <wim@fluendo.com>
10445 * tools/gst-inspect.c: (print_element_properties_info),
10446 (print_signal_info):
10447 Fix printing of flags to match the look of enums.
10449 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10451 * gst/gstelementfactory.c:
10452 Fix typo in docs blurb.
10454 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10456 * gst/gsturi.c: (search_by_entry):
10457 Don't assert/crash here if a uri handler doesn't return any
10458 supported protocols. The list of protocols could be generated
10459 dynamically at runtime or at plugin registration, and an error
10460 in the underlying library shouldn't be fatal (#353301).
10462 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10465 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10466 (spotted by Peter Kjellerstedt).
10468 2006-09-23 Wim Taymans <wim@fluendo.com>
10470 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10472 * libs/gst/base/gstbasesrc.c:
10473 (gst_base_src_default_check_get_range), (gst_base_src_start),
10474 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10475 (gst_base_src_change_state):
10476 Match _start/_stop calls in the activate functions. Remove redundant
10477 _stop call from the state change function. Fixes #356910.
10478 Turn failure DEBUG into ERROR.
10480 2006-09-22 Wim Taymans <wim@fluendo.com>
10482 * docs/design/part-buffering.txt:
10483 * gst/gstmessage.c: (gst_message_new_buffering),
10484 (gst_message_parse_buffering):
10485 Update docs about buffering.
10487 * docs/design/part-trickmodes.txt:
10490 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10492 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10493 (gst_controller_new_list):
10494 Ref instances when returning them again (fixes #357180)
10496 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10498 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10499 Don't forget to release proxy lock when there's an error.
10501 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10504 Add extra initialisers for Caps things, to fix some plugin warnings
10507 2006-09-18 Wim Taymans <wim@fluendo.com>
10509 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10510 Also set template on the internal pad so that a getcaps from the
10511 target pad returns the template caps.
10513 2006-09-18 Wim Taymans <wim@fluendo.com>
10515 * gst/gstelement.c: (gst_element_post_message),
10516 (gst_element_dispose):
10517 Use _DEBUG_OBJECT some more.
10519 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10522 * tools/gst-launch.c: (main):
10523 If the toplevel element is not a GstPipeline, it must be put in a
10524 pipeline so that a bus and clock is selected.
10526 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10528 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10529 JITTER, RATE, and LATENCY query should be handled by the
10530 default case and not by the CONVERT query code.
10532 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10534 * gst/gstformat.c: (gst_format_register):
10535 Fix locking order (must take lock before using n_values).
10537 * gst/gstvalue.c: (gst_value_serialize_enum),
10538 (gst_value_deserialize_enum_iter_cmp),
10539 (gst_value_deserialize_enum):
10540 Fix serialisation/deserialisation of custom registered GstFormats.
10542 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10543 Unit test for custom format serialisation/deserialisation.
10545 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10547 * docs/pwg/building-boiler.xml:
10548 * plugins/elements/gstcapsfilter.c:
10549 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10552 2006-09-16 Edward Hervey <edward@fluendo.com>
10554 * libs/gst/base/gstbasetransform.c:
10555 (gst_base_transform_buffer_alloc):
10556 Check if requested caps are the same as the sinks caps IF
10557 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10559 This fixes the renegotiation issues stated in #352827.
10561 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10564 * docs/manual/advanced-autoplugging.xml:
10565 * tests/examples/Makefile.am:
10566 * tests/examples/manual/.cvsignore:
10567 * tests/examples/manual/Makefile.am:
10568 * tests/examples/manual/extract.pl:
10569 Extract the manual examples again like we used to do.
10572 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10574 * win32/common/config.h:
10577 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10580 Documents how to receive errors.
10582 2006-09-15 Wim Taymans <wim@fluendo.com>
10584 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10585 (event_loop), (main):
10586 Added some comments here and there.
10587 Post an application message when an interrupt is caught instead of doing
10588 an uncontrolled state change.
10589 Clean up the event loop.
10590 Handle buffering messages, pause/resume the pipeline.
10591 Make shutdown because of an interrupt more reliable.
10593 2006-09-15 Wim Taymans <wim@fluendo.com>
10595 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10596 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10597 (gst_base_sink_preroll_object):
10598 Make sure that our internal state is correct when we commit our state
10599 asynchronously. This solves a race where a state change to PLAYING
10600 could cause the sink to remain blocked in preroll in some situations.
10602 2006-09-15 Wim Taymans <wim@fluendo.com>
10604 * tools/gst-inspect.c: (print_element_properties_info),
10605 (print_signal_info):
10606 List flags as hex so it's easier to deal with.
10608 2006-09-15 Wim Taymans <wim@fluendo.com>
10610 * docs/libs/gstreamer-libs-sections.txt:
10611 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10612 (gst_base_sink_do_sync):
10613 * libs/gst/base/gstbasesink.h:
10614 Expose logic to wait for preroll so that subclasses such as audiosink
10615 can also use this method.
10616 API: gst_base_sink_wait_preroll()
10618 2006-09-15 Wim Taymans <wim@fluendo.com>
10620 * gst/gstobject.c: (gst_object_set_parent):
10621 * gst/gstpipeline.c: (do_pipeline_seek):
10622 Small cleanups in docs and code.
10624 * gst/gstsegment.c: (gst_segment_clip):
10625 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10626 if stop == start and start is in the segment, no clipping should be
10627 done. Also add a test for this.
10629 2006-09-15 Wim Taymans <wim@fluendo.com>
10631 * docs/design/part-buffering.txt:
10632 * docs/gst/gstreamer-sections.txt:
10633 * gst/gstmessage.c: (gst_message_new_buffering),
10634 (gst_message_parse_buffering):
10635 * gst/gstmessage.h:
10636 Added methods to create and parse BUFFERING messages.
10637 Added preliminary docs about buffering.
10638 API: gst_message_new_buffering
10639 API: gst_message_parse_buffering
10641 2006-09-06 Wim Taymans <wim@fluendo.com>
10644 Update documentation.
10646 * gst/gstelement.c: (gst_element_class_init),
10647 (gst_element_release_request_pad), (gst_element_set_clock),
10648 (gst_element_get_index), (gst_element_add_pad),
10649 (gst_element_remove_pad), (gst_element_get_random_pad),
10650 (gst_element_send_event), (gst_element_get_query_types),
10651 (gst_element_query), (gst_element_post_message),
10652 (gst_element_message_full), (gst_element_continue_state),
10653 (gst_element_lost_state), (gst_element_save_thyself),
10654 (gst_element_restore_thyself):
10655 Documentation updates.
10656 Rename last bit of the new-pad -> pad-added signal rename.
10657 Fix the case where an element query would only work if the source
10659 Avoid some useless type checking in message handling.
10664 Documentation updates.
10666 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10668 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10669 add an INFO line for when we actually update the fd
10671 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10676 === release 0.10.10 ===
10678 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10681 releasing 0.10.10, "Pais"
10683 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10685 * docs/manual/advanced-position.xml:
10686 Fix typo in sample code.
10688 2006-09-05 Wim Taymans <wim@fluendo.com>
10690 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10691 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10692 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10693 * libs/gst/net/gstnetclientclock.h:
10694 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10695 * libs/gst/net/gstnettimepacket.h:
10696 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10697 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10698 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10699 * libs/gst/net/gstnettimeprovider.h:
10700 Make stuff compile on windows. Fixes #345295.
10702 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10704 * gst/gst.c: (ensure_current_registry_forking):
10705 Print better details when child was terminated by signal.
10707 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10709 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10710 Print a warning rather than g_assert() if a plugin feature
10711 is a URI handler but returns no protocols (#353976).
10713 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10715 * docs/random/moving-plugins:
10718 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10720 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10721 Fix locking order, handle NULL function values properly.
10726 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10727 Initialise variable before using it and fix debug statement to
10728 print the address of the function rather than the address of the
10729 variable on the stack holding the address of the function.
10731 2006-09-01 Wim Taymans <wim@fluendo.com>
10733 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10734 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10735 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10736 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10737 (gst_ghost_pad_parent_unset),
10738 (gst_ghost_pad_internal_do_activate_push),
10739 (gst_ghost_pad_internal_do_activate_pull),
10740 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10741 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10742 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10743 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10744 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10745 (gst_ghost_pad_new_no_target_from_template),
10746 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10748 Avoid needless typechecking in macros.
10749 Since the internal pad is always present and never changes, there is
10750 no need to locking or ref when retrieving it.
10751 Improve debugging a bit.
10752 Handle link errors when setting the target. Fixes #341029.
10754 2006-09-01 Wim Taymans <wim@fluendo.com>
10756 * docs/libs/gstreamer-libs-sections.txt:
10757 * docs/plugins/gstreamer-plugins-sections.txt:
10758 Fix docs some more.
10760 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10761 (gst_collect_pads_event):
10762 * libs/gst/base/gstcollectpads.h:
10763 Documentation updates.
10764 Free queued buffer when removing a pad.
10766 2006-08-31 Michael Smith <msmith@fluendo.com>
10768 * gst/gstutils.c: (gst_element_link_pads),
10769 (gst_element_link_pads_filtered):
10770 Ensure that we set a capsfilter to NULL if we failed to link it
10771 when doing filtered linking, to avoid criticals.
10773 No need to check for unreffing srcpad, which is explicly NULLed
10774 above (a trivial code cleanup).
10776 2006-08-31 Wim Taymans <wim@fluendo.com>
10778 * docs/design/part-gstghostpad.txt:
10779 Update ascii art in documentation.
10781 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10782 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10783 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10784 (gst_ghost_pad_internal_do_activate_push),
10785 (gst_ghost_pad_internal_do_activate_pull),
10786 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10787 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10788 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10789 (gst_ghost_pad_set_target):
10790 Small cleanups and leak fixes.
10791 Remove some checks now that the internal pad is never NULL.
10792 Fix the case where linking pads without a target would create nasty
10793 criticals. Fixes #341029.
10794 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10795 value of _set_target().
10797 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10798 (gst_ghost_pad_suite):
10799 Some more tests for creating and linking untargeted ghostpads.
10801 2006-08-31 Edward Hervey <edward@fluendo.com>
10803 * docs/gst/gstreamer-sections.txt:
10804 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10805 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10806 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10807 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10808 (gst_ghost_pad_new_from_template),
10809 (gst_ghost_pad_new_no_target_from_template):
10810 * gst/gstghostpad.h:
10811 Refactored *_new() functions.
10812 Templates are now used as a g_object_new() parameter.
10813 Use template in _do_getcaps() if we don't have a target.
10814 Small documentation cleanups.
10815 Added two new constructors:
10816 gst_ghost_pad_new_from_template()
10817 gst_ghost_pad_new_no_target_from_template()
10818 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10819 (gst_ghost_pad_suite):
10820 Added tests for new ghostpad instanciation functions.
10822 API additions: gst_ghost_pad_new_from_template,
10823 gst_ghost_pad_new_no_target_from_template
10825 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10827 * docs/random/ensonic/profiling.txt:
10828 Ideas about qos profiling.
10830 2006-08-29 Wim Taymans <wim@fluendo.com>
10832 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10836 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10839 Improve and detypofy docs.
10841 * tests/check/Makefile.am:
10842 * tests/check/gst/.cvsignore:
10843 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10844 Add a basic test suite for GstXML.
10846 2006-08-29 Wim Taymans <wim@fluendo.com>
10848 * gst/gstelement.c: (activate_pads), (clear_caps),
10849 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10850 Clear the pad caps when the element shut down all of the pads and
10851 is not streaming data that could modify the caps.
10854 2006-08-28 Michael Smith <msmith@fluendo.com>
10856 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10857 Revert previous change; I misunderstood single-segment mode.
10859 2006-08-28 Michael Smith <msmith@fluendo.com>
10861 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10862 Unset DISCONT on buffers when using single-segment mode.
10864 2006-08-28 Wim Taymans <wim@fluendo.com>
10866 * gst/gstcaps.c: (gst_caps_merge_structure):
10868 Fix docs and indentation again.
10870 * tests/check/gst/gstquery.c: (GST_START_TEST):
10871 Fix leak in tests and add some more tests.
10873 2006-08-28 Edward Hervey <edward@fluendo.com>
10875 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10876 Inform GstSegment of the last stop position in order for the current
10877 segment to have a proper duration if it doesn't have a specific stop
10878 position from which a duration could be calculated.
10879 This bug was noticeable when a non-flushing, non-update new segment was
10880 followed by another segment (all buffers from the new segment were being
10883 2006-08-28 Wim Taymans <wim@fluendo.com>
10885 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10886 Small comment update.
10888 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10889 (gst_identity_transform_ip):
10890 Drop-probability is broken, mention this in the code with a
10891 FIXME and also in the property description.
10892 Make silent also be silent about the drop messages.
10894 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10896 * docs/manual/appendix-win32.xml:
10897 Remove mention of popt, we don't depend on that any
10898 longer (#353136). Add some comments pointing out that
10899 this section is slightly outdated.
10901 2006-08-28 Wim Taymans <wim@fluendo.com>
10903 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10905 * gst/gstquery.c: (gst_query_new_segment):
10906 * tests/check/gst/gstquery.c: (GST_START_TEST):
10907 Initialize variables when creating a new segment query.
10910 2006-08-28 Wim Taymans <wim@fluendo.com>
10912 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10914 * gst/gstelement.c: (gst_element_get_bus):
10915 * tests/check/gst/gstelement.c: (GST_START_TEST):
10916 Check for NULL before _reffing the bus. Fixes #353122.
10918 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10920 * docs/manual/basics-bus.xml:
10921 Docs update: fix wrong callback return value explanation; add
10922 some lines about the implicit relationship between main loop
10923 and main context; remove duplicate main loop variable declaration.
10925 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10927 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10928 Don't leak caps in unit test; add a few more simple
10931 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10933 * docs/gst/gstreamer-sections.txt:
10934 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10935 (gst_caps_structure_is_subset), (gst_caps_merge),
10936 (gst_caps_merge_structure):
10938 * libs/gst/base/gstbasetransform.c:
10939 (gst_base_transform_transform_caps):
10940 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10941 implement caps merging (fixes #352580)
10943 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10945 * tools/Makefile.am:
10946 * tools/gst-plot-timeline.py:
10947 add debug-log plotting developer tool (#340674)
10949 2006-08-23 Wim Taymans <wim@fluendo.com>
10951 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10952 (gst_pad_stop_task):
10953 Improve debugging for task functions.
10955 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10956 (gst_task_start), (gst_task_pause), (gst_task_join):
10957 Make sure that the task function started and finished after a
10959 Don't try to push the task function on the threadpool multiple
10961 Improve the g_warning message with some useful suggestions
10962 about how to fix the problem.
10964 2006-08-23 Wim Taymans <wim@fluendo.com>
10966 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10967 Handle RESYNC correctly in _proxy_getcaps.
10969 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10971 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10972 (gst_xml_parse_memory), (gst_xml_get_element):
10973 Chain up to parent class in dispose function and also
10974 unref the elements in the toplevel_elements GList.
10975 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10976 Always return a reference in gst_xml_get_element() rather
10977 than only sometimes.
10979 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10980 Don't leak GstXml object.
10982 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10984 * docs/gst/gstreamer-sections.txt:
10985 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10988 * libs/gst/base/gstbasetransform.c:
10989 (gst_base_transform_transform_caps):
10990 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10993 2006-08-21 Edward Hervey <edward@fluendo.com>
10995 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10996 Implement GObject::dispose virtual method in GstXML so we can free the
10997 top_elements GList.
10999 2006-08-21 Wim Taymans <wim@fluendo.com>
11001 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11002 (gst_buffer_create_sub):
11003 Copy duration/offset_end/caps when creating a subbuffer of the
11005 Make the subbuffer read-only when we make the metadata writable for
11006 now. Fixes #351768.
11008 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11009 Added check for metadata copy when creating subbuffers.
11011 2006-08-21 Edward Hervey <edward@fluendo.com>
11013 * libs/gst/base/gstbasetransform.c:
11014 (gst_base_transform_buffer_alloc):
11015 Only call downstream buffer_alloc if transform element is passthrough
11016 or always_in_place. Closes #350449.
11018 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11021 ChangeLog surgery to add comments to previous changes
11023 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11028 * gst/gstpad.c: (gst_pad_set_active):
11029 Be more verbose in the log
11031 * libs/gst/base/gstbasetransform.c:
11032 (gst_base_transform_transform_caps):
11033 Simplify caps to get rid of duplicates, fixes #345444
11035 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11039 Use these optimizations only internally.
11041 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11043 * gst/gstvalue.c: (gst_value_compare_list),
11044 (gst_value_compare_fraction_range),
11045 (gst_value_intersect_fraction_fraction_range),
11046 (gst_value_intersect_fraction_range_fraction_range),
11047 (gst_value_subtract_fraction_fraction_range),
11048 (gst_value_subtract_fraction_range_fraction_range),
11049 (gst_value_get_compare_func), (gst_value_compare),
11050 (gst_value_compare_with_func):
11052 Saves the expensive lookup of the compare function in many cases
11055 2006-08-18 Edward Hervey <edward@fluendo.com>
11057 * tests/check/gst/gstinfo.c: (gst_info_suite):
11058 Disable test that require gstdebug if it wasn't built in core.
11060 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11062 * docs/random/ensonic/logging.txt:
11065 * gst/gstinfo.c: (gst_debug_log_default):
11066 reorder fields, save some columns, add optional color codes for log
11069 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11071 * docs/random/ensonic/logging.txt:
11072 add ideas about making the logs a bit more useful
11074 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11076 * docs/pwg/advanced-events.xml:
11077 * docs/pwg/titlepage.xml:
11078 Update for 0.10 API (#340627). Add myself
11081 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11083 * docs/libs/gstreamer-libs-docs.sgml:
11084 * docs/libs/gstreamer-libs-sections.txt:
11085 * libs/gst/check/gstbufferstraw.c:
11086 Make gstcheck stuff show up in docs (still needs to
11087 be documented properly though).
11089 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11091 * docs/gst/gstreamer-sections.txt:
11093 * gst/gst.c: (init_post):
11094 * gst/gst_private.h:
11095 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11097 * gst/gstquery.c: (gst_query_new_position),
11098 (gst_query_set_position), (gst_query_parse_position),
11099 (gst_query_new_duration), (gst_query_set_duration),
11100 (gst_query_parse_duration), (gst_query_new_convert),
11101 (gst_query_set_convert), (gst_query_parse_convert),
11102 (gst_query_new_segment), (gst_query_set_segment),
11103 (gst_query_parse_segment), (gst_query_new_seeking),
11104 (gst_query_set_seeking), (gst_query_parse_seeking):
11105 Add internal helpers for pre-registering quarks from static strings
11106 and using the quark values directly instead of looking them up when
11107 creating and parsing queries. Can be used for event construction too.
11110 2006-08-16 Wim Taymans <wim@fluendo.com>
11115 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11117 * gst/gstutils.c: (gst_util_set_value_from_string):
11118 Fix memleak (#351502).
11120 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11121 Add unit test for most of gst_util_set_value_from_string()
11122 (not that one would want to encourage use of this function).
11124 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11126 * libs/gst/check/gstcheck.h:
11127 Use const gchar * variables in fail_unless_equals_string
11128 macro to avoid compiler warnings (and don't use tabs for
11131 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11133 * tools/gst-launch.c: (print_tag):
11134 More space on the left for the tag names, to cater
11135 for the 'extended comment' tag (not touching the
11136 string for the first line since it's translated).
11138 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11140 * libs/gst/check/gstcheck.h:
11141 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11142 print something when they fail.
11144 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11146 * docs/gst/gstreamer-sections.txt:
11147 * gst/gsttaglist.c: (_gst_tag_initialize):
11148 * gst/gsttaglist.h:
11149 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11150 Also change merge function for GST_TAG_COMMENT to
11153 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11155 * gst/gstinfo.c: (gst_debug_print_object):
11156 Make GST_PTR_FORMAT print messages as well.
11158 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11159 (GST_START_TEST), (gst_info_suite):
11162 2006-08-14 Edward Hervey <edward@fluendo.com>
11164 * gst/gstelementfactory.c: (gst_element_register):
11165 If the GstElementClass doesn't have a GstElementDetails with all fields
11166 filled up correctly (longname, description AND author), then error out
11167 nicely instead of crashing.
11169 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11171 * gst/gststructure.c:
11172 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11175 Expand on the difference between arrays and lists as we use them.
11177 2006-08-14 Wim Taymans <wim@fluendo.com>
11179 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11180 If the parent state change function failed, don't assume we can safely
11181 stop the source, this will be done when the pads are deactivated.
11183 2006-08-14 Wim Taymans <wim@fluendo.com>
11186 * gst/gsttask.c: (gst_task_join):
11189 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11190 (gst_pad_stop_task):
11191 When pad (de)activation failed for some reason, restore the old
11192 activation mode and set the pad to flushing instead of assuming the
11193 pad is deactivated.
11194 If the _task_join() failed, reinstall the task on the pad so that it can
11195 be stopped later and return an error.
11197 2006-08-11 Andy Wingo <wingo@pobox.com>
11200 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11201 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11202 is only for users of API that don't want to see deprecated
11203 functions in the headers; people that want to compile out
11204 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11205 CFLAGS. Fixes the build of multifdsink, or will soon..
11207 2006-08-11 Wim Taymans <wim@fluendo.com>
11209 * docs/gst/gstreamer-sections.txt:
11210 Add GstClockClass vmethod docs.
11213 Mark #endif with comment for associated #if
11215 * gst/gstclock.c: (gst_clock_id_wait):
11217 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11218 most clock implementations.
11220 Flesh out docs about resolution methods.
11221 API: GstClockClass::wait_jitter
11223 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11224 (gst_system_clock_async_thread),
11225 (gst_system_clock_id_wait_jitter_unlocked),
11226 (gst_system_clock_id_wait_jitter):
11227 Use base class wait_jitter variant for improved performance
11228 due to less clock polling.
11230 2006-08-11 Edward Hervey <edward@fluendo.com>
11232 * gst/gst.c: (gst_init_check), (init_post):
11233 Set gst as being initialized before scanning/updating the registry,
11234 since there might be my python plugin loader that calls gst_init() and
11235 we don't want to loop back in.
11238 2006-08-11 Wim Taymans <wim@fluendo.com>
11240 * docs/design/part-qos.txt:
11241 Bring docs in line with the code. Mostly the sign of the jitter was
11242 wrong in the docs. Fixes #349943.
11245 Fix the docs for the jitter.
11247 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11248 (gst_event_parse_tag), (gst_event_new_buffer_size),
11249 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11250 (gst_event_new_seek), (gst_event_parse_seek),
11251 (gst_event_new_navigation):
11252 Make sure the GstStructure has no parent when creating custom
11254 Add some more argument checking so that we avoid 0.0 rates.
11255 Flesh out the docs for the QoS event some more.
11257 2006-08-11 Wim Taymans <wim@fluendo.com>
11259 * docs/gst/gstreamer-sections.txt:
11260 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11261 (ensure_current_registry_forking), (ensure_current_registry),
11262 (parse_one_option), (parse_goption_arg), (gst_deinit),
11263 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11266 Added API and command line option to disable registry forking in
11267 addition to the environment variable.
11268 Constify some static arrays.
11269 Added some more debug.
11270 Don't deinit twice.
11271 API: gst_registry_fork_is_enabled()
11272 API: gst_registry_fork_set_enabled()
11273 API: --gst-disable-registry-fork command line option
11276 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11278 * gst/gst.c: (gst_init):
11279 Fix typo in error message.
11281 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11283 * libs/gst/controller/gstcontroller.h:
11284 fix ABI size-correction
11286 * tests/check/libs/gdp.c: (gst_dp_suite):
11287 make tests that use deprecated API conditional
11289 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11291 * docs/libs/gstreamer-libs-sections.txt:
11292 * libs/gst/controller/gstcontroller.c:
11293 (_gst_controller_get_property), (_gst_controller_set_property),
11294 (_gst_controller_init), (_gst_controller_class_init):
11295 * libs/gst/controller/gstcontroller.h:
11296 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11297 (gst_object_set_control_rate):
11298 API: add gst_object_{s,g}et_control_rate(), add private data section,
11301 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11302 * libs/gst/dataprotocol/dataprotocol.h:
11303 add deprecation guards to make gtk-doc happy and allow disabling cruft
11305 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11307 * tests/check/Makefile.am:
11308 * tests/check/gst/.cvsignore:
11309 Let's enable the new unit test as well.
11311 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11314 * docs/gst/gstreamer-sections.txt:
11315 * gst/gstconfig.h.in:
11316 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11317 (_gst_info_printf_extension_ptr),
11318 (_gst_info_printf_extension_segment):
11319 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11320 register that lets us easily dump GstSegments into debug
11323 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11324 (info_segment_format_printf_extension), (gst_info_suite):
11325 Add simple unit test that logs a bunch of different segments (not
11326 valgrinded at the moment because of leaks in
11327 gst_debug_add_log_function).
11329 2006-08-09 Edward Hervey <edward@fluendo.com>
11331 * libs/gst/base/gstbasetransform.c:
11332 (gst_base_transform_buffer_alloc):
11333 Even if we can't figure out the proper format to request downstream,
11334 call buffer_alloc() downstream with the input parameters without setting
11335 the caps on the srcpad. This will force negotiation in the chain
11339 2006-08-08 Edward Hervey <edward@fluendo.com>
11341 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11342 Unlinking from a pad without a target is now a perfectly valid case
11343 which should NOT raise an assertion.
11344 This case would happen if a linked ghostpad its target set to NULL after
11345 it was previously linked.
11347 2006-08-08 Edward Hervey <edward@fluendo.com>
11349 * tests/check/libs/gdp.c:
11350 Also comment out the test (see below).
11352 2006-08-08 Edward Hervey <edward@fluendo.com>
11354 * tests/check/libs/gdp.c: (gst_dp_suite):
11355 Use the architecture information from config.h and not gcc macros
11356 in order to properly disable a test that fails on PPC64.
11358 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11360 * gst/gstelement.c: (gst_element_remove_pad):
11361 Don't crash printing the warning if the pad has no parent.
11363 2006-08-02 Wim Taymans <wim@fluendo.com>
11365 * libs/gst/dataprotocol/dataprotocol.c:
11366 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11367 (gst_dp_crc), (gst_dp_header_payload_length),
11368 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11369 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11370 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11371 (gst_dp_event_from_packet), (gst_dp_validate_header),
11372 (gst_dp_validate_payload):
11373 Make debug category static
11374 Constify the crc table.
11375 Do some more arg checking in public functions.
11376 Fix some docs and do some small cleanups.
11378 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11379 Add some more checks to see if GDP deals with bogus input.
11381 2006-07-31 Wim Taymans <wim@fluendo.com>
11383 * gst/gstvalue.c: (gst_value_compare_list):
11384 Fix GstValueList comparison code. Fixes #347293.
11386 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11387 Check to test GstValueList comparison.
11389 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11391 * gst/gstelementfactory.c: (gst_element_factory_create):
11392 Remove unnecessary ref/unref pair
11394 * gst/parse/grammar.y:
11395 Make sure to free the parse buffer on all code paths.
11396 Move a g_free up to the error handler where it's easier to see.
11398 * tests/check/gst/gstevent.c: (test_event):
11399 Extending timeout for downstream travelling events to 10 seconds to
11400 hopefully avoid intermittent failure on the buildbots.
11402 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11403 Don't manually set the state of the src element - it will happen as a
11404 natural consequence of the pipeline changing state, and that way it
11405 will do it in the right order too.
11407 2006-07-31 Wim Taymans <wim@fluendo.com>
11409 * libs/gst/base/gstbasetransform.c:
11410 (gst_base_transform_buffer_alloc):
11411 Use OBJECT_LOCK and refcounting to get the pad caps in the
11412 buffer_alloc function because the caps could change while we are
11413 busy with them. Fixes #349105
11415 2006-07-31 Wim Taymans <wim@fluendo.com>
11417 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11418 Protect _PAD_CAPS with OBJECT_LOCK.
11420 2006-07-31 Wim Taymans <wim@fluendo.com>
11422 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11423 (gst_pad_get_property), (gst_pad_activate_pull),
11424 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11425 (gst_pad_set_activate_function),
11426 (gst_pad_set_activatepull_function),
11427 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11428 (gst_pad_set_getrange_function),
11429 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11430 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11431 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11432 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11433 (gst_pad_set_acceptcaps_function),
11434 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11435 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11436 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11437 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11438 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11439 (gst_pad_configure_sink), (gst_pad_configure_src),
11440 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11441 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11442 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11443 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11444 (gst_pad_send_event):
11445 Use _DEBUG_OBJECT when it makes sense.
11446 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11447 Small cleanups and code reflows.
11448 Avoid caps refcounting in _accept_caps.
11449 Refactor alloc_buffer so that the code performed on the peer is in a
11450 separate function. Also if the pad does not implement a buffer alloc
11451 function, we should still check if the pad is flushing before falling
11452 back to the default allocator.
11454 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11456 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11457 Make all uses of identity and fakesink have silent=true to avoid
11458 serialising every passing data structure, which is breaking tests
11459 on FC4 for some unknown reason.
11461 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11463 * gst/parse/Makefile.am:
11464 * gst/parse/grammar.y:
11465 * gst/parse/parse.l:
11466 Reverted previous patch as it required to bump the flex dependency to
11467 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11469 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11471 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11473 * gst/parse/Makefile.am:
11474 * gst/parse/grammar.y:
11475 * gst/parse/parse.l:
11476 push & pop the state of the lexer for reentrant use case
11479 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11481 * libs/gst/base/gstbasesrc.h:
11482 Note in the docs that the ::newsegment vfunc is not actually used by
11485 2006-07-28 Wim Taymans <wim@fluendo.com>
11487 * libs/gst/base/gstcollectpads.c:
11488 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11489 (gst_collect_pads_clear), (gst_collect_pads_flush),
11490 (gst_collect_pads_event), (gst_collect_pads_chain):
11491 When flushing a pad, also clear the queued buffer so that we don't
11492 accidentally use it when we shouldn't.
11493 Fix leaks by inreffing incomming buffer.
11494 Flush out queued buffers in case of errors.
11497 2006-07-28 Wim Taymans <wim@fluendo.com>
11499 * docs/random/phonon-gst:
11500 Random notes about a Phonon backend.
11502 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11504 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11506 * tests/check/libs/gdp.c: (gst_dp_suite):
11507 Take a whack at fixing the ppc compile using a different define to
11508 disable the broken test.
11510 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11511 Remove excess g_print()
11513 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11515 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11516 Oops, meant to uncomment this line too to dampen the noise a bit.
11518 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11520 * gst/parse/grammar.y:
11521 * gst/parse/parse.l:
11522 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11523 (GST_START_TEST), (parse_suite):
11524 Fix some of the leaks exposed by extending the parse-launch testsuite,
11525 and move the 3 I can't figure out into a separate test that won't run
11526 the pipelines unless the appropriate line is uncommented.
11528 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11530 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11531 Requesting 0 bytes before the end of the file should result in
11532 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11535 2006-07-27 Wim Taymans <wim@fluendo.com>
11537 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11538 Fix useless assert, a uint is always positive.
11540 * gst/gststructure.c: (gst_structure_nth_field_name),
11541 (gst_structure_foreach), (gst_structure_map_in_place):
11542 Check input arguments for public functions to avoid obvious crashes.
11544 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11545 * plugins/elements/gstfakesink.h:
11546 Do less useless typechecking.
11548 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11550 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11551 Do not use mmap() by default since there are a number of error
11552 conditions that we would like to handle in a non-fatal way that
11553 will result in a SIGBUS if we use mmap(). Examples: external
11554 devices (USB harddrive, portable music player) being unplugged
11555 while in use; file on mounted CD/DVD that can't be read because
11556 the medium is partly damaged. Fixes #348455 and #348475.
11558 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11561 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11562 rates are a gdouble
11564 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11566 * gst/gstregistry.c:
11567 Move big documentation comment into class section header, so that it
11568 appears in the API docs.
11570 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11572 * docs/gst/gstreamer-sections.txt:
11573 Oops. Commit the docs additions too for new API.
11574 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11576 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11578 * gst/gststructure.c: (gst_structure_id_set),
11579 (gst_structure_id_set_valist):
11580 * gst/gststructure.h:
11581 Add API for setting values into structures without performing
11582 a quark lookup, if the appropriate quark is already known.
11584 API: gst_structure_id_set
11585 API: gst_structure_id_set_valist
11587 * gst/parse/grammar.y:
11588 * gst/parse/parse.l:
11589 Remove some dead code shown by the coverage information.
11590 Don't throw a critical g_warning when encountering a syntax error,
11591 just warn and let the normal error path handle it.
11593 * plugins/elements/gstelements.c:
11594 Bump the rank of filesink up to PRIMARY so that it is preferred over
11595 gnomevfssink for file:// sink uri's
11597 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11598 (GST_START_TEST), (run_delayed_test),
11599 (gst_parse_test_element_base_init),
11600 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11601 (gst_parse_test_element_change_state),
11602 (gst_register_parse_element), (parse_suite):
11603 Beef up the tests for parse syntax to check that more error cases
11604 fail as they are supposed to. Increases the test coverage a bit.
11606 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11608 * docs/manual/basics-elements.xml:
11609 Fix gst_element_link() example.
11612 Mention in API docs that one should usually gst_bin_add()
11613 elements to a bin or pipeline before doing the linking.
11615 2006-07-26 Wim Taymans <wim@fluendo.com>
11617 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11618 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11619 Avoid function call for known types by keeping the buffer and
11620 subbuffer GType global.
11622 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11623 Random silly optimisations in read() path.
11625 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11627 * tools/gst-launch.c: (main):
11628 If the top-level of the parse is a normal bin, it doesn't do the
11629 right logic to run as a top-level element, so place it inside a
11632 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11634 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11635 Remove superfluous g_object_notify() calls, GObject does
11636 that for us automatically.
11638 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11641 on Win32, use dllspec to export the debug category symbols
11643 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11645 * gst/gsttaglist.c: (_gst_tag_initialize):
11646 Allow more than one GST_TAG_IMAGE per taglist.
11648 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11650 * gst/gstminiobject.c:
11652 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11653 (gst_fd_src_create):
11654 log recurring events at LOG level
11655 add more debug for when the fd gets set
11657 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11659 * gst/gstparse.c: (gst_parse_launch):
11660 Also remove reentrance checks if flex is MT safe (#348179)
11661 Fix my empty ChangeLog entry below
11663 2006-07-21 Andy Wingo <wingo@pobox.com>
11665 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11667 * libs/gst/check/Makefile.am
11668 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11669 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11670 * libs/gst/check/gstbufferstraw.h:
11671 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11672 functions, thus proving I am still a GStreamer haxor. OK I wrote
11673 them a long time ago, but anyways.
11675 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11678 * gst/gstparse.c: (gst_parse_launch):
11679 Check for flex version and omit mutex if we have a MT save flex
11682 2006-07-21 Wim Taymans <wim@fluendo.com>
11684 * gst/gstparse.c: (gst_parse_launch):
11685 Protect recursive calls to _parse with a recursive mutex
11688 2006-07-21 Wim Taymans <wim@fluendo.com>
11690 * tests/check/gst/gstpad.c: (GST_START_TEST):
11693 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11695 * gst/gstparse.c: (gst_parse_launch):
11696 Do not hang on recursive usage of gst_parse_launch()
11698 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11700 * gst/gsttaglist.c:
11701 Add some more docs, comments and FIXME 0.11s here and there
11702 and also fix some typos.
11704 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11706 * gst/gstsegment.h:
11707 Convert tabs to spaces for better readability.
11709 2006-07-20 Edward Hervey <edward@fluendo.com>
11711 * tests/check/libs/gdp.c: (gst_dp_suite):
11712 the test_buffer test fails at line 140 on ppc64 at the following
11714 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11715 GST_BUFFER_FLAG_IN_CAPS),
11716 "GST_BUFFER_IN_CAPS flag should have been copied !");
11717 See bug #348114 for more details.
11719 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11721 * docs/pwg/advanced-scheduling.xml:
11723 Fix typos (#348000).
11725 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11727 * docs/pwg/intro-basics.xml:
11728 Fix wrong links (#347927).
11730 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11732 * gst/gstregistry.h:
11733 * gst/gstregistryxml.c: (load_feature),
11734 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11735 * win32/common/config.h:
11736 make --disable-index work (#342564)
11738 2006-07-18 Wim Taymans <wim@fluendo.com>
11740 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11744 The attached patch adds two missing defines to gsttrace.h when tracing
11745 is disabled. It also corrects one existing define.
11748 2006-07-17 Wim Taymans <wim@fluendo.com>
11750 * docs/gst/gstreamer-sections.txt:
11751 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11753 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11754 Add two functions to check and change the SIGSEGV behaviour
11755 when loading plugins.
11756 Don't mess with the SIGSEGV handler when we were told not to.
11758 API: gst_segtrap_is_enabled
11759 API: gst_segtrap_set_enabled
11761 2006-07-14 Wim Taymans <wim@fluendo.com>
11763 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11764 * tests/check/elements/filesrc.c: (GST_START_TEST):
11765 Revert fix for regression in #347408 after release.
11767 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11769 Patch by: Antoine Tremblay <hexa00 at gmail com>
11771 * gst/gstutils.c: (gst_element_unlink):
11772 Free iterator when done (#347311).
11774 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11775 And add a test case for this.
11777 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11780 Bump nano back to CVS
11782 === release 0.10.9 ===
11784 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11787 releasing 0.10.9, "On the road again"
11789 2006-07-13 Wim Taymans <wim@fluendo.com>
11791 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11792 * tests/check/elements/filesrc.c: (GST_START_TEST):
11793 Revert pull-0 fix for release. Disable check. Fixes #347408.
11795 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11797 * libs/gst/dataprotocol/dataprotocol.c:
11798 (gst_dp_event_from_packet_1_0):
11799 Fixes #347337: failure to deserialize event packets with
11800 empty payload (only event type)
11802 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11805 do not install a .c file in the header directory
11807 2006-07-13 Edward Hervey <edward@fluendo.com>
11809 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11810 GhostPad no longer implicitely use the padtemplates of the targets.
11813 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11815 * gst/gstvalue.c: (gst_value_compare_list),
11816 (gst_value_compare_array), (_gst_value_initialize):
11817 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11818 Make GstValueArray comparison be order dependent as designed.
11819 Add checks for value lists and value array comparisons.
11822 2006-07-11 Edward Hervey <edward@fluendo.com>
11824 * gst/gstbin.c: (activate_pads),
11825 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11826 (gst_bin_change_state_func):
11827 (de)activate src pads before calling state_change on the childs.
11828 This is to avoid the case where a src ghostpad is blocked (holding the
11829 stream lock), which would block the deactivation of the ghostpad's
11831 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11832 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11833 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11834 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11835 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11836 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11837 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11838 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11839 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11840 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11841 (gst_ghost_pad_class_init),
11842 (gst_ghost_pad_internal_do_activate_push),
11843 (gst_ghost_pad_internal_do_activate_pull),
11844 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11845 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11846 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11847 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11848 GhostPads now create their internal GstProxyPad at creation (and not
11849 when they're linked, as it was being done previously).
11850 The internal and target pads are linked straight away.
11851 The data will also travel through the other pad in order to make
11852 pad blocking and probes non-hackish (the probe/block now really happens
11853 on the GhostPad and not on the target).
11854 * gst/gstpad.c: (gst_pad_set_blocked_async),
11855 (gst_pad_link_prepare), (gst_pad_push_event):
11856 Remove previous ghostpad cruft.
11857 * gst/gstutils.c: (gst_pad_add_data_probe),
11858 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11859 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11860 (gst_pad_remove_buffer_probe):
11861 Remove previous ghost pad cruft.
11862 Added more detailed debug statements.
11863 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11864 Fix the testsuite for refcounting changes.
11865 The comments about who has references were correct, but the refcount
11866 being checked wasn't the same (!?!).
11870 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11872 * docs/gst/gstreamer-sections.txt:
11873 * gst/gstconfig.h.in:
11874 More docs for configuration options, add docs to gtk-doc.
11876 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11879 * gst/gstconfig.h.in:
11880 * win32/common/config.h:
11881 Fix build when disabling tracing (fixes #344016). Also start to document
11882 the defines that disable the sub-systems.
11884 2006-07-10 Edward Hervey <edward@fluendo.com>
11886 * gst/gst.c: (ensure_current_registry_forking):
11887 let's make valgrind happy...
11889 2006-07-09 Wim Taymans <wim@fluendo.com>
11891 * gst/gstelement.c: (activate_pads),
11892 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11893 Better pad activation code: Reset the collect value too on resync.
11896 2006-07-09 Wim Taymans <wim@fluendo.com>
11898 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11899 (gst_pad_activate_push):
11900 Use some more macros where it makes sense.
11901 Allow pad mode switching instead of asserting. When a pad
11902 is activated in one mode and we activate it in another,
11903 deactivate it first before activating it in a different mode.
11906 2006-07-08 Andy Wingo <wingo@pobox.com>
11908 * tools/gst-launch.c (main): Handle err == NULL.
11910 * gst/gst.c (init_post, ensure_current_registry)
11911 (ensure_current_registry_forking)
11912 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11913 factoring out the registry scanning into separate functions. Don't
11914 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11915 Better environment var name/interface suggestions accepted.
11917 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11919 * gst/gstobject.c: (gst_object_set_name_default),
11920 (gst_object_set_name):
11921 Random micro-optimisation: don't use a hash table
11922 with strings as keys and the usual strdup/strcmp
11923 involved, but rather just use the GQuark of the
11924 type name as key, since it needs to be looked up
11925 anyway to get the type name string.
11927 * tests/check/gst/gstobject.c: (GST_START_TEST):
11930 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11932 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11933 (gst_bin_iterate_all_by_interface):
11934 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11935 GTypes are gulongs and thus the top 4 bytes might be cut
11936 off on some platforms when doing GPOINTER_TO_INT, leading
11937 to invalid GTypes and bad things happening (see RH bug #179654).
11938 Also add a check to make sure the type passed in is really
11941 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11946 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11950 * gst-element-check.m4:
11951 * gst-element-check.m4.in:
11952 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11953 instead of the unversioned gst-inspect (#324176, #168659).
11955 2006-07-06 Wim Taymans <wim@fluendo.com>
11957 * gst/gstmessage.h:
11958 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11961 2006-07-06 Wim Taymans <wim@fluendo.com>
11963 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11964 (gst_base_src_wait), (gst_base_src_update_length),
11965 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11966 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11967 (gst_base_src_loop), (gst_base_src_start),
11968 (gst_base_src_activate_pull):
11970 blocksize == 0 now means the default blocksize when working in push
11972 Remove some pointless asserts in _wait function.
11973 Fix offset/length calculations and EOS handling. We can now pull 0
11974 bytes as well, which is allowed.
11975 use _check_get_range() to decide if we can operate in _pull based
11977 Fix refcounting leak when check_get_range function was not
11979 API GstBaseSrc::blocksize range can be 0 too now (default)
11981 * tests/check/elements/filesrc.c: (GST_START_TEST),
11983 Added check to test _get_range() behaviour.
11985 2006-07-06 Wim Taymans <wim@fluendo.com>
11987 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11988 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11989 (gst_pad_pull_range):
11991 Lots of comments and docs added to the pad functions.
11992 Flesh out the expected behaviour of the get_range() functions.
11994 2006-07-06 Wim Taymans <wim@fluendo.com>
11999 * gst/gstiterator.h:
12003 Remove comma at end of enumerator list.
12005 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12007 * win32/common/libgstbase.def:
12008 * win32/common/libgstdataprotocol.def:
12009 * win32/common/libsgtreamer.def:
12010 Add new exported functions.
12012 2006-07-05 Wim Taymans <wim@fluendo.com>
12014 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12015 Add some more docs here and there.
12017 2006-07-05 Wim Taymans <wim@fluendo.com>
12019 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12020 (gst_base_sink_loop), (gst_base_sink_get_position):
12021 When operating in pull mode update the offset so that we
12024 2006-07-05 Wim Taymans <wim@fluendo.com>
12026 * gst/gstregistryxml.c: (read_string):
12027 Avoid strdup. (will happen in libxml, but hey!)
12030 Add some more docs.
12032 2006-07-05 Wim Taymans <wim@fluendo.com>
12034 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12035 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12036 (gst_buffer_suite):
12037 No point in checking if the size of the subbuffer > 0, the
12038 code handles it correclty as demonstrated by unit test.
12039 Also add a unit test for the zero sized _new_and_alloc and
12040 _copy. Fixes #346663.
12042 2006-07-05 Wim Taymans <wim@fluendo.com>
12044 * libs/gst/base/gstbasetransform.c:
12045 (gst_base_transform_prepare_output_buffer),
12046 (gst_base_transform_buffer_alloc),
12047 (gst_base_transform_handle_buffer):
12048 Make sure the buffer we pass to transform_ip has a refcount of
12049 1 and thus is writable. Fixes #343196
12051 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12053 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12054 (gst_file_src_init), (gst_file_src_set_property),
12055 (gst_file_src_get_property), (gst_file_src_map_region):
12056 * plugins/elements/gstfilesrc.h:
12057 Add "sequential" property, off by default, to use madvise and hint
12058 to the kernel that sequential access is desired.
12059 Touch all retrieved pages by default to ensure they are pulled
12060 into memory. (Closes #345720)
12062 2006-07-03 Wim Taymans <wim@fluendo.com>
12064 * docs/design/part-block.txt:
12065 * docs/design/part-dynamic.txt:
12066 Small docs updates.
12068 2006-07-03 Wim Taymans <wim@fluendo.com>
12070 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12071 (gst_caps_unref), (gst_static_caps_get),
12072 (gst_caps_append_structure):
12073 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12074 Use GSlice when the glib we build against is >= 2.10
12076 2006-07-03 Wim Taymans <wim@fluendo.com>
12078 * gst/gstelement.c: (gst_element_pads_activate):
12079 Small cleanup in pad activation code.
12081 2006-07-03 Wim Taymans <wim@fluendo.com>
12083 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12085 * gst/gst-i18n-app.h:
12086 * gst/gst-i18n-lib.h:
12087 * tools/gst-inspect.c: (print_signal_info):
12088 The attached patch will make the inclusion of gettext.h unconditional in
12089 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12090 libintl.h in tools/gst-inspect.c.
12091 This allows use of --disable-nls again and fixes #344642.
12093 2006-07-03 Edward Hervey <edward@fluendo.com>
12095 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12096 Implement pad blocking on events according to part-block.txt.
12097 More comments on behaviour.
12098 * tests/check/gst/gstevent.c: (test_event):
12099 Send event to peer pad of blocked pad (else it will block).
12101 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12103 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12104 (gst_check_run_suite):
12105 if we get the wrong message, give us the types as string
12106 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12108 * tests/check/elements/filesrc.c: (GST_START_TEST):
12109 add a test for trying to open a non-existing file
12111 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12113 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12114 add a test for adding self
12116 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12118 * libs/gst/check/gstcheck.h:
12119 add some assert_ as alias for fail_unless_*
12120 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12121 increase test coverage
12123 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12126 include lcov.mak for lcov coverage generation
12127 * tools/Makefile.am:
12130 2006-07-02 Edward Hervey <edward@fluendo.com>
12132 * tests/check/elements/.cvsignore:
12135 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12138 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12139 * tests/check/Makefile.am:
12140 clean up gcov files
12142 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12144 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12145 remove gst_caps_simplify; it was not declared and not used
12146 and deprecated in 0.8
12148 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12150 * docs/faq/gst-uninstalled:
12151 don't put empty paths on PYTHONPATH
12152 * docs/gst/gstreamer-sections.txt:
12153 remove some symbols that are not there
12155 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12157 * gst/gstcaps.c: (gst_caps_compare_structures):
12159 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12160 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12163 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12165 * libs/gst/dataprotocol/Makefile.am:
12166 build dataprotocol test by linking to the lib, instead of
12167 compiling the source, so we get coverage
12168 * tests/check/Makefile.am:
12169 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12170 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12171 add a test for filesrc
12173 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12175 * tests/check/gst/gststructure.c: (GST_START_TEST),
12176 (gst_structure_suite):
12177 Push coverage from 59.04% to 70.00%
12179 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12181 * tests/check/Makefile.am:
12182 gst-inspect every element; this makes sure that we also get
12183 coverage on element's get/set functions
12185 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12188 set CFLAGS and friends to -O0 if gcov is being used
12191 * libs/gst/base/Makefile.am:
12192 * libs/gst/check/Makefile.am:
12193 * libs/gst/controller/Makefile.am:
12194 * libs/gst/dataprotocol/Makefile.am:
12195 * libs/gst/net/Makefile.am:
12196 * plugins/elements/Makefile.am:
12197 * plugins/indexers/Makefile.am:
12198 add makefile rules to generate gcov data and clean up
12199 * tests/check/Makefile.am:
12200 add a coverage target that generates an html overview
12203 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12205 * tests/check/elements/fakesink.c:
12206 * tests/check/elements/fakesrc.c:
12207 * tests/check/elements/fdsrc.c:
12208 * tests/check/elements/identity.c:
12209 * tests/check/generic/sinks.c: (gst_sinks_suite):
12210 * tests/check/generic/states.c:
12211 * tests/check/gst/gst.c:
12212 * tests/check/gst/gstabi.c:
12213 * tests/check/gst/gstbin.c:
12214 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12215 * tests/check/gst/gstbus.c: (gst_bus_suite):
12216 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12217 * tests/check/gst/gstelement.c:
12218 * tests/check/gst/gstevent.c: (gst_event_suite):
12219 * tests/check/gst/gstghostpad.c:
12220 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12221 * tests/check/gst/gstmessage.c: (gst_message_suite):
12222 * tests/check/gst/gstminiobject.c:
12223 * tests/check/gst/gstobject.c:
12224 * tests/check/gst/gstpad.c:
12225 * tests/check/gst/gstpipeline.c:
12226 * tests/check/gst/gstplugin.c:
12227 * tests/check/gst/gstquery.c: (gst_query_suite):
12228 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12229 * tests/check/gst/gststructure.c:
12230 * tests/check/gst/gstsystemclock.c:
12231 * tests/check/gst/gsttag.c:
12232 * tests/check/gst/gsttask.c: (gst_task_suite):
12233 * tests/check/gst/gstutils.c:
12234 * tests/check/gst/gstvalue.c:
12235 * tests/check/libs/adapter.c:
12236 * tests/check/libs/basesrc.c:
12237 * tests/check/libs/collectpads.c:
12238 * tests/check/libs/controller.c:
12239 * tests/check/libs/gdp.c: (gst_dp_suite):
12240 * tests/check/libs/gstnetclientclock.c:
12241 * tests/check/libs/gstnettimeprovider.c:
12242 * tests/check/libs/libsabi.c: (libsabi_suite):
12243 * tests/check/libs/typefindhelper.c:
12244 * tests/check/pipelines/cleanup.c:
12245 * tests/check/pipelines/parse-launch.c:
12246 * tests/check/pipelines/simple-launch-lines.c:
12247 * tests/check/pipelines/stress.c: (stress_suite):
12250 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12252 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12253 * libs/gst/check/gstcheck.h:
12254 create a macro and function so that the simple unit test
12255 case can be just one macro to create main()
12257 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12259 * gst/gstbin.c: (gst_bin_restore_thyself):
12260 * gst/gstxml.c: (gst_xml_make_element):
12261 Fix deserialisation from XML. Set parent manually
12262 instead of using gst_bin_add(), since gst_bin_add()
12263 will unlink all pads of the element being added.
12266 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12268 Patch by: Peter Kjellerstedt <pkj at axis com>
12270 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12271 Fix missing g_strdup() and double free when using the
12272 --gst-plugin-load command line option (#346097).
12274 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12277 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12279 * libs/gst/net/gstnetclientclock.c:
12280 * libs/gst/net/gstnettimeprovider.c:
12281 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12283 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12285 * docs/manual/advanced-dataaccess.xml:
12286 Fix buffer probe example compilation in
12289 2006-06-22 Edward Hervey <edward@fluendo.com>
12291 * gst/gstelement.c: (gst_element_pads_activate):
12292 We need to deactivate src pads first and then sink pads.
12293 The reason is the src pads might be blocking while holding the streaming
12294 lock, so we need to deactivate them first so that deactivating the sink
12295 pads doesn't block (since it will require the streaming lock).
12297 2006-06-22 Wim Taymans <wim@fluendo.com>
12299 * libs/gst/base/gstbasetransform.c:
12300 (gst_base_transform_buffer_alloc):
12301 Forgot to remove two unneeded unrefs.
12302 Simplify a check _is_equal allready checks the obvious case.
12304 2006-06-22 Wim Taymans <wim@fluendo.com>
12306 * docs/design/part-block.txt:
12307 Some docs about what pad_block should do.
12309 2006-06-22 Wim Taymans <wim@fluendo.com>
12311 * gst/gstcaps.c: (gst_caps_replace):
12312 Fix crasher when passed NULL. Doc clarification.
12313 Optimize for the trivial case.
12315 * gst/gstpipeline.c: (gst_pipeline_change_state):
12318 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12319 Small documentation cleanup.
12321 * libs/gst/base/gstbasetransform.c:
12322 (gst_base_transform_buffer_alloc):
12323 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12324 is what we need and it avoids a whole lot of redundant
12325 refcount operations.
12327 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12329 Patch by: Philip Jägenstedt <philip at lysator liu se>
12331 * docs/manual/advanced-dataaccess.xml:
12332 Fix 'Embedding static elements' section to use
12333 GST_PLUGIN_DEFINE_STATIC (#345607).
12335 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12337 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12338 Attempt to 'fix' spuriously failing test case: it seems like the
12339 timeout of half a second is simply too small when the system is under
12340 load otherwise, and the timeout doesn't really seem to serve any
12341 particular purpose here. Give the pipeline a few seconds to preroll
12342 first, and then give it another half a second to go from PAUSED to
12343 PLAYING and marshal the message into the main thread.
12345 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12347 * tools/gst-feedback-m.m:
12348 Don't only use unversioned tools, try versioned tools as well
12351 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12353 * gst/gstbus.c: (gst_bus_class_init):
12354 Fix some typos, make docs more explicit.
12356 2006-06-20 Wim Taymans <wim@fluendo.com>
12358 * tests/check/gst/gstghostpad.c: (block_callback),
12359 (GST_START_TEST), (gst_ghost_pad_suite):
12360 Added some more ghostpad tests, mainly blocking
12363 2006-06-16 Wim Taymans <wim@fluendo.com>
12365 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12366 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12367 (gst_file_sink_event), (gst_file_sink_render):
12368 * plugins/elements/gstfilesink.h:
12369 Check if we can seek in the file instead of assuming
12370 we always can. Post an error when we are asked to seek in a
12371 non-seekable file (like a fifo). Fixes #343312.
12374 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12376 * tools/gst-launch.1.in:
12377 Un-garble (fourcc) bit in filtered caps section.
12379 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12381 * docs/manual/advanced-autoplugging.xml:
12382 * docs/manual/basics-helloworld.xml:
12383 * docs/manual/highlevel-components.xml:
12384 Don't leak bus reference in sample code.
12386 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12389 Add default for new --enable-plugin-docs switch.
12392 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12395 * docs/Makefile.am:
12396 Use new ENABLE_PLUGIN_DOCS conditional.
12398 2006-06-14 Wim Taymans <wim@fluendo.com>
12400 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12401 Make it clear with a FIXME and a real define what the #if 0
12402 previously disabled.
12404 2006-06-14 Wim Taymans <wim@fluendo.com>
12406 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12407 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12408 * libs/gst/base/gstbasetransform.c:
12409 (gst_base_transform_sink_eventfunc):
12410 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12411 Don't randomly and silently reset a segment when the format
12412 changes as this is a bug somewhere upstream. Fixes #330379.
12414 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12416 Patch by: Wouter Paesen <wouter at kangaroot net>
12418 * libs/gst/controller/gstcontroller.c:
12419 (gst_controlled_property_new):
12420 Fix controlling of float properties (#344849).
12422 * tests/check/libs/controller.c:
12423 (gst_test_mono_source_get_property),
12424 (gst_test_mono_source_set_property),
12425 (gst_test_mono_source_class_init), (GST_START_TEST):
12426 While we're at it, add some float stuff to unit test.
12428 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12431 * docs/images/gdp-header.svg:
12433 * docs/libs/Makefile.am:
12434 * docs/libs/gdp-header.png:
12435 * libs/gst/dataprotocol/dataprotocol.c:
12436 add it to the API docs
12437 * docs/manual/intro-motivation.xml:
12440 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12442 * gst/gst.c: (scan_and_update_registry), (init_post):
12443 If the fork()'ed child process can't write the updated registry cache
12444 file to disk for some reason, make it exit with a failure exit code,
12445 so that the parent can then re-scan the plugins itself and update the
12446 registry structures in memory and work with that (rather than failing
12447 when creating elements because seemingly no plugins are available).
12448 Refactor registry scanning code into separate function for this and
12449 also separate fork() and non-fork() code paths. Fixes #344748.
12451 2006-06-13 Wim Taymans <wim@fluendo.com>
12453 * docs/manual/advanced-dataaccess.xml:
12454 Fix wrong PluginDesc. Fixes #344755.
12456 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12458 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12459 Fix silly bug that prevented us from creating
12460 ~/.gstreamer-0.10 and writing the registry in one
12461 go (the first call to g_mkstemp() would overwrite the
12462 placeholder in the template string, so the second call
12463 to g_mkstemp() after creating the missing directory
12464 would then error out with 'invalid argument').
12466 2006-06-13 Edward Hervey <edward@fluendo.com>
12468 * gst/gst.c: (init_post):
12471 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12473 * gst/glib-compat-private.h:
12474 * gst/glib-compat.c:
12475 * gst/glib-compat.h:
12476 * gst/gstvalue.c: (gst_value_serialize_flags):
12477 remove GLib 2.6 compatibility code
12479 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12481 * gst/parse/Makefile.am:
12482 Fix build with 'make -j N' even more (#340016).
12484 2006-06-12 Wim Taymans <wim@fluendo.com>
12486 * docs/gst/gstreamer-sections.txt:
12489 2006-06-12 Wim Taymans <wim@fluendo.com>
12491 * gst/gstsegment.c: (gst_segment_set_duration),
12492 (gst_segment_set_last_stop), (gst_segment_set_seek),
12493 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12494 (gst_segment_to_running_time), (gst_segment_clip):
12495 Use G_UNLIKELY to help the compiler a bit.
12497 2006-06-12 Wim Taymans <wim@fluendo.com>
12499 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12501 * gst/gstevent.c: (gst_event_get_type):
12502 * gst/gstmessage.c:
12503 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12505 constify quark registration strings. Fixes #344115
12506 Avoid unneeded type checking is _pad_push() by internally
12507 calling gst_pad_chain_unchecked().
12509 2006-06-12 Wim Taymans <wim@fluendo.com>
12511 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12512 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12513 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12514 (gst_buffer_is_span_fast), (gst_buffer_span):
12515 Init _type for consistency.
12516 Use _FLAGS macro to avoid type check.
12517 Avoid unneeded type checks in subbufer code.
12519 2006-06-12 Wim Taymans <wim@fluendo.com>
12521 * gst/gst.c: (gst_debug_help):
12522 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12523 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12524 (gst_plugin_feature_list_free):
12525 * gst/gstregistry.c: (gst_registry_add_plugin),
12526 (gst_registry_add_feature), (gst_registry_plugin_filter),
12527 (gst_registry_feature_filter), (gst_registry_find_plugin),
12528 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12529 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12530 * gst/gstregistryxml.c: (load_feature),
12531 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12532 * gst/gstminiobject.c: (gst_mini_object_unref),
12533 (gst_mini_object_replace), (gst_value_mini_object_free),
12534 (gst_value_mini_object_copy):
12535 Use _CAST macros to avoid unneeded type checking.
12536 Added some more G_UNLIKELY.
12538 2006-06-12 Wim Taymans <wim@fluendo.com>
12541 Avoid unneeded type checking.
12542 API: GST_BUFFER_IS_DISCONT
12544 * gst/gstminiobject.h:
12545 Avoid type check in flag accessor.
12547 * gst/gstelementfactory.h:
12549 * gst/gstpluginfeature.h:
12551 API: GST_ELEMENT_FACTORY_CAST
12552 API: GST_PLUGIN_CAST
12553 API: GST_PLUGIN_FEATURE_CAST
12555 2006-06-12 Wim Taymans <wim@fluendo.com>
12557 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12558 (gst_object_unref):
12559 Add G_UNLIKELY in type registration.
12560 Avoid type check in _ref/_unref since that is also
12563 2006-06-12 Wim Taymans <wim@fluendo.com>
12565 * gst/gsterror.c: (gst_g_error_get_type):
12566 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12567 (gst_static_pad_template_get_type):
12568 * gst/gsttaglist.c: (gst_tag_list_get_type):
12569 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12570 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12571 * gst/gsturi.c: (gst_uri_handler_get_type):
12572 * gst/gstvalue.c: (gst_date_get_type):
12573 * gst/gstxml.c: (gst_xml_get_type):
12574 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12575 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12576 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12577 Add G_UNLIKELY in type registration.
12579 2006-06-12 Wim Taymans <wim@fluendo.com>
12581 * tools/gst-inspect.c: (print_signal_info):
12582 Properly print enum values.
12584 2006-06-12 Wim Taymans <wim@fluendo.com>
12586 * gst/gstinfo.c: (gst_debug_set_active),
12587 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12589 Add some G_[UN]LIKELY.
12590 Maintain __gst_debug_min to avoid formatting the arguments of
12591 debug messages that will be dropped anyway to avoid a lot of
12592 overhead from the debugging system.
12594 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12597 * po/POTFILES.skip:
12598 add missing files containing translatable strings, tell intltool about
12601 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12603 * tests/check/libs/.cvsignore:
12604 add test-binary to ignore list
12606 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12608 * docs/libs/gstreamer-libs-docs.sgml:
12609 reorder (put dp into a chapter) and indent
12611 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12616 === release 0.10.8 ===
12618 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12621 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12623 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12625 * gst/gst.c: (init_post):
12626 move pid declaration to declaration block
12628 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12630 * gst/gst.c: (init_post):
12631 use _exit() instead of exit() in our forked child; this ensures
12632 that none of the registered exit handlers from whatever is using
12633 GStreamer get executed. This fixes gnome-mixer-applet failing
12634 to load, because ORBit would shut down.
12635 Spotted by: Edward Hervey <edward@fluendo.com>
12636 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12639 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12644 === release 0.10.7 ===
12646 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12649 releasing 0.10.7, "Soepeke, ik zie ou"
12651 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12674 * win32/common/config.h:
12675 0.10.6.2 prerelease
12677 2006-06-07 Wim Taymans <wim@fluendo.com>
12679 * gst/gstindex.c: (gst_index_gtype_resolver):
12680 * tools/gst-xmlinspect.c: (print_plugin_info):
12681 Fix leak spotted by coverity checker. Fixes #343827
12682 Fix another other leak found by paolo borelli.
12684 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12686 * libs/gst/dataprotocol/dataprotocol.c:
12687 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12688 (gst_dp_version_get_type), (gst_dp_init),
12689 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12690 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12691 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12692 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12693 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12694 (gst_dp_packetizer_free):
12695 * libs/gst/dataprotocol/dataprotocol.h:
12696 API: add a GstDPPacketizer object, and create/free functions
12697 API: add GstDPVersion enum
12698 Add 1.0 event function that uses the string serialization
12699 Serialize more useful buffer flags
12702 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12704 * tests/check/Makefile.am:
12705 * tests/check/gst/gstabi.c:
12706 * tests/check/gst/struct_ppc64.h:
12707 * tests/check/libs/libsabi.c:
12708 * tests/check/libs/struct_ppc64.h:
12709 add ppc64 structure sizes
12711 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12713 * tests/check/Makefile.am:
12714 * tests/check/gst/gstabi.c:
12715 * tests/check/gst/struct_x86_64.h:
12716 * tests/check/libs/libsabi.c:
12717 * tests/check/libs/struct_x86_64.h:
12718 generate and add structure size lists for x86_64
12720 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12722 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12723 * libs/gst/check/gstcheck.h:
12724 factor out the method from tests that checks size of structures,
12725 and add code to generate the header containing these sizes
12726 * tests/check/gst/gstabi.c: (GST_START_TEST):
12727 * tests/check/gst/struct_i386.h:
12728 * tests/check/libs/libsabi.c: (GST_START_TEST):
12729 * tests/check/libs/struct_i386.h:
12732 2006-06-06 Michael Smith <msmith@fluendo.com>
12734 * gst/gstsegment.h:
12735 Don't use c++-style comments, fixes #343929
12737 2006-06-05 Edward Hervey <edward@fluendo.com>
12740 plugin_paths is not used if we build without registry support.
12742 * gst/gstsegment.c: (gst_segment_copy):
12743 _copy() was always returning NULL...
12745 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12747 * libs/gst/dataprotocol/dataprotocol.c:
12748 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12749 (gst_dp_packet_from_event):
12750 factor out CRC code
12752 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12754 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12755 make sure we unset caps
12757 2006-06-02 Michael Smith <msmith@fluendo.com>
12759 * libs/gst/check/gstcheck.c: (gst_check_init),
12760 (gst_check_chain_func):
12761 * libs/gst/check/gstcheck.h:
12762 Add a cond/mutex to the check support lib, signal this whenever we
12763 add to the buffers list. This will allow tests to not busy-wait on
12766 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12768 * libs/gst/dataprotocol/dataprotocol.c:
12769 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12770 (gst_dp_packet_from_event):
12771 factor out some common header init code
12773 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12775 * docs/libs/gstreamer-libs-sections.txt:
12776 * docs/libs/tmpl/gstdataprotocol.sgml:
12777 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12778 * libs/gst/dataprotocol/dataprotocol.h:
12779 API: make gst_dp_crc() public
12781 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12783 * plugins/indexers/gstindexers.c: (plugin_init):
12784 conditionally register fileindexer (fixes #343598)
12786 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12788 * gst/gsttagsetter.h:
12789 Can't cast ifaces to a class
12791 * libs/gst/net/gstnetclientclock.h:
12792 * libs/gst/net/gstnettimeprovider.h:
12793 * plugins/elements/gstfakesink.h:
12794 * plugins/elements/gstfakesrc.h:
12795 * plugins/elements/gstfdsink.h:
12796 * plugins/elements/gstfdsrc.h:
12797 * plugins/elements/gstfilesink.h:
12798 * plugins/elements/gstfilesrc.h:
12799 * plugins/elements/gstidentity.h:
12800 * plugins/elements/gstqueue.h:
12801 * plugins/elements/gsttee.h:
12802 * plugins/indexers/gstfileindex.c:
12803 * plugins/indexers/gstmemindex.c:
12804 * tests/old/examples/plugins/example.h:
12805 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12807 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12809 * libs/gst/dataprotocol/dataprotocol.c:
12810 (gst_dp_header_from_buffer):
12811 make sure we zero the whole ABI-compatible area
12813 2006-06-01 Wim Taymans <wim@fluendo.com>
12815 Patch by: Alessandro Decina <alessandro at nnva dot org>
12817 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12818 Make sure the EOS flag is cleared from pads after a flush
12819 or stop. Fixes #343538.
12821 * tests/check/libs/collectpads.c: (GST_START_TEST),
12822 (gst_collect_pads_suite):
12823 Added test for collectpads reusage after EOS.
12825 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12828 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12829 * win32/common/libgstbase.def:
12830 export gst_collect_pads_set_flushing
12831 * win32/common/libgstreamer.def:
12832 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12833 gst_value_fraction_multiply
12834 * win32/vs6/gst_inspect.dsp:
12835 add a link to intl.lib
12837 2006-05-30 Wim Taymans <wim@fluendo.com>
12839 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12840 (gst_collect_pads_chain):
12841 Handle the case where a pad is removed from the collection
12842 that could cause the other pads to become collectable.
12844 2006-05-30 Wim Taymans <wim@fluendo.com>
12846 * gst/gstelement.c:
12847 Clarify the use of _release_request_pad() and
12848 _get_request_pad() a bit better.
12850 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12851 (gst_adapter_take_buffer):
12852 Fix some doc and comment typos.
12854 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12856 * docs/gst/gstreamer-sections.txt:
12857 * docs/libs/gstreamer-libs-sections.txt:
12858 add declared symbols
12860 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12862 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12863 Add debug that can be enabled using a #define at the top of the file,
12864 for dumping stats about how late/early we were when waking up from
12865 waiting on the clock.
12867 2006-05-30 Wim Taymans <wim@fluendo.com>
12869 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12870 When rebuilding the pad list, don't leak the previous list.
12872 2006-05-30 Wim Taymans <wim@fluendo.com>
12874 Patch by: Lutz Mueller <lutz at topfrose dot de>
12876 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12877 (gst_base_src_get_query_types), (gst_base_src_update_length):
12878 Publish supported query types.
12879 Update last_stop field in get_range mode so the position
12880 query works. Fixes #342321.
12882 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12884 * docs/gst/gstreamer-sections.txt:
12885 * gst/gsttaglist.c: (_gst_tag_initialize):
12886 * gst/gsttaglist.h:
12887 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12889 2006-05-30 Wim Taymans <wim@fluendo.com>
12891 Patch by: Alessandro Decina <alessandro at nnva dot org>
12893 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12894 Unlock mutex when removing an unknown pad.
12897 * tests/check/Makefile.am:
12898 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12899 (push_event), (setup), (teardown), (GST_START_TEST),
12900 (gst_collect_pads_suite), (main):
12901 Added collecpads check, disabled for now as check crashes for
12904 2006-05-29 Wim Taymans <wim@fluendo.com>
12906 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12907 Don't leak pads lists.
12909 2006-05-29 Wim Taymans <wim@fluendo.com>
12911 * docs/libs/gstreamer-libs-sections.txt:
12912 * libs/gst/base/gstcollectpads.c:
12913 (gst_collect_pads_set_flushing_unlocked),
12914 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12915 (gst_collect_pads_stop):
12916 * libs/gst/base/gstcollectpads.h:
12917 API: gst_collect_pads_set_flushing()
12918 Added api to set the pads to flushing, useful for seeking
12919 code in elements using collectpads.
12920 Clear segment when receiving a flush.
12922 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12924 * gst/gst.c: (add_path_func), (init_post):
12925 Don't scan registry paths passed via --gst-plugin-path immediately
12926 (will crash, because absolutely nothing is set up and no types are
12927 registered etc.); do this later in init_post(). Fixes #343057.
12929 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12931 * gst/gst.c: (init_post):
12932 if we have fork, fork while reading/rebuilding the registry
12933 so the parent doesn't take the hit of having all plugins loaded
12934 in memory. Fixes #342777.
12936 Check if we have fork()
12937 * win32/common/config.h.in:
12940 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12942 * plugins/elements/gstelements.c:
12943 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12944 (gst_file_src_init), (gst_file_src_set_property),
12945 (gst_file_src_get_property), (gst_file_src_start):
12946 * plugins/elements/gstfilesrc.h:
12947 API: GstFileSrc::use-mmap
12949 Add a use-mmap property to enable easier testing of all code paths.
12950 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12951 in the absence of gnomevfssrc. (Closes #340501)
12953 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12955 * tools/gst-inspect.c:
12956 Add missing include, removes warning of ngettext not being defined on
12959 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12961 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12962 Handle NULL input and output pointers silently as a failed conversion,
12963 rather than g_warnings.
12965 2006-05-25 Wim Taymans <wim@fluendo.com>
12967 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12968 Initialize variable before using. Fixes #342820.
12970 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12972 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12973 Fix off-by-one bug that would only allow peeks of N-1 bytes
12974 from the start even if the buffer to typefind on contains
12975 in fact N bytes of data (makes vorbis typefinding from a
12976 vorbis identification header buffer work).
12978 * tests/check/Makefile.am:
12979 * tests/check/libs/.cvsignore:
12980 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12981 (gst_typefindhelper_suite), (main), (foobar_typefind),
12983 Add very basic unit test for gst_type_find_helper_for_buffer()
12984 that checks for the problem fixed above.
12986 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12988 * tools/gst-inspect.c: (print_interfaces),
12989 (print_element_properties_info), (print_element_list), (main):
12990 add more translatable strings
12992 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12994 Patch by: Julien Moutte <julien at moutte net>
12996 * docs/gst/gstreamer-sections.txt:
12997 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12999 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13000 (gst_fake_sink_preroll):
13001 * plugins/elements/gstfakesink.h:
13002 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13004 2006-05-23 Wim Taymans <wim@fluendo.com>
13006 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13008 Added _CUSTOM error and success GstFlowReturn that can be
13009 used be elements internally.
13010 Added macro to check for SUCCESS flowreturns.
13011 API: GST_FLOW_CUSTOM_SUCCESS
13012 API: GST_FLOW_CUSTOM_ERROR
13013 API: GST_FLOW_IS_SUCCESS
13015 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13016 Added check for GstFlowReturn sanity.
13018 2006-05-23 Wim Taymans <wim@fluendo.com>
13020 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13022 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13023 (gst_collect_pads_event):
13024 clear/reset segment info in FLUSH_STOP.
13027 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13029 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13030 (gst_collect_pads_check_collected):
13031 Flush queued buffer on _stop(), fixes playing again (#342454)
13033 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13035 * tests/check/gst/gststructure.c: (GST_START_TEST),
13036 (gst_structure_suite):
13037 add a test for a complete structure
13039 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13041 * docs/faq/developing.xml:
13042 * docs/faq/faq.xml:
13043 * docs/faq/troubleshooting.xml:
13044 * docs/faq/using.xml:
13045 Some minor FAQ updates that won't change the fact that
13046 our FAQ is badly structured, full of information hardly
13047 anyone new to GStreamer needs to know and lacking lots
13048 of information people constantly ask for.
13050 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13052 * gst/gstpad.c: (gst_pad_set_caps):
13053 Short-circuit gst_pad_set_caps if setting the existing
13054 caps pointer again, and avoid printing debug and
13055 reffing/unreffing the caps.
13057 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13058 There's actually no need to set the caps before pushing -
13059 the acceptcaps method will handle it anyway.
13061 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13063 * docs/gst/gstreamer-sections.txt:
13064 * win32/common/libgstreamer.def:
13065 * gst/gstutils.c: (gst_element_seek_simple):
13067 API: add gst_element_seek_simple() (#342238).
13069 2006-05-18 Edward Hervey <edward@fluendo.com>
13071 * gst/gsttypefind.c: (gst_type_find_get_type):
13072 * gst/gsttypefind.h:
13073 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13074 registered for GstTypeFind pointers. This allows wrapping the structure
13075 in bindings (i.e. gst-python).
13077 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13079 * gst/gsttagsetter.c:
13080 Docs additions and fixes (see #339918).
13082 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13084 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13085 The caps intersection algorithm can produce multiple copies of the
13086 caps. Until that is fixed, we need to simplify the result to be
13087 sure whether the allowed caps are fixed or not.
13089 * plugins/elements/gstqueue.c: (gst_queue_init),
13090 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13091 (gst_queue_push_one):
13092 Proxied buffer alloc should not set the caps on the source pad.
13093 When pushing buffers, we always accept the caps change that triggers.
13094 This prevents negotiation errors caused by caps changing mid-stream
13095 and then being refused on our source pad (because upstream is now
13096 refusing those caps).
13098 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13100 * tests/examples/helloworld/helloworld.c: (main):
13101 Must plug audioconvert and audioresample between decoder
13104 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13106 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13107 (load_feature), (load_plugin):
13108 Allow empty strings for some of the plugin fields so we don't
13109 drop valid plugin entries that were written out correctly
13112 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13114 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13115 Use g_remove and g_rename instead of remove and rename that don't
13116 handle utf8 characters. rename was failing for users who had specific
13117 characters in their name then the registry was built at each
13119 * win32/vs6/gst_inspect.dsp:
13120 * win32/vs6/gst_launch.dsp:
13121 * win32/vs6/libgstbase.dsp:
13122 * win32/vs6/libgstcoreelements.dsp:
13123 * win32/vs6/libgstreamer.dsp:
13124 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13125 build of libgstreamer and clean unused libraries in projects link
13128 2006-05-17 Edward Hervey <edward@fluendo.com>
13130 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13131 The queue is not responsible for pushing an EOS when receiving a fatal
13132 flow error. It's up to the real element driving the pipeline to do that.
13134 2006-05-16 Edward Hervey <edward@fluendo.com>
13136 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13137 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13138 buffer returned a fatal error. It should just send an EOS and stop
13140 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13141 when pushing buffers on the queue and will be able to handle the event.
13143 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13145 * docs/manual/basics-bins.xml:
13146 * docs/manual/basics-init.xml:
13147 Fix typos and minor errors in sample code (#341856).
13149 2006-05-16 Wim Taymans <wim@fluendo.com>
13151 * docs/design/part-qos.txt:
13152 Fix indexes in formulas to make more sense.
13154 2006-05-15 Wim Taymans <wim@fluendo.com>
13156 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13157 Don't report POSITION based on clock time if sync is
13158 disabled in a sink.
13160 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13163 Add cast to make compiler happy - refcount variable was a gint
13164 in GstObject but is a guint in GObject and g_atomic_int_get()
13167 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13169 * gst/parse/Makefile.am:
13170 chain commands using &&, which also makes parallel make work
13172 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13174 * docs/gst/gstreamer-sections.txt:
13177 * gst/gstmessage.h:
13180 === release 0.10.6 ===
13182 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13185 releasing 0.10.6, "Take the cannoli"
13187 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13189 * tools/gst-launch.c: (print_tag):
13190 Fix use of uninitialized variable in the hypothetical
13191 case that some broken plugin creates a GST_TAG_IMAGE
13192 tag containing a NULL buffer (#341667).
13194 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13196 * tools/gst-launch.c: (print_tag):
13197 Print something more intelligible for image tags when
13198 using the -t switch (#341556).
13200 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13205 define GST_MAJORMINOR so we have it available in win32/common/config.h
13206 Possibly remove it from our Makefile.am files later
13207 * win32/common/config.h:
13208 * win32/common/config.h.in:
13209 added GST_MAJORMINOR
13210 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13211 * win32/common/gstversion.h:
13214 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13217 Update win32 files listing.
13218 * win32/common/gstversion.h:
13219 Add GST_MAJORMINOR definition.
13220 * win32/common/libgstreamer.def:
13221 Add new exported functions.
13223 2006-05-12 Michael Smith <msmith@fluendo.com>
13225 * gst/gstplugin.c: (gst_plugin_load_file):
13226 If an so file has no plugin entry point, unload the module.
13228 2006-05-11 Wim Taymans <wim@fluendo.com>
13230 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13231 (gst_queue_set_property):
13232 Don't forget to signal the _chain or _loop function
13233 when the queue size or thresholds change since that might
13234 cause them to make progres again.
13236 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13238 * gst/gstclock.c: (gst_clock_class_init):
13239 * gst/gstindex.c: (gst_index_class_init):
13240 * gst/gstobject.c: (gst_object_class_init):
13241 * gst/gstpad.c: (gst_pad_class_init):
13242 * gst/gstpipeline.c: (gst_pipeline_class_init):
13243 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13244 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13245 * libs/gst/base/gstbasetransform.c:
13246 (gst_base_transform_class_init):
13247 * libs/gst/net/gstnetclientclock.c:
13248 (gst_net_client_clock_class_init):
13249 * libs/gst/net/gstnettimeprovider.c:
13250 (gst_net_time_provider_class_init):
13251 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13252 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13253 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13254 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13255 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13256 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13257 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13258 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13259 * plugins/elements/gsttee.c: (gst_tee_class_init):
13260 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13261 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13262 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13264 2006-05-11 Wim Taymans <wim@fluendo.com>
13266 * gst/gstbuffer.c: (_gst_buffer_initialize):
13267 Register subbufer along with the buffer type so that
13268 it does not accidentally gets registered from N
13269 different streaming threads in a non threadsafe way.
13271 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13275 * gst/gstmessage.h:
13276 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13277 gst_event_ref() and gst_message_ref() functions again
13278 (ugly hack, please do fix if there's a better way besides
13279 overrides.txt, which doesn't seem to work).
13281 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13283 * libs/gst/check/gstcheck.h:
13284 add an assert for setting state to avoid lots of repetitive code
13287 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13289 * gst/gstvalue.c: (gst_value_serialize_flags):
13290 fix a leak if no flags are set
13291 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13294 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13296 * docs/manual/basics-pads.xml:
13297 Expand a bit on caps and filtered links and update
13298 examples that were still using the no longer existing
13299 gst_pad_link_filtered() (#338206).
13301 2006-05-10 Wim Taymans <wim@fluendo.com>
13303 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13304 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13305 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13306 (gst_collect_pads_stop):
13307 * libs/gst/base/gstcollectpads.h:
13308 No need to call _stop in _finalize.
13309 Iterate the main pad list in _finalize.
13310 Added some more debug.
13311 Free lists and data in the right order.
13312 Also free data whem doing _remove_pad when stopped for
13313 backward compatibility protect ::started with PAD_LOCK as
13316 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13318 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13319 (gst_structure_parse_value):
13321 rename a method so that it actually says what it does better
13323 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13325 * gst/gstevent.c: (_gst_event_initialize):
13326 * gst/gstformat.c: (_gst_format_initialize):
13327 make sure some essential types used by events are registered
13328 as part of gst_init()
13329 * gst/gstvalue.c: (gst_value_serialize_flags):
13330 if no flags are set, serialize them to a value that represents NONE
13331 so that deserializing them works
13332 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13333 add tests for serialization and deserialization of flags
13335 2006-05-10 Wim Taymans <wim@fluendo.com>
13337 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13338 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13339 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13340 (gst_collect_pads_event), (gst_collect_pads_chain):
13343 Catch and return errors from the collect function
13344 Refuse data on eos pads.
13346 2006-05-10 Edward Hervey <edward@fluendo.com>
13348 * gst/gstinterface.h:
13349 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13350 GInterface type checking.
13351 They were previously using non-defined macros.
13353 2006-05-09 Wim Taymans <wim@fluendo.com>
13355 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13356 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13357 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13358 (gst_collect_pads_start), (gst_collect_pads_stop),
13359 (gst_collect_pads_peek), (gst_collect_pads_pop),
13360 (gst_collect_pads_available), (gst_collect_pads_read),
13361 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13362 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13363 (gst_collect_pads_chain):
13364 * libs/gst/base/gstcollectpads.h:
13365 Clean up the mess that is collectpads, add comments and
13366 FIXMEs where needed.
13367 Maintain a separate pad list so we can add pads while
13368 collecting the other ones. For this we need a new separate
13370 Fix memory leak in finalize.
13371 Refactor some weird code to set/unset pad flushing flags, mark
13373 Don't crash in _available, _read, _flush when we're EOS.
13375 * tests/check/libs/.cvsignore:
13376 Ignore adapter check binary.
13378 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13380 * gst/gstindex.c: (gst_index_resolver_get_type):
13381 * plugins/elements/gstfakesink.c:
13382 (gst_fake_sink_state_error_get_type):
13383 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13384 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13385 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13386 Const-ify GEnumValue arrays.
13388 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13390 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13391 Add test case for flags + gst_buffer_make_metadata_writable().
13393 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13395 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13396 gst_buffer_make_metadata_writable() should maintain the
13397 buffer flags (those that make sense at least) (see #340859).
13399 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13401 * tools/gst-inspect.c:
13402 * tools/gst-launch.c:
13403 * tools/gst-typefind.c:
13404 * tools/gst-xmlinspect.c:
13406 Fix up includes: need to include stdlib.h in tools.h for exit().
13408 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13410 * gst/gsttaglist.c: (_gst_tag_initialize):
13411 * gst/gsttaglist.h:
13412 API: add GST_TAG_IMAGE tag (#340721).
13414 2006-05-08 Wim Taymans <wim@fluendo.com>
13417 Added some docs for the segment query.
13419 2006-05-08 Wim Taymans <wim@fluendo.com>
13421 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13422 (gst_base_src_loop), (gst_base_src_change_state):
13423 Always push non-flushing serialized events in the streaming
13426 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13428 * gst/gsterror.c: (_gst_stream_errors_init):
13429 Add a missing error string.
13431 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13433 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13434 Add applied_rate to the debug
13436 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13437 Copy applied_rate into the outgoing NEWSEGMENT event
13439 2006-05-08 Wim Taymans <wim@fluendo.com>
13441 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13443 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13444 (gst_base_sink_change_state):
13445 call ::unlock before taking the PREROLL_LOCK so we can safely
13446 handle elements that lock in ::render.
13449 2006-05-08 Edward Hervey <edward@fluendo.com>
13451 * autogen.sh: (CONFIGURE_DEF_OPT):
13452 Darwin's libtoolize is in fact called glibtoolize.
13453 Adding glibtoolize to the list of accepted names for libtoolize.
13455 2006-05-08 Wim Taymans <wim@fluendo.com>
13457 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13458 Unify error handling, don't post an error message
13459 when a push() returns EOS but perform our normal EOS
13460 handling code. Fixes #340772.
13462 2006-05-08 Wim Taymans <wim@fluendo.com>
13464 * docs/design/part-overview.txt:
13465 Make upsteam/downstream concepts more clear.
13466 Give an example of serialized/non-serialized events.
13468 * docs/design/part-events.txt:
13469 * docs/design/part-streams.txt:
13470 Mention applied_rate.
13472 * docs/design/part-trickmodes.txt:
13473 Mention applied rate, flesh out some more use cases.
13475 * gst/gstevent.c: (gst_event_new_new_segment),
13476 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13477 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13478 (gst_event_parse_tag), (gst_event_new_buffer_size),
13479 (gst_event_parse_buffer_size), (gst_event_new_qos),
13480 (gst_event_parse_qos), (gst_event_parse_seek),
13481 (gst_event_new_navigation):
13483 Add applied_rate field to NEWSEGMENT event.
13484 API: gst_event_new_new_segment_full()
13485 API: gst_event_parse_new_segment_full()
13487 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13488 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13489 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13490 * gst/gstsegment.h:
13491 Add applied_rate to GstSegment structure.
13492 Make calculation of stream_time and running_time more correct
13493 wrt rate/applied_rate.
13494 Add some more docs.
13495 API: GstSegment::applied_rate field
13496 API: gst_segment_set_newsegment_full();
13498 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13499 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13500 * libs/gst/base/gstbasetransform.c:
13501 (gst_base_transform_sink_eventfunc),
13502 (gst_base_transform_handle_buffer):
13503 Parse and use applied_rate in the GstSegment field.
13505 * tests/check/gst/gstevent.c: (GST_START_TEST):
13506 Add check for applied_rate field.
13508 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13509 (gstsegments_suite):
13510 Add more checks for various GstSegment operations.
13512 2006-05-08 Wim Taymans <wim@fluendo.com>
13514 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13515 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13516 (gst_base_sink_get_position), (gst_base_sink_change_state):
13517 Store the sync time of the buffer end position separatly in a
13518 new variable eos_rtime so we can properly sync the EOS event.
13520 Fix the docs for gst_base_sink_set_qos_enabled().
13521 Don't set segment start to invalid value when we receive a
13522 non TIME newsegment.
13523 get closer to handling position reporting for negative rates
13526 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13529 Docs about how to print caps for debug purposes.
13531 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13532 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13534 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13536 * gst/gstelement.c:
13537 use full enum names and preprend a '%' in docs strings to make recent
13538 gtk-doc turn that into a link
13540 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13542 * docs/manual/basics-bins.xml:
13543 * docs/manual/basics-bus.xml:
13544 * docs/manual/basics-pads.xml:
13545 Some typo fixes, some additions, some clarifications.
13547 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13549 * tools/gst-inspect.c: (main):
13550 * tools/gst-launch.c: (main):
13551 * tools/gst-run.c: (main):
13552 * tools/gst-typefind.c: (main):
13553 * tools/gst-xmlinspect.c: (main):
13554 Use the string passed to g_option_context_new() for
13555 what it's intended for - the program name is already
13558 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13560 * tools/Makefile.am:
13561 * tools/gst-inspect.c: (main):
13562 * tools/gst-launch.c: (main):
13563 * tools/gst-xmlinspect.c: (main):
13565 Add back --version command line option (#340460).
13567 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13568 Add --version option and use GOption for argument parsing; refactor a
13569 bit; accept directories as arguments and recurse into them; lastly,
13570 print a decent error message when things go wrong.
13572 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13574 * docs/manual/basics-bins.xml:
13575 Don't mention GstThread (#340611)
13576 * docs/manual/basics-elements.xml:
13577 Update link to GObject tutorial (#340607)
13579 2006-05-05 Wim Taymans <wim@fluendo.com>
13582 * gst/gstminiobject.c:
13583 Add note about refcounting and miniobject/buffer writeability
13584 to docs. Fixes #340604
13586 * gst/gstelementfactory.h:
13587 Added some explanation about @klass.
13589 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13591 * docs/manual/intro-motivation.xml:
13592 * docs/manual/manual.xml:
13593 Avoid CORBA & Bonobo references (#340598)
13595 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13597 * docs/manual/basics-bus.xml:
13598 * docs/manual/basics-pads.xml:
13599 Fix up some inaccuracies and omissions (#340609)
13601 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13603 * gst/gstghostpad.c:
13604 Small typo in docs (#340625)
13606 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13608 * gst/parse/Makefile.am:
13609 Make 'make -j' proof (see #340698).
13611 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13614 Require GLib-2.8 here as well.
13616 2006-05-05 Wim Taymans <wim@fluendo.com>
13618 * gst/glib-compat.c:
13619 * gst/gst.c: (init_pre):
13620 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13621 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13622 (gst_object_dispatch_properties_changed):
13624 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13625 * gst/gststructure.c: (gst_structure_set_valist):
13626 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13627 Remove pre glib2.8 compatibility, fixes #340508
13629 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13631 * gst/gsttaglist.h:
13632 Mention type of tags in doc blurbs.
13634 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13636 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13637 (gst_pad_configure_src), (gst_pad_push):
13638 Restore acceptcaps checking behaviour now that good plugins have
13641 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13643 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13650 * gst/gstmessage.c:
13654 * gst/parse/Makefile.am:
13655 * libs/gst/base/gstadapter.c:
13656 * libs/gst/base/gstbasesrc.c:
13657 * libs/gst/base/gstpushsrc.c:
13658 * libs/gst/base/gsttypefindhelper.c:
13659 * plugins/elements/gstfakesrc.c:
13660 * plugins/elements/gstidentity.c:
13661 Make sure gstprivate.h and/or config.h are
13662 always included first, otherwise some of our
13663 defines (like _FILE_OFFSET_BITS) might be
13664 redefined in the system headers. Fixes build
13665 on opensolaris (#340016).
13667 2006-05-04 Wim Taymans <wim@fluendo.com>
13669 * docs/libs/gstreamer-libs-sections.txt:
13670 API: addition: gst_adapter_take_buffer()
13672 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13673 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13674 (gst_adapter_available_fast):
13675 * libs/gst/base/gstadapter.h:
13676 Prepare for optimizing the hell out of this hugely inefficient
13678 Added gst_adapter_take_buffer() so we can at least start thinking
13679 about subbuffering and merging.
13680 Added some comments.
13682 * tests/check/Makefile.am:
13683 * tests/check/libs/adapter.c: (GST_START_TEST),
13684 (gst_adapter_suite), (main):
13685 Added GstAdapter check.
13687 2006-05-04 Wim Taymans <wim@fluendo.com>
13689 * docs/design/part-overview.txt:
13690 Fix some typos, add blurb about buffer flags.
13692 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13694 * docs/libs/gstreamer-libs-sections.txt:
13695 make sure GstBaseTransformClass shows up in the docs
13696 * libs/gst/base/gstbasetransform.c:
13697 * libs/gst/base/gstbasetransform.h:
13698 move docs so gtk-doc picks it up now
13700 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13702 * docs/libs/gstreamer-libs-sections.txt:
13703 add missing symbols to docs
13705 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13707 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13708 back out the newsegment handling change, see #340060 for ongoing
13711 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13713 * tools/gst-run.c: (get_candidates), (main):
13714 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13715 work); fix typo in error message. Fixes #340079.
13717 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13719 * common/Makefile.am:
13720 * docs/Makefile.am:
13721 * docs/faq/Makefile.am:
13722 * docs/gst/Makefile.am:
13723 * docs/libs/Makefile.am:
13724 * docs/manual/Makefile.am:
13725 * docs/plugins/Makefile.am:
13726 * docs/pwg/Makefile.am:
13727 * docs/slides/Makefile.am:
13729 * common/upload.mak:
13730 move upload.mak to common
13732 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13734 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13735 add more asserts on refcounts
13736 do more cleanup at end of tests
13737 fix test leaks showing in FC5
13739 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13741 * plugins/elements/gsttypefindelement.c:
13742 (gst_type_find_element_handle_event):
13743 reverted wrong change and reflowed code to avoid others falling into
13746 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13748 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13749 fix changelog entry about last collectpads change,
13750 add notes about proper fix
13752 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13755 * gst/gstregistry.c: (gst_registry_scan_path_level),
13756 (gst_registry_scan_path):
13757 * gst/gstregistry.h:
13758 only write out registry if it has changed, fixes #338339
13760 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13763 * gst/gstpipeline.c:
13764 * plugins/elements/gstcapsfilter.c:
13765 * plugins/elements/gstfakesink.c:
13766 * plugins/elements/gstfakesrc.c:
13767 * plugins/elements/gstfdsink.c:
13768 * plugins/elements/gstfdsrc.c:
13769 * plugins/elements/gstfilesink.c:
13770 * plugins/elements/gstfilesrc.c:
13771 * plugins/elements/gstidentity.c:
13772 * plugins/elements/gstqueue.c:
13773 * plugins/elements/gsttee.c:
13774 * plugins/elements/gsttypefindelement.c:
13775 (gst_type_find_element_handle_event):
13776 make GstElementDetails const
13778 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13780 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13781 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13782 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13783 more detailed debug and formatting cleanup,
13784 forward newsegments to src-pad (so that e.g. adder not eats them)
13786 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13788 * gst/gstutils.c: (gst_element_link_pads):
13789 cleanup double code
13791 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13793 * libs/gst/controller/gstcontroller.c:
13794 (gst_controller_sync_values):
13796 * tests/check/libs/controller.c: (GST_START_TEST),
13797 (gst_controller_suite):
13798 a new test for live value handling
13800 2006-04-28 Wim Taymans <wim@fluendo.com>
13802 * gst/gstutils.c: (push_and_ref):
13803 Added some more docs.
13804 Fix refcount issue whith gst_element_found_tags() helper
13805 function. Fixes #338335
13807 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13808 Added testsuite for gst_element_found_tags().
13810 2006-04-28 Michael Smith <msmith@fluendo.com>
13812 * gst/gstvalue.c: (gst_value_serialize_flags):
13813 Avoid NULL dereference when trying to serialize flags containing
13816 2006-04-28 Michael Smith <msmith@fluendo.com>
13818 * plugins/elements/gsttypefindelement.c:
13819 (gst_type_find_element_handle_event):
13820 If we get EOS before any data is accumulated, don't use
13821 uninitialised local variables.
13823 2006-04-28 Michael Smith <msmith@fluendo.com>
13825 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13826 (gst_dp_event_from_packet):
13827 Fixes in reading/writing events over GDP (not currently used?) -
13828 dereferencing NULL events for unknown/invalid event types, memory
13829 leak, and change g_warning to GST_WARNING.
13831 2006-04-28 Wim Taymans <wim@fluendo.com>
13833 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13834 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13835 (gst_base_sink_get_position), (gst_base_sink_change_state):
13836 When frame dropping is enabled, we should not ignore frames
13837 without a duration.
13838 Update some documentation.
13840 2006-04-28 Wim Taymans <wim@fluendo.com>
13842 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13843 (gst_base_src_send_event), (gst_base_src_change_state):
13844 Documentation updates.
13846 2006-04-28 Wim Taymans <wim@fluendo.com>
13848 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13849 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13850 handle EAGAIN, EINTR and short writes correctly. Also clean
13851 up some error cases, avoid a deadlock on bad file descriptors and
13852 use GST_DEBUG_OBJECT.
13855 2006-04-28 Wim Taymans <wim@fluendo.com>
13857 * gst/gstvalue.c: (gst_value_serialize_buffer),
13858 (gst_value_deserialize_buffer):
13859 Don't try to serialize a GValue with a NULL buffer.
13862 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13863 Added check for serialisation of NULL buffers.
13865 2006-04-28 Wim Taymans <wim@fluendo.com>
13867 * gst/gstminiobject.c: (gst_value_take_mini_object):
13868 Taking a NULL miniobject is valid, fix the case where
13869 we try to unref the NULL miniobject.
13871 2006-04-28 Wim Taymans <wim@fluendo.com>
13873 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13875 * gst/gstbin.c: (gst_bin_handle_message_func):
13877 Don't leak bin refcount when a state recalc is
13878 in progress and we delay another one #339808.
13880 2006-04-28 Wim Taymans <wim@fluendo.com>
13882 * docs/design/part-TODO.txt:
13883 Mention QoS as an ongoing work item.
13885 * docs/design/part-buffering.txt:
13886 New doc about buffering that needs to be fleshed out
13889 * docs/design/part-qos.txt:
13890 More QoS policy for decoders/demuxers/transforms
13892 * docs/design/part-trickmodes.txt:
13895 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13900 === release 0.10.5 ===
13902 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13905 releasing 0.10.5, "Fogo"
13907 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13909 patch by: Wim Taymans
13911 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13912 (gst_pad_configure_src), (gst_pad_push):
13913 * gst/gstpipeline.c: (gst_pipeline_init):
13914 Fix internal data flow errors. Fixes #338711.
13916 2006-04-12 Wim Taymans <wim@fluendo.com>
13918 * tests/check/gst/gstelement.c: (GST_START_TEST):
13919 Don't leak the factory.
13921 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13924 * win32/common/config.h:
13927 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13929 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13930 (gst_controller_unset_all):
13931 Free allocated GstTimedValues when freeing list nodes.
13932 Should fix leaks 'make check-valgrind' complains about.
13934 * win32/common/libgstcontroller.def:
13935 Add gst_controller_unset_all.
13937 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13939 * docs/libs/gstreamer-libs-sections.txt:
13940 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13941 (gst_controller_unset_all):
13942 * libs/gst/controller/gstcontroller.h:
13943 API: Added new method gst_controller_unset_all()
13944 fixed gst_controller_unset()
13945 * tests/check/libs/controller.c: (GST_START_TEST),
13946 (gst_controller_suite):
13947 Added two testcases for new and fixed method
13949 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13951 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13952 MSG_DONTWAIT is not defined on Cygwin, so work
13953 around that (fixes #317048).
13955 2006-04-11 Wim Taymans <wim@fluendo.com>
13957 * gst/gstelementfactory.c: (gst_element_register),
13958 (gst_element_factory_create), (gst_element_factory_make):
13961 Updated docs (Fixes #131079)
13963 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13966 * tests/check/gst/gstelement.c: (GST_START_TEST),
13967 (gst_element_suite):
13968 Added testcase for elementfactory class field.
13970 2006-04-10 Wim Taymans <wim@fluendo.com>
13972 * gst/gstsegment.c:
13973 Added some more docs.
13975 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13976 (gst_base_sink_reset_qos):
13977 Calculate more accurate rate values.
13979 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13981 * gst/gst_private.h:
13982 add a new #ifdef to use __declspec(dllimport) only for
13983 other modules and not for gstreamer core
13984 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13985 use gst_guint64_to_gdouble for conversion
13986 * win32/common/libgstreamer.def:
13987 add new exported functions
13988 * win32/vs6/gst_inspect.dsp:
13989 * win32/vs6/gst_launch.dsp:
13990 * win32/vs6/libgstbase.dsp:
13991 * win32/vs6/libgstcontroller.dsp:
13992 * win32/vs6/libgstcoreelements.dsp:
13993 * win32/vs6/libgstdataprotocol.dsp:
13994 * win32/vs6/libgstnet.dsp:
13995 update project files
13997 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13999 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14000 * gst/gstclock.c: (gst_clock_class_init):
14001 * gst/gstelement.c: (gst_element_class_init):
14002 * gst/gstindex.c: (gst_index_class_init):
14003 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14004 * gst/gstobject.c: (gst_object_class_init),
14005 (gst_signal_object_class_init):
14006 * gst/gstpad.c: (gst_pad_class_init):
14007 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14008 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14009 * gst/gstregistry.c: (gst_registry_class_init):
14010 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14011 * gst/gsttask.c: (gst_task_class_init):
14012 * gst/gstxml.c: (gst_xml_class_init):
14013 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14014 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14015 (gst_base_src_loop):
14016 * libs/gst/controller/gstcontroller.c:/
14017 (_gst_controller_class_init):
14018 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14019 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14020 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14021 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14022 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14023 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14025 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14027 * gst/gstpad.c: (gst_pad_link):
14028 Must set peer pads before calling the link function, otherwise
14029 a task started from a link function might get a flow-not-linked
14030 result when trying to push because the other thread where the
14031 linking happens hasn't had a chance to set the peers yet. This
14032 might happen for example when a queue gets linked to a downstream
14033 element, as queue starts a streaming task when its source pad
14034 gets linked. Happens in real life when playing back flac/musepack
14035 files in playbin (#332390).
14037 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14041 * libs/gst/base/gstadapter.h:
14042 * libs/gst/base/gstbasesink.h:
14043 * libs/gst/base/gstbasesrc.h:
14044 * libs/gst/base/gstbasetransform.h:
14045 * libs/gst/base/gstcollectpads.h:
14046 * libs/gst/base/gstpushsrc.h:
14047 Fix broken GObject macros
14049 2006-04-07 Wim Taymans <wim@fluendo.com>
14051 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14052 Initialize start and stop times, thanks valgrind.
14054 2006-04-07 Wim Taymans <wim@fluendo.com>
14056 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14057 Be a bit nicer to badly behaving upstream elements that expect
14058 us to deal with non TIME segments and timestamps (such as fakesrc
14061 2006-04-07 Wim Taymans <wim@fluendo.com>
14064 Small documentation clarification about the signal watch.
14066 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14067 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14068 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14069 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14070 (gst_base_sink_get_position_last),
14071 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14072 Convert and store timestamps in stream time and running time, the
14073 raw timestamps are not useful, also document this better.
14074 Use different window sizes for good and bad QoS observations so
14075 we react to badness a little quicker.
14076 Keep track of the amount of rendered and dropped buffers.
14077 Send QoS timestamps in running time.
14079 * libs/gst/base/gstbasetransform.c:
14080 (gst_base_transform_sink_eventfunc),
14081 (gst_base_transform_handle_buffer):
14082 Compare QoS timestamps against running time.
14084 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14087 Typo fixes in docs.
14089 2006-04-06 Michael Smith <msmith@fluendo.com>
14091 * gst/gstpad.c: (gst_pad_set_property):
14092 Use g_value_get_object() instead of g_value_dup_gst_object(),
14093 to avoid double-reffing the pad template (which we then sink,
14094 so this worked previously if (and only if) the pad template
14097 * gst/gstpadtemplate.c: (gst_pad_template_init),
14098 (gst_pad_template_pad_created):
14099 Never return floating references to pad templates, create
14100 them as initially-sunken.
14102 Document an extra function (and make this stop sinking our
14103 pad template, since that is now guaranteed to do nothing,
14104 since we created it sunken).
14106 * gst/gstghostpad.c:
14109 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14111 * gst/gstinfo.c: (__gst_in_valgrind):
14114 * plugins/elements/gsttypefindelement.c:
14115 (gst_type_find_element_chain):
14116 Don't leak buffer caps.
14118 2006-04-06 Michael Smith <msmith@fluendo.com>
14120 * gst/parse/grammar.y:
14121 Fix a leak in parse-launch for any source-or-sink named element
14124 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14125 Unref the pipeline if it exists after we've failed parsing.
14127 2006-04-05 Michael Smith <msmith@fluendo.com>
14129 * gst/gstpipeline.c: (gst_pipeline_init):
14130 When we create a pipeline bus, initially create it in flushing mode.
14131 Fixes leaks in at least one test, and makes a new pipeline work the
14132 same as one that has gone to READY and then back to NULL.
14134 * gst/gstelement.c:
14137 2006-04-05 Michael Smith <msmith@fluendo.com>
14139 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14140 Unref a pad we reffed.
14141 * tests/check/gst/gstutils.c: (GST_START_TEST):
14144 2006-04-05 Michael Smith <msmith@fluendo.com>
14146 * gst/gstquery.c: (gst_query_set_formats),
14147 (gst_query_set_formatsv):
14148 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14150 2006-04-05 Michael Smith <msmith@fluendo.com>
14152 * tests/check/generic/sinks.c: (GST_START_TEST):
14153 Fix a variety of memleaks in sinks check, which are only sometimes
14154 shown by running the tests under valgrind (weird?).
14156 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14158 * docs/version.entities.in:
14159 Fix the substituted entity name after thomas' changes on the
14162 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14164 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14167 2006-04-05 Andy Wingo <wingo@pobox.com>
14169 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14171 * libs/gst/base/gstbasetransform.c
14172 (gst_base_transform_sink_eventfunc): When resetting our segment on
14173 FLUSH_STOP, also update the flag saying we haven't seen a
14176 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14178 Patch by: Paolo Borelli <pborelli at katamail dot com>
14180 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14181 (gst_plugin_check_license):
14182 minor clean-ups: G_DEFINE_TYPE already takes care of the
14183 parent_class stuff, no need to do it twice. Mark array of
14184 license strings as constant. (#337103)
14186 2006-04-04 Michael Smith <msmith@fluendo.com>
14188 * tools/gst-inspect.c: (print_element_list):
14189 Free the right plugin list; fixes a memory leak.
14191 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14193 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14195 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14196 Don't error out on empty buffers (#336945).
14198 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14200 * docs/libs/gstreamer-libs-sections.txt:
14201 * gst/gsttaglist.c:
14202 * libs/gst/base/gstbasesink.c:
14203 * libs/gst/base/gstbasesink.h:
14204 * libs/gst/base/gstbasesrc.c:
14205 * libs/gst/base/gstbasesrc.h:
14206 Documentation updates. Make BaseSink and BaseSrc docs contain the
14207 class structure so that people can actually see the prototypes for
14208 virtual functions they're supposed to be overriding.
14210 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14212 * plugins/elements/gsttypefindelement.c:
14213 (gst_type_find_element_chain):
14214 More debug info; when skipping typefinding, send cached
14215 events in all cases.
14217 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14220 use new AS_VERSION and AS_NANO macros
14221 * gst/gst-i18n-lib.h:
14224 * gst/gstversion.h.in:
14225 * win32/common/config.h:
14226 * win32/common/config.h.in:
14229 2006-03-31 Michael Smith <msmith@fluendo.com>
14231 * plugins/elements/gsttypefindelement.c:
14232 (gst_type_find_element_chain):
14233 Do not typefind content if the buffers already have caps.
14234 Neccesary for icydemux (#333657), and the right thing to do anyway.
14236 2006-03-30 Wim Taymans <wim@fluendo.com>
14238 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14239 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14240 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14241 (gst_base_sink_record_qos_observation),
14242 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14243 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14244 (gst_base_sink_change_state):
14245 More QoS measurements as described in the design doc.
14246 Get rid of ringbuffer with observations, running average is
14247 more simple and equally good.
14248 Calculates valid proportion now.
14249 Added beginning of flood measurement.
14251 2006-03-29 Wim Taymans <wim@fluendo.com>
14253 * docs/design/part-qos.txt:
14255 Small documentation updates and additions.
14257 2006-03-29 Wim Taymans <wim@fluendo.com>
14259 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14260 (gst_base_src_send_event), (gst_base_src_loop),
14261 (gst_base_src_change_state):
14262 Perform the EOS logic when we reach the segment stop position.
14263 Fix compilation on gcc4.1
14265 2006-03-29 Wim Taymans <wim@fluendo.com>
14267 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14269 * plugins/elements/gstqueue.c: (gst_queue_init),
14270 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14271 (gst_queue_set_property):
14272 * plugins/elements/gstqueue.h:
14273 In queue, when EOS is received, if minimum threshold > max_size -
14274 current_level, there is chance that queue blocks forever in conditional
14275 item del wait. This is because the queue is not emptied completely due
14276 to minimum threshold. Here is another approach. Instead of setting
14277 cur_levels to max in EOS, just zero all minimum threshold levels. This
14278 should make sure that queue gives out all data. When going to READY
14279 (stop) state, just reset the original minimum threshold levels.
14282 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14284 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14285 (gst_type_find_element_handle_event),
14286 (gst_type_find_element_send_cached_events),
14287 (gst_type_find_element_change_state):
14288 * plugins/elements/gsttypefindelement.h:
14289 When typefinding is done in push mode, we should cache
14290 events we receive during typefinding instead of just
14291 dropping them (e.g. newsegment, custom events from
14292 dvdreadsrc etc.) and then send them out once we've
14293 determined the type of the stream (and decodebin
14294 has had a chance to plug in a decoder/demuxer).
14296 2006-03-27 Wim Taymans <wim@fluendo.com>
14298 * docs/design/part-qos.txt:
14301 2006-03-27 Wim Taymans <wim@fluendo.com>
14303 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14305 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14306 (gst_base_src_send_event), (gst_base_src_change_state):
14307 Handle element seek correctly when we are streaming.
14310 2006-03-24 Michael Smith <msmith@fluendo.com>
14312 * docs/faq/gst-uninstalled:
14313 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14314 allow you to correctly run intalled applications built against old
14315 core, using plugins that require updated core (e.g. running
14316 installed totem against a full uninstalled gstreamer stack)
14318 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14320 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14323 2006-03-24 Wim Taymans <wim@fluendo.com>
14325 * docs/gst/gstreamer-sections.txt:
14326 Rearrange the order of the methods so that related methods
14327 are grouped together in sections.
14329 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14331 * gst/gstelement.c:
14332 Little clarification in the docs
14334 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14338 * plugins/elements/gstidentity.c:
14339 * plugins/elements/gstqueue.c:
14340 * plugins/elements/gsttee.c:
14341 * plugins/elements/gsttypefindelement.c:
14342 GST_ELEMENT_DETAILS formatting
14344 2006-03-24 Wim Taymans <wim@fluendo.com>
14346 * libs/gst/base/gstbasesink.h:
14347 Only add fields, not insert or we break ABI.
14349 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14351 * win32/common/libgstbase.def:
14352 * win32/common/libgstreamer.def:
14353 Update, add recently added functions.
14355 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14357 * docs/gst/gstreamer-sections.txt:
14358 * gst/gstutils.c: (gst_pad_query_peer_position),
14359 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14361 API: add some new utility functions:
14362 - gst_pad_query_peer_position()
14363 - gst_pad_query_peer_duration()
14364 - gst_pad_query_peer_convert()
14366 2006-03-23 Wim Taymans <wim@fluendo.com>
14368 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14369 (gst_base_sink_init), (gst_base_sink_finalize),
14370 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14371 (gst_base_sink_set_property), (gst_base_sink_get_property),
14372 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14373 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14374 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14375 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14376 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14377 (gst_base_sink_preroll_object), (gst_base_sink_event),
14378 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14379 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14380 (gst_base_sink_query), (gst_base_sink_change_state):
14381 Decouple max-lateness and the fact that QoS messages are generated
14382 with a new property (qos).
14383 added API: GstBaseSink::async_play()
14384 Add vmethod so subclasses can be notified of ASYNC playing
14386 Collect timestamp start and stop to report better current
14387 position in EOS/PLAYING/PAUSED/READY/NULL.
14388 Refactor QoS/frame dropping and other measurements.
14389 API: GstBaseSrc::qos
14392 * libs/gst/base/gstbasesink.h:
14393 Added Private struct.
14394 API: gst_base_sink_set_qos_enabled()
14395 API: gst_base_sink_is_qos_enabled()
14397 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14399 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14400 If compiling against GLib-2.8 or newer, try to read the
14401 registry file using GMappedFile first before falling back
14402 to fopen() + fread() (#332151).
14404 2006-03-22 Wim Taymans <wim@fluendo.com>
14406 * gst/gstinfo.c: (gst_debug_set_active),
14407 (gst_debug_category_set_threshold):
14408 Disable debugging unless explicitly activated.
14411 2006-03-22 Wim Taymans <wim@fluendo.com>
14413 * gst/gstelement.c: (gst_element_set_locked_state),
14414 (gst_element_dispose):
14415 Cleanup the error case.
14417 * gst/gstobject.c: (gst_object_dispose):
14418 print a critical when some object was disposed with
14419 a parent, also revive the object since it might
14422 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14424 * tools/gst-launch.1.in:
14427 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14430 * tests/check/Makefile.am:
14431 disable some tests when we don't have a registry
14432 * tests/check/gst/gstutils.c: (gst_utils_suite):
14433 don't build the part that needs parsing
14435 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14438 * tests/examples/Makefile.am:
14439 fix --disable-parse build
14441 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14443 * tools/gst-feedback.1.in:
14444 Fix typo: s/feeback/feedback/ (#133494).
14446 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14448 * tools/Makefile.am:
14449 * tools/gst-launch.1.in:
14450 Add FILES section and correct entry about GST_REGISTRY_PATH
14451 environment variable (#133495; #133494).
14453 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14455 * tools/Makefile.am:
14456 * tools/gst-md5sum.1.in:
14457 * tools/gst-md5sum.c:
14458 Remove gst-md5sum and man page (the md5sink element
14459 required was removed ages ago)
14461 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14463 * gst/gststructure.c: (gst_structure_id_set_value):
14464 Make sure that string fields in structures/taglists
14465 contain valid UTF-8 - we don't want to pass rubbish to
14466 applications because of a buggy plugin (cp. #334167).
14468 2006-03-21 Edward Hervey <edward@fluendo.com>
14470 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14471 (gst_bin_handle_message_func):
14472 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14473 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14474 (gst_element_set_bus_func):
14475 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14476 * gst/gstminiobject.c: (gst_value_set_mini_object),
14477 (gst_value_take_mini_object):
14478 * gst/gstpad.c: (gst_pad_set_pad_template):
14479 * gst/gstpipeline.c: (gst_pipeline_dispose),
14480 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14481 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14482 (gst_collect_pads_chain):
14483 * libs/gst/net/gstnettimeprovider.c:
14484 (gst_net_time_provider_set_property):
14485 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14486 It's in fact all issues with gst_*object_replace().
14488 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14490 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14492 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14493 * pkgconfig/gstreamer-check.pc.in:
14494 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14496 2006-03-21 Edward Hervey <edward@fluendo.com>
14500 * gst/gstmessage.h:
14501 gst_[buffer|event|message]_ref() macros are replaced by a static
14502 inline functions because gcc-4.1 will about if the return value
14504 * tests/check/gst/gstevent.c: (event_probe):
14505 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14507 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14510 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14511 the type' case. (Closes: #335195 for now). In the future, when we
14512 depend on GLib 2.10, we could also intern the type name using
14513 g_intern_static_string()
14515 2006-03-20 Wim Taymans <wim@fluendo.com>
14517 * gst/gstbin.c: (gst_bin_handle_message_func),
14518 (bin_query_max_init), (bin_query_position_fold),
14519 (bin_query_position_done), (gst_bin_query):
14520 Position query should also take max of all streams.
14522 2006-03-20 Wim Taymans <wim@fluendo.com>
14524 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14525 (gst_fake_src_finalize):
14526 Fix leaks in fakesrc.
14528 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14529 Fix leaks in the testcase.
14531 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14533 * gst/gst_private.h:
14534 add win32 specific import decoration(__declspec(dllimport))
14535 for all extern GstDebugCategory * variables
14536 * win32/common/libgstbase.def:
14537 * win32/common/libgstcontroller.def:
14538 * win32/common/libgstreamer.def:
14539 Add some exports, remove empty lines
14540 * win32/common/libgstdataprotocol.def:
14541 * win32/common/libgstdataprotocol.dsp:
14542 * win32/common/libgstnet.def:
14543 * win32/common/libgstnet.dsp:
14544 new project files and exportation files added
14546 2006-03-19 Wim Taymans <wim@fluendo.com>
14548 * tests/check/libs/basesrc.c: (eos_event_counter):
14549 Use proper return value for probe.
14551 2006-03-17 Wim Taymans <wim@fluendo.com>
14553 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14555 Don't leak buffers, caps and pads on negotiation errors.
14557 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14559 * docs/faq/cvs.xml:
14560 * docs/faq/dependencies.xml:
14561 * docs/faq/developing.xml:
14562 * docs/faq/faq.xml:
14563 * docs/faq/general.xml:
14564 * docs/faq/getting.xml:
14565 * docs/faq/legal.xml:
14566 * docs/faq/troubleshooting.xml:
14567 * docs/faq/using.xml:
14568 Faq review and update.
14570 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14572 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14574 Don't pound the cpu to pieces by checking get_caps when accept_caps
14575 is called with the same caps as the pad already has.
14576 Use GST_DEBUG_OBJECT when outputting caps change information.
14578 2006-03-15 Wim Taymans <wim@fluendo.com>
14580 * gst/gstclock.c: (gst_clock_class_init):
14583 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14588 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14589 (gst_pad_accept_caps), (gst_pad_configure_sink),
14590 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14591 Make the default acceptcaps behaviour be to check the requested
14592 caps against the gst_pad_get_caps output.
14594 Ensure that gst_pad_accept_caps is used to check caps when a pad
14595 doesn't have a setcaps function, so that pads automatically refuse
14596 caps that they don't allow in their pad template. (Fixes #332986)
14598 When a buffer with attached caps is pushed, ensure that the source
14599 pad receives those caps even if the element didn't call
14600 gst_pad_set_caps first.
14602 2006-03-15 Wim Taymans <wim@fluendo.com>
14604 * libs/gst/base/gstadapter.c:
14607 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14609 * win32/common/libgstbase.def:
14610 * win32/common/libgstcontroller.def:
14611 * win32/common/libgstreamer.def:
14612 Add a whole bunch of missing functions (#334434).
14614 2006-03-14 Wim Taymans <wim@fluendo.com>
14616 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14617 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14618 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14619 Better debug info when we receive a segment event.
14620 Reorganize a bit so we can pass the get_times() results around.
14621 Use the segment format when calculating the running time.
14622 Don't do QoS is sync is disabled or we have no clock or the
14623 element does not want us to sync to the clock.
14624 Don't drop buffers if QoS is disabled for now.
14626 2006-03-14 Wim Taymans <wim@fluendo.com>
14628 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14629 Marked the stats property as unimplemented so people don't get
14631 Add debug message when regression goes wrong.
14632 Added some more docs.
14634 2006-03-14 Wim Taymans <wim@fluendo.com>
14636 * gst/gstsegment.c: (gst_segment_to_stream_time):
14637 Return correct return type in case of errors.
14639 2006-03-14 Wim Taymans <wim@fluendo.com>
14641 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14642 Don't segfault on invalid formats.
14644 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14646 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14647 Can't use gst_segment_to_running_time() when the segment
14648 is not in GST_TIME_FORMAT (like with filesink, for example).
14649 Stops flac encoding pipelines from spewing critical warnings
14652 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14654 * gst/gstpipeline.c: (gst_pipeline_class_init):
14655 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14657 * plugins/elements/gsttypefindelement.c:
14658 (gst_type_find_element_handle_event):
14659 Don't try to typefind empty streams.
14661 2006-03-14 Wim Taymans <wim@fluendo.com>
14663 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14664 (gst_base_sink_do_qos):
14665 Separate QoS calculation.
14666 Only drop buffers when lateness is bigger than the
14667 duration of the buffer.
14669 2006-03-13 Wim Taymans <wim@fluendo.com>
14671 * gst/gstpipeline.c: (gst_pipeline_set_property),
14672 (gst_pipeline_get_property), (do_pipeline_seek),
14673 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14674 (gst_pipeline_get_delay):
14675 Don't deadlock when reading properties.
14677 2006-03-13 Wim Taymans <wim@fluendo.com>
14679 * libs/gst/base/gstbasetransform.c:
14680 (gst_base_transform_class_init), (gst_base_transform_init),
14681 (gst_base_transform_sink_event),
14682 (gst_base_transform_sink_eventfunc),
14683 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14684 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14685 (gst_base_transform_set_property),
14686 (gst_base_transform_get_property),
14687 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14688 (gst_base_transform_set_qos_enabled),
14689 (gst_base_transform_is_qos_enabled):
14690 * libs/gst/base/gstbasetransform.h:
14691 Make basetransform virtual method for src events too.
14692 Handle QOS in basetransform.
14693 API: gst_base_transform_update_qos()
14694 API: gst_base_transform_set_qos_enabled()
14695 API: gst_base_transform_is_qos_enabled()
14697 2006-03-13 Wim Taymans <wim@fluendo.com>
14699 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14700 (gst_base_sink_do_sync):
14702 Use QOS debug category.
14704 2006-03-13 Wim Taymans <wim@fluendo.com>
14706 * plugins/elements/gstqueue.c:
14707 Very small doc update.
14709 2006-03-13 Wim Taymans <wim@fluendo.com>
14711 * gst/gst_private.h:
14712 * gst/gstinfo.c: (_gst_debug_init):
14713 Added QOS debug category
14715 2006-03-13 Wim Taymans <wim@fluendo.com>
14717 * docs/gst/gstreamer-sections.txt:
14718 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14720 * gst/gstbus.c: (gst_bus_class_init):
14723 * gst/gstelement.c: (gst_element_set_locked_state):
14724 * gst/gstsegment.c:
14725 Documentation updates.
14727 * gst/gstpipeline.c: (gst_pipeline_get_type),
14728 (gst_pipeline_class_init), (gst_pipeline_init),
14729 (gst_pipeline_dispose), (gst_pipeline_set_property),
14730 (gst_pipeline_get_property), (do_pipeline_seek),
14731 (gst_pipeline_send_event), (gst_pipeline_change_state),
14732 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14733 (gst_pipeline_get_delay):
14734 * gst/gstpipeline.h:
14735 Added methods for setting the delay.
14736 API: gst_pipeline_set_delay()
14737 API: gst_pipeline_get_delay()
14738 Add pipeline debug category
14741 Don't reset stream time when seek failed.
14743 2006-03-13 Wim Taymans <wim@fluendo.com>
14745 * docs/design/draft-klass.txt:
14746 * docs/design/part-clocks.txt:
14747 * docs/design/part-events.txt:
14748 * docs/design/part-gstbin.txt:
14749 * docs/design/part-gstpipeline.txt:
14750 * docs/design/part-messages.txt:
14751 * docs/design/part-negotiation.txt:
14752 * docs/design/part-overview.txt:
14753 * docs/design/part-preroll.txt:
14754 * docs/design/part-seeking.txt:
14755 * docs/design/part-states.txt:
14756 * docs/design/part-streams.txt:
14757 Documentation updates.
14759 2006-03-12 Julien MOUTTE <julien@moutte.net>
14761 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14762 us to leak strings...
14764 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14766 * libs/gst/net/gstnettimeprovider.c:
14768 * win32/common/config.h:
14771 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14773 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14776 Don't check for libgnomeui (leftover from old examples
14777 that aren't built or disted any longer) (#334303).
14779 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14781 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14782 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14783 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14784 there's no space left on the device.
14786 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14789 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14790 to cast the input to GstClockTime before comparing with
14791 another GstClockTime value.
14793 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14798 === release 0.10.4 ===
14800 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14803 releasing 0.10.4, "Light"
14805 2006-03-10 Michael Smith <msmith@fluendo.com>
14807 * libs/gst/dataprotocol/dataprotocol.c:
14808 Fix docs for dataprocotol to not get the return types completely
14809 wrong for a few functions.
14811 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14813 * docs/gst/gstreamer-sections.txt:
14814 * gst/gstpipeline.c: (gst_pipeline_class_init),
14815 (gst_pipeline_init), (gst_pipeline_set_property),
14816 (gst_pipeline_get_property), (gst_pipeline_change_state),
14817 (gst_pipeline_set_auto_flush_bus),
14818 (gst_pipeline_get_auto_flush_bus):
14819 * gst/gstpipeline.h:
14820 Add new API: gst_pipeline_set_auto_flush_bus() and
14821 gst_pipeline_get_auto_flush_bus() to disable automatic
14822 flushing of the pipeline's GstBus when going from READY
14823 to NULL state (#332045).
14825 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14827 * docs/gst/gstreamer-sections.txt:
14828 * gst/gsturi.c: (gst_uri_has_protocol):
14830 Add new API: gst_uri_has_protocol() (#333779).
14832 2006-03-09 Wim Taymans <wim@fluendo.com>
14834 * gst/gstclock.c: (gst_clock_entry_new),
14835 (gst_clock_id_compare_func), (gst_clock_id_wait),
14836 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14837 (gst_clock_init), (gst_clock_get_internal_time),
14838 (gst_clock_set_master), (do_linear_regression),
14839 (gst_clock_add_observation), (gst_clock_set_property):
14843 Fix a possible segfault when the window-size is made smaller.
14844 Calculate jitter before performing the clock wait. Ideally
14845 the clock implementation should calculate jitter but we need
14846 API breakage for that.
14848 * gst/gstsystemclock.c: (gst_system_clock_init):
14851 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14852 Remove leftover else
14854 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14855 (gst_systemclock_suite):
14856 Added check to test GST_CLOCK_DIFF.
14858 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14860 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14861 (gst_type_find_helper_get_range):
14862 If we are provided with the size, we should implement
14863 GstTypeFind::get_length, so that typefind functions who
14864 want to can actually peek at the middle of a file.
14866 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14868 * docs/manual/advanced-dataaccess.xml:
14869 Add some very very basic error checking.
14871 * docs/pwg/appendix-checklist.xml:
14872 Some updates to the list of things to check when writing an element.
14874 2006-03-08 Wim Taymans <wim@fluendo.com>
14876 * docs/design/part-element-transform.txt:
14877 Added some docs about the design of tranform elements.
14879 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14880 (gst_base_src_loop), (gst_base_src_change_state):
14881 Mark buffers with the DISCONT flag.
14883 2006-03-08 Michael Smith <msmith@fluendo.com>
14885 * gst/gstregistry.h:
14886 * gst/gstregistryxml.c: (gst_registry_save),
14887 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14888 (gst_registry_xml_save_pad_template),
14889 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14890 (gst_registry_xml_write_cache):
14891 Rewrite registry-saving to avoid race conditions and check for
14894 2006-03-08 Wim Taymans <wim@fluendo.com>
14896 * libs/gst/base/gstbasetransform.c:
14897 (gst_base_transform_transform_caps),
14898 (gst_base_transform_transform_size),
14899 (gst_base_transform_prepare_output_buffer),
14900 (gst_base_transform_get_unit_size),
14901 (gst_base_transform_buffer_alloc),
14902 (gst_base_transform_handle_buffer),
14903 (gst_base_transform_change_state):
14904 Cleanups, separate normal flow from errors, add sensible
14906 Don't try to renegotiate when allocating an output buffer.
14907 Also copy DISCONT buffer flag when copying a buffer.
14908 Reset the transform after we finish streaming, not during.
14910 2006-03-08 Wim Taymans <wim@fluendo.com>
14912 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14913 Use last buffer timestamp in qos message.
14915 2006-03-07 Wim Taymans <wim@fluendo.com>
14917 Patch by: Christophe Fergeau
14919 * docs/pwg/advanced-tagging.xml:
14920 * docs/pwg/building-pads.xml:
14923 2006-03-07 Wim Taymans <wim@fluendo.com>
14925 * docs/libs/gstreamer-libs-sections.txt:
14926 Added basesink new methods.
14930 Docs updates. Flesh out the QoS docs.
14932 * libs/gst/base/gstadapter.c:
14933 Small doc clarification about ownership and flushing.
14935 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14936 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14937 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14938 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14939 * libs/gst/base/gstbasesink.h:
14941 Added new methods to allow subclass to control max-lateness
14943 Generate very basic QoS events based on last sync observation.
14944 Updated docs, fix typo, added some QoS blurb.
14946 * libs/gst/base/gstbasesrc.c:
14947 Remove obsolete _get_state() calls from docs.
14949 2006-03-07 Wim Taymans <wim@fluendo.com>
14951 * docs/libs/gstreamer-libs-sections.txt:
14952 * libs/gst/base/gstbasetransform.h:
14953 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14954 Fix docs for GstBaseSrc.
14956 2006-03-07 Wim Taymans <wim@fluendo.com>
14958 * docs/gst/gstreamer-sections.txt:
14961 * libs/gst/base/gstbasetransform.h:
14962 Small documentation fixes.
14964 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14967 Document thread-unsafety of gst_value_register_foo_func()
14968 when used at the same time as gst_value_foo() (#322628).
14970 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14972 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14973 (gst_push_src_check_get_range):
14974 Push sources don't support pull mode by default.
14976 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14978 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14979 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14980 (gst_base_src_default_check_get_range):
14981 * libs/gst/base/gstbasesrc.h:
14982 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14983 provide default implementation, and rename
14984 gst_base_src_check_get_range() to
14985 gst_base_src_pad_check_get_range() for clarity.
14987 2006-03-06 Wim Taymans <wim@fluendo.com>
14989 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14990 Make property overridable.
14992 2006-03-06 Wim Taymans <wim@fluendo.com>
14994 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14995 (gst_base_sink_init), (gst_base_sink_set_property),
14996 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14997 * libs/gst/base/gstbasesink.h:
14998 API addition: Make max-lateness a property.
15000 2006-03-06 Wim Taymans <wim@fluendo.com>
15002 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15003 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15004 Don't ever draw a frame that is >10ms late.
15006 2006-03-06 Michael Smith <msmith@fluendo.com>
15008 * gst/gstmessage.c: (_gst_message_copy):
15009 When copying a message, set the parent_refcount of the enclosed
15010 structure to point at the copy, not the original message.
15012 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15014 Patch by: Christophe Fergeau
15017 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15018 usable in c++ code (#333417)
15020 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15023 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15025 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15027 * libs/gst/base/gstbasetransform.c:
15028 (gst_base_transform_transform_caps):
15029 Make sure caps are writable before passing them to
15032 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15035 Fix some minor docs errors.
15037 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15039 Patch by: Ross Burton <ross at burtonini dot com>
15041 * gst/gsterror.c: (_gst_resource_errors_init):
15043 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15045 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15048 Add a check and output a g_warning when GStreamer is built
15049 against GLib 2.6 but running against 2.8 or higher, and vice
15050 versa. (Closes: #323542)
15052 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15054 * gst/parse/parse.l:
15055 Commit patch for parse_launch syntax from #331255. Removes
15056 support for quoted strings and mimetypes when writing filtered
15057 caps. See the bug report for more details - I'm pretty sure this
15058 obscure feature is not in use by _anyone_ anywhere.
15060 With this simple change, the size of the gstreamer.so here
15061 drops from 2193KB to 1565KB.
15063 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15065 * plugins/elements/gsttypefindelement.h:
15066 * plugins/elements/gsttypefindelement.c:
15067 (gst_type_find_element_src_event), (start_typefinding),
15068 (stop_typefinding), (gst_type_find_element_handle_event),
15069 (gst_type_find_element_chain),
15070 (gst_type_find_element_chain_do_typefinding):
15071 Use gst_type_find_helper_for_buffer() for chain-based
15074 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15076 * plugins/elements/gsttypefindelement.c:
15077 (gst_type_find_element_class_init),
15078 (gst_type_find_element_set_property),
15079 (gst_type_find_element_get_property):
15080 Deprecate "maximum" property (not only was it only taken into
15081 account for typefinding in push-mode anyway, it also was never
15082 actually possible to set it in the first place because the
15083 property was registered with the numeric property ID for the
15084 "minimum" property). Register "maximum" property correctly,
15085 for the sake of future copy'n'pasters. Remove some cruft
15086 from property get/set functions.
15088 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15090 * plugins/elements/gsttypefindelement.c:
15091 (gst_type_find_element_activate):
15092 Use gst_type_find_helper_get_range() here, so we
15093 can honour the "minimum" property and also emit
15094 the signal with the correct probability of the found caps.
15096 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15098 * docs/libs/gstreamer-libs-sections.txt:
15099 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15100 (helper_find_suggest), (gst_type_find_helper_get_range),
15101 (gst_type_find_helper):
15102 * libs/gst/base/gsttypefindhelper.h:
15103 New API: gst_type_find_helper_get_range() (#333042).
15105 2006-03-02 Michael Smith <msmith@fluendo.com>
15107 * gst/gstregistryxml.c: (load_feature):
15108 Asserting on a failure to read part of the registry is Not Cool.
15109 Just log a warning and return NULL (which is already handled)
15111 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15113 * win32/common/libgstbase.def:
15114 added export of gst_type_find_helper_for_buffer
15115 * win32/common/libgstbase.def:
15116 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15117 gst_ghost_pad_get_target
15119 2006-02-28 Wim Taymans <wim@fluendo.com>
15121 * docs/design/draft-klass.txt:
15123 Added Connector to mark elements that are only used to
15124 allow pipeline connections.
15125 Moved Debug to extra feature since most of them are
15126 functionally something else.
15128 2006-02-28 Wim Taymans <wim@fluendo.com>
15130 * docs/design/draft-klass.txt:
15131 Some updates and clarifications.
15133 2006-02-28 Wim Taymans <wim@fluendo.com>
15135 * docs/design/draft-klass.txt:
15136 Proposal for klass field values.
15138 * docs/design/part-streams.txt:
15139 Start of a doc describing stream anatomy.
15141 2006-02-28 Wim Taymans <wim@fluendo.com>
15143 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15144 Help the compiler a bit with type registration.
15145 Use existing forward cod path instead of duplicating it when
15146 handling a message.
15148 * gst/gstbus.c: (gst_bus_get_type):
15149 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15150 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15151 * gst/gstclock.c: (gst_clock_get_type):
15152 * gst/gstelement.c: (gst_element_get_type),
15153 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15154 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15155 * gst/gstminiobject.c: (gst_mini_object_get_type):
15156 * gst/gstpad.c: (gst_pad_get_type):
15157 * gst/gstsegment.c: (gst_segment_get_type):
15158 * gst/gststructure.c: (gst_structure_get_type):
15159 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15160 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15162 Help compiler with type registration.
15164 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15167 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15169 * plugins/elements/gsttypefindelement.c:
15170 (gst_type_find_element_handle_event):
15171 When we get an EOS event and have not found a type yet
15172 (most likely because we had not yet accumulated
15173 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15174 type given the data we have so far. Fixes typefinding
15175 for very short streams again, most notably quicktime
15176 redirections as used on Apple's trailer site (#331701).
15178 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15180 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15181 (gst_type_find_helper):
15182 Try typefinding factories with the highest rank first.
15184 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15186 * docs/libs/gstreamer-libs-docs.sgml:
15187 * docs/libs/gstreamer-libs-sections.txt:
15188 * libs/gst/base/gsttypefindhelper.c:
15189 Add section for typefind helper and add documentation
15190 for the old and the new function.
15192 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15194 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15195 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15196 (gst_type_find_helper_for_buffer):
15197 * libs/gst/base/gsttypefindhelper.h:
15198 New API: gst_type_find_helper_for_buffer() (#332723).
15200 2006-02-27 Michael Smith <msmith@fluendo.com>
15202 Patch by: Loïc Minier
15205 * docs/Makefile.am:
15206 * docs/slides/Makefile.am:
15207 prevent CVS directories getting disted.
15209 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15211 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15212 Use the REFCOUNTING category for caps refcounting.
15214 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15216 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15217 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15219 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15221 * plugins/elements/gsttypefindelement.c:
15222 (gst_type_find_element_activate):
15223 Use gst_pad_check_pull_range() before _activate_pull()
15224 to avoid unnecessary open/close (see #331690).
15226 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15229 Docs enhancement: make it crystal clear what the
15230 gst_pad_add_*_probe() callbacks should look like.
15232 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15234 * libs/gst/base/gstbasesrc.c:
15235 Document how applications can stop recording from
15236 live sources (see #330996).
15238 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15240 * tests/check/Makefile.am:
15241 * tests/check/libs/basesrc.c: (eos_event_counter),
15242 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15243 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15244 (gst_basesrc_suite), (main):
15245 ... and add some tests for the base source EOS stuff.
15247 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15249 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15250 Test case originally showed the problem fixed below,
15251 but was then amended. Add checks back at the place
15252 where they used to be.
15254 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15256 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15257 (gst_base_src_init), (gst_base_src_loop),
15258 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15259 (gst_base_src_change_state):
15260 * libs/gst/base/gstbasesrc.h:
15261 Don't unconditionally send EOS when going from PAUSED to
15262 READY state, esp. make sure we don't send two EOS events
15263 in some cases (e.g. one when reaching EOS and one when
15264 going from PAUSED to READY). Also, we don't want to send
15265 EOS events when operating in pull mode. However, we do
15266 want to send an EOS event when shutting down a live
15267 source explicitly, for example (fixes #330996).
15269 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15271 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15272 Update src->read_position after a seek when not using mmap.
15273 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15275 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15281 Make things work with --disable-parse as they do with
15282 --disable-load-save - the symbols involved disappear, but the
15283 header is still installed and GST_DISABLE_PARSE is included via
15286 2006-02-20 Julien MOUTTE <julien@moutte.net>
15288 * libs/gst/base/gstbasetransform.c:
15289 (gst_base_transform_change_state): Fix a stupid bug. I was
15290 sure I compiled that.
15292 2006-02-20 Julien MOUTTE <julien@moutte.net>
15294 * gst/gstpad.c: (gst_pad_set_blocked_async):
15295 * gst/gstutils.c: (gst_pad_add_data_probe),
15296 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15297 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15298 (gst_pad_remove_buffer_probe): Make those function act on the
15299 ghostpad target when it's a ghostpad. (Closes #331727)
15301 2006-02-20 Julien MOUTTE <julien@moutte.net>
15303 * libs/gst/base/gstbasetransform.c:
15304 (gst_base_transform_change_state): Make basetransform reusable.
15307 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15309 * docs/random/release:
15310 Move the current documentation of how to do a release to the top
15313 * gst/gstbin.c: (gst_bin_class_init),
15314 (gst_bin_handle_message_func):
15315 Allow multiple state-recalculation threads. (Closes #328873)
15317 2006-02-19 Julien MOUTTE <julien@moutte.net>
15319 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15320 * gst/gstpad.c: (gst_pad_set_event_function),
15321 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15322 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15323 2 strings. You can't use the STR_NULL macro on that.
15325 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15327 * gst/gstpad.c: (gst_pad_set_event_function),
15328 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15329 (gst_pad_set_getcaps_function)
15330 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15331 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15332 So now, we can use --gst-debug-level=5 on Windows
15333 * win32/common/libgstcontroller.def:
15334 Added export of gst_controller_init
15335 * win32/vs6/libgstcontroller.dsp:
15336 Fixed Release post build configuration
15338 2006-02-17 Wim Taymans <wim@fluendo.com>
15340 * tests/check/gst/gstquery.c: (GST_START_TEST):
15341 Added another check.
15343 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15345 * plugins/elements/gsttypefindelement.c: (find_peek):
15346 We can do peeks at non-zero offsets, as long as they
15347 fall within the buffer we have.
15349 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15351 * tests/check/Makefile.am:
15352 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15353 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15354 (parse_suite), (main):
15355 Add testsuite for parse launch syntax
15357 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15359 * plugins/elements/gsttypefindelement.c:
15360 (gst_type_find_element_chain):
15361 When typefinding is unsuccessful in the chain function, don't
15362 error out immediately. Only error out with NO_CAPS_FOUND if
15363 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15364 otherwise simply wait for more data so we can try typefinding
15365 again with more data later. Also, don't attempt to typefind
15366 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15367 this should improve typefinding from network sources where the
15368 size of the first buffer can be somewhat random.
15370 2006-02-14 Wim Taymans <wim@fluendo.com>
15372 * docs/gst/gstreamer-sections.txt:
15373 * gst/gstpadtemplate.c:
15374 * gst/gstpadtemplate.h:
15375 Fix padtemplate docs, fixes #328805.
15377 2006-02-14 Wim Taymans <wim@fluendo.com>
15379 * tools/gst-launch.c: (main):
15380 NO_PREROLL is not an ERROR so don't send confusing messages
15383 2006-02-14 Wim Taymans <wim@fluendo.com>
15385 Patch by: Torsten Schoenfeld
15387 * gst/gstregistry.c: (gst_registry_get_default),
15388 (_gst_registry_cleanup):
15389 Protect default registry with lock and ref/sink it.
15392 2006-02-14 Wim Taymans <wim@fluendo.com>
15395 * gst/gstquery.c: (gst_query_list_add_format),
15396 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15397 (gst_query_parse_formats_nth):
15398 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15401 2006-02-14 Wim Taymans <wim@fluendo.com>
15403 * docs/gst/gstreamer-sections.txt:
15404 Reworked query docs.
15406 * gst/gstquery.c: (gst_query_new_formats),
15407 (gst_query_list_add_format), (gst_query_set_formats),
15408 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15409 (gst_query_parse_formats_nth):
15411 Flesh out formats query, added some new methods.
15412 Fix part of #324398.
15414 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15415 Added query creation tests.
15417 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15419 * gst/gstpad.c: (fixate_value):
15420 Add a default fixation for fraction lists.
15422 2006-02-13 Wim Taymans <wim@fluendo.com>
15424 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15425 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15428 Detect and warn for obvious deadlocks. fixes #320340
15429 Fix error case where lock was not released.
15431 * tests/check/Makefile.am:
15432 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15433 (task_func), (gst_element_suite), (main):
15436 2006-02-13 Wim Taymans <wim@fluendo.com>
15438 * docs/gst/gstreamer-sections.txt:
15440 Add new functions to docs.
15442 2006-02-13 Wim Taymans <wim@fluendo.com>
15444 * docs/design/part-TODO.txt:
15445 Updated TODO list, basesrc supports seeking to non-bytes
15448 * docs/design/part-element-sink.txt:
15451 * gst/gstbin.c: (bin_replace_message),
15452 (gst_bin_handle_message_func):
15453 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15454 * gst/gstevent.c: (gst_event_finalize):
15455 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15456 (gst_pad_send_event):
15457 Use shiny new _TYPE_NAME macros.
15459 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15460 Move debug statement up.
15462 * gst/gstelement.c: (gst_element_set_locked_state):
15463 Add some debugging.
15465 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15467 * docs/gst/gstreamer-sections.txt:
15468 * gst/gstmessage.h:
15470 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15471 macros (#330906). Also, document the already existing
15472 GST_QUERY_TYPE macro.
15474 2006-02-13 Wim Taymans <wim@fluendo.com>
15476 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15477 (event_probe), (GST_START_TEST):
15478 Only events up to the pipeline EOS are counted, there are
15479 some more when going to NULL currently which we don't care
15482 2006-02-13 Wim Taymans <wim@fluendo.com>
15484 * gst/gstpad.c: (gst_pad_send_event):
15485 Correctly check flushing and emit probes. fixes #330125
15487 2006-02-10 Andy Wingo <wingo@pobox.com>
15489 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15491 (gst_bus_init): Cache the location of the private data in the
15492 instance structure.
15493 (gst_bus_enable_sync_message_emission)
15494 (gst_bus_disable_sync_message_emission): Implement new public
15496 (gst_bus_post): Emit the sync-message signal if the user asked for
15499 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15500 location of the bus-private structure.
15501 (gst_bus_enable_sync_message_emission)
15502 (gst_bus_disable_sync_message_emission): API addition
15504 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15506 Patch by: Vincent Torri
15508 * docs/pwg/building-boiler.xml:
15509 PWG patch from #326800
15511 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15514 * docs/Makefile.am:
15515 * docs/design/Makefile.am:
15518 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15523 === release 0.10.3 ===
15525 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15528 releasing 0.10.3, "Like a virgin"
15530 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15533 2nd prerelease of 0.10.3
15534 Bump libtool versioning.
15536 2006-02-07 Andy Wingo <wingo@pobox.com>
15538 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15539 update last_stop if we're in TIME format and the timestamp is
15542 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15543 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15544 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15545 If we get a new newsegment with a different format, adapt
15548 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15549 of 0. Not a problem, really.
15551 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15554 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15559 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15562 project files updated to the default vs7 configuration
15563 * win32/common/libgstbase.def:
15564 * win32/common/libgstreamer.def:
15566 removed empty lines,
15567 sorted all exported symbols alphabetically
15568 * win32/common/dirent.c:
15569 * win32/common/dirent.h:
15570 * win32/common/gchar.h:
15571 use windows line end.
15573 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15575 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15576 Send EOS event when stopping.
15578 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15581 Tell folks what to do if the plugin-foobar.xml file
15582 hasn't been generated for a newly-added plugin.
15584 2006-02-05 Julien MOUTTE <julien@moutte.net>
15586 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15587 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15588 (gst_collect_pads_start), (gst_collect_pads_stop),
15589 (gst_collect_pads_event): Collectpads now holds a reference
15590 to the GstPad that was added. Indeed we don't want to look
15591 at pads that might just go away with no warning...
15593 2006-02-05 Julien MOUTTE <julien@moutte.net>
15595 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15596 (gst_collect_pads_start), (gst_collect_pads_stop),
15597 (gst_collect_pads_event), (gst_collect_pads_chain):
15598 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15599 Mark Nauwelaerts's patch on bug #328491.
15601 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15603 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15605 Add some simple tests for gst_parse_bin_from_description() and
15606 gst_bin_find_unconnected_pad() (#329069).
15608 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15610 * tools/gst-launch.c: (event_loop), (main):
15611 Catch errors during preroll (#320084).
15613 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15615 * plugins/elements/gsttypefindelement.c:
15616 (gst_type_find_element_activate):
15617 Post TYPE_NOT_FOUND error message when typefinding
15618 is unsuccessful in the activate function as well.
15620 2006-02-02 Wim Taymans <wim@fluendo.com>
15622 * docs/design/part-element-sink.txt:
15625 2006-02-02 Wim Taymans <wim@fluendo.com>
15627 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15628 (gst_base_sink_render_object),
15629 (gst_base_sink_queue_object_unlocked):
15630 Only keep track of prerollable items when we are
15632 Before rendering after preroll, always check if we
15634 Added some more debugging.
15636 2006-02-02 Wim Taymans <wim@fluendo.com>
15638 * gst/gstelement.c: (gst_element_continue_state),
15639 (gst_element_set_state_func), (gst_element_change_state):
15640 Fixed #326576, been running this for quite some time with
15641 no regressions at all.
15643 2006-02-02 Wim Taymans <wim@fluendo.com>
15646 Added more suppressions
15648 2006-02-02 Wim Taymans <wim@fluendo.com>
15650 * docs/design/part-element-sink.txt:
15653 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15654 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15655 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15656 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15657 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15658 (gst_base_sink_preroll_object),
15659 (gst_base_sink_queue_object_unlocked),
15660 (gst_base_sink_queue_object), (gst_base_sink_event),
15661 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15662 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15663 (gst_base_sink_get_position), (gst_base_sink_change_state):
15664 * libs/gst/base/gstbasesink.h:
15665 Totally refactored matching the design doc.
15666 Use two segments, one to clip incomming buffers and another to
15668 Handle queueing correctly, bypass the queue when playing.
15669 Make EOS cancelable.
15670 Handle errors correctly when operating in pull based mode.
15672 * tests/check/elements/fakesink.c: (GST_START_TEST),
15674 Added new check for sinks.
15676 2006-02-02 Wim Taymans <wim@fluendo.com>
15678 * gst/gstsegment.c: (gst_segment_clip):
15679 No reason to refuse to clip when start == -1
15681 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15684 * docs/manual/intro-basics.xml:
15685 * docs/manual/intro-preface.xml:
15686 * docs/manual/manual.xml:
15687 * docs/pwg/advanced-dparams.xml:
15688 * docs/pwg/intro-basics.xml:
15689 * docs/pwg/intro-preface.xml:
15690 * docs/pwg/pwg.xml:
15691 describe dparams (controller) for plugins
15692 unify docs a little more
15694 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15696 * docs/gst/gstreamer-sections.txt:
15697 * gst/gstutils.c: (element_find_unconnected_pad),
15698 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15700 Add new API: gst_parse_bin_from_description() and
15701 gst_bin_find_unconnected_pad() (#329069).
15703 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15705 * docs/manual/README:
15706 uncover a nasty detail of the docs build
15708 2006-01-31 Wim Taymans <wim@fluendo.com>
15710 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15711 Don't cache duration messages if we're not going to use or
15714 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15716 * docs/manual/advanced-dparams.xml:
15717 * docs/pwg/advanced-dparams.xml:
15721 * libs/gst/controller/lib.c: (gst_controller_init):
15724 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15726 * gst/gstelement.c: (gst_element_message_full):
15727 also show file/line/func if no additional debug was given
15729 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15731 * win32/vs7/grammar.vcproj:
15732 activate copy of autogenerated files for Release mode
15734 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15736 * win32/common/libgstreamer.def:
15737 export gst_value_compare
15739 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15741 * plugins/elements/Makefile.am:
15742 * plugins/elements/gstelements.c:
15743 * plugins/elements/gstfdsink.c: (_do_init),
15744 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15745 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15746 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15747 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15748 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15749 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15750 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15751 * plugins/elements/gstfdsink.h:
15752 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15754 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15756 * docs/manual/advanced-dparams.xml:
15757 describe controller
15758 * docs/manual/advanced-position.xml:
15759 * docs/manual/basics-init.xml:
15760 * docs/manual/manual.xml:
15761 * docs/manual/titlepage.xml:
15762 * docs/pwg/pwg.xml:
15763 * docs/pwg/titlepage.xml:
15764 cleanup xml (more to come)
15765 * libs/gst/controller/gstcontroller.c:
15768 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15770 * win32/vs6/grammar.dsp:
15771 add autogen of gstmarshal.c,h for Release mode
15773 2006-01-30 Wim Taymans <wim@fluendo.com>
15775 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15776 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15777 (gst_base_sink_handle_object), (gst_base_sink_event),
15778 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15779 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15780 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15781 (gst_base_sink_deactivate), (gst_base_sink_activate),
15782 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15783 (gst_base_sink_query), (gst_base_sink_change_state):
15784 Basesink cleanups, remove some old code.
15785 Handle the case where a subclass can preroll in the render
15786 method (mostly audiosinks).
15787 Handle more events.
15788 Remove some locks around variables that are now protected
15789 with the PREROLL_LOCK (clock_id, flushing, ..).
15790 Optimize position query some more, do correct locking.
15791 Remove old code to push queue in state change, this is not
15792 needed anymore since preroll blocks on all prerollable items
15794 Almost implemented as described in design doc.
15796 2006-01-30 Wim Taymans <wim@fluendo.com>
15798 * tests/check/gst/gstbin.c: (GST_START_TEST):
15799 Wait for refcount to settle down before checking.
15801 2006-01-30 Wim Taymans <wim@fluendo.com>
15803 * docs/design/part-element-sink.txt:
15804 Pseudo code overview of desired sink behaviour regarding
15807 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15808 * win32/vs6/grammar.dsp:
15809 fix some bugs in Release mode for autogenerated files
15811 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15812 * win32/common/libgstbase.def:
15813 * win32/common/libgstreamer.def:
15814 export some new symbols: gst_base_src_set_format,
15815 gst_iterator_next, gst_structure_set_valist
15817 2006-01-29 Julien MOUTTE <julien@moutte.net>
15819 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15820 Set pad functions unconditionally. Fixes #329105.
15822 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15824 add vs8 project files created by Sergey Scobich
15826 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15828 * gst/gstutils.c: (gst_element_unlink_pads):
15829 Don't leak pad references.
15831 * tests/check/elements/fakesink.c: (GST_START_TEST):
15832 * tests/check/generic/sinks.c: (GST_START_TEST):
15833 * tests/check/generic/states.c: (GST_START_TEST):
15834 * tests/check/gst/gstbin.c: (GST_START_TEST):
15835 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15836 * tests/check/gst/gstelement.c: (GST_START_TEST):
15837 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15838 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15839 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15840 Fix a bunch of leaks. Make generic/sinks.c
15841 use a bit less cpu by slowing the buffer rate
15842 between fakesrc and fakesink.
15844 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15846 * gst/gstelement.c: (gst_element_send_event):
15849 * gst/gstiterator.c:
15850 * gst/gstiterator.h:
15851 * gst/gstpad.c: (gst_pad_send_event):
15852 * gst/gststructure.c:
15856 * libs/gst/base/gstadapter.c:
15857 doc fixes, to link to function, just write gst_cool_function(), don't
15860 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15862 * plugins/elements/gsttee.c: (gst_tee_do_push),
15863 (gst_tee_handle_buffer):
15864 Always prefer an actual return value from a src
15865 pad in place of NOT_LINKED. This means we return
15866 WRONG_STATE when all src pads are WRONG_STATE
15867 instead of NOT_LINKED.
15869 Lock when replacing the last message to prevent
15870 racing with the get_property method.
15874 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15876 * tests/check/Makefile.am:
15877 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15879 Add a very simple check that should have caught the memleak I fixed
15880 last night (if not for the slice allocator hiding it)
15882 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15884 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15885 (gst_bin_remove_func), (gst_bin_handle_message_func),
15886 (bin_query_duration_fold), (bin_query_generic_fold):
15887 Clean up references to the clock provider when disposed or when
15888 handling a clock-lost message from it.
15890 Unref sinks when performing a query via gst_iterator_fold, as the
15891 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15893 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15894 (gst_clock_set_master):
15895 Drop our reference to the master clock, if any, when we are disposed.
15897 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15898 Chain up in dispose.
15900 2006-01-26 Wim Taymans <wim@fluendo.com>
15902 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15903 Add some debugging.
15905 2006-01-26 Julien MOUTTE <julien@moutte.net>
15907 * plugins/elements/gsttee.c: (gst_tee_do_push),
15908 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15909 handles pad being NOT_LINKED or in WRONG_STATE.
15911 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15916 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15919 remove obsolete entry
15921 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15923 * docs/gst/gstreamer-sections.txt:
15924 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15925 (gst_bin_iterate_sources), (gst_bin_send_event):
15927 * gst/gstelement.c: (gst_element_send_event):
15929 * gst/gstpad.c: (gst_pad_send_event):
15930 added code for downstream events, reviewed docs in gstevent.c
15932 2006-01-25 Julien MOUTTE <julien@moutte.net>
15934 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15935 We only query position using the clock in the playing state.
15936 Query peer in the other cases.
15937 * win32/common/config.h: Updates.
15939 2006-01-24 Wim Taymans <wim@fluendo.com>
15941 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15942 A clock entry that is scheduled for the exact time of the
15943 clock is still in time.
15945 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15946 (gst_base_sink_do_sync):
15947 Add some more debug info.
15949 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15952 Add new vs7 project files and solution.
15954 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15957 all files removed as they were out-dated.
15959 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15961 * docs/random/release:
15963 * gst/gstbin.c: (gst_bin_init):
15964 * gst/gstbus.c: (gst_bus_new):
15966 * gst/gstpipeline.c: (gst_pipeline_init):
15967 use gst_bus_new(), improve logging, fix docs
15968 * win32/common/config.h:
15969 update for cvs build
15971 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15974 up required version of automake to 1.7
15976 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15978 * win32/common/libgstreamer.def:
15979 export gst_buffer_is_metadata_writable
15981 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15983 * docs/gst/gstreamer-sections.txt:
15985 Add gst_event_replace() (#327001)
15987 2006-01-20 Wim Taymans <wim@fluendo.com>
15989 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15990 Make it actually compile too..
15992 2006-01-20 Wim Taymans <wim@fluendo.com>
15995 Clarify behaviour of _is_equal() when passing NULL parameters.
15997 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15998 (gst_pad_set_caps):
15999 Cleanups. Don't unref NULL caps.
16000 When setting the same caps, protect caps of the pad with
16002 Use full functionality of _is_equal() when comparing caps.
16004 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16006 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16007 Don't loop infinitely if there are no buffers to present. Partially
16008 fixes #327197, but collectpads is just broken for reusing elements
16009 to do multiple encodes atm.
16011 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16013 * tools/gst-inspect.c: (print_element_features):
16014 * tools/gst-xmlinspect.c: (main):
16015 URL_HANDLER is not a plugin feature we can search for in
16018 2006-01-19 Edward Hervey <edward@fluendo.com>
16020 * gst/gstelement.c: (gst_element_pads_activate):
16021 When activating, do src pads first, then sink pads.
16022 When de-activating, do sink pads first, then src pads.
16024 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16026 * docs/gst/gstreamer-sections.txt:
16027 Add gst_index_add_associationv to the docs
16029 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16034 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16035 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16036 Do some refactoring. Doesn't actually change functionality,
16037 but makes landing the DRAIN event easier later.
16039 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16041 * docs/pwg/advanced-scheduling.xml:
16042 Update from 0.9.x to 0.10 API and make example a bit
16045 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16047 * docs/gst/gstreamer-sections.txt:
16048 Add gst_buffer_(is|make)_metadata_writable methods.
16050 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16052 * docs/design/part-sparsestreams.txt:
16053 Update sparse streams doc, hopefully for greater clarity
16055 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16057 * docs/design/part-events.txt:
16058 Remove mention of FILLER events.
16061 * docs/design/part-sparsestreams.txt:
16062 Write some things about using NEWSEGMENT to keep sparse streams
16065 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16067 * gst/gstbin.c: (gst_bin_dispose):
16068 Guard gst_object_unref call against a NULL object (dispose
16069 can theoretically be called multiple times).
16071 2006-01-18 Wim Taymans <wim@fluendo.com>
16073 * gst/gstbin.c: (gst_bin_element_set_state):
16074 * gst/gstclock.c: (gst_clock_id_wait):
16075 Added some more debug info.
16077 * libs/gst/base/gstadapter.c:
16080 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16081 (gst_base_sink_do_sync), (gst_base_sink_chain):
16082 Added some comments.
16084 2006-01-18 Wim Taymans <wim@fluendo.com>
16086 * tests/check/Makefile.am:
16087 * tests/check/elements/fakesink.c: (chain_async_buffer),
16088 (chain_async), (chain_async_return), (GST_START_TEST),
16089 (fakesink_suite), (main):
16090 Added fakesink test that checks prerolling and clipping
16093 * tests/check/gst/gstutils.c: (GST_START_TEST):
16094 Make check run faster so that buildbots don't timeout.
16096 2006-01-18 Wim Taymans <wim@fluendo.com>
16098 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16099 (gst_base_sink_do_sync):
16101 When the sink finishes blocking on the preroll buffer, it can
16102 immediatly render it instead of rendering when the next buffer
16105 2006-01-18 Wim Taymans <wim@fluendo.com>
16107 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16108 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16109 (gst_base_sink_chain):
16111 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16112 Don't store _last_stop if the buffer is dropped.
16114 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16116 * plugins/elements/gsttypefindelement.c:
16117 (gst_type_find_element_class_init):
16118 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16119 object method handler that sets the caps on the pad and we want
16120 that to happen before we emit the signal (fixes e.g. feeding a
16121 plain text file to decodebin).
16123 2006-01-18 Christian Schaller <Christian@fluendo.com>
16125 * gst/gstplugin.c: Add MPL and Proprietary as license options
16127 2006-01-18 Andy Wingo <wingo@pobox.com>
16129 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16130 symbol was exported before, it appears this was just an oversight.
16132 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16134 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16135 prototype to gint. OK since this prototype was not in the header.
16137 2006-01-17 Andy Wingo <wingo@pobox.com>
16139 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16140 registry while we remove plugins.
16142 * tools/gst-inspect.c (print_element_info): Don't unref the
16143 factory arg, that should be the responsibility of whatever code
16144 received the ref. Fixes a double-free when called from
16145 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16146 (main): Unref the factory if we have one.
16147 (print_element_list): No change -- relies on the
16148 plugin_feature_list_free to free the list of features.
16150 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16152 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16153 (gst_buffer_make_metadata_writable):
16155 * libs/gst/base/gstbasetransform.c:
16156 (gst_base_transform_prepare_output_buf):
16157 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16158 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16159 Replace gst_buffer_(make|is)_metadata_writable patch now
16160 that the release is out.
16162 2006-01-17 Andy Wingo <wingo@pobox.com>
16164 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16165 in the present tense without reference to versions.
16167 * gst/gstregistry.c (gst_registry_add_plugin)
16168 (gst_registry_remove_plugin, gst_registry_remove_feature)
16169 (gst_registry_find_feature, gst_registry_get_feature_list)
16170 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16171 (gst_registry_lookup, gst_registry_scan_path)
16172 (_gst_registry_remove_cache_plugins)
16173 (gst_registry_get_feature_list_by_plugin): Add argument
16176 === release 0.10.2 ===
16178 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16181 releasing 0.10.2, "If man is five"
16183 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16187 * libs/gst/base/gstbasetransform.c:
16188 (gst_base_transform_prepare_output_buf):
16189 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16190 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16191 Back out patch until after the release.
16193 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16195 * gst/gstminiobject.c:
16196 Spelling fix in docs.
16197 * ChangeLog - remove conflict indicator
16199 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16201 Reviewed By: Andy Wingo
16203 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16204 (gst_buffer_make_metadata_writable):
16206 Add gst_buffer_(is|make)_metadata_writable as analogues of
16207 gst_buffer_(is|make)_writable.
16209 * libs/gst/base/gstbasetransform.c:
16210 (gst_base_transform_prepare_output_buf):
16211 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16212 Use name gst_buffer_(is|make)_metadata_writable functions.
16214 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16215 Test gst_buffer_(is|make)_metadata_writable
16219 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16221 * docs/manual/Makefile.am:
16222 don't do parallel make
16225 * win32/common/config.h.in:
16226 add generations for HOST_CPU and GST_MAJORMINOR
16227 * win32/common/config.h:
16228 commit generated result
16230 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16232 * docs/manual/appendix-integration.xml:
16233 Update GNOME integration section to use gst_init_get_option_group()
16234 instead of the old popt stuff (#322911). Also, GNOME applications
16235 should now use gconf*sink and gconf*src instead of the old gconf
16238 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16241 * docs/gst/gstreamer-docs.sgml:
16242 * docs/gst/gstreamer-sections.txt:
16243 * docs/libs/gstreamer-libs-sections.txt:
16244 add new API entries to the docs
16245 * libs/gst/controller/Makefile.am:
16246 * libs/gst/controller/gstcontroller.c:
16247 * libs/gst/controller/gstcontroller.h:
16248 * libs/gst/controller/gstcontrollerprivate.h:
16249 * libs/gst/controller/gsthelper.c:
16250 * libs/gst/controller/gstinterpolation.c:
16251 move private structs to private header
16253 gstreamer-0.7 -> gstreamer-0.10
16254 * tests/check/libs/struct_i386.h:
16255 remove private structs
16257 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16259 * plugins/indexers/Makefile.am:
16260 Fixes as part of #317048
16262 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16264 * plugins/indexers/Makefile.am:
16265 fix #316086 - compilation when mmap is missing
16267 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16269 * libs/gst/base/gstbasesink.c:
16270 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16271 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16272 * win32/common/config.h:
16273 added some defines GST_MAJORMINOR and HOST_CPU
16274 * win32/common/libgstbase.def:
16275 * win32/common/libgstreamer.def:
16276 added some exported functions.
16278 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16280 * libs/gst/controller/gstcontroller.c:
16281 (gst_controlled_property_set_interpolation_mode),
16282 (gst_controlled_property_new):
16283 * libs/gst/controller/gstcontroller.h:
16284 * libs/gst/controller/gstinterpolation.c:
16285 (interpolate_none_get_string_value_array):
16286 make G_TYPE_STRING controlable
16288 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16291 * tools/gst-feedback.1.in:
16292 * tools/gst-inspect.1.in:
16293 * tools/gst-launch.1.in:
16294 * tools/gst-md5sum.1.in:
16295 * tools/gst-typefind.1.in:
16296 * tools/gst-xmlinspect.1.in:
16297 * tools/gst-xmllaunch.1.in:
16298 cleanup man-pages, remove reference to gst-register, document env-vars
16300 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16302 * gst/gstbuffer.c: (gst_buffer_span):
16303 gst_buffer_span should copy the timestamp of the first buffer
16304 if they were both originally overlapping subbuffers of the
16305 same parent, using the same logic as the 'slow copy' case.
16307 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16309 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16310 Need to awaken ALL the pads when we pop a buffer, otherwise
16311 collectpads only works when there is 2 input streams.
16313 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16315 * docs/random/ensonic/media-device-daemon.txt:
16318 fix doc example, add clarification
16319 * tools/gst-launch.1.in:
16320 add initial info about GST_PLUGIN_PATH, needs more work
16322 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16324 * docs/manual/basics-bins.xml:
16325 * docs/manual/basics-elements.xml:
16326 * docs/manual/intro-basics.xml:
16327 Some more minor docs additions and updates.
16329 2006-01-11 Wim Taymans <wim@fluendo.com>
16331 * docs/manual/basics-bins.xml:
16332 * docs/manual/basics-elements.xml:
16333 Some small fixes as pointed out by Ser-ver on IRC.
16335 2006-01-10 Edward Hervey <edward@fluendo.com>
16337 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16338 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16339 the single-segment mode.
16341 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16343 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16345 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16346 (gst_base_src_perform_seek), (gst_base_src_send_event),
16347 (gst_base_src_set_property), (gst_base_src_get_property),
16348 (gst_base_src_loop), (gst_base_src_start),
16349 (gst_base_src_activate_push):
16350 * libs/gst/base/gstbasesrc.h:
16351 Name (private) union; makes Sun's Forte compiler happy (#324900).
16353 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16356 gst-register is gone.
16358 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16360 * gst/gstvalue.c: (_gst_value_initialize):
16361 make the G_TYPE_DATE instantiation work if debug is disabled
16363 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16365 * gst/gstmessage.c: (gst_message_parse_tag),
16366 (gst_message_parse_error), (gst_message_parse_warning):
16367 Don't crash when return location for error/warning debug
16368 string is NULL; add fact that return locations can be
16369 NULL to docs where appropriate.
16371 2006-01-05 Wim Taymans <wim@fluendo.com>
16373 * gst/gstplugin.c: (gst_plugin_load_file):
16374 Replace strdup by g_strdup.
16376 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16378 * docs/pwg/advanced-types.xml:
16381 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16383 submitted by: Abel Cheung
16387 Added Chinese (traditional) translation
16389 2006-01-04 Wim Taymans <wim@fluendo.com>
16391 * docs/manual/basics-pads.xml:
16392 * docs/plugins/Makefile.am:
16393 * docs/plugins/gstreamer-plugins-docs.sgml:
16394 * docs/plugins/gstreamer-plugins-sections.txt:
16395 * docs/pwg/advanced-clock.xml:
16396 * docs/pwg/advanced-scheduling.xml:
16397 * docs/pwg/advanced-types.xml:
16398 * plugins/elements/gstfdsink.c:
16399 * plugins/elements/gstfdsrc.c:
16400 * plugins/elements/gstfdsrc.h:
16401 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16402 * plugins/elements/gstidentity.h:
16403 * plugins/elements/gstqueue.h:
16404 * plugins/elements/gsttee.c:
16405 * plugins/elements/gsttee.h:
16406 * plugins/elements/gsttypefindelement.c:
16407 (gst_type_find_element_class_init):
16408 * plugins/elements/gsttypefindelement.h:
16409 Small updates to various docs.
16410 Added core plugins to docs.
16412 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16415 add a suppression for liboil's uninitialized variable
16417 2006-01-02 James Livingston <jrl at ids dot org dot au>
16419 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16422 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16423 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16424 compiler switch is being used (#325429).
16426 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16428 * gst/gstbin.c: (gst_bin_query):
16429 Disable duration query caching in bins until it gets
16430 fixed (see #324807).
16432 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16434 * tools/gst-inspect.c: (print_element_properties_info):
16435 Handle properties of POINTER and BOXED type.
16437 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16439 * gst/gst.c: (init_post):
16440 Init tags stuff and some other things before loading
16441 any static plugins (there may be other static plugins
16442 than just the GStreamer ones, and they may want to
16443 register their own tags or formats or whatever, and
16444 preferably without segfaulting).
16446 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16447 Print at least a warning in the debug logs if we drop a
16448 query just because we don't know how to adjust the value
16449 in the particular format.
16451 2005-12-24 David Schleef <ds@schleef.org>
16453 * tools/gstreamer-completion:
16454 Replacement for gst-complete written in sh and sed. Only
16455 completes names of features, but that's 90% of what I want
16456 it for. Properties are not available in registry.xml. (Maybe
16459 === release 0.10.1 ===
16461 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16464 releasing 0.10.1, "Nollaig chridheil"
16466 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16468 * docs/faq/cvs.xml:
16469 Add missing quote, should be make ERROR_CFLAGS="".
16471 2005-12-20 Wim Taymans <wim@fluendo.com>
16473 * docs/design/part-trickmodes.txt:
16474 More documentation on trickmodes.
16476 2005-12-20 Edward Hervey <edward@fluendo.com>
16478 * gst/gstcaps.c: (gst_static_caps_get_type):
16480 API addition: GST_TYPE_STATIC_CAPS
16481 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16482 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16483 * gst/gstpadtemplate.h:
16484 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16485 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16488 2005-12-18 Wim Taymans <wim@fluendo.com>
16490 * libs/gst/base/gstadapter.c:
16491 * libs/gst/base/gstadapter.h:
16492 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16493 (gst_base_sink_get_position):
16494 * libs/gst/base/gstbasesink.h:
16495 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16496 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16497 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16498 (gst_base_src_send_event), (gst_base_src_update_length),
16499 (gst_base_src_get_range), (gst_base_src_loop),
16500 (gst_base_src_start):
16501 * libs/gst/base/gstbasesrc.h:
16502 * libs/gst/base/gstbasetransform.h:
16503 * libs/gst/base/gstcollectpads.h:
16504 * libs/gst/base/gstpushsrc.c:
16505 * libs/gst/base/gstpushsrc.h:
16506 * libs/gst/dataprotocol/dataprotocol.c:
16507 * libs/gst/dataprotocol/dataprotocol.h:
16508 * libs/gst/net/gstnetclientclock.h:
16509 * libs/gst/net/gstnettimeprovider.h:
16510 Documentation updates.
16512 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16514 * docs/manual/basics-helloworld.xml:
16515 Remove superfluous closing bracket in helloworld example.
16517 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16519 * tools/gst-launch.1.in:
16520 Update gst-launch man page; add a section with useful
16521 environment variables. Fixes #323882.
16523 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16526 * gst/gst_private.h:
16527 change some char* into char[]
16529 2005-12-16 Wim Taymans <wim@fluendo.com>
16531 * gst/gstregistryxml.c: (load_feature):
16533 Don't use g_object_unref on GstObjects so that we avoid
16534 leaks on unsafe glibs.
16536 2005-12-16 Wim Taymans <wim@fluendo.com>
16538 * gst/gstbin.c: (gst_bin_recalc_state):
16541 2005-12-16 Wim Taymans <wim@fluendo.com>
16543 * common/check.mak:
16544 Added make forever target for check.
16546 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16548 * gst/gst.c: (init_post):
16549 make the registry cache file HOST_CPU-dependent
16551 2005-12-16 Andy Wingo <wingo@pobox.com>
16553 * plugins/elements/gstbufferstore.c
16554 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16557 * tests/check/gst/gstobject.c
16558 (test_fake_object_name_threaded_unique): Pay attention to
16559 g_list_sort return value.
16561 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16563 * tools/gst-feedback-m.m:
16564 Update for 0.9/0.10 (fixes #323870).
16566 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16568 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16569 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16571 * tests/check/gst/gstminiobject.c: (my_foo_init),
16572 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16573 (test_value_collection), (gst_mini_object_suite):
16574 Add test to ensure refcounts end up as expected when passing
16575 GstMiniObjects through g_object_get() and g_object_set().
16577 2005-12-14 Julien MOUTTE <julien@moutte.net>
16579 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16580 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16581 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16582 of collectpads. This version removes a lot of races without
16583 touching API/ABI. Yay !
16585 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16587 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16588 Don't allow activation of a srcpad in pull_range if it has no
16590 Change some debug statements to be a little clearer
16592 * plugins/elements/gsttypefindelement.c:
16593 (gst_type_find_handle_src_query):
16594 Check that we have a peer before executing queries thereupon.
16596 * tests/examples/metadata/read-metadata.c: (message_loop):
16597 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16598 immediately return us any available message with 0 timeout.
16600 2005-12-12 Michael Smith <msmith@fluendo.com>
16602 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16603 Don't unref factories after calling them.
16604 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16605 * plugins/elements/gsttypefindelement.c:
16606 (gst_type_find_element_chain):
16607 Free lists of factories after using them. Fixing typefinding memory
16610 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16612 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16613 (gst_plugin_feature_load):
16614 more meaningful debug output
16616 * tests/Makefile.am:
16617 * tests/old/examples/Makefile.am:
16618 make make distcheck happy again
16620 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16622 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16623 Catch the special case where we are operating chain-based,
16624 but the downstream peer pad has no chain function. Emit a
16625 custom error message in this case instead of letting the
16626 core generate one implying that this is some sort of core
16627 bug. It's not, it just means that whatever got plugged
16628 into the pipeline downstream when we announced the type
16629 can only operate pull-based, while our source can only
16630 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16631 Error string has not been marked for translation yet, as
16632 it probably needs some more work first.
16634 (gst_type_find_element_get_best_possibility):
16635 Add helper function to find the best of all available
16636 found possibilities that qualify given the min. threshold.
16638 (gst_type_find_element_handle_event):
16639 Fix the case where we get an EOS while still in TYPEFIND
16640 mode (we want to chose the best of all possible types,
16641 not just the first type that happens to be in our unsorted
16642 list of possible types).
16644 (gst_type_find_element_chain):
16645 Make sure we return GST_FLOW_ERROR when we errored out
16646 in stop_typefinding(); also, don't just find the best of
16647 all found type entries and then use the last examined
16648 type entry, but actually use the best entry.
16650 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16652 * tests/examples/typefind/typefind.c: (type_found):
16653 * tests/examples/xml/runxml.c: (xml_loaded):
16654 More gcc4 fixes and a mem leak fix.
16656 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16658 * tests/examples/xml/createxml.c: (object_saved):
16661 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16663 * tests/Makefile.am:
16664 enable the examples even more
16666 2005-12-12 Andy Wingo <wingo@pobox.com>
16668 * libs/gst/net/gstnettimeprovider.c
16669 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16670 (gst_net_time_provider_set_property)
16671 (gst_net_time_provider_get_property):
16672 API addition: Export "active" as a GObject property.
16673 (gst_net_time_provider_thread): Only respond to time queries if
16674 the time provider is active.
16676 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16677 NetTimeProvider, preserving binary compat.
16679 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16681 * tests/examples/controller/audio-example.c: (main):
16682 * tests/examples/launch/Makefile.am:
16683 convert comments again
16685 2005-12-12 Wim Taymans <wim@fluendo.com>
16687 * libs/gst/base/gstpushsrc.c:
16690 2005-12-12 Wim Taymans <wim@fluendo.com>
16692 * docs/libs/gstreamer-libs-sections.txt:
16693 Added new symbol to docs.
16695 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16696 (gst_base_src_init), (gst_base_src_set_format),
16697 (gst_base_src_default_query), (gst_base_src_query),
16698 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16699 (gst_base_src_perform_seek), (gst_base_src_send_event),
16700 (gst_base_src_default_event), (gst_base_src_event_handler),
16701 (gst_base_src_set_property), (gst_base_src_get_property),
16702 (gst_base_src_wait), (gst_base_src_do_sync),
16703 (gst_base_src_update_length), (gst_base_src_get_range),
16704 (gst_base_src_check_get_range), (gst_base_src_loop),
16705 (gst_base_src_default_negotiate), (gst_base_src_start),
16706 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16707 (gst_base_src_change_state):
16708 * libs/gst/base/gstbasesrc.h:
16709 Implement seeking to other formats than _BYTES.
16710 Implement more seeking methods correctly.
16712 Added query vmethod.
16713 Added do_seek vmethod to make life easier for subclasses
16715 API addition: gst_base_src_set_format()
16717 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16719 * tests/examples/Makefile.am:
16722 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16725 * docs/random/ensonic/media-device-daemon.txt:
16726 * tests/examples/controller/.cvsignore:
16727 * tests/examples/controller/Makefile.am:
16728 * tests/examples/controller/audio-example.c: (main):
16729 * tests/examples/helloworld/.cvsignore:
16730 * tests/examples/helloworld/Makefile.am:
16731 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16732 * tests/examples/launch/.cvsignore:
16733 * tests/examples/launch/Makefile.am:
16734 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16735 * tests/examples/metadata/.cvsignore:
16736 * tests/examples/metadata/Makefile.am:
16737 * tests/examples/metadata/read-metadata.c: (message_loop),
16738 (make_pipeline), (print_tag), (main):
16739 * tests/examples/queue/.cvsignore:
16740 * tests/examples/queue/Makefile.am:
16741 * tests/examples/queue/queue.c: (event_loop), (main):
16742 * tests/examples/typefind/.cvsignore:
16743 * tests/examples/typefind/Makefile.am:
16744 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16746 * tests/examples/xml/.cvsignore:
16747 * tests/examples/xml/Makefile.am:
16748 * tests/examples/xml/createxml.c: (object_saved), (main):
16749 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16750 * tests/old/examples/Makefile.am:
16751 * tests/old/examples/TODO:
16752 * tests/old/examples/controller/.cvsignore:
16753 * tests/old/examples/controller/Makefile.am:
16754 * tests/old/examples/controller/audio-example.c:
16755 * tests/old/examples/helloworld/.cvsignore:
16756 * tests/old/examples/helloworld/Makefile.am:
16757 * tests/old/examples/helloworld/helloworld.c:
16758 * tests/old/examples/launch/.cvsignore:
16759 * tests/old/examples/launch/Makefile.am:
16760 * tests/old/examples/launch/mp3parselaunch.c:
16761 * tests/old/examples/launch/mp3play:
16762 * tests/old/examples/manual/Makefile.am:
16763 * tests/old/examples/metadata/Makefile.am:
16764 * tests/old/examples/metadata/read-metadata.c:
16765 * tests/old/examples/queue/.cvsignore:
16766 * tests/old/examples/queue/Makefile.am:
16767 * tests/old/examples/queue/queue.c:
16768 * tests/old/examples/typefind/.cvsignore:
16769 * tests/old/examples/typefind/Makefile.am:
16770 * tests/old/examples/typefind/typefind.c:
16771 * tests/old/examples/xml/.cvsignore:
16772 * tests/old/examples/xml/Makefile.am:
16773 * tests/old/examples/xml/createxml.c:
16774 * tests/old/examples/xml/runxml.c:
16775 applied some simple fixing to some examples
16776 re-enabled the working examples
16778 2005-12-12 Wim Taymans <wim@fluendo.com>
16780 * gst/gstsegment.c: (gst_segment_init),
16781 (gst_segment_set_last_stop), (gst_segment_set_seek),
16782 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16783 (gst_segment_to_running_time):
16784 Added more documentation.
16785 Make sure the last_pos value is updated properly.
16786 Make sure to_stream_time and to_running_time don't
16787 operate on wrong values.
16789 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16792 2005-12-12 Michael Smith <msmith@fluendo.com>
16794 * plugins/elements/gsttypefindelement.c: (free_entry),
16795 (gst_type_find_element_chain):
16796 Now that we're not leaking factories, make sure we keep references
16797 to them while we need them.
16799 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16801 * tests/check/gst/struct_i386.h:
16802 ifdef out the XML structs
16804 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16806 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16807 floor is not needed, F is always positive; this obviates the
16808 need for adding -lm when building without libxml
16810 2005-12-12 Wim Taymans <wim@fluendo.com>
16812 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16813 Take current playback rate into account when reporting
16816 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16818 * docs/manual/mime-world.fig:
16819 Let's try this again, this time with a file that is
16820 actually in XFig format.
16822 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16824 * docs/manual/mime-world.fig:
16825 Add audioconvert element to diagram so that it
16826 matches the text and the code (fixes #319526).
16828 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16830 * docs/pwg/building-chainfn.xml:
16831 * docs/pwg/building-pads.xml:
16832 * docs/pwg/building-state.xml:
16833 * docs/pwg/other-source.xml:
16834 Update state change stuff for 0.10 (fixes #322969).
16836 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16838 * docs/manual/advanced-dataaccess.xml:
16839 * docs/manual/appendix-checklist.xml:
16840 * docs/manual/appendix-programs.xml:
16841 * docs/manual/basics-pads.xml:
16842 * docs/manual/highlevel-components.xml:
16843 * docs/manual/manual.xml:
16844 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16845 add converters in front of pipelines; remove curly
16846 brackets for threads stuff, they no longer exist; use
16847 GST_TYPE_FRACTION for framerates; update some pieces of
16848 code to 0.10, but there's plenty more to do.
16850 * docs/manual/appendix-porting.xml:
16851 Expand on asynchroneous state changes; s/0.9/0.10/;
16852 mention disappearance of gst_init_get_popt_table()
16855 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16857 * docs/faq/using.xml:
16858 Spider no longer exists, and neither does gst-launch-ext.
16859 Update examples to use decodebin and playbin and put
16860 converters in front of sinks (fixes #323726).
16862 2005-12-09 Michael Smith <msmith@fluendo.com>
16864 * plugins/elements/gsttypefindelement.c: (find_peek),
16865 (gst_type_find_element_chain):
16866 Fix leaking element factories in typefinding.
16867 Fix problem where we forgot about a probable type on non-seekable
16868 files, and thus later mis-typefound it.
16870 2005-12-09 Michael Smith <msmith@fluendo.com>
16872 * common/m4/gst-makecontext.m4:
16873 * common/m4/gst-mcsc.m4:
16875 * win32/common/config.h:
16876 * win32/common/config.h.in:
16877 Remove makecontext stuff; not used in 0.10 and causes problems on
16878 HPUX according to bug #322441
16880 2005-12-07 Wim Taymans <wim@fluendo.com>
16882 * tests/check/Makefile.am:
16883 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16885 * tests/check/libs/struct_i386.h:
16886 Added ABI check for libs
16888 2005-12-07 Wim Taymans <wim@fluendo.com>
16890 * tests/check/Makefile.am:
16891 And add the struct_i386.h to dist.
16893 2005-12-07 Wim Taymans <wim@fluendo.com>
16895 * tests/check/Makefile.am:
16896 * tests/check/gst/.cvsignore:
16897 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16899 * tests/check/gst/struct_i386.h:
16900 Added check for ABI compatibility.
16902 2005-12-07 Wim Taymans <wim@fluendo.com>
16904 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16905 (gst_fake_src_get_times), (gst_fake_src_create):
16906 Fix broken sync option, fixes #323259
16908 2005-12-07 Wim Taymans <wim@fluendo.com>
16913 * gst/gstcaps.c: (gst_caps_is_equal):
16914 Don't assert on NULL <--> X. Fixes #323260
16916 * gst/gstminiobject.c: (gst_mini_object_replace):
16917 If we're doing atomic operations, we might just as well use
16918 the proper way to get an atomic pointer.
16920 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16921 Clean up debugging.
16923 2005-12-07 Michael Smith <msmith@fluendo.com>
16925 * gst/parse/grammar.y:
16926 Remove handling of { } for threads.
16928 2005-12-06 David Schleef <ds@schleef.org>
16930 * libs/gst/base/gstbasetransform.c: speling fix.
16932 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16934 * docs/libs/tmpl/gstdataprotocol.sgml:
16935 * docs/random/omega/testing/gstobject.c:
16938 * gst/gstelement.c:
16939 * gst/gstelementfactory.c:
16942 * gst/gstghostpad.c:
16944 * gst/gstpadtemplate.c:
16945 * gst/gstregistryxml.c:
16946 * gst/gsttaglist.c:
16947 * gst/gsttagsetter.c:
16948 * gst/gsttypefind.c:
16950 * libs/gst/base/gstbasesrc.c:
16951 * libs/gst/net/gstnetclientclock.c:
16952 * libs/gst/net/gstnettimeprovider.c:
16953 * plugins/elements/gstfakesrc.c:
16954 * plugins/elements/gstfdsrc.c:
16955 * plugins/elements/gstfilesrc.c:
16956 * plugins/elements/gstidentity.c:
16957 * plugins/elements/gstqueue.c:
16958 * plugins/elements/gsttypefindelement.c:
16959 * plugins/indexers/gstfileindex.c:
16960 * plugins/indexers/gstmemindex.c:
16961 * tests/check/gst/gsttag.c:
16962 * tests/old/examples/cutter/cutter.c:
16963 * tests/old/examples/mixer/mixer.c:
16964 * tests/old/examples/xml/runxml.c: (main):
16965 * tests/old/testsuite/caps/normalisation.c:
16966 * tests/old/testsuite/debug/global.c:
16967 * tests/old/testsuite/parse/parse1.c:
16968 * tools/gst-xmlinspect.c:
16969 * win32/common/dirent.c:
16972 === release 0.10.0 ===
16974 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16977 releasing 0.10.0, "Maroilles"
16979 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16981 submitted by: Funda Wang <fundawang@linux.net.cn>
16985 added Chinese (Traditional) translation
16987 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16989 * docs/gst/gstreamer-sections.txt:
16990 * docs/libs/tmpl/gstdataprotocol.sgml:
16991 * docs/random/thomasvs/TODO:
16996 2005-12-05 Andy Wingo <wingo@pobox.com>
16998 patch by: Wim Taymans <wim@fluendo.com>
17000 * libs/gst/base/gstbasetransform.c
17001 (gst_base_transform_prepare_output_buf)
17002 (gst_base_transform_buffer_alloc):
17003 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17004 alloc_buffer_and_set_caps.
17006 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17007 set_caps on the source pad.
17008 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17009 alloc_buffer used to do. Fixes #322874.
17011 * docs/gst/gstreamer-sections.txt:
17012 * docs/design/part-negotiation.txt:
17013 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17016 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17018 patch by: Sebastien Moutte
17021 * win32/common/config.h.in:
17022 * win32/vs6/libgstcontroller.dsp:
17025 2005-12-05 Wim Taymans <wim@fluendo.com>
17027 * gst/gstcaps.c: (gst_caps_is_equal):
17028 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17029 (gst_fake_src_create):
17030 Back out previous code changes, leave doc updates, file bugs
17033 2005-12-05 Wim Taymans <wim@fluendo.com>
17035 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17036 (gst_fake_src_get_times), (gst_fake_src_create):
17037 * plugins/elements/gstfakesrc.h:
17038 Fix broken sync code.
17040 2005-12-05 Wim Taymans <wim@fluendo.com>
17042 * gst/gstcaps.c: (gst_caps_is_equal):
17043 Comparing NULL against !NULL yields different caps, not a
17046 2005-12-05 Wim Taymans <wim@fluendo.com>
17048 * gst/gstpipeline.c:
17049 Fix small typo in docs.
17051 2005-12-05 Andy Wingo <wingo@pobox.com>
17053 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17055 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17056 registries/plugins with a MAJORMINOR one.
17057 (plugin_desc): Rename library from gstcoreleements to
17058 staticelements. Fixes #323222.
17060 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17062 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17063 Change debug category to 'collectpads' from 'collect_pads'
17066 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17068 patch by: Sebastien Moutte
17070 * libs/gst/controller/gstinterpolation.c:
17071 use convert function for uint64/double
17072 * win32/vs6/libgstcontroller.dsp:
17075 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17077 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17078 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17080 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17081 add tests that seem to show that the guint64/gdouble conversions
17084 2005-12-02 Wim Taymans <wim@fluendo.com>
17086 * gst/gstregistry.c: (gst_registry_add_path):
17087 * gst/gstregistry.h:
17088 * gst/gstregistryxml.c:
17091 2005-12-02 Wim Taymans <wim@fluendo.com>
17093 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17094 (gst_util_uint64_scale_int):
17097 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17098 Add debug log line.
17100 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17103 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17106 * win32/common/config.h:
17107 * win32/vs6/gstreamer.dsw:
17108 * win32/vs6/libgstcoreelements.dsp:
17109 * win32/vs6/libgstelements.dsp:
17110 renamed core elements plugin
17112 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17114 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17116 do piece-wise major/minor comparison so 0.9 < 0.10
17117 also allow .exe extensions for tools
17119 2005-12-02 Michael Smith <msmith@fluendo.com>
17122 Escape a % to make gtkdoc happier; bug 322958.
17124 === release 0.9.7 ===
17126 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17129 releasing 0.9.7, "My Dog Has No Nose"
17131 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17133 * common/gst-xmlinspect.py:
17135 * docs/libs/tmpl/gstdataprotocol.sgml:
17136 * docs/random/release:
17155 * win32/common/config.h:
17156 * win32/common/config.h.in:
17157 * win32/vs6/gst_inspect.dsp:
17158 * win32/vs6/gst_launch.dsp:
17159 * win32/vs6/libgstbase.dsp:
17160 * win32/vs6/libgstelements.dsp:
17161 * win32/vs6/libgstreamer.dsp:
17162 * win32/vs7/GStreamer.vcproj:
17163 * win32/vs7/gst-inspect.vcproj:
17164 * win32/vs7/gst-launch.vcproj:
17165 * win32/vs7/libgstbase.vcproj:
17166 bump GST_MAJORMINOR to 0.10
17167 reset libtool version
17169 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17173 Added Bulgarian translation by (Alexander Shopov)
17175 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17177 * tests/check/gst/gstplugin.c:
17180 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17182 * common/gst-xmlinspect.py:
17183 * common/gtk-doc-plugins.mak:
17185 * docs/Makefile.am:
17186 * docs/gst/Makefile.am:
17187 * docs/gst/gstreamer-docs.sgml:
17188 * docs/gst/gstreamer-sections.txt:
17189 * docs/gst/gstreamer.types:
17190 * docs/gst/gstreamer.types.in:
17191 * docs/plugins/Makefile.am:
17192 * docs/plugins/gstreamer-plugins-docs.sgml:
17193 * docs/plugins/gstreamer-plugins-sections.txt:
17194 * docs/plugins/gstreamer-plugins.types:
17195 * docs/plugins/inspect.stamp:
17196 * docs/plugins/inspect/plugin-coreelements.xml:
17197 * docs/plugins/inspect/plugin-coreindexers.xml:
17198 * docs/plugins/scanobj-build.stamp:
17199 * gstreamer.spec.in:
17200 * plugins/elements/Makefile.am:
17201 * plugins/elements/gstelements.c:
17202 * plugins/elements/gstfakesink.c:
17203 * plugins/elements/gstfakesrc.c:
17204 * plugins/elements/gstfilesink.c:
17205 * plugins/elements/gstfilesrc.c:
17206 * plugins/elements/gstqueue.c:
17207 * plugins/indexers/Makefile.am:
17208 * plugins/indexers/gstindexers.c:
17209 document core plugins in a separate document just like all the
17211 rename these plugins to something starting with core
17213 2005-12-01 Andy Wingo <wingo@pobox.com>
17215 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17216 padding here before, but it missed the commit.
17218 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17220 * libs/gst/controller/gstinterpolation.c:
17221 whitespace prices have crashed, we should feel free to use some now
17222 use gst_guint64_to_gdouble
17224 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17226 * libs/gst/controller/gstcontroller.c:
17227 * libs/gst/controller/gsthelper.c:
17228 * libs/gst/controller/gstinterpolation.c:
17229 * libs/gst/controller/lib.c:
17230 wrap config.h include
17232 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17234 * docs/gst/gstreamer-sections.txt:
17237 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17239 * plugins/elements/gstelements.c:
17240 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17241 (gst_fd_sink__class_init), (gst_fd_sink__init),
17242 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17243 (gst_fd_sink__get_property):
17244 * plugins/elements/gstfdsink.h:
17245 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17246 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17247 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17248 (gst_fd_src_unlock), (gst_fd_src_set_property),
17249 (gst_fd_src_get_property), (gst_fd_src_create),
17250 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17251 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17252 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17253 (gst_fd_src_uri_handler_init):
17254 * plugins/elements/gstfdsrc.h:
17255 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17258 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17260 * docs/gst/Makefile.am:
17261 * docs/gst/gstreamer.types.in:
17265 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17271 * gst/gstregistry.h:
17272 * tests/benchmarks/complexity.c:
17273 * tests/benchmarks/mass-elements.c:
17274 * tests/check/Makefile.am:
17275 * tools/Makefile.am:
17276 * tools/gst-inspect.c:
17277 * tools/gst-xmlinspect.c:
17278 various fixes to make
17279 --disable-nls --disable-registry --disable-loadsave
17280 --disable-parse --disable-gst-debug
17281 work and get the core .so down to 360444 bytes after stripping
17283 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17288 * docs/random/thomasvs/TODO:
17289 * tests/Makefile.am:
17293 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17295 * win32/GStreamer.vcproj:
17298 * win32/Makefile.inspect:
17299 * win32/Makefile.launch:
17300 * win32/Makefile.register:
17301 * win32/README.txt:
17302 * win32/gst-inspect.vcproj:
17303 * win32/gst-launch.vcproj:
17304 * win32/gst-register.vcproj:
17305 * win32/gstelements.vcproj:
17306 * win32/gstgetbits.def:
17307 * win32/gstgetbits.vcproj:
17308 * win32/gstreamer-dbg.def:
17309 * win32/gstreamer.def:
17310 * win32/libgstbase.def:
17311 * win32/libgstbase.vcproj:
17312 * win32/link_oldruntime.c:
17316 * win32/msvc71.sln:
17317 move even more stuff, win32/ is nice and clean now
17319 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17321 * libs/gst/control/.cvsignore:
17326 * win32/gstbytestream.def:
17327 * win32/gstbytestream.vcproj:
17328 * win32/gstconfig.h:
17329 * win32/gstenumtypes.c:
17330 * win32/gstenumtypes.h:
17331 * win32/gstoptimalscheduler.vcproj:
17332 * win32/gstversion.h:
17334 * win32/testsuite/bins.vcproj:
17335 * win32/testsuite/bytestream.vcproj:
17336 * win32/testsuite/caps.vcproj:
17337 * win32/testsuite/cleanup.vcproj:
17338 * win32/testsuite/clock.vcproj:
17339 * win32/testsuite/debug.vcproj:
17340 * win32/testsuite/dlopen.vcproj:
17341 * win32/testsuite/dynparams.vcproj:
17342 * win32/testsuite/elements.vcproj:
17343 * win32/testsuite/ghostpads.vcproj:
17344 * win32/testsuite/indexers.vcproj:
17345 * win32/testsuite/negotiation.vcproj:
17346 * win32/testsuite/parse.vcproj:
17347 * win32/testsuite/plugin.vcproj:
17348 * win32/testsuite/refcounting.vcproj:
17349 * win32/testsuite/schedulers.vcproj:
17350 * win32/testsuite/states.vcproj:
17351 * win32/testsuite/tags.vcproj:
17352 * win32/testsuite/threads.vcproj:
17353 remove old win32 stuff that isn't maintained and should be
17356 2005-11-30 Andy Wingo <wingo@pobox.com>
17358 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17359 loading the gst.interfaces python module bork.
17361 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17362 available since GLib 2.2. Fixes #318031.
17364 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17367 * check/.cvsignore:
17368 * check/Makefile.am:
17369 * check/elements/.cvsignore:
17370 * check/elements/fakesrc.c:
17371 * check/elements/fdsrc.c:
17372 * check/elements/identity.c:
17373 * check/generic/.cvsignore:
17374 * check/generic/states.c:
17375 * check/gst-libs/.cvsignore:
17376 * check/gst-libs/controller.c:
17377 * check/gst-libs/gdp.c:
17378 * check/gst/.cvsignore:
17379 * check/gst/capslist.h:
17381 * check/gst/gstbin.c:
17382 * check/gst/gstbuffer.c:
17383 * check/gst/gstbus.c:
17384 * check/gst/gstcaps.c:
17385 * check/gst/gstelement.c:
17386 * check/gst/gstevent.c:
17387 * check/gst/gstghostpad.c:
17388 * check/gst/gstiterator.c:
17389 * check/gst/gstmessage.c:
17390 * check/gst/gstminiobject.c:
17391 * check/gst/gstobject.c:
17392 * check/gst/gstpad.c:
17393 * check/gst/gstpipeline.c:
17394 * check/gst/gstplugin.c:
17395 * check/gst/gstsegment.c:
17396 * check/gst/gststructure.c:
17397 * check/gst/gstsystemclock.c:
17398 * check/gst/gsttag.c:
17399 * check/gst/gstutils.c:
17400 * check/gst/gstvalue.c:
17401 * check/net/.cvsignore:
17402 * check/net/gstnetclientclock.c:
17403 * check/net/gstnettimeprovider.c:
17404 * check/pipelines/.cvsignore:
17405 * check/pipelines/cleanup.c:
17406 * check/pipelines/simple_launch_lines.c:
17407 * check/pipelines/stress.c:
17408 * check/states/.cvsignore:
17409 * check/states/sinks.c:
17411 * examples/Makefile.am:
17412 * examples/appreader/.cvsignore:
17413 * examples/appreader/Makefile.am:
17414 * examples/appreader/appreader.c:
17415 * examples/controller/.cvsignore:
17416 * examples/controller/Makefile.am:
17417 * examples/controller/audio-example.c:
17418 * examples/cutter/.cvsignore:
17419 * examples/cutter/Makefile.am:
17420 * examples/cutter/cutter.c:
17421 * examples/cutter/cutter.h:
17422 * examples/events/Makefile.am:
17423 * examples/events/seek.c:
17424 * examples/helloworld/.cvsignore:
17425 * examples/helloworld/Makefile.am:
17426 * examples/helloworld/helloworld.c:
17427 * examples/helloworld2/.cvsignore:
17428 * examples/helloworld2/Makefile.am:
17429 * examples/helloworld2/helloworld2.c:
17430 * examples/launch/.cvsignore:
17431 * examples/launch/Makefile.am:
17432 * examples/launch/mp3parselaunch.c:
17433 * examples/launch/mp3play:
17434 * examples/manual/.cvsignore:
17435 * examples/manual/Makefile.am:
17436 * examples/manual/extract.pl:
17437 * examples/metadata/Makefile.am:
17438 * examples/metadata/read-metadata.c:
17439 * examples/mixer/.cvsignore:
17440 * examples/mixer/Makefile.am:
17441 * examples/mixer/mixer.c:
17442 * examples/mixer/mixer.h:
17443 * examples/pingpong/.cvsignore:
17444 * examples/pingpong/Makefile.am:
17445 * examples/pingpong/pingpong.c:
17446 * examples/plugins/.cvsignore:
17447 * examples/plugins/Makefile.am:
17448 * examples/plugins/example.c:
17449 * examples/plugins/example.h:
17450 * examples/pwg/.cvsignore:
17451 * examples/pwg/Makefile.am:
17452 * examples/pwg/extract.pl:
17453 * examples/queue/.cvsignore:
17454 * examples/queue/Makefile.am:
17455 * examples/queue/queue.c:
17456 * examples/queue2/.cvsignore:
17457 * examples/queue2/Makefile.am:
17458 * examples/queue2/queue2.c:
17459 * examples/queue3/.cvsignore:
17460 * examples/queue3/Makefile.am:
17461 * examples/queue3/queue3.c:
17462 * examples/queue4/.cvsignore:
17463 * examples/queue4/Makefile.am:
17464 * examples/queue4/queue4.c:
17465 * examples/retag/.cvsignore:
17466 * examples/retag/Makefile.am:
17467 * examples/retag/retag.c:
17468 * examples/retag/transcode.c:
17469 * examples/thread/.cvsignore:
17470 * examples/thread/Makefile.am:
17471 * examples/thread/thread.c:
17472 * examples/typefind/.cvsignore:
17473 * examples/typefind/Makefile.am:
17474 * examples/typefind/typefind.c:
17475 * examples/xml/.cvsignore:
17476 * examples/xml/Makefile.am:
17477 * examples/xml/createxml.c:
17478 * examples/xml/runxml.c:
17479 * tests/Makefile.am:
17480 * tests/check/Makefile.am:
17481 * testsuite/.cvsignore:
17482 * testsuite/Makefile.am:
17484 * testsuite/caps/.cvsignore:
17485 * testsuite/caps/Makefile.am:
17486 * testsuite/caps/app_fixate.c:
17487 * testsuite/caps/audioscale.c:
17488 * testsuite/caps/caps.c:
17489 * testsuite/caps/caps.h:
17490 * testsuite/caps/caps_strings:
17491 * testsuite/caps/compatibility.c:
17492 * testsuite/caps/deserialize.c:
17493 * testsuite/caps/enumcaps.c:
17494 * testsuite/caps/eratosthenes.c:
17495 * testsuite/caps/filtercaps.c:
17496 * testsuite/caps/fixed.c:
17497 * testsuite/caps/fraction-convert.c:
17498 * testsuite/caps/fraction-multiply-and-zero.c:
17499 * testsuite/caps/intersect2.c:
17500 * testsuite/caps/intersection.c:
17501 * testsuite/caps/normalisation.c:
17502 * testsuite/caps/random.c:
17503 * testsuite/caps/renegotiate.c:
17504 * testsuite/caps/sets.c:
17505 * testsuite/caps/simplify.c:
17506 * testsuite/caps/string-conversions.c:
17507 * testsuite/caps/structure.c:
17508 * testsuite/caps/subtract.c:
17509 * testsuite/caps/union.c:
17510 * testsuite/debug/.cvsignore:
17511 * testsuite/debug/Makefile.am:
17512 * testsuite/debug/category.c:
17513 * testsuite/debug/commandline.c:
17514 * testsuite/debug/global.c:
17515 * testsuite/debug/output.c:
17516 * testsuite/debug/printf_extension.c:
17517 * testsuite/dlopen/.cvsignore:
17518 * testsuite/dlopen/Makefile.am:
17519 * testsuite/dlopen/dlopen_gst.c:
17520 * testsuite/dlopen/loadgst.c:
17521 * testsuite/elements/.cvsignore:
17522 * testsuite/elements/Makefile.am:
17523 * testsuite/elements/gst-inspect-check.in:
17524 * testsuite/elements/struct_i386.h:
17525 * testsuite/elements/struct_size.c:
17526 * testsuite/indexers/.cvsignore:
17527 * testsuite/indexers/Makefile.am:
17528 * testsuite/indexers/cache1.c:
17529 * testsuite/indexers/indexdump.c:
17530 * testsuite/parse/.cvsignore:
17531 * testsuite/parse/Makefile.am:
17532 * testsuite/parse/parse1.c:
17533 * testsuite/parse/parse2.c:
17534 * testsuite/plugin/.cvsignore:
17535 * testsuite/plugin/Makefile.am:
17536 * testsuite/plugin/README:
17537 * testsuite/plugin/dynamic.c:
17538 * testsuite/plugin/linked.c:
17539 * testsuite/plugin/loading.c:
17540 * testsuite/plugin/registry.c:
17541 * testsuite/plugin/static.c:
17542 * testsuite/plugin/static2.c:
17543 * testsuite/plugin/testplugin.c:
17544 * testsuite/plugin/testplugin2.c:
17545 * testsuite/plugin/testplugin2_s.c:
17546 * testsuite/plugin/testplugin_s.c:
17547 * testsuite/refcounting/.cvsignore:
17548 * testsuite/refcounting/Makefile.am:
17549 * testsuite/refcounting/bin.c:
17550 * testsuite/refcounting/element.c:
17551 * testsuite/refcounting/element_pad.c:
17552 * testsuite/refcounting/mainloop.c:
17553 * testsuite/refcounting/mem.c:
17554 * testsuite/refcounting/mem.h:
17555 * testsuite/refcounting/object.c:
17556 * testsuite/refcounting/pad.c:
17557 * testsuite/refcounting/sched.c:
17558 * testsuite/refcounting/thread.c:
17559 * testsuite/states/.cvsignore:
17560 * testsuite/states/Makefile.am:
17561 * testsuite/states/bin.c:
17562 * testsuite/states/locked.c:
17563 * testsuite/states/parent.c:
17564 * testsuite/threads/.cvsignore:
17565 * testsuite/threads/159566.c:
17566 * testsuite/threads/159852.c:
17567 * testsuite/threads/Makefile.am:
17568 * testsuite/threads/queue.c:
17569 * testsuite/threads/signals.c:
17570 * testsuite/threads/staticrec.c:
17571 * testsuite/threads/thread.c:
17572 * testsuite/threads/threadb.c:
17573 * testsuite/threads/threadc.c:
17574 * testsuite/threads/threadd.c:
17575 * testsuite/threads/threade.c:
17576 * testsuite/threads/threadf.c:
17577 * testsuite/threads/threadg.c:
17578 * testsuite/threads/threadh.c:
17579 * testsuite/threads/threadi.c:
17580 move all of these under tests
17582 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17585 * tests/Makefile.am:
17588 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17590 * docs/gst/gstreamer-sections.txt:
17591 * tests/sched/.cvsignore:
17592 * tests/sched/Makefile.am:
17593 * tests/sched/cases/(fs-fs).xml:
17594 * tests/sched/cases/(fs-i-fs).xml:
17595 * tests/sched/cases/(fs-i-i-fs).xml:
17596 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17597 * tests/sched/dynamic-pipeline.c:
17598 * tests/sched/interrupt1.c:
17599 * tests/sched/interrupt2.c:
17600 * tests/sched/interrupt3.c:
17601 * tests/sched/runtestcases:
17602 * tests/sched/runxml.c:
17603 * tests/sched/sched-stress.c:
17604 * tests/sched/sort.c:
17605 * tests/sched/testcases:
17606 * tests/sched/testcases1.tc:
17607 * tests/seeking/.cvsignore:
17608 * tests/seeking/Makefile.am:
17609 * tests/seeking/seeking1.c:
17610 * tests/threadstate/.cvsignore:
17611 * tests/threadstate/Makefile.am:
17612 * tests/threadstate/test1.c:
17613 * tests/threadstate/test2.c:
17614 * tests/threadstate/threadstate1.c:
17615 * tests/threadstate/threadstate2.c:
17616 * tests/threadstate/threadstate3.c:
17617 * tests/threadstate/threadstate4.c:
17618 * tests/threadstate/threadstate5.c:
17619 remove obsolete tests
17621 * tests/bench-complexity.scm:
17622 * tests/bench-mass_elements.scm:
17623 * tests/complexity.c:
17624 * tests/complexity.gnuplot:
17625 * tests/instantiate/.cvsignore:
17626 * tests/instantiate/Makefile.am:
17627 * tests/instantiate/caps.c:
17628 * tests/mass_elements.c:
17629 * tests/network-clock-utils.scm:
17630 * tests/network-clock.scm:
17632 First pass at cleaning up tests/ dir before moving the rest
17633 Combined with CVS surgery
17635 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17638 queue has moved, update
17640 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17642 * docs/gst/gstreamer-sections.txt:
17643 remove double entries from the docs
17644 * gst/gst_private.h:
17645 * gst/gstinfo.c: (_gst_debug_init):
17646 remove the THREAD debug category
17650 * docs/gst/gstreamer.types:
17651 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17652 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17653 completely move queue and fix up debugging categories
17655 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17657 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17658 make initialization portable, using LL is not
17660 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17662 * win32/common/gstconfig.h:
17665 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17667 * win32/common/libgstreamer.def:
17668 rename symbols; sort base section
17670 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17672 * gst/gstclock.c: (do_linear_regression):
17673 remove crack non-portable handrolled DEBUG macro
17675 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17677 * docs/random/release:
17679 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17680 (gst_object_flags_get_type), (register_gst_bin_flags),
17681 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17682 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17683 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17684 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17685 (gst_caps_flags_get_type), (register_gst_clock_return),
17686 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17687 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17688 (gst_clock_flags_get_type), (register_gst_state),
17689 (gst_state_get_type), (register_gst_state_change_return),
17690 (gst_state_change_return_get_type), (register_gst_state_change),
17691 (gst_state_change_get_type), (register_gst_element_flags),
17692 (gst_element_flags_get_type), (register_gst_core_error),
17693 (gst_core_error_get_type), (register_gst_library_error),
17694 (gst_library_error_get_type), (register_gst_resource_error),
17695 (gst_resource_error_get_type), (register_gst_stream_error),
17696 (gst_stream_error_get_type), (register_gst_event_type_flags),
17697 (gst_event_type_flags_get_type), (register_gst_event_type),
17698 (gst_event_type_get_type), (register_gst_seek_type),
17699 (gst_seek_type_get_type), (register_gst_seek_flags),
17700 (gst_seek_flags_get_type), (register_gst_format),
17701 (gst_format_get_type), (register_gst_index_certainty),
17702 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17703 (gst_index_entry_type_get_type),
17704 (register_gst_index_lookup_method),
17705 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17706 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17707 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17708 (gst_index_flags_get_type), (register_gst_debug_level),
17709 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17710 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17711 (gst_iterator_result_get_type), (register_gst_iterator_item),
17712 (gst_iterator_item_get_type), (register_gst_message_type),
17713 (gst_message_type_get_type), (register_gst_mini_object_flags),
17714 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17715 (gst_pad_link_return_get_type), (register_gst_flow_return),
17716 (gst_flow_return_get_type), (register_gst_activate_mode),
17717 (gst_activate_mode_get_type), (register_gst_pad_direction),
17718 (gst_pad_direction_get_type), (register_gst_pad_flags),
17719 (gst_pad_flags_get_type), (register_gst_pad_presence),
17720 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17721 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17722 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17723 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17724 (gst_plugin_flags_get_type), (register_gst_rank),
17725 (gst_rank_get_type), (register_gst_query_type),
17726 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17727 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17728 (gst_tag_flag_get_type), (register_gst_task_state),
17729 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17730 (gst_alloc_trace_flags_get_type),
17731 (register_gst_type_find_probability),
17732 (gst_type_find_probability_get_type), (register_gst_uri_type),
17733 (gst_uri_type_get_type), (register_gst_parse_error),
17734 (gst_parse_error_get_type):
17735 * win32/common/gstenumtypes.h:
17736 * win32/common/gstversion.h:
17737 update visual studio generated files
17739 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17741 * win32/vs6/libgstbase.dsp:
17742 * win32/vs6/libgstelements.dsp:
17743 update project files for new locations
17745 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17750 reinstate and update
17755 * docs/random/LICENSE:
17758 2005-11-30 Edward Hervey <edward@fluendo.com>
17760 * gst/gsttypefind.c: (gst_type_find_register):
17761 * gst/gsttypefind.h:
17762 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17763 (gst_type_find_factory_dispose):
17764 * gst/gsttypefindfactory.h:
17765 Fix memory leak in GstTypeFindFactory.
17767 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17770 * plugins/elements/Makefile.am:
17771 * plugins/elements/gstelements.c:
17772 * plugins/elements/gstqueue.c:
17773 move queue from core to the elements plugin
17775 2005-11-29 Andy Wingo <wingo@pobox.com>
17777 * libs/gst/base/gstbasetransform.h:
17778 * libs/gst/base/gstbasesrc.h:
17779 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17781 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17782 of pointers by which to pad very extensible base classes (like the
17783 ones in libs/gst/base).
17785 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17787 * docs/gst/gstreamer-docs.sgml:
17788 * docs/gst/gstreamer-sections.txt:
17789 * docs/libs/gstreamer-libs-docs.sgml:
17790 * docs/libs/gstreamer-libs-sections.txt:
17791 moving documentation from core to lib
17793 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17795 * check/Makefile.am:
17797 * docs/gst/Makefile.am:
17799 * gst/base/.cvsignore:
17800 * gst/base/Makefile.am:
17802 * gst/base/gstadapter.c:
17803 * gst/base/gstadapter.h:
17804 * gst/base/gstbasesink.c:
17805 * gst/base/gstbasesink.h:
17806 * gst/base/gstbasesrc.c:
17807 * gst/base/gstbasesrc.h:
17808 * gst/base/gstbasetransform.c:
17809 * gst/base/gstbasetransform.h:
17810 * gst/base/gstcollectpads.c:
17811 * gst/base/gstcollectpads.h:
17812 * gst/base/gstpushsrc.c:
17813 * gst/base/gstpushsrc.h:
17814 * gst/base/gsttypefindhelper.c:
17815 * gst/base/gsttypefindhelper.h:
17816 * gst/check/Makefile.am:
17817 * gst/check/gstcheck.c:
17818 * gst/check/gstcheck.h:
17819 * gst/net/Makefile.am:
17820 * gst/net/gstnet.h:
17821 * gst/net/gstnetclientclock.c:
17822 * gst/net/gstnetclientclock.h:
17823 * gst/net/gstnettimepacket.c:
17824 * gst/net/gstnettimepacket.h:
17825 * gst/net/gstnettimeprovider.c:
17826 * gst/net/gstnettimeprovider.h:
17827 * libs/gst/Makefile.am:
17828 * libs/gst/base/Makefile.am:
17829 * libs/gst/base/gstbasetransform.c:
17830 * libs/gst/check/Makefile.am:
17831 * plugins/elements/Makefile.am:
17833 CVS surgery + support to move base, check, and net out of gst
17836 2005-11-29 Andy Wingo <wingo@pobox.com>
17838 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17840 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17843 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17845 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17847 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17849 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17850 padding; reduces object size by about 30%. We don't expect
17851 anything else to go into gstobject.
17853 * gst/gstminiobject.h (struct _GstMiniObject)
17854 (struct _GstMiniObjectClass): Only one pointer of padding; the
17855 payload is only a pointer and two ints anyway. For the class there
17856 are only two methods as well.
17858 * gst/gstelement.h (struct _GstElementClass): Removed
17859 the state_changed signal callback, it is not used.
17861 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17863 * docs/gst/gstreamer.types:
17864 fix includes, though they are a little dinky
17866 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17868 * check/Makefile.am:
17869 look in the right place for elements, a lot more chance of
17872 remove indexers and elements subdirs
17873 * plugins/Makefile.am:
17874 make indexers conditional
17876 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17880 * plugins/elements/Makefile.am:
17881 * plugins/elements/gstcapsfilter.c:
17882 * plugins/elements/gstfilesink.c:
17883 * plugins/elements/gstfilesrc.c:
17884 * plugins/elements/gstidentity.c:
17885 * plugins/indexers/Makefile.am:
17886 do CVS surgery and related build fixery to move elements
17887 and indexers in a new gstreamer/plugins directory, out of the
17890 2005-11-29 Andy Wingo <wingo@pobox.com>
17892 * check/Makefile.am:
17893 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17894 * pkgconfig/gstreamer-net.pc.in:
17895 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17898 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17900 * tools/Makefile.am:
17901 * tools/gst-complete.1.in:
17902 * tools/gst-complete.c:
17903 * tools/gst-compprep.1.in:
17904 * tools/gst-compprep.c:
17905 removing -compprep and -complete
17907 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17909 * gst/gstevent.c: (gst_event_new_new_segment),
17910 (gst_event_parse_new_segment):
17912 fix #320529 - clean up new_segment API and structure.
17913 Let's hope everyone was using the methods, and not the structure.
17915 2005-11-29 Edward Hervey <edward@fluendo.com>
17917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17918 (gst_base_sink_event), (gst_base_sink_do_sync),
17919 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17920 Properly handle non GST_FORMAT_TIME segment
17921 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17922 Properly handle non GST_FORMAT_TIME segment
17923 * gst/gstsegment.c:
17924 This function is valid if the accumulator is 0 and the format
17925 is different from the requested format.
17927 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17929 * docs/gst/gstreamer-sections.txt:
17930 Add gst_query_new_seeking and gst_query_parse_seeking to the
17933 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17935 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17936 Treat a pad alloc with new caps the same as if we were not
17937 negotiated, in order to allow a changing upstream output
17938 to produce a new format of data.
17940 2005-11-29 Edward Hervey <edward@fluendo.com>
17942 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17943 (gst_base_transform_event), (gst_base_transform_eventfunc):
17944 The event virtual method is now properly implemented, with a default
17946 Sub classes should call the parent_class event method. They should
17947 return FALSE if they had a problem handling the given event, or don't
17948 want GstBaseTransform to send that even downstream
17949 * gst/elements/gstidentity.c: (gst_identity_class_init),
17950 (gst_identity_init), (gst_identity_event),
17951 (gst_identity_transform_ip), (gst_identity_set_property),
17952 (gst_identity_get_property):
17953 * gst/elements/gstidentity.h:
17954 Added the single-segment boolean property.
17955 If set to TRUE, it will output a single segment of data, starting from
17956 0, will eat up all incoming newsegment, and modify the timestamp of the
17957 buffers accordingly
17959 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17961 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17962 Don't ref NULL target pad (#322751). Improve docs.
17964 2005-11-29 Michael Smith <msmith@fluendo.com>
17966 * gst/gstregistryxml.c: (load_plugin):
17967 Don't crash if we failed to load a feature from a plugin.
17969 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17971 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17973 use more check API and less GLib API
17975 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17978 don't run checks if we don't have check
17979 * common/check.mak:
17980 remove the registry when running make torture
17981 * docs/gst/gstreamer-sections.txt:
17982 remove second multiply
17983 * gst/gstqueue.c: (gst_queue_loop):
17984 fix a compile warning when disabling debug
17986 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17989 Hey! Let's print the pad name if the pointer != NULL instead
17990 of when it == NULL :-)
17992 2005-11-28 Wim Taymans <wim@fluendo.com>
17994 * check/gst/gstutils.c: (GST_START_TEST):
17995 Updated check, add some scaling accuracy checking code.
17997 * gst/gstutils.c: (gst_util_div128_64),
17998 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17999 (gst_util_uint64_scale_int):
18000 Fix 6 times faster division code. Optimize for common
18001 1/1 and less common X/1 cases.
18003 2005-11-28 Wim Taymans <wim@fluendo.com>
18005 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18008 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18009 (do_linear_regression), (gst_clock_add_observation):
18011 Release lock when the clock cannot be slaved.
18012 Catch the case where the regression returned an invalid denominator.
18014 * gst/gstutils.c: (gst_util_div128_64_iterate),
18015 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18016 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18017 Add protentially more performant non-iterative 128/64 divide function
18018 that unfortunatly does not work yet.
18019 Shortcut the trivial 0/X = 0 case.
18020 Remove the warnings on overflow.
18022 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18024 * gst/gstplugin.c: (gst_plugin_register_func):
18025 everything causing a plugin not to load should be at least a WARNING
18027 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18029 * docs/random/ensonic/dparams.txt:
18030 some TODOs for the next dev cycle
18031 * libs/gst/controller/gstcontroller.c:
18032 (gst_controlled_property_set_interpolation_mode),
18033 (gst_controlled_property_new):
18034 * libs/gst/controller/gstcontroller.h:
18035 use base type to assign acccessor functions
18037 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18039 * check/Makefile.am:
18040 Oops, that should have been top_srcdir
18042 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18044 * check/Makefile.am:
18045 * check/elements/fdsrc.c: (GST_START_TEST):
18046 Use a cmdline define to specify the location of a file to use for
18047 testing, to avoid breaking distcheck.
18049 2005-11-28 Andy Wingo <wingo@pobox.com>
18051 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18053 2005-11-28 Edward Hervey <edward@fluendo.com>
18055 * tools/gst-launch.c: (main):
18056 Clarify the output strings, makes it easier to translate.
18059 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18062 don't try and build net if we don't even have <sys/socket.h>
18064 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18066 * check/Makefile.am:
18067 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18068 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18069 Add tests for fdsrc seekability
18071 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18072 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18073 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18074 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18075 * gst/elements/gstfdsrc.h:
18076 fdsrc should not be a 'live' source.
18077 Implement seeking on seekable fd's.
18079 * gst/gstquery.c: (gst_query_new_seeking),
18080 (gst_query_parse_seeking):
18082 Implement SEEKING query functions:
18083 *_new_seeking and *_parse_seeking
18085 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18087 * gst/gstelement.c: (gst_element_dispose):
18090 * gst/gstiterator.c:
18091 * gst/gststructure.c:
18094 * libs/gst/controller/gstcontroller.c:
18095 (gst_controlled_property_set_interpolation_mode):
18096 * libs/gst/controller/gstcontroller.h:
18097 * libs/gst/controller/gstinterpolation.c:
18098 (interpolate_none_get_enum_value_array):
18099 support controlling enums
18101 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18104 Improve documentation for gst_value_union().
18107 Change return value for union, intersect and subtract functions
18108 from gint to gboolean.
18110 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18112 * gst/gstvalue.c: (gst_value_serialize_any_list),
18113 (gst_value_transform_any_list_string),
18114 (gst_value_deserialize_list), (gst_value_deserialize_array),
18115 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18116 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18117 (gst_value_set_fraction_range_full),
18118 (gst_value_deserialize_fraction_range),
18119 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18120 (gst_value_deserialize_boolean),
18121 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18122 (gst_value_serialize_float), (gst_value_deserialize_float),
18123 (gst_string_wrap), (gst_value_deserialize_string),
18124 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18125 (gst_value_union_int_range_int_range),
18126 (gst_value_intersect_int_range_int_range),
18127 (gst_value_intersect_double_range_double_range),
18128 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18129 (gst_value_subtract_int_range_int_range),
18130 (gst_value_subtract_double_double_range),
18131 (gst_value_subtract_double_range_double_range),
18132 (gst_value_deserialize_fraction):
18134 Use gint, gdouble and gchar in our API instead of int, double and
18135 char (and make usage in gstvalue.c more consistent).
18137 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18139 * check/Makefile.am:
18140 * libs/gst/controller/Makefile.am:
18141 * libs/gst/dataprotocol/Makefile.am:
18142 fix up Makefile.am and remove GST_ENABLE_NEW
18144 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18148 * gst/base/Makefile.am:
18149 * gst/check/Makefile.am:
18150 * gst/elements/Makefile.am:
18151 * gst/net/Makefile.am:
18152 update LDFLAGS use some more
18154 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18156 * common/m4/gst-doc.m4:
18159 2005-11-26 Edward Hervey <edward@fluendo.com>
18161 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18162 This shouldn't issue a g_warning since it returns NULL if it
18163 couldn't find the plugin, and all functions using this behave
18164 properly on a NULL return. Switching to a GST_WARNING.
18166 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18168 * gst/gstbin.c: (gst_bin_handle_message_func):
18169 Don't leak clock messages.
18171 2005-11-25 Wim Taymans <wim@fluendo.com>
18173 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18174 (gst_util_uint64_scale_int):
18175 Optimisations, remove unneeded vars.
18177 2005-11-25 Wim Taymans <wim@fluendo.com>
18179 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18180 Added more checks for the high precision uint64 cases.
18182 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18183 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18184 Implement high precision (guint64 * guint64) / guint64.
18186 2005-11-24 Wim Taymans <wim@fluendo.com>
18188 * gst/base/gstbasesrc.c: (gst_base_src_query):
18189 Fix wrong percentage query.
18191 * gst/gstutils.c: (gst_util_uint64_scale),
18192 (gst_util_uint64_scale_int):
18193 Add some more common cases that can be handled
18194 efficiently to _scale.
18196 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18198 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18199 (gst_mini_object_suite):
18200 don't use check calls from threads; check probably isn't
18201 threadsafe and using a lock to make it threadsafe would
18202 defeat the purpose of this check
18203 * gst/check/gstcheck.c:
18204 * gst/check/gstcheck.h:
18205 use GST_DEBUG some more
18207 2005-11-24 Wim Taymans <wim@fluendo.com>
18209 * gst/gstutils.c: (gst_util_uint64_scale),
18210 (gst_util_uint64_scale_int):
18211 Chain trivial case to _scale_int.
18213 2005-11-24 Wim Taymans <wim@fluendo.com>
18215 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18216 Added test for scaling.
18221 * gst/gstutils.c: (gst_util_uint64_scale_int):
18222 Implemented high precision scaling code.
18224 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18227 do not crash on pad==NULL
18229 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18231 Patch by: Stefan Kost
18233 * common/gtk-doc.mak:
18234 * docs/gst/Makefile.am:
18235 * docs/libs/Makefile.am:
18236 Fix distcheck issues for the libraries docs build
18239 2005-11-24 Michael Smith <msmith@fluendo.com>
18241 * docs/manual/basics-helloworld.xml:
18242 Fix bug #315027: memory leak in example code in docs.
18244 2005-11-24 Michael Smith <msmith@fluendo.com>
18246 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18247 Unlock the PREROLL_LOCK in a failure case.
18249 2005-11-24 Wim Taymans <wim@fluendo.com>
18251 * docs/gst/gstreamer-sections.txt:
18252 * gst/base/gstadapter.h:
18253 * gst/base/gstbasesink.h:
18254 * gst/base/gstbasesrc.h:
18255 * gst/base/gstbasetransform.h:
18256 * gst/base/gstpushsrc.h:
18257 * gst/elements/gstfakesink.h:
18258 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18259 * gst/elements/gstfakesrc.h:
18260 * gst/elements/gstfilesink.h:
18261 * gst/elements/gstfilesrc.h:
18264 * gst/gstbuffer.c: (_gst_buffer_copy):
18267 * gst/gstchildproxy.c:
18269 * gst/gstelement.c:
18270 * gst/gstelementfactory.c:
18271 * gst/gstelementfactory.h:
18273 * gst/gstghostpad.h:
18275 * gst/gstinterface.h:
18276 * gst/gstminiobject.c:
18277 * gst/gstminiobject.h:
18280 * gst/gstpadtemplate.h:
18281 * gst/gstpipeline.h:
18282 * gst/gstpluginfeature.h:
18285 * gst/gsttaglist.c:
18286 * gst/gsttaglist.h:
18287 * gst/gsttagsetter.c:
18288 * gst/gsttagsetter.h:
18291 * gst/gsttypefind.h:
18294 * gst/net/gstnetclientclock.c:
18295 * gst/net/gstnetclientclock.h:
18296 * gst/net/gstnettimepacket.c:
18297 * gst/net/gstnettimeprovider.c:
18298 * gst/net/gstnettimeprovider.h:
18301 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18303 * configure.ac: back to HEAD
18305 === release 0.9.6 ===
18307 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18310 releasing 0.9.6, "Always On Time"
18312 2005-11-23 Wim Taymans <wim@fluendo.com>
18314 * docs/gst/gstreamer-sections.txt:
18315 * gst/glib-compat.c:
18316 * gst/gsttagsetter.c:
18318 * gst/net/gstnetclientclock.c:
18319 * gst/net/gstnettimepacket.h:
18322 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18324 * docs/faq/using.xml:
18325 * docs/libs/tmpl/gstcontrol.sgml:
18326 * docs/manual/advanced-dparams.xml:
18327 * docs/manual/appendix-checklist.xml:
18328 * docs/manual/basics-elements.xml:
18329 * docs/pwg/other-source.xml:
18330 * docs/random/moving-plugins:
18332 * tools/gst-launch.1.in:
18333 remove mentions of sinesrc
18335 2005-11-23 Michael Smith <msmith@fluendo.com>
18337 * docs/gst/gstreamer-sections.txt:
18338 Update for new API and API changes.
18340 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18342 Documentation typo fix.
18343 * gst/net/gstnettimepacket.c:
18344 Documentation fixes for arguments.
18346 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18348 * gst/gststructure.c: (gst_structure_get_fraction),
18349 (gst_structure_parse_value),
18350 (gst_structure_fixate_field_nearest_fraction):
18351 * gst/gststructure.h:
18352 * gst/gstutils.c: (gst_util_uint64_scale_int):
18354 * scripts/update-funcnames:
18356 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18357 Make gst_structure_fixate_field_nearest_fraction take a numerator
18358 and denominator argument instead of a GValue
18359 add gst_structure_get_fraction helper function.
18361 2005-11-23 Wim Taymans <wim@fluendo.com>
18363 * docs/design/part-TODO.txt:
18366 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18367 * gst/net/gstnetclientclock.h:
18368 Use parent fields for timeout and window_size.
18370 2005-11-23 Andy Wingo <wingo@pobox.com>
18372 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18373 rate_num/rate_denom change.
18375 * gst/net/gstnetclientclock.c
18376 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18377 OBJECT_LOCK. Don't call add_observation with the lock.
18379 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18381 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18383 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18384 deal with rate as a fraction whose numerator and denominator are
18385 GstClockTime values.
18386 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18387 master; the other fields are protected by the SLAVE_LOCK.
18388 (do_linear_regression): Note that this must be called with the
18390 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18391 OBJECT_LOCK. Call set_calibration instead of touching the
18392 variables directly.
18393 (gst_clock_set_property, gst_clock_get_property): Protect
18394 master/slave parameters with the SLAVE_LOCK.
18396 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18397 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18398 note that all of the instance variables that add_observation and
18399 the set_master functions use are protected by that lock and not
18401 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18403 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18404 the caller to take the object lock.
18406 2005-11-23 Wim Taymans <wim@fluendo.com>
18408 * gst/gsterror.c: (_gst_core_errors_init):
18410 Add error for clock stuff.
18412 * gst/gstpipeline.c: (gst_pipeline_change_state),
18413 (gst_pipeline_set_clock):
18414 Post clock error when clock cannot be used in a pipeline.
18416 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18418 * docs/gst/gstreamer-sections.txt:
18419 make two symbols from gstinfo private for the docs
18420 * gst/base/gstcollectpads.h:
18422 fix doc typos, update docs
18424 2005-11-22 Wim Taymans <wim@fluendo.com>
18426 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18427 (gst_base_sink_wait), (gst_base_sink_do_sync),
18428 (gst_base_sink_handle_event):
18429 * gst/base/gstbasesink.h:
18430 No need to store the clock, the parent element class already
18433 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18434 Updates for clock_set returning a gboolean
18436 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18437 (gst_clock_id_wait_async), (gst_clock_class_init),
18438 (gst_clock_init), (gst_clock_finalize),
18439 (gst_clock_get_internal_time), (gst_clock_get_time),
18440 (gst_clock_slave_callback), (gst_clock_set_master),
18441 (gst_clock_get_master), (do_linear_regression),
18442 (gst_clock_add_observation), (gst_clock_set_property),
18443 (gst_clock_get_property):
18445 Implement master/slave. When setting a clock as a slave, a
18446 periodic timeout is scheduled to sample master and slave times.
18447 Then the slave clock is recalibrated to match offset and rate
18448 of the master clock.
18449 Update logging a bit.
18450 Add flag so that a clock can state that is cannot be slaved to
18453 * gst/gstelement.c: (gst_element_set_clock):
18454 * gst/gstelement.h:
18455 The set clock returns a gboolean for when an element cannot
18456 deal with the selected clock in the pipeline.
18458 * gst/gstpipeline.c: (gst_pipeline_change_state),
18459 (gst_pipeline_set_clock):
18460 * gst/gstpipeline.h:
18461 Handle the case where the selected clock cannot be set on
18464 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18465 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18466 (gst_net_client_clock_set_property),
18467 (gst_net_client_clock_get_property),
18468 (gst_net_client_clock_observe_times):
18469 * gst/net/gstnetclientclock.h:
18470 Use regression code in GstClock parent, remove duplicated
18473 2005-11-22 Michael Smith <msmith@fluendo.com>
18475 * gst/gstutils.c: (gst_util_clock_time_scale):
18477 * docs/gst/gstreamer-sections.txt:
18478 Rename method to have extra underscore.
18480 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18482 * gst/elements/Makefile.am:
18483 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18484 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18485 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18486 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18487 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18488 * gst/elements/gstfakesrc.h:
18489 * gst/gstqueue.c: (queue_leaky_get_type):
18490 correctly fix GEnumValues so that nick is the short lowercase
18492 * tools/gst-inspect.c: (print_element_properties_info):
18493 also show the nick, since it's useful to use from parse_launch
18497 2005-11-22 Michael Smith <msmith@fluendo.com>
18499 * gst/gstutils.c: (gst_util_clocktime_scale):
18501 * docs/gst/gstreamer-sections.txt:
18502 Add util method for scaling a clocktime by a fraction. Useful
18503 implementation is left as an exercise for the reader.
18505 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18507 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18508 If needed, allocate storage in the destination value during
18511 2005-11-22 Edward Hervey <edward@fluendo.com>
18513 * docs/gst/gstreamer-sections.txt:
18516 * gst/gsturitype.c:
18517 * gst/gsturitype.h:
18518 * gst/gstutils.c: (gst_util_set_object_arg):
18519 * tools/gst-compprep.c: (main):
18520 * tools/gst-inspect.c: (print_element_properties_info):
18521 Removed GstURI, closes bug #321061
18523 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18525 * check/gst/gststructure.c: (GST_START_TEST):
18526 * gst/gststructure.c: (gst_structure_parse_value):
18527 Oops, broke automatic string type parsing.
18528 Add a test to catch it in future.
18530 2005-11-22 Andy Wingo <wingo@pobox.com>
18532 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18533 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18534 Actually rename the function implementations. Grr.
18536 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18538 * check/gst/capslist.h:
18540 * check/gst/gststructure.c: (GST_START_TEST),
18541 (gst_structure_suite):
18542 Test automatic value type detection in gst_structure_from_string.
18543 * gst/gststructure.c: (gst_structure_parse_value):
18544 Add fraction as a type we try and guess automatically in
18545 caps/structure strings.
18547 2005-11-22 Andy Wingo <wingo@pobox.com>
18549 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18551 * gst/gsttagsetter.h:
18552 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18553 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18554 (gst_tag_setter_add_tag_valist)
18555 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18556 _add_values, _add_valist, and _add_valist_values. Since this is an
18557 interface the function suffixes should be more explicit so
18558 language binding don't end up with element.add_valist ->
18559 gst_tag_setter_add_valist, for example. Fixes #322069.
18561 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18563 * check/gst/gstcaps.c: (GST_START_TEST):
18564 Extend caps string tests to check that a caps to string
18565 conversion is reversible and produces the same caps.
18567 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18568 Output "fraction" as the generic type fraction range, so caps
18569 serialisation and deserialisation works.
18570 * check/gst/capslist.h:
18571 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18572 Support 'MIN' and 'MAX' for deserialising fractions.
18574 2005-11-22 Andy Wingo <wingo@pobox.com>
18576 * gst/gstevent.h (gst_event_new_new_segment)
18577 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18578 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18579 Renamed from *_newsegment, *_buffersize, *_notarget.
18581 * scripts/update-funcnames: New script, performs the changes
18584 2005-11-22 Wim Taymans <wim@fluendo.com>
18586 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18587 Make sure the GstFlowReturn is returned.
18589 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18590 (gst_bus_add_signal_watch):
18592 add gst_bus_add_signal_watch_full.
18594 * gst/gstplugin.c: (gst_plugin_load_file):
18595 Small style cleanup.
18597 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18599 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18600 Block the fakesrc srcpad when we send an event, to avoid
18601 contention on the stream_lock causing random test failures.
18603 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18605 * check/gst/gstvalue.c: (GST_START_TEST):
18606 * gst/gstvalue.c: (gst_value_fraction_subtract):
18609 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18612 include "gstchildproxy.h"
18613 * gst/gstchildproxy.h:
18614 * libs/gst/controller/gstcontroller.h:
18615 use G_GNUC_NULL_TERMINATED
18617 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18619 * check/gst/capslist.h:
18620 * check/gst/gstcaps.c: (GST_START_TEST):
18621 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18622 * gst/gststructure.c: (gst_structure_parse_range),
18623 (gst_structure_fixate_field_nearest_fraction):
18624 * gst/gststructure.h:
18625 * gst/gstvalue.c: (gst_value_init_fraction_range),
18626 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18627 (gst_value_collect_fraction_range),
18628 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18629 (gst_value_set_fraction_range_full),
18630 (gst_value_get_fraction_range_min),
18631 (gst_value_get_fraction_range_max),
18632 (gst_value_serialize_fraction_range),
18633 (gst_value_transform_fraction_range_string),
18634 (gst_value_compare_fraction_range),
18635 (gst_value_deserialize_fraction_range),
18636 (gst_value_intersect_fraction_fraction_range),
18637 (gst_value_intersect_fraction_range_fraction_range),
18638 (gst_value_subtract_fraction_fraction_range),
18639 (gst_value_subtract_fraction_range_fraction),
18640 (gst_value_subtract_fraction_range_fraction_range),
18641 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18642 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18643 (gst_value_transform_string_fraction), (_gst_value_initialize):
18645 Implement fraction ranges and extend GstFraction to support
18646 arithmetic subtraction, as well as deserialization from integer
18647 strings such as "100"
18648 Add a testsuite as for int and double range set operations
18650 2005-11-21 Andy Wingo <wingo@pobox.com>
18652 * gst/gsttaglist.h:
18654 * gst/gststructure.h: Add glib-compat.h.
18656 2005-11-21 Wim Taymans <wim@fluendo.com>
18658 * gst/gstbin.c: (gst_bin_change_state_func):
18661 2005-11-21 Wim Taymans <wim@fluendo.com>
18663 * gst/gstsegment.h:
18664 And add a nice define too.
18666 2005-11-21 Wim Taymans <wim@fluendo.com>
18668 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18669 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18670 (gst_segment_set_duration), (gst_segment_set_last_stop),
18671 (gst_segment_set_seek), (gst_segment_set_newsegment),
18672 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18673 (gst_segment_clip):
18674 * gst/gstsegment.h:
18675 Make binding friendly.
18677 2005-11-21 Andy Wingo <wingo@pobox.com>
18679 * gst/gsttagsetter.h:
18680 * gst/gsttaglist.h:
18681 * gst/gststructure.h:
18683 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18686 * gst/gsterror.c (_gst_core_errors_init):
18687 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18690 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18691 (noinst_HEADERS): noinst the -private.
18693 2005-11-21 Michael Smith <msmith@fluendo.com>
18696 * gst/gstregistry.h:
18697 Remove unimplemented declarations for which we can see no sensible
18700 2005-11-21 Andy Wingo <wingo@pobox.com>
18702 * gst/gst.h: Include glib-compat.h.
18704 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18706 * gst/glib-compat.c: Include the public and the private header.
18708 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18712 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18714 * check/gst/gstevent.c (create_custom_events): Check that
18715 FLUSH_STOP is serialized.
18717 * check/elements/identity.c (event_func):
18718 * check/elements/fakesrc.c (event_func): No stream lock, the core
18721 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18722 stream lock taking, yay.
18724 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18725 ensure that core takes the stream lock.
18727 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18730 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18731 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18732 it already. For the flush start we do take it though so we get the
18733 right preroll state change messages.
18735 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18736 the stream lock here, the core does it for us.
18738 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18739 GST_STREAM_GET_LOCK.
18740 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18741 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18742 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18743 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18744 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18745 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18747 * gst/gstpad.c: Update for stream lock name change.
18749 * gst/base/gstbasesink.c: Update for preroll lock name change.
18751 2005-11-21 Wim Taymans <wim@fluendo.com>
18753 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18754 (gst_clock_get_master):
18756 * gst/gstsystemclock.c: (gst_system_clock_init):
18757 Convert Clock flags to object flags.
18758 Added methods to manage master/slave clocks.
18760 2005-11-21 Wim Taymans <wim@fluendo.com>
18762 * check/gst/gstsegment.c: (GST_START_TEST):
18763 * docs/design/part-TODO.txt:
18764 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18765 (gst_base_sink_event), (gst_base_sink_do_sync),
18766 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18767 (gst_base_sink_query), (gst_base_sink_change_state):
18768 * gst/base/gstbasesink.h:
18769 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18770 (gst_base_src_default_newsegment),
18771 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18772 (gst_base_src_get_range), (gst_base_src_loop),
18773 (gst_base_src_change_state):
18774 * gst/base/gstbasesrc.h:
18775 * gst/base/gstbasetransform.c:
18776 (gst_base_transform_prepare_output_buf),
18777 (gst_base_transform_event), (gst_base_transform_change_state):
18778 * gst/base/gstbasetransform.h:
18779 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18780 (gst_collect_pads_event):
18781 * gst/base/gstcollectpads.h:
18782 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18783 (gst_fake_src_create):
18784 * gst/elements/gstfakesrc.h:
18785 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18786 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18787 (gst_segment_set_last_stop), (gst_segment_set_seek),
18788 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18789 (gst_segment_to_running_time), (gst_segment_clip):
18790 * gst/gstsegment.h:
18791 More segment updates, replace code in plugins with segment
18794 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18796 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18797 Don't ignore sscanf results
18799 2005-11-21 Andy Wingo <wingo@pobox.com>
18801 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18804 * *.c: Ran scripts/update-macros. Oh yes.
18806 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18807 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18810 * scripts/update-macros: New script. Run it on your files to
18811 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18814 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18816 * docs/gst/Makefile.am:
18817 * docs/gst/gstreamer-docs.sgml:
18818 * docs/gst/gstreamer-sections.txt:
18819 * docs/gst/gstreamer.types:
18821 more docs fixes, add new api to the docs
18823 2005-11-21 Andy Wingo <wingo@pobox.com>
18825 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18826 state_broadcast call.
18828 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18830 2005-11-21 Julien MOUTTE <julien@moutte.net>
18832 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18833 function calls for arrays.
18835 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18837 * docs/random/ensonic/media-device-daemon.txt:
18838 wild idea, can this be done?
18839 * docs/gst/gstreamer-sections.txt:
18844 * gst/gstpluginfeature.c:
18848 doc fixes and additions
18850 2005-11-21 Andy Wingo <wingo@pobox.com>
18852 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18853 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18854 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18855 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18856 private to the basesrc implementation.
18858 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18859 behalf of event function if necessary. It should no longer be
18860 necessary to take the stream lock in pad's event functions. Fixes
18863 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18864 * docs/gst/gstreamer-sections.txt:
18865 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18866 (gst_structure_fixate_field_nearest_double),
18867 (gst_structure_fixate_field_boolean):
18868 * gst/gststructure.h:
18869 * win32/common/libgstreamer.def:
18870 * win32/gstreamer.def:
18872 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18875 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18877 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18878 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18879 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18880 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18881 (gst_fdsrc_uri_handler_init):
18882 * gst/elements/gstfdsrc.h:
18883 Port fd:// URI handler from 0.8 to fdsrc
18885 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18887 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18888 (gst_value_serialize_fourcc):
18890 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18891 consistent with our other format defines (#320324).
18893 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18895 * gst/gstvalue.c: (gst_value_is_fixed):
18896 Revert previous commit. Value lists are by definition
18897 not fixed, as they are a list of possible values.
18899 2005-11-21 Andy Wingo <wingo@pobox.com>
18901 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18902 during the stable series if we need it. Fixes #319178.
18904 * gst/gstevent.c (gst_event_new_filler): Removed.
18906 * check/gst/gstevent.c: Update comment about filler events.
18908 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18910 * gst/gstvalue.c: (gst_value_is_fixed):
18911 Should handle both value arrays and value lists.
18913 2005-11-21 Andy Wingo <wingo@pobox.com>
18915 patch by: Alessandro Dessina <alessandro nnva org>
18917 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18918 functions to access arrays. Fixes #321962.
18920 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18922 * docs/gst/gstreamer.types:
18923 gst_collectpads_get_type => gst_collect_pads_get_type.
18925 * gst/base/gstbasetransform.c:
18926 Remove unused SIGNAL_HANDOFF enum.
18928 2005-11-21 Andy Wingo <wingo@pobox.com>
18930 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18931 the event type (upstream, downstream, serialized). Renamed
18932 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18933 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18934 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18936 * gst/gstevent.c: Update for new CUSTOM event names.
18938 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18941 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18944 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18946 * docs/gst/gstreamer-sections.txt:
18947 * win32/common/libgstbase.def:
18948 * win32/libgstbase.def:
18949 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18950 (gst_collect_pads_class_init), (gst_collect_pads_init),
18951 (gst_collect_pads_finalize), (gst_collect_pads_new),
18952 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18953 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18954 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18955 (gst_collect_pads_start), (gst_collect_pads_stop),
18956 (gst_collect_pads_peek), (gst_collect_pads_pop),
18957 (gst_collect_pads_available), (gst_collect_pads_read),
18958 (gst_collect_pads_flush), (gst_collect_pads_event),
18959 (gst_collect_pads_chain):
18960 * gst/base/gstcollectpads.h:
18961 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18962 unimplemented functions as unimplemented. Add padding to
18963 GstCollectData. (#320766, #320423)
18965 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18967 * gst/gstmessage.c:
18968 Improve docs for DURATION message (usage of duration parameter)
18971 2005-11-20 Wim Taymans <wim@fluendo.com>
18973 * check/Makefile.am:
18974 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18978 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18979 (gst_segment_set_seek), (gst_segment_set_newsegment),
18980 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18981 (gst_segment_clip):
18982 * gst/gstsegment.h:
18983 Added segment helper structure and methods. Not fully implemented
18985 Added segment check.
18987 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18989 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18990 Add a deserialisation test for fractions
18991 * examples/metadata/read-metadata.c: (message_loop),
18992 (make_pipeline), (main):
18993 Fix up metadata reading sample.
18994 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18996 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18997 Don't try and fixate empty caps
18998 * gst/gst_private.h:
18999 Wrap in G_BEGIN_DECLS/G_END_DECLS
19000 * gst/gstvalue.c: (gst_value_collect_fraction),
19001 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19002 (gst_value_transform_string_fraction),
19003 (gst_value_compare_fraction):
19004 Add some extra guards to ensure that we don't end up
19005 with an invalid denominator of 0 in a gstfraction and
19006 that fractions always get reduced.
19008 2005-11-20 Wim Taymans <wim@fluendo.com>
19010 * docs/gst/gstreamer-sections.txt:
19012 * gst/gstelement.c:
19021 2005-11-20 Wim Taymans <wim@fluendo.com>
19023 * docs/design/part-TODO.txt:
19025 Make a proper enum of the flag.
19027 2005-11-19 Wim Taymans <wim@fluendo.com>
19029 * docs/design/part-TODO.txt:
19030 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19031 (gst_format_to_quark), (gst_format_register):
19033 * gst/gstquery.c: (_gst_query_initialize),
19034 (gst_query_type_get_name), (gst_query_type_to_quark),
19035 (gst_query_type_register):
19037 Add type to quark and type to string conversions.
19039 2005-11-19 Andy Wingo <wingo@pobox.com>
19041 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19044 2005-11-19 Wim Taymans <wim@fluendo.com>
19046 * docs/design/part-TODO.txt:
19047 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19048 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19049 (gst_bin_handle_message_func):
19051 Make message handling overridable.
19053 2005-11-19 Andy Wingo <wingo@pobox.com>
19055 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19058 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19060 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19061 is a GstClockTime. Fixes #321710.
19063 * gst/gstclock.h (GstClock): Remove offset property. Add
19064 internal_calibration and external_calibration. Fix padding. Pad
19065 also by GstClockTime so we don't run into problems.
19067 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19068 (gst_clock_get_rate_offset): Remove.
19069 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19072 * gst/gstutils.c (g_static_rec_cond_wait)
19073 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19075 * gst/gstbin.c: Remove terrible continue_state prototype.
19077 * gst/gstelement.h (gst_element_continue_state): Make public.
19079 * gst/gstelement.h:
19080 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19081 by continue_state. Fixes #319389.
19083 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19084 Really fixes #168438. However I don't see anywhere where the
19085 filter function is called... stupid GStreamer...
19087 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19088 don't have a dispose function, so it won't get called when the
19089 object is unreffed, but oh well!
19091 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19092 allows a destroy function to be set so user_data can be freed.
19094 (gst_index_set_filter): Call gst_index_set_filter_full.
19096 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19098 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19099 string should produce an error, given the lack of a way to
19100 represent NULL strings. Fixes #165650.
19103 * gst/gstvalue.c (gst_value_array_append_value)
19104 (gst_value_array_prepend_value, gst_value_array_get_size)
19105 (gst_value_array_get_value): New API, copied from
19106 gst_value_list_*, only operates on arrays.
19107 (gst_value_list_append_value, gst_value_list_prepend_value)
19108 (gst_value_list_concat, gst_value_list_get_size)
19109 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19111 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19112 init_list, because it works on both.
19113 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19114 (gst_value_copy_list_or_array): Renamed from copy_list.
19115 (gst_value_free_list_or_array): Renamed from free_list.
19116 (gst_value_collect_list_or_array): Renamed from collect_list.
19117 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19118 (gst_value_list_or_array_peek_pointer): Renamed from
19120 (_gst_value_array_value_table, _gst_value_list_value_table):
19121 Update value table functions.
19122 (gst_value_compare_list_or_array): Renamed from compare_list.
19124 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19127 * gst/gsttaglist.c:
19128 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19129 GstTagList*. Fixes #143472.
19131 * gst/gststructure.h: Clarify what the foreach/map functions can
19132 or can't do to their arguments.
19134 2005-11-18 Wim Taymans <wim@fluendo.com>
19136 * gst/gstclock.c: (gst_clock_set_calibration),
19137 (gst_clock_get_calibration):
19139 Calibration can be set with internal time equal to current
19142 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19148 2005-11-18 Andy Wingo <wingo@pobox.com>
19151 * pkgconfig/gstreamer-net.pc.in:
19152 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19153 * pkgconfig/Makefile.am: Add net pkgconfig files.
19155 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19158 * gst/gstghostpad.c:
19164 2005-11-18 Andy Wingo <wingo@pobox.com>
19166 * gst/net/gstnetclientclock.c: Turn off debugging.
19168 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19169 times connverge somewhat. Can't make a real test.
19171 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19172 integer arithmetic. Return the minimum of the domain, which can be
19173 set as "internal" for gst_clock_set_calibration.
19174 (gst_net_client_clock_observe_times): Call _set_calibration.
19175 (gst_net_client_clock_new): Call _set_calibration instead of
19178 * check/net/gstnetclientclock.c (test_functioning): Use the right
19182 * gst/gstclock.c (gst_clock_get_calibration)
19183 (gst_clock_set_calibration): New functions, obsolete the ones I
19184 added yesterday. Doh. Precision issues mean we have to extrapolate
19185 from a point in the more recent past than 1970.
19186 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19188 (gst_clock_adjust_unlocked): Use the right calibration data.
19190 2005-11-18 Edward Hervey <edward@fluendo.com>
19192 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19193 Also reset the ->current_* values in READY->PAUSED
19195 2005-11-18 Andy Wingo <wingo@pobox.com>
19197 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19198 Whoops, check the right fd. Also add some debugging.
19199 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19200 (do_linear_regression): Add a crapload of debugging. Subtract off
19201 the minimum values from the input series to discard unneeded bits.
19202 Use only int arithmetic. There is still double arithmetic when
19203 calculating the intercept that needs fixing. Return boolean to
19204 indicate success; FALSE would mean the domain or range is too
19205 great. Still needs fixes.
19207 2005-11-18 Wim Taymans <wim@fluendo.com>
19209 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19210 For the current position in stream time, we need to subtract
19213 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19214 Release lock before calling the callback function of async
19217 2005-11-18 Andy Wingo <wingo@pobox.com>
19219 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19220 Port goes all the way to MAXUINT16.
19222 * gst/net/gstnettimeprovider.c: Make the port range the same as
19223 for the kernel: 0 assigns, otherwise ports are less than
19226 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19229 * check/net/gstnetclientclock.c (test_functioning): Add the start
19232 2005-11-18 Wim Taymans <wim@fluendo.com>
19234 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19235 (gst_bin_remove_func), (bin_bus_handler):
19237 Removing a clock provider from a bin, triggers a clock lost message
19238 so that a new clock will be selected.
19239 Adding a clock to a bin triggers a clock provider message.
19240 Make sure we reselect a clock when we received a clock lost message.
19241 Keep a reference to the element that provided the clock.
19243 2005-11-18 Andy Wingo <wingo@pobox.com>
19245 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19246 the clock initially so it produces values around the base time.
19247 (gst_net_client_clock_class_init): Typo fix.
19248 (gst_net_client_clock_thread): Add note on when the socket gets
19251 2005-11-17 Wim Taymans <wim@fluendo.com>
19253 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19254 Free remote and local time arrays.
19256 2005-11-17 Wim Taymans <wim@fluendo.com>
19258 * gst/net/gstnetclientclock.c: (do_linear_regression),
19259 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19260 Fix compilation, uninitialized vars and a forgotten continue.
19262 2005-11-17 Andy Wingo <wingo@pobox.com>
19264 * check/Makefile.am (check_PROGRAMS):
19265 * check/net/gstnetclientclock.c: Add a most minimal test for the
19266 net client clock. More to come later.
19268 * gst/net/gstnet.h:
19269 * gst/net/Makefile.am: Add netclientclock.
19271 * gst/net/gstnetclientclock.h:
19272 * gst/net/gstnetclientclock.c: New files, implement an untested
19273 GstClock that takes its time from a network time provider.
19274 Implements the algorithm in network-clock.scm.
19276 * tests/network-clock.scm (*window-size*): Rename from
19278 * tests/network-clock.scm (network-time):
19279 * tests/network-clock-utils.scm (q-push): Update callers.
19281 2005-11-17 Wim Taymans <wim@fluendo.com>
19283 * gst/gstbin.c: (gst_bin_provide_clock_func),
19284 (gst_bin_sort_iterator_new):
19285 And unref the child too..
19287 2005-11-17 Wim Taymans <wim@fluendo.com>
19289 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19290 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19291 Refactor the sort iterator so it can be used while holding the
19293 Make clock selection select a clock closest to the source.
19295 2005-11-17 Michael Smith <msmith@fluendo.com>
19297 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19298 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19300 Anonymous structs are a gcc (and some other compilers) extension, so
19301 don't use them. Since this is only for ABI-compatibility, and our
19302 API/ABI freeze is over in a few days, this whole thing will only
19303 last a few days, so don't bother trying to think up a meaningful
19304 name for the struct.
19306 2005-11-17 Andy Wingo <wingo@pobox.com>
19308 * gst/gstclock.h (GstClock): Add rate and offset properties,
19309 preserving ABI stability. Add rate/offset accessors. Will file bug
19310 for the freeze break.
19312 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19313 and offset, trying to keep precision and avoiding
19314 underflow/overflow.
19315 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19316 functions. Make gst_clock_set_time_adjust obsolete.
19317 (gst_clock_set_time_adjust): Note that this function is obsolete.
19318 Will file bug soon.
19320 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19321 greppable by using GST_PADDING-1+1.
19323 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19325 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19327 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19328 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19330 * gst/gstpadtemplate.h:
19331 * gst/gstpluginfeature.h:
19332 Don't use c++ style comments in headers (#321638).
19334 2005-11-16 Andy Wingo <wingo@pobox.com>
19336 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19339 * check/net/gstnettimeprovider.c: Check to see that the time
19340 provider actually provides times. Works, yo!
19342 2005-11-16 Wim Taymans <wim@fluendo.com>
19344 * check/Makefile.am:
19347 * check/elements/fakesrc.c: (GST_START_TEST):
19348 Set element to NULL before disposing it.
19350 2005-11-16 Andy Wingo <wingo@pobox.com>
19352 * gst/net/Makefile.am:
19353 * gst/net/gstnet.h:
19354 * gst/net/gstnettimeprovider.c:
19355 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19356 provider, include it from gstnet.h, and add it to the build.
19358 * gst/net/gstnettimepacket.h:
19359 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19360 sending and receiving.
19362 2005-11-16 Wim Taymans <wim@fluendo.com>
19364 * check/Makefile.am:
19365 Enable valgrind check.
19367 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19368 (gst_fake_src_alloc_buffer):
19371 2005-11-16 Wim Taymans <wim@fluendo.com>
19373 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19374 Call parent finalize too.
19376 2005-11-16 Wim Taymans <wim@fluendo.com>
19378 * check/Makefile.am:
19379 Enable valgrind check that should work fine now.
19381 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19382 * gst/gstqueue.c: (gst_queue_init):
19383 Fix memleaks in pad allocation.
19385 2005-11-16 Andy Wingo <wingo@pobox.com>
19387 * gst/net/Makefile.am:
19388 * gst/net/gstnet.h: New part of core to hold network elements and
19389 objects. Put in core because it exposes API that applications want
19390 to use. The library is named libgstnet-tempname right now because
19391 of the existing libgstnet in gst-plugins-base. Solution is
19392 probably to rename the one in plugins-base; will file a bug for
19395 * gst/net/gstnettimeprovider.c:
19396 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19397 get_time call over the network.
19400 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19402 * check/Makefile.am:
19403 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19404 get additions shortly.
19406 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19408 * gst/gstpad.c: (gst_pad_new_from_static_template):
19410 add gst_pad_new_from_static_template functions
19411 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19412 (gst_check_setup_sink_pad):
19413 * gst/elements/gsttee.c: (gst_tee_init):
19416 2005-11-16 Wim Taymans <wim@fluendo.com>
19418 * gst/gstpad.c: (gst_pad_pause_task):
19419 Removed warning, it's not really an error either.
19421 2005-11-16 Wim Taymans <wim@fluendo.com>
19423 * gst/base/gstbasetransform.c:
19424 (gst_base_transform_prepare_output_buf),
19425 (gst_base_transform_event):
19426 Check if the caps are NULL, this can happen if the element
19427 is shutting down and the pad caps are set to NULL.
19429 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19431 * gst/elements/gsttee.c: (gst_tee_init):
19432 fix pad template leak in tee
19434 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19436 * gst/glib-compat.c: (g_value_dup_gst_object):
19437 * gst/glib-compat.h:
19438 * gst/gstpad.c: (gst_pad_set_property):
19439 use gst_object_ref when setting the pad template; this will
19440 trigger the pad template leaks on GLib 2.6 and the slaves
19442 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19444 * gst/glib-compat.c: (gst_flags_get_first_value):
19445 * gst/glib-compat.h:
19446 * gst/gstregistryxml.c:
19447 remove functions copied from GLib 2.6
19449 2005-11-16 Michael Smith <msmith@fluendo.com>
19452 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19453 do, but only breaks with newer valgrind versions. We're not a
19454 valgrind tool, we have no link-time dependencies on libcoregrind.
19456 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19458 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19460 * gst/gstmessage.h:
19463 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19465 * gst/base/gstbasesrc.c: (gst_base_src_init):
19466 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19467 * gst/gstqueue.c: (gst_queue_init):
19468 * gst/gstregistryxml.c: (load_feature):
19469 Revert all these unrefs, they don't even pass make check !
19471 2005-11-15 Johan Dahlin <johan@gnome.org>
19473 * gst/base/gstbasesrc.c: (gst_base_src_init):
19474 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19475 * gst/gstqueue.c: (gst_queue_init):
19476 Free pad templates, fixes a couple of leaks.
19478 2005-11-15 Daniel Fischer <dan at f3c dot com>
19480 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19482 * gst/gstpad.c: (gst_pad_get_property):
19483 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19484 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19487 2005-11-15 Wim Taymans <wim@fluendo.com>
19492 2005-11-15 Andy Wingo <wingo@pobox.com>
19494 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19496 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19497 using GST_CLOCK_TIME_NONE to disable base time management.
19498 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19499 time if it was NONE before.
19500 (gst_pipeline_change_state): Only munge the base time if
19501 stream_time != GST_CLOCK_TIME_NONE.
19503 * check/gst/gstpipeline.c (test_base_time): Punt around the
19504 problem of the probe not being called, because that's not the
19505 issue I'm looking at. Add a check that setting stream_time to NONE
19506 disables base time management.
19508 2005-11-15 Wim Taymans <wim@fluendo.com>
19510 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19511 segment_stop == -1 at startup.
19513 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19514 (gst_base_transform_change_state):
19515 Init segment values at start.
19517 2005-11-15 Wim Taymans <wim@fluendo.com>
19519 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19520 0 segment values are 0 in any format.
19522 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19523 * gst/base/gstbasetransform.h:
19524 Parse newsegment correctly in basetransform
19526 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19527 Sync to clock using updated segment values.
19529 2005-11-15 Andy Wingo <wingo@pobox.com>
19531 * check/gst/gstpipeline.c (test_base_time): Add check that the
19532 base time and stream time are reset correctly.
19534 2005-11-15 Wim Taymans <wim@fluendo.com>
19536 * docs/design/part-TODO.txt:
19537 Some more TODO items.
19539 2005-11-15 Andy Wingo <wingo@pobox.com>
19541 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19542 error if the user selected "no clock" as the clocking method.
19544 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19545 timestamps with live capture.
19547 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19548 is 0 but we are a live source, timestamp the buffers using the
19551 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19553 * docs/gst/gstreamer-sections.txt:
19555 * gst/gstghostpad.c:
19560 2005-11-14 Wim Taymans <wim@fluendo.com>
19563 add suppressions from Wim's Debian machine
19565 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19568 add suppressions from Andy's AMD64 Ubuntu machine
19570 2005-11-14 Andy Wingo <wingo@pobox.com>
19572 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19573 STATE_LOCK not necessary. Fixes #311489.
19575 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19578 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19579 this function is not implemented.
19581 2005-11-14 Julien MOUTTE <julien@moutte.net>
19583 * gst/base/gstbasetransform.c:
19584 (gst_base_transform_prepare_output_buf):
19585 Ref the source pad caps while we need them.
19588 2005-11-11 Wim Taymans <wim@fluendo.com>
19590 * docs/gst/gstreamer-sections.txt:
19591 Added some docs for GstCollectData.
19593 * gst/base/gstadapter.c:
19594 Some small code example fix.
19596 * gst/base/gstcollectpads.c:
19597 * gst/base/gstcollectpads.h:
19598 Document some more.
19600 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19602 * configure.ac: back to HEAD
19604 === release 0.9.5 ===
19606 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19609 releasing 0.9.5, "Bike Lunch Day"
19611 2005-11-11 Wim Taymans <wim@fluendo.com>
19613 * gst/gstbuffer.c: (_gst_buffer_copy):
19616 * gst/gstcaps.c: (gst_caps_is_equal):
19618 Make _is_equal fast in the trivial cases.
19620 * gst/gstminiobject.c:
19621 * gst/gstminiobject.h:
19622 More docs. Spifify .h file.
19627 2005-11-11 Wim Taymans <wim@fluendo.com>
19629 * gst/base/gstbasetransform.c:
19630 (gst_base_transform_prepare_output_buf),
19631 (gst_base_transform_handle_buffer):
19633 If we're processing a buffer and need to allocate an output
19634 buffer, we cannot accept a format change. If we did get a
19635 format change, we have to alloc a buffer ourselves of the
19638 2005-11-11 Wim Taymans <wim@fluendo.com>
19640 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19641 While checking the flag for reentrancy in the gstcaps function
19642 is nice to detect recursive invocations, it also makes it
19643 impossible to call getcaps from multiple threads, which must be
19644 possible. So, checking for recursive calls has to go.
19646 2005-11-11 Michael Smith <msmith@fluendo.com>
19648 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19649 Don't sync on buffers that fall partially outside our current
19650 segment. Prevents an assertion failure/abort playing some files.
19652 2005-11-10 Andy Wingo <wingo@pobox.com>
19654 * check/gst/gstbin.c (test_message_state_changed_children): Style
19657 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19658 gst_bus_poll with the signal watch. Ensures that poll and a signal
19659 watch see the same messages.
19661 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19662 a poll and a watch at the same time get the same messages.
19664 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19666 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19667 * gst/gstcaps.c: (gst_caps_intersect):
19668 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19669 and it's not needed.
19671 2005-11-10 Wim Taymans <wim@fluendo.com>
19673 * docs/design/part-TODO.txt:
19676 2005-11-10 Wim Taymans <wim@fluendo.com>
19678 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19679 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19680 (gst_base_src_do_sync), (gst_base_src_get_range):
19681 Implement clock sync in base class.
19683 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19685 patch by: Tim-Philipp Müller <tim at centricular dot net>
19687 * gst/gststructure.c: (gst_structure_parse_field),
19688 (gst_structure_from_string):
19689 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19690 so that gst_parse_launch() can deal with spaces in filtered link
19691 caps (fixes #164479)
19692 * check/gst/capslist.h:
19693 * check/gst/gststructure.c: (GST_START_TEST):
19694 add unit tests for this change
19696 2005-11-10 Wim Taymans <wim@fluendo.com>
19698 * docs/gst/gstreamer-sections.txt:
19699 * gst/gstelement.c:
19700 * gst/gstelement.h:
19701 Fix docs, move some STATE macros to private.
19703 2005-11-10 Wim Taymans <wim@fluendo.com>
19705 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19706 Added check for bug #317341
19710 Some more spiffifying.
19712 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19713 Call peer linkfunction if we are a source pad. Totally fixes
19717 Update docs, source pads should call the peer linkfunction
19718 so they can atomically perform the pad link.
19720 2005-11-09 Wim Taymans <wim@fluendo.com>
19724 Uber-spiffy-spiffify some more.
19726 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19728 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19729 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19730 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19731 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19732 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19733 * gst/gstpad.c: (gst_pad_init):
19734 Use GST_DEBUG_FUNCPTR() more extensively.
19736 2005-11-09 Wim Taymans <wim@fluendo.com>
19738 * gst/gstobject.c: (gst_object_class_init):
19740 Documentation fixes.
19742 2005-11-09 Edward Hervey <edward@fluendo.com>
19744 * gst/gsttypefindfactory.c:
19747 2005-11-09 Edward Hervey <edward@fluendo.com>
19749 * gst/base/gsttypefindhelper.c:
19750 * gst/gsttypefind.c:
19751 * gst/gsttypefind.h:
19754 2005-11-09 Wim Taymans <wim@fluendo.com>
19756 * gst/gstiterator.c:
19763 2005-11-09 Wim Taymans <wim@fluendo.com>
19769 2005-11-09 Wim Taymans <wim@fluendo.com>
19771 * docs/gst/gstreamer-sections.txt:
19772 Moved the message async delivery private lock and cond
19773 to the private section.
19775 * gst/gstmessage.c:
19776 * gst/gstmessage.h:
19779 2005-11-09 Edward Hervey <edward@fluendo.com>
19781 * docs/gst/gstreamer-sections.txt:
19784 Document GstURIHandler
19786 2005-11-09 Wim Taymans <wim@fluendo.com>
19788 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19789 (gst_iterator_find_custom):
19790 * gst/gstiterator.h:
19793 2005-11-09 Wim Taymans <wim@fluendo.com>
19796 Document another field.
19798 * gst/gststructure.c:
19799 * gst/gststructure.h:
19802 2005-11-09 Wim Taymans <wim@fluendo.com>
19805 Documented structs.
19807 2005-11-09 Wim Taymans <wim@fluendo.com>
19809 * docs/gst/gstreamer-sections.txt:
19810 Added some new macros.
19817 2005-11-09 Wim Taymans <wim@fluendo.com>
19819 * docs/design/part-TODO.txt:
19820 Some more items for the TODO
19826 2005-11-09 Andy Wingo <wingo@pobox.com>
19828 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19829 to work on something else now tho...
19831 * gst/base/gstadapter.c: More adapter docs.
19833 * gst/elements/gstfilesink.c (gst_file_sink_start)
19834 (gst_file_sink_stop): New functions, replace the state change
19836 (gst_file_sink_class_init): Hook up the start and stop functions.
19837 (gst_file_sink_base_init): Don't set the state change handler any
19838 more. It was a bit ugly too, being set from here...
19839 (gst_file_sink_get_property, gst_file_sink_set_property):
19841 (gst_file_sink_set_location): More robust check that doesn't call
19842 GST_STATE. Ugggggg.
19844 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19846 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19847 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19849 2005-11-08 Wim Taymans <wim@fluendo.com>
19851 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19852 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19853 (gst_base_sink_chain), (gst_base_sink_change_state):
19854 * gst/base/gstbasesink.h:
19855 * gst/base/gstbasesrc.h:
19856 * gst/gstelement.h:
19858 Avoid excessive typechecking in macros.
19860 * gst/gstminiobject.c: (gst_mini_object_get_type),
19861 (gst_mini_object_init), (gst_mini_object_new),
19862 (gst_mini_object_free):
19863 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19864 (gst_object_finalize):
19865 Remove cruft code, optimize alloc_trace.
19867 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19869 * docs/faq/gst-uninstalled:
19870 fix up PS1 for systems that try to reset it
19872 2005-11-07 Wim Taymans <wim@fluendo.com>
19874 * gst/base/gstbasesrc.c: (gst_base_src_init),
19875 (gst_base_src_get_range):
19876 Set the segment_end to -1 initially. Fixed typefind.
19878 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19880 * gst/base/gstadapter.c:
19881 Debug category should be 'adapter', not 'GstAdapter'.
19883 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19884 (gst_collectpads_class_init), (gst_collectpads_init),
19885 (gst_collectpads_peek), (gst_collectpads_pop),
19886 (gst_collectpads_event), (gst_collectpads_chain):
19887 Add debug category and some debugging output. Use boilerplate
19888 macros. Remove some extraneous words from docs.
19890 2005-11-05 Andy Wingo <wingo@pobox.com>
19892 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19895 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19897 * docs/gst/gstreamer-sections.txt:
19900 * gst/gstminiobject.h:
19905 2005-11-04 Wim Taymans <wim@fluendo.com>
19907 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19908 Small update to stop at the configured segment_end
19911 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19913 * gst/gstregistry.c:
19914 * gst/gstregistry.h:
19917 2005-11-04 Edward Hervey <edward@fluendo.com>
19919 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19920 Check if we are doing a segment seek and have arrived at the
19921 end of that segment.
19923 2005-11-04 Wim Taymans <wim@fluendo.com>
19925 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19926 Don't leak a mutex unlock in case of an error.
19931 2005-11-04 Wim Taymans <wim@fluendo.com>
19933 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19935 Get the context to wake up only once.
19937 2005-11-03 Wim Taymans <wim@fluendo.com>
19939 * check/states/sinks.c: (GST_START_TEST):
19940 Uncomment fixed check.
19942 * docs/design/part-TODO.txt:
19945 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19946 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19947 (gst_base_sink_get_position):
19948 If we are going to PLAYING, post the right pending state
19949 when we post the intermediate paused message.
19951 * gst/gstelement.c: (gst_element_continue_state),
19952 (gst_element_set_state_func), (gst_element_change_state):
19953 Don't post state changes that were between the same state
19954 and were not ASYNC.
19956 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19958 * docs/gst/gstreamer-sections.txt:
19961 * gst/gstminiobject.h:
19964 more docs and doc style fixes
19966 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19968 * docs/gst/gstreamer-sections.txt:
19969 * gst/gstelement.c:
19970 * gst/gstminiobject.c:
19973 2005-11-03 Andy Wingo <wingo@pobox.com>
19975 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19976 state-changed messages actually have the right order and the right
19979 2005-11-03 Wim Taymans <wim@fluendo.com>
19981 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19982 Added some more checks. Specifically the case where NO_PREROLL
19983 elements are in the pipeline.
19985 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19986 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19987 (gst_base_sink_get_position):
19988 Post READY->PAUSED state change messages too.
19989 Fix bug where VOID was posted as pending state...
19991 * gst/gstbin.c: (gst_bin_recalc_state):
19992 use _element_continue_state() to continue the state change.
19994 * gst/gstelement.c: (gst_element_continue_state),
19995 (gst_element_commit_state), (gst_element_set_state_func),
19996 (gst_element_change_state), (gst_element_change_state_func):
19997 Lots of state change cleanups, assign the STATE_RETURN in
19998 a new continue_state() function that also propagates the
19999 last return value from a state change to the app.
20000 Update some debug statements with proper category.
20002 2005-11-03 Wim Taymans <wim@fluendo.com>
20004 * docs/design/part-events.txt:
20005 * docs/design/part-gstpipeline.txt:
20006 * docs/design/part-messages.txt:
20007 * docs/design/part-overview.txt:
20008 * docs/design/part-seeking.txt:
20009 * docs/design/part-states.txt:
20010 * docs/design/part-trickmodes.txt:
20011 * docs/manual/advanced-position.xml:
20012 Small docs updates.
20015 People think !! is ugly, this looks better.
20017 * gst/gstpad.c: (gst_pad_set_blocked_async):
20018 Remove !! since it's fixed elsewhere now.
20020 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20022 * gst/gstminiobject.h:
20024 Add !! to _FLAG_IS_SET macros to make the result boolean.
20026 2005-11-03 Edward Hervey <edward@fluendo.com>
20028 * gst/gstpad.c: (gst_pad_set_blocked_async):
20029 comparing a flag and a gboolean rarely returns coherent results...
20030 Added two characters (!!) to make that work correctly.
20032 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20034 * gst/gstbus.c: (gst_bus_class_init):
20037 * gst/gstqueue.c: (gst_queue_loop):
20038 Don't assume a miniobject that isn't a buffer is an
20039 event (it could be that there is a refcounting
20040 problem somewhere and the pointer is stale and
20041 refers to an already destroyed miniobject).
20043 2005-11-03 Julien MOUTTE <julien@moutte.net>
20045 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20047 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20049 * docs/manual/advanced-position.xml:
20050 Update seek example and explanations to current 0.9 API.
20052 * gst/elements/gsttypefindelement.c:
20053 (gst_type_find_element_activate):
20054 Remove FIXME comment now that the found caps
20057 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20059 * gst/gstregistryxml.c: (load_feature):
20060 Add another GST_STR_NULL instance
20062 2005-11-02 Edward Hervey <edward@fluendo.com>
20064 * gst/gstpad.c: (handle_pad_block):
20065 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20067 2005-11-02 Wim Taymans <wim@fluendo.com>
20072 * gst/gstelement.c: (gst_element_commit_state):
20073 Remove unused value.
20075 * gst/gstiterator.c:
20076 Mention that the returned element is reffed in the docs.
20078 2005-11-02 Wim Taymans <wim@fluendo.com>
20080 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20081 (gst_pad_push), (gst_pad_push_event):
20082 Unlock blocked pads when they are flushed.
20084 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20087 * docs/gst/gstreamer-sections.txt:
20090 * gst/gstregistry.c: (gst_registry_scan_path_level):
20091 fix for a nasty little missed situation where an installed plug-in
20092 which was in the cache did not get overridden by an uninstalled one
20093 which was earlier in the plugin path because the newly created plugin
20094 for the uninstalled one (not in the registry) didn't get its
20095 ->registered set to TRUE
20097 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20099 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20100 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20101 (gst_collectpads_is_active), (gst_collectpads_collect),
20102 (gst_collectpads_collect_range), (gst_collectpads_start),
20103 (gst_collectpads_stop), (gst_collectpads_peek),
20104 (gst_collectpads_pop), (gst_collectpads_available),
20105 (gst_collectpads_read), (gst_collectpads_flush):
20106 Guard public API with assertions.
20109 Fix docs for gst_pad_set_link_function().
20111 2005-11-02 Johan Dahlin <johan@gnome.org>
20113 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20114 Unref found_caps after we used it.
20116 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20118 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20119 Don't try to ref NULL.
20121 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20123 * win32/common/config.h.in:
20124 provide a GST_FUNCTION that just gives a string for now
20126 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20128 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20129 (gst_object_flags_get_type), (register_gst_bin_flags),
20130 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20131 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20132 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20133 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20134 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20135 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20136 (gst_clock_flags_get_type), (register_gst_state),
20137 (gst_state_get_type), (register_gst_state_change_return),
20138 (gst_state_change_return_get_type), (register_gst_state_change),
20139 (gst_state_change_get_type), (register_gst_element_flags),
20140 (gst_element_flags_get_type), (register_gst_core_error),
20141 (gst_core_error_get_type), (register_gst_library_error),
20142 (gst_library_error_get_type), (register_gst_resource_error),
20143 (gst_resource_error_get_type), (register_gst_stream_error),
20144 (gst_stream_error_get_type), (register_gst_event_type),
20145 (gst_event_type_get_type), (register_gst_seek_type),
20146 (gst_seek_type_get_type), (register_gst_seek_flags),
20147 (gst_seek_flags_get_type), (register_gst_format),
20148 (gst_format_get_type), (register_gst_index_certainty),
20149 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20150 (gst_index_entry_type_get_type),
20151 (register_gst_index_lookup_method),
20152 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20153 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20154 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20155 (gst_index_flags_get_type), (register_gst_debug_level),
20156 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20157 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20158 (gst_iterator_result_get_type), (register_gst_iterator_item),
20159 (gst_iterator_item_get_type), (register_gst_message_type),
20160 (gst_message_type_get_type), (register_gst_mini_object_flags),
20161 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20162 (gst_pad_link_return_get_type), (register_gst_flow_return),
20163 (gst_flow_return_get_type), (register_gst_activate_mode),
20164 (gst_activate_mode_get_type), (register_gst_pad_direction),
20165 (gst_pad_direction_get_type), (register_gst_pad_flags),
20166 (gst_pad_flags_get_type), (register_gst_pad_presence),
20167 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20168 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20169 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20170 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20171 (gst_plugin_flags_get_type), (register_gst_rank),
20172 (gst_rank_get_type), (register_gst_query_type),
20173 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20174 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20175 (gst_tag_flag_get_type), (register_gst_task_state),
20176 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20177 (gst_alloc_trace_flags_get_type),
20178 (register_gst_type_find_probability),
20179 (gst_type_find_probability_get_type), (register_gst_uri_type),
20180 (gst_uri_type_get_type), (register_gst_parse_error),
20181 (gst_parse_error_get_type):
20182 * win32/common/gstversion.h:
20183 update win32 copies
20185 2005-11-01 Luca Ognibene <luogni@tin.it>
20188 fix docs. popt is dead, long live GOption.
20190 2005-10-31 Wim Taymans <wim@fluendo.com>
20195 2005-10-31 Andy Wingo <wingo@pobox.com>
20199 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20201 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20202 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20203 the possibility of deadlocks here if code calling notify() or
20204 set() has a lock that can be taken in another notify handler (ABBA
20205 with class lock and e.g. python GIL state lock).
20207 2005-10-28 Julien MOUTTE <julien@moutte.net>
20209 * gst/gstbus.c: Doc updates.
20211 2005-10-28 Wim Taymans <wim@fluendo.com>
20213 * docs/design/part-TODO.txt:
20214 * gst/gstiterator.c:
20215 * gst/gstsystemclock.c:
20216 * gst/gstsystemclock.h:
20219 2005-10-28 Edward Hervey <edward@fluendo.com>
20221 * docs/gst/gstreamer-docs.sgml:
20222 * docs/gst/gstreamer-sections.txt:
20223 the GstURIType documentation page is private, it only defines GstURIType
20224 which should be defined in the GstURIHandler page
20226 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20228 * gst/gstbin.c: (gst_bin_class_init):
20231 Documentation updates.
20233 2005-10-28 Wim Taymans <wim@fluendo.com>
20235 * docs/gst/gstreamer-sections.txt:
20238 Documented the clocks.
20240 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20242 * docs/gst/gstreamer-sections.txt:
20243 move some macros to private sections
20244 * gst/gstminiobject.c:
20245 * gst/gstminiobject.h:
20246 add descriptions provided by ds and some more
20248 mark macro as to be removed
20250 2005-10-28 Wim Taymans <wim@fluendo.com>
20252 * docs/design/part-TODO.txt:
20253 Add an item to TODO.
20255 * gst/gstiterator.c: (gst_iterator_fold),
20256 (gst_iterator_find_custom):
20257 * gst/gstiterator.h:
20260 2005-10-28 Wim Taymans <wim@fluendo.com>
20262 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20263 (gst_base_transform_init):
20266 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20267 An EOS event marks the queue as completely filled.
20269 2005-10-27 Wim Taymans <wim@fluendo.com>
20271 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20272 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20273 Some more debugging.
20275 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20276 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20277 (gst_base_transform_event), (gst_base_transform_getrange),
20278 (gst_base_transform_chain):
20279 * gst/base/gstbasetransform.h:
20281 Protect transform and concurrent buffer alloc with a new lock.
20282 Try not to break ABI/API.
20284 2005-10-27 Wim Taymans <wim@fluendo.com>
20286 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20287 (gst_base_src_init), (gst_base_src_query),
20288 (gst_base_src_default_newsegment),
20289 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20290 (gst_base_src_send_event), (gst_base_src_event_handler),
20291 (gst_base_src_pad_get_range), (gst_base_src_loop),
20292 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20293 (gst_base_src_start), (gst_base_src_deactivate),
20294 (gst_base_src_activate_push), (gst_base_src_change_state):
20295 Move some stuff around and cleanup things.
20297 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20299 * gst/base/gstbasesrc.c: (gst_base_src_query):
20300 Add missing break statements.
20302 2005-10-27 Wim Taymans <wim@fluendo.com>
20304 * check/gst/gstbin.c: (GST_START_TEST):
20305 An extra refcount is taken in basesrc.
20307 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20308 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20309 (gst_base_src_loop):
20310 Small cleanups, check for flushing after being unlocked from the
20311 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20312 Don't send out EOS when going to READY.
20314 2005-10-27 Wim Taymans <wim@fluendo.com>
20316 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20317 (gst_base_sink_get_position):
20320 * gst/gstbin.c: (message_check), (bin_replace_message),
20321 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20322 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20323 (bin_query_duration_init), (bin_query_duration_fold),
20324 (bin_query_duration_done), (bin_query_generic_fold),
20326 * tools/gst-launch.c: (main):
20329 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20331 * examples/controller/audio-example.c: (main):
20332 * examples/queue/queue.c: (event_loop):
20333 * gst/base/gstbasetransform.h:
20334 * gst/gstelement.c: (gst_element_send_event):
20336 * gst/gstpad.c: (gst_pad_send_event):
20339 changing log priority in error situations
20341 2005-10-25 Wim Taymans <wim@fluendo.com>
20343 * gst/gstbin.c: (message_check), (bin_replace_message),
20344 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20345 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20346 (bin_query_duration_init), (bin_query_duration_fold),
20347 (bin_query_duration_done), (bin_query_generic_fold),
20349 Some doc and debug updates.
20350 Cache previously requested query DURATION for speed. invalidate
20351 cached duration if element posts a DURATION message.
20353 2005-10-25 Wim Taymans <wim@fluendo.com>
20355 * docs/design/part-TODO.txt:
20358 * gst/gstbin.c: (message_check), (bin_replace_message),
20359 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20360 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20361 (bin_query_duration_init), (bin_query_duration_fold),
20362 (bin_query_duration_done), (bin_query_generic_fold),
20364 Handle SEGMENT_START/DONE messages correctly.
20365 More evolved query algorithm that handles duration queries
20368 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20369 (gst_element_get_state_func), (gst_element_abort_state),
20370 (gst_element_commit_state), (gst_element_lost_state):
20371 Some more debugging.
20373 * gst/gstmessage.h:
20376 2005-10-25 Wim Taymans <wim@fluendo.com>
20378 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20379 Don't use invalid stream_time.
20381 * gst/gstevent.c: (gst_event_new_newsegment):
20382 stream_time in newsegment cannot be undefined.
20384 2005-10-24 Wim Taymans <wim@fluendo.com>
20389 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20391 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20393 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20395 * docs/libs/tmpl/gstdparam.sgml:
20396 * docs/libs/tmpl/gstdplinint.sgml:
20397 * docs/libs/tmpl/gstdpman.sgml:
20398 * docs/libs/tmpl/gstdpsmooth.sgml:
20399 * docs/libs/tmpl/gstunitconvert.sgml:
20402 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20407 === release 0.9.4 ===
20409 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20412 releasing 0.9.4, "Tyrannosaurus Rex"
20414 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20416 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20417 (gst_file_sink_get_current_offset):
20418 Use fseeko() and ftello() if available. When falling back on
20419 lseek() to get the current offset, fflush() first to make sure
20420 everything is up-to-date and we get the right offset.
20422 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20424 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20425 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20426 * gst/gsterror.c: (_gst_stream_errors_init):
20428 * gst/gstqueue.c: (gst_queue_loop):
20430 remove prematurely added error category and clean up the instances
20432 2005-10-21 Wim Taymans <wim@fluendo.com>
20434 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20435 (gst_base_sink_get_position), (gst_base_sink_query),
20436 (gst_base_sink_change_state):
20437 Simply set the right flag when going to playing, that's all
20438 we need to do instead of calling a function inside the object
20439 lock (that could take the lock as well and deadlock)
20441 2005-10-21 Wim Taymans <wim@fluendo.com>
20443 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20444 (gst_base_src_loop):
20445 Don't warn, the peer element knows what to do best when
20446 the seek failed, it might try something else.
20448 2005-10-21 Wim Taymans <wim@fluendo.com>
20450 * gst/base/gstbasesrc.c: (gst_base_src_init),
20451 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20454 2005-10-21 Wim Taymans <wim@fluendo.com>
20456 * docs/design/part-segments.txt:
20459 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20460 Correctly set caps, even on the subbufer.
20462 2005-10-21 Wim Taymans <wim@fluendo.com>
20464 * docs/gst/gstreamer-docs.sgml:
20465 * docs/gst/gstreamer-sections.txt:
20466 * gst/gstelement.h:
20469 * gst/gstmessage.h:
20472 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20476 And 2% more doc coverage.
20478 2005-10-21 Andy Wingo <wingo@pobox.com>
20480 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20481 position reporting.
20483 2005-10-20 Wim Taymans <wim@fluendo.com>
20485 * gst/gsterror.c: (gst_error_get_message):
20488 * gst/gststructure.c:
20493 2005-10-20 Wim Taymans <wim@fluendo.com>
20498 Another 1% more coverage.
20500 2005-10-20 Wim Taymans <wim@fluendo.com>
20502 * docs/gst/gstreamer-sections.txt:
20503 * gst/gstelement.c: (gst_element_get_state_func),
20504 (gst_element_abort_state), (gst_element_commit_state),
20505 (gst_element_lost_state):
20507 * gst/gstquery.c: (gst_query_set_position),
20508 (gst_query_parse_position), (gst_query_set_duration),
20509 (gst_query_parse_duration), (gst_query_new_convert):
20511 Yay! 1% more docs coverage.
20513 2005-10-20 Wim Taymans <wim@fluendo.com>
20516 * gst/gstquery.c: (gst_query_set_position),
20517 (gst_query_parse_position), (gst_query_set_duration),
20518 (gst_query_parse_duration), (gst_query_new_convert):
20520 * gst/gstutils.c: (gst_element_query_convert):
20522 Docs and consistency fixes.
20524 2005-10-20 Wim Taymans <wim@fluendo.com>
20530 2005-10-20 Wim Taymans <wim@fluendo.com>
20532 * gst/gstbin.c: (message_check), (bin_replace_message),
20533 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20534 (update_degree), (gst_bin_sort_iterator_next),
20535 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20536 Reworked the message handling a bit, cache the messages instead of
20537 only the senders. alows us to do more in the future.
20539 2005-10-20 Wim Taymans <wim@fluendo.com>
20541 * docs/design/part-TODO.txt:
20544 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20545 (gst_base_sink_query):
20546 Don't use clock time to report position when in EOS.
20548 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20550 * tools/gst-inspect.c: (print_interfaces),
20551 (print_element_properties_info), (print_element_info):
20552 Fix interface output with gst-inspect -a; don't print
20553 newlines after double/float properties.
20555 2005-10-20 Wim Taymans <wim@fluendo.com>
20557 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20558 (gst_base_sink_query):
20559 Speed up current position calculation.
20561 * gst/base/gstbasesrc.c: (gst_base_src_query),
20562 (gst_base_src_default_newsegment):
20563 Correctly set stream position in newsegment.
20565 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20566 (update_degree), (gst_bin_sort_iterator_next),
20567 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20568 * gst/gstmessage.c: (gst_message_new_custom):
20569 Clean up debugging info
20571 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20572 (gst_queue_loop), (gst_queue_handle_src_query):
20575 2005-10-19 Wim Taymans <wim@fluendo.com>
20577 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20578 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20579 Fix query handling again.
20581 2005-10-19 Wim Taymans <wim@fluendo.com>
20583 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20584 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20585 * gst/base/gstbasesrc.c: (gst_base_src_query):
20586 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20587 * gst/elements/gsttypefindelement.c:
20588 (gst_type_find_handle_src_query), (find_element_get_length),
20589 (gst_type_find_element_activate):
20592 * gst/gstquery.c: (gst_query_new_position),
20593 (gst_query_set_position), (gst_query_parse_position),
20594 (gst_query_new_duration), (gst_query_set_duration),
20595 (gst_query_parse_duration), (gst_query_set_segment),
20596 (gst_query_parse_segment):
20598 Bundling query position/duration is not a good idea since duration
20599 does not change much and we don't want to recalculate it for every
20600 position query, so they are separated again..
20601 Base value in segment query is not needed.
20603 * gst/gstqueue.c: (gst_queue_handle_src_query):
20604 * gst/gstutils.c: (gst_element_query_position),
20605 (gst_element_query_duration), (gst_pad_query_position),
20606 (gst_pad_query_duration):
20608 Updates for query API change.
20609 Added some docs here and there.
20611 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20613 * check/gst/gstbin.c: (GST_START_TEST):
20614 * check/gst/gstghostpad.c: (GST_START_TEST):
20615 * check/pipelines/cleanup.c: (GST_START_TEST):
20616 wait on thread to die so we can check refcount correctly
20618 2005-10-18 Wim Taymans <wim@fluendo.com>
20620 * check/pipelines/stress.c: (GST_START_TEST):
20621 Make check a little more time consuming.
20623 2005-10-18 Wim Taymans <wim@fluendo.com>
20625 * check/Makefile.am:
20626 * check/pipelines/stress.c: (GST_START_TEST),
20627 (simple_launch_lines_suite), (main):
20628 Small state change torture test.
20630 * docs/design/part-states.txt:
20631 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20632 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20633 (gst_base_sink_change_state):
20634 Never take state lock from streaming thread, clean up ugly
20635 hacks. Unfortunatly core does not yet support nice ways to
20636 async commit state.
20638 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20640 Start state recalc if a STATE_DIRTY message is posted, but only
20641 on the toplevel bin.
20643 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20644 (gst_element_get_state_func), (gst_element_abort_state),
20645 (gst_element_commit_state), (gst_element_lost_state),
20646 (gst_element_set_state_func), (gst_element_change_state):
20647 * gst/gstelement.h:
20648 State variables are now protected with the LOCK, the state
20649 lock is only used to serialize _set_state().
20651 2005-10-18 Wim Taymans <wim@fluendo.com>
20653 * check/gst/gstbin.c: (GST_START_TEST):
20654 * check/gst/gstmessage.c: (GST_START_TEST):
20655 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20656 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20658 * gst/gstelement.c: (gst_element_abort_state),
20659 (gst_element_commit_state), (gst_element_lost_state):
20660 * gst/gstmessage.c: (gst_message_new_state_changed),
20661 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20662 (gst_message_new_segment_done), (gst_message_new_duration),
20663 (gst_message_parse_state_changed),
20664 (gst_message_parse_segment_start),
20665 (gst_message_parse_segment_done), (gst_message_parse_duration):
20666 * gst/gstmessage.h:
20667 * tools/gst-launch.c: (event_loop):
20668 Seriously, this is better than a previous commit as we only need
20669 to notify the fact that an element changed state in a streaming
20670 thread, marking the state of the parents dirty, hence the
20671 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20674 2005-10-18 Wim Taymans <wim@fluendo.com>
20676 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20677 (gst_bin_recalc_func):
20678 * gst/gstelement.c: (gst_element_set_clock),
20679 (gst_element_abort_state), (gst_element_lost_state):
20680 Cleanups, prepare for state change fixes.
20682 2005-10-18 Wim Taymans <wim@fluendo.com>
20685 * gst/gstelement.c: (gst_element_class_init),
20686 (gst_element_set_state), (gst_element_set_state_func):
20687 * gst/gstelement.h:
20688 Pending ABI changes.
20689 GThreadPool in GstBinClass to monitor async state changes.
20690 state_cookie in GstElement to detect concurrent gst/set state.
20691 set_state is now virtual too in case a very complicated element
20692 has to be constructed.
20694 2005-10-18 Wim Taymans <wim@fluendo.com>
20696 * check/gst/gstbin.c: (GST_START_TEST):
20697 * check/gst/gstmessage.c: (GST_START_TEST):
20698 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20699 * gst/gstbin.c: (bin_bus_handler):
20700 * gst/gstelement.c: (gst_element_commit_state),
20701 (gst_element_lost_state):
20702 * gst/gstmessage.c: (gst_message_new_state_changed),
20703 (gst_message_new_segment_start), (gst_message_new_segment_done),
20704 (gst_message_new_duration), (gst_message_parse_state_changed),
20705 (gst_message_parse_segment_start),
20706 (gst_message_parse_segment_done), (gst_message_parse_duration):
20707 * gst/gstmessage.h:
20708 * tools/gst-launch.c: (event_loop):
20709 Make messages future proof.
20710 state-change gets a flag if it was a message comming from the
20712 segment-start/stop can also be specified in other formats.
20713 A message to notify an app that a pipeline changed playback
20715 Also fix a GstMessage leak in -launch
20717 2005-10-18 Andy Wingo <wingo@pobox.com>
20719 * gst/gstelement.c (gst_element_dispose): More helpful message.
20721 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20723 reviewed by: <delete if not using a buddy>
20725 * common/gtk-doc.mak:
20727 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20729 * gst/gstregistry.c: (gst_registry_scan_path_level):
20730 unref a plug-in we get that was already initialized
20732 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20734 * docs/gst/gstreamer-sections.txt:
20735 * docs/libs/gstreamer-libs-sections.txt:
20736 * gst/gstelement.h:
20737 add new api entries
20738 hide internal macro
20740 2005-10-17 Andy Wingo <wingo@pobox.com>
20742 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20745 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20747 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20749 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20750 (gst_element_get_state_func): Better debug message.
20751 (gst_element_commit_state): s/INFO/DEBUG/.
20752 (gst_element_lost_state, gst_element_change_state):
20754 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20755 (gst_message_new_custom): s/INFO/LOG/.
20757 2005-10-17 Michael Smith <msmith@fluendo.com>
20759 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20760 Check if end time is valid using end time, not start time.
20762 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20764 * check/gst-libs/controller.c: (GST_START_TEST),
20765 (gst_controller_suite):
20766 * libs/gst/controller/gstcontroller.c:
20767 (gst_controlled_property_set_interpolation_mode):
20768 * libs/gst/controller/gstcontroller.h:
20769 * libs/gst/controller/gstinterpolation.c:
20770 * testsuite/controller/.cvsignore:
20771 * testsuite/controller/Makefile.am:
20772 * testsuite/controller/interpolator.c:
20773 merge controller testsuites
20775 remove mem-chunk from docs
20777 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20779 * gst/gstmemchunk.c:
20780 * gst/gstmemchunk.h:
20781 * gst/gsttrashstack.c:
20782 * gst/gsttrashstack.h:
20783 out. get out. you're fired. to the Attic !
20785 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20787 * gst/gstcaps.c: (gst_caps_intersect):
20788 fix signedness issues in a (hopefully) correct way
20789 * gst/gstelement.c: (gst_element_pads_activate):
20791 * gst/gstobject.c: (gst_object_set_parent):
20794 2005-10-17 Julien MOUTTE <julien@moutte.net>
20796 * gst/gstvalue.h: Fix prototypes.
20798 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20800 * docs/gst/gstreamer-sections.txt:
20801 * gst/gst.c: (gst_version_string):
20803 * gst/gstversion.h.in:
20804 * win32/common/libgstreamer.def:
20805 add gst_version_string ()
20807 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20811 * gst/gst.c: (init_post):
20812 * win32/common/config.h.in:
20814 * gst/gstcaps.c: (gst_caps_intersect):
20815 use gint64, the range could be bigger than a guint
20817 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20820 document potential problem in 2038
20822 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20824 * gst/gstcaps.c: (gst_caps_intersect):
20825 Fix guint j diving under 0
20827 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20830 * win32/common/config.h:
20831 * win32/common/config.h.in:
20832 check for process.h, declares getpid() on Windows
20834 include process.h if we have it
20835 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20836 * gst/gstmemchunk.h:
20837 fix signedness issues
20838 * win32/common/libgstreamer.def:
20841 2005-10-16 Julien MOUTTE <julien@moutte.net>
20843 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20844 fix. Because of unsigned ints, caps intersection was going nuts and
20845 trying to access structures with G_MAXUINT index. That fixes
20846 videotestsrc ! ffmpegcolorspace ! fakesink
20847 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20850 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20853 use the gettext macro
20854 * gst/elements/gstelements.c:
20856 * gst/indexers/gstindexers.c:
20857 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20858 * win32/common/config.h:
20860 * win32/common/config.h.in:
20861 add the template to generate config.h
20862 * win32/common/gstenumtypes.c:
20863 * win32/common/gstversion.h:
20866 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20868 * gst/gst.c: (gst_version):
20869 * gst/gstversion.h.in:
20872 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20875 Oops, add missing closing bracket.
20877 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20880 use common m4's for argument checking
20882 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20884 * docs/gst/gstreamer-sections.txt:
20886 Add GST_EVENT_TYPE_NAME() macro.
20888 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20891 * gst/gstpluginfeature.c:
20893 privatize more symbols
20895 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20898 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20899 everything that uses GStreamer API should have the includes
20901 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20903 * docs/gst/gstreamer-sections.txt:
20904 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20906 give each value a _get_type, removes the DATA exports
20908 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20912 remove _gst_registry_auto_load, not used anymore
20913 * gst/gstbin.c: (gst_bin_get_type):
20915 * gst/gstelement.c: (gst_element_get_type):
20916 * gst/gstelement.h:
20917 * gst/gstobject.c: (gst_object_get_type):
20919 * gst/gstpad.c: (gst_pad_get_type):
20921 make _get_type functions similar, fixes data export from library
20923 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20926 correctly make conditionals
20927 * gst/elements/Makefile.am:
20928 * gst/elements/gstelements.c:
20929 fix typo causing fdsrc not to build
20931 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20933 * testsuite/Makefile.am:
20934 * testsuite/bytestream/.cvsignore:
20935 * testsuite/bytestream/Makefile.am:
20936 * testsuite/bytestream/filepadsink.c:
20937 * testsuite/bytestream/gstbstest.c:
20938 * testsuite/bytestream/test1.c:
20939 * testsuite/bytestream/testfile1:
20940 * testsuite/caps/normalisation.c:
20941 * testsuite/caps/random.c: (main):
20942 * testsuite/cleanup/.cvsignore:
20943 * testsuite/cleanup/Makefile.am:
20944 * testsuite/cleanup/cleanup1.c:
20945 * testsuite/cleanup/cleanup2.c:
20946 * testsuite/cleanup/cleanup3.c:
20947 * testsuite/cleanup/cleanup4.c:
20948 * testsuite/cleanup/cleanup5.c:
20949 * testsuite/controller/interpolator.c:
20950 * testsuite/debug/printf_extension.c: (main):
20951 * testsuite/elements/tee.c:
20952 * testsuite/negotiation/.cvsignore:
20953 * testsuite/negotiation/Makefile.am:
20954 * testsuite/negotiation/pad_link.c:
20955 * testsuite/pad/Makefile.am:
20956 * testsuite/pad/chainnopull.c:
20957 * testsuite/pad/getnopush.c:
20958 * testsuite/pad/link.c:
20959 * testsuite/refcounting/sched.c: (create_pipeline):
20960 * testsuite/registry/Makefile.am:
20961 * testsuite/registry/gst-print-formats.c:
20962 * testsuite/schedulers/.cvsignore:
20963 * testsuite/schedulers/142183-2.c:
20964 * testsuite/schedulers/142183.c:
20965 * testsuite/schedulers/143777-2.c:
20966 * testsuite/schedulers/143777.c:
20967 * testsuite/schedulers/147713.c:
20968 * testsuite/schedulers/147819.c:
20969 * testsuite/schedulers/147894-2.c:
20970 * testsuite/schedulers/147894.c:
20971 * testsuite/schedulers/Makefile.am:
20972 * testsuite/schedulers/group_link.c:
20973 * testsuite/schedulers/queue_link.c:
20974 * testsuite/schedulers/relink.c:
20975 * testsuite/schedulers/unlink.c:
20976 * testsuite/schedulers/unref.c:
20977 * testsuite/schedulers/useless_iteration.c:
20978 * testsuite/states/bin.c:
20979 clean out/remove some stuff from the testsuite directories
20981 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20984 check for some headers
20985 * gst/elements/Makefile.am:
20986 * gst/elements/gstelements.c:
20987 don't compile fdsrc without sys/socket.h
20988 * gst/indexers/Makefile.am:
20989 * gst/indexers/gstindexers.c: (plugin_init):
20990 don't compile fileindex without mmap
20992 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20999 * check/Makefile.am:
21000 * docs/gst/Makefile.am:
21001 * examples/helloworld/Makefile.am:
21003 * gst/base/Makefile.am:
21004 * gst/check/Makefile.am:
21005 * gst/elements/Makefile.am:
21006 * gst/indexers/Makefile.am:
21007 * gst/parse/Makefile.am:
21008 * libs/gst/controller/Makefile.am:
21009 * libs/gst/dataprotocol/Makefile.am:
21010 * examples/helloworld/helloworld.c: (event_loop):
21011 compile fixes, though it's not being compiled currently
21013 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21015 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21016 Add some simple tests for the new taglist date API.
21018 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21020 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21021 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21022 Beautify 'last-message' output: print 'none' for buffer timestamps
21023 and durations if none is set; improve alignment with next messages.
21025 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21027 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21028 * gst/gstpluginfeature.h:
21029 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21030 * gst/gstregistry.h:
21031 * docs/gst/gstreamer-sections.txt:
21032 Add new API to check plugin feature version requirements.
21034 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21035 Some basic tests for the above.
21037 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21039 * gst/gststructure.c: (gst_structure_to_string):
21040 guard against NULL printf - happens when for example
21041 a message structure with GstClock gets serialized
21043 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21045 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21046 Fix presumable copy'n'pasto.
21048 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21050 * gst/elements/gstfakesrc.h:
21051 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21052 * gst/elements/gsttypefindelement.c:
21053 fix some signedness
21054 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21055 I wonder if this could actually write +2GB files before
21057 2005-10-13 Andy Wingo <wingo@pobox.com>
21059 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21060 Fix Timmeke Waymans bug.
21061 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21062 string of the proper length to gst_caps_from_string. There's a
21063 potential for, before this fix, that this could cause someone
21064 connecting over the network to cause a segfault if the payload is
21065 not NUL-terminated.
21067 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21069 * docs/design/draft-push-pull.txt:
21070 * docs/design/part-overview.txt:
21071 * docs/random/TODO-pre-0.9:
21072 * docs/random/old/ChangeLog.gstreamer:
21073 * gst/base/gstpushsrc.c:
21077 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21079 * gst/glib-compat.c: (gst_flags_get_first_value):
21080 * gst/glib-compat.h:
21081 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21082 (gst_value_compare_double), (gst_value_serialize_flags):
21083 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21086 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21088 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21089 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21091 * tools/gst-launch.c: (event_loop):
21092 print out clock nicely
21094 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21096 * docs/gst/gstreamer-sections.txt:
21097 * gst/gsttaglist.h:
21098 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21099 (gst_tag_list_get_date_index):
21100 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21101 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21103 2005-10-13 Julien MOUTTE <julien@moutte.net>
21105 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21106 (gst_collectpads_chain):
21107 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21110 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21112 * docs/gst/gstreamer-sections.txt:
21115 * tools/gst-inspect.c: (main):
21116 * tools/gst-launch.c: (main):
21117 * tools/gst-run.c: (main):
21118 * tools/gst-xmlinspect.c: (main):
21119 fix GOption context leaks
21122 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21126 * win32/common/config.h:
21128 * win32/vs6/grammar.dsp:
21129 * win32/vs6/libgstelements.dsp:
21130 * win32/vs6/libgstreamer.dsp:
21133 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21136 * gst/base/gstbasesrc.c: (gst_base_src_query):
21137 fix more guint64<->gdouble conversions
21139 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21142 add win32-update target
21143 * win32/common/gstconfig.h:
21144 * win32/common/gstenumtypes.c:
21145 * win32/common/gstenumtypes.h:
21146 * win32/common/gstversion.h:
21147 add files that visual studio can't generate
21149 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21152 add a win32-update target
21155 2005-10-12 Wim Taymans <wim@fluendo.com>
21157 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21158 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21159 * gst/gstelement.c: (gst_element_commit_state),
21160 (gst_element_set_state):
21161 Protect flags with proper lock.
21162 unref provided cached clock in dispose.
21164 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21167 * gst/gstminiobject.h:
21169 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21170 removed unused flags from miniobject
21173 2005-10-12 Wim Taymans <wim@fluendo.com>
21175 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21176 (gst_file_sink_event), (gst_file_sink_render):
21177 Flush before seeking.
21179 2005-10-12 Andy Wingo <wingo@pobox.com>
21181 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21182 always been the case.
21184 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21186 * check/gst/gstbin.c: (GST_START_TEST):
21187 * docs/gst/gstreamer-sections.txt:
21188 * gst/base/gstbasesink.c: (gst_base_sink_init):
21189 * gst/base/gstbasesrc.c: (gst_base_src_init),
21190 (gst_base_src_get_range), (gst_base_src_check_get_range),
21191 (gst_base_src_start), (gst_base_src_stop):
21192 * gst/base/gstbasesrc.h:
21193 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21194 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21195 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21199 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21201 * gst/gstelement.c: (gst_element_is_locked_state),
21202 (gst_element_set_locked_state), (gst_element_commit_state),
21203 (gst_element_set_state):
21204 * gst/gstelement.h:
21205 * gst/gstindex.c: (gst_index_init):
21207 * gst/gstminiobject.h:
21208 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21209 (gst_object_set_parent):
21211 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21212 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21214 * gst/gstpadtemplate.h:
21215 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21216 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21217 * gst/gstpipeline.h:
21218 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21219 (gst_file_index_commit):
21220 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21221 * testsuite/pad/link.c: (gst_test_src_init),
21222 (gst_test_filter_init), (gst_test_sink_init):
21223 * testsuite/states/locked.c: (main):
21224 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21225 moved bitshift from macro to enum definition
21227 2005-10-12 Wim Taymans <wim@fluendo.com>
21229 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21230 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21231 (gst_file_sink_render):
21232 Some more debugging info.
21234 2005-10-12 Wim Taymans <wim@fluendo.com>
21236 * docs/design/part-states.txt:
21237 * tools/gst-launch.c: (main):
21239 Revert non-intentional change.
21241 2005-10-12 Wim Taymans <wim@fluendo.com>
21243 * check/gst/gstbin.c: (GST_START_TEST):
21244 * check/gst/gstelement.c: (GST_START_TEST):
21245 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21246 * check/gst/gstghostpad.c: (GST_START_TEST):
21247 * check/gst/gstpipeline.c: (GST_START_TEST):
21248 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21249 * check/states/sinks.c: (GST_START_TEST):
21250 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21251 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21252 (gst_bin_remove_func), (gst_bin_get_state_func),
21253 (gst_bin_recalc_state), (gst_bin_change_state_func),
21255 * gst/gstelement.c: (gst_element_get_state_func),
21256 (gst_element_get_state), (gst_element_abort_state),
21257 (gst_element_commit_state), (gst_element_set_state),
21258 (gst_element_change_state), (gst_element_change_state_func):
21259 * gst/gstelement.h:
21260 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21261 (gst_pipeline_provide_clock_func):
21262 * gst/gstutils.c: (gst_element_link_pads_filtered):
21263 * tools/gst-launch.c: (main):
21264 * tools/gst-typefind.c: (main):
21265 Use GstClockTime in _get_state() instead of GTimeVal.
21266 Remove old code in gstutils.c
21268 2005-10-12 Andy Wingo <wingo@pobox.com>
21270 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21273 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21274 there is no task. Shouldn't affect any code, as nothing in our
21275 plugins checks this return value.
21276 (gst_pad_stop_task): Also take the stream lock if the pad has no
21277 task. Docs updated.
21279 2005-10-12 Wim Taymans <wim@fluendo.com>
21281 * gst/gstpad.c: (pre_activate), (post_activate),
21282 (gst_pad_activate_pull), (gst_pad_activate_push):
21283 Cleanup activation code. Reset old state if
21286 2005-10-12 Wim Taymans <wim@fluendo.com>
21288 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21289 (gst_base_sink_change_state):
21290 No need to prerol after receiving EOS.
21292 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21293 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21294 * gst/elements/gstidentity.c: (gst_identity_event):
21295 Print events more verbosely.
21297 2005-10-12 Wim Taymans <wim@fluendo.com>
21299 * check/Makefile.am:
21300 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21301 * check/states/sinks2.c:
21302 Moved sinks2 testcode in sinks check.
21304 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21305 (gst_bin_remove_func), (gst_bin_recalc_state),
21306 (gst_bin_change_state_func), (bin_bus_handler):
21307 Fix potential race condition when _get_state() iterated over an
21308 ASYNC element right before it posted a state completion.
21311 Do proper cast here.
21313 * gst/gstevent.c: (gst_event_new_newsegment),
21314 (gst_event_parse_newsegment):
21315 A playback rate of 0.0 is not allowed.
21317 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21319 * win32/common/config.h:
21320 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21321 (_trewinddir), (_ttelldir), (_tseekdir):
21322 * win32/common/dirent.h:
21323 * win32/common/gtchar.h:
21324 * win32/common/libgstbase.def:
21325 * win32/common/libgstreamer.def:
21326 * win32/vs6/grammar.dsp:
21327 * win32/vs6/gst_inspect.dsp:
21328 * win32/vs6/gst_launch.dsp:
21329 * win32/vs6/gstreamer.dsw:
21330 * win32/vs6/libgstbase.dsp:
21331 * win32/vs6/libgstelements.dsp:
21332 * win32/vs6/libgstreamer.dsp:
21333 Visual Studio 6 project files, and a new common directory.
21336 2005-10-11 Wim Taymans <wim@fluendo.com>
21338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21339 (gst_base_sink_do_sync), (gst_base_sink_query),
21340 (gst_base_sink_change_state):
21341 * gst/base/gstbasesink.h:
21342 Correctly parse newsegment info.
21344 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21346 * gst/gst.c: (init_post):
21347 split plugin paths correctly
21349 2005-10-11 Wim Taymans <wim@fluendo.com>
21351 * check/gst/gstevent.c: (GST_START_TEST):
21352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21353 (gst_base_sink_change_state):
21354 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21355 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21356 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21357 * gst/gstevent.c: (gst_event_new_newsegment),
21358 (gst_event_parse_newsegment):
21360 Added extra flag to newsegment for future API freeze.
21361 Updated check and base elements.
21363 2005-10-11 Julien MOUTTE <julien@moutte.net>
21365 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21366 (gst_collectpads_add_pad), (gst_collectpads_pop),
21367 (gst_collectpads_event), (gst_collectpads_chain):
21368 * gst/base/gstcollectpads.h: Handle EOS correctly.
21370 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21372 * tools/gst-launch.c: (main):
21373 more null protecting
21375 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21377 * gst/gst-i18n-lib.h:
21378 check for ENABLE_NLS, not GETTEXT_PACKAGE
21379 * gst/gstregistry.c: (gst_registry_add_plugin),
21380 (gst_registry_scan_path_level),
21381 (_gst_registry_remove_cache_plugins):
21382 protect possibly NULL strings
21383 * gst/parse/types.h:
21384 config.h already included before
21385 * tools/gst-inspect.c: (main):
21386 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21387 check for ENABLE_NLS, not GETTEXT_PACKAGE
21388 * tools/gst-launch.c: (main):
21389 check for ENABLE_NLS, not GETTEXT_PACKAGE
21391 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21394 if we don't have glib, fail before testing 2.8
21395 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21396 fix a leak, should fix plugins-base testsuite
21398 2005-10-11 Andy Wingo <wingo@pobox.com>
21400 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21401 take the mode we're going to as an arg. Go head and set the mode
21402 and flushing flags now, so that if the activate function starts a
21403 thread all the flags will be in the right state.
21404 (post_activate): Renamed also. Just handle making sure streaming
21405 finishes for the deactivation case, and setting the deactivated
21407 (gst_pad_set_active): Complain loudly if deactivation fails.
21408 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21409 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21410 remove the terrible hack.
21412 2005-10-11 Wim Taymans <wim@fluendo.com>
21414 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21415 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21416 (gst_bin_recalc_state), (gst_bin_change_state_func),
21417 (gst_bin_dispose), (bin_bus_handler):
21419 Prepare to make current EOS message queue more generic.
21422 * gst/gstevent.c: (gst_event_new_newsegment),
21423 (gst_event_parse_newsegment):
21425 Rename base to stream_time.
21427 * gst/gstmessage.h:
21430 2005-10-11 Wim Taymans <wim@fluendo.com>
21432 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21433 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21434 (gst_bin_change_state_func), (bin_bus_handler):
21436 Work on proper clock selection.
21438 2005-10-11 Edward Hervey <edward@fluendo.com>
21440 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21441 * libs/gst/controller/gstcontroller.h:
21442 Added GList* version of _remove_properties() in order to be able to wrap
21445 2005-10-11 Wim Taymans <wim@fluendo.com>
21447 * docs/design/part-states.txt:
21450 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21451 (gst_bin_change_state_func), (bin_bus_handler):
21452 Doc updates. Don't distribute the same clock over and over again.
21458 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21459 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21460 (gst_pad_send_event):
21462 Make probe emission threadsafe again.
21463 Register quarks and move _get_name() from utils.
21466 * gst/gstpipeline.c: (gst_pipeline_class_init),
21467 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21468 Only redistribute the clock of it changed.
21470 * gst/gstsystemclock.h:
21475 Moved the _flow_get_name() to GstPad.
21477 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21479 * check/gst-libs/gdp.c: (GST_START_TEST):
21480 * check/gst/gstcaps.c: (GST_START_TEST):
21481 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21482 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21483 (gst_dp_packet_from_caps):
21484 fix more valgrind warnings before turning up the heat
21486 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21488 * gst/parse/grammar.y:
21489 some cleanup before the hacking
21491 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21493 * gst/base/gstbasesrc.c: (gst_base_src_query):
21495 * gst/gstutils.c: (gst_guint64_to_gdouble),
21496 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21498 externalize, basesrc uses it
21499 obviously the implementation needs testing
21501 2005-10-10 Wim Taymans <wim@fluendo.com>
21503 * tests/sched/Makefile.am:
21504 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21505 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21507 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21509 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21510 apparently converting from guint64 to double is not implemented
21513 2005-10-10 Wim Taymans <wim@fluendo.com>
21515 * check/Makefile.am:
21516 * check/generic/states.c: (GST_START_TEST):
21517 * check/gst/gstbin.c: (GST_START_TEST):
21518 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21519 * check/states/sinks.c: (GST_START_TEST):
21520 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21522 Check fixes, use API as stated in design docs, remove hacks.
21524 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21525 (gst_base_sink_change_state):
21526 Catch stopping our task while we're shutting down.
21528 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21529 (gst_bin_remove_func), (gst_bin_get_state_func),
21530 (gst_bin_recalc_state), (gst_bin_change_state_func),
21533 * gst/gstelement.c: (gst_element_init),
21534 (gst_element_get_state_func), (gst_element_abort_state),
21535 (gst_element_commit_state), (gst_element_lost_state),
21536 (gst_element_set_state), (gst_element_change_state),
21537 (gst_element_change_state_func):
21538 * gst/gstelement.h:
21539 New state change algorithm (see #318116)
21541 * gst/gstpipeline.c: (gst_pipeline_class_init),
21542 (gst_pipeline_init), (gst_pipeline_set_property),
21543 (gst_pipeline_get_property), (do_pipeline_seek),
21544 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21545 * gst/gstpipeline.h:
21546 Remove crude state change hacks.
21549 Remove crude hacks.
21551 * tools/gst-launch.c: (main):
21552 Fixes for state change. Needs some more work to fully use the
21555 2005-10-10 Andy Wingo <wingo@pobox.com>
21557 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21559 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21560 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21563 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21565 * gst/gstiterator.c: (gst_iterator_new):
21566 Fix my previous commit: GTypes passed to gst_iterator_new()
21567 can be fundamental types.
21569 2005-10-10 Wim Taymans <wim@fluendo.com>
21571 * gst/gstelement.c: (gst_element_iterate_pad_list),
21572 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21573 (gst_element_iterate_sink_pads):
21574 Use src/sink pads lists for the respective iterators instead
21577 2005-10-10 Andy Wingo <wingo@pobox.com>
21579 Merged in popt removal + GOption addition patch from Ronald, bug
21582 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21583 GstElement macros around, remove popt-related symbols, add goption
21586 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21588 * docs/gst/Makefile.am:
21589 * docs/libs/Makefile.am: No POPT_CFLAGS.
21591 * examples/manual/Makefile.am:
21592 * docs/manual/basics-init.xml: Doc updates with an example.
21594 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21595 (gst_init), (parse_one_option), (parse_goption_arg):
21596 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21597 bit of hand merging and debugging to get the GOption stuff working
21600 * tests/Makefile.am:
21601 * tools/Makefile.am:
21602 * tools/gst-inspect.c: (main):
21603 * tools/gst-launch.c: (main):
21604 * tools/gst-run.c: (main):
21605 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21607 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21609 * gst/gstiterator.c: (gst_iterator_new):
21610 Add assertions to make sure passed GType is likely to really
21611 be a GType (as the compiler won't catch it if the size and
21612 GType arguments get mixed up, see #318447).
21614 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21616 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21618 * gst/gstbin.c: (gst_bin_iterate_sorted):
21619 Pass GType and size arguments to gst_iterator_new() in the right
21620 order (maybe we should make _new() take the GType as first argument
21621 just like _new_list()?) (#318447).
21624 2005-10-10 Wim Taymans <wim@fluendo.com>
21626 * gst/gstelement.c: (gst_element_finalize):
21627 And free the GStaticRecMutex too
21629 2005-10-10 Andy Wingo <wingo@pobox.com>
21631 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21632 Allocate and free the mutex properly.
21634 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21636 (GstElement): The state_lock is now recursive. Rebuild your
21637 plugins, suckers. Old macros adapted.
21639 * docs/gst/gstreamer-sections.txt: Doc updates.
21642 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21643 (g_static_rec_cond_wait): Ported from state changes patch, while
21644 we wait on bug #317802 to be solved in a well-distributed GLib.
21646 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21647 gst_element_change_state, variable name changes.
21648 (gst_element_change_state): Split out of gst_element_set_state in
21649 preparation for the state change merge. Doesn't pay attention to
21650 the 'transition' argument.
21651 (gst_element_set_state): Updates, hopefully purely cosmetic.
21652 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21653 state change patch.
21654 (gst_element_get_state_func): Renamed from get_state, cosmetic
21657 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21659 * gst/elements/gstelements.c:
21660 * win32/GStreamer.vcproj:
21662 * win32/dirent.c: (_tseekdir):
21663 * win32/gst-inspect.vcproj:
21664 * win32/gst-launch.vcproj:
21665 * win32/gstconfig.h:
21666 * win32/gstelements.vcproj:
21667 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21668 * win32/gstreamer.def:
21669 * win32/msvc71.sln:
21670 updates for the win32 build (patch from Sebastien Moutte)
21672 2005-10-10 Andy Wingo <wingo@pobox.com>
21674 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21675 gst_bin_get_state, cleaned up (but no logic changes).
21676 (bin_element_is_sink): Comment updates.
21677 (sink_iterator_filter): Remove needless cast.
21678 (gst_bin_iterate_sinks): Doc update.
21679 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21680 cleaned up (but no logic changes).
21682 * check/states/sinks.c (test_src_sink): Cleanups from the state
21684 (test_livesrc_sink): Sync on the state.
21686 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21687 the state change patch.
21689 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21692 * check/gst/gstbin.c: Merge in some style fixes and additional
21693 checks from Wim's state change patch.
21695 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21697 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21698 (gst_type_find_helper):
21699 Check whether we have the requested data already in our list of
21700 cached buffers before pulling a new buffer; also make the buffer
21701 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21703 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21708 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21709 don't use long long, it's not portable. Replacing with
21710 gint64 seems to work; let's hope no skeletons fall out of the closet.
21712 2005-10-10 Andy Wingo <wingo@pobox.com>
21714 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21716 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21718 * docs/gst/gstreamer-sections.txt:
21723 * gst/gstmessage.c: (gst_message_parse_state_changed):
21726 more docs, fix compilation
21728 2005-10-09 Philippe Khalaf <burger@speedy.org>
21729 * gst/gstmessage.c:
21730 Fixed a few forgotten variables on previous commit
21732 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21734 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21735 Fix evil typefind crasher: getrange() might return a short
21736 buffer at the end of a file, but gst_type_find_peek() must
21737 either return the full data as requested or NULL, but
21738 never a short buffer.
21740 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21742 * gst/gstmessage.c: (gst_message_new_state_changed),
21743 (gst_message_parse_state_changed):
21744 * gst/gstmessage.h:
21745 don't use "new", it's a C++ keyword
21747 2005-10-08 Wim Taymans <wim@fluendo.com>
21749 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21750 * gst/gstelement.c: (gst_element_post_message):
21751 * gst/gstpipeline.c: (gst_pipeline_change_state):
21752 Small docs and debug updates.
21754 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21756 * docs/gst/gstreamer-sections.txt:
21757 * gst/gstelementfactory.c:
21759 * gst/gsttaglist.c:
21762 2005-10-08 Wim Taymans <wim@fluendo.com>
21764 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21765 (gst_bin_dispose), (bin_bus_handler):
21766 Fix typos, add comments.
21767 Clear EOS list when going to PAUSED from any direction and do it
21768 in a threadsafe way.
21769 Get base time in a threadsafe way too.
21770 Fix confusing debug in the change_state function.
21771 Various other small cleanups.
21773 * gst/gstelement.c: (gst_element_post_message):
21774 Fix very verbose bus posting code.
21776 * gst/gstpipeline.c: (gst_pipeline_class_init),
21777 (gst_pipeline_set_property), (gst_pipeline_get_property),
21778 (gst_pipeline_change_state):
21779 Small ARG_ -> PROP_ cleanup
21781 2005-10-08 Wim Taymans <wim@fluendo.com>
21783 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21784 Do a less CPU demanding EOS check because we can.
21786 2005-10-08 Wim Taymans <wim@fluendo.com>
21788 * libs/gst/dataprotocol/dataprotocol.c:
21789 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21790 (gst_dp_packet_from_event):
21791 * libs/gst/dataprotocol/dataprotocol.h:
21792 * libs/gst/dataprotocol/dp-private.h:
21793 It's about time we bump the version number.
21794 Since event types don't fit in the guint8 anymore describing
21795 the payload type, make payload type 16 bits wide.
21797 2005-10-08 Wim Taymans <wim@fluendo.com>
21799 * docs/design/part-TODO.txt:
21800 * docs/design/part-clocks.txt:
21801 * docs/design/part-events.txt:
21802 * docs/design/part-gstbin.txt:
21803 * docs/design/part-gstelement.txt:
21804 * docs/design/part-gstpipeline.txt:
21805 * docs/design/part-live-source.txt:
21806 * docs/design/part-messages.txt:
21807 * docs/design/part-overview.txt:
21808 * docs/design/part-states.txt:
21811 2005-10-08 Wim Taymans <wim@fluendo.com>
21815 Fix event quark registration.
21816 Add some space between events so we can insert them in the
21819 2005-10-08 Wim Taymans <wim@fluendo.com>
21821 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21822 (gst_base_sink_handle_buffer):
21823 Better log message.
21826 * gst/gstelement.h:
21829 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21830 (gst_queue_set_property), (gst_queue_get_property):
21832 Remove old unused properties.
21834 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21835 * docs/gst/gstreamer-sections.txt:
21836 * gst/gstmessage.c:
21837 * gst/gstmessage.h:
21838 * gst/gstminiobject.c:
21839 * gst/gstminiobject.h:
21843 lots of new docs and doc fixes
21845 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21847 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21849 * gst/gstregistry.c: (gst_registry_lookup_locked),
21850 (gst_registry_scan_path_level):
21851 * gst/gstregistryxml.c: (load_plugin):
21852 Only ever load one plugin for a given plugin basename.
21853 This ensures correct overriding of GST_PLUGIN_PATH over
21854 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21855 system installed plugins.
21857 2005-10-08 Wim Taymans <wim@fluendo.com>
21859 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21860 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21861 Prepare for doing QOS.
21863 2005-10-08 Wim Taymans <wim@fluendo.com>
21865 * check/gst/gstbin.c: (GST_START_TEST):
21866 * check/pipelines/cleanup.c: (GST_START_TEST):
21867 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21868 Allow new clock message too.
21870 2005-10-08 Wim Taymans <wim@fluendo.com>
21872 * gst/gstmessage.c: (gst_message_new_error),
21873 (gst_message_new_warning), (gst_message_new_tag),
21874 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21875 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21876 (gst_message_new_segment_start), (gst_message_new_segment_done),
21877 (gst_message_parse_state_changed),
21878 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21879 (gst_message_parse_new_clock):
21880 * gst/gstmessage.h:
21881 Also carry the clock in question.
21883 2005-10-08 Wim Taymans <wim@fluendo.com>
21885 * gst/gstmessage.c: (gst_message_new_custom),
21886 (gst_message_new_eos), (gst_message_new_error),
21887 (gst_message_new_warning), (gst_message_new_tag),
21888 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21889 (gst_message_new_new_clock), (gst_message_new_segment_start),
21890 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21891 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21892 * gst/gstmessage.h:
21894 Added clock related messages.
21896 * gst/gstpipeline.c: (gst_pipeline_change_state):
21897 Post message when the clock changed.
21899 * tools/gst-launch.c: (event_loop):
21902 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21904 * tools/gst-inspect.c: (print_element_properties_info):
21905 Can't pass NULL strings to g_print() on windows.
21907 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21909 * docs/Makefile.am:
21910 * docs/gst/Makefile.am:
21911 * docs/gst/gstreamer-docs.sgml:
21912 * docs/gst/running.xml:
21913 * docs/version.entities.in:
21914 add a chapter on running GStreamer.
21915 document GST_DEBUG and GST_PLUGIN* env vars
21917 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21922 remove PLUGINS_BUILDDIR stuff
21923 * gst/gst.c: (init_post):
21924 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21926 remove, it was condescending and not needed
21928 2005-10-08 Wim Taymans <wim@fluendo.com>
21930 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21931 (gst_base_sink_handle_object), (gst_base_sink_event),
21932 (gst_base_sink_wait), (gst_base_sink_handle_event),
21933 (gst_base_sink_change_state):
21934 * gst/base/gstbasesink.h:
21935 Repost EOS message while going to PLAYING if still EOS.
21936 Make sure that when receiving a FLUSH_START we don't attempt
21937 to sync on the clock anymore.
21939 2005-10-08 Wim Taymans <wim@fluendo.com>
21941 * tools/gst-launch.c: (event_loop):
21942 Better message printout.
21944 2005-10-08 Wim Taymans <wim@fluendo.com>
21946 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21947 (gst_bin_child_proxy_get_children_count):
21948 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21949 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21950 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21951 (gst_child_proxy_set_valist):
21952 * gst/parse/grammar.y:
21953 Make ChildProxy threadsafe and fix mem leaks.
21955 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21957 * gst/gst.c: (init_post):
21958 debug the GST_PLUGIN_ env vars
21960 2005-10-08 Wim Taymans <wim@fluendo.com>
21962 * check/gst/gstbin.c: (GST_START_TEST):
21963 * check/gst/gstmessage.c: (GST_START_TEST):
21964 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21965 * gst/gstelement.c: (gst_element_commit_state),
21966 (gst_element_lost_state):
21967 * gst/gstmessage.c: (gst_message_new_state_changed),
21968 (gst_message_parse_state_changed):
21969 * gst/gstmessage.h:
21970 * tools/gst-launch.c: (event_loop):
21971 Added extra field to STATE_CHANGE message with the pending
21972 state, which will be different from the new state soon.
21974 2005-10-08 Wim Taymans <wim@fluendo.com>
21976 * gst/gstbus.c: (gst_bus_pop):
21978 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21979 Small cleanups and doc updates.
21981 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21983 * gst/gst.c: (init_pre):
21984 * gst/gstbin.c: (gst_bin_add_func):
21985 log distributing clocks and base time
21986 * gst/gstregistry.c: (gst_registry_add_plugin),
21987 (gst_registry_scan_path_level), (gst_registry_scan_path):
21988 clean up the debugging output a little
21989 * gst/gstutils.c: (gst_element_state_get_name):
21990 warn about a memleak (I've actually seen this be used, though
21991 it was probably a bug)
21993 2005-10-07 Wim Taymans <wim@fluendo.com>
21995 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21996 (gst_base_src_init), (gst_base_src_default_newsegment),
21997 (gst_base_src_newsegment), (gst_base_src_do_seek),
21998 (gst_base_src_loop), (gst_base_src_start):
21999 * gst/base/gstbasesrc.h:
22000 Make the newsegment event customizable by subclasses.
22002 2005-10-07 Wim Taymans <wim@fluendo.com>
22004 * gst/gstevent.c: (gst_event_new_buffersize),
22005 (gst_event_parse_buffersize):
22007 New event for future idea.
22009 2005-10-07 Andy Wingo <wingo@pobox.com>
22011 * gst/gstelement.c (gst_element_post_message): Doc update.
22013 * docs/gst/gstreamer-sections.txt: Update.
22015 * gst/gstmessage.c (gst_message_new_application): Made into a
22016 function like honest API calls.
22017 (gst_message_new_element): New message type.
22019 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22021 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22022 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22025 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22026 NO_PREROLL from gst_element_change_state to fall through.
22028 2005-10-07 Wim Taymans <wim@fluendo.com>
22030 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22031 (gst_ghost_pad_do_activate_push):
22032 Activating a ghostpad with no internal pad in push mode
22035 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22038 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22039 Fixes compilation on Windows.
22041 2005-10-07 Michael Smith <msmith@fluendo.com>
22043 * tools/gst-inspect.c:
22044 Print out feature and plugin count at the end when printing out
22047 2005-10-04 Michael Smith <msmith@fluendo.com>
22049 * gst/gsterror.c: (_gst_stream_errors_init):
22050 Add another error string used in a few existing plugins.
22053 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22054 * tools/gst-inspect.c: (print_element_info):
22055 When a feature disappears from a plugin (and the feature exists in
22056 the cached registry file), things went horribly wrong. This isn't a
22057 complete fix, we should actually be removing the 'missing' features
22058 from the features list when we load the actual plugin. That's not
22061 2005-10-04 Johan Dahlin <johan@gnome.org>
22063 * check/gst/gstiterator.c: (GST_START_TEST):
22064 * gst/gstbin.c: (gst_bin_iterate_elements),
22065 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22066 * gst/gstelement.c: (gst_element_iterate_pads):
22067 * gst/gstformat.c: (gst_format_iterate_definitions):
22068 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22069 (gst_iterator_new_list), (gst_iterator_filter):
22070 * gst/gstiterator.h:
22071 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22072 Add a GType to GstIterator, update callsites and tests.
22074 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22076 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22077 give events a chance to be handled by event probes when the pad
22080 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22082 * gst/gstevent.c: (gst_event_type_get_name),
22083 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22085 add string representations for event types
22087 2005-10-06 Wim Taymans <wim@fluendo.com>
22089 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22090 Don't use NULL pointers.
22092 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22094 * gst/gst_private.h:
22096 * gst/gstelement.c:
22098 * gst/gstpluginfeature.c:
22099 widen the debug category in output to fit the biggest one we have
22100 add a bus category and use it
22101 play with the colors
22102 fix up some categories
22104 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22106 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22107 add push activation of sink ghost pads.
22108 Andye, please verify
22110 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22112 * gst/gstutils.c: (gst_element_link_pads):
22113 fix a bug in the case where neither element has a pad
22114 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22115 add a test for that case
22117 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22119 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22120 emit have-data before checking for peers. This allows
22121 for probe handlers to connect elements. This helps autopluggers.
22122 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22124 add six checks, linked/unlinked with no/true/false probe
22126 2005-10-04 Wim Taymans <wim@fluendo.com>
22128 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22129 (gst_fake_sink_event), (gst_fake_sink_preroll),
22130 (gst_fake_sink_render), (gst_fake_sink_change_state):
22131 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22132 (gst_fake_src_get_property), (gst_fake_src_create),
22133 (gst_fake_src_stop):
22134 * gst/elements/gstidentity.c: (gst_identity_stop):
22135 Protect last_message with lock.
22137 2005-10-04 Edward Hervey <edward@fluendo.com>
22140 Added precision in the comments for GST_FORMAT_DEFAULT
22142 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22144 * tools/gst-launch.c: (main):
22145 Don't try to run erroneous pipelines.
22147 2005-10-04 Julien MOUTTE <julien@moutte.net>
22149 * gst/gstbus.c: We don't need this header.
22151 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22154 back to development
22156 === release 0.9.3 ===
22158 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22162 Releasing 0.9.3, "Unregistered"
22164 2005-10-03 Andy Wingo <wingo@pobox.com>
22166 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22167 whereby calling a pad's activatepush() function can start a thread
22168 that starts to push or pull before the pad gets the FLUSHING flag
22169 unset. Hack around it by holding the stream lock until the flag is
22170 set. Need to replace this with a proper solution. Together with
22171 the ghost pad fixes, this fixes mp3 playing/tagreading.
22173 * docs/design/part-gstghostpad.txt: Add a note about activation of
22174 proxy pads outside of ghost pads.
22176 * gst/gstghostpad.c: Implement the ghost pad activation design.
22178 2005-10-02 Andy Wingo <wingo@pobox.com>
22180 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22181 It is volatile, after all.
22183 * docs/design/part-gstghostpad.txt: Flesh out activation with
22186 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22189 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22192 Fix (unused) AM_CONDITIONAL tests.
22194 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22196 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22198 * gst/gstutils.c: (gst_pad_query_convert):
22199 Add assertion that makes sure src_val is >=0, just like
22200 gst_query_new_convert() has. (#315895)
22202 2005-09-30 Edward Hervey <edward@fluendo.com>
22204 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22205 Let's not iterate pads we're not interested in, it avoids getting
22206 sky-high refcounts on sinkpad.
22208 2005-09-30 Wim Taymans <wim@fluendo.com>
22210 * gst/gstelement.c: (gst_element_set_state),
22211 (gst_element_change_state):
22212 Small tweak, element in ASYNC remains ASYNC.
22214 2005-09-30 Wim Taymans <wim@fluendo.com>
22216 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22217 Only error is an error.
22219 * gst/gstbin.c: (gst_bin_change_state):
22222 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22223 Also call pad_block in pad alloc.
22225 * gst/gstutils.c: (gst_flow_get_name):
22228 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22230 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22231 (gst_base_src_get_range):
22232 Fix documentation typos. Add some more debug info.
22234 2005-09-29 David Schleef <ds@schleef.org>
22236 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22237 more end-user friendly.
22238 * tools/gst-inspect.c: (main): Check if command-line argument is
22239 a file and attempt to load that file as a plugin.
22241 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22243 * check/gst/gstbin.c:
22244 * check/states/sinks.c:
22245 fix tests for the new warning
22246 * check/gst/gstpipeline.c:
22247 add a test for pipeline and bus interaction
22248 * gst/gstelement.c:
22249 elements should be NULL if they get disposed; add a warning if not
22251 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22254 for 2.6 refcounting, make debug log more correct by printing
22255 the actual refcounts at the time of swap (Wim)
22257 2005-09-29 Andy Wingo <wingo@pobox.com>
22259 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22260 removes signal watches previously added via
22261 gst_bus_add_signal_watch.
22262 (gst_bus_add_signal_watch): Don't return the source id, just store
22263 it on the bus if there wasn't an id already.
22265 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22266 add_signal_watch and remove_signal_watch.
22268 2005-09-29 Edward Hervey <edward@fluendo.com>
22270 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22271 Better if we actually iterate the list :)
22273 2005-09-29 Wim Taymans <wim@fluendo.com>
22275 * check/gst/gstbin.c: (GST_START_TEST):
22276 Change for new bus API.
22278 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22279 (send_messages), (GST_START_TEST), (gstbus_suite):
22280 Change for new bus signal API.
22282 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22283 (gst_bus_source_prepare), (gst_bus_source_check),
22284 (gst_bus_create_watch), (gst_bus_add_watch_full),
22285 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22286 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22288 Remove support for multiple GSources operating on different
22289 message types as it is too complex and unneeded when using
22291 Added support for receiving signals from the bus.
22293 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22295 * docs/libs/tmpl/gstdataprotocol.sgml:
22296 * docs/manual/advanced-dataaccess.xml:
22297 * gst/elements/gstcapsfilter.c:
22299 rename filter-caps to caps property
22301 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22303 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22304 More robust fraction string parsing.
22306 * docs/pwg/appendix-porting.xml:
22307 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22309 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22311 * gst/gstcaps.c: (gst_caps_do_simplify):
22312 Thou shalt not free a structure and then continue using it
22313 in the next loop iteration.
22315 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22317 Add test case for caps simplification.
22319 2005-09-29 Wim Taymans <wim@fluendo.com>
22321 * check/gst/gstbin.c: (GST_START_TEST):
22324 2005-09-29 Wim Taymans <wim@fluendo.com>
22326 * check/gst/gstbin.c: (GST_START_TEST):
22329 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22330 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22331 (find_element), (gst_bin_sort_iterator_next),
22332 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22333 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22334 (gst_bin_change_state), (gst_bin_dispose):
22335 A bin does not have a bus, it gets the bus from the parent.
22337 * gst/gstelement.c: (gst_element_requires_clock),
22338 (gst_element_provides_clock), (gst_element_is_indexable),
22339 (gst_element_is_locked_state), (gst_element_change_state),
22340 (gst_element_set_bus_func):
22343 * gst/gstpipeline.c: (gst_pipeline_class_init),
22344 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22345 The pipeline provides a bus.
22347 2005-09-28 Johan Dahlin <johan@gnome.org>
22349 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22350 gst_structure_get_enum instead of gst_structure_get_int
22352 * gst/gststructure.c (gst_structure_get_enum): Impl.
22354 * gst/gststructure.h (gst_structure_get_enum): Add
22356 * docs/gst/gstreamer-sections.txt: Ditto
22358 * gst/gstmessage.c (gst_message_new_state_changed): Use
22359 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22360 which does introspection.
22361 Reviewed by Christian Schaller
22363 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22365 * gst/gstinfo.c: (gst_debug_log_default):
22366 don't do dummy g_strdup()s
22367 * libs/gst/controller/gstcontroller.c:
22368 (on_object_controlled_property_changed),
22369 (gst_controlled_property_new), (gst_controller_new_valist),
22370 (gst_controller_new_list),
22371 (gst_controller_remove_properties_valist), (gst_controller_set),
22372 (gst_controller_get), (gst_controller_sync_values),
22373 (gst_controller_get_value_array), (_gst_controller_class_init),
22374 (gst_controller_get_type):
22375 * libs/gst/controller/gstcontroller.h:
22376 * libs/gst/controller/gstinterpolation.c:
22377 (gst_controlled_property_find_timed_value_node):
22378 convert // to /**/ comments
22380 2005-09-28 Wim Taymans <wim@fluendo.com>
22382 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22383 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22384 (gst_bus_sync_signal_handler):
22386 Added async-message and sync-message signals to the bus.
22387 Added helper BusFunc to emit signals for all posted messages.
22389 * gst/gstmessage.c: (gst_message_type_get_name),
22390 (gst_message_type_to_quark), (gst_message_get_type):
22391 * gst/gstmessage.h:
22392 Register quarks for message names.
22394 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22396 * docs/libs/gstreamer-libs-sections.txt:
22397 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22398 (gst_controller_new_list):
22399 * libs/gst/controller/gstcontroller.h:
22400 added another constructor for language bindings
22402 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22404 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22408 * gst/gstinfo.c: (_gst_debug_init):
22409 slightly more readable color for refcount debugging
22411 2005-09-28 Wim Taymans <wim@fluendo.com>
22413 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22414 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22415 (find_element), (gst_bin_sort_iterator_next),
22416 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22417 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22418 (gst_bin_change_state), (gst_bin_dispose):
22419 Small doc fixes. get_clock -> provide_clock.
22421 * gst/gstelement.c: (gst_element_class_init),
22422 (gst_element_provides_clock), (gst_element_provide_clock),
22423 (gst_element_get_clock), (gst_element_commit_state),
22424 (gst_element_lost_state):
22425 * gst/gstelement.h:
22426 Make get/set_clock() symetric. Add provide_clock vmethod since
22427 that is actually what this function does.
22429 * gst/gstpipeline.c: (gst_pipeline_class_init),
22430 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22431 (gst_pipeline_get_clock):
22432 get_clock -> provide_clock.
22434 2005-09-28 Andy Wingo <wingo@pobox.com>
22436 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22437 lieu of real docs...
22439 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22441 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22443 * gst/elements/gstcapsfilter.c:
22444 * gst/elements/gstfakesink.c:
22445 * gst/elements/gstfakesrc.c:
22446 * gst/elements/gstfdsink.c:
22447 * gst/elements/gstfdsrc.c:
22448 * gst/elements/gstfilesink.c:
22449 * gst/elements/gstfilesrc.c:
22450 * gst/elements/gstidentity.c:
22451 * gst/elements/gsttee.c:
22452 * gst/elements/gsttypefindelement.c:
22453 Make element details static.
22455 2005-09-28 Wim Taymans <wim@fluendo.com>
22457 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22458 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22459 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22460 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22461 (gst_bin_change_state), (gst_bin_dispose):
22462 Some documentation updates.
22463 Clean up dispose handlers.
22465 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22466 * gst/gstpad.c: (gst_pad_dispose):
22467 Clean up dispose handler.
22469 * gst/gstpipeline.c: (gst_pipeline_change_state):
22470 Removed spurious UNLOCK.
22472 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22474 * docs/gst/gstreamer-sections.txt:
22475 * gst/base/gstbasesrc.h:
22476 * gst/gstelement.h:
22480 * gst/gstpipeline.c:
22481 * gst/gstpipeline.h:
22484 added two new functions to the docs
22485 documents all undocumented GstXXXFlags
22486 completed some incomplete docs
22488 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22490 * gst/gstbin.c: (gst_bin_dispose):
22491 * gst/gstelement.c: (gst_element_dispose):
22492 remove now useless and leaky resurrection code in dispose
22493 * gst/base/gstbasesrc.c: (gst_base_src_init):
22494 * gst/gstelementfactory.c: (gst_element_factory_create):
22495 * gst/gstobject.c: (gst_object_set_parent):
22498 2005-09-27 Wim Taymans <wim@fluendo.com>
22500 * docs/design/part-TODO.txt:
22503 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22504 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22505 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22506 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22507 (gst_bin_change_state):
22508 * gst/gstelement.h:
22509 Remove element variable, we keep element info in the iterator now.
22511 2005-09-27 Andy Wingo <wingo@pobox.com>
22513 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22516 2005-09-27 Wim Taymans <wim@fluendo.com>
22518 * check/gst/gstbin.c: (GST_START_TEST):
22519 Enable check that works now.
22521 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22522 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22523 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22524 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22525 (gst_bin_change_state):
22527 Redid the state change algorithm using a topological sort algo.
22528 Handles all cases correctly.
22529 Exposed iterator for state change order.
22531 * gst/gstelement.h:
22532 Temp storage for state changes. Need to get rid of this soon.
22534 2005-09-27 Wim Taymans <wim@fluendo.com>
22536 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22537 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22538 (link_fold_func), (gst_pad_proxy_setcaps):
22539 Leak fixes, the fold functions need to unref the passed object and
22540 _get_parent_*() returns ref to parent.
22542 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22544 * check/gst/gstbuffer.c: (test_make_writable):
22545 Plug leak in test case and fix 'make check-valgrind'
22547 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22549 * gst/gstbuffer.c: (gst_subbuffer_init):
22550 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22551 works correctly in all circumstances (we could have just copied
22552 the parent buffer's readonly flag, but conceptually it seems
22553 cleaner to mark all subbuffers as read-only). (based on patch
22554 by Alessandro Decina, #314710).
22556 * check/gst/gstbuffer.c: (create_read_only_buffer),
22557 (test_make_writable), (test_subbuffer_make_writable),
22559 Add some tests for gst_buffer_make_writable().
22561 2005-09-27 Wim Taymans <wim@fluendo.com>
22563 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22564 use gst_object_has_ancestor().
22566 * gst/gstobject.c: (gst_object_has_ancestor):
22568 gst_object_has_ancestor() copied from gstbin.c as it is a
22571 * tests/instantiate/create.c: (create_all_elements):
22572 * tests/lat.c: (handoff_src), (handoff_sink):
22573 * tests/sched/runxml.c: (main):
22574 * tests/seeking/seeking1.c: (main):
22575 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22577 Fix compilation of some tests.
22579 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22582 Remove comment. GST_TYPE_G_ERROR is here to stay,
22583 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22584 (#316961, #300610).
22586 2005-09-26 Wim Taymans <wim@fluendo.com>
22588 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22589 Added check that shows error in state change order.
22591 2005-09-26 Wim Taymans <wim@fluendo.com>
22593 * gst/gstbin.c: (gst_bin_change_state):
22594 Make state change function use 3 queues again, we were
22595 adding elements in the wrong order.
22597 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22600 * gst/gstpad.c: (gst_pad_dispose):
22601 Added some debug info first.
22603 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22605 * docs/design/draft-push-pull.txt:
22606 * docs/design/part-events.txt:
22607 * docs/design/part-overview.txt:
22608 * docs/design/part-scheduling.txt:
22609 Replace all _pull_region() with _pull_range()
22611 2005-09-26 Andy Wingo <wingo@pobox.com>
22613 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22615 * check/gst-libs/controller.c: Update for controller api change.
22618 * tests/Makefile.am:
22619 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22620 over by GLib bug 118439.
22622 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22623 routines to a function.
22625 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22627 * libs/gst/controller/gsthelper.c:
22628 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22629 (gst_object_sync_values): Renamed from sink_values. Ugh.
22631 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22633 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22634 Renamed from controller_key, as it is exported.
22636 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22638 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22643 * gst/gstpadtemplate.h:
22646 * gst/gstqueryutils.c:
22647 * gst/gstqueryutils.h:
22648 remove queryutils headers after moving the two used functions
22649 to gstquery. also fixes build problem for gstsiddec
22651 2005-09-26 Michael Smith <msmith@fluendo.com>
22653 * tools/gst-launch.1.in:
22654 Correct documentation in manpage of debug syntax
22656 2005-09-26 Wim Taymans <wim@fluendo.com>
22658 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22659 (gst_base_src_is_seekable), (gst_base_src_change_state):
22660 Some more debugging info.
22662 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22664 * docs/gst/gstreamer-sections.txt:
22665 * gst/base/gstbasetransform.h:
22669 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22671 * docs/gst/.cvsignore:
22672 * docs/gst/tmpl/.cvsignore:
22673 * docs/gst/tmpl/gstpipeline.sgml:
22674 * docs/gst/tmpl/gstplugin.sgml:
22675 * gst/gstpipeline.c:
22678 inlined the last two docs files
22679 removed the tmpl directory from cvs (no more conflicts here!)
22681 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22683 * docs/gst/gstreamer-sections.txt:
22684 * docs/gst/tmpl/.cvsignore:
22685 * docs/gst/tmpl/gstpad.sgml:
22686 * docs/gst/tmpl/gstpadtemplate.sgml:
22688 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22689 (gst_pad_finalize), (gst_pad_set_pad_template):
22691 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22692 (gst_pad_template_class_init), (gst_pad_template_init),
22693 (gst_pad_template_dispose), (name_is_valid),
22694 (gst_static_pad_template_get), (gst_pad_template_new),
22695 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22696 (gst_pad_template_pad_created):
22697 * gst/gstpadtemplate.h:
22698 inlined two more docs
22699 factored gstpadtemplate out of gstpad
22701 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22703 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22704 (test_children_state_change_order_semi_sink):
22705 Fix test case: we can't rely on a fixed state change order when
22706 going from READY => PAUSED because the sink might commit its
22707 new state first when the first buffer created by the source
22708 reaches the sink before the source has finished its change state.
22709 (Test case still fails at times, see #316856, comment 5 onwards)
22711 2005-09-24 Wim Taymans <wim@fluendo.com>
22713 * docs/design/part-events.txt:
22714 * docs/design/part-gstbus.txt:
22715 * docs/design/part-gstpipeline.txt:
22716 * docs/design/part-messages.txt:
22717 * docs/design/part-overview.txt:
22718 * docs/design/part-segments.txt:
22722 * gst/gstelement.c:
22725 * gst/gstiterator.c:
22726 Various documentation updates.
22728 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22731 Well, that's embarassing. Luckily we weren't using
22732 GST_CLOCK_DIFF anywhere.
22734 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22736 * common/gtk-doc.mak:
22737 don't fail on building XML, FC4 slave shows a bunch of doc
22738 missing bits that I don't get
22740 * gst/gstpipeline.c:
22741 * gst/gststructure.c:
22744 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22746 * docs/design/part-gstbin.txt:
22747 * docs/design/part-gstbus.txt:
22749 Add blurb about how the bus goes into flushing mode and
22750 drops all messages when its bin goes from READY into NULL
22753 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22755 * docs/gst/gstreamer-sections.txt:
22756 * gst/gststructure.c: (gst_structure_get_clock_time):
22757 * gst/gststructure.h:
22758 add a method to get a GstClockTime out of a structure
22760 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22762 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22763 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22764 Added test to check state change order in bins (can still be made
22765 to fail here under heavy disk load; bails out with 'Push on pad
22766 fakesink:sink0, but it was not activated in push mode').
22768 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22769 Fix state change order when there is only a semi sink (#316856)
22771 * gst/gstbus.c: (gst_bus_class_init):
22772 Use _class_peek_parent(), not _class_ref(); fix docs to say
22773 'default main context' instead of 'mainloop' where that is
22776 * gst/gstelement.c: (gst_element_commit_state),
22777 (gst_element_set_state):
22778 Fix typos in debug messages
22780 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22783 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22784 * gst/gstpluginfeature.c:
22786 various doc updates
22787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22788 change an assert into an error until it gets fixed properly
22790 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22792 * docs/gst/gstreamer-sections.txt:
22793 * docs/gst/tmpl/.cvsignore:
22794 * docs/gst/tmpl/gstelement.sgml:
22795 * docs/gst/tmpl/gstinfo.sgml:
22796 * docs/gst/tmpl/gstobject.sgml:
22797 * gst/gstelement.c:
22798 * gst/gstelement.h:
22801 * gst/gstobject.c: (gst_object_class_init):
22803 inlined 3 more biiiig doc files and added some missing docs on the fly
22805 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22807 * check/gst/.cvsignore:
22808 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22809 * gst/gstregistryxml.c: (load_plugin),
22810 (gst_registry_xml_save_plugin):
22811 put back source in registry. add checks for find_plugin.
22812 * testsuite/states/bin.c: (assert_state), (empty_bin),
22813 (test_adding_one_element), (main):
22814 * testsuite/states/locked.c: (main):
22815 some compile/run fixes
22817 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22819 * check/gst/gstvalue.c: (GST_START_TEST):
22820 fix leaks in the test itself
22822 2005-09-22 Wim Taymans <wim@fluendo.com>
22824 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22825 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22826 (gst_base_sink_query):
22827 Prepare for more accurate position reporting and query
22830 * gst/gstelement.c: (gst_element_send_event),
22831 (gst_element_set_state):
22834 2005-09-22 Wim Taymans <wim@fluendo.com>
22836 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22837 (gst_query_parse_segment):
22839 More documentation.
22840 Add segment query for future use.
22842 2005-09-22 Wim Taymans <wim@fluendo.com>
22844 * gst/gstbin.c: (gst_bin_add_func):
22845 Some more debug info.
22847 * gst/gstelement.c: (gst_element_send_event):
22848 Simplify send_event
22850 * gst/gstelement.h:
22851 Don't know how flags got broken.
22856 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22858 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22859 Add simplistic test suite for GST_TYPE_DATE serialisation and
22862 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22864 * docs/gst/gstreamer-sections.txt:
22865 * gst/gststructure.c: (gst_structure_set_valist),
22866 (gst_structure_get_date):
22867 * gst/gststructure.h:
22868 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22869 (gst_date_copy), (gst_value_compare_date),
22870 (gst_value_serialize_date), (gst_value_deserialize_date),
22871 (gst_value_transform_date_string),
22872 (gst_value_transform_string_date), (_gst_value_initialize):
22874 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22875 bunch of utility functions along with a hack that checks that
22876 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22877 is required. Part of the grand scheme in #170777.
22879 2005-09-22 Andy Wingo <wingo@pobox.com>
22881 * gst/gstconfig.h.in: Psych out gtk-doc.
22883 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22885 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22887 * tools/gst-inspect.c (print_element_list): Plug some
22888 inconsequential leaks.
22890 * gst/gstregistry.c (gst_registry_get_default): Doc.
22892 * check/gst/gstplugin.c:
22893 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22894 * gst/gstelementfactory.c (gst_element_factory_create):
22895 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22898 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22899 (gst_plugin_feature_load): Doc, don't eat refs.
22901 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22902 (gst_plugin_list_free): Doc.
22903 (gst_plugin_load_file): Doc updates.
22905 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22906 accessors returning refcounted objects, return a ref.
22908 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22909 accessor for caps. IDEMPOTENCE. Oh yes.
22911 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22913 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22915 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22916 (_gst_debug_register_funcptr):
22917 Add mutex to serialise access to the hash table with
22918 the function pointer => function name string mapping;
22919 make that hash table static scope (#316809).
22921 * gst/registries/.cvsignore:
22922 Remove left-over file.
22924 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22926 * docs/pwg/appendix-porting.xml:
22927 And something about newsegment events and caps-on-buffers to
22928 the porting guide (feel free to improve).
22930 2005-09-21 Andy Wingo <wingo@pobox.com>
22932 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22933 data and event probes on the same pad.
22934 (test_buffer_probe_once): Test that removing probes from within
22935 the probe functions works.
22937 2005-09-21 Andy Wingo <wingo@pobox.com>
22939 * check/gst/gstutils.c: New file.
22940 (test_buffer_probe_n_times): A simple buffer probe test. More to
22943 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22944 have-data::buffer, not have-data.
22945 (gst_pad_add_event_probe): Likewise for have-data::event.
22946 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22947 peer' isn't quite right yet though.
22948 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22949 (gst_pad_remove_data_probe): Change to take the guint handler_id
22950 as their arg, not the function+data, which is more glib-like.
22952 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22953 the signal emission to indicate if the data is a buffer or an
22955 (gst_pad_get_type): Initialize buffer and event quarks.
22956 (gst_pad_class_init): have-data is now a detailed signal, yes it
22959 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22961 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22962 * gst/gstutils.c: (gst_util_set_value_from_string),
22963 (gst_util_set_object_arg):
22964 Don't put functional code in g_return_if_fail() or
22965 g_return_val_if_fail() statements, otherwise things will
22966 break when G_DISABLE_CHECKS is defined during compilation.
22968 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22970 * docs/gst/tmpl/.cvsignore:
22971 * docs/gst/tmpl/gstvalue.sgml:
22974 inlied another one and added some obvious docs
22976 2005-09-21 Wim Taymans <wim@fluendo.com>
22978 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22979 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22980 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22981 (gst_fdsrc_get_property), (gst_fdsrc_create):
22982 * gst/elements/gstfdsrc.h:
22983 Properly implement fdsrc. Removed signal and timeout,
22984 better implemented somewhere else.
22986 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22988 * docs/gst/tmpl/.cvsignore:
22989 * docs/gst/tmpl/gstimplementsinterface.sgml:
22990 * gst/gstinterface.c:
22993 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22995 * docs/gst/gstreamer-sections.txt:
22996 * docs/gst/tmpl/.cvsignore:
22997 * docs/gst/tmpl/gstenumtypes.sgml:
22998 remove obsolete doc file
23000 2005-09-21 David Schleef <ds@schleef.org>
23002 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23003 little beer, fix a little leak.
23005 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23007 * docs/gst/gstreamer-docs.sgml:
23008 * docs/gst/gstreamer-sections.txt:
23009 * docs/gst/tmpl/.cvsignore:
23013 * gst/gstelement.h:
23014 * gst/gstindex.c: (gst_index_class_init):
23016 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23017 (gst_index_factory_class_init), (gst_index_factory_init),
23018 (gst_index_factory_finalize), (gst_index_factory_new),
23019 (gst_index_factory_destroy), (gst_index_factory_find),
23020 (gst_index_factory_create), (gst_index_factory_make):
23021 * gst/gstindexfactory.h:
23022 * gst/gstpluginfeature.c:
23023 * gst/gstpluginfeature.h:
23024 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23025 more docs inlined, splitted gstindex.{c,h}
23027 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23029 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23032 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23034 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23035 Set sync to FALSE by default.
23037 2005-09-20 Wim Taymans <wim@fluendo.com>
23039 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23040 (gst_base_sink_init):
23041 Make sync property settable from subclass.
23043 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23044 (gst_fake_sink_change_state):
23045 Set sync to FALSE by default.
23047 2005-09-20 Wim Taymans <wim@fluendo.com>
23049 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23050 * tools/gst-launch.c: (main):
23051 The timeout handler should have lower priority than the source
23052 so we don't timeout before popping a message with 0 timeout.
23053 Dump error messages after failed state change.
23055 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23057 * tools/gst-inspect.c: (print_element_properties_info):
23060 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23062 * check/gst/gstevent.c:
23063 * gst/elements/gstfakesink.c:
23064 * gst/elements/gstfakesink.h:
23065 remove the sync property from fakesink.
23066 has the side effect of setting sync TRUE
23067 for fakesink, which is a change. Anyone who knows how
23068 to fix this nicely in a GObject-y way, feel free.
23070 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23072 * docs/gst/gstreamer-docs.sgml:
23073 remove probe refsection
23075 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23077 * check/Makefile.am:
23078 disable valgrinding the controller test again
23079 * docs/gst/gstreamer-sections.txt:
23080 update for api-changes
23082 2005-09-20 Wim Taymans <wim@fluendo.com>
23084 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23085 (gst_base_sink_set_property), (gst_base_sink_get_property),
23086 (gst_base_sink_do_sync):
23087 * gst/base/gstbasesink.h:
23088 Added sync property to basesink to disable clock sync.
23090 2005-09-20 Andy Wingo <wingo@pobox.com>
23092 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23093 eating the caller's refcount.
23095 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23096 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23099 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23100 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23101 of GLib 2.8 public, so we can know which refcount to check in
23104 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23105 (gst_object_init): Only set the gst refcount if we're going ahead
23106 with the refcount hack.
23108 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23110 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23111 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23112 more leaks plumbed, added more debug-logging
23116 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23118 * gst/gstmessage.c:
23119 remove include of gstmemchunk.h
23121 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23123 * gst/gstclock.c: (_gst_clock_id_free):
23124 Commit from the Political Party For More Atomic CVS Commits,
23125 so that people don't waste too much of their day fishing
23126 out obvious leaks out of massive commits.
23127 Oh, and fix a pretty damn obvious leak in the memchunk
23130 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23132 * check/Makefile.am:
23133 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23134 plug mem-leak, re-add to valgrindable tests
23136 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23139 unbreak the build for those who have chronic arthritis
23140 and typing "make check" is just too taxing on the hands
23142 2005-09-20 Andy Wingo <wingo@pobox.com>
23144 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23145 really want it out, you should fix plugins at the same time.
23147 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23150 * docs/gst/gstreamer-sections.txt:
23152 added missing symbols to api docs
23153 disable ref-count hack if we have glib >= 2.8
23155 2005-09-19 David Schleef <ds@schleef.org>
23157 * docs/gst/Makefile.am: Ignore a few more internal headers
23158 * docs/gst/gstreamer-docs.sgml: Remove old sections
23159 * docs/gst/gstreamer-sections.txt: Remove old sections
23160 * docs/gst/tmpl/gstobject.sgml: update
23161 * docs/gst/tmpl/gstplugin.sgml: update
23162 * docs/gst/tmpl/gstpluginfeature.sgml: update
23163 * docs/random/ds/0.9-suggested-changes: update.
23164 * gst/Makefile.am: remove memchunk and trashstack, since they're
23166 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23167 * gst/gst.h: don't include some headers
23168 * gst/gstchildproxy.c: add gstmarshal.h
23169 * gst/gstclock.c: Don't use memchunks
23170 * gst/gstminiobject.c: Add some docs
23171 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23172 * gst/gstobject.h: same
23173 * gst/gstplugin.c: include gstmacros.h
23174 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23175 * gst/gstquery.c: don't use memchunks
23176 * gst/gstregistry.c: rename gst_registry_deinit()
23177 * gst/gstregistry.h: same
23179 2005-09-19 David Schleef <ds@schleef.org>
23181 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23182 * docs/libs/gstreamer-libs-sections.txt:
23183 * docs/libs/tmpl/gstgetbits.sgml:
23184 * docs/libs/tmpl/gstputbits.sgml:
23186 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23188 * win32/gstenumtypes.c:
23189 * win32/gstenumtypes.h:
23192 2005-09-19 Wim Taymans <wim@fluendo.com>
23194 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23195 Automatically PAUSE and RESUME a pipeline when a flushing seek
23198 2005-09-19 Andy Wingo <wingo@pobox.com>
23200 * gst/gstregistry.h: Spacing fixen.
23202 2005-09-19 Wim Taymans <wim@fluendo.com>
23204 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23205 Handle state change failure more correctly.
23207 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23209 * check/Makefile.am:
23210 * check/pipelines/cleanup.c: (run_pipeline):
23211 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23213 enable cleanup again after fixing the leak
23215 some more info on docs
23217 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23219 * check/Makefile.am:
23220 re-enable tests now that leaks are plugged
23222 * check/gst/gstbin.c:
23223 * check/gst/gstpipeline.c:
23224 add some more tests while fixing leaks
23225 * common/check.mak:
23226 make sure binaries are uptodate when valgrinding/gdbing
23228 * gst/gstelementfactory.c:
23229 remove a ref too many, and add a FIXME for when we get
23230 round to disposing of classes
23232 fix the refcounting when loading a plugin from a file and
23233 the code pretends that the pointer is the same even though
23234 of course it can change
23235 * gst/gstpluginfeature.c:
23236 unref plugins marked cached (a bit confusing as a name)
23237 as the docs state should be done
23238 various doc additions to explain refcounting
23239 * gst/gstregistry.c:
23240 * gst/gstregistryxml.c:
23243 2005-09-19 Wim Taymans <wim@fluendo.com>
23245 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23246 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23247 (send_messages), (GST_START_TEST), (gstbus_suite):
23248 * check/gst/gstpipeline.c: (GST_START_TEST):
23249 * check/pipelines/cleanup.c: (run_pipeline):
23250 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23252 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23253 (gst_bus_source_check), (gst_bus_source_dispatch),
23254 (gst_bus_create_watch), (gst_bus_add_watch_full),
23255 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23257 * tools/gst-launch.c: (event_loop):
23258 * tools/gst-md5sum.c: (event_loop):
23259 GstBusHandler -> GstBusFunc, return value has the same meaning as
23260 any other GSource (FALSE == remove source).
23261 _add_watch() and _add_watch_full() now take a MessageType mask to
23262 only handle specific types of messages.
23263 _poll() returns the GstMessage instead of the message type to avoid
23265 _have_pending() takes a MessageType mask now too.
23266 Added testsuite for multiple bus watches.
23267 Fix testsuites and applications for new bus API.
23269 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23271 * check/Makefile.am:
23272 mark a bunch of the tests as to fix until we fix them
23274 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23276 * common/check.mak:
23277 use GST_PLUGIN settings for valgrind tests as well, so we're
23278 valgrinding the correct thing
23279 * gst/gst.c: (init_post):
23282 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23284 * gst/gst.c: (init_post), (gst_deinit):
23285 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23286 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23287 * gst/gstindex.c: (gst_index_factory_class_init),
23288 (gst_index_factory_finalize):
23289 * gst/gstobject.c: (gst_object_dispose):
23290 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23291 (gst_plugin_load_file), (gst_plugin_desc_free):
23292 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23293 (gst_plugin_feature_finalize):
23294 * gst/gstregistry.c: (gst_registry_class_init),
23295 (gst_registry_init), (gst_registry_finalize),
23296 (gst_registry_get_default), (gst_registry_deinit):
23297 * gst/gstregistry.h:
23298 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23299 various cleanups and memleak plugging. make valgrind is happy now.
23301 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23303 * common/check.mak:
23304 add a check-valgrind target
23306 2005-09-18 David Schleef <ds@schleef.org>
23308 * tools/gst-inspect.c: Revert the GOption code.
23310 2005-09-17 David Schleef <ds@schleef.org>
23312 * check/Makefile.am: Fix environment variables.
23313 * check/gst/gstplugin.c: Fix for API changes.
23314 * tools/gst-inspect.c: Fix for API changes.
23315 * tools/gst-xmlinspect.c: Fix for API changes.
23316 * gst/gstelementfactory.c:
23319 * gst/gstpluginfeature.c:
23320 * gst/gstpluginfeature.h:
23321 * gst/gstregistry.c:
23322 * gst/gstregistry.h:
23323 * gst/gstregistryxml.c:
23324 * gst/gsttypefind.c:
23325 * gst/gsttypefindfactory.c:
23326 * gst/indexers/gstfileindex.c:
23327 * gst/indexers/gstmemindex.c:
23328 * gst/schedulers/Makefile.am:
23329 Change registry to keep track of both plugins and features,
23330 removing the feature tracking from plugins themselves.
23332 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23334 * check/Makefile.am:
23335 * tools/gst-register.1.in:
23336 remove gst-register
23338 2005-09-15 David Schleef <ds@schleef.org>
23340 * check/gst/gstplugin.c:
23341 * gst/gstelementfactory.c:
23343 * gst/gstpluginfeature.c:
23344 * gst/gstregistry.c:
23345 Getting tired of debugging. Disabled all the unreffing of
23346 plugins and features, which fixes the segfaults, but of
23347 course leaks like crazy. At least playbin works.
23349 2005-09-15 David Schleef <ds@schleef.org>
23351 * check/gst/gstplugin.c: (register_check_elements),
23352 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23354 * gst/elements/gsttypefindelement.c: Fix refcounting.
23355 * gst/gsttypefind.c:
23356 * gst/gsttypefindfactory.c:
23357 * gst/gsttypefindfactory.h:
23359 2005-09-15 David Schleef <ds@schleef.org>
23361 * gst/gstindex.c: get refcounting correct.
23362 * gst/gstregistry.c: Handle the case where a feature/plugin is
23365 2005-09-15 David Schleef <ds@schleef.org>
23367 * check/Makefile.am:
23368 * check/gst/gstplugin.c: Add test
23369 * gst/gstplugin.c: Fix problems noticed by testsuite
23371 * gst/gstregistry.c:
23372 * gst/gstregistry.h:
23374 2005-09-15 David Schleef <ds@schleef.org>
23376 * gst/gstplugin.c: Implement semi-decent recounting and locking
23377 in plugins and plugin features.
23379 * gst/gstpluginfeature.c:
23380 * gst/gstpluginfeature.h:
23381 * gst/gstregistry.c:
23383 2005-09-15 Michael Smith <msmith@fluendo.com>
23385 * gst/gstregistry.c: (gst_registry_get_feature_list):
23386 Implement this. Makes oggdemux work; decodebin still broken.
23388 2005-09-14 David Schleef <ds@schleef.org>
23390 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23392 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23393 * gst/check/Makefile.am:
23394 * libs/gst/controller/Makefile.am:
23395 * libs/gst/dataprotocol/Makefile.am:
23397 2005-09-14 David Schleef <ds@schleef.org>
23399 * configure.ac: Remove getbits library. Nothing uses it, and
23400 it should be in something like liboil if someone did want
23402 * libs/gst/Makefile.am:
23403 * libs/gst/getbits/Makefile.am:
23404 * libs/gst/getbits/gbtest.c:
23405 * libs/gst/getbits/getbits.c:
23406 * libs/gst/getbits/getbits.h:
23407 * libs/gst/getbits/gstgetbits_generic.c:
23408 * libs/gst/getbits/gstgetbits_i386.s:
23409 * libs/gst/getbits/gstgetbits_inl.h:
23411 2005-09-14 David Schleef <ds@schleef.org>
23413 * gst/Makefile.am: Dist glib-compat.h
23415 2005-09-14 David Schleef <ds@schleef.org>
23417 * configure.ac: Remove gst/registries, since it's no longer used.
23418 * gst/registries/Makefile.am:
23419 * gst/registries/gstlibxmlregistry.c:
23420 * gst/registries/gstlibxmlregistry.h:
23421 * gst/registries/gstxmlregistry.c:
23422 * gst/registries/gstxmlregistry.h:
23423 * gst/registries/registrytest.c:
23425 2005-09-14 David Schleef <ds@schleef.org>
23427 * gst/glib-compat.h:
23428 * gst/gstregistryxml.c:
23429 Convergence is near. Seriously.
23431 2005-09-14 David Schleef <ds@schleef.org>
23433 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23434 * gst/glib-compat.h:
23435 Attempt #4 to appease the buildbots.
23437 2005-09-14 David Schleef <ds@schleef.org>
23439 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23442 2005-09-14 David Schleef <ds@schleef.org>
23444 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23447 2005-09-14 David Schleef <ds@schleef.org>
23449 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23452 2005-09-14 David Schleef <ds@schleef.org>
23454 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23455 * gst/glib-compat.h: Add some functions that are in newer versions
23456 of glib than we care to require.
23457 * gst/gstregistryxml.c: Use them.
23459 2005-09-14 David Schleef <ds@schleef.org>
23461 * po/POTFILES.in: remove gst-register.c
23463 2005-09-14 David Schleef <ds@schleef.org>
23465 * docs/gst/gstreamer-docs.sgml:
23466 * docs/gst/gstreamer-sections.txt:
23467 * docs/gst/gstreamer.types:
23468 * docs/gst/tmpl/gstelement.sgml:
23469 * docs/gst/tmpl/gstplugin.sgml:
23470 * docs/gst/tmpl/gstpluginfeature.sgml:
23471 Documentation updates for registry changes.
23473 2005-09-14 David Schleef <ds@schleef.org>
23475 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23476 because we don't require glib-2.8.
23478 2005-09-14 David Schleef <ds@schleef.org>
23480 * gst/gstregistryxml.c: Added. Essentially moved out of the
23481 registries directory.
23483 2005-09-14 David Schleef <ds@schleef.org>
23485 * check/Makefile.am:
23486 * check/generic/states.c:
23490 * gst/gst_private.h:
23491 * gst/gstelementfactory.c:
23496 * gst/gstpluginfeature.c:
23497 * gst/gstpluginfeature.h:
23498 * gst/gstregistry.c:
23499 * gst/gstregistry.h:
23500 * gst/gstregistrypool.c: remove
23501 * gst/gstregistrypool.h: remove
23502 * gst/gsttypefind.c:
23503 * gst/gsttypefindfactory.c:
23505 * tools/Makefile.am:
23506 * tools/gst-compprep.c:
23507 * tools/gst-inspect.c:
23508 * tools/gst-register.c: remove
23509 * tools/gst-xmlinspect.c:
23510 Registry rewrite. Changes registry from being a file created
23511 by a tool into a simple cache file created automatically by
23512 libgstreamer. Removed gst-register (because it's no longer
23513 needed). Remove registry pools, because we only have one
23514 registry implementation (XML). Fix up other subsystems as
23517 2005-09-13 Michael Smith <msmith@fluendo.com>
23519 * gst/gstconfig.h.in:
23520 Don't Use windows linking attributes for MinGW. Fixes #316157
23522 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23524 * gst/gstutils.c: (set_state_async_thread_func),
23525 (gst_element_set_state_async):
23526 Apparently people think it's better if this function doesn't
23527 try to set the state to whatever state was asked for on the first
23528 call to this function for any object. Seriously.
23530 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23532 * check/gst/gstpipeline.c: (GST_START_TEST):
23533 * docs/gst/gstreamer-sections.txt:
23534 * gst/gstutils.c: (set_state_async_thread_func),
23535 (gst_element_set_state_async):
23537 add a "gst_element_set_state_async" method that
23538 sets the state and starts a thread to make sure the state
23539 change completes as best as it can
23541 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23543 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23544 codify design+behaviour in testsuite after discussion
23546 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23548 * docs/gst/tmpl/gstelement.sgml:
23549 * docs/manual/appendix-quotes.xml:
23551 * gst/gstelement.c: (gst_element_set_state):
23554 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23556 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23557 (gst_base_transform_prepare_output_buf),
23558 (gst_base_transform_handle_buffer):
23559 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23560 (gst_capsfilter_prepare_buf):
23561 Remove the requirement for sub-classes to call the parent
23562 implementation of prepare_output_buffer with a wrapper function.
23564 * gst/gsttaglist.h:
23565 * gst/gsttagsetter.h:
23566 Fix #define wrapper
23568 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23570 * docs/gst/gstreamer-sections.txt:
23573 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23575 * docs/gst/gstreamer-sections.txt:
23576 * docs/gst/tmpl/gstelement.sgml:
23577 * docs/gst/tmpl/gstplugin.sgml:
23578 * gst/gstminiobject.c:
23580 docs now stop throwing warnings
23582 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23584 * docs/gst/gstreamer-sections.txt:
23585 * docs/gst/gstreamer.types:
23586 * docs/gst/tmpl/gstpad.sgml:
23587 * docs/gst/tmpl/gsttypes.sgml:
23588 * gst/base/gstadapter.h:
23589 * gst/base/gstbasesink.h:
23590 * gst/base/gstbasesrc.h:
23596 * gst/gstelement.h:
23598 * gst/gstmessage.h:
23600 * gst/gststructure.c:
23601 * gst/registries/gstlibxmlregistry.h:
23602 various documentation fixes
23604 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23606 * docs/gst/gstreamer-sections.txt:
23607 * docs/gst/tmpl/gstvalue.sgml:
23608 rearrange gstvalue section
23609 * gst/gstutils.c: (gst_element_state_get_name):
23611 * gst/gstvalue.c: (_gst_value_initialize):
23615 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23617 * check/gst-libs/controller.c:
23618 Header include fix.
23619 * gst/base/gstbasetransform.c:
23620 (gst_base_transform_default_prepare_buf),
23621 (gst_base_transform_handle_buffer):
23622 * gst/base/gstbasetransform.h:
23623 Some more basetransform changes and fixes to enable sub-classes
23624 that modify buffer metadata only.
23625 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23626 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23627 (gst_capsfilter_prepare_buf):
23628 If the output pad has fixed allowed caps and input buffers
23629 don't have any, set the fixed caps on outgoing buffers.
23631 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23632 * check/elements/identity.c: (GST_START_TEST):
23633 Make the error a little clearer when the test fails because
23634 identity made a copy of the buffer.
23635 * docs/gst/gstreamer-sections.txt:
23636 New symbols in gstbasetransform.h
23637 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23638 (gst_base_transform_init), (gst_base_transform_transform_size),
23639 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23640 (gst_base_transform_default_prepare_buf),
23641 (gst_base_transform_get_unit_size),
23642 (gst_base_transform_buffer_alloc),
23643 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23644 (gst_base_transform_change_state),
23645 (gst_base_transform_set_passthrough),
23646 (gst_base_transform_set_in_place),
23647 (gst_base_transform_is_in_place):
23648 * gst/base/gstbasetransform.h:
23649 Change BaseTransform to separate in_place operate from same_caps
23650 output. in_place implies that the element can perform the transform
23651 on incoming buffers in-place, even if the caps on the output are
23653 Sub-class elements can now implement special buffer allocation
23654 methods for outgoing buffers if they wish to.
23655 Big documentation addition.
23656 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23657 * gst/elements/gstelements.c:
23658 Changes for basetransform modifications.
23659 * gst/elements/Makefile.am:
23660 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23661 Compile fix. Extra debug output.
23663 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23665 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23667 add tests for valid pad naming
23668 * gst/check/gstcheck.c: (gst_check_log_message_func),
23669 (gst_check_log_critical_func):
23671 remove printing of code, it is fragile when the code contains
23672 % and the line number is enough info
23673 * gst/check/gstcheck.h:
23674 * gst/gstpad.c: (gst_pad_template_new):
23677 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23680 say what CHECK flags we use
23681 * docs/libs/gstreamer-libs.types:
23682 * libs/gst/controller/Makefile.am:
23683 * libs/gst/controller/gst-controller.c:
23684 * libs/gst/controller/gst-controller.h:
23685 * libs/gst/controller/gst-helper.c:
23686 * libs/gst/controller/gst-interpolation.c:
23687 * libs/gst/controller/gstcontroller.c:
23688 * libs/gst/controller/gsthelper.c:
23689 * libs/gst/controller/gstinterpolation.c:
23690 * tools/gst-inspect.c: (print_plugin_info):
23691 we don't use dashes in header names
23693 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23695 * check/Makefile.am:
23696 * check/gst/.cvsignore:
23697 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23698 (gst_pipeline_suite), (main):
23699 adding a test for pipelines and state changes
23700 * gst/gstutils.c: (get_state_func):
23702 * gstreamer.spec.in:
23705 2005-09-08 Michael Smith <msmith@fluendo.com>
23707 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23708 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23709 (gst_file_src_is_seekable), (gst_file_src_get_size),
23710 (gst_file_src_start):
23711 * gst/elements/gstfilesrc.h:
23712 Various fixes for unseekable, unmmapable, and non-normal files, so
23713 that fallback to read() rather than mmap() works.
23714 * gst/gstevent.c: (gst_event_new_newsegment):
23715 Allow newsegment events with segment_start == segment_end, as will
23716 correctly happen if you use filesrc on a zero-size file, for
23719 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23721 * gst/gstplugin.c: (gst_plugin_load_file):
23722 Call g_module_close when we don't load the module
23724 * gst/registries/gstlibxmlregistry.c:
23725 (gst_xml_registry_get_property):
23726 Port leak fix from 0.8
23728 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23730 * docs/gst/gstreamer-docs.sgml:
23731 * docs/gst/tmpl/.cvsignore:
23732 * docs/gst/tmpl/gsttrace.sgml:
23733 * docs/gst/tmpl/gsttrashstack.sgml:
23736 * gst/gstelement.h:
23738 * gst/gstmessage.c:
23739 * gst/gstmessage.h:
23742 * gst/gsttaginterface.c:
23743 * gst/gsttaginterface.h:
23744 * gst/gsttaglist.c:
23745 * gst/gsttaglist.h:
23746 * gst/gsttagsetter.c:
23747 * gst/gsttagsetter.h:
23750 * gst/gsttrashstack.c:
23751 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23752 inlined docs for gsttrace, gsttrashstack
23754 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23757 * gst/elements/gstbufferstore.h:
23758 * gst/elements/gsttypefindelement.c:
23759 * gst/elements/gsttypefindelement.h:
23761 * gst/gsttypefind.c:
23762 * gst/gsttypefind.h:
23763 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23764 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23765 (gst_type_find_factory_dispose),
23766 (gst_type_find_factory_unload_thyself),
23767 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23768 (gst_type_find_factory_get_caps),
23769 (gst_type_find_factory_get_extensions),
23770 (gst_type_find_factory_call_function):
23771 * gst/gsttypefindfactory.h:
23772 * gst/registries/gstlibxmlregistry.c:
23773 * gst/registries/gstxmlregistry.c:
23774 splitted gsttypefind into gsttypefind, gsttypefindfactory
23776 2005-09-07 Andy Wingo <wingo@pobox.com>
23778 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23779 condition whereby the pad's task function is entered before the
23780 pad_mode variable was set.
23782 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23784 * gst/gstpad.c: (gst_pad_alloc_buffer):
23785 Catch misbehaving pad_alloc functions that don't
23786 set up caps and do it for them.
23788 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23790 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23791 test for pipe!=NULL
23792 * docs/gst/tmpl/.cvsignore:
23793 * docs/gst/tmpl/gstmemchunk.sgml:
23794 * docs/gst/tmpl/gstparse.sgml:
23795 * docs/gst/tmpl/gsttaglist.sgml:
23796 * docs/gst/tmpl/gsttagsetter.sgml:
23797 * docs/gst/tmpl/gsttypefind.sgml:
23798 * docs/gst/tmpl/gsttypefindfactory.sgml:
23799 * gst/gstmemchunk.c:
23802 * gst/gsttaginterface.c:
23803 * gst/gsttypefind.c:
23804 * gst/gsttypefind.h:
23807 === release 0.9.2 ===
23809 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23814 releasing 0.9.2, "South"
23816 2005-09-05 Andy Wingo <wingo@pobox.com>
23818 * gst/registries/gstxmlregistry.h:
23819 * gst/registries/gstxmlregistry.c: Um... resurrect...
23821 * gst/registries/gstxmlregistry.h:
23822 * gst/registries/gstxmlregistry.c: and update to newer API.
23823 Incidentally they should be a bit faster now that they don't have
23826 2005-09-05 Andy Wingo <wingo@pobox.com>
23828 * gst/registries/gstxmlregistry.h:
23829 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23830 replaced by the libxml registry a while back
23832 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23834 * docs/gst/tmpl/gstplugin.sgml:
23835 * gst/elements/gstelements.c:
23837 * gst/gstplugin.c: (gst_plugin_register_func),
23838 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23839 (gst_plugin_get_source):
23841 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23842 (gst_xml_registry_save_plugin):
23843 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23844 (gst_xml_registry_save_plugin):
23845 * tools/gst-inspect.c: (print_plugin_info):
23846 add a "source" plugin description field, to represent the source
23847 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23848 will set it to PACKAGE, which is automake's idea of the name of
23849 the source project.
23851 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23856 * docs/Makefile.am:
23857 * docs/faq/Makefile.am:
23858 * docs/gst/tmpl/gstelement.sgml:
23859 * docs/gst/tmpl/gsttypes.sgml:
23860 * docs/htmlinstall.mak:
23861 * docs/manual/Makefile.am:
23862 * docs/pwg/Makefile.am:
23863 reorganize doc build a little
23864 split out docbook and gtk-doc stuff
23865 have two separate --enable's and enable them through autogen
23866 but disable by default in configure (to be similar to other
23868 * gstreamer.spec.in:
23869 clean up docs install
23887 translation updates
23889 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23891 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23894 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23895 (gst_fake_sink_change_state):
23896 Make state change function thread-safe.
23898 * gst/gstpad.c: (gst_pad_alloc_buffer):
23899 Set offset on generic buffer allocated by fallback.
23901 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23903 * docs/gst/gstreamer-sections.txt:
23904 * docs/gst/tmpl/gstelement.sgml:
23906 * libs/gst/controller/gst-controller.c:
23907 (gst_controlled_property_set_interpolation_mode),
23908 (gst_controlled_property_new),
23909 (gst_controller_find_controlled_property):
23910 run the wingo-magic script against the docs
23912 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23914 * docs/gst/gstreamer-docs.sgml:
23915 * docs/gst/gstreamer-sections.txt:
23916 * docs/gst/tmpl/.cvsignore:
23917 * docs/gst/tmpl/gstelementdetails.sgml:
23918 * docs/gst/tmpl/gstelementfactory.sgml:
23921 * gst/gstelementfactory.c:
23922 * gst/gstelementfactory.h:
23923 merged elementdetails docs into elementfactory docs
23926 2005-09-02 Andy Wingo <wingo@pobox.com>
23928 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23929 consider this enum an enum and not a flags.
23931 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23933 * docs/gst/gstreamer-docs.sgml:
23934 * docs/gst/tmpl/.cvsignore:
23935 * docs/gst/tmpl/gstghostpad.sgml:
23936 * docs/gst/tmpl/gstiterator.sgml:
23937 * docs/gst/tmpl/gstmacros.sgml:
23938 * docs/gst/tmpl/gstrealpad.sgml:
23939 * docs/gst/tmpl/gstregistry.sgml:
23940 * docs/gst/tmpl/gstregistrypool.sgml:
23941 * docs/gst/tmpl/gststructure.sgml:
23942 * docs/gst/tmpl/gstsystemclock.sgml:
23943 * docs/gst/tmpl/gsttrace.sgml:
23944 * gst/gstghostpad.c:
23946 * gst/gstmemchunk.c:
23947 * gst/gstmemchunk.h:
23949 * gst/gstregistry.c:
23950 * gst/gstregistrypool.c:
23951 * gst/gststructure.c:
23952 * gst/gstsystemclock.c:
23955 2005-09-02 Andy Wingo <wingo@pobox.com>
23957 * gst/gstelement.h (GstState): Renamed from GstElementState,
23958 changed to be a normal enum instead of flags.
23959 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23960 munged to be GST_STATE_CHANGE_*.
23961 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23962 work with the new state representation.
23963 (GstStateChange): New enumeration of possible state transitions.
23964 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23965 (GstElementClass::change_state): Pass the GstStateChange along as
23966 an argument. Helps language bindings, so they don't have to use
23967 tricky lock-needing macros like GST_STATE_CHANGE ().
23969 * scripts/update-states (file): New script. Run it on a file to
23970 update it for state naming and API changes. Updates files in
23973 * All files updated for the new API.
23975 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23977 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23978 * gst/gstutils.c: (gst_util_set_value_from_string),
23979 (gst_util_set_object_arg):
23980 fix a bunch of unchecked return values
23981 * tools/gst-complete.c: (main):
23982 * gstreamer.spec.in:
23985 2005-09-01 Wim Taymans <wim@fluendo.com>
23987 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23988 (gst_base_sink_event), (gst_base_sink_do_sync),
23989 (gst_base_sink_handle_event):
23990 * gst/base/gstbasesink.h:
23991 Handle newsegments more correctly.
23996 * gst/gstevent.c: (gst_event_new_newsegment):
23997 A newsegment cannot have a start_time of -1
23999 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24001 * win32/gstenumtypes.c:
24002 * win32/gstenumtypes.h:
24005 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24007 * libs/gst/controller/gst-controller.c:
24008 (gst_controlled_property_set_interpolation_mode),
24009 (gst_controlled_property_new):
24010 fixed boolean again
24012 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24014 * docs/faq/gst-uninstalled:
24019 * gst/gstutils.c: (gst_element_link_filtered):
24021 add gst_element_link_filtered
24023 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24025 * docs/gst/gstreamer-docs.sgml:
24026 * docs/gst/gstreamer-sections.txt:
24027 * docs/gst/tmpl/.cvsignore:
24028 * docs/gst/tmpl/gsterror.sgml:
24029 * docs/gst/tmpl/gstfilter.sgml:
24030 * docs/gst/tmpl/gsturihandler.sgml:
24031 * docs/gst/tmpl/gsturitype.sgml:
24032 * docs/gst/tmpl/gstutils.sgml:
24033 * docs/gst/tmpl/gstxml.sgml:
24038 * gst/gsturitype.c:
24041 inlined more docs, fixed double id-ref
24043 2005-08-31 Wim Taymans <wim@fluendo.com>
24045 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24046 (gst_base_transform_handle_buffer):
24047 Passthrough elements don't need the caps as they don't care.
24049 2005-08-31 Wim Taymans <wim@fluendo.com>
24051 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24052 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24053 Don't leak refcounts on buffers.
24055 2005-08-31 Wim Taymans <wim@fluendo.com>
24057 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24058 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24059 (gst_base_transform_chain), (gst_base_transform_change_state):
24060 * gst/base/gstbasetransform.h:
24061 Handle the case where we are not negotiated more gracefully.
24063 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24065 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24066 (gst_file_src_map_region):
24067 Set READONLY flag on mmap'ed buffers, otherwise
24068 gst_buffer_make_writable() won't work properly (#314708).
24070 2005-08-31 Wim Taymans <wim@fluendo.com>
24072 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24073 passthrough elements can even do inplace on non writable
24074 buffers (as they don't touch them).
24076 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24078 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24079 (gst_test_mono_source_set_property),
24080 (gst_test_mono_source_class_init), (GST_START_TEST),
24081 (gst_controller_suite):
24082 more tests (hehe I have the most)
24084 describe popping messages whenusing mulltiple sources
24085 * libs/gst/controller/gst-controller.c:
24086 (gst_controlled_property_set_interpolation_mode),
24087 (gst_controlled_property_new):
24088 * libs/gst/controller/gst-controller.h:
24089 * libs/gst/controller/gst-interpolation.c:
24090 implement boolean properties
24092 2005-08-31 Wim Taymans <wim@fluendo.com>
24094 * gst/gstminiobject.c: (gst_mini_object_ref):
24095 Cannot assert that the refcount has to be positive
24096 since a disposed object can be resurrected.
24098 2005-08-31 Wim Taymans <wim@fluendo.com>
24100 * gst/gstpad.c: (gst_pad_init):
24101 Revert change, need to first fix badly behaving
24104 2005-08-30 Wim Taymans <wim@fluendo.com>
24106 * check/elements/fakesrc.c: (setup_fakesrc):
24107 * check/elements/identity.c: (setup_identity):
24108 Activate pads before using them.
24110 2005-08-30 Wim Taymans <wim@fluendo.com>
24112 * gst/base/gstadapter.c: (gst_adapter_flush):
24113 Flushing out 0 bytes is ok for this function.
24115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24116 no newsegment gives a warning and sets the start/stop to
24119 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24120 (gst_base_transform_set_passthrough):
24123 * gst/gstminiobject.c: (gst_mini_object_ref):
24124 Check refcount here too.
24126 * gst/gstpad.c: (gst_pad_init):
24127 Pads are initially flushing and refusing data.
24129 * gst/gstutils.c: (gst_element_link_pads_filtered):
24130 When adding a capsfilter element make sure it has the
24131 same state as the parent bin.
24133 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24135 * docs/gst/tmpl/.cvsignore:
24136 * docs/gst/tmpl/gstformat.sgml:
24137 * docs/gst/tmpl/gstversion.sgml:
24141 * gst/gstversion.h.in:
24142 more docs and two more inlined
24144 2005-08-30 Wim Taymans <wim@fluendo.com>
24146 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24147 Don't sync to clock.
24149 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24151 * docs/gst/gstreamer-sections.txt:
24152 ultral33t func10ns deserve to appear in the docs actually
24153 * docs/gst/tmpl/.cvsignore:
24154 * docs/gst/tmpl/gstcompat.sgml:
24155 * docs/gst/tmpl/gstconfig.sgml:
24156 * gst/check/gstcheck.c:
24158 * gst/gstconfig.h.in:
24161 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24163 * docs/gst/tmpl/.cvsignore:
24164 * docs/gst/tmpl/gstquery.sgml:
24165 * docs/gst/tmpl/gstutils.sgml:
24168 inlined and extended docs
24170 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24172 * check/gst-libs/controller.c: (GST_START_TEST),
24173 (gst_controller_suite):
24175 * docs/gst/tmpl/gstutils.sgml:
24176 * docs/libs/gstreamer-libs-sections.txt:
24177 * docs/libs/tmpl/gstdataprotocol.sgml:
24179 * examples/controller/audio-example.c: (main):
24180 controller example works now
24183 * tools/gst-inspect.c: (print_element_properties_info):
24184 show param spec flags
24186 2005-08-29 Andy Wingo <wingo@pobox.com>
24188 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24190 2005-08-28 Andy Wingo <wingo@pobox.com>
24192 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24193 as having two arguments instead of just one. Allows superclasses
24194 to access information on subclasses -- see the terrible for() loop
24195 in gtype.c:g_type_create_instance for the reason why. All callers
24198 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24200 * docs/design/part-messages.txt:
24202 * docs/gst/tmpl/.cvsignore:
24203 * docs/gst/tmpl/gstcaps.sgml:
24204 * docs/gst/tmpl/gstclock.sgml:
24210 * gst/gstmessage.c:
24211 added descriptions for bus and message
24212 inline caps and clock docs
24214 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24216 * gst/gstmessage.c:
24217 * gst/gstmessage.h:
24220 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24222 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24225 2005-08-26 Andy Wingo <wingo@pobox.com>
24227 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24228 element_set_state's return val.
24229 (test_2_elements): Add test that's been disabled for months.
24231 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24232 can-activate-pull properties.
24234 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24235 can-activate-pull properties. Implement is_seekable so fakesrc can
24236 operate in pull mode.
24238 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24240 (gst_base_sink_activate, gst_base_sink_activate_pull)
24241 (gst_base_sink_activate_push): Make activation mode choosing work.
24243 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24244 is right. Make pull mode work. Post an eos before pausing in pull
24246 (gst_base_sink_change_state): Pay attention to the core's
24247 change_state() return val.
24249 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24250 has-getrange properties. Cleanups.
24252 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24253 has_getrange and replace with can_activate_pull and
24256 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24257 locking comments. Remove has_loop, has_chain and replace with
24258 can_activate_pull and can_activate_push.
24260 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24263 * examples/Makefile.am:
24264 * examples/metadata/Makefile.am:
24265 * examples/metadata/read-metadata.c: (message_loop),
24266 (have_pad_handler), (make_pipeline), (print_tag), (main):
24267 Add metadata reading example that loops over a list of filenames,
24268 dumping any tags found.
24270 * gst/gstbus.c: (gst_bus_dispose):
24271 * gst/gstelement.c: (gst_element_dispose):
24272 Release a few potentially-held references in dispose.
24274 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24276 * docs/gst/tmpl/gstminiobject.sgml:
24277 do *not* add tmpl/*.sgml files to CVS!
24279 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24281 * libs/gst/bytestream/.cvsignore:
24282 * libs/gst/bytestream/Makefile.am:
24283 * libs/gst/bytestream/adapter.c:
24284 * libs/gst/bytestream/adapter.h:
24285 * libs/gst/bytestream/bytestream.c:
24286 * libs/gst/bytestream/bytestream.h:
24287 * libs/gst/bytestream/filepad.c:
24288 * libs/gst/bytestream/filepad.h:
24289 removing obsolete files
24291 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24293 * docs/gst/gstreamer-docs.sgml:
24294 * docs/libs/gstreamer-libs-docs.sgml:
24295 disabed additional index entries again, as this makes docs-gen just
24296 slow and they aren't useful yet
24297 * docs/libs/gstreamer-libs-sections.txt:
24298 little -section.txt cleanup for libs
24300 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24302 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24303 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24304 fix up some debugging
24305 (gst_base_transform_get_unit_size),
24306 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24307 (gst_base_transform_handle_buffer):
24308 * gst/base/gstbasetransform.h:
24309 handle and store timed NEWSEGMENT events so that subclasses that
24310 calculate time by counting samples have a segment_start time they
24311 need to add to their timestamps - see audioresample
24313 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24316 removed ';' from the end of macro defs
24317 * docs/gst/gstreamer-docs.sgml:
24318 * docs/gst/gstreamer-sections.txt:
24319 * docs/gst/tmpl/.cvsignore:
24321 * gst/gstelement.c: (gst_element_class_init),
24322 (gst_element_set_state), (activate_pads),
24323 (gst_element_save_thyself):
24324 * gst/gstevent.c: (gst_event_new_newsegment):
24326 * gst/gstiterator.c:
24327 * gst/gstiterator.h:
24330 * gst/gstutils.c: (gst_pad_query_convert):
24332 fixed parameter name mismatches between source, header and docs
24333 added some more docs, resolved the last batch of unused elements in
24334 docs (now someone needs to doc them)
24336 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24338 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24339 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24340 don't walk through the plugins backwards. Where is all this
24341 reversed logic coming from ?
24343 2005-08-25 Wim Taymans <wim@fluendo.com>
24345 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24346 (gst_base_transform_transform_size),
24347 (gst_base_transform_configure_caps),
24348 (gst_base_transform_get_unit_size),
24349 (gst_base_transform_buffer_alloc),
24350 (gst_base_transform_change_state):
24351 * gst/base/gstbasetransform.h:
24352 Cache caps unit_size.
24353 Make sure we cannot negotiate up and downstream at the
24356 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24358 * gst/gst.c: (init_pre), (init_post):
24359 register the installed plugin path after the env var
24360 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24361 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24362 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24363 directories, so the tests can prefer uninstalled over installed
24365 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24367 * gst/base/gstbasetransform.h:
24372 2005-08-25 Wim Taymans <wim@fluendo.com>
24374 * gst/gstbin.c: (bin_bus_handler):
24375 Be a bit more conservative about the posted message.
24377 * gst/gstbus.c: (gst_bus_post):
24378 Some cleanups, warn wrong return values.
24380 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24382 * check/gst/gstbin.c: (GST_START_TEST):
24383 * gst/gstbin.c: (bin_bus_handler):
24384 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24385 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24386 (gst_message_new_warning), (gst_message_new_tag),
24387 (gst_message_new_state_changed), (gst_message_new_segment_start),
24388 (gst_message_new_segment_done), (gst_message_new_custom):
24389 * gst/gstmessage.h:
24390 * tools/gst-launch.c: (event_loop):
24391 * tools/gst-md5sum.c: (event_loop):
24392 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24394 2005-08-25 Wim Taymans <wim@fluendo.com>
24396 * check/generic/states.c: (GST_START_TEST):
24397 Cleanup can be done at the end.
24399 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24400 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24401 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24402 Oh boy.. Thanks for finding this, Thomas.
24404 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24406 * docs/gst/gstreamer.types:
24407 added missing types
24409 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24411 * docs/gst/gstreamer-docs.sgml:
24412 * docs/gst/gstreamer-sections.txt:
24413 * docs/gst/tmpl/.cvsignore:
24415 * gst/gstiterator.c:
24417 * gst/registries/gstxmlregistry.h:
24418 added missing classes and symbols (123 more to go)
24419 removed removed symbols from section file
24420 fixed many doc-comments
24422 2005-08-24 Wim Taymans <wim@fluendo.com>
24424 * check/generic/states.c: (GST_START_TEST):
24425 Make sure all tasks are stopped.
24427 * check/gst/gstbin.c: (GST_START_TEST):
24428 Unref after usage for proper valgrinding.
24430 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24431 Really wait for the task to stop before destroying the
24434 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24435 (gst_queue_src_activate_push):
24436 Small cleanups. Don't stop the task when we did not start
24439 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24440 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24441 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24444 Protect the stream lock with the object lock.
24445 Disallow setting the stream lock when running.
24446 Add cleanup_all to wait for the threadpool to finish.
24447 Remove code to autoallocate a mutex if none was provided.
24448 Add _join() to wait for a task to stop.
24449 Protect the thread pool with a global lock.
24451 2005-08-24 Wim Taymans <wim@fluendo.com>
24453 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24454 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24455 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24456 * gst/base/gstbasesink.h:
24457 Handle newsegment events correctly.
24458 Drop buffers out of the segment range.
24460 2005-08-22 Andy Wingo <wingo@pobox.com>
24462 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24463 macro, implements an interface and gstimplementsinterface for a
24466 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24468 * check/Makefile.am:
24469 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24470 add a test that does a bunch of state changes on elements
24471 needs some fixing for valgrind
24472 * check/states/sinks.c: (gst_object_suite):
24475 add prototype for gst_caps_is_equal_fixed
24477 * gst/gstregistrypool.c:
24480 2005-08-24 Andy Wingo <wingo@pobox.com>
24482 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24483 convert a negative value. Doesn't make much sense. Mostly this is
24484 here to force callers to ensure -1 maps to -1.
24486 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24488 * docs/pwg/advanced-types.xml:
24489 Well done to Michael for catching my deliberate introduction
24490 of this spelling mistake.
24491 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24492 * gst/gstelement.h:
24493 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24494 unlink pads before removing the element from the bin.
24496 2005-08-24 Andy Wingo <wingo@pobox.com>
24498 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24499 the same thing as GST_DEBUG=*:4.
24500 (parse_debug_level, parse_debug_category): New helper parsers.
24502 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24504 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24505 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24506 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24507 (gst_base_transform_buffer_alloc),
24508 (gst_base_transform_handle_buffer):
24509 use gboolean return values and pointers to size so we can use the
24510 full GST_BUFFER_SIZE range (guint) for buffer sizes
24511 use GstPadDirection for transform_caps
24512 * gst/base/gstbasetransform.h:
24513 rename get_size to get_unit_size since that's what it is
24514 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24515 use GstPadDirection for transform_caps
24516 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24518 cleanup and debugging
24520 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24522 * gst/gstelement.c: (gst_element_class_init),
24523 (gst_element_set_state), (activate_pads),
24524 (gst_element_save_thyself):
24525 * tools/gst-compprep.c: (main):
24526 * tools/gst-inspect.c: (print_element_properties_info):
24527 * tools/gst-xmlinspect.c: (print_element_properties):
24528 Fixed long standing mem-leak
24530 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24532 * check/gst/gstbin.c: (GST_START_TEST):
24533 * gst/gstbin.c: (bin_bus_handler):
24534 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24535 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24536 (gst_message_new_warning), (gst_message_new_tag),
24537 (gst_message_new_state_changed), (gst_message_new_segment_start),
24538 (gst_message_new_segment_done), (gst_message_new_custom):
24539 * gst/gstmessage.h:
24540 * tools/gst-launch.c: (event_loop):
24541 * tools/gst-md5sum.c: (event_loop):
24542 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24543 that applications can sensibly post custom messages with references
24544 to their own objects.
24546 2005-08-24 Andy Wingo <wingo@pobox.com>
24548 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24551 2005-08-24 Wim Taymans <wim@fluendo.com>
24553 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24554 (gst_base_transform_transform_caps),
24555 (gst_base_transform_transform_size),
24556 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24557 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24558 (gst_base_transform_handle_buffer):
24559 * gst/base/gstbasetransform.h:
24560 Many fixes and new features added by Thomas. Can now also do
24561 transforms with variable sizes and a custom fixate_caps function.
24563 2005-08-24 Wim Taymans <wim@fluendo.com>
24565 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24569 Cast to ClockTime before formatting to time.
24574 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24576 * check/gst-libs/controller.c: (GST_START_TEST),
24577 (gst_controller_suite):
24578 * docs/gst/tmpl/gstcaps.sgml:
24579 * docs/gst/tmpl/gstghostpad.sgml:
24580 * docs/gst/tmpl/gstquery.sgml:
24581 * docs/gst/tmpl/gstutils.sgml:
24582 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24583 (gst_object_sink_values), (gst_object_get_value_arrays),
24584 (gst_object_get_value_array):
24585 gracefully handle helper method calls to objects that are not beeing
24586 controlled, added test case for that
24588 2005-08-23 Wim Taymans <wim@fluendo.com>
24590 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24591 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24592 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24593 (gst_event_parse_qos), (gst_event_new_seek),
24594 (gst_event_parse_seek):
24596 Some more debugging output and doc cleanups.
24598 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24599 Fix possible deadlock.
24601 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24603 * docs/gst/gstreamer-docs.sgml:
24604 * docs/gst/gstreamer-sections.txt:
24605 * docs/gst/gstreamer.types:
24606 * docs/gst/tmpl/.cvsignore:
24609 * gst/gstelement.c:
24611 added 100 symbols from gstreamer-unused.txt to the right sections
24612 fixed more broken comments
24613 added GstBus to docs
24615 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24617 * docs/gst/gstreamer-sections.txt:
24618 * docs/gst/tmpl/.cvsignore:
24619 * docs/gst/tmpl/gstbin.sgml:
24620 * docs/gst/tmpl/gstbuffer.sgml:
24621 * gst/base/gstbasesrc.c:
24622 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24625 * tools/gst-launch.1.in:
24626 inlined more doc comments, added missing comments and fixed comments
24629 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24631 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24635 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24637 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24638 * gst/gststructure.h:
24639 add a fixate function for booleans; add a FIXME that these func
24640 names should probably be gst_structure_fixate_*
24642 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24644 * docs/gst/gstreamer-docs.sgml:
24645 * docs/gst/gstreamer-sections.txt:
24647 * gst/gstbin.c: (gst_bin_get_type),
24648 (gst_bin_child_proxy_get_child_by_index),
24649 (gst_bin_child_proxy_get_children_count),
24650 (gst_bin_child_proxy_init):
24651 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24652 (gst_child_proxy_get_child_by_index),
24653 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24654 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24655 (gst_child_proxy_get), (gst_child_proxy_set_property),
24656 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24657 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24658 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24659 * gst/gstchildproxy.h:
24660 * gst/parse/grammar.y:
24661 * tools/gst-inspect.c: (print_interfaces),
24662 (print_element_properties_info), (print_element_info):
24663 ported gstchildproxy over from 0.8
24664 ported gst-inspect fixes and enhancements over from 0.8
24666 2005-08-22 Wim Taymans <wim@fluendo.com>
24668 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24669 (gst_base_transform_handle_buffer):
24670 Also call the transform function if we have ANY caps.
24672 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24675 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24677 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24678 Don't pretend to handle seek events if the source is not seekable
24680 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24683 Remove extra parameter to debug output
24685 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24686 (gst_base_src_do_seek), (gst_base_src_activate_push):
24687 Fix seek event handling.
24689 * gst/gstpipeline.c: (gst_pipeline_change_state):
24690 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24691 (gst_queue_src_activate_push):
24692 Don't start the src pad task on FLUSH_STOP if the pad
24696 2005-08-22 Wim Taymans <wim@fluendo.com>
24698 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24699 Added check for gst_static_caps_get() refcounting.
24701 2005-08-22 Wim Taymans <wim@fluendo.com>
24703 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24704 Make _static_caps_get() refcounting sane.
24706 * gst/gstelement.c: (gst_element_set_state):
24707 Add g_return_val_if_fail() to protect against segfaults.
24709 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24711 * docs/gst/tmpl/gstevent.sgml:
24714 inlined remaining docs, added missing doc comments
24716 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24718 * check/gst/gstbin.c: (GST_START_TEST):
24719 since we don't know when preroll is done, use refcount range
24721 * gst/check/gstcheck.h:
24722 add macro for checking refcount range
24724 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24726 * check/Makefile.am:
24727 clean up environment for when registry gets built versus
24728 when actual tests are run; valgrind seems to not report
24729 leaks if GST_PLUGIN_PATH is set to some specific values
24730 * check/gst/gstbin.c: (GST_START_TEST):
24731 add more refcounting checks; maybe this exposes a
24733 * common/check.mak:
24734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24735 * gst/check/gstcheck.h:
24736 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24737 (gst_bin_change_state):
24738 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24739 add/fix debugging/whitespace
24741 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24743 * check/gst/gstevent.c: (event_probe), (test_event),
24745 Er, don't call gst_bin_watch_for_state_change you idiot.
24747 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24749 * check/Makefile.am:
24750 Use CHECK_CFLAGS and CHECK_LIBS
24751 * check/gst/gstevent.c: (event_probe), (test_event),
24754 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24755 (gst_base_src_start), (gst_base_src_stop),
24756 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24757 (gst_base_src_change_state):
24758 Sprinkle gst_base_src_stop liberally around error paths to fix
24759 problems reusing a source after failed state changes.
24760 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24761 (helper_find_suggest), (gst_type_find_helper):
24762 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24764 * docs/gst/tmpl/gstevent.sgml:
24765 Migrate part of the docs from the SGML file. Wait for ensonic to
24766 tell me how I did it wrong ;)
24767 * tools/gst-typefind.c: (main):
24768 Extra robustness to state changes between files.
24770 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24772 * check/Makefile.am:
24773 don't valgrind the controller test - it's leaking - Stefan, HELP
24774 * gst/check/gstcheck.c: (gst_check_message_error),
24775 (gst_check_chain_func), (gst_check_setup_element),
24776 (gst_check_teardown_element), (gst_check_setup_src_pad),
24777 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24778 (gst_check_teardown_sink_pad):
24779 * gst/check/gstcheck.h:
24780 add a bunch of methods to set up elements, and src and sink pads
24781 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24782 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24785 * gst/gstmessage.c:
24787 whitespace/doc fixes
24789 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24791 * gst/gstelement.h:
24792 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24793 be handled by the application and not always printed as well
24795 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24797 * check/Makefile.am:
24799 * gst/check/gstcheck.c: (gst_check_message_error):
24800 * gst/check/gstcheck.h:
24801 add a fail_unless_equals_int
24802 add fail_unless for error messages
24804 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24806 * check/Makefile.am:
24808 * common/Makefile.am:
24809 * common/check.mak:
24811 factor out some of the common stuff so we can use it
24813 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24815 * check/Makefile.am:
24816 * check/gst/gstiterator.c: (GST_START_TEST):
24817 * check/gst/gstsystemclock.c: (GST_START_TEST),
24818 (gst_systemclock_suite):
24819 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24821 valgrind more tests
24823 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24825 * check/elements/.cvsignore:
24826 * check/elements/gstfakesrc.c:
24827 rename to name of element
24828 * check/elements/identity.c: (chain_func), (event_func),
24829 (setup_identity), (cleanup_identity), (GST_START_TEST),
24830 (identity_suite), (main):
24831 add a test for identity
24832 * check/Makefile.am:
24833 * pkgconfig/Makefile.am:
24834 * pkgconfig/gstreamer-check.pc.in:
24835 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24839 move the check stuff to a library that gets installed
24840 * check/gst-libs/controller.c: (GST_START_TEST):
24841 * check/gst-libs/gdp.c:
24842 * check/gst/gst.c: (GST_START_TEST):
24843 * check/gst/gstbin.c:
24844 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24845 * check/gst/gstbus.c:
24846 * check/gst/gstcaps.c: (GST_START_TEST):
24847 * check/gst/gstelement.c:
24848 * check/gst/gstghostpad.c:
24849 * check/gst/gstiterator.c:
24850 * check/gst/gstmessage.c:
24851 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24852 * check/gst/gstobject.c:
24853 * check/gst/gstpad.c: (GST_START_TEST):
24854 * check/gst/gststructure.c: (GST_START_TEST):
24855 * check/gst/gstsystemclock.c: (GST_START_TEST),
24856 (gst_systemclock_suite):
24857 * check/gst/gsttag.c: (gst_tag_suite):
24858 * check/gst/gstvalue.c:
24859 * check/pipelines/cleanup.c:
24860 * check/pipelines/simple_launch_lines.c:
24861 * check/states/sinks.c:
24862 change include statement
24864 * docs/gst/gstreamer-sections.txt:
24865 * docs/gst/tmpl/gstpad.sgml:
24866 document more pad stuff
24867 * gst/gstminiobject.c: (gst_mini_object_ref),
24868 (gst_mini_object_unref):
24871 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24873 * docs/gst/tmpl/gst.sgml:
24875 eliminate another tmpl file, fix spelling in the long-description
24877 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24879 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24880 (test_event), (timediff), (gstevents_suite):
24881 Should fix build on 64-bit arch's
24883 2005-08-18 Andy Wingo <wingo@pobox.com>
24885 Make sure that when a pipeline goes to PLAYING, that data has
24886 actually hit the sink.
24888 * check/states/sinks.c (test_sink): A sink that doesn't get any
24889 data shouldn't return SUCCESS for going to either PLAYING or
24890 PAUSED. Test also the return values on the way back down.
24892 * gst/gstelement.c (gst_element_set_state): When changing the
24893 state of an element currently changing state asynchronously, go to
24894 lost-state after commiting the pending state. Makes future calls
24895 to get_state continue to return ASYNC.
24897 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24898 ASYNC when going to PLAYING if we still don't have preroll, as can
24899 happen with live sources.
24901 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24903 * docs/pwg/advanced-types.xml:
24904 Hack long paragraph into 2 chunks as a workaround for buggy
24905 jadetex version in sid and breezy that loops infinitely and
24908 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24910 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24911 (test_event), (timediff), (gstevents_suite):
24912 Provide more error margin in clock measurements to allow for
24913 g_get_current_time inaccuracies.
24915 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24917 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24918 (test_event), (timediff), (gstevents_suite):
24919 Fix error message output so I might be able to tell why the
24920 test works here but fails on the build farm.
24922 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24924 * check/Makefile.am:
24925 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24926 (test_event), (timediff), (gstevents_suite), (main):
24929 * docs/design/part-seeking.txt:
24930 Spelling correction
24932 * docs/gst/tmpl/gstevent.sgml:
24933 * docs/gst/tmpl/gstfakesrc.sgml:
24936 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24937 Treat a buffer-without-newsegment the same as a receiving
24938 a newsegment not in time format, and disable syncing to the clock
24941 * gst/gstbus.c: (gst_bus_set_sync_handler):
24942 Assert if anyone tries to replace the existing sync_handler for bus,
24943 as only the owner should be setting it.
24946 Have a fixed set of custom event enums with events identified by
24947 their structure name (as in 0.8), rather than a free-for-all
24948 allowing collisions between enum values from different plugins.
24950 * gst/gstpad.c: (gst_pad_class_init):
24953 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24954 Handle out-of-band downstream events from the sending thread.
24956 2005-08-17 Andy Wingo <wingo@pobox.com>
24958 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24959 play-timeout==0 to mean no timeout at all. In that case, don't
24960 bother with a get_state or a warning, just return directly, even
24963 * gst/base/gstbasetransform.c: Debug changes.
24966 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24967 ensure bins post state change messages. A bit of a hack but I can't
24968 think of a way to avoid it.
24970 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24972 2005-08-16 Andy Wingo <wingo@pobox.com>
24974 * gst/base/gstadapter.h:
24975 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24976 peek() but you own the data. Not terribly efficient atm.
24978 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24980 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24981 (gst_element_found_tags):
24983 Add two utility functions for tag handling.
24985 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24987 * docs/manual/advanced-dataaccess.xml:
24988 * docs/manual/basics-helloworld.xml:
24989 Fix docs to use _bin_add() before _link(), which fixes the examples
24990 with recent core versions (reported by Madhan Raj M
24991 <raj_madan@rediffmail.com>, #313199).
24993 2005-08-16 Wim Taymans <wim@fluendo.com>
24995 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24996 Added subtract checks.
24998 * docs/design/part-events.txt:
24999 Some more docs about newsegment
25001 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25004 * gst/gstcaps.c: (gst_caps_to_string):
25005 Add comments, cleanups.
25007 * gst/gstelement.c: (gst_element_save_thyself):
25010 * gst/gstvalue.c: (gst_value_collect_int_range),
25011 (gst_string_unwrap), (gst_value_union_int_int_range),
25012 (gst_value_union_int_range_int_range),
25013 (gst_value_intersect_int_int_range),
25014 (gst_value_intersect_int_range_int_range),
25015 (gst_value_intersect_double_double_range),
25016 (gst_value_intersect_double_range_double_range),
25017 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25018 (gst_value_subtract_int_range_int),
25019 (gst_value_subtract_double_range_double),
25020 (gst_value_subtract_double_range_double_range),
25021 (gst_value_subtract_from_list), (gst_value_subtract_list),
25022 (gst_value_can_compare), (gst_value_compare_fraction):
25023 Cleanups, add comments, remove unneeded asserts.
25025 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25027 * tools/gst-launch.c: (event_loop):
25028 don't convert NULL structures to strings
25030 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25032 * docs/gst/gstreamer-sections.txt:
25033 made some defines private
25034 * docs/gst/tmpl/gstconfig.sgml:
25035 * docs/gst/tmpl/gstqueue.sgml:
25036 * docs/gst/tmpl/gsttaglist.sgml:
25037 * docs/gst/tmpl/gsttypes.sgml:
25038 * docs/gst/tmpl/gstutils.sgml:
25039 * docs/pwg/appendix-porting.xml:
25040 * gst/base/gstbasesink.h:
25041 * gst/base/gstbasesrc.c:
25042 * gst/base/gstbasesrc.h:
25043 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25044 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25045 * gst/gstelement.c: (gst_element_class_init):
25046 * gst/gstpad.c: (gst_pad_class_init):
25047 * gst/gstqueue.c: (gst_queue_class_init):
25048 * gst/gstxml.c: (gst_xml_class_init):
25049 documented all undocumented signal inline
25050 * libs/gst/controller/gst-controller.h:
25053 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25055 * docs/pwg/appendix-porting.xml:
25056 Document _set_link_function -> _set_setcaps_function.
25058 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25060 * check/Makefile.am:
25061 add a .check target for running the check
25062 * check/gst-libs/controller.c: (GST_START_TEST):
25064 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25065 complete checks for gstbuffer; would be nice if I could get the
25066 gcov stuff to work so I can see if I actually completed gstbuffer.c
25067 * check/gstcheck.h:
25068 add ASSERT_BUFFER_REFCOUNT
25070 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25072 * docs/gst/gstreamer-sections.txt:
25073 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25075 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25076 spew out a warning if a tag that is already registered
25077 is re-registered, unless it is re-registered with a
25078 different type (#308438).
25080 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25082 * docs/pwg/appendix-porting.xml:
25083 * docs/pwg/building-state.xml:
25084 Add some paragraphs about state changes in 0.9 to the PWG
25085 and the porting guide, in particular about the new meaning
25086 of GST_STATE_PAUSED and how to write state change functions
25087 with concurrent access by multiple threads in mind.
25089 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25091 * docs/gst/gstreamer-docs.sgml:
25092 * docs/libs/gstreamer-libs-docs.sgml:
25093 added deprecation and since indexes
25094 * libs/gst/controller/gst-controller.c:
25095 * libs/gst/controller/gst-helper.c:
25099 2005-08-11 Wim Taymans <wim@fluendo.com>
25101 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25102 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25103 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25104 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25105 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25106 (gst_ghost_pad_set_target):
25107 Actually implement (re)setting the target on a ghostpad
25108 as described in the docs.
25110 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25112 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25113 Check whether GST_DEBUG_NO_COLOR environment variable is
25114 set and disable coloured debug output if that is the case.
25116 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25118 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25119 (gst_type_find_helper):
25120 The memory returned by gst_type_find_peek() needs to
25121 stay valid until the end of a typefind function, and
25122 typefind functions may keep results from different
25123 offsets around, so we can't just unref the buffer from
25124 the previous _peek(), but have to save all buffers
25125 returned by _peek() until typefinding is done and only
25128 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25130 * docs/gst/gstreamer-sections.txt:
25132 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25134 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25136 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25137 Fix a pretty good memleak.
25139 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25141 * gst/gstiterator.h:
25142 Fix wrong include and 'make distcheck'.
25144 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25146 * gst/gstbin.c: (bin_bus_handler):
25147 Use gst_element_post_message() instead.
25149 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25151 * gst/base/gstadapter.h:
25152 * gst/base/gstbasesink.h:
25153 * gst/base/gstbasesrc.h:
25154 * gst/base/gstbasetransform.h:
25155 * gst/base/gstcollectpads.h:
25156 * gst/base/gstpushsrc.h:
25157 * gst/gstiterator.h:
25158 Add padding to our base elements' class and instance structs and
25159 to GstIterator (you will need to rebuild all plugins and apps!)
25161 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25163 * gst/gstbin.c: (bin_bus_handler):
25164 Make default message forwarding from child->bus to bin->bus
25165 threadsafe and make it not emit warnings if the parent has no bus.
25167 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25169 * gst/gstelement.c: (activate_pads):
25170 On paused->ready, set pad->caps to NULL, as is the documented
25171 behaviour in this state change. Fixes playback of series of
25172 media files when visualization is enabled in Totem.
25174 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25176 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25177 Allow NULL as filter-caps (which means "any").
25179 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25181 * docs/libs/gstreamer-libs-sections.txt:
25182 * libs/gst/controller/gst-controller.c:
25183 * libs/gst/controller/gst-controller.h:
25184 * libs/gst/controller/gst-helper.c:
25185 adding more entries to the docs and fix small doc-bugs
25187 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25189 * docs/gst/gstreamer-docs.sgml:
25190 * docs/gst/gstreamer-sections.txt:
25191 * docs/gst/gstreamer.types:
25192 * docs/gst/tmpl/gstbasesink.sgml:
25193 * docs/gst/tmpl/gstbasesrc.sgml:
25194 * docs/gst/tmpl/gstbasetransform.sgml:
25195 * docs/gst/tmpl/gstfakesrc.sgml:
25196 * gst/base/gstcollectpads.c:
25197 * gst/base/gstcollectpads.h:
25198 * libs/gst/controller/gst-controller.c:
25199 * libs/gst/controller/gst-controller.h:
25200 * libs/gst/controller/gst-helper.c:
25201 * libs/gst/controller/gst-interpolation.c:
25202 * libs/gst/controller/lib.c:
25203 added long/short desc for controller docs
25204 added collectpads base class docs
25205 added correct includes to base-class docs
25207 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25209 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25210 (gst_test_mono_source_set_property),
25211 (gst_test_mono_source_class_init), (GST_START_TEST),
25212 (gst_controller_suite):
25213 * docs/gst/gstreamer-docs.sgml:
25214 * docs/gst/gstreamer-sections.txt:
25215 * docs/gst/gstreamer.types:
25216 * docs/libs/gstreamer-libs-docs.sgml:
25217 * docs/libs/gstreamer-libs-sections.txt:
25218 * gst/base/gstadapter.c:
25219 * libs/gst/controller/gst-controller.c:
25220 (gst_controlled_property_new), (gst_controlled_property_free),
25221 (gst_controller_new_valist),
25222 (gst_controller_remove_properties_valist),
25223 (gst_controller_sink_values), (_gst_controller_finalize):
25224 * libs/gst/controller/gst-controller.h:
25225 * libs/gst/controller/gst-helper.c:
25226 (gst_object_control_properties), (gst_object_uncontrol_properties),
25227 (gst_object_get_controller), (gst_object_set_controller),
25228 (gst_object_sink_values), (gst_object_get_value_arrays),
25229 (gst_object_get_value_array):
25230 more tests (and fixes) for the controller
25231 more docs for the controller
25232 integrated companies docs for the adapter
25234 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25236 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25237 (GST_START_TEST), (fakesrc_suite):
25238 add tests for sizetype
25240 2005-08-04 Andy Wingo <wingo@pobox.com>
25242 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25243 fixes buffer_alloc proxying among other things.
25245 * gst/base/gstbasetransform.c:
25246 * gst/base/gstbasetransform.h:
25247 Revert patch to gstbasetransform from 7-28 removing
25250 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25251 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25252 Semantics changed, should return not the size of the output buffer
25253 but the byte size of a buffer with a given caps.
25255 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25257 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25258 out) are not the pad caps until setcaps finishes.
25259 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25260 not-in-place case as well. Deal with changing from in-place to
25261 not-in-place within calling pad_alloc_buffer. Still a bit
25262 concerned about the overhead here...
25264 2005-08-03 Andy Wingo <wingo@pobox.com>
25266 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25267 fixating is an error.
25269 2005-08-04 Edward Hervey <edward@fluendo.com>
25271 * gst/base/gstadapter.h:
25272 Added gst_adapter_get_type() to the header
25274 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25276 * check/Makefile.am:
25277 * check/gst-libs/controller.c:
25278 * libs/gst/controller/gst-controller.c:
25279 (gst_controller_new_valist):
25280 added check test suite for the controller
25281 * gst/base/gstpushsrc.c:
25284 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25286 * docs/gst/Makefile.am:
25287 * docs/gst/gstreamer-docs.sgml:
25288 * docs/gst/gstreamer-sections.txt:
25289 * docs/gst/gstreamer.types:
25290 * docs/gst/tmpl/gstfakesrc.sgml:
25292 * gst/base/gstbasesink.c:
25293 * gst/base/gstbasesink.h:
25294 * gst/base/gstbasesrc.c:
25295 * gst/base/gstbasesrc.h:
25296 * gst/base/gstbasetransform.c:
25297 * gst/base/gstpushsrc.c:
25298 * gst/base/gstpushsrc.h:
25299 add short/long description docs to base classes
25300 add pushsrc to the docs
25301 remove consolidated doc fragments
25303 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25306 * docs/libs/Makefile.am:
25307 * docs/libs/gstreamer-libs-docs.sgml:
25308 * docs/libs/gstreamer-libs-sections.txt:
25309 * docs/libs/gstreamer-libs.types:
25310 * examples/Makefile.am:
25311 * examples/controller/.cvsignore:
25312 * examples/controller/Makefile.am:
25313 * examples/controller/audio-example.c: (main):
25314 * libs/gst/Makefile.am:
25315 * libs/gst/controller/.cvsignore:
25316 * libs/gst/controller/Makefile.am:
25317 * libs/gst/controller/gst-controller.c:
25318 (on_object_controlled_property_changed), (gst_timed_value_compare),
25319 (gst_timed_value_find),
25320 (gst_controlled_property_set_interpolation_mode),
25321 (gst_controlled_property_new), (gst_controlled_property_free),
25322 (gst_controller_find_controlled_property),
25323 (gst_controller_new_valist), (gst_controller_new),
25324 (gst_controller_remove_properties_valist),
25325 (gst_controller_remove_properties), (gst_controller_set),
25326 (gst_controller_set_from_list), (gst_controller_unset),
25327 (gst_controller_get), (gst_controller_get_all),
25328 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25329 (gst_controller_get_value_array),
25330 (gst_controller_set_interpolation_mode),
25331 (_gst_controller_finalize), (_gst_controller_init),
25332 (_gst_controller_class_init), (gst_controller_get_type):
25333 * libs/gst/controller/gst-controller.h:
25334 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25335 (g_object_uncontrol_properties), (g_object_get_controller),
25336 (g_object_set_controller), (g_object_sink_values),
25337 (g_object_get_value_arrays), (g_object_get_value_array):
25338 * libs/gst/controller/gst-interpolation.c:
25339 (gst_controlled_property_find_timed_value_node),
25340 (interpolate_none_get), (interpolate_trigger_get),
25341 (interpolate_trigger_get_value_array):
25342 * libs/gst/controller/lib.c: (gst_controller_init):
25343 * pkgconfig/Makefile.am:
25344 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25345 * pkgconfig/gstreamer-control.pc.in:
25346 * testsuite/Makefile.am:
25347 * testsuite/controller/.cvsignore:
25348 * testsuite/controller/Makefile.am:
25349 * testsuite/controller/interpolator.c: (main):
25350 added controller code
25351 removed dparam pc files
25353 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25354 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25355 (gst_collectpads_stop):
25356 Broadcast the condition when shutting down, to make sure we wake all
25357 threads up. Shut down pads on finalize, for safety.
25359 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25360 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25361 (gst_base_transform_handle_buffer),
25362 (gst_base_transform_change_state):
25363 Handle PAUSED->READY->PAUSED transition after negotiation
25365 * gst/gstmessage.c: (gst_message_init):
25366 Extra piece of debug for new messages.
25368 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25371 * docs/gst/tmpl/gstbasesrc.sgml:
25372 * docs/gst/tmpl/gstelement.sgml:
25373 * docs/gst/tmpl/gstevent.sgml:
25374 * docs/gst/tmpl/gstfakesrc.sgml:
25375 * docs/gst/tmpl/gstformat.sgml:
25376 * docs/gst/tmpl/gstghostpad.sgml:
25377 * docs/gst/tmpl/gstpad.sgml:
25378 * docs/gst/tmpl/gstquery.sgml:
25379 * docs/gst/tmpl/gststructure.sgml:
25380 * docs/gst/tmpl/gsttaglist.sgml:
25381 * docs/gst/tmpl/gstvalue.sgml:
25382 * docs/libs/gstreamer-libs-docs.sgml:
25383 * docs/libs/gstreamer-libs-sections.txt:
25384 * docs/libs/gstreamer-libs.types:
25385 * libs/gst/Makefile.am:
25386 * libs/gst/control/.cvsignore:
25387 * libs/gst/control/Makefile.am:
25388 * libs/gst/control/control.c:
25389 * libs/gst/control/control.h:
25390 * libs/gst/control/dparam.c:
25391 * libs/gst/control/dparam.h:
25392 * libs/gst/control/dparam_smooth.c:
25393 * libs/gst/control/dparam_smooth.h:
25394 * libs/gst/control/dparamcommon.h:
25395 * libs/gst/control/dparammanager.c:
25396 * libs/gst/control/dparammanager.h:
25397 * libs/gst/control/dplinearinterp.c:
25398 * libs/gst/control/dplinearinterp.h:
25399 * libs/gst/control/unitconvert.c:
25400 * libs/gst/control/unitconvert.h:
25401 * testsuite/Makefile.am:
25402 * testsuite/dynparams/.cvsignore:
25403 * testsuite/dynparams/Makefile.am:
25404 * testsuite/dynparams/dparamstest.c:
25405 * tools/Makefile.am:
25406 * tools/gst-inspect.c: (print_element_info), (main):
25407 * tools/gst-xmlinspect.c: (print_element_info), (main):
25408 deactivate and remove dparams (libgstcontrol)
25410 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25412 * gst/elements/gsttypefindelement.c:
25413 (gst_type_find_element_have_type), (gst_type_find_element_init),
25414 (stop_typefinding), (gst_type_find_element_handle_event),
25415 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25416 * gst/elements/gsttypefindelement.h:
25417 Set caps on all outgoing buffers, not just the first one.
25419 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25421 * gst/elements/gsttypefindelement.c:
25422 (gst_type_find_element_have_type),
25423 (gst_type_find_element_check_set_buffer_caps),
25424 (gst_type_find_element_init), (stop_typefinding),
25425 (gst_type_find_element_handle_event),
25426 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25427 * gst/elements/gsttypefindelement.h:
25428 Set caps on first outgoing buffer when we've found the type.
25430 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25432 * docs/gst/gstreamer-docs.sgml:
25433 * docs/gst/gstreamer-sections.txt:
25434 * docs/gst/tmpl/gstscheduler.sgml:
25435 * docs/gst/tmpl/gstschedulerfactory.sgml:
25436 Remove some old cruft from docs.
25438 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25441 Fix inline docs for GstPadLinkReturn.
25443 * gst/gststructure.c: (gst_structure_has_name):
25444 * gst/gststructure.h:
25445 * docs/gst/gstreamer-sections.txt:
25446 New API: gst_structure_has_name().
25448 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25451 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25452 and _LARGEFILE_SOURCE in config.h as required. Do not
25453 export those flags in our .pc files any longer (#142209).
25455 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25457 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25458 (gst_file_sink_do_seek), (gst_file_sink_event),
25459 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25460 Redo seek/tell calls with large file support in mind; add some
25461 debugging messages; add log message that tells us when large
25462 file support is unavailable or not enabled for some reason.
25464 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25465 Add log message that tells us when large file support
25466 is unavailable or not enabled for some reason.
25468 2005-07-29 Wim Taymans <wim@fluendo.com>
25470 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25471 Added test for removing an element with ghostpad from a bin.
25472 Fixed test as current implementation does the right thing.
25474 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25475 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25476 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25477 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25478 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25479 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25480 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25481 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25482 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25483 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25484 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25485 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25486 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25487 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25488 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25489 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25490 * gst/gstghostpad.h:
25491 Clean up ghostpads, remove properties for internal stuff.
25494 Prepare for switching targets, not all use cases work yet.
25496 2005-07-29 Wim Taymans <wim@fluendo.com>
25498 * docs/design/part-gstghostpad.txt:
25501 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25502 (gst_bin_remove_func):
25503 Unlinking pads while holding the bin LOCK is not a good
25506 * gst/gstpad.c: (gst_pad_class_init),
25507 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25508 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25509 No prob setting template after creating the pad.
25511 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25513 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25514 (gst_bus_peek), (gst_bus_source_dispatch),
25515 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25516 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25517 gst_bus_poll may be called from other threads. Handle
25518 this nicely by not making poll_data disappear off the
25519 stack once gst_bus_poll returns.
25520 gst_bus_peek now increments the refcount on the returned
25523 2005-07-29 Wim Taymans <wim@fluendo.com>
25525 * docs/design/part-gstghostpad.txt:
25526 Overview of current GhostPad datastructures and use
25527 cases for changing the target.
25529 2005-07-28 Wim Taymans <wim@fluendo.com>
25531 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25532 Added checks for hierarchy consistency whan adding linked
25535 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25536 Added check to test element scheduling without bin/pipeline.
25538 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25539 First add elements to bin, then link.
25541 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25542 (gst_bin_remove_func):
25543 Unlink pads from elements added/removed from bin to maintain
25544 hierarchy consistency.
25546 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25548 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25549 (gst_base_transform_handle_buffer):
25550 * gst/base/gstbasetransform.h:
25551 Remove broken delay_configure (fixes renegotiation of software
25552 scaling pipelines); remove some leftover printf()s.
25554 2005-07-28 Wim Taymans <wim@fluendo.com>
25556 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25557 Added some more tests for wrong hierarchy
25559 * docs/design/part-overview.txt:
25562 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25565 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25566 (gst_element_dispose):
25567 Some more cleanups.
25569 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25570 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25571 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25572 (gst_pad_set_caps), (gst_pad_send_event):
25573 Check for correct hierarchy when linking pads. Moving to
25574 strict requirement for ghostpads when linking elements in
25578 Clean ups. Added WRONG_HIERARCHY return value.
25580 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25582 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25583 Better debug if no transform is possible.
25585 2005-07-27 Wim Taymans <wim@fluendo.com>
25587 * docs/random/wtay/network-transp:
25588 Some old doc I had.
25590 2005-07-27 Wim Taymans <wim@fluendo.com>
25592 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25593 (gst_dp_event_from_packet):
25594 Fix serialization of seek events.
25596 2005-07-27 Wim Taymans <wim@fluendo.com>
25598 * check/gst-libs/gdp.c: (GST_START_TEST):
25599 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25600 Fix compilation and fix event serialization.
25602 2005-07-27 Wim Taymans <wim@fluendo.com>
25605 * docs/design/part-TODO.txt:
25606 * docs/design/part-events.txt:
25609 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25610 (gst_base_sink_event), (gst_base_sink_do_sync),
25611 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25612 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25613 (gst_base_src_do_seek), (gst_base_src_event_handler),
25614 (gst_base_src_loop):
25615 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25616 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25617 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25618 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25619 (gst_base_transform_set_passthrough),
25620 (gst_base_transform_is_passthrough):
25621 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25622 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25628 * gst/gstelement.c: (gst_element_seek):
25629 * gst/gstelement.h:
25630 Update gst_element_seek.
25632 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25633 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25634 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25635 (gst_event_new_eos), (gst_event_new_newsegment),
25636 (gst_event_parse_newsegment), (gst_event_new_tag),
25637 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25638 (gst_event_parse_qos), (gst_event_new_seek),
25639 (gst_event_parse_seek), (gst_event_new_navigation):
25641 Make GstEvent use GstStructure. Add parsing code, make sure the
25642 API is sufficiently generic.
25643 Mark possible directions of events and serialization.
25645 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25646 (_gst_message_copy), (gst_message_new_segment_start),
25647 (gst_message_new_segment_done), (gst_message_new_custom),
25648 (gst_message_parse_segment_start),
25649 (gst_message_parse_segment_done):
25652 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25653 (gst_pad_set_caps), (gst_pad_send_event):
25654 Update for new events.
25655 Catch events sent in wrong directions.
25657 * gst/gstqueue.c: (gst_queue_link_src),
25658 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25659 (gst_queue_handle_src_query):
25664 Remove event code from this file.
25666 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25667 (gst_dp_event_from_packet):
25670 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25672 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25673 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25674 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25675 Make debugging actually useful.
25677 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25679 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25680 (gst_pad_fixate_caps):
25681 Implement default fixation once again, so that gst_pad_fixate()
25682 actually does anything at all. This probably needs to be some
25683 sort of a last resort, and use profile-based fixation first, but
25684 since that doesn't exist yet, this is the best we have. Fixes
25685 visualization in Totem.
25687 2005-07-22 Wim Taymans <wim@fluendo.com>
25689 * docs/design/part-events.txt:
25692 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25693 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25694 (gst_base_sink_activate_pull):
25695 Some more comments.
25697 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25698 (gst_fake_src_create):
25699 Fix handoff marshall.
25701 * gst/elements/gstidentity.c: (gst_identity_class_init),
25702 (gst_identity_transform_ip):
25703 We're a real inplace element.
25705 * gst/gstbus.c: (gst_bus_post):
25706 Added some comments.
25708 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25709 * tests/muxing/case1.c: (main):
25710 * tests/sched/dynamic-pipeline.c: (main):
25711 * tests/sched/interrupt1.c: (main):
25712 * tests/sched/interrupt2.c: (main):
25713 * tests/sched/interrupt3.c: (main):
25714 * tests/sched/runxml.c: (main):
25715 * tests/sched/sched-stress.c: (main):
25716 * tests/seeking/seeking1.c: (event_received), (main):
25717 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25719 * tests/threadstate/threadstate3.c: (main):
25720 * tests/threadstate/threadstate4.c: (main):
25721 * tests/threadstate/threadstate5.c: (main):
25724 2005-07-21 Wim Taymans <wim@fluendo.com>
25726 * docs/design/part-seeking.txt:
25727 Some small additions.
25729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25730 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25731 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25732 * gst/base/gstbasesink.h:
25733 discont values are gint64, handle the math correctly.
25735 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25736 Make the basesrc report error if the source pad is not linked.
25738 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25739 (gst_queue_loop), (gst_queue_handle_src_query),
25740 (gst_queue_src_activate_push):
25741 Make queue collect data even if the srcpad is not linked.
25742 Start pushing out data as soon as it is linked.
25744 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25746 Added gst_flow_get_name() to ease error reporting.
25748 2005-07-20 Wim Taymans <wim@fluendo.com>
25750 * gst/gstmessage.c: (gst_message_new_segment_start),
25751 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25752 (gst_message_parse_segment_done):
25753 * gst/gstmessage.h:
25754 Added a bunch of messages for advanced seeking.
25756 * gst/parse/grammar.y:
25757 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25758 (gst_dpman_state_changed):
25759 Fix some new-pad -> pad-added signals
25761 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25763 * docs/manual/appendix-porting.xml:
25764 * docs/pwg/appendix-porting.xml:
25765 Document new-pad/state-change signal renames and the FixedList
25768 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25770 * docs/manual/advanced-autoplugging.xml:
25771 * docs/manual/basics-helloworld.xml:
25772 * docs/manual/basics-pads.xml:
25773 * docs/random/ds/0.9-suggested-changes:
25774 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25775 * gst/gstelement.h:
25779 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25780 (gst_structure_parse_array), (gst_structure_parse_value):
25781 * gst/gstvalue.c: (gst_type_is_fixed),
25782 (gst_value_list_prepend_value), (gst_value_list_append_value),
25783 (gst_value_list_get_size), (gst_value_list_get_value),
25784 (gst_value_transform_array_string), (gst_value_serialize_array),
25785 (gst_value_deserialize_array), (gst_value_intersect_array),
25786 (gst_value_is_fixed), (_gst_value_initialize):
25788 GstElement::new-pad -> pad-added, GstElement::state-change ->
25789 state-changed, GstValueFixedList -> GstValueArray, add format and
25790 flags as their own arguments in gst_element_seek() (should improve
25791 "bindeability"), remove function generators since they don't work
25792 under a whole bunch of compilers (they were deprecated already
25795 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25797 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25798 (_gst_debug_register_funcptr):
25800 Fix illegal cast on some platforms (#309253).
25802 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25804 * gst/gstmessage.c: (gst_message_new_custom):
25805 * gst/gstmessage.h:
25806 Add _new_custom, make _new_application a macro to _new_custom.
25808 2005-07-20 Wim Taymans <wim@fluendo.com>
25810 * gst/base/gstbasesrc.c: (gst_base_src_init),
25811 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25812 * gst/base/gstbasesrc.h:
25813 Add a gboolean to decide when to push out a discont.
25815 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25816 (gst_queue_loop), (gst_queue_handle_src_query),
25817 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25818 (gst_queue_set_property), (gst_queue_get_property):
25821 * tests/threadstate/threadstate1.c: (main):
25822 Make a thread test compile and run... very silly..
25825 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25827 * docs/manual/appendix-porting.xml:
25828 Mention removal of libgstgconf-0.9.la and existence of gconf
25831 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25833 * docs/pwg/advanced-clock.xml:
25834 * docs/pwg/appendix-porting.xml:
25835 * docs/pwg/intro-preface.xml:
25836 * docs/pwg/other-base.xml:
25837 * docs/pwg/other-manager.xml:
25838 * docs/pwg/other-nton.xml:
25839 * docs/pwg/other-ntoone.xml:
25840 * docs/pwg/other-oneton.xml:
25841 * docs/pwg/pwg.xml:
25842 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25843 demuxer), remove n-to-n (was never written), fix some code examples
25844 and links and update the porting section to include all this.
25846 2005-07-19 Wim Taymans <wim@fluendo.com>
25848 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25849 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25850 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25851 (gst_queue_src_activate_push), (gst_queue_change_state),
25852 (gst_queue_get_property):
25854 Propagate GstFlowReturn more intelligently upstream and output
25855 an ERROR/EOS when streaming stopped due to fatal error.
25857 2005-07-19 Wim Taymans <wim@fluendo.com>
25859 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25860 Don't block forever for the state change to complete, the
25861 pipeline already did with a sensible timeout.
25863 2005-07-19 Wim Taymans <wim@fluendo.com>
25865 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25866 Make sure we never call the create function is we
25869 2005-07-19 Andy Wingo <wingo@pobox.com>
25871 * gst/parse/parse.l: Attempt to solve bug #172815.
25873 2005-07-19 Wim Taymans <wim@fluendo.com>
25875 * docs/design/part-clocks.txt:
25876 * docs/design/part-events.txt:
25877 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25878 Small docs updates.
25879 Only update the seeking values when we are not
25882 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25884 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25885 Oops, ignore the result of gst_pad_push_event here.
25887 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25889 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25890 (gst_base_src_activate_push):
25891 Send discont event from the loop function, as pads
25892 aren't activated yet in the activate_push handler.
25894 * gst/gstbin.c: (bin_bus_handler):
25895 Don't leak element name.
25897 2005-07-18 Andy Wingo <wingo@pobox.com>
25899 * configure.ac: Use AS_LIBTOOL_TAGS.
25901 2005-07-18 Wim Taymans <wim@fluendo.com>
25903 * docs/gst/gstreamer.types:
25904 Remove deleted types.
25906 2005-07-18 Wim Taymans <wim@fluendo.com>
25908 * check/elements/gstfakesrc.c: (GST_START_TEST):
25911 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25912 (init_popt_callback):
25914 * gst/gst_private.h:
25915 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25916 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25919 * gst/gstconfig.h.in:
25920 * gst/gstelement.c: (gst_element_class_init),
25921 (gst_element_set_base_time), (gst_element_get_base_time),
25922 (iterator_fold_with_resync), (gst_element_change_state),
25923 (gst_element_dispose), (gst_element_get_bus):
25924 * gst/gstelement.h:
25925 * gst/gstelementfactory.h:
25926 * gst/gsterror.c: (_gst_core_errors_init):
25929 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25931 * gst/gstinfo.c: (_gst_debug_init):
25932 * gst/gstmessage.c: (_gst_message_copy):
25933 * gst/gstmessage.h:
25934 * gst/gstminiobject.h:
25937 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25938 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25941 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25942 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25943 (gst_pipeline_get_last_stream_time):
25944 * gst/gstpipeline.h:
25945 * gst/gstpluginfeature.h:
25947 * gst/gstscheduler.c:
25948 * gst/gstscheduler.h:
25949 * gst/gststructure.h:
25950 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25951 (gst_task_finalize), (gst_task_func), (gst_task_create),
25952 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25953 (gst_task_stop), (gst_task_pause):
25955 * gst/gsttypefind.h:
25957 * gst/registries/gstlibxmlregistry.c: (load_feature),
25958 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25959 * gst/registries/gstxmlregistry.c:
25960 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25961 * gst/schedulers/threadscheduler.c:
25962 * libs/gst/control/dparammanager.h:
25963 * tools/gst-inspect.c: (print_element_list),
25964 (print_plugin_features), (print_element_features):
25965 * tools/gst-xmlinspect.c: (print_element_list),
25966 (print_plugin_info), (main):
25967 Removed plugable schedulers.
25968 Removed Scheduler/Manager from elements.
25969 Removed gsttypes.h, rearranged includes.
25970 Removed dependency pad<->element, element<>pipeline, and
25971 various others, fix includes.
25972 implement gst_pad_get_parent() with gst_object_get_parent()
25973 Make GstTask sefcontained.
25974 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25976 Fix endless loop in iterator_fold_with_resync.
25979 2005-07-18 Wim Taymans <wim@fluendo.com>
25985 2005-07-18 Wim Taymans <wim@fluendo.com>
25988 No more cothreads.h
25990 2005-07-18 Wim Taymans <wim@fluendo.com>
25994 Let's remove these.
25996 2005-07-18 Wim Taymans <wim@fluendo.com>
25998 * docs/design/part-dynamic.txt:
25999 * docs/design/part-events.txt:
26000 * docs/design/part-seeking.txt:
26001 Some more docs in the works.
26003 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26004 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26005 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26006 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26007 (gst_base_transform_handle_buffer),
26008 (gst_base_transform_sink_activate_push),
26009 (gst_base_transform_src_activate_pull),
26010 (gst_base_transform_set_passthrough),
26011 (gst_base_transform_is_passthrough):
26014 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26017 * gst/gstevent.c: (gst_event_finalize):
26020 * gst/gstutils.c: (gst_element_unlink),
26021 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26022 (gst_pad_proxy_setcaps):
26024 Add _get_parent_element() to get a pads parent as an element.
26026 2005-07-18 Wim Taymans <wim@fluendo.com>
26028 * check/gst/gstbin.c: (GST_START_TEST):
26031 2005-07-18 Wim Taymans <wim@fluendo.com>
26033 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26034 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26035 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26036 (gst_base_sink_event), (gst_base_sink_do_sync),
26037 (gst_base_sink_chain), (gst_base_sink_loop),
26038 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26039 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26041 Fix logic for returning ASYNC when not prerolled.
26043 2005-07-18 Wim Taymans <wim@fluendo.com>
26045 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26046 Fix nasty refcount bug.
26048 2005-07-16 Philippe Khalaf <burger@speedy.org>
26050 * gst/elements/gstfdsrc.c:
26051 * gst/elements/gstfdsrc.h:
26052 * gst/elements/gstelements.c:
26053 * gst/elements/Makefile.am:
26054 Ported fdsrc to 0.9.
26056 2005-07-16 Wim Taymans <wim@fluendo.com>
26058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26059 (gst_base_sink_do_sync):
26062 2005-07-16 Wim Taymans <wim@fluendo.com>
26064 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26065 (gst_base_sink_event), (gst_base_sink_get_times),
26066 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26067 * gst/base/gstbasesink.h:
26068 Store and use discont values when syncing buffers as described
26071 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26072 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26073 (gst_base_src_activate_push):
26074 Push discont event when starting.
26076 * gst/elements/gstidentity.c: (gst_identity_transform):
26079 * gst/gstbin.c: (gst_bin_change_state):
26080 Small cleanups in base_time distribution.
26082 * gst/gstelement.c: (gst_element_set_base_time),
26083 (gst_element_get_base_time), (gst_element_change_state):
26084 * gst/gstelement.h:
26085 Added methods for the base_time of the element.
26088 * gst/gstpipeline.c: (gst_pipeline_send_event),
26089 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26090 (gst_pipeline_get_last_stream_time):
26091 * gst/gstpipeline.h:
26093 Handle seeking as described in design doc, remove stream_time
26095 Cleanups clock and stream_time selection code. Added accessors
26096 for the stream_time.
26099 2005-07-16 Andy Wingo <wingo@pobox.com>
26101 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26104 2005-07-16 Wim Taymans <wim@fluendo.com>
26106 * check/gst/gstbin.c: (GST_START_TEST):
26107 Make elements silent as the deep_notify refs the
26108 parent, which might make the test fail.
26110 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26111 Don't hold the lock for too long.
26113 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26115 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26116 Don't unref the caps we passed to gst_caps_make_writable() after
26117 passing them. gst_caps_make_writable() will do that for us.
26119 2005-07-15 Andy Wingo <wingo@pobox.com>
26121 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26124 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26125 own marshalling function for the handoff signal. Properly type the
26126 buffer as a buffer. Fixes some warnings. Should do a more general
26128 (gst_identity_class_init): Plug into the right marshaller.
26130 2005-07-15 Wim Taymans <wim@fluendo.com>
26132 * docs/design/part-TODO.txt:
26133 * docs/design/part-clocks.txt:
26134 * docs/design/part-element-sink.txt:
26135 * docs/design/part-events.txt:
26136 * docs/design/part-gstpipeline.txt:
26137 Updated docs, mostly DISCONT related.
26139 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26141 * docs/pwg/building-pads.xml:
26142 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26144 2005-07-15 Andy Wingo <wingo@pobox.com>
26146 * tools/gst-typefind.c: Update, add copyright block.
26148 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26149 Normalize and truncate caps before fixation.
26152 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26153 discards all but the first structure from its argument.
26155 2005-07-15 Wim Taymans <wim@fluendo.com>
26157 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26158 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26159 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26160 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26161 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26162 (gst_base_transform_chain), (gst_base_transform_change_state),
26163 (gst_base_transform_set_passthrough),
26164 (gst_base_transform_is_passthrough):
26165 * gst/base/gstbasetransform.h:
26166 Make passthrough work using the bufferpools.
26167 Changed API a bit, subclasses have to write into a buffer
26168 provided by the base class.
26169 More debug info in nego functions.
26171 * gst/elements/gstidentity.c: (gst_identity_init),
26172 (gst_identity_transform):
26173 Port to new base class.
26175 2005-07-15 Wim Taymans <wim@fluendo.com>
26177 * gst/gstmessage.c: (gst_message_new_state_changed):
26178 * tools/gst-launch.c: (event_loop), (main):
26179 Totally dump messages in -launch with the -m option.
26180 Fix message name for State messages,
26182 2005-07-14 Wim Taymans <wim@fluendo.com>
26184 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26185 Post error messages on errors.
26187 2005-07-14 Wim Taymans <wim@fluendo.com>
26189 * gst/gstcaps.c: (gst_caps_do_simplify):
26193 Define error for stream stopped.
26195 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26196 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26197 Do proper return values.
26199 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26200 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26201 (gst_pad_get_range):
26202 Better return values.
26205 Reorganise return values, add macro to check for fatal errors.
26207 * gst/gstqueue.c: (gst_queue_chain):
26208 Return proper GstFlowReturn values,
26210 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26212 * docs/gst/gstreamer-sections.txt:
26213 * docs/gst/gstreamer.types:
26214 * docs/gst/tmpl/gst.sgml:
26215 * docs/gst/tmpl/gstbasesink.sgml:
26216 * docs/gst/tmpl/gstbasesrc.sgml:
26217 * docs/gst/tmpl/gstbasetransform.sgml:
26218 * docs/gst/tmpl/gstbin.sgml:
26219 * docs/gst/tmpl/gstbuffer.sgml:
26220 * docs/gst/tmpl/gstcaps.sgml:
26221 * docs/gst/tmpl/gstclock.sgml:
26222 * docs/gst/tmpl/gstcompat.sgml:
26223 * docs/gst/tmpl/gstconfig.sgml:
26224 * docs/gst/tmpl/gstelement.sgml:
26225 * docs/gst/tmpl/gstelementdetails.sgml:
26226 * docs/gst/tmpl/gstelementfactory.sgml:
26227 * docs/gst/tmpl/gstenumtypes.sgml:
26228 * docs/gst/tmpl/gsterror.sgml:
26229 * docs/gst/tmpl/gstevent.sgml:
26230 * docs/gst/tmpl/gstfakesink.sgml:
26231 * docs/gst/tmpl/gstfakesrc.sgml:
26232 * docs/gst/tmpl/gstfilesink.sgml:
26233 * docs/gst/tmpl/gstfilesrc.sgml:
26234 * docs/gst/tmpl/gstfilter.sgml:
26235 * docs/gst/tmpl/gstformat.sgml:
26236 * docs/gst/tmpl/gstghostpad.sgml:
26237 * docs/gst/tmpl/gstimplementsinterface.sgml:
26238 * docs/gst/tmpl/gstindex.sgml:
26239 * docs/gst/tmpl/gstindexfactory.sgml:
26240 * docs/gst/tmpl/gstinfo.sgml:
26241 * docs/gst/tmpl/gstiterator.sgml:
26242 * docs/gst/tmpl/gstmacros.sgml:
26243 * docs/gst/tmpl/gstmemchunk.sgml:
26244 * docs/gst/tmpl/gstminiobject.sgml:
26245 * docs/gst/tmpl/gstobject.sgml:
26246 * docs/gst/tmpl/gstpad.sgml:
26247 * docs/gst/tmpl/gstpadtemplate.sgml:
26248 * docs/gst/tmpl/gstparse.sgml:
26249 * docs/gst/tmpl/gstpipeline.sgml:
26250 * docs/gst/tmpl/gstplugin.sgml:
26251 * docs/gst/tmpl/gstpluginfeature.sgml:
26252 * docs/gst/tmpl/gstquery.sgml:
26253 * docs/gst/tmpl/gstqueue.sgml:
26254 * docs/gst/tmpl/gstregistry.sgml:
26255 * docs/gst/tmpl/gstregistrypool.sgml:
26256 * docs/gst/tmpl/gstscheduler.sgml:
26257 * docs/gst/tmpl/gstschedulerfactory.sgml:
26258 * docs/gst/tmpl/gststructure.sgml:
26259 * docs/gst/tmpl/gstsystemclock.sgml:
26260 * docs/gst/tmpl/gsttaglist.sgml:
26261 * docs/gst/tmpl/gsttagsetter.sgml:
26262 * docs/gst/tmpl/gsttrace.sgml:
26263 * docs/gst/tmpl/gsttrashstack.sgml:
26264 * docs/gst/tmpl/gsttypefind.sgml:
26265 * docs/gst/tmpl/gsttypefindfactory.sgml:
26266 * docs/gst/tmpl/gsttypes.sgml:
26267 * docs/gst/tmpl/gsturihandler.sgml:
26268 * docs/gst/tmpl/gsturitype.sgml:
26269 * docs/gst/tmpl/gstutils.sgml:
26270 * docs/gst/tmpl/gstvalue.sgml:
26271 * docs/gst/tmpl/gstversion.sgml:
26272 * docs/gst/tmpl/gstxml.sgml:
26273 * docs/libs/tmpl/gstcontrol.sgml:
26274 * docs/libs/tmpl/gstdataprotocol.sgml:
26275 * docs/libs/tmpl/gstdparam.sgml:
26276 * docs/libs/tmpl/gstdplinint.sgml:
26277 * docs/libs/tmpl/gstdpman.sgml:
26278 * docs/libs/tmpl/gstdpsmooth.sgml:
26279 * docs/libs/tmpl/gstgetbits.sgml:
26280 * docs/libs/tmpl/gstunitconvert.sgml:
26281 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26282 (gst_push_src_base_init), (gst_push_src_class_init),
26283 (gst_push_src_init), (gst_push_src_create):
26284 * gst/base/gstpushsrc.h:
26285 * gst/elements/gstelements.c:
26286 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26287 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26288 (gst_fake_sink_init), (gst_fake_sink_set_property),
26289 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26290 (gst_fake_sink_event), (gst_fake_sink_preroll),
26291 (gst_fake_sink_render), (gst_fake_sink_change_state):
26292 * gst/elements/gstfakesink.h:
26293 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26294 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26295 (gst_fake_src_base_init), (gst_fake_src_class_init),
26296 (gst_fake_src_init), (gst_fake_src_event_handler),
26297 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26298 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26299 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26300 (gst_fake_src_create_buffer), (gst_fake_src_create),
26301 (gst_fake_src_start), (gst_fake_src_stop):
26302 * gst/elements/gstfakesrc.h:
26303 * gst/elements/gstfilesink.c: (_do_init),
26304 (gst_file_sink_base_init), (gst_file_sink_class_init),
26305 (gst_file_sink_init), (gst_file_sink_dispose),
26306 (gst_file_sink_set_location), (gst_file_sink_set_property),
26307 (gst_file_sink_get_property), (gst_file_sink_open_file),
26308 (gst_file_sink_close_file), (gst_file_sink_query),
26309 (gst_file_sink_event), (gst_file_sink_render),
26310 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26311 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26312 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26313 * gst/elements/gstfilesink.h:
26314 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26315 (gst_file_src_class_init), (gst_file_src_init),
26316 (gst_file_src_finalize), (gst_file_src_set_location),
26317 (gst_file_src_set_property), (gst_file_src_get_property),
26318 (gst_file_src_map_region), (gst_file_src_map_small_region),
26319 (gst_file_src_create_mmap), (gst_file_src_create_read),
26320 (gst_file_src_create), (gst_file_src_is_seekable),
26321 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26322 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26323 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26324 (gst_file_src_uri_handler_init):
26325 * gst/elements/gstfilesrc.h:
26326 more autistic cleanliness in functions/names/defines
26328 2005-07-13 Andy Wingo <wingo@pobox.com>
26330 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26331 source couldn't negotiate.
26333 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26337 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26338 function. I am channeling Hades. Put your boots on suckers!!!
26340 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26342 * testsuite/caps/Makefile.am:
26343 * testsuite/caps/value_compare.c:
26344 * testsuite/caps/value_intersect.c:
26345 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26346 move two testsuite apps over to the check dir
26348 2005-07-12 Wim Taymans <wim@fluendo.com>
26350 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26351 Added more debug info in the negotiate process.
26353 * gst/gstmessage.h:
26354 Prepare for segment playback.
26356 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26362 * tools/gst-launch.c: (main):
26363 NULL pipeline on errors.
26365 2005-07-12 Andy Wingo <wingo@pobox.com>
26367 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26368 not it comes from a malloc region. Make sure our copy gets freed.
26370 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26372 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26373 * check/gst/gstmessage.c: (GST_START_TEST):
26374 * check/gst/gststructure.c: (GST_START_TEST),
26375 (gst_structure_suite), (main):
26377 * gst/gstelement.c: (gst_element_message_full):
26378 clean up GError and debug string now that they get copied
26379 * gst/gstmessage.c: (gst_message_new_error),
26380 (gst_message_new_warning), (gst_message_parse_error),
26381 (gst_message_parse_warning):
26382 use GST_TYPE_G_ERROR for structure_new, and take copies of
26383 arguments, so that we don't mess up refcounting
26385 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26387 * check/Makefile.am:
26388 add per-test valgrind targets
26389 * check/gst-libs/gdp.c: (GST_START_TEST),
26390 (gst_data_protocol_suite), (main):
26393 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26395 * check/Makefile.am:
26396 instate more valgrindable tests
26397 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26398 (GST_START_TEST), (fakesrc_suite):
26399 * check/gst/gstpad.c: (GST_START_TEST):
26400 * check/gst/gststructure.c: (GST_START_TEST):
26402 * docs/gst/tmpl/gstminiobject.sgml:
26403 * gst/gstpad.c: (gst_pad_finalize):
26404 fix the static mutex leak
26406 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26408 * check/Makefile.am:
26409 add two more tests for valgrinding
26410 * check/gst/gstvalue.c: (GST_START_TEST):
26411 test refcount of deserialized buffer, found a leak
26412 * docs/gst/gstreamer-docs.sgml:
26413 * docs/gst/gstreamer-sections.txt:
26414 * docs/gst/gstreamer.types:
26415 * docs/gst/tmpl/gstminiobject.sgml:
26416 add miniobject to docs
26417 * gst/gstminiobject.c:
26419 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26420 (gst_string_unwrap):
26421 fix a hard-to-find invalid write for one of the tests
26422 fix a leak for deserialized buffers
26424 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26426 * docs/pwg/advanced-events.xml:
26427 * docs/pwg/advanced-request.xml:
26428 * docs/pwg/advanced-scheduling.xml:
26429 * docs/pwg/appendix-porting.xml:
26430 * docs/pwg/building-boiler.xml:
26431 * docs/pwg/intro-preface.xml:
26432 * docs/pwg/other-ntoone.xml:
26433 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26434 of example code and explanation for pad activation, loop() and
26435 getrange() functions and a bit more. Remove old comments pointing
26437 * examples/pwg/Makefile.am:
26438 Add loop/getrange examples.
26440 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26443 check for valgrind binary + some fixes
26445 valgrind suppressions for the tests
26446 * check/Makefile.am:
26447 add a valgrind: target that valgrinds the unit tests
26448 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26449 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26450 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26451 * check/gst/gstghostpad.c:
26453 * check/gst/gstdata.c:
26455 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26456 (thread_unref), (gst_mini_object_suite), (main):
26458 * gst/gst.c: (gst_deinit):
26460 add a method to clean up.
26461 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26462 (gst_system_clock_obtain):
26463 allow for disposing the system clock.
26464 * tools/gst-launch.c: (main):
26467 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26469 * docs/gst/tmpl/gstbasesrc.sgml:
26470 * docs/gst/tmpl/gstfakesrc.sgml:
26471 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26472 (gst_base_src_init), (gst_base_src_set_property),
26473 (gst_base_src_get_property), (gst_base_src_get_range),
26474 (gst_base_src_start):
26475 * gst/base/gstbasesrc.h:
26476 add num-buffers property
26477 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26478 (gst_fakesrc_init), (gst_fakesrc_set_property),
26479 (gst_fakesrc_get_property), (gst_fakesrc_create),
26480 (gst_fakesrc_start):
26481 remove num-buffers property
26483 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26485 * docs/gst/gstreamer-sections.txt:
26486 * docs/gst/tmpl/gstbasesink.sgml:
26487 * docs/gst/tmpl/gstbasesrc.sgml:
26488 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26489 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26490 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26491 (gst_base_sink_set_property), (gst_base_sink_get_property),
26492 (gst_base_sink_handle_object), (gst_base_sink_event),
26493 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26494 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26495 (gst_base_sink_loop), (gst_base_sink_deactivate),
26496 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26497 (gst_base_sink_change_state):
26498 * gst/base/gstbasesink.h:
26499 * gst/base/gstbasesrc.h:
26500 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26501 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26502 (gst_filesink_init):
26503 more macro splitting
26505 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26507 * gst/gstelement.c: (gst_element_get_bus):
26509 * tools/gst-launch.c: (check_intr), (event_loop):
26512 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26514 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26517 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26519 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26520 (gst_base_src_finalize):
26521 add finalize method and clean up properly
26522 * gst/gstpipeline.c: (gst_pipeline_dispose):
26525 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26527 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26529 add more things to check
26530 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26531 * gst/gstelement.c:
26534 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26536 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26537 (GST_START_TEST), (fakesrc_suite):
26538 * check/gst-libs/gdp.c: (GST_START_TEST):
26539 * check/gst/gst.c: (GST_START_TEST):
26540 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26541 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26542 * check/gst/gstbus.c: (GST_START_TEST):
26543 * check/gst/gstcaps.c: (GST_START_TEST):
26544 * check/gst/gstdata.c: (GST_START_TEST):
26545 * check/gst/gstelement.c: (GST_START_TEST):
26546 * check/gst/gstghostpad.c: (GST_START_TEST):
26547 * check/gst/gstiterator.c: (GST_START_TEST):
26548 * check/gst/gstmessage.c: (GST_START_TEST):
26549 * check/gst/gstobject.c: (GST_START_TEST):
26550 * check/gst/gstpad.c: (GST_START_TEST):
26551 * check/gst/gststructure.c: (GST_START_TEST):
26552 * check/gst/gstsystemclock.c: (GST_START_TEST),
26553 (gst_systemclock_suite):
26554 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26555 * check/gst/gstvalue.c: (GST_START_TEST):
26556 * check/pipelines/cleanup.c: (GST_START_TEST):
26557 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26558 * check/states/sinks.c: (GST_START_TEST):
26559 * check/gstcheck.c: (gst_check_init):
26560 * check/gstcheck.h:
26561 add debugging category
26562 use GST_START_TEST now, so we add a debug line
26564 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26566 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26567 add test for state change message on a bin
26568 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26570 * gst/gstbin.c: (gst_bin_init):
26571 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26572 * gst/gstelement.c: (gst_element_post_message),
26573 (gst_element_set_state):
26574 * gst/gstelementfactory.c: (gst_element_factory_create):
26575 * gst/gstmessage.c: (gst_message_new):
26576 * gst/gstscheduler.c:
26577 various debugging additions and cleanups
26579 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26581 * check/Makefile.am:
26582 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26584 adding tests for elements
26585 * gst/gstelement.c: (gst_element_dispose):
26587 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26589 * gst/registries/gstlibxmlregistry.c: (load_feature):
26590 plug more leaks. A simple gst_init() now is leakfree, yay.
26592 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26594 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26595 (gst_xml_registry_load):
26596 plug another memleak
26598 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26601 use GST_SET_ERROR_CFLAGS
26602 * docs/faq/cvs.xml:
26603 change to ERROR_CFLAGS
26605 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26608 make GST_ERROR_CFLAGS overridable and re-enable Werror
26609 * docs/faq/cvs.xml:
26610 add a note about error CFLAGS
26611 * docs/gst/tmpl/gstfakesrc.sgml:
26612 * gst/elements/gstfakesrc.c:
26613 comment out some unused code
26614 * gst/gst.c: (split_and_iterate):
26615 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26619 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26621 * common/Makefile.am:
26622 * common/gtk-doc.mak:
26623 * docs/gst/Makefile.am:
26624 factor out gtk-doc.mak
26626 2005-07-07 Wim Taymans <wim@fluendo.com>
26628 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26629 (gst_thread_scheduler_dispose):
26630 Unlock the STREAM_LOCK completely.
26632 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26634 * check/Makefile.am:
26635 * check/elements/.cvsignore:
26636 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26637 (START_TEST), (fakesrc_suite), (main):
26638 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26639 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26640 (gst_fakesrc_create), (gst_fakesrc_start):
26641 * gst/elements/gstfakesrc.h:
26642 adding a first element test
26644 2005-07-07 Andy Wingo <wingo@pobox.com>
26646 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26649 2005-07-07 Wim Taymans <wim@fluendo.com>
26655 2005-07-07 Wim Taymans <wim@fluendo.com>
26657 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26658 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26659 Allow subclasses to implement their own negotiation.
26661 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26663 * docs/design/part-gstbin.txt:
26664 * docs/design/part-gstpipeline.txt:
26665 Update design notes to reflect the movement of
26666 responsibility for bus handling from GstPipeline to
26669 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26672 Remove unnecessary queue2/3/4 examples.
26674 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26676 * examples/Makefile.am:
26677 * examples/helloworld/helloworld.c: (event_loop), (main):
26678 * examples/queue/queue.c: (event_loop), (main):
26679 * examples/queue2/queue2.c: (main):
26680 Update a couple of the examples to work again.
26682 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26683 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26684 Spelling corrections and extra debug.
26686 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26687 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26688 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26690 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26691 (gst_pipeline_change_state):
26692 * gst/gstpipeline.h:
26693 Move the bus handler for children to the GstBin, and create a
26694 separate bus for receiving messages from children to the one the
26695 bus sends 'upwards' on.
26697 2005-07-06 Wim Taymans <wim@fluendo.com>
26700 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26701 (gst_base_sink_handle_object), (gst_base_sink_loop),
26702 (gst_base_sink_change_state):
26703 * gst/base/gstbasesink.h:
26704 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26705 (gst_base_src_init), (gst_base_src_setcaps),
26706 (gst_base_src_getcaps), (gst_base_src_loop),
26707 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26708 (gst_base_src_start), (gst_base_src_change_state):
26709 * gst/base/gstbasesrc.h:
26710 Make basesrc negotiate.
26711 Handle the case where preroll fails in basesink.
26714 2005-07-06 Wim Taymans <wim@fluendo.com>
26716 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26717 Implement the fixate function.
26718 Clean up acceptcaps.
26720 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26722 * docs/pwg/building-filterfactory.xml:
26723 * docs/pwg/pwg.xml:
26724 Remove never-written filter-factory chapter; I'll add the various
26725 base classes to part 4 ("other element types") later on.
26727 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26729 * docs/pwg/advanced-negotiation.xml:
26730 * docs/pwg/building-boiler.xml:
26731 * docs/pwg/building-pads.xml:
26732 * docs/pwg/pwg.xml:
26733 * examples/pwg/Makefile.am:
26734 Add a chapter on caps negotiation, simplify the original code
26735 samples a bit w.r.t. caps negotiation, add link to the advanced
26736 section. Add a bunch of examples showing different use cases of
26737 different types of caps negotiation. Upstream renegotiation isn't
26738 fully documented yet since nobody knows how that works.
26740 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26742 * check/gst/gstpad.c:
26743 * check/gstcheck.c:
26744 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26745 if pad has no parent, return NULL as list of internal links
26747 2005-07-05 Andy Wingo <wingo@pobox.com>
26749 * gst/elements/gstfilesrc.c:
26750 * gst/elements/gstfakesrc.c:
26751 * gst/base/gstpushsrc.c:
26752 * gst/base/gstbasesrc.h:
26753 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26755 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26758 better report generation target (lcov needs a patch)
26760 2005-07-05 Andy Wingo <wingo@pobox.com>
26762 * gst/elements, testsuite: Null if we got it...
26764 2005-07-05 Wim Taymans <wim@fluendo.com>
26767 * libs/gst/dataprotocol/Makefile.am:
26768 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26769 * libs/gst/dataprotocol/dataprotocol.h:
26770 * pkgconfig/Makefile.am:
26771 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26772 * pkgconfig/gstreamer-dataprotocol.pc.in:
26773 Ported dataprotol to 0.9.
26774 Added pkgconfig files.
26776 2005-07-05 Andy Wingo <wingo@pobox.com>
26778 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26779 Default to returning TRUE for the case when tranform_caps returns
26780 a fixed caps, like for identity or volume.
26782 * check/gst/gstbus.c (pound_bus_with_messages):
26783 * check/gst/gstmessage.c (START_TEST):
26784 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26785 message API change.
26787 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26788 logic weaks here: always run transform_caps, trying passthrough
26789 operation only if the original caps intersects with the transform.
26791 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26792 source and sink caps.
26794 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26795 Intersect the peer caps with the pad template before going into
26797 (gst_base_transform_transform_caps): More debugging.
26799 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26802 2005-07-04 Edward Hervey <edward@fluendo.com>
26806 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26809 2005-07-04 Andy Wingo <wingo@pobox.com>
26811 * check/gst/gstpad.c: Only set explicit caps on pads.
26813 2005-07-01 Andy Wingo <wingo@pobox.com>
26815 * tests/network-clock.scm: Commentary update.
26817 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26818 Didn't really make sense, not implementable with basetransform,
26820 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26821 attempt at implementing the sync property, needs an unlock method.
26823 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26824 New func, by default returns the same caps (the identity
26826 (gst_base_transform_getcaps): Uses transform_caps to return
26827 something sensible.
26828 (gst_base_transform_setcaps): Complicated logic to get caps on
26829 both pads, even if they are different, and to call set_caps once
26830 for every time both pads get their caps set.
26831 (gst_base_transform_handle_buffer): Give the ref to the transform
26832 function. Allows in-place modification of the buffer.
26834 * gst/base/gstbasetransform.h (transform_caps): New class method.
26835 Given caps on one side, what can I do on the other.
26836 (set_caps): Take two caps, one for each side of the element.
26839 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26840 caps in place. This is safe because we can check the mutability of
26841 the caps, and a good idea because fixate functions are just called
26842 as a matter of last resort. (Not actually implemented.)
26843 (gst_pad_set_caps): If the caps we're setting is actually the same
26844 as the existing pad caps, just update the pointer without calling
26845 setcaps. Assert that caps is either NULL or fixed, as per the
26848 * gst/gstghostpad.c: Update for fixate changes.
26850 2005-07-02 Andy Wingo <wingo@pobox.com>
26853 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26854 two refcounts makes it immutable, which is enough. Doc more.
26856 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26858 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26859 Put the mini_object into GValue as a mini_object,
26860 not a gpointer, since that's how we declared
26863 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26865 * examples/pwg/Makefile.am:
26866 Fix buildbot again.
26868 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26870 * docs/pwg/building-testapp.xml:
26872 * examples/pwg/Makefile.am:
26875 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26878 * examples/Makefile.am:
26879 * examples/pwg/Makefile.am:
26880 * examples/pwg/extract.pl:
26881 Enable building the PWG examples.
26882 * docs/pwg/advanced-interfaces.xml:
26883 Add URI interface stub.
26884 * docs/pwg/advanced-types.xml:
26885 * docs/pwg/other-autoplugger.xml:
26886 * docs/pwg/appendix-porting.xml:
26887 * docs/pwg/pwg.xml:
26888 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26889 * docs/pwg/building-boiler.xml:
26890 * docs/pwg/building-chainfn.xml:
26891 * docs/pwg/building-pads.xml:
26892 * docs/pwg/building-props.xml:
26893 * docs/pwg/building-state.xml:
26894 * docs/pwg/building-testapp.xml:
26895 Update the building-*.xml parts for 0.9 changes. All examples
26896 code blocks compile in examples/pwg/*.
26898 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26900 * docs/manual/advanced-autoplugging.xml:
26901 * docs/manual/appendix-checklist.xml:
26902 * docs/manual/appendix-integration.xml:
26903 * docs/manual/highlevel-components.xml:
26904 Fix playbin/decodebin examples, update docs a bit, mention bus
26905 instead of signals in various places, mention kmplayer and
26906 kaffeine since they have a working GStreamer backend in the KDE
26909 2005-06-30 Wim Taymans <wim@fluendo.com>
26912 * docs/design/draft-ghostpads.txt:
26913 * docs/design/draft-push-pull.txt:
26914 * docs/design/draft-query.txt:
26915 * docs/design/part-TODO.txt:
26916 * docs/design/part-query.txt:
26917 Added CHANGES-0.9 doc, updated status of other docs.
26922 2005-06-30 Wim Taymans <wim@fluendo.com>
26924 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26925 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26926 (gst_base_sink_change_state):
26927 * gst/base/gstbasesink.h:
26928 Some tweaks, only EOS and a buffer complete a preroll.
26930 2005-06-30 Andy Wingo <wingo@pobox.com>
26932 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26933 activate_push down to the internal pad as well.
26935 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26937 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26939 * gst/gsttaginterface.c:
26940 Some documentation fixes (#307394 and #307397).
26942 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26944 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26946 * gst/gstvalue.c: (gst_value_intersect_list):
26947 Fix memleak (#309125).
26949 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26951 * docs/manual/advanced-dataaccess.xml:
26952 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26953 * docs/manual/basics-pads.xml:
26954 Add reference for filtered caps to above chapter.
26956 2005-06-30 Wim Taymans <wim@fluendo.com>
26958 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26959 (gst_bin_change_state):
26961 Lame attempt at making the state change function a bit
26964 2005-06-30 Wim Taymans <wim@fluendo.com>
26966 * docs/design/part-clocks.txt:
26967 * docs/design/part-element-sink.txt:
26968 * docs/design/part-events.txt:
26969 * docs/design/part-preroll.txt:
26970 * docs/design/part-states.txt:
26971 Some more tweeks and additions to the docs.
26973 2005-06-30 Wim Taymans <wim@fluendo.com>
26975 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26976 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26977 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26978 (gst_pad_check_pull_range), (gst_pad_get_range),
26979 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26981 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26982 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26983 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26984 (gst_pad_remove_buffer_probe):
26985 Removed atomic operations, use existing LOCK.
26986 Move exception handling out of main code path.
26988 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26990 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26991 (silly_return_true_function), (gst_pad_class_init),
26992 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26993 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26994 (gst_pad_send_event):
26995 Fix accumulator, add default value by using _emitv() instead
26996 of _emit() for signal emission.
26998 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27000 * docs/manual/advanced-dataaccess.xml:
27001 * examples/manual/Makefile.am:
27003 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27006 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27008 * gst/elements/gstfilesink.c: (gst_filesink_render):
27009 Simplify code so that we don't have to handle short
27010 writes and return GST_FLOW_ERROR if an error occured.
27012 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27014 * docs/gst/gstreamer-docs.sgml:
27015 Remove probes more.
27017 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27019 * docs/gst/gstreamer-sections.txt:
27020 * docs/gst/tmpl/gstpad.sgml:
27021 * docs/gst/tmpl/gstprobe.sgml:
27023 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27024 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27025 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27026 (gst_pad_push_event), (gst_pad_send_event):
27028 * gst/gstutils.c: (gst_pad_add_data_probe),
27029 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27030 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27031 (gst_pad_remove_buffer_probe):
27033 Remove old probes, add new g-signal-based probes and some utility
27036 2005-06-29 Edward Hervey <edward@fluendo.com>
27038 * gst/gstelementfactory.c:
27041 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27042 the definition to the header file.
27044 2005-06-29 Andy Wingo <wingo@pobox.com>
27046 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27047 plugins from the source directory.
27049 2005-06-29 Wim Taymans <wim@fluendo.com>
27051 * docs/gst/tmpl/gstbuffer.sgml:
27052 * docs/gst/tmpl/gstclock.sgml:
27053 Some fixings for blantently wrong text.
27055 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27057 * check/Makefile.am:
27058 * gst/gst.c: (add_path_func), (init_pre):
27059 * gst/gstregistry.c: (gst_registry_add_path):
27060 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27061 only scan the GST_PLUGIN_PATH locations, and not add
27064 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27066 * docs/gst/gstreamer-sections.txt:
27067 * docs/gst/tmpl/gstbasesrc.sgml:
27068 * gst/gstelement.c:
27069 * gst/gstelement.h:
27074 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27076 * docs/manual/advanced-autoplugging.xml:
27077 Fix autoplugging example.
27079 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27081 * docs/manual/advanced-autoplugging.xml:
27082 * docs/manual/mime-world.fig:
27083 Try to get autoplugging working, fix type detection. Fix text
27084 in hello-world image.
27086 2005-06-29 Wim Taymans <wim@fluendo.com>
27088 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27089 (gst_base_sink_change_state):
27093 map SIGNAL and BROADCAST to the right function.
27096 Remove redundant braces.
27098 * gst/gstpad.c: (gst_pad_set_caps):
27099 Don't call setcaps function when reseting caps to NULL.
27101 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27102 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27103 (gst_system_clock_id_unschedule):
27104 Use BROADCAST as this is what we do.
27106 2005-06-29 Wim Taymans <wim@fluendo.com>
27108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27109 We are actually prerolling before commiting the state
27112 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27114 * docs/manual/advanced-clocks.xml:
27115 * docs/manual/advanced-interfaces.xml:
27116 * docs/manual/advanced-metadata.xml:
27117 * docs/manual/advanced-position.xml:
27118 * docs/manual/advanced-schedulers.xml:
27119 * docs/manual/advanced-threads.xml:
27120 * docs/manual/appendix-porting.xml:
27121 * docs/manual/basics-bins.xml:
27122 * docs/manual/basics-bus.xml:
27123 * docs/manual/basics-elements.xml:
27124 * docs/manual/basics-helloworld.xml:
27125 * docs/manual/basics-pads.xml:
27126 * docs/manual/highlevel-components.xml:
27127 * docs/manual/manual.xml:
27128 * docs/manual/thread.fig:
27129 Update (until threads/scheduling) Application Development Manual;
27130 remove GstThread, add GstBus, add simple porting checklist, add
27131 documentation for tag writing, clocks, make all examples until this
27132 part compile and run.
27133 * examples/manual/Makefile.am:
27134 Update from changes to Application Development Manual; add bus
27135 example, remove thread example.
27137 2005-06-28 Wim Taymans <wim@fluendo.com>
27139 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27140 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27141 (gst_bus_source_dispatch):
27142 Add debugging messages.
27143 Make internal methods static.
27144 Handle the case where the bus is flushed in the handler.
27146 * gst/gstelement.c: (gst_element_get_bus):
27147 Fix refcount in _get_bus();
27149 * gst/gstpipeline.c: (gst_pipeline_change_state),
27150 (gst_pipeline_get_clock_func):
27151 Clock refcounting fixes.
27152 Handle the case where preroll timed out more gracefully.
27154 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27155 Clean up the internal thread in dispose. This is needed
27156 for subclasses that actually get disposed.
27158 * gst/schedulers/threadscheduler.c:
27159 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27160 (gst_thread_scheduler_dispose):
27161 Free thread pool in dispose.
27163 2005-06-28 Andy Wingo <wingo@pobox.com>
27165 * tests/network-clock-utils.scm (debug, print-event): New utils.
27167 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27168 (*packet-loss*): Unified loss probability.
27169 (network-time): Report out-of-band events.
27171 * tests/plot-data: Add support for out-of-band events. Hack it
27172 into this script instead of passing it down the pipe; should fix
27175 2005-06-28 Wim Taymans <wim@fluendo.com>
27177 * docs/gst/gstreamer.types:
27178 * docs/gst/tmpl/gstbasesrc.sgml:
27179 * docs/gst/tmpl/gstpad.sgml:
27182 2005-06-28 Wim Taymans <wim@fluendo.com>
27184 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27185 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27186 (gst_proxy_pad_do_fixatecaps):
27187 Correctly proxy the check_pull_range function.
27189 2005-06-28 Andy Wingo <wingo@pobox.com>
27191 * tests/network-clock.scm: Removed need for slib.
27193 2005-06-28 Wim Taymans <wim@fluendo.com>
27195 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27196 (gst_basesink_preroll_queue_flush):
27197 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27198 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27199 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27200 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27201 (gst_proxy_pad_set_property):
27204 * gst/gstqueue.c: (gst_queue_init):
27205 The deprecated pad loop function is removed now.
27207 2005-06-28 Andy Wingo <wingo@pobox.com>
27209 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27210 New parameters, simulate network packet loss.
27212 * tests/network-clock-utils.scm: Initialize the RNG.
27214 2005-06-28 Wim Taymans <wim@fluendo.com>
27216 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27217 (gst_basesink_event), (gst_basesink_deactivate):
27218 Flushing the preroll queue always needs to unlock the waiters.
27220 2005-06-28 Edward Hervey <edward@fluendo.com>
27222 * gst/gstpipeline.c: (gst_pipeline_send_event):
27223 Wheen a seek was successful on a pipeline, set the stream_time to the
27224 seek offset in order to have a synchronized stream_time.
27226 2005-06-28 Wim Taymans <wim@fluendo.com>
27228 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27229 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27230 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27231 (gst_proxy_pad_do_fixatecaps):
27232 Call wrapper function instead of just calling the function
27233 pointers. This takes care of any locking and whatmore.
27235 2005-06-28 Wim Taymans <wim@fluendo.com>
27237 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27238 (gst_pad_pull_range):
27240 CONNECTED -> LINKED.
27242 2005-06-28 Andy Wingo <wingo@pobox.com>
27244 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27245 source-munging commit!!!
27247 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27248 (gst_object_sink): Take gpointer arguments, not GstObject --
27249 avoids casts. Like GLib.
27251 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27254 2005-06-27 Andy Wingo <wingo@pobox.com>
27256 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27259 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27260 returns a sorted copy of the trace list.
27261 (gst_alloc_trace_print_live): New API, only prints traces with
27262 live objects. Sort the list.
27263 (gst_alloc_trace_print_all): Sort the list.
27264 (gst_alloc_trace_print): Align columns.
27266 * gst/elements/gstttypefindelement.c:
27267 * gst/elements/gsttee.c:
27268 * gst/base/gstbasesrc.c:
27269 * gst/base/gstbasesink.c:
27270 * gst/base/gstbasetransform.c:
27271 * gst/gstqueue.c: Adapt for pad activation changes.
27273 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27275 (gst_pipeline_dispose): Drop ref on sched.
27277 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27278 (gst_pad_activate_default): Push mode by default.
27279 (pre_activate_switch, post_activate_switch): New stubs, things to
27280 do before and after switching activation modes on pads.
27281 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27282 the pad's activate function to choose which mode to activate.
27283 Shortcut on deactivation and call the right function directly.
27284 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27286 (gst_pad_activate_push): New API, same for push mode.
27287 (gst_pad_set_activate_function)
27288 (gst_pad_set_activatepull_function)
27289 (gst_pad_set_activatepush_function): Setters for new API.
27291 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27292 Trace all miniobjects.
27293 (gst_mini_object_make_writable): Unref the arg if we copy, like
27294 gst_caps_make_writable.
27296 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27298 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27299 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27300 Adapt for new pad API.
27302 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27304 * gst/gstelement.h:
27305 * gst/gstelement.c (gst_element_iterate_src_pads)
27306 (gst_element_iterate_sink_pads): New API functions.
27308 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27309 should fold into gstiterator.c in some form.
27310 (gst_element_pads_activate): Simplified via use of fold and
27311 delegation of decisions to gstpad->activate.
27313 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27316 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27317 class once in init, like gstmessage. Didn't run into this issue
27318 but it seems correct. Don't initialize a trace, gstminiobject does
27321 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27322 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27324 (assert_live_count): New util function, uses alloc traces to check
27327 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27328 To be modified when unlink drops the internal pad.
27330 2005-06-27 Wim Taymans <wim@fluendo.com>
27332 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27333 (gst_bin_change_state):
27334 Cleanup the get_state() function a little, make sure it
27335 iterates the same set of elements.
27336 Added stub iterate_state_order().
27338 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27340 * docs/gst/gstreamer-docs.sgml:
27341 * docs/gst/gstreamer-sections.txt:
27342 * docs/gst/gstreamer.types:
27343 * docs/gst/tmpl/gstbasesink.sgml:
27344 * docs/gst/tmpl/gstbasesrc.sgml:
27345 * docs/gst/tmpl/gstbasetransform.sgml:
27346 * docs/gst/tmpl/gstelement.sgml:
27347 * docs/gst/tmpl/gstiterator.sgml:
27348 * gst/base/gstbasesrc.c:
27349 * gst/base/gstbasesrc.h:
27350 * gst/base/gstbasetransform.h:
27351 * gst/gstelement.c:
27352 * gst/gstiterator.h:
27353 adding basetransform and iterator docs
27355 2005-06-27 Andy Wingo <wingo@pobox.com>
27357 * docs/design/part-activation.txt: Notes on how activation should
27358 work -- not quite implemented yet.
27360 2005-06-25 Wim Taymans <wim@fluendo.com>
27362 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27363 At least get the chain function correct, needs more
27366 2005-06-25 Wim Taymans <wim@fluendo.com>
27368 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27369 (gst_basesink_handle_object), (gst_basesink_event),
27370 (gst_basesink_do_sync), (gst_basesink_handle_event),
27371 (gst_basesink_change_state):
27373 Right, two problems here: ghostpads don't take locks and
27374 glib _rec_mutex_lock_full() with depth==0 still locks.
27375 Catch illegal locking and g_warn them.
27377 2005-06-25 Wim Taymans <wim@fluendo.com>
27379 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27380 Have to check for completion now...
27382 2005-06-25 Wim Taymans <wim@fluendo.com>
27384 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27385 (gst_basesink_handle_object), (gst_basesink_event),
27386 (gst_basesink_do_sync), (gst_basesink_handle_event),
27387 (gst_basesink_change_state):
27389 Unlock STREAM_LOCK whatever the recursion was.
27391 2005-06-25 Wim Taymans <wim@fluendo.com>
27393 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27394 (gst_basesink_preroll_queue_empty),
27395 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27396 (gst_basesink_event), (gst_basesink_do_sync),
27397 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27398 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27399 (gst_basesink_change_state):
27400 Reworked the base sink, handle event and buffer serialisation
27401 correctly and removed possible deadlock.
27402 Handle EOS correctly.
27404 2005-06-25 Wim Taymans <wim@fluendo.com>
27406 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27407 (gst_pipeline_change_state):
27408 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27409 Allow elements to post EOS in the state change function.
27410 Fix up -launch, make it exit the poll loop when the
27411 pipeline actually changed state.
27412 Fix up warning parsing in -launch.
27414 2005-06-25 Wim Taymans <wim@fluendo.com>
27416 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27417 (gst_tee_sink_activate):
27418 Core takes STREAM_LOCK for us now.
27420 2005-06-25 Wim Taymans <wim@fluendo.com>
27422 * gst/gstelement.c: (gst_element_get_state_func),
27423 (gst_element_set_state):
27424 * gst/gstelement.h:
27425 * gst/gstmessage.c: (gst_message_parse_error),
27426 (gst_message_parse_warning):
27427 Keep track of current target state while performing a state
27428 change so that subclasses can do something interesting.
27429 Fix parsing of warning/error messages when GError is NULL.
27431 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27433 * docs/gst/Makefile.am:
27434 * docs/gst/gstreamer-docs.sgml:
27435 * docs/gst/gstreamer-sections.txt:
27436 * docs/gst/gstreamer.types:
27437 * docs/gst/tmpl/gstbasesink.sgml:
27438 * docs/gst/tmpl/gstbasesrc.sgml:
27439 * docs/gst/tmpl/gstbin.sgml:
27440 * docs/gst/tmpl/gstcompat.sgml:
27441 * docs/gst/tmpl/gstfakesink.sgml:
27442 * docs/gst/tmpl/gstfakesrc.sgml:
27443 * docs/gst/tmpl/gstfilesink.sgml:
27444 * docs/gst/tmpl/gstfilesrc.sgml:
27445 * docs/gst/tmpl/gstindex.sgml:
27446 * docs/manual/appendix-quotes.xml:
27447 * gst/base/gstbasesrc.h:
27448 * gst/elements/gstfakesrc.h:
27449 * gst/gstmessage.h:
27450 start pulling in base classes and elements in our docs
27452 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27454 * docs/gst/Makefile.am:
27455 * docs/libs/Makefile.am:
27456 fixed make distcheck with gtk-doc 1.3
27458 2005-06-23 Wim Taymans <wim@fluendo.com>
27460 * gst/gstelement.c: (gst_element_get_state_func),
27461 (gst_element_set_state), (gst_element_change_state):
27462 When the state did not change, also report NO_PREROLL
27465 2005-06-23 Wim Taymans <wim@fluendo.com>
27467 * gst/gstpad.c: (gst_pad_event_default):
27468 * gst/gstqueue.c: (gst_queue_loop):
27469 No unsafe task pausing please.
27471 2005-06-23 Wim Taymans <wim@fluendo.com>
27473 * gst/schedulers/threadscheduler.c:
27474 (gst_thread_scheduler_task_start),
27475 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27476 Ref the task before pushing it on the threadpool. This
27477 makes sure that we have a ref when the threadfunction is
27480 2005-06-23 Andy Wingo <wingo@pobox.com>
27482 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27483 offset is greater than the file's size.
27485 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27486 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27487 * gst/gstobject.c (gst_object_class_init): Make the class lock
27488 recursive. Wim won't let me drop deep_notify. Decodebin works
27489 again, whoopdy doo.
27491 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27492 internal pad, and hacks accordingly. Doesn't do it on the target
27493 pad because we change its caps. Probably catches all cases of
27495 (gst_ghost_pad_set_property): Connect to notify::caps as
27498 * tests/network-clock.scm (plot-simulation): Pipe data to the
27499 elite python skript.
27501 * tests/network-clock-utils.scm (define-parameter): New macro,
27502 defines a parameter that can be set via the command line.
27503 (set-parameter!, parse-parameter-arguments): Command line args
27506 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27509 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27511 * gst/elements/gsttypefindelement.c:
27512 (gst_type_find_element_handle_event):
27513 Don't restart typefinding on a discont.
27514 * gst/gstelement.c: (gst_element_set_state):
27515 Debug spelling fix.
27516 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27517 Allow changing mode of an active pad.
27518 Debug output fixes.
27519 * gst/registries/gstlibxmlregistry.c: (load_feature):
27520 Don't cast a static pad template to a normal pad template.
27522 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27524 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27525 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27526 remove gst_strtoll completely, since it didn't actually do
27527 anything more than what g_ascii_strtoull already does.
27528 check for range errors when deserializing
27529 do a cast for the unsigned cases; but further fixing needs
27530 a decision on what the interpretation of "(int)" and
27531 deserialization should be for values that fall outside the
27532 type's boundaries (ie, refuse, or interpret as casting)
27534 2005-06-23 Wim Taymans <wim@fluendo.com>
27536 * check/Makefile.am:
27537 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27538 * docs/design/part-live-source.txt:
27539 * docs/design/part-states.txt:
27540 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27541 (gst_basesrc_set_live), (gst_basesrc_is_live),
27542 (gst_basesrc_get_range), (gst_basesrc_activate),
27543 (gst_basesrc_change_state):
27544 * gst/base/gstbasesrc.h:
27545 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27546 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27547 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27548 * gst/gstelement.c: (gst_element_get_state_func),
27549 (gst_element_set_state):
27550 * gst/gstelement.h:
27552 * tools/gst-launch.c: (event_loop), (main):
27553 Added support for live sources and other elements that
27555 Updated design docs, added live-source design doc.
27556 Implemented live source functionality in basesrc
27557 Fix error condition in _bin_get_state()
27558 Implement live source handling in -launch.
27559 Added check for live sources.
27560 Fixed case in GstBin where elements were changed state
27564 2005-06-23 Andy Wingo <wingo@pobox.com>
27566 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27567 borken refcounting.
27569 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27570 gst_caps_replace takes care of this for us.
27572 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27573 gst_pad_set_caps on the target, not just its setcaps() function.
27575 * tests/network-clock.scm:
27576 * tests/network-clock-utils.scm: A network clock simulator.
27577 Something of an algorithmic testbed before doing something in C.
27579 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27581 * check/Makefile.am:
27582 * check/gst/capslist.h:
27583 copy over from 0.8, and add two with bitmasks specified with
27585 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27586 add test to parse everything from capslist.h
27587 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27589 add test for structure deserialization
27590 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27591 add tests for deserialization of strings to int types
27592 * gst/gststructure.c: (gst_structure_nth_field_name):
27593 * gst/gststructure.h:
27594 add a way to get the name of a field referenced by index
27595 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27596 instead of checking if the resulting long long lies between
27597 min and max, we check if the long long would fit into
27598 a number of bytes for the final type.
27599 This fixes cases where a string represents 2^32 - 1, which
27600 when cast to int would be the (valid) -1, but is bigger than
27603 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27605 * gst/parse/grammar.y:
27606 add a log line for type deserialization
27608 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27610 * check/gst/gstvalue.c: (START_TEST):
27611 * gst/gstvalue.c: (gst_value_deserialize):
27612 return long long, not int, so gint64 deserialization actually
27613 works. Is there any flag that makes the compiler check this ?
27616 2005-06-22 Wim Taymans <wim@fluendo.com>
27619 Added convenience macros for setting buffers in GValue.
27621 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27623 * check/gst/.cvsignore:
27624 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27625 add a test deserializing int64, and comment part out because
27628 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27630 * check/Makefile.am:
27631 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27632 * testsuite/Makefile.am:
27633 * testsuite/caps/Makefile.am:
27634 * testsuite/caps/value_serialize.c:
27635 * testsuite/test_gst_init.c:
27636 move a value_serialize test over
27638 2005-06-20 Wim Taymans <wim@fluendo.com>
27643 * gst/gstvalue.c: (gst_value_compare_buffer),
27644 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27645 (gst_value_compare_flags), (gst_value_serialize_flags),
27646 (gst_value_deserialize_flags), (_gst_value_initialize):
27647 Fix serialisation of buffers, they are not boxed types anymore
27649 2005-06-20 Wim Taymans <wim@fluendo.com>
27651 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27652 Testcase to show error in buffer-on-caps serialisation.
27654 2005-06-20 Andy Wingo <wingo@pobox.com>
27656 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27657 will be adding to later.
27659 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27660 if its socks fill with rocks.
27661 (gst_system_clock_obtain): Set the name on object construction.
27662 Avoid double-checked locking.
27664 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27666 * gst/gsturi.c: (gst_element_make_from_uri):
27667 Fix potential endless loop.
27669 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27671 * check/Makefile.am:
27673 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27675 move over from testsuite dir and clean up
27678 * testsuite/Makefile.am:
27679 * testsuite/tags/.cvsignore:
27680 * testsuite/tags/Makefile.am:
27681 * testsuite/tags/merge.c:
27682 remove testsuite/tags
27684 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27686 * docs/gst/gstreamer-sections.txt:
27687 * docs/gst/tmpl/gstenumtypes.sgml:
27688 * win32/gstenumtypes.c:
27689 clean up documentation build a little
27691 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27693 * check/gstcheck.h:
27694 add macros for checking refcounts on objects and caps
27695 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27696 add some more unit tests
27697 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27698 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27699 fix leaked refcounts (I hope :)) so unittest works
27703 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27705 * configure.ac: back to HEAD
27707 === release 0.9.1 ===
27709 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27715 2005-06-17 Andy Wingo <wingo@pobox.com>
27717 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27718 assert; it's always possible that the pad gets deactivated in
27719 between the checks in gstpad.c and the implementation. Rely on
27720 finish_preroll() to return a FLUSHING or similar instead of on the
27723 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27724 clock and post an EOS message if we come out of finish_preroll in
27727 2005-06-16 David Schleef <ds@schleef.org>
27729 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27730 (gst_capsfilter_set_property): Allow NULL as possible value
27731 for filter_caps property, indicating GST_CAPS_ANY.
27733 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27735 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27737 * gst/schedulers/Makefile.am:
27739 * gstreamer.spec.in:
27742 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27744 * gstreamer.spec.in:
27747 2005-06-08 Andy Wingo <wingo@pobox.com>
27749 * gst/gstutils.c: RPAD fixes all around.
27750 (gst_element_link_pads): Refcounting fixes.
27752 * tools/gst-inspect.c:
27753 * tools/gst-xmlinspect.c:
27755 * gst/base/gsttypefindhelper.c:
27756 * gst/base/gstbasesink.c:
27757 * gst/gstqueue.c: RPAD fixes.
27759 * gst/gstghostpad.h:
27760 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27761 pads. The tricky thing is they provide both source and sink
27762 interfaces, since they proxy the internal pad for the external
27763 pad, and vice versa. Implement with lower-level ProxyPad objects,
27764 with the interior proxy pad as a child of the exterior ghost pad.
27765 Should write a doc on this.
27767 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27768 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27771 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27772 pads are real pads. No ghost pads in this file. Not documenting
27773 the myriad s/RPAD/PAD/ and REALIZE fixes.
27774 (gst_pad_class_init): Add properties for "direction" and
27775 "template". Both are construct-only, so they can't change during
27776 the life of the pad. Fixes properly deriving from GstPad.
27777 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27778 derived objects, just set properties when creating the objects via
27780 (gst_pad_get_parent): Implement as a function, return NULL if the
27781 parent is not an element.
27782 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27783 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27785 * gst/gstobject.c (gst_object_class_init): Make name a construct
27786 property. Don't set it in the object init.
27788 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27789 with UNKNOWN direction.
27790 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27791 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27792 (gst_element_remove_pad): Remove ghost-pad special cases.
27793 (gst_element_pads_activate): Remove rpad cruft.
27795 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27796 catch the pad's-parent-not-an-element case.
27798 * gst/gst.h: Include gstghostpad.h.
27800 * gst/gst.c (init_post): No more real, ghost pads.
27802 * gst/Makefile.am: Add gstghostpad.[ch].
27804 * check/Makefile.am:
27805 * check/gst/gstbin.c:
27806 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27807 into a bin creates ghost pads, and that the refcounts are right.
27808 Partly moved from gstbin.c.
27810 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27812 * check/gst-libs/.cvsignore:
27813 * check/gst/.cvsignore:
27814 * check/pipelines/.cvsignore:
27816 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27817 (START_TEST), (cleanup_suite), (main):
27818 add some tests related to cleanup after running pipelines
27820 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27822 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27823 add a testsuite for GstBuffer
27825 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27827 * gst/gstminiobject.h:
27828 add defines for accessing the refcount
27830 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27832 * Makefile.am: added support for html unit test coverage reports
27834 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27836 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27837 Free existing caps if the capsfilter changes. Add a FIXME about
27838 setting those caps on the pads.
27840 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27841 Before adding a ghost pad to a parent bin, check that there isn't
27842 already one for the element on the bin. Prevents infinite recursion
27843 when using decodebin in parse pipelines. Andy says he'll rewrite the
27844 way this works anyway, so ignore the hack.
27846 2005-06-02 Andy Wingo <wingo@pobox.com>
27848 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27849 file size, pass it on to the type find helper.
27851 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27852 segment_start and segment_end properly according to the seek
27853 method. Segment_end is still a bit flaky because offset can be
27854 negative for CUR and END cases, but it takes -1 as an "unset"
27857 2005-06-02 Wim Taymans <wim@fluendo.com>
27859 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27860 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27861 (gst_basesink_activate):
27862 * gst/base/gstbasesink.h:
27863 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27864 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27865 (gst_pad_query), (gst_pad_start_task):
27867 * gst/gstqueue.c: (gst_queue_bufferalloc),
27868 (gst_queue_handle_sink_event), (gst_queue_chain):
27869 Bufferalloc: return GstFlowReturn to more accuratly report
27870 why allocation failed.
27872 2005-06-02 Wim Taymans <wim@fluendo.com>
27874 * gst/gstpipeline.c: (gst_pipeline_send_event):
27875 Take snapshot of state without blocking.
27877 2005-06-02 Wim Taymans <wim@fluendo.com>
27879 * docs/design/part-TODO.txt:
27880 * docs/design/part-caps.txt:
27881 * docs/design/part-clocks.txt:
27882 * docs/design/part-negotiation.txt:
27883 * docs/design/part-preroll.txt:
27886 2005-05-30 Wim Taymans <wim@fluendo.com>
27888 * gst/elements/gstidentity.c: (gst_identity_event),
27889 (gst_identity_transform), (gst_identity_get_property):
27890 Protect last_message property as it is accessed from
27893 2005-05-30 Wim Taymans <wim@fluendo.com>
27895 * gst/gstelement.c: (gst_element_init),
27896 (gst_element_pads_activate), (gst_element_change_state):
27897 Slicker pad activation code.
27899 2005-05-30 Wim Taymans <wim@fluendo.com>
27902 * gst/gstelement.h:
27903 * gst/gstelementfactory.h:
27905 Move elementfactory methods to separate .h file.
27907 2005-05-30 Wim Taymans <wim@fluendo.com>
27909 * docs/design/part-overview.txt:
27910 * gst/gstsystemclock.h:
27911 Small typo fixes, doc updates.
27913 2005-05-30 Wim Taymans <wim@fluendo.com>
27915 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27916 (init_popt_callback):
27917 Remove cpu-opt flag.
27919 2005-05-30 Wim Taymans <wim@fluendo.com>
27921 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27922 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27924 Avoid typechecking in places where not needed.
27925 Added accessor for malloc_data.
27927 2005-05-30 Wim Taymans <wim@fluendo.com>
27929 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27930 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27931 (gst_pad_configure_sink), (gst_pad_configure_src),
27932 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27933 (gst_pad_start_task):
27934 Propagate errors from _set_caps() in configure_src/sink
27935 functions instead of returning TRUE.
27936 FLUSH events can travel up and downstream
27939 2005-05-30 Wim Taymans <wim@fluendo.com>
27941 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27942 (gst_basesink_activate):
27943 Handle EOS in preroll.
27945 2005-05-30 Wim Taymans <wim@fluendo.com>
27947 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27948 (gst_queue_loop), (gst_queue_handle_src_event):
27949 Remove old pieces of code
27950 Flushing the queue in an upstream event is a very bad idea.
27952 2005-05-26 Andy Wingo <wingo@pobox.com>
27954 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27955 gst_value_set_mini_object so as to add a ref on the object (which
27956 will be removed when the value is unset).
27958 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27959 arg type in ::handoff.
27961 * gst/gstelement.c (gst_element_change_state): Also deactivate
27962 pads in READY->NULL, just in case the element didn't make it to
27963 PAUSED. Wingo tested, Wim approved.
27965 2005-05-26 Wim Taymans <wim@fluendo.com>
27967 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27968 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27969 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27970 A flushing pad cannot be used to alloc_buffer from.
27972 2005-05-26 Wim Taymans <wim@fluendo.com>
27974 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27975 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27976 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27977 (gst_bus_create_watch), (gst_bus_add_watch_full):
27979 Implement a real GSource and use g_main_context_wakeup() to
27980 signal new messages instead of the socketpair.
27982 2005-05-25 Wim Taymans <wim@fluendo.com>
27984 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27985 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27986 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27987 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27988 (gst_pad_send_event), (gst_pad_start_task):
27989 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27990 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27991 (gst_queue_sink_activate), (gst_queue_src_activate),
27992 (gst_queue_change_state):
27994 Fix state changes for non sinks. We now change sinks, then elements
27995 with unconnected srcpads, then the rest.
27996 More efficient queue unlocking in flush and state changes.
27997 Set the pad activate mode even if it does not have an activate
28000 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28002 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28003 Don't go in pull mode for non-seekable sources.
28004 * gst/elements/gsttypefindelement.h:
28005 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28006 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28007 (free_entry), (stop_typefinding),
28008 (gst_type_find_element_handle_event), (find_peek),
28009 (gst_type_find_element_chain), (do_pull_typefind),
28010 (gst_type_find_element_change_state):
28011 Allow typefinding (w/o seeking) in push-mode, simplified version
28012 of what was in 0.8.
28013 * gst/gstutils.c: (gst_buffer_join):
28015 gst_buffer_join() from 0.8.
28017 2005-05-25 Wim Taymans <wim@fluendo.com>
28019 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28020 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28021 (gst_pad_send_event), (gst_pad_start_task):
28022 Disable attempt at mode switching until it is figured out.
28024 2005-05-25 Wim Taymans <wim@fluendo.com>
28026 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28027 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28028 (gst_basesink_finish_preroll), (gst_basesink_chain),
28029 (gst_basesink_loop), (gst_basesink_activate),
28030 (gst_basesink_change_state):
28031 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28032 (gst_basesrc_get_range), (gst_basesrc_loop),
28033 (gst_basesrc_activate):
28034 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28035 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28036 (gst_real_pad_init), (gst_real_pad_set_property),
28037 (gst_real_pad_get_property), (gst_pad_set_active),
28038 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28039 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28040 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28041 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28042 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28043 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28044 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28045 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28046 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28047 (gst_pad_stop_task):
28049 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28050 (gst_queue_loop), (gst_queue_src_activate):
28051 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28052 (gst_task_get_state):
28054 * gst/schedulers/threadscheduler.c:
28055 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28056 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28058 Remove ACTIVE pad flag, use FLUSHING everywhere
28059 Added _pad_chain(), _pad_get_range() to call chain/getrange
28061 Add locks around IS_FLUSHING when reading.
28062 Take STREAM lock in chain(), get_range() functions so plugins
28063 don't need to take it anymore.
28067 2005-05-25 Wim Taymans <wim@fluendo.com>
28069 * tools/gst-launch.c: (event_loop):
28070 Unref message after using its contents instead of
28073 2005-05-24 Wim Taymans <wim@fluendo.com>
28075 * docs/design/draft-ghostpads.txt:
28076 * docs/design/draft-push-pull.txt:
28077 * docs/design/draft-query.txt:
28078 * docs/design/part-overview.txt:
28079 Docs updates, added general overview doc.
28081 2005-05-21 David Schleef <ds@schleef.org>
28083 * docs/gst/tmpl/old/GstBin.sgml:
28084 * docs/gst/tmpl/old/GstBuffer.sgml:
28085 * docs/gst/tmpl/old/GstCaps.sgml:
28086 * docs/gst/tmpl/old/GstClock.sgml:
28087 * docs/gst/tmpl/old/GstCompat.sgml:
28088 * docs/gst/tmpl/old/GstData.sgml:
28089 * docs/gst/tmpl/old/GstElement.sgml:
28090 * docs/gst/tmpl/old/GstEvent.sgml:
28091 * docs/gst/tmpl/old/GstIndex.sgml:
28092 * docs/gst/tmpl/old/GstStructure.sgml:
28093 * docs/gst/tmpl/old/GstTag.sgml:
28094 * docs/gst/tmpl/old/cothreads.sgml:
28095 * docs/gst/tmpl/old/cothreads_compat.sgml:
28096 * docs/gst/tmpl/old/gettext.sgml:
28097 * docs/gst/tmpl/old/gobject2gtk.sgml:
28098 * docs/gst/tmpl/old/grammar.tab.sgml:
28099 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28100 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28101 * docs/gst/tmpl/old/gst_private.sgml:
28102 * docs/gst/tmpl/old/gstaggregator.sgml:
28103 * docs/gst/tmpl/old/gstarch.sgml:
28104 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28105 * docs/gst/tmpl/old/gstbufferstore.sgml:
28106 * docs/gst/tmpl/old/gstdata_private.sgml:
28107 * docs/gst/tmpl/old/gstdisksink.sgml:
28108 * docs/gst/tmpl/old/gstdisksrc.sgml:
28109 * docs/gst/tmpl/old/gstelementfactory.sgml:
28110 * docs/gst/tmpl/old/gstextratypes.sgml:
28111 * docs/gst/tmpl/old/gstfakesink.sgml:
28112 * docs/gst/tmpl/old/gstfakesrc.sgml:
28113 * docs/gst/tmpl/old/gstfdsink.sgml:
28114 * docs/gst/tmpl/old/gstfdsrc.sgml:
28115 * docs/gst/tmpl/old/gstfilesink.sgml:
28116 * docs/gst/tmpl/old/gstfilesrc.sgml:
28117 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28118 * docs/gst/tmpl/old/gstidentity.sgml:
28119 * docs/gst/tmpl/old/gstindexfactory.sgml:
28120 * docs/gst/tmpl/old/gstmarshal.sgml:
28121 * docs/gst/tmpl/old/gstmd5sink.sgml:
28122 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28123 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28124 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28125 * docs/gst/tmpl/old/gstpipefilter.sgml:
28126 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28127 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28128 * docs/gst/tmpl/old/gstshaper.sgml:
28129 * docs/gst/tmpl/old/gstspider.sgml:
28130 * docs/gst/tmpl/old/gstspideridentity.sgml:
28131 * docs/gst/tmpl/old/gststatistics.sgml:
28132 * docs/gst/tmpl/old/gsttee.sgml:
28133 * docs/gst/tmpl/old/gsttimecache.sgml:
28134 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28135 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28136 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28137 * docs/gst/tmpl/old/types.sgml:
28138 I didn't intend to add these or check them in.
28140 2005-05-19 David Schleef <ds@schleef.org>
28142 * configure.ac: Use -no-common everywhere. In a sane world, it
28143 would be the default in libtool, because without it, you can't
28144 build DLLs on Windows.
28145 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28146 * docs/gst/gstreamer-sections.txt:
28147 * docs/gst/tmpl/gstcpu.sgml:
28148 * docs/gst/tmpl/gstdata.sgml:
28149 * docs/gst/tmpl/gstthread.sgml:
28151 2005-05-19 David Schleef <ds@schleef.org>
28153 * gst/gstminiobject.c: (gst_value_set_mini_object),
28154 (gst_value_take_mini_object), (gst_value_get_mini_object):
28155 * gst/gstminiobject.h: Add GValue set/get functions.
28157 2005-05-19 Wim Taymans <wim@fluendo.com>
28159 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28160 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28161 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28163 * gst/gstbus.c: (gst_bus_post):
28164 * gst/gstelement.c: (gst_element_get_random_pad):
28165 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28166 Make subbufer unref the parent in finalize.
28167 some more debugging info.
28170 2005-05-19 Wim Taymans <wim@fluendo.com>
28172 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28173 (gst_basesink_init), (gst_basesink_finalize),
28174 (gst_basesink_activate), (gst_basesink_change_state):
28175 Don't free preroll queue too early.
28177 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28181 Hi, I'm outdated. Please shoot me.
28183 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28185 * gst/gstpipeline.c: (gst_pipeline_send_event):
28186 Do not access variables after they have been deleted.
28188 2005-05-19 Wim Taymans <wim@fluendo.com>
28190 * tools/gst-inspect.c: (print_plugin_features):
28191 A plugin feature does unfortunatly not use the
28194 2005-05-18 Wim Taymans <wim@fluendo.com>
28196 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28197 Port _span() functions to new subbuffers.
28199 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28201 * gst/gstbin.c: (gst_bin_add_func):
28202 Fix clock settery in bins when adding kids after the clock has
28205 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28207 * gst/elements/gstidentity.c: (gst_identity_class_init):
28208 Workaround until signals support GstMiniObject.
28210 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28213 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28215 2005-05-18 Wim Taymans <wim@fluendo.com>
28217 * gst/base/Makefile.am:
28218 * gst/base/gstadapter.c: (gst_adapter_base_init),
28219 (gst_adapter_class_init), (gst_adapter_init),
28220 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28221 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28222 (gst_adapter_flush), (gst_adapter_available),
28223 (gst_adapter_available_fast):
28224 * gst/base/gstadapter.h:
28225 Ported and added adapter to the base classes.
28227 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28230 * gst/gstmessage.c:
28231 Make sure the class is reffed/unreffed once before threads can be
28232 used. Fixes #304551.
28234 2005-05-17 Wim Taymans <wim@fluendo.com>
28236 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28237 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28238 * gst/gstminiobject.c: (gst_mini_object_get_type),
28239 (gst_mini_object_free):
28240 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28241 (gst_pad_push), (gst_pad_push_event):
28242 * gst/gstqueue.c: (gst_queue_change_state):
28243 Don't queue buffers in basesink when we are flushing.
28244 Unref buffer when flushing in basesink.
28245 Flush queue when going to READY
28246 Unref buffer when _push() returns an error.
28247 Don't free MiniObject instance when refcount is incremented
28248 in _finalize() so that we can recover objects.
28250 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28252 * docs/manual/advanced-schedulers.xml:
28253 * docs/manual/appendix-checklist.xml:
28254 * docs/pwg/advanced-clock.xml:
28255 * docs/pwg/advanced-interfaces.xml:
28256 * docs/pwg/advanced-request.xml:
28257 * docs/pwg/advanced-types.xml:
28258 * docs/pwg/intro-preface.xml:
28259 * examples/plugins/example.c: (gst_example_get_type),
28260 (gst_example_class_init), (gst_example_chain),
28261 (gst_example_set_property), (gst_example_get_property),
28262 (gst_example_change_state), (plugin_init):
28263 * examples/plugins/example.h:
28266 2005-05-17 Wim Taymans <wim@fluendo.com>
28268 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28269 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28270 * gst/gstqueue.c: (gst_queue_change_state):
28271 Clear queue when going to READY.
28272 Remove IN_SETCAPS flag too.
28274 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28276 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28277 Remove implicit cast from gboolean to GstElementStateReturn;
28278 make sure we still return failure in paused => ready case if
28279 the parent class fails to change state and our own stop
28282 2005-05-17 Wim Taymans <wim@fluendo.com>
28284 * tools/gst-launch.c: (event_loop):
28285 Message was unreffed too soon.
28287 2005-05-16 Andy Wingo <wingo@pobox.com>
28289 * gst/gstbin.c (sink_iterator_filter): Err... um...
28291 * check/gst/gstbin.c (test_ghost_pads): New test for the
28292 ghosting-if-elements-not-in-same-bin behavior.
28294 2005-05-16 David Schleef <ds@schleef.org>
28296 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28297 accessing refcount directly.
28299 2005-05-15 David Schleef <ds@schleef.org>
28301 * check/Makefile.am: remove GstData checks
28302 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28303 * gst/Makefile.am: add miniobject, remove data
28304 * gst/gst.h: add miniobject, remove data
28305 * gst/gstdata.c: remove
28306 * gst/gstdata.h: remove
28307 * gst/gstdata_private.h: remove
28308 * gst/gsttypes.h: remove GstEvent and GstMessage
28309 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28310 * gst/gstmarshal.list: change BOXED -> OBJECT
28312 Implement GstMiniObject.
28313 * gst/gstminiobject.c:
28314 * gst/gstminiobject.h:
28316 Modify to be subclasses of GstMiniObject.
28317 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28318 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28319 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28320 (gst_subbuffer_get_type), (gst_subbuffer_init),
28321 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28324 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28325 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28326 (_gst_event_copy), (gst_event_new):
28328 * gst/gstmessage.c: (_gst_message_initialize),
28329 (gst_message_get_type), (gst_message_class_init),
28330 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28331 (gst_message_new), (gst_message_new_error),
28332 (gst_message_new_warning), (gst_message_new_tag),
28333 (gst_message_new_state_changed), (gst_message_new_application):
28334 * gst/gstmessage.h:
28335 * gst/gstprobe.c: (gst_probe_perform),
28336 (gst_probe_dispatcher_dispatch):
28338 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28339 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28340 (_gst_query_copy), (gst_query_new):
28342 Update elements for GstData -> GstMiniObject changes
28344 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28345 (gst_queue_chain), (gst_queue_loop):
28346 * gst/elements/gstbufferstore.c:
28347 (gst_buffer_store_add_buffer_func),
28348 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28349 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28350 (gst_fakesink_render):
28351 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28352 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28353 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28354 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28355 (gst_filesrc_create_read):
28356 * gst/elements/gstidentity.c: (gst_identity_class_init):
28357 * gst/elements/gsttypefindelement.c:
28358 (gst_type_find_element_src_event), (free_entry_buffers),
28359 (gst_type_find_element_handle_event):
28360 * libs/gst/dataprotocol/dataprotocol.c:
28361 (gst_dp_header_from_buffer):
28362 * libs/gst/dataprotocol/dataprotocol.h:
28363 * libs/gst/dataprotocol/dp-private.h:
28365 2005-05-15 David Schleef <ds@schleef.org>
28367 * gst/elements/gstelements.c: Don't include headers that were
28370 2005-05-15 David Schleef <ds@schleef.org>
28372 * gst/elements/Makefile.am: Remove some elements that don't
28373 need to be in the core (or even exist at all).
28374 * gst/elements/gstaggregator.c:
28375 * gst/elements/gstaggregator.h:
28376 * gst/elements/gstmd5sink.c:
28377 * gst/elements/gstmd5sink.h:
28378 * gst/elements/gstmultifilesrc.c:
28379 * gst/elements/gstmultifilesrc.h:
28380 * gst/elements/gstpipefilter.c:
28381 * gst/elements/gstpipefilter.h:
28382 * gst/elements/gstshaper.c:
28383 * gst/elements/gstshaper.h:
28384 * gst/elements/gststatistics.c:
28385 * gst/elements/gststatistics.h:
28386 * po/POTFILES.in: Remove above files.
28388 2005-05-14 Andy Wingo <wingo@pobox.com>
28390 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28391 so as to get the refs right.
28392 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28393 unreffing objects that don't pass the filter.
28395 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28396 gst_element_set_bus.
28397 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28398 normal cases, this will destroy the bus.
28400 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28403 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28406 2005-05-13 Andy Wingo <wingo@pobox.com>
28408 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28409 gst_pad_link, call pad_link_maybe_ghosting,
28410 (pad_link_maybe_ghosting): Links pads, making sure that the
28411 elements being linked are in the same bin.
28412 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28413 Helpers for pad_link_maybe_ghosting.
28415 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28418 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28420 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28422 * docs/design/part-element-source.txt:
28425 2005-05-12 Wim Taymans <wim@fluendo.com>
28427 * gst/base/gstbasesink.c: (gst_basesink_init),
28428 (gst_basesink_activate):
28429 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28430 (gst_basesrc_is_seekable):
28431 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28432 (bin_element_is_sink), (gst_bin_change_state):
28433 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28434 * gst/gstelement.h:
28435 Identify sinks by their flag to avoid overly complicated
28437 Do state changes even for elements not reachable from the
28439 BaseSink is a sink now :)
28440 Some more debugging info in the basesrc.
28443 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28445 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28446 Implement _query on a bin, similar to _send_event.
28448 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28450 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28451 Discont event offset format should be GST_FORMAT_BYTES,
28452 not GST_FORMAT_TIME.
28454 2005-05-12 Wim Taymans <wim@fluendo.com>
28456 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28457 Same fix as Ronald's but without the signal.
28459 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28461 * gst/gstutils.c: (gst_element_query_position):
28462 No, an element is not a pad.
28464 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28466 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28467 (gst_bin_get_state):
28468 If a child is removed from a bin while we remove the child from
28469 the bin and while we're retrieving its state, signal this to the
28470 get_state function so we abort the wait (instead of waiting for
28471 a timeout) and can immediately re-iterate over all other elements.
28473 2005-05-12 Wim Taymans <wim@fluendo.com>
28475 * gst/base/Makefile.am:
28476 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28477 (gst_basesrc_start):
28478 * gst/base/gstbasesrc.h:
28479 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28480 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28481 (gst_pushsrc_init), (gst_pushsrc_create):
28482 * gst/base/gstpushsrc.h:
28483 Added is_seekable to BaseSrc
28484 Added simple PushSrc.
28486 2005-05-11 Wim Taymans <wim@fluendo.com>
28488 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28489 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28490 (gst_element_link_pads), (gst_element_query_position),
28491 (gst_element_query_convert), (intersect_caps_func),
28492 (gst_pad_query_position), (gst_pad_query_convert):
28493 Fix refcounting in utils function.
28494 No point in trying to activate a pad when it's added, it could
28495 be added from the state change function and then we deadlock, the
28496 element has to decide what to do.
28498 2005-05-10 Andy Wingo <wingo@pobox.com>
28500 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28501 *all* the arguments.
28503 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28504 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28505 lock (according to the docs -- if this is wrong change the docs).
28507 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28508 flush messages in the NULL state.
28510 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28511 message immediately and return.
28512 (gst_bus_set_flushing): New function. If a bus is flushing, it
28513 flushes out any queued messages and immediately unrefs new
28514 messages. This is so when an element goes to NULL, all of the
28515 unhandled messages coming from it can be freed, and their
28516 references to the element dropped. In other words: message source
28517 ref considered harmful :P
28519 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28520 we're finished with it.
28522 * gst/gstmessage.c (gst_message_new_state_changed):
28524 2005-05-10 Wim Taymans <wim@fluendo.com>
28526 * gst/gstvalue.c: (gst_value_compare_flags),
28527 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28528 (_gst_value_initialize):
28529 Added flags serialize/deserialize/compare code.
28531 2005-05-09 Andy Wingo <wingo@pobox.com>
28533 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28534 Intersect the peer's caps with our caps.
28536 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28538 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28539 * gst/elements/gsttypefindelement.c: (find_peek):
28540 Handle negative offsets better. Fixes decodebin.
28542 2005-05-09 Wim Taymans <wim@fluendo.com>
28544 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28545 (gst_base_transform_event):
28546 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28547 Implement accept_caps.
28548 Fix silly lock/unlock mismatch in base class.
28550 2005-05-09 Wim Taymans <wim@fluendo.com>
28552 * docs/design/draft-push-pull.txt:
28553 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28554 * gst/elements/gstfilesink.c: (gst_filesink_init),
28555 (gst_filesink_query):
28556 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28557 (gst_type_find_handle_src_query), (find_element_get_length):
28558 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28559 * gst/gstelement.h:
28560 * gst/gstmessage.c:
28561 * gst/gstmessage.h:
28562 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28563 (gst_real_pad_get_caps_unlocked),
28564 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28565 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28566 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28567 (gst_real_pad_dispose), (gst_real_pad_finalize),
28568 (gst_pad_load_and_link), (gst_pad_save_thyself),
28569 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28570 (gst_pad_check_pull_range), (gst_pad_pull_range),
28571 (gst_pad_template_get_type), (gst_pad_template_class_init),
28572 (gst_pad_template_init), (gst_pad_template_dispose),
28573 (name_is_valid), (gst_static_pad_template_get),
28574 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28575 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28576 (gst_pad_get_element_private), (gst_pad_start_task),
28577 (gst_pad_pause_task), (gst_pad_stop_task),
28578 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28579 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28580 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28581 (gst_ghost_pad_new):
28583 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28584 (gst_query_new_position), (gst_query_set_position),
28585 (gst_query_parse_position), (gst_query_new_convert),
28586 (gst_query_set_convert), (gst_query_parse_convert):
28588 * gst/gstqueryutils.c:
28589 * gst/gstqueryutils.h:
28590 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28591 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28592 (gst_queue_handle_src_query):
28593 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28594 (gst_element_query_position), (gst_element_query_convert),
28595 (intersect_caps_func), (gst_pad_query_position),
28596 (gst_pad_query_convert):
28598 * tools/gst-inspect.c: (print_pad_info):
28599 * tools/gst-xmlinspect.c: (print_element_info):
28600 Remove old query functions. Ported old code.
28601 Added position/convert helper functions to gstutils.
28602 Reordered gstpad.c code, grouping relevant things.
28603 Remove gst_message_new(), always need to speficy a specific
28607 2005-05-09 Andy Wingo <wingo@pobox.com>
28609 * gst/gstiterator.h: Add some includes.
28611 * gst/gstqueryutils.h: Include more headers.
28614 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28615 some uses of gst_pad_query.
28617 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28618 NULL out parameters.
28619 (gst_query_new_position): New proc, allocates a new position
28622 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28623 gstqueryutils.c to the build.
28625 * gst/gststructure.c (gst_structure_set_valist): Implement with
28626 the generic G_VALUE_COLLECT.
28628 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28630 * gst/Makefile.am: (gst_headers):
28631 Added gstqueryutils.h to the list of headers to install, that was
28632 a 'nachty' move wingo :)
28634 2005-05-06 Andy Wingo <wingo@pobox.com>
28637 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28638 GstData, init a memchunk.
28639 (standard_definitions): Add a few query types, deprecate a few.
28640 (gst_query_get_type): New proc.
28641 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28643 (gst_query_new_application, gst_query_get_structure): New public
28646 * docs/design/draft-query.txt: Removed LINKS from the query types,
28647 because all the rest can be dispatched to other pads -- seemed
28648 ugly to have a query that couldn't be dispatched. internal_links
28649 is fine as a pad method.
28651 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28652 in gstpad.c, but maintain binary compatibility for the moment.
28653 Will fix before 0.9 is out.
28655 * gst/gstqueryutils.c:
28656 * gst/gstqueryutils.h: New files, implement 3 methods for each
28657 query type: parse_query, parse_response, and set. Probably need an
28660 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28662 * gst/elements/gstfilesink.c (gst_filesink_query2):
28663 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28664 query_types, and formats methods.
28666 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28667 (gst_pad_set_query2_function): New functions.
28668 (gst_real_pad_init): Set query2_default as the default query2
28669 function. Basically just dispatches to internally linked pads.
28673 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28674 without using the atomic operations. Only one thread can possibly
28675 be accessing the data at this point. Changed so as to avoid
28676 gst_atomic operations.
28678 2005-05-06 Wim Taymans <wim@fluendo.com>
28680 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28681 Also set caps if we use the fallback buffer alloc.
28683 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28685 * docs/gst/Makefile.am:
28686 * docs/gst/gstreamer-docs.sgml:
28687 * docs/gst/gstreamer-sections.txt:
28688 * docs/gst/tmpl/gstatomic.sgml:
28689 * docs/gst/tmpl/gstmemchunk.sgml:
28690 * testsuite/elements/struct_i386.h:
28691 * win32/GStreamer.vcproj:
28693 Purge GstAtomic stuff from docs and win32 makefiles as well
28695 2005-05-06 Wim Taymans <wim@fluendo.com>
28697 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28698 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28699 * gst/gstpad.c: (gst_pad_peer_get_caps):
28700 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28701 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28702 (gst_queue_src_activate), (gst_queue_change_state):
28704 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28705 (intersect_caps_func):
28706 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28707 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28708 Some fixes for the peer_get_caps() change.
28710 2005-05-06 Wim Taymans <wim@fluendo.com>
28712 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28713 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28714 (gst_basesink_activate):
28715 Actually do something with error codes returned from the push
28718 2005-05-06 Wim Taymans <wim@fluendo.com>
28720 * docs/design/part-element-sink.txt:
28721 * docs/design/part-element-source.txt:
28722 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28723 (gst_basesink_event), (gst_basesink_activate):
28724 * gst/base/gstbasesink.h:
28725 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28726 (gst_basesrc_activate):
28727 * gst/base/gstbasesrc.h:
28728 * gst/gstelement.c: (gst_element_pads_activate):
28729 Some more documentation.
28730 Fixed scheduling decision in _pads_activate().
28732 2005-05-05 Andy Wingo <wingo@pobox.com>
28734 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28737 2005-05-05 Wim Taymans <wim@fluendo.com>
28739 * gst/base/Makefile.am:
28740 * gst/base/gstbasesink.h:
28741 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28742 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28743 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28744 (gst_collectpads_class_init), (gst_collectpads_init),
28745 (gst_collectpads_finalize), (gst_collectpads_new),
28746 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28747 (find_pad), (gst_collectpads_remove_pad),
28748 (gst_collectpads_is_active), (gst_collectpads_collect),
28749 (gst_collectpads_collect_range), (gst_collectpads_start),
28750 (gst_collectpads_stop), (gst_collectpads_peek),
28751 (gst_collectpads_pop), (gst_collectpads_available),
28752 (gst_collectpads_read), (gst_collectpads_flush),
28753 (gst_collectpads_chain):
28754 * gst/base/gstcollectpads.h:
28755 * gst/elements/Makefile.am:
28756 * gst/elements/gstelements.c:
28757 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28758 (gst_fakesink_get_times), (gst_fakesink_event),
28759 (gst_fakesink_preroll), (gst_fakesink_render):
28760 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28761 (gst_filesink_init), (gst_filesink_set_location),
28762 (gst_filesink_open_file), (gst_filesink_close_file),
28763 (gst_filesink_pad_query), (gst_filesink_event),
28764 (gst_filesink_render), (gst_filesink_change_state):
28765 * gst/elements/gstfilesink.h:
28766 Added object to help in making collect pad based elements.
28768 Make event function in sink baseclass return gboolean.
28770 2005-05-05 Wim Taymans <wim@fluendo.com>
28772 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28773 (gst_bin_get_by_name):
28775 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28776 (gst_clock_finalize):
28777 * gst/gstdata.c: (gst_data_replace):
28779 * gst/gstelement.c: (gst_element_request_pad),
28780 (gst_element_pads_activate):
28781 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28782 (gst_object_unref):
28783 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28784 (gst_pad_set_checkgetrange_function),
28785 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28786 (gst_pad_check_pull_range), (gst_pad_pull_range),
28787 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28788 (gst_pad_pause_task), (gst_pad_stop_task):
28789 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28790 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28791 Fix name lookup in GstBin.
28792 Added _data_replace() function and _buffer_replace()
28793 Use finalize method to clean up clock.
28794 Fix refcounting on request pads.
28795 Fix pad schedule mode error.
28796 Some more object refcounting debug info,
28799 2005-05-04 Andy Wingo <wingo@pobox.com>
28801 * check/Makefile.am:
28802 * docs/gst/tmpl/gstatomic.sgml:
28803 * docs/gst/tmpl/gstplugin.sgml:
28804 * gst/base/gstbasesink.c: (gst_basesink_activate):
28805 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28806 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28807 (gst_basesrc_query), (gst_basesrc_set_property),
28808 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28809 (gst_basesrc_activate):
28810 * gst/base/gstbasesrc.h:
28811 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28812 (gst_base_transform_src_activate):
28813 * gst/elements/gstelements.c:
28814 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28815 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28816 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28817 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28818 (gst_type_find_element_checkgetrange),
28819 (gst_type_find_element_activate):
28820 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28821 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28822 (gst_caps_load_thyself):
28823 * gst/gstelement.c: (gst_element_pads_activate),
28824 (gst_element_save_thyself), (gst_element_restore_thyself):
28825 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28826 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28828 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28829 (gst_xml_parse_file), (gst_xml_parse_memory),
28830 (gst_xml_get_element), (gst_xml_make_element):
28831 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28832 (_file_index_id_save_xml), (gst_file_index_commit):
28833 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28834 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28836 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28837 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28838 * tools/gst-complete.c: (main):
28839 * tools/gst-compprep.c: (main):
28840 * tools/gst-inspect.c: (print_element_properties_info):
28841 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28842 * tools/gst-xmlinspect.c: (print_element_properties):
28845 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28847 * gst/gstplugin.c: (gst_plugin_check_module),
28848 (gst_plugin_check_file), (gst_plugin_load_file):
28849 apply patch from #172526 to make register work on MacOSX
28851 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28853 * docs/gst/tmpl/gstconfig.sgml:
28854 * gst/gstconfig.h.in:
28855 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28856 * testsuite/debug/printf_extension.c: (main):
28857 Do not use GST_PTR_FORMAT on pointers to types with
28858 sizeof < sizeof(gpointer). Fixes test on 64-bit
28859 * testsuite/elements/property.h:
28860 use correct printf format
28862 2005-05-02 Wim Taymans <wim@fluendo.com>
28864 * docs/design/draft-push-pull.txt:
28865 * docs/design/draft-query.txt:
28866 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28867 (gst_basesrc_start):
28868 Added draft for new query API.
28869 Added draft for better selecting scheduling methods.
28870 Make basesrc ignore length if the subclass does not support
28873 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28876 possible fixes for automake-1.5 - _LIBADD is reserved
28878 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28880 * docs/faq/Makefile.am:
28881 * docs/manual/Makefile.am:
28882 * docs/manuals.mak:
28883 * docs/pwg/Makefile.am:
28885 possible fixes for automake-1.5
28887 2005-04-28 Wim Taymans <wim@fluendo.com>
28889 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28890 (gst_basesink_pad_getcaps), (gst_basesink_init),
28891 (gst_basesink_do_sync):
28892 * gst/gstclock.c: (gst_clock_entry_new):
28893 * gst/gstevent.c: (gst_event_discont_get_value):
28894 * gst/gstpipeline.c: (pipeline_bus_handler),
28895 (gst_pipeline_change_state):
28896 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28897 Better debugging of clocking info.
28898 Allow NULL values when getting discont values.
28900 2005-04-27 Wim Taymans <wim@fluendo.com>
28902 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28903 * check/gst/gstpad.c: (gst_pad_suite):
28904 Increase timeout for checks.
28906 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28908 * check/Makefile.am:
28909 fix the broken rule for cleanup. Apparently this rule is
28910 only needed on FC2, so maybe this warrants further autotool
28913 2005-04-26 Wim Taymans <wim@fluendo.com>
28915 * gst/gsttrashstack.h:
28916 Ooohh. a nasty one! After having a failed pop() from the stack,
28917 it's possible that the stack is empty. In that case, don't
28918 follow the NULL pointer.
28920 2005-04-25 Wim Taymans <wim@fluendo.com>
28922 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28923 (gst_pad_set_checkgetrange_function),
28924 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28925 (gst_pad_check_pull_range), (gst_pad_pull_range),
28926 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28927 (gst_pad_pause_task), (gst_pad_stop_task):
28928 * gst/gstplugin.c: (gst_plugin_load):
28930 Remove gst_library_load as it does more harm than good with
28931 the new g_module flags.
28932 Revert bogus caps template check in pad linking, pad caps
28933 are important when linking not the template, which is more
28934 general than the current caps.
28936 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28938 * gst/autoplug/.cvsignore:
28939 * gst/autoplug/Makefile.am:
28940 * gst/autoplug/gstsearchfuncs.c:
28941 * gst/autoplug/gstsearchfuncs.h:
28942 * gst/autoplug/gstspider.c:
28943 * gst/autoplug/gstspider.h:
28944 * gst/autoplug/gstspideridentity.c:
28945 * gst/autoplug/gstspideridentity.h:
28946 * gst/autoplug/spidertest.c:
28949 2005-04-25 Wim Taymans <wim@fluendo.com>
28951 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28952 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28953 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28954 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28956 Added stubs for unimplemented functions.
28958 2005-04-24 David Schleef <ds@schleef.org>
28960 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28963 2005-04-24 David Schleef <ds@schleef.org>
28965 Convert everything from GstAtomicInt to g_atomic_int_*, and
28970 * gst/gstatomic_impl.h:
28978 * gst/gstdata_private.h:
28982 * gst/gstmessage.c:
28985 * gst/gststructure.c:
28986 * gst/gststructure.h:
28987 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28990 2005-04-24 David Schleef <ds@schleef.org>
28992 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28993 make the regressions tests work. Remove some code that is no
28995 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28996 Disable warning for pads without templates.
28998 2005-04-24 David Schleef <ds@schleef.org>
29000 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29001 functions that handle filtered links.
29002 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29004 * gst/gstutils.c: Fix/remove utility functions that handle
29007 * gst/gstvalue.c: Add serialization/deserialization of caps
29008 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29009 requires fixing so that the filter caps notation creates
29010 a capsfilter element and sets the filter_caps property. I
29011 think everyone probably wants to keep the shorthand notation.
29012 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29013 * docs/gst/tmpl/gstpad.sgml:
29015 * gst/elements/gstelements.c: Register capsfilter element.
29016 * gst/Makefile.am: fix spacing
29017 * docs/random/ds/0.9-suggested-changes: random
29019 2005-04-23 David Schleef <ds@schleef.org>
29021 * gst/elements/Makefile.am:
29022 * gst/elements/gstcapsfilter.c: New element that acts like an
29023 identity, but filters caps. Will eventually replace filtered
29024 caps in pad linking.
29025 * gst/gstutils.c: (gst_element_create_all_pads): New function
29026 to create all the ALWAYS pads that are registered with an
29027 element class. This functionality should eventually be
29028 merged in with GstElement initialization.
29030 * testsuite/trigger/README: part of trigger test code that should
29031 have been checked in a long time ago.
29033 2005-04-23 David Schleef <ds@schleef.org>
29035 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29036 needed with new versions of libtool (nobody will confirm this),
29037 and hard to carry around.
29038 * gst/autoplug/Makefile.am:
29039 * gst/base/Makefile.am:
29040 * gst/elements/Makefile.am:
29041 * gst/indexers/Makefile.am:
29042 * gst/schedulers/Makefile.am:
29043 * libs/gst/bytestream/Makefile.am:
29044 * libs/gst/control/Makefile.am:
29045 * libs/gst/dataprotocol/Makefile.am:
29046 * libs/gst/getbits/Makefile.am:
29048 2005-04-21 Wim Taymans <wim@fluendo.com>
29050 * docs/design/draft-push-pull.txt:
29051 * docs/design/part-MT-refcounting.txt:
29052 * docs/design/part-TODO.txt:
29053 * docs/design/part-caps.txt:
29054 * docs/design/part-events.txt:
29055 * docs/design/part-gstbus.txt:
29056 * docs/design/part-gstpipeline.txt:
29057 * docs/design/part-messages.txt:
29058 * docs/design/part-push-pull.txt:
29059 * docs/design/part-query.txt:
29062 2005-04-21 Wim Taymans <wim@fluendo.com>
29064 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29065 (gst_message_new), (gst_message_new_error),
29066 (gst_message_new_warning), (gst_message_new_tag),
29067 (gst_message_new_state_changed), (gst_message_new_application),
29068 (gst_message_get_structure):
29069 * gst/gstmessage.h:
29070 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29071 (gst_structure_copy_conditional):
29072 Use parent refcount in GstMessage to ensure GstStructure
29074 Cleaned up headers a bit.
29077 2005-04-20 Wim Taymans <wim@fluendo.com>
29079 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29080 (gst_basesink_pad_getcaps), (gst_basesink_init),
29081 (gst_basesink_chain_unlocked):
29082 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29083 (gst_type_find_helper):
29084 * gst/elements/gsttypefindelement.c:
29085 (gst_type_find_element_have_type), (gst_type_find_element_init),
29086 (stop_typefinding), (gst_type_find_element_handle_event),
29087 (find_suggest), (gst_type_find_element_chain),
29088 (gst_type_find_element_checkgetrange),
29089 (gst_type_find_element_getrange), (do_typefind),
29090 (gst_type_find_element_activate):
29091 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29092 (gst_buffer_default_free), (gst_buffer_default_copy),
29093 (gst_buffer_set_caps):
29094 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29095 (gst_caps_replace):
29096 * gst/gstmessage.c: (gst_message_new),
29097 (gst_message_new_state_changed):
29098 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29099 (gst_pad_set_checkgetrange_function),
29100 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29101 (gst_pad_set_caps), (gst_pad_check_pull_range),
29102 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29104 * gst/gsttypefind.c: (gst_type_find_register):
29105 Make gst_caps_replace() work like other _replace() functions.
29106 Use _caps_replace() where possible.
29107 Make sure _message_new() initialises its field.
29108 Add gst_static_pad_template_get_caps()
29111 2005-04-18 Andy Wingo <wingo@pobox.com>
29113 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29114 on the peer, not the pad. I think that was a typo. Pass an extra
29115 arg to see if random access is possible. Activate the pads as
29116 PULL_RANGE if possible.
29118 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29120 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29121 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29124 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29126 * docs/faq/using.xml:
29127 Add note on gstreamer-properties (#154996).
29129 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29131 * docs/random/bbb/optional-properties:
29132 Some analysis on optional properties.
29134 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29136 * docs/gst/tmpl/gstelementfactory.sgml:
29137 * gst/gstelement.h:
29138 * gst/gstelementfactory.c: (gst_element_factory_init),
29139 (gst_element_factory_cleanup), (gst_element_register),
29140 (__gst_element_factory_add_static_pad_template),
29141 (gst_element_factory_get_static_pad_templates),
29142 (gst_element_factory_can_src_caps),
29143 (gst_element_factory_can_sink_caps):
29144 * gst/registries/Makefile.am:
29145 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29146 (gst_xml_registry_class_init), (gst_xml_registry_init),
29147 (gst_xml_registry_new), (gst_xml_registry_set_property),
29148 (gst_xml_registry_get_property), (get_time), (make_dir),
29149 (gst_xml_registry_get_perms_func),
29150 (plugin_times_older_than_recurse), (plugin_times_older_than),
29151 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29152 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29153 (add_to_char_array), (read_string), (read_uint), (read_enum),
29154 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29155 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29156 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29157 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29158 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29159 (gst_xml_registry_rebuild):
29160 * gst/registries/gstlibxmlregistry.h:
29161 * tools/gst-compprep.c: (main):
29162 * tools/gst-inspect.c: (print_pad_templates_info):
29163 * tools/gst-xmlinspect.c: (print_element_info):
29164 Use libxml2 for registry parsing, use staticpadtemplates in
29165 elementfactories. Makes gst_init() +/- 10x faster.
29167 2005-04-12 Wim Taymans <wim@fluendo.com>
29169 * gst/base/Makefile.am:
29170 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29171 (gst_basesink_pad_getcaps), (gst_basesink_init),
29172 (gst_basesink_event), (gst_basesink_change_state):
29173 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29174 (gst_basesrc_init), (gst_basesrc_query),
29175 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29176 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29177 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29178 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29179 (gst_basesrc_stop), (gst_basesrc_activate),
29180 (gst_basesrc_change_state):
29181 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29182 (helper_find_suggest), (gst_type_find_helper):
29183 * gst/base/gsttypefindhelper.h:
29184 * gst/elements/Makefile.am:
29185 * gst/elements/gstelements.c:
29186 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29187 (gst_fakesink_get_times), (gst_fakesink_event),
29188 (gst_fakesink_preroll), (gst_fakesink_render):
29189 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29190 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29191 (gst_fakesrc_get_property), (gst_fakesrc_create),
29192 (gst_fakesrc_start), (gst_fakesrc_stop):
29193 * gst/elements/gstfakesrc.h:
29194 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29195 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29196 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29197 (gst_filesrc_create_read), (gst_filesrc_create),
29198 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29199 (gst_filesrc_start):
29200 * gst/elements/gsttypefindelement.c:
29201 (gst_type_find_element_have_type), (gst_type_find_element_init),
29202 (start_typefinding), (stop_typefinding), (push_buffer_store),
29203 (gst_type_find_element_handle_event),
29204 (gst_type_find_element_chain),
29205 (gst_type_find_element_checkgetrange),
29206 (gst_type_find_element_getrange), (do_typefind),
29207 (gst_type_find_element_activate),
29208 (gst_type_find_element_change_state):
29209 * gst/elements/gsttypefindelement.h:
29210 * gst/gstpipeline.c: (pipeline_bus_handler):
29211 Added typefind helper.
29212 Small preroll fix in the base sink.
29213 Disable typefind code in basesrc.
29214 Crude port of typefindelement.
29218 2005-04-11 Wim Taymans <wim@fluendo.com>
29220 * check/gst/gstbus.c: (gstbus_suite):
29221 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29222 * check/gstcheck.h:
29223 Fix up the timeout so that the test does not fail.
29225 2005-04-06 Wim Taymans <wim@fluendo.com>
29228 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29229 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29230 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29231 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29232 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29233 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29234 (gst_basesrc_stop), (gst_basesrc_activate),
29235 (gst_basesrc_change_state), (basesrc_find_peek),
29236 (basesrc_find_suggest), (gst_basesrc_type_find):
29237 * gst/base/gstbasesrc.h:
29238 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29239 (gst_filesrc_class_init), (gst_filesrc_init),
29240 (gst_filesrc_finalize), (gst_filesrc_set_location),
29241 (gst_filesrc_set_property), (gst_filesrc_get_property),
29242 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29243 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29244 (gst_filesrc_create_read), (gst_filesrc_create),
29245 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29246 * gst/elements/gstfilesrc.h:
29247 * gst/gstelement.c: (gst_element_get_state_func),
29248 (gst_element_lost_state), (gst_element_pads_activate):
29249 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29250 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29251 (gst_pad_pull_range):
29253 More work on the generic source base class, implement seeking,
29255 Make filesrc extend the base source class.
29256 Added gst_pad_set_checkgetrange_function to GstPad.
29258 2005-04-06 Andy Wingo <wingo@pobox.com>
29260 * pkgconfig/gstreamer-base.pc.in:
29261 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29263 * pkgconfig/Makefile.am:
29264 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29266 2005-04-04 Wim Taymans <wim@fluendo.com>
29268 * gst/base/Makefile.am:
29270 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29271 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29272 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29273 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29274 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29275 (gst_basesrc_base_init), (gst_basesrc_class_init),
29276 (gst_basesrc_init), (gst_basesrc_get_formats),
29277 (gst_basesrc_get_query_types), (gst_basesrc_query),
29278 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29279 (gst_basesrc_set_property), (gst_basesrc_get_property),
29280 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29281 (gst_basesrc_loop), (gst_basesrc_activate),
29282 (gst_basesrc_change_state):
29283 * gst/base/gstbasesrc.h:
29284 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29285 (gst_fakesrc_class_init), (gst_fakesrc_init),
29286 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29287 (gst_fakesrc_get_property), (gst_fakesrc_create):
29288 * gst/elements/gstfakesrc.h:
29289 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29290 (gst_filesrc_open_file), (gst_filesrc_loop),
29291 (gst_filesrc_activate), (filesrc_find_peek),
29292 (gst_filesrc_type_find):
29293 Made base source class, make fakesrc extend it.
29294 Add comments to basesink class.
29295 Some filesrc cleanup.
29297 2005-03-31 David Schleef <ds@schleef.org>
29299 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29300 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29301 expected to link against libgstreamer.
29302 * gst/base/Makefile.am: link against libgstreamer
29303 * gst/elements/Makefile.am: same
29305 2005-03-31 Andy Wingo <wingo@pobox.com>
29307 * tests/instantiate/Makefile.am:
29308 * tests/instantiate/caps.c: Add test to test speed of caps copy
29311 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29312 GMemChunk to be fair.
29314 * gst/gsttrashstack.h: Remove warning about using the fallback
29315 trash stack implementation, it's still faster than malloc.
29317 2005-03-30 Andy Wingo <wingo@pobox.com>
29319 * tests/complexity.c: Add a copyright.
29321 2005-03-31 Wim Taymans <wim@fluendo.com>
29323 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29324 (gst_base_transform_class_init), (gst_base_transform_init),
29325 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29326 (gst_base_transform_get_property),
29327 (gst_base_transform_sink_activate),
29328 (gst_base_transform_src_activate),
29329 (gst_base_transform_change_state):
29330 * gst/base/gstbasetransform.h:
29331 * gst/elements/gstidentity.c: (gst_identity_class_init),
29332 (gst_identity_event), (gst_identity_check_perfect),
29333 (gst_identity_transform), (gst_identity_start),
29334 (gst_identity_stop):
29335 Added start/stop methods to transform base class so subclasses
29336 don't need to deal with state changes even.
29338 2005-03-31 Wim Taymans <wim@fluendo.com>
29340 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29341 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29343 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29344 (gst_pad_pull_range):
29345 Added rate to the discont event to prepare for variable speed
29346 and reverse playback.
29348 2005-03-29 David Schleef <ds@schleef.org>
29351 * testsuite/trigger/Makefile.am:
29352 * testsuite/trigger/trigger.c: A little example program to show
29353 how trigger-based elements can work.
29355 2005-03-29 Wim Taymans <wim@fluendo.com>
29357 * gst/base/Makefile.am:
29359 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29360 (gst_basesink_base_init), (gst_basesink_class_init),
29361 (gst_basesink_pad_getcaps), (gst_basesink_init),
29362 (gst_basesink_activate), (gst_basesink_change_state):
29363 * gst/base/gstbasesink.h:
29364 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29365 (gst_base_transform_base_init), (gst_base_transform_finalize),
29366 (gst_base_transform_class_init), (gst_base_transform_init),
29367 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29368 (gst_base_transform_event), (gst_base_transform_getrange),
29369 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29370 (gst_base_transform_set_property),
29371 (gst_base_transform_get_property),
29372 (gst_base_transform_sink_activate),
29373 (gst_base_transform_src_activate),
29374 (gst_base_transform_change_state):
29375 * gst/base/gstbasetransform.h:
29376 * gst/elements/gstidentity.c: (gst_identity_finalize),
29377 (gst_identity_class_init), (gst_identity_init),
29378 (gst_identity_event), (gst_identity_check_perfect),
29379 (gst_identity_transform), (gst_identity_set_property),
29380 (gst_identity_get_property), (gst_identity_change_state):
29381 * gst/elements/gstidentity.h:
29382 * gst/gstelement.c: (gst_element_get_state_func),
29383 (gst_element_lost_state), (gst_element_pads_activate):
29384 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29385 (gst_pad_check_pull_range), (gst_pad_pull_range):
29387 Simplify pad activation.
29388 Added function to check if pull_range can be performed.
29389 Error out when pulling inactive or flushing pads.
29390 Removed const from refcounted types as it does not make sense.
29391 Simplify pad templates in basesink
29392 Added base class for simple 1-to-1 transforms.
29393 Make identity subclass the base transform.
29395 2005-03-29 Andy Wingo <wingo@pobox.com>
29397 * docs/libs/gstreamer-libs-overrides.txt:
29398 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29399 really don't understand what's going on, but like whatever. I want
29402 * docs/gst/Makefile.am:
29403 * docs/libs/Makefile.am: Dist the overrides files.
29405 * check/Makefile.am (clean-local): Remove .libs directories.
29407 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29408 elements to EXTRA_DIST, so po/ files are happy.
29410 * po/POTFILES.in: Er, remove it here.
29412 * po/POTFILES: Remove gstspider.c.
29414 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29416 * docs/libs/gstreamer-libs-docs.sgml:
29417 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29420 * tests/complexity.c (main): Set the length of the preroll queue
29421 on the sinks to prevent a lockup.
29423 * libs/gst/dataprotocol/Makefile.am:
29424 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29425 the same as the one in check/gst-libs/gdp.c.
29427 * po/, docs/gst/: Commit automatic changes to docs and po files.
29429 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29430 the versioned libgstbase.
29432 * check/Makefile.am: Depend on an unversioned gst-register, seems
29433 to make autoconf happier.
29435 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29437 2005-03-28 Wim Taymans <wim@fluendo.com>
29440 * docs/design/part-gstelement.txt:
29441 * docs/design/part-negotiation.txt:
29442 * docs/design/part-preroll.txt:
29443 * docs/design/part-scheduling.txt:
29444 * docs/design/part-states.txt:
29446 * gst/base/Makefile.am:
29448 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29449 (gst_basesink_base_init), (gst_basesink_class_init),
29450 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29451 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29452 (gst_basesink_set_pad_functions),
29453 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29454 (gst_basesink_set_property), (gst_basesink_get_property),
29455 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29456 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29457 (gst_basesink_preroll_queue_push),
29458 (gst_basesink_preroll_queue_empty),
29459 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29460 (gst_basesink_event), (gst_basesink_get_times),
29461 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29462 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29463 (gst_basesink_loop), (gst_basesink_activate),
29464 (gst_basesink_change_state):
29465 * gst/base/gstbasesink.h:
29466 * gst/elements/Makefile.am:
29467 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29468 (gst_fakesink_class_init), (gst_fakesink_init),
29469 (gst_fakesink_set_property), (gst_fakesink_get_property),
29470 (gst_fakesink_get_times), (gst_fakesink_event),
29471 (gst_fakesink_preroll), (gst_fakesink_render),
29472 (gst_fakesink_change_state):
29473 * gst/elements/gstfakesink.h:
29474 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29475 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29476 * gst/gstelement.c: (gst_element_add_pad),
29477 (gst_element_get_state_func), (gst_element_abort_state),
29478 (gst_element_commit_state), (gst_element_lost_state),
29479 (gst_element_set_state), (gst_element_pads_activate):
29480 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29481 * gst/gstpipeline.c: (gst_pipeline_send_event),
29482 (gst_pipeline_change_state):
29483 Added state change code.
29484 Added/updated docs.
29485 Added sink base class, make fakesink extend the base class.
29486 Small cleanups in GstPipeline.
29488 2005-03-26 David Schleef <ds@schleef.org>
29490 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29491 is broken and should be implemented in a different library.
29492 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29493 * gst/gst.h: remove gstcpu.h
29494 * gst/gstcpu.c: remove
29495 * gst/gstcpu.h: remove
29496 * gst/Makefile.am.future: Remove this file. It's ancient.
29498 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29500 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29501 (gst_bin_send_event):
29502 Add default event/set_manager handlers. The set_manager handler
29503 takes care that the manager is distributed over kids that were
29504 already in the bin before the manager was set. The event handler
29505 is a utility virtual function that sends the event over all sinks,
29506 so that gst_element_send_event (bin, event); has the expected
29508 * gst/gstpad.c: (gst_pad_event_default):
29509 Re-install default event handling for discontinuities, so that
29510 seeking works without requiring hacks in applications or extra
29512 * gst/gstpipeline.c: (gst_pipeline_class_init),
29513 (gst_pipeline_send_event):
29514 Half hack, half utility: set a pipeline to PAUSED for seek events,
29515 since that is the only way we can guarantee a/v sync. Means that
29516 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29517 and it "just works".
29519 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29521 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29522 Lock/unlock mismatch.
29524 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29526 * docs/faq/gst-uninstalled:
29527 add gst-plugins-base
29528 * docs/gst/Makefile.am:
29529 don't error out until docs are fixed
29530 * docs/gst/gstreamer.types:
29533 2005-03-22 Wim Taymans <wim@fluendo.com>
29535 * check/Makefile.am:
29536 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29537 * gst/gststructure.c: (gst_structure_set_valist),
29538 (gst_structure_copy_conditional):
29539 Activated more tests.
29540 Added message test.
29541 Added G_TYPE_POINTER to GstStructure.
29544 2005-03-22 Wim Taymans <wim@fluendo.com>
29546 * docs/design/part-TODO.txt:
29547 * docs/design/part-events.txt:
29548 * docs/design/part-gstbin.txt:
29549 * docs/design/part-gstbus.txt:
29550 * docs/design/part-gstpipeline.txt:
29551 * docs/design/part-messages.txt:
29553 * gst/gstmessage.c:
29556 2005-03-21 Wim Taymans <wim@fluendo.com>
29558 * gst/gstbus.c: (gst_bus_post):
29559 Fix copy-and-paste error.
29561 2005-03-21 Wim Taymans <wim@fluendo.com>
29563 * check/Makefile.am:
29565 * gst/elements/Makefile.am:
29566 * gst/elements/gstelements.c:
29567 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29568 (gst_fakesink_event), (gst_fakesink_chain):
29569 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29570 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29571 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29572 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29573 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29574 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29575 (gst_fakesrc_loop), (gst_fakesrc_activate),
29576 (gst_fakesrc_change_state):
29577 * gst/elements/gstfakesrc.h:
29578 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29579 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29580 (gst_filesrc_open_file), (gst_filesrc_loop),
29581 (gst_filesrc_activate), (gst_filesrc_change_state),
29582 (filesrc_find_peek), (filesrc_find_suggest),
29583 (gst_filesrc_type_find):
29584 * gst/elements/gstidentity.c: (gst_identity_finalize),
29585 (gst_identity_class_init), (gst_identity_init),
29586 (gst_identity_proxy_getcaps), (identity_queue_push),
29587 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29588 (gst_identity_getrange), (gst_identity_chain),
29589 (gst_identity_sink_loop), (gst_identity_src_loop),
29590 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29591 (gst_identity_set_property), (gst_identity_get_property),
29592 (gst_identity_change_state):
29593 * gst/elements/gstidentity.h:
29594 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29595 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29596 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29597 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29598 (gst_tee_sink_activate):
29599 * gst/elements/gsttee.h:
29600 * gst/gst.c: (gst_register_core_elements), (init_post):
29602 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29603 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29604 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29605 (gst_bin_change_state):
29607 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29608 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29609 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29610 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29611 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29612 (bus_watch_callback), (bus_watch_destroy),
29613 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29614 (poll_timeout), (gst_bus_poll):
29618 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29619 (gst_element_post_message), (gst_element_message_full),
29620 (gst_element_get_state_func), (gst_element_get_state),
29621 (gst_element_abort_state), (gst_element_commit_state),
29622 (gst_element_lost_state), (gst_element_set_state),
29623 (gst_element_pads_activate), (gst_element_change_state),
29624 (gst_element_dispose), (gst_element_set_manager_func),
29625 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29626 (gst_element_set_manager), (gst_element_get_manager),
29627 (gst_element_set_bus), (gst_element_get_bus),
29628 (gst_element_set_scheduler), (gst_element_get_scheduler):
29629 * gst/gstelement.h:
29630 * gst/gstevent.c: (gst_event_new_segment_seek),
29631 (gst_event_new_flush):
29633 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29634 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29635 (gst_message_new_eos), (gst_message_new_error),
29636 (gst_message_new_warning), (gst_message_new_tag),
29637 (gst_message_new_state_changed), (gst_message_new_application),
29638 (gst_message_get_structure), (gst_message_parse_tag),
29639 (gst_message_parse_state_changed), (gst_message_parse_error),
29640 (gst_message_parse_warning):
29641 * gst/gstmessage.h:
29642 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29643 (gst_real_pad_set_property), (gst_pad_set_active),
29644 (gst_pad_is_active), (gst_pad_set_blocked_async),
29645 (gst_pad_set_blocked), (gst_pad_is_blocked),
29646 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29647 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29648 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29649 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29650 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29651 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29652 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29653 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29654 (gst_pad_set_caps), (gst_pad_configure_sink),
29655 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29656 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29657 (gst_real_pad_dispose), (gst_real_pad_finalize),
29658 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29659 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29660 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29662 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29663 (pipeline_bus_handler), (gst_pipeline_change_state),
29664 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29665 * gst/gstpipeline.h:
29667 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29668 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29669 (gst_queue_link_src), (gst_queue_bufferalloc),
29670 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29671 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29672 (gst_queue_loop), (gst_queue_handle_src_event),
29673 (gst_queue_handle_src_query), (gst_queue_src_activate),
29674 (gst_queue_change_state):
29676 * gst/gstscheduler.c: (gst_scheduler_init),
29677 (gst_scheduler_dispose), (gst_scheduler_create_task),
29678 (gst_scheduler_factory_create):
29679 * gst/gstscheduler.h:
29680 * gst/gststructure.c: (gst_structure_get_type),
29681 (gst_structure_copy_conditional):
29682 * gst/gststructure.h:
29683 * gst/gsttaginterface.h:
29684 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29685 (gst_task_init), (gst_task_dispose), (gst_task_create),
29686 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29692 * gst/schedulers/Makefile.am:
29693 * gst/schedulers/cothreads_compat.h:
29694 * gst/schedulers/entryscheduler.c:
29695 * gst/schedulers/faircothreads.c:
29696 * gst/schedulers/faircothreads.h:
29697 * gst/schedulers/fairscheduler.c:
29698 * gst/schedulers/gstbasicscheduler.c:
29699 * gst/schedulers/gstoptimalscheduler.c:
29700 * gst/schedulers/gthread-cothreads.h:
29701 * gst/schedulers/threadscheduler.c:
29702 (gst_thread_scheduler_task_get_type),
29703 (gst_thread_scheduler_task_class_init),
29704 (gst_thread_scheduler_task_init),
29705 (gst_thread_scheduler_task_start),
29706 (gst_thread_scheduler_task_stop),
29707 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29708 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29709 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29710 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29712 * libs/gst/Makefile.am:
29713 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29714 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29715 (gst_file_pad_parent_set):
29716 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29717 (gst_dp_event_from_packet):
29718 * tests/complexity.c: (main):
29719 * tests/mass_elements.c: (main):
29720 * testsuite/states/locked.c: (message_received), (main):
29721 * testsuite/states/parent.c: (main):
29722 * tools/gst-inspect.c: (print_element_flag_info),
29723 (print_implementation_info), (print_pad_info):
29724 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29726 * tools/gst-md5sum.c: (event_loop), (main):
29727 * tools/gst-typefind.c: (main):
29728 * tools/gst-xmlinspect.c: (print_element_info):
29730 Added GstBus for mainloop integration.
29731 Added GstMessage for sending notifications on the bus.
29732 Added GstTask as an abstraction for pipeline entry points.
29734 Removed Schedulers.
29735 Simplified GstQueue for multithreaded core.
29736 Made _link threadsafe, removed old capsnego.
29737 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29738 Added pad blocking functions.
29739 Reworked scheduling functions in GstPad to prepare for
29740 scheduling updates soon.
29741 Moved events out of data stream.
29742 Simplified GstEvent types.
29743 Added return values to push/pull.
29744 Removed clocking from GstElement.
29745 Added prototypes for state change function for next merge.
29746 Removed iterate from bins and state change management.
29747 Fixed some elements, disabled others for now.
29748 Fixed -inspect and -launch.
29749 Added check for GstBus.
29751 2005-03-10 Wim Taymans <wim@fluendo.com>
29753 * docs/design/part-MT-refcounting.txt:
29754 * docs/design/part-clocks.txt:
29755 * docs/design/part-gstelement.txt:
29756 * docs/design/part-gstobject.txt:
29757 * docs/design/part-standards.txt:
29758 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29759 (gst_bin_remove_func), (gst_bin_remove):
29763 * testsuite/clock/clock1.c: (main):
29764 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29766 * testsuite/dlopen/loadgst.c: (do_test):
29767 * testsuite/refcounting/bin.c: (add_remove_test1),
29768 (add_remove_test2), (main):
29769 * testsuite/refcounting/element.c: (main):
29770 * testsuite/refcounting/element_pad.c: (main):
29771 * testsuite/refcounting/pad.c: (main):
29772 * tools/gst-launch.c: (sigint_handler_sighandler):
29773 * tools/gst-typefind.c: (main):
29775 Added doc about clock.
29776 removed gst_bin_iterate_recurse_up(), marked methods
29778 Fix more testsuites.
29780 2005-03-09 Wim Taymans <wim@fluendo.com>
29782 * gst/gstpad.c: (gst_pad_get_direction),
29783 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29784 (gst_pad_collect_valist):
29785 * testsuite/bins/interface.c: (main):
29786 * testsuite/caps/audioscale.c: (test_caps):
29787 * testsuite/caps/caps.c: (test1), (test2), (test3):
29788 * testsuite/caps/deserialize.c: (main):
29789 * testsuite/caps/enumcaps.c: (main):
29790 * testsuite/caps/filtercaps.c: (main):
29791 * testsuite/caps/intersect2.c: (main):
29792 * testsuite/caps/random.c: (main):
29793 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29794 * testsuite/caps/sets.c: (check_caps):
29795 * testsuite/caps/simplify.c: (check_caps), (main):
29796 * testsuite/caps/subtract.c: (check_caps):
29797 Fix _pad_get_direction wrt ghostpads.
29798 Fix caps testsuite.
29800 2005-03-09 Wim Taymans <wim@fluendo.com>
29802 * check/Makefile.am:
29803 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29804 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29805 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29806 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29807 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29808 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29809 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29810 (bin_element_is_sink), (gst_bin_iterate_sinks),
29811 (gst_bin_iterate_all_by_interface):
29813 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29814 (gst_element_change_state), (gst_element_dispose),
29815 (gst_element_finalize), (gst_element_set_loop_function):
29816 * gst/gstelement.h:
29817 * gst/gstiterator.c: (find_custom_fold_func):
29818 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29819 (gst_pad_collectv), (gst_pad_collect_valist),
29820 (gst_pad_template_new):
29821 * gst/gstpipeline.c: (gst_pipeline_class_init),
29822 (gst_pipeline_dispose), (gst_pipeline_set_property),
29823 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29824 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29825 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29827 * gst/schedulers/entryscheduler.c:
29828 * gst/schedulers/gstbasicscheduler.c:
29829 (gst_basic_scheduler_cothreaded_chain),
29830 (gst_basic_scheduler_chain_add_element):
29831 * testsuite/bins/interface.c: (main):
29833 Added GstSystemClock test.
29834 Implemented clock distribution code in GstBin.
29835 Implemented iterate sinks method for future use.
29836 Rearranged gstelement.h
29837 Fix GstIterator comparison bug.
29838 Moved some code to GstPipeline, mostly clocking related.
29840 2005-03-09 Wim Taymans <wim@fluendo.com>
29843 * gst/gst_private.h:
29844 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29845 (gst_bin_remove_func), (gst_bin_remove),
29846 (gst_bin_get_by_name_recurse_up):
29847 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29848 (gst_clock_id_compare_func), (gst_clock_id_wait),
29849 (gst_clock_id_wait_async), (gst_clock_init),
29850 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29851 * gst/gstelement.h:
29852 * gst/gstinfo.c: (_gst_debug_init):
29854 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29855 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29857 Bump version number, we're now 0.9.0
29858 Add future debugging category.
29859 Fix NULL _unref() in _get_by_name_recurse_up
29860 Rearrange gstpad.h.
29863 2005-03-08 Wim Taymans <wim@fluendo.com>
29865 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29866 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29867 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29868 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29869 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29870 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29871 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29872 * gst/elements/gstidentity.c: (gst_identity_class_init):
29873 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29874 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29875 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29876 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29877 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29879 * gst/gstelement.c: (gst_element_class_init),
29880 (gst_element_base_class_init), (gst_element_init),
29881 (gst_element_get_random_pad), (gst_element_wait_state_change),
29882 (gst_element_change_state), (gst_element_dispose),
29883 (gst_element_finalize), (gst_element_set_loop_function):
29884 * gst/gstelement.h:
29885 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29886 * gst/gstthread.c: (gst_thread_class_init),
29887 (gst_thread_release_children_locks), (gst_thread_change_state):
29888 * gst/schedulers/gstbasicscheduler.c:
29889 (gst_basic_scheduler_loopfunc_wrapper),
29890 (gst_basic_scheduler_chain_wrapper),
29891 (gst_basic_scheduler_src_wrapper),
29892 (gst_basic_scheduler_remove_element):
29893 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29894 Remove threadsafe properties. Fix elements because GObject
29895 complains when installing a property before declaring a
29896 set/get_property handler.
29897 Rearrange gstelement.h file, use STATE macros for state locks.
29898 Free mutexes in the finalize method instead of dispose.
29900 2005-03-08 Wim Taymans <wim@fluendo.com>
29902 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29903 * gst/gstthread.c: (gst_thread_release_children_locks):
29904 Added parentage check.
29905 Fix build og GstThread again.
29907 2005-03-08 Wim Taymans <wim@fluendo.com>
29909 * docs/design/part-MT-refcounting.txt:
29910 * docs/design/part-conventions.txt:
29911 * docs/design/part-gstobject.txt:
29912 * docs/design/part-relations.txt:
29913 * docs/design/part-standards.txt:
29914 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29915 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29916 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29917 (gst_bin_iterate_all_by_interface):
29920 * gst/gstelement.c: (gst_element_class_init),
29921 (gst_element_change_state), (gst_element_set_loop_function):
29922 * gst/gstelement.h:
29923 * gst/gstiterator.c:
29924 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29925 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29926 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29927 (gst_object_set_parent), (gst_object_unparent),
29928 (gst_object_check_uniqueness):
29930 Docs updates, clean up some headers.
29932 2005-03-07 Wim Taymans <wim@fluendo.com>
29934 * check/.cvsignore:
29935 * check/Makefile.am:
29936 * check/gst-libs/.cvsignore:
29937 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29938 * check/gst/.cvsignore:
29939 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29940 (START_TEST), (gstbus_suite), (main):
29941 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29942 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29943 (gst_data_suite), (main):
29944 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29945 (add_fold_func), (gstiterator_suite), (main):
29946 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29947 (thread_name_object), (thread_name_object_default),
29948 (gst_object_name_compare), (gst_object_suite), (main):
29949 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29950 (gst_pad_suite), (main):
29951 * check/gstcheck.c: (gst_check_log_message_func),
29952 (gst_check_log_critical_func), (gst_check_init):
29953 * check/gstcheck.h:
29954 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29955 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29958 2005-03-07 Wim Taymans <wim@fluendo.com>
29960 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29961 (gst_list_iterator_next), (gst_list_iterator_resync),
29962 (gst_list_iterator_free), (gst_iterator_new_list),
29963 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29964 (gst_iterator_free), (gst_iterator_push), (filter_next),
29965 (filter_resync), (filter_uninit), (filter_free),
29966 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29967 (gst_iterator_foreach), (find_custom_fold_func),
29968 (gst_iterator_find_custom):
29969 * gst/gstiterator.h:
29970 Added missing files.
29972 2005-03-07 Wim Taymans <wim@fluendo.com>
29976 * docs/design/part-MT-refcounting.txt:
29977 * docs/design/part-conventions.txt:
29978 * docs/design/part-gstobject.txt:
29979 * docs/design/part-relations.txt:
29980 * examples/mixer/mixer.c: (main):
29981 * examples/thread/thread.c: (eos), (main):
29983 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29984 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29985 (gst_spider_plug_from_srcpad):
29986 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29987 (gst_spider_identity_change_state),
29988 (gst_spider_identity_sink_loop_type_finding):
29989 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29990 * gst/elements/gstidentity.c: (gst_identity_init):
29991 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29992 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29993 * gst/elements/gsttypefindelement.c: (free_entry):
29996 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29997 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29998 (gst_bin_set_index), (gst_bin_set_element_sched),
29999 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30000 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30001 (gst_bin_iterate_elements), (iterate_child_recurse),
30002 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30003 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30004 (compare_interface), (gst_bin_get_by_interface),
30005 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30007 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30008 (gst_buffer_default_free), (gst_buffer_default_copy),
30009 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30010 (gst_buffer_create_sub):
30012 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30013 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30014 (gst_caps_unref), (gst_static_caps_get),
30015 (gst_caps_remove_and_get_structure), (gst_caps_append),
30016 (gst_caps_append_structure), (gst_caps_remove_structure),
30017 (gst_caps_copy_nth), (gst_caps_set_simple),
30018 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30019 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30020 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30021 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30022 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30023 (gst_caps_structure_figure_out_union),
30024 (gst_caps_switch_structures), (gst_caps_do_simplify),
30025 (gst_caps_replace), (gst_caps_from_string),
30026 (gst_caps_copy_conditional):
30028 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30029 (_gst_clock_id_free), (gst_clock_id_unref),
30030 (gst_clock_id_compare_func), (gst_clock_id_wait),
30031 (gst_clock_id_wait_async), (gst_clock_class_init),
30032 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30033 (gst_clock_get_time), (gst_clock_set_time_adjust),
30034 (gst_clock_set_property), (gst_clock_get_property):
30037 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30038 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30040 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30041 (gst_element_requires_clock), (gst_element_provides_clock),
30042 (gst_element_set_clock), (gst_element_clock_wait),
30043 (gst_element_wait), (gst_element_set_time_delay),
30044 (gst_element_is_indexable), (gst_element_add_pad),
30045 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30046 (pad_compare_name), (gst_element_get_static_pad),
30047 (gst_element_request_pad), (gst_element_get_request_pad),
30048 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30049 (gst_element_class_get_pad_template_list),
30050 (gst_element_class_get_pad_template), (gst_element_error_func),
30051 (gst_element_get_random_pad), (gst_element_get_event_masks),
30052 (gst_element_send_event), (gst_element_seek),
30053 (gst_element_get_query_types), (gst_element_query),
30054 (gst_element_get_formats), (gst_element_convert),
30055 (gst_element_is_locked_state), (gst_element_set_locked_state),
30056 (gst_element_sync_state_with_parent), (gst_element_change_state),
30057 (gst_element_finalize), (gst_element_yield),
30058 (gst_element_interrupt), (gst_element_set_scheduler),
30059 (gst_element_get_scheduler), (gst_element_set_loop_function):
30060 * gst/gstelement.h:
30062 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30063 (gst_format_get_by_nick), (gst_format_get_details),
30064 (gst_format_iterate_definitions):
30066 * gst/gstindex.c: (gst_index_gtype_resolver):
30069 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30070 (gst_mem_chunk_free):
30071 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30072 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30073 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30074 (gst_object_dispatch_properties_changed),
30075 (gst_object_set_name_default), (gst_object_set_name),
30076 (gst_object_get_name), (gst_object_set_name_prefix),
30077 (gst_object_get_name_prefix), (gst_object_set_parent),
30078 (gst_object_get_parent), (gst_object_unparent),
30079 (gst_object_check_uniqueness), (gst_object_save_thyself),
30080 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30081 (gst_object_set_property), (gst_object_get_property),
30082 (gst_object_get_path_string):
30084 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30085 (gst_real_pad_init), (gst_real_pad_get_property),
30086 (gst_pad_custom_new), (gst_pad_get_direction),
30087 (gst_pad_set_active), (gst_pad_is_active),
30088 (gst_pad_set_event_function), (gst_pad_is_linked),
30089 (gst_pad_link_free), (gst_pad_link_intersect),
30090 (gst_pad_link_fixate), (gst_pad_set_caps),
30091 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30092 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30093 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30094 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30095 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30096 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30097 (gst_pad_realize), (gst_pad_get_allowed_caps),
30098 (gst_real_pad_dispose), (gst_real_pad_finalize),
30099 (gst_pad_collectv), (gst_pad_collect_valist),
30100 (gst_pad_template_dispose), (gst_pad_template_new),
30101 (gst_pad_get_internal_links):
30103 * gst/gstpipeline.c: (gst_pipeline_dispose),
30104 (gst_pipeline_change_state):
30105 * gst/gstpipeline.h:
30107 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30108 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30109 * gst/gstpluginfeature.h:
30110 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30111 * gst/gstquery.c: (_gst_query_type_initialize),
30112 (gst_query_type_register), (gst_query_type_get_by_nick),
30113 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30115 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30116 * gst/gstscheduler.c: (gst_scheduler_add_element),
30117 (gst_scheduler_factory_create):
30118 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30119 (gst_structure_free), (gst_structure_set_name),
30120 (gst_structure_id_set_value), (gst_structure_set_value),
30121 (gst_structure_set_valist), (gst_structure_remove_field),
30122 (gst_structure_remove_fields),
30123 (gst_structure_remove_fields_valist),
30124 (gst_structure_remove_all_fields), (gst_structure_foreach),
30125 (gst_structure_map_in_place),
30126 (gst_caps_structure_fixate_field_nearest_int),
30127 (gst_caps_structure_fixate_field_nearest_double):
30128 * gst/gststructure.h:
30129 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30130 (gst_system_clock_init), (gst_system_clock_dispose),
30131 (gst_system_clock_async_thread),
30132 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30133 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30134 * gst/gstsystemclock.h:
30135 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30136 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30137 * gst/gsttaginterface.c:
30138 * gst/gstthread.c: (gst_thread_dispose),
30139 (gst_thread_release_children_locks), (gst_thread_change_state),
30140 (gst_thread_main_loop):
30141 * gst/gsttrashstack.h:
30142 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30144 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30145 (gst_element_request_pad), (gst_element_get_pad_from_template),
30146 (gst_element_request_compatible_pad),
30147 (gst_element_get_compatible_pad_filtered),
30148 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30149 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30150 (gst_element_link_many), (gst_element_link),
30151 (gst_element_link_pads), (gst_element_unlink_pads),
30152 (gst_element_unlink_many), (gst_element_unlink),
30153 (gst_pad_can_link_filtered), (gst_pad_can_link),
30154 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30155 (gst_object_default_error), (gst_bin_add_many),
30156 (gst_bin_remove_many), (gst_element_populate_std_props),
30157 (gst_element_class_install_std_props), (gst_buffer_merge),
30158 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30159 (link_fold_func), (gst_pad_proxy_setcaps):
30161 * gst/gstvalue.c: (gst_value_deserialize_string):
30162 * gst/parse/grammar.y:
30163 * gst/schedulers/gstbasicscheduler.c:
30164 (gst_basic_scheduler_cothreaded_chain),
30165 (gst_basic_scheduler_chain_recursive_add),
30166 (gst_basic_scheduler_pad_link):
30167 * gst/schedulers/gstoptimalscheduler.c:
30168 (get_group_schedule_function),
30169 (gst_opt_scheduler_state_transition),
30170 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30171 * libs/gst/bytestream/bytestream.c:
30172 * libs/gst/dataprotocol/dataprotocol.c:
30173 (gst_dp_header_from_buffer):
30176 * tests/threadstate/threadstate2.c: (eos):
30177 * tools/gst-compprep.c: (main):
30178 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30179 (print_pad_info), (print_children_info):
30180 * tools/gst-launch.c: (idle_func), (main):
30181 * tools/gst-md5sum.c: (idle_func), (main):
30182 * tools/gst-xmlinspect.c: (print_element_info):
30183 First THREADED backport attempt, focusing on adding locks and
30184 making sure the API is threadsafe. Needs more work. More docs
30187 2005-02-24 Andy Wingo <wingo@pobox.com>
30189 * tests/bench-complexity.scm:
30190 * tests/complexity.gnuplot: New files, good for running complexity
30193 * tests/Makefile.am:
30194 * tests/complexity.c: New test, sets up N elements, at each level
30195 teeing into M streams per element. Eeeenteresting.
30197 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30198 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30199 running bench-mass_elements.scm.
30201 * tests/bench-mass_elements.scm: New script, runs mass_elements
30202 for various numbers of identities, outputting the results to a
30203 file. Requires guile 1.6. Just for testing.
30205 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30207 * gst/schedulers/fairscheduler.c:
30208 compile with debug disabled
30210 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30213 hunting season on 0.9 is now OPEN