1 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
3 * docs/manual/basics-bus.xml:
4 Correct typo. Fixes bug #544320.
6 2008-07-22 Michael Smith <msmith@songbirdnest.com>
9 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
10 Add check (taken from -base) for winsock, adds WIN32_LIBS
12 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
14 Define GST_EXPORTS when building libgstreamer (only used on win32)
17 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
18 for symbols that we need to export in both these files.
20 Include gst_private.h higher up to avoid some compile problems on win32.
22 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
27 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
30 Previous commit was wrong NULL caps does not exist
31 and indicate an error, so also add a FIXME to
32 gst_caps_is_equal where NULL caps are accepted.
34 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
37 Allow passing of NULL to gst_caps_union
39 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
42 Add in doc that gst_ghost_pad_set_target can accept
45 2008-07-15 Michael Smith <msmith@songbirdnest.com>
49 GstRegistryPool doesn't exist; don't refer to it in docs.
50 Don't refer to functions that don't exist in docs, it's
53 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
56 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
58 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
60 Patch by: tmatth <le dot businessman at gmail dot com>
62 * docs/pwg/building-testapp.xml:
63 Don't use an undeclared variable in the example program.
66 2008-07-12 Stefan Kost <ensonic@users.sf.net>
68 * gst/gstdebugutils.c:
69 Squeeze ghost-pad links and remove <> from classname labels to save
70 more horizontal space.
72 2008-07-11 Stefan Kost <ensonic@users.sf.net>
74 * gst/gstdebugutils.c:
75 Give request and sometimes pads a different shpe style. Condense the
78 2008-07-09 Michael Smith <msmith@songbirdnest.com>
81 Don't require flex and bison if the parser is disabled.
83 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
85 * libs/gst/controller/gstinterpolationcontrolsource.c:
86 (_list_find_sorted_custom):
87 Don't use declarations after statements.
89 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
91 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
92 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
93 of the the child-added / -removed signals as GstChildProxy
94 only supports GstObjects.
96 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
98 * gst/gstdebugutils.c:
101 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
103 Patch by: Alessandro Decina <alessandro at nnva dot org>
106 Fix "ignored return value" compiler warning with newer glibc.
108 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
110 * gst/gstchildproxy.c:
111 Fix copy&paste error in gst_child_proxy_removed() documentation.
113 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
115 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
116 Print error debug message if plugin description fields that should
119 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
120 Don't crash if the string to serialise is NULL (it really should
121 not be, but apparently this used to work with the xml registry ...).
123 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
125 * tools/gst-plot-timeline.py:
126 Fix parsing of log messages
128 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
130 * win32/common/libgstbase.def::
131 Sort alphabetically so make check-exports doesn't barf.
133 2008-07-01 Stefan Kost <ensonic@users.sf.net>
136 Use gst_format_get_name() to improve debug output.
139 Remove #ifdef'ed code. Add TODO comment.
142 Add debug output to ease spotting format != segment.format assertions.
144 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
146 * tests/check/libs/gdp.c: (gst_dp_suite):
147 Also enable the GDP unit test again on PPC now that the bug
150 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
152 * libs/gst/dataprotocol/dataprotocol.c:
153 Don't write to the same region of memory as a uint64 and uint16
154 as this breaks strict aliasing rules and apparantly breaks on PPC
155 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
157 2008-06-29 Stefan Kost <ensonic@users.sf.net>
159 * libs/gst/controller/gstinterpolationcontrolsource.c:
160 Optimize list handling. Use own find function. Exploit that fact that
161 the list is sorted. Also pass back the node before, so that we can
162 insert quickly. Have a fast path for append.
164 2008-06-29 Stefan Kost <ensonic@users.sf.net>
166 * docs/design/draft-framestep.txt:
167 * docs/design/part-negotiation.txt:
170 2008-06-27 Stefan Kost <ensonic@users.sf.net>
173 Show configuration sumary after configure run. Based on patch by
174 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
176 2008-06-27 Stefan Kost <ensonic@users.sf.net>
178 patch by: Luc Pionchon <luc.pionchon@nokia.com>
180 * docs/manual/advanced-autoplugging.xml:
181 * docs/manual/advanced-threads.xml:
182 * docs/manual/basics-bins.xml:
183 * docs/manual/basics-elements.xml:
184 * docs/manual/basics-helloworld.xml:
185 * docs/manual/basics-pads.xml:
186 Add scale factor for pdf output.
188 * docs/manual/intro-basics.xml:
189 Switched sections "pads" and "bins" and added a pipeline diagram.
191 * docs/manual/intro-gstreamer.xml:
192 Added more info on gstreamer.
194 * docs/manual/intro-motivation.xml:
195 Commented out the whole section "current problem", which sounds
196 historical and somehow osolete; it could be turned in a positive
197 way and reused to improve the design principles.
199 * docs/manual/intro-preface.xml:
200 - Update URLs to library.gnome.org.
201 - Do not mention GTK+ in preliminary reading (irrelevant).
202 - Mention Plugin Writer's Manual and further reading only in the
204 - Added a list of most relevant GObject/glib topics.
206 * docs/manual/Makefile.am:
207 * docs/manual/bin-element-ghost.fig:
208 * docs/manual/bin-element-ghost.png:
209 * docs/manual/bin-element-noghost.fig:
210 * docs/manual/bin-element-noghost.png:
211 * docs/manual/bin-element.fig:
212 * docs/manual/bin-element.png:
213 * docs/manual/filter-element-multi.fig:
214 * docs/manual/filter-element-multi.png:
215 * docs/manual/filter-element.fig:
216 * docs/manual/filter-element.png:
217 * docs/manual/gstreamer-overview.png:
218 * docs/manual/hello-world.fig:
219 * docs/manual/hello-world.png:
220 * docs/manual/linked-elements.fig:
221 * docs/manual/linked-elements.png:
222 * docs/manual/mime-world.fig:
223 * docs/manual/mime-world.png:
224 * docs/manual/queue.fig:
225 * docs/manual/queue.png:
226 * docs/manual/simple-player.png:
227 * docs/manual/sink-element.fig:
228 * docs/manual/sink-element.png:
229 * docs/manual/src-element.fig:
230 * docs/manual/src-element.png:
231 * docs/manual/diagrams-general.svg:
232 * docs/manual/diagrams-pipelines.svg:
233 Removed .fig, added .png counterpart.
237 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
239 * plugins/elements/gstmultiqueue.c:
240 * plugins/elements/gstmultiqueue.h:
241 revert extra-size-buffers stuff, caused some race conditions
242 and extra-size-buffers is not used anymore. Docs needs some updates
244 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
246 * win32/common/config.h:
247 * win32/common/gstenumtypes.c:
248 * win32/common/gstenumtypes.h:
249 * win32/common/gstversion.h:
252 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
254 * gst/gstdebugutils.h: (GstDebugGraphDetails),
255 (GST_DEBUG_BIN_TO_DOT_FILE):
256 Add missing Since' markers to gtk-doc blurbs.
258 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
260 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
261 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
262 (set_caps_1), (set_caps_ct1), (transform_ct1),
263 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
264 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
265 (transform_size_ct2), (buffer_alloc_ct2):
266 Add some more tests with switching caps in buffer_alloc.
268 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
270 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
271 (gst_test_trans_class_init), (result_sink_chain),
272 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
273 (gst_test_trans_push), (gst_test_trans_pop):
274 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
275 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
276 (set_caps_1), (set_caps_ct1), (transform_ct1),
277 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
278 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
279 (transform_size_ct2), (buffer_alloc_ct2),
280 (gst_basetransform_suite):
281 More tests, prepare for tests with switching caps in buffer_alloc.
283 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
285 * plugins/elements/gstmultiqueue.c:
286 * plugins/elements/gstmultiqueue.h:
287 Fix dead-lock in underrun_cb
289 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
291 * docs/design/part-states.txt:
292 Fix device open/close docs.
294 2008-06-25 Stefan Kost <ensonic@users.sf.net>
297 Mention bugnumber for last commit.
299 2008-06-25 Stefan Kost <ensonic@users.sf.net>
301 patch by: Luc Pionchon <luc.pionchon@nokia.com>
303 * docs/manual/manual.xml:
304 - Reorganised the previous "introduction" bundle into Foreword,
305 Introduction, and About GStreamer. The two first are <preface>
306 docbook elements. The later is the first part of the book.
307 - added intro-gstreamer.xml (content partially from
309 - moved appendix-win32.xml into appendix-integration.xml
311 * docs/manual/intro-preface.xml: gstreamer section moved...
312 * docs/manual/intro-gstreamer.xml: ...here. new file.
314 * docs/manual/appendix-win32.xml: removed file. Content moved...
315 * docs/manual/appendix-integration.xml: ...here.
317 * docs/manual/highlevel-components.xml: section about GstEditor moved...
318 * docs/manual/appendix-checklist.xml: ...here.
322 2008-06-25 Stefan Kost <ensonic@users.sf.net>
324 patch by: Luc Pionchon <luc.pionchon@nokia.com>
326 * docs/manual/basics-helloworld.xml:
327 * docs/manual/hello-world.fig:
328 - Explicitely include glib.h.
329 - Do not use global variables.
330 - Use g_printerr() instead of g_print().
331 - Minor formating/renaming to increase readibility.
332 - Renamed new_pad() to on_pad_added()
333 - Improved explenatory comments.
334 - renamed ogg parser to ogg demuxer
335 - Use "autoaudiosink" instead of "alsasink".
338 2008-06-25 Stefan Kost <ensonic@users.sf.net>
341 Remove cvs conflict marker.
343 2008-06-25 Stefan Kost <ensonic@users.sf.net>
346 Document that for plgin-docs we extraxt he short-desc from the element
349 * docs/design/part-states.txt:
350 Tell that devices should be closed in PAUSED -> READY.
352 * docs/manual/README:
353 Document how tests in the manual are handled.
358 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
360 * gst/gstbin.c: (bin_query_latency_fold):
361 Only care about latency min and max when the sink is actually a live
364 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
366 * docs/design/part-block.txt:
369 * docs/design/part-element-transform.txt:
370 Add notes about why transform needs to know input/output sizes.
371 Add some issues that need to be solved.
372 Add some more use cases.
374 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
375 (gst_test_trans_class_init), (result_sink_chain),
376 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
377 (gst_test_trans_push), (gst_test_trans_pop):
378 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
379 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
380 (set_caps_1), (set_caps_ct1), (transform_ct1),
381 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
382 (gst_basetransform_suite):
383 Add suport for different pad templates and buffer-alloc.
384 Add more checks for caps and buffer-alloc.
385 Add checks for proxy buffer alloc.
386 Add unit test for copy transform.
388 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
390 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
392 * docs/manual/appendix-integration.xml:
393 * docs/manual/appendix-licensing.xml:
394 * docs/manual/basics-elements.xml:
395 * docs/manual/basics-helloworld.xml:
396 * docs/manual/basics-pads.xml:
397 * docs/manual/highlevel-components.xml:
398 * docs/manual/highlevel-xml.xml:
399 * docs/manual/intro-basics.xml:
400 * docs/manual/intro-preface.xml:
401 Typo and formatting fixes (#538594).
403 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
405 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
406 Fix some memory leaks and uses of object instances that we don't
409 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
411 * plugins/elements/gstmultiqueue.c:
412 Add functionality to extra-size-buffers property.
414 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
416 * plugins/elements/gstmultiqueue.c:
417 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
418 activate the pads if they are added in STATE_NULL.
420 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
422 * docs/libs/gstreamer-libs-sections.txt:
424 * libs/gst/check/gstcheck.c:
425 * libs/gst/check/gstcheck.h:
426 API: gst_check_teardown_pad_by_name
428 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
430 * libs/gst/check/gstcheck.c:
431 * libs/gst/check/gstcheck.h:
432 Also setup request pads and allow setup pads by name (#537812)
433 API: gst_check_setup_src_pad_by_name
434 API: gst_check_setup_sink_pad_by_name
436 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
438 * tests/check/gst/gstbuffer.c:
439 * tests/check/pipelines/parse-launch.c:
440 Use HAVE_VALGRIND_H some more.
442 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
444 * scripts/cvs-update.sh:
445 Pass arguments to make.
446 Run autoregen.sh if Makefile is not there.
448 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
452 Don't assume that <valgrind/valgrind.h> exists just because
455 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
457 * tests/check/Makefile.am:
458 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
459 (gst_test_trans_class_init), (gst_test_trans_init),
460 (gst_test_trans_set_data), (result_sink_chain),
461 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
462 (gst_test_trans_pop):
463 * tests/check/libs/transform1.c: (GST_START_TEST),
464 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
465 Add some test basetransform element and the beginnings of various
468 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
470 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
471 Increase code readability.
472 Don't try to compare buffer offsets when ther are invalid.
474 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
476 * docs/design/Makefile.am:
477 Dist some more design docs.
479 * docs/random/moving-plugins:
480 Small addition: good plugins mustn't have functional code
481 within assertion macros.
483 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
485 * docs/design/draft-framestep.txt:
486 Some ideas about a framestep API
488 * docs/design/part-element-transform.txt:
489 Start design and use cases for basetransform in order to get it
492 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
495 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
496 be in UTF-8 encoding.
498 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
501 Make it known that gst_bus_poll() is pure evil (fixes #538810).
503 2008-06-20 Stefan Kost <ensonic@users.sf.net>
505 * plugins/elements/gstcapsfilter.c:
506 * plugins/elements/gstfakesink.c:
507 * plugins/elements/gstfakesrc.c:
508 * plugins/elements/gstfdsink.c:
509 * plugins/elements/gstfdsrc.c:
510 * plugins/elements/gstfilesink.c:
511 * plugins/elements/gstfilesrc.c:
512 * plugins/elements/gstidentity.c:
513 * plugins/elements/gstmultiqueue.c:
514 * plugins/elements/gstqueue.c:
515 * plugins/elements/gsttee.c:
516 * plugins/elements/gsttypefindelement.c:
517 Remove short_description. Add basic docs for gsttypefindelement.
518 Simplify markup for fakesrc/fdsrc.
520 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
522 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
525 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
527 Patch by: joel larsson <tilljoel at gmail dot com>
529 * docs/plugins/gstreamer-plugins.args:
530 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
531 (gst_fd_src_init), (gst_fd_src_update_fd),
532 (gst_fd_src_set_property), (gst_fd_src_get_property),
534 * plugins/elements/gstfdsrc.h:
535 Add timeout property like udpsrc. Fixes #538628.
536 Add some more docs and example pipelines.
538 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
540 * docs/libs/gstreamer-libs-sections.txt:
541 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
542 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
543 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
544 (gst_base_sink_do_sync):
545 * libs/gst/base/gstbasesink.h:
546 * win32/common/libgstbase.def:
547 Add method to allow sinks to specify additional delay between the sync
548 times and the actual rendering of the data.
549 API: gst_base_sink_set_render_delay()
550 API: gst_base_sink_get_render_delay()
552 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
555 Bump version number back to dev -> 0.10.20.1
557 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
559 * docs/gst/gstreamer-sections.txt:
560 * gst/gsttaglist.c: (_gst_tag_initialize):
562 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
565 2008-06-20 Stefan Kost <ensonic@users.sf.net>
567 * libs/gst/controller/gstcontroller.c:
568 Revert one change, that make ret value possible uninitialized.
570 2008-06-20 Stefan Kost <ensonic@users.sf.net>
572 * libs/gst/controller/gstcontroller.c:
573 Use freeze/thaw notify to sync notify emission a bit (its also more
574 efficient). Move debug output to LOG (is called a lot in a loop).
575 Always unset g_values if the have been initialized.
577 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
579 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
580 (gst_base_sink_wait_eos), (gst_base_sink_event):
581 If we have not seen a buffer before EOS, use the segment values to
582 report the current position instead of invalid positions.
584 2008-06-20 Stefan Kost <ensonic@users.sf.net>
586 * docs/plugins/tmpl/.cvsignore:
587 * tests/check/gst/.cvsignore:
590 2008-06-20 Stefan Kost <ensonic@users.sf.net>
592 * libs/gst/controller/gstinterpolation.c:
593 * libs/gst/controller/gstinterpolationcontrolsource.c:
594 * tests/check/libs/controller.c:
595 Rewrite handling of default values. Fix overflow with unsigned types
596 in linear interpolation. Remove now obsolete _first_value() function.
597 Add more tests. Fixes #538201.
599 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
601 * libs/gst/base/gstbasetransform.c:
602 (gst_base_transform_class_init), (gst_base_transform_init),
603 (gst_base_transform_transform_caps),
604 (gst_base_transform_prepare_output_buffer):
606 When a buffer is writable, its metadata is also writable so we don't
607 need to subbuffer (which then makes the buffer not-writable anymore).
609 === release 0.10.20 ===
611 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
614 releasing 0.10.20, "You Crazy Diamond"
616 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
619 0.10.19.3 pre-release
621 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
625 Rename DATADIR to GST_DATADIR to avoid build problems
626 on win32. Patch By: David Schleef <ds@schleef.org>
629 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
632 Explicitely link with -ldl if dladdr() is found there. Before it was
633 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
634 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
636 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
638 * gst/gsterror.c: (_gst_stream_errors_init):
639 Fix typo (spotted by Fabricio Godoy, #536723).
641 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
644 0.10.19.2 pre-release
646 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
648 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
649 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
651 Make sure we don't generate invalid QoS messages.
653 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
655 * gst/gstevent.c: (gst_event_new_qos):
656 Add some assert and docs for invalid input to the qos function.
658 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
660 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
661 (gst_base_sink_get_position):
662 The reported position must always be smaller than the last seen
663 timestamps (or timestamp + duration for reverse).
665 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
667 Patch by: Rob Bradford <rob at robster dot org dot uk>
669 * gst/gstregistry.c: (gst_registry_scan_path_level):
670 Don't recurse into .debug directories as some distros install
671 the debugging symbols next to the plugins in .debug directories
672 and dlopen() crashes on them sometimes. Fixes bug #508070.
674 Add FIXME for 0.11 to not recurse into directories at all because
675 it's very inconsistent to the behaviour of other PATH environment
678 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
680 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
681 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
682 Fix position query range checks in reverse playback.
684 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
688 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
689 clear of the reference to the resulting pad must be released later
690 or not, resulting in possible leaks. Fixes bug #533865.
692 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
694 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
696 * gst/gstelementfactory.c:
697 Small doc fix. Fixes #535285.
699 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
701 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
703 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
704 (gst_base_src_get_range), (gst_base_src_pad_get_range),
705 (gst_base_src_loop), (gst_base_src_set_flushing),
706 (gst_base_src_change_state):
707 Make sending an EOS event to the basesrc non-blocking even if the
708 implementation does blocking waits in the create function. This is done
709 by unlocking the create function when EOS is sent.
712 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
714 * tools/gst-inspect.c: (print_element_properties_info):
715 If possible print the element type of GValueArray properties.
717 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
720 Remove an unused field from the private GstListIterator struct.
722 2008-05-27 Stefan Kost <ensonic@users.sf.net>
724 * libs/gst/controller/gstcontroller.c:
725 Add parameter guards.
727 2008-05-27 Stefan Kost <ensonic@users.sf.net>
729 * tests/check/gst/gstpipeline.c:
730 Revert test change and add comment why it should not work.
732 2008-05-27 Stefan Kost <ensonic@users.sf.net>
734 * tests/check/gst/gstpipeline.c:
735 Extending the test a little to verify that we also get the NULL state-
738 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
740 * gst/gstpreset.c: (gst_preset_default_get_meta),
741 (gst_preset_get_preset_names), (gst_preset_get_property_names),
742 (gst_preset_load_preset), (gst_preset_save_preset),
743 (gst_preset_rename_preset), (gst_preset_delete_preset),
744 (gst_preset_set_meta):
745 Add Since: markers to docs blurbs.
747 * win32/common/libgstreamer.def:
748 Add recently-added API.
750 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
752 Patch by: Stefan Kost <ensonic@users.sf.net>
755 Add DATADIR for storing presets.
757 * docs/gst/gstreamer-docs.sgml:
758 * docs/gst/gstreamer-sections.txt:
759 * docs/gst/gstreamer.types.in:
760 Add GstPreset to docs.
764 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
765 (preset_open_and_parse_header), (preset_parse_version),
766 (preset_merge), (preset_get_keyfile),
767 (gst_preset_default_get_preset_names),
768 (gst_preset_default_get_property_names),
769 (gst_preset_default_load_preset),
770 (gst_preset_default_save_presets_file),
771 (gst_preset_default_save_preset),
772 (gst_preset_default_rename_preset),
773 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
774 (gst_preset_default_get_meta), (gst_preset_default_randomize),
775 (gst_preset_default_reset), (gst_preset_get_preset_names),
776 (gst_preset_get_property_names), (gst_preset_load_preset),
777 (gst_preset_save_preset), (gst_preset_rename_preset),
778 (gst_preset_delete_preset), (gst_preset_set_meta),
779 (gst_preset_get_meta), (gst_preset_class_init),
780 (gst_preset_base_init), (gst_preset_get_type):
782 Add GstPreset to core. Fixes #396779
784 * tests/check/Makefile.am:
785 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
786 (gst_preset_test_set_property), (gst_preset_test_class_init),
787 (gst_preset_test_base_init), (gst_preset_test_get_type),
788 (gst_preset_test_plugin_init), (GST_START_TEST),
789 (remove_preset_file), (test_setup), (test_teardown),
791 Add GstPreset unit tests.
793 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
795 * gst/gstpad.c: (gst_pad_event_default_dispatch):
796 The default event function on a sinkpad should return TRUE when
797 there are no internal links but should collect the return values from
798 the internal links otherwise.
800 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
802 * plugins/elements/gsttypefindelement.c:
803 (gst_type_find_element_src_event),
804 (gst_type_find_element_handle_event):
805 Use faster and safer _pad_push_event().
807 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
809 * docs/gst/gstreamer-sections.txt:
810 * gst/gstutils.c: (element_find_unlinked_pad),
811 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
813 API: add gst_bin_find_unlinked_pad()
814 API: deprecate gst_bin_find_unconnected_pad() (#401456)
816 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
822 Fixed a bunch of typos.
824 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
827 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
828 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
829 (gst_parse_bin_from_description_full):
831 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
833 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
835 * docs/pwg/advanced-tagging.xml:
836 Small docs update, can't be bothered to rewrite the nonsensical
839 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
842 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
844 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
846 * gst/parse/grammar.y:
847 Remove unneeded casts.
849 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
851 * gst/parse/grammar.y:
852 * tests/check/pipelines/parse-launch.c:
853 Get all missing elements from a parse launch string if possible
854 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
856 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
858 * tests/check/Makefile.am:
859 * tests/check/pipelines/parse-launch.c:
860 Add some unit tests for the new gst_parse_launch*_full() API.
861 (Exposes a previously-existing memory leak in the error code
862 path, so adding to VALGRIND_TO_FIX for now).
864 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
866 * docs/gst/gstreamer-sections.txt:
867 * gst/gst.c: (init_post):
868 * gst/gst_private.h: (_GstParseContext):
869 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
870 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
871 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
872 (gst_parse_launch_full):
873 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
874 (GstParseFlags), (GstParseContext):
875 * gst/gstutils.c: (gst_parse_bin_from_description),
876 (gst_parse_bin_from_description_full):
878 * gst/parse/grammar.y:
880 * win32/common/libgstreamer.def:
881 Add new gst_parse_*_full API (#528178):
882 API: gst_parse_launch_full()
883 API: gst_parse_launchv_full()
884 API: gst_parse_bin_from_description_full()
885 API: gst_parse_context_new()
886 API: gst_parse_context_free()
887 API: gst_parse_context_get_missing_elements()
889 2008-05-23 Stefan Kost <ensonic@users.sf.net>
891 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
893 * docs/faq/gst-uninstalled:
894 Also support ffmpeg in gst-uninstalled.
896 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
899 After discussion on IRC use the binary registry as default
900 but allow to disable it with --disable-binary-registry.
902 * win32/common/libgstreamer.def:
903 Add the two new symbols for the binary registry.
905 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
907 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
908 * gst/gstutils.c: (gst_parse_bin_from_description):
909 * gst/parse/grammar.y: (graph):
910 More guards against bad input; typo fix; some minor clean-ups.
912 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
914 Patch by: Sjoerd Simons <sjoerd at luon dot net>
916 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
917 If nothing else can be used, use the last buffer's start time as
918 the segment's last stop. Fixes bug #534258.
920 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
922 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
923 Move size sanity check to the right place: downstream may return
924 a buffer with a smaller size if the buffer caps are different than
925 the requested ones, as may happen when doing reverse negotiation.
927 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
929 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
930 (gst_file_sink_render):
931 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
932 (gst_file_src_start):
933 Small cleanups. Add note adbout g_fopen() on windows and why we don't
936 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
938 * gst/gstpad.c: (gst_pad_load_and_link):
939 * gst/gstutils.c: (gst_element_link_pads),
940 (gst_element_unlink_pads):
941 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
942 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
943 (gst_check_teardown_sink_pad),
944 (gst_check_element_push_buffer_list):
945 * tests/check/elements/fakesink.c: (GST_START_TEST):
946 * tests/check/elements/filesink.c:
947 * tests/check/elements/filesrc.c: (GST_START_TEST):
948 * tests/check/elements/multiqueue.c: (setup_multiqueue),
949 (mq_sinkpad_to_srcpad):
950 * tests/check/elements/tee.c: (GST_START_TEST):
951 * tests/check/generic/sinks.c: (GST_START_TEST):
952 * tests/check/gst/gstbin.c: (GST_START_TEST):
953 * tests/check/gst/gstevent.c: (GST_START_TEST):
954 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
955 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
956 * tests/check/gst/gstquery.c: (GST_START_TEST):
957 * tests/check/gst/gstutils.c: (GST_START_TEST):
958 * tests/check/libs/basesrc.c: (GST_START_TEST):
959 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
960 (gst_parse_test_element_change_state):
961 Don't use gst_element_get_pad().
963 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
966 Fix installing plugin documentation when gtk-doc is disabled.
968 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
970 * docs/manual/advanced-autoplugging.xml:
971 * docs/manual/basics-helloworld.xml:
972 * docs/manual/basics-pads.xml:
973 * docs/manual/highlevel-components.xml:
974 Avoid using a bad function in the example code.
976 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
978 * gst/gstclock.c: (gst_clock_set_calibration):
979 Fix debug of the new clock rate.
981 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
983 * win32/common/libgstbase.def:
984 Add gst_base_sink_wait_clock() to the exported symbols.
986 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
988 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
990 * libs/gst/base/gstbasetransform.c:
991 (gst_base_transform_sink_event):
992 Unref events that the GstBaseTransform::event vfunc didn't want to
993 have forwarded by the base class. Closes a leak in identity.
996 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
998 * docs/libs/gstreamer-libs-sections.txt:
999 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1000 * libs/gst/base/gstbasesink.h:
1001 Expose a method that was previously used internally to synchronize
1002 against the clock because it can be useful for subclasses too.
1003 API: GstBaseSink::gst_base_sink_wait_clock()
1005 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1007 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1008 Add sanity check to make sure we don't get smaller buffers
1009 than requested (and fallback to normal buffer alloc if we do).
1011 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1013 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1014 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1015 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1016 Refactor adjusting the running_time with latency and offset into a
1018 When doing clipping, we still want to use the subclass get_times method,
1019 just in case the DURATION or TIMESTAMP are not set.
1021 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1023 * docs/gst/gstreamer-sections.txt:
1024 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1025 * gst/gsttypefind.h:
1026 * win32/common/libgstreamer.def:
1027 API: add gst_type_find_suggest_simple(), #533740.
1029 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1031 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1032 Use right error code when typefinding fails, so we can use
1033 the default (translated) error messages.
1035 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1037 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1038 (gst_base_src_start):
1039 When the subclass did not set caps on outgoing buffers, configure the
1040 caps we negotiated on the source pad.
1041 When the typefind helper does not find caps, error out properly instead
1042 of doing things with NULL caps.
1044 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1046 * gst/gsttypefind.h:
1047 Tabs to spaces, oh yes!
1049 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1051 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1052 Add David's and Benjamin's tests for array intersection to the
1053 unit test suite (#147931).
1055 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1058 Document that gst_event_new_tag() and gst_event_new_navigation()
1059 take ownership of the taglist/structure passed to them. (#533635).
1061 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
1064 Don't descend into the plugins dir if plugin docs building
1068 Add a note about the new type:GTypeName syntax for the plugin
1069 documentation .types file.
1071 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1073 * gst/gstmessage.c: (gst_message_new_error),
1074 (gst_message_new_warning), (gst_message_new_info):
1076 Mark the debug string parameters as const. Fixes bug #533490.
1078 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
1080 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1081 Sort buffer cache list by end offsets. This makes sure that we don't
1082 stop to search for a cached buffer that contains the requested data
1084 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1085 more efficient. Fixes bug #459862.
1087 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1090 Explain why we copy the list.
1092 * gst/gstpipeline.c:
1096 Add one debug-log statement to help tracing probelms with linking pads.
1098 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1100 * tests/check/gst/gstinfo.c:
1101 Add a test for removing the default log handler. Seems to fail under
1104 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1106 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1107 Release pad lock before calling out to avoid a possible deadlock.
1109 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1111 * gst/parse/grammar.y:
1112 Remove unneeded value unset.
1114 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1115 Add unit test for de/serialization of caps.
1117 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1119 * plugins/elements/gstfakesink.c:
1120 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1121 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1122 (gst_fake_src_class_init):
1123 Use custom marshalers that take GstMiniObject as first parameter.
1124 Using OBJECT as parameter while a GstMiniObject is given will lead
1125 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1127 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1129 * plugins/elements/gsttypefindelement.c:
1130 (gst_type_find_element_handle_event),
1131 (gst_type_find_element_send_cached_events),
1132 (gst_type_find_element_change_state):
1133 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1136 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1138 * plugins/elements/gsttypefindelement.c:
1139 (gst_type_find_handle_src_query), (stop_typefinding),
1140 (gst_type_find_element_handle_event),
1141 (gst_type_find_element_send_cached_events),
1142 (gst_type_find_element_change_state):
1143 Forward FLUSH_START events immediately and clean up instead of
1146 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1148 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1150 * libs/gst/base/gstbasetransform.c:
1151 (gst_base_transform_buffer_alloc):
1152 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1153 fall back to default negotiation in the chain function if the caps
1154 are different from what was requested. Fixes bug #526768.
1156 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1159 * tests/check/gst/gstsegment.c:
1160 No, let's not use g_slice_{dup|copy} here, since they only exist
1161 since GLib 2.14 and we still depend only on >= 2.12. Also add
1162 unit test for gst_segment_copy().
1164 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1166 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1167 Try to fix 'dereferencing type-punned pointer will break strict
1168 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1169 changed the default GType typedef from gulong to gsize at some point,
1170 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1171 g_once_* functions all take a gsize * though, so work around the type
1172 mismatch for C++ by doing everything in gsize and casting to GType
1175 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1177 * plugins/elements/gstmultiqueue.c:
1178 Add documentation for the signals to push our core plugin docs
1179 coverage back up to 100%.
1181 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1183 * gst/gstinfo.h (GST_FUNCTION):
1184 Reverted GST_FUNCTION to the old version as we don't want the
1185 full signature in C++ code. Also added support for MSVC.
1187 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1190 Intern the type name string, similar to what G_DEFINE_TYPE does.
1192 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1195 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1197 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1199 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1201 * libs/gst/base/gstbasetransform.c:
1202 (gst_base_transform_buffer_alloc):
1203 Don't passthrough buffer allocation too easily if the caps change.
1204 This breaks when working in passthrough mode and upstream changes
1205 it's caps. Fixes bug #526768.
1207 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1209 * gst/gstinfo.c (gst_debug_log_valist):
1210 Improved the __FILE__ part of debug output for MSVC.
1212 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1214 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1215 Declaration after statement fix for compilers like MSVC.
1217 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1219 * win32/common/config.h.in:
1220 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1221 use the real thing than having "???" unconditionally.
1223 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1225 * gst/gstinfo.h (GST_FUNCTION):
1226 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1228 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1230 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1233 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1234 (gst_base_sink_set_flushing):
1235 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1238 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1240 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1241 (gst_fake_src_init), (gst_fake_src_set_property),
1242 (gst_fake_src_get_property), (gst_fake_src_start):
1243 * plugins/elements/gstfakesrc.h:
1244 Added format property to control the format of the newsegment events.
1245 API: GstFakeSrc:format
1247 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1249 * win32/common/libgstreamer.def:
1250 Add gst_pad_has_name() to the exported symbols.
1252 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1254 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1255 * libs/gst/base/gstbasetransform.c:
1256 (gst_base_transform_prepare_output_buffer):
1257 Don't allow negative sizes when allocating new buffers.
1260 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1262 Patch by: Sjoerd Simons <sjoerd at luon net>
1264 * gst/gstbus.c: (gst_bus_source_dispatch):
1265 Don't print a warning if the queue is empty when we try to pop
1266 here. That could happen if another thread or callback set the
1267 bus to flushing between the source's check/prepare and the
1268 dispatch being called (#531538).
1270 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1272 * plugins/elements/gstmultiqueue.c:
1275 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1277 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1278 Add unit test for deserializing uint64s and check some really large
1279 numbers in the int64 test.
1281 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1283 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1284 (print_interfaces), (print_element_properties_info),
1285 (print_signal_info):
1286 Use "%s" as format string instead of printing strings directly.
1288 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1290 * gst/gstclock.c: (gst_clock_set_calibration):
1291 Make some checks actually useful.
1293 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1294 Remove some unused code. Unsigned integers tend to be >= 0.
1296 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1298 * gst/gstminiobject.c: (gst_value_get_mini_object):
1299 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1300 function was not in the unscheduled 0.10.19 release.
1302 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1304 * gst/gstregistry.c: (gst_registry_scan_path_level):
1305 Only print one log message per non-plugin file.
1307 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1309 * gst/gstinfo.c: (gst_debug_log_default):
1310 Fix alignment of debug log columns on 64-bit.
1312 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1314 * docs/libs/Makefile.am:
1315 * docs/libs/gstreamer-libs-sections.txt:
1316 Ignore private controller headers for docs.
1318 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1320 * libs/gst/controller/gstcontrollerprivate.h:
1321 * libs/gst/controller/gsthelper.c:
1322 * libs/gst/controller/gstinterpolation.c:
1323 * libs/gst/controller/gstinterpolationcontrolsource.c:
1324 (gst_interpolation_control_source_set_interpolation_mode):
1325 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1326 * libs/gst/controller/lib.c:
1327 Move some private declarations into private headers.
1329 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1331 * gst/gstdebugutils.c: (debug_dump_element_pad):
1332 Remove some code that is unused after Stefan's refactoring and uses
1333 uninitialized variables now, resulting in a compiler warning.
1335 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1337 * gst/gstregistry.c: (gst_registry_scan_path_level):
1338 Run g_str_has_suffix() only on the file name, not the
1341 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1343 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1344 Since we're not called only from the chain function any longer,
1345 we can't assume that there's always data in the queue, so move
1346 the is_full check to the beginning of the loop (otherwise we'd
1347 hit the assert when changing the limit properties while the
1348 queue is empty or not running yet).
1349 Also, only set a discont if items were actually removed from
1352 * tests/check/elements/queue.c: (test_leaky_downstream):
1353 Test case for the above.
1355 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1357 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1359 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1360 (gst_queue_chain), (queue_capacity_change),
1361 (gst_queue_set_property):
1362 When changing thr max capacity of a leaky queue, immediatly drop buffers
1363 instead of waiting for a push on the sinkpad. Fixes #530637.
1365 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1367 * gst/gstdebugutils.c:
1368 Refactor code and fix handling of ghostpads and their proxypads.
1370 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1372 * docs/gst/gstreamer-sections.txt:
1373 * gst/gstevent.c: (gst_event_has_name):
1375 * tests/check/gst/gstevent.c: (GST_START_TEST):
1376 Add method to conveniently check the name of a custom event with
1377 gst_event_has_name().
1378 Reformat the event docs so that related methods are put together instead
1379 of the default alphabetical sort.
1380 Update unit test with new method.
1381 API: GstEvent::gst_event_has_name()
1383 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1385 * libs/gst/check/Makefile.am:
1386 Don't add an explicit link to libgstreamer-0.10.la; it's already
1387 included in GST_OBJ_LIBS.
1389 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1392 Register GstClock type from a type-safe context. Fixes bug #530317.
1394 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1396 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1398 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1400 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1402 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1404 Use the GLib stuff to create a private structure.
1405 Add some locking around some dispose methods to make them a little
1406 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1408 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1410 * libs/gst/base/gstbasesink.h:
1411 * libs/gst/base/gstbasesrc.h:
1412 * libs/gst/base/gstbasetransform.h:
1413 * libs/gst/base/gstcollectpads.h:
1414 Fix doc typos and unify caps a bit.
1416 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1418 * tools/gst-launch.1.in:
1419 Forgot to also add the envvar docs here.
1421 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1423 * gst/gst.c: (init_post), (gst_deinit):
1424 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1425 (test_concurrent_create), (gst_pipeline_suite):
1426 Ref some more classes in gst_init() to work around thread-safety
1427 issues in pre-2.16 GLibs, and add basic unit test.
1429 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1431 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1432 (gst_base_sink_send_event):
1433 Rearrange the latency query code. We always want to do the upstream
1434 query, even if we are not live so that the upstream elements can get the
1435 latency results too. If we fail doing the query and we are live, we
1436 return TRUE afterwards.
1438 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1440 patch by: Jason Zhao <e3423c@motorola.com>
1442 * docs/gst/running.xml:
1444 Enable/disable scan_and_update_registry() based on commandline switch
1445 or environment variable. Fixes #520468.
1448 Fix typo in my previous commit.
1450 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1452 * gst/gstregistrybinary.c:
1453 Add a warning if we hit unhandled factories when saving.
1454 More debug logging detail, but move to LOG category.
1456 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1458 * gst/gstregistry.c:
1459 Tell the *truth* when improving the documentation.
1461 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1463 * gst/gstelementfactory.c: (gst_element_factory_make):
1464 Unref the factory after it was used the last time, not before.
1466 * gst/gstindexfactory.c: (gst_index_factory_make):
1467 Improve debugging a bit and don't leak a ref to the index factory with
1470 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1472 * gst/gstregistry.c:
1473 Improve the documentation.
1475 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1478 The glib macro seems to be borked. Use g_slice_copy directly and cast
1479 in the hope that this fixes the warning on 64bit.
1481 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1484 Document the new function. Use g_slice_dup() (no need for
1485 gst_segment_init()).
1487 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1489 * docs/gst/gstreamer-sections.txt:
1490 Move GParamSepc macros to standart section.
1493 Dn't document _get_type - its in private section in docs anyway and
1494 this doc-blob was incomplete.
1497 Fix wrong symbol names in docs.
1500 Add once doc sentence.
1502 * tests/check/gst/.cvsignore:
1505 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1507 * docs/gst/Makefile.am:
1508 And remove those libs here.
1510 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1512 * docs/libs/Makefile.am:
1513 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1515 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1517 Patch by: Olivier Crete <tester at tester dot ca>
1519 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1520 Add the min-threshold to the min latency if possible. Fixes #529148.
1522 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1524 * docs/gst/gstreamer.types.in:
1525 Stupid editor, I removed that line as it should go in yet.
1527 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1529 * docs/gst/gstreamer.types.in:
1530 * docs/libs/gstreamer-libs.types:
1531 Remove library types fro core docs and have them in libs docs.
1532 Reformat and cleanup. Add comment for miniobject types.
1534 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1536 * gst/gsturi.c: (gst_uri_get_protocol):
1537 Fix leak: g_strdown operates on the string in place, while
1538 g_ascii_strdown() returns a newly-allocated string.
1540 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1542 * tools/gst-inspect.c: (print_uri_handler_info),
1543 (print_element_info):
1544 Print the URI protocols and the URI type supported by the element.
1546 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1548 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1549 Use g_value_take_string() instead of the deprecated
1550 g_value_set_string_take_ownership().
1552 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1554 * gst/gstregistrybinary.c: (_gst_crc32):
1555 Return the old CRC instead of 0 if we give a NULL buffer
1556 or a buffer with a length of 0.
1558 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1560 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1561 (gst_uri_get_protocol), (gst_uri_has_protocol),
1562 (gst_uri_construct), (gst_uri_handler_set_uri):
1563 A valid URI scheme can also include '+', '-' and '.' additional
1564 to alphanumeric characters as per RFC 3986 Section 3.1.
1566 Handle URI schemes case insensitive in all places and convert
1567 to lower-case when constructing an URI or setting an URI with
1568 the GstURIHandler interface. Fixes bug #528868.
1569 All elements can still assume (as before) that they will
1570 get passed URIs with a lower-case URI scheme by the GstURIHandler
1573 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1575 * gst/gstcaps.c: (gst_static_caps_get):
1576 * gst/gstclock.c: (gst_clock_entry_new):
1577 Don't use g_atomic_set_int where it's not needed.
1579 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1581 * gst/gstvalue.c: (gst_value_deserialize_caps):
1582 * gst/parse/grammar.y:
1585 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1587 * gst/gstutils.c: (gst_atomic_int_set):
1588 Use g_atomic_int_set() here too instead of assignment +
1591 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1595 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1596 now that we depend on new enough GLib.
1598 * gst/gstcaps.c: (gst_static_caps_get):
1599 * gst/gstclock.c: (gst_clock_entry_new):
1600 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1601 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1602 (gst_debug_category_set_threshold):
1603 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1604 (gst_base_sink_set_qos_enabled):
1605 * libs/gst/net/gstnettimeprovider.c:
1606 (gst_net_time_provider_set_property):
1607 Use g_atomic_int_set() instead of gst_atomic_int_set().
1609 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1612 Also use G_GINT64_CONSTANT for the queries.
1614 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1617 Use G_GINT64_CONSTANT in varargs function.
1619 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1621 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1622 Initialize the registry magic with zeroes.
1624 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1626 * gst/gstregistrybinary.c: (_gst_crc32),
1627 (gst_registry_binary_write),
1628 (gst_registry_binary_initialize_magic),
1629 (gst_registry_binary_write_cache),
1630 (gst_registry_binary_check_magic),
1631 (gst_registry_binary_read_cache):
1632 * gst/gstregistrybinary.h:
1633 Add crc32 checksum to the binary registry file and check this before
1634 accepting a registry file.
1636 Also free the data list when writing to the registry file fails.
1638 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1640 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1641 (gst_registry_binary_load_feature),
1642 (gst_registry_binary_load_plugin):
1643 If an element supports the Uri interface, returns a valid pointer
1644 to the supported URI protocols but this pointer contains nothing
1645 don't try to save that as it will corrupt the registry.
1647 Don't unref the plugin if we added it to the registry already but
1648 fail to load a feature as gst_registry_add_plugin() takes ownership
1651 Improve debugging a bit.
1653 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1656 Clarify some tag item docs after discussion on irc.
1658 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1660 * docs/gst/gstreamer-docs.sgml:
1661 Remove commented out plugins (they have their own docs). Update
1664 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1666 * docs/gst/gstreamer-docs.sgml:
1667 * docs/gst/gstreamer-sections.txt:
1668 * gst/gstparamspecs.c:
1669 * gst/gstparamspecs.h:
1670 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1671 docs to own section.
1674 This now only documents GValue.
1676 * docs/libs/gstreamer-libs-sections.txt:
1677 * libs/gst/controller/gstcontroller.h:
1678 Remove GST_PARAM_CONTROLLABLE.
1680 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1683 Correct file path. Tell about how to use -overrides.txt.
1684 * docs/design/draft-tagreading.txt:
1685 Small design update.
1687 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1689 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1690 (gst_registry_binary_load_plugin):
1691 Fix a typo in a debug message and revert change from yesterday as
1692 gst_registry_add_plugin() will only fail if something is really wrong
1693 already and we can't survive it anyway.
1695 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1697 * gst/gst.c: (init_post), (gst_deinit):
1698 Pre-register GstGError GType from a thread-safe context
1699 (fixes #527967); unref enum type classes in deinit.
1701 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1703 Patch by: Rene Stadler <mail at renestadler de>
1705 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1706 Merging an empty list with another list in KEEP_ALL mode should
1707 yield an empty list as result and not the second list (#512578).
1709 * tests/check/gst/gsttagsetter.c:
1710 Add unit test for tag merge modes and the aforementioned bug.
1712 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1714 Patch by: Rene Stadler <mail at renestadler de>
1717 Fix description to match the order in the table (#512577).
1719 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1721 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1723 * libs/gst/net/gstnettimepacket.h:
1724 * docs/libs/gstreamer-libs-sections.txt:
1725 Define socklen_t as int if it's not defined yet. Fixes compilation
1726 with MSVC6 and other versions where socklen_t is not defined in
1727 the windows headers (#518022).
1729 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1731 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1732 If gst_registry_add_plugin() fails our reference to the plugin is
1733 invalid so don't try to use it anymore and instead error out.
1735 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1737 * tools/gst-xmlinspect.c: (print_element_info), (main):
1738 De-cruft a bit. If no argument is specified, print all elements in
1739 XML syntax rather than a freestyle list of elements like gst-inspect.
1740 Also, don't print XML header chunk unless we actually have something
1741 to print (ie. don't print it before an error message); print error
1742 message to stderr not stdout. Remove support for printing plugin
1743 info (it would just output something freestyle along the lines of
1744 gst-inspect so far), which fixes #514507. Also add license header.
1746 2008-04-11 Julien Moutte <julien@fluendo.com>
1749 * configure.ac: Merge platform specific defines, introduce a new
1750 define on OS X to remember that forking when updating registry is
1752 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1754 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1756 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1757 condition that leads to absolutely no plugins being registered on
1760 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1762 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1764 * gst/gstutils.c: (gst_pad_add_data_probe),
1765 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1766 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1767 (gst_pad_add_buffer_probe_full):
1769 * docs/gst/gstreamer-sections.txt:
1770 * win32/common/libgstreamer.def:
1771 Add gst_pad_add_*_probe_full() functions with a notify callback that
1772 lets the caller free the data it passes to the probe functions. This
1773 is useful for bindings such as gst-python or gstreamermm (#526814).
1774 API: gst_pad_add_data_probe_full
1775 API: gst_pad_add_buffer_probe_full
1776 API: gst_pad_add_event_probe_full
1778 * tests/check/gst/gstutils.c:
1779 Add minimal unit test to make sure freeing the data actually works
1782 * tests/benchmarks/.cvsignore:
1783 Random cvsignore addendum.
1785 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1787 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1788 (GST_DEBUG_BIN_TO_DOT_FILE):
1789 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1790 to it in the docs (since these are macros the types of the arguments
1791 won't be shown in the docs otherwise).
1793 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1796 Do not abort on out of memory for pad_alloc_buffer.
1798 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1800 * libs/gst/check/gstcheck.c:
1801 Remove blank line between symbol name ad parameters to fix gtkdoc
1804 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1806 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1808 * docs/gst/gstreamer-sections.txt:
1811 * win32/common/libgstreamer.def:
1812 Expose gst_segment_copy() to make things easier for the c++ bindings.
1814 API: gst_segment_copy()
1816 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1818 * gst/gst.c: (gst_init_get_option_group), (init_post):
1819 Fix const position; ref GType classes for enum types to work
1820 around thread-safety issues in GLib versions < 2.16.
1822 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1824 * docs/design/part-buffering.txt:
1825 Fix some typos and set the estimated total for push mode to -1.
1827 * gst/gstquery.c: (gst_query_new_buffering):
1828 Set buffering-left to 0 as we're not buffering by default.
1830 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1831 Implement BUFFERING query.
1833 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1835 Based on patch by: Milosz Derezynski <internalerror gmail com>
1837 * gst/gsterror.c: (_gst_stream_errors_init):
1839 Add two new error codes for encrypted content. Fixes #524659.
1840 API: GST_STREAM_ERROR_DECRYPT
1841 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1843 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1848 * win32/common/libgstreamer.def:
1851 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1853 * plugins/elements/gstidentity.c: (gst_identity_event),
1854 (gst_identity_start):
1855 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1856 event after processing some data. Fixes bug #526042.
1858 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1860 * docs/gst/gstreamer-sections.txt:
1861 * gst/gstquery.c: (gst_query_parse_latency),
1862 (gst_query_set_buffering_percent),
1863 (gst_query_parse_buffering_percent),
1864 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1866 Rename _avail -> _range
1867 API: gst_query_set_buffering_range
1868 API: gst_query_parse_buffering_range
1870 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1872 * docs/design/part-buffering.txt:
1875 * gst/gstquery.c: (gst_query_parse_latency),
1876 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1877 (gst_query_parse_buffering_percent):
1879 Add busy field and quark for the buffering query so that the app can
1880 only use the query to see if buffering is in progress.
1882 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1884 * docs/gst/gstreamer-sections.txt:
1885 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1886 (gst_message_parse_buffering_stats):
1888 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1889 (gst_query_parse_latency), (gst_query_new_buffering),
1890 (gst_query_set_buffering_percent),
1891 (gst_query_parse_buffering_percent),
1892 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1893 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1895 Reorder the message docs and headers for clarity.
1896 Add aditional buffering stats API for messages.
1897 Add buffering query.
1898 Convert some leftover queries to use GstQuark.
1899 API: gst_message_set_buffering_stats
1900 API: gst_message_parse_buffering_stats
1901 API: GST_QUERY_BUFFERING
1902 API: GstBufferingMode
1903 API: gst_query_new_buffering
1904 API: gst_query_set_buffering_percent
1905 API: gst_query_parse_buffering_percent
1906 API: gst_query_set_buffering_stats
1907 API: gst_query_parse_buffering_stats
1909 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1911 * gst/gstmessage.c: (gst_message_new_error),
1912 (gst_message_new_warning), (gst_message_new_info),
1913 (gst_message_new_buffering), (gst_message_new_state_changed),
1914 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1915 (gst_message_new_new_clock), (gst_message_new_segment_start),
1916 (gst_message_new_segment_done), (gst_message_new_duration),
1917 (gst_message_new_async_start), (gst_message_parse_buffering),
1918 (gst_message_parse_state_changed),
1919 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1920 (gst_message_parse_new_clock), (gst_message_parse_error),
1921 (gst_message_parse_warning), (gst_message_parse_info),
1922 (gst_message_parse_segment_start),
1923 (gst_message_parse_segment_done), (gst_message_parse_duration),
1924 (gst_message_parse_async_start):
1925 Use GstQuark for messages.
1927 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1929 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1931 Add some more quarks needed for messages and queries.
1933 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1935 * docs/design/part-buffering.txt:
1936 Remove the "none" buffering mode, STREAM is a good default.
1937 Move estimated-time to the avail query, that's when it will be needed.
1938 Other small typo fixes and updates.
1940 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1942 * gst/gstindex.c: (gst_index_resolver_get_type):
1943 Don't put descriptions into the nick field of a GEnumValue: it's not
1944 meant for that and some language bindings rely on the nick field to
1945 construct constants and the like. Fixes #526705.
1947 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1952 Merge other changes from 0.10.19 release branch.
1954 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1956 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1959 Actually build dlls when cross-compiling with mingw32.
1962 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1964 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1967 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1969 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1971 * docs/design/draft-latency.txt:
1974 * docs/design/part-buffering.txt:
1975 Update design docs with more buffering ideas.
1977 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1980 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1982 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1985 Revert part that belongs to the preset patch.
1987 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1990 Add qoutes to the define. Fixes # 525961.
1992 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1994 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1995 (gst_file_index_load), (gst_file_index_add_id),
1996 (gst_file_index_get_assoc_entry):
1997 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1998 (gst_mem_index_free_id), (gst_mem_index_add_id),
1999 (gst_mem_index_index_format):
2000 Use GSlice when possible.
2002 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
2004 * libs/gst/controller/gstinterpolationcontrolsource.c:
2005 (gst_control_point_free),
2006 (gst_interpolation_control_source_set_internal):
2007 Use GSlice for allocating the control points.
2009 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
2011 * plugins/elements/gsttypefindelement.c:
2012 (gst_type_find_element_class_init),
2013 (gst_type_find_element_set_property),
2014 (gst_type_find_element_get_property),
2015 (gst_type_find_element_activate):
2016 * plugins/elements/gsttypefindelement.h:
2018 Fix pad leak when peer query fails.
2019 We can still typefind when the peer returns -1.
2020 Add property to force caps and bypass typefinding. This will be used in
2024 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2029 * gst/glib-compat-private.h:
2030 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2031 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2032 Unconditionally use GSlice for allocation.
2034 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2035 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2036 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2037 (gst_structure_free):
2038 Use GSlice for allocation.
2040 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2042 * gst/parse/Makefile.am:
2043 * gst/parse/grammar.tab.pre.c:
2044 * gst/parse/grammar.tab.pre.h:
2045 * gst/parse/lex._gst_parse_yy.pre.c:
2046 Require a new enough flex and bison and remove the parser hacks to use
2047 a pre-regenerated version.
2049 2008-04-01 Julien Moutte <julien@fluendo.com>
2051 patch by: Jason Zhao <E3423C@motorola.com>
2053 * configure.ac: Add a configure switch to disable option parsing
2057 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2060 * gst/gstregistry.c:
2061 MacOS has plugins under .so or under .dylib. Add detection for MacOS
2062 and handle this case.
2065 Add a comment here describing, why we stat each plugin and not try to
2068 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
2070 * libs/gst/base/gstbasetransform.c:
2071 (gst_base_transform_prepare_output_buffer):
2072 Also unset the GAP flag on buffers if we're working inplace but
2073 the element is not GAP-aware.
2075 Mark a comment as FIXME 0.11.
2077 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2080 Fix type in log message and add one to ease seeing how long registry
2081 cache verification takes.
2083 * gst/gstregistry.c:
2084 Only test plugin filenames against G_MODULE_SUFFIX.
2086 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2088 * gst/gstdebugutils.c:
2089 Improve handling ghost/proxy pads.
2091 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2093 * docs/gst/gstreamer-sections.txt:
2096 Expose macro to docs and fix link to it.
2098 2008-03-27 Michael Smith <msmith@fluendo.com>
2100 * libs/gst/dataprotocol/dataprotocol.c:
2101 (gst_dp_packet_from_event_1_0):
2102 When calculating GDP body CRC, use the correct pointer.
2103 Fixes part of #522401.
2105 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2107 Patch by: Mark Nauwelaerts <manauw at skynet be>
2109 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2110 (gst_identity_init), (gst_identity_prepare_output_buffer):
2111 Identity is not always a passthrough element, it can modify the buffer
2112 timestamps when it has a datarate and operates in single-segment mode.
2113 We therefore make it an in_place filter with a custom buffer prepare
2114 function that conditionally makes the input buffer metadata writable
2115 when needed. Fixes #523985.
2117 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2119 Patch by: Mark Nauwelaerts <manauw at skynet be>
2122 * libs/gst/base/gstbasesrc.h:
2123 * libs/gst/base/gstbasetransform.c:
2124 * libs/gst/check/gstcheck.c:
2125 Small documentation fixes. Fixes #523978.
2127 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2129 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2130 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2131 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2133 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2135 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2136 (single_queue_underrun_cb):
2137 When trying to make room in the queue, bump the max allowed buffers
2138 bigger than the current amount of buffers in the queue. this fixes some
2139 nasty deadlocks in multiqueue when dynamically changing the limits of
2142 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2144 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2146 * gst/gstcaps.c: (gst_caps_set_simple),
2147 (gst_caps_set_simple_valist), (gst_caps_intersect):
2149 Constify the field gchar * params in set_simple and friends.
2152 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2154 * gst/gstvalue.c: (gst_value_transform_object_string):
2155 Transform a GstObject to a more meaningfull string that includes the
2156 object type in addition to its name.
2158 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2161 ChangeLog surgery to add bugnumber to commit.
2163 2008-03-23 Rene Stadler <mail@renestadler.de>
2165 * libs/gst/base/gstbasetransform.c:
2166 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2168 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2170 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2171 Rename constant everywhere and don't forget one occurence.
2173 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2175 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2176 Align memory to the pointer size even if the architecture allows
2177 unaligned memory access. Unaligned memory access usually comes with
2178 performance penality.
2180 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2182 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2183 (gst_registry_binary_check_magic),
2184 (gst_registry_binary_load_pad_template),
2185 (gst_registry_binary_load_feature),
2186 (gst_registry_binary_load_plugin):
2187 Align memory to the pointer size instead of always 32 bit. Fixes
2188 unaligned memory accesses on ia64 and friends.
2190 * gst/gstregistrybinary.h:
2191 Bump binary registry format version for this as it changes the
2192 format on those architectures that don't have unaligned access
2193 and 64 bit pointers.
2195 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2197 * docs/pwg/advanced-dparams.xml:
2198 * docs/pwg/building-props.xml:
2199 * docs/pwg/other-source.xml:
2200 * gst/glib-compat.h:
2201 * gst/gstbin.c: (gst_bin_class_init):
2202 * gst/gstclock.c: (gst_clock_class_init):
2203 * gst/gstindex.c: (gst_index_class_init):
2204 * gst/gstobject.c: (gst_object_class_init):
2205 * gst/gstpad.c: (gst_pad_class_init):
2206 * gst/gstpipeline.c: (gst_pipeline_class_init):
2207 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2208 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2209 * libs/gst/base/gstbasetransform.c:
2210 (gst_base_transform_class_init):
2211 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2212 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2213 (_gst_check_fault_handler_sighandler),
2214 (_gst_check_fault_handler_setup), (gst_check_init):
2215 * libs/gst/controller/gstcontroller.c:
2216 (_gst_controller_class_init):
2217 * libs/gst/controller/gstlfocontrolsource.c:
2218 (gst_lfo_control_source_class_init):
2219 * libs/gst/net/gstnetclientclock.c:
2220 (gst_net_client_clock_class_init):
2221 * libs/gst/net/gstnettimeprovider.c:
2222 (gst_net_time_provider_class_init):
2223 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2224 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2225 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2226 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2227 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2228 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2229 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2230 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2231 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2232 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2233 * plugins/elements/gsttee.c: (gst_tee_class_init):
2234 * plugins/elements/gsttypefindelement.c:
2235 (gst_type_find_element_class_init):
2236 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2237 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2238 use it everywhere for GParamSpecs that use static strings (i.e. all).
2239 This gives us less memory usage, fewer allocations and thus less
2240 memory defragmentation. Fixes bug #523806.
2242 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2244 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2245 (gst_param_spec_mini_object):
2246 * gst/gstminiobject.h:
2247 * win32/common/libgstreamer.def:
2248 * docs/gst/gstreamer-sections.txt:
2249 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2250 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2251 GstParamSpecMiniObject into a public header for this.
2253 This make GstMiniObject a bit more consistent with GObject and makes
2254 it possible to extend the param specs.
2256 gst_value_dup_mini_object is mainly useful for set_property methods.
2260 * tools/gst-inspect.c: (print_element_properties_info):
2261 Print something useful for GstMiniObject properties and not just
2264 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2266 * docs/gst/gstreamer-sections.txt:
2267 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2268 (gst_registry_binary_check_magic):
2269 * gst/gstregistrybinary.h:
2270 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2271 and add it to the (private part) of the docs to fix the build.
2273 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2275 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2276 (gst_registry_binary_check_magic),
2277 (gst_registry_binary_read_cache):
2278 * gst/gstregistrybinary.h:
2279 Don't use GST_MAJORMINOR for the binary registry version. Instead
2280 hardcode a value that must be changed whenever the format changes
2281 in an incompatible way.
2282 Also don't GST_ERROR when there is a version mismatch, just
2283 regenerate the registry silently.
2285 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2288 Back to development - 0.10.18.1
2290 === release 0.10.18 ===
2292 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2295 releasing 0.10.18, "So far away"
2297 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2300 * win32/common/config.h:
2301 0.10.17.4 pre-release
2303 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2305 Patch by: Ole André Vadla Ravnås
2306 <ole dot andre dot ravnas at tandberg dot com>
2308 * docs/gst/gstreamer-sections.txt:
2309 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2310 (gst_poll_update_winsock_event_mask),
2311 (gst_poll_prepare_winsock_active_sets),
2312 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2313 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2314 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2315 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2316 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2318 * win32/common/libgstreamer.def:
2319 Add new function gst_poll_fd_ignored() for improved Windows
2321 Various minor fixes and cleanups. See #520808.
2323 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2325 * gst/gstindex.c: (gst_index_entry_free):
2327 Don't free key strings which we don't own. Fixes crash in
2328 gst_index_entry_free() (#522741).
2330 * tests/check/Makefile.am:
2331 * tests/check/gst/.cvsignore:
2332 * tests/check/gst/gstindex.c: (test_index_entries),
2333 (gst_index_suite), (gst_index):
2334 Add unit test for the above.
2336 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2338 * win32/common/libgstreamer.def:
2339 Remove symbols that were removed recently. Fixes bug #521740.
2341 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2344 * win32/common/config.h:
2345 0.10.17.3 pre-release
2347 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2349 Patch by: Ole André Vadla Ravnås
2350 <ole dot andre dot ravnas at tandberg dot com>
2352 * docs/gst/gstreamer-sections.txt:
2353 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2354 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2355 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2356 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2357 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2358 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2359 (gst_poll_fd_can_write), (gst_poll_wait),
2360 (gst_poll_set_controllable), (gst_poll_restart),
2361 (gst_poll_set_flushing):
2363 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2364 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2365 (gst_net_time_provider_new):
2366 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2367 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2368 * tests/benchmarks/gstpollstress.c: (main):
2369 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2370 Remove GstPollMode from the API, it does not make sense to let the
2371 application control this.
2372 Add support for Win32.
2373 Fix the testsuite. Fixes #520671.
2375 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2377 Patch by: Ole André Vadla Ravnås
2378 <ole dot andre dot ravnas at tandberg dot com>
2380 * gst/gstregistrybinary.c:
2381 Include io.h for write() and close() when building with MSVC. Fixes
2384 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2387 * gst/gst_private.h:
2388 * gst/gstconfig.h.in:
2389 * gst/gstregistry.h:
2390 * gst/gstregistrybinary.c:
2391 * win32/common/gstconfig.h:
2392 Move registry backend API to private headers where we can. Add
2393 fixme-0.11 comments for the others. Add stubs for the xml backend when
2394 using the binary to ensure they functions exists (they should not be
2395 used though). Fixes #520756.
2397 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2400 * win32/common/config.h:
2403 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2405 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2406 (gst_registry_binary_read_cache):
2407 * gst/gstregistryxml.c: (gst_registry_save):
2408 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2409 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2410 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2411 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2412 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2415 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2417 * gst/gstminiobject.c:
2418 Import gst_private.h before any other header that might include other
2419 glib headers. This fixes the build on windows using native compilers.
2421 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2423 * win32/common/gstconfig.h:
2424 Add here too, just for completeness.
2426 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2429 * gst/gstconfig.h.in:
2430 * gst/gstregistry.h:
2431 Fix broken use of config.h-defined preprocessor directive in a public
2432 header file. Add a corresponding define to gstconfig.h, since we can't
2433 really remove those function declarations from the header file now
2434 (or can we? and why are they there in the first place?).
2436 2008-03-03 Andy Wingo <wingo@pobox.com>
2438 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2441 * gst/gststructure.c (gst_structure_from_string): Warn if
2442 structure_from_string didn't consume the whole string, but the
2443 caller did not provide an end pointer.
2445 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2447 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2449 * gst/gstregistryxml.c: (read_string), (load_feature):
2450 Strings allocated by libxml2 should be freed with xmlFree(), not
2451 with g_free(). Fixes issues on windows in certain contexts (#519698).
2453 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2455 * gst/gstinterface.c: (gst_element_implements_interface):
2456 Don't crash if the element supports the interface queried, but does
2457 not implement GstImplementsInterface. Fixes #519584.
2459 * tests/check/Makefile.am:
2460 * tests/check/gst/.cvsignore:
2461 * tests/check/gst/gstinterface.c:
2462 Add unit test for the above.
2464 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2466 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2469 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2471 * gst/gstsegment.c: (gst_segment_set_seek),
2472 (gst_segment_to_stream_time):
2473 Improve some comment.
2474 Update variables where it makes more sense.
2476 2008-02-29 Rene Stadler <mail@renestadler.de>
2478 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2479 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2480 URIHandlers implemented using language bindings.
2482 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2484 * gst/gstelementfactory.h:
2485 * tests/check/elements/fakesink.c:
2486 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2487 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2488 * tests/check/elements/filesink.c: (setup_filesink):
2489 * tests/check/elements/filesrc.c: (setup_filesrc):
2490 * tests/check/elements/identity.c: (setup_identity):
2491 * tests/check/elements/tee.c:
2492 * tests/check/generic/sinks.c:
2493 * tests/check/generic/states.c: (setup), (teardown):
2494 * tests/check/gst/gst.c:
2495 * tests/check/gst/gstabi.c:
2496 * tests/check/gst/gstbin.c:
2497 * tests/check/gst/gstbus.c: (pull_messages):
2498 * tests/check/gst/gstcaps.c:
2499 * tests/check/gst/gstelement.c:
2500 * tests/check/gst/gstevent.c:
2501 * tests/check/gst/gstghostpad.c:
2502 * tests/check/gst/gstiterator.c:
2503 * tests/check/gst/gstmessage.c:
2504 * tests/check/gst/gstminiobject.c: (my_foo_init):
2505 * tests/check/gst/gstobject.c: (thread_name_object),
2507 * tests/check/gst/gstpad.c:
2508 * tests/check/gst/gstplugin.c:
2509 * tests/check/gst/gstpoll.c:
2510 * tests/check/gst/gstquery.c:
2511 * tests/check/gst/gstsegment.c:
2512 * tests/check/gst/gststructure.c:
2513 * tests/check/gst/gstsystemclock.c:
2514 * tests/check/gst/gsttask.c:
2515 * tests/check/gst/gstutils.c:
2516 * tests/check/gst/gstvalue.c:
2517 * tests/check/gst/struct_hppa.h:
2518 * tests/check/gst/struct_i386.h:
2519 * tests/check/gst/struct_ppc32.h:
2520 * tests/check/gst/struct_ppc64.h:
2521 * tests/check/gst/struct_x86_64.h:
2522 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2523 * tests/check/libs/basesrc.c:
2524 * tests/check/libs/controller.c: (GST_START_TEST):
2525 * tests/check/libs/gdp.c:
2526 * tests/check/libs/gstnetclientclock.c:
2527 * tests/check/libs/gstnettimeprovider.c:
2528 * tests/check/libs/libsabi.c:
2529 * tests/check/libs/struct_hppa.h:
2530 * tests/check/libs/struct_i386.h:
2531 * tests/check/libs/struct_ppc32.h:
2532 * tests/check/libs/struct_ppc64.h:
2533 * tests/check/libs/struct_x86_64.h:
2534 * tests/check/pipelines/cleanup.c:
2535 * tests/check/pipelines/simple-launch-lines.c:
2536 * tests/check/pipelines/stress.c:
2537 And correct even more valid sparse warnings.
2539 * win32/common/libgstreamer.def:
2540 Add gst_poll_fd_init to the list of symbols.
2542 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2544 * gst/gstconfig.h.in:
2545 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2546 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2547 (gst_check_log_critical_func), (gst_check_drop_buffers),
2548 (gst_check_element_push_buffer_list):
2549 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2550 (gst_controller_get_type):
2551 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2552 (gst_object_get_controller), (gst_object_get_control_source):
2553 * libs/gst/controller/gstinterpolationcontrolsource.c:
2554 (gst_interpolation_control_source_new):
2555 * libs/gst/controller/gstlfocontrolsource.c:
2556 (gst_lfo_control_source_new):
2557 * libs/gst/dataprotocol/dataprotocol.c:
2558 (gst_dp_event_from_packet_0_2):
2559 * plugins/elements/gstfdsrc.c:
2560 * plugins/elements/gstmultiqueue.c:
2561 * plugins/elements/gsttee.c:
2562 * plugins/elements/gsttypefindelement.c:
2563 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2564 (gst_file_index_add_association):
2565 * plugins/indexers/gstmemindex.c:
2566 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2567 * tests/check/elements/queue.c: (setup_queue):
2568 * tests/check/gst/gstpipeline.c:
2569 * tests/check/libs/collectpads.c: (setup), (teardown),
2570 (gst_collect_pads_suite):
2571 * tests/examples/adapter/adapter_test.c:
2572 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2573 * tests/examples/xml/createxml.c:
2574 * tests/examples/xml/runxml.c:
2575 * tools/gst-inspect.c:
2577 Correct all relevant warnings found by the sparse semantic code
2578 analyzer. This include marking several symbols static, using
2579 NULL instead of 0 for pointers, not using variable sized arrays
2580 on the stack, moving variable declarations to the beginning of
2581 a block and using "foo (void)" instead of "foo ()" for declarations.
2583 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2585 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2586 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2587 Don't reset GstPollFDs, this is not necessary at all.
2589 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2590 (delayed_restart), (delayed_control):
2591 Use GST_POLL_FD_INIT.
2593 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2595 * gst/gstpoll.c: (gst_poll_fd_init):
2599 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2600 Use some more init macros.
2602 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2604 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2605 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2606 Use init macros and functions.
2608 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2610 * docs/gst/gstreamer-sections.txt:
2611 * gst/gstpoll.c: (gst_poll_fd_init):
2613 Add INIT macro and _init method for initializing the GstPollFD.
2615 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2617 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2618 (gst_fd_sink_update_fd):
2619 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2620 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2621 (delayed_restart), (delayed_control):
2622 Initialize some uninitialized variables as spotted by valgrind.
2624 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2626 * tests/benchmarks/Makefile.am:
2627 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2629 Add poll stress test.
2631 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2633 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2635 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2636 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2637 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2638 * plugins/elements/gstfdsink.h:
2639 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2640 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2641 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2642 (gst_fd_src_uri_set_uri):
2643 * plugins/elements/gstfdsrc.h:
2644 Port to GstPoll. See #505417.
2646 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2648 * win32/common/libgstreamer.def:
2649 Add new gst_poll_ symbols to win32 defs.
2651 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2653 * docs/libs/gstreamer-libs-sections.txt:
2654 * libs/gst/net/gstnetclientclock.c:
2655 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2656 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2657 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2658 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2659 * libs/gst/net/gstnetclientclock.h:
2660 * libs/gst/net/gstnettimeprovider.c:
2661 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2662 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2663 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2664 (gst_net_time_provider_new):
2665 * libs/gst/net/gstnettimeprovider.h:
2666 Use a private stuct to not break ABI.
2668 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2670 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2672 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2673 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2674 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2675 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2676 * libs/gst/net/gstnetclientclock.h:
2677 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2678 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2679 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2680 (gst_net_time_provider_new):
2681 * libs/gst/net/gstnettimeprovider.h:
2682 Massive code removal and cleanups because of GstPoll.
2685 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2688 Add checks for poll, ppoll and pselect.
2690 * docs/gst/gstreamer-docs.sgml:
2691 * docs/gst/gstreamer-sections.txt:
2692 Add docs for GstPoll.
2696 * gst/gstpoll.c: (find_index), (selectable_fds),
2697 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2698 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2699 (gst_poll_set_mode), (gst_poll_get_mode),
2700 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2701 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2702 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2703 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2704 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2705 (gst_poll_fd_can_write), (gst_poll_wait),
2706 (gst_poll_set_controllable), (gst_poll_restart),
2707 (gst_poll_set_flushing):
2709 Add generic poll abstraction. We ideally don't want to have this in core
2710 here but in glib intead...
2711 This code will be used in various network elements and ultimately for
2712 the nanosecond precision monotonic clock (that's why it's here in core).
2713 It'll allow us to implement cancelable socket operations for windows too.
2715 * tests/check/Makefile.am:
2716 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2717 (delayed_stop), (delayed_restart), (delayed_flush),
2718 (delayed_control), (gst_poll_suite):
2719 Add GstPoll unit test.
2721 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2724 Improve documentation of gst_filter_run(). Fixes #518627.
2726 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2729 Add a few lines about the new 'check-inspected-versions' target.
2731 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2733 * tests/check/gst/gstevent.c:
2734 Add qos to the event test. Rename tcase/tsuite; is not only about
2737 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2739 * plugins/elements/gstqueue.c:
2740 Ensure that buffer metadata is writeable, before modifying. Spotted by
2743 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2745 * plugins/elements/gstqueue.c:
2746 * plugins/elements/gstqueue.h:
2747 When dropping buffers in leaky modes, mark next buffers we sent as
2750 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2752 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2753 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2755 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2757 * plugins/elements/Makefile.am:
2758 * plugins/elements/gstbufferstore.c:
2759 * plugins/elements/gstbufferstore.h:
2760 * plugins/elements/gsttypefindelement.h:
2761 Remove GstBufferStore, no idea why we were still building it.
2762 It's not used anywhere and superseded by GstAdapter.
2764 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2765 (gst_file_src_create_mmap):
2766 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2767 Printf format fixes for 64-bit integers.
2769 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2772 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2773 We're not in 0.8 times anymore.
2775 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2777 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2778 (gst_check_element_push_buffer_list):
2779 * libs/gst/check/gstcheck.h:
2780 Make the declaration in the header for
2781 gst_check_element_push_buffer_list match the implementation.
2783 Fix up spelling, grammar and wording of the documentation in a few
2784 places, and add the Since keyword to new API functions.
2785 Use g_list_delete_link instead of g_list_remove in
2786 gst_check_drop_buffers, since it's immeasurably more efficient.
2788 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2789 Use new gst_check_drop_buffers function where appropriate.
2791 * win32/common/libgstbase.def:
2792 * win32/common/libgstreamer.def:
2793 Add new symbols gst_collect_pads_take_buffer,
2794 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2797 Changelog surgery to add API keyword to new gst_check API.
2799 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2801 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2802 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2803 Update pre-generated flex files with flex 2.3.34.
2805 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2807 * gst/gstminiobject.c:
2808 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2809 friendly to subclasses and not require them to know all internals
2810 of their parent class.
2812 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2814 * docs/libs/gstreamer-libs-sections.txt:
2815 * libs/gst/base/gstcollectpads.c:
2816 * libs/gst/base/gstcollectpads.h:
2817 Add sub-buffer functions to collectpads. Fixes #516187.
2818 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2820 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2823 Copy selected buffer-flags when creating subbuffers.
2826 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2828 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2829 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2830 * gst/gstmessage.c: (gst_message_class_init),
2831 (gst_message_finalize):
2832 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2833 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2834 (gst_mmap_buffer_finalize):
2835 Properly chain up finalize functions to the parent class.
2837 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2839 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2841 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2842 (gst_index_set_resolver_full):
2844 Add new function with option to dispose of user_data in resolver.
2845 Actually call the dispose function when finalizing the object and not
2846 just when changing the resolver/filter.
2847 API: GstIndex::gst_index_set_resolver_full()
2849 * docs/gst/gstreamer-sections.txt:
2850 Add new function to docs. Fixes #515469.
2852 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2854 * gst/gstindex.c: (gst_index_finalize):
2855 Chain up finalize to the parent class. Fixes leaking the GstObject
2856 name and other things.
2858 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2861 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2862 pre-releases or releases.
2864 * docs/faq/gst-uninstalled:
2867 * docs/random/release:
2868 Change one of the steps - we only upload core & base to Gnome FTP
2870 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2872 * gst/gstconfig.h.in:
2873 Add 'id' for example.
2877 * plugins/elements/gstfdsink.c:
2878 Link to signals. Doc and comment fixes.
2880 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2882 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2883 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2884 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2885 unused and unimplemented; finally, it is plugin features, not
2886 plugins, that have ranks.
2888 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2890 * gst/gstpluginfeature.h:
2891 Clarify GstRank range docs.
2893 2008-02-05 David Schleef <ds@schleef.org>
2895 * gst/gst.c: Add a separate gst_deinitialized that prevents
2896 gst_init() from being called after gst_deinit(). Fixes #509559
2898 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2900 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2901 (gst_bin_class_init):
2902 * gst/gstelement.c: (gst_element_base_class_init),
2903 (gst_element_class_add_pad_template):
2904 * gst/gstpadtemplate.c: (gst_pad_template_init):
2905 * gst/gstpipeline.c: (gst_pipeline_get_type),
2906 (gst_pipeline_base_init), (gst_pipeline_class_init):
2907 * libs/gst/base/gstbasesink.c:
2908 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2909 (gst_base_src_base_init), (gst_base_src_class_init):
2910 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2911 (gst_capsfilter_class_init):
2912 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2913 (gst_fake_sink_class_init):
2914 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2915 (gst_fake_src_class_init):
2916 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2917 (gst_fd_sink_class_init):
2918 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2919 (gst_fd_src_class_init):
2920 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2921 (gst_file_sink_class_init):
2922 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2923 (gst_file_src_class_init):
2924 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2925 (gst_identity_class_init):
2926 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2927 (gst_multi_queue_class_init):
2928 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2929 (gst_queue_class_init):
2930 * plugins/elements/gsttee.c: (gst_tee_base_init),
2931 (gst_tee_class_init):
2932 * plugins/elements/gsttypefindelement.c:
2933 (gst_type_find_element_base_init),
2934 (gst_type_find_element_class_init):
2935 * tests/check/gst/gstelement.c: (gst_element_suite):
2936 Revert previous changes to the behaviour of GstPadTemplates, etc
2937 and the possiblity to call them in class_init as it breaks too
2938 many elements. Reopens bug #491501.
2940 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2943 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2945 * tools/gst-launch.c:
2946 Dump one graph per pipeline state-change and state change name
2947 (if GST_DEBUG_DUMP_DOT_DIR is set).
2949 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2952 * tests/check/gst/gstpad.c:
2953 Be sure that we have a new copy of the caps and not
2954 reffed caps from a template
2956 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2958 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2959 * gst/gstpipeline.c: (gst_pipeline_get_type),
2960 (gst_pipeline_class_init):
2961 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2962 (gst_base_sink_class_init):
2963 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2964 (gst_base_src_class_init):
2965 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2966 (gst_base_transform_class_init):
2967 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2968 (gst_collect_pads_class_init):
2969 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2970 * libs/gst/net/gstnettimeprovider.c:
2971 (gst_net_time_provider_base_init),
2972 (gst_net_time_provider_class_init):
2973 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2974 (gst_capsfilter_class_init):
2975 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2976 (gst_fake_sink_class_init):
2977 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2978 (gst_fake_src_class_init):
2979 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2980 (gst_fd_sink_class_init):
2981 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2982 (gst_fd_src_class_init):
2983 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2984 (gst_file_sink_class_init):
2985 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2986 (gst_file_src_class_init):
2987 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2988 (gst_identity_class_init):
2989 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2990 (gst_multi_queue_class_init):
2991 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2992 (gst_queue_class_init):
2993 * plugins/elements/gsttee.c: (gst_tee_base_init),
2994 (gst_tee_class_init):
2995 * plugins/elements/gsttypefindelement.c:
2996 (gst_type_find_element_base_init),
2997 (gst_type_find_element_class_init):
2998 Don't use base_init where not absolutely necessary. For example it's
2999 not necessary anymore for adding pad templates or setting element
3002 Leave empty base_init functions in several places as GST_BOILERPLATE
3003 still defines and uses them.
3005 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3007 * gst/gstelement.c: (gst_element_base_class_init),
3008 (gst_element_class_add_pad_template):
3009 * gst/gstpadtemplate.c:
3010 Make it possible (and recommended) to set element details and add
3011 pad templates in the class_init functions by copying the details/pad
3012 templates in GstElement's base_init.
3014 Also make it possible to replace existing pad templates by adding
3015 a new one with the same name. This was done in a hackish fashion
3016 in same elements before already.
3018 Don't reference pad templates that are added a second time. A
3019 new pad template has a refcount of one and is not floating anymore
3020 and to be owned by the element's class. Make this more explicit by
3021 mentioning it in the docs of gst_element_class_add_pad_template().
3023 These changes are backwards compatible. Fixes bug #491501.
3025 * tests/check/gst/gstelement.c:
3026 Add unit test for setting element details, adding pad templates and
3027 replacing them in a subclass.
3029 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3031 * tools/gst-inspect.c: (print_interfaces),
3032 (print_element_properties_info), (print_pad_info),
3033 (print_signal_info), (print_element_info):
3034 Fix a few memory leaks.
3036 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3038 * docs/libs/gstreamer-libs-sections.txt:
3039 * libs/gst/check/gstcheck.c:
3040 * libs/gst/check/gstcheck.h:
3041 Add more functions for unit testing: gst_check_drop_buffers,
3042 gst_check_caps_equal, gst_check_element_push_buffer_list,
3043 gst_check_element_push_buffer
3044 API: gst_check_drop_buffers
3045 API: gst_check_caps_equal
3046 API: gst_check_element_push_buffer_list
3047 API: gst_check_element_push_buffer
3049 2008-02-01 Julien Moutte <julien@fluendo.com>
3051 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3052 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3053 (gst_index_finalize), (gst_index_entry_free),
3054 (gst_index_add_association): Fix memory leaks.
3055 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3056 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3057 (gst_mem_index_free_format), (gst_mem_index_free_id),
3058 (gst_mem_index_finalize): Fix memory leaks.
3059 * win32/common/config.h: Updated to CVS HEAD.
3061 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3064 Some more details about how the plugin docs works.
3066 * docs/plugins/gstreamer-plugins-sections.txt:
3069 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3071 * gst/parse/grammar.tab.pre.c:
3072 * gst/parse/grammar.tab.pre.h:
3073 * gst/parse/grammar.y:
3074 * gst/parse/lex._gst_parse_yy.pre.c:
3075 Add delayed set-property. This allows to set properties on dynamicaly
3076 created objects (pads in videomxer). Fixes #509391.
3078 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3081 Check if caps are not NULL (fix bug #510194)
3083 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3085 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3086 (gst_base_sink_get_position_paused):
3087 Add fixme regarding EOS in pull mode.
3088 Fix position reporting in PAUSED for negative rates.
3090 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3092 * gst/gstminiobject.c: (gst_mini_object_replace):
3093 When replacing a miniobject, do a quick equality check first so that we
3094 can avoid a ref/unref pair.
3096 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3098 * docs/design/part-synchronisation.txt:
3101 * docs/plugins/Makefile.am:
3102 * docs/plugins/gstreamer-plugins-docs.sgml:
3103 * docs/plugins/gstreamer-plugins-sections.txt:
3104 * plugins/elements/gstmultiqueue.c:
3105 Add multiqueue to the docs.
3107 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3112 === release 0.10.17 ===
3114 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3117 releasing 0.10.17, "Due Negligence"
3119 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3122 Revert caps != NULL check temporarily for 0.10.17 release.
3124 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3127 Check if caps are not NULL (fix bug #510194)
3129 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3132 Fix compilation on systems that have posix timers but no
3135 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3138 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3140 * tools/gst-inspect.c:
3141 Revert previous commit in preparation for an impromptu 0.10.17 release
3143 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3145 * tools/gst-inspect.c: (print_interfaces),
3146 (print_element_properties_info), (print_pad_info),
3147 (print_signal_info), (print_element_info):
3148 Fix a few memory leaks.
3150 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3155 === release 0.10.16 ===
3157 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3160 releasing 0.10.16, "Special Dispensation"
3162 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3165 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3166 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3167 not fail when trying to crosscompile on OpenEmbedded (#511750).
3169 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3172 Use $(MAKE) instead of make to fix the build if GNU make is
3173 called different. Fixes bug #510747.
3175 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3177 * gst/gstplugin.c: (_gst_plugin_initialize):
3178 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3179 again, which I broke two commits ago when changing the API
3180 of gst_plugin_register_static(): the g_list_foreach() in
3181 _gst_plugin_register_static still assumed the old function
3182 signature and would therefore fail (re-fixes #510187).
3184 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3185 (_gst_plugin_register_static), (gst_plugin_register_static):
3186 Revert the (technically correct) change to call g_thread_init() from
3187 the pre-main() constructor. This will break programs which call
3188 g_thread_init() without an if (!g_thread_supported()) guard in their
3189 main function. We could just blame it on GLib or the application, but
3190 it's probably best to just avoid this altogether and simply not use
3191 any GLib functions here and use plain old malloc() with a simple
3192 array to store the plugins to register later when gst_init() is
3193 finally called (re-fixes #510187).
3195 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3196 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3197 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3198 (GST_START_TEST), (gst_plugin_suite):
3199 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3202 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3204 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3205 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3206 This makes gtk-doc complain, but results in slightly better
3207 compiler errors. The old _gst_plugin_register_static() is
3208 still guarded, so there'll be a compiler warning about that
3209 instead. Fixes #510187 too.
3211 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3213 * gst/gst.c: (init_post):
3214 * gst/gstplugin.c: (_gst_plugin_register_static),
3215 (gst_plugin_register_static), (_gst_plugin_initialize):
3216 * gst/gstplugin.h: (GstPluginFilter):
3217 Change API of gst_plugin_register_static() to not take
3218 a GstPluginDesc, but rather just take all the arguments
3219 in a GstPluginDesc directly. This is more intuitive and
3220 avoids certain mistakes when porting code from
3221 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3224 * tests/check/gst/gstplugin.c:
3225 Fix up for changed API.
3227 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3229 * docs/faq/legal.xml:
3230 Update FAQ, Totem actually has an exception these days.
3232 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3234 * win32/common/libgstreamer.def:
3235 Add new API declarations
3237 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3239 * gst/gstminiobject.c:
3240 Spelling fixes for the API docs.
3242 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3244 * libs/gst/base/gstbasetransform.c:
3245 Fix long property description for QoS.
3247 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3250 _gst_trace_on is already provided by gsttrace.h, no need to declare
3253 * docs/libs/gstreamer-libs-sections.txt:
3254 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3255 and remove strange tcase_add_test which is outputting a warning.
3257 * libs/gst/check/gstcheck.c:
3258 * libs/gst/check/gstcheck.h:
3259 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3260 and define them in gstcheck.c instead of having every .c file whcih
3261 includes gstcheck.h be defining its own copy and relying on symbol
3262 interposing to marry them all, which doesn't work on Solaris.
3264 * tests/check/elements/identity.c: (GST_START_TEST):
3265 Don't define 'buffers' locally, it comes from libgstcheck.
3267 * tests/check/generic/sinks.c: (send_buffer):
3268 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3270 * tests/check/gst/gststructure.c: (GST_START_TEST):
3271 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3272 * tests/check/gst/gstutils.c: (GST_START_TEST):
3273 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3274 Add a bunch of casts to make various constants fit the types
3275 they're being assigned to.
3277 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3279 * gst/gstchildproxy.c:
3280 Improve docs and add some ideas for making this more general-purpose.
3282 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3284 * gst/gst_private.h: (GST_CAT_TYPES):
3285 Add GST_CAT_TYPES, for consistency, and so that the other
3286 debug categories don't make fun of it. Spotted by Saur on IRC.
3288 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3290 * gst/parse/Makefile.am:
3291 Move types.h from EXTRA_DIST to noinst_HEADERS.
3293 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3296 Add -Wno-portability to the automake parameters to stop warnings
3297 about GNU make extensions being used. We require GNU make in almost
3298 every Makefile anyway.
3301 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3302 at the same time is required for per target flags.
3304 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3307 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3308 __GNUC__ is defined before using it.
3310 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3312 * docs/gst/gstreamer-sections.txt:
3313 * gst/gst.c: (init_post):
3314 * gst/gstplugin.c: (_gst_plugin_register_static),
3315 (gst_plugin_register_static), (_gst_plugin_initialize),
3316 (gst_plugin_register_func):
3317 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3318 API: add gst_plugin_register_static() and deprecate
3319 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3321 Also, in _gst_plugin_register_static(), make sure to call
3322 g_thread_init() before calling GLib functions such as
3323 g_list_append() if we're not initialised yet, since that
3324 may lead to random crashes with older GSlice/GLib versions.
3326 * tests/check/gst/gstplugin.c:
3327 Adapt unit test to above changes.
3329 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3331 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3332 * gst/gstcaps.c: (gst_caps_to_string):
3333 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3334 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3335 Yet another gratuitous GString micro-optimisation: add a (private)
3336 function that serialises a structure appending to an existing
3337 GString, so that when we serialise caps we don't need to alloc+free
3338 a throwaway GString for each structure (each of which also entailing
3339 multiple reallocs on the way); also use g_string_sized_new() in
3340 various places with an approximate string length to avoid reallocs
3341 within GString. See #500143.
3343 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3345 * gst/gststructure.c: (gst_structure_id_set_value):
3346 Always check UTF-8 conformance of structure strings and not only
3347 if the debugging system is enabled; reasoning: the behaviour of
3348 the actual code shouldn't really change depending on whether the
3349 debugging system is enabled or not (#508291).
3351 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3354 Remove old coverage target in favour of "make lcov".
3356 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3358 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3359 (gst_base_src_loop):
3360 The start segment for reverse playback goes from start to last_stop.
3362 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3364 Patch by: Peter Kjellerstedt <pkj axis com>
3367 Cast the results from the timeval/spec_to_time macros to what the
3368 docs say it casts to, a GstClockTime. fixes #508175.
3370 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3373 Update some comments.
3375 * tools/gst-inspect.c: (print_element_properties_info):
3376 Improve printing of flags.
3378 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3380 * libs/gst/base/gstbasetransform.c:
3381 (gst_base_transform_transform_size):
3382 Print element name with g_warning() if there's a problem
3385 2008-01-07 David Schleef <ds@schleef.org>
3387 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3389 * libs/gst/controller/gstcontroller.h:
3390 * libs/gst/controller/gstcontrolsource.h:
3391 * libs/gst/controller/gstinterpolationcontrolsource.h:
3392 * libs/gst/controller/gstlfocontrolsource.h:
3393 * libs/gst/dataprotocol/dataprotocol.h:
3394 Fix empty prototypes. Fixes bug #507957.
3396 2008-01-07 David Schleef <ds@schleef.org>
3398 * docs/faq/dependencies.xml: Fix typo.
3400 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3402 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3403 (gst_base_src_loop):
3404 Don't update the last_stop position in do_seek, that's the position we
3406 Read backwards when we have a negative rate.
3408 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3409 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3411 Add check for reverse reading.
3413 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3415 Patch by: Alexis Ballier <aballier at gentoo org>
3417 * tests/check/gst/gstabi.c:
3418 * tests/check/gst/struct_ppc64.h:
3419 * tests/check/libs/libsabi.c:
3420 * tests/check/libs/struct_ppc64.h:
3421 Decide which header to include based on the userland ABI target
3422 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3423 for 64-bit userland (#503590). Might need something similar for
3426 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3428 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3429 Log the reason why fopen fails in addition to the fact that it failed.
3431 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3433 * gst/parse/parse.l:
3434 Use "%option never-interactive" to prevent useless calls to isatty()
3435 on every input when parsing. Also use "%option noinput" to not define
3436 the static input/yyinput functions which we don't use anyway. This
3437 removes a compiler warning with gcc 4.3 and saves some bytes in the
3440 * gst/parse/lex._gst_parse_yy.pre.c:
3441 Regenerated for the above change.
3443 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3445 * gst/gstpad.c: (fixate_value):
3446 Don't crash when trying to fixate and empty list.
3449 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3451 * docs/faq/gst-uninstalled:
3452 Clarify the comments to make the usage of this script and what it
3453 does easier to understand.
3455 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3457 * tools/gst-plot-timeline.py:
3458 Add more options to gst-plot-timeline
3460 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3462 * docs/design/part-synchronisation.txt:
3463 Some more info on how the stream_time in GstBaseSink is done.
3465 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3467 * tests/check/generic/sinks.c: (gst_sinks_suite):
3468 Put back the tcase_set_timeout(), apparently it's needed after
3469 all; fix it up in a way that makes things work with valgrind too.
3471 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3473 * gst/gstdebugutils.c:
3474 Add warning when failed to open file for writing.
3476 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3478 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3480 * gst/gstvalue.c: (gst_value_is_fixed):
3481 Optimisation: bail out of the loop as early as possible (#500143).
3483 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3485 * gst/gstcaps.c: (gst_caps_to_string):
3486 * gst/gstinfo.c: (gst_debug_construct_term_color):
3487 * gst/gstparse.c: (gst_parse_launchv):
3488 * gst/gstutils.c: (gst_util_dump_mem):
3489 * gst/gstvalue.c: (gst_value_serialize_any_list),
3490 (gst_value_transform_any_list_string):
3491 Bunch of gratuitous nano-optimisations.
3493 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3495 * tests/check/generic/sinks.c: (async_done_func),
3496 (async_done_eos_func):
3497 Fix leak in unit test (bus sync handler must unref the message
3498 if it returns GST_BUS_DROP). Don't fiddle with the default test
3499 timeout, this is smaller than the current preconfigured value
3500 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3501 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3503 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3505 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3508 Check for stdio_ext.h for the filesink changes.
3510 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3511 (gst_file_sink_class_init), (gst_file_sink_init),
3512 (gst_file_sink_dispose), (gst_file_sink_set_property),
3513 (gst_file_sink_get_property), (gst_file_sink_open_file),
3514 (gst_file_sink_close_file):
3515 * plugins/elements/gstfilesink.h:
3516 Add two properties to control the buffering mode and size.
3517 API: GstFileSink::buffer-mode
3518 API: GstFileSink::buffer-size
3521 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3523 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3524 Add some more docs to explain why a FIXME was wrongly added.
3526 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3529 Fix typo in the gst_object_{ref,unref} documentation.
3531 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3533 * tests/check/libs/controller.c:
3534 * tests/check/libs/typefindhelper.c:
3535 * tests/check/pipelines/parse-launch.c:
3536 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3537 going to be deprecated (see #498924).
3539 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3541 * gst/gsttypefind.c: (gst_type_find_register):
3542 Make gst_type_find_register work for static typefind functions,
3543 ie. allow passing plugin == NULL (prerequisite for #498924).
3545 * gst/gstelementfactory.c: (gst_element_register):
3546 Small docs addition.
3548 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3550 * gst/gstpad.c: (gst_pad_dispose):
3551 Really unlink the peer pad instead of setting the peer pointer to NULL
3552 when we dispose the pad.
3553 This correctly calls the unlink functions and makes sure that the peer
3554 does not have a handle to invalid memory. See #504671.
3556 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3557 Add testsuite for above case.
3559 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3561 Patch by: Peter Kjellerstedt <pkj axis com>
3563 * libs/gst/check/gstcheck.h:
3564 Fix detection of the check version we're compiling against (would
3565 otherwise break if check goes v0.10.0); correctly report the
3566 name of the failed test again in case of failure, instead of
3567 just 'tf' (fixes #504499).
3569 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3571 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3572 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3573 (gst_base_src_loop), (gst_base_src_set_flushing),
3574 (gst_base_src_change_state):
3575 Allow sending EOS to the source to make it send out an EOS event from
3576 the streaming thread.
3577 Update docs and deprecate the old NULL/READY shutdown method.
3579 * tests/check/libs/basesrc.c: (GST_START_TEST),
3580 (gst_basesrc_suite):
3581 Add unit test for controlled shutdown.
3583 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3585 * docs/design/part-synchronisation.txt:
3588 * gst/gstsegment.c: (gst_segment_set_seek),
3589 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3590 (gst_segment_to_running_time):
3591 The seek format can be different from the segment format when the start
3592 and stop values are not to be updated, when we only do a rate change for
3595 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3596 (gst_segment_suite):
3597 Add a testcase for the rate-only seeks, checking that the format is
3598 correctly ignored when start and stop are not updated.
3600 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3602 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3604 * win32/vs8/grammar.vcproj:
3605 * win32/vs8/libgstcontroller.vcproj:
3606 * win32/vs8/libgstreamer.vcproj:
3607 Fix compilation with VS8 and include some missing files.
3609 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3612 Small docs addition: mention that the strings returned by
3613 gst_tag_list_get_string*() are in UTF-8 encoding.
3615 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3618 The check-exports stuff moved to common/win32.mak, so include that.
3620 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3622 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3623 (gst_base_src_perform_seek), (gst_base_src_get_range),
3624 (gst_base_src_set_playing), (gst_base_src_change_state):
3625 Make _wait_playing() not check any variables so that we can call this
3626 function from subclasses. Move the checks elsewhere similar to
3627 _wait_preroll() in basesink.
3629 Only signal the LIVE cond when we are going back to PLAYING.
3631 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3633 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3634 Use g_remove() and g_rename(). Check result of g_rename(), and
3635 don't leak the open file descriptor if we error out when writing.
3637 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3638 Must check the return value of close() after writing out the new
3639 registry file. Sometimes write problems such as out-of-diskspace
3640 are only reported when the file is closed and not already during
3641 the write. This may have caused partial/broken registry files in
3642 some rare circumstances. Should fix #503675.
3644 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3646 * docs/gst/.cvsignore:
3647 * docs/libs/.cvsignore:
3648 * docs/plugins/.cvsignore:
3649 Ignore files generated by new common/* modifications
3651 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3653 * win32/common/libgstbase.def:
3654 Yes, you can also have a <TAB> if you want.
3656 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3658 * win32/common/libgstbase.def:
3659 Add new basetransform API to win export file.
3661 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3663 * tests/check/gst/gstbin.c:
3664 Adjust the test to the refcount change two days ago.
3666 2007-12-14 David Schleef <ds@schleef.org>
3668 * docs/faq/getting.xml: Fix typo.
3670 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3672 * docs/libs/gstreamer-libs-sections.txt:
3673 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3674 (gst_base_transform_prepare_output_buffer),
3675 (gst_base_transform_set_gap_aware):
3676 * libs/gst/base/gstbasetransform.h:
3677 API: Add gst_base_transform_set_gap_aware() to control whether
3678 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3679 get buffers with this flag at all. Fixes #503231.
3681 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3683 * libs/gst/base/gstbasesink.c:
3684 * libs/gst/base/gstbasesrc.c:
3685 * libs/gst/base/gstbasetransform.c:
3686 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3687 thread. Correct log message in gstbasesrc.c.
3689 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3691 * gst/gstutils.c: (element_find_unconnected_pad):
3692 Fix possible compiler warning (#503417).
3694 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3696 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3697 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3699 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3701 * tools/gst-inspect.c: (print_element_properties_info):
3702 Add support for GstFraction properties.
3704 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3707 Add check-exports target and run it as part of 'make check'
3708 (see #499140 and #493983).
3710 * gst/gst_private.h:
3711 * gst/gstelementfactory.h:
3712 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3713 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3714 (_priv_gst_in_valgrind):
3715 * gst/gstinfo.h: (GstLogFunction):
3716 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3717 (gst_type_find_register):
3718 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3719 (gst_type_find_factory_get_type):
3720 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3721 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3722 (gst_controller_new_valist), (gst_controller_new_list),
3723 (_gst_controller_dispose), (_gst_controller_class_init):
3724 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3725 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3726 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3727 (gst_object_get_controller), (gst_object_set_controller),
3728 (gst_object_suggest_next_sync), (gst_object_sync_values),
3729 (gst_object_set_control_source), (gst_object_get_control_source),
3730 (gst_object_get_value_arrays), (gst_object_get_value_array),
3731 (gst_object_get_control_rate), (gst_object_set_control_rate):
3732 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3733 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3734 Make some functions that should be static static; rename some
3735 private symbols so that they don't get exported; add some FIXME
3736 comments so we can move accidentally exported functions into
3737 our private section in 0.11.
3739 * win32/common/libgstreamer.def:
3740 Add gst_utils_get_timestamp().
3742 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3746 Add more missing "Since:" tags to docs.
3748 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3751 Add mising "Since:" to docs.
3753 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3756 Include "glib-compat-private.h" to fix the build on system with
3757 glib < 2.10. Fixes #503131.
3759 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3763 Actually its not PURE as it gets the time from elsewhere.
3765 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3767 * docs/gst/gstreamer-sections.txt:
3769 * gst/gstdebugutils.c:
3773 * libs/gst/base/gstbasesink.c:
3774 * tools/gst-launch.c:
3775 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3776 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3777 Thanks Tim for spotting.
3778 API: gst_util_get_timestamp
3780 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3783 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3785 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3787 * gst/gststructure.c: (gst_structure_validate_name),
3788 (gst_structure_new_valist), (gst_structure_parse_value),
3789 (gst_structure_from_string):
3790 Don't crash in _from_string() if the structure name is not valid
3791 (fixes #501560). Allow structure names to start with a number
3792 again (this apparently broke the ubuntu codec installer).
3794 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3796 Add unit test for the crash; update unit tests for new behaviour.
3798 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3801 Clarify gst_element_get_compatible_pad() documentation.
3804 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3806 * tests/check/Makefile.am:
3807 Don't forget to dist {gst,libs}/struct_hppa.h.
3809 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3811 * libs/gst/base/gstbasesink.c:
3812 Use new API to get elapsed time.
3814 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3816 * gst/gstdebugutils.c:
3818 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3820 * tools/gst-launch.c:
3821 Use new API to get elapsed time.
3823 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3825 * docs/gst/gstreamer-sections.txt:
3827 * gst/gstdebugutils.c:
3829 Rename new API + ChangeLog surgery to remove old name from last entry..
3831 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3833 * docs/gst/gstreamer-sections.txt:
3835 * gst/gstdebugutils.c:
3837 Now hide the different clock stuff behind a macro.
3839 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3842 * gst/gstdebugutils.c:
3844 Apply the posix-timer check from #361155. Conditionally use the posix
3845 timer for logging. This gives better timestamp precission, less
3846 overhead and no ntp jitter.
3848 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3850 * gst/gstminiobject.c: (gst_mini_object_get_type),
3851 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3852 (gst_mini_object_finalize), (gst_mini_object_copy),
3853 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3854 (gst_mini_object_replace), (param_mini_object_validate),
3855 (gst_param_spec_mini_object_get_type):
3856 Some cleanup and checking against invalid function parameters.
3858 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3860 * docs/gst/gstreamer-sections.txt:
3862 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3863 (gst_systemclock_suite):
3864 Start merging in the easy bits of #361155, the monotonic clock patch.
3865 This one adds a few handy macros with docs and a testsuite.
3867 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3869 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3870 Be a bit smarter when seeking, like, don't try to do a seek when it's
3871 not needed. This avoids errors when the file is not seekable.
3874 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3876 * docs/gst/gstreamer-docs.sgml:
3877 * docs/gst/gstreamer-sections.txt:
3878 * docs/gst/gstreamer.types.in:
3883 * plugins/elements/gstqueue.c:
3884 Due to popular request remove preset interface again. :-(.
3886 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3888 * tools/gst-inspect.c:
3889 Print 'default value' for enums and flags too.
3891 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3893 * docs/random/ensonic/profiling.txt:
3897 Fix typo and give better log output.
3899 * gst/gstdebugutils.c:
3900 * gst/gstdebugutils.h:
3901 More ideas, make graphs a bit smaller and fix param name in macro.
3903 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3906 Try harder to use the return value from fgets().
3908 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3911 For theses two fgets we handle the error below.
3913 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3915 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3916 Only send upstream events upstream. Fixes #498746.
3918 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3920 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3922 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3923 (gst_identity_init), (gst_identity_transform_ip),
3924 (gst_identity_set_property), (gst_identity_get_property):
3925 * plugins/elements/gstidentity.h:
3926 Add property to disable handoff signal emission. Fixes #498694.
3927 API: GstIdentity::signal-handoffs
3929 2007-11-21 Julien Moutte <julien@fluendo.com>
3931 * docs/faq/gst-uninstalled: Yet another missing library for the
3932 uninstalled script (fft)
3934 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3936 * docs/faq/developing.xml:
3937 Add a question about how to submit new translations.
3939 * docs/random/release:
3940 Update the contact email address for the Translation Project
3942 * plugins/elements/gstfdsrc.c:
3943 The parent_class for fdsrc is pushsrc, not GstElement.
3945 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3948 Plug a leak and fix saving.
3950 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3952 * docs/gst/gstreamer-sections.txt:
3953 Add new gst_preset__get_property_names() function to the docs
3956 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3960 Change _get_preset_names API to return a strv with copies. Add
3961 _get_property_names to allow implementations to filter and provide
3962 good default implementation.
3964 2007-11-20 Julien MOUTTE <julien@moutte.net>
3966 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3969 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3972 More cleanups, docs, and TODOs from comments that now slowly come in.
3974 2007-11-19 Julien MOUTTE <julien@moutte.net>
3976 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3979 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3982 Fix bogus warning and make the property type specific code more
3985 2007-11-19 Julien MOUTTE <julien@moutte.net>
3987 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3990 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3992 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3993 (gst_bin_add_func), (gst_bin_remove_func),
3994 (gst_bin_change_state_func), (gst_bin_continue_func):
3995 Change email, cleanups add some more debug and comments.
3996 Also set bus and clock on new elements when the pipeline was in error.
3998 2007-11-18 Stefan Kost <ensonic@users.sf.net>
4001 * gst/gstdebugutils.c:
4002 Fix build with --disable-gst-debug. Fixes #497859.
4003 Spotted by Sameer Naik.
4005 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4008 Little documentation improvment.
4011 More TODO cleanups. Remove c++ comments.
4013 * libs/gst/controller/gstcontroller.c:
4014 Add TODO and use quark from static string.
4016 * tests/check/gst/gstmessage.c:
4017 * tests/check/gst/gststructure.c:
4018 Use quark from static string.
4020 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4023 Add some comments and TODOs.
4026 Add padding for future changes.
4028 * plugins/elements/gstqueue.c:
4029 Implement the iface.
4031 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4033 * docs/gst/gstreamer-docs.sgml:
4034 * docs/gst/gstreamer-sections.txt:
4035 * docs/gst/gstreamer.types.in:
4040 Add the preset interface (Fixes #396779). Do some doc cleanups along.
4042 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
4048 === release 0.10.15 ===
4050 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
4053 releasing 0.10.15, "October"
4055 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
4057 * win32/vs6/libgstreamer.dsp:
4058 Convert line endings back to DOS.
4060 2007-11-13 Stefan Kost <ensonic@users.sf.net>
4062 * docs/design/draft-tagreading.txt:
4063 * docs/random/ensonic/profiling.txt:
4064 Update fast tagreading draft and performance profiling ideas.
4066 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4068 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4069 Don't hold the object lock when unreffing a buffer because it could
4070 cause a deadlock when the finalize function wants to grab the object
4071 lock too. Fixes #495133.
4073 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4075 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4076 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4077 Also accumulate time correctly when doing reverse playback. Fixes
4079 When converting to running and stream time, use default values for
4080 start/stop/time/accum when comparing different formats. Fixes #494245.
4082 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4083 Do running/stream time in TIME format.
4085 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4086 (gst_segment_suite):
4087 2 new unit tests for segment accumulation.
4089 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4091 * gst/gst.c: (init_pre):
4092 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4093 (_gst_debug_bin_to_dot_file):
4094 Move getenv() back into gst_init, so everyone can live happily
4095 ever after. Make sure the symbol isn't exported though.
4097 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4099 Patch by: Sebastien Moutte <sebastien moutte net>
4101 * win32/common/gstenumtypes.c:
4102 * win32/common/gstenumtypes.h:
4105 * win32/vs6/libgstreamer.dsp:
4106 Update vs6 project files (#494343).
4108 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4110 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4111 (gst_base_src_perform_seek), (gst_base_src_default_event),
4112 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4113 (gst_base_src_activate_pull):
4114 Unify flushing code, remove some old unlock code that is no longer used.
4115 Take the streaming lock when seeking to avoid races. Fixes #492729.
4116 Added some more comments.
4118 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4120 * gst/gst.c: (_gst_disable_segtrap):
4121 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4122 we can use gst_segtrap_is_enabled() there now that we have that API.
4123 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4124 to do the getenv here (and export the variable).
4126 * gst/gstdebugutils.c: (debug_dump_element),
4127 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4128 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4130 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4131 (gst_debug_log_default):
4132 Rename _gst_info_start_time to priv_gst_info_start_time so it
4133 doesn't get exported (was never in any header).
4135 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4136 (gst_plugin_loading_mutex):
4137 Make static mutex gst_plugin_loading_mutex really static (was never
4138 in any header), and use gst_segtrap_is_enabled() instead of
4139 _gst_disable_segtrap.
4141 * gst/gsttrace.c: (_gst_trace_default):
4142 Make local _gst_trace_default static (was never in any header).
4144 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4146 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4148 * win32/common/libgstbase.def:
4149 * win32/common/libgstcontroller.def:
4150 * win32/common/libgstdataprotocol.def:
4151 * win32/common/libgstnet.def:
4152 * win32/common/libgstreamer.def:
4153 Add more missing symbols, remove some duplicates, and sort
4154 as the 'sort' command sorts it (partially fixes #493983).
4156 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4158 * gst/gstelement.c: (gst_element_set_state_func):
4159 Only change the state cookie if a different state was set on the
4160 element. See #492729.
4162 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4165 Remove unused and uninitialised type variables that were still
4166 exported for some reason (they were never in any header files
4169 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4171 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4172 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4173 (gst_base_sink_event), (gst_base_sink_get_position_last),
4174 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4175 (gst_base_sink_change_state):
4176 Don't try to report a 0 position when we don't know, return -1 and FALSE
4177 instead. This mostly happens when we are prerolling.
4178 Make sure we can report the right position before we post the ASYNC_DONE
4179 message so that a message handler can query position without races.
4181 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4182 (async_done_handoff), (async_done_func), (send_buffer),
4183 (async_done_eos_func), (gst_sinks_suite):
4184 Add two tests for the above.
4186 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4189 Update with new email address.
4191 * docs/design/part-TODO.txt:
4192 Add some more info about future pad-block and negotiation changes.
4194 * docs/design/part-buffering.txt:
4195 Add some ideas about buffering reporting.
4197 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4199 * tests/check/gst/gstobject.c:
4200 Disable silly racy test that always fails on this combination of CPU
4203 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4205 Patch by: Murray Cumming <murrayc@murrayc.com>
4208 Corrected the registration of the parent-set and parent-unset
4209 signals: The parameter is a GstObject, not a GObject (#493134).
4211 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4213 * gst/gst_private.h:
4222 Move declaration of private _gst_foo_initialize() functions into
4223 our private header file where they should have been all along.
4225 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4227 * docs/plugins/gstreamer-plugins-sections.txt:
4228 * gst/gstdebugutils.h:
4230 * plugins/elements/gstqueue.c:
4231 gtk-doc fixes; trailing-comma-in-enum fix.
4233 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4235 * gst/gst.c: (gst_deinit):
4236 Clean up on deinit (not the external ones though, doesn't seem to be
4237 needed for some reason).
4239 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4241 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4242 Remove __declspec(dllimport) for MSVC that was copied over into core
4243 from a plugin, obviously without ever having been tested (note the
4244 single underscore in _declspec in the initial commit), and that doesn't
4245 really make sense. See #492077.
4247 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4249 * gst/gst.c: (init_post):
4250 * gst/gstevent.c: (_gst_event_initialize):
4251 * gst/gstquery.c: (_gst_query_initialize):
4252 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4253 g_type_class_ref() other types as well, see #349410 and #64764.
4255 * gst/gstbuffer.c: (_gst_buffer_initialize):
4256 * gst/gstmessage.c: (_gst_message_initialize):
4257 Simplify existing g_type_class_ref().
4259 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4261 * gst/gstformat.c: (_gst_format_initialize):
4262 g_type_class_ref() our GstFormat type to make sure we avoid the
4263 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4264 bug #64764. Should fix intermittent tee unit test failures (#474823).
4266 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4268 * tests/check/elements/tee.c: (test_num_buffers):
4269 Simplify, simplify, simplify - or not. Rewrite unit test
4270 not to use gst_parse_launch(); allow N sub-streams. Increasing
4271 the number of sub-streams seems to reproduce #474823 more easily.
4273 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4275 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4278 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4279 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4280 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4281 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4282 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4283 so use _pipe() directly (#492077).
4285 * win32/common/dirent.c: (_treaddir):
4286 Add a couple of casts to make it build without warnings with MSVC.
4288 * win32/common/libgstreamer.def:
4289 Add some more symbols that need to be exported.
4291 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4293 * tests/examples/metadata/read-metadata.c: (message_loop):
4294 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4295 arriving in a second or third tag message are added to
4296 the tag list as well.
4298 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4300 * libs/gst/base/gstbasesrc.c:
4301 Its "Since:" and not "@Since:". And remove an superflous cast.
4303 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4305 * docs/libs/gstreamer-libs-sections.txt:
4306 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4307 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4308 (gst_base_sink_get_property), (gst_base_sink_render_object),
4309 (gst_base_sink_preroll_object),
4310 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4311 (gst_base_sink_change_state):
4312 * libs/gst/base/gstbasesink.h:
4313 Add a new last-buffer property that contains the last buffer used in
4314 basesink for preroll or rendering. useful for making snapshots.
4315 API: gst_base_sink_get_last_buffer()
4316 API: GstBaseSink::last-buffer
4318 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4320 * docs/gst/running.xml:
4322 * gst/gstdebugutils.c:
4323 * gst/gstdebugutils.h:
4324 * tools/gst-launch.c:
4325 Improve bin graph dumping, by using the envvar to specify a path.
4326 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4328 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4330 * plugins/elements/gsttypefindelement.c:
4331 (gst_type_find_element_handle_event),
4332 (gst_type_find_element_activate):
4333 Post special error message if we can't determine the type of a stream
4336 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4338 * docs/gst/running.xml:
4339 * gst/gstdebugutils.c:
4340 Document new env-var. Add one log-line after dumpng a graph.
4342 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4345 Ugly hack to put the (recently removed and non-portable, apparently)
4346 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4347 GNU ld, because without that 'make check' fails miserably on my debian
4348 stable box. Someone with more knowledge of linker intricacies and
4349 portability issues than me fix this properly please.
4351 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4353 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4354 Reset last seen position after flushing so that we don't report the old
4357 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4359 * gst/gstelementfactory.c: (gst_element_register):
4361 Patch from Alessandro Decina adding get_type_full and
4362 get_protocols_full private vfuncs to the URIHandler interface
4363 to allow bindings to support creating URI handlers.
4364 Partially fixes: #339279
4365 API: GstURIHandlerInterface::get_type_full
4366 API: GstURIHandlerInterface::get_protocols_full
4368 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4370 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4371 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4372 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4373 Make it so that pads are considered linked until a buffer is pushed
4374 and discovered otherwise. This avoids problems with decodebin2 hanging
4375 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4378 Make sure we lock the multiqueue when updating the max-size properties.
4380 Fix a crash on Solaris in a debug statement in get_request_pad that
4381 passes a NULL string to GST_DEBUG.
4383 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4384 (run_output_order_test):
4385 Fix the test to allow the first buffer on not-linked pads to come out
4386 of sequence while multiqueue discovers that they are not-linked.
4388 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4391 * libs/gst/check/Makefile.am:
4392 Use a custom export symbol regex for libgstcheck, as it needs
4393 to export symbols that don't match the standard GStreamer gst_*
4394 pattern, and --export-dynamic is not portable (only works on
4397 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4398 (gst_check_setup_sink_pad):
4399 Make sure to pass a message parameter to the fail_* macros.
4401 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4402 Fix some compiler warnings.
4404 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4406 * tests/check/gst/gststructure.c: (test_to_string):
4407 Disable test that checks that white spaces are not allowed
4408 in structure names or field names, since we need to
4409 support that for now for backwards compatibility reasons.
4411 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4413 * docs/gst/gstreamer-sections.txt:
4416 API: add GST_TAG_ARTIST_SORTNAME
4417 API: add GST_TAG_ALBUM_SORTNAME
4418 API: add GST_TAG_TITLE_SORTNAME
4419 Add tag variants for sorting (#414539).
4421 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4423 * gst/gststructure.c:
4424 Also allow white space for names so we don't break
4425 backwards compatibility.
4427 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4429 * docs/design/part-TODO.txt:
4430 * docs/design/part-segments.txt:
4431 * docs/design/part-streams.txt:
4434 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4436 * docs/gst/gstreamer-sections.txt:
4437 Fixed documentation from my previous commit (added new API add
4438 gst_value_set_structure(), add gst_value_get_structure() and
4439 GST_VALUE_HOLDS_STRUCTURE).
4441 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4443 * gst/gstdebugutils.c:
4444 Reflow code to fix uninitialized variable warning.
4446 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4448 * gst/gstcaps.c: (gst_caps_to_string),
4449 (gst_caps_from_string_inplace):
4450 * gst/gststructure.c: (gst_structure_get_abbrs),
4451 (gst_structure_to_string), (gst_structure_from_string):
4452 * gst/gstvalue.c: (gst_value_set_structure),
4453 (gst_value_get_structure), (gst_value_serialize_structure),
4454 (gst_value_deserialize_structure), (_gst_value_initialize):
4456 * tests/check/gst/gststructure.c: (GST_START_TEST),
4457 (gst_structure_suite):
4458 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4459 Added GstStructure to gst_value_table and its related functions.
4460 Changed gst_structure_to_string to print ';' in the end.
4461 Changed gst_caps_to_string to not print ';' beteween its
4462 fields (structures) anymore and remove the lastes ';' from latest
4463 structure. Now it is possible to have nested structures.
4464 In addition, backward compatibilty is assured by accepting '\0' as
4465 end delimiter. Fixes: #487969.
4466 API: add gst_value_set_structure()
4467 API: add gst_value_get_structure()
4468 API: add GST_VALUE_HOLDS_STRUCTURE
4470 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4473 When no GSource callback has been set up, tell developer
4474 to use a function that actually exists.
4476 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4478 * docs/gst/gstreamer-sections.txt:
4482 * gst/gstdebugutils.c:
4483 * gst/gstdebugutils.h:
4486 * tools/gst-launch.c:
4487 Allow dumping pipelines as dot graphs. Fixes #456573.
4489 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4491 * gst/gststructure.c:
4492 Allow '+' as well, it can be part of media or mime types
4493 such as image/svg+xml.
4495 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4497 * docs/gst/gstreamer-sections.txt:
4500 API: add gst_bus_pop_filtered
4501 API: add gst_bus_timed_pop_filtered
4502 Two new functions for waiting for specific message types on the
4503 bus for a specified amount of time without iterating any main
4504 loops or main contexts.
4506 * tests/check/gst/gstbus.c:
4507 Some tests for the new functions.
4509 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4511 * docs/libs/gstreamer-libs-sections.txt:
4512 Make gtk-doc ignore stuff it should ignore.
4514 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4516 * libs/gst/check/gstcheck.c:
4517 * libs/gst/check/gstcheck.h:
4518 Allow runtime selection of unit tests to run via the GST_CHECKS
4519 environment variable (test case function names, comma-separated).
4521 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4523 * gst/gststructure.c:
4524 * tests/check/gst/gststructure.c:
4525 Revert serialisation change and constrain structure-names after
4526 consensus on irc. Update api documentation to reflect the change.
4528 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4530 * gst/gststructure.c:
4531 Improve serialization and fix tests.
4533 * tests/check/gst/gststructure.c:
4534 Add another test that covers why I actually did the previous structure
4537 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4539 * tools/gst-inspect.c: (print_element_info):
4540 Don't crash when inspecting an element.
4542 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4544 * tests/check/gst/gststructure.c:
4545 Add unit test for escaping of structure name when serialising
4546 and deserialising to/from strings.
4548 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4550 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4551 (gst_single_queue_new):
4552 * plugins/elements/gstqueue.c: (gst_queue_init),
4553 (gst_queue_push_one):
4554 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4555 upstream is tricked into thinking it can suggest a format downstream
4556 while downstream does not support that format. The real problem is that
4557 core calls acceptcaps when pushing a buffer with new caps, for which we
4558 do a little workaround by setting the caps on the srcpad ourselves
4559 before pushing the buffer (until this is figured out). Fixes #486758.
4561 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4563 * gst/gststructure.c:
4565 Add some more comments and debug output. Quote structure name to fix
4566 deserialisation of some strings.
4568 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4571 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4572 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4574 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4576 * tools/gst-inspect.c:
4577 Save approx. 400 1 byte allocs when printing. Use API to acces element
4583 * tools/gst-xmlinspect.c:
4584 Use API to acces element details.
4586 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4589 Fix some spelling errors.
4591 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4593 * gst/gstbin.c: (bin_handle_async_done):
4594 Correctly set the next state if all of our async children commited their
4595 state. This makes sure we can actually cancel the state change in
4596 progress. Fixes a regression in Rhythmbox when seeking.
4598 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4601 Don't shadow local variable.
4604 Don't shadow global function name.
4606 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4608 * gst/gstelementfactory.c:
4609 * gst/gstpluginfeature.c:
4610 * gst/gstpluginfeature.h:
4611 * gst/gstregistrybinary.c:
4612 * gst/gstregistryxml.c:
4613 * gst/gsttypefind.c:
4614 Use already-interned string for the private GstPluginFeature
4617 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4619 * docs/libs/gstreamer-libs-sections.txt:
4620 Add new API to docs; fixes the build.
4622 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4624 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4626 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4627 (gst_base_sink_event):
4628 * libs/gst/base/gstbasesink.h:
4629 Add function to wait for EOS, subclasses can use this to correctly wait
4630 for devices to drain before performing the EOS logic. Fixes #485343.
4631 API: gst_base_sink_wait_eos()
4633 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4636 Cast description string constants in GST_PLUGIN_DEFINE macros
4637 to a (gchar*) to make C++ code using these macros compile
4638 without warning with g++-4.2 (see #462737). Even if slightly
4639 ugly, this seems preferable to putting the description strings
4640 into the GLib quark table or making the structure member a
4641 const gchar * and doing casts in core code that allocs and
4642 frees these strings, or requiring a cast in the C++ code.
4644 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4647 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4648 to print the entire class/function signature into the log
4649 file for C++ code. This only affects C++ code, for C code
4650 everything remains the same.
4652 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4654 * gst/gstbin.c: (remove_from_queue):
4655 Work around a problem with pipelines containing (semi)loops until a
4656 proper, more complicated solution is ready. See #475455.
4658 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4662 * gst/gstregistrybinary.c:
4663 * gst/gstregistryxml.c:
4664 Put more strings into the GLib quark table. No need to keep
4665 a hundred-something copies of identical version strings,
4666 license strings, package name strings and package origin
4669 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4671 * docs/manual/advanced-dataaccess.xml:
4672 Don't imply that it's okay to unconditionally change
4673 buffer data or buffer metadata in a pad probe callback,
4674 and a bunch of other comments. Fixes #430031.
4676 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4678 * win32/common/gstenumtypes.c:
4679 * win32/common/gstenumtypes.h:
4680 * win32/common/gstversion.h:
4681 Update generated files.
4683 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4685 * docs/manual/advanced-autoplugging.xml:
4686 Prefix section with broken code with a warning (see #342432).
4688 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4690 * docs/manual/appendix-integration.xml:
4691 * docs/manual/basics-init.xml:
4692 Call g_thread_init() before g_option_context_new() to
4693 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4695 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4697 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4698 (gst_base_sink_queue_object_unlocked),
4699 (gst_base_sink_queue_object), (gst_base_sink_event),
4700 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4701 When we received EOS and are waiting for when to post the EOS message,
4702 our state is prerolled and we should not return ASYNC.
4703 Reorganize some code paths to implement this behavior.
4705 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4707 Add unit test to verify above EOS fix.
4709 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4711 * plugins/elements/gsttypefindelement.c:
4712 (gst_type_find_element_have_type), (gst_type_find_element_init),
4713 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4714 Move detecting the input caps of the sinkpad to the setcaps function.
4715 This allows us to update the output caps when we receive new input caps
4716 instead of always using the first detected caps.
4718 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4720 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4721 (gst_base_sink_get_position):
4722 Don't try to preroll non-async elements after a flush.
4723 Subtract latency form clock times when reporting position.
4725 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4727 * gst/gstpad.c: (gst_pad_pause_task):
4729 Small comment and documentation update.
4731 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4733 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4734 (gst_base_src_set_live), (gst_base_src_is_live),
4735 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4736 (gst_base_src_default_event), (gst_base_src_wait),
4737 (gst_base_src_do_sync), (gst_base_src_get_range),
4738 (gst_base_src_pad_get_range), (gst_base_src_loop),
4739 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4740 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4741 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4742 (gst_base_src_change_state):
4743 Rework the locking of basesrc in a similar fashion to basesink. We
4744 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4745 us to handle live sources and semi live ones much better.
4747 Fix unlocking when seeking, shutting down and pausing in live sources.
4749 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4751 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4752 Fix compilation again.
4754 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4757 Use meaningful categories for the logs to clean the default one.
4759 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4761 * tests/check/pipelines/cleanup.c:
4762 Print message name and not just number.
4764 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4766 * docs/design/draft-tagreading.txt:
4767 Add some more thoughts.
4769 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4771 * tests/check/pipelines/simple-launch-lines.c:
4772 Print message name and not just number.
4774 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4776 * libs/gst/base/gsttypefindhelper.c:
4777 Speedup typefinding. This is work in progress (see #459862).
4779 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4782 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4783 Spotted by Josep Torra Valles <josep@fluendo.com>.
4785 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4788 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4789 field has moved to GstObject.
4791 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4793 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4794 (gst_base_src_get_range), (gst_base_src_change_state):
4795 Call unlock for live sources so that they can't get stuck in _create and
4796 produce a buffer before they are set back to PLAYING.
4798 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4800 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4801 (gst_queue_locked_dequeue):
4802 Comment the segment-related code... in the PROPER function.
4803 See #482147 and my commit from yesterday.
4805 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4807 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4808 Also initialize the counter that calculates the first timestamp on a
4809 buffer correctly for non-live sources.
4811 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4813 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4814 Disable code that's breaking the current-time-level reporting.
4817 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4819 * docs/gst/gstreamer-sections.txt:
4820 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4821 as they shouldn't show up. Fixes the docs build.
4823 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4826 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4827 Define M_PI which is used in files which are including gstinfo.h.
4828 VS6 includes doesn't define it.
4829 * win32/common/libgstbase.def:
4830 * win32/common/libgstcontroller.def:
4831 * win32/common/libgstreamer.def:
4832 Add new exported functions and variables.
4833 * win32/vs6/libgstcontroller.dsp:
4834 * win32/vs6/libgstreamer.dsp:
4835 Update the list of files to build.
4837 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4839 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4841 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4842 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4843 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4844 Improve debugging. Fixes #480858.
4846 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4848 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4850 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4851 First patch of code cleanups, use the macros and right arguments in the
4852 macros to signal and lock the queue. See #480858.
4854 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4856 * gst/gstbus.c: (poll_func):
4857 Improve debugging when dealing with _poll().
4859 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4861 * gst/gstregistryxml.c:
4862 Fix memory leak I introduced a few days ago.
4864 2007-09-26 Michael Smith <msmith@fluendo.com>
4866 * gst/gstbuffer.c: (gst_buffer_finalize):
4867 Make it once again possible to free GstBuffers in the default
4869 The poisoning scribbles on parts of the miniobject we need in
4873 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4875 * docs/gst/gstreamer-sections.txt:
4878 API: add GST_TAG_COMPOSER, fixes #459809.
4880 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4884 Add the 3-clause BSD license and the MIT/X11 license to the license
4885 list. Fixes #479784.
4887 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4889 * docs/faq/getting.xml:
4890 Add Q+A about different GStreamer versions (#364056).
4892 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4894 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4895 (gst_base_sink_event), (gst_base_sink_change_state):
4896 Return correct gboolean from query function.
4898 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4900 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4901 (gst_base_sink_event), (gst_base_sink_query),
4902 (gst_base_sink_change_state):
4903 Simplify latency query.
4904 When not synchronizing, we can report latency without querying the peer
4907 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4911 Fix small typos in the docs.
4913 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4915 * docs/design/draft-latency.txt:
4916 * docs/design/draft-push-pull.txt:
4917 * docs/design/draft-tagreading.txt:
4918 * docs/design/part-MT-refcounting.txt:
4919 * docs/design/part-activation.txt:
4920 * docs/design/part-block.txt:
4921 * docs/design/part-element-source.txt:
4922 * docs/design/part-events.txt:
4923 * docs/design/part-gstbin.txt:
4924 * docs/design/part-gstelement.txt:
4925 * docs/design/part-gstobject.txt:
4926 * docs/design/part-gstpipeline.txt:
4927 * docs/design/part-messages.txt:
4928 * docs/design/part-preroll.txt:
4929 * docs/design/part-push-pull.txt:
4930 * docs/design/part-qos.txt:
4931 * docs/design/part-query.txt:
4932 * docs/design/part-scheduling.txt:
4933 * docs/design/part-seeking.txt:
4934 * docs/design/part-segments.txt:
4935 * docs/design/part-states.txt:
4936 Documentation updates and typo fixes.
4938 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4940 * plugins/elements/gstfakesink.c:
4941 Add some debug text to error message to indicate that
4942 we errored out on request.
4944 * tools/gst-launch.c:
4945 When the state change to PLAYING fails, check for an
4946 error message on the bus and print it.
4948 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4950 translated by: Jorge González González <aloriel@gmail.com>
4954 Added Spanish translation.
4956 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4958 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4959 Fix printf arguments.
4961 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4963 * tests/check/generic/states.c:
4964 Improved state change unit test.
4966 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4969 Move priv to the right place.
4971 * gst/gstsystemclock.c:
4972 Add FIXME: and improve log.
4974 * tests/check/Makefile.am:
4975 * tests/examples/manual/Makefile.am:
4976 Work with all types of registries.
4978 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4980 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4981 Don't unref the event after pushing it. Fixes #478401.
4983 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4986 * tests/examples/manual/.cvsignore:
4987 Ignore registries in any format.
4989 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4991 * gst/glib-compat-private.h:
4992 Add compatibility macro for g_intern_string() for
4993 GLib-2.8 (any reason we can't just bump the
4994 requirement to at least 2.10?)
4996 * gst/gstpadtemplate.h:
4997 * gst/gstelementfactory.c:
4998 * gst/gstregistryxml.c:
4999 * gst/gstregistrybinary.c:
5000 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5001 up the internal code accordingly. This shouldn't be a problem, since
5002 there is no reason external code could ever assume the string in such
5003 a structure is dynamically allocated unless it did that itself; the
5004 use of g_strdup() is private to element factories. The new code also
5005 saves some memory by putting pad template name strings into the GLib
5006 quark table instead of allocating them dynamically.
5007 Declaring this field constant fixes warnings with g++-4.2 when using
5008 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5010 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5012 * gst/gstelementfactory.c:
5013 Release static caps. Fixes #475723.
5015 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
5019 Make some internal API take const gchar * instead of just
5020 gchar * to avoid compiler warnings with g++-4.2.2 when
5021 passing string constants (partially fixes #478092).
5023 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5025 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5026 A latency query fails when one of the sinks fail.
5028 * gst/gstelement.c: (gst_element_set_base_time):
5031 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5033 * gst/gstbin.c: (gst_bin_continue_func):
5034 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5035 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5036 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5038 Fix minor compilation warnings shown with Forte.
5040 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5042 * plugins/elements/gstqueue.c: (apply_buffer),
5043 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5044 Measure queue level based on the diff between head and tail timestamps
5045 even when pushing the first buffer.
5047 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5049 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5050 (gst_base_sink_event), (gst_base_sink_change_state):
5051 Sinks that don't preroll can always be queried for the latency.
5052 Don't post ASYNC start when we are not async.
5054 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5056 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5057 (gst_queue_handle_sink_event), (gst_queue_chain),
5058 (gst_queue_push_one), (gst_queue_handle_src_query),
5059 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5060 * plugins/elements/gstqueue.h:
5061 When downstream returns UNEXPECTED from pushing a buffer, don't try to
5062 push more buffers but allow pushing of EOS and NEWSEGMENT.
5063 Add some more debug info here and there. Fixes #476514.
5065 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5067 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5068 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5069 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5070 (gst_base_sink_set_flushing), (gst_base_sink_query),
5071 (gst_base_sink_change_state):
5072 Latency query is allowed after we are prerolled. Introduce a new flag
5073 for this and stop abusing other variables.
5075 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5077 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5078 Push OOB events downstream when we get them in send_event. This allows
5079 the application to insert events in the pipeline.
5080 Add some more comments.
5082 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5084 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5085 (do_bin_latency), (gst_bin_change_state_func):
5086 * gst/gstpipeline.c: (gst_pipeline_change_state):
5087 Move latency query from GstPipeline to GstBin so that we can also
5088 use it when async-handling is enabled on bins.
5090 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5092 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5093 (gst_base_src_do_sync), (gst_base_src_change_state):
5095 Clean up the timestamping and syncing code for pseudo live sources.
5097 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5099 Patch by: Steve Fink <sphink gmail com>
5101 * docs/manual/appendix-checklist.xml:
5102 Mention less -R switch in the section about debug output (#474055).
5104 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5106 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5107 Queue can latency to the pipeline up to the configured max size in time.
5108 Report this fact in the latency query.
5110 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5112 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5114 * libs/gst/controller/gstinterpolation.c:
5115 * libs/gst/controller/gstlfocontrolsource.c:
5116 Use gst_guint64_to_gdouble() when converting from a uint64 or
5117 GstClockTime to double to fix the build on win32. Fixes #474371.
5119 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5121 * gst/gstbuffer.c: (gst_buffer_finalize):
5122 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5123 When finalizing a buffer the complete struct is filled with 0xff,
5124 thus making a use of the buffer after the final unref impossible.
5126 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5128 * tests/check/libs/controller.c: (GST_START_TEST):
5129 Use fail_unless_equals_int(a, b) instead of
5130 fail_unless_equals (a == b) to get better output on failures.
5132 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5134 * tests/check/gst/gsturi.c:
5135 Also check for the other file URI variant on win32.
5137 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5139 * gst/gsturi.c: (gst_uri_get_location):
5140 If there's no hostname, we want to return 'c:/foo/bar.txt'
5141 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5143 * tests/check/gst/gsturi.c:
5144 Unit test for the above and a few more things.
5146 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5148 * docs/design/part-live-source.txt:
5149 Add docs on how live sources should timestamp.
5151 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5152 Add some more debug info.
5153 For subclasses that are live and like to sync, add aditional startup
5154 latency to sync time and timestamps so that we timstamp according to the
5157 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5160 Also do a g_type_class_ref() for the subbuffer type in
5163 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5165 * docs/gst/gstreamer-sections.txt:
5166 * gst/gstpad.c: (gst_pad_peer_query):
5168 Add function to perform a query on the peer of a pad.
5169 API: gst_pad_peer_query()
5171 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5173 * tests/check/gst/gstsystemclock.c:
5174 Cleanup the test a little (use gst-logging and not g_message). Improve
5175 test to check if a wait reached the target.
5177 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5179 * docs/libs/gstreamer-libs-sections.txt:
5180 Add new API to docs and fix the build.
5182 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5184 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5185 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5186 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5187 (gst_base_src_get_property), (gst_base_src_do_sync):
5188 * libs/gst/base/gstbasesrc.h:
5189 Add property to make the basesrc timestamp buffers based on the current
5191 API: GstBaseSrc::do-timestamp
5192 API: gst_base_src_set_do_timestamp()
5193 API: gst_base_src_get_do_timestamp()
5195 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5197 * docs/random/release:
5198 Really make sure translations are up-to-date before
5199 a release (#465010).
5201 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5203 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5204 Always destroy the timer, also in error cases.
5206 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5208 * docs/manual/highlevel-xml.xml:
5209 Fix XML example code. Fixes #472714.
5211 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5213 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5214 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5215 (gst_base_sink_query):
5216 Protect eos and have_preroll with the OBJECT lock so we don't need to
5217 take the PREROLL lock when querying the latency. Fixes #473846.
5219 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5222 Give some log-messages a category.
5224 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5226 * gst/gststructure.c:
5227 (gst_structure_fixate_field_nearest_fraction):
5228 Fix fraction list fixation code. Take the fraction with the smallest
5229 difference with the target instead of the first one in the list.
5231 * tests/check/gst/gststructure.c: (GST_START_TEST),
5232 (gst_structure_suite):
5233 Added test to verify correct fraction list fixation behaviour.
5235 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5237 * win32/common/libgstreamer.def:
5238 Export gst_bus_add_signal_watch too.
5240 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5242 * docs/libs/gstreamer-libs-sections.txt:
5243 Add new methods to docs.
5245 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5246 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5247 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5248 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5249 * libs/gst/base/gstbasesink.h:
5250 Add ts-offset property to fine-tune the synchronisation.
5251 API: GstBaseSink::ts-offset property
5252 API: gst_base_sink_set_ts_offset()
5253 API: gst_base_sink_get_ts_offset()
5255 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5257 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5258 (gst_base_sink_init), (gst_base_sink_set_sync),
5259 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5260 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5261 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5262 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5263 (gst_base_sink_get_property), (gst_base_sink_change_state):
5264 * libs/gst/base/gstbasesink.h:
5265 Add async property to instruct the sink never to inform the parent about
5266 ASYNC state changes, update docs.
5267 Check argument with g_return_* for the public functions.
5268 API: GstBaseSink::async property
5269 API: gst_base_sink_set_async_enabled()
5270 API: gst_base_sink_is_async_enabled()
5272 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5274 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5277 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5278 (gst_base_src_default_query), (gst_base_src_wait),
5279 (gst_base_src_do_sync), (gst_base_src_change_state):
5280 Rearrange some code so that we can add support for measuring the
5283 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5285 * docs/random/ensonic/dynlink.txt:
5286 More thoughs on this.
5288 * plugins/elements/gstcapsfilter.c:
5289 Add bugzilla ticket number to FIXME comment.
5291 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5293 * docs/design/part-TODO.txt:
5294 * docs/design/part-block.txt:
5297 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5300 Revert patch which uses $(gst_headers) instead of $^ because it
5303 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5305 * tests/check/gst/gstbin.c: (GST_START_TEST):
5306 Fix leaks in the new unit test.
5308 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5311 Don't use GST_INFO before the debug system is actually initialised
5312 (shouldn't do any harm, but won't print anything either, so we can
5313 just as well remove it).
5316 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5317 compilers that don't support variadic macros (such as MSVC), should
5318 check for debug_level <= __gst_debug_min as well, since that's the
5319 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5320 inline helper functions. Should improve performance a bit, but also
5321 makes sure uses of GST_INFO et.al are ignored if the debugging
5322 system isn't initialised yet (instead of printing an assertion
5325 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5327 patch by: David Nečas <yeti@physics.muni.cz>
5330 Replace some non portable makefile constructs.
5332 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5334 * common/gtk-doc-plugins.mak:
5335 Grrrrr. Don't remove the types file on make clean.
5337 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5339 * tools/gst-launch.1.in:
5340 Add colorspace to example pipeline. Fixes #458274.
5342 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5344 * docs/random/release:
5345 The release manager should run 'make download-po' before making a
5346 release to make sure translations are up-to-date.
5352 Add some new translations.
5354 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5356 * tools/gst-launch.c: (event_loop), (main):
5357 Don´t try to do any state management when a live pipeline posts
5359 Also make the buffering string translatable.
5361 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5363 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5364 (bin_handle_async_start), (gst_bin_handle_message_func):
5366 When adding elements, insert messages into the bus of the newly added
5367 element and make sure the element is the source of the message. This
5368 allows the parent bin to intercept the message and do the
5369 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5370 messages to the app (which is not allowed).
5373 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5374 Fix testsuite so that is does not work around messages that should not
5375 have been posted in the first place.
5377 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5379 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5380 (update_degree), (gst_bin_sort_iterator_next):
5381 Fix annoying bug in the sorted iterator where a sink that is not really
5382 a sink (when it has downstream links) screwed up the iterator.
5384 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5385 Unit test to verify the fix.
5387 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5390 Add some more docs for the messages.
5392 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5393 (gst_base_sink_query):
5394 Add some more debugging.
5396 * tools/gst-launch.c: (event_loop):
5397 When interrupting, don't try to set pipeline to PAUSED twice.
5399 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5402 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5403 (bin_handle_async_start), (gst_bin_handle_message_func):
5404 Move ASYNC_START message posting to where it belongs, similar to
5406 Don't post ASYNC_START when we are in error.
5407 Post ASYNC_START when we added an async element to a bin.
5409 2007-08-14 Julien MOUTTE <julien@moutte.net>
5411 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5412 generation from vargs. Fixes #466595.
5414 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5416 * gst/gstbin.c: (gst_bin_element_set_state):
5417 Always change the state of a NO_PREROLL element even if it has ASYNC
5418 elements inside (in case of a bin).
5420 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5421 Unit test for this case.
5423 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5425 * libs/gst/check/gstbufferstraw.c:
5426 * libs/gst/check/gstcheck.h:
5427 * libs/gst/controller/gstcontroller.c:
5428 * libs/gst/controller/gstcontrolsource.h:
5429 * libs/gst/controller/gstlfocontrolsource.h:
5430 * plugins/elements/gstcapsfilter.h:
5431 * plugins/elements/gstfdsink.h:
5432 * plugins/elements/gstfdsrc.h:
5433 Add more missing docs.
5435 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5437 * gst/gststructure.c:
5438 Add Since tag to docs.
5440 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5442 * docs/gst/gstreamer-sections.txt:
5443 * gst/gststructure.c: (gst_structure_get_uint):
5444 * gst/gststructure.h:
5445 Add function to get uint from a structure.
5446 API: gst_structure_get_uint()
5448 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5450 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5451 (gst_caps_intersect):
5452 Fix proper check for simple caps.
5454 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5456 * docs/gst/Makefile.am:
5457 * docs/libs/Makefile.am:
5458 Remove cruft and do some cleanups.
5460 * docs/gst/gstreamer-docs.sgml:
5461 * docs/libs/gstreamer-libs-docs.sgml:
5462 Prepare for comming gtkdoc features (rebase against online docs).
5464 2007-08-10 Michael Smith <msmith@fluendo.com>
5466 * docs/gst/gstreamer-sections.txt:
5467 Add gst_registry_add_path to docs.
5469 2007-08-10 Michael Smith <msmith@fluendo.com>
5471 * gst/gstregistry.h:
5472 Add gst_registry_add_path, which was missing from this header.
5474 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5476 * libs/gst/controller/gstlfocontrolsource.c:
5479 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5481 * libs/gst/base/gstbasesink.c:
5482 Don't send an async_start message during downwards state change if
5483 target state is less than READY
5485 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5487 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5491 Added Hungarian translation.
5493 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5500 Updated translations.
5502 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5504 * libs/gst/controller/Makefile.am:
5505 Dist gstlfocontrolsourceprivate.h
5507 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5509 * docs/libs/gstreamer-libs.types:
5510 Don't register the enum type gst_lfo_waveform_get_type() in the
5511 .types file - only GObject derived types belong.
5513 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5515 Patch by: <arenevier at fdn dot fr>
5518 Remove comma from last element in enum to avoid compile errors when
5519 using -pendantic. Fixes #464366.
5521 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5523 * docs/design/part-TODO.txt:
5524 Add some more TODO items
5526 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5529 * gst/gstcaps.c: (gst_caps_intersect):
5530 Optimize trivial intersection case between identical caps pointers.
5532 * gst/gstelement.c: (gst_element_continue_state),
5533 (gst_element_set_state_func):
5535 Fix spelling and grammar mistakes.
5537 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5541 Update POTFILES. Fixes #461599.
5543 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5546 Fix confusing typo in debug output.
5548 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5550 reviewed by: Stefan Kost <ensonic@users.sf.net>
5552 * libs/gst/controller/Makefile.am:
5553 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5554 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5555 (gst_lfo_control_source_new),
5556 (gst_lfo_control_source_set_waveform),
5557 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5558 (gst_lfo_control_source_finalize),
5559 (gst_lfo_control_source_dispose),
5560 (gst_lfo_control_source_set_property),
5561 (gst_lfo_control_source_get_property),
5562 (gst_lfo_control_source_class_init):
5563 * libs/gst/controller/gstlfocontrolsource.h:
5564 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5565 API: Add GstLFOControlSource, a control source that gives values
5566 for specific timestamps based on several periodic waveforms.
5569 * tests/check/libs/controller.c: (GST_START_TEST),
5570 (gst_controller_suite):
5571 * docs/libs/gstreamer-libs-docs.sgml:
5572 * docs/libs/gstreamer-libs-sections.txt:
5573 * docs/libs/gstreamer-libs.types:
5574 Add documentation and unit tests for GstLFOControlSource.
5576 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5581 === release 0.10.14 ===
5583 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5586 releasing 0.10.14, "Breathing Vacuum"
5588 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5590 * gst/gstelement.c: (gst_element_class_set_details_simple):
5592 Make strings passed to gst_element_class_set_details_simple()
5593 constant, as they should be (#462752).
5595 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5597 * gst/gstbin.c: (gst_bin_change_state_func),
5598 (bin_handle_async_done), (gst_bin_handle_message_func):
5599 Don't forget about the fact that some element went ASYNC even after a
5600 resync. This makes us post the ASYNC_DONE message correctly.
5603 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5605 * gst/gstregistry.c: (gst_registry_add_feature):
5606 When replacing an existing feature in the registry, make sure to
5607 continue holding a reference until we've replaced the name string
5608 within our feature hash table. Make sure to use g_hash_table_replace
5609 instead of g_hash_table_insert to ensure the new name string is used
5610 as a key instead of the old one that we're about to free.
5613 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5615 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5616 (gst_plugin_feature_set_name):
5617 Revert patch from #459466 until after the release and we can work
5618 out exactly what the problem is (if any).
5620 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5622 * docs/gst/gstreamer-sections.txt:
5625 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5627 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5629 * docs/libs/Makefile.am:
5630 Include our build-prefix libs and includes before the generic ones to
5631 avoid linking against the installed libs when we want the build-tree
5634 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5636 Patch by: Steve Fink <sphink gmail com>
5638 * docs/pwg/building-testapp.xml:
5639 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5640 if people try to build or install the example from the plugin
5641 template against a GStreamer from package using the configure
5644 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5646 Patch by: Steve Fink <sphink gmail com>
5648 * tools/gst-inspect.1.in:
5649 Document --print-all and --print-plugin-auto-install-info command
5650 line options in man page.
5652 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5654 * docs/gst/gstreamer-sections.txt:
5655 Add docs for new api function.
5657 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5659 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5660 * gst/gstelementfactory.h:
5661 API: gst_element_factory_has_interface()
5662 Added method to check if an element factory implements a named
5665 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5668 * docs/gst/gstreamer.types.in:
5669 Another conditional doc check.
5672 * gst/gstparamspecs.h:
5673 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5678 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5680 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5681 (gst_registry_binary_load_feature),
5682 (gst_registry_binary_load_plugin),
5683 (gst_registry_binary_read_cache):
5684 Print error just once and with additional info.
5686 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5688 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5689 (helper_find_suggest), (helper_find_get_length),
5690 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5691 (gst_type_find_helper_for_buffer):
5692 Cleanup the typefindhelper code and add private doc comments.
5694 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5696 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5697 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5698 Fix capsfilter for cases where the caps set on capsfilter will provide
5699 additional information.
5702 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5704 * gst/gsttypefindfactory.c:
5705 Fix docs that recommened wrong function to use.
5707 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5709 * tools/gst-inspect.c: (print_plugin_features):
5710 Also give media-type for typefinders in element output.
5712 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5714 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5715 (gst_registry_remove_features_for_plugin_unlocked),
5716 (gst_registry_add_feature), (gst_registry_remove_feature),
5717 (gst_registry_lookup_feature_locked):
5718 * gst/gstregistry.h:
5719 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5722 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5724 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5725 (gst_plugin_feature_set_name):
5726 Avoid double memory usage for pluginfeature names. Fixes #459466.
5728 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5731 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5732 driving the pipeline may need to explicitly check for NOT_LINKED as
5733 well, since IS_FATAL doesn't cover that.
5735 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5737 * docs/pwg/advanced-types.xml:
5738 Fix typo and duplicate entry in video formats list.
5740 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5742 * libs/gst/controller/gstinterpolation.c:
5743 Also round to the nearest int when using cubic interpolation.
5745 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5747 * libs/gst/controller/gstinterpolation.c:
5748 When linearly interpolating integer types, round to the nearest int
5749 by adding 0.5. Don't do it for float/double types.
5750 Fixes the failing controller test on my machine, which is somehow
5751 rounding differently than on the buildbots.
5753 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5755 * tools/gst-plot-timeline.py:
5756 Better log parsing (categories can have -). Adjust text vs. lines, so
5757 that they span the same y-range.
5759 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5761 * docs/random/ensonic/audiobaseclasses.txt:
5762 * docs/random/ensonic/dynlink.txt:
5763 * docs/random/ensonic/profiling.txt:
5766 * docs/random/moving-plugins:
5767 Add note to use g_assert type macros.
5769 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5772 * libs/gst/check/Makefile.am:
5773 Add libm check as we use in for plugins.
5775 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5777 * gst/gstbin.c: (gst_bin_continue_func):
5778 Check that the state_cookie hasn't changed since the continue_func
5779 was scheduled. Avoids problems where the state changes back to
5780 something it shouldn't be because it was changed in the meantime.
5782 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5784 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5785 (gst_registry_binary_save_string),
5786 (gst_registry_binary_save_pad_template),
5787 (gst_registry_binary_save_feature),
5788 (gst_registry_binary_save_plugin),
5789 (gst_registry_binary_load_feature),
5790 (gst_registry_binary_load_plugin),
5791 (gst_registry_binary_read_cache):
5792 Fix memory leak. Be less verbose in the log.
5794 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5796 * tests/check/elements/.cvsignore:
5797 Add file to cvsignore as commanded.
5799 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5801 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5802 (mq_dummypad_event), (run_output_order_test):
5803 Use a GStaticMutex to protect all cases where libcheck
5804 fail_if/fail_unless macros might be called from multiple threads
5805 simultaneously to avoid errors like:
5806 "check_pack.c:107: :-1081725400:Bad message type arg"
5808 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5810 * tests/check/pipelines/stress.c: (GST_START_TEST):
5811 Make sure we set the pipeline back to the NULL state before
5812 dropping our final reference.
5814 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5816 * tests/check/elements/tee.c: (GST_START_TEST):
5817 Make the tee stress-test a little less stressful so it doesn't just
5818 time out on slow-machines, and remove a small race when it's starting
5819 up by adding a get_state() call.
5821 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5824 Avoid reading registry twice on startup. Fixes #457322.
5826 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5828 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5829 * pkgconfig/gstreamer-check.pc.in:
5830 Substitute the CFLAGS for libcheck into our .pc file too so that
5831 dependent modules will pick it up properly if libcheck is installed
5832 into some other prefix.
5834 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5837 Revert the pkg-config check for libcheck, since it pulls in the
5838 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5839 a proper solution, either from the check project, or something else.
5841 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5844 Use pkg-config to locate check.
5846 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5853 Add deprecation guards.
5855 * libs/gst/base/gstcollectpads.h:
5856 Don't document object (this is implicitly private).
5858 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5860 * gst/gststructure.c: (gst_structure_parse_value):
5861 When deserialising foo=bar without a type cast, check if it's a
5862 boolean before falling back to a string type, otherwise things like
5863 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5864 because the filtercaps end up having a signed=(string)true field,
5865 which causes problems later when intersection caps.
5867 * tests/check/gst/gststructure.c: (GST_START_TEST):
5868 Add a unit test for this.
5870 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5872 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5874 * libs/gst/controller/Makefile.am:
5875 * libs/gst/controller/gstcontroller.c:
5876 (gst_controlled_property_add_interpolation_control_source),
5877 (gst_controlled_property_new), (gst_controlled_property_free),
5878 (gst_controller_find_controlled_property),
5879 (gst_controller_new_valist), (gst_controller_new_list),
5880 (gst_controller_new), (gst_controller_remove_properties_valist),
5881 (gst_controller_remove_properties_list),
5882 (gst_controller_remove_properties),
5883 (gst_controller_set_property_disabled),
5884 (gst_controller_set_disabled), (gst_controller_set_control_source),
5885 (gst_controller_get_control_source), (gst_controller_get),
5886 (gst_controller_sync_values), (gst_controller_get_value_array),
5887 (_gst_controller_dispose), (gst_controller_get_type),
5888 (gst_controlled_property_set_interpolation_mode),
5889 (gst_controller_set), (gst_controller_set_from_list),
5890 (gst_controller_unset), (gst_controller_unset_all),
5891 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5892 * libs/gst/controller/gstcontroller.h:
5893 * libs/gst/controller/gstcontrollerprivate.h:
5894 * libs/gst/controller/gstcontrolsource.c:
5895 (gst_control_source_class_init), (gst_control_source_init),
5896 (gst_control_source_get_value),
5897 (gst_control_source_get_value_array), (gst_control_source_bind):
5898 * libs/gst/controller/gstcontrolsource.h:
5899 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5900 (gst_object_get_control_source):
5901 * libs/gst/controller/gstinterpolation.c:
5902 (gst_interpolation_control_source_find_control_point_node),
5903 (gst_interpolation_control_source_get_first_value),
5904 (_interpolate_none_get), (interpolate_none_get),
5905 (interpolate_none_get_boolean_value_array),
5906 (interpolate_none_get_enum_value_array),
5907 (interpolate_none_get_string_value_array),
5908 (_interpolate_trigger_get), (interpolate_trigger_get),
5909 (interpolate_trigger_get_boolean_value_array),
5910 (interpolate_trigger_get_enum_value_array),
5911 (interpolate_trigger_get_string_value_array):
5912 * libs/gst/controller/gstinterpolationcontrolsource.c:
5913 (gst_control_point_free), (gst_interpolation_control_source_reset),
5914 (gst_interpolation_control_source_new),
5915 (gst_interpolation_control_source_set_interpolation_mode),
5916 (gst_interpolation_control_source_bind),
5917 (gst_control_point_compare), (gst_control_point_find),
5918 (gst_interpolation_control_source_set_internal),
5919 (gst_interpolation_control_source_set),
5920 (gst_interpolation_control_source_set_from_list),
5921 (gst_interpolation_control_source_unset),
5922 (gst_interpolation_control_source_unset_all),
5923 (gst_interpolation_control_source_get_all),
5924 (gst_interpolation_control_source_get_count),
5925 (gst_interpolation_control_source_init),
5926 (gst_interpolation_control_source_finalize),
5927 (gst_interpolation_control_source_dispose),
5928 (gst_interpolation_control_source_class_init):
5929 * libs/gst/controller/gstinterpolationcontrolsource.h:
5930 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5931 API: Refactor GstController into the core controller which can take
5932 a GstControlSource for providing actual values for timestamps.
5933 Implement a interpolation control source and use this for backward
5934 compatibility, deprecate a bunch of functions that are now handled
5935 by GstControlSource or GstInterpolationControlSource.
5936 Make it possible to disable the controller completely or only for
5937 specific properties. Fixes #450711.
5938 * docs/libs/gstreamer-libs-docs.sgml:
5939 * docs/libs/gstreamer-libs-sections.txt:
5940 * docs/libs/gstreamer-libs.types:
5941 Add new functions and classes to the docs.
5942 * tests/check/libs/controller.c: (GST_START_TEST),
5943 (gst_controller_suite):
5944 * tests/examples/controller/audio-example.c: (main):
5945 Port unit test and example to the new API and add some new
5948 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5950 Patch by: Mark Nauwelaerts <manauw at skynet be>
5952 * plugins/elements/gstmultiqueue.c:
5953 (gst_multi_queue_get_internal_links), (apply_buffer),
5954 (single_queue_overrun_cb), (gst_single_queue_new):
5955 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5956 the pipeline layout can be tracked correctly. Fixes #453732.
5958 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5960 * docs/gst/Makefile.am:
5961 * docs/libs/Makefile.am:
5962 * docs/plugins/Makefile.am:
5963 Simplify --extra-dir as gtkdoc scans recursively.
5965 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5967 * tools/gst-launch.c: (main):
5968 When we got an error, there is no point in waiting for preroll when
5971 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5973 * plugins/elements/gsttee.c: (gst_tee_base_init),
5974 (gst_tee_request_new_pad), (gst_tee_release_pad),
5975 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5976 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5978 Be a lot smarter when deciding what srcpad to use for proxying
5979 the buffer_alloc. Also handle pad added/removed when doing so.
5981 Keep track of what pads we already pushed on in case we have pads
5982 added/removed while pushing. Fixes #374639
5984 * tests/check/Makefile.am:
5985 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5987 Added unit test for pad resync.
5989 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5993 Updated translations.
5995 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5997 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6001 Added new Finnish translation.
6003 2007-06-28 Wim Taymans <wim@fluendo.com>
6005 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6006 (single_queue_overrun_cb):
6007 When figuring out when a queue is filled, use our internal time estimate
6008 based on segments, just like check_full does.
6010 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6012 * gst/gstminiobject.c: (gst_mini_object_get_type):
6013 Remove 3 do-nothing methods.
6015 2007-06-27 Wim Taymans <wim@fluendo.com>
6017 Patch by: Tim Angus <tim at ngus dot net>
6019 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6020 (gst_capsfilter_set_property):
6021 Take a reference instead of a copy when setting "caps".
6022 Fix documentation to clarify this behaviour. Fixes #449414.
6024 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6026 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6027 * gst/gstplugin.c: (gst_plugin_init):
6028 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6029 * gst/gstquery.c: (gst_query_get_type):
6030 * gst/gstregistry.c: (gst_registry_init):
6031 * gst/gsturi.c: (gst_uri_handler_base_init):
6032 Remove empty instance_init() functions to save relocs and lessen the
6033 noise. Remove some of the function prototypes that are doubled by
6036 2007-06-27 Wim Taymans <wim@fluendo.com>
6038 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6040 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6041 Add peer and direction in the XML serialisation of ghostpads.
6044 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6047 Preserve useful information, thanks Tim.
6049 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
6051 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6052 (gst_single_queue_flush), (apply_segment), (apply_buffer),
6053 (gst_single_queue_push_one), (gst_multi_queue_loop),
6054 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6055 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6056 (compute_high_id), (gst_single_queue_new):
6057 * plugins/elements/gstmultiqueue.h:
6058 Take the multiqueue lock when updating the fill level so we don't get
6061 After applying a buffer or event on the src pad segment, make sure to
6062 call gst_data_queue_limits_changed() to get the data queue to unblock
6063 and check the filled state again.
6065 Rework the not-linked pad handling so the logic is that not-linked
6066 pads can push as fast as they like, but only so they never get
6067 ahead of any linked pads.
6069 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6070 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6071 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6073 Add a test to check that not-linked pads always stay behind
6078 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
6080 * docs/random/release:
6081 Some updates to the release procedure.
6083 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6085 * gst/gstelementfactory.c: (__gst_element_details_clear):
6086 Microoptimization that saves stunning 80 bytes.
6088 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6090 * docs/plugins/gstreamer-plugins.args:
6091 * docs/plugins/inspect/plugin-coreelements.xml:
6092 * docs/plugins/inspect/plugin-coreindexers.xml:
6093 Update docs with caps info.
6095 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6098 Updated Italian translation.
6100 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6104 Update Vietnamese translations.
6106 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6108 * libs/gst/base/gstbasesink.c:
6109 Remove unused signal enum.
6111 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6113 * docs/gst/gstreamer-sections.txt:
6115 * gst/gstutils.c: (gst_type_register_static_full):
6116 Beef up and include the docs for gst_type_register_static_full and
6117 gst_element_class_set_details_simple and add the API keyword
6120 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6122 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6123 (update_time_level), (gst_single_queue_push_one),
6124 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6125 (single_queue_overrun_cb), (single_queue_underrun_cb),
6126 (single_queue_check_full):
6127 Fix setting max-* properties after adding queues.
6128 Use IS_FILLED for checking visible items.
6129 Signal overrun if multiple queues overrun.
6130 Add extra debug output.
6131 Patch by: Wim Taymans <wim@fluendo.com>
6133 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6135 * gst/gstelement.c: (gst_element_class_set_details_simple):
6137 * gst/gstutils.c: (gst_type_register_static_full):
6139 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6140 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6141 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6142 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6143 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6144 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6145 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6146 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6147 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6148 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6149 (apply_buffer), (gst_queue_chain):
6150 * plugins/elements/gsttee.c: (gst_tee_base_init):
6151 * plugins/elements/gsttypefindelement.c:
6152 (gst_type_find_element_base_init),
6153 (gst_type_find_element_class_init):
6154 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6155 API: add gst_type_register_static_full
6156 API: add gst_element_class_set_details_simple
6158 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6160 * docs/pwg/advanced-types.xml:
6161 Fix typo in iana.org URI.
6163 2007-06-19 Andy Wingo <wingo@pobox.com>
6165 * tests/check/pipelines/simple-launch-lines.c
6166 (test_state_change_returns): Enable pull-mode tests now that
6167 basesink has been fixed.
6169 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6170 Changed from gst_base_sink_is_prerolled, reversing the sense of
6171 the return value. Returns FALSE also if the sink is in pull mode,
6172 in which case it needs no preroll.
6173 (gst_base_sink_query, gst_base_sink_change_state): Update for
6174 needs_preroll change.
6175 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6176 chaining up, in which we return SUCCESS directly if we activated
6177 in pull mode instead of ASYNC. Involves countering an async_start
6178 message sent before chaining up; not sure if this is correct, in
6179 an ideal world we only send async-start when activating in push
6182 * tests/check/pipelines/simple-launch-lines.c
6183 (test_state_change_returns): New test, partially disabled until
6186 2007-06-19 Wim Taymans <wim@fluendo.com>
6188 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6189 (gst_multi_queue_sink_event):
6192 2007-06-19 Wim Taymans <wim@fluendo.com>
6194 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6195 (gst_bin_change_state_func), (bin_push_state_continue),
6196 (bin_handle_async_start), (bin_handle_async_done),
6197 (gst_bin_handle_message_func):
6198 Move the common code for posting state-change messages into
6200 Broadcast the state signal after we posted the messages.
6201 Mark the bin as busy when it's doing a state-change.
6202 Make sure async-start/done messages don't interfere with the bin's
6203 state when it's busy.
6204 After the state change, let the bin check which elements completed the
6205 state change while it was busy so that it can update its state.
6207 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6209 * docs/random/release:
6210 Add a note about updating the doap file to the release checklist
6212 2007-06-18 Wim Taymans <wim@fluendo.com>
6214 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6215 (gst_single_queue_push_one), (gst_multi_queue_chain),
6216 (gst_multi_queue_sink_event):
6217 Make sure we don't reference the buffer/event after we have given away
6218 ownership in the queue.
6220 2007-06-18 Wim Taymans <wim@fluendo.com>
6222 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6223 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6224 Update queue state _after_ adding the item in the queue because else we
6225 could end up being full without the element added yet.
6227 2007-06-18 Wim Taymans <wim@fluendo.com>
6229 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6230 (gst_bin_remove_func), (gst_bin_get_state_func),
6231 (gst_bin_element_set_state), (gst_bin_continue_func),
6232 (bin_push_state_continue), (bin_handle_async_start),
6233 (bin_handle_async_done), (gst_bin_handle_message_func):
6235 Immediatly commit the toplevel bin state when receiving an async-done
6236 message. This enables us to avoid spawning a thread to commit the state
6237 in some common cases and it also avoids some races.
6238 Avoid spawning a state thread when adding/removing async elements to a
6239 toplevel bin. Instead we immediatly update the bin state.
6240 Get rid of iterating all the children when getting the state in the bin
6241 because it is now always up-to-date.
6242 Fix bug where locked elements would always return _SUCCESS even it they
6243 returned NO_PREROLL before being locked.
6244 Fix the order of the state_change, async-start/done messages that was
6245 sometimes incorrect.
6246 Mark the state_dirty field as deprecated, we don't need it anymore as we
6247 are always up-to-date.
6249 * gst/gstelement.c: (gst_element_get_state_func),
6250 (gst_element_continue_state):
6251 Small debug inprovements.
6252 Return the previous element state return when nothing is pending instead
6253 of blindly returning SUCCESS.
6255 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6257 Add a whole bunch of new testcases.
6259 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6263 Update translations.
6265 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6268 Fix typo in the docs.
6270 2007-06-15 Wim Taymans <wim@fluendo.com>
6272 * docs/libs/gstreamer-libs-sections.txt:
6273 Add docs for new methods.
6275 2007-06-15 Wim Taymans <wim@fluendo.com>
6277 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6278 (gst_multi_queue_item_new):
6279 Don't use GSlice because we don't depend on >= 2.10 yet.
6281 2007-06-15 Wim Taymans <wim@fluendo.com>
6283 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6284 (update_time_level), (apply_segment), (apply_buffer),
6285 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6286 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6287 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6288 (single_queue_underrun_cb), (single_queue_check_full):
6289 Remove debug printf.
6291 2007-06-15 Wim Taymans <wim@fluendo.com>
6293 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6294 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6295 (gst_data_queue_set_flushing), (gst_data_queue_push),
6296 (gst_data_queue_pop), (gst_data_queue_drop_head),
6297 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6298 * libs/gst/base/gstdataqueue.h:
6300 Added methods to get the current levels and to inform the queue that the
6301 'full' limits changed.
6303 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6304 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6305 (gst_single_queue_flush), (update_time_level), (apply_segment),
6306 (apply_buffer), (gst_single_queue_push_one),
6307 (gst_multi_queue_item_steal_object),
6308 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6309 (gst_multi_queue_loop), (gst_multi_queue_chain),
6310 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6311 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6312 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6313 (single_queue_underrun_cb), (single_queue_check_full),
6314 (gst_single_queue_new):
6315 Keep track of time in the queue by measuring the difference between
6316 running_time on input and output. This gives more accurate results and
6317 can compensate for segments correctly.
6318 Make a queue by default only 5 buffers deep. We will now increase the
6319 buffer size depending on the filledness of the other queues.
6320 Factor out commong flush code.
6321 Make sure we don't add additional refcounts to buffers when we can avoid
6323 Propagate GstFlowReturn differently.
6324 Use GSlice for intermediate GstMultiQueueItems.
6326 Resize queues on over and underruns based on filled level of other
6328 When checking if the queue is filled, prefer to measure in time if we
6329 can and fall back to bytes when no time is known.
6331 * plugins/elements/gstqueue.c:
6334 2007-06-15 Wim Taymans <wim@fluendo.com>
6336 * libs/gst/base/gstbasetransform.c:
6337 (gst_base_transform_sink_event):
6338 Work around the brokenness of the event vmethod in basetransform. Prefer
6339 to return TRUE when the subclass returned FALSE (meaning don't forward
6342 * libs/gst/base/gstbasetransform.h:
6345 2007-06-15 Wim Taymans <wim@fluendo.com>
6347 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6348 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6349 (gst_base_src_default_query), (gst_base_src_get_range),
6350 (gst_base_src_start):
6351 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6354 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6356 * docs/pwg/advanced-types.xml:
6357 Added more formats to caps table.
6359 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6361 * tools/gst-launch.c: (main):
6362 Remove crufy code. GOption does not need this workaround.
6364 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6366 * libs/gst/controller/gstcontroller.c:
6367 (gst_controlled_property_set_interpolation_mode):
6368 Fix wrong getter for enums in controller.
6370 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6372 * libs/gst/check/gstcheck.c: (gst_check_init):
6373 Intercept criticals and warnings in the Gst-Phonon log domain, so
6374 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6377 2007-06-14 Edward Hervey <edward@fluendo.com>
6379 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6380 Since this file doesn't include "gst.h" it will not go through the
6381 macros that disable GST_LOG if debugging was disabled.
6383 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6385 * libs/gst/check/Makefile.am:
6386 * libs/gst/check/gstcheck.h:
6387 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6388 * pkgconfig/gstreamer-check.pc.in:
6389 Ugly 'fix' for the controller unit test on the p5 bot: in
6390 fail_unless_equals_float() check whether the values are 'almost
6391 equal' by allowing a small absolute error, which should be good
6392 enough for our use cases (normal numbers and values close to 0).
6393 Proper fixage left to floating point arithmetic aficionados.
6395 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6397 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6398 (gst_base_sink_render_object), (gst_base_sink_get_position):
6399 Add two breaks thats where missing.
6401 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6403 * docs/libs/gstreamer-libs-sections.txt:
6404 * libs/gst/check/gstcheck.h:
6405 API: add fail_unless_equals_float() and assert_equals_float().
6406 Add documentation for some of the macros.
6408 * tests/check/libs/controller.c: (GST_START_TEST):
6409 Use newly-added asserts.
6411 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6413 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6414 Show the caps change in the log to help spotting the case of not
6415 exactly matching caps.
6417 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6419 * docs/pwg/building-boiler.xml:
6420 Fix typos, spotted by Thijs Vermeir (#447190).
6422 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6424 * docs/plugins/tmpl/.cvsignore:
6425 Ignore file to keep the buildbots happy
6427 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6429 * docs/plugins/Makefile.am:
6430 * docs/plugins/gstreamer-plugins-docs.sgml:
6431 * docs/plugins/gstreamer-plugins-sections.txt:
6432 Pull fdsink into the docs too.
6434 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6436 * libs/gst/controller/gstinterpolation.c:
6437 Actually use the new functions with min/max checks for the trigger and
6438 none interpolation modes for get() and get_value_array() instead of
6441 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6443 * libs/gst/controller/gstcontroller.c:
6444 (gst_controlled_property_free):
6445 Unset the minimum and maximum GValues when freeing the corresponding
6446 GstControllerProperty struct.
6448 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6450 * libs/gst/controller/gstcontroller.c:
6451 (gst_controlled_property_new):
6452 * libs/gst/controller/gstcontrollerprivate.h:
6453 * libs/gst/controller/gstinterpolation.c:
6454 (gst_controlled_property_find_control_point_node),
6455 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6456 (interpolate_none_get_string_value_array),
6457 (interpolate_trigger_get),
6458 (interpolate_trigger_get_enum_value_array),
6459 (interpolate_trigger_get_string_value_array):
6460 Protect against values larger or smaller than the minimum or maximum
6461 allowed value for the property when using values that can be compared.
6463 Optimize trigger interpolator a bit by taking the last requested value
6464 into account instead of always looping through the complete list.
6466 Fix coding style a bit, everywhere else we use "return foo" instead
6469 * tests/check/libs/controller.c: (GST_START_TEST),
6470 (gst_controller_suite):
6471 Add unit test for the protection against too large or too small
6474 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6476 * docs/random/slomo/controller.txt:
6477 Add some thoughts about the future of the controller.
6479 2007-06-08 Wim Taymans <wim@fluendo.com>
6481 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6482 Don't overflow in retimestamping code.
6484 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6486 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6487 Use gst_util_guint64_to_gdouble for conversions.
6488 * win32/common/libgstreamer.def:
6489 Add new exported functions.
6491 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6494 Small docs addition.
6496 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6499 Remove that test line again.
6501 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6504 Test commit mail sending.
6506 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6509 Fix typo and test commit mail sending.
6511 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6513 * tests/examples/controller/audio-example.c:
6514 Improve comment and test commit mail sending.
6516 2007-06-07 Wim Taymans <wim@fluendo.com>
6518 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6519 (gst_bin_remove_func), (gst_bin_element_set_state),
6520 (bin_handle_async_start), (bin_handle_async_done),
6521 (gst_bin_handle_message_func):
6522 Add helper function to find messages.
6523 Generate the async-done messages together with the state change
6525 Small cleanups in handling toplevel bins.
6527 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6529 * libs/gst/base/gstdataqueue.c:
6530 * libs/gst/base/gstdataqueue.h:
6531 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6532 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6533 (gst_multi_queue_sink_event):
6534 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6535 Fix multiqueue leaking buffers and events when downstream or the
6536 queue are flushing. Make refcounting assumptions explicit and
6537 document them (shouldn't break existing code that uses it other than
6538 maybe leak miniobjects, but that already happens anyway). Add unit
6539 test for the most common flushing case. Fixes #423700.
6541 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6543 * libs/gst/controller/gstcontroller.c:
6544 Clarify docs: The get_all, get_value_array(s) functions
6545 don't modify the GObject properties.
6547 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6549 * libs/gst/controller/gstcontroller.c:
6550 (gst_controlled_property_set_interpolation_mode),
6551 (gst_controlled_property_prepend_default),
6552 (gst_controlled_property_new), (gst_controller_set_unlocked),
6553 (gst_controller_set), (gst_controller_set_from_list),
6554 (gst_controller_unset), (gst_controller_unset_all):
6555 * libs/gst/controller/gstcontrollerprivate.h:
6556 * libs/gst/controller/gstinterpolation.c:
6557 Factor out the 'set' logic into gst_controller_set_unlocked for the
6558 gst_controller_set and gst_controller_set_from_list functions.
6560 To make life of the interpolators easier always add a control point
6561 at timestamp zero with the default value.
6563 In the linear interpolator make things more obvious by better variable
6566 Implement cubic interpolation mode (by using a natural cubic spline)
6567 and map the quadratic interpolation mode to this too (as quadratic
6568 doesn't make much sense, see discussion on the list).
6570 * tests/check/libs/controller.c: (GST_START_TEST),
6571 (gst_controller_suite):
6572 Add unit test for the cubic interpolation mode and check everywhere
6573 if the interpolation mode could be set as expected.
6575 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6577 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6578 Don't use GLib-2.10 functions, we still depend on
6579 GLib-how-old-is-it-again-2.8.
6581 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6583 * docs/gst/gstreamer-sections.txt:
6587 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6588 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6589 (_gst_param_fraction_values_cmp),
6590 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6591 * gst/gstparamspecs.h:
6593 * tests/check/Makefile.am:
6594 * tests/check/gst/.cvsignore:
6595 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6596 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6597 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6598 (GST_START_TEST), (gst_param_spec_suite):
6599 API: add GstParamSpecFraction, so elements can have fraction
6600 properties without lots of painful string parsing (#444648).
6602 2007-06-05 Wim Taymans <wim@fluendo.com>
6604 * gst/gstobject.c: (gst_object_class_init):
6605 Fix signal signature.
6608 Add small clarification in the api docs.
6610 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6611 States are protected with object lock.
6613 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6616 I should probably be listed as an author by now.
6618 * docs/random/release:
6619 Update the release doc
6621 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6624 Make docs for gst_value_compare() mention return enums that
6627 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6632 === release 0.10.13 ===
6634 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6637 releasing 0.10.13, "With or without you"
6639 2007-05-25 Wim Taymans <wim@fluendo.com>
6641 * gst/gstbin.c: (bin_handle_async_done):
6642 Make sure that the child bin stops after completing the async state
6643 change so that the parent can continue the state change to PLAYING.
6646 2007-05-25 Wim Taymans <wim@fluendo.com>
6648 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6649 (unref_data), (gst_collect_pads_remove_pad),
6650 (gst_collect_pads_check_pads):
6651 Use additional refcounting to avoid crashes when dynamically adding and
6652 removing pads. Fixes #420206.
6654 2007-05-24 Wim Taymans <wim@fluendo.com>
6656 * tools/gst-launch.c: (event_loop):
6657 When buffering goes from a two digit to a single digit number, make sure
6658 to remove the old second digit by writing a blank over it.
6660 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6662 * libs/gst/base/gstdataqueue.c:
6663 Eliminate tabs and trailing comma in enum list; fix some typos.
6665 2007-05-24 Wim Taymans <wim@fluendo.com>
6667 * tests/check/gst/gstbin.c: (GST_START_TEST):
6668 Allow refcount of 3 and 4 because some state thread might still be busy
6671 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6673 * plugins/elements/Makefile.am:
6674 * plugins/elements/gstmultiqueue.h:
6675 * plugins/elements/gstqueue.h:
6676 These are not installed headers, no need for padding.
6678 2007-05-24 Wim Taymans <wim@fluendo.com>
6680 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6681 (gst_bin_continue_func):
6682 Enable latency for next release.
6683 Restore STATE_LOCK around recalc_state that was left out during the
6684 rewrite and could result in racy behaviour when _get_state and
6685 recalc_state are run concurrently. See #440463.
6687 2007-05-23 Wim Taymans <wim@fluendo.com>
6689 * tests/check/gst/gstsystemclock.c: (store_callback),
6691 Improve test_async_order to also work when both timers are already
6692 expired when we get scheduled to check it.
6694 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6696 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6697 (gst_bin_set_property), (gst_bin_get_property),
6698 (gst_bin_remove_func), (gst_bin_handle_message_func):
6700 'private' is a c++ keyword, let's not use that in header files,
6701 otherwise c++ compilers will throw a tantrum.
6703 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6705 * plugins/elements/gstelements.c:
6706 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6707 (gst_file_sink_get_current_offset):
6708 * plugins/indexers/gstindexers.c: (plugin_init):
6709 Use #ifdef for HAVE_XYZ for consistency.
6711 * tests/check/Makefile.am:
6712 * tests/check/elements/.cvsignore:
6713 * tests/check/elements/filesink.c: (setup_filesink),
6714 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6715 Add some unit tests for filesink.
6717 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6719 Patch by: Mark Nauwelaerts <manauw at skynet be>
6721 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6722 (gst_file_sink_query), (gst_file_sink_do_seek),
6723 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6724 * plugins/elements/gstfilesink.h:
6725 Fix position reporting; rename data_written member to current_pos to
6726 reflect its real meaning (fixes #412648).
6728 2007-05-22 Edward Hervey <edward@fluendo.com>
6730 * docs/gst/gstreamer-sections.txt:
6731 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6732 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6733 (gst_bin_remove_func), (gst_bin_handle_message_func):
6735 Add a property for bins that handle the state change of their childs.
6738 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6740 * libs/gst/controller/gstinterpolation.c:
6741 Use an array of the correct type when using _get_value_array with
6742 linear interpolation.
6744 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6746 * gst/gstelement.c (gst_element_requires_clock,
6747 gst_element_provides_clock, gst_element_request_pad,
6748 gst_element_class_set_details, gst_element_class_set_details_simple,
6749 gst_element_default_send_event, gst_element_abort_state,
6750 gst_element_continue_state, gst_element_set_state,
6751 gst_element_set_state_func, iterator_activate_fold_with_resync):
6752 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6753 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6754 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6755 gst_pad_get_range, gst_pad_pull_range):
6756 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6757 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6758 GstPadActivateModeFunction, GstPadChainFunction,
6759 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6760 GstPadFixateCapsFunction, GstPadTemplate):
6761 * gst/gstpipeline.c (gst_pipeline_change_state,
6762 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6763 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6764 gst_pipeline_get_delay):
6765 Whitespace and docs fixes.
6767 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6769 * libs/gst/controller/gstinterpolation.c:
6770 (interpolate_trigger_get_enum_value_array),
6771 (interpolate_trigger_get_string_value_array):
6772 Add support for retrieving value arrays when using the trigger
6775 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6777 * libs/gst/controller/gstcontroller.c:
6778 (gst_controller_get_value_array):
6779 * libs/gst/controller/gstcontroller.h:
6780 Clarify the docs of gst_controller_get_value_array(): The array where
6781 the values should be written to must be allocated as there seems to be
6782 no way to get the size of a random GType. This doesn't change any
6783 behaviour. Also fix some typos all over the place and remove an unused,
6784 commented function that is not necessary as g_object_set() could be
6786 * tests/check/libs/controller.c: (GST_START_TEST),
6787 (gst_controller_suite):
6788 Add unit test for gst_controller_get_value_array().
6790 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6792 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6794 Disable part of the gst_buffer_try_new_and_alloc test, because
6795 it can happily succeed on 64-bit systems where there's more address
6798 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6800 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6801 Add unit test for the improved caps checking from bug #421543.
6803 2007-05-21 Wim Taymans <wim@fluendo.com>
6805 * docs/design/part-synchronisation.txt:
6808 * gst/gstbin.c: (gst_bin_query):
6809 * plugins/elements/gstqueue.c: (apply_segment):
6815 2007-05-21 Wim Taymans <wim@fluendo.com>
6817 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6818 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6819 (gst_pad_configure_src):
6820 Added simple version of improved caps checking. It was previously
6821 assumed that a setcaps function would check the validity of the caps but
6822 people prefer us to check caps against the template automatically.
6825 2007-05-21 Wim Taymans <wim@fluendo.com>
6827 * libs/gst/base/gstbasetransform.h:
6828 Fix macro for locking/unlocking the transform lock.
6830 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6832 * docs/plugins/tmpl/.cvsignore:
6835 2007-05-18 Edward Hervey <edward@fluendo.com>
6837 * plugins/elements/gstqueue.c: (gst_queue_loop):
6838 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6839 for the subtle art of warning a potentially blocking thread that it
6840 should check the source pad return value, and relay the information
6843 2007-05-18 Edward Hervey <edward@fluendo.com>
6845 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6846 Release the queue lock !
6848 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6850 * docs/libs/gstreamer-libs-sections.txt:
6851 Add the two new controller functions to the appropiate places.
6853 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6855 reviewed by: Stefan Kost <ensonic@users.sf.net>
6857 * libs/gst/controller/gstcontroller.c:
6858 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6859 (_gst_controller_get_property), (_gst_controller_set_property),
6860 (_gst_controller_init), (_gst_controller_class_init):
6861 * libs/gst/controller/gstcontroller.h:
6862 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6863 (gst_object_get_control_rate), (gst_object_set_control_rate):
6864 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6865 Add API that provides sync suggestion timestamps for elements that
6866 call gst_object_sync_values() from which those elements can subdivide
6867 their processing loop to get the best results for the controlled
6868 properties. For now it just suggests last_sync + control_rate as
6869 new timestamp but this will be improved in the future.
6871 While doing that change the control-rate property to a GstClockTime
6872 from guint and change it's meaning from samples to nanoseconds as
6873 the GstController doesn't know anything about sampling rate. Strictly
6874 speaking this breaks ABI but as the control-rate property didn't do
6875 anything in the past and as such couldn't be used this should be no
6878 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6880 reviewed by: Stefan Kost <ensonic@users.sf.net>
6882 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6883 (gst_controller_unset_all):
6884 * libs/gst/controller/gstcontrollerprivate.h:
6885 * libs/gst/controller/gstinterpolation.c:
6886 (gst_controlled_property_find_control_point_node):
6887 Save last synced value from the list to continue searching from there
6888 in future syncs. This speeds everything up a bit.
6890 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6892 reviewed by: Stefan Kost <ensonic@users.sf.net>
6894 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6895 (gst_control_point_find), (gst_controlled_property_new),
6896 (gst_control_point_free), (gst_controlled_property_free),
6897 (gst_controller_set), (gst_controller_set_from_list),
6898 (gst_controller_unset), (gst_controller_unset_all),
6899 (gst_controller_sync_values):
6900 * libs/gst/controller/gstcontroller.h:
6901 * libs/gst/controller/gstcontrollerprivate.h:
6902 * libs/gst/controller/gstinterpolation.c:
6903 (gst_controlled_property_find_control_point_node),
6904 (interpolate_none_get), (interpolate_trigger_get):
6905 Add a new private GstControlPoint struct which "inherits" from
6906 GstTimedValue to allow different interpolators to store internal
6907 values next to each control point. From the outside everything is
6908 still a GstControlPoint so we don't loose binary compatibility.
6909 Also fixup all the GValue handling to not leak GValues or list nodes.
6910 * tests/check/libs/controller.c: (GST_START_TEST):
6911 Free the list nodes and GValues in the controller_misc test.
6913 2007-05-17 Edward Hervey <edward@fluendo.com>
6918 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6920 * gst/gstplugin.c: (gst_plugin_load_file):
6921 If we fail to load a plugin because of unresolved symbols or missing
6922 libraries and spew a warning to stderr, we may just as well mention
6923 which plugin it was that failed to load.
6925 2007-05-13 David Schleef <ds@schleef.org>
6927 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6928 handles the case when ENABLE_GTK_DOC is false, and installs
6929 the prebuilt documentation. So gtk-doc subdirs are
6930 unconditionally enabled. Fixes: #349099.
6932 2007-05-13 David Schleef <ds@schleef.org>
6934 * gst/gstutils.h: Reword some documentation.
6936 2007-05-12 David Schleef <ds@schleef.org>
6938 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6939 do anything with the passed "module" parameter, so remove it.
6940 Allows removal of additional vestigal code.
6942 2007-05-12 David Schleef <ds@schleef.org>
6945 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6946 Switch to using g_stat() because it's more portable.
6948 2007-05-12 David Schleef <ds@schleef.org>
6951 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6952 parsing for embedded systems.
6953 * gst/gstelementfactory.c:
6954 Allow gst_element_register() to be called with plugin==NULL.
6955 Did nobody notice that static elements were broken?
6957 2007-05-12 Wim Taymans <wim@fluendo.com>
6959 * tools/gst-launch.c: (event_loop):
6960 Give more interesting info when buffering starts and stops.
6961 Fix case where buffering starts but we fail to update the buffering flag
6962 because the target state is not PLAYING.
6964 2007-05-12 Wim Taymans <wim@fluendo.com>
6966 * plugins/elements/gstqueue.c: (gst_queue_init),
6967 (gst_queue_finalize), (update_time_level), (apply_segment),
6968 (apply_buffer), (gst_queue_locked_flush),
6969 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6970 (gst_queue_handle_sink_event), (gst_queue_chain),
6971 (gst_queue_push_one), (gst_queue_loop):
6972 * plugins/elements/gstqueue.h:
6973 Refactor an cleanup queue a bit.
6974 Do better time level calculations that also work when the srcpad is not
6976 Remove some unneeded debug lines.
6978 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6979 Added testcase for time level measurement.
6980 Try to make some stuff more racefree.
6982 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6984 * gst/gsturi.c: (gst_element_make_from_uri):
6985 Don't leak plugin feature.
6987 * tests/check/Makefile.am:
6988 * tests/check/gst/.cvsignore:
6989 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6990 Add brain-dead unit test.
6992 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6994 Patch by: Jeroen Wouters <woutersj at gmail com>
6996 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6997 Treat protocol strings in a case-insensitive way (#437563).
6999 2007-05-11 Michael Smith <msmith@fluendo.com>
7001 * gst/gstplugin.c: (gst_plugin_load_file):
7002 * gst/gstregistry.c: (gst_registry_scan_path_level):
7003 Don't print a g_warning for any failure to load a shared object.
7004 Instead, push this down into gstplugin.c, and warn _only_ if we
7005 failed to open the module (i.e. failure to link).
7006 Avoids warnings on normal, working, non-plugin .so files.
7008 2007-05-11 Stefan Kost <ensonic@users.sf.net>
7010 * gst/gstplugin.c (gst_plugin_load_file):
7011 * gst/gstregistry.c (GST_CAT_DEFAULT,
7012 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7013 Print a g_warning if there was an error when loading a plugins during
7014 registry scan. The shuld help beginners starting with gst-plugin
7017 2007-05-10 Wim Taymans <wim@fluendo.com>
7019 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7020 (update_time_level), (gst_queue_locked_flush),
7021 (gst_queue_handle_sink_event), (gst_queue_chain),
7022 (gst_queue_push_one), (gst_queue_loop):
7023 * plugins/elements/gstqueue.h:
7024 Be smarter when calculating the current amount of data in the queue by
7025 measuring the difference between start and end timestamps (in running
7026 time) inside the queue. Fixes #432876.
7027 API: GstQueue::pushing to notify elements that we are pushing data again
7028 since the running signal is rather broken for this purpose.
7030 2007-05-10 Stefan Kost <ensonic@users.sf.net>
7032 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7033 gst_queue_base_init, gst_queue_init):
7036 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
7038 * win32/common/libgstreamer.def:
7039 Add new exported functions.
7040 * win32/vs6/grammar.dsp:
7041 Use grammar pre-generated files.
7043 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7045 Based on patch by: Peter Kjellerstedt <pkj at axis com>
7048 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7050 * gst/gstutils.c: (gst_parse_bin_from_description):
7052 Maintain API and ABI when --disable-parse is used. Now that
7053 we have an appropriate error code, we can just return NULL and the
7054 appropriate error when gst_parse_launch() is used despite it having
7055 been disabled (#342564).
7057 * tests/check/Makefile.am:
7058 * tests/check/pipelines/.cvsignore:
7059 * tests/check/pipelines/parse-disabled.c:
7060 Make sure these functions exist and return NULL plus a GError when
7061 --disable-parse is used.
7063 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7065 * tests/benchmarks/complexity.c: (main):
7066 * tests/benchmarks/mass-elements.c: (main):
7067 Set a good example and don't leak messages.
7069 2007-05-06 Stefan Kost <ensonic@users.sf.net>
7071 * docs/gst/Makefile.am:
7072 * docs/libs/Makefile.am:
7073 Correct fixxrefs options.
7075 * docs/plugins/Makefile.am:
7076 * docs/plugins/gstreamer-plugins-docs.sgml:
7077 * docs/plugins/gstreamer-plugins-sections.txt:
7078 * plugins/elements/Makefile.am:
7079 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7080 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7081 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7082 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7083 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7084 _GstCapsFilterClass, trans_class):
7085 * plugins/elements/gstelements.c (name, rank, type, _elements):
7086 * plugins/elements/gstidentity.c
7087 (gst_identity_check_imperfect_timestamp,
7088 gst_identity_check_imperfect_offset):
7089 Document capsfilter and add doc-blurb to identity.
7091 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7093 * libs/gst/controller/gstcontroller.c:
7094 (gst_controlled_property_set_interpolation_mode):
7095 * libs/gst/controller/gstinterpolation.c:
7096 Don't crash if someone tries to set an interpolation mode that
7097 is invalid or that isn't supported yet. Fixes #422295.
7099 * tests/check/libs/controller.c: (GST_START_TEST),
7100 (gst_controller_suite):
7101 Add a test case for the above.
7103 2007-05-03 Edward Hervey <edward@fluendo.com>
7105 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7106 Properly set the last_stop position on GstSegment. This will only happen
7107 if there is a buffer to push out.
7109 2007-05-03 Wim Taymans <wim@fluendo.com>
7111 * libs/gst/base/gstbasetransform.c:
7112 (gst_base_transform_buffer_alloc):
7113 always_in_place does not mean that the sink and source caps are the
7114 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7116 2007-05-03 Wim Taymans <wim@fluendo.com>
7118 * docs/libs/gstreamer-libs-sections.txt:
7119 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7120 (gst_base_src_default_query), (gst_base_src_get_range):
7121 * libs/gst/base/gstbasesrc.h:
7122 API: gst_base_src_query_latency(). Added method so that subclasses can
7123 easily get the latency values of the base source class.
7125 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7127 * tools/gst-inspect.c (print_implementation_info):
7130 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7132 * tools/Makefile.am:
7133 * tools/gst-launch.1.in:
7134 Don't create a customised man page based on the host architecture,
7135 describe the default registry path generically. That way the man
7136 page is the same for all architectures and packagers have one
7137 multilib issue less to deal with. Fixes #434926.
7139 2007-05-02 Wim Taymans <wim@fluendo.com>
7142 Fix documentation as spotted by rg on IRC.
7144 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7147 Improve docs for gst_element_{link,unlink}.
7149 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7151 * docs/design/part-events.txt:
7152 * docs/design/part-overview.txt:
7156 * libs/gst/base/gstbasesink.c:
7157 Typo fixes; minor docs addition.
7159 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7161 * docs/gst/gstreamer-sections.txt:
7162 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7163 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7165 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7166 or src that supports a given URI protocol exists.
7168 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7170 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7171 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7172 Set the location to NULL if "file://" is set as URI. Otherwise
7173 some random previous URI would still be set if "file://" is
7174 set on an already used filesink/filesrc.
7176 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7178 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7179 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7180 Special case the "file://" URI as as this is used by some
7181 applications to test with gst_element_make_from_uri if there's
7182 an element that supports the URI protocol.
7183 Also move the g_path_is_absolute() check for the location part
7184 of the URI to also check this for "file://localhost/bla" URIs.
7186 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7188 * docs/gst/gstreamer-sections.txt:
7189 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7191 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7193 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7195 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7197 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7198 (gst_registry_binary_load_pad_template),
7199 (gst_registry_binary_load_plugin),
7200 (gst_registry_binary_read_cache):
7201 * gst/gstregistrybinary.h:
7202 Implement no-mmap alternative for registry reading. Do code cleanups.
7203 Add more comments about avoiding strdups for all text data. Comments
7206 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7208 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7209 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7210 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7211 Comment structs and reformat to fix the build (that stuff should go
7212 into a priv. header).
7214 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7216 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7217 (gst_registry_binary_load_feature):
7218 * gst/gstregistrybinary.h:
7219 Refactor so that we can implement multiple features. Add support for
7220 TypeFindFactory features.
7222 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7224 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7227 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7229 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7231 * gst/gstbin.c: (gst_bin_element_set_state),
7232 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7233 (bin_handle_async_done), (gst_bin_handle_message_func):
7234 Fix build with --gst-disable-gst-debug
7236 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7238 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7239 Make sure streaming has finished before calling the ::stop() vfunc,
7240 since that vfunc might clear state which is being used in the
7241 streaming thread. This fixes a race that caused crashes in
7242 audioresample when shutting down a pipeline (#420106).
7244 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7246 * docs/gst/gstreamer-sections.txt:
7247 That was one byte missing.
7249 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7252 * docs/gst/gstreamer-sections.txt:
7254 * gst/gstconfig.h.in:
7255 * gst/gstobject.c: (gst_object_class_init),
7256 (gst_signal_object_class_init):
7258 2nd attempt to have a xml-less build as a joined effort of #413123
7261 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7263 * docs/design/draft-tagreading.txt:
7264 Added open issues/thoughts to draft.
7266 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7268 * gst/parse/grammar.tab.pre.c:
7269 * gst/parse/grammar.tab.pre.h:
7270 * gst/parse/lex._gst_parse_yy.pre.c:
7271 Update the prebuild parser sources.
7273 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7275 * gst/parse/Makefile.am:
7276 And now fix the building of the flex sources. Now everything should
7279 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7281 * gst/parse/Makefile.am:
7282 Now hopefully fix the build failures by setting proper rule
7283 dependencies and moving instead of copying.
7285 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7287 * tests/benchmarks/complexity.gnuplot:
7288 * tests/benchmarks/complexity.scm:
7289 * tests/benchmarks/mass-elements.gnuplot:
7290 * tests/benchmarks/mass-elements.scm:
7291 Total licensification.
7293 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7295 * gst/parse/Makefile.am:
7296 Fix the build by correcting the rule that gave wrong files to flex.
7298 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7300 * tests/benchmarks/complexity.c:
7301 * tests/benchmarks/mass-elements.c:
7302 Change licence to LGPL as granted by Benjamin and Andy.
7304 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7306 * gst/parse/Makefile.am:
7307 Add correct grammar.tab.h dependency if compiling without new enough
7308 flex. Fixes #431150.
7310 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7312 * gst/parse/Makefile.am:
7313 Fix typo and use outdated sources if the flex/bison sources are newer
7314 than the pregenerated ones but flex is too old. Print a warning in
7315 that case. This should fix the build on the build bot.
7317 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7319 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7320 * gst/parse/Makefile.am:
7321 * gst/parse/grammar.y:
7322 * gst/parse/parse.l:
7323 Make the parser reentrant and recursively callable. This requires flex
7324 >= 2.5.31, for older versions pregenerated sources are used as we
7325 can't bump the build dependency. Finally fixes #349180.
7327 * gst/gstparse.c: (gst_parse_launch):
7328 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7331 * docs/gst/Makefile.am:
7332 * docs/gst/Makefile.am:
7333 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7334 (__gst_parse_strfree), (__gst_parse_link_new),
7335 (__gst_parse_link_free), (__gst_parse_chain_new),
7336 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7337 (gst_parse_element_set), (gst_parse_free_link),
7338 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7339 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7340 (_gst_parse_launch):
7341 * gst/parse/grammar.tab.pre.h:
7342 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7343 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7344 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7345 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7346 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7347 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7348 (_gst_parse_yypop_buffer_state),
7349 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7350 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7351 (yy_fatal_error), (_gst_parse_yyget_extra),
7352 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7353 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7354 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7355 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7356 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7357 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7358 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7359 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7360 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7361 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7362 (_gst_parse_yyfree):
7363 If the installed flex version is too old use pre-generated parser
7364 sources. These pre-generated parser sources are always updated when
7365 the actual flex/bison sources change but require everybody who wants
7366 to change something in the parser to have flex >= 2.5.31 installed.
7368 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7370 * common/m4/gst-gettext.m4:
7371 * gst/gst-i18n-lib.h:
7372 Make --disable-nls to work
7374 2007-04-17 Wim Taymans <wim@fluendo.com>
7376 * gst/gstconfig.h.in:
7377 Revert previous change that broke the build.
7379 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7383 * gst/gstconfig.h.in:
7384 Drop libxml2 dependency when building with
7385 --enable-binary-registry --disable-loadsave
7387 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7389 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7390 (gst_registry_binary_read_cache):
7391 * gst/gstregistrybinary.h:
7392 Remove unnecessary <sys/mman.h> include which broke the win32 build
7393 with MingW; move includes from header file to .c file, even if the
7394 header file isn't installed; use g_strerror() where UTF-8 strings
7395 are expected, such as in GST_DEBUG messages.
7397 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7399 * docs/libs/gstreamer-libs-sections.txt:
7400 Remove bogus addition for API I didn't end up keeping.
7402 * libs/gst/base/gstbasesrc.h:
7403 Mention Since: 0.10.13 in the documentation.
7405 Add the API keyword to the previous ChangeLog entry.
7407 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7409 * docs/libs/gstreamer-libs-sections.txt:
7410 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7411 (gst_base_src_default_prepare_seek_segment),
7412 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7413 * libs/gst/base/gstbasesrc.h:
7414 Allow basesrc derived classes to execute seeks in other formats
7415 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7416 to prepare the GstSegment in any format that their perform_seek method
7417 will be able to understand. The default implementation provides the
7418 old behaviour of attempting to convert the seek offsets to the
7419 configured native format.
7421 API: basesrc::prepare_seek_segment vmethod.
7423 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7425 * gst/gstelement.c: (gst_element_get_state_func):
7426 Don't output the same debug statement twice.
7428 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7429 (gst_adapter_peek), (gst_adapter_take_buffer):
7430 Optimise the case where we have buffers at the head of the queue that
7431 can be joined quickly (because they're contiguous sub-buffers) by
7432 merging them together rather than copying data out into new memory.
7434 * gst/parse/grammar.y:
7435 * tests/check/pipelines/parse-launch.c:
7436 Fix a leak in an error path for parse_launch, and add a check
7437 for it to the testsuite.
7439 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7441 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7442 Don't deadlock when releasing a pad - gst_pad_set_active may try
7443 and take the multiqueue lock too.
7445 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7447 * gst/gsterror.c: (_gst_core_errors_init):
7449 API: add GST_CORE_ERROR_DISABLED (#392804).
7451 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7453 * docs/faq/gst-uninstalled:
7454 don't get empty paths on the PATH variables
7455 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7456 Don't format for the uncommon terminal width of 84 characters.
7458 2007-04-06 Wim Taymans <wim@fluendo.com>
7460 * gst/gstpipeline.c: (reset_stream_time),
7461 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7462 Only try to select a different pipeline clock when we went back to
7463 PAUSED and not when we merely got flushed.
7465 2007-04-05 Michael Smith <msmith@fluendo.com>
7467 * tools/gst-launch.1.in:
7468 fractions are better supported in gstreamer than ractions, so
7469 suggest using those.
7471 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7473 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7477 Added Danish translation.
7479 2007-04-05 Wim Taymans <wim@fluendo.com>
7481 * libs/gst/base/gstbasesink.c:
7482 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7483 Fix leak caused when refusing newsegment after EOS.
7485 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7486 (gst_fake_sink_init), (gst_fake_sink_set_property),
7487 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7488 (gst_fake_sink_render), (gst_fake_sink_change_state):
7489 * plugins/elements/gstfakesink.h:
7490 Add num-buffers property to make the element generate EOS after a
7491 configurable amount of buffers.
7492 API: fakesink::num-buffers property.
7494 * tests/check/elements/fakesink.c: (GST_START_TEST),
7496 Fix GstBus leak in test.
7497 Test for fakesink num-buffers.
7499 2007-04-05 Wim Taymans <wim@fluendo.com>
7501 * libs/gst/base/gstbasesink.c:
7502 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7503 (gst_base_sink_change_state):
7504 Don't accept anything after an EOS, return UNEXPECTED instead.
7506 * tests/check/elements/fakesink.c: (GST_START_TEST),
7508 Unit test for new EOS behaviour.
7510 2007-04-05 Wim Taymans <wim@fluendo.com>
7512 * gst/gstelement.c: (gst_element_get_request_pad):
7513 Make padtemplates also work when they don't contain %s or %d.
7515 2007-04-05 Wim Taymans <wim@fluendo.com>
7517 * docs/gst/gstreamer-sections.txt:
7518 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7519 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7521 Improve _adjust_unlocked() so that it overflows less.
7522 Add gst_clock_unadjust_unlocked to convert from external time to
7523 internal time based on calibration.
7524 Add some more debug.
7525 API: GstClock::gst_clock_unadjust_unlocked()
7527 2007-04-03 Wim Taymans <wim@fluendo.com>
7529 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7531 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7532 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7533 when releasing sink pad. Fixes #425400.
7535 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7537 * docs/random/ensonic/dynlink.txt:
7538 More work on proposal for new core api.
7540 * docs/libs/gstreamer-libs-sections.txt:
7541 * libs/gst/base/gstbasetransform.h:
7542 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7544 * libs/gst/controller/gstcontroller.c:
7545 (on_object_controlled_property_changed),
7546 (gst_controller_sync_values),
7547 (gst_controller_set_interpolation_mode):
7548 * libs/gst/controller/gstcontroller.h:
7549 Less verbose logging add docs for unimplemented parts and correctly
7550 return when using unavailable parts.
7552 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7554 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7555 Move all the debug to the CLOCK category, and associate it with
7558 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7560 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7561 Make take_buffer a bit quicker by removing redundant checks
7562 caused by calling gst_adapter_take.
7564 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7566 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7569 * tests/check/Makefile.am:
7570 * tests/check/elements/.cvsignore:
7571 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7572 (GST_START_TEST), (multiqueue_suite):
7573 Add some dead simple unit tests for the 'multiqueue' element
7574 (some bits don't work yet and are disabled for now).
7576 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7578 * gst/gstelement.c: (gst_element_get_request_pad),
7579 (gst_element_class_get_request_pad_template):
7580 Make gst_element_get_request_pad() create request pads only for
7581 request pad templates and not for, say, sometimes pad templates.
7583 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7585 * docs/design/draft-klass.txt:
7586 Add example that needs more thinking.
7588 * docs/design/draft-missing-plugins.txt:
7589 More thoughts about wrapper plugins.
7591 * docs/random/ensonic/embedded.txt:
7592 * docs/random/ensonic/profiling.txt:
7595 2007-03-25 Wim Taymans <wim@fluendo.com>
7597 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7598 (gst_base_src_loop):
7599 Only push the segment events in the PLAYING state for live sources.
7601 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7603 * gst/gstpipeline.c: (gst_pipeline_change_state):
7604 Modify the clock distribution path in PAUSED->PLAYING so that we
7605 never attempt to choose a new clock unless we're actually leaving
7606 the PAUSED state for the first time. This prevents choosing a
7607 different clock when the state_change gets called for a 2nd time due
7608 to some element doing an async state change.
7610 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7612 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7613 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7614 (gst_pad_chain_unchecked), (gst_pad_push):
7615 Revert last commit. This needs some more thoughts.
7617 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7619 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7620 (gst_pad_chain_unchecked), (gst_pad_push):
7621 Check in set_caps if the caps are compatible with the pad and remove
7622 two functions that are redundant now. Fixes #421543.
7624 2007-03-22 Wim Taymans <wim@fluendo.com>
7626 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7627 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7628 Unref some more to make valgrind happy.
7630 2007-03-22 Wim Taymans <wim@fluendo.com>
7632 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7633 (gst_system_clock_id_wait_jitter),
7634 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7635 Fix anoying regression that survived a few releases. When adding an
7636 async entry while blocking on a sync entry, the sync entry will unblock
7637 but still be busy, so it should continue to wait instead of returning
7639 Add some comments here and there.
7641 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7642 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7643 Add testcase for this.
7645 2007-03-22 Wim Taymans <wim@fluendo.com>
7647 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7648 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7649 WRONG_STATE and can silently pause the task. All other cases should
7652 2007-03-22 Wim Taymans <wim@fluendo.com>
7654 Patch by: Ville Syrjala <syrjala at sci dot fi>
7656 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7657 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7660 2007-03-21 Michael Smith <msmith@fluendo.com>
7662 * docs/pwg/advanced-types.xml:
7663 Fix some errors in the typefinding docs pointed out on irc.
7665 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7667 * libs/gst/base/gstbasesrc.c:
7668 Clarify FIXME comment in the face of having added unlock_stop()
7670 2007-03-21 Wim Taymans <wim@fluendo.com>
7672 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7673 Prepare for release where we warn against possible app breakage in the
7674 case of live pipelines along with an env var to enable/disable live
7675 preroll mode (GST_COMPAT=[no-]live-preroll).
7677 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7679 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7680 So we should use correct constants for checking for None offset.
7682 2007-03-20 Wim Taymans <wim@fluendo.com>
7684 * docs/design/part-block.txt:
7685 Mention the fact that the newly switched element should be set to at
7688 2007-03-20 Wim Taymans <wim@fluendo.com>
7691 Fix compilation with registry disabled as spotted by Saur.
7693 2007-03-20 Wim Taymans <wim@fluendo.com>
7695 Patch by: Olivier Crete <tester at tester dot ca>
7697 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7698 Look at the pending state too when syncing the element state to the
7699 parent. Fixes #420133.
7701 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7703 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7704 (gst_base_sink_change_state):
7705 * libs/gst/base/gstbasesink.h:
7706 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7707 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7708 (gst_base_src_deactivate):
7709 * libs/gst/base/gstbasesrc.h:
7710 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7711 for sub-classes to correctly clear any state they set trying to
7712 unlock, such as clearing out unlock commands from a command fd.
7713 API: basesrc::unlock_stop
7714 API: basesink::unlock_stop
7716 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7717 (gst_fd_sink_render), (gst_fd_sink_unlock),
7718 (gst_fd_sink_unlock_stop):
7719 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7720 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7721 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7723 Implement unlock_stop in fdsrc and fdsink.
7724 Implement seeking in fdsrc when a seekable fd is passed, as in
7725 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7727 2007-03-19 Wim Taymans <wim@fluendo.com>
7729 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7731 * gst/gstelement.c: (gst_element_class_init):
7732 Fix pad-added and pad-removed signal signatures so that the pad type is
7733 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7735 2007-03-19 Wim Taymans <wim@fluendo.com>
7737 * docs/gst/gstreamer-sections.txt:
7738 Add new element field and method.
7740 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7741 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7742 (gst_bin_recalc_state), (gst_bin_get_state_func),
7743 (gst_bin_element_set_state), (gst_bin_change_state_func),
7744 (gst_bin_continue_func), (bin_bus_handler),
7745 (bin_push_state_continue), (bin_handle_async_start),
7746 (bin_handle_async_done), (gst_bin_handle_message_func):
7747 Make async state changes a bit smarter by using new ASYNC_START and
7748 ASYNC_DONE messages. This reduces the number of times we run the state
7749 recalculation thread.
7750 Don't change state of element with a pending ASYNC_START message.
7751 Deprecate STATE_DIRTY messages.
7753 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7754 (gst_element_get_state_func), (gst_element_continue_state),
7755 (gst_element_lost_state), (gst_element_set_state_func),
7756 (gst_element_change_state):
7758 Keep the state that was last set by the app in a new element field.
7759 Don't allow state changes when handling an element event.
7760 Post ASYNC_START and ASYNC_DONE messages.
7761 Change lost_state so that we go to PAUSED and wait for the parent to set
7762 us to PLAYING again (so latency calculation can be performed)
7763 Export gst_element_change_state() method so that subclasses can use it.
7764 API: gst_element_change_state()
7765 API: GST_STATE_TARGET
7767 * gst/gstpipeline.c: (gst_pipeline_class_init),
7768 (reset_stream_time), (gst_pipeline_change_state),
7769 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7770 Using the new ASYNC_START message we can reset the base_time when
7771 needed. This can then be used to implement base_time redistribution in
7772 flushing seeks so that we can remove the explicit seek handling.
7773 Perform latency query and configuration when going to PLAYING.
7775 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7776 (gst_base_sink_query), (gst_base_sink_change_state):
7777 Post new ASYNC_START/ASYNC_DONE messages.
7779 * tests/check/generic/sinks.c: (GST_START_TEST):
7780 Fix test because the bin will not set the async element to PLAYING right
7783 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7784 Make the message check a little stronger.
7785 Handle ASYNC messages.
7787 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7788 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7789 Expect ASYNC_DONE messages.
7791 2007-03-19 Wim Taymans <wim@fluendo.com>
7793 * docs/gst/gstreamer-sections.txt:
7794 * gst/gstmessage.c: (gst_message_new_async_start),
7795 (gst_message_new_async_done), (gst_message_parse_info),
7796 (gst_message_parse_async_start):
7798 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7801 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7803 * tools/gst-inspect.c:
7804 (print_plugin_automatic_install_info_codecs):
7805 Now that we don't check for the 'Codec' keyword any longer in the
7806 klass, we shouldn't spew a warning if the klass isn't a decoder or
7807 encoder (since it might be a Source/Network, for example).
7809 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7811 * tools/gst-inspect.c:
7812 (print_plugin_automatic_install_info_codecs):
7813 Don't require decoder/demuxer/depayloader elements or
7814 encoder/muxer/paylader elements to have 'Codec' as part of their
7815 factory class string when introspecting a plugin's capabilities.
7816 draft-klass.txt mentions that it might be removed in future, and
7817 flump3dec doesn't have it as part of its class string, so chances
7818 are others might also not have it.
7820 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7842 Update translations from translation project
7844 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7846 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7847 (gst_child_proxy_set_property):
7848 Invert precondition check to be alike the ones in the mimiced gobject
7851 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7853 * docs/design/draft-tagreading.txt:
7854 * docs/random/ensonic/audiobaseclasses.txt:
7855 Do some Architect work.
7857 * gst/gstobject.c: (gst_object_set_name):
7861 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7863 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7865 * gst/gstsystemclock.c: (gst_system_clock_init),
7866 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7867 Defer starting the async system clock thread until the first async
7868 wait is scheduled. Fixes #414986.
7870 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7872 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7873 (gst_single_queue_free):
7874 Fix small leak (free GstSingleQueue structure too, not only contents).
7876 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7878 * gst/gstbin.c:(gst_bin_add):
7879 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7880 * win32/common/libgstbase.def:
7881 * win32/common/libgstreamer.def:
7882 Add new exported functions.
7884 2007-03-09 Wim Taymans <wim@fluendo.com>
7886 * docs/plugins/gstreamer-plugins-sections.txt:
7889 2007-03-09 Wim Taymans <wim@fluendo.com>
7891 * docs/gst/gstreamer-sections.txt:
7892 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7894 Add metadata copy functions. Fixes #393099.
7895 API: gst_buffer_copy_metadata()
7897 * gst/gstutils.c: (gst_buffer_stamp):
7898 * libs/gst/base/gstbasetransform.c:
7899 (gst_base_transform_prepare_output_buffer):
7900 Use new metadata copy functions.
7902 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7904 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7905 (gst_identity_init), (gst_identity_check_perfect),
7906 (gst_identity_check_imperfect_timestamp),
7907 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7908 (gst_identity_set_property), (gst_identity_get_property):
7909 * plugins/elements/gstidentity.h:
7910 Separate out check-imperfect-timestamp and check-imperfect-offset.
7911 Put back check-perfect as it was to keep compatibility.
7913 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7915 * gst/gstelement.c: (gst_element_dispose):
7916 There's no need to warn if VOID_PENDING is not NONE here, as
7917 long as the state is NULL it's ok, and that's checked immediately
7920 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7922 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7923 Fix check for perfect stream to ignore buffers with -1
7924 offsets/offset ends when checking data contiguity.
7926 2007-03-08 Wim Taymans <wim@fluendo.com>
7928 * tools/gst-launch.c: (event_loop):
7929 Print INFO messages.
7931 2007-03-08 Wim Taymans <wim@fluendo.com>
7933 * libs/gst/base/gstbasetransform.c:
7934 (gst_base_transform_sink_eventfunc),
7935 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7936 (gst_base_transform_activate):
7937 * libs/gst/base/gstbasetransform.h:
7938 Add support for dropping buffers with custom GstFlowReturn.
7939 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7940 buffers or dropped buffers.
7942 * docs/libs/gstreamer-libs-sections.txt:
7943 docs for new custom return code.
7945 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7946 Use drop support in base class to implement drop-probability.
7948 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7950 * gst/gst.c: (load_plugin_func):
7951 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7952 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7953 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7954 Remove newlines at end of debug log strings.
7956 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7958 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7959 Only post bus message at max, once per buffer received.
7961 2007-03-07 Wim Taymans <wim@fluendo.com>
7963 * docs/design/Makefile.am:
7964 * docs/design/part-synchronisation.txt:
7965 Add doc about synchronisation
7967 * docs/design/draft-latency.txt:
7968 * docs/design/part-TODO.txt:
7969 * docs/design/part-clocks.txt:
7970 * docs/design/part-events.txt:
7971 * docs/design/part-gstbus.txt:
7972 * docs/design/part-gstpipeline.txt:
7973 * docs/design/part-live-source.txt:
7974 * docs/design/part-messages.txt:
7975 * docs/design/part-overview.txt:
7976 * docs/design/part-streams.txt:
7977 * docs/design/part-trickmodes.txt:
7978 Documentation updates.
7980 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7983 Update the doap file.
7985 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7987 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7988 Rename non-perfect to imperfect for Mike and for the sanctity of the
7990 Also make sure bus message gets emitted for data-incontiguities.
7992 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7994 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7995 (gst_identity_start):
7996 * plugins/elements/gstidentity.h:
7997 Emit bus message if check-perfect is true and we encounter a
7998 non-perfect stream between 2 consecutive buffers.
8001 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8006 === release 0.10.12 ===
8008 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8011 releasing 0.10.12, "Inevitable Demise"
8013 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
8016 Version 0.10.11.2 (0.10.12 pre-release)
8017 Bump libtool versioning.
8019 2007-03-01 Stefan Kost <ensonic@users.sf.net>
8021 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8022 Log flow-names and not numbers.
8024 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8027 Convert to new AG_GST style.
8029 2007-02-28 Wim Taymans <wim@fluendo.com>
8031 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8032 Don't unref query twice.
8034 2007-02-28 Wim Taymans <wim@fluendo.com>
8036 * gst/gstvalue.c: (gst_value_transform_object_string),
8037 (_gst_value_initialize):
8038 Implement GstObject -> string transform so we print object names
8039 when serializing GValues containing GstObjects.
8041 2007-02-28 Wim Taymans <wim@fluendo.com>
8043 * docs/gst/gstreamer-sections.txt:
8044 Add new stuff to docs.
8046 2007-02-28 Wim Taymans <wim@fluendo.com>
8048 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8049 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8050 (gst_base_sink_change_state):
8051 Improve latency query code.
8052 Don't leak latency events.
8054 * tests/check/gst/gstbin.c: (GST_START_TEST):
8057 2007-02-28 Wim Taymans <wim@fluendo.com>
8059 * gst/gstelement.c: (gst_element_message_full),
8060 (gst_element_get_state_func):
8062 Improve docs a little. Added Since: for new macro.
8064 * gst/gstobject.c: (gst_object_sink):
8065 * gst/gstpipeline.c: (gst_pipeline_change_state),
8066 (gst_pipeline_set_new_stream_time):
8067 * gst/gstpipeline.h:
8068 Improve debugging and docs.
8070 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8073 2007-02-28 Wim Taymans <wim@fluendo.com>
8075 * gst/gstelement.c: (gst_element_message_full),
8076 (gst_element_set_locked_state), (gst_element_get_state_func),
8077 (gst_element_change_state):
8078 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8079 Documentation updates.
8080 Small code cleanups.
8082 * gst/gstmessage.c: (gst_message_new_info),
8083 (gst_message_parse_info):
8085 API: gst_message_new_info()
8086 API: gst_message_parse_info()
8087 Add INFO message create and parse code.
8089 2007-02-28 Wim Taymans <wim@fluendo.com>
8091 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8092 (bin_query_latency_done):
8093 Also report the live parameter of a latency query.
8095 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8097 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8098 Copy the current generic/states example from -base and adapt so
8099 we can use the exact same code everywhere.
8100 Check a STATES_IGNORE_ELEMENTS env var which can be used
8101 to ignore certain element factories for this test, which is
8102 what is being done in -base
8103 * tests/check/Makefile.am:
8104 Mention this environment variable.
8106 2007-02-27 Wim Taymans <wim@fluendo.com>
8108 * docs/gst/gstreamer-sections.txt:
8109 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8110 (gst_bus_timed_pop), (gst_bus_pop):
8112 API: gst_bus_timed_pop()
8113 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8114 message to arrive on the bus.
8116 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8118 Two unit tests for new _timed_pop() function.
8120 2007-02-23 Wim Taymans <wim@fluendo.com>
8122 * gst/gstpipeline.c: (gst_pipeline_change_state),
8123 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8124 Don't ref a NULL clock in _provide_clock_func().
8125 Don't allow an INVALID delay.
8126 Don't try to calculate base_time with an invalid start_time.
8127 Also distribute and notify a NULL clock when it was selected.
8129 * tools/gst-launch.c: (event_loop):
8130 Don't crash when a NULL clock was selected in the pipeline.
8132 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8134 * docs/design/Makefile.am:
8135 * docs/design/draft-missing-plugins.txt:
8136 * docs/random/draft-missing-plugins.txt:
8137 Some small updates: update plugin system identifier prefix
8138 ('gstreamer.net' to 'gstreamer'), mention our new install
8139 API in libgstbaseutils rather than libgimme-codec, add
8140 reference to the online docs.
8142 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8144 * win32/common/config.h:
8145 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8146 use moap cl ci to only check in what is mentioned in the ChangeLog.
8148 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8150 * docs/gst/gstreamer-sections.txt:
8152 Fix up documentation to link to the correct GstGError section.
8153 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8155 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8157 * tools/gst-launch.c: (event_loop):
8158 Make sure that we actually show the important message part of a
8160 No need to check if the gerror is not NULL to free; first of all
8161 g_free accepts NULL; and second the default error handler would
8162 segfault if gerror was NULL.
8164 2007-02-21 Wim Taymans <wim@fluendo.com>
8166 * docs/gst/gstreamer-sections.txt:
8167 Removed docs as well.
8169 2007-02-21 Wim Taymans <wim@fluendo.com>
8171 * gst/gstmessage.c: (gst_message_parse_duration):
8173 Remove new messages for release.
8175 2007-02-20 Wim Taymans <wim@fluendo.com>
8177 * docs/design/part-gstghostpad.txt:
8178 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8179 (gst_ghost_pad_new_full):
8180 Make the ghostpad a parent of the internal pad again for better backward
8181 compatibility. Don't write code that relies on this however.
8183 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8184 (gst_pad_link_check_hierarchy):
8185 Require that parents should be GstElements in the hierarchy check.
8187 2007-02-20 Wim Taymans <wim@fluendo.com>
8189 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8190 (gst_bin_change_state_func), (bin_query_min_max_init),
8191 (bin_query_latency_fold), (bin_query_latency_done),
8194 Implement latency query.
8196 2007-02-20 Wim Taymans <wim@fluendo.com>
8198 * docs/design/part-gstghostpad.txt:
8199 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8200 (gst_ghost_pad_internal_do_activate_push),
8201 (gst_ghost_pad_internal_do_activate_pull),
8202 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8203 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8204 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8205 Do not set the internal pad as a parent anymore so we can avoid
8206 hierarchy linking errors when the ghostpad has no parent yet. This also
8207 fixes failed activation because of unlinked internal pads, which in
8208 turn fixes the impossible case where you have to activate a pad before
8209 you can add it to a running element.
8212 * gst/gstpad.c: (pre_activate), (post_activate),
8213 (gst_pad_set_active), (gst_pad_activate_pull),
8214 (gst_pad_activate_push), (gst_pad_check_pull_range):
8215 Add some more debug info.
8216 Mark activation mode in pre_activate so that we don't try to activate in
8217 endless loops. Fixes #385084.
8219 2007-02-19 Wim Taymans <wim@fluendo.com>
8221 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8222 (gst_base_transform_check_get_range):
8223 Implement a checkgetrange function instead of relying on the default
8224 core behaviour that assumes we can operate in pull mode if we have a
8225 getrange function. First step at fixing #385084.
8227 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8229 * gst/gstchildproxy.h:
8230 * libs/gst/base/gstbasesink.h:
8231 * libs/gst/base/gstbasesrc.h:
8232 * libs/gst/base/gstbasetransform.h:
8233 More docs coverage and some ChangeLog surgery (add missing names)
8235 2007-02-15 Wim Taymans <wim@fluendo.com>
8237 * docs/design/part-TODO.txt:
8238 * docs/design/part-activation.txt:
8239 * docs/design/part-block.txt:
8240 * docs/design/part-buffering.txt:
8241 * docs/design/part-clocks.txt:
8242 * docs/design/part-element-source.txt:
8243 * docs/design/part-events.txt:
8244 * docs/design/part-gstbin.txt:
8245 * docs/design/part-gstbus.txt:
8246 * docs/design/part-gstpipeline.txt:
8247 * docs/design/part-live-source.txt:
8248 * docs/design/part-messages.txt:
8249 * docs/design/part-overview.txt:
8250 * docs/design/part-qos.txt:
8251 * docs/design/part-query.txt:
8252 * docs/design/part-states.txt:
8253 * docs/design/part-trickmodes.txt:
8254 Some doc updates. Start renaming from stream_time to running_time where
8255 it was used wrongly.
8257 2007-02-15 Wim Taymans <wim@fluendo.com>
8259 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8260 Answer LATENCY query.
8262 2007-02-15 Wim Taymans <wim@fluendo.com>
8264 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8268 2007-02-15 Wim Taymans <wim@fluendo.com>
8270 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8271 (gst_pad_dispatcher):
8272 Improve debugging of default pad dispatcher and query functions.
8274 2007-02-15 Wim Taymans <wim@fluendo.com>
8276 * docs/gst/gstreamer-sections.txt:
8277 Remove old unused method.
8279 2007-02-13 Wim Taymans <wim@fluendo.com>
8281 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8284 2007-02-13 Wim Taymans <wim@fluendo.com>
8286 * docs/design/part-seeking.txt:
8289 * gst/gstsegment.c: (gst_segment_set_seek):
8290 Revert old bogus change that should make seeking work again.
8292 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8294 * docs/random/ensonic/dynlink.txt:
8295 * docs/random/ensonic/interfaces.txt:
8296 * docs/random/ensonic/receipies.txt:
8297 Possible dynamic reconnection api, plus some type fixes the other two
8300 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8302 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8303 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8304 Also check for an absolute path following file:// in the filesrc
8305 element. Remove redundant check and call g_path_is_absolute() on the
8308 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8310 * docs/design/draft-klass.txt:
8311 Add existing category analysis.
8314 Fix doc example, framerate is a fraction.
8316 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8319 * docs/gst/Makefile.am:
8320 * docs/gst/gstreamer-sections.txt:
8321 * docs/libs/Makefile.am:
8322 Erm, forgot a bunch of --extra-dir.
8324 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8327 * docs/gst/Makefile.am:
8328 * docs/libs/Makefile.am:
8329 * docs/plugins/Makefile.am:
8330 Add crossreferences to glib/gobject docs.
8332 2007-02-12 Wim Taymans <wim@fluendo.com>
8334 * docs/design/draft-latency.txt:
8337 * docs/libs/gstreamer-libs-sections.txt:
8338 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8339 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8340 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8341 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8342 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8343 (gst_base_sink_get_position), (gst_base_sink_query),
8344 (gst_base_sink_change_state):
8345 * libs/gst/base/gstbasesink.h:
8346 API: gst_base_sink_query_latency() to let subclasses query the upstream
8348 API: gst_base_sink_get_latency() to let subclasses query the configured
8349 latency in the sink.
8350 Implement query and set latency.
8352 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8353 don't continue preroll when we are flushing. Fixes #405284.
8355 * tests/check/pipelines/stress.c: (change_state_timeout),
8356 (quit_timeout), (GST_START_TEST), (stress_suite):
8359 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8361 Patch by: René Stadler <mail at renestadler de>
8363 * docs/gst/gstreamer-sections.txt:
8364 * gst/gsttaglist.c: (_gst_tag_initialize):
8366 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8368 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8370 * docs/libs/Makefile.am:
8371 Fix path to core docs.
8373 * gst/gstbin.c: (gst_bin_get_by_interface),
8374 (gst_bin_iterate_all_by_interface):
8375 Refix docs by also renaming 'interface' to 'iface' in implementation.
8377 * docs/gst/gstreamer-sections.txt:
8379 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8380 * gst/gstchildproxy.h:
8381 * gst/gstelementfactory.c:
8382 * gst/gstpadtemplate.h:
8383 * libs/gst/controller/gstcontroller.c:
8384 (gst_controlled_property_new):
8387 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8389 * gst/gstbin.h:(gst_bin_get_by_interface),
8390 (gst_bin_iterate_all_by_interface):
8391 Replace interface parameter name by iface as interface is
8392 a reserved keyword in Visual Studio for C++ projects so it removes
8393 a build error for application developpers using VS.
8394 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8395 Fix a bug on Windows in uri format check. Now the prefix checked
8396 is file:// and next we check if the path after file:// is absolute.
8397 * win32/common/libgstbase.def:
8398 * win32/common/libgstdataprotocol.def:
8399 * win32/common/libgstgstreamer.def:
8400 Add new exported functions.
8402 2007-02-09 Andy Wingo <wingo@pobox.com>
8404 * tests/check/pipelines/simple-launch-lines.c
8405 (simple_launch_lines_suite, test_tee): Disable tee test until I
8406 have time to fix it :-(
8408 * tests/check/Makefile.am (noinst_HEADERS):
8409 * tests/check/libs/libsabi.c:
8410 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8411 * tests/check/gst/gstabi.c:
8412 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8414 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8415 tests for push and pull tee behavior.
8417 * plugins/elements/gsttee.h:
8418 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8419 mark as deprecated as well as unimplemented. It was a crack idea.
8420 Add support for tee operating in pull mode, off by default.
8422 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8423 normal-case logs down to LOG, raise errors to WARNING.
8424 (gst_registry_xml_read_cache): Don't log before calling a function
8427 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8428 exit (registry finalize).
8429 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8430 DEBUG log when we emit signals that people don't even have the
8431 chance to connect to.
8432 (gst_registry_scan_path_level): Less logging in the normal case.
8434 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8436 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8438 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8439 Correctly generate EOS for non-seekable files. We don't have a total
8440 length for them and would get an unexpected end of file if we only
8441 special-cased for regular files. (Fixes: #404569)
8443 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8445 * tests/check/elements/filesrc.c: (GST_START_TEST),
8447 Add unit test for the GstURIHandler interface in filesrc. This also
8448 tests the newly added file://localhost/foo/bar support.
8450 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8452 * gst/gstelementfactory.h:
8453 The klass string is not a hierarchy. Add reference to the design doc
8454 for more information and common types.
8456 2007-02-02 Wim Taymans <wim@fluendo.com>
8458 * gst/gstquery.c: (gst_query_new_latency):
8459 Remove old structure field.
8461 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8463 * tools/gst-launch.1.in:
8464 Give example for network streaming (#351998)
8466 2007-02-02 Wim Taymans <wim@fluendo.com>
8468 * docs/gst/gstreamer-sections.txt:
8469 Add docs for new methods.
8471 * gst/gstevent.c: (gst_event_new_latency),
8472 (gst_event_parse_latency):
8474 Add new LATENCY event to configure latency in a pipeline.
8475 API: gst_event_new_latency
8476 API: gst_event_parse_latency
8478 * gst/gstmessage.c: (gst_message_new_buffering),
8479 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8480 (gst_message_new_latency), (gst_message_parse_buffering),
8481 (gst_message_parse_lost_preroll):
8483 Added messages used in draft-latency.
8484 API: gst_message_new_lost_preroll
8485 API: gst_message_parse_lost_preroll
8486 API: gst_message_new_prerolled
8487 API: gst_message_new_latency
8489 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8490 (gst_query_parse_latency):
8492 Implemented new latency query as in design doc.
8493 API: gst_query_new_latency
8494 API: gst_query_set_latency
8495 API: gst_query_parse_latency
8497 2007-02-02 Wim Taymans <wim@fluendo.com>
8499 * docs/design/draft-latency.txt:
8500 Slight redesign to allow for dynamic latency adjustments.
8502 * docs/design/part-negotiation.txt:
8505 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8507 reviewed by: Wim Taymans <wim@fluendo.com>
8509 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8510 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8511 Allow file://localhost/foo/bar URLs and correctly fail for every other
8512 hostname that one sets. This was gnomevfssrc is linked for those if
8513 installed as it can handle it (#403172)
8515 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8517 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8519 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8520 (unref_data), (gst_collect_pads_add_pad_full):
8521 * libs/gst/base/gstcollectpads.h:
8522 Don't put the previously added destroy notify in the GstCollectData
8523 struct as all it's padding is already used and we don't want to break
8524 ABI. Instead put in the pad's GObject data for now. This should be
8525 cleaned up for 0.11 (#402393).
8527 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8529 reviewed by: Wim Taymans <wim@fluendo.com>
8531 * docs/libs/gstreamer-libs-sections.txt:
8532 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8533 (unref_data), (gst_collect_pads_add_pad),
8534 (gst_collect_pads_add_pad_full):
8535 * libs/gst/base/gstcollectpads.h:
8536 API: Add function to specify a destroy notification for custom
8537 GstCollectData when adding new pads in GstCollectPads (#402393).
8539 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8542 Update Swedish translation (#378255).
8544 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8546 * docs/design/draft-klass.txt:
8547 Fix the previous change, this is a list of categories and not a hierarchy.
8549 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8551 * docs/design/draft-klass.txt:
8552 Add info about how to get a list of used classes.
8554 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8556 * plugins/elements/gsttypefindelement.c:
8557 (gst_type_find_element_chain_do_typefinding),
8558 (gst_type_find_element_change_state):
8559 Don't leak found caps in chain function (no idea why that never
8560 showed up as a leak anywhere).
8562 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8565 Fix and expand GstPluginDesc API docs.
8567 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8570 * gst/gstelementfactory.c:
8571 * gst/gstpadtemplate.h:
8574 * libs/gst/controller/gstcontroller.c:
8575 (gst_controlled_property_new):
8576 * tests/examples/controller/audio-example.c:
8579 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8582 comment about refining the xml deps
8585 comments about moving away from jade for docs
8588 recommit the ifdefs to use the binary registry
8590 * gst/gstbin.c: (gst_bin_change_state_func):
8591 this break is obsolete
8593 * gst/gstelementfactory.h:
8594 better GST_ELEMENT_DETAILS docs, add comment about translation
8599 * gst/gstobject.c: (gst_signal_object_get_type):
8600 add G_UNLIKELY as usual
8602 * gst/gstpad.c: (gst_pad_event_default):
8603 add fall trhu comment
8605 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8606 (gst_registry_binary_initialize_magic),
8607 (gst_registry_binary_save_string),
8608 (gst_registry_binary_save_pad_template),
8609 (gst_registry_binary_save_feature),
8610 (gst_registry_binary_save_plugin),
8611 (gst_registry_binary_write_cache),
8612 (gst_registry_binary_check_magic),
8613 (gst_registry_binary_load_pad_template),
8614 (gst_registry_binary_load_feature),
8615 (gst_registry_binary_load_plugin),
8616 (gst_registry_binary_read_cache):
8617 comment typo and formatting
8619 * gst/gstutils.c: (gst_element_state_get_name),
8620 (gst_element_state_change_return_get_name):
8621 remove obsolete breaks
8623 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8624 add FIXME 0.11 and remove cpp comment
8626 2007-01-29 Edward Hervey <edward@fluendo.com>
8628 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8629 Fix print statement in an even more portable way.
8631 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8633 * docs/gst/gstreamer-sections.txt:
8635 API: add GST_ROUND_DOWN_* macros (#401781).
8637 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8639 * docs/gst/gstreamer.types.in:
8640 * gst/gstregistry.c: (gst_registry_class_init):
8641 Document registry signals and make gtk-doc pick them up (#401381).
8643 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8645 * docs/pwg/building-testapp.xml:
8646 Add some audioconverts and audioresample to the pipeline, and some
8647 more comments and error handling.
8649 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8651 * docs/manual/manual.xml:
8655 2007-01-26 Wim Taymans <wim@fluendo.com>
8657 * gst/gstcaps.c: (gst_static_caps_get):
8658 Init caps flags too.
8660 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8662 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8664 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8665 If not using mmap'ed files try to seek to the end instead of the
8666 start to determine whether we can seek at all. This fixes the case
8667 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8668 seeks for everything afterwards fail. Fixes #400656
8670 2007-01-25 Wim Taymans <wim@fluendo.com>
8672 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8673 Add some refcount debugging.
8674 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8675 in multiple streaming threads.
8677 2007-01-25 Wim Taymans <wim@fluendo.com>
8679 Patch by: David Schleef <ds at schleef dot org>
8681 * docs/libs/gstreamer-libs-sections.txt:
8682 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8683 * libs/gst/base/gstadapter.h:
8684 API: gst_adapter_copy() that can reduce the amount of memcpy when
8685 getting data from the adapter. Fixes #388201.
8687 2007-01-25 Edward Hervey <edward@fluendo.com>
8689 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8690 In print statements, "%x" is for guint. Fixes build on macosx.
8692 2007-01-24 Edward Hervey <edward@fluendo.com>
8694 * plugins/elements/gstmultiqueue.c:
8695 (gst_multi_queue_loop):
8697 (single_queue_overrun_cb), (single_queue_underrun_cb),
8698 (single_queue_check_full), (gst_single_queue_new):
8699 Implement single queue growth system.
8700 This uses the extra-size properties, and will grow single queues by
8701 that much if one goes full whereas there are others empty. This is
8702 called extra-mode in the code.
8703 When a single queue's levels go back below the initial max-size
8704 limits, it is no longer in extra-mode. This is to ensure we don't
8705 consume too much memory.
8708 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8710 * gst/gst.c: (gst_init_get_option_group):
8711 Make warning about late g_thread_init() calls a bit more explicit,
8712 so that it's more obvious to application developers what they need
8713 to do if a user files a bug against their application.
8715 2007-01-22 Edward Hervey <edward@fluendo.com>
8717 * plugins/elements/gstmultiqueue.c:
8718 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8719 Remove previous hack of unsetting the flushing flag for the source pad
8720 instead of activating it. Instead, fix the source pad activate function
8721 so that it no longer depends on having a parent set or not.
8723 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8725 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8727 * docs/manual/basics-bus.xml:
8728 Fix example code, gst_element_unref() doesn't exist any longer.
8730 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8732 Patch by: Mark Nauwelaerts <manauw at skynet be>
8735 Fix two docs typoes (#399094).
8737 2007-01-19 Edward Hervey <edward@fluendo.com>
8739 * docs/faq/gst-uninstalled:
8740 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8741 depending on libgstbaseutils can work in uninstalled environment.
8743 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8746 * gst/gsttagsetter.c:
8747 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8748 statement for new tag.
8750 2007-01-17 Edward Hervey <edward@fluendo.com>
8752 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8753 When dynamically creating single queues, activate sinkpad before adding
8755 We should be doing the same thing for the source pad, but we can't
8756 since it would call a method which needs the parent to be set in order
8757 to work propertly. Instead of activating the source pad, we just unset
8758 the flushing flag, which is the minimal requirement for adding a pad
8759 to an element in a state greater than READY.
8761 2007-01-17 Edward Hervey <edward@fluendo.com>
8763 * docs/faq/gst-uninstalled:
8764 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8767 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8769 * tests/check/gst/gstabi.c:
8770 * tests/check/gst/struct_hppa.h:
8771 * tests/check/libs/libsabi.c:
8772 * tests/check/libs/struct_hppa.h:
8773 Add ABI structs for HPPA (see #393796).
8775 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8777 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8778 Actually write ABI structs to the file specified in the GST_ABI
8779 environment variable, as the message we print claims we would.
8781 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8783 * tests/check/gst/gsttask.c:
8786 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8788 * gst/gsttaglist.c: (_gst_tag_initialize):
8789 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8790 previous two entries.
8792 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8794 * docs/gst/gstreamer-sections.txt:
8795 * gst/gsttaglist.c: (_gst_tag_initialize):
8797 Add tag support for beat-per-minute.
8799 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8801 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8802 (gst_registry_binary_initialize_magic),
8803 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8804 (gst_registry_binary_save_pad_template),
8805 (gst_registry_binary_save_feature),
8806 (gst_registry_binary_save_plugin),
8807 (gst_registry_binary_write_cache),
8808 (gst_registry_binary_check_magic),
8809 (gst_registry_binary_load_pad_template),
8810 (gst_registry_binary_load_feature),
8811 (gst_registry_binary_load_plugin),
8812 (gst_registry_binary_read_cache):
8813 * gst/gstregistrybinary.h:
8814 Use glib types, cleanup comments, impement interfaces and uri-types.
8816 2007-01-13 Andy Wingo <wingo@pobox.com>
8818 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8819 getrange() to return buffers with other caps, while we fix
8820 demuxers and typefind, or otherwise change part-negotiation.txt.
8822 2007-01-12 Andy Wingo <wingo@pobox.com>
8824 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8825 Factor start/stop into this private function instead of partially
8826 in activate functions and partially in the change_state function.
8827 Fixes setup before the element has changed from READY->PAUSED, as
8828 is the case in pull-mode pipelines.
8829 (gst_base_transform_sink_activate_push)
8830 (gst_base_transform_src_activate_pull): Refactor to use
8831 gst_base_transform_activate().
8832 (gst_base_transform_change_state): Removed, not needed any more.
8834 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8835 Truncate before fixating.
8837 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8838 Don't set_caps() if the result of fixating is ANY, as it's not
8839 supported, and not necessary in the case of a link with no
8840 template caps on either side. Fixes tests/check/libs/basesrc in
8841 some pull-mode tests.
8843 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8844 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8845 (gst_base_transform_src_activate_pull):
8846 Track the activation mode.
8847 (gst_base_transform_setcaps): In pull mode, when activating the
8848 src pad, after activating the sink pad, activate the sink pad's
8849 peer, as discussed in part-negotiation.txt.
8851 * libs/gst/base/gstbasesrc.h:
8852 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8853 vmethod, as in basesink.
8855 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8857 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8858 mode, first proxy the setcaps to the peer pad.
8859 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8861 (gst_base_sink_default_activate_pull): Rename from
8862 gst_base_sink_activate_pull.
8863 (gst_base_sink_negotiate_pull): New function, performs negotiation
8864 in pull mode before calling ::activate_pull().
8865 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8866 vmethod instead of the default implementation. I have no idea how
8867 this worked before. Negotiate before calling activate_pull.
8869 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8870 sink pads in pull mode. In addition to being correct, fixes
8871 filesrc ! decodebin ! identity ! fakesink.
8872 (gst_pad_get_range, gst_pad_pull_range): Don't call
8873 gst_pad_set_caps() if the caps changes; instead error out with
8874 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8876 2007-01-12 Andy Wingo <wingo@pobox.com>
8878 * docs/design/part-negotiation.txt: Update with more policy.
8880 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8882 * libs/gst/check/gstbufferstraw.h:
8883 * libs/gst/check/gstcheck.h:
8884 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8887 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8889 * tests/check/Makefile.am:
8890 * tests/check/gst/.cvsignore:
8891 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8892 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8893 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8894 (GST_START_TEST), (gst_tag_setter_suite):
8895 Add minimal unit test for beforementioned GstTagSetter bug.
8897 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8899 Patch by: René Stadler <mail at renestadler dot de>
8901 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8902 gst_tag_list_merge() returns a new list, so it's not the best idea
8903 to ingore its return value. Effectively meant that tags could only
8904 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8905 Also add function guard to require a non-NULL taglist as input (has
8906 always been so due to gst_tag_list_copy(), just making it explicit).
8908 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8910 * docs/random/draft-missing-plugins.txt:
8911 Some additions: mention new API that is supposed to be used at the
8912 various stages; short blob about new gst-inspect introspection
8913 option; mention potential future problem with plugins that have
8914 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8916 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8918 * tools/gst-inspect.c:
8919 (print_plugin_automatic_install_info_codecs),
8920 (print_plugin_automatic_install_info_protocols),
8921 (print_plugin_automatic_install_info), (main):
8922 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8923 introspect plugin files and get machine-parsable output that corresponds
8924 to the last bit of the missing-plugin installer string (small gotcha:
8925 doesn't take into account ranks).
8927 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8930 * docs/gst/gstreamer-sections.txt:
8932 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8933 (gst_registry_lookup_locked):
8934 * gst/gstregistry.h:
8935 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8936 (gst_registry_binary_initialize_magic),
8937 (gst_registry_binary_save_string),
8938 (gst_registry_binary_save_pad_template),
8939 (gst_registry_binary_save_feature),
8940 (gst_registry_binary_save_plugin),
8941 (gst_registry_binary_write_cache),
8942 (gst_registry_binary_check_magic),
8943 (gst_registry_binary_load_pad_template),
8944 (gst_registry_binary_load_feature),
8945 (gst_registry_binary_load_plugin),
8946 (gst_registry_binary_read_cache):
8947 * gst/gstregistrybinary.h:
8948 * gst/gstregistryxml.c: (load_feature),
8949 (gst_registry_xml_read_cache):
8950 commit binary registry (disabled by default, see #359653)
8952 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8954 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8955 Fix 'make check' too.
8957 2007-01-10 Andy Wingo <wingo@pobox.com>
8959 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8962 * docs/design/part-negotiation.txt: Update with, um, one way that
8963 pull-mode negotiation might work?
8966 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8967 that the pad must be a src pad; makes sense to call it the other
8968 way in pull mode, and the logic is symmetric anyway.
8970 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8972 * plugins/elements/gstfilesink.c:
8973 Include <stdio.h> for fseeko().
8975 2007-01-10 Wim Taymans <wim@fluendo.com>
8979 Reserve LATENCY event.
8981 2007-01-09 Wim Taymans <wim@fluendo.com>
8983 * docs/design/draft-latency.txt:
8986 2007-01-09 Wim Taymans <wim@fluendo.com>
8988 * docs/design/draft-latency.txt:
8992 * gst/gststructure.c:
8996 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8998 * tests/check/.cvsignore:
8999 Ignore test-registry.xml as well.
9001 2007-01-09 Wim Taymans <wim@fluendo.com>
9003 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9004 unref data at the end when we are done with the pad.
9006 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9008 * docs/gst/gstreamer-sections.txt:
9009 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9010 (init_post), (gst_deinit), (gst_update_registry):
9012 API: add gst_update_registry() (#391296).
9014 * tests/check/Makefile.am:
9015 * tests/check/gst/gstregistry.c:
9016 * tests/check/gst/.cvsignore:
9017 Simple unit test for the above.
9019 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9021 * gst/gstregistry.c: (gst_registry_scan_path_level):
9022 Plugin extension on HP-UX is .sl, add that to the list of approved
9023 plugin extensions (see #393796).
9025 * tests/check/gst/gstpad.c: (GST_START_TEST):
9026 ulong => gulong. Fixes compilation with HP-UX compiler.
9028 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9029 Fix compilation if valgrind headers are not available.
9031 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
9033 * win32/common/libgstreamer.def:
9034 Add new exported function.
9035 * win32/vs6/libgstbase.dsp:
9036 Add gstdataqueue.c to the build.
9037 * win32/vs6/libgstcoreelements.dsp:
9038 Add gstmultiqueue.c to the build.
9040 2007-01-06 Andy Wingo <wingo@pobox.com>
9042 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9043 activate_pull(), providing for a way to specialize the process of
9044 spawning a thread to pull on the sink pad. There is a default
9047 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9048 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9049 (gst_base_sink_init): Renamed pad activation functions (inserting
9050 "_pad" in their names). Refactor to use the new activate_pull
9051 vmethod, as appropriate.
9052 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9053 default activate_pull function to start a task pulling from the
9054 sink pad, as before.
9056 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9057 on the pads if necessary, as in push()/chain(). Update docs.
9058 Shouldn't affect existing pull() usage as it is currently only
9059 being used on buffers without caps.
9061 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9063 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9065 Call g_thread_init() first thing in gst_init() / gst_check_init().
9066 When initialisation is done via gst_init_get_option_group() and
9067 GOption parsing, issue a warning if the GLib thread system has not
9068 been initialised yet by the time gst_init_get_option_group() is
9069 called, as it's quite likely other GLib functions such as
9070 g_option_context_new() have been called already then, and
9071 g_thread_init() must be called before any other GLib function. The
9072 application in question must be fixed in that case, since memory
9073 corruption might happen otherwise.
9074 We issue the warning because even if the GLib folks decide to work
9075 around the problem on their end in future, this is still an issue
9076 with all GLib versions >= 2.10.0, so we should warn until we depend
9077 on a GLib version we know to be safe.
9078 Update documentation as well.
9081 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9083 * tools/gst-inspect.c: (main):
9084 * tools/gst-launch.c: (main):
9085 * tools/gst-typefind.c: (main):
9086 * tools/gst-xmlinspect.c: (main):
9087 Call g_thread_init() really really early, before any other GLib
9088 function (see #342564 and recent discussion on gtk-devel-list).
9090 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9092 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9094 * gst/gst_private.h:
9095 * gst/gstconfig.h.in:
9097 On win32, all the __declspec stuff for symbol exporting is
9098 apparently only needed with MSVC, but doesn't work with MingW.
9099 Fixes compilation with MingW and #391909.
9101 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9103 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9104 Change some GST_ERROR_OBJECT that aren't really errors to
9105 GST_WARNING_OBJECT in order to reduce terminal spam.
9107 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9109 * tests/check/Makefile.am:
9110 disable test again, as there seem to be still race problems
9112 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9114 * tests/check/Makefile.am:
9115 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9116 (GST_START_TEST), (queue_suite):
9117 enable queue test again, add tests for the leaky behaviour
9119 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9122 * tests/examples/Makefile.am:
9123 Compile adapter test/example only if the required headers are
9124 available (fixes #391915).
9126 2007-01-01 David Schleef <ds@schleef.org>
9129 Restore the previous signal handler for SIGSEGV instead of
9130 setting to default, since we may have stolen it away from
9131 someone. (i.e., Mono)
9133 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9135 * docs/random/draft-missing-plugins.txt:
9136 Some small additions and clarifications.
9138 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9140 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9141 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9142 since that can lead to random memory corruptions and crashes
9143 (may or may not be related to #383244, #386711, and #386711).
9145 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9147 * tests/check/.cvsignore:
9148 * tests/check/Makefile.am:
9149 sync .cvsignome and CLEANFILES
9151 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9153 * tests/check/Makefile.am:
9156 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9158 * docs/design/part-states.txt:
9159 two tiny additional comments
9161 * gst/gststructure.c:
9164 * tests/check/Makefile.am:
9165 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9167 disable test for now, unless it gets fixed
9169 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9171 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9173 fix race in underrun test
9175 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9177 * tests/check/elements/.cvsignore:
9180 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9182 try to narrow test failure
9184 2006-12-21 David Schleef <ds@schleef.org>
9186 * plugins/elements/gstfakesrc.c:
9187 Use g_random_int_range(), since it produces better random
9188 numbers in a range than almost-correct floating point code.
9190 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9192 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9193 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9194 (gst_check_teardown_sink_pad):
9195 do not automatically (de)activate pads
9197 * tests/check/Makefile.am:
9198 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9199 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9200 add new, yet simple tests for queue
9202 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9203 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9204 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9206 * tests/check/elements/identity.c: (cleanup_identity):
9207 consistent pad (de)activation
9209 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9211 Patch by: Sebastian Dröge <slomo ubuntu com>
9213 * libs/gst/base/gstcollectpads.c:
9214 Fix two doc typos (#387866).
9216 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9218 * docs/manual/advanced-dparams.xml:
9219 Fix typo (g_object_control_properties() doesn't exist).
9221 2006-12-19 Edward Hervey <edward@fluendo.com>
9223 * gst/gstsegment.c: (gst_segment_set_seek):
9224 Fine tune the cases where the segment start/stop values are really
9226 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9227 Add tests for the return values of gst_segment_set_seek().
9229 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9234 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9236 Fix incorrect documentation and flesh it out a bit more.
9237 Set default values for the max properties on the GParamSpec as well,
9238 so it shows up correctly in gst-inspect.
9240 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9242 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9243 Correct docs of queue, add more detail and crosslink it more.
9245 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9247 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9248 Print additional debug info when the stream isn't perfectly
9249 timestamped; don't try to use invalid durations.
9251 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9253 * docs/design/Makefile.am:
9254 Dist new design docs.
9256 2006-12-16 Wim Taymans <wim@fluendo.com>
9258 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9260 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9261 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9262 (gst_collect_pads_stop), (gst_collect_pads_event),
9263 (gst_collect_pads_chain):
9264 * libs/gst/base/gstcollectpads.h:
9265 Add refcounting to the collectpads data so we can track when it's safe
9266 to free the data. Fixes #383382.
9268 2006-12-15 Wim Taymans <wim@fluendo.com>
9270 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9271 (gst_collect_pads_remove_pad):
9272 Automatically activate/deactivate pads when they are added to a
9273 started/stoped collectpads.
9275 2006-12-15 Wim Taymans <wim@fluendo.com>
9277 * gst/gstelement.c: (gst_element_add_pad):
9278 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9279 * gst/gstpad.c: (gst_pad_init):
9280 Set pads to FLUSHING when they are created. Check, warn and fix when a
9281 demuxer adds an inactive pad to itself when running. Fixes #339326.
9283 2006-12-15 Wim Taymans <wim@fluendo.com>
9285 * gst/gstelement.c: (gst_element_class_init),
9286 (gst_element_default_send_event), (gst_element_send_event),
9287 (gst_element_default_query), (gst_element_query):
9288 Expose default element send_event and query handling as vmethods that
9289 subclasses can chain up to.
9291 2006-12-15 Wim Taymans <wim@fluendo.com>
9293 * gst/gstelement.c: (gst_element_set_state_func):
9294 Small documentation fixes.
9296 2006-12-15 Wim Taymans <wim@fluendo.com>
9298 * docs/design/draft-latency.txt:
9299 Checked in draft for handling latency in pipelines.
9301 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9305 * gstreamer.spec.in:
9308 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9310 * gst/gst.c: (init_pre), (init_post):
9311 init_pre() and init_post() might be called via our GOptionGroup or
9312 from gst_init(), and we should skip both of them if we've already
9313 been initialised, otherwise we will init some things twice or add
9314 two default log functions.
9316 2006-12-13 Edward Hervey <edward@fluendo.com>
9318 * docs/manual/basics-bus.xml:
9319 No, gst_main_loop does not exist. Its g_main_loop.
9320 Discovered by somebody who abused the copy-paste technique of coding :)
9322 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9324 * gst/gstghostpad.c:
9325 Log ghostpad debug stuff to the GST_PADS category as well rather
9326 than just to the default category.
9328 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9331 * gst/gst.c: (init_pre):
9332 Add some basic system details such as OS and architecture
9333 to the debug output if possible, courtesy of uname().
9335 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9337 * docs/gst/running.xml:
9338 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9339 environment variables.
9341 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9343 * tests/check/gst/gstbin.c: (GST_START_TEST):
9344 It is acceptable to have a refcount of 2 or 3 at this point in the
9345 test, because the pipeline might be just posting its state_change
9346 message. The next line then waits for that message to appear using
9347 bus_poll, so that should be fine too.
9349 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9351 * gst/gst.c: (ensure_current_registry_forking):
9352 Ignore EINTR when reading from the child registry pipe.
9353 Explicitly ignore the return value from close, since it makes no
9356 * gst/gstminiobject.c: (gst_mini_object_ref),
9357 (gst_mini_object_unref):
9358 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9360 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9361 When removing cached plugins, remove their features too, so they're
9362 not visible after they've disappeared.
9364 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9365 In the unlikely case that we are linking pads with no parents, don't
9366 crash trying to get the non-existent parent bin.
9368 * gst/parse/grammar.y:
9369 Output debug in the PIPELINE category
9371 2005-03-08 Wim Taymans <wim@fluendo.com>
9373 Patch by: René Stadler <mail at renestadler dot de>
9375 * gst/gstclock.c: (gst_clock_new_periodic_id):
9376 Reject invalid clock times for interval of periodic ids.
9379 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9381 * gst/gstelementfactory.c: (gst_element_factory_create):
9382 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9383 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9384 * tools/gst-inspect.c: (print_element_info):
9385 Fix refcounting of gst_plugin_feature_load to match the docs.
9388 2006-12-07 Wim Taymans <wim@fluendo.com>
9390 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9391 (gst_base_sink_get_position):
9392 Improve debugging of events.
9394 2006-12-07 Wim Taymans <wim@fluendo.com>
9396 Patch by: René Stadler <mail at renestadler dot de>
9398 * gst/gstclock.c: (gst_clock_id_wait):
9399 Make period ids add the interval to the origial requested time instead
9400 of the possibly updated time which can be wrong when there are multiple
9401 waiters for the same id. Fixes #382592.
9403 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9404 (gst_system_clock_id_wait_jitter_unlocked),
9405 (gst_system_clock_id_wait_jitter):
9406 Fix restart in the async notify thread when an async entry is added to
9407 the front of the list. Fixes #381492.
9409 * tests/check/gst/gstsystemclock.c: (store_callback),
9410 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9411 Added test for multiple async waits.
9412 Added test for async wait order.
9414 2006-12-07 Wim Taymans <wim@fluendo.com>
9416 * gst/gstbin.c: (gst_bin_query):
9417 Add some more docs about the POSITION query.
9419 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9422 Bump version nano - back to CVS.
9424 === release 0.10.11 ===
9426 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9429 releasing 0.10.11, "Love never runs on time"
9431 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9433 * win32/common/libgstbase.def:
9434 * win32/common/libgstreamer.def:
9435 * win32/vs8/libgstbase.vcproj:
9436 * win32/vs8/libgstcoreelements.vcproj:
9437 * win32/vs8/libgstreamer.vcproj:
9438 Fix compilation on win32 under VS8
9439 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9440 Partially fixes #381175
9442 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9444 * gst/gstvalue.c: (gst_value_compare_fraction):
9445 If someone is foolish enough to compare 2 fractions with denominator =
9446 0, return UNORDERED rather than aborting.
9448 2006-11-28 Edward Hervey <edward@fluendo.com>
9450 * libs/gst/base/Makefile.am:
9451 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9452 (gst_data_queue_base_init), (gst_data_queue_class_init),
9453 (gst_data_queue_init), (gst_data_queue_new),
9454 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9455 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9456 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9457 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9458 (gst_data_queue_set_flushing), (gst_data_queue_push),
9459 (gst_data_queue_pop), (gst_data_queue_drop_head),
9460 (gst_data_queue_set_property), (gst_data_queue_get_property):
9461 * libs/gst/base/gstdataqueue.h:
9462 New GstDataQueue object for threadsafe queueing. Most useful for
9463 elements that need some queueing functionnality.
9464 * docs/libs/gstreamer-libs-docs.sgml:
9465 * docs/libs/gstreamer-libs-sections.txt:
9466 Insert documentation for GstDataQueue
9467 * plugins/elements/Makefile.am:
9468 * plugins/elements/gstelements.c:
9469 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9470 (gst_multi_queue_class_init), (gst_multi_queue_init),
9471 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9472 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9473 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9474 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9475 (gst_multi_queue_loop), (gst_multi_queue_chain),
9476 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9477 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9478 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9479 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9480 (wake_up_next_non_linked), (compute_next_non_linked),
9481 (single_queue_overrun_cb), (single_queue_underrun_cb),
9482 (single_queue_check_full), (gst_single_queue_new):
9483 * plugins/elements/gstmultiqueue.h:
9484 New multiqueue element, using GstDataQueue. Used for queuing multiple
9486 Closes #344639 and #347785
9488 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9490 * docs/pwg/advanced-types.xml:
9491 add more missing type details
9493 * tools/gst-run.c: (main):
9494 remove unused variable
9496 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9498 * docs/libs/Makefile.am:
9499 * docs/libs/gstreamer-libs.types:
9500 add types of base classes to enable gobject specific stuff in the docs
9502 * docs/random/ensonic/embedded.txt:
9503 more ideas about isolating platform specific things
9505 2006-11-20 Wim Taymans <wim@fluendo.com>
9507 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9509 * libs/gst/check/gstcheck.h:
9510 Fix compilation and running against 0.9.4. Fixes #377332.
9512 2006-11-20 Wim Taymans <wim@fluendo.com>
9514 * gst/gstsegment.c: (gst_segment_set_seek),
9515 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9516 (gst_segment_to_running_time):
9517 Fix boundary checking in to_running_time() and to_stream_time().
9520 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9521 stream and running time can now be calculated for the complete
9524 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9526 * gst/gstpad.c: (gst_pad_push_event):
9527 Can't access event structure after giving away ownership of
9530 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9532 * docs/random/ensonic/embedded.txt:
9533 * docs/random/ensonic/profiling.txt:
9534 * docs/random/ensonic/receipies.txt:
9537 2006-11-13 Wim Taymans <wim@fluendo.com>
9539 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9542 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9544 2006-11-13 Wim Taymans <wim@fluendo.com>
9546 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9548 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9549 Store new length in segment duration so we don't keep on calling the
9550 potentially expensize get_size() call. Fixes #370865.
9552 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9554 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9556 * win32/common/libgstreamer.def:
9557 Add two missing symbols (#366492).
9559 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9561 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9562 (gst_adapter_take_buffer):
9563 Fix format string to use all its arguments.
9564 Remove useless >= check on a guint
9566 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9568 * tests/examples/adapter/.cvsignore:
9569 Ignore build file as commanded by the build-bot
9571 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9573 * tests/examples/adapter/Makefile.am:
9574 * tests/examples/adapter/adapter_test.c: (run_test_take),
9575 (run_test_take_buffer), (run_tests), (main):
9577 Add new files from the previous commit
9579 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9583 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9584 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9585 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9586 * libs/gst/base/gstadapter.h:
9587 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9588 (GST_START_TEST), (gst_adapter_suite):
9589 * tests/examples/Makefile.am:
9590 Do some optimisation work in GstAdapter to avoid copies in more cases.
9591 It could still do slightly better by merging buffers when
9592 gst_buffer_is_span_fast is true, but is already faster.
9594 Also, avoid traversing a single-linked list to append each incoming
9595 buffer inside the adapter.
9597 Add simple test app that times the adapter behaviour in different
9598 situations, and extend the unit test to check that bytes enter and
9599 exit the adapter in their original order.
9601 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9603 * docs/random/draft-missing-plugins.txt:
9604 Update: use element message instead of adding a new message
9605 type to the core; don't provide GStreamer API to initiate the
9606 plugin download, just provide API to compose the strings needed
9607 and let an external libgimmestuff handle the rest.
9609 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9611 * tools/gst-inspect.c: (print_element_properties_info):
9612 Print a string instead of 'unknown type' for GValueArray properties
9614 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9616 * docs/random/draft-missing-plugins.txt:
9619 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9621 * tests/examples/typefind/typefind.c: (type_found), (main):
9622 Make typefind element example work again (#371894); add a
9625 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9627 * docs/random/draft-missing-plugins.txt:
9628 Commit initial draft about how to deal with missing plugins,
9629 needs work (API too).
9631 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9633 * docs/pwg/advanced-types.xml:
9634 documents the new caps elements (see #363118)
9636 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9638 * gst/gstplugin.c: (gst_plugin_load_file):
9639 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9640 (gst_file_src_map_region), (gst_file_src_start):
9641 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9642 (gst_file_index_commit):
9643 Use g_strerror() instead of strerror() - we want UTF-8.
9645 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9647 Patch by: Peter Kjellerstedt <pkj at axis com>
9649 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9650 Another printf fix (#371493).
9652 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9654 * tests/check/gst/gsttag.c:
9655 relicence (okay with author=company)
9657 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9659 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9660 (gst_pad_push_event):
9661 Enhance debug and improve docs
9666 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9668 * docs/random/ensonic/distributed.txt:
9669 * docs/random/ensonic/profiling.txt:
9672 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9674 * docs/gst/gstreamer-sections.txt:
9675 add new API and fix the build
9677 * gst/gstbin.c: (gst_bin_recalc_state):
9678 * gst/gstelement.c: (gst_element_message_full),
9679 (gst_element_get_state_func), (gst_element_set_state_func):
9680 use new API and improve logging
9682 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9684 API: add function to get StateChangereturn names to improve logs
9686 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9688 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9689 I'm considering shooting the next person to put strerror stuff
9690 in the translateable part of the message.
9692 2006-11-03 Wim Taymans <wim@fluendo.com>
9694 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9695 Get the type and printf conversion specifiers right.
9697 2006-11-03 Wim Taymans <wim@fluendo.com>
9699 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9701 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9702 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9703 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9704 Some small cleanups. Improve debugging.
9706 Signal all waiting threads with a broadcast instead of just one.
9709 2006-11-03 Wim Taymans <wim@fluendo.com>
9711 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9712 (gst_fd_src_create):
9714 Only update fd when it's different from the old.
9716 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9718 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9719 Printf fixes for PPC/OSX, take two (#369366).
9721 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9723 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9725 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9726 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9727 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9728 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9729 don't cast to long long for portability reasons, but use
9730 GLib's types instead.
9732 2006-10-30 Michael Smith <msmith@fluendo.com>
9734 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9735 Get the arguments to lseek() the right way around.
9738 2006-10-30 Wim Taymans <wim@fluendo.com>
9740 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9743 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9745 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9747 Patch by: Kjartan Maraas <kmaraas at gnome org>
9749 * docs/design/part-MT-refcounting.txt:
9750 * docs/random/wtay/capsnego2-docs:
9753 Typo fixes (#366212).
9755 2006-10-28 Wim Taymans <wim@fluendo.com>
9757 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9760 * win32/common/libgstbase.def:
9761 * win32/common/libgstreamer.def:
9762 * win32/vs8/libgstbase.vcproj:
9763 * win32/vs8/libgstcontroller.vcproj:
9764 Add needed entries in .def files.
9766 Rearrange def files in vs8 solutions. Fixes #366286.
9768 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9770 * win32/common/gstconfig.h:
9771 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9772 hand-made win32 gstconfig.h. Fixes #366321.
9774 2006-10-27 Wim Taymans <wim@fluendo.com>
9776 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9777 (gst_ghost_pad_new_full):
9778 Make acceptcaps return TRUE when we don't have a target, just like
9781 2006-10-27 Wim Taymans <wim@fluendo.com>
9783 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9784 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9786 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9788 * gst/gststructure.c: (gst_structure_id_set_value):
9789 If someone tries to set a non-UTF8 string field on a structure,
9790 don't just print a warning, but also ignore the request and do
9791 not change/add that field to the structure.
9793 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9796 2006-10-25 David Schleef <ds@schleef.org>
9799 g_hash_table_insert() needs a cast to a non-const pointer duh.
9801 2006-10-25 David Schleef <ds@schleef.org>
9805 Change name parameter of _gst_debug_register_funcptr to const
9806 to reflect the constness of its use in the function as well
9807 as to quiet a gcc warning.
9809 2006-10-25 Edward Hervey <edward@fluendo.com>
9811 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9812 Don't push the buffer if it's empty.
9815 2006-10-24 Wim Taymans <wim@fluendo.com>
9820 * libs/gst/base/gstbasetransform.c:
9821 (gst_base_transform_sink_eventfunc):
9822 Debug segment values *after* updating them as this is more
9825 2006-10-23 Wim Taymans <wim@fluendo.com>
9827 * docs/design/part-events.txt:
9830 * docs/design/part-block.txt:
9831 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9832 (gst_pad_push_event):
9833 Revert BLOCKING patch, it tries to be smart without really having a
9834 clear idea what or how. So, now we discard all FLUSHING events again on
9835 a blocking pad. Should fix gnonlin again.
9837 2006-10-23 Wim Taymans <wim@fluendo.com>
9839 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9841 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9842 (gst_base_src_start), (gst_base_src_activate_push):
9843 Make sure size is always initialized. Fixes #364388.
9845 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9847 * docs/random/ensonic/distributed.txt:
9848 add some ideas about doing distributed processing
9850 * docs/random/ensonic/profiling.txt:
9851 get_rusage look promising
9853 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9855 * docs/manual/basics-helloworld.xml:
9856 Add a cast in example to fix compile warning
9858 2006-10-18 Wim Taymans <wim@fluendo.com>
9860 * gst/gstsegment.c: (gst_segment_set_last_stop),
9861 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9862 Relax arg checking again, -1 is allowed.
9864 2006-10-18 Wim Taymans <wim@fluendo.com>
9866 * gst/gstsegment.c: (gst_segment_set_last_stop),
9867 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9868 _set_last_stop() must be with a value != -1
9869 A _TYPE_SET to -1 means seek to 0.
9870 Calc last_stop correctly for negative rates.
9871 Make sure we work with positive durations when updating a segment.
9873 2006-10-18 Wim Taymans <wim@fluendo.com>
9875 * docs/design/part-live-source.txt:
9879 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9882 Add an explicit cast to GstBuffer** to keep old code that added an
9883 explicit cast to GstMiniObject** for gst_mini_object_replace()
9884 compiling without warning.
9886 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9888 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9889 check for validity of dates
9891 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9893 * docs/gst/gstreamer-sections.txt:
9894 Forgot this one, makes gtk-doc shut up.
9896 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9898 Patch by: Peter Kjellerstedt <pkj at axis com>
9901 Don't define xmlNodePtr to gpointer if the core was built with
9902 --disable-loadsave and --disable-registry, this will break
9903 applications that want to use libxml2 but are buildling against a
9904 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9905 instead so we don't have to mess with the libxml2 namespace
9908 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9911 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9912 type-punned pointer warnings.
9914 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9917 Add casts to the correct return type to state <=> state transition
9920 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9922 * docs/design/part-live-source.txt:
9923 describe howto handle latency
9925 * docs/random/ensonic/profiling.txt:
9928 * tools/gst-plot-timeline.py:
9929 fix log parsing for solaris, remove unused function
9931 2006-10-16 Wim Taymans <wim@fluendo.com>
9933 * docs/design/part-trickmodes.txt:
9935 Update some docs regarding reverse playback.
9937 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9939 Patch by: Marcus Granado <mrc dot gran at gmail com>
9941 * win32/vs8/grammar.vcproj:
9942 Error out with a warning if glib-genmarshal.exe is not in path,
9943 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9945 2006-10-13 Wim Taymans <wim@fluendo.com>
9947 * gst/gstsegment.c: (gst_segment_set_seek):
9948 When seeking to stop -1, set last_stop (current position) to the
9949 duration of the segment.
9951 2006-10-13 Wim Taymans <wim@fluendo.com>
9954 Clarify _NO_PREROLL a bit more.
9959 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9960 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9961 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9962 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9963 due to wrong locking order. Fixes #361769.
9964 Remove some redundant/misplaced checks in pad_block.
9966 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9967 For negative rates, count backwards from the duration.
9969 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9971 * gst/gsterror.c: (_gst_library_errors_init):
9972 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9973 up with something better).
9975 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9977 * win32/vs6/libgstreamer.dsp:
9978 * win32/vs7/libgstreamer.vcproj:
9979 * win32/vs8/libgstreamer.vcproj:
9980 Don't reference glib-compat.c which is currently not used and not
9981 disted; add gstquark.c which was recently added. Fixes #361730.
9983 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9985 * win32/common/libgstbase.def:
9986 * win32/common/libgstcontroller.def:
9987 * win32/common/libgstreamer.def:
9988 Add gst_caps_merge() and a bunch of other recently-added functions.
9991 2006-10-11 Wim Taymans <wim@fluendo.com>
9993 * docs/plugins/gstreamer-plugins.args:
9994 * docs/plugins/inspect/plugin-coreelements.xml:
9995 * docs/plugins/inspect/plugin-coreindexers.xml:
9996 Update element args.
9998 * gst/gstsystemclock.c:
9999 Small comment update.
10001 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10002 (gst_tee_request_new_pad), (gst_tee_release_pad),
10003 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10004 (gst_tee_sink_activate_pull):
10005 * plugins/elements/gsttee.h:
10007 Add default property defines.
10008 Implement release pad function.
10009 Give properties better blubs etc.
10010 Activate pads before adding them to a running tee.
10011 Do simple buffer_alloc on the first requested pad.
10012 Post error when activation fails.
10014 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10016 * gst/gst.c: (ensure_current_registry_forking):
10017 Check return value of write() to make compiler happy.
10019 2006-10-11 Wim Taymans <wim@fluendo.com>
10021 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10023 * plugins/elements/gstqueue.c: (gst_queue_chain):
10024 Recheck queue filledness after signalling the overrun when we're about
10025 to leak downstream because we released the lock when emitting the signal
10026 and the queue could be empty again. Fixes #352345.
10028 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10030 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10031 Fix refcounting here too, just like we did for _new_valist() a few
10032 days ago (#357180) (thanks to René Stadler). Also remove all those
10033 'Since: 0.9' from the gtk-doc blobs.
10035 * tests/check/libs/controller.c: (controller_refcount_new_list),
10036 (gst_controller_suite):
10037 Unit test for the above.
10039 2006-10-10 Wim Taymans <wim@fluendo.com>
10041 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10043 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10044 (gst_pad_save_thyself):
10046 Write pad direction in XML output. Fixes #345496.
10048 2006-10-10 Wim Taymans <wim@fluendo.com>
10050 Patch by: René Stadler <mail at renestadler dot de>
10052 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10053 (gst_controller_new_list), (_gst_controller_dispose),
10054 (_gst_controller_finalize), (_gst_controller_class_init):
10055 Take ref to controlled object so that it cannot disappear.
10058 2006-10-10 Wim Taymans <wim@fluendo.com>
10060 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10061 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10062 (gst_check_teardown_sink_pad):
10063 Activate/deactivate pads in setup/teardown respectively.
10065 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10067 Patch by: Josep Torra Valles <josep@fluendo.com>
10070 Cast values when making gstenumtypes.h. This pacifies Forte
10071 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10072 in the enumeration.
10074 2006-10-09 Wim Taymans <wim@fluendo.com>
10076 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10077 Rename some more @cur to @start to fix docs.
10079 * gst/gstsegment.c: (gst_segment_set_seek):
10081 time and start must always stay in sync as defined in design doc.
10083 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10084 Rename param to fix docs.
10086 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10087 Check that start and time are in sync.
10089 * tests/check/pipelines/parse-launch.c:
10090 (gst_parse_test_element_change_state):
10091 Activate pad before adding to the element.
10093 2006-10-09 Wim Taymans <wim@fluendo.com>
10095 * docs/design/part-qos.txt:
10100 Update seek event docs regarding negative rates.
10101 Rename @cur to @start.
10103 * gst/gstsegment.c: (gst_segment_set_seek):
10104 * gst/gstsegment.h:
10105 Update set_seek docs regarding negative rates.
10106 Correctly update last_stop to @stop when dealing with negative
10108 Rename @cur to @start.
10110 * tests/check/gst/gstpad.c: (GST_START_TEST):
10111 Activate pads before trying to use them.
10113 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10114 (gst_segment_suite):
10115 Add simple check for segments and negative rates.
10117 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10119 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10120 * gst/gsttaglist.h:
10121 * docs/gst/gstreamer-sections.txt:
10122 API: add gst_tag_list_is_empty() (#360467).
10124 * tests/check/gst/gsttag.c: (GST_START_TEST):
10127 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10129 * gst/gstmessage.h:
10130 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10131 a value that doesn't fit on enumeration.
10133 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10135 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10136 Remove local debugging system and use Gstreamer's instead.
10138 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10140 Patch by: Josep Torra Valles <josep@fluendo.com>
10142 * common/m4/gst-error.m4:
10143 Disable warning of statement not reached on Forte.
10144 * gst/gstmessage.h:
10145 Fix warning on Forte (value doesn't fit on enumeration).
10146 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10147 Fix warning on Forte (value doesn't fit on enumeration).
10148 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10149 DEBUG macro says it takes minimum of 2 args and so Forte
10150 complains about the use with just 1 arg.
10151 * plugins/elements/gstfdsink.c:
10152 * plugins/elements/gstfdsrc.c:
10153 * plugins/elements/gstfilesink.c:
10154 * plugins/elements/gstfilesrc.c:
10155 Use correct return type for the uri handler implementations.
10157 All these fix warnings in Forte. Fixes bug #360860.
10159 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10161 * gst/gstelement.h:
10162 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10163 format string, so don't use G_GNUC_PRINTF for those versions.
10165 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10167 * gst/gsttaglist.c: (gst_is_tag_list):
10168 * gst/gsttaglist.h:
10169 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10171 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10172 Small test for the above.
10174 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10176 * gst/gsttaglist.h:
10177 Less tabs, more spaces.
10179 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10182 Those two function declarations do actually belong there, revert
10183 commit from yesterday that turned them intro macros.
10185 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10187 Patch by: Josep Torra Valles <josep@fluendo.com>
10189 * gst/gst.c: (gst_init_get_option_group):
10190 Fix empty declaration and type mismatch.
10191 * gst/gstbin.c: (gst_bin_change_state_func):
10193 * gst/gstelement.c: (gst_element_continue_state),
10194 (gst_element_set_state_func), (gst_element_change_state),
10195 (gst_element_change_state_func):
10196 Fix type mismatches.
10197 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10198 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10199 Cast as appropriate.
10200 * gst/gstobject.c: (gst_class_signal_connect):
10201 Cast as appropriate. The function pointer parameter really
10202 has the wrong type but would break API if we change it.
10204 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10205 order of including string.h.
10206 * gst/gstutils.c: (gst_element_state_get_name):
10207 Remove unreachable line.
10208 * gst/gstxml.c: (gst_xml_parse_doc):
10210 All these caught by Forte.
10212 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10214 Patch by: Josep Torra Valles <josep@fluendo.com>
10216 * common/m4/gst-error.m4:
10218 We need to disable warnings on Forte for empty declarations
10219 due to gst-indent adding ;s to lines that just use macros
10220 where the macro actually doesn't need a ; at end to end
10223 2006-10-06 Wim Taymans <wim@fluendo.com>
10225 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10226 (gst_file_sink_close_file), (gst_file_sink_event),
10227 (gst_file_sink_render):
10228 Add some FIXME for the NEWSEGMENT handling.
10230 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10232 * gst/parse/grammar.y:
10233 Remove static function gst_parse_element_lock as all it does
10234 is return. Looks like cruft from 0.8.
10236 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10238 Patch by: Josep Torra Valles <josep@fluendo.com>
10240 * common/m4/gst-error.m4:
10242 * libs/gst/net/Makefile.am:
10243 Fix a compilation issue with Forte on Solaris. inet_aton is in
10246 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10248 * gst/gstpad.c: (pre_activate):
10249 * gst/gstregistry.c: (gst_registry_scan_path_level):
10250 * gst/gstregistryxml.c: (load_plugin):
10251 * libs/gst/controller/gstcontroller.c:
10252 (gst_controlled_property_set_interpolation_mode):
10253 * libs/gst/dataprotocol/dataprotocol.c:
10254 (gst_dp_packet_from_event_1_0):
10255 * libs/gst/net/gstnetclientclock.c:
10256 (gst_net_client_clock_observe_times):
10257 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10260 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10263 * docs/gst/gstreamer-sections.txt:
10264 * gst/gstconfig.h.in:
10265 * gst/gstelement.h:
10267 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10268 whether we can use G_GNUC_PRINTF in other header files and at
10269 least check the printf format/arguments of debug messages and
10270 GST_ELEMENT_ERROR messages when the printf extension is not
10272 Replace more tabs with spaces in gstinfo.h and remove two spurious
10273 function declarations in GST_DISABLE_DEBUG part with macros.
10275 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10277 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10278 More docs for the sync-message signal (mention that it is not
10279 emitted by default); log message structures of messages posted on
10282 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10284 * gst/gst.c: (ensure_current_registry_forking):
10285 Use a pipe pair to receive status results from the forked child, and
10286 ignore the result from waitpid. Fixes #355499
10288 2006-10-02 Wim Taymans <wim@fluendo.com>
10290 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10291 (gst_ghost_pad_suite):
10294 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10297 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10299 2006-10-02 Edward Hervey <edward@fluendo.com>
10301 * docs/design/part-block.txt:
10302 Further explain the use of flushing on blocked pads.
10303 * docs/gst/gstreamer-sections.txt:
10304 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10305 (gst_pad_push_event):
10307 Added new GstPadFlag : GST_PAD_BLOCKING.
10308 Adds the notion of pads really blocking, which enables to properly
10309 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10311 API: gst_pad_is_blocking()
10312 API: GST_PAD_IS_BLOCKING() macro
10313 API: GST_PAD_BLOCKING GstPadFlag
10315 2006-10-02 Wim Taymans <wim@fluendo.com>
10317 Patch by: mrcgran <mrc.gran at gmail dot com>
10319 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10320 Filter the proxied caps against the padtemplate if we have one.
10322 * gst/gstquery.c: (gst_query_new_segment):
10323 Add include for gstinfo.h so that compilation with
10324 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10326 2006-10-02 Wim Taymans <wim@fluendo.com>
10328 Patch by: Alessandro Decina <alessandro at nnva org>
10330 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10331 (gst_file_sink_set_location), (gst_file_sink_open_file),
10332 (gst_file_sink_close_file), (gst_file_sink_event),
10333 (gst_file_sink_render):
10334 Set file to NULL when closing filesink so that we can set a new filename
10335 in READY. Fixes #358613.
10337 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10339 Patch by: Alessandro Decina <alessandro at nnva org>
10341 * gst/gstevent.c: (_gst_event_copy):
10342 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10343 with event structures by setting the parent refcount address of the
10344 copied structure to the address of the refcount member of the newly
10345 copied event rather than the address of the refcount member of the
10346 original event. Fixes #358737.
10348 * tests/check/gst/gstevent.c: (GST_START_TEST):
10349 Unit test for the above.
10351 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10353 * docs/design/Makefile.am:
10354 Dist some more files.
10356 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10358 * tests/check/libs/controller.c: (GST_START_TEST),
10359 (gst_controller_suite):
10360 Add test for the previous fix; add some more tests
10361 for correct refcounting behaviour; fix a few leaks
10362 in test cases; call gst_controller_init() at start
10365 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10367 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10368 (gst_controller_set_from_list):
10369 Don't g_return_val_if_fail() on timed values with invalid timestamps
10370 inside a critical section without unlocking the mutex. Spotted by
10371 René Stadler. (#357617)
10372 Also, fix up refcounting properly: when returning an existing
10373 controller, we should increase the reference only once and not
10374 once per property and when trying to control a property again
10375 we should also increase the refcount.
10377 2006-09-29 Wim Taymans <wim@fluendo.com>
10379 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10380 * libs/gst/net/gstnettimeprovider.c:
10381 (gst_net_time_provider_thread):
10382 Stop reading commands when EOF as well.
10384 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10385 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10386 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10387 Unify description of the dump property.
10389 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10391 * tests/examples/manual/.cvsignore:
10392 OK, so it's actually cvsignore that needs changing. Stop laughing.
10394 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10396 * tests/examples/manual/Makefile.am:
10397 Gah, declare vars *before* using them
10399 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10401 * gst/gst.c: (init_pre), (scan_and_update_registry),
10402 (ensure_current_registry_nonforking),
10403 (ensure_current_registry_forking), (ensure_current_registry),
10404 (init_post), (gst_debug_help), (gst_deinit):
10405 * gst/gst_private.h:
10406 * gst/gstregistry.c: (gst_registry_finalize),
10407 (gst_registry_remove_features_for_plugin_unlocked),
10408 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10409 (gst_registry_scan_path),
10410 (_priv_gst_registry_remove_cache_plugins),
10411 (_priv_gst_registry_cleanup):
10412 * gst/gstregistry.h:
10413 Re-commit the registry changes, along with an extra fix:
10414 When a cached plugin is encountered at a different file path,
10415 update the stored path in the registry cache so that the parent
10416 process knows where it actually is now when it re-reads the registry
10417 cache. Fixes the thing that broke distcheck with the previous commit.
10419 * tests/check/Makefile.am:
10420 Clean up files named 'core' too when running make clean.
10422 * tests/examples/manual/Makefile.am:
10423 Set up a registry path for running these tests, and clean it properly
10426 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10429 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10430 want gmodule-no-export-2.0.pc instead so that we don't drag in
10431 --export-dynamic on every project that links to GStreamer.
10433 Also, make our export regex only match the start of symbols, rather
10434 than any symbol that contains '_gst' somewhere.
10436 * libs/gst/check/Makefile.am:
10437 The libgstcheck we build does however need export-dynamic, as it
10438 produces some symbols that don't match our _gst... style regex.
10441 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10443 * gst/gst.c: (init_pre), (scan_and_update_registry),
10444 (ensure_current_registry_nonforking),
10445 (ensure_current_registry_forking), (ensure_current_registry),
10446 (init_post), (gst_debug_help), (gst_deinit):
10447 * gst/gst_private.h:
10448 * gst/gstregistry.c: (gst_registry_finalize),
10449 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10450 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10451 (_gst_registry_cleanup):
10452 * gst/gstregistry.h:
10453 Revert previous change until I figure out why it breaks distcheck.
10455 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10457 * gst/gst.c: (init_pre), (scan_and_update_registry),
10458 (ensure_current_registry_nonforking),
10459 (ensure_current_registry_forking), (ensure_current_registry),
10460 (init_post), (gst_debug_help), (gst_deinit):
10462 Make init_pre and init_post take the full complement of GOptionFunc
10463 args so they can return useful GErrors. Make the registry updating
10466 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10467 ensure that the registry we're about to write out doesn't contain
10468 stale information about old-deleted plugin files.
10470 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10471 that deletion of plugin files is considered a registry change.
10473 * gst/gst_private.h:
10474 * gst/gstregistry.c: (gst_registry_finalize),
10475 (gst_registry_remove_features_for_plugin_unlocked),
10476 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10477 (gst_registry_scan_path),
10478 (_priv_gst_registry_remove_cache_plugins),
10479 (_priv_gst_registry_cleanup):
10480 * gst/gstregistry.h:
10481 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10482 by adding _priv prefix, so that they won't appear in the global
10483 symbol table. They still do atm though because of #318031. Move the
10484 prototypes to gst_private.h
10486 When removing a plugin, remove all features for that plugin too.
10489 2006-09-27 Wim Taymans <wim@fluendo.com>
10491 * docs/random/moving-plugins:
10492 Make it clear that the "compiled-in descriptions" really mean
10493 the element details.
10495 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10496 (gst_base_sink_wait_preroll):
10499 * docs/libs/gstreamer-libs-sections.txt:
10500 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10501 (gst_base_src_get_range), (gst_base_src_activate_push):
10502 * libs/gst/base/gstbasesrc.h:
10503 Added function to block while waiting for PLAYING, this function
10504 is used by live sources that block on the clock.
10505 API: gst_base_src_wait_playing()
10507 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10509 Patch by: Peter Kjellerstedt <pkj at axis com>
10512 gst-element-check.m4 is generated and should therefore be
10513 copied from the build dir rather than the source dir (#357593).
10514 'make distcheck' hasn't noticed this because we were disting
10515 the file as well, so stop doing that.
10517 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10519 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10520 Add some tests for gst_caps_intersect().
10522 * tools/gst-launch.c: (event_loop):
10523 Print all buffering percentages we get, even the 100% one.
10525 2006-09-26 Wim Taymans <wim@fluendo.com>
10527 * tools/gst-inspect.c: (print_element_properties_info),
10528 (print_signal_info):
10529 Fix printing of flags to match the look of enums.
10531 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10533 * gst/gstelementfactory.c:
10534 Fix typo in docs blurb.
10536 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10538 * gst/gsturi.c: (search_by_entry):
10539 Don't assert/crash here if a uri handler doesn't return any
10540 supported protocols. The list of protocols could be generated
10541 dynamically at runtime or at plugin registration, and an error
10542 in the underlying library shouldn't be fatal (#353301).
10544 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10547 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10548 (spotted by Peter Kjellerstedt).
10550 2006-09-23 Wim Taymans <wim@fluendo.com>
10552 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10554 * libs/gst/base/gstbasesrc.c:
10555 (gst_base_src_default_check_get_range), (gst_base_src_start),
10556 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10557 (gst_base_src_change_state):
10558 Match _start/_stop calls in the activate functions. Remove redundant
10559 _stop call from the state change function. Fixes #356910.
10560 Turn failure DEBUG into ERROR.
10562 2006-09-22 Wim Taymans <wim@fluendo.com>
10564 * docs/design/part-buffering.txt:
10565 * gst/gstmessage.c: (gst_message_new_buffering),
10566 (gst_message_parse_buffering):
10567 Update docs about buffering.
10569 * docs/design/part-trickmodes.txt:
10572 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10574 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10575 (gst_controller_new_list):
10576 Ref instances when returning them again (fixes #357180)
10578 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10580 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10581 Don't forget to release proxy lock when there's an error.
10583 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10586 Add extra initialisers for Caps things, to fix some plugin warnings
10589 2006-09-18 Wim Taymans <wim@fluendo.com>
10591 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10592 Also set template on the internal pad so that a getcaps from the
10593 target pad returns the template caps.
10595 2006-09-18 Wim Taymans <wim@fluendo.com>
10597 * gst/gstelement.c: (gst_element_post_message),
10598 (gst_element_dispose):
10599 Use _DEBUG_OBJECT some more.
10601 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10604 * tools/gst-launch.c: (main):
10605 If the toplevel element is not a GstPipeline, it must be put in a
10606 pipeline so that a bus and clock is selected.
10608 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10610 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10611 JITTER, RATE, and LATENCY query should be handled by the
10612 default case and not by the CONVERT query code.
10614 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10616 * gst/gstformat.c: (gst_format_register):
10617 Fix locking order (must take lock before using n_values).
10619 * gst/gstvalue.c: (gst_value_serialize_enum),
10620 (gst_value_deserialize_enum_iter_cmp),
10621 (gst_value_deserialize_enum):
10622 Fix serialisation/deserialisation of custom registered GstFormats.
10624 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10625 Unit test for custom format serialisation/deserialisation.
10627 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10629 * docs/pwg/building-boiler.xml:
10630 * plugins/elements/gstcapsfilter.c:
10631 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10634 2006-09-16 Edward Hervey <edward@fluendo.com>
10636 * libs/gst/base/gstbasetransform.c:
10637 (gst_base_transform_buffer_alloc):
10638 Check if requested caps are the same as the sinks caps IF
10639 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10641 This fixes the renegotiation issues stated in #352827.
10643 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10646 * docs/manual/advanced-autoplugging.xml:
10647 * tests/examples/Makefile.am:
10648 * tests/examples/manual/.cvsignore:
10649 * tests/examples/manual/Makefile.am:
10650 * tests/examples/manual/extract.pl:
10651 Extract the manual examples again like we used to do.
10654 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10656 * win32/common/config.h:
10659 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10662 Documents how to receive errors.
10664 2006-09-15 Wim Taymans <wim@fluendo.com>
10666 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10667 (event_loop), (main):
10668 Added some comments here and there.
10669 Post an application message when an interrupt is caught instead of doing
10670 an uncontrolled state change.
10671 Clean up the event loop.
10672 Handle buffering messages, pause/resume the pipeline.
10673 Make shutdown because of an interrupt more reliable.
10675 2006-09-15 Wim Taymans <wim@fluendo.com>
10677 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10678 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10679 (gst_base_sink_preroll_object):
10680 Make sure that our internal state is correct when we commit our state
10681 asynchronously. This solves a race where a state change to PLAYING
10682 could cause the sink to remain blocked in preroll in some situations.
10684 2006-09-15 Wim Taymans <wim@fluendo.com>
10686 * tools/gst-inspect.c: (print_element_properties_info),
10687 (print_signal_info):
10688 List flags as hex so it's easier to deal with.
10690 2006-09-15 Wim Taymans <wim@fluendo.com>
10692 * docs/libs/gstreamer-libs-sections.txt:
10693 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10694 (gst_base_sink_do_sync):
10695 * libs/gst/base/gstbasesink.h:
10696 Expose logic to wait for preroll so that subclasses such as audiosink
10697 can also use this method.
10698 API: gst_base_sink_wait_preroll()
10700 2006-09-15 Wim Taymans <wim@fluendo.com>
10702 * gst/gstobject.c: (gst_object_set_parent):
10703 * gst/gstpipeline.c: (do_pipeline_seek):
10704 Small cleanups in docs and code.
10706 * gst/gstsegment.c: (gst_segment_clip):
10707 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10708 if stop == start and start is in the segment, no clipping should be
10709 done. Also add a test for this.
10711 2006-09-15 Wim Taymans <wim@fluendo.com>
10713 * docs/design/part-buffering.txt:
10714 * docs/gst/gstreamer-sections.txt:
10715 * gst/gstmessage.c: (gst_message_new_buffering),
10716 (gst_message_parse_buffering):
10717 * gst/gstmessage.h:
10718 Added methods to create and parse BUFFERING messages.
10719 Added preliminary docs about buffering.
10720 API: gst_message_new_buffering
10721 API: gst_message_parse_buffering
10723 2006-09-06 Wim Taymans <wim@fluendo.com>
10726 Update documentation.
10728 * gst/gstelement.c: (gst_element_class_init),
10729 (gst_element_release_request_pad), (gst_element_set_clock),
10730 (gst_element_get_index), (gst_element_add_pad),
10731 (gst_element_remove_pad), (gst_element_get_random_pad),
10732 (gst_element_send_event), (gst_element_get_query_types),
10733 (gst_element_query), (gst_element_post_message),
10734 (gst_element_message_full), (gst_element_continue_state),
10735 (gst_element_lost_state), (gst_element_save_thyself),
10736 (gst_element_restore_thyself):
10737 Documentation updates.
10738 Rename last bit of the new-pad -> pad-added signal rename.
10739 Fix the case where an element query would only work if the source
10741 Avoid some useless type checking in message handling.
10746 Documentation updates.
10748 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10750 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10751 add an INFO line for when we actually update the fd
10753 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10758 === release 0.10.10 ===
10760 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10763 releasing 0.10.10, "Pais"
10765 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10767 * docs/manual/advanced-position.xml:
10768 Fix typo in sample code.
10770 2006-09-05 Wim Taymans <wim@fluendo.com>
10772 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10773 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10774 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10775 * libs/gst/net/gstnetclientclock.h:
10776 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10777 * libs/gst/net/gstnettimepacket.h:
10778 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10779 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10780 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10781 * libs/gst/net/gstnettimeprovider.h:
10782 Make stuff compile on windows. Fixes #345295.
10784 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10786 * gst/gst.c: (ensure_current_registry_forking):
10787 Print better details when child was terminated by signal.
10789 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10791 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10792 Print a warning rather than g_assert() if a plugin feature
10793 is a URI handler but returns no protocols (#353976).
10795 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10797 * docs/random/moving-plugins:
10800 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10802 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10803 Fix locking order, handle NULL function values properly.
10808 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10809 Initialise variable before using it and fix debug statement to
10810 print the address of the function rather than the address of the
10811 variable on the stack holding the address of the function.
10813 2006-09-01 Wim Taymans <wim@fluendo.com>
10815 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10816 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10817 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10818 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10819 (gst_ghost_pad_parent_unset),
10820 (gst_ghost_pad_internal_do_activate_push),
10821 (gst_ghost_pad_internal_do_activate_pull),
10822 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10823 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10824 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10825 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10826 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10827 (gst_ghost_pad_new_no_target_from_template),
10828 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10830 Avoid needless typechecking in macros.
10831 Since the internal pad is always present and never changes, there is
10832 no need to locking or ref when retrieving it.
10833 Improve debugging a bit.
10834 Handle link errors when setting the target. Fixes #341029.
10836 2006-09-01 Wim Taymans <wim@fluendo.com>
10838 * docs/libs/gstreamer-libs-sections.txt:
10839 * docs/plugins/gstreamer-plugins-sections.txt:
10840 Fix docs some more.
10842 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10843 (gst_collect_pads_event):
10844 * libs/gst/base/gstcollectpads.h:
10845 Documentation updates.
10846 Free queued buffer when removing a pad.
10848 2006-08-31 Michael Smith <msmith@fluendo.com>
10850 * gst/gstutils.c: (gst_element_link_pads),
10851 (gst_element_link_pads_filtered):
10852 Ensure that we set a capsfilter to NULL if we failed to link it
10853 when doing filtered linking, to avoid criticals.
10855 No need to check for unreffing srcpad, which is explicly NULLed
10856 above (a trivial code cleanup).
10858 2006-08-31 Wim Taymans <wim@fluendo.com>
10860 * docs/design/part-gstghostpad.txt:
10861 Update ascii art in documentation.
10863 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10864 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10865 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10866 (gst_ghost_pad_internal_do_activate_push),
10867 (gst_ghost_pad_internal_do_activate_pull),
10868 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10869 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10870 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10871 (gst_ghost_pad_set_target):
10872 Small cleanups and leak fixes.
10873 Remove some checks now that the internal pad is never NULL.
10874 Fix the case where linking pads without a target would create nasty
10875 criticals. Fixes #341029.
10876 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10877 value of _set_target().
10879 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10880 (gst_ghost_pad_suite):
10881 Some more tests for creating and linking untargeted ghostpads.
10883 2006-08-31 Edward Hervey <edward@fluendo.com>
10885 * docs/gst/gstreamer-sections.txt:
10886 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10887 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10888 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10889 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10890 (gst_ghost_pad_new_from_template),
10891 (gst_ghost_pad_new_no_target_from_template):
10892 * gst/gstghostpad.h:
10893 Refactored *_new() functions.
10894 Templates are now used as a g_object_new() parameter.
10895 Use template in _do_getcaps() if we don't have a target.
10896 Small documentation cleanups.
10897 Added two new constructors:
10898 gst_ghost_pad_new_from_template()
10899 gst_ghost_pad_new_no_target_from_template()
10900 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10901 (gst_ghost_pad_suite):
10902 Added tests for new ghostpad instanciation functions.
10904 API additions: gst_ghost_pad_new_from_template,
10905 gst_ghost_pad_new_no_target_from_template
10907 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10909 * docs/random/ensonic/profiling.txt:
10910 Ideas about qos profiling.
10912 2006-08-29 Wim Taymans <wim@fluendo.com>
10914 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10918 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10921 Improve and detypofy docs.
10923 * tests/check/Makefile.am:
10924 * tests/check/gst/.cvsignore:
10925 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10926 Add a basic test suite for GstXML.
10928 2006-08-29 Wim Taymans <wim@fluendo.com>
10930 * gst/gstelement.c: (activate_pads), (clear_caps),
10931 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10932 Clear the pad caps when the element shut down all of the pads and
10933 is not streaming data that could modify the caps.
10936 2006-08-28 Michael Smith <msmith@fluendo.com>
10938 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10939 Revert previous change; I misunderstood single-segment mode.
10941 2006-08-28 Michael Smith <msmith@fluendo.com>
10943 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10944 Unset DISCONT on buffers when using single-segment mode.
10946 2006-08-28 Wim Taymans <wim@fluendo.com>
10948 * gst/gstcaps.c: (gst_caps_merge_structure):
10950 Fix docs and indentation again.
10952 * tests/check/gst/gstquery.c: (GST_START_TEST):
10953 Fix leak in tests and add some more tests.
10955 2006-08-28 Edward Hervey <edward@fluendo.com>
10957 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10958 Inform GstSegment of the last stop position in order for the current
10959 segment to have a proper duration if it doesn't have a specific stop
10960 position from which a duration could be calculated.
10961 This bug was noticeable when a non-flushing, non-update new segment was
10962 followed by another segment (all buffers from the new segment were being
10965 2006-08-28 Wim Taymans <wim@fluendo.com>
10967 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10968 Small comment update.
10970 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10971 (gst_identity_transform_ip):
10972 Drop-probability is broken, mention this in the code with a
10973 FIXME and also in the property description.
10974 Make silent also be silent about the drop messages.
10976 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10978 * docs/manual/appendix-win32.xml:
10979 Remove mention of popt, we don't depend on that any
10980 longer (#353136). Add some comments pointing out that
10981 this section is slightly outdated.
10983 2006-08-28 Wim Taymans <wim@fluendo.com>
10985 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10987 * gst/gstquery.c: (gst_query_new_segment):
10988 * tests/check/gst/gstquery.c: (GST_START_TEST):
10989 Initialize variables when creating a new segment query.
10992 2006-08-28 Wim Taymans <wim@fluendo.com>
10994 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10996 * gst/gstelement.c: (gst_element_get_bus):
10997 * tests/check/gst/gstelement.c: (GST_START_TEST):
10998 Check for NULL before _reffing the bus. Fixes #353122.
11000 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
11002 * docs/manual/basics-bus.xml:
11003 Docs update: fix wrong callback return value explanation; add
11004 some lines about the implicit relationship between main loop
11005 and main context; remove duplicate main loop variable declaration.
11007 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
11009 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11010 Don't leak caps in unit test; add a few more simple
11013 2006-08-24 Stefan Kost <ensonic@users.sf.net>
11015 * docs/gst/gstreamer-sections.txt:
11016 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11017 (gst_caps_structure_is_subset), (gst_caps_merge),
11018 (gst_caps_merge_structure):
11020 * libs/gst/base/gstbasetransform.c:
11021 (gst_base_transform_transform_caps):
11022 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11023 implement caps merging (fixes #352580)
11025 2006-08-23 Stefan Kost <ensonic@users.sf.net>
11027 * tools/Makefile.am:
11028 * tools/gst-plot-timeline.py:
11029 add debug-log plotting developer tool (#340674)
11031 2006-08-23 Wim Taymans <wim@fluendo.com>
11033 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11034 (gst_pad_stop_task):
11035 Improve debugging for task functions.
11037 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11038 (gst_task_start), (gst_task_pause), (gst_task_join):
11039 Make sure that the task function started and finished after a
11041 Don't try to push the task function on the threadpool multiple
11043 Improve the g_warning message with some useful suggestions
11044 about how to fix the problem.
11046 2006-08-23 Wim Taymans <wim@fluendo.com>
11048 * gst/gstutils.c: (gst_pad_proxy_getcaps):
11049 Handle RESYNC correctly in _proxy_getcaps.
11051 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
11053 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11054 (gst_xml_parse_memory), (gst_xml_get_element):
11055 Chain up to parent class in dispose function and also
11056 unref the elements in the toplevel_elements GList.
11057 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11058 Always return a reference in gst_xml_get_element() rather
11059 than only sometimes.
11061 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11062 Don't leak GstXml object.
11064 2006-08-21 Stefan Kost <ensonic@users.sf.net>
11066 * docs/gst/gstreamer-sections.txt:
11067 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11070 * libs/gst/base/gstbasetransform.c:
11071 (gst_base_transform_transform_caps):
11072 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11075 2006-08-21 Edward Hervey <edward@fluendo.com>
11077 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11078 Implement GObject::dispose virtual method in GstXML so we can free the
11079 top_elements GList.
11081 2006-08-21 Wim Taymans <wim@fluendo.com>
11083 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11084 (gst_buffer_create_sub):
11085 Copy duration/offset_end/caps when creating a subbuffer of the
11087 Make the subbuffer read-only when we make the metadata writable for
11088 now. Fixes #351768.
11090 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11091 Added check for metadata copy when creating subbuffers.
11093 2006-08-21 Edward Hervey <edward@fluendo.com>
11095 * libs/gst/base/gstbasetransform.c:
11096 (gst_base_transform_buffer_alloc):
11097 Only call downstream buffer_alloc if transform element is passthrough
11098 or always_in_place. Closes #350449.
11100 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11103 ChangeLog surgery to add comments to previous changes
11105 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11110 * gst/gstpad.c: (gst_pad_set_active):
11111 Be more verbose in the log
11113 * libs/gst/base/gstbasetransform.c:
11114 (gst_base_transform_transform_caps):
11115 Simplify caps to get rid of duplicates, fixes #345444
11117 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11121 Use these optimizations only internally.
11123 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11125 * gst/gstvalue.c: (gst_value_compare_list),
11126 (gst_value_compare_fraction_range),
11127 (gst_value_intersect_fraction_fraction_range),
11128 (gst_value_intersect_fraction_range_fraction_range),
11129 (gst_value_subtract_fraction_fraction_range),
11130 (gst_value_subtract_fraction_range_fraction_range),
11131 (gst_value_get_compare_func), (gst_value_compare),
11132 (gst_value_compare_with_func):
11134 Saves the expensive lookup of the compare function in many cases
11137 2006-08-18 Edward Hervey <edward@fluendo.com>
11139 * tests/check/gst/gstinfo.c: (gst_info_suite):
11140 Disable test that require gstdebug if it wasn't built in core.
11142 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11144 * docs/random/ensonic/logging.txt:
11147 * gst/gstinfo.c: (gst_debug_log_default):
11148 reorder fields, save some columns, add optional color codes for log
11151 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11153 * docs/random/ensonic/logging.txt:
11154 add ideas about making the logs a bit more useful
11156 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11158 * docs/pwg/advanced-events.xml:
11159 * docs/pwg/titlepage.xml:
11160 Update for 0.10 API (#340627). Add myself
11163 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11165 * docs/libs/gstreamer-libs-docs.sgml:
11166 * docs/libs/gstreamer-libs-sections.txt:
11167 * libs/gst/check/gstbufferstraw.c:
11168 Make gstcheck stuff show up in docs (still needs to
11169 be documented properly though).
11171 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11173 * docs/gst/gstreamer-sections.txt:
11175 * gst/gst.c: (init_post):
11176 * gst/gst_private.h:
11177 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11179 * gst/gstquery.c: (gst_query_new_position),
11180 (gst_query_set_position), (gst_query_parse_position),
11181 (gst_query_new_duration), (gst_query_set_duration),
11182 (gst_query_parse_duration), (gst_query_new_convert),
11183 (gst_query_set_convert), (gst_query_parse_convert),
11184 (gst_query_new_segment), (gst_query_set_segment),
11185 (gst_query_parse_segment), (gst_query_new_seeking),
11186 (gst_query_set_seeking), (gst_query_parse_seeking):
11187 Add internal helpers for pre-registering quarks from static strings
11188 and using the quark values directly instead of looking them up when
11189 creating and parsing queries. Can be used for event construction too.
11192 2006-08-16 Wim Taymans <wim@fluendo.com>
11197 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11199 * gst/gstutils.c: (gst_util_set_value_from_string):
11200 Fix memleak (#351502).
11202 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11203 Add unit test for most of gst_util_set_value_from_string()
11204 (not that one would want to encourage use of this function).
11206 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11208 * libs/gst/check/gstcheck.h:
11209 Use const gchar * variables in fail_unless_equals_string
11210 macro to avoid compiler warnings (and don't use tabs for
11213 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11215 * tools/gst-launch.c: (print_tag):
11216 More space on the left for the tag names, to cater
11217 for the 'extended comment' tag (not touching the
11218 string for the first line since it's translated).
11220 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11222 * libs/gst/check/gstcheck.h:
11223 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11224 print something when they fail.
11226 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11228 * docs/gst/gstreamer-sections.txt:
11229 * gst/gsttaglist.c: (_gst_tag_initialize):
11230 * gst/gsttaglist.h:
11231 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11232 Also change merge function for GST_TAG_COMMENT to
11235 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11237 * gst/gstinfo.c: (gst_debug_print_object):
11238 Make GST_PTR_FORMAT print messages as well.
11240 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11241 (GST_START_TEST), (gst_info_suite):
11244 2006-08-14 Edward Hervey <edward@fluendo.com>
11246 * gst/gstelementfactory.c: (gst_element_register):
11247 If the GstElementClass doesn't have a GstElementDetails with all fields
11248 filled up correctly (longname, description AND author), then error out
11249 nicely instead of crashing.
11251 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11253 * gst/gststructure.c:
11254 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11257 Expand on the difference between arrays and lists as we use them.
11259 2006-08-14 Wim Taymans <wim@fluendo.com>
11261 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11262 If the parent state change function failed, don't assume we can safely
11263 stop the source, this will be done when the pads are deactivated.
11265 2006-08-14 Wim Taymans <wim@fluendo.com>
11268 * gst/gsttask.c: (gst_task_join):
11271 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11272 (gst_pad_stop_task):
11273 When pad (de)activation failed for some reason, restore the old
11274 activation mode and set the pad to flushing instead of assuming the
11275 pad is deactivated.
11276 If the _task_join() failed, reinstall the task on the pad so that it can
11277 be stopped later and return an error.
11279 2006-08-11 Andy Wingo <wingo@pobox.com>
11282 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11283 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11284 is only for users of API that don't want to see deprecated
11285 functions in the headers; people that want to compile out
11286 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11287 CFLAGS. Fixes the build of multifdsink, or will soon..
11289 2006-08-11 Wim Taymans <wim@fluendo.com>
11291 * docs/gst/gstreamer-sections.txt:
11292 Add GstClockClass vmethod docs.
11295 Mark #endif with comment for associated #if
11297 * gst/gstclock.c: (gst_clock_id_wait):
11299 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11300 most clock implementations.
11302 Flesh out docs about resolution methods.
11303 API: GstClockClass::wait_jitter
11305 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11306 (gst_system_clock_async_thread),
11307 (gst_system_clock_id_wait_jitter_unlocked),
11308 (gst_system_clock_id_wait_jitter):
11309 Use base class wait_jitter variant for improved performance
11310 due to less clock polling.
11312 2006-08-11 Edward Hervey <edward@fluendo.com>
11314 * gst/gst.c: (gst_init_check), (init_post):
11315 Set gst as being initialized before scanning/updating the registry,
11316 since there might be my python plugin loader that calls gst_init() and
11317 we don't want to loop back in.
11320 2006-08-11 Wim Taymans <wim@fluendo.com>
11322 * docs/design/part-qos.txt:
11323 Bring docs in line with the code. Mostly the sign of the jitter was
11324 wrong in the docs. Fixes #349943.
11327 Fix the docs for the jitter.
11329 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11330 (gst_event_parse_tag), (gst_event_new_buffer_size),
11331 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11332 (gst_event_new_seek), (gst_event_parse_seek),
11333 (gst_event_new_navigation):
11334 Make sure the GstStructure has no parent when creating custom
11336 Add some more argument checking so that we avoid 0.0 rates.
11337 Flesh out the docs for the QoS event some more.
11339 2006-08-11 Wim Taymans <wim@fluendo.com>
11341 * docs/gst/gstreamer-sections.txt:
11342 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11343 (ensure_current_registry_forking), (ensure_current_registry),
11344 (parse_one_option), (parse_goption_arg), (gst_deinit),
11345 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11348 Added API and command line option to disable registry forking in
11349 addition to the environment variable.
11350 Constify some static arrays.
11351 Added some more debug.
11352 Don't deinit twice.
11353 API: gst_registry_fork_is_enabled()
11354 API: gst_registry_fork_set_enabled()
11355 API: --gst-disable-registry-fork command line option
11358 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11360 * gst/gst.c: (gst_init):
11361 Fix typo in error message.
11363 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11365 * libs/gst/controller/gstcontroller.h:
11366 fix ABI size-correction
11368 * tests/check/libs/gdp.c: (gst_dp_suite):
11369 make tests that use deprecated API conditional
11371 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11373 * docs/libs/gstreamer-libs-sections.txt:
11374 * libs/gst/controller/gstcontroller.c:
11375 (_gst_controller_get_property), (_gst_controller_set_property),
11376 (_gst_controller_init), (_gst_controller_class_init):
11377 * libs/gst/controller/gstcontroller.h:
11378 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11379 (gst_object_set_control_rate):
11380 API: add gst_object_{s,g}et_control_rate(), add private data section,
11383 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11384 * libs/gst/dataprotocol/dataprotocol.h:
11385 add deprecation guards to make gtk-doc happy and allow disabling cruft
11387 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11389 * tests/check/Makefile.am:
11390 * tests/check/gst/.cvsignore:
11391 Let's enable the new unit test as well.
11393 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11396 * docs/gst/gstreamer-sections.txt:
11397 * gst/gstconfig.h.in:
11398 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11399 (_gst_info_printf_extension_ptr),
11400 (_gst_info_printf_extension_segment):
11401 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11402 register that lets us easily dump GstSegments into debug
11405 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11406 (info_segment_format_printf_extension), (gst_info_suite):
11407 Add simple unit test that logs a bunch of different segments (not
11408 valgrinded at the moment because of leaks in
11409 gst_debug_add_log_function).
11411 2006-08-09 Edward Hervey <edward@fluendo.com>
11413 * libs/gst/base/gstbasetransform.c:
11414 (gst_base_transform_buffer_alloc):
11415 Even if we can't figure out the proper format to request downstream,
11416 call buffer_alloc() downstream with the input parameters without setting
11417 the caps on the srcpad. This will force negotiation in the chain
11421 2006-08-08 Edward Hervey <edward@fluendo.com>
11423 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11424 Unlinking from a pad without a target is now a perfectly valid case
11425 which should NOT raise an assertion.
11426 This case would happen if a linked ghostpad its target set to NULL after
11427 it was previously linked.
11429 2006-08-08 Edward Hervey <edward@fluendo.com>
11431 * tests/check/libs/gdp.c:
11432 Also comment out the test (see below).
11434 2006-08-08 Edward Hervey <edward@fluendo.com>
11436 * tests/check/libs/gdp.c: (gst_dp_suite):
11437 Use the architecture information from config.h and not gcc macros
11438 in order to properly disable a test that fails on PPC64.
11440 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11442 * gst/gstelement.c: (gst_element_remove_pad):
11443 Don't crash printing the warning if the pad has no parent.
11445 2006-08-02 Wim Taymans <wim@fluendo.com>
11447 * libs/gst/dataprotocol/dataprotocol.c:
11448 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11449 (gst_dp_crc), (gst_dp_header_payload_length),
11450 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11451 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11452 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11453 (gst_dp_event_from_packet), (gst_dp_validate_header),
11454 (gst_dp_validate_payload):
11455 Make debug category static
11456 Constify the crc table.
11457 Do some more arg checking in public functions.
11458 Fix some docs and do some small cleanups.
11460 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11461 Add some more checks to see if GDP deals with bogus input.
11463 2006-07-31 Wim Taymans <wim@fluendo.com>
11465 * gst/gstvalue.c: (gst_value_compare_list):
11466 Fix GstValueList comparison code. Fixes #347293.
11468 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11469 Check to test GstValueList comparison.
11471 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11473 * gst/gstelementfactory.c: (gst_element_factory_create):
11474 Remove unnecessary ref/unref pair
11476 * gst/parse/grammar.y:
11477 Make sure to free the parse buffer on all code paths.
11478 Move a g_free up to the error handler where it's easier to see.
11480 * tests/check/gst/gstevent.c: (test_event):
11481 Extending timeout for downstream travelling events to 10 seconds to
11482 hopefully avoid intermittent failure on the buildbots.
11484 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11485 Don't manually set the state of the src element - it will happen as a
11486 natural consequence of the pipeline changing state, and that way it
11487 will do it in the right order too.
11489 2006-07-31 Wim Taymans <wim@fluendo.com>
11491 * libs/gst/base/gstbasetransform.c:
11492 (gst_base_transform_buffer_alloc):
11493 Use OBJECT_LOCK and refcounting to get the pad caps in the
11494 buffer_alloc function because the caps could change while we are
11495 busy with them. Fixes #349105
11497 2006-07-31 Wim Taymans <wim@fluendo.com>
11499 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11500 Protect _PAD_CAPS with OBJECT_LOCK.
11502 2006-07-31 Wim Taymans <wim@fluendo.com>
11504 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11505 (gst_pad_get_property), (gst_pad_activate_pull),
11506 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11507 (gst_pad_set_activate_function),
11508 (gst_pad_set_activatepull_function),
11509 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11510 (gst_pad_set_getrange_function),
11511 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11512 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11513 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11514 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11515 (gst_pad_set_acceptcaps_function),
11516 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11517 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11518 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11519 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11520 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11521 (gst_pad_configure_sink), (gst_pad_configure_src),
11522 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11523 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11524 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11525 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11526 (gst_pad_send_event):
11527 Use _DEBUG_OBJECT when it makes sense.
11528 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11529 Small cleanups and code reflows.
11530 Avoid caps refcounting in _accept_caps.
11531 Refactor alloc_buffer so that the code performed on the peer is in a
11532 separate function. Also if the pad does not implement a buffer alloc
11533 function, we should still check if the pad is flushing before falling
11534 back to the default allocator.
11536 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11538 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11539 Make all uses of identity and fakesink have silent=true to avoid
11540 serialising every passing data structure, which is breaking tests
11541 on FC4 for some unknown reason.
11543 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11545 * gst/parse/Makefile.am:
11546 * gst/parse/grammar.y:
11547 * gst/parse/parse.l:
11548 Reverted previous patch as it required to bump the flex dependency to
11549 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11551 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11553 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11555 * gst/parse/Makefile.am:
11556 * gst/parse/grammar.y:
11557 * gst/parse/parse.l:
11558 push & pop the state of the lexer for reentrant use case
11561 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11563 * libs/gst/base/gstbasesrc.h:
11564 Note in the docs that the ::newsegment vfunc is not actually used by
11567 2006-07-28 Wim Taymans <wim@fluendo.com>
11569 * libs/gst/base/gstcollectpads.c:
11570 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11571 (gst_collect_pads_clear), (gst_collect_pads_flush),
11572 (gst_collect_pads_event), (gst_collect_pads_chain):
11573 When flushing a pad, also clear the queued buffer so that we don't
11574 accidentally use it when we shouldn't.
11575 Fix leaks by inreffing incomming buffer.
11576 Flush out queued buffers in case of errors.
11579 2006-07-28 Wim Taymans <wim@fluendo.com>
11581 * docs/random/phonon-gst:
11582 Random notes about a Phonon backend.
11584 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11586 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11588 * tests/check/libs/gdp.c: (gst_dp_suite):
11589 Take a whack at fixing the ppc compile using a different define to
11590 disable the broken test.
11592 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11593 Remove excess g_print()
11595 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11597 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11598 Oops, meant to uncomment this line too to dampen the noise a bit.
11600 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11602 * gst/parse/grammar.y:
11603 * gst/parse/parse.l:
11604 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11605 (GST_START_TEST), (parse_suite):
11606 Fix some of the leaks exposed by extending the parse-launch testsuite,
11607 and move the 3 I can't figure out into a separate test that won't run
11608 the pipelines unless the appropriate line is uncommented.
11610 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11612 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11613 Requesting 0 bytes before the end of the file should result in
11614 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11617 2006-07-27 Wim Taymans <wim@fluendo.com>
11619 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11620 Fix useless assert, a uint is always positive.
11622 * gst/gststructure.c: (gst_structure_nth_field_name),
11623 (gst_structure_foreach), (gst_structure_map_in_place):
11624 Check input arguments for public functions to avoid obvious crashes.
11626 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11627 * plugins/elements/gstfakesink.h:
11628 Do less useless typechecking.
11630 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11632 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11633 Do not use mmap() by default since there are a number of error
11634 conditions that we would like to handle in a non-fatal way that
11635 will result in a SIGBUS if we use mmap(). Examples: external
11636 devices (USB harddrive, portable music player) being unplugged
11637 while in use; file on mounted CD/DVD that can't be read because
11638 the medium is partly damaged. Fixes #348455 and #348475.
11640 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11643 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11644 rates are a gdouble
11646 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11648 * gst/gstregistry.c:
11649 Move big documentation comment into class section header, so that it
11650 appears in the API docs.
11652 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11654 * docs/gst/gstreamer-sections.txt:
11655 Oops. Commit the docs additions too for new API.
11656 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11658 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11660 * gst/gststructure.c: (gst_structure_id_set),
11661 (gst_structure_id_set_valist):
11662 * gst/gststructure.h:
11663 Add API for setting values into structures without performing
11664 a quark lookup, if the appropriate quark is already known.
11666 API: gst_structure_id_set
11667 API: gst_structure_id_set_valist
11669 * gst/parse/grammar.y:
11670 * gst/parse/parse.l:
11671 Remove some dead code shown by the coverage information.
11672 Don't throw a critical g_warning when encountering a syntax error,
11673 just warn and let the normal error path handle it.
11675 * plugins/elements/gstelements.c:
11676 Bump the rank of filesink up to PRIMARY so that it is preferred over
11677 gnomevfssink for file:// sink uri's
11679 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11680 (GST_START_TEST), (run_delayed_test),
11681 (gst_parse_test_element_base_init),
11682 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11683 (gst_parse_test_element_change_state),
11684 (gst_register_parse_element), (parse_suite):
11685 Beef up the tests for parse syntax to check that more error cases
11686 fail as they are supposed to. Increases the test coverage a bit.
11688 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11690 * docs/manual/basics-elements.xml:
11691 Fix gst_element_link() example.
11694 Mention in API docs that one should usually gst_bin_add()
11695 elements to a bin or pipeline before doing the linking.
11697 2006-07-26 Wim Taymans <wim@fluendo.com>
11699 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11700 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11701 Avoid function call for known types by keeping the buffer and
11702 subbuffer GType global.
11704 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11705 Random silly optimisations in read() path.
11707 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11709 * tools/gst-launch.c: (main):
11710 If the top-level of the parse is a normal bin, it doesn't do the
11711 right logic to run as a top-level element, so place it inside a
11714 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11716 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11717 Remove superfluous g_object_notify() calls, GObject does
11718 that for us automatically.
11720 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11723 on Win32, use dllspec to export the debug category symbols
11725 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11727 * gst/gsttaglist.c: (_gst_tag_initialize):
11728 Allow more than one GST_TAG_IMAGE per taglist.
11730 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11732 * gst/gstminiobject.c:
11734 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11735 (gst_fd_src_create):
11736 log recurring events at LOG level
11737 add more debug for when the fd gets set
11739 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11741 * gst/gstparse.c: (gst_parse_launch):
11742 Also remove reentrance checks if flex is MT safe (#348179)
11743 Fix my empty ChangeLog entry below
11745 2006-07-21 Andy Wingo <wingo@pobox.com>
11747 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11749 * libs/gst/check/Makefile.am
11750 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11751 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11752 * libs/gst/check/gstbufferstraw.h:
11753 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11754 functions, thus proving I am still a GStreamer haxor. OK I wrote
11755 them a long time ago, but anyways.
11757 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11760 * gst/gstparse.c: (gst_parse_launch):
11761 Check for flex version and omit mutex if we have a MT save flex
11764 2006-07-21 Wim Taymans <wim@fluendo.com>
11766 * gst/gstparse.c: (gst_parse_launch):
11767 Protect recursive calls to _parse with a recursive mutex
11770 2006-07-21 Wim Taymans <wim@fluendo.com>
11772 * tests/check/gst/gstpad.c: (GST_START_TEST):
11775 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11777 * gst/gstparse.c: (gst_parse_launch):
11778 Do not hang on recursive usage of gst_parse_launch()
11780 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11782 * gst/gsttaglist.c:
11783 Add some more docs, comments and FIXME 0.11s here and there
11784 and also fix some typos.
11786 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11788 * gst/gstsegment.h:
11789 Convert tabs to spaces for better readability.
11791 2006-07-20 Edward Hervey <edward@fluendo.com>
11793 * tests/check/libs/gdp.c: (gst_dp_suite):
11794 the test_buffer test fails at line 140 on ppc64 at the following
11796 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11797 GST_BUFFER_FLAG_IN_CAPS),
11798 "GST_BUFFER_IN_CAPS flag should have been copied !");
11799 See bug #348114 for more details.
11801 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11803 * docs/pwg/advanced-scheduling.xml:
11805 Fix typos (#348000).
11807 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11809 * docs/pwg/intro-basics.xml:
11810 Fix wrong links (#347927).
11812 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11814 * gst/gstregistry.h:
11815 * gst/gstregistryxml.c: (load_feature),
11816 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11817 * win32/common/config.h:
11818 make --disable-index work (#342564)
11820 2006-07-18 Wim Taymans <wim@fluendo.com>
11822 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11826 The attached patch adds two missing defines to gsttrace.h when tracing
11827 is disabled. It also corrects one existing define.
11830 2006-07-17 Wim Taymans <wim@fluendo.com>
11832 * docs/gst/gstreamer-sections.txt:
11833 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11835 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11836 Add two functions to check and change the SIGSEGV behaviour
11837 when loading plugins.
11838 Don't mess with the SIGSEGV handler when we were told not to.
11840 API: gst_segtrap_is_enabled
11841 API: gst_segtrap_set_enabled
11843 2006-07-14 Wim Taymans <wim@fluendo.com>
11845 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11846 * tests/check/elements/filesrc.c: (GST_START_TEST):
11847 Revert fix for regression in #347408 after release.
11849 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11851 Patch by: Antoine Tremblay <hexa00 at gmail com>
11853 * gst/gstutils.c: (gst_element_unlink):
11854 Free iterator when done (#347311).
11856 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11857 And add a test case for this.
11859 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11862 Bump nano back to CVS
11864 === release 0.10.9 ===
11866 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11869 releasing 0.10.9, "On the road again"
11871 2006-07-13 Wim Taymans <wim@fluendo.com>
11873 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11874 * tests/check/elements/filesrc.c: (GST_START_TEST):
11875 Revert pull-0 fix for release. Disable check. Fixes #347408.
11877 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11879 * libs/gst/dataprotocol/dataprotocol.c:
11880 (gst_dp_event_from_packet_1_0):
11881 Fixes #347337: failure to deserialize event packets with
11882 empty payload (only event type)
11884 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11887 do not install a .c file in the header directory
11889 2006-07-13 Edward Hervey <edward@fluendo.com>
11891 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11892 GhostPad no longer implicitely use the padtemplates of the targets.
11895 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11897 * gst/gstvalue.c: (gst_value_compare_list),
11898 (gst_value_compare_array), (_gst_value_initialize):
11899 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11900 Make GstValueArray comparison be order dependent as designed.
11901 Add checks for value lists and value array comparisons.
11904 2006-07-11 Edward Hervey <edward@fluendo.com>
11906 * gst/gstbin.c: (activate_pads),
11907 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11908 (gst_bin_change_state_func):
11909 (de)activate src pads before calling state_change on the childs.
11910 This is to avoid the case where a src ghostpad is blocked (holding the
11911 stream lock), which would block the deactivation of the ghostpad's
11913 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11914 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11915 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11916 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11917 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11918 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11919 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11920 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11921 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11922 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11923 (gst_ghost_pad_class_init),
11924 (gst_ghost_pad_internal_do_activate_push),
11925 (gst_ghost_pad_internal_do_activate_pull),
11926 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11927 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11928 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11929 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11930 GhostPads now create their internal GstProxyPad at creation (and not
11931 when they're linked, as it was being done previously).
11932 The internal and target pads are linked straight away.
11933 The data will also travel through the other pad in order to make
11934 pad blocking and probes non-hackish (the probe/block now really happens
11935 on the GhostPad and not on the target).
11936 * gst/gstpad.c: (gst_pad_set_blocked_async),
11937 (gst_pad_link_prepare), (gst_pad_push_event):
11938 Remove previous ghostpad cruft.
11939 * gst/gstutils.c: (gst_pad_add_data_probe),
11940 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11941 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11942 (gst_pad_remove_buffer_probe):
11943 Remove previous ghost pad cruft.
11944 Added more detailed debug statements.
11945 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11946 Fix the testsuite for refcounting changes.
11947 The comments about who has references were correct, but the refcount
11948 being checked wasn't the same (!?!).
11952 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11954 * docs/gst/gstreamer-sections.txt:
11955 * gst/gstconfig.h.in:
11956 More docs for configuration options, add docs to gtk-doc.
11958 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11961 * gst/gstconfig.h.in:
11962 * win32/common/config.h:
11963 Fix build when disabling tracing (fixes #344016). Also start to document
11964 the defines that disable the sub-systems.
11966 2006-07-10 Edward Hervey <edward@fluendo.com>
11968 * gst/gst.c: (ensure_current_registry_forking):
11969 let's make valgrind happy...
11971 2006-07-09 Wim Taymans <wim@fluendo.com>
11973 * gst/gstelement.c: (activate_pads),
11974 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11975 Better pad activation code: Reset the collect value too on resync.
11978 2006-07-09 Wim Taymans <wim@fluendo.com>
11980 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11981 (gst_pad_activate_push):
11982 Use some more macros where it makes sense.
11983 Allow pad mode switching instead of asserting. When a pad
11984 is activated in one mode and we activate it in another,
11985 deactivate it first before activating it in a different mode.
11988 2006-07-08 Andy Wingo <wingo@pobox.com>
11990 * tools/gst-launch.c (main): Handle err == NULL.
11992 * gst/gst.c (init_post, ensure_current_registry)
11993 (ensure_current_registry_forking)
11994 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11995 factoring out the registry scanning into separate functions. Don't
11996 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11997 Better environment var name/interface suggestions accepted.
11999 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12001 * gst/gstobject.c: (gst_object_set_name_default),
12002 (gst_object_set_name):
12003 Random micro-optimisation: don't use a hash table
12004 with strings as keys and the usual strdup/strcmp
12005 involved, but rather just use the GQuark of the
12006 type name as key, since it needs to be looked up
12007 anyway to get the type name string.
12009 * tests/check/gst/gstobject.c: (GST_START_TEST):
12012 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12014 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12015 (gst_bin_iterate_all_by_interface):
12016 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12017 GTypes are gulongs and thus the top 4 bytes might be cut
12018 off on some platforms when doing GPOINTER_TO_INT, leading
12019 to invalid GTypes and bad things happening (see RH bug #179654).
12020 Also add a check to make sure the type passed in is really
12023 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12028 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12032 * gst-element-check.m4:
12033 * gst-element-check.m4.in:
12034 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12035 instead of the unversioned gst-inspect (#324176, #168659).
12037 2006-07-06 Wim Taymans <wim@fluendo.com>
12039 * gst/gstmessage.h:
12040 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12043 2006-07-06 Wim Taymans <wim@fluendo.com>
12045 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12046 (gst_base_src_wait), (gst_base_src_update_length),
12047 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12048 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12049 (gst_base_src_loop), (gst_base_src_start),
12050 (gst_base_src_activate_pull):
12052 blocksize == 0 now means the default blocksize when working in push
12054 Remove some pointless asserts in _wait function.
12055 Fix offset/length calculations and EOS handling. We can now pull 0
12056 bytes as well, which is allowed.
12057 use _check_get_range() to decide if we can operate in _pull based
12059 Fix refcounting leak when check_get_range function was not
12061 API GstBaseSrc::blocksize range can be 0 too now (default)
12063 * tests/check/elements/filesrc.c: (GST_START_TEST),
12065 Added check to test _get_range() behaviour.
12067 2006-07-06 Wim Taymans <wim@fluendo.com>
12069 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12070 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12071 (gst_pad_pull_range):
12073 Lots of comments and docs added to the pad functions.
12074 Flesh out the expected behaviour of the get_range() functions.
12076 2006-07-06 Wim Taymans <wim@fluendo.com>
12081 * gst/gstiterator.h:
12085 Remove comma at end of enumerator list.
12087 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12089 * win32/common/libgstbase.def:
12090 * win32/common/libgstdataprotocol.def:
12091 * win32/common/libsgtreamer.def:
12092 Add new exported functions.
12094 2006-07-05 Wim Taymans <wim@fluendo.com>
12096 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12097 Add some more docs here and there.
12099 2006-07-05 Wim Taymans <wim@fluendo.com>
12101 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12102 (gst_base_sink_loop), (gst_base_sink_get_position):
12103 When operating in pull mode update the offset so that we
12106 2006-07-05 Wim Taymans <wim@fluendo.com>
12108 * gst/gstregistryxml.c: (read_string):
12109 Avoid strdup. (will happen in libxml, but hey!)
12112 Add some more docs.
12114 2006-07-05 Wim Taymans <wim@fluendo.com>
12116 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12117 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12118 (gst_buffer_suite):
12119 No point in checking if the size of the subbuffer > 0, the
12120 code handles it correclty as demonstrated by unit test.
12121 Also add a unit test for the zero sized _new_and_alloc and
12122 _copy. Fixes #346663.
12124 2006-07-05 Wim Taymans <wim@fluendo.com>
12126 * libs/gst/base/gstbasetransform.c:
12127 (gst_base_transform_prepare_output_buffer),
12128 (gst_base_transform_buffer_alloc),
12129 (gst_base_transform_handle_buffer):
12130 Make sure the buffer we pass to transform_ip has a refcount of
12131 1 and thus is writable. Fixes #343196
12133 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12135 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12136 (gst_file_src_init), (gst_file_src_set_property),
12137 (gst_file_src_get_property), (gst_file_src_map_region):
12138 * plugins/elements/gstfilesrc.h:
12139 Add "sequential" property, off by default, to use madvise and hint
12140 to the kernel that sequential access is desired.
12141 Touch all retrieved pages by default to ensure they are pulled
12142 into memory. (Closes #345720)
12144 2006-07-03 Wim Taymans <wim@fluendo.com>
12146 * docs/design/part-block.txt:
12147 * docs/design/part-dynamic.txt:
12148 Small docs updates.
12150 2006-07-03 Wim Taymans <wim@fluendo.com>
12152 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12153 (gst_caps_unref), (gst_static_caps_get),
12154 (gst_caps_append_structure):
12155 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12156 Use GSlice when the glib we build against is >= 2.10
12158 2006-07-03 Wim Taymans <wim@fluendo.com>
12160 * gst/gstelement.c: (gst_element_pads_activate):
12161 Small cleanup in pad activation code.
12163 2006-07-03 Wim Taymans <wim@fluendo.com>
12165 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12167 * gst/gst-i18n-app.h:
12168 * gst/gst-i18n-lib.h:
12169 * tools/gst-inspect.c: (print_signal_info):
12170 The attached patch will make the inclusion of gettext.h unconditional in
12171 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12172 libintl.h in tools/gst-inspect.c.
12173 This allows use of --disable-nls again and fixes #344642.
12175 2006-07-03 Edward Hervey <edward@fluendo.com>
12177 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12178 Implement pad blocking on events according to part-block.txt.
12179 More comments on behaviour.
12180 * tests/check/gst/gstevent.c: (test_event):
12181 Send event to peer pad of blocked pad (else it will block).
12183 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12185 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12186 (gst_check_run_suite):
12187 if we get the wrong message, give us the types as string
12188 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12190 * tests/check/elements/filesrc.c: (GST_START_TEST):
12191 add a test for trying to open a non-existing file
12193 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12195 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12196 add a test for adding self
12198 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12200 * libs/gst/check/gstcheck.h:
12201 add some assert_ as alias for fail_unless_*
12202 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12203 increase test coverage
12205 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12208 include lcov.mak for lcov coverage generation
12209 * tools/Makefile.am:
12212 2006-07-02 Edward Hervey <edward@fluendo.com>
12214 * tests/check/elements/.cvsignore:
12217 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12220 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12221 * tests/check/Makefile.am:
12222 clean up gcov files
12224 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12226 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12227 remove gst_caps_simplify; it was not declared and not used
12228 and deprecated in 0.8
12230 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12232 * docs/faq/gst-uninstalled:
12233 don't put empty paths on PYTHONPATH
12234 * docs/gst/gstreamer-sections.txt:
12235 remove some symbols that are not there
12237 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12239 * gst/gstcaps.c: (gst_caps_compare_structures):
12241 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12242 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12245 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12247 * libs/gst/dataprotocol/Makefile.am:
12248 build dataprotocol test by linking to the lib, instead of
12249 compiling the source, so we get coverage
12250 * tests/check/Makefile.am:
12251 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12252 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12253 add a test for filesrc
12255 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12257 * tests/check/gst/gststructure.c: (GST_START_TEST),
12258 (gst_structure_suite):
12259 Push coverage from 59.04% to 70.00%
12261 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12263 * tests/check/Makefile.am:
12264 gst-inspect every element; this makes sure that we also get
12265 coverage on element's get/set functions
12267 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12270 set CFLAGS and friends to -O0 if gcov is being used
12273 * libs/gst/base/Makefile.am:
12274 * libs/gst/check/Makefile.am:
12275 * libs/gst/controller/Makefile.am:
12276 * libs/gst/dataprotocol/Makefile.am:
12277 * libs/gst/net/Makefile.am:
12278 * plugins/elements/Makefile.am:
12279 * plugins/indexers/Makefile.am:
12280 add makefile rules to generate gcov data and clean up
12281 * tests/check/Makefile.am:
12282 add a coverage target that generates an html overview
12285 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12287 * tests/check/elements/fakesink.c:
12288 * tests/check/elements/fakesrc.c:
12289 * tests/check/elements/fdsrc.c:
12290 * tests/check/elements/identity.c:
12291 * tests/check/generic/sinks.c: (gst_sinks_suite):
12292 * tests/check/generic/states.c:
12293 * tests/check/gst/gst.c:
12294 * tests/check/gst/gstabi.c:
12295 * tests/check/gst/gstbin.c:
12296 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12297 * tests/check/gst/gstbus.c: (gst_bus_suite):
12298 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12299 * tests/check/gst/gstelement.c:
12300 * tests/check/gst/gstevent.c: (gst_event_suite):
12301 * tests/check/gst/gstghostpad.c:
12302 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12303 * tests/check/gst/gstmessage.c: (gst_message_suite):
12304 * tests/check/gst/gstminiobject.c:
12305 * tests/check/gst/gstobject.c:
12306 * tests/check/gst/gstpad.c:
12307 * tests/check/gst/gstpipeline.c:
12308 * tests/check/gst/gstplugin.c:
12309 * tests/check/gst/gstquery.c: (gst_query_suite):
12310 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12311 * tests/check/gst/gststructure.c:
12312 * tests/check/gst/gstsystemclock.c:
12313 * tests/check/gst/gsttag.c:
12314 * tests/check/gst/gsttask.c: (gst_task_suite):
12315 * tests/check/gst/gstutils.c:
12316 * tests/check/gst/gstvalue.c:
12317 * tests/check/libs/adapter.c:
12318 * tests/check/libs/basesrc.c:
12319 * tests/check/libs/collectpads.c:
12320 * tests/check/libs/controller.c:
12321 * tests/check/libs/gdp.c: (gst_dp_suite):
12322 * tests/check/libs/gstnetclientclock.c:
12323 * tests/check/libs/gstnettimeprovider.c:
12324 * tests/check/libs/libsabi.c: (libsabi_suite):
12325 * tests/check/libs/typefindhelper.c:
12326 * tests/check/pipelines/cleanup.c:
12327 * tests/check/pipelines/parse-launch.c:
12328 * tests/check/pipelines/simple-launch-lines.c:
12329 * tests/check/pipelines/stress.c: (stress_suite):
12332 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12334 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12335 * libs/gst/check/gstcheck.h:
12336 create a macro and function so that the simple unit test
12337 case can be just one macro to create main()
12339 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12341 * gst/gstbin.c: (gst_bin_restore_thyself):
12342 * gst/gstxml.c: (gst_xml_make_element):
12343 Fix deserialisation from XML. Set parent manually
12344 instead of using gst_bin_add(), since gst_bin_add()
12345 will unlink all pads of the element being added.
12348 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12350 Patch by: Peter Kjellerstedt <pkj at axis com>
12352 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12353 Fix missing g_strdup() and double free when using the
12354 --gst-plugin-load command line option (#346097).
12356 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12359 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12361 * libs/gst/net/gstnetclientclock.c:
12362 * libs/gst/net/gstnettimeprovider.c:
12363 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12365 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12367 * docs/manual/advanced-dataaccess.xml:
12368 Fix buffer probe example compilation in
12371 2006-06-22 Edward Hervey <edward@fluendo.com>
12373 * gst/gstelement.c: (gst_element_pads_activate):
12374 We need to deactivate src pads first and then sink pads.
12375 The reason is the src pads might be blocking while holding the streaming
12376 lock, so we need to deactivate them first so that deactivating the sink
12377 pads doesn't block (since it will require the streaming lock).
12379 2006-06-22 Wim Taymans <wim@fluendo.com>
12381 * libs/gst/base/gstbasetransform.c:
12382 (gst_base_transform_buffer_alloc):
12383 Forgot to remove two unneeded unrefs.
12384 Simplify a check _is_equal allready checks the obvious case.
12386 2006-06-22 Wim Taymans <wim@fluendo.com>
12388 * docs/design/part-block.txt:
12389 Some docs about what pad_block should do.
12391 2006-06-22 Wim Taymans <wim@fluendo.com>
12393 * gst/gstcaps.c: (gst_caps_replace):
12394 Fix crasher when passed NULL. Doc clarification.
12395 Optimize for the trivial case.
12397 * gst/gstpipeline.c: (gst_pipeline_change_state):
12400 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12401 Small documentation cleanup.
12403 * libs/gst/base/gstbasetransform.c:
12404 (gst_base_transform_buffer_alloc):
12405 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12406 is what we need and it avoids a whole lot of redundant
12407 refcount operations.
12409 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12411 Patch by: Philip Jägenstedt <philip at lysator liu se>
12413 * docs/manual/advanced-dataaccess.xml:
12414 Fix 'Embedding static elements' section to use
12415 GST_PLUGIN_DEFINE_STATIC (#345607).
12417 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12419 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12420 Attempt to 'fix' spuriously failing test case: it seems like the
12421 timeout of half a second is simply too small when the system is under
12422 load otherwise, and the timeout doesn't really seem to serve any
12423 particular purpose here. Give the pipeline a few seconds to preroll
12424 first, and then give it another half a second to go from PAUSED to
12425 PLAYING and marshal the message into the main thread.
12427 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12429 * tools/gst-feedback-m.m:
12430 Don't only use unversioned tools, try versioned tools as well
12433 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12435 * gst/gstbus.c: (gst_bus_class_init):
12436 Fix some typos, make docs more explicit.
12438 2006-06-20 Wim Taymans <wim@fluendo.com>
12440 * tests/check/gst/gstghostpad.c: (block_callback),
12441 (GST_START_TEST), (gst_ghost_pad_suite):
12442 Added some more ghostpad tests, mainly blocking
12445 2006-06-16 Wim Taymans <wim@fluendo.com>
12447 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12448 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12449 (gst_file_sink_event), (gst_file_sink_render):
12450 * plugins/elements/gstfilesink.h:
12451 Check if we can seek in the file instead of assuming
12452 we always can. Post an error when we are asked to seek in a
12453 non-seekable file (like a fifo). Fixes #343312.
12456 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12458 * tools/gst-launch.1.in:
12459 Un-garble (fourcc) bit in filtered caps section.
12461 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12463 * docs/manual/advanced-autoplugging.xml:
12464 * docs/manual/basics-helloworld.xml:
12465 * docs/manual/highlevel-components.xml:
12466 Don't leak bus reference in sample code.
12468 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12471 Add default for new --enable-plugin-docs switch.
12474 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12477 * docs/Makefile.am:
12478 Use new ENABLE_PLUGIN_DOCS conditional.
12480 2006-06-14 Wim Taymans <wim@fluendo.com>
12482 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12483 Make it clear with a FIXME and a real define what the #if 0
12484 previously disabled.
12486 2006-06-14 Wim Taymans <wim@fluendo.com>
12488 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12489 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12490 * libs/gst/base/gstbasetransform.c:
12491 (gst_base_transform_sink_eventfunc):
12492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12493 Don't randomly and silently reset a segment when the format
12494 changes as this is a bug somewhere upstream. Fixes #330379.
12496 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12498 Patch by: Wouter Paesen <wouter at kangaroot net>
12500 * libs/gst/controller/gstcontroller.c:
12501 (gst_controlled_property_new):
12502 Fix controlling of float properties (#344849).
12504 * tests/check/libs/controller.c:
12505 (gst_test_mono_source_get_property),
12506 (gst_test_mono_source_set_property),
12507 (gst_test_mono_source_class_init), (GST_START_TEST):
12508 While we're at it, add some float stuff to unit test.
12510 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12513 * docs/images/gdp-header.svg:
12515 * docs/libs/Makefile.am:
12516 * docs/libs/gdp-header.png:
12517 * libs/gst/dataprotocol/dataprotocol.c:
12518 add it to the API docs
12519 * docs/manual/intro-motivation.xml:
12522 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12524 * gst/gst.c: (scan_and_update_registry), (init_post):
12525 If the fork()'ed child process can't write the updated registry cache
12526 file to disk for some reason, make it exit with a failure exit code,
12527 so that the parent can then re-scan the plugins itself and update the
12528 registry structures in memory and work with that (rather than failing
12529 when creating elements because seemingly no plugins are available).
12530 Refactor registry scanning code into separate function for this and
12531 also separate fork() and non-fork() code paths. Fixes #344748.
12533 2006-06-13 Wim Taymans <wim@fluendo.com>
12535 * docs/manual/advanced-dataaccess.xml:
12536 Fix wrong PluginDesc. Fixes #344755.
12538 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12540 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12541 Fix silly bug that prevented us from creating
12542 ~/.gstreamer-0.10 and writing the registry in one
12543 go (the first call to g_mkstemp() would overwrite the
12544 placeholder in the template string, so the second call
12545 to g_mkstemp() after creating the missing directory
12546 would then error out with 'invalid argument').
12548 2006-06-13 Edward Hervey <edward@fluendo.com>
12550 * gst/gst.c: (init_post):
12553 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12555 * gst/glib-compat-private.h:
12556 * gst/glib-compat.c:
12557 * gst/glib-compat.h:
12558 * gst/gstvalue.c: (gst_value_serialize_flags):
12559 remove GLib 2.6 compatibility code
12561 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12563 * gst/parse/Makefile.am:
12564 Fix build with 'make -j N' even more (#340016).
12566 2006-06-12 Wim Taymans <wim@fluendo.com>
12568 * docs/gst/gstreamer-sections.txt:
12571 2006-06-12 Wim Taymans <wim@fluendo.com>
12573 * gst/gstsegment.c: (gst_segment_set_duration),
12574 (gst_segment_set_last_stop), (gst_segment_set_seek),
12575 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12576 (gst_segment_to_running_time), (gst_segment_clip):
12577 Use G_UNLIKELY to help the compiler a bit.
12579 2006-06-12 Wim Taymans <wim@fluendo.com>
12581 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12583 * gst/gstevent.c: (gst_event_get_type):
12584 * gst/gstmessage.c:
12585 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12587 constify quark registration strings. Fixes #344115
12588 Avoid unneeded type checking is _pad_push() by internally
12589 calling gst_pad_chain_unchecked().
12591 2006-06-12 Wim Taymans <wim@fluendo.com>
12593 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12594 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12595 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12596 (gst_buffer_is_span_fast), (gst_buffer_span):
12597 Init _type for consistency.
12598 Use _FLAGS macro to avoid type check.
12599 Avoid unneeded type checks in subbufer code.
12601 2006-06-12 Wim Taymans <wim@fluendo.com>
12603 * gst/gst.c: (gst_debug_help):
12604 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12605 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12606 (gst_plugin_feature_list_free):
12607 * gst/gstregistry.c: (gst_registry_add_plugin),
12608 (gst_registry_add_feature), (gst_registry_plugin_filter),
12609 (gst_registry_feature_filter), (gst_registry_find_plugin),
12610 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12611 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12612 * gst/gstregistryxml.c: (load_feature),
12613 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12614 * gst/gstminiobject.c: (gst_mini_object_unref),
12615 (gst_mini_object_replace), (gst_value_mini_object_free),
12616 (gst_value_mini_object_copy):
12617 Use _CAST macros to avoid unneeded type checking.
12618 Added some more G_UNLIKELY.
12620 2006-06-12 Wim Taymans <wim@fluendo.com>
12623 Avoid unneeded type checking.
12624 API: GST_BUFFER_IS_DISCONT
12626 * gst/gstminiobject.h:
12627 Avoid type check in flag accessor.
12629 * gst/gstelementfactory.h:
12631 * gst/gstpluginfeature.h:
12633 API: GST_ELEMENT_FACTORY_CAST
12634 API: GST_PLUGIN_CAST
12635 API: GST_PLUGIN_FEATURE_CAST
12637 2006-06-12 Wim Taymans <wim@fluendo.com>
12639 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12640 (gst_object_unref):
12641 Add G_UNLIKELY in type registration.
12642 Avoid type check in _ref/_unref since that is also
12645 2006-06-12 Wim Taymans <wim@fluendo.com>
12647 * gst/gsterror.c: (gst_g_error_get_type):
12648 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12649 (gst_static_pad_template_get_type):
12650 * gst/gsttaglist.c: (gst_tag_list_get_type):
12651 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12652 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12653 * gst/gsturi.c: (gst_uri_handler_get_type):
12654 * gst/gstvalue.c: (gst_date_get_type):
12655 * gst/gstxml.c: (gst_xml_get_type):
12656 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12657 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12658 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12659 Add G_UNLIKELY in type registration.
12661 2006-06-12 Wim Taymans <wim@fluendo.com>
12663 * tools/gst-inspect.c: (print_signal_info):
12664 Properly print enum values.
12666 2006-06-12 Wim Taymans <wim@fluendo.com>
12668 * gst/gstinfo.c: (gst_debug_set_active),
12669 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12671 Add some G_[UN]LIKELY.
12672 Maintain __gst_debug_min to avoid formatting the arguments of
12673 debug messages that will be dropped anyway to avoid a lot of
12674 overhead from the debugging system.
12676 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12679 * po/POTFILES.skip:
12680 add missing files containing translatable strings, tell intltool about
12683 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12685 * tests/check/libs/.cvsignore:
12686 add test-binary to ignore list
12688 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12690 * docs/libs/gstreamer-libs-docs.sgml:
12691 reorder (put dp into a chapter) and indent
12693 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12698 === release 0.10.8 ===
12700 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12703 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12705 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12707 * gst/gst.c: (init_post):
12708 move pid declaration to declaration block
12710 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12712 * gst/gst.c: (init_post):
12713 use _exit() instead of exit() in our forked child; this ensures
12714 that none of the registered exit handlers from whatever is using
12715 GStreamer get executed. This fixes gnome-mixer-applet failing
12716 to load, because ORBit would shut down.
12717 Spotted by: Edward Hervey <edward@fluendo.com>
12718 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12721 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12726 === release 0.10.7 ===
12728 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12731 releasing 0.10.7, "Soepeke, ik zie ou"
12733 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12756 * win32/common/config.h:
12757 0.10.6.2 prerelease
12759 2006-06-07 Wim Taymans <wim@fluendo.com>
12761 * gst/gstindex.c: (gst_index_gtype_resolver):
12762 * tools/gst-xmlinspect.c: (print_plugin_info):
12763 Fix leak spotted by coverity checker. Fixes #343827
12764 Fix another other leak found by paolo borelli.
12766 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12768 * libs/gst/dataprotocol/dataprotocol.c:
12769 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12770 (gst_dp_version_get_type), (gst_dp_init),
12771 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12772 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12773 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12774 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12775 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12776 (gst_dp_packetizer_free):
12777 * libs/gst/dataprotocol/dataprotocol.h:
12778 API: add a GstDPPacketizer object, and create/free functions
12779 API: add GstDPVersion enum
12780 Add 1.0 event function that uses the string serialization
12781 Serialize more useful buffer flags
12784 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12786 * tests/check/Makefile.am:
12787 * tests/check/gst/gstabi.c:
12788 * tests/check/gst/struct_ppc64.h:
12789 * tests/check/libs/libsabi.c:
12790 * tests/check/libs/struct_ppc64.h:
12791 add ppc64 structure sizes
12793 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12795 * tests/check/Makefile.am:
12796 * tests/check/gst/gstabi.c:
12797 * tests/check/gst/struct_x86_64.h:
12798 * tests/check/libs/libsabi.c:
12799 * tests/check/libs/struct_x86_64.h:
12800 generate and add structure size lists for x86_64
12802 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12804 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12805 * libs/gst/check/gstcheck.h:
12806 factor out the method from tests that checks size of structures,
12807 and add code to generate the header containing these sizes
12808 * tests/check/gst/gstabi.c: (GST_START_TEST):
12809 * tests/check/gst/struct_i386.h:
12810 * tests/check/libs/libsabi.c: (GST_START_TEST):
12811 * tests/check/libs/struct_i386.h:
12814 2006-06-06 Michael Smith <msmith@fluendo.com>
12816 * gst/gstsegment.h:
12817 Don't use c++-style comments, fixes #343929
12819 2006-06-05 Edward Hervey <edward@fluendo.com>
12822 plugin_paths is not used if we build without registry support.
12824 * gst/gstsegment.c: (gst_segment_copy):
12825 _copy() was always returning NULL...
12827 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12829 * libs/gst/dataprotocol/dataprotocol.c:
12830 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12831 (gst_dp_packet_from_event):
12832 factor out CRC code
12834 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12836 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12837 make sure we unset caps
12839 2006-06-02 Michael Smith <msmith@fluendo.com>
12841 * libs/gst/check/gstcheck.c: (gst_check_init),
12842 (gst_check_chain_func):
12843 * libs/gst/check/gstcheck.h:
12844 Add a cond/mutex to the check support lib, signal this whenever we
12845 add to the buffers list. This will allow tests to not busy-wait on
12848 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12850 * libs/gst/dataprotocol/dataprotocol.c:
12851 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12852 (gst_dp_packet_from_event):
12853 factor out some common header init code
12855 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12857 * docs/libs/gstreamer-libs-sections.txt:
12858 * docs/libs/tmpl/gstdataprotocol.sgml:
12859 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12860 * libs/gst/dataprotocol/dataprotocol.h:
12861 API: make gst_dp_crc() public
12863 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12865 * plugins/indexers/gstindexers.c: (plugin_init):
12866 conditionally register fileindexer (fixes #343598)
12868 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12870 * gst/gsttagsetter.h:
12871 Can't cast ifaces to a class
12873 * libs/gst/net/gstnetclientclock.h:
12874 * libs/gst/net/gstnettimeprovider.h:
12875 * plugins/elements/gstfakesink.h:
12876 * plugins/elements/gstfakesrc.h:
12877 * plugins/elements/gstfdsink.h:
12878 * plugins/elements/gstfdsrc.h:
12879 * plugins/elements/gstfilesink.h:
12880 * plugins/elements/gstfilesrc.h:
12881 * plugins/elements/gstidentity.h:
12882 * plugins/elements/gstqueue.h:
12883 * plugins/elements/gsttee.h:
12884 * plugins/indexers/gstfileindex.c:
12885 * plugins/indexers/gstmemindex.c:
12886 * tests/old/examples/plugins/example.h:
12887 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12889 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12891 * libs/gst/dataprotocol/dataprotocol.c:
12892 (gst_dp_header_from_buffer):
12893 make sure we zero the whole ABI-compatible area
12895 2006-06-01 Wim Taymans <wim@fluendo.com>
12897 Patch by: Alessandro Decina <alessandro at nnva dot org>
12899 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12900 Make sure the EOS flag is cleared from pads after a flush
12901 or stop. Fixes #343538.
12903 * tests/check/libs/collectpads.c: (GST_START_TEST),
12904 (gst_collect_pads_suite):
12905 Added test for collectpads reusage after EOS.
12907 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12910 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12911 * win32/common/libgstbase.def:
12912 export gst_collect_pads_set_flushing
12913 * win32/common/libgstreamer.def:
12914 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12915 gst_value_fraction_multiply
12916 * win32/vs6/gst_inspect.dsp:
12917 add a link to intl.lib
12919 2006-05-30 Wim Taymans <wim@fluendo.com>
12921 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12922 (gst_collect_pads_chain):
12923 Handle the case where a pad is removed from the collection
12924 that could cause the other pads to become collectable.
12926 2006-05-30 Wim Taymans <wim@fluendo.com>
12928 * gst/gstelement.c:
12929 Clarify the use of _release_request_pad() and
12930 _get_request_pad() a bit better.
12932 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12933 (gst_adapter_take_buffer):
12934 Fix some doc and comment typos.
12936 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12938 * docs/gst/gstreamer-sections.txt:
12939 * docs/libs/gstreamer-libs-sections.txt:
12940 add declared symbols
12942 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12944 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12945 Add debug that can be enabled using a #define at the top of the file,
12946 for dumping stats about how late/early we were when waking up from
12947 waiting on the clock.
12949 2006-05-30 Wim Taymans <wim@fluendo.com>
12951 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12952 When rebuilding the pad list, don't leak the previous list.
12954 2006-05-30 Wim Taymans <wim@fluendo.com>
12956 Patch by: Lutz Mueller <lutz at topfrose dot de>
12958 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12959 (gst_base_src_get_query_types), (gst_base_src_update_length):
12960 Publish supported query types.
12961 Update last_stop field in get_range mode so the position
12962 query works. Fixes #342321.
12964 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12966 * docs/gst/gstreamer-sections.txt:
12967 * gst/gsttaglist.c: (_gst_tag_initialize):
12968 * gst/gsttaglist.h:
12969 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12971 2006-05-30 Wim Taymans <wim@fluendo.com>
12973 Patch by: Alessandro Decina <alessandro at nnva dot org>
12975 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12976 Unlock mutex when removing an unknown pad.
12979 * tests/check/Makefile.am:
12980 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12981 (push_event), (setup), (teardown), (GST_START_TEST),
12982 (gst_collect_pads_suite), (main):
12983 Added collecpads check, disabled for now as check crashes for
12986 2006-05-29 Wim Taymans <wim@fluendo.com>
12988 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12989 Don't leak pads lists.
12991 2006-05-29 Wim Taymans <wim@fluendo.com>
12993 * docs/libs/gstreamer-libs-sections.txt:
12994 * libs/gst/base/gstcollectpads.c:
12995 (gst_collect_pads_set_flushing_unlocked),
12996 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12997 (gst_collect_pads_stop):
12998 * libs/gst/base/gstcollectpads.h:
12999 API: gst_collect_pads_set_flushing()
13000 Added api to set the pads to flushing, useful for seeking
13001 code in elements using collectpads.
13002 Clear segment when receiving a flush.
13004 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
13006 * gst/gst.c: (add_path_func), (init_post):
13007 Don't scan registry paths passed via --gst-plugin-path immediately
13008 (will crash, because absolutely nothing is set up and no types are
13009 registered etc.); do this later in init_post(). Fixes #343057.
13011 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
13013 * gst/gst.c: (init_post):
13014 if we have fork, fork while reading/rebuilding the registry
13015 so the parent doesn't take the hit of having all plugins loaded
13016 in memory. Fixes #342777.
13018 Check if we have fork()
13019 * win32/common/config.h.in:
13022 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13024 * plugins/elements/gstelements.c:
13025 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13026 (gst_file_src_init), (gst_file_src_set_property),
13027 (gst_file_src_get_property), (gst_file_src_start):
13028 * plugins/elements/gstfilesrc.h:
13029 API: GstFileSrc::use-mmap
13031 Add a use-mmap property to enable easier testing of all code paths.
13032 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13033 in the absence of gnomevfssrc. (Closes #340501)
13035 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13037 * tools/gst-inspect.c:
13038 Add missing include, removes warning of ngettext not being defined on
13041 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13043 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13044 Handle NULL input and output pointers silently as a failed conversion,
13045 rather than g_warnings.
13047 2006-05-25 Wim Taymans <wim@fluendo.com>
13049 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13050 Initialize variable before using. Fixes #342820.
13052 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
13054 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13055 Fix off-by-one bug that would only allow peeks of N-1 bytes
13056 from the start even if the buffer to typefind on contains
13057 in fact N bytes of data (makes vorbis typefinding from a
13058 vorbis identification header buffer work).
13060 * tests/check/Makefile.am:
13061 * tests/check/libs/.cvsignore:
13062 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13063 (gst_typefindhelper_suite), (main), (foobar_typefind),
13065 Add very basic unit test for gst_type_find_helper_for_buffer()
13066 that checks for the problem fixed above.
13068 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
13070 * tools/gst-inspect.c: (print_interfaces),
13071 (print_element_properties_info), (print_element_list), (main):
13072 add more translatable strings
13074 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
13076 Patch by: Julien Moutte <julien at moutte net>
13078 * docs/gst/gstreamer-sections.txt:
13079 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13081 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13082 (gst_fake_sink_preroll):
13083 * plugins/elements/gstfakesink.h:
13084 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13086 2006-05-23 Wim Taymans <wim@fluendo.com>
13088 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13090 Added _CUSTOM error and success GstFlowReturn that can be
13091 used be elements internally.
13092 Added macro to check for SUCCESS flowreturns.
13093 API: GST_FLOW_CUSTOM_SUCCESS
13094 API: GST_FLOW_CUSTOM_ERROR
13095 API: GST_FLOW_IS_SUCCESS
13097 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13098 Added check for GstFlowReturn sanity.
13100 2006-05-23 Wim Taymans <wim@fluendo.com>
13102 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13104 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13105 (gst_collect_pads_event):
13106 clear/reset segment info in FLUSH_STOP.
13109 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13111 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13112 (gst_collect_pads_check_collected):
13113 Flush queued buffer on _stop(), fixes playing again (#342454)
13115 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13117 * tests/check/gst/gststructure.c: (GST_START_TEST),
13118 (gst_structure_suite):
13119 add a test for a complete structure
13121 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13123 * docs/faq/developing.xml:
13124 * docs/faq/faq.xml:
13125 * docs/faq/troubleshooting.xml:
13126 * docs/faq/using.xml:
13127 Some minor FAQ updates that won't change the fact that
13128 our FAQ is badly structured, full of information hardly
13129 anyone new to GStreamer needs to know and lacking lots
13130 of information people constantly ask for.
13132 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13134 * gst/gstpad.c: (gst_pad_set_caps):
13135 Short-circuit gst_pad_set_caps if setting the existing
13136 caps pointer again, and avoid printing debug and
13137 reffing/unreffing the caps.
13139 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13140 There's actually no need to set the caps before pushing -
13141 the acceptcaps method will handle it anyway.
13143 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13145 * docs/gst/gstreamer-sections.txt:
13146 * win32/common/libgstreamer.def:
13147 * gst/gstutils.c: (gst_element_seek_simple):
13149 API: add gst_element_seek_simple() (#342238).
13151 2006-05-18 Edward Hervey <edward@fluendo.com>
13153 * gst/gsttypefind.c: (gst_type_find_get_type):
13154 * gst/gsttypefind.h:
13155 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13156 registered for GstTypeFind pointers. This allows wrapping the structure
13157 in bindings (i.e. gst-python).
13159 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13161 * gst/gsttagsetter.c:
13162 Docs additions and fixes (see #339918).
13164 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13166 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13167 The caps intersection algorithm can produce multiple copies of the
13168 caps. Until that is fixed, we need to simplify the result to be
13169 sure whether the allowed caps are fixed or not.
13171 * plugins/elements/gstqueue.c: (gst_queue_init),
13172 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13173 (gst_queue_push_one):
13174 Proxied buffer alloc should not set the caps on the source pad.
13175 When pushing buffers, we always accept the caps change that triggers.
13176 This prevents negotiation errors caused by caps changing mid-stream
13177 and then being refused on our source pad (because upstream is now
13178 refusing those caps).
13180 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13182 * tests/examples/helloworld/helloworld.c: (main):
13183 Must plug audioconvert and audioresample between decoder
13186 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13188 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13189 (load_feature), (load_plugin):
13190 Allow empty strings for some of the plugin fields so we don't
13191 drop valid plugin entries that were written out correctly
13194 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13196 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13197 Use g_remove and g_rename instead of remove and rename that don't
13198 handle utf8 characters. rename was failing for users who had specific
13199 characters in their name then the registry was built at each
13201 * win32/vs6/gst_inspect.dsp:
13202 * win32/vs6/gst_launch.dsp:
13203 * win32/vs6/libgstbase.dsp:
13204 * win32/vs6/libgstcoreelements.dsp:
13205 * win32/vs6/libgstreamer.dsp:
13206 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13207 build of libgstreamer and clean unused libraries in projects link
13210 2006-05-17 Edward Hervey <edward@fluendo.com>
13212 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13213 The queue is not responsible for pushing an EOS when receiving a fatal
13214 flow error. It's up to the real element driving the pipeline to do that.
13216 2006-05-16 Edward Hervey <edward@fluendo.com>
13218 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13219 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13220 buffer returned a fatal error. It should just send an EOS and stop
13222 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13223 when pushing buffers on the queue and will be able to handle the event.
13225 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13227 * docs/manual/basics-bins.xml:
13228 * docs/manual/basics-init.xml:
13229 Fix typos and minor errors in sample code (#341856).
13231 2006-05-16 Wim Taymans <wim@fluendo.com>
13233 * docs/design/part-qos.txt:
13234 Fix indexes in formulas to make more sense.
13236 2006-05-15 Wim Taymans <wim@fluendo.com>
13238 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13239 Don't report POSITION based on clock time if sync is
13240 disabled in a sink.
13242 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13245 Add cast to make compiler happy - refcount variable was a gint
13246 in GstObject but is a guint in GObject and g_atomic_int_get()
13249 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13251 * gst/parse/Makefile.am:
13252 chain commands using &&, which also makes parallel make work
13254 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13256 * docs/gst/gstreamer-sections.txt:
13259 * gst/gstmessage.h:
13262 === release 0.10.6 ===
13264 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13267 releasing 0.10.6, "Take the cannoli"
13269 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13271 * tools/gst-launch.c: (print_tag):
13272 Fix use of uninitialized variable in the hypothetical
13273 case that some broken plugin creates a GST_TAG_IMAGE
13274 tag containing a NULL buffer (#341667).
13276 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13278 * tools/gst-launch.c: (print_tag):
13279 Print something more intelligible for image tags when
13280 using the -t switch (#341556).
13282 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13287 define GST_MAJORMINOR so we have it available in win32/common/config.h
13288 Possibly remove it from our Makefile.am files later
13289 * win32/common/config.h:
13290 * win32/common/config.h.in:
13291 added GST_MAJORMINOR
13292 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13293 * win32/common/gstversion.h:
13296 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13299 Update win32 files listing.
13300 * win32/common/gstversion.h:
13301 Add GST_MAJORMINOR definition.
13302 * win32/common/libgstreamer.def:
13303 Add new exported functions.
13305 2006-05-12 Michael Smith <msmith@fluendo.com>
13307 * gst/gstplugin.c: (gst_plugin_load_file):
13308 If an so file has no plugin entry point, unload the module.
13310 2006-05-11 Wim Taymans <wim@fluendo.com>
13312 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13313 (gst_queue_set_property):
13314 Don't forget to signal the _chain or _loop function
13315 when the queue size or thresholds change since that might
13316 cause them to make progres again.
13318 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13320 * gst/gstclock.c: (gst_clock_class_init):
13321 * gst/gstindex.c: (gst_index_class_init):
13322 * gst/gstobject.c: (gst_object_class_init):
13323 * gst/gstpad.c: (gst_pad_class_init):
13324 * gst/gstpipeline.c: (gst_pipeline_class_init):
13325 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13326 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13327 * libs/gst/base/gstbasetransform.c:
13328 (gst_base_transform_class_init):
13329 * libs/gst/net/gstnetclientclock.c:
13330 (gst_net_client_clock_class_init):
13331 * libs/gst/net/gstnettimeprovider.c:
13332 (gst_net_time_provider_class_init):
13333 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13334 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13335 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13336 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13337 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13338 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13339 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13340 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13341 * plugins/elements/gsttee.c: (gst_tee_class_init):
13342 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13343 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13344 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13346 2006-05-11 Wim Taymans <wim@fluendo.com>
13348 * gst/gstbuffer.c: (_gst_buffer_initialize):
13349 Register subbufer along with the buffer type so that
13350 it does not accidentally gets registered from N
13351 different streaming threads in a non threadsafe way.
13353 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13357 * gst/gstmessage.h:
13358 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13359 gst_event_ref() and gst_message_ref() functions again
13360 (ugly hack, please do fix if there's a better way besides
13361 overrides.txt, which doesn't seem to work).
13363 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13365 * libs/gst/check/gstcheck.h:
13366 add an assert for setting state to avoid lots of repetitive code
13369 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13371 * gst/gstvalue.c: (gst_value_serialize_flags):
13372 fix a leak if no flags are set
13373 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13376 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13378 * docs/manual/basics-pads.xml:
13379 Expand a bit on caps and filtered links and update
13380 examples that were still using the no longer existing
13381 gst_pad_link_filtered() (#338206).
13383 2006-05-10 Wim Taymans <wim@fluendo.com>
13385 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13386 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13387 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13388 (gst_collect_pads_stop):
13389 * libs/gst/base/gstcollectpads.h:
13390 No need to call _stop in _finalize.
13391 Iterate the main pad list in _finalize.
13392 Added some more debug.
13393 Free lists and data in the right order.
13394 Also free data whem doing _remove_pad when stopped for
13395 backward compatibility protect ::started with PAD_LOCK as
13398 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13400 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13401 (gst_structure_parse_value):
13403 rename a method so that it actually says what it does better
13405 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13407 * gst/gstevent.c: (_gst_event_initialize):
13408 * gst/gstformat.c: (_gst_format_initialize):
13409 make sure some essential types used by events are registered
13410 as part of gst_init()
13411 * gst/gstvalue.c: (gst_value_serialize_flags):
13412 if no flags are set, serialize them to a value that represents NONE
13413 so that deserializing them works
13414 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13415 add tests for serialization and deserialization of flags
13417 2006-05-10 Wim Taymans <wim@fluendo.com>
13419 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13420 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13421 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13422 (gst_collect_pads_event), (gst_collect_pads_chain):
13425 Catch and return errors from the collect function
13426 Refuse data on eos pads.
13428 2006-05-10 Edward Hervey <edward@fluendo.com>
13430 * gst/gstinterface.h:
13431 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13432 GInterface type checking.
13433 They were previously using non-defined macros.
13435 2006-05-09 Wim Taymans <wim@fluendo.com>
13437 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13438 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13439 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13440 (gst_collect_pads_start), (gst_collect_pads_stop),
13441 (gst_collect_pads_peek), (gst_collect_pads_pop),
13442 (gst_collect_pads_available), (gst_collect_pads_read),
13443 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13444 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13445 (gst_collect_pads_chain):
13446 * libs/gst/base/gstcollectpads.h:
13447 Clean up the mess that is collectpads, add comments and
13448 FIXMEs where needed.
13449 Maintain a separate pad list so we can add pads while
13450 collecting the other ones. For this we need a new separate
13452 Fix memory leak in finalize.
13453 Refactor some weird code to set/unset pad flushing flags, mark
13455 Don't crash in _available, _read, _flush when we're EOS.
13457 * tests/check/libs/.cvsignore:
13458 Ignore adapter check binary.
13460 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13462 * gst/gstindex.c: (gst_index_resolver_get_type):
13463 * plugins/elements/gstfakesink.c:
13464 (gst_fake_sink_state_error_get_type):
13465 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13466 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13467 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13468 Const-ify GEnumValue arrays.
13470 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13472 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13473 Add test case for flags + gst_buffer_make_metadata_writable().
13475 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13477 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13478 gst_buffer_make_metadata_writable() should maintain the
13479 buffer flags (those that make sense at least) (see #340859).
13481 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13483 * tools/gst-inspect.c:
13484 * tools/gst-launch.c:
13485 * tools/gst-typefind.c:
13486 * tools/gst-xmlinspect.c:
13488 Fix up includes: need to include stdlib.h in tools.h for exit().
13490 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13492 * gst/gsttaglist.c: (_gst_tag_initialize):
13493 * gst/gsttaglist.h:
13494 API: add GST_TAG_IMAGE tag (#340721).
13496 2006-05-08 Wim Taymans <wim@fluendo.com>
13499 Added some docs for the segment query.
13501 2006-05-08 Wim Taymans <wim@fluendo.com>
13503 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13504 (gst_base_src_loop), (gst_base_src_change_state):
13505 Always push non-flushing serialized events in the streaming
13508 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13510 * gst/gsterror.c: (_gst_stream_errors_init):
13511 Add a missing error string.
13513 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13515 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13516 Add applied_rate to the debug
13518 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13519 Copy applied_rate into the outgoing NEWSEGMENT event
13521 2006-05-08 Wim Taymans <wim@fluendo.com>
13523 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13525 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13526 (gst_base_sink_change_state):
13527 call ::unlock before taking the PREROLL_LOCK so we can safely
13528 handle elements that lock in ::render.
13531 2006-05-08 Edward Hervey <edward@fluendo.com>
13533 * autogen.sh: (CONFIGURE_DEF_OPT):
13534 Darwin's libtoolize is in fact called glibtoolize.
13535 Adding glibtoolize to the list of accepted names for libtoolize.
13537 2006-05-08 Wim Taymans <wim@fluendo.com>
13539 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13540 Unify error handling, don't post an error message
13541 when a push() returns EOS but perform our normal EOS
13542 handling code. Fixes #340772.
13544 2006-05-08 Wim Taymans <wim@fluendo.com>
13546 * docs/design/part-overview.txt:
13547 Make upsteam/downstream concepts more clear.
13548 Give an example of serialized/non-serialized events.
13550 * docs/design/part-events.txt:
13551 * docs/design/part-streams.txt:
13552 Mention applied_rate.
13554 * docs/design/part-trickmodes.txt:
13555 Mention applied rate, flesh out some more use cases.
13557 * gst/gstevent.c: (gst_event_new_new_segment),
13558 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13559 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13560 (gst_event_parse_tag), (gst_event_new_buffer_size),
13561 (gst_event_parse_buffer_size), (gst_event_new_qos),
13562 (gst_event_parse_qos), (gst_event_parse_seek),
13563 (gst_event_new_navigation):
13565 Add applied_rate field to NEWSEGMENT event.
13566 API: gst_event_new_new_segment_full()
13567 API: gst_event_parse_new_segment_full()
13569 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13570 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13571 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13572 * gst/gstsegment.h:
13573 Add applied_rate to GstSegment structure.
13574 Make calculation of stream_time and running_time more correct
13575 wrt rate/applied_rate.
13576 Add some more docs.
13577 API: GstSegment::applied_rate field
13578 API: gst_segment_set_newsegment_full();
13580 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13581 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13582 * libs/gst/base/gstbasetransform.c:
13583 (gst_base_transform_sink_eventfunc),
13584 (gst_base_transform_handle_buffer):
13585 Parse and use applied_rate in the GstSegment field.
13587 * tests/check/gst/gstevent.c: (GST_START_TEST):
13588 Add check for applied_rate field.
13590 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13591 (gstsegments_suite):
13592 Add more checks for various GstSegment operations.
13594 2006-05-08 Wim Taymans <wim@fluendo.com>
13596 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13597 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13598 (gst_base_sink_get_position), (gst_base_sink_change_state):
13599 Store the sync time of the buffer end position separatly in a
13600 new variable eos_rtime so we can properly sync the EOS event.
13602 Fix the docs for gst_base_sink_set_qos_enabled().
13603 Don't set segment start to invalid value when we receive a
13604 non TIME newsegment.
13605 get closer to handling position reporting for negative rates
13608 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13611 Docs about how to print caps for debug purposes.
13613 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13614 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13616 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13618 * gst/gstelement.c:
13619 use full enum names and preprend a '%' in docs strings to make recent
13620 gtk-doc turn that into a link
13622 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13624 * docs/manual/basics-bins.xml:
13625 * docs/manual/basics-bus.xml:
13626 * docs/manual/basics-pads.xml:
13627 Some typo fixes, some additions, some clarifications.
13629 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13631 * tools/gst-inspect.c: (main):
13632 * tools/gst-launch.c: (main):
13633 * tools/gst-run.c: (main):
13634 * tools/gst-typefind.c: (main):
13635 * tools/gst-xmlinspect.c: (main):
13636 Use the string passed to g_option_context_new() for
13637 what it's intended for - the program name is already
13640 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13642 * tools/Makefile.am:
13643 * tools/gst-inspect.c: (main):
13644 * tools/gst-launch.c: (main):
13645 * tools/gst-xmlinspect.c: (main):
13647 Add back --version command line option (#340460).
13649 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13650 Add --version option and use GOption for argument parsing; refactor a
13651 bit; accept directories as arguments and recurse into them; lastly,
13652 print a decent error message when things go wrong.
13654 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13656 * docs/manual/basics-bins.xml:
13657 Don't mention GstThread (#340611)
13658 * docs/manual/basics-elements.xml:
13659 Update link to GObject tutorial (#340607)
13661 2006-05-05 Wim Taymans <wim@fluendo.com>
13664 * gst/gstminiobject.c:
13665 Add note about refcounting and miniobject/buffer writeability
13666 to docs. Fixes #340604
13668 * gst/gstelementfactory.h:
13669 Added some explanation about @klass.
13671 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13673 * docs/manual/intro-motivation.xml:
13674 * docs/manual/manual.xml:
13675 Avoid CORBA & Bonobo references (#340598)
13677 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13679 * docs/manual/basics-bus.xml:
13680 * docs/manual/basics-pads.xml:
13681 Fix up some inaccuracies and omissions (#340609)
13683 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13685 * gst/gstghostpad.c:
13686 Small typo in docs (#340625)
13688 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13690 * gst/parse/Makefile.am:
13691 Make 'make -j' proof (see #340698).
13693 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13696 Require GLib-2.8 here as well.
13698 2006-05-05 Wim Taymans <wim@fluendo.com>
13700 * gst/glib-compat.c:
13701 * gst/gst.c: (init_pre):
13702 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13703 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13704 (gst_object_dispatch_properties_changed):
13706 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13707 * gst/gststructure.c: (gst_structure_set_valist):
13708 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13709 Remove pre glib2.8 compatibility, fixes #340508
13711 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13713 * gst/gsttaglist.h:
13714 Mention type of tags in doc blurbs.
13716 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13718 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13719 (gst_pad_configure_src), (gst_pad_push):
13720 Restore acceptcaps checking behaviour now that good plugins have
13723 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13725 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13732 * gst/gstmessage.c:
13736 * gst/parse/Makefile.am:
13737 * libs/gst/base/gstadapter.c:
13738 * libs/gst/base/gstbasesrc.c:
13739 * libs/gst/base/gstpushsrc.c:
13740 * libs/gst/base/gsttypefindhelper.c:
13741 * plugins/elements/gstfakesrc.c:
13742 * plugins/elements/gstidentity.c:
13743 Make sure gstprivate.h and/or config.h are
13744 always included first, otherwise some of our
13745 defines (like _FILE_OFFSET_BITS) might be
13746 redefined in the system headers. Fixes build
13747 on opensolaris (#340016).
13749 2006-05-04 Wim Taymans <wim@fluendo.com>
13751 * docs/libs/gstreamer-libs-sections.txt:
13752 API: addition: gst_adapter_take_buffer()
13754 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13755 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13756 (gst_adapter_available_fast):
13757 * libs/gst/base/gstadapter.h:
13758 Prepare for optimizing the hell out of this hugely inefficient
13760 Added gst_adapter_take_buffer() so we can at least start thinking
13761 about subbuffering and merging.
13762 Added some comments.
13764 * tests/check/Makefile.am:
13765 * tests/check/libs/adapter.c: (GST_START_TEST),
13766 (gst_adapter_suite), (main):
13767 Added GstAdapter check.
13769 2006-05-04 Wim Taymans <wim@fluendo.com>
13771 * docs/design/part-overview.txt:
13772 Fix some typos, add blurb about buffer flags.
13774 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13776 * docs/libs/gstreamer-libs-sections.txt:
13777 make sure GstBaseTransformClass shows up in the docs
13778 * libs/gst/base/gstbasetransform.c:
13779 * libs/gst/base/gstbasetransform.h:
13780 move docs so gtk-doc picks it up now
13782 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13784 * docs/libs/gstreamer-libs-sections.txt:
13785 add missing symbols to docs
13787 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13789 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13790 back out the newsegment handling change, see #340060 for ongoing
13793 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13795 * tools/gst-run.c: (get_candidates), (main):
13796 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13797 work); fix typo in error message. Fixes #340079.
13799 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13801 * common/Makefile.am:
13802 * docs/Makefile.am:
13803 * docs/faq/Makefile.am:
13804 * docs/gst/Makefile.am:
13805 * docs/libs/Makefile.am:
13806 * docs/manual/Makefile.am:
13807 * docs/plugins/Makefile.am:
13808 * docs/pwg/Makefile.am:
13809 * docs/slides/Makefile.am:
13811 * common/upload.mak:
13812 move upload.mak to common
13814 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13816 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13817 add more asserts on refcounts
13818 do more cleanup at end of tests
13819 fix test leaks showing in FC5
13821 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13823 * plugins/elements/gsttypefindelement.c:
13824 (gst_type_find_element_handle_event):
13825 reverted wrong change and reflowed code to avoid others falling into
13828 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13830 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13831 fix changelog entry about last collectpads change,
13832 add notes about proper fix
13834 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13837 * gst/gstregistry.c: (gst_registry_scan_path_level),
13838 (gst_registry_scan_path):
13839 * gst/gstregistry.h:
13840 only write out registry if it has changed, fixes #338339
13842 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13845 * gst/gstpipeline.c:
13846 * plugins/elements/gstcapsfilter.c:
13847 * plugins/elements/gstfakesink.c:
13848 * plugins/elements/gstfakesrc.c:
13849 * plugins/elements/gstfdsink.c:
13850 * plugins/elements/gstfdsrc.c:
13851 * plugins/elements/gstfilesink.c:
13852 * plugins/elements/gstfilesrc.c:
13853 * plugins/elements/gstidentity.c:
13854 * plugins/elements/gstqueue.c:
13855 * plugins/elements/gsttee.c:
13856 * plugins/elements/gsttypefindelement.c:
13857 (gst_type_find_element_handle_event):
13858 make GstElementDetails const
13860 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13862 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13863 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13864 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13865 more detailed debug and formatting cleanup,
13866 forward newsegments to src-pad (so that e.g. adder not eats them)
13868 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13870 * gst/gstutils.c: (gst_element_link_pads):
13871 cleanup double code
13873 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13875 * libs/gst/controller/gstcontroller.c:
13876 (gst_controller_sync_values):
13878 * tests/check/libs/controller.c: (GST_START_TEST),
13879 (gst_controller_suite):
13880 a new test for live value handling
13882 2006-04-28 Wim Taymans <wim@fluendo.com>
13884 * gst/gstutils.c: (push_and_ref):
13885 Added some more docs.
13886 Fix refcount issue whith gst_element_found_tags() helper
13887 function. Fixes #338335
13889 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13890 Added testsuite for gst_element_found_tags().
13892 2006-04-28 Michael Smith <msmith@fluendo.com>
13894 * gst/gstvalue.c: (gst_value_serialize_flags):
13895 Avoid NULL dereference when trying to serialize flags containing
13898 2006-04-28 Michael Smith <msmith@fluendo.com>
13900 * plugins/elements/gsttypefindelement.c:
13901 (gst_type_find_element_handle_event):
13902 If we get EOS before any data is accumulated, don't use
13903 uninitialised local variables.
13905 2006-04-28 Michael Smith <msmith@fluendo.com>
13907 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13908 (gst_dp_event_from_packet):
13909 Fixes in reading/writing events over GDP (not currently used?) -
13910 dereferencing NULL events for unknown/invalid event types, memory
13911 leak, and change g_warning to GST_WARNING.
13913 2006-04-28 Wim Taymans <wim@fluendo.com>
13915 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13916 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13917 (gst_base_sink_get_position), (gst_base_sink_change_state):
13918 When frame dropping is enabled, we should not ignore frames
13919 without a duration.
13920 Update some documentation.
13922 2006-04-28 Wim Taymans <wim@fluendo.com>
13924 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13925 (gst_base_src_send_event), (gst_base_src_change_state):
13926 Documentation updates.
13928 2006-04-28 Wim Taymans <wim@fluendo.com>
13930 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13931 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13932 handle EAGAIN, EINTR and short writes correctly. Also clean
13933 up some error cases, avoid a deadlock on bad file descriptors and
13934 use GST_DEBUG_OBJECT.
13937 2006-04-28 Wim Taymans <wim@fluendo.com>
13939 * gst/gstvalue.c: (gst_value_serialize_buffer),
13940 (gst_value_deserialize_buffer):
13941 Don't try to serialize a GValue with a NULL buffer.
13944 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13945 Added check for serialisation of NULL buffers.
13947 2006-04-28 Wim Taymans <wim@fluendo.com>
13949 * gst/gstminiobject.c: (gst_value_take_mini_object):
13950 Taking a NULL miniobject is valid, fix the case where
13951 we try to unref the NULL miniobject.
13953 2006-04-28 Wim Taymans <wim@fluendo.com>
13955 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13957 * gst/gstbin.c: (gst_bin_handle_message_func):
13959 Don't leak bin refcount when a state recalc is
13960 in progress and we delay another one #339808.
13962 2006-04-28 Wim Taymans <wim@fluendo.com>
13964 * docs/design/part-TODO.txt:
13965 Mention QoS as an ongoing work item.
13967 * docs/design/part-buffering.txt:
13968 New doc about buffering that needs to be fleshed out
13971 * docs/design/part-qos.txt:
13972 More QoS policy for decoders/demuxers/transforms
13974 * docs/design/part-trickmodes.txt:
13977 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13982 === release 0.10.5 ===
13984 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13987 releasing 0.10.5, "Fogo"
13989 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13991 patch by: Wim Taymans
13993 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13994 (gst_pad_configure_src), (gst_pad_push):
13995 * gst/gstpipeline.c: (gst_pipeline_init):
13996 Fix internal data flow errors. Fixes #338711.
13998 2006-04-12 Wim Taymans <wim@fluendo.com>
14000 * tests/check/gst/gstelement.c: (GST_START_TEST):
14001 Don't leak the factory.
14003 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
14006 * win32/common/config.h:
14009 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
14011 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14012 (gst_controller_unset_all):
14013 Free allocated GstTimedValues when freeing list nodes.
14014 Should fix leaks 'make check-valgrind' complains about.
14016 * win32/common/libgstcontroller.def:
14017 Add gst_controller_unset_all.
14019 2006-04-11 Stefan Kost <ensonic@users.sf.net>
14021 * docs/libs/gstreamer-libs-sections.txt:
14022 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14023 (gst_controller_unset_all):
14024 * libs/gst/controller/gstcontroller.h:
14025 API: Added new method gst_controller_unset_all()
14026 fixed gst_controller_unset()
14027 * tests/check/libs/controller.c: (GST_START_TEST),
14028 (gst_controller_suite):
14029 Added two testcases for new and fixed method
14031 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
14033 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14034 MSG_DONTWAIT is not defined on Cygwin, so work
14035 around that (fixes #317048).
14037 2006-04-11 Wim Taymans <wim@fluendo.com>
14039 * gst/gstelementfactory.c: (gst_element_register),
14040 (gst_element_factory_create), (gst_element_factory_make):
14043 Updated docs (Fixes #131079)
14045 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14048 * tests/check/gst/gstelement.c: (GST_START_TEST),
14049 (gst_element_suite):
14050 Added testcase for elementfactory class field.
14052 2006-04-10 Wim Taymans <wim@fluendo.com>
14054 * gst/gstsegment.c:
14055 Added some more docs.
14057 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14058 (gst_base_sink_reset_qos):
14059 Calculate more accurate rate values.
14061 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
14063 * gst/gst_private.h:
14064 add a new #ifdef to use __declspec(dllimport) only for
14065 other modules and not for gstreamer core
14066 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14067 use gst_guint64_to_gdouble for conversion
14068 * win32/common/libgstreamer.def:
14069 add new exported functions
14070 * win32/vs6/gst_inspect.dsp:
14071 * win32/vs6/gst_launch.dsp:
14072 * win32/vs6/libgstbase.dsp:
14073 * win32/vs6/libgstcontroller.dsp:
14074 * win32/vs6/libgstcoreelements.dsp:
14075 * win32/vs6/libgstdataprotocol.dsp:
14076 * win32/vs6/libgstnet.dsp:
14077 update project files
14079 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14081 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14082 * gst/gstclock.c: (gst_clock_class_init):
14083 * gst/gstelement.c: (gst_element_class_init):
14084 * gst/gstindex.c: (gst_index_class_init):
14085 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14086 * gst/gstobject.c: (gst_object_class_init),
14087 (gst_signal_object_class_init):
14088 * gst/gstpad.c: (gst_pad_class_init):
14089 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14090 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14091 * gst/gstregistry.c: (gst_registry_class_init):
14092 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14093 * gst/gsttask.c: (gst_task_class_init):
14094 * gst/gstxml.c: (gst_xml_class_init):
14095 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14096 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14097 (gst_base_src_loop):
14098 * libs/gst/controller/gstcontroller.c:/
14099 (_gst_controller_class_init):
14100 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14101 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14102 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14103 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14104 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14105 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14107 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14109 * gst/gstpad.c: (gst_pad_link):
14110 Must set peer pads before calling the link function, otherwise
14111 a task started from a link function might get a flow-not-linked
14112 result when trying to push because the other thread where the
14113 linking happens hasn't had a chance to set the peers yet. This
14114 might happen for example when a queue gets linked to a downstream
14115 element, as queue starts a streaming task when its source pad
14116 gets linked. Happens in real life when playing back flac/musepack
14117 files in playbin (#332390).
14119 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14123 * libs/gst/base/gstadapter.h:
14124 * libs/gst/base/gstbasesink.h:
14125 * libs/gst/base/gstbasesrc.h:
14126 * libs/gst/base/gstbasetransform.h:
14127 * libs/gst/base/gstcollectpads.h:
14128 * libs/gst/base/gstpushsrc.h:
14129 Fix broken GObject macros
14131 2006-04-07 Wim Taymans <wim@fluendo.com>
14133 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14134 Initialize start and stop times, thanks valgrind.
14136 2006-04-07 Wim Taymans <wim@fluendo.com>
14138 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14139 Be a bit nicer to badly behaving upstream elements that expect
14140 us to deal with non TIME segments and timestamps (such as fakesrc
14143 2006-04-07 Wim Taymans <wim@fluendo.com>
14146 Small documentation clarification about the signal watch.
14148 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14149 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14150 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14151 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14152 (gst_base_sink_get_position_last),
14153 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14154 Convert and store timestamps in stream time and running time, the
14155 raw timestamps are not useful, also document this better.
14156 Use different window sizes for good and bad QoS observations so
14157 we react to badness a little quicker.
14158 Keep track of the amount of rendered and dropped buffers.
14159 Send QoS timestamps in running time.
14161 * libs/gst/base/gstbasetransform.c:
14162 (gst_base_transform_sink_eventfunc),
14163 (gst_base_transform_handle_buffer):
14164 Compare QoS timestamps against running time.
14166 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14169 Typo fixes in docs.
14171 2006-04-06 Michael Smith <msmith@fluendo.com>
14173 * gst/gstpad.c: (gst_pad_set_property):
14174 Use g_value_get_object() instead of g_value_dup_gst_object(),
14175 to avoid double-reffing the pad template (which we then sink,
14176 so this worked previously if (and only if) the pad template
14179 * gst/gstpadtemplate.c: (gst_pad_template_init),
14180 (gst_pad_template_pad_created):
14181 Never return floating references to pad templates, create
14182 them as initially-sunken.
14184 Document an extra function (and make this stop sinking our
14185 pad template, since that is now guaranteed to do nothing,
14186 since we created it sunken).
14188 * gst/gstghostpad.c:
14191 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14193 * gst/gstinfo.c: (__gst_in_valgrind):
14196 * plugins/elements/gsttypefindelement.c:
14197 (gst_type_find_element_chain):
14198 Don't leak buffer caps.
14200 2006-04-06 Michael Smith <msmith@fluendo.com>
14202 * gst/parse/grammar.y:
14203 Fix a leak in parse-launch for any source-or-sink named element
14206 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14207 Unref the pipeline if it exists after we've failed parsing.
14209 2006-04-05 Michael Smith <msmith@fluendo.com>
14211 * gst/gstpipeline.c: (gst_pipeline_init):
14212 When we create a pipeline bus, initially create it in flushing mode.
14213 Fixes leaks in at least one test, and makes a new pipeline work the
14214 same as one that has gone to READY and then back to NULL.
14216 * gst/gstelement.c:
14219 2006-04-05 Michael Smith <msmith@fluendo.com>
14221 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14222 Unref a pad we reffed.
14223 * tests/check/gst/gstutils.c: (GST_START_TEST):
14226 2006-04-05 Michael Smith <msmith@fluendo.com>
14228 * gst/gstquery.c: (gst_query_set_formats),
14229 (gst_query_set_formatsv):
14230 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14232 2006-04-05 Michael Smith <msmith@fluendo.com>
14234 * tests/check/generic/sinks.c: (GST_START_TEST):
14235 Fix a variety of memleaks in sinks check, which are only sometimes
14236 shown by running the tests under valgrind (weird?).
14238 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14240 * docs/version.entities.in:
14241 Fix the substituted entity name after thomas' changes on the
14244 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14246 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14249 2006-04-05 Andy Wingo <wingo@pobox.com>
14251 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14253 * libs/gst/base/gstbasetransform.c
14254 (gst_base_transform_sink_eventfunc): When resetting our segment on
14255 FLUSH_STOP, also update the flag saying we haven't seen a
14258 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14260 Patch by: Paolo Borelli <pborelli at katamail dot com>
14262 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14263 (gst_plugin_check_license):
14264 minor clean-ups: G_DEFINE_TYPE already takes care of the
14265 parent_class stuff, no need to do it twice. Mark array of
14266 license strings as constant. (#337103)
14268 2006-04-04 Michael Smith <msmith@fluendo.com>
14270 * tools/gst-inspect.c: (print_element_list):
14271 Free the right plugin list; fixes a memory leak.
14273 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14275 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14277 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14278 Don't error out on empty buffers (#336945).
14280 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14282 * docs/libs/gstreamer-libs-sections.txt:
14283 * gst/gsttaglist.c:
14284 * libs/gst/base/gstbasesink.c:
14285 * libs/gst/base/gstbasesink.h:
14286 * libs/gst/base/gstbasesrc.c:
14287 * libs/gst/base/gstbasesrc.h:
14288 Documentation updates. Make BaseSink and BaseSrc docs contain the
14289 class structure so that people can actually see the prototypes for
14290 virtual functions they're supposed to be overriding.
14292 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14294 * plugins/elements/gsttypefindelement.c:
14295 (gst_type_find_element_chain):
14296 More debug info; when skipping typefinding, send cached
14297 events in all cases.
14299 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14302 use new AS_VERSION and AS_NANO macros
14303 * gst/gst-i18n-lib.h:
14306 * gst/gstversion.h.in:
14307 * win32/common/config.h:
14308 * win32/common/config.h.in:
14311 2006-03-31 Michael Smith <msmith@fluendo.com>
14313 * plugins/elements/gsttypefindelement.c:
14314 (gst_type_find_element_chain):
14315 Do not typefind content if the buffers already have caps.
14316 Neccesary for icydemux (#333657), and the right thing to do anyway.
14318 2006-03-30 Wim Taymans <wim@fluendo.com>
14320 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14321 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14322 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14323 (gst_base_sink_record_qos_observation),
14324 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14325 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14326 (gst_base_sink_change_state):
14327 More QoS measurements as described in the design doc.
14328 Get rid of ringbuffer with observations, running average is
14329 more simple and equally good.
14330 Calculates valid proportion now.
14331 Added beginning of flood measurement.
14333 2006-03-29 Wim Taymans <wim@fluendo.com>
14335 * docs/design/part-qos.txt:
14337 Small documentation updates and additions.
14339 2006-03-29 Wim Taymans <wim@fluendo.com>
14341 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14342 (gst_base_src_send_event), (gst_base_src_loop),
14343 (gst_base_src_change_state):
14344 Perform the EOS logic when we reach the segment stop position.
14345 Fix compilation on gcc4.1
14347 2006-03-29 Wim Taymans <wim@fluendo.com>
14349 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14351 * plugins/elements/gstqueue.c: (gst_queue_init),
14352 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14353 (gst_queue_set_property):
14354 * plugins/elements/gstqueue.h:
14355 In queue, when EOS is received, if minimum threshold > max_size -
14356 current_level, there is chance that queue blocks forever in conditional
14357 item del wait. This is because the queue is not emptied completely due
14358 to minimum threshold. Here is another approach. Instead of setting
14359 cur_levels to max in EOS, just zero all minimum threshold levels. This
14360 should make sure that queue gives out all data. When going to READY
14361 (stop) state, just reset the original minimum threshold levels.
14364 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14366 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14367 (gst_type_find_element_handle_event),
14368 (gst_type_find_element_send_cached_events),
14369 (gst_type_find_element_change_state):
14370 * plugins/elements/gsttypefindelement.h:
14371 When typefinding is done in push mode, we should cache
14372 events we receive during typefinding instead of just
14373 dropping them (e.g. newsegment, custom events from
14374 dvdreadsrc etc.) and then send them out once we've
14375 determined the type of the stream (and decodebin
14376 has had a chance to plug in a decoder/demuxer).
14378 2006-03-27 Wim Taymans <wim@fluendo.com>
14380 * docs/design/part-qos.txt:
14383 2006-03-27 Wim Taymans <wim@fluendo.com>
14385 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14387 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14388 (gst_base_src_send_event), (gst_base_src_change_state):
14389 Handle element seek correctly when we are streaming.
14392 2006-03-24 Michael Smith <msmith@fluendo.com>
14394 * docs/faq/gst-uninstalled:
14395 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14396 allow you to correctly run intalled applications built against old
14397 core, using plugins that require updated core (e.g. running
14398 installed totem against a full uninstalled gstreamer stack)
14400 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14402 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14405 2006-03-24 Wim Taymans <wim@fluendo.com>
14407 * docs/gst/gstreamer-sections.txt:
14408 Rearrange the order of the methods so that related methods
14409 are grouped together in sections.
14411 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14413 * gst/gstelement.c:
14414 Little clarification in the docs
14416 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14420 * plugins/elements/gstidentity.c:
14421 * plugins/elements/gstqueue.c:
14422 * plugins/elements/gsttee.c:
14423 * plugins/elements/gsttypefindelement.c:
14424 GST_ELEMENT_DETAILS formatting
14426 2006-03-24 Wim Taymans <wim@fluendo.com>
14428 * libs/gst/base/gstbasesink.h:
14429 Only add fields, not insert or we break ABI.
14431 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14433 * win32/common/libgstbase.def:
14434 * win32/common/libgstreamer.def:
14435 Update, add recently added functions.
14437 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14439 * docs/gst/gstreamer-sections.txt:
14440 * gst/gstutils.c: (gst_pad_query_peer_position),
14441 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14443 API: add some new utility functions:
14444 - gst_pad_query_peer_position()
14445 - gst_pad_query_peer_duration()
14446 - gst_pad_query_peer_convert()
14448 2006-03-23 Wim Taymans <wim@fluendo.com>
14450 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14451 (gst_base_sink_init), (gst_base_sink_finalize),
14452 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14453 (gst_base_sink_set_property), (gst_base_sink_get_property),
14454 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14455 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14456 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14457 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14458 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14459 (gst_base_sink_preroll_object), (gst_base_sink_event),
14460 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14461 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14462 (gst_base_sink_query), (gst_base_sink_change_state):
14463 Decouple max-lateness and the fact that QoS messages are generated
14464 with a new property (qos).
14465 added API: GstBaseSink::async_play()
14466 Add vmethod so subclasses can be notified of ASYNC playing
14468 Collect timestamp start and stop to report better current
14469 position in EOS/PLAYING/PAUSED/READY/NULL.
14470 Refactor QoS/frame dropping and other measurements.
14471 API: GstBaseSrc::qos
14474 * libs/gst/base/gstbasesink.h:
14475 Added Private struct.
14476 API: gst_base_sink_set_qos_enabled()
14477 API: gst_base_sink_is_qos_enabled()
14479 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14481 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14482 If compiling against GLib-2.8 or newer, try to read the
14483 registry file using GMappedFile first before falling back
14484 to fopen() + fread() (#332151).
14486 2006-03-22 Wim Taymans <wim@fluendo.com>
14488 * gst/gstinfo.c: (gst_debug_set_active),
14489 (gst_debug_category_set_threshold):
14490 Disable debugging unless explicitly activated.
14493 2006-03-22 Wim Taymans <wim@fluendo.com>
14495 * gst/gstelement.c: (gst_element_set_locked_state),
14496 (gst_element_dispose):
14497 Cleanup the error case.
14499 * gst/gstobject.c: (gst_object_dispose):
14500 print a critical when some object was disposed with
14501 a parent, also revive the object since it might
14504 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14506 * tools/gst-launch.1.in:
14509 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14512 * tests/check/Makefile.am:
14513 disable some tests when we don't have a registry
14514 * tests/check/gst/gstutils.c: (gst_utils_suite):
14515 don't build the part that needs parsing
14517 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14520 * tests/examples/Makefile.am:
14521 fix --disable-parse build
14523 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14525 * tools/gst-feedback.1.in:
14526 Fix typo: s/feeback/feedback/ (#133494).
14528 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14530 * tools/Makefile.am:
14531 * tools/gst-launch.1.in:
14532 Add FILES section and correct entry about GST_REGISTRY_PATH
14533 environment variable (#133495; #133494).
14535 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14537 * tools/Makefile.am:
14538 * tools/gst-md5sum.1.in:
14539 * tools/gst-md5sum.c:
14540 Remove gst-md5sum and man page (the md5sink element
14541 required was removed ages ago)
14543 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14545 * gst/gststructure.c: (gst_structure_id_set_value):
14546 Make sure that string fields in structures/taglists
14547 contain valid UTF-8 - we don't want to pass rubbish to
14548 applications because of a buggy plugin (cp. #334167).
14550 2006-03-21 Edward Hervey <edward@fluendo.com>
14552 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14553 (gst_bin_handle_message_func):
14554 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14555 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14556 (gst_element_set_bus_func):
14557 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14558 * gst/gstminiobject.c: (gst_value_set_mini_object),
14559 (gst_value_take_mini_object):
14560 * gst/gstpad.c: (gst_pad_set_pad_template):
14561 * gst/gstpipeline.c: (gst_pipeline_dispose),
14562 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14563 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14564 (gst_collect_pads_chain):
14565 * libs/gst/net/gstnettimeprovider.c:
14566 (gst_net_time_provider_set_property):
14567 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14568 It's in fact all issues with gst_*object_replace().
14570 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14572 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14574 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14575 * pkgconfig/gstreamer-check.pc.in:
14576 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14578 2006-03-21 Edward Hervey <edward@fluendo.com>
14582 * gst/gstmessage.h:
14583 gst_[buffer|event|message]_ref() macros are replaced by a static
14584 inline functions because gcc-4.1 will about if the return value
14586 * tests/check/gst/gstevent.c: (event_probe):
14587 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14589 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14592 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14593 the type' case. (Closes: #335195 for now). In the future, when we
14594 depend on GLib 2.10, we could also intern the type name using
14595 g_intern_static_string()
14597 2006-03-20 Wim Taymans <wim@fluendo.com>
14599 * gst/gstbin.c: (gst_bin_handle_message_func),
14600 (bin_query_max_init), (bin_query_position_fold),
14601 (bin_query_position_done), (gst_bin_query):
14602 Position query should also take max of all streams.
14604 2006-03-20 Wim Taymans <wim@fluendo.com>
14606 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14607 (gst_fake_src_finalize):
14608 Fix leaks in fakesrc.
14610 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14611 Fix leaks in the testcase.
14613 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14615 * gst/gst_private.h:
14616 add win32 specific import decoration(__declspec(dllimport))
14617 for all extern GstDebugCategory * variables
14618 * win32/common/libgstbase.def:
14619 * win32/common/libgstcontroller.def:
14620 * win32/common/libgstreamer.def:
14621 Add some exports, remove empty lines
14622 * win32/common/libgstdataprotocol.def:
14623 * win32/common/libgstdataprotocol.dsp:
14624 * win32/common/libgstnet.def:
14625 * win32/common/libgstnet.dsp:
14626 new project files and exportation files added
14628 2006-03-19 Wim Taymans <wim@fluendo.com>
14630 * tests/check/libs/basesrc.c: (eos_event_counter):
14631 Use proper return value for probe.
14633 2006-03-17 Wim Taymans <wim@fluendo.com>
14635 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14637 Don't leak buffers, caps and pads on negotiation errors.
14639 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14641 * docs/faq/cvs.xml:
14642 * docs/faq/dependencies.xml:
14643 * docs/faq/developing.xml:
14644 * docs/faq/faq.xml:
14645 * docs/faq/general.xml:
14646 * docs/faq/getting.xml:
14647 * docs/faq/legal.xml:
14648 * docs/faq/troubleshooting.xml:
14649 * docs/faq/using.xml:
14650 Faq review and update.
14652 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14654 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14656 Don't pound the cpu to pieces by checking get_caps when accept_caps
14657 is called with the same caps as the pad already has.
14658 Use GST_DEBUG_OBJECT when outputting caps change information.
14660 2006-03-15 Wim Taymans <wim@fluendo.com>
14662 * gst/gstclock.c: (gst_clock_class_init):
14665 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14670 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14671 (gst_pad_accept_caps), (gst_pad_configure_sink),
14672 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14673 Make the default acceptcaps behaviour be to check the requested
14674 caps against the gst_pad_get_caps output.
14676 Ensure that gst_pad_accept_caps is used to check caps when a pad
14677 doesn't have a setcaps function, so that pads automatically refuse
14678 caps that they don't allow in their pad template. (Fixes #332986)
14680 When a buffer with attached caps is pushed, ensure that the source
14681 pad receives those caps even if the element didn't call
14682 gst_pad_set_caps first.
14684 2006-03-15 Wim Taymans <wim@fluendo.com>
14686 * libs/gst/base/gstadapter.c:
14689 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14691 * win32/common/libgstbase.def:
14692 * win32/common/libgstcontroller.def:
14693 * win32/common/libgstreamer.def:
14694 Add a whole bunch of missing functions (#334434).
14696 2006-03-14 Wim Taymans <wim@fluendo.com>
14698 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14699 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14700 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14701 Better debug info when we receive a segment event.
14702 Reorganize a bit so we can pass the get_times() results around.
14703 Use the segment format when calculating the running time.
14704 Don't do QoS is sync is disabled or we have no clock or the
14705 element does not want us to sync to the clock.
14706 Don't drop buffers if QoS is disabled for now.
14708 2006-03-14 Wim Taymans <wim@fluendo.com>
14710 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14711 Marked the stats property as unimplemented so people don't get
14713 Add debug message when regression goes wrong.
14714 Added some more docs.
14716 2006-03-14 Wim Taymans <wim@fluendo.com>
14718 * gst/gstsegment.c: (gst_segment_to_stream_time):
14719 Return correct return type in case of errors.
14721 2006-03-14 Wim Taymans <wim@fluendo.com>
14723 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14724 Don't segfault on invalid formats.
14726 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14728 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14729 Can't use gst_segment_to_running_time() when the segment
14730 is not in GST_TIME_FORMAT (like with filesink, for example).
14731 Stops flac encoding pipelines from spewing critical warnings
14734 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14736 * gst/gstpipeline.c: (gst_pipeline_class_init):
14737 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14739 * plugins/elements/gsttypefindelement.c:
14740 (gst_type_find_element_handle_event):
14741 Don't try to typefind empty streams.
14743 2006-03-14 Wim Taymans <wim@fluendo.com>
14745 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14746 (gst_base_sink_do_qos):
14747 Separate QoS calculation.
14748 Only drop buffers when lateness is bigger than the
14749 duration of the buffer.
14751 2006-03-13 Wim Taymans <wim@fluendo.com>
14753 * gst/gstpipeline.c: (gst_pipeline_set_property),
14754 (gst_pipeline_get_property), (do_pipeline_seek),
14755 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14756 (gst_pipeline_get_delay):
14757 Don't deadlock when reading properties.
14759 2006-03-13 Wim Taymans <wim@fluendo.com>
14761 * libs/gst/base/gstbasetransform.c:
14762 (gst_base_transform_class_init), (gst_base_transform_init),
14763 (gst_base_transform_sink_event),
14764 (gst_base_transform_sink_eventfunc),
14765 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14766 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14767 (gst_base_transform_set_property),
14768 (gst_base_transform_get_property),
14769 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14770 (gst_base_transform_set_qos_enabled),
14771 (gst_base_transform_is_qos_enabled):
14772 * libs/gst/base/gstbasetransform.h:
14773 Make basetransform virtual method for src events too.
14774 Handle QOS in basetransform.
14775 API: gst_base_transform_update_qos()
14776 API: gst_base_transform_set_qos_enabled()
14777 API: gst_base_transform_is_qos_enabled()
14779 2006-03-13 Wim Taymans <wim@fluendo.com>
14781 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14782 (gst_base_sink_do_sync):
14784 Use QOS debug category.
14786 2006-03-13 Wim Taymans <wim@fluendo.com>
14788 * plugins/elements/gstqueue.c:
14789 Very small doc update.
14791 2006-03-13 Wim Taymans <wim@fluendo.com>
14793 * gst/gst_private.h:
14794 * gst/gstinfo.c: (_gst_debug_init):
14795 Added QOS debug category
14797 2006-03-13 Wim Taymans <wim@fluendo.com>
14799 * docs/gst/gstreamer-sections.txt:
14800 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14802 * gst/gstbus.c: (gst_bus_class_init):
14805 * gst/gstelement.c: (gst_element_set_locked_state):
14806 * gst/gstsegment.c:
14807 Documentation updates.
14809 * gst/gstpipeline.c: (gst_pipeline_get_type),
14810 (gst_pipeline_class_init), (gst_pipeline_init),
14811 (gst_pipeline_dispose), (gst_pipeline_set_property),
14812 (gst_pipeline_get_property), (do_pipeline_seek),
14813 (gst_pipeline_send_event), (gst_pipeline_change_state),
14814 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14815 (gst_pipeline_get_delay):
14816 * gst/gstpipeline.h:
14817 Added methods for setting the delay.
14818 API: gst_pipeline_set_delay()
14819 API: gst_pipeline_get_delay()
14820 Add pipeline debug category
14823 Don't reset stream time when seek failed.
14825 2006-03-13 Wim Taymans <wim@fluendo.com>
14827 * docs/design/draft-klass.txt:
14828 * docs/design/part-clocks.txt:
14829 * docs/design/part-events.txt:
14830 * docs/design/part-gstbin.txt:
14831 * docs/design/part-gstpipeline.txt:
14832 * docs/design/part-messages.txt:
14833 * docs/design/part-negotiation.txt:
14834 * docs/design/part-overview.txt:
14835 * docs/design/part-preroll.txt:
14836 * docs/design/part-seeking.txt:
14837 * docs/design/part-states.txt:
14838 * docs/design/part-streams.txt:
14839 Documentation updates.
14841 2006-03-12 Julien MOUTTE <julien@moutte.net>
14843 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14844 us to leak strings...
14846 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14848 * libs/gst/net/gstnettimeprovider.c:
14850 * win32/common/config.h:
14853 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14855 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14858 Don't check for libgnomeui (leftover from old examples
14859 that aren't built or disted any longer) (#334303).
14861 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14863 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14864 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14865 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14866 there's no space left on the device.
14868 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14871 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14872 to cast the input to GstClockTime before comparing with
14873 another GstClockTime value.
14875 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14880 === release 0.10.4 ===
14882 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14885 releasing 0.10.4, "Light"
14887 2006-03-10 Michael Smith <msmith@fluendo.com>
14889 * libs/gst/dataprotocol/dataprotocol.c:
14890 Fix docs for dataprocotol to not get the return types completely
14891 wrong for a few functions.
14893 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14895 * docs/gst/gstreamer-sections.txt:
14896 * gst/gstpipeline.c: (gst_pipeline_class_init),
14897 (gst_pipeline_init), (gst_pipeline_set_property),
14898 (gst_pipeline_get_property), (gst_pipeline_change_state),
14899 (gst_pipeline_set_auto_flush_bus),
14900 (gst_pipeline_get_auto_flush_bus):
14901 * gst/gstpipeline.h:
14902 Add new API: gst_pipeline_set_auto_flush_bus() and
14903 gst_pipeline_get_auto_flush_bus() to disable automatic
14904 flushing of the pipeline's GstBus when going from READY
14905 to NULL state (#332045).
14907 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14909 * docs/gst/gstreamer-sections.txt:
14910 * gst/gsturi.c: (gst_uri_has_protocol):
14912 Add new API: gst_uri_has_protocol() (#333779).
14914 2006-03-09 Wim Taymans <wim@fluendo.com>
14916 * gst/gstclock.c: (gst_clock_entry_new),
14917 (gst_clock_id_compare_func), (gst_clock_id_wait),
14918 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14919 (gst_clock_init), (gst_clock_get_internal_time),
14920 (gst_clock_set_master), (do_linear_regression),
14921 (gst_clock_add_observation), (gst_clock_set_property):
14925 Fix a possible segfault when the window-size is made smaller.
14926 Calculate jitter before performing the clock wait. Ideally
14927 the clock implementation should calculate jitter but we need
14928 API breakage for that.
14930 * gst/gstsystemclock.c: (gst_system_clock_init):
14933 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14934 Remove leftover else
14936 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14937 (gst_systemclock_suite):
14938 Added check to test GST_CLOCK_DIFF.
14940 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14942 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14943 (gst_type_find_helper_get_range):
14944 If we are provided with the size, we should implement
14945 GstTypeFind::get_length, so that typefind functions who
14946 want to can actually peek at the middle of a file.
14948 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14950 * docs/manual/advanced-dataaccess.xml:
14951 Add some very very basic error checking.
14953 * docs/pwg/appendix-checklist.xml:
14954 Some updates to the list of things to check when writing an element.
14956 2006-03-08 Wim Taymans <wim@fluendo.com>
14958 * docs/design/part-element-transform.txt:
14959 Added some docs about the design of tranform elements.
14961 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14962 (gst_base_src_loop), (gst_base_src_change_state):
14963 Mark buffers with the DISCONT flag.
14965 2006-03-08 Michael Smith <msmith@fluendo.com>
14967 * gst/gstregistry.h:
14968 * gst/gstregistryxml.c: (gst_registry_save),
14969 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14970 (gst_registry_xml_save_pad_template),
14971 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14972 (gst_registry_xml_write_cache):
14973 Rewrite registry-saving to avoid race conditions and check for
14976 2006-03-08 Wim Taymans <wim@fluendo.com>
14978 * libs/gst/base/gstbasetransform.c:
14979 (gst_base_transform_transform_caps),
14980 (gst_base_transform_transform_size),
14981 (gst_base_transform_prepare_output_buffer),
14982 (gst_base_transform_get_unit_size),
14983 (gst_base_transform_buffer_alloc),
14984 (gst_base_transform_handle_buffer),
14985 (gst_base_transform_change_state):
14986 Cleanups, separate normal flow from errors, add sensible
14988 Don't try to renegotiate when allocating an output buffer.
14989 Also copy DISCONT buffer flag when copying a buffer.
14990 Reset the transform after we finish streaming, not during.
14992 2006-03-08 Wim Taymans <wim@fluendo.com>
14994 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14995 Use last buffer timestamp in qos message.
14997 2006-03-07 Wim Taymans <wim@fluendo.com>
14999 Patch by: Christophe Fergeau
15001 * docs/pwg/advanced-tagging.xml:
15002 * docs/pwg/building-pads.xml:
15005 2006-03-07 Wim Taymans <wim@fluendo.com>
15007 * docs/libs/gstreamer-libs-sections.txt:
15008 Added basesink new methods.
15012 Docs updates. Flesh out the QoS docs.
15014 * libs/gst/base/gstadapter.c:
15015 Small doc clarification about ownership and flushing.
15017 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15018 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15019 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15020 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15021 * libs/gst/base/gstbasesink.h:
15023 Added new methods to allow subclass to control max-lateness
15025 Generate very basic QoS events based on last sync observation.
15026 Updated docs, fix typo, added some QoS blurb.
15028 * libs/gst/base/gstbasesrc.c:
15029 Remove obsolete _get_state() calls from docs.
15031 2006-03-07 Wim Taymans <wim@fluendo.com>
15033 * docs/libs/gstreamer-libs-sections.txt:
15034 * libs/gst/base/gstbasetransform.h:
15035 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15036 Fix docs for GstBaseSrc.
15038 2006-03-07 Wim Taymans <wim@fluendo.com>
15040 * docs/gst/gstreamer-sections.txt:
15043 * libs/gst/base/gstbasetransform.h:
15044 Small documentation fixes.
15046 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15049 Document thread-unsafety of gst_value_register_foo_func()
15050 when used at the same time as gst_value_foo() (#322628).
15052 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15054 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15055 (gst_push_src_check_get_range):
15056 Push sources don't support pull mode by default.
15058 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15060 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15061 (gst_base_src_init), (gst_base_src_pad_check_get_range),
15062 (gst_base_src_default_check_get_range):
15063 * libs/gst/base/gstbasesrc.h:
15064 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15065 provide default implementation, and rename
15066 gst_base_src_check_get_range() to
15067 gst_base_src_pad_check_get_range() for clarity.
15069 2006-03-06 Wim Taymans <wim@fluendo.com>
15071 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15072 Make property overridable.
15074 2006-03-06 Wim Taymans <wim@fluendo.com>
15076 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15077 (gst_base_sink_init), (gst_base_sink_set_property),
15078 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15079 * libs/gst/base/gstbasesink.h:
15080 API addition: Make max-lateness a property.
15082 2006-03-06 Wim Taymans <wim@fluendo.com>
15084 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15085 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15086 Don't ever draw a frame that is >10ms late.
15088 2006-03-06 Michael Smith <msmith@fluendo.com>
15090 * gst/gstmessage.c: (_gst_message_copy):
15091 When copying a message, set the parent_refcount of the enclosed
15092 structure to point at the copy, not the original message.
15094 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15096 Patch by: Christophe Fergeau
15099 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15100 usable in c++ code (#333417)
15102 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15105 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15107 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15109 * libs/gst/base/gstbasetransform.c:
15110 (gst_base_transform_transform_caps):
15111 Make sure caps are writable before passing them to
15114 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15117 Fix some minor docs errors.
15119 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15121 Patch by: Ross Burton <ross at burtonini dot com>
15123 * gst/gsterror.c: (_gst_resource_errors_init):
15125 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15127 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15130 Add a check and output a g_warning when GStreamer is built
15131 against GLib 2.6 but running against 2.8 or higher, and vice
15132 versa. (Closes: #323542)
15134 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15136 * gst/parse/parse.l:
15137 Commit patch for parse_launch syntax from #331255. Removes
15138 support for quoted strings and mimetypes when writing filtered
15139 caps. See the bug report for more details - I'm pretty sure this
15140 obscure feature is not in use by _anyone_ anywhere.
15142 With this simple change, the size of the gstreamer.so here
15143 drops from 2193KB to 1565KB.
15145 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15147 * plugins/elements/gsttypefindelement.h:
15148 * plugins/elements/gsttypefindelement.c:
15149 (gst_type_find_element_src_event), (start_typefinding),
15150 (stop_typefinding), (gst_type_find_element_handle_event),
15151 (gst_type_find_element_chain),
15152 (gst_type_find_element_chain_do_typefinding):
15153 Use gst_type_find_helper_for_buffer() for chain-based
15156 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15158 * plugins/elements/gsttypefindelement.c:
15159 (gst_type_find_element_class_init),
15160 (gst_type_find_element_set_property),
15161 (gst_type_find_element_get_property):
15162 Deprecate "maximum" property (not only was it only taken into
15163 account for typefinding in push-mode anyway, it also was never
15164 actually possible to set it in the first place because the
15165 property was registered with the numeric property ID for the
15166 "minimum" property). Register "maximum" property correctly,
15167 for the sake of future copy'n'pasters. Remove some cruft
15168 from property get/set functions.
15170 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15172 * plugins/elements/gsttypefindelement.c:
15173 (gst_type_find_element_activate):
15174 Use gst_type_find_helper_get_range() here, so we
15175 can honour the "minimum" property and also emit
15176 the signal with the correct probability of the found caps.
15178 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15180 * docs/libs/gstreamer-libs-sections.txt:
15181 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15182 (helper_find_suggest), (gst_type_find_helper_get_range),
15183 (gst_type_find_helper):
15184 * libs/gst/base/gsttypefindhelper.h:
15185 New API: gst_type_find_helper_get_range() (#333042).
15187 2006-03-02 Michael Smith <msmith@fluendo.com>
15189 * gst/gstregistryxml.c: (load_feature):
15190 Asserting on a failure to read part of the registry is Not Cool.
15191 Just log a warning and return NULL (which is already handled)
15193 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15195 * win32/common/libgstbase.def:
15196 added export of gst_type_find_helper_for_buffer
15197 * win32/common/libgstbase.def:
15198 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15199 gst_ghost_pad_get_target
15201 2006-02-28 Wim Taymans <wim@fluendo.com>
15203 * docs/design/draft-klass.txt:
15205 Added Connector to mark elements that are only used to
15206 allow pipeline connections.
15207 Moved Debug to extra feature since most of them are
15208 functionally something else.
15210 2006-02-28 Wim Taymans <wim@fluendo.com>
15212 * docs/design/draft-klass.txt:
15213 Some updates and clarifications.
15215 2006-02-28 Wim Taymans <wim@fluendo.com>
15217 * docs/design/draft-klass.txt:
15218 Proposal for klass field values.
15220 * docs/design/part-streams.txt:
15221 Start of a doc describing stream anatomy.
15223 2006-02-28 Wim Taymans <wim@fluendo.com>
15225 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15226 Help the compiler a bit with type registration.
15227 Use existing forward cod path instead of duplicating it when
15228 handling a message.
15230 * gst/gstbus.c: (gst_bus_get_type):
15231 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15232 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15233 * gst/gstclock.c: (gst_clock_get_type):
15234 * gst/gstelement.c: (gst_element_get_type),
15235 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15236 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15237 * gst/gstminiobject.c: (gst_mini_object_get_type):
15238 * gst/gstpad.c: (gst_pad_get_type):
15239 * gst/gstsegment.c: (gst_segment_get_type):
15240 * gst/gststructure.c: (gst_structure_get_type):
15241 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15242 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15244 Help compiler with type registration.
15246 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15249 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15251 * plugins/elements/gsttypefindelement.c:
15252 (gst_type_find_element_handle_event):
15253 When we get an EOS event and have not found a type yet
15254 (most likely because we had not yet accumulated
15255 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15256 type given the data we have so far. Fixes typefinding
15257 for very short streams again, most notably quicktime
15258 redirections as used on Apple's trailer site (#331701).
15260 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15262 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15263 (gst_type_find_helper):
15264 Try typefinding factories with the highest rank first.
15266 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15268 * docs/libs/gstreamer-libs-docs.sgml:
15269 * docs/libs/gstreamer-libs-sections.txt:
15270 * libs/gst/base/gsttypefindhelper.c:
15271 Add section for typefind helper and add documentation
15272 for the old and the new function.
15274 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15276 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15277 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15278 (gst_type_find_helper_for_buffer):
15279 * libs/gst/base/gsttypefindhelper.h:
15280 New API: gst_type_find_helper_for_buffer() (#332723).
15282 2006-02-27 Michael Smith <msmith@fluendo.com>
15284 Patch by: Loïc Minier
15287 * docs/Makefile.am:
15288 * docs/slides/Makefile.am:
15289 prevent CVS directories getting disted.
15291 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15293 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15294 Use the REFCOUNTING category for caps refcounting.
15296 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15298 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15299 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15301 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15303 * plugins/elements/gsttypefindelement.c:
15304 (gst_type_find_element_activate):
15305 Use gst_pad_check_pull_range() before _activate_pull()
15306 to avoid unnecessary open/close (see #331690).
15308 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15311 Docs enhancement: make it crystal clear what the
15312 gst_pad_add_*_probe() callbacks should look like.
15314 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15316 * libs/gst/base/gstbasesrc.c:
15317 Document how applications can stop recording from
15318 live sources (see #330996).
15320 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15322 * tests/check/Makefile.am:
15323 * tests/check/libs/basesrc.c: (eos_event_counter),
15324 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15325 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15326 (gst_basesrc_suite), (main):
15327 ... and add some tests for the base source EOS stuff.
15329 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15331 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15332 Test case originally showed the problem fixed below,
15333 but was then amended. Add checks back at the place
15334 where they used to be.
15336 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15338 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15339 (gst_base_src_init), (gst_base_src_loop),
15340 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15341 (gst_base_src_change_state):
15342 * libs/gst/base/gstbasesrc.h:
15343 Don't unconditionally send EOS when going from PAUSED to
15344 READY state, esp. make sure we don't send two EOS events
15345 in some cases (e.g. one when reaching EOS and one when
15346 going from PAUSED to READY). Also, we don't want to send
15347 EOS events when operating in pull mode. However, we do
15348 want to send an EOS event when shutting down a live
15349 source explicitly, for example (fixes #330996).
15351 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15353 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15354 Update src->read_position after a seek when not using mmap.
15355 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15357 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15363 Make things work with --disable-parse as they do with
15364 --disable-load-save - the symbols involved disappear, but the
15365 header is still installed and GST_DISABLE_PARSE is included via
15368 2006-02-20 Julien MOUTTE <julien@moutte.net>
15370 * libs/gst/base/gstbasetransform.c:
15371 (gst_base_transform_change_state): Fix a stupid bug. I was
15372 sure I compiled that.
15374 2006-02-20 Julien MOUTTE <julien@moutte.net>
15376 * gst/gstpad.c: (gst_pad_set_blocked_async):
15377 * gst/gstutils.c: (gst_pad_add_data_probe),
15378 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15379 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15380 (gst_pad_remove_buffer_probe): Make those function act on the
15381 ghostpad target when it's a ghostpad. (Closes #331727)
15383 2006-02-20 Julien MOUTTE <julien@moutte.net>
15385 * libs/gst/base/gstbasetransform.c:
15386 (gst_base_transform_change_state): Make basetransform reusable.
15389 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15391 * docs/random/release:
15392 Move the current documentation of how to do a release to the top
15395 * gst/gstbin.c: (gst_bin_class_init),
15396 (gst_bin_handle_message_func):
15397 Allow multiple state-recalculation threads. (Closes #328873)
15399 2006-02-19 Julien MOUTTE <julien@moutte.net>
15401 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15402 * gst/gstpad.c: (gst_pad_set_event_function),
15403 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15404 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15405 2 strings. You can't use the STR_NULL macro on that.
15407 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15409 * gst/gstpad.c: (gst_pad_set_event_function),
15410 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15411 (gst_pad_set_getcaps_function)
15412 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15413 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15414 So now, we can use --gst-debug-level=5 on Windows
15415 * win32/common/libgstcontroller.def:
15416 Added export of gst_controller_init
15417 * win32/vs6/libgstcontroller.dsp:
15418 Fixed Release post build configuration
15420 2006-02-17 Wim Taymans <wim@fluendo.com>
15422 * tests/check/gst/gstquery.c: (GST_START_TEST):
15423 Added another check.
15425 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15427 * plugins/elements/gsttypefindelement.c: (find_peek):
15428 We can do peeks at non-zero offsets, as long as they
15429 fall within the buffer we have.
15431 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15433 * tests/check/Makefile.am:
15434 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15435 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15436 (parse_suite), (main):
15437 Add testsuite for parse launch syntax
15439 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15441 * plugins/elements/gsttypefindelement.c:
15442 (gst_type_find_element_chain):
15443 When typefinding is unsuccessful in the chain function, don't
15444 error out immediately. Only error out with NO_CAPS_FOUND if
15445 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15446 otherwise simply wait for more data so we can try typefinding
15447 again with more data later. Also, don't attempt to typefind
15448 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15449 this should improve typefinding from network sources where the
15450 size of the first buffer can be somewhat random.
15452 2006-02-14 Wim Taymans <wim@fluendo.com>
15454 * docs/gst/gstreamer-sections.txt:
15455 * gst/gstpadtemplate.c:
15456 * gst/gstpadtemplate.h:
15457 Fix padtemplate docs, fixes #328805.
15459 2006-02-14 Wim Taymans <wim@fluendo.com>
15461 * tools/gst-launch.c: (main):
15462 NO_PREROLL is not an ERROR so don't send confusing messages
15465 2006-02-14 Wim Taymans <wim@fluendo.com>
15467 Patch by: Torsten Schoenfeld
15469 * gst/gstregistry.c: (gst_registry_get_default),
15470 (_gst_registry_cleanup):
15471 Protect default registry with lock and ref/sink it.
15474 2006-02-14 Wim Taymans <wim@fluendo.com>
15477 * gst/gstquery.c: (gst_query_list_add_format),
15478 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15479 (gst_query_parse_formats_nth):
15480 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15483 2006-02-14 Wim Taymans <wim@fluendo.com>
15485 * docs/gst/gstreamer-sections.txt:
15486 Reworked query docs.
15488 * gst/gstquery.c: (gst_query_new_formats),
15489 (gst_query_list_add_format), (gst_query_set_formats),
15490 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15491 (gst_query_parse_formats_nth):
15493 Flesh out formats query, added some new methods.
15494 Fix part of #324398.
15496 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15497 Added query creation tests.
15499 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15501 * gst/gstpad.c: (fixate_value):
15502 Add a default fixation for fraction lists.
15504 2006-02-13 Wim Taymans <wim@fluendo.com>
15506 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15507 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15510 Detect and warn for obvious deadlocks. fixes #320340
15511 Fix error case where lock was not released.
15513 * tests/check/Makefile.am:
15514 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15515 (task_func), (gst_element_suite), (main):
15518 2006-02-13 Wim Taymans <wim@fluendo.com>
15520 * docs/gst/gstreamer-sections.txt:
15522 Add new functions to docs.
15524 2006-02-13 Wim Taymans <wim@fluendo.com>
15526 * docs/design/part-TODO.txt:
15527 Updated TODO list, basesrc supports seeking to non-bytes
15530 * docs/design/part-element-sink.txt:
15533 * gst/gstbin.c: (bin_replace_message),
15534 (gst_bin_handle_message_func):
15535 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15536 * gst/gstevent.c: (gst_event_finalize):
15537 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15538 (gst_pad_send_event):
15539 Use shiny new _TYPE_NAME macros.
15541 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15542 Move debug statement up.
15544 * gst/gstelement.c: (gst_element_set_locked_state):
15545 Add some debugging.
15547 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15549 * docs/gst/gstreamer-sections.txt:
15550 * gst/gstmessage.h:
15552 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15553 macros (#330906). Also, document the already existing
15554 GST_QUERY_TYPE macro.
15556 2006-02-13 Wim Taymans <wim@fluendo.com>
15558 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15559 (event_probe), (GST_START_TEST):
15560 Only events up to the pipeline EOS are counted, there are
15561 some more when going to NULL currently which we don't care
15564 2006-02-13 Wim Taymans <wim@fluendo.com>
15566 * gst/gstpad.c: (gst_pad_send_event):
15567 Correctly check flushing and emit probes. fixes #330125
15569 2006-02-10 Andy Wingo <wingo@pobox.com>
15571 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15573 (gst_bus_init): Cache the location of the private data in the
15574 instance structure.
15575 (gst_bus_enable_sync_message_emission)
15576 (gst_bus_disable_sync_message_emission): Implement new public
15578 (gst_bus_post): Emit the sync-message signal if the user asked for
15581 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15582 location of the bus-private structure.
15583 (gst_bus_enable_sync_message_emission)
15584 (gst_bus_disable_sync_message_emission): API addition
15586 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15588 Patch by: Vincent Torri
15590 * docs/pwg/building-boiler.xml:
15591 PWG patch from #326800
15593 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15596 * docs/Makefile.am:
15597 * docs/design/Makefile.am:
15600 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15605 === release 0.10.3 ===
15607 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15610 releasing 0.10.3, "Like a virgin"
15612 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15615 2nd prerelease of 0.10.3
15616 Bump libtool versioning.
15618 2006-02-07 Andy Wingo <wingo@pobox.com>
15620 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15621 update last_stop if we're in TIME format and the timestamp is
15624 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15625 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15626 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15627 If we get a new newsegment with a different format, adapt
15630 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15631 of 0. Not a problem, really.
15633 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15636 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15641 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15644 project files updated to the default vs7 configuration
15645 * win32/common/libgstbase.def:
15646 * win32/common/libgstreamer.def:
15648 removed empty lines,
15649 sorted all exported symbols alphabetically
15650 * win32/common/dirent.c:
15651 * win32/common/dirent.h:
15652 * win32/common/gchar.h:
15653 use windows line end.
15655 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15657 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15658 Send EOS event when stopping.
15660 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15663 Tell folks what to do if the plugin-foobar.xml file
15664 hasn't been generated for a newly-added plugin.
15666 2006-02-05 Julien MOUTTE <julien@moutte.net>
15668 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15669 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15670 (gst_collect_pads_start), (gst_collect_pads_stop),
15671 (gst_collect_pads_event): Collectpads now holds a reference
15672 to the GstPad that was added. Indeed we don't want to look
15673 at pads that might just go away with no warning...
15675 2006-02-05 Julien MOUTTE <julien@moutte.net>
15677 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15678 (gst_collect_pads_start), (gst_collect_pads_stop),
15679 (gst_collect_pads_event), (gst_collect_pads_chain):
15680 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15681 Mark Nauwelaerts's patch on bug #328491.
15683 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15685 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15687 Add some simple tests for gst_parse_bin_from_description() and
15688 gst_bin_find_unconnected_pad() (#329069).
15690 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15692 * tools/gst-launch.c: (event_loop), (main):
15693 Catch errors during preroll (#320084).
15695 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15697 * plugins/elements/gsttypefindelement.c:
15698 (gst_type_find_element_activate):
15699 Post TYPE_NOT_FOUND error message when typefinding
15700 is unsuccessful in the activate function as well.
15702 2006-02-02 Wim Taymans <wim@fluendo.com>
15704 * docs/design/part-element-sink.txt:
15707 2006-02-02 Wim Taymans <wim@fluendo.com>
15709 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15710 (gst_base_sink_render_object),
15711 (gst_base_sink_queue_object_unlocked):
15712 Only keep track of prerollable items when we are
15714 Before rendering after preroll, always check if we
15716 Added some more debugging.
15718 2006-02-02 Wim Taymans <wim@fluendo.com>
15720 * gst/gstelement.c: (gst_element_continue_state),
15721 (gst_element_set_state_func), (gst_element_change_state):
15722 Fixed #326576, been running this for quite some time with
15723 no regressions at all.
15725 2006-02-02 Wim Taymans <wim@fluendo.com>
15728 Added more suppressions
15730 2006-02-02 Wim Taymans <wim@fluendo.com>
15732 * docs/design/part-element-sink.txt:
15735 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15736 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15737 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15738 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15739 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15740 (gst_base_sink_preroll_object),
15741 (gst_base_sink_queue_object_unlocked),
15742 (gst_base_sink_queue_object), (gst_base_sink_event),
15743 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15744 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15745 (gst_base_sink_get_position), (gst_base_sink_change_state):
15746 * libs/gst/base/gstbasesink.h:
15747 Totally refactored matching the design doc.
15748 Use two segments, one to clip incomming buffers and another to
15750 Handle queueing correctly, bypass the queue when playing.
15751 Make EOS cancelable.
15752 Handle errors correctly when operating in pull based mode.
15754 * tests/check/elements/fakesink.c: (GST_START_TEST),
15756 Added new check for sinks.
15758 2006-02-02 Wim Taymans <wim@fluendo.com>
15760 * gst/gstsegment.c: (gst_segment_clip):
15761 No reason to refuse to clip when start == -1
15763 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15766 * docs/manual/intro-basics.xml:
15767 * docs/manual/intro-preface.xml:
15768 * docs/manual/manual.xml:
15769 * docs/pwg/advanced-dparams.xml:
15770 * docs/pwg/intro-basics.xml:
15771 * docs/pwg/intro-preface.xml:
15772 * docs/pwg/pwg.xml:
15773 describe dparams (controller) for plugins
15774 unify docs a little more
15776 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15778 * docs/gst/gstreamer-sections.txt:
15779 * gst/gstutils.c: (element_find_unconnected_pad),
15780 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15782 Add new API: gst_parse_bin_from_description() and
15783 gst_bin_find_unconnected_pad() (#329069).
15785 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15787 * docs/manual/README:
15788 uncover a nasty detail of the docs build
15790 2006-01-31 Wim Taymans <wim@fluendo.com>
15792 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15793 Don't cache duration messages if we're not going to use or
15796 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15798 * docs/manual/advanced-dparams.xml:
15799 * docs/pwg/advanced-dparams.xml:
15803 * libs/gst/controller/lib.c: (gst_controller_init):
15806 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15808 * gst/gstelement.c: (gst_element_message_full):
15809 also show file/line/func if no additional debug was given
15811 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15813 * win32/vs7/grammar.vcproj:
15814 activate copy of autogenerated files for Release mode
15816 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15818 * win32/common/libgstreamer.def:
15819 export gst_value_compare
15821 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15823 * plugins/elements/Makefile.am:
15824 * plugins/elements/gstelements.c:
15825 * plugins/elements/gstfdsink.c: (_do_init),
15826 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15827 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15828 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15829 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15830 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15831 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15832 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15833 * plugins/elements/gstfdsink.h:
15834 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15836 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15838 * docs/manual/advanced-dparams.xml:
15839 describe controller
15840 * docs/manual/advanced-position.xml:
15841 * docs/manual/basics-init.xml:
15842 * docs/manual/manual.xml:
15843 * docs/manual/titlepage.xml:
15844 * docs/pwg/pwg.xml:
15845 * docs/pwg/titlepage.xml:
15846 cleanup xml (more to come)
15847 * libs/gst/controller/gstcontroller.c:
15850 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15852 * win32/vs6/grammar.dsp:
15853 add autogen of gstmarshal.c,h for Release mode
15855 2006-01-30 Wim Taymans <wim@fluendo.com>
15857 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15858 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15859 (gst_base_sink_handle_object), (gst_base_sink_event),
15860 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15861 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15862 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15863 (gst_base_sink_deactivate), (gst_base_sink_activate),
15864 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15865 (gst_base_sink_query), (gst_base_sink_change_state):
15866 Basesink cleanups, remove some old code.
15867 Handle the case where a subclass can preroll in the render
15868 method (mostly audiosinks).
15869 Handle more events.
15870 Remove some locks around variables that are now protected
15871 with the PREROLL_LOCK (clock_id, flushing, ..).
15872 Optimize position query some more, do correct locking.
15873 Remove old code to push queue in state change, this is not
15874 needed anymore since preroll blocks on all prerollable items
15876 Almost implemented as described in design doc.
15878 2006-01-30 Wim Taymans <wim@fluendo.com>
15880 * tests/check/gst/gstbin.c: (GST_START_TEST):
15881 Wait for refcount to settle down before checking.
15883 2006-01-30 Wim Taymans <wim@fluendo.com>
15885 * docs/design/part-element-sink.txt:
15886 Pseudo code overview of desired sink behaviour regarding
15889 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15890 * win32/vs6/grammar.dsp:
15891 fix some bugs in Release mode for autogenerated files
15893 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15894 * win32/common/libgstbase.def:
15895 * win32/common/libgstreamer.def:
15896 export some new symbols: gst_base_src_set_format,
15897 gst_iterator_next, gst_structure_set_valist
15899 2006-01-29 Julien MOUTTE <julien@moutte.net>
15901 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15902 Set pad functions unconditionally. Fixes #329105.
15904 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15906 add vs8 project files created by Sergey Scobich
15908 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15910 * gst/gstutils.c: (gst_element_unlink_pads):
15911 Don't leak pad references.
15913 * tests/check/elements/fakesink.c: (GST_START_TEST):
15914 * tests/check/generic/sinks.c: (GST_START_TEST):
15915 * tests/check/generic/states.c: (GST_START_TEST):
15916 * tests/check/gst/gstbin.c: (GST_START_TEST):
15917 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15918 * tests/check/gst/gstelement.c: (GST_START_TEST):
15919 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15920 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15921 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15922 Fix a bunch of leaks. Make generic/sinks.c
15923 use a bit less cpu by slowing the buffer rate
15924 between fakesrc and fakesink.
15926 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15928 * gst/gstelement.c: (gst_element_send_event):
15931 * gst/gstiterator.c:
15932 * gst/gstiterator.h:
15933 * gst/gstpad.c: (gst_pad_send_event):
15934 * gst/gststructure.c:
15938 * libs/gst/base/gstadapter.c:
15939 doc fixes, to link to function, just write gst_cool_function(), don't
15942 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15944 * plugins/elements/gsttee.c: (gst_tee_do_push),
15945 (gst_tee_handle_buffer):
15946 Always prefer an actual return value from a src
15947 pad in place of NOT_LINKED. This means we return
15948 WRONG_STATE when all src pads are WRONG_STATE
15949 instead of NOT_LINKED.
15951 Lock when replacing the last message to prevent
15952 racing with the get_property method.
15956 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15958 * tests/check/Makefile.am:
15959 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15961 Add a very simple check that should have caught the memleak I fixed
15962 last night (if not for the slice allocator hiding it)
15964 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15966 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15967 (gst_bin_remove_func), (gst_bin_handle_message_func),
15968 (bin_query_duration_fold), (bin_query_generic_fold):
15969 Clean up references to the clock provider when disposed or when
15970 handling a clock-lost message from it.
15972 Unref sinks when performing a query via gst_iterator_fold, as the
15973 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15975 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15976 (gst_clock_set_master):
15977 Drop our reference to the master clock, if any, when we are disposed.
15979 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15980 Chain up in dispose.
15982 2006-01-26 Wim Taymans <wim@fluendo.com>
15984 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15985 Add some debugging.
15987 2006-01-26 Julien MOUTTE <julien@moutte.net>
15989 * plugins/elements/gsttee.c: (gst_tee_do_push),
15990 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15991 handles pad being NOT_LINKED or in WRONG_STATE.
15993 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15998 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16001 remove obsolete entry
16003 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16005 * docs/gst/gstreamer-sections.txt:
16006 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16007 (gst_bin_iterate_sources), (gst_bin_send_event):
16009 * gst/gstelement.c: (gst_element_send_event):
16011 * gst/gstpad.c: (gst_pad_send_event):
16012 added code for downstream events, reviewed docs in gstevent.c
16014 2006-01-25 Julien MOUTTE <julien@moutte.net>
16016 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16017 We only query position using the clock in the playing state.
16018 Query peer in the other cases.
16019 * win32/common/config.h: Updates.
16021 2006-01-24 Wim Taymans <wim@fluendo.com>
16023 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16024 A clock entry that is scheduled for the exact time of the
16025 clock is still in time.
16027 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16028 (gst_base_sink_do_sync):
16029 Add some more debug info.
16031 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16034 Add new vs7 project files and solution.
16036 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16039 all files removed as they were out-dated.
16041 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16043 * docs/random/release:
16045 * gst/gstbin.c: (gst_bin_init):
16046 * gst/gstbus.c: (gst_bus_new):
16048 * gst/gstpipeline.c: (gst_pipeline_init):
16049 use gst_bus_new(), improve logging, fix docs
16050 * win32/common/config.h:
16051 update for cvs build
16053 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16056 up required version of automake to 1.7
16058 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
16060 * win32/common/libgstreamer.def:
16061 export gst_buffer_is_metadata_writable
16063 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
16065 * docs/gst/gstreamer-sections.txt:
16067 Add gst_event_replace() (#327001)
16069 2006-01-20 Wim Taymans <wim@fluendo.com>
16071 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16072 Make it actually compile too..
16074 2006-01-20 Wim Taymans <wim@fluendo.com>
16077 Clarify behaviour of _is_equal() when passing NULL parameters.
16079 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16080 (gst_pad_set_caps):
16081 Cleanups. Don't unref NULL caps.
16082 When setting the same caps, protect caps of the pad with
16084 Use full functionality of _is_equal() when comparing caps.
16086 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16088 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16089 Don't loop infinitely if there are no buffers to present. Partially
16090 fixes #327197, but collectpads is just broken for reusing elements
16091 to do multiple encodes atm.
16093 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16095 * tools/gst-inspect.c: (print_element_features):
16096 * tools/gst-xmlinspect.c: (main):
16097 URL_HANDLER is not a plugin feature we can search for in
16100 2006-01-19 Edward Hervey <edward@fluendo.com>
16102 * gst/gstelement.c: (gst_element_pads_activate):
16103 When activating, do src pads first, then sink pads.
16104 When de-activating, do sink pads first, then src pads.
16106 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16108 * docs/gst/gstreamer-sections.txt:
16109 Add gst_index_add_associationv to the docs
16111 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16116 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16117 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16118 Do some refactoring. Doesn't actually change functionality,
16119 but makes landing the DRAIN event easier later.
16121 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16123 * docs/pwg/advanced-scheduling.xml:
16124 Update from 0.9.x to 0.10 API and make example a bit
16127 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16129 * docs/gst/gstreamer-sections.txt:
16130 Add gst_buffer_(is|make)_metadata_writable methods.
16132 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16134 * docs/design/part-sparsestreams.txt:
16135 Update sparse streams doc, hopefully for greater clarity
16137 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16139 * docs/design/part-events.txt:
16140 Remove mention of FILLER events.
16143 * docs/design/part-sparsestreams.txt:
16144 Write some things about using NEWSEGMENT to keep sparse streams
16147 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16149 * gst/gstbin.c: (gst_bin_dispose):
16150 Guard gst_object_unref call against a NULL object (dispose
16151 can theoretically be called multiple times).
16153 2006-01-18 Wim Taymans <wim@fluendo.com>
16155 * gst/gstbin.c: (gst_bin_element_set_state):
16156 * gst/gstclock.c: (gst_clock_id_wait):
16157 Added some more debug info.
16159 * libs/gst/base/gstadapter.c:
16162 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16163 (gst_base_sink_do_sync), (gst_base_sink_chain):
16164 Added some comments.
16166 2006-01-18 Wim Taymans <wim@fluendo.com>
16168 * tests/check/Makefile.am:
16169 * tests/check/elements/fakesink.c: (chain_async_buffer),
16170 (chain_async), (chain_async_return), (GST_START_TEST),
16171 (fakesink_suite), (main):
16172 Added fakesink test that checks prerolling and clipping
16175 * tests/check/gst/gstutils.c: (GST_START_TEST):
16176 Make check run faster so that buildbots don't timeout.
16178 2006-01-18 Wim Taymans <wim@fluendo.com>
16180 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16181 (gst_base_sink_do_sync):
16183 When the sink finishes blocking on the preroll buffer, it can
16184 immediatly render it instead of rendering when the next buffer
16187 2006-01-18 Wim Taymans <wim@fluendo.com>
16189 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16190 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16191 (gst_base_sink_chain):
16193 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16194 Don't store _last_stop if the buffer is dropped.
16196 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16198 * plugins/elements/gsttypefindelement.c:
16199 (gst_type_find_element_class_init):
16200 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16201 object method handler that sets the caps on the pad and we want
16202 that to happen before we emit the signal (fixes e.g. feeding a
16203 plain text file to decodebin).
16205 2006-01-18 Christian Schaller <Christian@fluendo.com>
16207 * gst/gstplugin.c: Add MPL and Proprietary as license options
16209 2006-01-18 Andy Wingo <wingo@pobox.com>
16211 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16212 symbol was exported before, it appears this was just an oversight.
16214 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16216 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16217 prototype to gint. OK since this prototype was not in the header.
16219 2006-01-17 Andy Wingo <wingo@pobox.com>
16221 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16222 registry while we remove plugins.
16224 * tools/gst-inspect.c (print_element_info): Don't unref the
16225 factory arg, that should be the responsibility of whatever code
16226 received the ref. Fixes a double-free when called from
16227 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16228 (main): Unref the factory if we have one.
16229 (print_element_list): No change -- relies on the
16230 plugin_feature_list_free to free the list of features.
16232 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16234 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16235 (gst_buffer_make_metadata_writable):
16237 * libs/gst/base/gstbasetransform.c:
16238 (gst_base_transform_prepare_output_buf):
16239 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16240 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16241 Replace gst_buffer_(make|is)_metadata_writable patch now
16242 that the release is out.
16244 2006-01-17 Andy Wingo <wingo@pobox.com>
16246 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16247 in the present tense without reference to versions.
16249 * gst/gstregistry.c (gst_registry_add_plugin)
16250 (gst_registry_remove_plugin, gst_registry_remove_feature)
16251 (gst_registry_find_feature, gst_registry_get_feature_list)
16252 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16253 (gst_registry_lookup, gst_registry_scan_path)
16254 (_gst_registry_remove_cache_plugins)
16255 (gst_registry_get_feature_list_by_plugin): Add argument
16258 === release 0.10.2 ===
16260 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16263 releasing 0.10.2, "If man is five"
16265 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16269 * libs/gst/base/gstbasetransform.c:
16270 (gst_base_transform_prepare_output_buf):
16271 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16272 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16273 Back out patch until after the release.
16275 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16277 * gst/gstminiobject.c:
16278 Spelling fix in docs.
16279 * ChangeLog - remove conflict indicator
16281 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16283 Reviewed By: Andy Wingo
16285 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16286 (gst_buffer_make_metadata_writable):
16288 Add gst_buffer_(is|make)_metadata_writable as analogues of
16289 gst_buffer_(is|make)_writable.
16291 * libs/gst/base/gstbasetransform.c:
16292 (gst_base_transform_prepare_output_buf):
16293 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16294 Use name gst_buffer_(is|make)_metadata_writable functions.
16296 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16297 Test gst_buffer_(is|make)_metadata_writable
16301 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16303 * docs/manual/Makefile.am:
16304 don't do parallel make
16307 * win32/common/config.h.in:
16308 add generations for HOST_CPU and GST_MAJORMINOR
16309 * win32/common/config.h:
16310 commit generated result
16312 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16314 * docs/manual/appendix-integration.xml:
16315 Update GNOME integration section to use gst_init_get_option_group()
16316 instead of the old popt stuff (#322911). Also, GNOME applications
16317 should now use gconf*sink and gconf*src instead of the old gconf
16320 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16323 * docs/gst/gstreamer-docs.sgml:
16324 * docs/gst/gstreamer-sections.txt:
16325 * docs/libs/gstreamer-libs-sections.txt:
16326 add new API entries to the docs
16327 * libs/gst/controller/Makefile.am:
16328 * libs/gst/controller/gstcontroller.c:
16329 * libs/gst/controller/gstcontroller.h:
16330 * libs/gst/controller/gstcontrollerprivate.h:
16331 * libs/gst/controller/gsthelper.c:
16332 * libs/gst/controller/gstinterpolation.c:
16333 move private structs to private header
16335 gstreamer-0.7 -> gstreamer-0.10
16336 * tests/check/libs/struct_i386.h:
16337 remove private structs
16339 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16341 * plugins/indexers/Makefile.am:
16342 Fixes as part of #317048
16344 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16346 * plugins/indexers/Makefile.am:
16347 fix #316086 - compilation when mmap is missing
16349 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16351 * libs/gst/base/gstbasesink.c:
16352 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16353 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16354 * win32/common/config.h:
16355 added some defines GST_MAJORMINOR and HOST_CPU
16356 * win32/common/libgstbase.def:
16357 * win32/common/libgstreamer.def:
16358 added some exported functions.
16360 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16362 * libs/gst/controller/gstcontroller.c:
16363 (gst_controlled_property_set_interpolation_mode),
16364 (gst_controlled_property_new):
16365 * libs/gst/controller/gstcontroller.h:
16366 * libs/gst/controller/gstinterpolation.c:
16367 (interpolate_none_get_string_value_array):
16368 make G_TYPE_STRING controlable
16370 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16373 * tools/gst-feedback.1.in:
16374 * tools/gst-inspect.1.in:
16375 * tools/gst-launch.1.in:
16376 * tools/gst-md5sum.1.in:
16377 * tools/gst-typefind.1.in:
16378 * tools/gst-xmlinspect.1.in:
16379 * tools/gst-xmllaunch.1.in:
16380 cleanup man-pages, remove reference to gst-register, document env-vars
16382 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16384 * gst/gstbuffer.c: (gst_buffer_span):
16385 gst_buffer_span should copy the timestamp of the first buffer
16386 if they were both originally overlapping subbuffers of the
16387 same parent, using the same logic as the 'slow copy' case.
16389 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16391 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16392 Need to awaken ALL the pads when we pop a buffer, otherwise
16393 collectpads only works when there is 2 input streams.
16395 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16397 * docs/random/ensonic/media-device-daemon.txt:
16400 fix doc example, add clarification
16401 * tools/gst-launch.1.in:
16402 add initial info about GST_PLUGIN_PATH, needs more work
16404 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16406 * docs/manual/basics-bins.xml:
16407 * docs/manual/basics-elements.xml:
16408 * docs/manual/intro-basics.xml:
16409 Some more minor docs additions and updates.
16411 2006-01-11 Wim Taymans <wim@fluendo.com>
16413 * docs/manual/basics-bins.xml:
16414 * docs/manual/basics-elements.xml:
16415 Some small fixes as pointed out by Ser-ver on IRC.
16417 2006-01-10 Edward Hervey <edward@fluendo.com>
16419 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16420 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16421 the single-segment mode.
16423 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16425 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16427 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16428 (gst_base_src_perform_seek), (gst_base_src_send_event),
16429 (gst_base_src_set_property), (gst_base_src_get_property),
16430 (gst_base_src_loop), (gst_base_src_start),
16431 (gst_base_src_activate_push):
16432 * libs/gst/base/gstbasesrc.h:
16433 Name (private) union; makes Sun's Forte compiler happy (#324900).
16435 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16438 gst-register is gone.
16440 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16442 * gst/gstvalue.c: (_gst_value_initialize):
16443 make the G_TYPE_DATE instantiation work if debug is disabled
16445 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16447 * gst/gstmessage.c: (gst_message_parse_tag),
16448 (gst_message_parse_error), (gst_message_parse_warning):
16449 Don't crash when return location for error/warning debug
16450 string is NULL; add fact that return locations can be
16451 NULL to docs where appropriate.
16453 2006-01-05 Wim Taymans <wim@fluendo.com>
16455 * gst/gstplugin.c: (gst_plugin_load_file):
16456 Replace strdup by g_strdup.
16458 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16460 * docs/pwg/advanced-types.xml:
16463 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16465 submitted by: Abel Cheung
16469 Added Chinese (traditional) translation
16471 2006-01-04 Wim Taymans <wim@fluendo.com>
16473 * docs/manual/basics-pads.xml:
16474 * docs/plugins/Makefile.am:
16475 * docs/plugins/gstreamer-plugins-docs.sgml:
16476 * docs/plugins/gstreamer-plugins-sections.txt:
16477 * docs/pwg/advanced-clock.xml:
16478 * docs/pwg/advanced-scheduling.xml:
16479 * docs/pwg/advanced-types.xml:
16480 * plugins/elements/gstfdsink.c:
16481 * plugins/elements/gstfdsrc.c:
16482 * plugins/elements/gstfdsrc.h:
16483 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16484 * plugins/elements/gstidentity.h:
16485 * plugins/elements/gstqueue.h:
16486 * plugins/elements/gsttee.c:
16487 * plugins/elements/gsttee.h:
16488 * plugins/elements/gsttypefindelement.c:
16489 (gst_type_find_element_class_init):
16490 * plugins/elements/gsttypefindelement.h:
16491 Small updates to various docs.
16492 Added core plugins to docs.
16494 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16497 add a suppression for liboil's uninitialized variable
16499 2006-01-02 James Livingston <jrl at ids dot org dot au>
16501 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16504 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16505 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16506 compiler switch is being used (#325429).
16508 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16510 * gst/gstbin.c: (gst_bin_query):
16511 Disable duration query caching in bins until it gets
16512 fixed (see #324807).
16514 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16516 * tools/gst-inspect.c: (print_element_properties_info):
16517 Handle properties of POINTER and BOXED type.
16519 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16521 * gst/gst.c: (init_post):
16522 Init tags stuff and some other things before loading
16523 any static plugins (there may be other static plugins
16524 than just the GStreamer ones, and they may want to
16525 register their own tags or formats or whatever, and
16526 preferably without segfaulting).
16528 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16529 Print at least a warning in the debug logs if we drop a
16530 query just because we don't know how to adjust the value
16531 in the particular format.
16533 2005-12-24 David Schleef <ds@schleef.org>
16535 * tools/gstreamer-completion:
16536 Replacement for gst-complete written in sh and sed. Only
16537 completes names of features, but that's 90% of what I want
16538 it for. Properties are not available in registry.xml. (Maybe
16541 === release 0.10.1 ===
16543 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16546 releasing 0.10.1, "Nollaig chridheil"
16548 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16550 * docs/faq/cvs.xml:
16551 Add missing quote, should be make ERROR_CFLAGS="".
16553 2005-12-20 Wim Taymans <wim@fluendo.com>
16555 * docs/design/part-trickmodes.txt:
16556 More documentation on trickmodes.
16558 2005-12-20 Edward Hervey <edward@fluendo.com>
16560 * gst/gstcaps.c: (gst_static_caps_get_type):
16562 API addition: GST_TYPE_STATIC_CAPS
16563 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16564 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16565 * gst/gstpadtemplate.h:
16566 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16567 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16570 2005-12-18 Wim Taymans <wim@fluendo.com>
16572 * libs/gst/base/gstadapter.c:
16573 * libs/gst/base/gstadapter.h:
16574 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16575 (gst_base_sink_get_position):
16576 * libs/gst/base/gstbasesink.h:
16577 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16578 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16579 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16580 (gst_base_src_send_event), (gst_base_src_update_length),
16581 (gst_base_src_get_range), (gst_base_src_loop),
16582 (gst_base_src_start):
16583 * libs/gst/base/gstbasesrc.h:
16584 * libs/gst/base/gstbasetransform.h:
16585 * libs/gst/base/gstcollectpads.h:
16586 * libs/gst/base/gstpushsrc.c:
16587 * libs/gst/base/gstpushsrc.h:
16588 * libs/gst/dataprotocol/dataprotocol.c:
16589 * libs/gst/dataprotocol/dataprotocol.h:
16590 * libs/gst/net/gstnetclientclock.h:
16591 * libs/gst/net/gstnettimeprovider.h:
16592 Documentation updates.
16594 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16596 * docs/manual/basics-helloworld.xml:
16597 Remove superfluous closing bracket in helloworld example.
16599 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16601 * tools/gst-launch.1.in:
16602 Update gst-launch man page; add a section with useful
16603 environment variables. Fixes #323882.
16605 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16608 * gst/gst_private.h:
16609 change some char* into char[]
16611 2005-12-16 Wim Taymans <wim@fluendo.com>
16613 * gst/gstregistryxml.c: (load_feature):
16615 Don't use g_object_unref on GstObjects so that we avoid
16616 leaks on unsafe glibs.
16618 2005-12-16 Wim Taymans <wim@fluendo.com>
16620 * gst/gstbin.c: (gst_bin_recalc_state):
16623 2005-12-16 Wim Taymans <wim@fluendo.com>
16625 * common/check.mak:
16626 Added make forever target for check.
16628 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16630 * gst/gst.c: (init_post):
16631 make the registry cache file HOST_CPU-dependent
16633 2005-12-16 Andy Wingo <wingo@pobox.com>
16635 * plugins/elements/gstbufferstore.c
16636 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16639 * tests/check/gst/gstobject.c
16640 (test_fake_object_name_threaded_unique): Pay attention to
16641 g_list_sort return value.
16643 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16645 * tools/gst-feedback-m.m:
16646 Update for 0.9/0.10 (fixes #323870).
16648 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16650 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16651 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16653 * tests/check/gst/gstminiobject.c: (my_foo_init),
16654 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16655 (test_value_collection), (gst_mini_object_suite):
16656 Add test to ensure refcounts end up as expected when passing
16657 GstMiniObjects through g_object_get() and g_object_set().
16659 2005-12-14 Julien MOUTTE <julien@moutte.net>
16661 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16662 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16663 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16664 of collectpads. This version removes a lot of races without
16665 touching API/ABI. Yay !
16667 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16669 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16670 Don't allow activation of a srcpad in pull_range if it has no
16672 Change some debug statements to be a little clearer
16674 * plugins/elements/gsttypefindelement.c:
16675 (gst_type_find_handle_src_query):
16676 Check that we have a peer before executing queries thereupon.
16678 * tests/examples/metadata/read-metadata.c: (message_loop):
16679 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16680 immediately return us any available message with 0 timeout.
16682 2005-12-12 Michael Smith <msmith@fluendo.com>
16684 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16685 Don't unref factories after calling them.
16686 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16687 * plugins/elements/gsttypefindelement.c:
16688 (gst_type_find_element_chain):
16689 Free lists of factories after using them. Fixing typefinding memory
16692 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16694 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16695 (gst_plugin_feature_load):
16696 more meaningful debug output
16698 * tests/Makefile.am:
16699 * tests/old/examples/Makefile.am:
16700 make make distcheck happy again
16702 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16704 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16705 Catch the special case where we are operating chain-based,
16706 but the downstream peer pad has no chain function. Emit a
16707 custom error message in this case instead of letting the
16708 core generate one implying that this is some sort of core
16709 bug. It's not, it just means that whatever got plugged
16710 into the pipeline downstream when we announced the type
16711 can only operate pull-based, while our source can only
16712 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16713 Error string has not been marked for translation yet, as
16714 it probably needs some more work first.
16716 (gst_type_find_element_get_best_possibility):
16717 Add helper function to find the best of all available
16718 found possibilities that qualify given the min. threshold.
16720 (gst_type_find_element_handle_event):
16721 Fix the case where we get an EOS while still in TYPEFIND
16722 mode (we want to chose the best of all possible types,
16723 not just the first type that happens to be in our unsorted
16724 list of possible types).
16726 (gst_type_find_element_chain):
16727 Make sure we return GST_FLOW_ERROR when we errored out
16728 in stop_typefinding(); also, don't just find the best of
16729 all found type entries and then use the last examined
16730 type entry, but actually use the best entry.
16732 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16734 * tests/examples/typefind/typefind.c: (type_found):
16735 * tests/examples/xml/runxml.c: (xml_loaded):
16736 More gcc4 fixes and a mem leak fix.
16738 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16740 * tests/examples/xml/createxml.c: (object_saved):
16743 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16745 * tests/Makefile.am:
16746 enable the examples even more
16748 2005-12-12 Andy Wingo <wingo@pobox.com>
16750 * libs/gst/net/gstnettimeprovider.c
16751 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16752 (gst_net_time_provider_set_property)
16753 (gst_net_time_provider_get_property):
16754 API addition: Export "active" as a GObject property.
16755 (gst_net_time_provider_thread): Only respond to time queries if
16756 the time provider is active.
16758 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16759 NetTimeProvider, preserving binary compat.
16761 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16763 * tests/examples/controller/audio-example.c: (main):
16764 * tests/examples/launch/Makefile.am:
16765 convert comments again
16767 2005-12-12 Wim Taymans <wim@fluendo.com>
16769 * libs/gst/base/gstpushsrc.c:
16772 2005-12-12 Wim Taymans <wim@fluendo.com>
16774 * docs/libs/gstreamer-libs-sections.txt:
16775 Added new symbol to docs.
16777 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16778 (gst_base_src_init), (gst_base_src_set_format),
16779 (gst_base_src_default_query), (gst_base_src_query),
16780 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16781 (gst_base_src_perform_seek), (gst_base_src_send_event),
16782 (gst_base_src_default_event), (gst_base_src_event_handler),
16783 (gst_base_src_set_property), (gst_base_src_get_property),
16784 (gst_base_src_wait), (gst_base_src_do_sync),
16785 (gst_base_src_update_length), (gst_base_src_get_range),
16786 (gst_base_src_check_get_range), (gst_base_src_loop),
16787 (gst_base_src_default_negotiate), (gst_base_src_start),
16788 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16789 (gst_base_src_change_state):
16790 * libs/gst/base/gstbasesrc.h:
16791 Implement seeking to other formats than _BYTES.
16792 Implement more seeking methods correctly.
16794 Added query vmethod.
16795 Added do_seek vmethod to make life easier for subclasses
16797 API addition: gst_base_src_set_format()
16799 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16801 * tests/examples/Makefile.am:
16804 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16807 * docs/random/ensonic/media-device-daemon.txt:
16808 * tests/examples/controller/.cvsignore:
16809 * tests/examples/controller/Makefile.am:
16810 * tests/examples/controller/audio-example.c: (main):
16811 * tests/examples/helloworld/.cvsignore:
16812 * tests/examples/helloworld/Makefile.am:
16813 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16814 * tests/examples/launch/.cvsignore:
16815 * tests/examples/launch/Makefile.am:
16816 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16817 * tests/examples/metadata/.cvsignore:
16818 * tests/examples/metadata/Makefile.am:
16819 * tests/examples/metadata/read-metadata.c: (message_loop),
16820 (make_pipeline), (print_tag), (main):
16821 * tests/examples/queue/.cvsignore:
16822 * tests/examples/queue/Makefile.am:
16823 * tests/examples/queue/queue.c: (event_loop), (main):
16824 * tests/examples/typefind/.cvsignore:
16825 * tests/examples/typefind/Makefile.am:
16826 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16828 * tests/examples/xml/.cvsignore:
16829 * tests/examples/xml/Makefile.am:
16830 * tests/examples/xml/createxml.c: (object_saved), (main):
16831 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16832 * tests/old/examples/Makefile.am:
16833 * tests/old/examples/TODO:
16834 * tests/old/examples/controller/.cvsignore:
16835 * tests/old/examples/controller/Makefile.am:
16836 * tests/old/examples/controller/audio-example.c:
16837 * tests/old/examples/helloworld/.cvsignore:
16838 * tests/old/examples/helloworld/Makefile.am:
16839 * tests/old/examples/helloworld/helloworld.c:
16840 * tests/old/examples/launch/.cvsignore:
16841 * tests/old/examples/launch/Makefile.am:
16842 * tests/old/examples/launch/mp3parselaunch.c:
16843 * tests/old/examples/launch/mp3play:
16844 * tests/old/examples/manual/Makefile.am:
16845 * tests/old/examples/metadata/Makefile.am:
16846 * tests/old/examples/metadata/read-metadata.c:
16847 * tests/old/examples/queue/.cvsignore:
16848 * tests/old/examples/queue/Makefile.am:
16849 * tests/old/examples/queue/queue.c:
16850 * tests/old/examples/typefind/.cvsignore:
16851 * tests/old/examples/typefind/Makefile.am:
16852 * tests/old/examples/typefind/typefind.c:
16853 * tests/old/examples/xml/.cvsignore:
16854 * tests/old/examples/xml/Makefile.am:
16855 * tests/old/examples/xml/createxml.c:
16856 * tests/old/examples/xml/runxml.c:
16857 applied some simple fixing to some examples
16858 re-enabled the working examples
16860 2005-12-12 Wim Taymans <wim@fluendo.com>
16862 * gst/gstsegment.c: (gst_segment_init),
16863 (gst_segment_set_last_stop), (gst_segment_set_seek),
16864 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16865 (gst_segment_to_running_time):
16866 Added more documentation.
16867 Make sure the last_pos value is updated properly.
16868 Make sure to_stream_time and to_running_time don't
16869 operate on wrong values.
16871 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16874 2005-12-12 Michael Smith <msmith@fluendo.com>
16876 * plugins/elements/gsttypefindelement.c: (free_entry),
16877 (gst_type_find_element_chain):
16878 Now that we're not leaking factories, make sure we keep references
16879 to them while we need them.
16881 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16883 * tests/check/gst/struct_i386.h:
16884 ifdef out the XML structs
16886 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16888 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16889 floor is not needed, F is always positive; this obviates the
16890 need for adding -lm when building without libxml
16892 2005-12-12 Wim Taymans <wim@fluendo.com>
16894 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16895 Take current playback rate into account when reporting
16898 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16900 * docs/manual/mime-world.fig:
16901 Let's try this again, this time with a file that is
16902 actually in XFig format.
16904 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16906 * docs/manual/mime-world.fig:
16907 Add audioconvert element to diagram so that it
16908 matches the text and the code (fixes #319526).
16910 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16912 * docs/pwg/building-chainfn.xml:
16913 * docs/pwg/building-pads.xml:
16914 * docs/pwg/building-state.xml:
16915 * docs/pwg/other-source.xml:
16916 Update state change stuff for 0.10 (fixes #322969).
16918 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16920 * docs/manual/advanced-dataaccess.xml:
16921 * docs/manual/appendix-checklist.xml:
16922 * docs/manual/appendix-programs.xml:
16923 * docs/manual/basics-pads.xml:
16924 * docs/manual/highlevel-components.xml:
16925 * docs/manual/manual.xml:
16926 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16927 add converters in front of pipelines; remove curly
16928 brackets for threads stuff, they no longer exist; use
16929 GST_TYPE_FRACTION for framerates; update some pieces of
16930 code to 0.10, but there's plenty more to do.
16932 * docs/manual/appendix-porting.xml:
16933 Expand on asynchroneous state changes; s/0.9/0.10/;
16934 mention disappearance of gst_init_get_popt_table()
16937 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16939 * docs/faq/using.xml:
16940 Spider no longer exists, and neither does gst-launch-ext.
16941 Update examples to use decodebin and playbin and put
16942 converters in front of sinks (fixes #323726).
16944 2005-12-09 Michael Smith <msmith@fluendo.com>
16946 * plugins/elements/gsttypefindelement.c: (find_peek),
16947 (gst_type_find_element_chain):
16948 Fix leaking element factories in typefinding.
16949 Fix problem where we forgot about a probable type on non-seekable
16950 files, and thus later mis-typefound it.
16952 2005-12-09 Michael Smith <msmith@fluendo.com>
16954 * common/m4/gst-makecontext.m4:
16955 * common/m4/gst-mcsc.m4:
16957 * win32/common/config.h:
16958 * win32/common/config.h.in:
16959 Remove makecontext stuff; not used in 0.10 and causes problems on
16960 HPUX according to bug #322441
16962 2005-12-07 Wim Taymans <wim@fluendo.com>
16964 * tests/check/Makefile.am:
16965 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16967 * tests/check/libs/struct_i386.h:
16968 Added ABI check for libs
16970 2005-12-07 Wim Taymans <wim@fluendo.com>
16972 * tests/check/Makefile.am:
16973 And add the struct_i386.h to dist.
16975 2005-12-07 Wim Taymans <wim@fluendo.com>
16977 * tests/check/Makefile.am:
16978 * tests/check/gst/.cvsignore:
16979 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16981 * tests/check/gst/struct_i386.h:
16982 Added check for ABI compatibility.
16984 2005-12-07 Wim Taymans <wim@fluendo.com>
16986 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16987 (gst_fake_src_get_times), (gst_fake_src_create):
16988 Fix broken sync option, fixes #323259
16990 2005-12-07 Wim Taymans <wim@fluendo.com>
16995 * gst/gstcaps.c: (gst_caps_is_equal):
16996 Don't assert on NULL <--> X. Fixes #323260
16998 * gst/gstminiobject.c: (gst_mini_object_replace):
16999 If we're doing atomic operations, we might just as well use
17000 the proper way to get an atomic pointer.
17002 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17003 Clean up debugging.
17005 2005-12-07 Michael Smith <msmith@fluendo.com>
17007 * gst/parse/grammar.y:
17008 Remove handling of { } for threads.
17010 2005-12-06 David Schleef <ds@schleef.org>
17012 * libs/gst/base/gstbasetransform.c: speling fix.
17014 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
17016 * docs/libs/tmpl/gstdataprotocol.sgml:
17017 * docs/random/omega/testing/gstobject.c:
17020 * gst/gstelement.c:
17021 * gst/gstelementfactory.c:
17024 * gst/gstghostpad.c:
17026 * gst/gstpadtemplate.c:
17027 * gst/gstregistryxml.c:
17028 * gst/gsttaglist.c:
17029 * gst/gsttagsetter.c:
17030 * gst/gsttypefind.c:
17032 * libs/gst/base/gstbasesrc.c:
17033 * libs/gst/net/gstnetclientclock.c:
17034 * libs/gst/net/gstnettimeprovider.c:
17035 * plugins/elements/gstfakesrc.c:
17036 * plugins/elements/gstfdsrc.c:
17037 * plugins/elements/gstfilesrc.c:
17038 * plugins/elements/gstidentity.c:
17039 * plugins/elements/gstqueue.c:
17040 * plugins/elements/gsttypefindelement.c:
17041 * plugins/indexers/gstfileindex.c:
17042 * plugins/indexers/gstmemindex.c:
17043 * tests/check/gst/gsttag.c:
17044 * tests/old/examples/cutter/cutter.c:
17045 * tests/old/examples/mixer/mixer.c:
17046 * tests/old/examples/xml/runxml.c: (main):
17047 * tests/old/testsuite/caps/normalisation.c:
17048 * tests/old/testsuite/debug/global.c:
17049 * tests/old/testsuite/parse/parse1.c:
17050 * tools/gst-xmlinspect.c:
17051 * win32/common/dirent.c:
17054 === release 0.10.0 ===
17056 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17059 releasing 0.10.0, "Maroilles"
17061 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17063 submitted by: Funda Wang <fundawang@linux.net.cn>
17067 added Chinese (Traditional) translation
17069 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17071 * docs/gst/gstreamer-sections.txt:
17072 * docs/libs/tmpl/gstdataprotocol.sgml:
17073 * docs/random/thomasvs/TODO:
17078 2005-12-05 Andy Wingo <wingo@pobox.com>
17080 patch by: Wim Taymans <wim@fluendo.com>
17082 * libs/gst/base/gstbasetransform.c
17083 (gst_base_transform_prepare_output_buf)
17084 (gst_base_transform_buffer_alloc):
17085 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17086 alloc_buffer_and_set_caps.
17088 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17089 set_caps on the source pad.
17090 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17091 alloc_buffer used to do. Fixes #322874.
17093 * docs/gst/gstreamer-sections.txt:
17094 * docs/design/part-negotiation.txt:
17095 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17098 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17100 patch by: Sebastien Moutte
17103 * win32/common/config.h.in:
17104 * win32/vs6/libgstcontroller.dsp:
17107 2005-12-05 Wim Taymans <wim@fluendo.com>
17109 * gst/gstcaps.c: (gst_caps_is_equal):
17110 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17111 (gst_fake_src_create):
17112 Back out previous code changes, leave doc updates, file bugs
17115 2005-12-05 Wim Taymans <wim@fluendo.com>
17117 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17118 (gst_fake_src_get_times), (gst_fake_src_create):
17119 * plugins/elements/gstfakesrc.h:
17120 Fix broken sync code.
17122 2005-12-05 Wim Taymans <wim@fluendo.com>
17124 * gst/gstcaps.c: (gst_caps_is_equal):
17125 Comparing NULL against !NULL yields different caps, not a
17128 2005-12-05 Wim Taymans <wim@fluendo.com>
17130 * gst/gstpipeline.c:
17131 Fix small typo in docs.
17133 2005-12-05 Andy Wingo <wingo@pobox.com>
17135 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17137 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17138 registries/plugins with a MAJORMINOR one.
17139 (plugin_desc): Rename library from gstcoreleements to
17140 staticelements. Fixes #323222.
17142 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17144 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17145 Change debug category to 'collectpads' from 'collect_pads'
17148 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17150 patch by: Sebastien Moutte
17152 * libs/gst/controller/gstinterpolation.c:
17153 use convert function for uint64/double
17154 * win32/vs6/libgstcontroller.dsp:
17157 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17159 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17160 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17162 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17163 add tests that seem to show that the guint64/gdouble conversions
17166 2005-12-02 Wim Taymans <wim@fluendo.com>
17168 * gst/gstregistry.c: (gst_registry_add_path):
17169 * gst/gstregistry.h:
17170 * gst/gstregistryxml.c:
17173 2005-12-02 Wim Taymans <wim@fluendo.com>
17175 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17176 (gst_util_uint64_scale_int):
17179 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17180 Add debug log line.
17182 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17185 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17188 * win32/common/config.h:
17189 * win32/vs6/gstreamer.dsw:
17190 * win32/vs6/libgstcoreelements.dsp:
17191 * win32/vs6/libgstelements.dsp:
17192 renamed core elements plugin
17194 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17196 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17198 do piece-wise major/minor comparison so 0.9 < 0.10
17199 also allow .exe extensions for tools
17201 2005-12-02 Michael Smith <msmith@fluendo.com>
17204 Escape a % to make gtkdoc happier; bug 322958.
17206 === release 0.9.7 ===
17208 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17211 releasing 0.9.7, "My Dog Has No Nose"
17213 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17215 * common/gst-xmlinspect.py:
17217 * docs/libs/tmpl/gstdataprotocol.sgml:
17218 * docs/random/release:
17237 * win32/common/config.h:
17238 * win32/common/config.h.in:
17239 * win32/vs6/gst_inspect.dsp:
17240 * win32/vs6/gst_launch.dsp:
17241 * win32/vs6/libgstbase.dsp:
17242 * win32/vs6/libgstelements.dsp:
17243 * win32/vs6/libgstreamer.dsp:
17244 * win32/vs7/GStreamer.vcproj:
17245 * win32/vs7/gst-inspect.vcproj:
17246 * win32/vs7/gst-launch.vcproj:
17247 * win32/vs7/libgstbase.vcproj:
17248 bump GST_MAJORMINOR to 0.10
17249 reset libtool version
17251 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17255 Added Bulgarian translation by (Alexander Shopov)
17257 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17259 * tests/check/gst/gstplugin.c:
17262 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17264 * common/gst-xmlinspect.py:
17265 * common/gtk-doc-plugins.mak:
17267 * docs/Makefile.am:
17268 * docs/gst/Makefile.am:
17269 * docs/gst/gstreamer-docs.sgml:
17270 * docs/gst/gstreamer-sections.txt:
17271 * docs/gst/gstreamer.types:
17272 * docs/gst/gstreamer.types.in:
17273 * docs/plugins/Makefile.am:
17274 * docs/plugins/gstreamer-plugins-docs.sgml:
17275 * docs/plugins/gstreamer-plugins-sections.txt:
17276 * docs/plugins/gstreamer-plugins.types:
17277 * docs/plugins/inspect.stamp:
17278 * docs/plugins/inspect/plugin-coreelements.xml:
17279 * docs/plugins/inspect/plugin-coreindexers.xml:
17280 * docs/plugins/scanobj-build.stamp:
17281 * gstreamer.spec.in:
17282 * plugins/elements/Makefile.am:
17283 * plugins/elements/gstelements.c:
17284 * plugins/elements/gstfakesink.c:
17285 * plugins/elements/gstfakesrc.c:
17286 * plugins/elements/gstfilesink.c:
17287 * plugins/elements/gstfilesrc.c:
17288 * plugins/elements/gstqueue.c:
17289 * plugins/indexers/Makefile.am:
17290 * plugins/indexers/gstindexers.c:
17291 document core plugins in a separate document just like all the
17293 rename these plugins to something starting with core
17295 2005-12-01 Andy Wingo <wingo@pobox.com>
17297 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17298 padding here before, but it missed the commit.
17300 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17302 * libs/gst/controller/gstinterpolation.c:
17303 whitespace prices have crashed, we should feel free to use some now
17304 use gst_guint64_to_gdouble
17306 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17308 * libs/gst/controller/gstcontroller.c:
17309 * libs/gst/controller/gsthelper.c:
17310 * libs/gst/controller/gstinterpolation.c:
17311 * libs/gst/controller/lib.c:
17312 wrap config.h include
17314 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17316 * docs/gst/gstreamer-sections.txt:
17319 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17321 * plugins/elements/gstelements.c:
17322 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17323 (gst_fd_sink__class_init), (gst_fd_sink__init),
17324 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17325 (gst_fd_sink__get_property):
17326 * plugins/elements/gstfdsink.h:
17327 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17328 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17329 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17330 (gst_fd_src_unlock), (gst_fd_src_set_property),
17331 (gst_fd_src_get_property), (gst_fd_src_create),
17332 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17333 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17334 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17335 (gst_fd_src_uri_handler_init):
17336 * plugins/elements/gstfdsrc.h:
17337 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17340 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17342 * docs/gst/Makefile.am:
17343 * docs/gst/gstreamer.types.in:
17347 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17353 * gst/gstregistry.h:
17354 * tests/benchmarks/complexity.c:
17355 * tests/benchmarks/mass-elements.c:
17356 * tests/check/Makefile.am:
17357 * tools/Makefile.am:
17358 * tools/gst-inspect.c:
17359 * tools/gst-xmlinspect.c:
17360 various fixes to make
17361 --disable-nls --disable-registry --disable-loadsave
17362 --disable-parse --disable-gst-debug
17363 work and get the core .so down to 360444 bytes after stripping
17365 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17370 * docs/random/thomasvs/TODO:
17371 * tests/Makefile.am:
17375 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17377 * win32/GStreamer.vcproj:
17380 * win32/Makefile.inspect:
17381 * win32/Makefile.launch:
17382 * win32/Makefile.register:
17383 * win32/README.txt:
17384 * win32/gst-inspect.vcproj:
17385 * win32/gst-launch.vcproj:
17386 * win32/gst-register.vcproj:
17387 * win32/gstelements.vcproj:
17388 * win32/gstgetbits.def:
17389 * win32/gstgetbits.vcproj:
17390 * win32/gstreamer-dbg.def:
17391 * win32/gstreamer.def:
17392 * win32/libgstbase.def:
17393 * win32/libgstbase.vcproj:
17394 * win32/link_oldruntime.c:
17398 * win32/msvc71.sln:
17399 move even more stuff, win32/ is nice and clean now
17401 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17403 * libs/gst/control/.cvsignore:
17408 * win32/gstbytestream.def:
17409 * win32/gstbytestream.vcproj:
17410 * win32/gstconfig.h:
17411 * win32/gstenumtypes.c:
17412 * win32/gstenumtypes.h:
17413 * win32/gstoptimalscheduler.vcproj:
17414 * win32/gstversion.h:
17416 * win32/testsuite/bins.vcproj:
17417 * win32/testsuite/bytestream.vcproj:
17418 * win32/testsuite/caps.vcproj:
17419 * win32/testsuite/cleanup.vcproj:
17420 * win32/testsuite/clock.vcproj:
17421 * win32/testsuite/debug.vcproj:
17422 * win32/testsuite/dlopen.vcproj:
17423 * win32/testsuite/dynparams.vcproj:
17424 * win32/testsuite/elements.vcproj:
17425 * win32/testsuite/ghostpads.vcproj:
17426 * win32/testsuite/indexers.vcproj:
17427 * win32/testsuite/negotiation.vcproj:
17428 * win32/testsuite/parse.vcproj:
17429 * win32/testsuite/plugin.vcproj:
17430 * win32/testsuite/refcounting.vcproj:
17431 * win32/testsuite/schedulers.vcproj:
17432 * win32/testsuite/states.vcproj:
17433 * win32/testsuite/tags.vcproj:
17434 * win32/testsuite/threads.vcproj:
17435 remove old win32 stuff that isn't maintained and should be
17438 2005-11-30 Andy Wingo <wingo@pobox.com>
17440 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17441 loading the gst.interfaces python module bork.
17443 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17444 available since GLib 2.2. Fixes #318031.
17446 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17449 * check/.cvsignore:
17450 * check/Makefile.am:
17451 * check/elements/.cvsignore:
17452 * check/elements/fakesrc.c:
17453 * check/elements/fdsrc.c:
17454 * check/elements/identity.c:
17455 * check/generic/.cvsignore:
17456 * check/generic/states.c:
17457 * check/gst-libs/.cvsignore:
17458 * check/gst-libs/controller.c:
17459 * check/gst-libs/gdp.c:
17460 * check/gst/.cvsignore:
17461 * check/gst/capslist.h:
17463 * check/gst/gstbin.c:
17464 * check/gst/gstbuffer.c:
17465 * check/gst/gstbus.c:
17466 * check/gst/gstcaps.c:
17467 * check/gst/gstelement.c:
17468 * check/gst/gstevent.c:
17469 * check/gst/gstghostpad.c:
17470 * check/gst/gstiterator.c:
17471 * check/gst/gstmessage.c:
17472 * check/gst/gstminiobject.c:
17473 * check/gst/gstobject.c:
17474 * check/gst/gstpad.c:
17475 * check/gst/gstpipeline.c:
17476 * check/gst/gstplugin.c:
17477 * check/gst/gstsegment.c:
17478 * check/gst/gststructure.c:
17479 * check/gst/gstsystemclock.c:
17480 * check/gst/gsttag.c:
17481 * check/gst/gstutils.c:
17482 * check/gst/gstvalue.c:
17483 * check/net/.cvsignore:
17484 * check/net/gstnetclientclock.c:
17485 * check/net/gstnettimeprovider.c:
17486 * check/pipelines/.cvsignore:
17487 * check/pipelines/cleanup.c:
17488 * check/pipelines/simple_launch_lines.c:
17489 * check/pipelines/stress.c:
17490 * check/states/.cvsignore:
17491 * check/states/sinks.c:
17493 * examples/Makefile.am:
17494 * examples/appreader/.cvsignore:
17495 * examples/appreader/Makefile.am:
17496 * examples/appreader/appreader.c:
17497 * examples/controller/.cvsignore:
17498 * examples/controller/Makefile.am:
17499 * examples/controller/audio-example.c:
17500 * examples/cutter/.cvsignore:
17501 * examples/cutter/Makefile.am:
17502 * examples/cutter/cutter.c:
17503 * examples/cutter/cutter.h:
17504 * examples/events/Makefile.am:
17505 * examples/events/seek.c:
17506 * examples/helloworld/.cvsignore:
17507 * examples/helloworld/Makefile.am:
17508 * examples/helloworld/helloworld.c:
17509 * examples/helloworld2/.cvsignore:
17510 * examples/helloworld2/Makefile.am:
17511 * examples/helloworld2/helloworld2.c:
17512 * examples/launch/.cvsignore:
17513 * examples/launch/Makefile.am:
17514 * examples/launch/mp3parselaunch.c:
17515 * examples/launch/mp3play:
17516 * examples/manual/.cvsignore:
17517 * examples/manual/Makefile.am:
17518 * examples/manual/extract.pl:
17519 * examples/metadata/Makefile.am:
17520 * examples/metadata/read-metadata.c:
17521 * examples/mixer/.cvsignore:
17522 * examples/mixer/Makefile.am:
17523 * examples/mixer/mixer.c:
17524 * examples/mixer/mixer.h:
17525 * examples/pingpong/.cvsignore:
17526 * examples/pingpong/Makefile.am:
17527 * examples/pingpong/pingpong.c:
17528 * examples/plugins/.cvsignore:
17529 * examples/plugins/Makefile.am:
17530 * examples/plugins/example.c:
17531 * examples/plugins/example.h:
17532 * examples/pwg/.cvsignore:
17533 * examples/pwg/Makefile.am:
17534 * examples/pwg/extract.pl:
17535 * examples/queue/.cvsignore:
17536 * examples/queue/Makefile.am:
17537 * examples/queue/queue.c:
17538 * examples/queue2/.cvsignore:
17539 * examples/queue2/Makefile.am:
17540 * examples/queue2/queue2.c:
17541 * examples/queue3/.cvsignore:
17542 * examples/queue3/Makefile.am:
17543 * examples/queue3/queue3.c:
17544 * examples/queue4/.cvsignore:
17545 * examples/queue4/Makefile.am:
17546 * examples/queue4/queue4.c:
17547 * examples/retag/.cvsignore:
17548 * examples/retag/Makefile.am:
17549 * examples/retag/retag.c:
17550 * examples/retag/transcode.c:
17551 * examples/thread/.cvsignore:
17552 * examples/thread/Makefile.am:
17553 * examples/thread/thread.c:
17554 * examples/typefind/.cvsignore:
17555 * examples/typefind/Makefile.am:
17556 * examples/typefind/typefind.c:
17557 * examples/xml/.cvsignore:
17558 * examples/xml/Makefile.am:
17559 * examples/xml/createxml.c:
17560 * examples/xml/runxml.c:
17561 * tests/Makefile.am:
17562 * tests/check/Makefile.am:
17563 * testsuite/.cvsignore:
17564 * testsuite/Makefile.am:
17566 * testsuite/caps/.cvsignore:
17567 * testsuite/caps/Makefile.am:
17568 * testsuite/caps/app_fixate.c:
17569 * testsuite/caps/audioscale.c:
17570 * testsuite/caps/caps.c:
17571 * testsuite/caps/caps.h:
17572 * testsuite/caps/caps_strings:
17573 * testsuite/caps/compatibility.c:
17574 * testsuite/caps/deserialize.c:
17575 * testsuite/caps/enumcaps.c:
17576 * testsuite/caps/eratosthenes.c:
17577 * testsuite/caps/filtercaps.c:
17578 * testsuite/caps/fixed.c:
17579 * testsuite/caps/fraction-convert.c:
17580 * testsuite/caps/fraction-multiply-and-zero.c:
17581 * testsuite/caps/intersect2.c:
17582 * testsuite/caps/intersection.c:
17583 * testsuite/caps/normalisation.c:
17584 * testsuite/caps/random.c:
17585 * testsuite/caps/renegotiate.c:
17586 * testsuite/caps/sets.c:
17587 * testsuite/caps/simplify.c:
17588 * testsuite/caps/string-conversions.c:
17589 * testsuite/caps/structure.c:
17590 * testsuite/caps/subtract.c:
17591 * testsuite/caps/union.c:
17592 * testsuite/debug/.cvsignore:
17593 * testsuite/debug/Makefile.am:
17594 * testsuite/debug/category.c:
17595 * testsuite/debug/commandline.c:
17596 * testsuite/debug/global.c:
17597 * testsuite/debug/output.c:
17598 * testsuite/debug/printf_extension.c:
17599 * testsuite/dlopen/.cvsignore:
17600 * testsuite/dlopen/Makefile.am:
17601 * testsuite/dlopen/dlopen_gst.c:
17602 * testsuite/dlopen/loadgst.c:
17603 * testsuite/elements/.cvsignore:
17604 * testsuite/elements/Makefile.am:
17605 * testsuite/elements/gst-inspect-check.in:
17606 * testsuite/elements/struct_i386.h:
17607 * testsuite/elements/struct_size.c:
17608 * testsuite/indexers/.cvsignore:
17609 * testsuite/indexers/Makefile.am:
17610 * testsuite/indexers/cache1.c:
17611 * testsuite/indexers/indexdump.c:
17612 * testsuite/parse/.cvsignore:
17613 * testsuite/parse/Makefile.am:
17614 * testsuite/parse/parse1.c:
17615 * testsuite/parse/parse2.c:
17616 * testsuite/plugin/.cvsignore:
17617 * testsuite/plugin/Makefile.am:
17618 * testsuite/plugin/README:
17619 * testsuite/plugin/dynamic.c:
17620 * testsuite/plugin/linked.c:
17621 * testsuite/plugin/loading.c:
17622 * testsuite/plugin/registry.c:
17623 * testsuite/plugin/static.c:
17624 * testsuite/plugin/static2.c:
17625 * testsuite/plugin/testplugin.c:
17626 * testsuite/plugin/testplugin2.c:
17627 * testsuite/plugin/testplugin2_s.c:
17628 * testsuite/plugin/testplugin_s.c:
17629 * testsuite/refcounting/.cvsignore:
17630 * testsuite/refcounting/Makefile.am:
17631 * testsuite/refcounting/bin.c:
17632 * testsuite/refcounting/element.c:
17633 * testsuite/refcounting/element_pad.c:
17634 * testsuite/refcounting/mainloop.c:
17635 * testsuite/refcounting/mem.c:
17636 * testsuite/refcounting/mem.h:
17637 * testsuite/refcounting/object.c:
17638 * testsuite/refcounting/pad.c:
17639 * testsuite/refcounting/sched.c:
17640 * testsuite/refcounting/thread.c:
17641 * testsuite/states/.cvsignore:
17642 * testsuite/states/Makefile.am:
17643 * testsuite/states/bin.c:
17644 * testsuite/states/locked.c:
17645 * testsuite/states/parent.c:
17646 * testsuite/threads/.cvsignore:
17647 * testsuite/threads/159566.c:
17648 * testsuite/threads/159852.c:
17649 * testsuite/threads/Makefile.am:
17650 * testsuite/threads/queue.c:
17651 * testsuite/threads/signals.c:
17652 * testsuite/threads/staticrec.c:
17653 * testsuite/threads/thread.c:
17654 * testsuite/threads/threadb.c:
17655 * testsuite/threads/threadc.c:
17656 * testsuite/threads/threadd.c:
17657 * testsuite/threads/threade.c:
17658 * testsuite/threads/threadf.c:
17659 * testsuite/threads/threadg.c:
17660 * testsuite/threads/threadh.c:
17661 * testsuite/threads/threadi.c:
17662 move all of these under tests
17664 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17667 * tests/Makefile.am:
17670 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17672 * docs/gst/gstreamer-sections.txt:
17673 * tests/sched/.cvsignore:
17674 * tests/sched/Makefile.am:
17675 * tests/sched/cases/(fs-fs).xml:
17676 * tests/sched/cases/(fs-i-fs).xml:
17677 * tests/sched/cases/(fs-i-i-fs).xml:
17678 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17679 * tests/sched/dynamic-pipeline.c:
17680 * tests/sched/interrupt1.c:
17681 * tests/sched/interrupt2.c:
17682 * tests/sched/interrupt3.c:
17683 * tests/sched/runtestcases:
17684 * tests/sched/runxml.c:
17685 * tests/sched/sched-stress.c:
17686 * tests/sched/sort.c:
17687 * tests/sched/testcases:
17688 * tests/sched/testcases1.tc:
17689 * tests/seeking/.cvsignore:
17690 * tests/seeking/Makefile.am:
17691 * tests/seeking/seeking1.c:
17692 * tests/threadstate/.cvsignore:
17693 * tests/threadstate/Makefile.am:
17694 * tests/threadstate/test1.c:
17695 * tests/threadstate/test2.c:
17696 * tests/threadstate/threadstate1.c:
17697 * tests/threadstate/threadstate2.c:
17698 * tests/threadstate/threadstate3.c:
17699 * tests/threadstate/threadstate4.c:
17700 * tests/threadstate/threadstate5.c:
17701 remove obsolete tests
17703 * tests/bench-complexity.scm:
17704 * tests/bench-mass_elements.scm:
17705 * tests/complexity.c:
17706 * tests/complexity.gnuplot:
17707 * tests/instantiate/.cvsignore:
17708 * tests/instantiate/Makefile.am:
17709 * tests/instantiate/caps.c:
17710 * tests/mass_elements.c:
17711 * tests/network-clock-utils.scm:
17712 * tests/network-clock.scm:
17714 First pass at cleaning up tests/ dir before moving the rest
17715 Combined with CVS surgery
17717 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17720 queue has moved, update
17722 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17724 * docs/gst/gstreamer-sections.txt:
17725 remove double entries from the docs
17726 * gst/gst_private.h:
17727 * gst/gstinfo.c: (_gst_debug_init):
17728 remove the THREAD debug category
17732 * docs/gst/gstreamer.types:
17733 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17734 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17735 completely move queue and fix up debugging categories
17737 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17739 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17740 make initialization portable, using LL is not
17742 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17744 * win32/common/gstconfig.h:
17747 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17749 * win32/common/libgstreamer.def:
17750 rename symbols; sort base section
17752 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17754 * gst/gstclock.c: (do_linear_regression):
17755 remove crack non-portable handrolled DEBUG macro
17757 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17759 * docs/random/release:
17761 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17762 (gst_object_flags_get_type), (register_gst_bin_flags),
17763 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17764 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17765 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17766 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17767 (gst_caps_flags_get_type), (register_gst_clock_return),
17768 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17769 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17770 (gst_clock_flags_get_type), (register_gst_state),
17771 (gst_state_get_type), (register_gst_state_change_return),
17772 (gst_state_change_return_get_type), (register_gst_state_change),
17773 (gst_state_change_get_type), (register_gst_element_flags),
17774 (gst_element_flags_get_type), (register_gst_core_error),
17775 (gst_core_error_get_type), (register_gst_library_error),
17776 (gst_library_error_get_type), (register_gst_resource_error),
17777 (gst_resource_error_get_type), (register_gst_stream_error),
17778 (gst_stream_error_get_type), (register_gst_event_type_flags),
17779 (gst_event_type_flags_get_type), (register_gst_event_type),
17780 (gst_event_type_get_type), (register_gst_seek_type),
17781 (gst_seek_type_get_type), (register_gst_seek_flags),
17782 (gst_seek_flags_get_type), (register_gst_format),
17783 (gst_format_get_type), (register_gst_index_certainty),
17784 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17785 (gst_index_entry_type_get_type),
17786 (register_gst_index_lookup_method),
17787 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17788 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17789 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17790 (gst_index_flags_get_type), (register_gst_debug_level),
17791 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17792 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17793 (gst_iterator_result_get_type), (register_gst_iterator_item),
17794 (gst_iterator_item_get_type), (register_gst_message_type),
17795 (gst_message_type_get_type), (register_gst_mini_object_flags),
17796 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17797 (gst_pad_link_return_get_type), (register_gst_flow_return),
17798 (gst_flow_return_get_type), (register_gst_activate_mode),
17799 (gst_activate_mode_get_type), (register_gst_pad_direction),
17800 (gst_pad_direction_get_type), (register_gst_pad_flags),
17801 (gst_pad_flags_get_type), (register_gst_pad_presence),
17802 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17803 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17804 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17805 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17806 (gst_plugin_flags_get_type), (register_gst_rank),
17807 (gst_rank_get_type), (register_gst_query_type),
17808 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17809 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17810 (gst_tag_flag_get_type), (register_gst_task_state),
17811 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17812 (gst_alloc_trace_flags_get_type),
17813 (register_gst_type_find_probability),
17814 (gst_type_find_probability_get_type), (register_gst_uri_type),
17815 (gst_uri_type_get_type), (register_gst_parse_error),
17816 (gst_parse_error_get_type):
17817 * win32/common/gstenumtypes.h:
17818 * win32/common/gstversion.h:
17819 update visual studio generated files
17821 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17823 * win32/vs6/libgstbase.dsp:
17824 * win32/vs6/libgstelements.dsp:
17825 update project files for new locations
17827 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17832 reinstate and update
17837 * docs/random/LICENSE:
17840 2005-11-30 Edward Hervey <edward@fluendo.com>
17842 * gst/gsttypefind.c: (gst_type_find_register):
17843 * gst/gsttypefind.h:
17844 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17845 (gst_type_find_factory_dispose):
17846 * gst/gsttypefindfactory.h:
17847 Fix memory leak in GstTypeFindFactory.
17849 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17852 * plugins/elements/Makefile.am:
17853 * plugins/elements/gstelements.c:
17854 * plugins/elements/gstqueue.c:
17855 move queue from core to the elements plugin
17857 2005-11-29 Andy Wingo <wingo@pobox.com>
17859 * libs/gst/base/gstbasetransform.h:
17860 * libs/gst/base/gstbasesrc.h:
17861 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17863 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17864 of pointers by which to pad very extensible base classes (like the
17865 ones in libs/gst/base).
17867 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17869 * docs/gst/gstreamer-docs.sgml:
17870 * docs/gst/gstreamer-sections.txt:
17871 * docs/libs/gstreamer-libs-docs.sgml:
17872 * docs/libs/gstreamer-libs-sections.txt:
17873 moving documentation from core to lib
17875 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17877 * check/Makefile.am:
17879 * docs/gst/Makefile.am:
17881 * gst/base/.cvsignore:
17882 * gst/base/Makefile.am:
17884 * gst/base/gstadapter.c:
17885 * gst/base/gstadapter.h:
17886 * gst/base/gstbasesink.c:
17887 * gst/base/gstbasesink.h:
17888 * gst/base/gstbasesrc.c:
17889 * gst/base/gstbasesrc.h:
17890 * gst/base/gstbasetransform.c:
17891 * gst/base/gstbasetransform.h:
17892 * gst/base/gstcollectpads.c:
17893 * gst/base/gstcollectpads.h:
17894 * gst/base/gstpushsrc.c:
17895 * gst/base/gstpushsrc.h:
17896 * gst/base/gsttypefindhelper.c:
17897 * gst/base/gsttypefindhelper.h:
17898 * gst/check/Makefile.am:
17899 * gst/check/gstcheck.c:
17900 * gst/check/gstcheck.h:
17901 * gst/net/Makefile.am:
17902 * gst/net/gstnet.h:
17903 * gst/net/gstnetclientclock.c:
17904 * gst/net/gstnetclientclock.h:
17905 * gst/net/gstnettimepacket.c:
17906 * gst/net/gstnettimepacket.h:
17907 * gst/net/gstnettimeprovider.c:
17908 * gst/net/gstnettimeprovider.h:
17909 * libs/gst/Makefile.am:
17910 * libs/gst/base/Makefile.am:
17911 * libs/gst/base/gstbasetransform.c:
17912 * libs/gst/check/Makefile.am:
17913 * plugins/elements/Makefile.am:
17915 CVS surgery + support to move base, check, and net out of gst
17918 2005-11-29 Andy Wingo <wingo@pobox.com>
17920 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17922 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17925 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17927 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17929 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17931 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17932 padding; reduces object size by about 30%. We don't expect
17933 anything else to go into gstobject.
17935 * gst/gstminiobject.h (struct _GstMiniObject)
17936 (struct _GstMiniObjectClass): Only one pointer of padding; the
17937 payload is only a pointer and two ints anyway. For the class there
17938 are only two methods as well.
17940 * gst/gstelement.h (struct _GstElementClass): Removed
17941 the state_changed signal callback, it is not used.
17943 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17945 * docs/gst/gstreamer.types:
17946 fix includes, though they are a little dinky
17948 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17950 * check/Makefile.am:
17951 look in the right place for elements, a lot more chance of
17954 remove indexers and elements subdirs
17955 * plugins/Makefile.am:
17956 make indexers conditional
17958 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17962 * plugins/elements/Makefile.am:
17963 * plugins/elements/gstcapsfilter.c:
17964 * plugins/elements/gstfilesink.c:
17965 * plugins/elements/gstfilesrc.c:
17966 * plugins/elements/gstidentity.c:
17967 * plugins/indexers/Makefile.am:
17968 do CVS surgery and related build fixery to move elements
17969 and indexers in a new gstreamer/plugins directory, out of the
17972 2005-11-29 Andy Wingo <wingo@pobox.com>
17974 * check/Makefile.am:
17975 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17976 * pkgconfig/gstreamer-net.pc.in:
17977 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17980 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17982 * tools/Makefile.am:
17983 * tools/gst-complete.1.in:
17984 * tools/gst-complete.c:
17985 * tools/gst-compprep.1.in:
17986 * tools/gst-compprep.c:
17987 removing -compprep and -complete
17989 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17991 * gst/gstevent.c: (gst_event_new_new_segment),
17992 (gst_event_parse_new_segment):
17994 fix #320529 - clean up new_segment API and structure.
17995 Let's hope everyone was using the methods, and not the structure.
17997 2005-11-29 Edward Hervey <edward@fluendo.com>
17999 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18000 (gst_base_sink_event), (gst_base_sink_do_sync),
18001 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18002 Properly handle non GST_FORMAT_TIME segment
18003 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18004 Properly handle non GST_FORMAT_TIME segment
18005 * gst/gstsegment.c:
18006 This function is valid if the accumulator is 0 and the format
18007 is different from the requested format.
18009 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18011 * docs/gst/gstreamer-sections.txt:
18012 Add gst_query_new_seeking and gst_query_parse_seeking to the
18015 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18017 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18018 Treat a pad alloc with new caps the same as if we were not
18019 negotiated, in order to allow a changing upstream output
18020 to produce a new format of data.
18022 2005-11-29 Edward Hervey <edward@fluendo.com>
18024 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18025 (gst_base_transform_event), (gst_base_transform_eventfunc):
18026 The event virtual method is now properly implemented, with a default
18028 Sub classes should call the parent_class event method. They should
18029 return FALSE if they had a problem handling the given event, or don't
18030 want GstBaseTransform to send that even downstream
18031 * gst/elements/gstidentity.c: (gst_identity_class_init),
18032 (gst_identity_init), (gst_identity_event),
18033 (gst_identity_transform_ip), (gst_identity_set_property),
18034 (gst_identity_get_property):
18035 * gst/elements/gstidentity.h:
18036 Added the single-segment boolean property.
18037 If set to TRUE, it will output a single segment of data, starting from
18038 0, will eat up all incoming newsegment, and modify the timestamp of the
18039 buffers accordingly
18041 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
18043 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18044 Don't ref NULL target pad (#322751). Improve docs.
18046 2005-11-29 Michael Smith <msmith@fluendo.com>
18048 * gst/gstregistryxml.c: (load_plugin):
18049 Don't crash if we failed to load a feature from a plugin.
18051 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18053 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18055 use more check API and less GLib API
18057 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18060 don't run checks if we don't have check
18061 * common/check.mak:
18062 remove the registry when running make torture
18063 * docs/gst/gstreamer-sections.txt:
18064 remove second multiply
18065 * gst/gstqueue.c: (gst_queue_loop):
18066 fix a compile warning when disabling debug
18068 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18071 Hey! Let's print the pad name if the pointer != NULL instead
18072 of when it == NULL :-)
18074 2005-11-28 Wim Taymans <wim@fluendo.com>
18076 * check/gst/gstutils.c: (GST_START_TEST):
18077 Updated check, add some scaling accuracy checking code.
18079 * gst/gstutils.c: (gst_util_div128_64),
18080 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18081 (gst_util_uint64_scale_int):
18082 Fix 6 times faster division code. Optimize for common
18083 1/1 and less common X/1 cases.
18085 2005-11-28 Wim Taymans <wim@fluendo.com>
18087 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18090 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18091 (do_linear_regression), (gst_clock_add_observation):
18093 Release lock when the clock cannot be slaved.
18094 Catch the case where the regression returned an invalid denominator.
18096 * gst/gstutils.c: (gst_util_div128_64_iterate),
18097 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18098 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18099 Add protentially more performant non-iterative 128/64 divide function
18100 that unfortunatly does not work yet.
18101 Shortcut the trivial 0/X = 0 case.
18102 Remove the warnings on overflow.
18104 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18106 * gst/gstplugin.c: (gst_plugin_register_func):
18107 everything causing a plugin not to load should be at least a WARNING
18109 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18111 * docs/random/ensonic/dparams.txt:
18112 some TODOs for the next dev cycle
18113 * libs/gst/controller/gstcontroller.c:
18114 (gst_controlled_property_set_interpolation_mode),
18115 (gst_controlled_property_new):
18116 * libs/gst/controller/gstcontroller.h:
18117 use base type to assign acccessor functions
18119 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18121 * check/Makefile.am:
18122 Oops, that should have been top_srcdir
18124 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18126 * check/Makefile.am:
18127 * check/elements/fdsrc.c: (GST_START_TEST):
18128 Use a cmdline define to specify the location of a file to use for
18129 testing, to avoid breaking distcheck.
18131 2005-11-28 Andy Wingo <wingo@pobox.com>
18133 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18135 2005-11-28 Edward Hervey <edward@fluendo.com>
18137 * tools/gst-launch.c: (main):
18138 Clarify the output strings, makes it easier to translate.
18141 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18144 don't try and build net if we don't even have <sys/socket.h>
18146 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18148 * check/Makefile.am:
18149 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18150 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18151 Add tests for fdsrc seekability
18153 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18154 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18155 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18156 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18157 * gst/elements/gstfdsrc.h:
18158 fdsrc should not be a 'live' source.
18159 Implement seeking on seekable fd's.
18161 * gst/gstquery.c: (gst_query_new_seeking),
18162 (gst_query_parse_seeking):
18164 Implement SEEKING query functions:
18165 *_new_seeking and *_parse_seeking
18167 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18169 * gst/gstelement.c: (gst_element_dispose):
18172 * gst/gstiterator.c:
18173 * gst/gststructure.c:
18176 * libs/gst/controller/gstcontroller.c:
18177 (gst_controlled_property_set_interpolation_mode):
18178 * libs/gst/controller/gstcontroller.h:
18179 * libs/gst/controller/gstinterpolation.c:
18180 (interpolate_none_get_enum_value_array):
18181 support controlling enums
18183 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18186 Improve documentation for gst_value_union().
18189 Change return value for union, intersect and subtract functions
18190 from gint to gboolean.
18192 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18194 * gst/gstvalue.c: (gst_value_serialize_any_list),
18195 (gst_value_transform_any_list_string),
18196 (gst_value_deserialize_list), (gst_value_deserialize_array),
18197 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18198 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18199 (gst_value_set_fraction_range_full),
18200 (gst_value_deserialize_fraction_range),
18201 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18202 (gst_value_deserialize_boolean),
18203 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18204 (gst_value_serialize_float), (gst_value_deserialize_float),
18205 (gst_string_wrap), (gst_value_deserialize_string),
18206 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18207 (gst_value_union_int_range_int_range),
18208 (gst_value_intersect_int_range_int_range),
18209 (gst_value_intersect_double_range_double_range),
18210 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18211 (gst_value_subtract_int_range_int_range),
18212 (gst_value_subtract_double_double_range),
18213 (gst_value_subtract_double_range_double_range),
18214 (gst_value_deserialize_fraction):
18216 Use gint, gdouble and gchar in our API instead of int, double and
18217 char (and make usage in gstvalue.c more consistent).
18219 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18221 * check/Makefile.am:
18222 * libs/gst/controller/Makefile.am:
18223 * libs/gst/dataprotocol/Makefile.am:
18224 fix up Makefile.am and remove GST_ENABLE_NEW
18226 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18230 * gst/base/Makefile.am:
18231 * gst/check/Makefile.am:
18232 * gst/elements/Makefile.am:
18233 * gst/net/Makefile.am:
18234 update LDFLAGS use some more
18236 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18238 * common/m4/gst-doc.m4:
18241 2005-11-26 Edward Hervey <edward@fluendo.com>
18243 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18244 This shouldn't issue a g_warning since it returns NULL if it
18245 couldn't find the plugin, and all functions using this behave
18246 properly on a NULL return. Switching to a GST_WARNING.
18248 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18250 * gst/gstbin.c: (gst_bin_handle_message_func):
18251 Don't leak clock messages.
18253 2005-11-25 Wim Taymans <wim@fluendo.com>
18255 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18256 (gst_util_uint64_scale_int):
18257 Optimisations, remove unneeded vars.
18259 2005-11-25 Wim Taymans <wim@fluendo.com>
18261 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18262 Added more checks for the high precision uint64 cases.
18264 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18265 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18266 Implement high precision (guint64 * guint64) / guint64.
18268 2005-11-24 Wim Taymans <wim@fluendo.com>
18270 * gst/base/gstbasesrc.c: (gst_base_src_query):
18271 Fix wrong percentage query.
18273 * gst/gstutils.c: (gst_util_uint64_scale),
18274 (gst_util_uint64_scale_int):
18275 Add some more common cases that can be handled
18276 efficiently to _scale.
18278 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18280 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18281 (gst_mini_object_suite):
18282 don't use check calls from threads; check probably isn't
18283 threadsafe and using a lock to make it threadsafe would
18284 defeat the purpose of this check
18285 * gst/check/gstcheck.c:
18286 * gst/check/gstcheck.h:
18287 use GST_DEBUG some more
18289 2005-11-24 Wim Taymans <wim@fluendo.com>
18291 * gst/gstutils.c: (gst_util_uint64_scale),
18292 (gst_util_uint64_scale_int):
18293 Chain trivial case to _scale_int.
18295 2005-11-24 Wim Taymans <wim@fluendo.com>
18297 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18298 Added test for scaling.
18303 * gst/gstutils.c: (gst_util_uint64_scale_int):
18304 Implemented high precision scaling code.
18306 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18309 do not crash on pad==NULL
18311 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18313 Patch by: Stefan Kost
18315 * common/gtk-doc.mak:
18316 * docs/gst/Makefile.am:
18317 * docs/libs/Makefile.am:
18318 Fix distcheck issues for the libraries docs build
18321 2005-11-24 Michael Smith <msmith@fluendo.com>
18323 * docs/manual/basics-helloworld.xml:
18324 Fix bug #315027: memory leak in example code in docs.
18326 2005-11-24 Michael Smith <msmith@fluendo.com>
18328 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18329 Unlock the PREROLL_LOCK in a failure case.
18331 2005-11-24 Wim Taymans <wim@fluendo.com>
18333 * docs/gst/gstreamer-sections.txt:
18334 * gst/base/gstadapter.h:
18335 * gst/base/gstbasesink.h:
18336 * gst/base/gstbasesrc.h:
18337 * gst/base/gstbasetransform.h:
18338 * gst/base/gstpushsrc.h:
18339 * gst/elements/gstfakesink.h:
18340 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18341 * gst/elements/gstfakesrc.h:
18342 * gst/elements/gstfilesink.h:
18343 * gst/elements/gstfilesrc.h:
18346 * gst/gstbuffer.c: (_gst_buffer_copy):
18349 * gst/gstchildproxy.c:
18351 * gst/gstelement.c:
18352 * gst/gstelementfactory.c:
18353 * gst/gstelementfactory.h:
18355 * gst/gstghostpad.h:
18357 * gst/gstinterface.h:
18358 * gst/gstminiobject.c:
18359 * gst/gstminiobject.h:
18362 * gst/gstpadtemplate.h:
18363 * gst/gstpipeline.h:
18364 * gst/gstpluginfeature.h:
18367 * gst/gsttaglist.c:
18368 * gst/gsttaglist.h:
18369 * gst/gsttagsetter.c:
18370 * gst/gsttagsetter.h:
18373 * gst/gsttypefind.h:
18376 * gst/net/gstnetclientclock.c:
18377 * gst/net/gstnetclientclock.h:
18378 * gst/net/gstnettimepacket.c:
18379 * gst/net/gstnettimeprovider.c:
18380 * gst/net/gstnettimeprovider.h:
18383 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18385 * configure.ac: back to HEAD
18387 === release 0.9.6 ===
18389 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18392 releasing 0.9.6, "Always On Time"
18394 2005-11-23 Wim Taymans <wim@fluendo.com>
18396 * docs/gst/gstreamer-sections.txt:
18397 * gst/glib-compat.c:
18398 * gst/gsttagsetter.c:
18400 * gst/net/gstnetclientclock.c:
18401 * gst/net/gstnettimepacket.h:
18404 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18406 * docs/faq/using.xml:
18407 * docs/libs/tmpl/gstcontrol.sgml:
18408 * docs/manual/advanced-dparams.xml:
18409 * docs/manual/appendix-checklist.xml:
18410 * docs/manual/basics-elements.xml:
18411 * docs/pwg/other-source.xml:
18412 * docs/random/moving-plugins:
18414 * tools/gst-launch.1.in:
18415 remove mentions of sinesrc
18417 2005-11-23 Michael Smith <msmith@fluendo.com>
18419 * docs/gst/gstreamer-sections.txt:
18420 Update for new API and API changes.
18422 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18424 Documentation typo fix.
18425 * gst/net/gstnettimepacket.c:
18426 Documentation fixes for arguments.
18428 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18430 * gst/gststructure.c: (gst_structure_get_fraction),
18431 (gst_structure_parse_value),
18432 (gst_structure_fixate_field_nearest_fraction):
18433 * gst/gststructure.h:
18434 * gst/gstutils.c: (gst_util_uint64_scale_int):
18436 * scripts/update-funcnames:
18438 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18439 Make gst_structure_fixate_field_nearest_fraction take a numerator
18440 and denominator argument instead of a GValue
18441 add gst_structure_get_fraction helper function.
18443 2005-11-23 Wim Taymans <wim@fluendo.com>
18445 * docs/design/part-TODO.txt:
18448 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18449 * gst/net/gstnetclientclock.h:
18450 Use parent fields for timeout and window_size.
18452 2005-11-23 Andy Wingo <wingo@pobox.com>
18454 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18455 rate_num/rate_denom change.
18457 * gst/net/gstnetclientclock.c
18458 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18459 OBJECT_LOCK. Don't call add_observation with the lock.
18461 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18463 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18465 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18466 deal with rate as a fraction whose numerator and denominator are
18467 GstClockTime values.
18468 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18469 master; the other fields are protected by the SLAVE_LOCK.
18470 (do_linear_regression): Note that this must be called with the
18472 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18473 OBJECT_LOCK. Call set_calibration instead of touching the
18474 variables directly.
18475 (gst_clock_set_property, gst_clock_get_property): Protect
18476 master/slave parameters with the SLAVE_LOCK.
18478 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18479 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18480 note that all of the instance variables that add_observation and
18481 the set_master functions use are protected by that lock and not
18483 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18485 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18486 the caller to take the object lock.
18488 2005-11-23 Wim Taymans <wim@fluendo.com>
18490 * gst/gsterror.c: (_gst_core_errors_init):
18492 Add error for clock stuff.
18494 * gst/gstpipeline.c: (gst_pipeline_change_state),
18495 (gst_pipeline_set_clock):
18496 Post clock error when clock cannot be used in a pipeline.
18498 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18500 * docs/gst/gstreamer-sections.txt:
18501 make two symbols from gstinfo private for the docs
18502 * gst/base/gstcollectpads.h:
18504 fix doc typos, update docs
18506 2005-11-22 Wim Taymans <wim@fluendo.com>
18508 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18509 (gst_base_sink_wait), (gst_base_sink_do_sync),
18510 (gst_base_sink_handle_event):
18511 * gst/base/gstbasesink.h:
18512 No need to store the clock, the parent element class already
18515 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18516 Updates for clock_set returning a gboolean
18518 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18519 (gst_clock_id_wait_async), (gst_clock_class_init),
18520 (gst_clock_init), (gst_clock_finalize),
18521 (gst_clock_get_internal_time), (gst_clock_get_time),
18522 (gst_clock_slave_callback), (gst_clock_set_master),
18523 (gst_clock_get_master), (do_linear_regression),
18524 (gst_clock_add_observation), (gst_clock_set_property),
18525 (gst_clock_get_property):
18527 Implement master/slave. When setting a clock as a slave, a
18528 periodic timeout is scheduled to sample master and slave times.
18529 Then the slave clock is recalibrated to match offset and rate
18530 of the master clock.
18531 Update logging a bit.
18532 Add flag so that a clock can state that is cannot be slaved to
18535 * gst/gstelement.c: (gst_element_set_clock):
18536 * gst/gstelement.h:
18537 The set clock returns a gboolean for when an element cannot
18538 deal with the selected clock in the pipeline.
18540 * gst/gstpipeline.c: (gst_pipeline_change_state),
18541 (gst_pipeline_set_clock):
18542 * gst/gstpipeline.h:
18543 Handle the case where the selected clock cannot be set on
18546 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18547 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18548 (gst_net_client_clock_set_property),
18549 (gst_net_client_clock_get_property),
18550 (gst_net_client_clock_observe_times):
18551 * gst/net/gstnetclientclock.h:
18552 Use regression code in GstClock parent, remove duplicated
18555 2005-11-22 Michael Smith <msmith@fluendo.com>
18557 * gst/gstutils.c: (gst_util_clock_time_scale):
18559 * docs/gst/gstreamer-sections.txt:
18560 Rename method to have extra underscore.
18562 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18564 * gst/elements/Makefile.am:
18565 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18566 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18567 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18568 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18569 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18570 * gst/elements/gstfakesrc.h:
18571 * gst/gstqueue.c: (queue_leaky_get_type):
18572 correctly fix GEnumValues so that nick is the short lowercase
18574 * tools/gst-inspect.c: (print_element_properties_info):
18575 also show the nick, since it's useful to use from parse_launch
18579 2005-11-22 Michael Smith <msmith@fluendo.com>
18581 * gst/gstutils.c: (gst_util_clocktime_scale):
18583 * docs/gst/gstreamer-sections.txt:
18584 Add util method for scaling a clocktime by a fraction. Useful
18585 implementation is left as an exercise for the reader.
18587 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18589 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18590 If needed, allocate storage in the destination value during
18593 2005-11-22 Edward Hervey <edward@fluendo.com>
18595 * docs/gst/gstreamer-sections.txt:
18598 * gst/gsturitype.c:
18599 * gst/gsturitype.h:
18600 * gst/gstutils.c: (gst_util_set_object_arg):
18601 * tools/gst-compprep.c: (main):
18602 * tools/gst-inspect.c: (print_element_properties_info):
18603 Removed GstURI, closes bug #321061
18605 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18607 * check/gst/gststructure.c: (GST_START_TEST):
18608 * gst/gststructure.c: (gst_structure_parse_value):
18609 Oops, broke automatic string type parsing.
18610 Add a test to catch it in future.
18612 2005-11-22 Andy Wingo <wingo@pobox.com>
18614 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18615 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18616 Actually rename the function implementations. Grr.
18618 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18620 * check/gst/capslist.h:
18622 * check/gst/gststructure.c: (GST_START_TEST),
18623 (gst_structure_suite):
18624 Test automatic value type detection in gst_structure_from_string.
18625 * gst/gststructure.c: (gst_structure_parse_value):
18626 Add fraction as a type we try and guess automatically in
18627 caps/structure strings.
18629 2005-11-22 Andy Wingo <wingo@pobox.com>
18631 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18633 * gst/gsttagsetter.h:
18634 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18635 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18636 (gst_tag_setter_add_tag_valist)
18637 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18638 _add_values, _add_valist, and _add_valist_values. Since this is an
18639 interface the function suffixes should be more explicit so
18640 language binding don't end up with element.add_valist ->
18641 gst_tag_setter_add_valist, for example. Fixes #322069.
18643 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18645 * check/gst/gstcaps.c: (GST_START_TEST):
18646 Extend caps string tests to check that a caps to string
18647 conversion is reversible and produces the same caps.
18649 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18650 Output "fraction" as the generic type fraction range, so caps
18651 serialisation and deserialisation works.
18652 * check/gst/capslist.h:
18653 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18654 Support 'MIN' and 'MAX' for deserialising fractions.
18656 2005-11-22 Andy Wingo <wingo@pobox.com>
18658 * gst/gstevent.h (gst_event_new_new_segment)
18659 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18660 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18661 Renamed from *_newsegment, *_buffersize, *_notarget.
18663 * scripts/update-funcnames: New script, performs the changes
18666 2005-11-22 Wim Taymans <wim@fluendo.com>
18668 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18669 Make sure the GstFlowReturn is returned.
18671 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18672 (gst_bus_add_signal_watch):
18674 add gst_bus_add_signal_watch_full.
18676 * gst/gstplugin.c: (gst_plugin_load_file):
18677 Small style cleanup.
18679 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18681 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18682 Block the fakesrc srcpad when we send an event, to avoid
18683 contention on the stream_lock causing random test failures.
18685 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18687 * check/gst/gstvalue.c: (GST_START_TEST):
18688 * gst/gstvalue.c: (gst_value_fraction_subtract):
18691 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18694 include "gstchildproxy.h"
18695 * gst/gstchildproxy.h:
18696 * libs/gst/controller/gstcontroller.h:
18697 use G_GNUC_NULL_TERMINATED
18699 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18701 * check/gst/capslist.h:
18702 * check/gst/gstcaps.c: (GST_START_TEST):
18703 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18704 * gst/gststructure.c: (gst_structure_parse_range),
18705 (gst_structure_fixate_field_nearest_fraction):
18706 * gst/gststructure.h:
18707 * gst/gstvalue.c: (gst_value_init_fraction_range),
18708 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18709 (gst_value_collect_fraction_range),
18710 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18711 (gst_value_set_fraction_range_full),
18712 (gst_value_get_fraction_range_min),
18713 (gst_value_get_fraction_range_max),
18714 (gst_value_serialize_fraction_range),
18715 (gst_value_transform_fraction_range_string),
18716 (gst_value_compare_fraction_range),
18717 (gst_value_deserialize_fraction_range),
18718 (gst_value_intersect_fraction_fraction_range),
18719 (gst_value_intersect_fraction_range_fraction_range),
18720 (gst_value_subtract_fraction_fraction_range),
18721 (gst_value_subtract_fraction_range_fraction),
18722 (gst_value_subtract_fraction_range_fraction_range),
18723 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18724 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18725 (gst_value_transform_string_fraction), (_gst_value_initialize):
18727 Implement fraction ranges and extend GstFraction to support
18728 arithmetic subtraction, as well as deserialization from integer
18729 strings such as "100"
18730 Add a testsuite as for int and double range set operations
18732 2005-11-21 Andy Wingo <wingo@pobox.com>
18734 * gst/gsttaglist.h:
18736 * gst/gststructure.h: Add glib-compat.h.
18738 2005-11-21 Wim Taymans <wim@fluendo.com>
18740 * gst/gstbin.c: (gst_bin_change_state_func):
18743 2005-11-21 Wim Taymans <wim@fluendo.com>
18745 * gst/gstsegment.h:
18746 And add a nice define too.
18748 2005-11-21 Wim Taymans <wim@fluendo.com>
18750 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18751 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18752 (gst_segment_set_duration), (gst_segment_set_last_stop),
18753 (gst_segment_set_seek), (gst_segment_set_newsegment),
18754 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18755 (gst_segment_clip):
18756 * gst/gstsegment.h:
18757 Make binding friendly.
18759 2005-11-21 Andy Wingo <wingo@pobox.com>
18761 * gst/gsttagsetter.h:
18762 * gst/gsttaglist.h:
18763 * gst/gststructure.h:
18765 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18768 * gst/gsterror.c (_gst_core_errors_init):
18769 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18772 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18773 (noinst_HEADERS): noinst the -private.
18775 2005-11-21 Michael Smith <msmith@fluendo.com>
18778 * gst/gstregistry.h:
18779 Remove unimplemented declarations for which we can see no sensible
18782 2005-11-21 Andy Wingo <wingo@pobox.com>
18784 * gst/gst.h: Include glib-compat.h.
18786 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18788 * gst/glib-compat.c: Include the public and the private header.
18790 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18794 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18796 * check/gst/gstevent.c (create_custom_events): Check that
18797 FLUSH_STOP is serialized.
18799 * check/elements/identity.c (event_func):
18800 * check/elements/fakesrc.c (event_func): No stream lock, the core
18803 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18804 stream lock taking, yay.
18806 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18807 ensure that core takes the stream lock.
18809 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18812 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18813 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18814 it already. For the flush start we do take it though so we get the
18815 right preroll state change messages.
18817 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18818 the stream lock here, the core does it for us.
18820 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18821 GST_STREAM_GET_LOCK.
18822 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18823 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18824 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18825 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18826 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18827 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18829 * gst/gstpad.c: Update for stream lock name change.
18831 * gst/base/gstbasesink.c: Update for preroll lock name change.
18833 2005-11-21 Wim Taymans <wim@fluendo.com>
18835 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18836 (gst_clock_get_master):
18838 * gst/gstsystemclock.c: (gst_system_clock_init):
18839 Convert Clock flags to object flags.
18840 Added methods to manage master/slave clocks.
18842 2005-11-21 Wim Taymans <wim@fluendo.com>
18844 * check/gst/gstsegment.c: (GST_START_TEST):
18845 * docs/design/part-TODO.txt:
18846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18847 (gst_base_sink_event), (gst_base_sink_do_sync),
18848 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18849 (gst_base_sink_query), (gst_base_sink_change_state):
18850 * gst/base/gstbasesink.h:
18851 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18852 (gst_base_src_default_newsegment),
18853 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18854 (gst_base_src_get_range), (gst_base_src_loop),
18855 (gst_base_src_change_state):
18856 * gst/base/gstbasesrc.h:
18857 * gst/base/gstbasetransform.c:
18858 (gst_base_transform_prepare_output_buf),
18859 (gst_base_transform_event), (gst_base_transform_change_state):
18860 * gst/base/gstbasetransform.h:
18861 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18862 (gst_collect_pads_event):
18863 * gst/base/gstcollectpads.h:
18864 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18865 (gst_fake_src_create):
18866 * gst/elements/gstfakesrc.h:
18867 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18868 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18869 (gst_segment_set_last_stop), (gst_segment_set_seek),
18870 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18871 (gst_segment_to_running_time), (gst_segment_clip):
18872 * gst/gstsegment.h:
18873 More segment updates, replace code in plugins with segment
18876 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18878 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18879 Don't ignore sscanf results
18881 2005-11-21 Andy Wingo <wingo@pobox.com>
18883 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18886 * *.c: Ran scripts/update-macros. Oh yes.
18888 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18889 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18892 * scripts/update-macros: New script. Run it on your files to
18893 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18896 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18898 * docs/gst/Makefile.am:
18899 * docs/gst/gstreamer-docs.sgml:
18900 * docs/gst/gstreamer-sections.txt:
18901 * docs/gst/gstreamer.types:
18903 more docs fixes, add new api to the docs
18905 2005-11-21 Andy Wingo <wingo@pobox.com>
18907 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18908 state_broadcast call.
18910 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18912 2005-11-21 Julien MOUTTE <julien@moutte.net>
18914 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18915 function calls for arrays.
18917 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18919 * docs/random/ensonic/media-device-daemon.txt:
18920 wild idea, can this be done?
18921 * docs/gst/gstreamer-sections.txt:
18926 * gst/gstpluginfeature.c:
18930 doc fixes and additions
18932 2005-11-21 Andy Wingo <wingo@pobox.com>
18934 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18935 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18936 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18937 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18938 private to the basesrc implementation.
18940 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18941 behalf of event function if necessary. It should no longer be
18942 necessary to take the stream lock in pad's event functions. Fixes
18945 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18946 * docs/gst/gstreamer-sections.txt:
18947 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18948 (gst_structure_fixate_field_nearest_double),
18949 (gst_structure_fixate_field_boolean):
18950 * gst/gststructure.h:
18951 * win32/common/libgstreamer.def:
18952 * win32/gstreamer.def:
18954 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18957 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18959 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18960 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18961 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18962 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18963 (gst_fdsrc_uri_handler_init):
18964 * gst/elements/gstfdsrc.h:
18965 Port fd:// URI handler from 0.8 to fdsrc
18967 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18969 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18970 (gst_value_serialize_fourcc):
18972 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18973 consistent with our other format defines (#320324).
18975 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18977 * gst/gstvalue.c: (gst_value_is_fixed):
18978 Revert previous commit. Value lists are by definition
18979 not fixed, as they are a list of possible values.
18981 2005-11-21 Andy Wingo <wingo@pobox.com>
18983 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18984 during the stable series if we need it. Fixes #319178.
18986 * gst/gstevent.c (gst_event_new_filler): Removed.
18988 * check/gst/gstevent.c: Update comment about filler events.
18990 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18992 * gst/gstvalue.c: (gst_value_is_fixed):
18993 Should handle both value arrays and value lists.
18995 2005-11-21 Andy Wingo <wingo@pobox.com>
18997 patch by: Alessandro Dessina <alessandro nnva org>
18999 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19000 functions to access arrays. Fixes #321962.
19002 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19004 * docs/gst/gstreamer.types:
19005 gst_collectpads_get_type => gst_collect_pads_get_type.
19007 * gst/base/gstbasetransform.c:
19008 Remove unused SIGNAL_HANDOFF enum.
19010 2005-11-21 Andy Wingo <wingo@pobox.com>
19012 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19013 the event type (upstream, downstream, serialized). Renamed
19014 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19015 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19016 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19018 * gst/gstevent.c: Update for new CUSTOM event names.
19020 * check/gst/gstevent.c: Update check for new CUSTOM event names.
19023 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19026 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19028 * docs/gst/gstreamer-sections.txt:
19029 * win32/common/libgstbase.def:
19030 * win32/libgstbase.def:
19031 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19032 (gst_collect_pads_class_init), (gst_collect_pads_init),
19033 (gst_collect_pads_finalize), (gst_collect_pads_new),
19034 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19035 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19036 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19037 (gst_collect_pads_start), (gst_collect_pads_stop),
19038 (gst_collect_pads_peek), (gst_collect_pads_pop),
19039 (gst_collect_pads_available), (gst_collect_pads_read),
19040 (gst_collect_pads_flush), (gst_collect_pads_event),
19041 (gst_collect_pads_chain):
19042 * gst/base/gstcollectpads.h:
19043 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19044 unimplemented functions as unimplemented. Add padding to
19045 GstCollectData. (#320766, #320423)
19047 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19049 * gst/gstmessage.c:
19050 Improve docs for DURATION message (usage of duration parameter)
19053 2005-11-20 Wim Taymans <wim@fluendo.com>
19055 * check/Makefile.am:
19056 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19060 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19061 (gst_segment_set_seek), (gst_segment_set_newsegment),
19062 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19063 (gst_segment_clip):
19064 * gst/gstsegment.h:
19065 Added segment helper structure and methods. Not fully implemented
19067 Added segment check.
19069 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
19071 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19072 Add a deserialisation test for fractions
19073 * examples/metadata/read-metadata.c: (message_loop),
19074 (make_pipeline), (main):
19075 Fix up metadata reading sample.
19076 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19078 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19079 Don't try and fixate empty caps
19080 * gst/gst_private.h:
19081 Wrap in G_BEGIN_DECLS/G_END_DECLS
19082 * gst/gstvalue.c: (gst_value_collect_fraction),
19083 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19084 (gst_value_transform_string_fraction),
19085 (gst_value_compare_fraction):
19086 Add some extra guards to ensure that we don't end up
19087 with an invalid denominator of 0 in a gstfraction and
19088 that fractions always get reduced.
19090 2005-11-20 Wim Taymans <wim@fluendo.com>
19092 * docs/gst/gstreamer-sections.txt:
19094 * gst/gstelement.c:
19103 2005-11-20 Wim Taymans <wim@fluendo.com>
19105 * docs/design/part-TODO.txt:
19107 Make a proper enum of the flag.
19109 2005-11-19 Wim Taymans <wim@fluendo.com>
19111 * docs/design/part-TODO.txt:
19112 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19113 (gst_format_to_quark), (gst_format_register):
19115 * gst/gstquery.c: (_gst_query_initialize),
19116 (gst_query_type_get_name), (gst_query_type_to_quark),
19117 (gst_query_type_register):
19119 Add type to quark and type to string conversions.
19121 2005-11-19 Andy Wingo <wingo@pobox.com>
19123 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19126 2005-11-19 Wim Taymans <wim@fluendo.com>
19128 * docs/design/part-TODO.txt:
19129 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19130 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19131 (gst_bin_handle_message_func):
19133 Make message handling overridable.
19135 2005-11-19 Andy Wingo <wingo@pobox.com>
19137 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19140 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19142 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19143 is a GstClockTime. Fixes #321710.
19145 * gst/gstclock.h (GstClock): Remove offset property. Add
19146 internal_calibration and external_calibration. Fix padding. Pad
19147 also by GstClockTime so we don't run into problems.
19149 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19150 (gst_clock_get_rate_offset): Remove.
19151 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19154 * gst/gstutils.c (g_static_rec_cond_wait)
19155 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19157 * gst/gstbin.c: Remove terrible continue_state prototype.
19159 * gst/gstelement.h (gst_element_continue_state): Make public.
19161 * gst/gstelement.h:
19162 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19163 by continue_state. Fixes #319389.
19165 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19166 Really fixes #168438. However I don't see anywhere where the
19167 filter function is called... stupid GStreamer...
19169 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19170 don't have a dispose function, so it won't get called when the
19171 object is unreffed, but oh well!
19173 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19174 allows a destroy function to be set so user_data can be freed.
19176 (gst_index_set_filter): Call gst_index_set_filter_full.
19178 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19180 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19181 string should produce an error, given the lack of a way to
19182 represent NULL strings. Fixes #165650.
19185 * gst/gstvalue.c (gst_value_array_append_value)
19186 (gst_value_array_prepend_value, gst_value_array_get_size)
19187 (gst_value_array_get_value): New API, copied from
19188 gst_value_list_*, only operates on arrays.
19189 (gst_value_list_append_value, gst_value_list_prepend_value)
19190 (gst_value_list_concat, gst_value_list_get_size)
19191 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19193 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19194 init_list, because it works on both.
19195 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19196 (gst_value_copy_list_or_array): Renamed from copy_list.
19197 (gst_value_free_list_or_array): Renamed from free_list.
19198 (gst_value_collect_list_or_array): Renamed from collect_list.
19199 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19200 (gst_value_list_or_array_peek_pointer): Renamed from
19202 (_gst_value_array_value_table, _gst_value_list_value_table):
19203 Update value table functions.
19204 (gst_value_compare_list_or_array): Renamed from compare_list.
19206 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19209 * gst/gsttaglist.c:
19210 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19211 GstTagList*. Fixes #143472.
19213 * gst/gststructure.h: Clarify what the foreach/map functions can
19214 or can't do to their arguments.
19216 2005-11-18 Wim Taymans <wim@fluendo.com>
19218 * gst/gstclock.c: (gst_clock_set_calibration),
19219 (gst_clock_get_calibration):
19221 Calibration can be set with internal time equal to current
19224 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19230 2005-11-18 Andy Wingo <wingo@pobox.com>
19233 * pkgconfig/gstreamer-net.pc.in:
19234 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19235 * pkgconfig/Makefile.am: Add net pkgconfig files.
19237 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19240 * gst/gstghostpad.c:
19246 2005-11-18 Andy Wingo <wingo@pobox.com>
19248 * gst/net/gstnetclientclock.c: Turn off debugging.
19250 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19251 times connverge somewhat. Can't make a real test.
19253 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19254 integer arithmetic. Return the minimum of the domain, which can be
19255 set as "internal" for gst_clock_set_calibration.
19256 (gst_net_client_clock_observe_times): Call _set_calibration.
19257 (gst_net_client_clock_new): Call _set_calibration instead of
19260 * check/net/gstnetclientclock.c (test_functioning): Use the right
19264 * gst/gstclock.c (gst_clock_get_calibration)
19265 (gst_clock_set_calibration): New functions, obsolete the ones I
19266 added yesterday. Doh. Precision issues mean we have to extrapolate
19267 from a point in the more recent past than 1970.
19268 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19270 (gst_clock_adjust_unlocked): Use the right calibration data.
19272 2005-11-18 Edward Hervey <edward@fluendo.com>
19274 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19275 Also reset the ->current_* values in READY->PAUSED
19277 2005-11-18 Andy Wingo <wingo@pobox.com>
19279 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19280 Whoops, check the right fd. Also add some debugging.
19281 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19282 (do_linear_regression): Add a crapload of debugging. Subtract off
19283 the minimum values from the input series to discard unneeded bits.
19284 Use only int arithmetic. There is still double arithmetic when
19285 calculating the intercept that needs fixing. Return boolean to
19286 indicate success; FALSE would mean the domain or range is too
19287 great. Still needs fixes.
19289 2005-11-18 Wim Taymans <wim@fluendo.com>
19291 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19292 For the current position in stream time, we need to subtract
19295 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19296 Release lock before calling the callback function of async
19299 2005-11-18 Andy Wingo <wingo@pobox.com>
19301 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19302 Port goes all the way to MAXUINT16.
19304 * gst/net/gstnettimeprovider.c: Make the port range the same as
19305 for the kernel: 0 assigns, otherwise ports are less than
19308 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19311 * check/net/gstnetclientclock.c (test_functioning): Add the start
19314 2005-11-18 Wim Taymans <wim@fluendo.com>
19316 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19317 (gst_bin_remove_func), (bin_bus_handler):
19319 Removing a clock provider from a bin, triggers a clock lost message
19320 so that a new clock will be selected.
19321 Adding a clock to a bin triggers a clock provider message.
19322 Make sure we reselect a clock when we received a clock lost message.
19323 Keep a reference to the element that provided the clock.
19325 2005-11-18 Andy Wingo <wingo@pobox.com>
19327 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19328 the clock initially so it produces values around the base time.
19329 (gst_net_client_clock_class_init): Typo fix.
19330 (gst_net_client_clock_thread): Add note on when the socket gets
19333 2005-11-17 Wim Taymans <wim@fluendo.com>
19335 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19336 Free remote and local time arrays.
19338 2005-11-17 Wim Taymans <wim@fluendo.com>
19340 * gst/net/gstnetclientclock.c: (do_linear_regression),
19341 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19342 Fix compilation, uninitialized vars and a forgotten continue.
19344 2005-11-17 Andy Wingo <wingo@pobox.com>
19346 * check/Makefile.am (check_PROGRAMS):
19347 * check/net/gstnetclientclock.c: Add a most minimal test for the
19348 net client clock. More to come later.
19350 * gst/net/gstnet.h:
19351 * gst/net/Makefile.am: Add netclientclock.
19353 * gst/net/gstnetclientclock.h:
19354 * gst/net/gstnetclientclock.c: New files, implement an untested
19355 GstClock that takes its time from a network time provider.
19356 Implements the algorithm in network-clock.scm.
19358 * tests/network-clock.scm (*window-size*): Rename from
19360 * tests/network-clock.scm (network-time):
19361 * tests/network-clock-utils.scm (q-push): Update callers.
19363 2005-11-17 Wim Taymans <wim@fluendo.com>
19365 * gst/gstbin.c: (gst_bin_provide_clock_func),
19366 (gst_bin_sort_iterator_new):
19367 And unref the child too..
19369 2005-11-17 Wim Taymans <wim@fluendo.com>
19371 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19372 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19373 Refactor the sort iterator so it can be used while holding the
19375 Make clock selection select a clock closest to the source.
19377 2005-11-17 Michael Smith <msmith@fluendo.com>
19379 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19380 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19382 Anonymous structs are a gcc (and some other compilers) extension, so
19383 don't use them. Since this is only for ABI-compatibility, and our
19384 API/ABI freeze is over in a few days, this whole thing will only
19385 last a few days, so don't bother trying to think up a meaningful
19386 name for the struct.
19388 2005-11-17 Andy Wingo <wingo@pobox.com>
19390 * gst/gstclock.h (GstClock): Add rate and offset properties,
19391 preserving ABI stability. Add rate/offset accessors. Will file bug
19392 for the freeze break.
19394 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19395 and offset, trying to keep precision and avoiding
19396 underflow/overflow.
19397 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19398 functions. Make gst_clock_set_time_adjust obsolete.
19399 (gst_clock_set_time_adjust): Note that this function is obsolete.
19400 Will file bug soon.
19402 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19403 greppable by using GST_PADDING-1+1.
19405 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19407 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19409 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19410 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19412 * gst/gstpadtemplate.h:
19413 * gst/gstpluginfeature.h:
19414 Don't use c++ style comments in headers (#321638).
19416 2005-11-16 Andy Wingo <wingo@pobox.com>
19418 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19421 * check/net/gstnettimeprovider.c: Check to see that the time
19422 provider actually provides times. Works, yo!
19424 2005-11-16 Wim Taymans <wim@fluendo.com>
19426 * check/Makefile.am:
19429 * check/elements/fakesrc.c: (GST_START_TEST):
19430 Set element to NULL before disposing it.
19432 2005-11-16 Andy Wingo <wingo@pobox.com>
19434 * gst/net/Makefile.am:
19435 * gst/net/gstnet.h:
19436 * gst/net/gstnettimeprovider.c:
19437 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19438 provider, include it from gstnet.h, and add it to the build.
19440 * gst/net/gstnettimepacket.h:
19441 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19442 sending and receiving.
19444 2005-11-16 Wim Taymans <wim@fluendo.com>
19446 * check/Makefile.am:
19447 Enable valgrind check.
19449 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19450 (gst_fake_src_alloc_buffer):
19453 2005-11-16 Wim Taymans <wim@fluendo.com>
19455 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19456 Call parent finalize too.
19458 2005-11-16 Wim Taymans <wim@fluendo.com>
19460 * check/Makefile.am:
19461 Enable valgrind check that should work fine now.
19463 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19464 * gst/gstqueue.c: (gst_queue_init):
19465 Fix memleaks in pad allocation.
19467 2005-11-16 Andy Wingo <wingo@pobox.com>
19469 * gst/net/Makefile.am:
19470 * gst/net/gstnet.h: New part of core to hold network elements and
19471 objects. Put in core because it exposes API that applications want
19472 to use. The library is named libgstnet-tempname right now because
19473 of the existing libgstnet in gst-plugins-base. Solution is
19474 probably to rename the one in plugins-base; will file a bug for
19477 * gst/net/gstnettimeprovider.c:
19478 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19479 get_time call over the network.
19482 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19484 * check/Makefile.am:
19485 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19486 get additions shortly.
19488 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19490 * gst/gstpad.c: (gst_pad_new_from_static_template):
19492 add gst_pad_new_from_static_template functions
19493 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19494 (gst_check_setup_sink_pad):
19495 * gst/elements/gsttee.c: (gst_tee_init):
19498 2005-11-16 Wim Taymans <wim@fluendo.com>
19500 * gst/gstpad.c: (gst_pad_pause_task):
19501 Removed warning, it's not really an error either.
19503 2005-11-16 Wim Taymans <wim@fluendo.com>
19505 * gst/base/gstbasetransform.c:
19506 (gst_base_transform_prepare_output_buf),
19507 (gst_base_transform_event):
19508 Check if the caps are NULL, this can happen if the element
19509 is shutting down and the pad caps are set to NULL.
19511 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19513 * gst/elements/gsttee.c: (gst_tee_init):
19514 fix pad template leak in tee
19516 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19518 * gst/glib-compat.c: (g_value_dup_gst_object):
19519 * gst/glib-compat.h:
19520 * gst/gstpad.c: (gst_pad_set_property):
19521 use gst_object_ref when setting the pad template; this will
19522 trigger the pad template leaks on GLib 2.6 and the slaves
19524 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19526 * gst/glib-compat.c: (gst_flags_get_first_value):
19527 * gst/glib-compat.h:
19528 * gst/gstregistryxml.c:
19529 remove functions copied from GLib 2.6
19531 2005-11-16 Michael Smith <msmith@fluendo.com>
19534 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19535 do, but only breaks with newer valgrind versions. We're not a
19536 valgrind tool, we have no link-time dependencies on libcoregrind.
19538 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19540 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19542 * gst/gstmessage.h:
19545 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19547 * gst/base/gstbasesrc.c: (gst_base_src_init):
19548 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19549 * gst/gstqueue.c: (gst_queue_init):
19550 * gst/gstregistryxml.c: (load_feature):
19551 Revert all these unrefs, they don't even pass make check !
19553 2005-11-15 Johan Dahlin <johan@gnome.org>
19555 * gst/base/gstbasesrc.c: (gst_base_src_init):
19556 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19557 * gst/gstqueue.c: (gst_queue_init):
19558 Free pad templates, fixes a couple of leaks.
19560 2005-11-15 Daniel Fischer <dan at f3c dot com>
19562 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19564 * gst/gstpad.c: (gst_pad_get_property):
19565 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19566 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19569 2005-11-15 Wim Taymans <wim@fluendo.com>
19574 2005-11-15 Andy Wingo <wingo@pobox.com>
19576 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19578 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19579 using GST_CLOCK_TIME_NONE to disable base time management.
19580 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19581 time if it was NONE before.
19582 (gst_pipeline_change_state): Only munge the base time if
19583 stream_time != GST_CLOCK_TIME_NONE.
19585 * check/gst/gstpipeline.c (test_base_time): Punt around the
19586 problem of the probe not being called, because that's not the
19587 issue I'm looking at. Add a check that setting stream_time to NONE
19588 disables base time management.
19590 2005-11-15 Wim Taymans <wim@fluendo.com>
19592 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19593 segment_stop == -1 at startup.
19595 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19596 (gst_base_transform_change_state):
19597 Init segment values at start.
19599 2005-11-15 Wim Taymans <wim@fluendo.com>
19601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19602 0 segment values are 0 in any format.
19604 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19605 * gst/base/gstbasetransform.h:
19606 Parse newsegment correctly in basetransform
19608 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19609 Sync to clock using updated segment values.
19611 2005-11-15 Andy Wingo <wingo@pobox.com>
19613 * check/gst/gstpipeline.c (test_base_time): Add check that the
19614 base time and stream time are reset correctly.
19616 2005-11-15 Wim Taymans <wim@fluendo.com>
19618 * docs/design/part-TODO.txt:
19619 Some more TODO items.
19621 2005-11-15 Andy Wingo <wingo@pobox.com>
19623 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19624 error if the user selected "no clock" as the clocking method.
19626 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19627 timestamps with live capture.
19629 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19630 is 0 but we are a live source, timestamp the buffers using the
19633 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19635 * docs/gst/gstreamer-sections.txt:
19637 * gst/gstghostpad.c:
19642 2005-11-14 Wim Taymans <wim@fluendo.com>
19645 add suppressions from Wim's Debian machine
19647 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19650 add suppressions from Andy's AMD64 Ubuntu machine
19652 2005-11-14 Andy Wingo <wingo@pobox.com>
19654 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19655 STATE_LOCK not necessary. Fixes #311489.
19657 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19660 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19661 this function is not implemented.
19663 2005-11-14 Julien MOUTTE <julien@moutte.net>
19665 * gst/base/gstbasetransform.c:
19666 (gst_base_transform_prepare_output_buf):
19667 Ref the source pad caps while we need them.
19670 2005-11-11 Wim Taymans <wim@fluendo.com>
19672 * docs/gst/gstreamer-sections.txt:
19673 Added some docs for GstCollectData.
19675 * gst/base/gstadapter.c:
19676 Some small code example fix.
19678 * gst/base/gstcollectpads.c:
19679 * gst/base/gstcollectpads.h:
19680 Document some more.
19682 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19684 * configure.ac: back to HEAD
19686 === release 0.9.5 ===
19688 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19691 releasing 0.9.5, "Bike Lunch Day"
19693 2005-11-11 Wim Taymans <wim@fluendo.com>
19695 * gst/gstbuffer.c: (_gst_buffer_copy):
19698 * gst/gstcaps.c: (gst_caps_is_equal):
19700 Make _is_equal fast in the trivial cases.
19702 * gst/gstminiobject.c:
19703 * gst/gstminiobject.h:
19704 More docs. Spifify .h file.
19709 2005-11-11 Wim Taymans <wim@fluendo.com>
19711 * gst/base/gstbasetransform.c:
19712 (gst_base_transform_prepare_output_buf),
19713 (gst_base_transform_handle_buffer):
19715 If we're processing a buffer and need to allocate an output
19716 buffer, we cannot accept a format change. If we did get a
19717 format change, we have to alloc a buffer ourselves of the
19720 2005-11-11 Wim Taymans <wim@fluendo.com>
19722 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19723 While checking the flag for reentrancy in the gstcaps function
19724 is nice to detect recursive invocations, it also makes it
19725 impossible to call getcaps from multiple threads, which must be
19726 possible. So, checking for recursive calls has to go.
19728 2005-11-11 Michael Smith <msmith@fluendo.com>
19730 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19731 Don't sync on buffers that fall partially outside our current
19732 segment. Prevents an assertion failure/abort playing some files.
19734 2005-11-10 Andy Wingo <wingo@pobox.com>
19736 * check/gst/gstbin.c (test_message_state_changed_children): Style
19739 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19740 gst_bus_poll with the signal watch. Ensures that poll and a signal
19741 watch see the same messages.
19743 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19744 a poll and a watch at the same time get the same messages.
19746 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19748 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19749 * gst/gstcaps.c: (gst_caps_intersect):
19750 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19751 and it's not needed.
19753 2005-11-10 Wim Taymans <wim@fluendo.com>
19755 * docs/design/part-TODO.txt:
19758 2005-11-10 Wim Taymans <wim@fluendo.com>
19760 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19761 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19762 (gst_base_src_do_sync), (gst_base_src_get_range):
19763 Implement clock sync in base class.
19765 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19767 patch by: Tim-Philipp Müller <tim at centricular dot net>
19769 * gst/gststructure.c: (gst_structure_parse_field),
19770 (gst_structure_from_string):
19771 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19772 so that gst_parse_launch() can deal with spaces in filtered link
19773 caps (fixes #164479)
19774 * check/gst/capslist.h:
19775 * check/gst/gststructure.c: (GST_START_TEST):
19776 add unit tests for this change
19778 2005-11-10 Wim Taymans <wim@fluendo.com>
19780 * docs/gst/gstreamer-sections.txt:
19781 * gst/gstelement.c:
19782 * gst/gstelement.h:
19783 Fix docs, move some STATE macros to private.
19785 2005-11-10 Wim Taymans <wim@fluendo.com>
19787 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19788 Added check for bug #317341
19792 Some more spiffifying.
19794 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19795 Call peer linkfunction if we are a source pad. Totally fixes
19799 Update docs, source pads should call the peer linkfunction
19800 so they can atomically perform the pad link.
19802 2005-11-09 Wim Taymans <wim@fluendo.com>
19806 Uber-spiffy-spiffify some more.
19808 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19810 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19811 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19812 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19813 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19814 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19815 * gst/gstpad.c: (gst_pad_init):
19816 Use GST_DEBUG_FUNCPTR() more extensively.
19818 2005-11-09 Wim Taymans <wim@fluendo.com>
19820 * gst/gstobject.c: (gst_object_class_init):
19822 Documentation fixes.
19824 2005-11-09 Edward Hervey <edward@fluendo.com>
19826 * gst/gsttypefindfactory.c:
19829 2005-11-09 Edward Hervey <edward@fluendo.com>
19831 * gst/base/gsttypefindhelper.c:
19832 * gst/gsttypefind.c:
19833 * gst/gsttypefind.h:
19836 2005-11-09 Wim Taymans <wim@fluendo.com>
19838 * gst/gstiterator.c:
19845 2005-11-09 Wim Taymans <wim@fluendo.com>
19851 2005-11-09 Wim Taymans <wim@fluendo.com>
19853 * docs/gst/gstreamer-sections.txt:
19854 Moved the message async delivery private lock and cond
19855 to the private section.
19857 * gst/gstmessage.c:
19858 * gst/gstmessage.h:
19861 2005-11-09 Edward Hervey <edward@fluendo.com>
19863 * docs/gst/gstreamer-sections.txt:
19866 Document GstURIHandler
19868 2005-11-09 Wim Taymans <wim@fluendo.com>
19870 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19871 (gst_iterator_find_custom):
19872 * gst/gstiterator.h:
19875 2005-11-09 Wim Taymans <wim@fluendo.com>
19878 Document another field.
19880 * gst/gststructure.c:
19881 * gst/gststructure.h:
19884 2005-11-09 Wim Taymans <wim@fluendo.com>
19887 Documented structs.
19889 2005-11-09 Wim Taymans <wim@fluendo.com>
19891 * docs/gst/gstreamer-sections.txt:
19892 Added some new macros.
19899 2005-11-09 Wim Taymans <wim@fluendo.com>
19901 * docs/design/part-TODO.txt:
19902 Some more items for the TODO
19908 2005-11-09 Andy Wingo <wingo@pobox.com>
19910 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19911 to work on something else now tho...
19913 * gst/base/gstadapter.c: More adapter docs.
19915 * gst/elements/gstfilesink.c (gst_file_sink_start)
19916 (gst_file_sink_stop): New functions, replace the state change
19918 (gst_file_sink_class_init): Hook up the start and stop functions.
19919 (gst_file_sink_base_init): Don't set the state change handler any
19920 more. It was a bit ugly too, being set from here...
19921 (gst_file_sink_get_property, gst_file_sink_set_property):
19923 (gst_file_sink_set_location): More robust check that doesn't call
19924 GST_STATE. Ugggggg.
19926 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19928 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19929 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19931 2005-11-08 Wim Taymans <wim@fluendo.com>
19933 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19934 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19935 (gst_base_sink_chain), (gst_base_sink_change_state):
19936 * gst/base/gstbasesink.h:
19937 * gst/base/gstbasesrc.h:
19938 * gst/gstelement.h:
19940 Avoid excessive typechecking in macros.
19942 * gst/gstminiobject.c: (gst_mini_object_get_type),
19943 (gst_mini_object_init), (gst_mini_object_new),
19944 (gst_mini_object_free):
19945 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19946 (gst_object_finalize):
19947 Remove cruft code, optimize alloc_trace.
19949 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19951 * docs/faq/gst-uninstalled:
19952 fix up PS1 for systems that try to reset it
19954 2005-11-07 Wim Taymans <wim@fluendo.com>
19956 * gst/base/gstbasesrc.c: (gst_base_src_init),
19957 (gst_base_src_get_range):
19958 Set the segment_end to -1 initially. Fixed typefind.
19960 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19962 * gst/base/gstadapter.c:
19963 Debug category should be 'adapter', not 'GstAdapter'.
19965 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19966 (gst_collectpads_class_init), (gst_collectpads_init),
19967 (gst_collectpads_peek), (gst_collectpads_pop),
19968 (gst_collectpads_event), (gst_collectpads_chain):
19969 Add debug category and some debugging output. Use boilerplate
19970 macros. Remove some extraneous words from docs.
19972 2005-11-05 Andy Wingo <wingo@pobox.com>
19974 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19977 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19979 * docs/gst/gstreamer-sections.txt:
19982 * gst/gstminiobject.h:
19987 2005-11-04 Wim Taymans <wim@fluendo.com>
19989 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19990 Small update to stop at the configured segment_end
19993 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19995 * gst/gstregistry.c:
19996 * gst/gstregistry.h:
19999 2005-11-04 Edward Hervey <edward@fluendo.com>
20001 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20002 Check if we are doing a segment seek and have arrived at the
20003 end of that segment.
20005 2005-11-04 Wim Taymans <wim@fluendo.com>
20007 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20008 Don't leak a mutex unlock in case of an error.
20013 2005-11-04 Wim Taymans <wim@fluendo.com>
20015 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20017 Get the context to wake up only once.
20019 2005-11-03 Wim Taymans <wim@fluendo.com>
20021 * check/states/sinks.c: (GST_START_TEST):
20022 Uncomment fixed check.
20024 * docs/design/part-TODO.txt:
20027 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20028 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20029 (gst_base_sink_get_position):
20030 If we are going to PLAYING, post the right pending state
20031 when we post the intermediate paused message.
20033 * gst/gstelement.c: (gst_element_continue_state),
20034 (gst_element_set_state_func), (gst_element_change_state):
20035 Don't post state changes that were between the same state
20036 and were not ASYNC.
20038 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20040 * docs/gst/gstreamer-sections.txt:
20043 * gst/gstminiobject.h:
20046 more docs and doc style fixes
20048 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20050 * docs/gst/gstreamer-sections.txt:
20051 * gst/gstelement.c:
20052 * gst/gstminiobject.c:
20055 2005-11-03 Andy Wingo <wingo@pobox.com>
20057 * check/states/sinks.c (test_livesrc_sink): Add checks that the
20058 state-changed messages actually have the right order and the right
20061 2005-11-03 Wim Taymans <wim@fluendo.com>
20063 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20064 Added some more checks. Specifically the case where NO_PREROLL
20065 elements are in the pipeline.
20067 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20068 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20069 (gst_base_sink_get_position):
20070 Post READY->PAUSED state change messages too.
20071 Fix bug where VOID was posted as pending state...
20073 * gst/gstbin.c: (gst_bin_recalc_state):
20074 use _element_continue_state() to continue the state change.
20076 * gst/gstelement.c: (gst_element_continue_state),
20077 (gst_element_commit_state), (gst_element_set_state_func),
20078 (gst_element_change_state), (gst_element_change_state_func):
20079 Lots of state change cleanups, assign the STATE_RETURN in
20080 a new continue_state() function that also propagates the
20081 last return value from a state change to the app.
20082 Update some debug statements with proper category.
20084 2005-11-03 Wim Taymans <wim@fluendo.com>
20086 * docs/design/part-events.txt:
20087 * docs/design/part-gstpipeline.txt:
20088 * docs/design/part-messages.txt:
20089 * docs/design/part-overview.txt:
20090 * docs/design/part-seeking.txt:
20091 * docs/design/part-states.txt:
20092 * docs/design/part-trickmodes.txt:
20093 * docs/manual/advanced-position.xml:
20094 Small docs updates.
20097 People think !! is ugly, this looks better.
20099 * gst/gstpad.c: (gst_pad_set_blocked_async):
20100 Remove !! since it's fixed elsewhere now.
20102 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20104 * gst/gstminiobject.h:
20106 Add !! to _FLAG_IS_SET macros to make the result boolean.
20108 2005-11-03 Edward Hervey <edward@fluendo.com>
20110 * gst/gstpad.c: (gst_pad_set_blocked_async):
20111 comparing a flag and a gboolean rarely returns coherent results...
20112 Added two characters (!!) to make that work correctly.
20114 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20116 * gst/gstbus.c: (gst_bus_class_init):
20119 * gst/gstqueue.c: (gst_queue_loop):
20120 Don't assume a miniobject that isn't a buffer is an
20121 event (it could be that there is a refcounting
20122 problem somewhere and the pointer is stale and
20123 refers to an already destroyed miniobject).
20125 2005-11-03 Julien MOUTTE <julien@moutte.net>
20127 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20129 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20131 * docs/manual/advanced-position.xml:
20132 Update seek example and explanations to current 0.9 API.
20134 * gst/elements/gsttypefindelement.c:
20135 (gst_type_find_element_activate):
20136 Remove FIXME comment now that the found caps
20139 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20141 * gst/gstregistryxml.c: (load_feature):
20142 Add another GST_STR_NULL instance
20144 2005-11-02 Edward Hervey <edward@fluendo.com>
20146 * gst/gstpad.c: (handle_pad_block):
20147 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20149 2005-11-02 Wim Taymans <wim@fluendo.com>
20154 * gst/gstelement.c: (gst_element_commit_state):
20155 Remove unused value.
20157 * gst/gstiterator.c:
20158 Mention that the returned element is reffed in the docs.
20160 2005-11-02 Wim Taymans <wim@fluendo.com>
20162 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20163 (gst_pad_push), (gst_pad_push_event):
20164 Unlock blocked pads when they are flushed.
20166 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20169 * docs/gst/gstreamer-sections.txt:
20172 * gst/gstregistry.c: (gst_registry_scan_path_level):
20173 fix for a nasty little missed situation where an installed plug-in
20174 which was in the cache did not get overridden by an uninstalled one
20175 which was earlier in the plugin path because the newly created plugin
20176 for the uninstalled one (not in the registry) didn't get its
20177 ->registered set to TRUE
20179 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20181 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20182 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20183 (gst_collectpads_is_active), (gst_collectpads_collect),
20184 (gst_collectpads_collect_range), (gst_collectpads_start),
20185 (gst_collectpads_stop), (gst_collectpads_peek),
20186 (gst_collectpads_pop), (gst_collectpads_available),
20187 (gst_collectpads_read), (gst_collectpads_flush):
20188 Guard public API with assertions.
20191 Fix docs for gst_pad_set_link_function().
20193 2005-11-02 Johan Dahlin <johan@gnome.org>
20195 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20196 Unref found_caps after we used it.
20198 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20200 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20201 Don't try to ref NULL.
20203 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20205 * win32/common/config.h.in:
20206 provide a GST_FUNCTION that just gives a string for now
20208 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20210 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20211 (gst_object_flags_get_type), (register_gst_bin_flags),
20212 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20213 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20214 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20215 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20216 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20217 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20218 (gst_clock_flags_get_type), (register_gst_state),
20219 (gst_state_get_type), (register_gst_state_change_return),
20220 (gst_state_change_return_get_type), (register_gst_state_change),
20221 (gst_state_change_get_type), (register_gst_element_flags),
20222 (gst_element_flags_get_type), (register_gst_core_error),
20223 (gst_core_error_get_type), (register_gst_library_error),
20224 (gst_library_error_get_type), (register_gst_resource_error),
20225 (gst_resource_error_get_type), (register_gst_stream_error),
20226 (gst_stream_error_get_type), (register_gst_event_type),
20227 (gst_event_type_get_type), (register_gst_seek_type),
20228 (gst_seek_type_get_type), (register_gst_seek_flags),
20229 (gst_seek_flags_get_type), (register_gst_format),
20230 (gst_format_get_type), (register_gst_index_certainty),
20231 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20232 (gst_index_entry_type_get_type),
20233 (register_gst_index_lookup_method),
20234 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20235 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20236 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20237 (gst_index_flags_get_type), (register_gst_debug_level),
20238 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20239 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20240 (gst_iterator_result_get_type), (register_gst_iterator_item),
20241 (gst_iterator_item_get_type), (register_gst_message_type),
20242 (gst_message_type_get_type), (register_gst_mini_object_flags),
20243 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20244 (gst_pad_link_return_get_type), (register_gst_flow_return),
20245 (gst_flow_return_get_type), (register_gst_activate_mode),
20246 (gst_activate_mode_get_type), (register_gst_pad_direction),
20247 (gst_pad_direction_get_type), (register_gst_pad_flags),
20248 (gst_pad_flags_get_type), (register_gst_pad_presence),
20249 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20250 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20251 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20252 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20253 (gst_plugin_flags_get_type), (register_gst_rank),
20254 (gst_rank_get_type), (register_gst_query_type),
20255 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20256 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20257 (gst_tag_flag_get_type), (register_gst_task_state),
20258 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20259 (gst_alloc_trace_flags_get_type),
20260 (register_gst_type_find_probability),
20261 (gst_type_find_probability_get_type), (register_gst_uri_type),
20262 (gst_uri_type_get_type), (register_gst_parse_error),
20263 (gst_parse_error_get_type):
20264 * win32/common/gstversion.h:
20265 update win32 copies
20267 2005-11-01 Luca Ognibene <luogni@tin.it>
20270 fix docs. popt is dead, long live GOption.
20272 2005-10-31 Wim Taymans <wim@fluendo.com>
20277 2005-10-31 Andy Wingo <wingo@pobox.com>
20281 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20283 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20284 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20285 the possibility of deadlocks here if code calling notify() or
20286 set() has a lock that can be taken in another notify handler (ABBA
20287 with class lock and e.g. python GIL state lock).
20289 2005-10-28 Julien MOUTTE <julien@moutte.net>
20291 * gst/gstbus.c: Doc updates.
20293 2005-10-28 Wim Taymans <wim@fluendo.com>
20295 * docs/design/part-TODO.txt:
20296 * gst/gstiterator.c:
20297 * gst/gstsystemclock.c:
20298 * gst/gstsystemclock.h:
20301 2005-10-28 Edward Hervey <edward@fluendo.com>
20303 * docs/gst/gstreamer-docs.sgml:
20304 * docs/gst/gstreamer-sections.txt:
20305 the GstURIType documentation page is private, it only defines GstURIType
20306 which should be defined in the GstURIHandler page
20308 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20310 * gst/gstbin.c: (gst_bin_class_init):
20313 Documentation updates.
20315 2005-10-28 Wim Taymans <wim@fluendo.com>
20317 * docs/gst/gstreamer-sections.txt:
20320 Documented the clocks.
20322 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20324 * docs/gst/gstreamer-sections.txt:
20325 move some macros to private sections
20326 * gst/gstminiobject.c:
20327 * gst/gstminiobject.h:
20328 add descriptions provided by ds and some more
20330 mark macro as to be removed
20332 2005-10-28 Wim Taymans <wim@fluendo.com>
20334 * docs/design/part-TODO.txt:
20335 Add an item to TODO.
20337 * gst/gstiterator.c: (gst_iterator_fold),
20338 (gst_iterator_find_custom):
20339 * gst/gstiterator.h:
20342 2005-10-28 Wim Taymans <wim@fluendo.com>
20344 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20345 (gst_base_transform_init):
20348 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20349 An EOS event marks the queue as completely filled.
20351 2005-10-27 Wim Taymans <wim@fluendo.com>
20353 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20354 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20355 Some more debugging.
20357 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20358 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20359 (gst_base_transform_event), (gst_base_transform_getrange),
20360 (gst_base_transform_chain):
20361 * gst/base/gstbasetransform.h:
20363 Protect transform and concurrent buffer alloc with a new lock.
20364 Try not to break ABI/API.
20366 2005-10-27 Wim Taymans <wim@fluendo.com>
20368 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20369 (gst_base_src_init), (gst_base_src_query),
20370 (gst_base_src_default_newsegment),
20371 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20372 (gst_base_src_send_event), (gst_base_src_event_handler),
20373 (gst_base_src_pad_get_range), (gst_base_src_loop),
20374 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20375 (gst_base_src_start), (gst_base_src_deactivate),
20376 (gst_base_src_activate_push), (gst_base_src_change_state):
20377 Move some stuff around and cleanup things.
20379 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20381 * gst/base/gstbasesrc.c: (gst_base_src_query):
20382 Add missing break statements.
20384 2005-10-27 Wim Taymans <wim@fluendo.com>
20386 * check/gst/gstbin.c: (GST_START_TEST):
20387 An extra refcount is taken in basesrc.
20389 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20390 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20391 (gst_base_src_loop):
20392 Small cleanups, check for flushing after being unlocked from the
20393 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20394 Don't send out EOS when going to READY.
20396 2005-10-27 Wim Taymans <wim@fluendo.com>
20398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20399 (gst_base_sink_get_position):
20402 * gst/gstbin.c: (message_check), (bin_replace_message),
20403 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20404 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20405 (bin_query_duration_init), (bin_query_duration_fold),
20406 (bin_query_duration_done), (bin_query_generic_fold),
20408 * tools/gst-launch.c: (main):
20411 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20413 * examples/controller/audio-example.c: (main):
20414 * examples/queue/queue.c: (event_loop):
20415 * gst/base/gstbasetransform.h:
20416 * gst/gstelement.c: (gst_element_send_event):
20418 * gst/gstpad.c: (gst_pad_send_event):
20421 changing log priority in error situations
20423 2005-10-25 Wim Taymans <wim@fluendo.com>
20425 * gst/gstbin.c: (message_check), (bin_replace_message),
20426 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20427 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20428 (bin_query_duration_init), (bin_query_duration_fold),
20429 (bin_query_duration_done), (bin_query_generic_fold),
20431 Some doc and debug updates.
20432 Cache previously requested query DURATION for speed. invalidate
20433 cached duration if element posts a DURATION message.
20435 2005-10-25 Wim Taymans <wim@fluendo.com>
20437 * docs/design/part-TODO.txt:
20440 * gst/gstbin.c: (message_check), (bin_replace_message),
20441 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20442 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20443 (bin_query_duration_init), (bin_query_duration_fold),
20444 (bin_query_duration_done), (bin_query_generic_fold),
20446 Handle SEGMENT_START/DONE messages correctly.
20447 More evolved query algorithm that handles duration queries
20450 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20451 (gst_element_get_state_func), (gst_element_abort_state),
20452 (gst_element_commit_state), (gst_element_lost_state):
20453 Some more debugging.
20455 * gst/gstmessage.h:
20458 2005-10-25 Wim Taymans <wim@fluendo.com>
20460 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20461 Don't use invalid stream_time.
20463 * gst/gstevent.c: (gst_event_new_newsegment):
20464 stream_time in newsegment cannot be undefined.
20466 2005-10-24 Wim Taymans <wim@fluendo.com>
20471 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20473 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20475 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20477 * docs/libs/tmpl/gstdparam.sgml:
20478 * docs/libs/tmpl/gstdplinint.sgml:
20479 * docs/libs/tmpl/gstdpman.sgml:
20480 * docs/libs/tmpl/gstdpsmooth.sgml:
20481 * docs/libs/tmpl/gstunitconvert.sgml:
20484 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20489 === release 0.9.4 ===
20491 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20494 releasing 0.9.4, "Tyrannosaurus Rex"
20496 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20498 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20499 (gst_file_sink_get_current_offset):
20500 Use fseeko() and ftello() if available. When falling back on
20501 lseek() to get the current offset, fflush() first to make sure
20502 everything is up-to-date and we get the right offset.
20504 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20506 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20507 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20508 * gst/gsterror.c: (_gst_stream_errors_init):
20510 * gst/gstqueue.c: (gst_queue_loop):
20512 remove prematurely added error category and clean up the instances
20514 2005-10-21 Wim Taymans <wim@fluendo.com>
20516 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20517 (gst_base_sink_get_position), (gst_base_sink_query),
20518 (gst_base_sink_change_state):
20519 Simply set the right flag when going to playing, that's all
20520 we need to do instead of calling a function inside the object
20521 lock (that could take the lock as well and deadlock)
20523 2005-10-21 Wim Taymans <wim@fluendo.com>
20525 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20526 (gst_base_src_loop):
20527 Don't warn, the peer element knows what to do best when
20528 the seek failed, it might try something else.
20530 2005-10-21 Wim Taymans <wim@fluendo.com>
20532 * gst/base/gstbasesrc.c: (gst_base_src_init),
20533 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20536 2005-10-21 Wim Taymans <wim@fluendo.com>
20538 * docs/design/part-segments.txt:
20541 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20542 Correctly set caps, even on the subbufer.
20544 2005-10-21 Wim Taymans <wim@fluendo.com>
20546 * docs/gst/gstreamer-docs.sgml:
20547 * docs/gst/gstreamer-sections.txt:
20548 * gst/gstelement.h:
20551 * gst/gstmessage.h:
20554 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20558 And 2% more doc coverage.
20560 2005-10-21 Andy Wingo <wingo@pobox.com>
20562 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20563 position reporting.
20565 2005-10-20 Wim Taymans <wim@fluendo.com>
20567 * gst/gsterror.c: (gst_error_get_message):
20570 * gst/gststructure.c:
20575 2005-10-20 Wim Taymans <wim@fluendo.com>
20580 Another 1% more coverage.
20582 2005-10-20 Wim Taymans <wim@fluendo.com>
20584 * docs/gst/gstreamer-sections.txt:
20585 * gst/gstelement.c: (gst_element_get_state_func),
20586 (gst_element_abort_state), (gst_element_commit_state),
20587 (gst_element_lost_state):
20589 * gst/gstquery.c: (gst_query_set_position),
20590 (gst_query_parse_position), (gst_query_set_duration),
20591 (gst_query_parse_duration), (gst_query_new_convert):
20593 Yay! 1% more docs coverage.
20595 2005-10-20 Wim Taymans <wim@fluendo.com>
20598 * gst/gstquery.c: (gst_query_set_position),
20599 (gst_query_parse_position), (gst_query_set_duration),
20600 (gst_query_parse_duration), (gst_query_new_convert):
20602 * gst/gstutils.c: (gst_element_query_convert):
20604 Docs and consistency fixes.
20606 2005-10-20 Wim Taymans <wim@fluendo.com>
20612 2005-10-20 Wim Taymans <wim@fluendo.com>
20614 * gst/gstbin.c: (message_check), (bin_replace_message),
20615 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20616 (update_degree), (gst_bin_sort_iterator_next),
20617 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20618 Reworked the message handling a bit, cache the messages instead of
20619 only the senders. alows us to do more in the future.
20621 2005-10-20 Wim Taymans <wim@fluendo.com>
20623 * docs/design/part-TODO.txt:
20626 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20627 (gst_base_sink_query):
20628 Don't use clock time to report position when in EOS.
20630 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20632 * tools/gst-inspect.c: (print_interfaces),
20633 (print_element_properties_info), (print_element_info):
20634 Fix interface output with gst-inspect -a; don't print
20635 newlines after double/float properties.
20637 2005-10-20 Wim Taymans <wim@fluendo.com>
20639 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20640 (gst_base_sink_query):
20641 Speed up current position calculation.
20643 * gst/base/gstbasesrc.c: (gst_base_src_query),
20644 (gst_base_src_default_newsegment):
20645 Correctly set stream position in newsegment.
20647 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20648 (update_degree), (gst_bin_sort_iterator_next),
20649 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20650 * gst/gstmessage.c: (gst_message_new_custom):
20651 Clean up debugging info
20653 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20654 (gst_queue_loop), (gst_queue_handle_src_query):
20657 2005-10-19 Wim Taymans <wim@fluendo.com>
20659 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20660 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20661 Fix query handling again.
20663 2005-10-19 Wim Taymans <wim@fluendo.com>
20665 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20666 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20667 * gst/base/gstbasesrc.c: (gst_base_src_query):
20668 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20669 * gst/elements/gsttypefindelement.c:
20670 (gst_type_find_handle_src_query), (find_element_get_length),
20671 (gst_type_find_element_activate):
20674 * gst/gstquery.c: (gst_query_new_position),
20675 (gst_query_set_position), (gst_query_parse_position),
20676 (gst_query_new_duration), (gst_query_set_duration),
20677 (gst_query_parse_duration), (gst_query_set_segment),
20678 (gst_query_parse_segment):
20680 Bundling query position/duration is not a good idea since duration
20681 does not change much and we don't want to recalculate it for every
20682 position query, so they are separated again..
20683 Base value in segment query is not needed.
20685 * gst/gstqueue.c: (gst_queue_handle_src_query):
20686 * gst/gstutils.c: (gst_element_query_position),
20687 (gst_element_query_duration), (gst_pad_query_position),
20688 (gst_pad_query_duration):
20690 Updates for query API change.
20691 Added some docs here and there.
20693 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20695 * check/gst/gstbin.c: (GST_START_TEST):
20696 * check/gst/gstghostpad.c: (GST_START_TEST):
20697 * check/pipelines/cleanup.c: (GST_START_TEST):
20698 wait on thread to die so we can check refcount correctly
20700 2005-10-18 Wim Taymans <wim@fluendo.com>
20702 * check/pipelines/stress.c: (GST_START_TEST):
20703 Make check a little more time consuming.
20705 2005-10-18 Wim Taymans <wim@fluendo.com>
20707 * check/Makefile.am:
20708 * check/pipelines/stress.c: (GST_START_TEST),
20709 (simple_launch_lines_suite), (main):
20710 Small state change torture test.
20712 * docs/design/part-states.txt:
20713 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20714 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20715 (gst_base_sink_change_state):
20716 Never take state lock from streaming thread, clean up ugly
20717 hacks. Unfortunatly core does not yet support nice ways to
20718 async commit state.
20720 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20722 Start state recalc if a STATE_DIRTY message is posted, but only
20723 on the toplevel bin.
20725 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20726 (gst_element_get_state_func), (gst_element_abort_state),
20727 (gst_element_commit_state), (gst_element_lost_state),
20728 (gst_element_set_state_func), (gst_element_change_state):
20729 * gst/gstelement.h:
20730 State variables are now protected with the LOCK, the state
20731 lock is only used to serialize _set_state().
20733 2005-10-18 Wim Taymans <wim@fluendo.com>
20735 * check/gst/gstbin.c: (GST_START_TEST):
20736 * check/gst/gstmessage.c: (GST_START_TEST):
20737 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20738 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20740 * gst/gstelement.c: (gst_element_abort_state),
20741 (gst_element_commit_state), (gst_element_lost_state):
20742 * gst/gstmessage.c: (gst_message_new_state_changed),
20743 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20744 (gst_message_new_segment_done), (gst_message_new_duration),
20745 (gst_message_parse_state_changed),
20746 (gst_message_parse_segment_start),
20747 (gst_message_parse_segment_done), (gst_message_parse_duration):
20748 * gst/gstmessage.h:
20749 * tools/gst-launch.c: (event_loop):
20750 Seriously, this is better than a previous commit as we only need
20751 to notify the fact that an element changed state in a streaming
20752 thread, marking the state of the parents dirty, hence the
20753 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20756 2005-10-18 Wim Taymans <wim@fluendo.com>
20758 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20759 (gst_bin_recalc_func):
20760 * gst/gstelement.c: (gst_element_set_clock),
20761 (gst_element_abort_state), (gst_element_lost_state):
20762 Cleanups, prepare for state change fixes.
20764 2005-10-18 Wim Taymans <wim@fluendo.com>
20767 * gst/gstelement.c: (gst_element_class_init),
20768 (gst_element_set_state), (gst_element_set_state_func):
20769 * gst/gstelement.h:
20770 Pending ABI changes.
20771 GThreadPool in GstBinClass to monitor async state changes.
20772 state_cookie in GstElement to detect concurrent gst/set state.
20773 set_state is now virtual too in case a very complicated element
20774 has to be constructed.
20776 2005-10-18 Wim Taymans <wim@fluendo.com>
20778 * check/gst/gstbin.c: (GST_START_TEST):
20779 * check/gst/gstmessage.c: (GST_START_TEST):
20780 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20781 * gst/gstbin.c: (bin_bus_handler):
20782 * gst/gstelement.c: (gst_element_commit_state),
20783 (gst_element_lost_state):
20784 * gst/gstmessage.c: (gst_message_new_state_changed),
20785 (gst_message_new_segment_start), (gst_message_new_segment_done),
20786 (gst_message_new_duration), (gst_message_parse_state_changed),
20787 (gst_message_parse_segment_start),
20788 (gst_message_parse_segment_done), (gst_message_parse_duration):
20789 * gst/gstmessage.h:
20790 * tools/gst-launch.c: (event_loop):
20791 Make messages future proof.
20792 state-change gets a flag if it was a message comming from the
20794 segment-start/stop can also be specified in other formats.
20795 A message to notify an app that a pipeline changed playback
20797 Also fix a GstMessage leak in -launch
20799 2005-10-18 Andy Wingo <wingo@pobox.com>
20801 * gst/gstelement.c (gst_element_dispose): More helpful message.
20803 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20805 reviewed by: <delete if not using a buddy>
20807 * common/gtk-doc.mak:
20809 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20811 * gst/gstregistry.c: (gst_registry_scan_path_level):
20812 unref a plug-in we get that was already initialized
20814 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20816 * docs/gst/gstreamer-sections.txt:
20817 * docs/libs/gstreamer-libs-sections.txt:
20818 * gst/gstelement.h:
20819 add new api entries
20820 hide internal macro
20822 2005-10-17 Andy Wingo <wingo@pobox.com>
20824 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20827 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20829 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20831 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20832 (gst_element_get_state_func): Better debug message.
20833 (gst_element_commit_state): s/INFO/DEBUG/.
20834 (gst_element_lost_state, gst_element_change_state):
20836 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20837 (gst_message_new_custom): s/INFO/LOG/.
20839 2005-10-17 Michael Smith <msmith@fluendo.com>
20841 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20842 Check if end time is valid using end time, not start time.
20844 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20846 * check/gst-libs/controller.c: (GST_START_TEST),
20847 (gst_controller_suite):
20848 * libs/gst/controller/gstcontroller.c:
20849 (gst_controlled_property_set_interpolation_mode):
20850 * libs/gst/controller/gstcontroller.h:
20851 * libs/gst/controller/gstinterpolation.c:
20852 * testsuite/controller/.cvsignore:
20853 * testsuite/controller/Makefile.am:
20854 * testsuite/controller/interpolator.c:
20855 merge controller testsuites
20857 remove mem-chunk from docs
20859 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20861 * gst/gstmemchunk.c:
20862 * gst/gstmemchunk.h:
20863 * gst/gsttrashstack.c:
20864 * gst/gsttrashstack.h:
20865 out. get out. you're fired. to the Attic !
20867 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20869 * gst/gstcaps.c: (gst_caps_intersect):
20870 fix signedness issues in a (hopefully) correct way
20871 * gst/gstelement.c: (gst_element_pads_activate):
20873 * gst/gstobject.c: (gst_object_set_parent):
20876 2005-10-17 Julien MOUTTE <julien@moutte.net>
20878 * gst/gstvalue.h: Fix prototypes.
20880 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20882 * docs/gst/gstreamer-sections.txt:
20883 * gst/gst.c: (gst_version_string):
20885 * gst/gstversion.h.in:
20886 * win32/common/libgstreamer.def:
20887 add gst_version_string ()
20889 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20893 * gst/gst.c: (init_post):
20894 * win32/common/config.h.in:
20896 * gst/gstcaps.c: (gst_caps_intersect):
20897 use gint64, the range could be bigger than a guint
20899 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20902 document potential problem in 2038
20904 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20906 * gst/gstcaps.c: (gst_caps_intersect):
20907 Fix guint j diving under 0
20909 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20912 * win32/common/config.h:
20913 * win32/common/config.h.in:
20914 check for process.h, declares getpid() on Windows
20916 include process.h if we have it
20917 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20918 * gst/gstmemchunk.h:
20919 fix signedness issues
20920 * win32/common/libgstreamer.def:
20923 2005-10-16 Julien MOUTTE <julien@moutte.net>
20925 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20926 fix. Because of unsigned ints, caps intersection was going nuts and
20927 trying to access structures with G_MAXUINT index. That fixes
20928 videotestsrc ! ffmpegcolorspace ! fakesink
20929 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20932 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20935 use the gettext macro
20936 * gst/elements/gstelements.c:
20938 * gst/indexers/gstindexers.c:
20939 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20940 * win32/common/config.h:
20942 * win32/common/config.h.in:
20943 add the template to generate config.h
20944 * win32/common/gstenumtypes.c:
20945 * win32/common/gstversion.h:
20948 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20950 * gst/gst.c: (gst_version):
20951 * gst/gstversion.h.in:
20954 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20957 Oops, add missing closing bracket.
20959 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20962 use common m4's for argument checking
20964 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20966 * docs/gst/gstreamer-sections.txt:
20968 Add GST_EVENT_TYPE_NAME() macro.
20970 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20973 * gst/gstpluginfeature.c:
20975 privatize more symbols
20977 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20980 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20981 everything that uses GStreamer API should have the includes
20983 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20985 * docs/gst/gstreamer-sections.txt:
20986 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20988 give each value a _get_type, removes the DATA exports
20990 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20994 remove _gst_registry_auto_load, not used anymore
20995 * gst/gstbin.c: (gst_bin_get_type):
20997 * gst/gstelement.c: (gst_element_get_type):
20998 * gst/gstelement.h:
20999 * gst/gstobject.c: (gst_object_get_type):
21001 * gst/gstpad.c: (gst_pad_get_type):
21003 make _get_type functions similar, fixes data export from library
21005 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21008 correctly make conditionals
21009 * gst/elements/Makefile.am:
21010 * gst/elements/gstelements.c:
21011 fix typo causing fdsrc not to build
21013 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21015 * testsuite/Makefile.am:
21016 * testsuite/bytestream/.cvsignore:
21017 * testsuite/bytestream/Makefile.am:
21018 * testsuite/bytestream/filepadsink.c:
21019 * testsuite/bytestream/gstbstest.c:
21020 * testsuite/bytestream/test1.c:
21021 * testsuite/bytestream/testfile1:
21022 * testsuite/caps/normalisation.c:
21023 * testsuite/caps/random.c: (main):
21024 * testsuite/cleanup/.cvsignore:
21025 * testsuite/cleanup/Makefile.am:
21026 * testsuite/cleanup/cleanup1.c:
21027 * testsuite/cleanup/cleanup2.c:
21028 * testsuite/cleanup/cleanup3.c:
21029 * testsuite/cleanup/cleanup4.c:
21030 * testsuite/cleanup/cleanup5.c:
21031 * testsuite/controller/interpolator.c:
21032 * testsuite/debug/printf_extension.c: (main):
21033 * testsuite/elements/tee.c:
21034 * testsuite/negotiation/.cvsignore:
21035 * testsuite/negotiation/Makefile.am:
21036 * testsuite/negotiation/pad_link.c:
21037 * testsuite/pad/Makefile.am:
21038 * testsuite/pad/chainnopull.c:
21039 * testsuite/pad/getnopush.c:
21040 * testsuite/pad/link.c:
21041 * testsuite/refcounting/sched.c: (create_pipeline):
21042 * testsuite/registry/Makefile.am:
21043 * testsuite/registry/gst-print-formats.c:
21044 * testsuite/schedulers/.cvsignore:
21045 * testsuite/schedulers/142183-2.c:
21046 * testsuite/schedulers/142183.c:
21047 * testsuite/schedulers/143777-2.c:
21048 * testsuite/schedulers/143777.c:
21049 * testsuite/schedulers/147713.c:
21050 * testsuite/schedulers/147819.c:
21051 * testsuite/schedulers/147894-2.c:
21052 * testsuite/schedulers/147894.c:
21053 * testsuite/schedulers/Makefile.am:
21054 * testsuite/schedulers/group_link.c:
21055 * testsuite/schedulers/queue_link.c:
21056 * testsuite/schedulers/relink.c:
21057 * testsuite/schedulers/unlink.c:
21058 * testsuite/schedulers/unref.c:
21059 * testsuite/schedulers/useless_iteration.c:
21060 * testsuite/states/bin.c:
21061 clean out/remove some stuff from the testsuite directories
21063 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21066 check for some headers
21067 * gst/elements/Makefile.am:
21068 * gst/elements/gstelements.c:
21069 don't compile fdsrc without sys/socket.h
21070 * gst/indexers/Makefile.am:
21071 * gst/indexers/gstindexers.c: (plugin_init):
21072 don't compile fileindex without mmap
21074 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21081 * check/Makefile.am:
21082 * docs/gst/Makefile.am:
21083 * examples/helloworld/Makefile.am:
21085 * gst/base/Makefile.am:
21086 * gst/check/Makefile.am:
21087 * gst/elements/Makefile.am:
21088 * gst/indexers/Makefile.am:
21089 * gst/parse/Makefile.am:
21090 * libs/gst/controller/Makefile.am:
21091 * libs/gst/dataprotocol/Makefile.am:
21092 * examples/helloworld/helloworld.c: (event_loop):
21093 compile fixes, though it's not being compiled currently
21095 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21097 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21098 Add some simple tests for the new taglist date API.
21100 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21102 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21103 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21104 Beautify 'last-message' output: print 'none' for buffer timestamps
21105 and durations if none is set; improve alignment with next messages.
21107 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21109 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21110 * gst/gstpluginfeature.h:
21111 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21112 * gst/gstregistry.h:
21113 * docs/gst/gstreamer-sections.txt:
21114 Add new API to check plugin feature version requirements.
21116 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21117 Some basic tests for the above.
21119 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21121 * gst/gststructure.c: (gst_structure_to_string):
21122 guard against NULL printf - happens when for example
21123 a message structure with GstClock gets serialized
21125 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21127 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21128 Fix presumable copy'n'pasto.
21130 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21132 * gst/elements/gstfakesrc.h:
21133 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21134 * gst/elements/gsttypefindelement.c:
21135 fix some signedness
21136 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21137 I wonder if this could actually write +2GB files before
21139 2005-10-13 Andy Wingo <wingo@pobox.com>
21141 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21142 Fix Timmeke Waymans bug.
21143 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21144 string of the proper length to gst_caps_from_string. There's a
21145 potential for, before this fix, that this could cause someone
21146 connecting over the network to cause a segfault if the payload is
21147 not NUL-terminated.
21149 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21151 * docs/design/draft-push-pull.txt:
21152 * docs/design/part-overview.txt:
21153 * docs/random/TODO-pre-0.9:
21154 * docs/random/old/ChangeLog.gstreamer:
21155 * gst/base/gstpushsrc.c:
21159 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21161 * gst/glib-compat.c: (gst_flags_get_first_value):
21162 * gst/glib-compat.h:
21163 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21164 (gst_value_compare_double), (gst_value_serialize_flags):
21165 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21168 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21170 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21171 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21173 * tools/gst-launch.c: (event_loop):
21174 print out clock nicely
21176 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21178 * docs/gst/gstreamer-sections.txt:
21179 * gst/gsttaglist.h:
21180 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21181 (gst_tag_list_get_date_index):
21182 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21183 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21185 2005-10-13 Julien MOUTTE <julien@moutte.net>
21187 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21188 (gst_collectpads_chain):
21189 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21192 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21194 * docs/gst/gstreamer-sections.txt:
21197 * tools/gst-inspect.c: (main):
21198 * tools/gst-launch.c: (main):
21199 * tools/gst-run.c: (main):
21200 * tools/gst-xmlinspect.c: (main):
21201 fix GOption context leaks
21204 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21208 * win32/common/config.h:
21210 * win32/vs6/grammar.dsp:
21211 * win32/vs6/libgstelements.dsp:
21212 * win32/vs6/libgstreamer.dsp:
21215 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21217 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21218 * gst/base/gstbasesrc.c: (gst_base_src_query):
21219 fix more guint64<->gdouble conversions
21221 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21224 add win32-update target
21225 * win32/common/gstconfig.h:
21226 * win32/common/gstenumtypes.c:
21227 * win32/common/gstenumtypes.h:
21228 * win32/common/gstversion.h:
21229 add files that visual studio can't generate
21231 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21234 add a win32-update target
21237 2005-10-12 Wim Taymans <wim@fluendo.com>
21239 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21240 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21241 * gst/gstelement.c: (gst_element_commit_state),
21242 (gst_element_set_state):
21243 Protect flags with proper lock.
21244 unref provided cached clock in dispose.
21246 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21249 * gst/gstminiobject.h:
21251 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21252 removed unused flags from miniobject
21255 2005-10-12 Wim Taymans <wim@fluendo.com>
21257 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21258 (gst_file_sink_event), (gst_file_sink_render):
21259 Flush before seeking.
21261 2005-10-12 Andy Wingo <wingo@pobox.com>
21263 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21264 always been the case.
21266 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21268 * check/gst/gstbin.c: (GST_START_TEST):
21269 * docs/gst/gstreamer-sections.txt:
21270 * gst/base/gstbasesink.c: (gst_base_sink_init):
21271 * gst/base/gstbasesrc.c: (gst_base_src_init),
21272 (gst_base_src_get_range), (gst_base_src_check_get_range),
21273 (gst_base_src_start), (gst_base_src_stop):
21274 * gst/base/gstbasesrc.h:
21275 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21276 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21277 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21281 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21283 * gst/gstelement.c: (gst_element_is_locked_state),
21284 (gst_element_set_locked_state), (gst_element_commit_state),
21285 (gst_element_set_state):
21286 * gst/gstelement.h:
21287 * gst/gstindex.c: (gst_index_init):
21289 * gst/gstminiobject.h:
21290 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21291 (gst_object_set_parent):
21293 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21294 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21296 * gst/gstpadtemplate.h:
21297 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21298 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21299 * gst/gstpipeline.h:
21300 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21301 (gst_file_index_commit):
21302 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21303 * testsuite/pad/link.c: (gst_test_src_init),
21304 (gst_test_filter_init), (gst_test_sink_init):
21305 * testsuite/states/locked.c: (main):
21306 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21307 moved bitshift from macro to enum definition
21309 2005-10-12 Wim Taymans <wim@fluendo.com>
21311 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21312 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21313 (gst_file_sink_render):
21314 Some more debugging info.
21316 2005-10-12 Wim Taymans <wim@fluendo.com>
21318 * docs/design/part-states.txt:
21319 * tools/gst-launch.c: (main):
21321 Revert non-intentional change.
21323 2005-10-12 Wim Taymans <wim@fluendo.com>
21325 * check/gst/gstbin.c: (GST_START_TEST):
21326 * check/gst/gstelement.c: (GST_START_TEST):
21327 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21328 * check/gst/gstghostpad.c: (GST_START_TEST):
21329 * check/gst/gstpipeline.c: (GST_START_TEST):
21330 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21331 * check/states/sinks.c: (GST_START_TEST):
21332 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21333 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21334 (gst_bin_remove_func), (gst_bin_get_state_func),
21335 (gst_bin_recalc_state), (gst_bin_change_state_func),
21337 * gst/gstelement.c: (gst_element_get_state_func),
21338 (gst_element_get_state), (gst_element_abort_state),
21339 (gst_element_commit_state), (gst_element_set_state),
21340 (gst_element_change_state), (gst_element_change_state_func):
21341 * gst/gstelement.h:
21342 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21343 (gst_pipeline_provide_clock_func):
21344 * gst/gstutils.c: (gst_element_link_pads_filtered):
21345 * tools/gst-launch.c: (main):
21346 * tools/gst-typefind.c: (main):
21347 Use GstClockTime in _get_state() instead of GTimeVal.
21348 Remove old code in gstutils.c
21350 2005-10-12 Andy Wingo <wingo@pobox.com>
21352 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21355 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21356 there is no task. Shouldn't affect any code, as nothing in our
21357 plugins checks this return value.
21358 (gst_pad_stop_task): Also take the stream lock if the pad has no
21359 task. Docs updated.
21361 2005-10-12 Wim Taymans <wim@fluendo.com>
21363 * gst/gstpad.c: (pre_activate), (post_activate),
21364 (gst_pad_activate_pull), (gst_pad_activate_push):
21365 Cleanup activation code. Reset old state if
21368 2005-10-12 Wim Taymans <wim@fluendo.com>
21370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21371 (gst_base_sink_change_state):
21372 No need to prerol after receiving EOS.
21374 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21375 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21376 * gst/elements/gstidentity.c: (gst_identity_event):
21377 Print events more verbosely.
21379 2005-10-12 Wim Taymans <wim@fluendo.com>
21381 * check/Makefile.am:
21382 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21383 * check/states/sinks2.c:
21384 Moved sinks2 testcode in sinks check.
21386 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21387 (gst_bin_remove_func), (gst_bin_recalc_state),
21388 (gst_bin_change_state_func), (bin_bus_handler):
21389 Fix potential race condition when _get_state() iterated over an
21390 ASYNC element right before it posted a state completion.
21393 Do proper cast here.
21395 * gst/gstevent.c: (gst_event_new_newsegment),
21396 (gst_event_parse_newsegment):
21397 A playback rate of 0.0 is not allowed.
21399 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21401 * win32/common/config.h:
21402 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21403 (_trewinddir), (_ttelldir), (_tseekdir):
21404 * win32/common/dirent.h:
21405 * win32/common/gtchar.h:
21406 * win32/common/libgstbase.def:
21407 * win32/common/libgstreamer.def:
21408 * win32/vs6/grammar.dsp:
21409 * win32/vs6/gst_inspect.dsp:
21410 * win32/vs6/gst_launch.dsp:
21411 * win32/vs6/gstreamer.dsw:
21412 * win32/vs6/libgstbase.dsp:
21413 * win32/vs6/libgstelements.dsp:
21414 * win32/vs6/libgstreamer.dsp:
21415 Visual Studio 6 project files, and a new common directory.
21418 2005-10-11 Wim Taymans <wim@fluendo.com>
21420 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21421 (gst_base_sink_do_sync), (gst_base_sink_query),
21422 (gst_base_sink_change_state):
21423 * gst/base/gstbasesink.h:
21424 Correctly parse newsegment info.
21426 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21428 * gst/gst.c: (init_post):
21429 split plugin paths correctly
21431 2005-10-11 Wim Taymans <wim@fluendo.com>
21433 * check/gst/gstevent.c: (GST_START_TEST):
21434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21435 (gst_base_sink_change_state):
21436 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21437 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21438 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21439 * gst/gstevent.c: (gst_event_new_newsegment),
21440 (gst_event_parse_newsegment):
21442 Added extra flag to newsegment for future API freeze.
21443 Updated check and base elements.
21445 2005-10-11 Julien MOUTTE <julien@moutte.net>
21447 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21448 (gst_collectpads_add_pad), (gst_collectpads_pop),
21449 (gst_collectpads_event), (gst_collectpads_chain):
21450 * gst/base/gstcollectpads.h: Handle EOS correctly.
21452 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21454 * tools/gst-launch.c: (main):
21455 more null protecting
21457 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21459 * gst/gst-i18n-lib.h:
21460 check for ENABLE_NLS, not GETTEXT_PACKAGE
21461 * gst/gstregistry.c: (gst_registry_add_plugin),
21462 (gst_registry_scan_path_level),
21463 (_gst_registry_remove_cache_plugins):
21464 protect possibly NULL strings
21465 * gst/parse/types.h:
21466 config.h already included before
21467 * tools/gst-inspect.c: (main):
21468 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21469 check for ENABLE_NLS, not GETTEXT_PACKAGE
21470 * tools/gst-launch.c: (main):
21471 check for ENABLE_NLS, not GETTEXT_PACKAGE
21473 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21476 if we don't have glib, fail before testing 2.8
21477 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21478 fix a leak, should fix plugins-base testsuite
21480 2005-10-11 Andy Wingo <wingo@pobox.com>
21482 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21483 take the mode we're going to as an arg. Go head and set the mode
21484 and flushing flags now, so that if the activate function starts a
21485 thread all the flags will be in the right state.
21486 (post_activate): Renamed also. Just handle making sure streaming
21487 finishes for the deactivation case, and setting the deactivated
21489 (gst_pad_set_active): Complain loudly if deactivation fails.
21490 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21491 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21492 remove the terrible hack.
21494 2005-10-11 Wim Taymans <wim@fluendo.com>
21496 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21497 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21498 (gst_bin_recalc_state), (gst_bin_change_state_func),
21499 (gst_bin_dispose), (bin_bus_handler):
21501 Prepare to make current EOS message queue more generic.
21504 * gst/gstevent.c: (gst_event_new_newsegment),
21505 (gst_event_parse_newsegment):
21507 Rename base to stream_time.
21509 * gst/gstmessage.h:
21512 2005-10-11 Wim Taymans <wim@fluendo.com>
21514 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21515 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21516 (gst_bin_change_state_func), (bin_bus_handler):
21518 Work on proper clock selection.
21520 2005-10-11 Edward Hervey <edward@fluendo.com>
21522 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21523 * libs/gst/controller/gstcontroller.h:
21524 Added GList* version of _remove_properties() in order to be able to wrap
21527 2005-10-11 Wim Taymans <wim@fluendo.com>
21529 * docs/design/part-states.txt:
21532 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21533 (gst_bin_change_state_func), (bin_bus_handler):
21534 Doc updates. Don't distribute the same clock over and over again.
21540 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21541 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21542 (gst_pad_send_event):
21544 Make probe emission threadsafe again.
21545 Register quarks and move _get_name() from utils.
21548 * gst/gstpipeline.c: (gst_pipeline_class_init),
21549 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21550 Only redistribute the clock of it changed.
21552 * gst/gstsystemclock.h:
21557 Moved the _flow_get_name() to GstPad.
21559 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21561 * check/gst-libs/gdp.c: (GST_START_TEST):
21562 * check/gst/gstcaps.c: (GST_START_TEST):
21563 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21564 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21565 (gst_dp_packet_from_caps):
21566 fix more valgrind warnings before turning up the heat
21568 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21570 * gst/parse/grammar.y:
21571 some cleanup before the hacking
21573 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21575 * gst/base/gstbasesrc.c: (gst_base_src_query):
21577 * gst/gstutils.c: (gst_guint64_to_gdouble),
21578 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21580 externalize, basesrc uses it
21581 obviously the implementation needs testing
21583 2005-10-10 Wim Taymans <wim@fluendo.com>
21585 * tests/sched/Makefile.am:
21586 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21587 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21589 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21591 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21592 apparently converting from guint64 to double is not implemented
21595 2005-10-10 Wim Taymans <wim@fluendo.com>
21597 * check/Makefile.am:
21598 * check/generic/states.c: (GST_START_TEST):
21599 * check/gst/gstbin.c: (GST_START_TEST):
21600 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21601 * check/states/sinks.c: (GST_START_TEST):
21602 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21604 Check fixes, use API as stated in design docs, remove hacks.
21606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21607 (gst_base_sink_change_state):
21608 Catch stopping our task while we're shutting down.
21610 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21611 (gst_bin_remove_func), (gst_bin_get_state_func),
21612 (gst_bin_recalc_state), (gst_bin_change_state_func),
21615 * gst/gstelement.c: (gst_element_init),
21616 (gst_element_get_state_func), (gst_element_abort_state),
21617 (gst_element_commit_state), (gst_element_lost_state),
21618 (gst_element_set_state), (gst_element_change_state),
21619 (gst_element_change_state_func):
21620 * gst/gstelement.h:
21621 New state change algorithm (see #318116)
21623 * gst/gstpipeline.c: (gst_pipeline_class_init),
21624 (gst_pipeline_init), (gst_pipeline_set_property),
21625 (gst_pipeline_get_property), (do_pipeline_seek),
21626 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21627 * gst/gstpipeline.h:
21628 Remove crude state change hacks.
21631 Remove crude hacks.
21633 * tools/gst-launch.c: (main):
21634 Fixes for state change. Needs some more work to fully use the
21637 2005-10-10 Andy Wingo <wingo@pobox.com>
21639 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21641 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21642 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21645 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21647 * gst/gstiterator.c: (gst_iterator_new):
21648 Fix my previous commit: GTypes passed to gst_iterator_new()
21649 can be fundamental types.
21651 2005-10-10 Wim Taymans <wim@fluendo.com>
21653 * gst/gstelement.c: (gst_element_iterate_pad_list),
21654 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21655 (gst_element_iterate_sink_pads):
21656 Use src/sink pads lists for the respective iterators instead
21659 2005-10-10 Andy Wingo <wingo@pobox.com>
21661 Merged in popt removal + GOption addition patch from Ronald, bug
21664 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21665 GstElement macros around, remove popt-related symbols, add goption
21668 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21670 * docs/gst/Makefile.am:
21671 * docs/libs/Makefile.am: No POPT_CFLAGS.
21673 * examples/manual/Makefile.am:
21674 * docs/manual/basics-init.xml: Doc updates with an example.
21676 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21677 (gst_init), (parse_one_option), (parse_goption_arg):
21678 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21679 bit of hand merging and debugging to get the GOption stuff working
21682 * tests/Makefile.am:
21683 * tools/Makefile.am:
21684 * tools/gst-inspect.c: (main):
21685 * tools/gst-launch.c: (main):
21686 * tools/gst-run.c: (main):
21687 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21689 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21691 * gst/gstiterator.c: (gst_iterator_new):
21692 Add assertions to make sure passed GType is likely to really
21693 be a GType (as the compiler won't catch it if the size and
21694 GType arguments get mixed up, see #318447).
21696 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21698 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21700 * gst/gstbin.c: (gst_bin_iterate_sorted):
21701 Pass GType and size arguments to gst_iterator_new() in the right
21702 order (maybe we should make _new() take the GType as first argument
21703 just like _new_list()?) (#318447).
21706 2005-10-10 Wim Taymans <wim@fluendo.com>
21708 * gst/gstelement.c: (gst_element_finalize):
21709 And free the GStaticRecMutex too
21711 2005-10-10 Andy Wingo <wingo@pobox.com>
21713 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21714 Allocate and free the mutex properly.
21716 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21718 (GstElement): The state_lock is now recursive. Rebuild your
21719 plugins, suckers. Old macros adapted.
21721 * docs/gst/gstreamer-sections.txt: Doc updates.
21724 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21725 (g_static_rec_cond_wait): Ported from state changes patch, while
21726 we wait on bug #317802 to be solved in a well-distributed GLib.
21728 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21729 gst_element_change_state, variable name changes.
21730 (gst_element_change_state): Split out of gst_element_set_state in
21731 preparation for the state change merge. Doesn't pay attention to
21732 the 'transition' argument.
21733 (gst_element_set_state): Updates, hopefully purely cosmetic.
21734 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21735 state change patch.
21736 (gst_element_get_state_func): Renamed from get_state, cosmetic
21739 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21741 * gst/elements/gstelements.c:
21742 * win32/GStreamer.vcproj:
21744 * win32/dirent.c: (_tseekdir):
21745 * win32/gst-inspect.vcproj:
21746 * win32/gst-launch.vcproj:
21747 * win32/gstconfig.h:
21748 * win32/gstelements.vcproj:
21749 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21750 * win32/gstreamer.def:
21751 * win32/msvc71.sln:
21752 updates for the win32 build (patch from Sebastien Moutte)
21754 2005-10-10 Andy Wingo <wingo@pobox.com>
21756 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21757 gst_bin_get_state, cleaned up (but no logic changes).
21758 (bin_element_is_sink): Comment updates.
21759 (sink_iterator_filter): Remove needless cast.
21760 (gst_bin_iterate_sinks): Doc update.
21761 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21762 cleaned up (but no logic changes).
21764 * check/states/sinks.c (test_src_sink): Cleanups from the state
21766 (test_livesrc_sink): Sync on the state.
21768 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21769 the state change patch.
21771 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21774 * check/gst/gstbin.c: Merge in some style fixes and additional
21775 checks from Wim's state change patch.
21777 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21779 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21780 (gst_type_find_helper):
21781 Check whether we have the requested data already in our list of
21782 cached buffers before pulling a new buffer; also make the buffer
21783 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21785 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21790 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21791 don't use long long, it's not portable. Replacing with
21792 gint64 seems to work; let's hope no skeletons fall out of the closet.
21794 2005-10-10 Andy Wingo <wingo@pobox.com>
21796 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21798 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21800 * docs/gst/gstreamer-sections.txt:
21805 * gst/gstmessage.c: (gst_message_parse_state_changed):
21808 more docs, fix compilation
21810 2005-10-09 Philippe Khalaf <burger@speedy.org>
21811 * gst/gstmessage.c:
21812 Fixed a few forgotten variables on previous commit
21814 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21816 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21817 Fix evil typefind crasher: getrange() might return a short
21818 buffer at the end of a file, but gst_type_find_peek() must
21819 either return the full data as requested or NULL, but
21820 never a short buffer.
21822 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21824 * gst/gstmessage.c: (gst_message_new_state_changed),
21825 (gst_message_parse_state_changed):
21826 * gst/gstmessage.h:
21827 don't use "new", it's a C++ keyword
21829 2005-10-08 Wim Taymans <wim@fluendo.com>
21831 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21832 * gst/gstelement.c: (gst_element_post_message):
21833 * gst/gstpipeline.c: (gst_pipeline_change_state):
21834 Small docs and debug updates.
21836 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21838 * docs/gst/gstreamer-sections.txt:
21839 * gst/gstelementfactory.c:
21841 * gst/gsttaglist.c:
21844 2005-10-08 Wim Taymans <wim@fluendo.com>
21846 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21847 (gst_bin_dispose), (bin_bus_handler):
21848 Fix typos, add comments.
21849 Clear EOS list when going to PAUSED from any direction and do it
21850 in a threadsafe way.
21851 Get base time in a threadsafe way too.
21852 Fix confusing debug in the change_state function.
21853 Various other small cleanups.
21855 * gst/gstelement.c: (gst_element_post_message):
21856 Fix very verbose bus posting code.
21858 * gst/gstpipeline.c: (gst_pipeline_class_init),
21859 (gst_pipeline_set_property), (gst_pipeline_get_property),
21860 (gst_pipeline_change_state):
21861 Small ARG_ -> PROP_ cleanup
21863 2005-10-08 Wim Taymans <wim@fluendo.com>
21865 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21866 Do a less CPU demanding EOS check because we can.
21868 2005-10-08 Wim Taymans <wim@fluendo.com>
21870 * libs/gst/dataprotocol/dataprotocol.c:
21871 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21872 (gst_dp_packet_from_event):
21873 * libs/gst/dataprotocol/dataprotocol.h:
21874 * libs/gst/dataprotocol/dp-private.h:
21875 It's about time we bump the version number.
21876 Since event types don't fit in the guint8 anymore describing
21877 the payload type, make payload type 16 bits wide.
21879 2005-10-08 Wim Taymans <wim@fluendo.com>
21881 * docs/design/part-TODO.txt:
21882 * docs/design/part-clocks.txt:
21883 * docs/design/part-events.txt:
21884 * docs/design/part-gstbin.txt:
21885 * docs/design/part-gstelement.txt:
21886 * docs/design/part-gstpipeline.txt:
21887 * docs/design/part-live-source.txt:
21888 * docs/design/part-messages.txt:
21889 * docs/design/part-overview.txt:
21890 * docs/design/part-states.txt:
21893 2005-10-08 Wim Taymans <wim@fluendo.com>
21897 Fix event quark registration.
21898 Add some space between events so we can insert them in the
21901 2005-10-08 Wim Taymans <wim@fluendo.com>
21903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21904 (gst_base_sink_handle_buffer):
21905 Better log message.
21908 * gst/gstelement.h:
21911 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21912 (gst_queue_set_property), (gst_queue_get_property):
21914 Remove old unused properties.
21916 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21917 * docs/gst/gstreamer-sections.txt:
21918 * gst/gstmessage.c:
21919 * gst/gstmessage.h:
21920 * gst/gstminiobject.c:
21921 * gst/gstminiobject.h:
21925 lots of new docs and doc fixes
21927 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21929 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21931 * gst/gstregistry.c: (gst_registry_lookup_locked),
21932 (gst_registry_scan_path_level):
21933 * gst/gstregistryxml.c: (load_plugin):
21934 Only ever load one plugin for a given plugin basename.
21935 This ensures correct overriding of GST_PLUGIN_PATH over
21936 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21937 system installed plugins.
21939 2005-10-08 Wim Taymans <wim@fluendo.com>
21941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21942 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21943 Prepare for doing QOS.
21945 2005-10-08 Wim Taymans <wim@fluendo.com>
21947 * check/gst/gstbin.c: (GST_START_TEST):
21948 * check/pipelines/cleanup.c: (GST_START_TEST):
21949 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21950 Allow new clock message too.
21952 2005-10-08 Wim Taymans <wim@fluendo.com>
21954 * gst/gstmessage.c: (gst_message_new_error),
21955 (gst_message_new_warning), (gst_message_new_tag),
21956 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21957 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21958 (gst_message_new_segment_start), (gst_message_new_segment_done),
21959 (gst_message_parse_state_changed),
21960 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21961 (gst_message_parse_new_clock):
21962 * gst/gstmessage.h:
21963 Also carry the clock in question.
21965 2005-10-08 Wim Taymans <wim@fluendo.com>
21967 * gst/gstmessage.c: (gst_message_new_custom),
21968 (gst_message_new_eos), (gst_message_new_error),
21969 (gst_message_new_warning), (gst_message_new_tag),
21970 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21971 (gst_message_new_new_clock), (gst_message_new_segment_start),
21972 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21973 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21974 * gst/gstmessage.h:
21976 Added clock related messages.
21978 * gst/gstpipeline.c: (gst_pipeline_change_state):
21979 Post message when the clock changed.
21981 * tools/gst-launch.c: (event_loop):
21984 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21986 * tools/gst-inspect.c: (print_element_properties_info):
21987 Can't pass NULL strings to g_print() on windows.
21989 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21991 * docs/Makefile.am:
21992 * docs/gst/Makefile.am:
21993 * docs/gst/gstreamer-docs.sgml:
21994 * docs/gst/running.xml:
21995 * docs/version.entities.in:
21996 add a chapter on running GStreamer.
21997 document GST_DEBUG and GST_PLUGIN* env vars
21999 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22004 remove PLUGINS_BUILDDIR stuff
22005 * gst/gst.c: (init_post):
22006 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22008 remove, it was condescending and not needed
22010 2005-10-08 Wim Taymans <wim@fluendo.com>
22012 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22013 (gst_base_sink_handle_object), (gst_base_sink_event),
22014 (gst_base_sink_wait), (gst_base_sink_handle_event),
22015 (gst_base_sink_change_state):
22016 * gst/base/gstbasesink.h:
22017 Repost EOS message while going to PLAYING if still EOS.
22018 Make sure that when receiving a FLUSH_START we don't attempt
22019 to sync on the clock anymore.
22021 2005-10-08 Wim Taymans <wim@fluendo.com>
22023 * tools/gst-launch.c: (event_loop):
22024 Better message printout.
22026 2005-10-08 Wim Taymans <wim@fluendo.com>
22028 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22029 (gst_bin_child_proxy_get_children_count):
22030 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22031 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22032 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22033 (gst_child_proxy_set_valist):
22034 * gst/parse/grammar.y:
22035 Make ChildProxy threadsafe and fix mem leaks.
22037 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22039 * gst/gst.c: (init_post):
22040 debug the GST_PLUGIN_ env vars
22042 2005-10-08 Wim Taymans <wim@fluendo.com>
22044 * check/gst/gstbin.c: (GST_START_TEST):
22045 * check/gst/gstmessage.c: (GST_START_TEST):
22046 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22047 * gst/gstelement.c: (gst_element_commit_state),
22048 (gst_element_lost_state):
22049 * gst/gstmessage.c: (gst_message_new_state_changed),
22050 (gst_message_parse_state_changed):
22051 * gst/gstmessage.h:
22052 * tools/gst-launch.c: (event_loop):
22053 Added extra field to STATE_CHANGE message with the pending
22054 state, which will be different from the new state soon.
22056 2005-10-08 Wim Taymans <wim@fluendo.com>
22058 * gst/gstbus.c: (gst_bus_pop):
22060 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22061 Small cleanups and doc updates.
22063 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22065 * gst/gst.c: (init_pre):
22066 * gst/gstbin.c: (gst_bin_add_func):
22067 log distributing clocks and base time
22068 * gst/gstregistry.c: (gst_registry_add_plugin),
22069 (gst_registry_scan_path_level), (gst_registry_scan_path):
22070 clean up the debugging output a little
22071 * gst/gstutils.c: (gst_element_state_get_name):
22072 warn about a memleak (I've actually seen this be used, though
22073 it was probably a bug)
22075 2005-10-07 Wim Taymans <wim@fluendo.com>
22077 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22078 (gst_base_src_init), (gst_base_src_default_newsegment),
22079 (gst_base_src_newsegment), (gst_base_src_do_seek),
22080 (gst_base_src_loop), (gst_base_src_start):
22081 * gst/base/gstbasesrc.h:
22082 Make the newsegment event customizable by subclasses.
22084 2005-10-07 Wim Taymans <wim@fluendo.com>
22086 * gst/gstevent.c: (gst_event_new_buffersize),
22087 (gst_event_parse_buffersize):
22089 New event for future idea.
22091 2005-10-07 Andy Wingo <wingo@pobox.com>
22093 * gst/gstelement.c (gst_element_post_message): Doc update.
22095 * docs/gst/gstreamer-sections.txt: Update.
22097 * gst/gstmessage.c (gst_message_new_application): Made into a
22098 function like honest API calls.
22099 (gst_message_new_element): New message type.
22101 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22103 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22104 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22107 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22108 NO_PREROLL from gst_element_change_state to fall through.
22110 2005-10-07 Wim Taymans <wim@fluendo.com>
22112 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22113 (gst_ghost_pad_do_activate_push):
22114 Activating a ghostpad with no internal pad in push mode
22117 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22120 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22121 Fixes compilation on Windows.
22123 2005-10-07 Michael Smith <msmith@fluendo.com>
22125 * tools/gst-inspect.c:
22126 Print out feature and plugin count at the end when printing out
22129 2005-10-04 Michael Smith <msmith@fluendo.com>
22131 * gst/gsterror.c: (_gst_stream_errors_init):
22132 Add another error string used in a few existing plugins.
22135 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22136 * tools/gst-inspect.c: (print_element_info):
22137 When a feature disappears from a plugin (and the feature exists in
22138 the cached registry file), things went horribly wrong. This isn't a
22139 complete fix, we should actually be removing the 'missing' features
22140 from the features list when we load the actual plugin. That's not
22143 2005-10-04 Johan Dahlin <johan@gnome.org>
22145 * check/gst/gstiterator.c: (GST_START_TEST):
22146 * gst/gstbin.c: (gst_bin_iterate_elements),
22147 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22148 * gst/gstelement.c: (gst_element_iterate_pads):
22149 * gst/gstformat.c: (gst_format_iterate_definitions):
22150 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22151 (gst_iterator_new_list), (gst_iterator_filter):
22152 * gst/gstiterator.h:
22153 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22154 Add a GType to GstIterator, update callsites and tests.
22156 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22158 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22159 give events a chance to be handled by event probes when the pad
22162 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22164 * gst/gstevent.c: (gst_event_type_get_name),
22165 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22167 add string representations for event types
22169 2005-10-06 Wim Taymans <wim@fluendo.com>
22171 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22172 Don't use NULL pointers.
22174 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22176 * gst/gst_private.h:
22178 * gst/gstelement.c:
22180 * gst/gstpluginfeature.c:
22181 widen the debug category in output to fit the biggest one we have
22182 add a bus category and use it
22183 play with the colors
22184 fix up some categories
22186 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22188 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22189 add push activation of sink ghost pads.
22190 Andye, please verify
22192 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22194 * gst/gstutils.c: (gst_element_link_pads):
22195 fix a bug in the case where neither element has a pad
22196 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22197 add a test for that case
22199 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22201 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22202 emit have-data before checking for peers. This allows
22203 for probe handlers to connect elements. This helps autopluggers.
22204 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22206 add six checks, linked/unlinked with no/true/false probe
22208 2005-10-04 Wim Taymans <wim@fluendo.com>
22210 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22211 (gst_fake_sink_event), (gst_fake_sink_preroll),
22212 (gst_fake_sink_render), (gst_fake_sink_change_state):
22213 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22214 (gst_fake_src_get_property), (gst_fake_src_create),
22215 (gst_fake_src_stop):
22216 * gst/elements/gstidentity.c: (gst_identity_stop):
22217 Protect last_message with lock.
22219 2005-10-04 Edward Hervey <edward@fluendo.com>
22222 Added precision in the comments for GST_FORMAT_DEFAULT
22224 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22226 * tools/gst-launch.c: (main):
22227 Don't try to run erroneous pipelines.
22229 2005-10-04 Julien MOUTTE <julien@moutte.net>
22231 * gst/gstbus.c: We don't need this header.
22233 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22236 back to development
22238 === release 0.9.3 ===
22240 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22244 Releasing 0.9.3, "Unregistered"
22246 2005-10-03 Andy Wingo <wingo@pobox.com>
22248 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22249 whereby calling a pad's activatepush() function can start a thread
22250 that starts to push or pull before the pad gets the FLUSHING flag
22251 unset. Hack around it by holding the stream lock until the flag is
22252 set. Need to replace this with a proper solution. Together with
22253 the ghost pad fixes, this fixes mp3 playing/tagreading.
22255 * docs/design/part-gstghostpad.txt: Add a note about activation of
22256 proxy pads outside of ghost pads.
22258 * gst/gstghostpad.c: Implement the ghost pad activation design.
22260 2005-10-02 Andy Wingo <wingo@pobox.com>
22262 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22263 It is volatile, after all.
22265 * docs/design/part-gstghostpad.txt: Flesh out activation with
22268 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22271 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22274 Fix (unused) AM_CONDITIONAL tests.
22276 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22278 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22280 * gst/gstutils.c: (gst_pad_query_convert):
22281 Add assertion that makes sure src_val is >=0, just like
22282 gst_query_new_convert() has. (#315895)
22284 2005-09-30 Edward Hervey <edward@fluendo.com>
22286 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22287 Let's not iterate pads we're not interested in, it avoids getting
22288 sky-high refcounts on sinkpad.
22290 2005-09-30 Wim Taymans <wim@fluendo.com>
22292 * gst/gstelement.c: (gst_element_set_state),
22293 (gst_element_change_state):
22294 Small tweak, element in ASYNC remains ASYNC.
22296 2005-09-30 Wim Taymans <wim@fluendo.com>
22298 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22299 Only error is an error.
22301 * gst/gstbin.c: (gst_bin_change_state):
22304 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22305 Also call pad_block in pad alloc.
22307 * gst/gstutils.c: (gst_flow_get_name):
22310 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22312 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22313 (gst_base_src_get_range):
22314 Fix documentation typos. Add some more debug info.
22316 2005-09-29 David Schleef <ds@schleef.org>
22318 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22319 more end-user friendly.
22320 * tools/gst-inspect.c: (main): Check if command-line argument is
22321 a file and attempt to load that file as a plugin.
22323 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22325 * check/gst/gstbin.c:
22326 * check/states/sinks.c:
22327 fix tests for the new warning
22328 * check/gst/gstpipeline.c:
22329 add a test for pipeline and bus interaction
22330 * gst/gstelement.c:
22331 elements should be NULL if they get disposed; add a warning if not
22333 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22336 for 2.6 refcounting, make debug log more correct by printing
22337 the actual refcounts at the time of swap (Wim)
22339 2005-09-29 Andy Wingo <wingo@pobox.com>
22341 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22342 removes signal watches previously added via
22343 gst_bus_add_signal_watch.
22344 (gst_bus_add_signal_watch): Don't return the source id, just store
22345 it on the bus if there wasn't an id already.
22347 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22348 add_signal_watch and remove_signal_watch.
22350 2005-09-29 Edward Hervey <edward@fluendo.com>
22352 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22353 Better if we actually iterate the list :)
22355 2005-09-29 Wim Taymans <wim@fluendo.com>
22357 * check/gst/gstbin.c: (GST_START_TEST):
22358 Change for new bus API.
22360 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22361 (send_messages), (GST_START_TEST), (gstbus_suite):
22362 Change for new bus signal API.
22364 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22365 (gst_bus_source_prepare), (gst_bus_source_check),
22366 (gst_bus_create_watch), (gst_bus_add_watch_full),
22367 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22368 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22370 Remove support for multiple GSources operating on different
22371 message types as it is too complex and unneeded when using
22373 Added support for receiving signals from the bus.
22375 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22377 * docs/libs/tmpl/gstdataprotocol.sgml:
22378 * docs/manual/advanced-dataaccess.xml:
22379 * gst/elements/gstcapsfilter.c:
22381 rename filter-caps to caps property
22383 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22385 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22386 More robust fraction string parsing.
22388 * docs/pwg/appendix-porting.xml:
22389 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22391 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22393 * gst/gstcaps.c: (gst_caps_do_simplify):
22394 Thou shalt not free a structure and then continue using it
22395 in the next loop iteration.
22397 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22399 Add test case for caps simplification.
22401 2005-09-29 Wim Taymans <wim@fluendo.com>
22403 * check/gst/gstbin.c: (GST_START_TEST):
22406 2005-09-29 Wim Taymans <wim@fluendo.com>
22408 * check/gst/gstbin.c: (GST_START_TEST):
22411 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22412 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22413 (find_element), (gst_bin_sort_iterator_next),
22414 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22415 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22416 (gst_bin_change_state), (gst_bin_dispose):
22417 A bin does not have a bus, it gets the bus from the parent.
22419 * gst/gstelement.c: (gst_element_requires_clock),
22420 (gst_element_provides_clock), (gst_element_is_indexable),
22421 (gst_element_is_locked_state), (gst_element_change_state),
22422 (gst_element_set_bus_func):
22425 * gst/gstpipeline.c: (gst_pipeline_class_init),
22426 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22427 The pipeline provides a bus.
22429 2005-09-28 Johan Dahlin <johan@gnome.org>
22431 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22432 gst_structure_get_enum instead of gst_structure_get_int
22434 * gst/gststructure.c (gst_structure_get_enum): Impl.
22436 * gst/gststructure.h (gst_structure_get_enum): Add
22438 * docs/gst/gstreamer-sections.txt: Ditto
22440 * gst/gstmessage.c (gst_message_new_state_changed): Use
22441 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22442 which does introspection.
22443 Reviewed by Christian Schaller
22445 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22447 * gst/gstinfo.c: (gst_debug_log_default):
22448 don't do dummy g_strdup()s
22449 * libs/gst/controller/gstcontroller.c:
22450 (on_object_controlled_property_changed),
22451 (gst_controlled_property_new), (gst_controller_new_valist),
22452 (gst_controller_new_list),
22453 (gst_controller_remove_properties_valist), (gst_controller_set),
22454 (gst_controller_get), (gst_controller_sync_values),
22455 (gst_controller_get_value_array), (_gst_controller_class_init),
22456 (gst_controller_get_type):
22457 * libs/gst/controller/gstcontroller.h:
22458 * libs/gst/controller/gstinterpolation.c:
22459 (gst_controlled_property_find_timed_value_node):
22460 convert // to /**/ comments
22462 2005-09-28 Wim Taymans <wim@fluendo.com>
22464 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22465 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22466 (gst_bus_sync_signal_handler):
22468 Added async-message and sync-message signals to the bus.
22469 Added helper BusFunc to emit signals for all posted messages.
22471 * gst/gstmessage.c: (gst_message_type_get_name),
22472 (gst_message_type_to_quark), (gst_message_get_type):
22473 * gst/gstmessage.h:
22474 Register quarks for message names.
22476 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22478 * docs/libs/gstreamer-libs-sections.txt:
22479 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22480 (gst_controller_new_list):
22481 * libs/gst/controller/gstcontroller.h:
22482 added another constructor for language bindings
22484 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22486 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22490 * gst/gstinfo.c: (_gst_debug_init):
22491 slightly more readable color for refcount debugging
22493 2005-09-28 Wim Taymans <wim@fluendo.com>
22495 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22496 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22497 (find_element), (gst_bin_sort_iterator_next),
22498 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22499 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22500 (gst_bin_change_state), (gst_bin_dispose):
22501 Small doc fixes. get_clock -> provide_clock.
22503 * gst/gstelement.c: (gst_element_class_init),
22504 (gst_element_provides_clock), (gst_element_provide_clock),
22505 (gst_element_get_clock), (gst_element_commit_state),
22506 (gst_element_lost_state):
22507 * gst/gstelement.h:
22508 Make get/set_clock() symetric. Add provide_clock vmethod since
22509 that is actually what this function does.
22511 * gst/gstpipeline.c: (gst_pipeline_class_init),
22512 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22513 (gst_pipeline_get_clock):
22514 get_clock -> provide_clock.
22516 2005-09-28 Andy Wingo <wingo@pobox.com>
22518 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22519 lieu of real docs...
22521 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22523 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22525 * gst/elements/gstcapsfilter.c:
22526 * gst/elements/gstfakesink.c:
22527 * gst/elements/gstfakesrc.c:
22528 * gst/elements/gstfdsink.c:
22529 * gst/elements/gstfdsrc.c:
22530 * gst/elements/gstfilesink.c:
22531 * gst/elements/gstfilesrc.c:
22532 * gst/elements/gstidentity.c:
22533 * gst/elements/gsttee.c:
22534 * gst/elements/gsttypefindelement.c:
22535 Make element details static.
22537 2005-09-28 Wim Taymans <wim@fluendo.com>
22539 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22540 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22541 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22542 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22543 (gst_bin_change_state), (gst_bin_dispose):
22544 Some documentation updates.
22545 Clean up dispose handlers.
22547 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22548 * gst/gstpad.c: (gst_pad_dispose):
22549 Clean up dispose handler.
22551 * gst/gstpipeline.c: (gst_pipeline_change_state):
22552 Removed spurious UNLOCK.
22554 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22556 * docs/gst/gstreamer-sections.txt:
22557 * gst/base/gstbasesrc.h:
22558 * gst/gstelement.h:
22562 * gst/gstpipeline.c:
22563 * gst/gstpipeline.h:
22566 added two new functions to the docs
22567 documents all undocumented GstXXXFlags
22568 completed some incomplete docs
22570 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22572 * gst/gstbin.c: (gst_bin_dispose):
22573 * gst/gstelement.c: (gst_element_dispose):
22574 remove now useless and leaky resurrection code in dispose
22575 * gst/base/gstbasesrc.c: (gst_base_src_init):
22576 * gst/gstelementfactory.c: (gst_element_factory_create):
22577 * gst/gstobject.c: (gst_object_set_parent):
22580 2005-09-27 Wim Taymans <wim@fluendo.com>
22582 * docs/design/part-TODO.txt:
22585 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22586 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22587 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22588 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22589 (gst_bin_change_state):
22590 * gst/gstelement.h:
22591 Remove element variable, we keep element info in the iterator now.
22593 2005-09-27 Andy Wingo <wingo@pobox.com>
22595 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22598 2005-09-27 Wim Taymans <wim@fluendo.com>
22600 * check/gst/gstbin.c: (GST_START_TEST):
22601 Enable check that works now.
22603 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22604 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22605 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22606 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22607 (gst_bin_change_state):
22609 Redid the state change algorithm using a topological sort algo.
22610 Handles all cases correctly.
22611 Exposed iterator for state change order.
22613 * gst/gstelement.h:
22614 Temp storage for state changes. Need to get rid of this soon.
22616 2005-09-27 Wim Taymans <wim@fluendo.com>
22618 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22619 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22620 (link_fold_func), (gst_pad_proxy_setcaps):
22621 Leak fixes, the fold functions need to unref the passed object and
22622 _get_parent_*() returns ref to parent.
22624 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22626 * check/gst/gstbuffer.c: (test_make_writable):
22627 Plug leak in test case and fix 'make check-valgrind'
22629 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22631 * gst/gstbuffer.c: (gst_subbuffer_init):
22632 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22633 works correctly in all circumstances (we could have just copied
22634 the parent buffer's readonly flag, but conceptually it seems
22635 cleaner to mark all subbuffers as read-only). (based on patch
22636 by Alessandro Decina, #314710).
22638 * check/gst/gstbuffer.c: (create_read_only_buffer),
22639 (test_make_writable), (test_subbuffer_make_writable),
22641 Add some tests for gst_buffer_make_writable().
22643 2005-09-27 Wim Taymans <wim@fluendo.com>
22645 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22646 use gst_object_has_ancestor().
22648 * gst/gstobject.c: (gst_object_has_ancestor):
22650 gst_object_has_ancestor() copied from gstbin.c as it is a
22653 * tests/instantiate/create.c: (create_all_elements):
22654 * tests/lat.c: (handoff_src), (handoff_sink):
22655 * tests/sched/runxml.c: (main):
22656 * tests/seeking/seeking1.c: (main):
22657 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22659 Fix compilation of some tests.
22661 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22664 Remove comment. GST_TYPE_G_ERROR is here to stay,
22665 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22666 (#316961, #300610).
22668 2005-09-26 Wim Taymans <wim@fluendo.com>
22670 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22671 Added check that shows error in state change order.
22673 2005-09-26 Wim Taymans <wim@fluendo.com>
22675 * gst/gstbin.c: (gst_bin_change_state):
22676 Make state change function use 3 queues again, we were
22677 adding elements in the wrong order.
22679 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22682 * gst/gstpad.c: (gst_pad_dispose):
22683 Added some debug info first.
22685 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22687 * docs/design/draft-push-pull.txt:
22688 * docs/design/part-events.txt:
22689 * docs/design/part-overview.txt:
22690 * docs/design/part-scheduling.txt:
22691 Replace all _pull_region() with _pull_range()
22693 2005-09-26 Andy Wingo <wingo@pobox.com>
22695 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22697 * check/gst-libs/controller.c: Update for controller api change.
22700 * tests/Makefile.am:
22701 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22702 over by GLib bug 118439.
22704 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22705 routines to a function.
22707 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22709 * libs/gst/controller/gsthelper.c:
22710 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22711 (gst_object_sync_values): Renamed from sink_values. Ugh.
22713 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22715 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22716 Renamed from controller_key, as it is exported.
22718 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22720 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22725 * gst/gstpadtemplate.h:
22728 * gst/gstqueryutils.c:
22729 * gst/gstqueryutils.h:
22730 remove queryutils headers after moving the two used functions
22731 to gstquery. also fixes build problem for gstsiddec
22733 2005-09-26 Michael Smith <msmith@fluendo.com>
22735 * tools/gst-launch.1.in:
22736 Correct documentation in manpage of debug syntax
22738 2005-09-26 Wim Taymans <wim@fluendo.com>
22740 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22741 (gst_base_src_is_seekable), (gst_base_src_change_state):
22742 Some more debugging info.
22744 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22746 * docs/gst/gstreamer-sections.txt:
22747 * gst/base/gstbasetransform.h:
22751 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22753 * docs/gst/.cvsignore:
22754 * docs/gst/tmpl/.cvsignore:
22755 * docs/gst/tmpl/gstpipeline.sgml:
22756 * docs/gst/tmpl/gstplugin.sgml:
22757 * gst/gstpipeline.c:
22760 inlined the last two docs files
22761 removed the tmpl directory from cvs (no more conflicts here!)
22763 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22765 * docs/gst/gstreamer-sections.txt:
22766 * docs/gst/tmpl/.cvsignore:
22767 * docs/gst/tmpl/gstpad.sgml:
22768 * docs/gst/tmpl/gstpadtemplate.sgml:
22770 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22771 (gst_pad_finalize), (gst_pad_set_pad_template):
22773 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22774 (gst_pad_template_class_init), (gst_pad_template_init),
22775 (gst_pad_template_dispose), (name_is_valid),
22776 (gst_static_pad_template_get), (gst_pad_template_new),
22777 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22778 (gst_pad_template_pad_created):
22779 * gst/gstpadtemplate.h:
22780 inlined two more docs
22781 factored gstpadtemplate out of gstpad
22783 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22785 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22786 (test_children_state_change_order_semi_sink):
22787 Fix test case: we can't rely on a fixed state change order when
22788 going from READY => PAUSED because the sink might commit its
22789 new state first when the first buffer created by the source
22790 reaches the sink before the source has finished its change state.
22791 (Test case still fails at times, see #316856, comment 5 onwards)
22793 2005-09-24 Wim Taymans <wim@fluendo.com>
22795 * docs/design/part-events.txt:
22796 * docs/design/part-gstbus.txt:
22797 * docs/design/part-gstpipeline.txt:
22798 * docs/design/part-messages.txt:
22799 * docs/design/part-overview.txt:
22800 * docs/design/part-segments.txt:
22804 * gst/gstelement.c:
22807 * gst/gstiterator.c:
22808 Various documentation updates.
22810 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22813 Well, that's embarassing. Luckily we weren't using
22814 GST_CLOCK_DIFF anywhere.
22816 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22818 * common/gtk-doc.mak:
22819 don't fail on building XML, FC4 slave shows a bunch of doc
22820 missing bits that I don't get
22822 * gst/gstpipeline.c:
22823 * gst/gststructure.c:
22826 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22828 * docs/design/part-gstbin.txt:
22829 * docs/design/part-gstbus.txt:
22831 Add blurb about how the bus goes into flushing mode and
22832 drops all messages when its bin goes from READY into NULL
22835 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22837 * docs/gst/gstreamer-sections.txt:
22838 * gst/gststructure.c: (gst_structure_get_clock_time):
22839 * gst/gststructure.h:
22840 add a method to get a GstClockTime out of a structure
22842 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22844 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22845 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22846 Added test to check state change order in bins (can still be made
22847 to fail here under heavy disk load; bails out with 'Push on pad
22848 fakesink:sink0, but it was not activated in push mode').
22850 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22851 Fix state change order when there is only a semi sink (#316856)
22853 * gst/gstbus.c: (gst_bus_class_init):
22854 Use _class_peek_parent(), not _class_ref(); fix docs to say
22855 'default main context' instead of 'mainloop' where that is
22858 * gst/gstelement.c: (gst_element_commit_state),
22859 (gst_element_set_state):
22860 Fix typos in debug messages
22862 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22865 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22866 * gst/gstpluginfeature.c:
22868 various doc updates
22869 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22870 change an assert into an error until it gets fixed properly
22872 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22874 * docs/gst/gstreamer-sections.txt:
22875 * docs/gst/tmpl/.cvsignore:
22876 * docs/gst/tmpl/gstelement.sgml:
22877 * docs/gst/tmpl/gstinfo.sgml:
22878 * docs/gst/tmpl/gstobject.sgml:
22879 * gst/gstelement.c:
22880 * gst/gstelement.h:
22883 * gst/gstobject.c: (gst_object_class_init):
22885 inlined 3 more biiiig doc files and added some missing docs on the fly
22887 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22889 * check/gst/.cvsignore:
22890 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22891 * gst/gstregistryxml.c: (load_plugin),
22892 (gst_registry_xml_save_plugin):
22893 put back source in registry. add checks for find_plugin.
22894 * testsuite/states/bin.c: (assert_state), (empty_bin),
22895 (test_adding_one_element), (main):
22896 * testsuite/states/locked.c: (main):
22897 some compile/run fixes
22899 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22901 * check/gst/gstvalue.c: (GST_START_TEST):
22902 fix leaks in the test itself
22904 2005-09-22 Wim Taymans <wim@fluendo.com>
22906 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22907 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22908 (gst_base_sink_query):
22909 Prepare for more accurate position reporting and query
22912 * gst/gstelement.c: (gst_element_send_event),
22913 (gst_element_set_state):
22916 2005-09-22 Wim Taymans <wim@fluendo.com>
22918 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22919 (gst_query_parse_segment):
22921 More documentation.
22922 Add segment query for future use.
22924 2005-09-22 Wim Taymans <wim@fluendo.com>
22926 * gst/gstbin.c: (gst_bin_add_func):
22927 Some more debug info.
22929 * gst/gstelement.c: (gst_element_send_event):
22930 Simplify send_event
22932 * gst/gstelement.h:
22933 Don't know how flags got broken.
22938 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22940 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22941 Add simplistic test suite for GST_TYPE_DATE serialisation and
22944 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22946 * docs/gst/gstreamer-sections.txt:
22947 * gst/gststructure.c: (gst_structure_set_valist),
22948 (gst_structure_get_date):
22949 * gst/gststructure.h:
22950 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22951 (gst_date_copy), (gst_value_compare_date),
22952 (gst_value_serialize_date), (gst_value_deserialize_date),
22953 (gst_value_transform_date_string),
22954 (gst_value_transform_string_date), (_gst_value_initialize):
22956 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22957 bunch of utility functions along with a hack that checks that
22958 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22959 is required. Part of the grand scheme in #170777.
22961 2005-09-22 Andy Wingo <wingo@pobox.com>
22963 * gst/gstconfig.h.in: Psych out gtk-doc.
22965 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22967 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22969 * tools/gst-inspect.c (print_element_list): Plug some
22970 inconsequential leaks.
22972 * gst/gstregistry.c (gst_registry_get_default): Doc.
22974 * check/gst/gstplugin.c:
22975 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22976 * gst/gstelementfactory.c (gst_element_factory_create):
22977 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22980 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22981 (gst_plugin_feature_load): Doc, don't eat refs.
22983 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22984 (gst_plugin_list_free): Doc.
22985 (gst_plugin_load_file): Doc updates.
22987 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22988 accessors returning refcounted objects, return a ref.
22990 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22991 accessor for caps. IDEMPOTENCE. Oh yes.
22993 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22995 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22997 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22998 (_gst_debug_register_funcptr):
22999 Add mutex to serialise access to the hash table with
23000 the function pointer => function name string mapping;
23001 make that hash table static scope (#316809).
23003 * gst/registries/.cvsignore:
23004 Remove left-over file.
23006 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23008 * docs/pwg/appendix-porting.xml:
23009 And something about newsegment events and caps-on-buffers to
23010 the porting guide (feel free to improve).
23012 2005-09-21 Andy Wingo <wingo@pobox.com>
23014 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23015 data and event probes on the same pad.
23016 (test_buffer_probe_once): Test that removing probes from within
23017 the probe functions works.
23019 2005-09-21 Andy Wingo <wingo@pobox.com>
23021 * check/gst/gstutils.c: New file.
23022 (test_buffer_probe_n_times): A simple buffer probe test. More to
23025 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23026 have-data::buffer, not have-data.
23027 (gst_pad_add_event_probe): Likewise for have-data::event.
23028 (gst_pad_add_data_probe): More docs. The part about 'resolving the
23029 peer' isn't quite right yet though.
23030 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
23031 (gst_pad_remove_data_probe): Change to take the guint handler_id
23032 as their arg, not the function+data, which is more glib-like.
23034 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23035 the signal emission to indicate if the data is a buffer or an
23037 (gst_pad_get_type): Initialize buffer and event quarks.
23038 (gst_pad_class_init): have-data is now a detailed signal, yes it
23041 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23043 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23044 * gst/gstutils.c: (gst_util_set_value_from_string),
23045 (gst_util_set_object_arg):
23046 Don't put functional code in g_return_if_fail() or
23047 g_return_val_if_fail() statements, otherwise things will
23048 break when G_DISABLE_CHECKS is defined during compilation.
23050 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23052 * docs/gst/tmpl/.cvsignore:
23053 * docs/gst/tmpl/gstvalue.sgml:
23056 inlied another one and added some obvious docs
23058 2005-09-21 Wim Taymans <wim@fluendo.com>
23060 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23061 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23062 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23063 (gst_fdsrc_get_property), (gst_fdsrc_create):
23064 * gst/elements/gstfdsrc.h:
23065 Properly implement fdsrc. Removed signal and timeout,
23066 better implemented somewhere else.
23068 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23070 * docs/gst/tmpl/.cvsignore:
23071 * docs/gst/tmpl/gstimplementsinterface.sgml:
23072 * gst/gstinterface.c:
23075 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23077 * docs/gst/gstreamer-sections.txt:
23078 * docs/gst/tmpl/.cvsignore:
23079 * docs/gst/tmpl/gstenumtypes.sgml:
23080 remove obsolete doc file
23082 2005-09-21 David Schleef <ds@schleef.org>
23084 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23085 little beer, fix a little leak.
23087 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23089 * docs/gst/gstreamer-docs.sgml:
23090 * docs/gst/gstreamer-sections.txt:
23091 * docs/gst/tmpl/.cvsignore:
23095 * gst/gstelement.h:
23096 * gst/gstindex.c: (gst_index_class_init):
23098 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23099 (gst_index_factory_class_init), (gst_index_factory_init),
23100 (gst_index_factory_finalize), (gst_index_factory_new),
23101 (gst_index_factory_destroy), (gst_index_factory_find),
23102 (gst_index_factory_create), (gst_index_factory_make):
23103 * gst/gstindexfactory.h:
23104 * gst/gstpluginfeature.c:
23105 * gst/gstpluginfeature.h:
23106 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23107 more docs inlined, splitted gstindex.{c,h}
23109 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23111 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23114 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23116 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23117 Set sync to FALSE by default.
23119 2005-09-20 Wim Taymans <wim@fluendo.com>
23121 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23122 (gst_base_sink_init):
23123 Make sync property settable from subclass.
23125 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23126 (gst_fake_sink_change_state):
23127 Set sync to FALSE by default.
23129 2005-09-20 Wim Taymans <wim@fluendo.com>
23131 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23132 * tools/gst-launch.c: (main):
23133 The timeout handler should have lower priority than the source
23134 so we don't timeout before popping a message with 0 timeout.
23135 Dump error messages after failed state change.
23137 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23139 * tools/gst-inspect.c: (print_element_properties_info):
23142 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23144 * check/gst/gstevent.c:
23145 * gst/elements/gstfakesink.c:
23146 * gst/elements/gstfakesink.h:
23147 remove the sync property from fakesink.
23148 has the side effect of setting sync TRUE
23149 for fakesink, which is a change. Anyone who knows how
23150 to fix this nicely in a GObject-y way, feel free.
23152 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23154 * docs/gst/gstreamer-docs.sgml:
23155 remove probe refsection
23157 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23159 * check/Makefile.am:
23160 disable valgrinding the controller test again
23161 * docs/gst/gstreamer-sections.txt:
23162 update for api-changes
23164 2005-09-20 Wim Taymans <wim@fluendo.com>
23166 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23167 (gst_base_sink_set_property), (gst_base_sink_get_property),
23168 (gst_base_sink_do_sync):
23169 * gst/base/gstbasesink.h:
23170 Added sync property to basesink to disable clock sync.
23172 2005-09-20 Andy Wingo <wingo@pobox.com>
23174 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23175 eating the caller's refcount.
23177 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23178 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23181 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23182 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23183 of GLib 2.8 public, so we can know which refcount to check in
23186 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23187 (gst_object_init): Only set the gst refcount if we're going ahead
23188 with the refcount hack.
23190 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23192 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23193 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23194 more leaks plumbed, added more debug-logging
23198 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23200 * gst/gstmessage.c:
23201 remove include of gstmemchunk.h
23203 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23205 * gst/gstclock.c: (_gst_clock_id_free):
23206 Commit from the Political Party For More Atomic CVS Commits,
23207 so that people don't waste too much of their day fishing
23208 out obvious leaks out of massive commits.
23209 Oh, and fix a pretty damn obvious leak in the memchunk
23212 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23214 * check/Makefile.am:
23215 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23216 plug mem-leak, re-add to valgrindable tests
23218 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23221 unbreak the build for those who have chronic arthritis
23222 and typing "make check" is just too taxing on the hands
23224 2005-09-20 Andy Wingo <wingo@pobox.com>
23226 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23227 really want it out, you should fix plugins at the same time.
23229 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23232 * docs/gst/gstreamer-sections.txt:
23234 added missing symbols to api docs
23235 disable ref-count hack if we have glib >= 2.8
23237 2005-09-19 David Schleef <ds@schleef.org>
23239 * docs/gst/Makefile.am: Ignore a few more internal headers
23240 * docs/gst/gstreamer-docs.sgml: Remove old sections
23241 * docs/gst/gstreamer-sections.txt: Remove old sections
23242 * docs/gst/tmpl/gstobject.sgml: update
23243 * docs/gst/tmpl/gstplugin.sgml: update
23244 * docs/gst/tmpl/gstpluginfeature.sgml: update
23245 * docs/random/ds/0.9-suggested-changes: update.
23246 * gst/Makefile.am: remove memchunk and trashstack, since they're
23248 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23249 * gst/gst.h: don't include some headers
23250 * gst/gstchildproxy.c: add gstmarshal.h
23251 * gst/gstclock.c: Don't use memchunks
23252 * gst/gstminiobject.c: Add some docs
23253 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23254 * gst/gstobject.h: same
23255 * gst/gstplugin.c: include gstmacros.h
23256 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23257 * gst/gstquery.c: don't use memchunks
23258 * gst/gstregistry.c: rename gst_registry_deinit()
23259 * gst/gstregistry.h: same
23261 2005-09-19 David Schleef <ds@schleef.org>
23263 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23264 * docs/libs/gstreamer-libs-sections.txt:
23265 * docs/libs/tmpl/gstgetbits.sgml:
23266 * docs/libs/tmpl/gstputbits.sgml:
23268 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23270 * win32/gstenumtypes.c:
23271 * win32/gstenumtypes.h:
23274 2005-09-19 Wim Taymans <wim@fluendo.com>
23276 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23277 Automatically PAUSE and RESUME a pipeline when a flushing seek
23280 2005-09-19 Andy Wingo <wingo@pobox.com>
23282 * gst/gstregistry.h: Spacing fixen.
23284 2005-09-19 Wim Taymans <wim@fluendo.com>
23286 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23287 Handle state change failure more correctly.
23289 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23291 * check/Makefile.am:
23292 * check/pipelines/cleanup.c: (run_pipeline):
23293 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23295 enable cleanup again after fixing the leak
23297 some more info on docs
23299 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23301 * check/Makefile.am:
23302 re-enable tests now that leaks are plugged
23304 * check/gst/gstbin.c:
23305 * check/gst/gstpipeline.c:
23306 add some more tests while fixing leaks
23307 * common/check.mak:
23308 make sure binaries are uptodate when valgrinding/gdbing
23310 * gst/gstelementfactory.c:
23311 remove a ref too many, and add a FIXME for when we get
23312 round to disposing of classes
23314 fix the refcounting when loading a plugin from a file and
23315 the code pretends that the pointer is the same even though
23316 of course it can change
23317 * gst/gstpluginfeature.c:
23318 unref plugins marked cached (a bit confusing as a name)
23319 as the docs state should be done
23320 various doc additions to explain refcounting
23321 * gst/gstregistry.c:
23322 * gst/gstregistryxml.c:
23325 2005-09-19 Wim Taymans <wim@fluendo.com>
23327 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23328 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23329 (send_messages), (GST_START_TEST), (gstbus_suite):
23330 * check/gst/gstpipeline.c: (GST_START_TEST):
23331 * check/pipelines/cleanup.c: (run_pipeline):
23332 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23334 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23335 (gst_bus_source_check), (gst_bus_source_dispatch),
23336 (gst_bus_create_watch), (gst_bus_add_watch_full),
23337 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23339 * tools/gst-launch.c: (event_loop):
23340 * tools/gst-md5sum.c: (event_loop):
23341 GstBusHandler -> GstBusFunc, return value has the same meaning as
23342 any other GSource (FALSE == remove source).
23343 _add_watch() and _add_watch_full() now take a MessageType mask to
23344 only handle specific types of messages.
23345 _poll() returns the GstMessage instead of the message type to avoid
23347 _have_pending() takes a MessageType mask now too.
23348 Added testsuite for multiple bus watches.
23349 Fix testsuites and applications for new bus API.
23351 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23353 * check/Makefile.am:
23354 mark a bunch of the tests as to fix until we fix them
23356 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23358 * common/check.mak:
23359 use GST_PLUGIN settings for valgrind tests as well, so we're
23360 valgrinding the correct thing
23361 * gst/gst.c: (init_post):
23364 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23366 * gst/gst.c: (init_post), (gst_deinit):
23367 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23368 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23369 * gst/gstindex.c: (gst_index_factory_class_init),
23370 (gst_index_factory_finalize):
23371 * gst/gstobject.c: (gst_object_dispose):
23372 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23373 (gst_plugin_load_file), (gst_plugin_desc_free):
23374 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23375 (gst_plugin_feature_finalize):
23376 * gst/gstregistry.c: (gst_registry_class_init),
23377 (gst_registry_init), (gst_registry_finalize),
23378 (gst_registry_get_default), (gst_registry_deinit):
23379 * gst/gstregistry.h:
23380 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23381 various cleanups and memleak plugging. make valgrind is happy now.
23383 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23385 * common/check.mak:
23386 add a check-valgrind target
23388 2005-09-18 David Schleef <ds@schleef.org>
23390 * tools/gst-inspect.c: Revert the GOption code.
23392 2005-09-17 David Schleef <ds@schleef.org>
23394 * check/Makefile.am: Fix environment variables.
23395 * check/gst/gstplugin.c: Fix for API changes.
23396 * tools/gst-inspect.c: Fix for API changes.
23397 * tools/gst-xmlinspect.c: Fix for API changes.
23398 * gst/gstelementfactory.c:
23401 * gst/gstpluginfeature.c:
23402 * gst/gstpluginfeature.h:
23403 * gst/gstregistry.c:
23404 * gst/gstregistry.h:
23405 * gst/gstregistryxml.c:
23406 * gst/gsttypefind.c:
23407 * gst/gsttypefindfactory.c:
23408 * gst/indexers/gstfileindex.c:
23409 * gst/indexers/gstmemindex.c:
23410 * gst/schedulers/Makefile.am:
23411 Change registry to keep track of both plugins and features,
23412 removing the feature tracking from plugins themselves.
23414 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23416 * check/Makefile.am:
23417 * tools/gst-register.1.in:
23418 remove gst-register
23420 2005-09-15 David Schleef <ds@schleef.org>
23422 * check/gst/gstplugin.c:
23423 * gst/gstelementfactory.c:
23425 * gst/gstpluginfeature.c:
23426 * gst/gstregistry.c:
23427 Getting tired of debugging. Disabled all the unreffing of
23428 plugins and features, which fixes the segfaults, but of
23429 course leaks like crazy. At least playbin works.
23431 2005-09-15 David Schleef <ds@schleef.org>
23433 * check/gst/gstplugin.c: (register_check_elements),
23434 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23436 * gst/elements/gsttypefindelement.c: Fix refcounting.
23437 * gst/gsttypefind.c:
23438 * gst/gsttypefindfactory.c:
23439 * gst/gsttypefindfactory.h:
23441 2005-09-15 David Schleef <ds@schleef.org>
23443 * gst/gstindex.c: get refcounting correct.
23444 * gst/gstregistry.c: Handle the case where a feature/plugin is
23447 2005-09-15 David Schleef <ds@schleef.org>
23449 * check/Makefile.am:
23450 * check/gst/gstplugin.c: Add test
23451 * gst/gstplugin.c: Fix problems noticed by testsuite
23453 * gst/gstregistry.c:
23454 * gst/gstregistry.h:
23456 2005-09-15 David Schleef <ds@schleef.org>
23458 * gst/gstplugin.c: Implement semi-decent recounting and locking
23459 in plugins and plugin features.
23461 * gst/gstpluginfeature.c:
23462 * gst/gstpluginfeature.h:
23463 * gst/gstregistry.c:
23465 2005-09-15 Michael Smith <msmith@fluendo.com>
23467 * gst/gstregistry.c: (gst_registry_get_feature_list):
23468 Implement this. Makes oggdemux work; decodebin still broken.
23470 2005-09-14 David Schleef <ds@schleef.org>
23472 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23474 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23475 * gst/check/Makefile.am:
23476 * libs/gst/controller/Makefile.am:
23477 * libs/gst/dataprotocol/Makefile.am:
23479 2005-09-14 David Schleef <ds@schleef.org>
23481 * configure.ac: Remove getbits library. Nothing uses it, and
23482 it should be in something like liboil if someone did want
23484 * libs/gst/Makefile.am:
23485 * libs/gst/getbits/Makefile.am:
23486 * libs/gst/getbits/gbtest.c:
23487 * libs/gst/getbits/getbits.c:
23488 * libs/gst/getbits/getbits.h:
23489 * libs/gst/getbits/gstgetbits_generic.c:
23490 * libs/gst/getbits/gstgetbits_i386.s:
23491 * libs/gst/getbits/gstgetbits_inl.h:
23493 2005-09-14 David Schleef <ds@schleef.org>
23495 * gst/Makefile.am: Dist glib-compat.h
23497 2005-09-14 David Schleef <ds@schleef.org>
23499 * configure.ac: Remove gst/registries, since it's no longer used.
23500 * gst/registries/Makefile.am:
23501 * gst/registries/gstlibxmlregistry.c:
23502 * gst/registries/gstlibxmlregistry.h:
23503 * gst/registries/gstxmlregistry.c:
23504 * gst/registries/gstxmlregistry.h:
23505 * gst/registries/registrytest.c:
23507 2005-09-14 David Schleef <ds@schleef.org>
23509 * gst/glib-compat.h:
23510 * gst/gstregistryxml.c:
23511 Convergence is near. Seriously.
23513 2005-09-14 David Schleef <ds@schleef.org>
23515 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23516 * gst/glib-compat.h:
23517 Attempt #4 to appease the buildbots.
23519 2005-09-14 David Schleef <ds@schleef.org>
23521 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23524 2005-09-14 David Schleef <ds@schleef.org>
23526 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23529 2005-09-14 David Schleef <ds@schleef.org>
23531 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23534 2005-09-14 David Schleef <ds@schleef.org>
23536 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23537 * gst/glib-compat.h: Add some functions that are in newer versions
23538 of glib than we care to require.
23539 * gst/gstregistryxml.c: Use them.
23541 2005-09-14 David Schleef <ds@schleef.org>
23543 * po/POTFILES.in: remove gst-register.c
23545 2005-09-14 David Schleef <ds@schleef.org>
23547 * docs/gst/gstreamer-docs.sgml:
23548 * docs/gst/gstreamer-sections.txt:
23549 * docs/gst/gstreamer.types:
23550 * docs/gst/tmpl/gstelement.sgml:
23551 * docs/gst/tmpl/gstplugin.sgml:
23552 * docs/gst/tmpl/gstpluginfeature.sgml:
23553 Documentation updates for registry changes.
23555 2005-09-14 David Schleef <ds@schleef.org>
23557 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23558 because we don't require glib-2.8.
23560 2005-09-14 David Schleef <ds@schleef.org>
23562 * gst/gstregistryxml.c: Added. Essentially moved out of the
23563 registries directory.
23565 2005-09-14 David Schleef <ds@schleef.org>
23567 * check/Makefile.am:
23568 * check/generic/states.c:
23572 * gst/gst_private.h:
23573 * gst/gstelementfactory.c:
23578 * gst/gstpluginfeature.c:
23579 * gst/gstpluginfeature.h:
23580 * gst/gstregistry.c:
23581 * gst/gstregistry.h:
23582 * gst/gstregistrypool.c: remove
23583 * gst/gstregistrypool.h: remove
23584 * gst/gsttypefind.c:
23585 * gst/gsttypefindfactory.c:
23587 * tools/Makefile.am:
23588 * tools/gst-compprep.c:
23589 * tools/gst-inspect.c:
23590 * tools/gst-register.c: remove
23591 * tools/gst-xmlinspect.c:
23592 Registry rewrite. Changes registry from being a file created
23593 by a tool into a simple cache file created automatically by
23594 libgstreamer. Removed gst-register (because it's no longer
23595 needed). Remove registry pools, because we only have one
23596 registry implementation (XML). Fix up other subsystems as
23599 2005-09-13 Michael Smith <msmith@fluendo.com>
23601 * gst/gstconfig.h.in:
23602 Don't Use windows linking attributes for MinGW. Fixes #316157
23604 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23606 * gst/gstutils.c: (set_state_async_thread_func),
23607 (gst_element_set_state_async):
23608 Apparently people think it's better if this function doesn't
23609 try to set the state to whatever state was asked for on the first
23610 call to this function for any object. Seriously.
23612 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23614 * check/gst/gstpipeline.c: (GST_START_TEST):
23615 * docs/gst/gstreamer-sections.txt:
23616 * gst/gstutils.c: (set_state_async_thread_func),
23617 (gst_element_set_state_async):
23619 add a "gst_element_set_state_async" method that
23620 sets the state and starts a thread to make sure the state
23621 change completes as best as it can
23623 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23625 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23626 codify design+behaviour in testsuite after discussion
23628 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23630 * docs/gst/tmpl/gstelement.sgml:
23631 * docs/manual/appendix-quotes.xml:
23633 * gst/gstelement.c: (gst_element_set_state):
23636 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23638 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23639 (gst_base_transform_prepare_output_buf),
23640 (gst_base_transform_handle_buffer):
23641 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23642 (gst_capsfilter_prepare_buf):
23643 Remove the requirement for sub-classes to call the parent
23644 implementation of prepare_output_buffer with a wrapper function.
23646 * gst/gsttaglist.h:
23647 * gst/gsttagsetter.h:
23648 Fix #define wrapper
23650 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23652 * docs/gst/gstreamer-sections.txt:
23655 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23657 * docs/gst/gstreamer-sections.txt:
23658 * docs/gst/tmpl/gstelement.sgml:
23659 * docs/gst/tmpl/gstplugin.sgml:
23660 * gst/gstminiobject.c:
23662 docs now stop throwing warnings
23664 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23666 * docs/gst/gstreamer-sections.txt:
23667 * docs/gst/gstreamer.types:
23668 * docs/gst/tmpl/gstpad.sgml:
23669 * docs/gst/tmpl/gsttypes.sgml:
23670 * gst/base/gstadapter.h:
23671 * gst/base/gstbasesink.h:
23672 * gst/base/gstbasesrc.h:
23678 * gst/gstelement.h:
23680 * gst/gstmessage.h:
23682 * gst/gststructure.c:
23683 * gst/registries/gstlibxmlregistry.h:
23684 various documentation fixes
23686 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23688 * docs/gst/gstreamer-sections.txt:
23689 * docs/gst/tmpl/gstvalue.sgml:
23690 rearrange gstvalue section
23691 * gst/gstutils.c: (gst_element_state_get_name):
23693 * gst/gstvalue.c: (_gst_value_initialize):
23697 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23699 * check/gst-libs/controller.c:
23700 Header include fix.
23701 * gst/base/gstbasetransform.c:
23702 (gst_base_transform_default_prepare_buf),
23703 (gst_base_transform_handle_buffer):
23704 * gst/base/gstbasetransform.h:
23705 Some more basetransform changes and fixes to enable sub-classes
23706 that modify buffer metadata only.
23707 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23708 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23709 (gst_capsfilter_prepare_buf):
23710 If the output pad has fixed allowed caps and input buffers
23711 don't have any, set the fixed caps on outgoing buffers.
23713 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23714 * check/elements/identity.c: (GST_START_TEST):
23715 Make the error a little clearer when the test fails because
23716 identity made a copy of the buffer.
23717 * docs/gst/gstreamer-sections.txt:
23718 New symbols in gstbasetransform.h
23719 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23720 (gst_base_transform_init), (gst_base_transform_transform_size),
23721 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23722 (gst_base_transform_default_prepare_buf),
23723 (gst_base_transform_get_unit_size),
23724 (gst_base_transform_buffer_alloc),
23725 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23726 (gst_base_transform_change_state),
23727 (gst_base_transform_set_passthrough),
23728 (gst_base_transform_set_in_place),
23729 (gst_base_transform_is_in_place):
23730 * gst/base/gstbasetransform.h:
23731 Change BaseTransform to separate in_place operate from same_caps
23732 output. in_place implies that the element can perform the transform
23733 on incoming buffers in-place, even if the caps on the output are
23735 Sub-class elements can now implement special buffer allocation
23736 methods for outgoing buffers if they wish to.
23737 Big documentation addition.
23738 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23739 * gst/elements/gstelements.c:
23740 Changes for basetransform modifications.
23741 * gst/elements/Makefile.am:
23742 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23743 Compile fix. Extra debug output.
23745 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23747 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23749 add tests for valid pad naming
23750 * gst/check/gstcheck.c: (gst_check_log_message_func),
23751 (gst_check_log_critical_func):
23753 remove printing of code, it is fragile when the code contains
23754 % and the line number is enough info
23755 * gst/check/gstcheck.h:
23756 * gst/gstpad.c: (gst_pad_template_new):
23759 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23762 say what CHECK flags we use
23763 * docs/libs/gstreamer-libs.types:
23764 * libs/gst/controller/Makefile.am:
23765 * libs/gst/controller/gst-controller.c:
23766 * libs/gst/controller/gst-controller.h:
23767 * libs/gst/controller/gst-helper.c:
23768 * libs/gst/controller/gst-interpolation.c:
23769 * libs/gst/controller/gstcontroller.c:
23770 * libs/gst/controller/gsthelper.c:
23771 * libs/gst/controller/gstinterpolation.c:
23772 * tools/gst-inspect.c: (print_plugin_info):
23773 we don't use dashes in header names
23775 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23777 * check/Makefile.am:
23778 * check/gst/.cvsignore:
23779 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23780 (gst_pipeline_suite), (main):
23781 adding a test for pipelines and state changes
23782 * gst/gstutils.c: (get_state_func):
23784 * gstreamer.spec.in:
23787 2005-09-08 Michael Smith <msmith@fluendo.com>
23789 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23790 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23791 (gst_file_src_is_seekable), (gst_file_src_get_size),
23792 (gst_file_src_start):
23793 * gst/elements/gstfilesrc.h:
23794 Various fixes for unseekable, unmmapable, and non-normal files, so
23795 that fallback to read() rather than mmap() works.
23796 * gst/gstevent.c: (gst_event_new_newsegment):
23797 Allow newsegment events with segment_start == segment_end, as will
23798 correctly happen if you use filesrc on a zero-size file, for
23801 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23803 * gst/gstplugin.c: (gst_plugin_load_file):
23804 Call g_module_close when we don't load the module
23806 * gst/registries/gstlibxmlregistry.c:
23807 (gst_xml_registry_get_property):
23808 Port leak fix from 0.8
23810 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23812 * docs/gst/gstreamer-docs.sgml:
23813 * docs/gst/tmpl/.cvsignore:
23814 * docs/gst/tmpl/gsttrace.sgml:
23815 * docs/gst/tmpl/gsttrashstack.sgml:
23818 * gst/gstelement.h:
23820 * gst/gstmessage.c:
23821 * gst/gstmessage.h:
23824 * gst/gsttaginterface.c:
23825 * gst/gsttaginterface.h:
23826 * gst/gsttaglist.c:
23827 * gst/gsttaglist.h:
23828 * gst/gsttagsetter.c:
23829 * gst/gsttagsetter.h:
23832 * gst/gsttrashstack.c:
23833 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23834 inlined docs for gsttrace, gsttrashstack
23836 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23839 * gst/elements/gstbufferstore.h:
23840 * gst/elements/gsttypefindelement.c:
23841 * gst/elements/gsttypefindelement.h:
23843 * gst/gsttypefind.c:
23844 * gst/gsttypefind.h:
23845 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23846 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23847 (gst_type_find_factory_dispose),
23848 (gst_type_find_factory_unload_thyself),
23849 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23850 (gst_type_find_factory_get_caps),
23851 (gst_type_find_factory_get_extensions),
23852 (gst_type_find_factory_call_function):
23853 * gst/gsttypefindfactory.h:
23854 * gst/registries/gstlibxmlregistry.c:
23855 * gst/registries/gstxmlregistry.c:
23856 splitted gsttypefind into gsttypefind, gsttypefindfactory
23858 2005-09-07 Andy Wingo <wingo@pobox.com>
23860 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23861 condition whereby the pad's task function is entered before the
23862 pad_mode variable was set.
23864 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23866 * gst/gstpad.c: (gst_pad_alloc_buffer):
23867 Catch misbehaving pad_alloc functions that don't
23868 set up caps and do it for them.
23870 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23872 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23873 test for pipe!=NULL
23874 * docs/gst/tmpl/.cvsignore:
23875 * docs/gst/tmpl/gstmemchunk.sgml:
23876 * docs/gst/tmpl/gstparse.sgml:
23877 * docs/gst/tmpl/gsttaglist.sgml:
23878 * docs/gst/tmpl/gsttagsetter.sgml:
23879 * docs/gst/tmpl/gsttypefind.sgml:
23880 * docs/gst/tmpl/gsttypefindfactory.sgml:
23881 * gst/gstmemchunk.c:
23884 * gst/gsttaginterface.c:
23885 * gst/gsttypefind.c:
23886 * gst/gsttypefind.h:
23889 === release 0.9.2 ===
23891 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23896 releasing 0.9.2, "South"
23898 2005-09-05 Andy Wingo <wingo@pobox.com>
23900 * gst/registries/gstxmlregistry.h:
23901 * gst/registries/gstxmlregistry.c: Um... resurrect...
23903 * gst/registries/gstxmlregistry.h:
23904 * gst/registries/gstxmlregistry.c: and update to newer API.
23905 Incidentally they should be a bit faster now that they don't have
23908 2005-09-05 Andy Wingo <wingo@pobox.com>
23910 * gst/registries/gstxmlregistry.h:
23911 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23912 replaced by the libxml registry a while back
23914 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23916 * docs/gst/tmpl/gstplugin.sgml:
23917 * gst/elements/gstelements.c:
23919 * gst/gstplugin.c: (gst_plugin_register_func),
23920 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23921 (gst_plugin_get_source):
23923 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23924 (gst_xml_registry_save_plugin):
23925 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23926 (gst_xml_registry_save_plugin):
23927 * tools/gst-inspect.c: (print_plugin_info):
23928 add a "source" plugin description field, to represent the source
23929 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23930 will set it to PACKAGE, which is automake's idea of the name of
23931 the source project.
23933 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23938 * docs/Makefile.am:
23939 * docs/faq/Makefile.am:
23940 * docs/gst/tmpl/gstelement.sgml:
23941 * docs/gst/tmpl/gsttypes.sgml:
23942 * docs/htmlinstall.mak:
23943 * docs/manual/Makefile.am:
23944 * docs/pwg/Makefile.am:
23945 reorganize doc build a little
23946 split out docbook and gtk-doc stuff
23947 have two separate --enable's and enable them through autogen
23948 but disable by default in configure (to be similar to other
23950 * gstreamer.spec.in:
23951 clean up docs install
23969 translation updates
23971 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23973 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23976 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23977 (gst_fake_sink_change_state):
23978 Make state change function thread-safe.
23980 * gst/gstpad.c: (gst_pad_alloc_buffer):
23981 Set offset on generic buffer allocated by fallback.
23983 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23985 * docs/gst/gstreamer-sections.txt:
23986 * docs/gst/tmpl/gstelement.sgml:
23988 * libs/gst/controller/gst-controller.c:
23989 (gst_controlled_property_set_interpolation_mode),
23990 (gst_controlled_property_new),
23991 (gst_controller_find_controlled_property):
23992 run the wingo-magic script against the docs
23994 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23996 * docs/gst/gstreamer-docs.sgml:
23997 * docs/gst/gstreamer-sections.txt:
23998 * docs/gst/tmpl/.cvsignore:
23999 * docs/gst/tmpl/gstelementdetails.sgml:
24000 * docs/gst/tmpl/gstelementfactory.sgml:
24003 * gst/gstelementfactory.c:
24004 * gst/gstelementfactory.h:
24005 merged elementdetails docs into elementfactory docs
24008 2005-09-02 Andy Wingo <wingo@pobox.com>
24010 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24011 consider this enum an enum and not a flags.
24013 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24015 * docs/gst/gstreamer-docs.sgml:
24016 * docs/gst/tmpl/.cvsignore:
24017 * docs/gst/tmpl/gstghostpad.sgml:
24018 * docs/gst/tmpl/gstiterator.sgml:
24019 * docs/gst/tmpl/gstmacros.sgml:
24020 * docs/gst/tmpl/gstrealpad.sgml:
24021 * docs/gst/tmpl/gstregistry.sgml:
24022 * docs/gst/tmpl/gstregistrypool.sgml:
24023 * docs/gst/tmpl/gststructure.sgml:
24024 * docs/gst/tmpl/gstsystemclock.sgml:
24025 * docs/gst/tmpl/gsttrace.sgml:
24026 * gst/gstghostpad.c:
24028 * gst/gstmemchunk.c:
24029 * gst/gstmemchunk.h:
24031 * gst/gstregistry.c:
24032 * gst/gstregistrypool.c:
24033 * gst/gststructure.c:
24034 * gst/gstsystemclock.c:
24037 2005-09-02 Andy Wingo <wingo@pobox.com>
24039 * gst/gstelement.h (GstState): Renamed from GstElementState,
24040 changed to be a normal enum instead of flags.
24041 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24042 munged to be GST_STATE_CHANGE_*.
24043 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24044 work with the new state representation.
24045 (GstStateChange): New enumeration of possible state transitions.
24046 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24047 (GstElementClass::change_state): Pass the GstStateChange along as
24048 an argument. Helps language bindings, so they don't have to use
24049 tricky lock-needing macros like GST_STATE_CHANGE ().
24051 * scripts/update-states (file): New script. Run it on a file to
24052 update it for state naming and API changes. Updates files in
24055 * All files updated for the new API.
24057 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
24059 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24060 * gst/gstutils.c: (gst_util_set_value_from_string),
24061 (gst_util_set_object_arg):
24062 fix a bunch of unchecked return values
24063 * tools/gst-complete.c: (main):
24064 * gstreamer.spec.in:
24067 2005-09-01 Wim Taymans <wim@fluendo.com>
24069 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24070 (gst_base_sink_event), (gst_base_sink_do_sync),
24071 (gst_base_sink_handle_event):
24072 * gst/base/gstbasesink.h:
24073 Handle newsegments more correctly.
24078 * gst/gstevent.c: (gst_event_new_newsegment):
24079 A newsegment cannot have a start_time of -1
24081 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24083 * win32/gstenumtypes.c:
24084 * win32/gstenumtypes.h:
24087 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24089 * libs/gst/controller/gst-controller.c:
24090 (gst_controlled_property_set_interpolation_mode),
24091 (gst_controlled_property_new):
24092 fixed boolean again
24094 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24096 * docs/faq/gst-uninstalled:
24101 * gst/gstutils.c: (gst_element_link_filtered):
24103 add gst_element_link_filtered
24105 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24107 * docs/gst/gstreamer-docs.sgml:
24108 * docs/gst/gstreamer-sections.txt:
24109 * docs/gst/tmpl/.cvsignore:
24110 * docs/gst/tmpl/gsterror.sgml:
24111 * docs/gst/tmpl/gstfilter.sgml:
24112 * docs/gst/tmpl/gsturihandler.sgml:
24113 * docs/gst/tmpl/gsturitype.sgml:
24114 * docs/gst/tmpl/gstutils.sgml:
24115 * docs/gst/tmpl/gstxml.sgml:
24120 * gst/gsturitype.c:
24123 inlined more docs, fixed double id-ref
24125 2005-08-31 Wim Taymans <wim@fluendo.com>
24127 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24128 (gst_base_transform_handle_buffer):
24129 Passthrough elements don't need the caps as they don't care.
24131 2005-08-31 Wim Taymans <wim@fluendo.com>
24133 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24134 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24135 Don't leak refcounts on buffers.
24137 2005-08-31 Wim Taymans <wim@fluendo.com>
24139 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24140 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24141 (gst_base_transform_chain), (gst_base_transform_change_state):
24142 * gst/base/gstbasetransform.h:
24143 Handle the case where we are not negotiated more gracefully.
24145 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24147 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24148 (gst_file_src_map_region):
24149 Set READONLY flag on mmap'ed buffers, otherwise
24150 gst_buffer_make_writable() won't work properly (#314708).
24152 2005-08-31 Wim Taymans <wim@fluendo.com>
24154 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24155 passthrough elements can even do inplace on non writable
24156 buffers (as they don't touch them).
24158 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24160 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24161 (gst_test_mono_source_set_property),
24162 (gst_test_mono_source_class_init), (GST_START_TEST),
24163 (gst_controller_suite):
24164 more tests (hehe I have the most)
24166 describe popping messages whenusing mulltiple sources
24167 * libs/gst/controller/gst-controller.c:
24168 (gst_controlled_property_set_interpolation_mode),
24169 (gst_controlled_property_new):
24170 * libs/gst/controller/gst-controller.h:
24171 * libs/gst/controller/gst-interpolation.c:
24172 implement boolean properties
24174 2005-08-31 Wim Taymans <wim@fluendo.com>
24176 * gst/gstminiobject.c: (gst_mini_object_ref):
24177 Cannot assert that the refcount has to be positive
24178 since a disposed object can be resurrected.
24180 2005-08-31 Wim Taymans <wim@fluendo.com>
24182 * gst/gstpad.c: (gst_pad_init):
24183 Revert change, need to first fix badly behaving
24186 2005-08-30 Wim Taymans <wim@fluendo.com>
24188 * check/elements/fakesrc.c: (setup_fakesrc):
24189 * check/elements/identity.c: (setup_identity):
24190 Activate pads before using them.
24192 2005-08-30 Wim Taymans <wim@fluendo.com>
24194 * gst/base/gstadapter.c: (gst_adapter_flush):
24195 Flushing out 0 bytes is ok for this function.
24197 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24198 no newsegment gives a warning and sets the start/stop to
24201 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24202 (gst_base_transform_set_passthrough):
24205 * gst/gstminiobject.c: (gst_mini_object_ref):
24206 Check refcount here too.
24208 * gst/gstpad.c: (gst_pad_init):
24209 Pads are initially flushing and refusing data.
24211 * gst/gstutils.c: (gst_element_link_pads_filtered):
24212 When adding a capsfilter element make sure it has the
24213 same state as the parent bin.
24215 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24217 * docs/gst/tmpl/.cvsignore:
24218 * docs/gst/tmpl/gstformat.sgml:
24219 * docs/gst/tmpl/gstversion.sgml:
24223 * gst/gstversion.h.in:
24224 more docs and two more inlined
24226 2005-08-30 Wim Taymans <wim@fluendo.com>
24228 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24229 Don't sync to clock.
24231 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24233 * docs/gst/gstreamer-sections.txt:
24234 ultral33t func10ns deserve to appear in the docs actually
24235 * docs/gst/tmpl/.cvsignore:
24236 * docs/gst/tmpl/gstcompat.sgml:
24237 * docs/gst/tmpl/gstconfig.sgml:
24238 * gst/check/gstcheck.c:
24240 * gst/gstconfig.h.in:
24243 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24245 * docs/gst/tmpl/.cvsignore:
24246 * docs/gst/tmpl/gstquery.sgml:
24247 * docs/gst/tmpl/gstutils.sgml:
24250 inlined and extended docs
24252 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24254 * check/gst-libs/controller.c: (GST_START_TEST),
24255 (gst_controller_suite):
24257 * docs/gst/tmpl/gstutils.sgml:
24258 * docs/libs/gstreamer-libs-sections.txt:
24259 * docs/libs/tmpl/gstdataprotocol.sgml:
24261 * examples/controller/audio-example.c: (main):
24262 controller example works now
24265 * tools/gst-inspect.c: (print_element_properties_info):
24266 show param spec flags
24268 2005-08-29 Andy Wingo <wingo@pobox.com>
24270 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24272 2005-08-28 Andy Wingo <wingo@pobox.com>
24274 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24275 as having two arguments instead of just one. Allows superclasses
24276 to access information on subclasses -- see the terrible for() loop
24277 in gtype.c:g_type_create_instance for the reason why. All callers
24280 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24282 * docs/design/part-messages.txt:
24284 * docs/gst/tmpl/.cvsignore:
24285 * docs/gst/tmpl/gstcaps.sgml:
24286 * docs/gst/tmpl/gstclock.sgml:
24292 * gst/gstmessage.c:
24293 added descriptions for bus and message
24294 inline caps and clock docs
24296 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24298 * gst/gstmessage.c:
24299 * gst/gstmessage.h:
24302 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24304 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24307 2005-08-26 Andy Wingo <wingo@pobox.com>
24309 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24310 element_set_state's return val.
24311 (test_2_elements): Add test that's been disabled for months.
24313 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24314 can-activate-pull properties.
24316 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24317 can-activate-pull properties. Implement is_seekable so fakesrc can
24318 operate in pull mode.
24320 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24322 (gst_base_sink_activate, gst_base_sink_activate_pull)
24323 (gst_base_sink_activate_push): Make activation mode choosing work.
24325 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24326 is right. Make pull mode work. Post an eos before pausing in pull
24328 (gst_base_sink_change_state): Pay attention to the core's
24329 change_state() return val.
24331 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24332 has-getrange properties. Cleanups.
24334 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24335 has_getrange and replace with can_activate_pull and
24338 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24339 locking comments. Remove has_loop, has_chain and replace with
24340 can_activate_pull and can_activate_push.
24342 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24345 * examples/Makefile.am:
24346 * examples/metadata/Makefile.am:
24347 * examples/metadata/read-metadata.c: (message_loop),
24348 (have_pad_handler), (make_pipeline), (print_tag), (main):
24349 Add metadata reading example that loops over a list of filenames,
24350 dumping any tags found.
24352 * gst/gstbus.c: (gst_bus_dispose):
24353 * gst/gstelement.c: (gst_element_dispose):
24354 Release a few potentially-held references in dispose.
24356 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24358 * docs/gst/tmpl/gstminiobject.sgml:
24359 do *not* add tmpl/*.sgml files to CVS!
24361 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24363 * libs/gst/bytestream/.cvsignore:
24364 * libs/gst/bytestream/Makefile.am:
24365 * libs/gst/bytestream/adapter.c:
24366 * libs/gst/bytestream/adapter.h:
24367 * libs/gst/bytestream/bytestream.c:
24368 * libs/gst/bytestream/bytestream.h:
24369 * libs/gst/bytestream/filepad.c:
24370 * libs/gst/bytestream/filepad.h:
24371 removing obsolete files
24373 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24375 * docs/gst/gstreamer-docs.sgml:
24376 * docs/libs/gstreamer-libs-docs.sgml:
24377 disabed additional index entries again, as this makes docs-gen just
24378 slow and they aren't useful yet
24379 * docs/libs/gstreamer-libs-sections.txt:
24380 little -section.txt cleanup for libs
24382 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24384 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24385 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24386 fix up some debugging
24387 (gst_base_transform_get_unit_size),
24388 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24389 (gst_base_transform_handle_buffer):
24390 * gst/base/gstbasetransform.h:
24391 handle and store timed NEWSEGMENT events so that subclasses that
24392 calculate time by counting samples have a segment_start time they
24393 need to add to their timestamps - see audioresample
24395 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24398 removed ';' from the end of macro defs
24399 * docs/gst/gstreamer-docs.sgml:
24400 * docs/gst/gstreamer-sections.txt:
24401 * docs/gst/tmpl/.cvsignore:
24403 * gst/gstelement.c: (gst_element_class_init),
24404 (gst_element_set_state), (activate_pads),
24405 (gst_element_save_thyself):
24406 * gst/gstevent.c: (gst_event_new_newsegment):
24408 * gst/gstiterator.c:
24409 * gst/gstiterator.h:
24412 * gst/gstutils.c: (gst_pad_query_convert):
24414 fixed parameter name mismatches between source, header and docs
24415 added some more docs, resolved the last batch of unused elements in
24416 docs (now someone needs to doc them)
24418 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24420 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24421 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24422 don't walk through the plugins backwards. Where is all this
24423 reversed logic coming from ?
24425 2005-08-25 Wim Taymans <wim@fluendo.com>
24427 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24428 (gst_base_transform_transform_size),
24429 (gst_base_transform_configure_caps),
24430 (gst_base_transform_get_unit_size),
24431 (gst_base_transform_buffer_alloc),
24432 (gst_base_transform_change_state):
24433 * gst/base/gstbasetransform.h:
24434 Cache caps unit_size.
24435 Make sure we cannot negotiate up and downstream at the
24438 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24440 * gst/gst.c: (init_pre), (init_post):
24441 register the installed plugin path after the env var
24442 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24443 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24444 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24445 directories, so the tests can prefer uninstalled over installed
24447 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24449 * gst/base/gstbasetransform.h:
24454 2005-08-25 Wim Taymans <wim@fluendo.com>
24456 * gst/gstbin.c: (bin_bus_handler):
24457 Be a bit more conservative about the posted message.
24459 * gst/gstbus.c: (gst_bus_post):
24460 Some cleanups, warn wrong return values.
24462 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24464 * check/gst/gstbin.c: (GST_START_TEST):
24465 * gst/gstbin.c: (bin_bus_handler):
24466 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24467 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24468 (gst_message_new_warning), (gst_message_new_tag),
24469 (gst_message_new_state_changed), (gst_message_new_segment_start),
24470 (gst_message_new_segment_done), (gst_message_new_custom):
24471 * gst/gstmessage.h:
24472 * tools/gst-launch.c: (event_loop):
24473 * tools/gst-md5sum.c: (event_loop):
24474 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24476 2005-08-25 Wim Taymans <wim@fluendo.com>
24478 * check/generic/states.c: (GST_START_TEST):
24479 Cleanup can be done at the end.
24481 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24482 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24483 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24484 Oh boy.. Thanks for finding this, Thomas.
24486 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24488 * docs/gst/gstreamer.types:
24489 added missing types
24491 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24493 * docs/gst/gstreamer-docs.sgml:
24494 * docs/gst/gstreamer-sections.txt:
24495 * docs/gst/tmpl/.cvsignore:
24497 * gst/gstiterator.c:
24499 * gst/registries/gstxmlregistry.h:
24500 added missing classes and symbols (123 more to go)
24501 removed removed symbols from section file
24502 fixed many doc-comments
24504 2005-08-24 Wim Taymans <wim@fluendo.com>
24506 * check/generic/states.c: (GST_START_TEST):
24507 Make sure all tasks are stopped.
24509 * check/gst/gstbin.c: (GST_START_TEST):
24510 Unref after usage for proper valgrinding.
24512 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24513 Really wait for the task to stop before destroying the
24516 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24517 (gst_queue_src_activate_push):
24518 Small cleanups. Don't stop the task when we did not start
24521 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24522 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24523 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24526 Protect the stream lock with the object lock.
24527 Disallow setting the stream lock when running.
24528 Add cleanup_all to wait for the threadpool to finish.
24529 Remove code to autoallocate a mutex if none was provided.
24530 Add _join() to wait for a task to stop.
24531 Protect the thread pool with a global lock.
24533 2005-08-24 Wim Taymans <wim@fluendo.com>
24535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24536 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24537 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24538 * gst/base/gstbasesink.h:
24539 Handle newsegment events correctly.
24540 Drop buffers out of the segment range.
24542 2005-08-22 Andy Wingo <wingo@pobox.com>
24544 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24545 macro, implements an interface and gstimplementsinterface for a
24548 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24550 * check/Makefile.am:
24551 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24552 add a test that does a bunch of state changes on elements
24553 needs some fixing for valgrind
24554 * check/states/sinks.c: (gst_object_suite):
24557 add prototype for gst_caps_is_equal_fixed
24559 * gst/gstregistrypool.c:
24562 2005-08-24 Andy Wingo <wingo@pobox.com>
24564 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24565 convert a negative value. Doesn't make much sense. Mostly this is
24566 here to force callers to ensure -1 maps to -1.
24568 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24570 * docs/pwg/advanced-types.xml:
24571 Well done to Michael for catching my deliberate introduction
24572 of this spelling mistake.
24573 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24574 * gst/gstelement.h:
24575 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24576 unlink pads before removing the element from the bin.
24578 2005-08-24 Andy Wingo <wingo@pobox.com>
24580 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24581 the same thing as GST_DEBUG=*:4.
24582 (parse_debug_level, parse_debug_category): New helper parsers.
24584 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24586 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24587 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24588 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24589 (gst_base_transform_buffer_alloc),
24590 (gst_base_transform_handle_buffer):
24591 use gboolean return values and pointers to size so we can use the
24592 full GST_BUFFER_SIZE range (guint) for buffer sizes
24593 use GstPadDirection for transform_caps
24594 * gst/base/gstbasetransform.h:
24595 rename get_size to get_unit_size since that's what it is
24596 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24597 use GstPadDirection for transform_caps
24598 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24600 cleanup and debugging
24602 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24604 * gst/gstelement.c: (gst_element_class_init),
24605 (gst_element_set_state), (activate_pads),
24606 (gst_element_save_thyself):
24607 * tools/gst-compprep.c: (main):
24608 * tools/gst-inspect.c: (print_element_properties_info):
24609 * tools/gst-xmlinspect.c: (print_element_properties):
24610 Fixed long standing mem-leak
24612 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24614 * check/gst/gstbin.c: (GST_START_TEST):
24615 * gst/gstbin.c: (bin_bus_handler):
24616 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24617 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24618 (gst_message_new_warning), (gst_message_new_tag),
24619 (gst_message_new_state_changed), (gst_message_new_segment_start),
24620 (gst_message_new_segment_done), (gst_message_new_custom):
24621 * gst/gstmessage.h:
24622 * tools/gst-launch.c: (event_loop):
24623 * tools/gst-md5sum.c: (event_loop):
24624 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24625 that applications can sensibly post custom messages with references
24626 to their own objects.
24628 2005-08-24 Andy Wingo <wingo@pobox.com>
24630 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24633 2005-08-24 Wim Taymans <wim@fluendo.com>
24635 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24636 (gst_base_transform_transform_caps),
24637 (gst_base_transform_transform_size),
24638 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24639 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24640 (gst_base_transform_handle_buffer):
24641 * gst/base/gstbasetransform.h:
24642 Many fixes and new features added by Thomas. Can now also do
24643 transforms with variable sizes and a custom fixate_caps function.
24645 2005-08-24 Wim Taymans <wim@fluendo.com>
24647 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24651 Cast to ClockTime before formatting to time.
24656 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24658 * check/gst-libs/controller.c: (GST_START_TEST),
24659 (gst_controller_suite):
24660 * docs/gst/tmpl/gstcaps.sgml:
24661 * docs/gst/tmpl/gstghostpad.sgml:
24662 * docs/gst/tmpl/gstquery.sgml:
24663 * docs/gst/tmpl/gstutils.sgml:
24664 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24665 (gst_object_sink_values), (gst_object_get_value_arrays),
24666 (gst_object_get_value_array):
24667 gracefully handle helper method calls to objects that are not beeing
24668 controlled, added test case for that
24670 2005-08-23 Wim Taymans <wim@fluendo.com>
24672 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24673 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24674 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24675 (gst_event_parse_qos), (gst_event_new_seek),
24676 (gst_event_parse_seek):
24678 Some more debugging output and doc cleanups.
24680 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24681 Fix possible deadlock.
24683 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24685 * docs/gst/gstreamer-docs.sgml:
24686 * docs/gst/gstreamer-sections.txt:
24687 * docs/gst/gstreamer.types:
24688 * docs/gst/tmpl/.cvsignore:
24691 * gst/gstelement.c:
24693 added 100 symbols from gstreamer-unused.txt to the right sections
24694 fixed more broken comments
24695 added GstBus to docs
24697 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24699 * docs/gst/gstreamer-sections.txt:
24700 * docs/gst/tmpl/.cvsignore:
24701 * docs/gst/tmpl/gstbin.sgml:
24702 * docs/gst/tmpl/gstbuffer.sgml:
24703 * gst/base/gstbasesrc.c:
24704 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24707 * tools/gst-launch.1.in:
24708 inlined more doc comments, added missing comments and fixed comments
24711 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24713 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24717 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24719 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24720 * gst/gststructure.h:
24721 add a fixate function for booleans; add a FIXME that these func
24722 names should probably be gst_structure_fixate_*
24724 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24726 * docs/gst/gstreamer-docs.sgml:
24727 * docs/gst/gstreamer-sections.txt:
24729 * gst/gstbin.c: (gst_bin_get_type),
24730 (gst_bin_child_proxy_get_child_by_index),
24731 (gst_bin_child_proxy_get_children_count),
24732 (gst_bin_child_proxy_init):
24733 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24734 (gst_child_proxy_get_child_by_index),
24735 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24736 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24737 (gst_child_proxy_get), (gst_child_proxy_set_property),
24738 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24739 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24740 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24741 * gst/gstchildproxy.h:
24742 * gst/parse/grammar.y:
24743 * tools/gst-inspect.c: (print_interfaces),
24744 (print_element_properties_info), (print_element_info):
24745 ported gstchildproxy over from 0.8
24746 ported gst-inspect fixes and enhancements over from 0.8
24748 2005-08-22 Wim Taymans <wim@fluendo.com>
24750 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24751 (gst_base_transform_handle_buffer):
24752 Also call the transform function if we have ANY caps.
24754 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24757 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24759 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24760 Don't pretend to handle seek events if the source is not seekable
24762 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24764 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24765 Remove extra parameter to debug output
24767 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24768 (gst_base_src_do_seek), (gst_base_src_activate_push):
24769 Fix seek event handling.
24771 * gst/gstpipeline.c: (gst_pipeline_change_state):
24772 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24773 (gst_queue_src_activate_push):
24774 Don't start the src pad task on FLUSH_STOP if the pad
24778 2005-08-22 Wim Taymans <wim@fluendo.com>
24780 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24781 Added check for gst_static_caps_get() refcounting.
24783 2005-08-22 Wim Taymans <wim@fluendo.com>
24785 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24786 Make _static_caps_get() refcounting sane.
24788 * gst/gstelement.c: (gst_element_set_state):
24789 Add g_return_val_if_fail() to protect against segfaults.
24791 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24793 * docs/gst/tmpl/gstevent.sgml:
24796 inlined remaining docs, added missing doc comments
24798 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24800 * check/gst/gstbin.c: (GST_START_TEST):
24801 since we don't know when preroll is done, use refcount range
24803 * gst/check/gstcheck.h:
24804 add macro for checking refcount range
24806 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24808 * check/Makefile.am:
24809 clean up environment for when registry gets built versus
24810 when actual tests are run; valgrind seems to not report
24811 leaks if GST_PLUGIN_PATH is set to some specific values
24812 * check/gst/gstbin.c: (GST_START_TEST):
24813 add more refcounting checks; maybe this exposes a
24815 * common/check.mak:
24816 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24817 * gst/check/gstcheck.h:
24818 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24819 (gst_bin_change_state):
24820 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24821 add/fix debugging/whitespace
24823 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24825 * check/gst/gstevent.c: (event_probe), (test_event),
24827 Er, don't call gst_bin_watch_for_state_change you idiot.
24829 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24831 * check/Makefile.am:
24832 Use CHECK_CFLAGS and CHECK_LIBS
24833 * check/gst/gstevent.c: (event_probe), (test_event),
24836 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24837 (gst_base_src_start), (gst_base_src_stop),
24838 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24839 (gst_base_src_change_state):
24840 Sprinkle gst_base_src_stop liberally around error paths to fix
24841 problems reusing a source after failed state changes.
24842 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24843 (helper_find_suggest), (gst_type_find_helper):
24844 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24846 * docs/gst/tmpl/gstevent.sgml:
24847 Migrate part of the docs from the SGML file. Wait for ensonic to
24848 tell me how I did it wrong ;)
24849 * tools/gst-typefind.c: (main):
24850 Extra robustness to state changes between files.
24852 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24854 * check/Makefile.am:
24855 don't valgrind the controller test - it's leaking - Stefan, HELP
24856 * gst/check/gstcheck.c: (gst_check_message_error),
24857 (gst_check_chain_func), (gst_check_setup_element),
24858 (gst_check_teardown_element), (gst_check_setup_src_pad),
24859 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24860 (gst_check_teardown_sink_pad):
24861 * gst/check/gstcheck.h:
24862 add a bunch of methods to set up elements, and src and sink pads
24863 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24864 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24867 * gst/gstmessage.c:
24869 whitespace/doc fixes
24871 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24873 * gst/gstelement.h:
24874 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24875 be handled by the application and not always printed as well
24877 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24879 * check/Makefile.am:
24881 * gst/check/gstcheck.c: (gst_check_message_error):
24882 * gst/check/gstcheck.h:
24883 add a fail_unless_equals_int
24884 add fail_unless for error messages
24886 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24888 * check/Makefile.am:
24890 * common/Makefile.am:
24891 * common/check.mak:
24893 factor out some of the common stuff so we can use it
24895 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24897 * check/Makefile.am:
24898 * check/gst/gstiterator.c: (GST_START_TEST):
24899 * check/gst/gstsystemclock.c: (GST_START_TEST),
24900 (gst_systemclock_suite):
24901 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24903 valgrind more tests
24905 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24907 * check/elements/.cvsignore:
24908 * check/elements/gstfakesrc.c:
24909 rename to name of element
24910 * check/elements/identity.c: (chain_func), (event_func),
24911 (setup_identity), (cleanup_identity), (GST_START_TEST),
24912 (identity_suite), (main):
24913 add a test for identity
24914 * check/Makefile.am:
24915 * pkgconfig/Makefile.am:
24916 * pkgconfig/gstreamer-check.pc.in:
24917 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24921 move the check stuff to a library that gets installed
24922 * check/gst-libs/controller.c: (GST_START_TEST):
24923 * check/gst-libs/gdp.c:
24924 * check/gst/gst.c: (GST_START_TEST):
24925 * check/gst/gstbin.c:
24926 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24927 * check/gst/gstbus.c:
24928 * check/gst/gstcaps.c: (GST_START_TEST):
24929 * check/gst/gstelement.c:
24930 * check/gst/gstghostpad.c:
24931 * check/gst/gstiterator.c:
24932 * check/gst/gstmessage.c:
24933 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24934 * check/gst/gstobject.c:
24935 * check/gst/gstpad.c: (GST_START_TEST):
24936 * check/gst/gststructure.c: (GST_START_TEST):
24937 * check/gst/gstsystemclock.c: (GST_START_TEST),
24938 (gst_systemclock_suite):
24939 * check/gst/gsttag.c: (gst_tag_suite):
24940 * check/gst/gstvalue.c:
24941 * check/pipelines/cleanup.c:
24942 * check/pipelines/simple_launch_lines.c:
24943 * check/states/sinks.c:
24944 change include statement
24946 * docs/gst/gstreamer-sections.txt:
24947 * docs/gst/tmpl/gstpad.sgml:
24948 document more pad stuff
24949 * gst/gstminiobject.c: (gst_mini_object_ref),
24950 (gst_mini_object_unref):
24953 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24955 * docs/gst/tmpl/gst.sgml:
24957 eliminate another tmpl file, fix spelling in the long-description
24959 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24961 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24962 (test_event), (timediff), (gstevents_suite):
24963 Should fix build on 64-bit arch's
24965 2005-08-18 Andy Wingo <wingo@pobox.com>
24967 Make sure that when a pipeline goes to PLAYING, that data has
24968 actually hit the sink.
24970 * check/states/sinks.c (test_sink): A sink that doesn't get any
24971 data shouldn't return SUCCESS for going to either PLAYING or
24972 PAUSED. Test also the return values on the way back down.
24974 * gst/gstelement.c (gst_element_set_state): When changing the
24975 state of an element currently changing state asynchronously, go to
24976 lost-state after commiting the pending state. Makes future calls
24977 to get_state continue to return ASYNC.
24979 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24980 ASYNC when going to PLAYING if we still don't have preroll, as can
24981 happen with live sources.
24983 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24985 * docs/pwg/advanced-types.xml:
24986 Hack long paragraph into 2 chunks as a workaround for buggy
24987 jadetex version in sid and breezy that loops infinitely and
24990 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24992 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24993 (test_event), (timediff), (gstevents_suite):
24994 Provide more error margin in clock measurements to allow for
24995 g_get_current_time inaccuracies.
24997 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24999 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25000 (test_event), (timediff), (gstevents_suite):
25001 Fix error message output so I might be able to tell why the
25002 test works here but fails on the build farm.
25004 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25006 * check/Makefile.am:
25007 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25008 (test_event), (timediff), (gstevents_suite), (main):
25011 * docs/design/part-seeking.txt:
25012 Spelling correction
25014 * docs/gst/tmpl/gstevent.sgml:
25015 * docs/gst/tmpl/gstfakesrc.sgml:
25018 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25019 Treat a buffer-without-newsegment the same as a receiving
25020 a newsegment not in time format, and disable syncing to the clock
25023 * gst/gstbus.c: (gst_bus_set_sync_handler):
25024 Assert if anyone tries to replace the existing sync_handler for bus,
25025 as only the owner should be setting it.
25028 Have a fixed set of custom event enums with events identified by
25029 their structure name (as in 0.8), rather than a free-for-all
25030 allowing collisions between enum values from different plugins.
25032 * gst/gstpad.c: (gst_pad_class_init):
25035 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25036 Handle out-of-band downstream events from the sending thread.
25038 2005-08-17 Andy Wingo <wingo@pobox.com>
25040 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25041 play-timeout==0 to mean no timeout at all. In that case, don't
25042 bother with a get_state or a warning, just return directly, even
25045 * gst/base/gstbasetransform.c: Debug changes.
25048 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25049 ensure bins post state change messages. A bit of a hack but I can't
25050 think of a way to avoid it.
25052 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25054 2005-08-16 Andy Wingo <wingo@pobox.com>
25056 * gst/base/gstadapter.h:
25057 * gst/base/gstadapter.c (gst_adapter_take): New function, like
25058 peek() but you own the data. Not terribly efficient atm.
25060 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25062 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25063 (gst_element_found_tags):
25065 Add two utility functions for tag handling.
25067 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25069 * docs/manual/advanced-dataaccess.xml:
25070 * docs/manual/basics-helloworld.xml:
25071 Fix docs to use _bin_add() before _link(), which fixes the examples
25072 with recent core versions (reported by Madhan Raj M
25073 <raj_madan@rediffmail.com>, #313199).
25075 2005-08-16 Wim Taymans <wim@fluendo.com>
25077 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25078 Added subtract checks.
25080 * docs/design/part-events.txt:
25081 Some more docs about newsegment
25083 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25086 * gst/gstcaps.c: (gst_caps_to_string):
25087 Add comments, cleanups.
25089 * gst/gstelement.c: (gst_element_save_thyself):
25092 * gst/gstvalue.c: (gst_value_collect_int_range),
25093 (gst_string_unwrap), (gst_value_union_int_int_range),
25094 (gst_value_union_int_range_int_range),
25095 (gst_value_intersect_int_int_range),
25096 (gst_value_intersect_int_range_int_range),
25097 (gst_value_intersect_double_double_range),
25098 (gst_value_intersect_double_range_double_range),
25099 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25100 (gst_value_subtract_int_range_int),
25101 (gst_value_subtract_double_range_double),
25102 (gst_value_subtract_double_range_double_range),
25103 (gst_value_subtract_from_list), (gst_value_subtract_list),
25104 (gst_value_can_compare), (gst_value_compare_fraction):
25105 Cleanups, add comments, remove unneeded asserts.
25107 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25109 * tools/gst-launch.c: (event_loop):
25110 don't convert NULL structures to strings
25112 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25114 * docs/gst/gstreamer-sections.txt:
25115 made some defines private
25116 * docs/gst/tmpl/gstconfig.sgml:
25117 * docs/gst/tmpl/gstqueue.sgml:
25118 * docs/gst/tmpl/gsttaglist.sgml:
25119 * docs/gst/tmpl/gsttypes.sgml:
25120 * docs/gst/tmpl/gstutils.sgml:
25121 * docs/pwg/appendix-porting.xml:
25122 * gst/base/gstbasesink.h:
25123 * gst/base/gstbasesrc.c:
25124 * gst/base/gstbasesrc.h:
25125 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25126 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25127 * gst/gstelement.c: (gst_element_class_init):
25128 * gst/gstpad.c: (gst_pad_class_init):
25129 * gst/gstqueue.c: (gst_queue_class_init):
25130 * gst/gstxml.c: (gst_xml_class_init):
25131 documented all undocumented signal inline
25132 * libs/gst/controller/gst-controller.h:
25135 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25137 * docs/pwg/appendix-porting.xml:
25138 Document _set_link_function -> _set_setcaps_function.
25140 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25142 * check/Makefile.am:
25143 add a .check target for running the check
25144 * check/gst-libs/controller.c: (GST_START_TEST):
25146 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25147 complete checks for gstbuffer; would be nice if I could get the
25148 gcov stuff to work so I can see if I actually completed gstbuffer.c
25149 * check/gstcheck.h:
25150 add ASSERT_BUFFER_REFCOUNT
25152 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25154 * docs/gst/gstreamer-sections.txt:
25155 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25157 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25158 spew out a warning if a tag that is already registered
25159 is re-registered, unless it is re-registered with a
25160 different type (#308438).
25162 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25164 * docs/pwg/appendix-porting.xml:
25165 * docs/pwg/building-state.xml:
25166 Add some paragraphs about state changes in 0.9 to the PWG
25167 and the porting guide, in particular about the new meaning
25168 of GST_STATE_PAUSED and how to write state change functions
25169 with concurrent access by multiple threads in mind.
25171 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25173 * docs/gst/gstreamer-docs.sgml:
25174 * docs/libs/gstreamer-libs-docs.sgml:
25175 added deprecation and since indexes
25176 * libs/gst/controller/gst-controller.c:
25177 * libs/gst/controller/gst-helper.c:
25181 2005-08-11 Wim Taymans <wim@fluendo.com>
25183 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25184 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25185 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25186 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25187 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25188 (gst_ghost_pad_set_target):
25189 Actually implement (re)setting the target on a ghostpad
25190 as described in the docs.
25192 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25194 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25195 Check whether GST_DEBUG_NO_COLOR environment variable is
25196 set and disable coloured debug output if that is the case.
25198 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25200 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25201 (gst_type_find_helper):
25202 The memory returned by gst_type_find_peek() needs to
25203 stay valid until the end of a typefind function, and
25204 typefind functions may keep results from different
25205 offsets around, so we can't just unref the buffer from
25206 the previous _peek(), but have to save all buffers
25207 returned by _peek() until typefinding is done and only
25210 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25212 * docs/gst/gstreamer-sections.txt:
25214 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25216 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25218 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25219 Fix a pretty good memleak.
25221 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25223 * gst/gstiterator.h:
25224 Fix wrong include and 'make distcheck'.
25226 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25228 * gst/gstbin.c: (bin_bus_handler):
25229 Use gst_element_post_message() instead.
25231 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25233 * gst/base/gstadapter.h:
25234 * gst/base/gstbasesink.h:
25235 * gst/base/gstbasesrc.h:
25236 * gst/base/gstbasetransform.h:
25237 * gst/base/gstcollectpads.h:
25238 * gst/base/gstpushsrc.h:
25239 * gst/gstiterator.h:
25240 Add padding to our base elements' class and instance structs and
25241 to GstIterator (you will need to rebuild all plugins and apps!)
25243 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25245 * gst/gstbin.c: (bin_bus_handler):
25246 Make default message forwarding from child->bus to bin->bus
25247 threadsafe and make it not emit warnings if the parent has no bus.
25249 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25251 * gst/gstelement.c: (activate_pads):
25252 On paused->ready, set pad->caps to NULL, as is the documented
25253 behaviour in this state change. Fixes playback of series of
25254 media files when visualization is enabled in Totem.
25256 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25258 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25259 Allow NULL as filter-caps (which means "any").
25261 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25263 * docs/libs/gstreamer-libs-sections.txt:
25264 * libs/gst/controller/gst-controller.c:
25265 * libs/gst/controller/gst-controller.h:
25266 * libs/gst/controller/gst-helper.c:
25267 adding more entries to the docs and fix small doc-bugs
25269 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25271 * docs/gst/gstreamer-docs.sgml:
25272 * docs/gst/gstreamer-sections.txt:
25273 * docs/gst/gstreamer.types:
25274 * docs/gst/tmpl/gstbasesink.sgml:
25275 * docs/gst/tmpl/gstbasesrc.sgml:
25276 * docs/gst/tmpl/gstbasetransform.sgml:
25277 * docs/gst/tmpl/gstfakesrc.sgml:
25278 * gst/base/gstcollectpads.c:
25279 * gst/base/gstcollectpads.h:
25280 * libs/gst/controller/gst-controller.c:
25281 * libs/gst/controller/gst-controller.h:
25282 * libs/gst/controller/gst-helper.c:
25283 * libs/gst/controller/gst-interpolation.c:
25284 * libs/gst/controller/lib.c:
25285 added long/short desc for controller docs
25286 added collectpads base class docs
25287 added correct includes to base-class docs
25289 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25291 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25292 (gst_test_mono_source_set_property),
25293 (gst_test_mono_source_class_init), (GST_START_TEST),
25294 (gst_controller_suite):
25295 * docs/gst/gstreamer-docs.sgml:
25296 * docs/gst/gstreamer-sections.txt:
25297 * docs/gst/gstreamer.types:
25298 * docs/libs/gstreamer-libs-docs.sgml:
25299 * docs/libs/gstreamer-libs-sections.txt:
25300 * gst/base/gstadapter.c:
25301 * libs/gst/controller/gst-controller.c:
25302 (gst_controlled_property_new), (gst_controlled_property_free),
25303 (gst_controller_new_valist),
25304 (gst_controller_remove_properties_valist),
25305 (gst_controller_sink_values), (_gst_controller_finalize):
25306 * libs/gst/controller/gst-controller.h:
25307 * libs/gst/controller/gst-helper.c:
25308 (gst_object_control_properties), (gst_object_uncontrol_properties),
25309 (gst_object_get_controller), (gst_object_set_controller),
25310 (gst_object_sink_values), (gst_object_get_value_arrays),
25311 (gst_object_get_value_array):
25312 more tests (and fixes) for the controller
25313 more docs for the controller
25314 integrated companies docs for the adapter
25316 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25318 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25319 (GST_START_TEST), (fakesrc_suite):
25320 add tests for sizetype
25322 2005-08-04 Andy Wingo <wingo@pobox.com>
25324 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25325 fixes buffer_alloc proxying among other things.
25327 * gst/base/gstbasetransform.c:
25328 * gst/base/gstbasetransform.h:
25329 Revert patch to gstbasetransform from 7-28 removing
25332 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25333 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25334 Semantics changed, should return not the size of the output buffer
25335 but the byte size of a buffer with a given caps.
25337 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25339 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25340 out) are not the pad caps until setcaps finishes.
25341 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25342 not-in-place case as well. Deal with changing from in-place to
25343 not-in-place within calling pad_alloc_buffer. Still a bit
25344 concerned about the overhead here...
25346 2005-08-03 Andy Wingo <wingo@pobox.com>
25348 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25349 fixating is an error.
25351 2005-08-04 Edward Hervey <edward@fluendo.com>
25353 * gst/base/gstadapter.h:
25354 Added gst_adapter_get_type() to the header
25356 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25358 * check/Makefile.am:
25359 * check/gst-libs/controller.c:
25360 * libs/gst/controller/gst-controller.c:
25361 (gst_controller_new_valist):
25362 added check test suite for the controller
25363 * gst/base/gstpushsrc.c:
25366 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25368 * docs/gst/Makefile.am:
25369 * docs/gst/gstreamer-docs.sgml:
25370 * docs/gst/gstreamer-sections.txt:
25371 * docs/gst/gstreamer.types:
25372 * docs/gst/tmpl/gstfakesrc.sgml:
25374 * gst/base/gstbasesink.c:
25375 * gst/base/gstbasesink.h:
25376 * gst/base/gstbasesrc.c:
25377 * gst/base/gstbasesrc.h:
25378 * gst/base/gstbasetransform.c:
25379 * gst/base/gstpushsrc.c:
25380 * gst/base/gstpushsrc.h:
25381 add short/long description docs to base classes
25382 add pushsrc to the docs
25383 remove consolidated doc fragments
25385 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25388 * docs/libs/Makefile.am:
25389 * docs/libs/gstreamer-libs-docs.sgml:
25390 * docs/libs/gstreamer-libs-sections.txt:
25391 * docs/libs/gstreamer-libs.types:
25392 * examples/Makefile.am:
25393 * examples/controller/.cvsignore:
25394 * examples/controller/Makefile.am:
25395 * examples/controller/audio-example.c: (main):
25396 * libs/gst/Makefile.am:
25397 * libs/gst/controller/.cvsignore:
25398 * libs/gst/controller/Makefile.am:
25399 * libs/gst/controller/gst-controller.c:
25400 (on_object_controlled_property_changed), (gst_timed_value_compare),
25401 (gst_timed_value_find),
25402 (gst_controlled_property_set_interpolation_mode),
25403 (gst_controlled_property_new), (gst_controlled_property_free),
25404 (gst_controller_find_controlled_property),
25405 (gst_controller_new_valist), (gst_controller_new),
25406 (gst_controller_remove_properties_valist),
25407 (gst_controller_remove_properties), (gst_controller_set),
25408 (gst_controller_set_from_list), (gst_controller_unset),
25409 (gst_controller_get), (gst_controller_get_all),
25410 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25411 (gst_controller_get_value_array),
25412 (gst_controller_set_interpolation_mode),
25413 (_gst_controller_finalize), (_gst_controller_init),
25414 (_gst_controller_class_init), (gst_controller_get_type):
25415 * libs/gst/controller/gst-controller.h:
25416 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25417 (g_object_uncontrol_properties), (g_object_get_controller),
25418 (g_object_set_controller), (g_object_sink_values),
25419 (g_object_get_value_arrays), (g_object_get_value_array):
25420 * libs/gst/controller/gst-interpolation.c:
25421 (gst_controlled_property_find_timed_value_node),
25422 (interpolate_none_get), (interpolate_trigger_get),
25423 (interpolate_trigger_get_value_array):
25424 * libs/gst/controller/lib.c: (gst_controller_init):
25425 * pkgconfig/Makefile.am:
25426 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25427 * pkgconfig/gstreamer-control.pc.in:
25428 * testsuite/Makefile.am:
25429 * testsuite/controller/.cvsignore:
25430 * testsuite/controller/Makefile.am:
25431 * testsuite/controller/interpolator.c: (main):
25432 added controller code
25433 removed dparam pc files
25435 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25436 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25437 (gst_collectpads_stop):
25438 Broadcast the condition when shutting down, to make sure we wake all
25439 threads up. Shut down pads on finalize, for safety.
25441 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25442 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25443 (gst_base_transform_handle_buffer),
25444 (gst_base_transform_change_state):
25445 Handle PAUSED->READY->PAUSED transition after negotiation
25447 * gst/gstmessage.c: (gst_message_init):
25448 Extra piece of debug for new messages.
25450 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25453 * docs/gst/tmpl/gstbasesrc.sgml:
25454 * docs/gst/tmpl/gstelement.sgml:
25455 * docs/gst/tmpl/gstevent.sgml:
25456 * docs/gst/tmpl/gstfakesrc.sgml:
25457 * docs/gst/tmpl/gstformat.sgml:
25458 * docs/gst/tmpl/gstghostpad.sgml:
25459 * docs/gst/tmpl/gstpad.sgml:
25460 * docs/gst/tmpl/gstquery.sgml:
25461 * docs/gst/tmpl/gststructure.sgml:
25462 * docs/gst/tmpl/gsttaglist.sgml:
25463 * docs/gst/tmpl/gstvalue.sgml:
25464 * docs/libs/gstreamer-libs-docs.sgml:
25465 * docs/libs/gstreamer-libs-sections.txt:
25466 * docs/libs/gstreamer-libs.types:
25467 * libs/gst/Makefile.am:
25468 * libs/gst/control/.cvsignore:
25469 * libs/gst/control/Makefile.am:
25470 * libs/gst/control/control.c:
25471 * libs/gst/control/control.h:
25472 * libs/gst/control/dparam.c:
25473 * libs/gst/control/dparam.h:
25474 * libs/gst/control/dparam_smooth.c:
25475 * libs/gst/control/dparam_smooth.h:
25476 * libs/gst/control/dparamcommon.h:
25477 * libs/gst/control/dparammanager.c:
25478 * libs/gst/control/dparammanager.h:
25479 * libs/gst/control/dplinearinterp.c:
25480 * libs/gst/control/dplinearinterp.h:
25481 * libs/gst/control/unitconvert.c:
25482 * libs/gst/control/unitconvert.h:
25483 * testsuite/Makefile.am:
25484 * testsuite/dynparams/.cvsignore:
25485 * testsuite/dynparams/Makefile.am:
25486 * testsuite/dynparams/dparamstest.c:
25487 * tools/Makefile.am:
25488 * tools/gst-inspect.c: (print_element_info), (main):
25489 * tools/gst-xmlinspect.c: (print_element_info), (main):
25490 deactivate and remove dparams (libgstcontrol)
25492 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25494 * gst/elements/gsttypefindelement.c:
25495 (gst_type_find_element_have_type), (gst_type_find_element_init),
25496 (stop_typefinding), (gst_type_find_element_handle_event),
25497 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25498 * gst/elements/gsttypefindelement.h:
25499 Set caps on all outgoing buffers, not just the first one.
25501 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25503 * gst/elements/gsttypefindelement.c:
25504 (gst_type_find_element_have_type),
25505 (gst_type_find_element_check_set_buffer_caps),
25506 (gst_type_find_element_init), (stop_typefinding),
25507 (gst_type_find_element_handle_event),
25508 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25509 * gst/elements/gsttypefindelement.h:
25510 Set caps on first outgoing buffer when we've found the type.
25512 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25514 * docs/gst/gstreamer-docs.sgml:
25515 * docs/gst/gstreamer-sections.txt:
25516 * docs/gst/tmpl/gstscheduler.sgml:
25517 * docs/gst/tmpl/gstschedulerfactory.sgml:
25518 Remove some old cruft from docs.
25520 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25523 Fix inline docs for GstPadLinkReturn.
25525 * gst/gststructure.c: (gst_structure_has_name):
25526 * gst/gststructure.h:
25527 * docs/gst/gstreamer-sections.txt:
25528 New API: gst_structure_has_name().
25530 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25533 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25534 and _LARGEFILE_SOURCE in config.h as required. Do not
25535 export those flags in our .pc files any longer (#142209).
25537 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25539 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25540 (gst_file_sink_do_seek), (gst_file_sink_event),
25541 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25542 Redo seek/tell calls with large file support in mind; add some
25543 debugging messages; add log message that tells us when large
25544 file support is unavailable or not enabled for some reason.
25546 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25547 Add log message that tells us when large file support
25548 is unavailable or not enabled for some reason.
25550 2005-07-29 Wim Taymans <wim@fluendo.com>
25552 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25553 Added test for removing an element with ghostpad from a bin.
25554 Fixed test as current implementation does the right thing.
25556 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25557 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25558 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25559 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25560 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25561 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25562 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25563 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25564 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25565 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25566 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25567 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25568 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25569 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25570 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25571 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25572 * gst/gstghostpad.h:
25573 Clean up ghostpads, remove properties for internal stuff.
25576 Prepare for switching targets, not all use cases work yet.
25578 2005-07-29 Wim Taymans <wim@fluendo.com>
25580 * docs/design/part-gstghostpad.txt:
25583 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25584 (gst_bin_remove_func):
25585 Unlinking pads while holding the bin LOCK is not a good
25588 * gst/gstpad.c: (gst_pad_class_init),
25589 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25590 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25591 No prob setting template after creating the pad.
25593 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25595 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25596 (gst_bus_peek), (gst_bus_source_dispatch),
25597 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25598 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25599 gst_bus_poll may be called from other threads. Handle
25600 this nicely by not making poll_data disappear off the
25601 stack once gst_bus_poll returns.
25602 gst_bus_peek now increments the refcount on the returned
25605 2005-07-29 Wim Taymans <wim@fluendo.com>
25607 * docs/design/part-gstghostpad.txt:
25608 Overview of current GhostPad datastructures and use
25609 cases for changing the target.
25611 2005-07-28 Wim Taymans <wim@fluendo.com>
25613 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25614 Added checks for hierarchy consistency whan adding linked
25617 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25618 Added check to test element scheduling without bin/pipeline.
25620 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25621 First add elements to bin, then link.
25623 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25624 (gst_bin_remove_func):
25625 Unlink pads from elements added/removed from bin to maintain
25626 hierarchy consistency.
25628 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25630 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25631 (gst_base_transform_handle_buffer):
25632 * gst/base/gstbasetransform.h:
25633 Remove broken delay_configure (fixes renegotiation of software
25634 scaling pipelines); remove some leftover printf()s.
25636 2005-07-28 Wim Taymans <wim@fluendo.com>
25638 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25639 Added some more tests for wrong hierarchy
25641 * docs/design/part-overview.txt:
25644 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25647 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25648 (gst_element_dispose):
25649 Some more cleanups.
25651 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25652 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25653 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25654 (gst_pad_set_caps), (gst_pad_send_event):
25655 Check for correct hierarchy when linking pads. Moving to
25656 strict requirement for ghostpads when linking elements in
25660 Clean ups. Added WRONG_HIERARCHY return value.
25662 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25664 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25665 Better debug if no transform is possible.
25667 2005-07-27 Wim Taymans <wim@fluendo.com>
25669 * docs/random/wtay/network-transp:
25670 Some old doc I had.
25672 2005-07-27 Wim Taymans <wim@fluendo.com>
25674 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25675 (gst_dp_event_from_packet):
25676 Fix serialization of seek events.
25678 2005-07-27 Wim Taymans <wim@fluendo.com>
25680 * check/gst-libs/gdp.c: (GST_START_TEST):
25681 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25682 Fix compilation and fix event serialization.
25684 2005-07-27 Wim Taymans <wim@fluendo.com>
25687 * docs/design/part-TODO.txt:
25688 * docs/design/part-events.txt:
25691 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25692 (gst_base_sink_event), (gst_base_sink_do_sync),
25693 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25694 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25695 (gst_base_src_do_seek), (gst_base_src_event_handler),
25696 (gst_base_src_loop):
25697 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25698 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25699 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25700 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25701 (gst_base_transform_set_passthrough),
25702 (gst_base_transform_is_passthrough):
25703 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25704 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25710 * gst/gstelement.c: (gst_element_seek):
25711 * gst/gstelement.h:
25712 Update gst_element_seek.
25714 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25715 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25716 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25717 (gst_event_new_eos), (gst_event_new_newsegment),
25718 (gst_event_parse_newsegment), (gst_event_new_tag),
25719 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25720 (gst_event_parse_qos), (gst_event_new_seek),
25721 (gst_event_parse_seek), (gst_event_new_navigation):
25723 Make GstEvent use GstStructure. Add parsing code, make sure the
25724 API is sufficiently generic.
25725 Mark possible directions of events and serialization.
25727 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25728 (_gst_message_copy), (gst_message_new_segment_start),
25729 (gst_message_new_segment_done), (gst_message_new_custom),
25730 (gst_message_parse_segment_start),
25731 (gst_message_parse_segment_done):
25734 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25735 (gst_pad_set_caps), (gst_pad_send_event):
25736 Update for new events.
25737 Catch events sent in wrong directions.
25739 * gst/gstqueue.c: (gst_queue_link_src),
25740 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25741 (gst_queue_handle_src_query):
25746 Remove event code from this file.
25748 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25749 (gst_dp_event_from_packet):
25752 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25754 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25755 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25756 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25757 Make debugging actually useful.
25759 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25761 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25762 (gst_pad_fixate_caps):
25763 Implement default fixation once again, so that gst_pad_fixate()
25764 actually does anything at all. This probably needs to be some
25765 sort of a last resort, and use profile-based fixation first, but
25766 since that doesn't exist yet, this is the best we have. Fixes
25767 visualization in Totem.
25769 2005-07-22 Wim Taymans <wim@fluendo.com>
25771 * docs/design/part-events.txt:
25774 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25775 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25776 (gst_base_sink_activate_pull):
25777 Some more comments.
25779 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25780 (gst_fake_src_create):
25781 Fix handoff marshall.
25783 * gst/elements/gstidentity.c: (gst_identity_class_init),
25784 (gst_identity_transform_ip):
25785 We're a real inplace element.
25787 * gst/gstbus.c: (gst_bus_post):
25788 Added some comments.
25790 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25791 * tests/muxing/case1.c: (main):
25792 * tests/sched/dynamic-pipeline.c: (main):
25793 * tests/sched/interrupt1.c: (main):
25794 * tests/sched/interrupt2.c: (main):
25795 * tests/sched/interrupt3.c: (main):
25796 * tests/sched/runxml.c: (main):
25797 * tests/sched/sched-stress.c: (main):
25798 * tests/seeking/seeking1.c: (event_received), (main):
25799 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25801 * tests/threadstate/threadstate3.c: (main):
25802 * tests/threadstate/threadstate4.c: (main):
25803 * tests/threadstate/threadstate5.c: (main):
25806 2005-07-21 Wim Taymans <wim@fluendo.com>
25808 * docs/design/part-seeking.txt:
25809 Some small additions.
25811 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25812 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25813 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25814 * gst/base/gstbasesink.h:
25815 discont values are gint64, handle the math correctly.
25817 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25818 Make the basesrc report error if the source pad is not linked.
25820 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25821 (gst_queue_loop), (gst_queue_handle_src_query),
25822 (gst_queue_src_activate_push):
25823 Make queue collect data even if the srcpad is not linked.
25824 Start pushing out data as soon as it is linked.
25826 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25828 Added gst_flow_get_name() to ease error reporting.
25830 2005-07-20 Wim Taymans <wim@fluendo.com>
25832 * gst/gstmessage.c: (gst_message_new_segment_start),
25833 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25834 (gst_message_parse_segment_done):
25835 * gst/gstmessage.h:
25836 Added a bunch of messages for advanced seeking.
25838 * gst/parse/grammar.y:
25839 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25840 (gst_dpman_state_changed):
25841 Fix some new-pad -> pad-added signals
25843 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25845 * docs/manual/appendix-porting.xml:
25846 * docs/pwg/appendix-porting.xml:
25847 Document new-pad/state-change signal renames and the FixedList
25850 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25852 * docs/manual/advanced-autoplugging.xml:
25853 * docs/manual/basics-helloworld.xml:
25854 * docs/manual/basics-pads.xml:
25855 * docs/random/ds/0.9-suggested-changes:
25856 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25857 * gst/gstelement.h:
25861 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25862 (gst_structure_parse_array), (gst_structure_parse_value):
25863 * gst/gstvalue.c: (gst_type_is_fixed),
25864 (gst_value_list_prepend_value), (gst_value_list_append_value),
25865 (gst_value_list_get_size), (gst_value_list_get_value),
25866 (gst_value_transform_array_string), (gst_value_serialize_array),
25867 (gst_value_deserialize_array), (gst_value_intersect_array),
25868 (gst_value_is_fixed), (_gst_value_initialize):
25870 GstElement::new-pad -> pad-added, GstElement::state-change ->
25871 state-changed, GstValueFixedList -> GstValueArray, add format and
25872 flags as their own arguments in gst_element_seek() (should improve
25873 "bindeability"), remove function generators since they don't work
25874 under a whole bunch of compilers (they were deprecated already
25877 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25879 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25880 (_gst_debug_register_funcptr):
25882 Fix illegal cast on some platforms (#309253).
25884 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25886 * gst/gstmessage.c: (gst_message_new_custom):
25887 * gst/gstmessage.h:
25888 Add _new_custom, make _new_application a macro to _new_custom.
25890 2005-07-20 Wim Taymans <wim@fluendo.com>
25892 * gst/base/gstbasesrc.c: (gst_base_src_init),
25893 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25894 * gst/base/gstbasesrc.h:
25895 Add a gboolean to decide when to push out a discont.
25897 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25898 (gst_queue_loop), (gst_queue_handle_src_query),
25899 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25900 (gst_queue_set_property), (gst_queue_get_property):
25903 * tests/threadstate/threadstate1.c: (main):
25904 Make a thread test compile and run... very silly..
25907 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25909 * docs/manual/appendix-porting.xml:
25910 Mention removal of libgstgconf-0.9.la and existence of gconf
25913 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25915 * docs/pwg/advanced-clock.xml:
25916 * docs/pwg/appendix-porting.xml:
25917 * docs/pwg/intro-preface.xml:
25918 * docs/pwg/other-base.xml:
25919 * docs/pwg/other-manager.xml:
25920 * docs/pwg/other-nton.xml:
25921 * docs/pwg/other-ntoone.xml:
25922 * docs/pwg/other-oneton.xml:
25923 * docs/pwg/pwg.xml:
25924 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25925 demuxer), remove n-to-n (was never written), fix some code examples
25926 and links and update the porting section to include all this.
25928 2005-07-19 Wim Taymans <wim@fluendo.com>
25930 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25931 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25932 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25933 (gst_queue_src_activate_push), (gst_queue_change_state),
25934 (gst_queue_get_property):
25936 Propagate GstFlowReturn more intelligently upstream and output
25937 an ERROR/EOS when streaming stopped due to fatal error.
25939 2005-07-19 Wim Taymans <wim@fluendo.com>
25941 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25942 Don't block forever for the state change to complete, the
25943 pipeline already did with a sensible timeout.
25945 2005-07-19 Wim Taymans <wim@fluendo.com>
25947 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25948 Make sure we never call the create function is we
25951 2005-07-19 Andy Wingo <wingo@pobox.com>
25953 * gst/parse/parse.l: Attempt to solve bug #172815.
25955 2005-07-19 Wim Taymans <wim@fluendo.com>
25957 * docs/design/part-clocks.txt:
25958 * docs/design/part-events.txt:
25959 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25960 Small docs updates.
25961 Only update the seeking values when we are not
25964 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25966 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25967 Oops, ignore the result of gst_pad_push_event here.
25969 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25971 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25972 (gst_base_src_activate_push):
25973 Send discont event from the loop function, as pads
25974 aren't activated yet in the activate_push handler.
25976 * gst/gstbin.c: (bin_bus_handler):
25977 Don't leak element name.
25979 2005-07-18 Andy Wingo <wingo@pobox.com>
25981 * configure.ac: Use AS_LIBTOOL_TAGS.
25983 2005-07-18 Wim Taymans <wim@fluendo.com>
25985 * docs/gst/gstreamer.types:
25986 Remove deleted types.
25988 2005-07-18 Wim Taymans <wim@fluendo.com>
25990 * check/elements/gstfakesrc.c: (GST_START_TEST):
25993 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25994 (init_popt_callback):
25996 * gst/gst_private.h:
25997 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25998 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26001 * gst/gstconfig.h.in:
26002 * gst/gstelement.c: (gst_element_class_init),
26003 (gst_element_set_base_time), (gst_element_get_base_time),
26004 (iterator_fold_with_resync), (gst_element_change_state),
26005 (gst_element_dispose), (gst_element_get_bus):
26006 * gst/gstelement.h:
26007 * gst/gstelementfactory.h:
26008 * gst/gsterror.c: (_gst_core_errors_init):
26011 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26013 * gst/gstinfo.c: (_gst_debug_init):
26014 * gst/gstmessage.c: (_gst_message_copy):
26015 * gst/gstmessage.h:
26016 * gst/gstminiobject.h:
26019 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26020 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26023 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26024 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26025 (gst_pipeline_get_last_stream_time):
26026 * gst/gstpipeline.h:
26027 * gst/gstpluginfeature.h:
26029 * gst/gstscheduler.c:
26030 * gst/gstscheduler.h:
26031 * gst/gststructure.h:
26032 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26033 (gst_task_finalize), (gst_task_func), (gst_task_create),
26034 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26035 (gst_task_stop), (gst_task_pause):
26037 * gst/gsttypefind.h:
26039 * gst/registries/gstlibxmlregistry.c: (load_feature),
26040 (gst_xml_registry_load), (gst_xml_registry_save_feature):
26041 * gst/registries/gstxmlregistry.c:
26042 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26043 * gst/schedulers/threadscheduler.c:
26044 * libs/gst/control/dparammanager.h:
26045 * tools/gst-inspect.c: (print_element_list),
26046 (print_plugin_features), (print_element_features):
26047 * tools/gst-xmlinspect.c: (print_element_list),
26048 (print_plugin_info), (main):
26049 Removed plugable schedulers.
26050 Removed Scheduler/Manager from elements.
26051 Removed gsttypes.h, rearranged includes.
26052 Removed dependency pad<->element, element<>pipeline, and
26053 various others, fix includes.
26054 implement gst_pad_get_parent() with gst_object_get_parent()
26055 Make GstTask sefcontained.
26056 Fix _get_state() on GstBin, it did not return ASYNC with a 0
26058 Fix endless loop in iterator_fold_with_resync.
26061 2005-07-18 Wim Taymans <wim@fluendo.com>
26067 2005-07-18 Wim Taymans <wim@fluendo.com>
26070 No more cothreads.h
26072 2005-07-18 Wim Taymans <wim@fluendo.com>
26076 Let's remove these.
26078 2005-07-18 Wim Taymans <wim@fluendo.com>
26080 * docs/design/part-dynamic.txt:
26081 * docs/design/part-events.txt:
26082 * docs/design/part-seeking.txt:
26083 Some more docs in the works.
26085 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26086 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26087 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26088 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26089 (gst_base_transform_handle_buffer),
26090 (gst_base_transform_sink_activate_push),
26091 (gst_base_transform_src_activate_pull),
26092 (gst_base_transform_set_passthrough),
26093 (gst_base_transform_is_passthrough):
26096 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26099 * gst/gstevent.c: (gst_event_finalize):
26102 * gst/gstutils.c: (gst_element_unlink),
26103 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26104 (gst_pad_proxy_setcaps):
26106 Add _get_parent_element() to get a pads parent as an element.
26108 2005-07-18 Wim Taymans <wim@fluendo.com>
26110 * check/gst/gstbin.c: (GST_START_TEST):
26113 2005-07-18 Wim Taymans <wim@fluendo.com>
26115 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26116 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26117 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26118 (gst_base_sink_event), (gst_base_sink_do_sync),
26119 (gst_base_sink_chain), (gst_base_sink_loop),
26120 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26121 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26123 Fix logic for returning ASYNC when not prerolled.
26125 2005-07-18 Wim Taymans <wim@fluendo.com>
26127 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26128 Fix nasty refcount bug.
26130 2005-07-16 Philippe Khalaf <burger@speedy.org>
26132 * gst/elements/gstfdsrc.c:
26133 * gst/elements/gstfdsrc.h:
26134 * gst/elements/gstelements.c:
26135 * gst/elements/Makefile.am:
26136 Ported fdsrc to 0.9.
26138 2005-07-16 Wim Taymans <wim@fluendo.com>
26140 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26141 (gst_base_sink_do_sync):
26144 2005-07-16 Wim Taymans <wim@fluendo.com>
26146 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26147 (gst_base_sink_event), (gst_base_sink_get_times),
26148 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26149 * gst/base/gstbasesink.h:
26150 Store and use discont values when syncing buffers as described
26153 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26154 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26155 (gst_base_src_activate_push):
26156 Push discont event when starting.
26158 * gst/elements/gstidentity.c: (gst_identity_transform):
26161 * gst/gstbin.c: (gst_bin_change_state):
26162 Small cleanups in base_time distribution.
26164 * gst/gstelement.c: (gst_element_set_base_time),
26165 (gst_element_get_base_time), (gst_element_change_state):
26166 * gst/gstelement.h:
26167 Added methods for the base_time of the element.
26170 * gst/gstpipeline.c: (gst_pipeline_send_event),
26171 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26172 (gst_pipeline_get_last_stream_time):
26173 * gst/gstpipeline.h:
26175 Handle seeking as described in design doc, remove stream_time
26177 Cleanups clock and stream_time selection code. Added accessors
26178 for the stream_time.
26181 2005-07-16 Andy Wingo <wingo@pobox.com>
26183 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26186 2005-07-16 Wim Taymans <wim@fluendo.com>
26188 * check/gst/gstbin.c: (GST_START_TEST):
26189 Make elements silent as the deep_notify refs the
26190 parent, which might make the test fail.
26192 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26193 Don't hold the lock for too long.
26195 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26197 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26198 Don't unref the caps we passed to gst_caps_make_writable() after
26199 passing them. gst_caps_make_writable() will do that for us.
26201 2005-07-15 Andy Wingo <wingo@pobox.com>
26203 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26206 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26207 own marshalling function for the handoff signal. Properly type the
26208 buffer as a buffer. Fixes some warnings. Should do a more general
26210 (gst_identity_class_init): Plug into the right marshaller.
26212 2005-07-15 Wim Taymans <wim@fluendo.com>
26214 * docs/design/part-TODO.txt:
26215 * docs/design/part-clocks.txt:
26216 * docs/design/part-element-sink.txt:
26217 * docs/design/part-events.txt:
26218 * docs/design/part-gstpipeline.txt:
26219 Updated docs, mostly DISCONT related.
26221 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26223 * docs/pwg/building-pads.xml:
26224 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26226 2005-07-15 Andy Wingo <wingo@pobox.com>
26228 * tools/gst-typefind.c: Update, add copyright block.
26230 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26231 Normalize and truncate caps before fixation.
26234 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26235 discards all but the first structure from its argument.
26237 2005-07-15 Wim Taymans <wim@fluendo.com>
26239 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26240 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26241 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26242 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26243 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26244 (gst_base_transform_chain), (gst_base_transform_change_state),
26245 (gst_base_transform_set_passthrough),
26246 (gst_base_transform_is_passthrough):
26247 * gst/base/gstbasetransform.h:
26248 Make passthrough work using the bufferpools.
26249 Changed API a bit, subclasses have to write into a buffer
26250 provided by the base class.
26251 More debug info in nego functions.
26253 * gst/elements/gstidentity.c: (gst_identity_init),
26254 (gst_identity_transform):
26255 Port to new base class.
26257 2005-07-15 Wim Taymans <wim@fluendo.com>
26259 * gst/gstmessage.c: (gst_message_new_state_changed):
26260 * tools/gst-launch.c: (event_loop), (main):
26261 Totally dump messages in -launch with the -m option.
26262 Fix message name for State messages,
26264 2005-07-14 Wim Taymans <wim@fluendo.com>
26266 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26267 Post error messages on errors.
26269 2005-07-14 Wim Taymans <wim@fluendo.com>
26271 * gst/gstcaps.c: (gst_caps_do_simplify):
26275 Define error for stream stopped.
26277 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26278 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26279 Do proper return values.
26281 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26282 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26283 (gst_pad_get_range):
26284 Better return values.
26287 Reorganise return values, add macro to check for fatal errors.
26289 * gst/gstqueue.c: (gst_queue_chain):
26290 Return proper GstFlowReturn values,
26292 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26294 * docs/gst/gstreamer-sections.txt:
26295 * docs/gst/gstreamer.types:
26296 * docs/gst/tmpl/gst.sgml:
26297 * docs/gst/tmpl/gstbasesink.sgml:
26298 * docs/gst/tmpl/gstbasesrc.sgml:
26299 * docs/gst/tmpl/gstbasetransform.sgml:
26300 * docs/gst/tmpl/gstbin.sgml:
26301 * docs/gst/tmpl/gstbuffer.sgml:
26302 * docs/gst/tmpl/gstcaps.sgml:
26303 * docs/gst/tmpl/gstclock.sgml:
26304 * docs/gst/tmpl/gstcompat.sgml:
26305 * docs/gst/tmpl/gstconfig.sgml:
26306 * docs/gst/tmpl/gstelement.sgml:
26307 * docs/gst/tmpl/gstelementdetails.sgml:
26308 * docs/gst/tmpl/gstelementfactory.sgml:
26309 * docs/gst/tmpl/gstenumtypes.sgml:
26310 * docs/gst/tmpl/gsterror.sgml:
26311 * docs/gst/tmpl/gstevent.sgml:
26312 * docs/gst/tmpl/gstfakesink.sgml:
26313 * docs/gst/tmpl/gstfakesrc.sgml:
26314 * docs/gst/tmpl/gstfilesink.sgml:
26315 * docs/gst/tmpl/gstfilesrc.sgml:
26316 * docs/gst/tmpl/gstfilter.sgml:
26317 * docs/gst/tmpl/gstformat.sgml:
26318 * docs/gst/tmpl/gstghostpad.sgml:
26319 * docs/gst/tmpl/gstimplementsinterface.sgml:
26320 * docs/gst/tmpl/gstindex.sgml:
26321 * docs/gst/tmpl/gstindexfactory.sgml:
26322 * docs/gst/tmpl/gstinfo.sgml:
26323 * docs/gst/tmpl/gstiterator.sgml:
26324 * docs/gst/tmpl/gstmacros.sgml:
26325 * docs/gst/tmpl/gstmemchunk.sgml:
26326 * docs/gst/tmpl/gstminiobject.sgml:
26327 * docs/gst/tmpl/gstobject.sgml:
26328 * docs/gst/tmpl/gstpad.sgml:
26329 * docs/gst/tmpl/gstpadtemplate.sgml:
26330 * docs/gst/tmpl/gstparse.sgml:
26331 * docs/gst/tmpl/gstpipeline.sgml:
26332 * docs/gst/tmpl/gstplugin.sgml:
26333 * docs/gst/tmpl/gstpluginfeature.sgml:
26334 * docs/gst/tmpl/gstquery.sgml:
26335 * docs/gst/tmpl/gstqueue.sgml:
26336 * docs/gst/tmpl/gstregistry.sgml:
26337 * docs/gst/tmpl/gstregistrypool.sgml:
26338 * docs/gst/tmpl/gstscheduler.sgml:
26339 * docs/gst/tmpl/gstschedulerfactory.sgml:
26340 * docs/gst/tmpl/gststructure.sgml:
26341 * docs/gst/tmpl/gstsystemclock.sgml:
26342 * docs/gst/tmpl/gsttaglist.sgml:
26343 * docs/gst/tmpl/gsttagsetter.sgml:
26344 * docs/gst/tmpl/gsttrace.sgml:
26345 * docs/gst/tmpl/gsttrashstack.sgml:
26346 * docs/gst/tmpl/gsttypefind.sgml:
26347 * docs/gst/tmpl/gsttypefindfactory.sgml:
26348 * docs/gst/tmpl/gsttypes.sgml:
26349 * docs/gst/tmpl/gsturihandler.sgml:
26350 * docs/gst/tmpl/gsturitype.sgml:
26351 * docs/gst/tmpl/gstutils.sgml:
26352 * docs/gst/tmpl/gstvalue.sgml:
26353 * docs/gst/tmpl/gstversion.sgml:
26354 * docs/gst/tmpl/gstxml.sgml:
26355 * docs/libs/tmpl/gstcontrol.sgml:
26356 * docs/libs/tmpl/gstdataprotocol.sgml:
26357 * docs/libs/tmpl/gstdparam.sgml:
26358 * docs/libs/tmpl/gstdplinint.sgml:
26359 * docs/libs/tmpl/gstdpman.sgml:
26360 * docs/libs/tmpl/gstdpsmooth.sgml:
26361 * docs/libs/tmpl/gstgetbits.sgml:
26362 * docs/libs/tmpl/gstunitconvert.sgml:
26363 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26364 (gst_push_src_base_init), (gst_push_src_class_init),
26365 (gst_push_src_init), (gst_push_src_create):
26366 * gst/base/gstpushsrc.h:
26367 * gst/elements/gstelements.c:
26368 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26369 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26370 (gst_fake_sink_init), (gst_fake_sink_set_property),
26371 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26372 (gst_fake_sink_event), (gst_fake_sink_preroll),
26373 (gst_fake_sink_render), (gst_fake_sink_change_state):
26374 * gst/elements/gstfakesink.h:
26375 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26376 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26377 (gst_fake_src_base_init), (gst_fake_src_class_init),
26378 (gst_fake_src_init), (gst_fake_src_event_handler),
26379 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26380 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26381 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26382 (gst_fake_src_create_buffer), (gst_fake_src_create),
26383 (gst_fake_src_start), (gst_fake_src_stop):
26384 * gst/elements/gstfakesrc.h:
26385 * gst/elements/gstfilesink.c: (_do_init),
26386 (gst_file_sink_base_init), (gst_file_sink_class_init),
26387 (gst_file_sink_init), (gst_file_sink_dispose),
26388 (gst_file_sink_set_location), (gst_file_sink_set_property),
26389 (gst_file_sink_get_property), (gst_file_sink_open_file),
26390 (gst_file_sink_close_file), (gst_file_sink_query),
26391 (gst_file_sink_event), (gst_file_sink_render),
26392 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26393 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26394 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26395 * gst/elements/gstfilesink.h:
26396 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26397 (gst_file_src_class_init), (gst_file_src_init),
26398 (gst_file_src_finalize), (gst_file_src_set_location),
26399 (gst_file_src_set_property), (gst_file_src_get_property),
26400 (gst_file_src_map_region), (gst_file_src_map_small_region),
26401 (gst_file_src_create_mmap), (gst_file_src_create_read),
26402 (gst_file_src_create), (gst_file_src_is_seekable),
26403 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26404 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26405 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26406 (gst_file_src_uri_handler_init):
26407 * gst/elements/gstfilesrc.h:
26408 more autistic cleanliness in functions/names/defines
26410 2005-07-13 Andy Wingo <wingo@pobox.com>
26412 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26413 source couldn't negotiate.
26415 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26419 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26420 function. I am channeling Hades. Put your boots on suckers!!!
26422 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26424 * testsuite/caps/Makefile.am:
26425 * testsuite/caps/value_compare.c:
26426 * testsuite/caps/value_intersect.c:
26427 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26428 move two testsuite apps over to the check dir
26430 2005-07-12 Wim Taymans <wim@fluendo.com>
26432 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26433 Added more debug info in the negotiate process.
26435 * gst/gstmessage.h:
26436 Prepare for segment playback.
26438 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26444 * tools/gst-launch.c: (main):
26445 NULL pipeline on errors.
26447 2005-07-12 Andy Wingo <wingo@pobox.com>
26449 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26450 not it comes from a malloc region. Make sure our copy gets freed.
26452 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26454 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26455 * check/gst/gstmessage.c: (GST_START_TEST):
26456 * check/gst/gststructure.c: (GST_START_TEST),
26457 (gst_structure_suite), (main):
26459 * gst/gstelement.c: (gst_element_message_full):
26460 clean up GError and debug string now that they get copied
26461 * gst/gstmessage.c: (gst_message_new_error),
26462 (gst_message_new_warning), (gst_message_parse_error),
26463 (gst_message_parse_warning):
26464 use GST_TYPE_G_ERROR for structure_new, and take copies of
26465 arguments, so that we don't mess up refcounting
26467 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26469 * check/Makefile.am:
26470 add per-test valgrind targets
26471 * check/gst-libs/gdp.c: (GST_START_TEST),
26472 (gst_data_protocol_suite), (main):
26475 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26477 * check/Makefile.am:
26478 instate more valgrindable tests
26479 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26480 (GST_START_TEST), (fakesrc_suite):
26481 * check/gst/gstpad.c: (GST_START_TEST):
26482 * check/gst/gststructure.c: (GST_START_TEST):
26484 * docs/gst/tmpl/gstminiobject.sgml:
26485 * gst/gstpad.c: (gst_pad_finalize):
26486 fix the static mutex leak
26488 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26490 * check/Makefile.am:
26491 add two more tests for valgrinding
26492 * check/gst/gstvalue.c: (GST_START_TEST):
26493 test refcount of deserialized buffer, found a leak
26494 * docs/gst/gstreamer-docs.sgml:
26495 * docs/gst/gstreamer-sections.txt:
26496 * docs/gst/gstreamer.types:
26497 * docs/gst/tmpl/gstminiobject.sgml:
26498 add miniobject to docs
26499 * gst/gstminiobject.c:
26501 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26502 (gst_string_unwrap):
26503 fix a hard-to-find invalid write for one of the tests
26504 fix a leak for deserialized buffers
26506 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26508 * docs/pwg/advanced-events.xml:
26509 * docs/pwg/advanced-request.xml:
26510 * docs/pwg/advanced-scheduling.xml:
26511 * docs/pwg/appendix-porting.xml:
26512 * docs/pwg/building-boiler.xml:
26513 * docs/pwg/intro-preface.xml:
26514 * docs/pwg/other-ntoone.xml:
26515 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26516 of example code and explanation for pad activation, loop() and
26517 getrange() functions and a bit more. Remove old comments pointing
26519 * examples/pwg/Makefile.am:
26520 Add loop/getrange examples.
26522 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26525 check for valgrind binary + some fixes
26527 valgrind suppressions for the tests
26528 * check/Makefile.am:
26529 add a valgrind: target that valgrinds the unit tests
26530 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26531 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26532 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26533 * check/gst/gstghostpad.c:
26535 * check/gst/gstdata.c:
26537 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26538 (thread_unref), (gst_mini_object_suite), (main):
26540 * gst/gst.c: (gst_deinit):
26542 add a method to clean up.
26543 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26544 (gst_system_clock_obtain):
26545 allow for disposing the system clock.
26546 * tools/gst-launch.c: (main):
26549 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26551 * docs/gst/tmpl/gstbasesrc.sgml:
26552 * docs/gst/tmpl/gstfakesrc.sgml:
26553 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26554 (gst_base_src_init), (gst_base_src_set_property),
26555 (gst_base_src_get_property), (gst_base_src_get_range),
26556 (gst_base_src_start):
26557 * gst/base/gstbasesrc.h:
26558 add num-buffers property
26559 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26560 (gst_fakesrc_init), (gst_fakesrc_set_property),
26561 (gst_fakesrc_get_property), (gst_fakesrc_create),
26562 (gst_fakesrc_start):
26563 remove num-buffers property
26565 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26567 * docs/gst/gstreamer-sections.txt:
26568 * docs/gst/tmpl/gstbasesink.sgml:
26569 * docs/gst/tmpl/gstbasesrc.sgml:
26570 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26571 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26572 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26573 (gst_base_sink_set_property), (gst_base_sink_get_property),
26574 (gst_base_sink_handle_object), (gst_base_sink_event),
26575 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26576 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26577 (gst_base_sink_loop), (gst_base_sink_deactivate),
26578 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26579 (gst_base_sink_change_state):
26580 * gst/base/gstbasesink.h:
26581 * gst/base/gstbasesrc.h:
26582 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26583 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26584 (gst_filesink_init):
26585 more macro splitting
26587 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26589 * gst/gstelement.c: (gst_element_get_bus):
26591 * tools/gst-launch.c: (check_intr), (event_loop):
26594 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26596 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26599 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26601 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26602 (gst_base_src_finalize):
26603 add finalize method and clean up properly
26604 * gst/gstpipeline.c: (gst_pipeline_dispose):
26607 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26609 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26611 add more things to check
26612 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26613 * gst/gstelement.c:
26616 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26618 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26619 (GST_START_TEST), (fakesrc_suite):
26620 * check/gst-libs/gdp.c: (GST_START_TEST):
26621 * check/gst/gst.c: (GST_START_TEST):
26622 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26623 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26624 * check/gst/gstbus.c: (GST_START_TEST):
26625 * check/gst/gstcaps.c: (GST_START_TEST):
26626 * check/gst/gstdata.c: (GST_START_TEST):
26627 * check/gst/gstelement.c: (GST_START_TEST):
26628 * check/gst/gstghostpad.c: (GST_START_TEST):
26629 * check/gst/gstiterator.c: (GST_START_TEST):
26630 * check/gst/gstmessage.c: (GST_START_TEST):
26631 * check/gst/gstobject.c: (GST_START_TEST):
26632 * check/gst/gstpad.c: (GST_START_TEST):
26633 * check/gst/gststructure.c: (GST_START_TEST):
26634 * check/gst/gstsystemclock.c: (GST_START_TEST),
26635 (gst_systemclock_suite):
26636 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26637 * check/gst/gstvalue.c: (GST_START_TEST):
26638 * check/pipelines/cleanup.c: (GST_START_TEST):
26639 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26640 * check/states/sinks.c: (GST_START_TEST):
26641 * check/gstcheck.c: (gst_check_init):
26642 * check/gstcheck.h:
26643 add debugging category
26644 use GST_START_TEST now, so we add a debug line
26646 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26648 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26649 add test for state change message on a bin
26650 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26652 * gst/gstbin.c: (gst_bin_init):
26653 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26654 * gst/gstelement.c: (gst_element_post_message),
26655 (gst_element_set_state):
26656 * gst/gstelementfactory.c: (gst_element_factory_create):
26657 * gst/gstmessage.c: (gst_message_new):
26658 * gst/gstscheduler.c:
26659 various debugging additions and cleanups
26661 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26663 * check/Makefile.am:
26664 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26666 adding tests for elements
26667 * gst/gstelement.c: (gst_element_dispose):
26669 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26671 * gst/registries/gstlibxmlregistry.c: (load_feature):
26672 plug more leaks. A simple gst_init() now is leakfree, yay.
26674 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26676 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26677 (gst_xml_registry_load):
26678 plug another memleak
26680 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26683 use GST_SET_ERROR_CFLAGS
26684 * docs/faq/cvs.xml:
26685 change to ERROR_CFLAGS
26687 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26690 make GST_ERROR_CFLAGS overridable and re-enable Werror
26691 * docs/faq/cvs.xml:
26692 add a note about error CFLAGS
26693 * docs/gst/tmpl/gstfakesrc.sgml:
26694 * gst/elements/gstfakesrc.c:
26695 comment out some unused code
26696 * gst/gst.c: (split_and_iterate):
26697 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26701 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26703 * common/Makefile.am:
26704 * common/gtk-doc.mak:
26705 * docs/gst/Makefile.am:
26706 factor out gtk-doc.mak
26708 2005-07-07 Wim Taymans <wim@fluendo.com>
26710 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26711 (gst_thread_scheduler_dispose):
26712 Unlock the STREAM_LOCK completely.
26714 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26716 * check/Makefile.am:
26717 * check/elements/.cvsignore:
26718 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26719 (START_TEST), (fakesrc_suite), (main):
26720 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26721 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26722 (gst_fakesrc_create), (gst_fakesrc_start):
26723 * gst/elements/gstfakesrc.h:
26724 adding a first element test
26726 2005-07-07 Andy Wingo <wingo@pobox.com>
26728 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26731 2005-07-07 Wim Taymans <wim@fluendo.com>
26737 2005-07-07 Wim Taymans <wim@fluendo.com>
26739 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26740 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26741 Allow subclasses to implement their own negotiation.
26743 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26745 * docs/design/part-gstbin.txt:
26746 * docs/design/part-gstpipeline.txt:
26747 Update design notes to reflect the movement of
26748 responsibility for bus handling from GstPipeline to
26751 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26754 Remove unnecessary queue2/3/4 examples.
26756 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26758 * examples/Makefile.am:
26759 * examples/helloworld/helloworld.c: (event_loop), (main):
26760 * examples/queue/queue.c: (event_loop), (main):
26761 * examples/queue2/queue2.c: (main):
26762 Update a couple of the examples to work again.
26764 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26765 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26766 Spelling corrections and extra debug.
26768 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26769 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26770 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26772 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26773 (gst_pipeline_change_state):
26774 * gst/gstpipeline.h:
26775 Move the bus handler for children to the GstBin, and create a
26776 separate bus for receiving messages from children to the one the
26777 bus sends 'upwards' on.
26779 2005-07-06 Wim Taymans <wim@fluendo.com>
26782 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26783 (gst_base_sink_handle_object), (gst_base_sink_loop),
26784 (gst_base_sink_change_state):
26785 * gst/base/gstbasesink.h:
26786 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26787 (gst_base_src_init), (gst_base_src_setcaps),
26788 (gst_base_src_getcaps), (gst_base_src_loop),
26789 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26790 (gst_base_src_start), (gst_base_src_change_state):
26791 * gst/base/gstbasesrc.h:
26792 Make basesrc negotiate.
26793 Handle the case where preroll fails in basesink.
26796 2005-07-06 Wim Taymans <wim@fluendo.com>
26798 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26799 Implement the fixate function.
26800 Clean up acceptcaps.
26802 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26804 * docs/pwg/building-filterfactory.xml:
26805 * docs/pwg/pwg.xml:
26806 Remove never-written filter-factory chapter; I'll add the various
26807 base classes to part 4 ("other element types") later on.
26809 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26811 * docs/pwg/advanced-negotiation.xml:
26812 * docs/pwg/building-boiler.xml:
26813 * docs/pwg/building-pads.xml:
26814 * docs/pwg/pwg.xml:
26815 * examples/pwg/Makefile.am:
26816 Add a chapter on caps negotiation, simplify the original code
26817 samples a bit w.r.t. caps negotiation, add link to the advanced
26818 section. Add a bunch of examples showing different use cases of
26819 different types of caps negotiation. Upstream renegotiation isn't
26820 fully documented yet since nobody knows how that works.
26822 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26824 * check/gst/gstpad.c:
26825 * check/gstcheck.c:
26826 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26827 if pad has no parent, return NULL as list of internal links
26829 2005-07-05 Andy Wingo <wingo@pobox.com>
26831 * gst/elements/gstfilesrc.c:
26832 * gst/elements/gstfakesrc.c:
26833 * gst/base/gstpushsrc.c:
26834 * gst/base/gstbasesrc.h:
26835 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26837 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26840 better report generation target (lcov needs a patch)
26842 2005-07-05 Andy Wingo <wingo@pobox.com>
26844 * gst/elements, testsuite: Null if we got it...
26846 2005-07-05 Wim Taymans <wim@fluendo.com>
26849 * libs/gst/dataprotocol/Makefile.am:
26850 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26851 * libs/gst/dataprotocol/dataprotocol.h:
26852 * pkgconfig/Makefile.am:
26853 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26854 * pkgconfig/gstreamer-dataprotocol.pc.in:
26855 Ported dataprotol to 0.9.
26856 Added pkgconfig files.
26858 2005-07-05 Andy Wingo <wingo@pobox.com>
26860 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26861 Default to returning TRUE for the case when tranform_caps returns
26862 a fixed caps, like for identity or volume.
26864 * check/gst/gstbus.c (pound_bus_with_messages):
26865 * check/gst/gstmessage.c (START_TEST):
26866 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26867 message API change.
26869 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26870 logic weaks here: always run transform_caps, trying passthrough
26871 operation only if the original caps intersects with the transform.
26873 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26874 source and sink caps.
26876 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26877 Intersect the peer caps with the pad template before going into
26879 (gst_base_transform_transform_caps): More debugging.
26881 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26884 2005-07-04 Edward Hervey <edward@fluendo.com>
26888 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26891 2005-07-04 Andy Wingo <wingo@pobox.com>
26893 * check/gst/gstpad.c: Only set explicit caps on pads.
26895 2005-07-01 Andy Wingo <wingo@pobox.com>
26897 * tests/network-clock.scm: Commentary update.
26899 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26900 Didn't really make sense, not implementable with basetransform,
26902 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26903 attempt at implementing the sync property, needs an unlock method.
26905 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26906 New func, by default returns the same caps (the identity
26908 (gst_base_transform_getcaps): Uses transform_caps to return
26909 something sensible.
26910 (gst_base_transform_setcaps): Complicated logic to get caps on
26911 both pads, even if they are different, and to call set_caps once
26912 for every time both pads get their caps set.
26913 (gst_base_transform_handle_buffer): Give the ref to the transform
26914 function. Allows in-place modification of the buffer.
26916 * gst/base/gstbasetransform.h (transform_caps): New class method.
26917 Given caps on one side, what can I do on the other.
26918 (set_caps): Take two caps, one for each side of the element.
26921 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26922 caps in place. This is safe because we can check the mutability of
26923 the caps, and a good idea because fixate functions are just called
26924 as a matter of last resort. (Not actually implemented.)
26925 (gst_pad_set_caps): If the caps we're setting is actually the same
26926 as the existing pad caps, just update the pointer without calling
26927 setcaps. Assert that caps is either NULL or fixed, as per the
26930 * gst/gstghostpad.c: Update for fixate changes.
26932 2005-07-02 Andy Wingo <wingo@pobox.com>
26935 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26936 two refcounts makes it immutable, which is enough. Doc more.
26938 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26940 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26941 Put the mini_object into GValue as a mini_object,
26942 not a gpointer, since that's how we declared
26945 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26947 * examples/pwg/Makefile.am:
26948 Fix buildbot again.
26950 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26952 * docs/pwg/building-testapp.xml:
26954 * examples/pwg/Makefile.am:
26957 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26960 * examples/Makefile.am:
26961 * examples/pwg/Makefile.am:
26962 * examples/pwg/extract.pl:
26963 Enable building the PWG examples.
26964 * docs/pwg/advanced-interfaces.xml:
26965 Add URI interface stub.
26966 * docs/pwg/advanced-types.xml:
26967 * docs/pwg/other-autoplugger.xml:
26968 * docs/pwg/appendix-porting.xml:
26969 * docs/pwg/pwg.xml:
26970 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26971 * docs/pwg/building-boiler.xml:
26972 * docs/pwg/building-chainfn.xml:
26973 * docs/pwg/building-pads.xml:
26974 * docs/pwg/building-props.xml:
26975 * docs/pwg/building-state.xml:
26976 * docs/pwg/building-testapp.xml:
26977 Update the building-*.xml parts for 0.9 changes. All examples
26978 code blocks compile in examples/pwg/*.
26980 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26982 * docs/manual/advanced-autoplugging.xml:
26983 * docs/manual/appendix-checklist.xml:
26984 * docs/manual/appendix-integration.xml:
26985 * docs/manual/highlevel-components.xml:
26986 Fix playbin/decodebin examples, update docs a bit, mention bus
26987 instead of signals in various places, mention kmplayer and
26988 kaffeine since they have a working GStreamer backend in the KDE
26991 2005-06-30 Wim Taymans <wim@fluendo.com>
26994 * docs/design/draft-ghostpads.txt:
26995 * docs/design/draft-push-pull.txt:
26996 * docs/design/draft-query.txt:
26997 * docs/design/part-TODO.txt:
26998 * docs/design/part-query.txt:
26999 Added CHANGES-0.9 doc, updated status of other docs.
27004 2005-06-30 Wim Taymans <wim@fluendo.com>
27006 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27007 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27008 (gst_base_sink_change_state):
27009 * gst/base/gstbasesink.h:
27010 Some tweaks, only EOS and a buffer complete a preroll.
27012 2005-06-30 Andy Wingo <wingo@pobox.com>
27014 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27015 activate_push down to the internal pad as well.
27017 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
27019 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27021 * gst/gsttaginterface.c:
27022 Some documentation fixes (#307394 and #307397).
27024 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
27026 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27028 * gst/gstvalue.c: (gst_value_intersect_list):
27029 Fix memleak (#309125).
27031 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27033 * docs/manual/advanced-dataaccess.xml:
27034 Fix fakesrc example to compile; doesn't work, bug somewhere...?
27035 * docs/manual/basics-pads.xml:
27036 Add reference for filtered caps to above chapter.
27038 2005-06-30 Wim Taymans <wim@fluendo.com>
27040 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27041 (gst_bin_change_state):
27043 Lame attempt at making the state change function a bit
27046 2005-06-30 Wim Taymans <wim@fluendo.com>
27048 * docs/design/part-clocks.txt:
27049 * docs/design/part-element-sink.txt:
27050 * docs/design/part-events.txt:
27051 * docs/design/part-preroll.txt:
27052 * docs/design/part-states.txt:
27053 Some more tweeks and additions to the docs.
27055 2005-06-30 Wim Taymans <wim@fluendo.com>
27057 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27058 (default_have_data), (gst_pad_class_init), (gst_pad_init),
27059 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27060 (gst_pad_check_pull_range), (gst_pad_get_range),
27061 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27063 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27064 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27065 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27066 (gst_pad_remove_buffer_probe):
27067 Removed atomic operations, use existing LOCK.
27068 Move exception handling out of main code path.
27070 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27072 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27073 (silly_return_true_function), (gst_pad_class_init),
27074 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27075 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27076 (gst_pad_send_event):
27077 Fix accumulator, add default value by using _emitv() instead
27078 of _emit() for signal emission.
27080 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27082 * docs/manual/advanced-dataaccess.xml:
27083 * examples/manual/Makefile.am:
27085 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27088 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27090 * gst/elements/gstfilesink.c: (gst_filesink_render):
27091 Simplify code so that we don't have to handle short
27092 writes and return GST_FLOW_ERROR if an error occured.
27094 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27096 * docs/gst/gstreamer-docs.sgml:
27097 Remove probes more.
27099 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27101 * docs/gst/gstreamer-sections.txt:
27102 * docs/gst/tmpl/gstpad.sgml:
27103 * docs/gst/tmpl/gstprobe.sgml:
27105 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27106 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27107 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27108 (gst_pad_push_event), (gst_pad_send_event):
27110 * gst/gstutils.c: (gst_pad_add_data_probe),
27111 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27112 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27113 (gst_pad_remove_buffer_probe):
27115 Remove old probes, add new g-signal-based probes and some utility
27118 2005-06-29 Edward Hervey <edward@fluendo.com>
27120 * gst/gstelementfactory.c:
27123 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27124 the definition to the header file.
27126 2005-06-29 Andy Wingo <wingo@pobox.com>
27128 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27129 plugins from the source directory.
27131 2005-06-29 Wim Taymans <wim@fluendo.com>
27133 * docs/gst/tmpl/gstbuffer.sgml:
27134 * docs/gst/tmpl/gstclock.sgml:
27135 Some fixings for blantently wrong text.
27137 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27139 * check/Makefile.am:
27140 * gst/gst.c: (add_path_func), (init_pre):
27141 * gst/gstregistry.c: (gst_registry_add_path):
27142 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27143 only scan the GST_PLUGIN_PATH locations, and not add
27146 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27148 * docs/gst/gstreamer-sections.txt:
27149 * docs/gst/tmpl/gstbasesrc.sgml:
27150 * gst/gstelement.c:
27151 * gst/gstelement.h:
27156 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27158 * docs/manual/advanced-autoplugging.xml:
27159 Fix autoplugging example.
27161 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27163 * docs/manual/advanced-autoplugging.xml:
27164 * docs/manual/mime-world.fig:
27165 Try to get autoplugging working, fix type detection. Fix text
27166 in hello-world image.
27168 2005-06-29 Wim Taymans <wim@fluendo.com>
27170 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27171 (gst_base_sink_change_state):
27175 map SIGNAL and BROADCAST to the right function.
27178 Remove redundant braces.
27180 * gst/gstpad.c: (gst_pad_set_caps):
27181 Don't call setcaps function when reseting caps to NULL.
27183 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27184 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27185 (gst_system_clock_id_unschedule):
27186 Use BROADCAST as this is what we do.
27188 2005-06-29 Wim Taymans <wim@fluendo.com>
27190 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27191 We are actually prerolling before commiting the state
27194 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27196 * docs/manual/advanced-clocks.xml:
27197 * docs/manual/advanced-interfaces.xml:
27198 * docs/manual/advanced-metadata.xml:
27199 * docs/manual/advanced-position.xml:
27200 * docs/manual/advanced-schedulers.xml:
27201 * docs/manual/advanced-threads.xml:
27202 * docs/manual/appendix-porting.xml:
27203 * docs/manual/basics-bins.xml:
27204 * docs/manual/basics-bus.xml:
27205 * docs/manual/basics-elements.xml:
27206 * docs/manual/basics-helloworld.xml:
27207 * docs/manual/basics-pads.xml:
27208 * docs/manual/highlevel-components.xml:
27209 * docs/manual/manual.xml:
27210 * docs/manual/thread.fig:
27211 Update (until threads/scheduling) Application Development Manual;
27212 remove GstThread, add GstBus, add simple porting checklist, add
27213 documentation for tag writing, clocks, make all examples until this
27214 part compile and run.
27215 * examples/manual/Makefile.am:
27216 Update from changes to Application Development Manual; add bus
27217 example, remove thread example.
27219 2005-06-28 Wim Taymans <wim@fluendo.com>
27221 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27222 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27223 (gst_bus_source_dispatch):
27224 Add debugging messages.
27225 Make internal methods static.
27226 Handle the case where the bus is flushed in the handler.
27228 * gst/gstelement.c: (gst_element_get_bus):
27229 Fix refcount in _get_bus();
27231 * gst/gstpipeline.c: (gst_pipeline_change_state),
27232 (gst_pipeline_get_clock_func):
27233 Clock refcounting fixes.
27234 Handle the case where preroll timed out more gracefully.
27236 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27237 Clean up the internal thread in dispose. This is needed
27238 for subclasses that actually get disposed.
27240 * gst/schedulers/threadscheduler.c:
27241 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27242 (gst_thread_scheduler_dispose):
27243 Free thread pool in dispose.
27245 2005-06-28 Andy Wingo <wingo@pobox.com>
27247 * tests/network-clock-utils.scm (debug, print-event): New utils.
27249 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27250 (*packet-loss*): Unified loss probability.
27251 (network-time): Report out-of-band events.
27253 * tests/plot-data: Add support for out-of-band events. Hack it
27254 into this script instead of passing it down the pipe; should fix
27257 2005-06-28 Wim Taymans <wim@fluendo.com>
27259 * docs/gst/gstreamer.types:
27260 * docs/gst/tmpl/gstbasesrc.sgml:
27261 * docs/gst/tmpl/gstpad.sgml:
27264 2005-06-28 Wim Taymans <wim@fluendo.com>
27266 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27267 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27268 (gst_proxy_pad_do_fixatecaps):
27269 Correctly proxy the check_pull_range function.
27271 2005-06-28 Andy Wingo <wingo@pobox.com>
27273 * tests/network-clock.scm: Removed need for slib.
27275 2005-06-28 Wim Taymans <wim@fluendo.com>
27277 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27278 (gst_basesink_preroll_queue_flush):
27279 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27280 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27281 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27282 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27283 (gst_proxy_pad_set_property):
27286 * gst/gstqueue.c: (gst_queue_init):
27287 The deprecated pad loop function is removed now.
27289 2005-06-28 Andy Wingo <wingo@pobox.com>
27291 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27292 New parameters, simulate network packet loss.
27294 * tests/network-clock-utils.scm: Initialize the RNG.
27296 2005-06-28 Wim Taymans <wim@fluendo.com>
27298 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27299 (gst_basesink_event), (gst_basesink_deactivate):
27300 Flushing the preroll queue always needs to unlock the waiters.
27302 2005-06-28 Edward Hervey <edward@fluendo.com>
27304 * gst/gstpipeline.c: (gst_pipeline_send_event):
27305 Wheen a seek was successful on a pipeline, set the stream_time to the
27306 seek offset in order to have a synchronized stream_time.
27308 2005-06-28 Wim Taymans <wim@fluendo.com>
27310 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27311 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27312 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27313 (gst_proxy_pad_do_fixatecaps):
27314 Call wrapper function instead of just calling the function
27315 pointers. This takes care of any locking and whatmore.
27317 2005-06-28 Wim Taymans <wim@fluendo.com>
27319 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27320 (gst_pad_pull_range):
27322 CONNECTED -> LINKED.
27324 2005-06-28 Andy Wingo <wingo@pobox.com>
27326 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27327 source-munging commit!!!
27329 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27330 (gst_object_sink): Take gpointer arguments, not GstObject --
27331 avoids casts. Like GLib.
27333 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27336 2005-06-27 Andy Wingo <wingo@pobox.com>
27338 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27341 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27342 returns a sorted copy of the trace list.
27343 (gst_alloc_trace_print_live): New API, only prints traces with
27344 live objects. Sort the list.
27345 (gst_alloc_trace_print_all): Sort the list.
27346 (gst_alloc_trace_print): Align columns.
27348 * gst/elements/gstttypefindelement.c:
27349 * gst/elements/gsttee.c:
27350 * gst/base/gstbasesrc.c:
27351 * gst/base/gstbasesink.c:
27352 * gst/base/gstbasetransform.c:
27353 * gst/gstqueue.c: Adapt for pad activation changes.
27355 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27357 (gst_pipeline_dispose): Drop ref on sched.
27359 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27360 (gst_pad_activate_default): Push mode by default.
27361 (pre_activate_switch, post_activate_switch): New stubs, things to
27362 do before and after switching activation modes on pads.
27363 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27364 the pad's activate function to choose which mode to activate.
27365 Shortcut on deactivation and call the right function directly.
27366 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27368 (gst_pad_activate_push): New API, same for push mode.
27369 (gst_pad_set_activate_function)
27370 (gst_pad_set_activatepull_function)
27371 (gst_pad_set_activatepush_function): Setters for new API.
27373 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27374 Trace all miniobjects.
27375 (gst_mini_object_make_writable): Unref the arg if we copy, like
27376 gst_caps_make_writable.
27378 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27380 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27381 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27382 Adapt for new pad API.
27384 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27386 * gst/gstelement.h:
27387 * gst/gstelement.c (gst_element_iterate_src_pads)
27388 (gst_element_iterate_sink_pads): New API functions.
27390 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27391 should fold into gstiterator.c in some form.
27392 (gst_element_pads_activate): Simplified via use of fold and
27393 delegation of decisions to gstpad->activate.
27395 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27398 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27399 class once in init, like gstmessage. Didn't run into this issue
27400 but it seems correct. Don't initialize a trace, gstminiobject does
27403 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27404 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27406 (assert_live_count): New util function, uses alloc traces to check
27409 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27410 To be modified when unlink drops the internal pad.
27412 2005-06-27 Wim Taymans <wim@fluendo.com>
27414 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27415 (gst_bin_change_state):
27416 Cleanup the get_state() function a little, make sure it
27417 iterates the same set of elements.
27418 Added stub iterate_state_order().
27420 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27422 * docs/gst/gstreamer-docs.sgml:
27423 * docs/gst/gstreamer-sections.txt:
27424 * docs/gst/gstreamer.types:
27425 * docs/gst/tmpl/gstbasesink.sgml:
27426 * docs/gst/tmpl/gstbasesrc.sgml:
27427 * docs/gst/tmpl/gstbasetransform.sgml:
27428 * docs/gst/tmpl/gstelement.sgml:
27429 * docs/gst/tmpl/gstiterator.sgml:
27430 * gst/base/gstbasesrc.c:
27431 * gst/base/gstbasesrc.h:
27432 * gst/base/gstbasetransform.h:
27433 * gst/gstelement.c:
27434 * gst/gstiterator.h:
27435 adding basetransform and iterator docs
27437 2005-06-27 Andy Wingo <wingo@pobox.com>
27439 * docs/design/part-activation.txt: Notes on how activation should
27440 work -- not quite implemented yet.
27442 2005-06-25 Wim Taymans <wim@fluendo.com>
27444 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27445 At least get the chain function correct, needs more
27448 2005-06-25 Wim Taymans <wim@fluendo.com>
27450 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27451 (gst_basesink_handle_object), (gst_basesink_event),
27452 (gst_basesink_do_sync), (gst_basesink_handle_event),
27453 (gst_basesink_change_state):
27455 Right, two problems here: ghostpads don't take locks and
27456 glib _rec_mutex_lock_full() with depth==0 still locks.
27457 Catch illegal locking and g_warn them.
27459 2005-06-25 Wim Taymans <wim@fluendo.com>
27461 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27462 Have to check for completion now...
27464 2005-06-25 Wim Taymans <wim@fluendo.com>
27466 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27467 (gst_basesink_handle_object), (gst_basesink_event),
27468 (gst_basesink_do_sync), (gst_basesink_handle_event),
27469 (gst_basesink_change_state):
27471 Unlock STREAM_LOCK whatever the recursion was.
27473 2005-06-25 Wim Taymans <wim@fluendo.com>
27475 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27476 (gst_basesink_preroll_queue_empty),
27477 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27478 (gst_basesink_event), (gst_basesink_do_sync),
27479 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27480 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27481 (gst_basesink_change_state):
27482 Reworked the base sink, handle event and buffer serialisation
27483 correctly and removed possible deadlock.
27484 Handle EOS correctly.
27486 2005-06-25 Wim Taymans <wim@fluendo.com>
27488 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27489 (gst_pipeline_change_state):
27490 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27491 Allow elements to post EOS in the state change function.
27492 Fix up -launch, make it exit the poll loop when the
27493 pipeline actually changed state.
27494 Fix up warning parsing in -launch.
27496 2005-06-25 Wim Taymans <wim@fluendo.com>
27498 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27499 (gst_tee_sink_activate):
27500 Core takes STREAM_LOCK for us now.
27502 2005-06-25 Wim Taymans <wim@fluendo.com>
27504 * gst/gstelement.c: (gst_element_get_state_func),
27505 (gst_element_set_state):
27506 * gst/gstelement.h:
27507 * gst/gstmessage.c: (gst_message_parse_error),
27508 (gst_message_parse_warning):
27509 Keep track of current target state while performing a state
27510 change so that subclasses can do something interesting.
27511 Fix parsing of warning/error messages when GError is NULL.
27513 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27515 * docs/gst/Makefile.am:
27516 * docs/gst/gstreamer-docs.sgml:
27517 * docs/gst/gstreamer-sections.txt:
27518 * docs/gst/gstreamer.types:
27519 * docs/gst/tmpl/gstbasesink.sgml:
27520 * docs/gst/tmpl/gstbasesrc.sgml:
27521 * docs/gst/tmpl/gstbin.sgml:
27522 * docs/gst/tmpl/gstcompat.sgml:
27523 * docs/gst/tmpl/gstfakesink.sgml:
27524 * docs/gst/tmpl/gstfakesrc.sgml:
27525 * docs/gst/tmpl/gstfilesink.sgml:
27526 * docs/gst/tmpl/gstfilesrc.sgml:
27527 * docs/gst/tmpl/gstindex.sgml:
27528 * docs/manual/appendix-quotes.xml:
27529 * gst/base/gstbasesrc.h:
27530 * gst/elements/gstfakesrc.h:
27531 * gst/gstmessage.h:
27532 start pulling in base classes and elements in our docs
27534 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27536 * docs/gst/Makefile.am:
27537 * docs/libs/Makefile.am:
27538 fixed make distcheck with gtk-doc 1.3
27540 2005-06-23 Wim Taymans <wim@fluendo.com>
27542 * gst/gstelement.c: (gst_element_get_state_func),
27543 (gst_element_set_state), (gst_element_change_state):
27544 When the state did not change, also report NO_PREROLL
27547 2005-06-23 Wim Taymans <wim@fluendo.com>
27549 * gst/gstpad.c: (gst_pad_event_default):
27550 * gst/gstqueue.c: (gst_queue_loop):
27551 No unsafe task pausing please.
27553 2005-06-23 Wim Taymans <wim@fluendo.com>
27555 * gst/schedulers/threadscheduler.c:
27556 (gst_thread_scheduler_task_start),
27557 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27558 Ref the task before pushing it on the threadpool. This
27559 makes sure that we have a ref when the threadfunction is
27562 2005-06-23 Andy Wingo <wingo@pobox.com>
27564 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27565 offset is greater than the file's size.
27567 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27568 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27569 * gst/gstobject.c (gst_object_class_init): Make the class lock
27570 recursive. Wim won't let me drop deep_notify. Decodebin works
27571 again, whoopdy doo.
27573 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27574 internal pad, and hacks accordingly. Doesn't do it on the target
27575 pad because we change its caps. Probably catches all cases of
27577 (gst_ghost_pad_set_property): Connect to notify::caps as
27580 * tests/network-clock.scm (plot-simulation): Pipe data to the
27581 elite python skript.
27583 * tests/network-clock-utils.scm (define-parameter): New macro,
27584 defines a parameter that can be set via the command line.
27585 (set-parameter!, parse-parameter-arguments): Command line args
27588 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27591 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27593 * gst/elements/gsttypefindelement.c:
27594 (gst_type_find_element_handle_event):
27595 Don't restart typefinding on a discont.
27596 * gst/gstelement.c: (gst_element_set_state):
27597 Debug spelling fix.
27598 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27599 Allow changing mode of an active pad.
27600 Debug output fixes.
27601 * gst/registries/gstlibxmlregistry.c: (load_feature):
27602 Don't cast a static pad template to a normal pad template.
27604 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27606 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27607 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27608 remove gst_strtoll completely, since it didn't actually do
27609 anything more than what g_ascii_strtoull already does.
27610 check for range errors when deserializing
27611 do a cast for the unsigned cases; but further fixing needs
27612 a decision on what the interpretation of "(int)" and
27613 deserialization should be for values that fall outside the
27614 type's boundaries (ie, refuse, or interpret as casting)
27616 2005-06-23 Wim Taymans <wim@fluendo.com>
27618 * check/Makefile.am:
27619 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27620 * docs/design/part-live-source.txt:
27621 * docs/design/part-states.txt:
27622 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27623 (gst_basesrc_set_live), (gst_basesrc_is_live),
27624 (gst_basesrc_get_range), (gst_basesrc_activate),
27625 (gst_basesrc_change_state):
27626 * gst/base/gstbasesrc.h:
27627 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27628 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27629 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27630 * gst/gstelement.c: (gst_element_get_state_func),
27631 (gst_element_set_state):
27632 * gst/gstelement.h:
27634 * tools/gst-launch.c: (event_loop), (main):
27635 Added support for live sources and other elements that
27637 Updated design docs, added live-source design doc.
27638 Implemented live source functionality in basesrc
27639 Fix error condition in _bin_get_state()
27640 Implement live source handling in -launch.
27641 Added check for live sources.
27642 Fixed case in GstBin where elements were changed state
27646 2005-06-23 Andy Wingo <wingo@pobox.com>
27648 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27649 borken refcounting.
27651 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27652 gst_caps_replace takes care of this for us.
27654 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27655 gst_pad_set_caps on the target, not just its setcaps() function.
27657 * tests/network-clock.scm:
27658 * tests/network-clock-utils.scm: A network clock simulator.
27659 Something of an algorithmic testbed before doing something in C.
27661 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27663 * check/Makefile.am:
27664 * check/gst/capslist.h:
27665 copy over from 0.8, and add two with bitmasks specified with
27667 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27668 add test to parse everything from capslist.h
27669 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27671 add test for structure deserialization
27672 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27673 add tests for deserialization of strings to int types
27674 * gst/gststructure.c: (gst_structure_nth_field_name):
27675 * gst/gststructure.h:
27676 add a way to get the name of a field referenced by index
27677 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27678 instead of checking if the resulting long long lies between
27679 min and max, we check if the long long would fit into
27680 a number of bytes for the final type.
27681 This fixes cases where a string represents 2^32 - 1, which
27682 when cast to int would be the (valid) -1, but is bigger than
27685 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27687 * gst/parse/grammar.y:
27688 add a log line for type deserialization
27690 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27692 * check/gst/gstvalue.c: (START_TEST):
27693 * gst/gstvalue.c: (gst_value_deserialize):
27694 return long long, not int, so gint64 deserialization actually
27695 works. Is there any flag that makes the compiler check this ?
27698 2005-06-22 Wim Taymans <wim@fluendo.com>
27701 Added convenience macros for setting buffers in GValue.
27703 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27705 * check/gst/.cvsignore:
27706 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27707 add a test deserializing int64, and comment part out because
27710 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27712 * check/Makefile.am:
27713 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27714 * testsuite/Makefile.am:
27715 * testsuite/caps/Makefile.am:
27716 * testsuite/caps/value_serialize.c:
27717 * testsuite/test_gst_init.c:
27718 move a value_serialize test over
27720 2005-06-20 Wim Taymans <wim@fluendo.com>
27725 * gst/gstvalue.c: (gst_value_compare_buffer),
27726 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27727 (gst_value_compare_flags), (gst_value_serialize_flags),
27728 (gst_value_deserialize_flags), (_gst_value_initialize):
27729 Fix serialisation of buffers, they are not boxed types anymore
27731 2005-06-20 Wim Taymans <wim@fluendo.com>
27733 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27734 Testcase to show error in buffer-on-caps serialisation.
27736 2005-06-20 Andy Wingo <wingo@pobox.com>
27738 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27739 will be adding to later.
27741 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27742 if its socks fill with rocks.
27743 (gst_system_clock_obtain): Set the name on object construction.
27744 Avoid double-checked locking.
27746 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27748 * gst/gsturi.c: (gst_element_make_from_uri):
27749 Fix potential endless loop.
27751 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27753 * check/Makefile.am:
27755 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27757 move over from testsuite dir and clean up
27760 * testsuite/Makefile.am:
27761 * testsuite/tags/.cvsignore:
27762 * testsuite/tags/Makefile.am:
27763 * testsuite/tags/merge.c:
27764 remove testsuite/tags
27766 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27768 * docs/gst/gstreamer-sections.txt:
27769 * docs/gst/tmpl/gstenumtypes.sgml:
27770 * win32/gstenumtypes.c:
27771 clean up documentation build a little
27773 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27775 * check/gstcheck.h:
27776 add macros for checking refcounts on objects and caps
27777 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27778 add some more unit tests
27779 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27780 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27781 fix leaked refcounts (I hope :)) so unittest works
27785 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27787 * configure.ac: back to HEAD
27789 === release 0.9.1 ===
27791 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27797 2005-06-17 Andy Wingo <wingo@pobox.com>
27799 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27800 assert; it's always possible that the pad gets deactivated in
27801 between the checks in gstpad.c and the implementation. Rely on
27802 finish_preroll() to return a FLUSHING or similar instead of on the
27805 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27806 clock and post an EOS message if we come out of finish_preroll in
27809 2005-06-16 David Schleef <ds@schleef.org>
27811 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27812 (gst_capsfilter_set_property): Allow NULL as possible value
27813 for filter_caps property, indicating GST_CAPS_ANY.
27815 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27817 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27819 * gst/schedulers/Makefile.am:
27821 * gstreamer.spec.in:
27824 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27826 * gstreamer.spec.in:
27829 2005-06-08 Andy Wingo <wingo@pobox.com>
27831 * gst/gstutils.c: RPAD fixes all around.
27832 (gst_element_link_pads): Refcounting fixes.
27834 * tools/gst-inspect.c:
27835 * tools/gst-xmlinspect.c:
27837 * gst/base/gsttypefindhelper.c:
27838 * gst/base/gstbasesink.c:
27839 * gst/gstqueue.c: RPAD fixes.
27841 * gst/gstghostpad.h:
27842 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27843 pads. The tricky thing is they provide both source and sink
27844 interfaces, since they proxy the internal pad for the external
27845 pad, and vice versa. Implement with lower-level ProxyPad objects,
27846 with the interior proxy pad as a child of the exterior ghost pad.
27847 Should write a doc on this.
27849 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27850 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27853 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27854 pads are real pads. No ghost pads in this file. Not documenting
27855 the myriad s/RPAD/PAD/ and REALIZE fixes.
27856 (gst_pad_class_init): Add properties for "direction" and
27857 "template". Both are construct-only, so they can't change during
27858 the life of the pad. Fixes properly deriving from GstPad.
27859 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27860 derived objects, just set properties when creating the objects via
27862 (gst_pad_get_parent): Implement as a function, return NULL if the
27863 parent is not an element.
27864 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27865 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27867 * gst/gstobject.c (gst_object_class_init): Make name a construct
27868 property. Don't set it in the object init.
27870 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27871 with UNKNOWN direction.
27872 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27873 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27874 (gst_element_remove_pad): Remove ghost-pad special cases.
27875 (gst_element_pads_activate): Remove rpad cruft.
27877 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27878 catch the pad's-parent-not-an-element case.
27880 * gst/gst.h: Include gstghostpad.h.
27882 * gst/gst.c (init_post): No more real, ghost pads.
27884 * gst/Makefile.am: Add gstghostpad.[ch].
27886 * check/Makefile.am:
27887 * check/gst/gstbin.c:
27888 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27889 into a bin creates ghost pads, and that the refcounts are right.
27890 Partly moved from gstbin.c.
27892 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27894 * check/gst-libs/.cvsignore:
27895 * check/gst/.cvsignore:
27896 * check/pipelines/.cvsignore:
27898 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27899 (START_TEST), (cleanup_suite), (main):
27900 add some tests related to cleanup after running pipelines
27902 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27904 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27905 add a testsuite for GstBuffer
27907 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27909 * gst/gstminiobject.h:
27910 add defines for accessing the refcount
27912 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27914 * Makefile.am: added support for html unit test coverage reports
27916 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27918 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27919 Free existing caps if the capsfilter changes. Add a FIXME about
27920 setting those caps on the pads.
27922 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27923 Before adding a ghost pad to a parent bin, check that there isn't
27924 already one for the element on the bin. Prevents infinite recursion
27925 when using decodebin in parse pipelines. Andy says he'll rewrite the
27926 way this works anyway, so ignore the hack.
27928 2005-06-02 Andy Wingo <wingo@pobox.com>
27930 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27931 file size, pass it on to the type find helper.
27933 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27934 segment_start and segment_end properly according to the seek
27935 method. Segment_end is still a bit flaky because offset can be
27936 negative for CUR and END cases, but it takes -1 as an "unset"
27939 2005-06-02 Wim Taymans <wim@fluendo.com>
27941 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27942 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27943 (gst_basesink_activate):
27944 * gst/base/gstbasesink.h:
27945 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27946 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27947 (gst_pad_query), (gst_pad_start_task):
27949 * gst/gstqueue.c: (gst_queue_bufferalloc),
27950 (gst_queue_handle_sink_event), (gst_queue_chain):
27951 Bufferalloc: return GstFlowReturn to more accuratly report
27952 why allocation failed.
27954 2005-06-02 Wim Taymans <wim@fluendo.com>
27956 * gst/gstpipeline.c: (gst_pipeline_send_event):
27957 Take snapshot of state without blocking.
27959 2005-06-02 Wim Taymans <wim@fluendo.com>
27961 * docs/design/part-TODO.txt:
27962 * docs/design/part-caps.txt:
27963 * docs/design/part-clocks.txt:
27964 * docs/design/part-negotiation.txt:
27965 * docs/design/part-preroll.txt:
27968 2005-05-30 Wim Taymans <wim@fluendo.com>
27970 * gst/elements/gstidentity.c: (gst_identity_event),
27971 (gst_identity_transform), (gst_identity_get_property):
27972 Protect last_message property as it is accessed from
27975 2005-05-30 Wim Taymans <wim@fluendo.com>
27977 * gst/gstelement.c: (gst_element_init),
27978 (gst_element_pads_activate), (gst_element_change_state):
27979 Slicker pad activation code.
27981 2005-05-30 Wim Taymans <wim@fluendo.com>
27984 * gst/gstelement.h:
27985 * gst/gstelementfactory.h:
27987 Move elementfactory methods to separate .h file.
27989 2005-05-30 Wim Taymans <wim@fluendo.com>
27991 * docs/design/part-overview.txt:
27992 * gst/gstsystemclock.h:
27993 Small typo fixes, doc updates.
27995 2005-05-30 Wim Taymans <wim@fluendo.com>
27997 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27998 (init_popt_callback):
27999 Remove cpu-opt flag.
28001 2005-05-30 Wim Taymans <wim@fluendo.com>
28003 * gst/gstbuffer.c: (gst_subbuffer_finalize),
28004 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28006 Avoid typechecking in places where not needed.
28007 Added accessor for malloc_data.
28009 2005-05-30 Wim Taymans <wim@fluendo.com>
28011 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28012 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28013 (gst_pad_configure_sink), (gst_pad_configure_src),
28014 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28015 (gst_pad_start_task):
28016 Propagate errors from _set_caps() in configure_src/sink
28017 functions instead of returning TRUE.
28018 FLUSH events can travel up and downstream
28021 2005-05-30 Wim Taymans <wim@fluendo.com>
28023 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28024 (gst_basesink_activate):
28025 Handle EOS in preroll.
28027 2005-05-30 Wim Taymans <wim@fluendo.com>
28029 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28030 (gst_queue_loop), (gst_queue_handle_src_event):
28031 Remove old pieces of code
28032 Flushing the queue in an upstream event is a very bad idea.
28034 2005-05-26 Andy Wingo <wingo@pobox.com>
28036 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28037 gst_value_set_mini_object so as to add a ref on the object (which
28038 will be removed when the value is unset).
28040 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28041 arg type in ::handoff.
28043 * gst/gstelement.c (gst_element_change_state): Also deactivate
28044 pads in READY->NULL, just in case the element didn't make it to
28045 PAUSED. Wingo tested, Wim approved.
28047 2005-05-26 Wim Taymans <wim@fluendo.com>
28049 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28050 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28051 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28052 A flushing pad cannot be used to alloc_buffer from.
28054 2005-05-26 Wim Taymans <wim@fluendo.com>
28056 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28057 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28058 (gst_bus_source_dispatch), (gst_bus_source_finalize),
28059 (gst_bus_create_watch), (gst_bus_add_watch_full):
28061 Implement a real GSource and use g_main_context_wakeup() to
28062 signal new messages instead of the socketpair.
28064 2005-05-25 Wim Taymans <wim@fluendo.com>
28066 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28067 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28068 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28069 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28070 (gst_pad_send_event), (gst_pad_start_task):
28071 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28072 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28073 (gst_queue_sink_activate), (gst_queue_src_activate),
28074 (gst_queue_change_state):
28076 Fix state changes for non sinks. We now change sinks, then elements
28077 with unconnected srcpads, then the rest.
28078 More efficient queue unlocking in flush and state changes.
28079 Set the pad activate mode even if it does not have an activate
28082 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28084 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28085 Don't go in pull mode for non-seekable sources.
28086 * gst/elements/gsttypefindelement.h:
28087 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28088 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28089 (free_entry), (stop_typefinding),
28090 (gst_type_find_element_handle_event), (find_peek),
28091 (gst_type_find_element_chain), (do_pull_typefind),
28092 (gst_type_find_element_change_state):
28093 Allow typefinding (w/o seeking) in push-mode, simplified version
28094 of what was in 0.8.
28095 * gst/gstutils.c: (gst_buffer_join):
28097 gst_buffer_join() from 0.8.
28099 2005-05-25 Wim Taymans <wim@fluendo.com>
28101 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28102 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28103 (gst_pad_send_event), (gst_pad_start_task):
28104 Disable attempt at mode switching until it is figured out.
28106 2005-05-25 Wim Taymans <wim@fluendo.com>
28108 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28109 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28110 (gst_basesink_finish_preroll), (gst_basesink_chain),
28111 (gst_basesink_loop), (gst_basesink_activate),
28112 (gst_basesink_change_state):
28113 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28114 (gst_basesrc_get_range), (gst_basesrc_loop),
28115 (gst_basesrc_activate):
28116 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28117 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28118 (gst_real_pad_init), (gst_real_pad_set_property),
28119 (gst_real_pad_get_property), (gst_pad_set_active),
28120 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28121 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28122 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28123 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28124 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28125 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28126 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28127 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28128 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28129 (gst_pad_stop_task):
28131 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28132 (gst_queue_loop), (gst_queue_src_activate):
28133 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28134 (gst_task_get_state):
28136 * gst/schedulers/threadscheduler.c:
28137 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28138 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28140 Remove ACTIVE pad flag, use FLUSHING everywhere
28141 Added _pad_chain(), _pad_get_range() to call chain/getrange
28143 Add locks around IS_FLUSHING when reading.
28144 Take STREAM lock in chain(), get_range() functions so plugins
28145 don't need to take it anymore.
28149 2005-05-25 Wim Taymans <wim@fluendo.com>
28151 * tools/gst-launch.c: (event_loop):
28152 Unref message after using its contents instead of
28155 2005-05-24 Wim Taymans <wim@fluendo.com>
28157 * docs/design/draft-ghostpads.txt:
28158 * docs/design/draft-push-pull.txt:
28159 * docs/design/draft-query.txt:
28160 * docs/design/part-overview.txt:
28161 Docs updates, added general overview doc.
28163 2005-05-21 David Schleef <ds@schleef.org>
28165 * docs/gst/tmpl/old/GstBin.sgml:
28166 * docs/gst/tmpl/old/GstBuffer.sgml:
28167 * docs/gst/tmpl/old/GstCaps.sgml:
28168 * docs/gst/tmpl/old/GstClock.sgml:
28169 * docs/gst/tmpl/old/GstCompat.sgml:
28170 * docs/gst/tmpl/old/GstData.sgml:
28171 * docs/gst/tmpl/old/GstElement.sgml:
28172 * docs/gst/tmpl/old/GstEvent.sgml:
28173 * docs/gst/tmpl/old/GstIndex.sgml:
28174 * docs/gst/tmpl/old/GstStructure.sgml:
28175 * docs/gst/tmpl/old/GstTag.sgml:
28176 * docs/gst/tmpl/old/cothreads.sgml:
28177 * docs/gst/tmpl/old/cothreads_compat.sgml:
28178 * docs/gst/tmpl/old/gettext.sgml:
28179 * docs/gst/tmpl/old/gobject2gtk.sgml:
28180 * docs/gst/tmpl/old/grammar.tab.sgml:
28181 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28182 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28183 * docs/gst/tmpl/old/gst_private.sgml:
28184 * docs/gst/tmpl/old/gstaggregator.sgml:
28185 * docs/gst/tmpl/old/gstarch.sgml:
28186 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28187 * docs/gst/tmpl/old/gstbufferstore.sgml:
28188 * docs/gst/tmpl/old/gstdata_private.sgml:
28189 * docs/gst/tmpl/old/gstdisksink.sgml:
28190 * docs/gst/tmpl/old/gstdisksrc.sgml:
28191 * docs/gst/tmpl/old/gstelementfactory.sgml:
28192 * docs/gst/tmpl/old/gstextratypes.sgml:
28193 * docs/gst/tmpl/old/gstfakesink.sgml:
28194 * docs/gst/tmpl/old/gstfakesrc.sgml:
28195 * docs/gst/tmpl/old/gstfdsink.sgml:
28196 * docs/gst/tmpl/old/gstfdsrc.sgml:
28197 * docs/gst/tmpl/old/gstfilesink.sgml:
28198 * docs/gst/tmpl/old/gstfilesrc.sgml:
28199 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28200 * docs/gst/tmpl/old/gstidentity.sgml:
28201 * docs/gst/tmpl/old/gstindexfactory.sgml:
28202 * docs/gst/tmpl/old/gstmarshal.sgml:
28203 * docs/gst/tmpl/old/gstmd5sink.sgml:
28204 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28205 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28206 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28207 * docs/gst/tmpl/old/gstpipefilter.sgml:
28208 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28209 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28210 * docs/gst/tmpl/old/gstshaper.sgml:
28211 * docs/gst/tmpl/old/gstspider.sgml:
28212 * docs/gst/tmpl/old/gstspideridentity.sgml:
28213 * docs/gst/tmpl/old/gststatistics.sgml:
28214 * docs/gst/tmpl/old/gsttee.sgml:
28215 * docs/gst/tmpl/old/gsttimecache.sgml:
28216 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28217 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28218 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28219 * docs/gst/tmpl/old/types.sgml:
28220 I didn't intend to add these or check them in.
28222 2005-05-19 David Schleef <ds@schleef.org>
28224 * configure.ac: Use -no-common everywhere. In a sane world, it
28225 would be the default in libtool, because without it, you can't
28226 build DLLs on Windows.
28227 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28228 * docs/gst/gstreamer-sections.txt:
28229 * docs/gst/tmpl/gstcpu.sgml:
28230 * docs/gst/tmpl/gstdata.sgml:
28231 * docs/gst/tmpl/gstthread.sgml:
28233 2005-05-19 David Schleef <ds@schleef.org>
28235 * gst/gstminiobject.c: (gst_value_set_mini_object),
28236 (gst_value_take_mini_object), (gst_value_get_mini_object):
28237 * gst/gstminiobject.h: Add GValue set/get functions.
28239 2005-05-19 Wim Taymans <wim@fluendo.com>
28241 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28242 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28243 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28245 * gst/gstbus.c: (gst_bus_post):
28246 * gst/gstelement.c: (gst_element_get_random_pad):
28247 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28248 Make subbufer unref the parent in finalize.
28249 some more debugging info.
28252 2005-05-19 Wim Taymans <wim@fluendo.com>
28254 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28255 (gst_basesink_init), (gst_basesink_finalize),
28256 (gst_basesink_activate), (gst_basesink_change_state):
28257 Don't free preroll queue too early.
28259 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28263 Hi, I'm outdated. Please shoot me.
28265 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28267 * gst/gstpipeline.c: (gst_pipeline_send_event):
28268 Do not access variables after they have been deleted.
28270 2005-05-19 Wim Taymans <wim@fluendo.com>
28272 * tools/gst-inspect.c: (print_plugin_features):
28273 A plugin feature does unfortunatly not use the
28276 2005-05-18 Wim Taymans <wim@fluendo.com>
28278 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28279 Port _span() functions to new subbuffers.
28281 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28283 * gst/gstbin.c: (gst_bin_add_func):
28284 Fix clock settery in bins when adding kids after the clock has
28287 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28289 * gst/elements/gstidentity.c: (gst_identity_class_init):
28290 Workaround until signals support GstMiniObject.
28292 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28295 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28297 2005-05-18 Wim Taymans <wim@fluendo.com>
28299 * gst/base/Makefile.am:
28300 * gst/base/gstadapter.c: (gst_adapter_base_init),
28301 (gst_adapter_class_init), (gst_adapter_init),
28302 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28303 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28304 (gst_adapter_flush), (gst_adapter_available),
28305 (gst_adapter_available_fast):
28306 * gst/base/gstadapter.h:
28307 Ported and added adapter to the base classes.
28309 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28312 * gst/gstmessage.c:
28313 Make sure the class is reffed/unreffed once before threads can be
28314 used. Fixes #304551.
28316 2005-05-17 Wim Taymans <wim@fluendo.com>
28318 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28319 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28320 * gst/gstminiobject.c: (gst_mini_object_get_type),
28321 (gst_mini_object_free):
28322 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28323 (gst_pad_push), (gst_pad_push_event):
28324 * gst/gstqueue.c: (gst_queue_change_state):
28325 Don't queue buffers in basesink when we are flushing.
28326 Unref buffer when flushing in basesink.
28327 Flush queue when going to READY
28328 Unref buffer when _push() returns an error.
28329 Don't free MiniObject instance when refcount is incremented
28330 in _finalize() so that we can recover objects.
28332 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28334 * docs/manual/advanced-schedulers.xml:
28335 * docs/manual/appendix-checklist.xml:
28336 * docs/pwg/advanced-clock.xml:
28337 * docs/pwg/advanced-interfaces.xml:
28338 * docs/pwg/advanced-request.xml:
28339 * docs/pwg/advanced-types.xml:
28340 * docs/pwg/intro-preface.xml:
28341 * examples/plugins/example.c: (gst_example_get_type),
28342 (gst_example_class_init), (gst_example_chain),
28343 (gst_example_set_property), (gst_example_get_property),
28344 (gst_example_change_state), (plugin_init):
28345 * examples/plugins/example.h:
28348 2005-05-17 Wim Taymans <wim@fluendo.com>
28350 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28351 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28352 * gst/gstqueue.c: (gst_queue_change_state):
28353 Clear queue when going to READY.
28354 Remove IN_SETCAPS flag too.
28356 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28358 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28359 Remove implicit cast from gboolean to GstElementStateReturn;
28360 make sure we still return failure in paused => ready case if
28361 the parent class fails to change state and our own stop
28364 2005-05-17 Wim Taymans <wim@fluendo.com>
28366 * tools/gst-launch.c: (event_loop):
28367 Message was unreffed too soon.
28369 2005-05-16 Andy Wingo <wingo@pobox.com>
28371 * gst/gstbin.c (sink_iterator_filter): Err... um...
28373 * check/gst/gstbin.c (test_ghost_pads): New test for the
28374 ghosting-if-elements-not-in-same-bin behavior.
28376 2005-05-16 David Schleef <ds@schleef.org>
28378 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28379 accessing refcount directly.
28381 2005-05-15 David Schleef <ds@schleef.org>
28383 * check/Makefile.am: remove GstData checks
28384 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28385 * gst/Makefile.am: add miniobject, remove data
28386 * gst/gst.h: add miniobject, remove data
28387 * gst/gstdata.c: remove
28388 * gst/gstdata.h: remove
28389 * gst/gstdata_private.h: remove
28390 * gst/gsttypes.h: remove GstEvent and GstMessage
28391 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28392 * gst/gstmarshal.list: change BOXED -> OBJECT
28394 Implement GstMiniObject.
28395 * gst/gstminiobject.c:
28396 * gst/gstminiobject.h:
28398 Modify to be subclasses of GstMiniObject.
28399 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28400 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28401 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28402 (gst_subbuffer_get_type), (gst_subbuffer_init),
28403 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28406 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28407 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28408 (_gst_event_copy), (gst_event_new):
28410 * gst/gstmessage.c: (_gst_message_initialize),
28411 (gst_message_get_type), (gst_message_class_init),
28412 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28413 (gst_message_new), (gst_message_new_error),
28414 (gst_message_new_warning), (gst_message_new_tag),
28415 (gst_message_new_state_changed), (gst_message_new_application):
28416 * gst/gstmessage.h:
28417 * gst/gstprobe.c: (gst_probe_perform),
28418 (gst_probe_dispatcher_dispatch):
28420 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28421 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28422 (_gst_query_copy), (gst_query_new):
28424 Update elements for GstData -> GstMiniObject changes
28426 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28427 (gst_queue_chain), (gst_queue_loop):
28428 * gst/elements/gstbufferstore.c:
28429 (gst_buffer_store_add_buffer_func),
28430 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28431 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28432 (gst_fakesink_render):
28433 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28434 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28435 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28436 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28437 (gst_filesrc_create_read):
28438 * gst/elements/gstidentity.c: (gst_identity_class_init):
28439 * gst/elements/gsttypefindelement.c:
28440 (gst_type_find_element_src_event), (free_entry_buffers),
28441 (gst_type_find_element_handle_event):
28442 * libs/gst/dataprotocol/dataprotocol.c:
28443 (gst_dp_header_from_buffer):
28444 * libs/gst/dataprotocol/dataprotocol.h:
28445 * libs/gst/dataprotocol/dp-private.h:
28447 2005-05-15 David Schleef <ds@schleef.org>
28449 * gst/elements/gstelements.c: Don't include headers that were
28452 2005-05-15 David Schleef <ds@schleef.org>
28454 * gst/elements/Makefile.am: Remove some elements that don't
28455 need to be in the core (or even exist at all).
28456 * gst/elements/gstaggregator.c:
28457 * gst/elements/gstaggregator.h:
28458 * gst/elements/gstmd5sink.c:
28459 * gst/elements/gstmd5sink.h:
28460 * gst/elements/gstmultifilesrc.c:
28461 * gst/elements/gstmultifilesrc.h:
28462 * gst/elements/gstpipefilter.c:
28463 * gst/elements/gstpipefilter.h:
28464 * gst/elements/gstshaper.c:
28465 * gst/elements/gstshaper.h:
28466 * gst/elements/gststatistics.c:
28467 * gst/elements/gststatistics.h:
28468 * po/POTFILES.in: Remove above files.
28470 2005-05-14 Andy Wingo <wingo@pobox.com>
28472 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28473 so as to get the refs right.
28474 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28475 unreffing objects that don't pass the filter.
28477 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28478 gst_element_set_bus.
28479 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28480 normal cases, this will destroy the bus.
28482 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28485 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28488 2005-05-13 Andy Wingo <wingo@pobox.com>
28490 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28491 gst_pad_link, call pad_link_maybe_ghosting,
28492 (pad_link_maybe_ghosting): Links pads, making sure that the
28493 elements being linked are in the same bin.
28494 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28495 Helpers for pad_link_maybe_ghosting.
28497 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28500 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28502 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28504 * docs/design/part-element-source.txt:
28507 2005-05-12 Wim Taymans <wim@fluendo.com>
28509 * gst/base/gstbasesink.c: (gst_basesink_init),
28510 (gst_basesink_activate):
28511 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28512 (gst_basesrc_is_seekable):
28513 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28514 (bin_element_is_sink), (gst_bin_change_state):
28515 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28516 * gst/gstelement.h:
28517 Identify sinks by their flag to avoid overly complicated
28519 Do state changes even for elements not reachable from the
28521 BaseSink is a sink now :)
28522 Some more debugging info in the basesrc.
28525 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28527 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28528 Implement _query on a bin, similar to _send_event.
28530 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28532 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28533 Discont event offset format should be GST_FORMAT_BYTES,
28534 not GST_FORMAT_TIME.
28536 2005-05-12 Wim Taymans <wim@fluendo.com>
28538 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28539 Same fix as Ronald's but without the signal.
28541 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28543 * gst/gstutils.c: (gst_element_query_position):
28544 No, an element is not a pad.
28546 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28548 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28549 (gst_bin_get_state):
28550 If a child is removed from a bin while we remove the child from
28551 the bin and while we're retrieving its state, signal this to the
28552 get_state function so we abort the wait (instead of waiting for
28553 a timeout) and can immediately re-iterate over all other elements.
28555 2005-05-12 Wim Taymans <wim@fluendo.com>
28557 * gst/base/Makefile.am:
28558 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28559 (gst_basesrc_start):
28560 * gst/base/gstbasesrc.h:
28561 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28562 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28563 (gst_pushsrc_init), (gst_pushsrc_create):
28564 * gst/base/gstpushsrc.h:
28565 Added is_seekable to BaseSrc
28566 Added simple PushSrc.
28568 2005-05-11 Wim Taymans <wim@fluendo.com>
28570 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28571 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28572 (gst_element_link_pads), (gst_element_query_position),
28573 (gst_element_query_convert), (intersect_caps_func),
28574 (gst_pad_query_position), (gst_pad_query_convert):
28575 Fix refcounting in utils function.
28576 No point in trying to activate a pad when it's added, it could
28577 be added from the state change function and then we deadlock, the
28578 element has to decide what to do.
28580 2005-05-10 Andy Wingo <wingo@pobox.com>
28582 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28583 *all* the arguments.
28585 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28586 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28587 lock (according to the docs -- if this is wrong change the docs).
28589 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28590 flush messages in the NULL state.
28592 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28593 message immediately and return.
28594 (gst_bus_set_flushing): New function. If a bus is flushing, it
28595 flushes out any queued messages and immediately unrefs new
28596 messages. This is so when an element goes to NULL, all of the
28597 unhandled messages coming from it can be freed, and their
28598 references to the element dropped. In other words: message source
28599 ref considered harmful :P
28601 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28602 we're finished with it.
28604 * gst/gstmessage.c (gst_message_new_state_changed):
28606 2005-05-10 Wim Taymans <wim@fluendo.com>
28608 * gst/gstvalue.c: (gst_value_compare_flags),
28609 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28610 (_gst_value_initialize):
28611 Added flags serialize/deserialize/compare code.
28613 2005-05-09 Andy Wingo <wingo@pobox.com>
28615 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28616 Intersect the peer's caps with our caps.
28618 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28620 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28621 * gst/elements/gsttypefindelement.c: (find_peek):
28622 Handle negative offsets better. Fixes decodebin.
28624 2005-05-09 Wim Taymans <wim@fluendo.com>
28626 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28627 (gst_base_transform_event):
28628 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28629 Implement accept_caps.
28630 Fix silly lock/unlock mismatch in base class.
28632 2005-05-09 Wim Taymans <wim@fluendo.com>
28634 * docs/design/draft-push-pull.txt:
28635 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28636 * gst/elements/gstfilesink.c: (gst_filesink_init),
28637 (gst_filesink_query):
28638 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28639 (gst_type_find_handle_src_query), (find_element_get_length):
28640 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28641 * gst/gstelement.h:
28642 * gst/gstmessage.c:
28643 * gst/gstmessage.h:
28644 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28645 (gst_real_pad_get_caps_unlocked),
28646 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28647 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28648 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28649 (gst_real_pad_dispose), (gst_real_pad_finalize),
28650 (gst_pad_load_and_link), (gst_pad_save_thyself),
28651 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28652 (gst_pad_check_pull_range), (gst_pad_pull_range),
28653 (gst_pad_template_get_type), (gst_pad_template_class_init),
28654 (gst_pad_template_init), (gst_pad_template_dispose),
28655 (name_is_valid), (gst_static_pad_template_get),
28656 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28657 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28658 (gst_pad_get_element_private), (gst_pad_start_task),
28659 (gst_pad_pause_task), (gst_pad_stop_task),
28660 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28661 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28662 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28663 (gst_ghost_pad_new):
28665 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28666 (gst_query_new_position), (gst_query_set_position),
28667 (gst_query_parse_position), (gst_query_new_convert),
28668 (gst_query_set_convert), (gst_query_parse_convert):
28670 * gst/gstqueryutils.c:
28671 * gst/gstqueryutils.h:
28672 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28673 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28674 (gst_queue_handle_src_query):
28675 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28676 (gst_element_query_position), (gst_element_query_convert),
28677 (intersect_caps_func), (gst_pad_query_position),
28678 (gst_pad_query_convert):
28680 * tools/gst-inspect.c: (print_pad_info):
28681 * tools/gst-xmlinspect.c: (print_element_info):
28682 Remove old query functions. Ported old code.
28683 Added position/convert helper functions to gstutils.
28684 Reordered gstpad.c code, grouping relevant things.
28685 Remove gst_message_new(), always need to speficy a specific
28689 2005-05-09 Andy Wingo <wingo@pobox.com>
28691 * gst/gstiterator.h: Add some includes.
28693 * gst/gstqueryutils.h: Include more headers.
28696 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28697 some uses of gst_pad_query.
28699 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28700 NULL out parameters.
28701 (gst_query_new_position): New proc, allocates a new position
28704 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28705 gstqueryutils.c to the build.
28707 * gst/gststructure.c (gst_structure_set_valist): Implement with
28708 the generic G_VALUE_COLLECT.
28710 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28712 * gst/Makefile.am: (gst_headers):
28713 Added gstqueryutils.h to the list of headers to install, that was
28714 a 'nachty' move wingo :)
28716 2005-05-06 Andy Wingo <wingo@pobox.com>
28719 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28720 GstData, init a memchunk.
28721 (standard_definitions): Add a few query types, deprecate a few.
28722 (gst_query_get_type): New proc.
28723 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28725 (gst_query_new_application, gst_query_get_structure): New public
28728 * docs/design/draft-query.txt: Removed LINKS from the query types,
28729 because all the rest can be dispatched to other pads -- seemed
28730 ugly to have a query that couldn't be dispatched. internal_links
28731 is fine as a pad method.
28733 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28734 in gstpad.c, but maintain binary compatibility for the moment.
28735 Will fix before 0.9 is out.
28737 * gst/gstqueryutils.c:
28738 * gst/gstqueryutils.h: New files, implement 3 methods for each
28739 query type: parse_query, parse_response, and set. Probably need an
28742 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28744 * gst/elements/gstfilesink.c (gst_filesink_query2):
28745 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28746 query_types, and formats methods.
28748 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28749 (gst_pad_set_query2_function): New functions.
28750 (gst_real_pad_init): Set query2_default as the default query2
28751 function. Basically just dispatches to internally linked pads.
28755 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28756 without using the atomic operations. Only one thread can possibly
28757 be accessing the data at this point. Changed so as to avoid
28758 gst_atomic operations.
28760 2005-05-06 Wim Taymans <wim@fluendo.com>
28762 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28763 Also set caps if we use the fallback buffer alloc.
28765 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28767 * docs/gst/Makefile.am:
28768 * docs/gst/gstreamer-docs.sgml:
28769 * docs/gst/gstreamer-sections.txt:
28770 * docs/gst/tmpl/gstatomic.sgml:
28771 * docs/gst/tmpl/gstmemchunk.sgml:
28772 * testsuite/elements/struct_i386.h:
28773 * win32/GStreamer.vcproj:
28775 Purge GstAtomic stuff from docs and win32 makefiles as well
28777 2005-05-06 Wim Taymans <wim@fluendo.com>
28779 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28780 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28781 * gst/gstpad.c: (gst_pad_peer_get_caps):
28782 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28783 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28784 (gst_queue_src_activate), (gst_queue_change_state):
28786 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28787 (intersect_caps_func):
28788 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28789 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28790 Some fixes for the peer_get_caps() change.
28792 2005-05-06 Wim Taymans <wim@fluendo.com>
28794 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28795 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28796 (gst_basesink_activate):
28797 Actually do something with error codes returned from the push
28800 2005-05-06 Wim Taymans <wim@fluendo.com>
28802 * docs/design/part-element-sink.txt:
28803 * docs/design/part-element-source.txt:
28804 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28805 (gst_basesink_event), (gst_basesink_activate):
28806 * gst/base/gstbasesink.h:
28807 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28808 (gst_basesrc_activate):
28809 * gst/base/gstbasesrc.h:
28810 * gst/gstelement.c: (gst_element_pads_activate):
28811 Some more documentation.
28812 Fixed scheduling decision in _pads_activate().
28814 2005-05-05 Andy Wingo <wingo@pobox.com>
28816 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28819 2005-05-05 Wim Taymans <wim@fluendo.com>
28821 * gst/base/Makefile.am:
28822 * gst/base/gstbasesink.h:
28823 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28824 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28825 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28826 (gst_collectpads_class_init), (gst_collectpads_init),
28827 (gst_collectpads_finalize), (gst_collectpads_new),
28828 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28829 (find_pad), (gst_collectpads_remove_pad),
28830 (gst_collectpads_is_active), (gst_collectpads_collect),
28831 (gst_collectpads_collect_range), (gst_collectpads_start),
28832 (gst_collectpads_stop), (gst_collectpads_peek),
28833 (gst_collectpads_pop), (gst_collectpads_available),
28834 (gst_collectpads_read), (gst_collectpads_flush),
28835 (gst_collectpads_chain):
28836 * gst/base/gstcollectpads.h:
28837 * gst/elements/Makefile.am:
28838 * gst/elements/gstelements.c:
28839 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28840 (gst_fakesink_get_times), (gst_fakesink_event),
28841 (gst_fakesink_preroll), (gst_fakesink_render):
28842 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28843 (gst_filesink_init), (gst_filesink_set_location),
28844 (gst_filesink_open_file), (gst_filesink_close_file),
28845 (gst_filesink_pad_query), (gst_filesink_event),
28846 (gst_filesink_render), (gst_filesink_change_state):
28847 * gst/elements/gstfilesink.h:
28848 Added object to help in making collect pad based elements.
28850 Make event function in sink baseclass return gboolean.
28852 2005-05-05 Wim Taymans <wim@fluendo.com>
28854 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28855 (gst_bin_get_by_name):
28857 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28858 (gst_clock_finalize):
28859 * gst/gstdata.c: (gst_data_replace):
28861 * gst/gstelement.c: (gst_element_request_pad),
28862 (gst_element_pads_activate):
28863 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28864 (gst_object_unref):
28865 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28866 (gst_pad_set_checkgetrange_function),
28867 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28868 (gst_pad_check_pull_range), (gst_pad_pull_range),
28869 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28870 (gst_pad_pause_task), (gst_pad_stop_task):
28871 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28872 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28873 Fix name lookup in GstBin.
28874 Added _data_replace() function and _buffer_replace()
28875 Use finalize method to clean up clock.
28876 Fix refcounting on request pads.
28877 Fix pad schedule mode error.
28878 Some more object refcounting debug info,
28881 2005-05-04 Andy Wingo <wingo@pobox.com>
28883 * check/Makefile.am:
28884 * docs/gst/tmpl/gstatomic.sgml:
28885 * docs/gst/tmpl/gstplugin.sgml:
28886 * gst/base/gstbasesink.c: (gst_basesink_activate):
28887 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28888 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28889 (gst_basesrc_query), (gst_basesrc_set_property),
28890 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28891 (gst_basesrc_activate):
28892 * gst/base/gstbasesrc.h:
28893 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28894 (gst_base_transform_src_activate):
28895 * gst/elements/gstelements.c:
28896 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28897 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28898 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28899 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28900 (gst_type_find_element_checkgetrange),
28901 (gst_type_find_element_activate):
28902 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28903 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28904 (gst_caps_load_thyself):
28905 * gst/gstelement.c: (gst_element_pads_activate),
28906 (gst_element_save_thyself), (gst_element_restore_thyself):
28907 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28908 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28910 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28911 (gst_xml_parse_file), (gst_xml_parse_memory),
28912 (gst_xml_get_element), (gst_xml_make_element):
28913 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28914 (_file_index_id_save_xml), (gst_file_index_commit):
28915 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28916 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28918 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28919 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28920 * tools/gst-complete.c: (main):
28921 * tools/gst-compprep.c: (main):
28922 * tools/gst-inspect.c: (print_element_properties_info):
28923 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28924 * tools/gst-xmlinspect.c: (print_element_properties):
28927 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28929 * gst/gstplugin.c: (gst_plugin_check_module),
28930 (gst_plugin_check_file), (gst_plugin_load_file):
28931 apply patch from #172526 to make register work on MacOSX
28933 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28935 * docs/gst/tmpl/gstconfig.sgml:
28936 * gst/gstconfig.h.in:
28937 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28938 * testsuite/debug/printf_extension.c: (main):
28939 Do not use GST_PTR_FORMAT on pointers to types with
28940 sizeof < sizeof(gpointer). Fixes test on 64-bit
28941 * testsuite/elements/property.h:
28942 use correct printf format
28944 2005-05-02 Wim Taymans <wim@fluendo.com>
28946 * docs/design/draft-push-pull.txt:
28947 * docs/design/draft-query.txt:
28948 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28949 (gst_basesrc_start):
28950 Added draft for new query API.
28951 Added draft for better selecting scheduling methods.
28952 Make basesrc ignore length if the subclass does not support
28955 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28958 possible fixes for automake-1.5 - _LIBADD is reserved
28960 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28962 * docs/faq/Makefile.am:
28963 * docs/manual/Makefile.am:
28964 * docs/manuals.mak:
28965 * docs/pwg/Makefile.am:
28967 possible fixes for automake-1.5
28969 2005-04-28 Wim Taymans <wim@fluendo.com>
28971 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28972 (gst_basesink_pad_getcaps), (gst_basesink_init),
28973 (gst_basesink_do_sync):
28974 * gst/gstclock.c: (gst_clock_entry_new):
28975 * gst/gstevent.c: (gst_event_discont_get_value):
28976 * gst/gstpipeline.c: (pipeline_bus_handler),
28977 (gst_pipeline_change_state):
28978 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28979 Better debugging of clocking info.
28980 Allow NULL values when getting discont values.
28982 2005-04-27 Wim Taymans <wim@fluendo.com>
28984 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28985 * check/gst/gstpad.c: (gst_pad_suite):
28986 Increase timeout for checks.
28988 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28990 * check/Makefile.am:
28991 fix the broken rule for cleanup. Apparently this rule is
28992 only needed on FC2, so maybe this warrants further autotool
28995 2005-04-26 Wim Taymans <wim@fluendo.com>
28997 * gst/gsttrashstack.h:
28998 Ooohh. a nasty one! After having a failed pop() from the stack,
28999 it's possible that the stack is empty. In that case, don't
29000 follow the NULL pointer.
29002 2005-04-25 Wim Taymans <wim@fluendo.com>
29004 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29005 (gst_pad_set_checkgetrange_function),
29006 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29007 (gst_pad_check_pull_range), (gst_pad_pull_range),
29008 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29009 (gst_pad_pause_task), (gst_pad_stop_task):
29010 * gst/gstplugin.c: (gst_plugin_load):
29012 Remove gst_library_load as it does more harm than good with
29013 the new g_module flags.
29014 Revert bogus caps template check in pad linking, pad caps
29015 are important when linking not the template, which is more
29016 general than the current caps.
29018 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29020 * gst/autoplug/.cvsignore:
29021 * gst/autoplug/Makefile.am:
29022 * gst/autoplug/gstsearchfuncs.c:
29023 * gst/autoplug/gstsearchfuncs.h:
29024 * gst/autoplug/gstspider.c:
29025 * gst/autoplug/gstspider.h:
29026 * gst/autoplug/gstspideridentity.c:
29027 * gst/autoplug/gstspideridentity.h:
29028 * gst/autoplug/spidertest.c:
29031 2005-04-25 Wim Taymans <wim@fluendo.com>
29033 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29034 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29035 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29036 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29038 Added stubs for unimplemented functions.
29040 2005-04-24 David Schleef <ds@schleef.org>
29042 * gst/gstpad.h: Disable some unimplemented functions. Wim,
29045 2005-04-24 David Schleef <ds@schleef.org>
29047 Convert everything from GstAtomicInt to g_atomic_int_*, and
29052 * gst/gstatomic_impl.h:
29060 * gst/gstdata_private.h:
29064 * gst/gstmessage.c:
29067 * gst/gststructure.c:
29068 * gst/gststructure.h:
29069 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29072 2005-04-24 David Schleef <ds@schleef.org>
29074 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29075 make the regressions tests work. Remove some code that is no
29077 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29078 Disable warning for pads without templates.
29080 2005-04-24 David Schleef <ds@schleef.org>
29082 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29083 functions that handle filtered links.
29084 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29086 * gst/gstutils.c: Fix/remove utility functions that handle
29089 * gst/gstvalue.c: Add serialization/deserialization of caps
29090 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29091 requires fixing so that the filter caps notation creates
29092 a capsfilter element and sets the filter_caps property. I
29093 think everyone probably wants to keep the shorthand notation.
29094 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29095 * docs/gst/tmpl/gstpad.sgml:
29097 * gst/elements/gstelements.c: Register capsfilter element.
29098 * gst/Makefile.am: fix spacing
29099 * docs/random/ds/0.9-suggested-changes: random
29101 2005-04-23 David Schleef <ds@schleef.org>
29103 * gst/elements/Makefile.am:
29104 * gst/elements/gstcapsfilter.c: New element that acts like an
29105 identity, but filters caps. Will eventually replace filtered
29106 caps in pad linking.
29107 * gst/gstutils.c: (gst_element_create_all_pads): New function
29108 to create all the ALWAYS pads that are registered with an
29109 element class. This functionality should eventually be
29110 merged in with GstElement initialization.
29112 * testsuite/trigger/README: part of trigger test code that should
29113 have been checked in a long time ago.
29115 2005-04-23 David Schleef <ds@schleef.org>
29117 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29118 needed with new versions of libtool (nobody will confirm this),
29119 and hard to carry around.
29120 * gst/autoplug/Makefile.am:
29121 * gst/base/Makefile.am:
29122 * gst/elements/Makefile.am:
29123 * gst/indexers/Makefile.am:
29124 * gst/schedulers/Makefile.am:
29125 * libs/gst/bytestream/Makefile.am:
29126 * libs/gst/control/Makefile.am:
29127 * libs/gst/dataprotocol/Makefile.am:
29128 * libs/gst/getbits/Makefile.am:
29130 2005-04-21 Wim Taymans <wim@fluendo.com>
29132 * docs/design/draft-push-pull.txt:
29133 * docs/design/part-MT-refcounting.txt:
29134 * docs/design/part-TODO.txt:
29135 * docs/design/part-caps.txt:
29136 * docs/design/part-events.txt:
29137 * docs/design/part-gstbus.txt:
29138 * docs/design/part-gstpipeline.txt:
29139 * docs/design/part-messages.txt:
29140 * docs/design/part-push-pull.txt:
29141 * docs/design/part-query.txt:
29144 2005-04-21 Wim Taymans <wim@fluendo.com>
29146 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29147 (gst_message_new), (gst_message_new_error),
29148 (gst_message_new_warning), (gst_message_new_tag),
29149 (gst_message_new_state_changed), (gst_message_new_application),
29150 (gst_message_get_structure):
29151 * gst/gstmessage.h:
29152 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29153 (gst_structure_copy_conditional):
29154 Use parent refcount in GstMessage to ensure GstStructure
29156 Cleaned up headers a bit.
29159 2005-04-20 Wim Taymans <wim@fluendo.com>
29161 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29162 (gst_basesink_pad_getcaps), (gst_basesink_init),
29163 (gst_basesink_chain_unlocked):
29164 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29165 (gst_type_find_helper):
29166 * gst/elements/gsttypefindelement.c:
29167 (gst_type_find_element_have_type), (gst_type_find_element_init),
29168 (stop_typefinding), (gst_type_find_element_handle_event),
29169 (find_suggest), (gst_type_find_element_chain),
29170 (gst_type_find_element_checkgetrange),
29171 (gst_type_find_element_getrange), (do_typefind),
29172 (gst_type_find_element_activate):
29173 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29174 (gst_buffer_default_free), (gst_buffer_default_copy),
29175 (gst_buffer_set_caps):
29176 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29177 (gst_caps_replace):
29178 * gst/gstmessage.c: (gst_message_new),
29179 (gst_message_new_state_changed):
29180 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29181 (gst_pad_set_checkgetrange_function),
29182 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29183 (gst_pad_set_caps), (gst_pad_check_pull_range),
29184 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29186 * gst/gsttypefind.c: (gst_type_find_register):
29187 Make gst_caps_replace() work like other _replace() functions.
29188 Use _caps_replace() where possible.
29189 Make sure _message_new() initialises its field.
29190 Add gst_static_pad_template_get_caps()
29193 2005-04-18 Andy Wingo <wingo@pobox.com>
29195 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29196 on the peer, not the pad. I think that was a typo. Pass an extra
29197 arg to see if random access is possible. Activate the pads as
29198 PULL_RANGE if possible.
29200 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29202 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29203 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29206 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29208 * docs/faq/using.xml:
29209 Add note on gstreamer-properties (#154996).
29211 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29213 * docs/random/bbb/optional-properties:
29214 Some analysis on optional properties.
29216 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29218 * docs/gst/tmpl/gstelementfactory.sgml:
29219 * gst/gstelement.h:
29220 * gst/gstelementfactory.c: (gst_element_factory_init),
29221 (gst_element_factory_cleanup), (gst_element_register),
29222 (__gst_element_factory_add_static_pad_template),
29223 (gst_element_factory_get_static_pad_templates),
29224 (gst_element_factory_can_src_caps),
29225 (gst_element_factory_can_sink_caps):
29226 * gst/registries/Makefile.am:
29227 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29228 (gst_xml_registry_class_init), (gst_xml_registry_init),
29229 (gst_xml_registry_new), (gst_xml_registry_set_property),
29230 (gst_xml_registry_get_property), (get_time), (make_dir),
29231 (gst_xml_registry_get_perms_func),
29232 (plugin_times_older_than_recurse), (plugin_times_older_than),
29233 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29234 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29235 (add_to_char_array), (read_string), (read_uint), (read_enum),
29236 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29237 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29238 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29239 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29240 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29241 (gst_xml_registry_rebuild):
29242 * gst/registries/gstlibxmlregistry.h:
29243 * tools/gst-compprep.c: (main):
29244 * tools/gst-inspect.c: (print_pad_templates_info):
29245 * tools/gst-xmlinspect.c: (print_element_info):
29246 Use libxml2 for registry parsing, use staticpadtemplates in
29247 elementfactories. Makes gst_init() +/- 10x faster.
29249 2005-04-12 Wim Taymans <wim@fluendo.com>
29251 * gst/base/Makefile.am:
29252 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29253 (gst_basesink_pad_getcaps), (gst_basesink_init),
29254 (gst_basesink_event), (gst_basesink_change_state):
29255 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29256 (gst_basesrc_init), (gst_basesrc_query),
29257 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29258 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29259 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29260 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29261 (gst_basesrc_stop), (gst_basesrc_activate),
29262 (gst_basesrc_change_state):
29263 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29264 (helper_find_suggest), (gst_type_find_helper):
29265 * gst/base/gsttypefindhelper.h:
29266 * gst/elements/Makefile.am:
29267 * gst/elements/gstelements.c:
29268 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29269 (gst_fakesink_get_times), (gst_fakesink_event),
29270 (gst_fakesink_preroll), (gst_fakesink_render):
29271 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29272 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29273 (gst_fakesrc_get_property), (gst_fakesrc_create),
29274 (gst_fakesrc_start), (gst_fakesrc_stop):
29275 * gst/elements/gstfakesrc.h:
29276 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29277 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29278 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29279 (gst_filesrc_create_read), (gst_filesrc_create),
29280 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29281 (gst_filesrc_start):
29282 * gst/elements/gsttypefindelement.c:
29283 (gst_type_find_element_have_type), (gst_type_find_element_init),
29284 (start_typefinding), (stop_typefinding), (push_buffer_store),
29285 (gst_type_find_element_handle_event),
29286 (gst_type_find_element_chain),
29287 (gst_type_find_element_checkgetrange),
29288 (gst_type_find_element_getrange), (do_typefind),
29289 (gst_type_find_element_activate),
29290 (gst_type_find_element_change_state):
29291 * gst/elements/gsttypefindelement.h:
29292 * gst/gstpipeline.c: (pipeline_bus_handler):
29293 Added typefind helper.
29294 Small preroll fix in the base sink.
29295 Disable typefind code in basesrc.
29296 Crude port of typefindelement.
29300 2005-04-11 Wim Taymans <wim@fluendo.com>
29302 * check/gst/gstbus.c: (gstbus_suite):
29303 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29304 * check/gstcheck.h:
29305 Fix up the timeout so that the test does not fail.
29307 2005-04-06 Wim Taymans <wim@fluendo.com>
29310 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29311 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29312 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29313 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29314 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29315 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29316 (gst_basesrc_stop), (gst_basesrc_activate),
29317 (gst_basesrc_change_state), (basesrc_find_peek),
29318 (basesrc_find_suggest), (gst_basesrc_type_find):
29319 * gst/base/gstbasesrc.h:
29320 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29321 (gst_filesrc_class_init), (gst_filesrc_init),
29322 (gst_filesrc_finalize), (gst_filesrc_set_location),
29323 (gst_filesrc_set_property), (gst_filesrc_get_property),
29324 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29325 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29326 (gst_filesrc_create_read), (gst_filesrc_create),
29327 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29328 * gst/elements/gstfilesrc.h:
29329 * gst/gstelement.c: (gst_element_get_state_func),
29330 (gst_element_lost_state), (gst_element_pads_activate):
29331 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29332 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29333 (gst_pad_pull_range):
29335 More work on the generic source base class, implement seeking,
29337 Make filesrc extend the base source class.
29338 Added gst_pad_set_checkgetrange_function to GstPad.
29340 2005-04-06 Andy Wingo <wingo@pobox.com>
29342 * pkgconfig/gstreamer-base.pc.in:
29343 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29345 * pkgconfig/Makefile.am:
29346 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29348 2005-04-04 Wim Taymans <wim@fluendo.com>
29350 * gst/base/Makefile.am:
29352 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29353 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29354 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29355 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29356 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29357 (gst_basesrc_base_init), (gst_basesrc_class_init),
29358 (gst_basesrc_init), (gst_basesrc_get_formats),
29359 (gst_basesrc_get_query_types), (gst_basesrc_query),
29360 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29361 (gst_basesrc_set_property), (gst_basesrc_get_property),
29362 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29363 (gst_basesrc_loop), (gst_basesrc_activate),
29364 (gst_basesrc_change_state):
29365 * gst/base/gstbasesrc.h:
29366 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29367 (gst_fakesrc_class_init), (gst_fakesrc_init),
29368 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29369 (gst_fakesrc_get_property), (gst_fakesrc_create):
29370 * gst/elements/gstfakesrc.h:
29371 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29372 (gst_filesrc_open_file), (gst_filesrc_loop),
29373 (gst_filesrc_activate), (filesrc_find_peek),
29374 (gst_filesrc_type_find):
29375 Made base source class, make fakesrc extend it.
29376 Add comments to basesink class.
29377 Some filesrc cleanup.
29379 2005-03-31 David Schleef <ds@schleef.org>
29381 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29382 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29383 expected to link against libgstreamer.
29384 * gst/base/Makefile.am: link against libgstreamer
29385 * gst/elements/Makefile.am: same
29387 2005-03-31 Andy Wingo <wingo@pobox.com>
29389 * tests/instantiate/Makefile.am:
29390 * tests/instantiate/caps.c: Add test to test speed of caps copy
29393 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29394 GMemChunk to be fair.
29396 * gst/gsttrashstack.h: Remove warning about using the fallback
29397 trash stack implementation, it's still faster than malloc.
29399 2005-03-30 Andy Wingo <wingo@pobox.com>
29401 * tests/complexity.c: Add a copyright.
29403 2005-03-31 Wim Taymans <wim@fluendo.com>
29405 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29406 (gst_base_transform_class_init), (gst_base_transform_init),
29407 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29408 (gst_base_transform_get_property),
29409 (gst_base_transform_sink_activate),
29410 (gst_base_transform_src_activate),
29411 (gst_base_transform_change_state):
29412 * gst/base/gstbasetransform.h:
29413 * gst/elements/gstidentity.c: (gst_identity_class_init),
29414 (gst_identity_event), (gst_identity_check_perfect),
29415 (gst_identity_transform), (gst_identity_start),
29416 (gst_identity_stop):
29417 Added start/stop methods to transform base class so subclasses
29418 don't need to deal with state changes even.
29420 2005-03-31 Wim Taymans <wim@fluendo.com>
29422 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29423 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29425 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29426 (gst_pad_pull_range):
29427 Added rate to the discont event to prepare for variable speed
29428 and reverse playback.
29430 2005-03-29 David Schleef <ds@schleef.org>
29433 * testsuite/trigger/Makefile.am:
29434 * testsuite/trigger/trigger.c: A little example program to show
29435 how trigger-based elements can work.
29437 2005-03-29 Wim Taymans <wim@fluendo.com>
29439 * gst/base/Makefile.am:
29441 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29442 (gst_basesink_base_init), (gst_basesink_class_init),
29443 (gst_basesink_pad_getcaps), (gst_basesink_init),
29444 (gst_basesink_activate), (gst_basesink_change_state):
29445 * gst/base/gstbasesink.h:
29446 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29447 (gst_base_transform_base_init), (gst_base_transform_finalize),
29448 (gst_base_transform_class_init), (gst_base_transform_init),
29449 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29450 (gst_base_transform_event), (gst_base_transform_getrange),
29451 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29452 (gst_base_transform_set_property),
29453 (gst_base_transform_get_property),
29454 (gst_base_transform_sink_activate),
29455 (gst_base_transform_src_activate),
29456 (gst_base_transform_change_state):
29457 * gst/base/gstbasetransform.h:
29458 * gst/elements/gstidentity.c: (gst_identity_finalize),
29459 (gst_identity_class_init), (gst_identity_init),
29460 (gst_identity_event), (gst_identity_check_perfect),
29461 (gst_identity_transform), (gst_identity_set_property),
29462 (gst_identity_get_property), (gst_identity_change_state):
29463 * gst/elements/gstidentity.h:
29464 * gst/gstelement.c: (gst_element_get_state_func),
29465 (gst_element_lost_state), (gst_element_pads_activate):
29466 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29467 (gst_pad_check_pull_range), (gst_pad_pull_range):
29469 Simplify pad activation.
29470 Added function to check if pull_range can be performed.
29471 Error out when pulling inactive or flushing pads.
29472 Removed const from refcounted types as it does not make sense.
29473 Simplify pad templates in basesink
29474 Added base class for simple 1-to-1 transforms.
29475 Make identity subclass the base transform.
29477 2005-03-29 Andy Wingo <wingo@pobox.com>
29479 * docs/libs/gstreamer-libs-overrides.txt:
29480 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29481 really don't understand what's going on, but like whatever. I want
29484 * docs/gst/Makefile.am:
29485 * docs/libs/Makefile.am: Dist the overrides files.
29487 * check/Makefile.am (clean-local): Remove .libs directories.
29489 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29490 elements to EXTRA_DIST, so po/ files are happy.
29492 * po/POTFILES.in: Er, remove it here.
29494 * po/POTFILES: Remove gstspider.c.
29496 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29498 * docs/libs/gstreamer-libs-docs.sgml:
29499 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29502 * tests/complexity.c (main): Set the length of the preroll queue
29503 on the sinks to prevent a lockup.
29505 * libs/gst/dataprotocol/Makefile.am:
29506 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29507 the same as the one in check/gst-libs/gdp.c.
29509 * po/, docs/gst/: Commit automatic changes to docs and po files.
29511 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29512 the versioned libgstbase.
29514 * check/Makefile.am: Depend on an unversioned gst-register, seems
29515 to make autoconf happier.
29517 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29519 2005-03-28 Wim Taymans <wim@fluendo.com>
29522 * docs/design/part-gstelement.txt:
29523 * docs/design/part-negotiation.txt:
29524 * docs/design/part-preroll.txt:
29525 * docs/design/part-scheduling.txt:
29526 * docs/design/part-states.txt:
29528 * gst/base/Makefile.am:
29530 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29531 (gst_basesink_base_init), (gst_basesink_class_init),
29532 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29533 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29534 (gst_basesink_set_pad_functions),
29535 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29536 (gst_basesink_set_property), (gst_basesink_get_property),
29537 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29538 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29539 (gst_basesink_preroll_queue_push),
29540 (gst_basesink_preroll_queue_empty),
29541 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29542 (gst_basesink_event), (gst_basesink_get_times),
29543 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29544 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29545 (gst_basesink_loop), (gst_basesink_activate),
29546 (gst_basesink_change_state):
29547 * gst/base/gstbasesink.h:
29548 * gst/elements/Makefile.am:
29549 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29550 (gst_fakesink_class_init), (gst_fakesink_init),
29551 (gst_fakesink_set_property), (gst_fakesink_get_property),
29552 (gst_fakesink_get_times), (gst_fakesink_event),
29553 (gst_fakesink_preroll), (gst_fakesink_render),
29554 (gst_fakesink_change_state):
29555 * gst/elements/gstfakesink.h:
29556 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29557 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29558 * gst/gstelement.c: (gst_element_add_pad),
29559 (gst_element_get_state_func), (gst_element_abort_state),
29560 (gst_element_commit_state), (gst_element_lost_state),
29561 (gst_element_set_state), (gst_element_pads_activate):
29562 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29563 * gst/gstpipeline.c: (gst_pipeline_send_event),
29564 (gst_pipeline_change_state):
29565 Added state change code.
29566 Added/updated docs.
29567 Added sink base class, make fakesink extend the base class.
29568 Small cleanups in GstPipeline.
29570 2005-03-26 David Schleef <ds@schleef.org>
29572 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29573 is broken and should be implemented in a different library.
29574 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29575 * gst/gst.h: remove gstcpu.h
29576 * gst/gstcpu.c: remove
29577 * gst/gstcpu.h: remove
29578 * gst/Makefile.am.future: Remove this file. It's ancient.
29580 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29582 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29583 (gst_bin_send_event):
29584 Add default event/set_manager handlers. The set_manager handler
29585 takes care that the manager is distributed over kids that were
29586 already in the bin before the manager was set. The event handler
29587 is a utility virtual function that sends the event over all sinks,
29588 so that gst_element_send_event (bin, event); has the expected
29590 * gst/gstpad.c: (gst_pad_event_default):
29591 Re-install default event handling for discontinuities, so that
29592 seeking works without requiring hacks in applications or extra
29594 * gst/gstpipeline.c: (gst_pipeline_class_init),
29595 (gst_pipeline_send_event):
29596 Half hack, half utility: set a pipeline to PAUSED for seek events,
29597 since that is the only way we can guarantee a/v sync. Means that
29598 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29599 and it "just works".
29601 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29603 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29604 Lock/unlock mismatch.
29606 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29608 * docs/faq/gst-uninstalled:
29609 add gst-plugins-base
29610 * docs/gst/Makefile.am:
29611 don't error out until docs are fixed
29612 * docs/gst/gstreamer.types:
29615 2005-03-22 Wim Taymans <wim@fluendo.com>
29617 * check/Makefile.am:
29618 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29619 * gst/gststructure.c: (gst_structure_set_valist),
29620 (gst_structure_copy_conditional):
29621 Activated more tests.
29622 Added message test.
29623 Added G_TYPE_POINTER to GstStructure.
29626 2005-03-22 Wim Taymans <wim@fluendo.com>
29628 * docs/design/part-TODO.txt:
29629 * docs/design/part-events.txt:
29630 * docs/design/part-gstbin.txt:
29631 * docs/design/part-gstbus.txt:
29632 * docs/design/part-gstpipeline.txt:
29633 * docs/design/part-messages.txt:
29635 * gst/gstmessage.c:
29638 2005-03-21 Wim Taymans <wim@fluendo.com>
29640 * gst/gstbus.c: (gst_bus_post):
29641 Fix copy-and-paste error.
29643 2005-03-21 Wim Taymans <wim@fluendo.com>
29645 * check/Makefile.am:
29647 * gst/elements/Makefile.am:
29648 * gst/elements/gstelements.c:
29649 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29650 (gst_fakesink_event), (gst_fakesink_chain):
29651 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29652 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29653 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29654 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29655 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29656 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29657 (gst_fakesrc_loop), (gst_fakesrc_activate),
29658 (gst_fakesrc_change_state):
29659 * gst/elements/gstfakesrc.h:
29660 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29661 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29662 (gst_filesrc_open_file), (gst_filesrc_loop),
29663 (gst_filesrc_activate), (gst_filesrc_change_state),
29664 (filesrc_find_peek), (filesrc_find_suggest),
29665 (gst_filesrc_type_find):
29666 * gst/elements/gstidentity.c: (gst_identity_finalize),
29667 (gst_identity_class_init), (gst_identity_init),
29668 (gst_identity_proxy_getcaps), (identity_queue_push),
29669 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29670 (gst_identity_getrange), (gst_identity_chain),
29671 (gst_identity_sink_loop), (gst_identity_src_loop),
29672 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29673 (gst_identity_set_property), (gst_identity_get_property),
29674 (gst_identity_change_state):
29675 * gst/elements/gstidentity.h:
29676 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29677 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29678 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29679 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29680 (gst_tee_sink_activate):
29681 * gst/elements/gsttee.h:
29682 * gst/gst.c: (gst_register_core_elements), (init_post):
29684 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29685 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29686 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29687 (gst_bin_change_state):
29689 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29690 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29691 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29692 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29693 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29694 (bus_watch_callback), (bus_watch_destroy),
29695 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29696 (poll_timeout), (gst_bus_poll):
29700 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29701 (gst_element_post_message), (gst_element_message_full),
29702 (gst_element_get_state_func), (gst_element_get_state),
29703 (gst_element_abort_state), (gst_element_commit_state),
29704 (gst_element_lost_state), (gst_element_set_state),
29705 (gst_element_pads_activate), (gst_element_change_state),
29706 (gst_element_dispose), (gst_element_set_manager_func),
29707 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29708 (gst_element_set_manager), (gst_element_get_manager),
29709 (gst_element_set_bus), (gst_element_get_bus),
29710 (gst_element_set_scheduler), (gst_element_get_scheduler):
29711 * gst/gstelement.h:
29712 * gst/gstevent.c: (gst_event_new_segment_seek),
29713 (gst_event_new_flush):
29715 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29716 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29717 (gst_message_new_eos), (gst_message_new_error),
29718 (gst_message_new_warning), (gst_message_new_tag),
29719 (gst_message_new_state_changed), (gst_message_new_application),
29720 (gst_message_get_structure), (gst_message_parse_tag),
29721 (gst_message_parse_state_changed), (gst_message_parse_error),
29722 (gst_message_parse_warning):
29723 * gst/gstmessage.h:
29724 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29725 (gst_real_pad_set_property), (gst_pad_set_active),
29726 (gst_pad_is_active), (gst_pad_set_blocked_async),
29727 (gst_pad_set_blocked), (gst_pad_is_blocked),
29728 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29729 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29730 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29731 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29732 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29733 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29734 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29735 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29736 (gst_pad_set_caps), (gst_pad_configure_sink),
29737 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29738 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29739 (gst_real_pad_dispose), (gst_real_pad_finalize),
29740 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29741 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29742 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29744 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29745 (pipeline_bus_handler), (gst_pipeline_change_state),
29746 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29747 * gst/gstpipeline.h:
29749 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29750 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29751 (gst_queue_link_src), (gst_queue_bufferalloc),
29752 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29753 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29754 (gst_queue_loop), (gst_queue_handle_src_event),
29755 (gst_queue_handle_src_query), (gst_queue_src_activate),
29756 (gst_queue_change_state):
29758 * gst/gstscheduler.c: (gst_scheduler_init),
29759 (gst_scheduler_dispose), (gst_scheduler_create_task),
29760 (gst_scheduler_factory_create):
29761 * gst/gstscheduler.h:
29762 * gst/gststructure.c: (gst_structure_get_type),
29763 (gst_structure_copy_conditional):
29764 * gst/gststructure.h:
29765 * gst/gsttaginterface.h:
29766 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29767 (gst_task_init), (gst_task_dispose), (gst_task_create),
29768 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29774 * gst/schedulers/Makefile.am:
29775 * gst/schedulers/cothreads_compat.h:
29776 * gst/schedulers/entryscheduler.c:
29777 * gst/schedulers/faircothreads.c:
29778 * gst/schedulers/faircothreads.h:
29779 * gst/schedulers/fairscheduler.c:
29780 * gst/schedulers/gstbasicscheduler.c:
29781 * gst/schedulers/gstoptimalscheduler.c:
29782 * gst/schedulers/gthread-cothreads.h:
29783 * gst/schedulers/threadscheduler.c:
29784 (gst_thread_scheduler_task_get_type),
29785 (gst_thread_scheduler_task_class_init),
29786 (gst_thread_scheduler_task_init),
29787 (gst_thread_scheduler_task_start),
29788 (gst_thread_scheduler_task_stop),
29789 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29790 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29791 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29792 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29794 * libs/gst/Makefile.am:
29795 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29796 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29797 (gst_file_pad_parent_set):
29798 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29799 (gst_dp_event_from_packet):
29800 * tests/complexity.c: (main):
29801 * tests/mass_elements.c: (main):
29802 * testsuite/states/locked.c: (message_received), (main):
29803 * testsuite/states/parent.c: (main):
29804 * tools/gst-inspect.c: (print_element_flag_info),
29805 (print_implementation_info), (print_pad_info):
29806 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29808 * tools/gst-md5sum.c: (event_loop), (main):
29809 * tools/gst-typefind.c: (main):
29810 * tools/gst-xmlinspect.c: (print_element_info):
29812 Added GstBus for mainloop integration.
29813 Added GstMessage for sending notifications on the bus.
29814 Added GstTask as an abstraction for pipeline entry points.
29816 Removed Schedulers.
29817 Simplified GstQueue for multithreaded core.
29818 Made _link threadsafe, removed old capsnego.
29819 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29820 Added pad blocking functions.
29821 Reworked scheduling functions in GstPad to prepare for
29822 scheduling updates soon.
29823 Moved events out of data stream.
29824 Simplified GstEvent types.
29825 Added return values to push/pull.
29826 Removed clocking from GstElement.
29827 Added prototypes for state change function for next merge.
29828 Removed iterate from bins and state change management.
29829 Fixed some elements, disabled others for now.
29830 Fixed -inspect and -launch.
29831 Added check for GstBus.
29833 2005-03-10 Wim Taymans <wim@fluendo.com>
29835 * docs/design/part-MT-refcounting.txt:
29836 * docs/design/part-clocks.txt:
29837 * docs/design/part-gstelement.txt:
29838 * docs/design/part-gstobject.txt:
29839 * docs/design/part-standards.txt:
29840 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29841 (gst_bin_remove_func), (gst_bin_remove):
29845 * testsuite/clock/clock1.c: (main):
29846 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29848 * testsuite/dlopen/loadgst.c: (do_test):
29849 * testsuite/refcounting/bin.c: (add_remove_test1),
29850 (add_remove_test2), (main):
29851 * testsuite/refcounting/element.c: (main):
29852 * testsuite/refcounting/element_pad.c: (main):
29853 * testsuite/refcounting/pad.c: (main):
29854 * tools/gst-launch.c: (sigint_handler_sighandler):
29855 * tools/gst-typefind.c: (main):
29857 Added doc about clock.
29858 removed gst_bin_iterate_recurse_up(), marked methods
29860 Fix more testsuites.
29862 2005-03-09 Wim Taymans <wim@fluendo.com>
29864 * gst/gstpad.c: (gst_pad_get_direction),
29865 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29866 (gst_pad_collect_valist):
29867 * testsuite/bins/interface.c: (main):
29868 * testsuite/caps/audioscale.c: (test_caps):
29869 * testsuite/caps/caps.c: (test1), (test2), (test3):
29870 * testsuite/caps/deserialize.c: (main):
29871 * testsuite/caps/enumcaps.c: (main):
29872 * testsuite/caps/filtercaps.c: (main):
29873 * testsuite/caps/intersect2.c: (main):
29874 * testsuite/caps/random.c: (main):
29875 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29876 * testsuite/caps/sets.c: (check_caps):
29877 * testsuite/caps/simplify.c: (check_caps), (main):
29878 * testsuite/caps/subtract.c: (check_caps):
29879 Fix _pad_get_direction wrt ghostpads.
29880 Fix caps testsuite.
29882 2005-03-09 Wim Taymans <wim@fluendo.com>
29884 * check/Makefile.am:
29885 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29886 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29887 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29888 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29889 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29890 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29891 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29892 (bin_element_is_sink), (gst_bin_iterate_sinks),
29893 (gst_bin_iterate_all_by_interface):
29895 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29896 (gst_element_change_state), (gst_element_dispose),
29897 (gst_element_finalize), (gst_element_set_loop_function):
29898 * gst/gstelement.h:
29899 * gst/gstiterator.c: (find_custom_fold_func):
29900 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29901 (gst_pad_collectv), (gst_pad_collect_valist),
29902 (gst_pad_template_new):
29903 * gst/gstpipeline.c: (gst_pipeline_class_init),
29904 (gst_pipeline_dispose), (gst_pipeline_set_property),
29905 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29906 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29907 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29909 * gst/schedulers/entryscheduler.c:
29910 * gst/schedulers/gstbasicscheduler.c:
29911 (gst_basic_scheduler_cothreaded_chain),
29912 (gst_basic_scheduler_chain_add_element):
29913 * testsuite/bins/interface.c: (main):
29915 Added GstSystemClock test.
29916 Implemented clock distribution code in GstBin.
29917 Implemented iterate sinks method for future use.
29918 Rearranged gstelement.h
29919 Fix GstIterator comparison bug.
29920 Moved some code to GstPipeline, mostly clocking related.
29922 2005-03-09 Wim Taymans <wim@fluendo.com>
29925 * gst/gst_private.h:
29926 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29927 (gst_bin_remove_func), (gst_bin_remove),
29928 (gst_bin_get_by_name_recurse_up):
29929 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29930 (gst_clock_id_compare_func), (gst_clock_id_wait),
29931 (gst_clock_id_wait_async), (gst_clock_init),
29932 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29933 * gst/gstelement.h:
29934 * gst/gstinfo.c: (_gst_debug_init):
29936 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29937 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29939 Bump version number, we're now 0.9.0
29940 Add future debugging category.
29941 Fix NULL _unref() in _get_by_name_recurse_up
29942 Rearrange gstpad.h.
29945 2005-03-08 Wim Taymans <wim@fluendo.com>
29947 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29948 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29949 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29950 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29951 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29952 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29953 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29954 * gst/elements/gstidentity.c: (gst_identity_class_init):
29955 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29956 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29957 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29958 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29959 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29961 * gst/gstelement.c: (gst_element_class_init),
29962 (gst_element_base_class_init), (gst_element_init),
29963 (gst_element_get_random_pad), (gst_element_wait_state_change),
29964 (gst_element_change_state), (gst_element_dispose),
29965 (gst_element_finalize), (gst_element_set_loop_function):
29966 * gst/gstelement.h:
29967 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29968 * gst/gstthread.c: (gst_thread_class_init),
29969 (gst_thread_release_children_locks), (gst_thread_change_state):
29970 * gst/schedulers/gstbasicscheduler.c:
29971 (gst_basic_scheduler_loopfunc_wrapper),
29972 (gst_basic_scheduler_chain_wrapper),
29973 (gst_basic_scheduler_src_wrapper),
29974 (gst_basic_scheduler_remove_element):
29975 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29976 Remove threadsafe properties. Fix elements because GObject
29977 complains when installing a property before declaring a
29978 set/get_property handler.
29979 Rearrange gstelement.h file, use STATE macros for state locks.
29980 Free mutexes in the finalize method instead of dispose.
29982 2005-03-08 Wim Taymans <wim@fluendo.com>
29984 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29985 * gst/gstthread.c: (gst_thread_release_children_locks):
29986 Added parentage check.
29987 Fix build og GstThread again.
29989 2005-03-08 Wim Taymans <wim@fluendo.com>
29991 * docs/design/part-MT-refcounting.txt:
29992 * docs/design/part-conventions.txt:
29993 * docs/design/part-gstobject.txt:
29994 * docs/design/part-relations.txt:
29995 * docs/design/part-standards.txt:
29996 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29997 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29998 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29999 (gst_bin_iterate_all_by_interface):
30002 * gst/gstelement.c: (gst_element_class_init),
30003 (gst_element_change_state), (gst_element_set_loop_function):
30004 * gst/gstelement.h:
30005 * gst/gstiterator.c:
30006 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30007 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30008 (gst_object_dispatch_properties_changed), (gst_object_set_name),
30009 (gst_object_set_parent), (gst_object_unparent),
30010 (gst_object_check_uniqueness):
30012 Docs updates, clean up some headers.
30014 2005-03-07 Wim Taymans <wim@fluendo.com>
30016 * check/.cvsignore:
30017 * check/Makefile.am:
30018 * check/gst-libs/.cvsignore:
30019 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30020 * check/gst/.cvsignore:
30021 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30022 (START_TEST), (gstbus_suite), (main):
30023 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30024 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30025 (gst_data_suite), (main):
30026 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30027 (add_fold_func), (gstiterator_suite), (main):
30028 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30029 (thread_name_object), (thread_name_object_default),
30030 (gst_object_name_compare), (gst_object_suite), (main):
30031 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30032 (gst_pad_suite), (main):
30033 * check/gstcheck.c: (gst_check_log_message_func),
30034 (gst_check_log_critical_func), (gst_check_init):
30035 * check/gstcheck.h:
30036 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30037 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30040 2005-03-07 Wim Taymans <wim@fluendo.com>
30042 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30043 (gst_list_iterator_next), (gst_list_iterator_resync),
30044 (gst_list_iterator_free), (gst_iterator_new_list),
30045 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30046 (gst_iterator_free), (gst_iterator_push), (filter_next),
30047 (filter_resync), (filter_uninit), (filter_free),
30048 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30049 (gst_iterator_foreach), (find_custom_fold_func),
30050 (gst_iterator_find_custom):
30051 * gst/gstiterator.h:
30052 Added missing files.
30054 2005-03-07 Wim Taymans <wim@fluendo.com>
30058 * docs/design/part-MT-refcounting.txt:
30059 * docs/design/part-conventions.txt:
30060 * docs/design/part-gstobject.txt:
30061 * docs/design/part-relations.txt:
30062 * examples/mixer/mixer.c: (main):
30063 * examples/thread/thread.c: (eos), (main):
30065 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30066 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30067 (gst_spider_plug_from_srcpad):
30068 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30069 (gst_spider_identity_change_state),
30070 (gst_spider_identity_sink_loop_type_finding):
30071 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30072 * gst/elements/gstidentity.c: (gst_identity_init):
30073 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30074 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30075 * gst/elements/gsttypefindelement.c: (free_entry):
30078 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30079 (gst_bin_set_clock_func), (gst_bin_auto_clock),
30080 (gst_bin_set_index), (gst_bin_set_element_sched),
30081 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30082 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30083 (gst_bin_iterate_elements), (iterate_child_recurse),
30084 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30085 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30086 (compare_interface), (gst_bin_get_by_interface),
30087 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30089 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30090 (gst_buffer_default_free), (gst_buffer_default_copy),
30091 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30092 (gst_buffer_create_sub):
30094 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30095 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30096 (gst_caps_unref), (gst_static_caps_get),
30097 (gst_caps_remove_and_get_structure), (gst_caps_append),
30098 (gst_caps_append_structure), (gst_caps_remove_structure),
30099 (gst_caps_copy_nth), (gst_caps_set_simple),
30100 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30101 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30102 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30103 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30104 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30105 (gst_caps_structure_figure_out_union),
30106 (gst_caps_switch_structures), (gst_caps_do_simplify),
30107 (gst_caps_replace), (gst_caps_from_string),
30108 (gst_caps_copy_conditional):
30110 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30111 (_gst_clock_id_free), (gst_clock_id_unref),
30112 (gst_clock_id_compare_func), (gst_clock_id_wait),
30113 (gst_clock_id_wait_async), (gst_clock_class_init),
30114 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30115 (gst_clock_get_time), (gst_clock_set_time_adjust),
30116 (gst_clock_set_property), (gst_clock_get_property):
30119 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30120 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30122 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30123 (gst_element_requires_clock), (gst_element_provides_clock),
30124 (gst_element_set_clock), (gst_element_clock_wait),
30125 (gst_element_wait), (gst_element_set_time_delay),
30126 (gst_element_is_indexable), (gst_element_add_pad),
30127 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30128 (pad_compare_name), (gst_element_get_static_pad),
30129 (gst_element_request_pad), (gst_element_get_request_pad),
30130 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30131 (gst_element_class_get_pad_template_list),
30132 (gst_element_class_get_pad_template), (gst_element_error_func),
30133 (gst_element_get_random_pad), (gst_element_get_event_masks),
30134 (gst_element_send_event), (gst_element_seek),
30135 (gst_element_get_query_types), (gst_element_query),
30136 (gst_element_get_formats), (gst_element_convert),
30137 (gst_element_is_locked_state), (gst_element_set_locked_state),
30138 (gst_element_sync_state_with_parent), (gst_element_change_state),
30139 (gst_element_finalize), (gst_element_yield),
30140 (gst_element_interrupt), (gst_element_set_scheduler),
30141 (gst_element_get_scheduler), (gst_element_set_loop_function):
30142 * gst/gstelement.h:
30144 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30145 (gst_format_get_by_nick), (gst_format_get_details),
30146 (gst_format_iterate_definitions):
30148 * gst/gstindex.c: (gst_index_gtype_resolver):
30151 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30152 (gst_mem_chunk_free):
30153 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30154 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30155 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30156 (gst_object_dispatch_properties_changed),
30157 (gst_object_set_name_default), (gst_object_set_name),
30158 (gst_object_get_name), (gst_object_set_name_prefix),
30159 (gst_object_get_name_prefix), (gst_object_set_parent),
30160 (gst_object_get_parent), (gst_object_unparent),
30161 (gst_object_check_uniqueness), (gst_object_save_thyself),
30162 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30163 (gst_object_set_property), (gst_object_get_property),
30164 (gst_object_get_path_string):
30166 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30167 (gst_real_pad_init), (gst_real_pad_get_property),
30168 (gst_pad_custom_new), (gst_pad_get_direction),
30169 (gst_pad_set_active), (gst_pad_is_active),
30170 (gst_pad_set_event_function), (gst_pad_is_linked),
30171 (gst_pad_link_free), (gst_pad_link_intersect),
30172 (gst_pad_link_fixate), (gst_pad_set_caps),
30173 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30174 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30175 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30176 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30177 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30178 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30179 (gst_pad_realize), (gst_pad_get_allowed_caps),
30180 (gst_real_pad_dispose), (gst_real_pad_finalize),
30181 (gst_pad_collectv), (gst_pad_collect_valist),
30182 (gst_pad_template_dispose), (gst_pad_template_new),
30183 (gst_pad_get_internal_links):
30185 * gst/gstpipeline.c: (gst_pipeline_dispose),
30186 (gst_pipeline_change_state):
30187 * gst/gstpipeline.h:
30189 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30190 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30191 * gst/gstpluginfeature.h:
30192 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30193 * gst/gstquery.c: (_gst_query_type_initialize),
30194 (gst_query_type_register), (gst_query_type_get_by_nick),
30195 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30197 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30198 * gst/gstscheduler.c: (gst_scheduler_add_element),
30199 (gst_scheduler_factory_create):
30200 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30201 (gst_structure_free), (gst_structure_set_name),
30202 (gst_structure_id_set_value), (gst_structure_set_value),
30203 (gst_structure_set_valist), (gst_structure_remove_field),
30204 (gst_structure_remove_fields),
30205 (gst_structure_remove_fields_valist),
30206 (gst_structure_remove_all_fields), (gst_structure_foreach),
30207 (gst_structure_map_in_place),
30208 (gst_caps_structure_fixate_field_nearest_int),
30209 (gst_caps_structure_fixate_field_nearest_double):
30210 * gst/gststructure.h:
30211 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30212 (gst_system_clock_init), (gst_system_clock_dispose),
30213 (gst_system_clock_async_thread),
30214 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30215 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30216 * gst/gstsystemclock.h:
30217 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30218 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30219 * gst/gsttaginterface.c:
30220 * gst/gstthread.c: (gst_thread_dispose),
30221 (gst_thread_release_children_locks), (gst_thread_change_state),
30222 (gst_thread_main_loop):
30223 * gst/gsttrashstack.h:
30224 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30226 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30227 (gst_element_request_pad), (gst_element_get_pad_from_template),
30228 (gst_element_request_compatible_pad),
30229 (gst_element_get_compatible_pad_filtered),
30230 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30231 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30232 (gst_element_link_many), (gst_element_link),
30233 (gst_element_link_pads), (gst_element_unlink_pads),
30234 (gst_element_unlink_many), (gst_element_unlink),
30235 (gst_pad_can_link_filtered), (gst_pad_can_link),
30236 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30237 (gst_object_default_error), (gst_bin_add_many),
30238 (gst_bin_remove_many), (gst_element_populate_std_props),
30239 (gst_element_class_install_std_props), (gst_buffer_merge),
30240 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30241 (link_fold_func), (gst_pad_proxy_setcaps):
30243 * gst/gstvalue.c: (gst_value_deserialize_string):
30244 * gst/parse/grammar.y:
30245 * gst/schedulers/gstbasicscheduler.c:
30246 (gst_basic_scheduler_cothreaded_chain),
30247 (gst_basic_scheduler_chain_recursive_add),
30248 (gst_basic_scheduler_pad_link):
30249 * gst/schedulers/gstoptimalscheduler.c:
30250 (get_group_schedule_function),
30251 (gst_opt_scheduler_state_transition),
30252 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30253 * libs/gst/bytestream/bytestream.c:
30254 * libs/gst/dataprotocol/dataprotocol.c:
30255 (gst_dp_header_from_buffer):
30258 * tests/threadstate/threadstate2.c: (eos):
30259 * tools/gst-compprep.c: (main):
30260 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30261 (print_pad_info), (print_children_info):
30262 * tools/gst-launch.c: (idle_func), (main):
30263 * tools/gst-md5sum.c: (idle_func), (main):
30264 * tools/gst-xmlinspect.c: (print_element_info):
30265 First THREADED backport attempt, focusing on adding locks and
30266 making sure the API is threadsafe. Needs more work. More docs
30269 2005-02-24 Andy Wingo <wingo@pobox.com>
30271 * tests/bench-complexity.scm:
30272 * tests/complexity.gnuplot: New files, good for running complexity
30275 * tests/Makefile.am:
30276 * tests/complexity.c: New test, sets up N elements, at each level
30277 teeing into M streams per element. Eeeenteresting.
30279 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30280 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30281 running bench-mass_elements.scm.
30283 * tests/bench-mass_elements.scm: New script, runs mass_elements
30284 for various numbers of identities, outputting the results to a
30285 file. Requires guile 1.6. Just for testing.
30287 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30289 * gst/schedulers/fairscheduler.c:
30290 compile with debug disabled
30292 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30295 hunting season on 0.9 is now OPEN