1 2006-07-26 Wim Taymans <wim@fluendo.com>
3 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4 (gst_subbuffer_get_type), (gst_buffer_create_sub):
5 Avoid function call for known types by keeping the buffer and
6 subbuffer GType global.
8 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9 Random silly optimisations in read() path.
11 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13 * tools/gst-launch.c: (main):
14 If the top-level of the parse is a normal bin, it doesn't do the
15 right logic to run as a top-level element, so place it inside a
18 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
20 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
21 Remove superfluous g_object_notify() calls, GObject does
22 that for us automatically.
24 2006-07-25 Stefan Kost <ensonic@users.sf.net>
27 Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to
30 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
32 * gst/gsttaglist.c: (_gst_tag_initialize):
33 Allow more than one GST_TAG_IMAGE per taglist.
35 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
37 * gst/gstminiobject.c:
39 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
41 log recurring events at LOG level
42 add more debug for when the fd gets set
44 2006-07-21 Stefan Kost <ensonic@users.sf.net>
46 * gst/gstparse.c: (gst_parse_launch):
47 Also remove reentrance checks if flex is MT save (#348179)
48 Fix my empty ChangeLog entry below
50 2006-07-21 Andy Wingo <wingo@pobox.com>
52 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
54 * libs/gst/check/Makefile.am
55 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
56 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
57 * libs/gst/check/gstbufferstraw.h:
58 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
59 functions, thus proving I am still a GStreamer haxor. OK I wrote
60 them a long time ago, but anyways.
62 2006-07-21 Stefan Kost <ensonic@users.sf.net>
65 * gst/gstparse.c: (gst_parse_launch):
66 Check for flex version and omit mutex if we have a MT save flex
69 2006-07-21 Wim Taymans <wim@fluendo.com>
71 * gst/gstparse.c: (gst_parse_launch):
72 Protect recursive calls to _parse with a recursive mutex
75 2006-07-21 Wim Taymans <wim@fluendo.com>
77 * tests/check/gst/gstpad.c: (GST_START_TEST):
80 2006-07-20 Stefan Kost <ensonic@users.sf.net>
82 * gst/gstparse.c: (gst_parse_launch):
83 Do not hange on recursive uasge of gst_parse_launch()
85 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
88 Add some more docs, comments and FIXME 0.11s here and there
89 and also fix some typos.
91 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
94 Convert tabs to spaces for better readability.
96 2006-07-20 Edward Hervey <edward@fluendo.com>
98 * tests/check/libs/gdp.c: (gst_dp_suite):
99 the test_buffer test fails at line 140 on ppc64 at the following
101 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer, GST_BUFFER_FLAG_IN_CAPS),
102 "GST_BUFFER_IN_CAPS flag should have been copied !");
103 See bug #348114 for more details.
105 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
107 * docs/pwg/advanced-scheduling.xml:
111 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
113 * docs/pwg/intro-basics.xml:
114 Fix wrong links (#347927).
116 2006-07-18 Stefan Kost <ensonic@users.sf.net>
119 * gst/gstregistryxml.c: (load_feature),
120 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
121 * win32/common/config.h:
122 make --disable-index work (#342564)
124 2006-07-18 Wim Taymans <wim@fluendo.com>
126 Patch by: Peter Kjellerstedt <pkj at axis dot com>
130 The attached patch adds two missing defines to gsttrace.h when tracing
131 is disabled. It also corrects one existing define.
134 2006-07-17 Wim Taymans <wim@fluendo.com>
136 * docs/gst/gstreamer-sections.txt:
137 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
139 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
140 Add two functions to check and change the SIGSEGV behaviour
141 when loading plugins.
142 Don't mess with the SIGSEGV handler when we were told not to.
144 API: gst_segtrap_is_enabled
145 API: gst_segtrap_set_enabled
147 2006-07-14 Wim Taymans <wim@fluendo.com>
149 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
150 * tests/check/elements/filesrc.c: (GST_START_TEST):
151 Revert fix for regression in #347408 after release.
153 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
155 Patch by: Antoine Tremblay <hexa00 at gmail com>
157 * gst/gstutils.c: (gst_element_unlink):
158 Free iterator when done (#347311).
160 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
161 And add a test case for this.
163 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
166 Bump nano back to CVS
168 === release 0.10.9 ===
170 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
173 releasing 0.10.9, "On the road again"
175 2006-07-13 Wim Taymans <wim@fluendo.com>
177 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
178 * tests/check/elements/filesrc.c: (GST_START_TEST):
179 Revert pull-0 fix for release. Disable check. Fixes #347408.
181 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
183 * libs/gst/dataprotocol/dataprotocol.c:
184 (gst_dp_event_from_packet_1_0):
185 Fixes #347337: failure to deserialize event packets with
186 empty payload (only event type)
188 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
191 do not install a .c file in the header directory
193 2006-07-13 Edward Hervey <edward@fluendo.com>
195 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
196 GhostPad no longer implicitely use the padtemplates of the targets.
199 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
201 * gst/gstvalue.c: (gst_value_compare_list),
202 (gst_value_compare_array), (_gst_value_initialize):
203 * tests/check/gst/gstvalue.c: (GST_START_TEST):
204 Make GstValueArray comparison be order dependent as designed.
205 Add checks for value lists and value array comparisons.
208 2006-07-11 Edward Hervey <edward@fluendo.com>
210 * gst/gstbin.c: (activate_pads),
211 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
212 (gst_bin_change_state_func):
213 (de)activate src pads before calling state_change on the childs.
214 This is to avoid the case where a src ghostpad is blocked (holding the
215 stream lock), which would block the deactivation of the ghostpad's
217 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
218 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
219 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
220 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
221 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
222 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
223 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
224 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
225 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
226 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
227 (gst_ghost_pad_class_init),
228 (gst_ghost_pad_internal_do_activate_push),
229 (gst_ghost_pad_internal_do_activate_pull),
230 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
231 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
232 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
233 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
234 GhostPads now create their internal GstProxyPad at creation (and not
235 when they're linked, as it was being done previously).
236 The internal and target pads are linked straight away.
237 The data will also travel through the other pad in order to make
238 pad blocking and probes non-hackish (the probe/block now really happens
239 on the GhostPad and not on the target).
240 * gst/gstpad.c: (gst_pad_set_blocked_async),
241 (gst_pad_link_prepare), (gst_pad_push_event):
242 Remove previous ghostpad cruft.
243 * gst/gstutils.c: (gst_pad_add_data_probe),
244 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
245 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
246 (gst_pad_remove_buffer_probe):
247 Remove previous ghost pad cruft.
248 Added more detailed debug statements.
249 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
250 Fix the testsuite for refcounting changes.
251 The comments about who has references were correct, but the refcount
252 being checked wasn't the same (!?!).
256 2006-07-10 Stefan Kost <ensonic@users.sf.net>
258 * docs/gst/gstreamer-sections.txt:
259 * gst/gstconfig.h.in:
260 More docs for configuration options, add docs to gtk-doc.
262 2006-07-10 Stefan Kost <ensonic@users.sf.net>
265 * gst/gstconfig.h.in:
266 * win32/common/config.h:
267 Fix build when disabling tracing (fixes #344016). Also start to document
268 the defines that disable the sub-systems.
270 2006-07-10 Edward Hervey <edward@fluendo.com>
272 * gst/gst.c: (ensure_current_registry_forking):
273 let's make valgrind happy...
275 2006-07-09 Wim Taymans <wim@fluendo.com>
277 * gst/gstelement.c: (activate_pads),
278 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
279 Better pad activation code: Reset the collect value too on resync.
282 2006-07-09 Wim Taymans <wim@fluendo.com>
284 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
285 (gst_pad_activate_push):
286 Use some more macros where it makes sense.
287 Allow pad mode switching instead of asserting. When a pad
288 is activated in one mode and we activate it in another,
289 deactivate it first before activating it in a different mode.
292 2006-07-08 Andy Wingo <wingo@pobox.com>
294 * tools/gst-launch.c (main): Handle err == NULL.
296 * gst/gst.c (init_post, ensure_current_registry)
297 (ensure_current_registry_forking)
298 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
299 factoring out the registry scanning into separate functions. Don't
300 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
301 Better environment var name/interface suggestions accepted.
303 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
305 * gst/gstobject.c: (gst_object_set_name_default),
306 (gst_object_set_name):
307 Random micro-optimisation: don't use a hash table
308 with strings as keys and the usual strdup/strcmp
309 involved, but rather just use the GQuark of the
310 type name as key, since it needs to be looked up
311 anyway to get the type name string.
313 * tests/check/gst/gstobject.c: (GST_START_TEST):
316 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
318 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
319 (gst_bin_iterate_all_by_interface):
320 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
321 GTypes are gulongs and thus the top 4 bytes might be cut
322 off on some platforms when doing GPOINTER_TO_INT, leading
323 to invalid GTypes and bad things happening (see RH bug #179654).
324 Also add a check to make sure the type passed in is really
327 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
332 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
336 * gst-element-check.m4:
337 * gst-element-check.m4.in:
338 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
339 instead of the unversioned gst-inspect (#324176, #168659).
341 2006-07-06 Wim Taymans <wim@fluendo.com>
344 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
347 2006-07-06 Wim Taymans <wim@fluendo.com>
349 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
350 (gst_base_src_wait), (gst_base_src_update_length),
351 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
352 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
353 (gst_base_src_loop), (gst_base_src_start),
354 (gst_base_src_activate_pull):
356 blocksize == 0 now means the default blocksize when working in push
358 Remove some pointless asserts in _wait function.
359 Fix offset/length calculations and EOS handling. We can now pull 0
360 bytes as well, which is allowed.
361 use _check_get_range() to decide if we can operate in _pull based
363 Fix refcounting leak when check_get_range function was not
365 API GstBaseSrc::blocksize range can be 0 too now (default)
367 * tests/check/elements/filesrc.c: (GST_START_TEST),
369 Added check to test _get_range() behaviour.
371 2006-07-06 Wim Taymans <wim@fluendo.com>
373 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
374 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
375 (gst_pad_pull_range):
377 Lots of comments and docs added to the pad functions.
378 Flesh out the expected behaviour of the get_range() functions.
380 2006-07-06 Wim Taymans <wim@fluendo.com>
389 Remove comma at end of enumerator list.
391 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
393 * win32/common/libgstbase.def:
394 * win32/common/libgstdataprotocol.def:
395 * win32/common/libsgtreamer.def:
396 Add new exported functions.
398 2006-07-05 Wim Taymans <wim@fluendo.com>
400 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
401 Add some more docs here and there.
403 2006-07-05 Wim Taymans <wim@fluendo.com>
405 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
406 (gst_base_sink_loop), (gst_base_sink_get_position):
407 When operating in pull mode update the offset so that we
410 2006-07-05 Wim Taymans <wim@fluendo.com>
412 * gst/gstregistryxml.c: (read_string):
413 Avoid strdup. (will happen in libxml, but hey!)
418 2006-07-05 Wim Taymans <wim@fluendo.com>
420 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
421 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
423 No point in checking if the size of the subbuffer > 0, the
424 code handles it correclty as demonstrated by unit test.
425 Also add a unit test for the zero sized _new_and_alloc and
426 _copy. Fixes #346663.
428 2006-07-05 Wim Taymans <wim@fluendo.com>
430 * libs/gst/base/gstbasetransform.c:
431 (gst_base_transform_prepare_output_buffer),
432 (gst_base_transform_buffer_alloc),
433 (gst_base_transform_handle_buffer):
434 Make sure the buffer we pass to transform_ip has a refcount of
435 1 and thus is writable. Fixes #343196
437 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
439 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
440 (gst_file_src_init), (gst_file_src_set_property),
441 (gst_file_src_get_property), (gst_file_src_map_region):
442 * plugins/elements/gstfilesrc.h:
443 Add "sequential" property, off by default, to use madvise and hint
444 to the kernel that sequential access is desired.
445 Touch all retrieved pages by default to ensure they are pulled
446 into memory. (Closes #345720)
448 2006-07-03 Wim Taymans <wim@fluendo.com>
450 * docs/design/part-block.txt:
451 * docs/design/part-dynamic.txt:
454 2006-07-03 Wim Taymans <wim@fluendo.com>
456 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
457 (gst_caps_unref), (gst_static_caps_get),
458 (gst_caps_append_structure):
459 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
460 Use GSlice when the glib we build against is >= 2.10
462 2006-07-03 Wim Taymans <wim@fluendo.com>
464 * gst/gstelement.c: (gst_element_pads_activate):
465 Small cleanup in pad activation code.
467 2006-07-03 Wim Taymans <wim@fluendo.com>
469 Patch by: Peter Kjellerstedt <pkj at axis dot com>
471 * gst/gst-i18n-app.h:
472 * gst/gst-i18n-lib.h:
473 * tools/gst-inspect.c: (print_signal_info):
474 The attached patch will make the inclusion of gettext.h unconditional in
475 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
476 libintl.h in tools/gst-inspect.c.
477 This allows use of --disable-nls again and fixes #344642.
479 2006-07-03 Edward Hervey <edward@fluendo.com>
481 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
482 Implement pad blocking on events according to part-block.txt.
483 More comments on behaviour.
484 * tests/check/gst/gstevent.c: (test_event):
485 Send event to peer pad of blocked pad (else it will block).
487 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
489 * libs/gst/check/gstcheck.c: (gst_check_message_error),
490 (gst_check_run_suite):
491 if we get the wrong message, give us the types as string
492 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
494 * tests/check/elements/filesrc.c: (GST_START_TEST):
495 add a test for trying to open a non-existing file
497 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
499 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
500 add a test for adding self
502 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
504 * libs/gst/check/gstcheck.h:
505 add some assert_ as alias for fail_unless_*
506 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
507 increase test coverage
509 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
512 include lcov.mak for lcov coverage generation
516 2006-07-02 Edward Hervey <edward@fluendo.com>
518 * tests/check/elements/.cvsignore:
521 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
524 don't set CFLAGS and friends for gcov, done from GST_GCOV now
525 * tests/check/Makefile.am:
528 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
530 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
531 remove gst_caps_simplify; it was not declared and not used
532 and deprecated in 0.8
534 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
536 * docs/faq/gst-uninstalled:
537 don't put empty paths on PYTHONPATH
538 * docs/gst/gstreamer-sections.txt:
539 remove some symbols that are not there
541 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
543 * gst/gstcaps.c: (gst_caps_compare_structures):
545 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
546 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
549 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
551 * libs/gst/dataprotocol/Makefile.am:
552 build dataprotocol test by linking to the lib, instead of
553 compiling the source, so we get coverage
554 * tests/check/Makefile.am:
555 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
556 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
557 add a test for filesrc
559 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
561 * tests/check/gst/gststructure.c: (GST_START_TEST),
562 (gst_structure_suite):
563 Push coverage from 59.04% to 70.00%
565 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
567 * tests/check/Makefile.am:
568 gst-inspect every element; this makes sure that we also get
569 coverage on element's get/set functions
571 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
574 set CFLAGS and friends to -O0 if gcov is being used
577 * libs/gst/base/Makefile.am:
578 * libs/gst/check/Makefile.am:
579 * libs/gst/controller/Makefile.am:
580 * libs/gst/dataprotocol/Makefile.am:
581 * libs/gst/net/Makefile.am:
582 * plugins/elements/Makefile.am:
583 * plugins/indexers/Makefile.am:
584 add makefile rules to generate gcov data and clean up
585 * tests/check/Makefile.am:
586 add a coverage target that generates an html overview
589 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
591 * tests/check/elements/fakesink.c:
592 * tests/check/elements/fakesrc.c:
593 * tests/check/elements/fdsrc.c:
594 * tests/check/elements/identity.c:
595 * tests/check/generic/sinks.c: (gst_sinks_suite):
596 * tests/check/generic/states.c:
597 * tests/check/gst/gst.c:
598 * tests/check/gst/gstabi.c:
599 * tests/check/gst/gstbin.c:
600 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
601 * tests/check/gst/gstbus.c: (gst_bus_suite):
602 * tests/check/gst/gstcaps.c: (GST_START_TEST):
603 * tests/check/gst/gstelement.c:
604 * tests/check/gst/gstevent.c: (gst_event_suite):
605 * tests/check/gst/gstghostpad.c:
606 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
607 * tests/check/gst/gstmessage.c: (gst_message_suite):
608 * tests/check/gst/gstminiobject.c:
609 * tests/check/gst/gstobject.c:
610 * tests/check/gst/gstpad.c:
611 * tests/check/gst/gstpipeline.c:
612 * tests/check/gst/gstplugin.c:
613 * tests/check/gst/gstquery.c: (gst_query_suite):
614 * tests/check/gst/gstsegment.c: (gst_segment_suite):
615 * tests/check/gst/gststructure.c:
616 * tests/check/gst/gstsystemclock.c:
617 * tests/check/gst/gsttag.c:
618 * tests/check/gst/gsttask.c: (gst_task_suite):
619 * tests/check/gst/gstutils.c:
620 * tests/check/gst/gstvalue.c:
621 * tests/check/libs/adapter.c:
622 * tests/check/libs/basesrc.c:
623 * tests/check/libs/collectpads.c:
624 * tests/check/libs/controller.c:
625 * tests/check/libs/gdp.c: (gst_dp_suite):
626 * tests/check/libs/gstnetclientclock.c:
627 * tests/check/libs/gstnettimeprovider.c:
628 * tests/check/libs/libsabi.c: (libsabi_suite):
629 * tests/check/libs/typefindhelper.c:
630 * tests/check/pipelines/cleanup.c:
631 * tests/check/pipelines/parse-launch.c:
632 * tests/check/pipelines/simple-launch-lines.c:
633 * tests/check/pipelines/stress.c: (stress_suite):
636 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
638 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
639 * libs/gst/check/gstcheck.h:
640 create a macro and function so that the simple unit test
641 case can be just one macro to create main()
643 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
645 * gst/gstbin.c: (gst_bin_restore_thyself):
646 * gst/gstxml.c: (gst_xml_make_element):
647 Fix deserialisation from XML. Set parent manually
648 instead of using gst_bin_add(), since gst_bin_add()
649 will unlink all pads of the element being added.
652 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
654 Patch by: Peter Kjellerstedt <pkj at axis com>
656 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
657 Fix missing g_strdup() and double free when using the
658 --gst-plugin-load command line option (#346097).
660 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
663 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
665 * libs/gst/net/gstnetclientclock.c:
666 * libs/gst/net/gstnettimeprovider.c:
667 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
669 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
671 * docs/manual/advanced-dataaccess.xml:
672 Fix buffer probe example compilation in
675 2006-06-22 Edward Hervey <edward@fluendo.com>
677 * gst/gstelement.c: (gst_element_pads_activate):
678 We need to deactivate src pads first and then sink pads.
679 The reason is the src pads might be blocking while holding the streaming
680 lock, so we need to deactivate them first so that deactivating the sink
681 pads doesn't block (since it will require the streaming lock).
683 2006-06-22 Wim Taymans <wim@fluendo.com>
685 * libs/gst/base/gstbasetransform.c:
686 (gst_base_transform_buffer_alloc):
687 Forgot to remove two unneeded unrefs.
688 Simplify a check _is_equal allready checks the obvious case.
690 2006-06-22 Wim Taymans <wim@fluendo.com>
692 * docs/design/part-block.txt:
693 Some docs about what pad_block should do.
695 2006-06-22 Wim Taymans <wim@fluendo.com>
697 * gst/gstcaps.c: (gst_caps_replace):
698 Fix crasher when passed NULL. Doc clarification.
699 Optimize for the trivial case.
701 * gst/gstpipeline.c: (gst_pipeline_change_state):
704 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
705 Small documentation cleanup.
707 * libs/gst/base/gstbasetransform.c:
708 (gst_base_transform_buffer_alloc):
709 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
710 is what we need and it avoids a whole lot of redundant
713 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
715 Patch by: Philip Jägenstedt <philip at lysator liu se>
717 * docs/manual/advanced-dataaccess.xml:
718 Fix 'Embedding static elements' section to use
719 GST_PLUGIN_DEFINE_STATIC (#345607).
721 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
723 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
724 Attempt to 'fix' spuriously failing test case: it seems like the
725 timeout of half a second is simply too small when the system is under
726 load otherwise, and the timeout doesn't really seem to serve any
727 particular purpose here. Give the pipeline a few seconds to preroll
728 first, and then give it another half a second to go from PAUSED to
729 PLAYING and marshal the message into the main thread.
731 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
733 * tools/gst-feedback-m.m:
734 Don't only use unversioned tools, try versioned tools as well
737 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
739 * gst/gstbus.c: (gst_bus_class_init):
740 Fix some typos, make docs more explicit.
742 2006-06-20 Wim Taymans <wim@fluendo.com>
744 * tests/check/gst/gstghostpad.c: (block_callback),
745 (GST_START_TEST), (gst_ghost_pad_suite):
746 Added some more ghostpad tests, mainly blocking
749 2006-06-16 Wim Taymans <wim@fluendo.com>
751 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
752 (gst_file_sink_close_file), (gst_file_sink_do_seek),
753 (gst_file_sink_event), (gst_file_sink_render):
754 * plugins/elements/gstfilesink.h:
755 Check if we can seek in the file instead of assuming
756 we always can. Post an error when we are asked to seek in a
757 non-seekable file (like a fifo). Fixes #343312.
760 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
762 * tools/gst-launch.1.in:
763 Un-garble (fourcc) bit in filtered caps section.
765 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
767 * docs/manual/advanced-autoplugging.xml:
768 * docs/manual/basics-helloworld.xml:
769 * docs/manual/highlevel-components.xml:
770 Don't leak bus reference in sample code.
772 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
775 Add default for new --enable-plugin-docs switch.
778 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
782 Use new ENABLE_PLUGIN_DOCS conditional.
784 2006-06-14 Wim Taymans <wim@fluendo.com>
786 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
787 Make it clear with a FIXME and a real define what the #if 0
790 2006-06-14 Wim Taymans <wim@fluendo.com>
792 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
793 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
794 * libs/gst/base/gstbasetransform.c:
795 (gst_base_transform_sink_eventfunc):
796 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
797 Don't randomly and silently reset a segment when the format
798 changes as this is a bug somewhere upstream. Fixes #330379.
800 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
802 Patch by: Wouter Paesen <wouter at kangaroot net>
804 * libs/gst/controller/gstcontroller.c:
805 (gst_controlled_property_new):
806 Fix controlling of float properties (#344849).
808 * tests/check/libs/controller.c:
809 (gst_test_mono_source_get_property),
810 (gst_test_mono_source_set_property),
811 (gst_test_mono_source_class_init), (GST_START_TEST):
812 While we're at it, add some float stuff to unit test.
814 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
817 * docs/images/gdp-header.svg:
819 * docs/libs/Makefile.am:
820 * docs/libs/gdp-header.png:
821 * libs/gst/dataprotocol/dataprotocol.c:
822 add it to the API docs
823 * docs/manual/intro-motivation.xml:
826 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
828 * gst/gst.c: (scan_and_update_registry), (init_post):
829 If the fork()'ed child process can't write the updated registry cache
830 file to disk for some reason, make it exit with a failure exit code,
831 so that the parent can then re-scan the plugins itself and update the
832 registry structures in memory and work with that (rather than failing
833 when creating elements because seemingly no plugins are available).
834 Refactor registry scanning code into separate function for this and
835 also separate fork() and non-fork() code paths. Fixes #344748.
837 2006-06-13 Wim Taymans <wim@fluendo.com>
839 * docs/manual/advanced-dataaccess.xml:
840 Fix wrong PluginDesc. Fixes #344755.
842 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
844 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
845 Fix silly bug that prevented us from creating
846 ~/.gstreamer-0.10 and writing the registry in one
847 go (the first call to g_mkstemp() would overwrite the
848 placeholder in the template string, so the second call
849 to g_mkstemp() after creating the missing directory
850 would then error out with 'invalid argument').
852 2006-06-13 Edward Hervey <edward@fluendo.com>
854 * gst/gst.c: (init_post):
857 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
859 * gst/glib-compat-private.h:
862 * gst/gstvalue.c: (gst_value_serialize_flags):
863 remove GLib 2.6 compatibility code
865 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
867 * gst/parse/Makefile.am:
868 Fix build with 'make -j N' even more (#340016).
870 2006-06-12 Wim Taymans <wim@fluendo.com>
872 * docs/gst/gstreamer-sections.txt:
875 2006-06-12 Wim Taymans <wim@fluendo.com>
877 * gst/gstsegment.c: (gst_segment_set_duration),
878 (gst_segment_set_last_stop), (gst_segment_set_seek),
879 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
880 (gst_segment_to_running_time), (gst_segment_clip):
881 Use G_UNLIKELY to help the compiler a bit.
883 2006-06-12 Wim Taymans <wim@fluendo.com>
885 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
887 * gst/gstevent.c: (gst_event_get_type):
889 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
891 constify quark registration strings. Fixes #344115
892 Avoid unneeded type checking is _pad_push() by internally
893 calling gst_pad_chain_unchecked().
895 2006-06-12 Wim Taymans <wim@fluendo.com>
897 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
898 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
899 (gst_subbuffer_finalize), (gst_buffer_create_sub),
900 (gst_buffer_is_span_fast), (gst_buffer_span):
901 Init _type for consistency.
902 Use _FLAGS macro to avoid type check.
903 Avoid unneeded type checks in subbufer code.
905 2006-06-12 Wim Taymans <wim@fluendo.com>
907 * gst/gst.c: (gst_debug_help):
908 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
909 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
910 (gst_plugin_feature_list_free):
911 * gst/gstregistry.c: (gst_registry_add_plugin),
912 (gst_registry_add_feature), (gst_registry_plugin_filter),
913 (gst_registry_feature_filter), (gst_registry_find_plugin),
914 (gst_registry_find_feature), (gst_registry_get_plugin_list),
915 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
916 * gst/gstregistryxml.c: (load_feature),
917 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
918 * gst/gstminiobject.c: (gst_mini_object_unref),
919 (gst_mini_object_replace), (gst_value_mini_object_free),
920 (gst_value_mini_object_copy):
921 Use _CAST macros to avoid unneeded type checking.
922 Added some more G_UNLIKELY.
924 2006-06-12 Wim Taymans <wim@fluendo.com>
927 Avoid unneeded type checking.
928 API: GST_BUFFER_IS_DISCONT
930 * gst/gstminiobject.h:
931 Avoid type check in flag accessor.
933 * gst/gstelementfactory.h:
935 * gst/gstpluginfeature.h:
937 API: GST_ELEMENT_FACTORY_CAST
939 API: GST_PLUGIN_FEATURE_CAST
941 2006-06-12 Wim Taymans <wim@fluendo.com>
943 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
945 Add G_UNLIKELY in type registration.
946 Avoid type check in _ref/_unref since that is also
949 2006-06-12 Wim Taymans <wim@fluendo.com>
951 * gst/gsterror.c: (gst_g_error_get_type):
952 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
953 (gst_static_pad_template_get_type):
954 * gst/gsttaglist.c: (gst_tag_list_get_type):
955 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
956 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
957 * gst/gsturi.c: (gst_uri_handler_get_type):
958 * gst/gstvalue.c: (gst_date_get_type):
959 * gst/gstxml.c: (gst_xml_get_type):
960 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
961 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
962 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
963 Add G_UNLIKELY in type registration.
965 2006-06-12 Wim Taymans <wim@fluendo.com>
967 * tools/gst-inspect.c: (print_signal_info):
968 Properly print enum values.
970 2006-06-12 Wim Taymans <wim@fluendo.com>
972 * gst/gstinfo.c: (gst_debug_set_active),
973 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
975 Add some G_[UN]LIKELY.
976 Maintain __gst_debug_min to avoid formatting the arguments of
977 debug messages that will be dropped anyway to avoid a lot of
978 overhead from the debugging system.
980 2006-06-11 Stefan Kost <ensonic@users.sf.net>
984 add missing files containing translatable strings, tell intltool about
987 2006-06-11 Stefan Kost <ensonic@users.sf.net>
989 * tests/check/libs/.cvsignore:
990 add test-binary to ignore list
992 2006-06-11 Stefan Kost <ensonic@users.sf.net>
994 * docs/libs/gstreamer-libs-docs.sgml:
995 reorder (put dp into a chapter) and indent
997 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1002 === release 0.10.8 ===
1004 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1007 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
1009 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1011 * gst/gst.c: (init_post):
1012 move pid declaration to declaration block
1014 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1016 * gst/gst.c: (init_post):
1017 use _exit() instead of exit() in our forked child; this ensures
1018 that none of the registered exit handlers from whatever is using
1019 GStreamer get executed. This fixes gnome-mixer-applet failing
1020 to load, because ORBit would shut down.
1021 Spotted by: Edward Hervey <edward@fluendo.com>
1022 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
1025 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
1030 === release 0.10.7 ===
1032 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
1035 releasing 0.10.7, "Soepeke, ik zie ou"
1037 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
1060 * win32/common/config.h:
1063 2006-06-07 Wim Taymans <wim@fluendo.com>
1065 * gst/gstindex.c: (gst_index_gtype_resolver):
1066 * tools/gst-xmlinspect.c: (print_plugin_info):
1067 Fix leak spotted by coverity checker. Fixes #343827
1068 Fix another other leak found by paolo borelli.
1070 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1072 * libs/gst/dataprotocol/dataprotocol.c:
1073 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1074 (gst_dp_version_get_type), (gst_dp_init),
1075 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
1076 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
1077 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
1078 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
1079 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
1080 (gst_dp_packetizer_free):
1081 * libs/gst/dataprotocol/dataprotocol.h:
1082 API: add a GstDPPacketizer object, and create/free functions
1083 API: add GstDPVersion enum
1084 Add 1.0 event function that uses the string serialization
1085 Serialize more useful buffer flags
1088 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1090 * tests/check/Makefile.am:
1091 * tests/check/gst/gstabi.c:
1092 * tests/check/gst/struct_ppc64.h:
1093 * tests/check/libs/libsabi.c:
1094 * tests/check/libs/struct_ppc64.h:
1095 add ppc64 structure sizes
1097 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1099 * tests/check/Makefile.am:
1100 * tests/check/gst/gstabi.c:
1101 * tests/check/gst/struct_x86_64.h:
1102 * tests/check/libs/libsabi.c:
1103 * tests/check/libs/struct_x86_64.h:
1104 generate and add structure size lists for x86_64
1106 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1108 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1109 * libs/gst/check/gstcheck.h:
1110 factor out the method from tests that checks size of structures,
1111 and add code to generate the header containing these sizes
1112 * tests/check/gst/gstabi.c: (GST_START_TEST):
1113 * tests/check/gst/struct_i386.h:
1114 * tests/check/libs/libsabi.c: (GST_START_TEST):
1115 * tests/check/libs/struct_i386.h:
1118 2006-06-06 Michael Smith <msmith@fluendo.com>
1121 Don't use c++-style comments, fixes #343929
1123 2006-06-05 Edward Hervey <edward@fluendo.com>
1126 plugin_paths is not used if we build without registry support.
1128 * gst/gstsegment.c: (gst_segment_copy):
1129 _copy() was always returning NULL...
1131 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1133 * libs/gst/dataprotocol/dataprotocol.c:
1134 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1135 (gst_dp_packet_from_event):
1138 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1140 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
1141 make sure we unset caps
1143 2006-06-02 Michael Smith <msmith@fluendo.com>
1145 * libs/gst/check/gstcheck.c: (gst_check_init),
1146 (gst_check_chain_func):
1147 * libs/gst/check/gstcheck.h:
1148 Add a cond/mutex to the check support lib, signal this whenever we
1149 add to the buffers list. This will allow tests to not busy-wait on
1152 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1154 * libs/gst/dataprotocol/dataprotocol.c:
1155 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1156 (gst_dp_packet_from_event):
1157 factor out some common header init code
1159 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1161 * docs/libs/gstreamer-libs-sections.txt:
1162 * docs/libs/tmpl/gstdataprotocol.sgml:
1163 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
1164 * libs/gst/dataprotocol/dataprotocol.h:
1165 API: make gst_dp_crc() public
1167 2006-06-01 Stefan Kost <ensonic@users.sf.net>
1169 * plugins/indexers/gstindexers.c: (plugin_init):
1170 conditionally register fileindexer (fixes #343598)
1172 2006-06-01 Stefan Kost <ensonic@users.sf.net>
1174 * gst/gsttagsetter.h:
1175 Can't cast ifaces to a class
1177 * libs/gst/net/gstnetclientclock.h:
1178 * libs/gst/net/gstnettimeprovider.h:
1179 * plugins/elements/gstfakesink.h:
1180 * plugins/elements/gstfakesrc.h:
1181 * plugins/elements/gstfdsink.h:
1182 * plugins/elements/gstfdsrc.h:
1183 * plugins/elements/gstfilesink.h:
1184 * plugins/elements/gstfilesrc.h:
1185 * plugins/elements/gstidentity.h:
1186 * plugins/elements/gstqueue.h:
1187 * plugins/elements/gsttee.h:
1188 * plugins/indexers/gstfileindex.c:
1189 * plugins/indexers/gstmemindex.c:
1190 * tests/old/examples/plugins/example.h:
1191 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
1193 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
1195 * libs/gst/dataprotocol/dataprotocol.c:
1196 (gst_dp_header_from_buffer):
1197 make sure we zero the whole ABI-compatible area
1199 2006-06-01 Wim Taymans <wim@fluendo.com>
1201 Patch by: Alessandro Decina <alessandro at nnva dot org>
1203 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
1204 Make sure the EOS flag is cleared from pads after a flush
1205 or stop. Fixes #343538.
1207 * tests/check/libs/collectpads.c: (GST_START_TEST),
1208 (gst_collect_pads_suite):
1209 Added test for collectpads reusage after EOS.
1211 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
1214 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
1215 * win32/common/libgstbase.def:
1216 export gst_collect_pads_set_flushing
1217 * win32/common/libgstreamer.def:
1218 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
1219 gst_value_fraction_multiply
1220 * win32/vs6/gst_inspect.dsp:
1221 add a link to intl.lib
1223 2006-05-30 Wim Taymans <wim@fluendo.com>
1225 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1226 (gst_collect_pads_chain):
1227 Handle the case where a pad is removed from the collection
1228 that could cause the other pads to become collectable.
1230 2006-05-30 Wim Taymans <wim@fluendo.com>
1233 Clarify the use of _release_request_pad() and
1234 _get_request_pad() a bit better.
1236 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
1237 (gst_adapter_take_buffer):
1238 Fix some doc and comment typos.
1240 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1242 * docs/gst/gstreamer-sections.txt:
1243 * docs/libs/gstreamer-libs-sections.txt:
1244 add declared symbols
1246 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
1248 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
1249 Add debug that can be enabled using a #define at the top of the file,
1250 for dumping stats about how late/early we were when waking up from
1251 waiting on the clock.
1253 2006-05-30 Wim Taymans <wim@fluendo.com>
1255 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
1256 When rebuilding the pad list, don't leak the previous list.
1258 2006-05-30 Wim Taymans <wim@fluendo.com>
1260 Patch by: Lutz Mueller <lutz at topfrose dot de>
1262 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1263 (gst_base_src_get_query_types), (gst_base_src_update_length):
1264 Publish supported query types.
1265 Update last_stop field in get_range mode so the position
1266 query works. Fixes #342321.
1268 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
1270 * docs/gst/gstreamer-sections.txt:
1271 * gst/gsttaglist.c: (_gst_tag_initialize):
1273 API: add GST_TAG_PREVIEW_IMAGE (#343341).
1275 2006-05-30 Wim Taymans <wim@fluendo.com>
1277 Patch by: Alessandro Decina <alessandro at nnva dot org>
1279 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1280 Unlock mutex when removing an unknown pad.
1283 * tests/check/Makefile.am:
1284 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
1285 (push_event), (setup), (teardown), (GST_START_TEST),
1286 (gst_collect_pads_suite), (main):
1287 Added collecpads check, disabled for now as check crashes for
1290 2006-05-29 Wim Taymans <wim@fluendo.com>
1292 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
1293 Don't leak pads lists.
1295 2006-05-29 Wim Taymans <wim@fluendo.com>
1297 * docs/libs/gstreamer-libs-sections.txt:
1298 * libs/gst/base/gstcollectpads.c:
1299 (gst_collect_pads_set_flushing_unlocked),
1300 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1301 (gst_collect_pads_stop):
1302 * libs/gst/base/gstcollectpads.h:
1303 API: gst_collect_pads_set_flushing()
1304 Added api to set the pads to flushing, useful for seeking
1305 code in elements using collectpads.
1306 Clear segment when receiving a flush.
1308 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
1310 * gst/gst.c: (add_path_func), (init_post):
1311 Don't scan registry paths passed via --gst-plugin-path immediately
1312 (will crash, because absolutely nothing is set up and no types are
1313 registered etc.); do this later in init_post(). Fixes #343057.
1315 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
1317 * gst/gst.c: (init_post):
1318 if we have fork, fork while reading/rebuilding the registry
1319 so the parent doesn't take the hit of having all plugins loaded
1320 in memory. Fixes #342777.
1322 Check if we have fork()
1323 * win32/common/config.h.in:
1326 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
1328 * plugins/elements/gstelements.c:
1329 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1330 (gst_file_src_init), (gst_file_src_set_property),
1331 (gst_file_src_get_property), (gst_file_src_start):
1332 * plugins/elements/gstfilesrc.h:
1333 API: GstFileSrc::use-mmap
1335 Add a use-mmap property to enable easier testing of all code paths.
1336 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
1337 in the absence of gnomevfssrc. (Closes #340501)
1339 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1341 * tools/gst-inspect.c:
1342 Add missing include, removes warning of ngettext not being defined on
1345 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
1347 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1348 Handle NULL input and output pointers silently as a failed conversion,
1349 rather than g_warnings.
1351 2006-05-25 Wim Taymans <wim@fluendo.com>
1353 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
1354 Initialize variable before using. Fixes #342820.
1356 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
1358 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
1359 Fix off-by-one bug that would only allow peeks of N-1 bytes
1360 from the start even if the buffer to typefind on contains
1361 in fact N bytes of data (makes vorbis typefinding from a
1362 vorbis identification header buffer work).
1364 * tests/check/Makefile.am:
1365 * tests/check/libs/.cvsignore:
1366 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
1367 (gst_typefindhelper_suite), (main), (foobar_typefind),
1369 Add very basic unit test for gst_type_find_helper_for_buffer()
1370 that checks for the problem fixed above.
1372 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
1374 * tools/gst-inspect.c: (print_interfaces),
1375 (print_element_properties_info), (print_element_list), (main):
1376 add more translatable strings
1378 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
1380 Patch by: Julien Moutte <julien at moutte net>
1382 * docs/gst/gstreamer-sections.txt:
1383 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
1385 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1386 (gst_fake_sink_preroll):
1387 * plugins/elements/gstfakesink.h:
1388 API: Add new GstFakeSink::preroll-handoff signal (#337100).
1390 2006-05-23 Wim Taymans <wim@fluendo.com>
1392 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
1394 Added _CUSTOM error and success GstFlowReturn that can be
1395 used be elements internally.
1396 Added macro to check for SUCCESS flowreturns.
1397 API: GST_FLOW_CUSTOM_SUCCESS
1398 API: GST_FLOW_CUSTOM_ERROR
1399 API: GST_FLOW_IS_SUCCESS
1401 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1402 Added check for GstFlowReturn sanity.
1404 2006-05-23 Wim Taymans <wim@fluendo.com>
1406 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1408 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1409 (gst_collect_pads_event):
1410 clear/reset segment info in FLUSH_STOP.
1413 2006-05-22 Stefan Kost <ensonic@users.sf.net>
1415 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
1416 (gst_collect_pads_check_collected):
1417 Flush queued buffer on _stop(), fixes playing again (#342454)
1419 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
1421 * tests/check/gst/gststructure.c: (GST_START_TEST),
1422 (gst_structure_suite):
1423 add a test for a complete structure
1425 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
1427 * docs/faq/developing.xml:
1429 * docs/faq/troubleshooting.xml:
1430 * docs/faq/using.xml:
1431 Some minor FAQ updates that won't change the fact that
1432 our FAQ is badly structured, full of information hardly
1433 anyone new to GStreamer needs to know and lacking lots
1434 of information people constantly ask for.
1436 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
1438 * gst/gstpad.c: (gst_pad_set_caps):
1439 Short-circuit gst_pad_set_caps if setting the existing
1440 caps pointer again, and avoid printing debug and
1441 reffing/unreffing the caps.
1443 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1444 There's actually no need to set the caps before pushing -
1445 the acceptcaps method will handle it anyway.
1447 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
1449 * docs/gst/gstreamer-sections.txt:
1450 * win32/common/libgstreamer.def:
1451 * gst/gstutils.c: (gst_element_seek_simple):
1453 API: add gst_element_seek_simple() (#342238).
1455 2006-05-18 Edward Hervey <edward@fluendo.com>
1457 * gst/gsttypefind.c: (gst_type_find_get_type):
1458 * gst/gsttypefind.h:
1459 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
1460 registered for GstTypeFind pointers. This allows wrapping the structure
1461 in bindings (i.e. gst-python).
1463 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
1465 * gst/gsttagsetter.c:
1466 Docs additions and fixes (see #339918).
1468 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
1470 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1471 The caps intersection algorithm can produce multiple copies of the
1472 caps. Until that is fixed, we need to simplify the result to be
1473 sure whether the allowed caps are fixed or not.
1475 * plugins/elements/gstqueue.c: (gst_queue_init),
1476 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
1477 (gst_queue_push_one):
1478 Proxied buffer alloc should not set the caps on the source pad.
1479 When pushing buffers, we always accept the caps change that triggers.
1480 This prevents negotiation errors caused by caps changing mid-stream
1481 and then being refused on our source pad (because upstream is now
1482 refusing those caps).
1484 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
1486 * tests/examples/helloworld/helloworld.c: (main):
1487 Must plug audioconvert and audioresample between decoder
1490 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
1492 * gst/gstregistryxml.c: (read_string), (load_pad_template),
1493 (load_feature), (load_plugin):
1494 Allow empty strings for some of the plugin fields so we don't
1495 drop valid plugin entries that were written out correctly
1498 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
1500 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1501 Use g_remove and g_rename instead of remove and rename that don't
1502 handle utf8 characters. rename was failing for users who had specific
1503 characters in their name then the registry was built at each
1505 * win32/vs6/gst_inspect.dsp:
1506 * win32/vs6/gst_launch.dsp:
1507 * win32/vs6/libgstbase.dsp:
1508 * win32/vs6/libgstcoreelements.dsp:
1509 * win32/vs6/libgstreamer.dsp:
1510 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
1511 build of libgstreamer and clean unused libraries in projects link
1514 2006-05-17 Edward Hervey <edward@fluendo.com>
1516 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1517 The queue is not responsible for pushing an EOS when receiving a fatal
1518 flow error. It's up to the real element driving the pipeline to do that.
1520 2006-05-16 Edward Hervey <edward@fluendo.com>
1522 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1523 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1524 buffer returned a fatal error. It should just send an EOS and stop
1526 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1527 when pushing buffers on the queue and will be able to handle the event.
1529 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
1531 * docs/manual/basics-bins.xml:
1532 * docs/manual/basics-init.xml:
1533 Fix typos and minor errors in sample code (#341856).
1535 2006-05-16 Wim Taymans <wim@fluendo.com>
1537 * docs/design/part-qos.txt:
1538 Fix indexes in formulas to make more sense.
1540 2006-05-15 Wim Taymans <wim@fluendo.com>
1542 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1543 Don't report POSITION based on clock time if sync is
1546 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
1549 Add cast to make compiler happy - refcount variable was a gint
1550 in GstObject but is a guint in GObject and g_atomic_int_get()
1553 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
1555 * gst/parse/Makefile.am:
1556 chain commands using &&, which also makes parallel make work
1558 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
1560 * docs/gst/gstreamer-sections.txt:
1566 === release 0.10.6 ===
1568 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
1571 releasing 0.10.6, "Take the cannoli"
1573 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
1575 * tools/gst-launch.c: (print_tag):
1576 Fix use of uninitialized variable in the hypothetical
1577 case that some broken plugin creates a GST_TAG_IMAGE
1578 tag containing a NULL buffer (#341667).
1580 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
1582 * tools/gst-launch.c: (print_tag):
1583 Print something more intelligible for image tags when
1584 using the -t switch (#341556).
1586 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
1591 define GST_MAJORMINOR so we have it available in win32/common/config.h
1592 Possibly remove it from our Makefile.am files later
1593 * win32/common/config.h:
1594 * win32/common/config.h.in:
1595 added GST_MAJORMINOR
1596 * win32/common/gstenumtypes.c: (register_gst_resource_error):
1597 * win32/common/gstversion.h:
1600 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
1603 Update win32 files listing.
1604 * win32/common/gstversion.h:
1605 Add GST_MAJORMINOR definition.
1606 * win32/common/libgstreamer.def:
1607 Add new exported functions.
1609 2006-05-12 Michael Smith <msmith@fluendo.com>
1611 * gst/gstplugin.c: (gst_plugin_load_file):
1612 If an so file has no plugin entry point, unload the module.
1614 2006-05-11 Wim Taymans <wim@fluendo.com>
1616 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1617 (gst_queue_set_property):
1618 Don't forget to signal the _chain or _loop function
1619 when the queue size or thresholds change since that might
1620 cause them to make progres again.
1622 2006-05-11 Stefan Kost <ensonic@users.sf.net>
1624 * gst/gstclock.c: (gst_clock_class_init):
1625 * gst/gstindex.c: (gst_index_class_init):
1626 * gst/gstobject.c: (gst_object_class_init):
1627 * gst/gstpad.c: (gst_pad_class_init):
1628 * gst/gstpipeline.c: (gst_pipeline_class_init):
1629 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1630 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1631 * libs/gst/base/gstbasetransform.c:
1632 (gst_base_transform_class_init):
1633 * libs/gst/net/gstnetclientclock.c:
1634 (gst_net_client_clock_class_init):
1635 * libs/gst/net/gstnettimeprovider.c:
1636 (gst_net_time_provider_class_init):
1637 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1638 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1639 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1640 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1641 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1642 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1643 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1644 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1645 * plugins/elements/gsttee.c: (gst_tee_class_init):
1646 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1647 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1648 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1650 2006-05-11 Wim Taymans <wim@fluendo.com>
1652 * gst/gstbuffer.c: (_gst_buffer_initialize):
1653 Register subbufer along with the buffer type so that
1654 it does not accidentally gets registered from N
1655 different streaming threads in a non threadsafe way.
1657 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1662 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1663 gst_event_ref() and gst_message_ref() functions again
1664 (ugly hack, please do fix if there's a better way besides
1665 overrides.txt, which doesn't seem to work).
1667 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1669 * libs/gst/check/gstcheck.h:
1670 add an assert for setting state to avoid lots of repetitive code
1673 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1675 * gst/gstvalue.c: (gst_value_serialize_flags):
1676 fix a leak if no flags are set
1677 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1680 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1682 * docs/manual/basics-pads.xml:
1683 Expand a bit on caps and filtered links and update
1684 examples that were still using the no longer existing
1685 gst_pad_link_filtered() (#338206).
1687 2006-05-10 Wim Taymans <wim@fluendo.com>
1689 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1690 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1691 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1692 (gst_collect_pads_stop):
1693 * libs/gst/base/gstcollectpads.h:
1694 No need to call _stop in _finalize.
1695 Iterate the main pad list in _finalize.
1696 Added some more debug.
1697 Free lists and data in the right order.
1698 Also free data whem doing _remove_pad when stopped for
1699 backward compatibility protect ::started with PAD_LOCK as
1702 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1704 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1705 (gst_structure_parse_value):
1707 rename a method so that it actually says what it does better
1709 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1711 * gst/gstevent.c: (_gst_event_initialize):
1712 * gst/gstformat.c: (_gst_format_initialize):
1713 make sure some essential types used by events are registered
1714 as part of gst_init()
1715 * gst/gstvalue.c: (gst_value_serialize_flags):
1716 if no flags are set, serialize them to a value that represents NONE
1717 so that deserializing them works
1718 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1719 add tests for serialization and deserialization of flags
1721 2006-05-10 Wim Taymans <wim@fluendo.com>
1723 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1724 (gst_collect_pads_collect_range), (gst_collect_pads_available),
1725 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1726 (gst_collect_pads_event), (gst_collect_pads_chain):
1729 Catch and return errors from the collect function
1730 Refuse data on eos pads.
1732 2006-05-10 Edward Hervey <edward@fluendo.com>
1734 * gst/gstinterface.h:
1735 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1736 GInterface type checking.
1737 They were previously using non-defined macros.
1739 2006-05-09 Wim Taymans <wim@fluendo.com>
1741 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1742 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1743 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1744 (gst_collect_pads_start), (gst_collect_pads_stop),
1745 (gst_collect_pads_peek), (gst_collect_pads_pop),
1746 (gst_collect_pads_available), (gst_collect_pads_read),
1747 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1748 (gst_collect_pads_is_collected), (gst_collect_pads_event),
1749 (gst_collect_pads_chain):
1750 * libs/gst/base/gstcollectpads.h:
1751 Clean up the mess that is collectpads, add comments and
1752 FIXMEs where needed.
1753 Maintain a separate pad list so we can add pads while
1754 collecting the other ones. For this we need a new separate
1756 Fix memory leak in finalize.
1757 Refactor some weird code to set/unset pad flushing flags, mark
1759 Don't crash in _available, _read, _flush when we're EOS.
1761 * tests/check/libs/.cvsignore:
1762 Ignore adapter check binary.
1764 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1766 * gst/gstindex.c: (gst_index_resolver_get_type):
1767 * plugins/elements/gstfakesink.c:
1768 (gst_fake_sink_state_error_get_type):
1769 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1770 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1771 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1772 Const-ify GEnumValue arrays.
1774 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1776 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1777 Add test case for flags + gst_buffer_make_metadata_writable().
1779 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1781 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1782 gst_buffer_make_metadata_writable() should maintain the
1783 buffer flags (those that make sense at least) (see #340859).
1785 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1787 * tools/gst-inspect.c:
1788 * tools/gst-launch.c:
1789 * tools/gst-typefind.c:
1790 * tools/gst-xmlinspect.c:
1792 Fix up includes: need to include stdlib.h in tools.h for exit().
1794 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1796 * gst/gsttaglist.c: (_gst_tag_initialize):
1798 API: add GST_TAG_IMAGE tag (#340721).
1800 2006-05-08 Wim Taymans <wim@fluendo.com>
1803 Added some docs for the segment query.
1805 2006-05-08 Wim Taymans <wim@fluendo.com>
1807 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1808 (gst_base_src_loop), (gst_base_src_change_state):
1809 Always push non-flushing serialized events in the streaming
1812 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
1814 * gst/gsterror.c: (_gst_stream_errors_init):
1815 Add a missing error string.
1817 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
1819 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1820 Add applied_rate to the debug
1822 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1823 Copy applied_rate into the outgoing NEWSEGMENT event
1825 2006-05-08 Wim Taymans <wim@fluendo.com>
1827 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1829 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1830 (gst_base_sink_change_state):
1831 call ::unlock before taking the PREROLL_LOCK so we can safely
1832 handle elements that lock in ::render.
1835 2006-05-08 Edward Hervey <edward@fluendo.com>
1837 * autogen.sh: (CONFIGURE_DEF_OPT):
1838 Darwin's libtoolize is in fact called glibtoolize.
1839 Adding glibtoolize to the list of accepted names for libtoolize.
1841 2006-05-08 Wim Taymans <wim@fluendo.com>
1843 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1844 Unify error handling, don't post an error message
1845 when a push() returns EOS but perform our normal EOS
1846 handling code. Fixes #340772.
1848 2006-05-08 Wim Taymans <wim@fluendo.com>
1850 * docs/design/part-overview.txt:
1851 Make upsteam/downstream concepts more clear.
1852 Give an example of serialized/non-serialized events.
1854 * docs/design/part-events.txt:
1855 * docs/design/part-streams.txt:
1856 Mention applied_rate.
1858 * docs/design/part-trickmodes.txt:
1859 Mention applied rate, flesh out some more use cases.
1861 * gst/gstevent.c: (gst_event_new_new_segment),
1862 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1863 (gst_event_parse_new_segment_full), (gst_event_new_tag),
1864 (gst_event_parse_tag), (gst_event_new_buffer_size),
1865 (gst_event_parse_buffer_size), (gst_event_new_qos),
1866 (gst_event_parse_qos), (gst_event_parse_seek),
1867 (gst_event_new_navigation):
1869 Add applied_rate field to NEWSEGMENT event.
1870 API: gst_event_new_new_segment_full()
1871 API: gst_event_parse_new_segment_full()
1873 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1874 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1875 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1877 Add applied_rate to GstSegment structure.
1878 Make calculation of stream_time and running_time more correct
1879 wrt rate/applied_rate.
1881 API: GstSegment::applied_rate field
1882 API: gst_segment_set_newsegment_full();
1884 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1885 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1886 * libs/gst/base/gstbasetransform.c:
1887 (gst_base_transform_sink_eventfunc),
1888 (gst_base_transform_handle_buffer):
1889 Parse and use applied_rate in the GstSegment field.
1891 * tests/check/gst/gstevent.c: (GST_START_TEST):
1892 Add check for applied_rate field.
1894 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1895 (gstsegments_suite):
1896 Add more checks for various GstSegment operations.
1898 2006-05-08 Wim Taymans <wim@fluendo.com>
1900 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1901 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1902 (gst_base_sink_get_position), (gst_base_sink_change_state):
1903 Store the sync time of the buffer end position separatly in a
1904 new variable eos_rtime so we can properly sync the EOS event.
1906 Fix the docs for gst_base_sink_set_qos_enabled().
1907 Don't set segment start to invalid value when we receive a
1908 non TIME newsegment.
1909 get closer to handling position reporting for negative rates
1912 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1915 Docs about how to print caps for debug purposes.
1917 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1918 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1920 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1923 use full enum names and preprend a '%' in docs strings to make recent
1924 gtk-doc turn that into a link
1926 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1928 * docs/manual/basics-bins.xml:
1929 * docs/manual/basics-bus.xml:
1930 * docs/manual/basics-pads.xml:
1931 Some typo fixes, some additions, some clarifications.
1933 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1935 * tools/gst-inspect.c: (main):
1936 * tools/gst-launch.c: (main):
1937 * tools/gst-run.c: (main):
1938 * tools/gst-typefind.c: (main):
1939 * tools/gst-xmlinspect.c: (main):
1940 Use the string passed to g_option_context_new() for
1941 what it's intended for - the program name is already
1944 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1946 * tools/Makefile.am:
1947 * tools/gst-inspect.c: (main):
1948 * tools/gst-launch.c: (main):
1949 * tools/gst-xmlinspect.c: (main):
1951 Add back --version command line option (#340460).
1953 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1954 Add --version option and use GOption for argument parsing; refactor a
1955 bit; accept directories as arguments and recurse into them; lastly,
1956 print a decent error message when things go wrong.
1958 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1960 * docs/manual/basics-bins.xml:
1961 Don't mention GstThread (#340611)
1962 * docs/manual/basics-elements.xml:
1963 Update link to GObject tutorial (#340607)
1965 2006-05-05 Wim Taymans <wim@fluendo.com>
1968 * gst/gstminiobject.c:
1969 Add note about refcounting and miniobject/buffer writeability
1970 to docs. Fixes #340604
1972 * gst/gstelementfactory.h:
1973 Added some explanation about @klass.
1975 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1977 * docs/manual/intro-motivation.xml:
1978 * docs/manual/manual.xml:
1979 Avoid CORBA & Bonobo references (#340598)
1981 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1983 * docs/manual/basics-bus.xml:
1984 * docs/manual/basics-pads.xml:
1985 Fix up some inaccuracies and omissions (#340609)
1987 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1989 * gst/gstghostpad.c:
1990 Small typo in docs (#340625)
1992 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1994 * gst/parse/Makefile.am:
1995 Make 'make -j' proof (see #340698).
1997 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2000 Require GLib-2.8 here as well.
2002 2006-05-05 Wim Taymans <wim@fluendo.com>
2004 * gst/glib-compat.c:
2005 * gst/gst.c: (init_pre):
2006 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
2007 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
2008 (gst_object_dispatch_properties_changed):
2010 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2011 * gst/gststructure.c: (gst_structure_set_valist):
2012 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2013 Remove pre glib2.8 compatibility, fixes #340508
2015 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
2018 Mention type of tags in doc blurbs.
2020 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
2022 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2023 (gst_pad_configure_src), (gst_pad_push):
2024 Restore acceptcaps checking behaviour now that good plugins have
2027 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
2029 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
2040 * gst/parse/Makefile.am:
2041 * libs/gst/base/gstadapter.c:
2042 * libs/gst/base/gstbasesrc.c:
2043 * libs/gst/base/gstpushsrc.c:
2044 * libs/gst/base/gsttypefindhelper.c:
2045 * plugins/elements/gstfakesrc.c:
2046 * plugins/elements/gstidentity.c:
2047 Make sure gstprivate.h and/or config.h are
2048 always included first, otherwise some of our
2049 defines (like _FILE_OFFSET_BITS) might be
2050 redefined in the system headers. Fixes build
2051 on opensolaris (#340016).
2053 2006-05-04 Wim Taymans <wim@fluendo.com>
2055 * docs/libs/gstreamer-libs-sections.txt:
2056 API: addition: gst_adapter_take_buffer()
2058 * libs/gst/base/gstadapter.c: (gst_adapter_push),
2059 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
2060 (gst_adapter_available_fast):
2061 * libs/gst/base/gstadapter.h:
2062 Prepare for optimizing the hell out of this hugely inefficient
2064 Added gst_adapter_take_buffer() so we can at least start thinking
2065 about subbuffering and merging.
2066 Added some comments.
2068 * tests/check/Makefile.am:
2069 * tests/check/libs/adapter.c: (GST_START_TEST),
2070 (gst_adapter_suite), (main):
2071 Added GstAdapter check.
2073 2006-05-04 Wim Taymans <wim@fluendo.com>
2075 * docs/design/part-overview.txt:
2076 Fix some typos, add blurb about buffer flags.
2078 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
2080 * docs/libs/gstreamer-libs-sections.txt:
2081 make sure GstBaseTransformClass shows up in the docs
2082 * libs/gst/base/gstbasetransform.c:
2083 * libs/gst/base/gstbasetransform.h:
2084 move docs so gtk-doc picks it up now
2086 2006-05-02 Stefan Kost <ensonic@users.sf.net>
2088 * docs/libs/gstreamer-libs-sections.txt:
2089 add missing symbols to docs
2091 2006-05-02 Stefan Kost <ensonic@users.sf.net>
2093 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2094 back out the newsegment handling change, see #340060 for ongoing
2097 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
2099 * tools/gst-run.c: (get_candidates), (main):
2100 Fix wrong g_file_test() usage (see glib docs for why it doesn't
2101 work); fix typo in error message. Fixes #340079.
2103 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
2105 * common/Makefile.am:
2107 * docs/faq/Makefile.am:
2108 * docs/gst/Makefile.am:
2109 * docs/libs/Makefile.am:
2110 * docs/manual/Makefile.am:
2111 * docs/plugins/Makefile.am:
2112 * docs/pwg/Makefile.am:
2113 * docs/slides/Makefile.am:
2115 * common/upload.mak:
2116 move upload.mak to common
2118 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
2120 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2121 add more asserts on refcounts
2122 do more cleanup at end of tests
2123 fix test leaks showing in FC5
2125 2006-04-29 Stefan Kost <ensonic@users.sf.net>
2127 * plugins/elements/gsttypefindelement.c:
2128 (gst_type_find_element_handle_event):
2129 reverted wrong change and reflowed code to avoid others falling into
2132 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2134 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2135 fix changelog entry about last collectpads change,
2136 add notes about proper fix
2138 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2141 * gst/gstregistry.c: (gst_registry_scan_path_level),
2142 (gst_registry_scan_path):
2143 * gst/gstregistry.h:
2144 only write out registry if it has changed, fixes #338339
2146 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2149 * gst/gstpipeline.c:
2150 * plugins/elements/gstcapsfilter.c:
2151 * plugins/elements/gstfakesink.c:
2152 * plugins/elements/gstfakesrc.c:
2153 * plugins/elements/gstfdsink.c:
2154 * plugins/elements/gstfdsrc.c:
2155 * plugins/elements/gstfilesink.c:
2156 * plugins/elements/gstfilesrc.c:
2157 * plugins/elements/gstidentity.c:
2158 * plugins/elements/gstqueue.c:
2159 * plugins/elements/gsttee.c:
2160 * plugins/elements/gsttypefindelement.c:
2161 (gst_type_find_element_handle_event):
2162 make GstElementDetails const
2164 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2166 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2167 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2168 (gst_collect_pads_is_collected), (gst_collect_pads_event):
2169 more detailed debug and formatting cleanup,
2170 forward newsegments to src-pad (so that e.g. adder not eats them)
2172 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2174 * gst/gstutils.c: (gst_element_link_pads):
2177 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2179 * libs/gst/controller/gstcontroller.c:
2180 (gst_controller_sync_values):
2182 * tests/check/libs/controller.c: (GST_START_TEST),
2183 (gst_controller_suite):
2184 a new test for live value handling
2186 2006-04-28 Wim Taymans <wim@fluendo.com>
2188 * gst/gstutils.c: (push_and_ref):
2189 Added some more docs.
2190 Fix refcount issue whith gst_element_found_tags() helper
2191 function. Fixes #338335
2193 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2194 Added testsuite for gst_element_found_tags().
2196 2006-04-28 Michael Smith <msmith@fluendo.com>
2198 * gst/gstvalue.c: (gst_value_serialize_flags):
2199 Avoid NULL dereference when trying to serialize flags containing
2202 2006-04-28 Michael Smith <msmith@fluendo.com>
2204 * plugins/elements/gsttypefindelement.c:
2205 (gst_type_find_element_handle_event):
2206 If we get EOS before any data is accumulated, don't use
2207 uninitialised local variables.
2209 2006-04-28 Michael Smith <msmith@fluendo.com>
2211 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2212 (gst_dp_event_from_packet):
2213 Fixes in reading/writing events over GDP (not currently used?) -
2214 dereferencing NULL events for unknown/invalid event types, memory
2215 leak, and change g_warning to GST_WARNING.
2217 2006-04-28 Wim Taymans <wim@fluendo.com>
2219 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
2220 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2221 (gst_base_sink_get_position), (gst_base_sink_change_state):
2222 When frame dropping is enabled, we should not ignore frames
2224 Update some documentation.
2226 2006-04-28 Wim Taymans <wim@fluendo.com>
2228 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2229 (gst_base_src_send_event), (gst_base_src_change_state):
2230 Documentation updates.
2232 2006-04-28 Wim Taymans <wim@fluendo.com>
2234 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2235 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
2236 handle EAGAIN, EINTR and short writes correctly. Also clean
2237 up some error cases, avoid a deadlock on bad file descriptors and
2238 use GST_DEBUG_OBJECT.
2241 2006-04-28 Wim Taymans <wim@fluendo.com>
2243 * gst/gstvalue.c: (gst_value_serialize_buffer),
2244 (gst_value_deserialize_buffer):
2245 Don't try to serialize a GValue with a NULL buffer.
2248 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2249 Added check for serialisation of NULL buffers.
2251 2006-04-28 Wim Taymans <wim@fluendo.com>
2253 * gst/gstminiobject.c: (gst_value_take_mini_object):
2254 Taking a NULL miniobject is valid, fix the case where
2255 we try to unref the NULL miniobject.
2257 2006-04-28 Wim Taymans <wim@fluendo.com>
2259 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2261 * gst/gstbin.c: (gst_bin_handle_message_func):
2263 Don't leak bin refcount when a state recalc is
2264 in progress and we delay another one #339808.
2266 2006-04-28 Wim Taymans <wim@fluendo.com>
2268 * docs/design/part-TODO.txt:
2269 Mention QoS as an ongoing work item.
2271 * docs/design/part-buffering.txt:
2272 New doc about buffering that needs to be fleshed out
2275 * docs/design/part-qos.txt:
2276 More QoS policy for decoders/demuxers/transforms
2278 * docs/design/part-trickmodes.txt:
2281 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
2286 === release 0.10.5 ===
2288 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
2291 releasing 0.10.5, "Fogo"
2293 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
2295 patch by: Wim Taymans
2297 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2298 (gst_pad_configure_src), (gst_pad_push):
2299 * gst/gstpipeline.c: (gst_pipeline_init):
2300 Fix internal data flow errors. Fixes #338711.
2302 2006-04-12 Wim Taymans <wim@fluendo.com>
2304 * tests/check/gst/gstelement.c: (GST_START_TEST):
2305 Don't leak the factory.
2307 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2310 * win32/common/config.h:
2313 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
2315 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2316 (gst_controller_unset_all):
2317 Free allocated GstTimedValues when freeing list nodes.
2318 Should fix leaks 'make check-valgrind' complains about.
2320 * win32/common/libgstcontroller.def:
2321 Add gst_controller_unset_all.
2323 2006-04-11 Stefan Kost <ensonic@users.sf.net>
2325 * docs/libs/gstreamer-libs-sections.txt:
2326 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2327 (gst_controller_unset_all):
2328 * libs/gst/controller/gstcontroller.h:
2329 API: Added new method gst_controller_unset_all()
2330 fixed gst_controller_unset()
2331 * tests/check/libs/controller.c: (GST_START_TEST),
2332 (gst_controller_suite):
2333 Added two testcases for new and fixed method
2335 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
2337 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2338 MSG_DONTWAIT is not defined on Cygwin, so work
2339 around that (fixes #317048).
2341 2006-04-11 Wim Taymans <wim@fluendo.com>
2343 * gst/gstelementfactory.c: (gst_element_register),
2344 (gst_element_factory_create), (gst_element_factory_make):
2347 Updated docs (Fixes #131079)
2349 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2352 * tests/check/gst/gstelement.c: (GST_START_TEST),
2353 (gst_element_suite):
2354 Added testcase for elementfactory class field.
2356 2006-04-10 Wim Taymans <wim@fluendo.com>
2359 Added some more docs.
2361 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
2362 (gst_base_sink_reset_qos):
2363 Calculate more accurate rate values.
2365 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
2367 * gst/gst_private.h:
2368 add a new #ifdef to use __declspec(dllimport) only for
2369 other modules and not for gstreamer core
2370 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
2371 use gst_guint64_to_gdouble for conversion
2372 * win32/common/libgstreamer.def:
2373 add new exported functions
2374 * win32/vs6/gst_inspect.dsp:
2375 * win32/vs6/gst_launch.dsp:
2376 * win32/vs6/libgstbase.dsp:
2377 * win32/vs6/libgstcontroller.dsp:
2378 * win32/vs6/libgstcoreelements.dsp:
2379 * win32/vs6/libgstdataprotocol.dsp:
2380 * win32/vs6/libgstnet.dsp:
2381 update project files
2383 2006-04-08 Stefan Kost <ensonic@users.sf.net>
2385 * gst/gstbuffer.c: (gst_subbuffer_class_init):
2386 * gst/gstclock.c: (gst_clock_class_init):
2387 * gst/gstelement.c: (gst_element_class_init):
2388 * gst/gstindex.c: (gst_index_class_init):
2389 * gst/gstindexfactory.c: (gst_index_factory_class_init):
2390 * gst/gstobject.c: (gst_object_class_init),
2391 (gst_signal_object_class_init):
2392 * gst/gstpad.c: (gst_pad_class_init):
2393 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
2394 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
2395 * gst/gstregistry.c: (gst_registry_class_init):
2396 * gst/gstsystemclock.c: (gst_system_clock_class_init):
2397 * gst/gsttask.c: (gst_task_class_init):
2398 * gst/gstxml.c: (gst_xml_class_init):
2399 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2400 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2401 (gst_base_src_loop):
2402 * libs/gst/controller/gstcontroller.c:/
2403 (_gst_controller_class_init):
2404 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2405 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2406 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
2407 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2408 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2409 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2411 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
2413 * gst/gstpad.c: (gst_pad_link):
2414 Must set peer pads before calling the link function, otherwise
2415 a task started from a link function might get a flow-not-linked
2416 result when trying to push because the other thread where the
2417 linking happens hasn't had a chance to set the peers yet. This
2418 might happen for example when a queue gets linked to a downstream
2419 element, as queue starts a streaming task when its source pad
2420 gets linked. Happens in real life when playing back flac/musepack
2421 files in playbin (#332390).
2423 2006-04-08 Stefan Kost <ensonic@users.sf.net>
2427 * libs/gst/base/gstadapter.h:
2428 * libs/gst/base/gstbasesink.h:
2429 * libs/gst/base/gstbasesrc.h:
2430 * libs/gst/base/gstbasetransform.h:
2431 * libs/gst/base/gstcollectpads.h:
2432 * libs/gst/base/gstpushsrc.h:
2433 Fix broken GObject macros
2435 2006-04-07 Wim Taymans <wim@fluendo.com>
2437 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2438 Initialize start and stop times, thanks valgrind.
2440 2006-04-07 Wim Taymans <wim@fluendo.com>
2442 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2443 Be a bit nicer to badly behaving upstream elements that expect
2444 us to deal with non TIME segments and timestamps (such as fakesrc
2447 2006-04-07 Wim Taymans <wim@fluendo.com>
2450 Small documentation clarification about the signal watch.
2452 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2453 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2454 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2455 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2456 (gst_base_sink_get_position_last),
2457 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
2458 Convert and store timestamps in stream time and running time, the
2459 raw timestamps are not usefull, also document this better.
2460 Use different window sizes for good and bad QoS observations so
2461 we react to badness a little quicker.
2462 Keep track of the amount of rendered and dropped buffers.
2463 Send QoS timestamps in running time.
2465 * libs/gst/base/gstbasetransform.c:
2466 (gst_base_transform_sink_eventfunc),
2467 (gst_base_transform_handle_buffer):
2468 Compare QoS timestamps against running time.
2470 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
2475 2006-04-06 Michael Smith <msmith@fluendo.com>
2477 * gst/gstpad.c: (gst_pad_set_property):
2478 Use g_value_get_object() instead of g_value_dup_gst_object(),
2479 to avoid double-reffing the pad template (which we then sink,
2480 so this worked previously if (and only if) the pad template
2483 * gst/gstpadtemplate.c: (gst_pad_template_init),
2484 (gst_pad_template_pad_created):
2485 Never return floating references to pad templates, create
2486 them as initially-sunken.
2488 Document an extra function (and make this stop sinking our
2489 pad template, since that is now guaranteed to do nothing,
2490 since we created it sunken).
2492 * gst/gstghostpad.c:
2495 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
2497 * gst/gstinfo.c: (__gst_in_valgrind):
2500 * plugins/elements/gsttypefindelement.c:
2501 (gst_type_find_element_chain):
2502 Don't leak buffer caps.
2504 2006-04-06 Michael Smith <msmith@fluendo.com>
2506 * gst/parse/grammar.y:
2507 Fix a leak in parse-launch for any source-or-sink named element
2510 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2511 Unref the pipeline if it exists after we've failed parsing.
2513 2006-04-05 Michael Smith <msmith@fluendo.com>
2515 * gst/gstpipeline.c: (gst_pipeline_init):
2516 When we create a pipeline bus, initially create it in flushing mode.
2517 Fixes leaks in at least one test, and makes a new pipeline work the
2518 same as one that has gone to READY and then back to NULL.
2523 2006-04-05 Michael Smith <msmith@fluendo.com>
2525 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2526 Unref a pad we reffed.
2527 * tests/check/gst/gstutils.c: (GST_START_TEST):
2530 2006-04-05 Michael Smith <msmith@fluendo.com>
2532 * gst/gstquery.c: (gst_query_set_formats),
2533 (gst_query_set_formatsv):
2534 Fix leaking GValues in queries, as shown by valgrind/testsuite.
2536 2006-04-05 Michael Smith <msmith@fluendo.com>
2538 * tests/check/generic/sinks.c: (GST_START_TEST):
2539 Fix a variety of memleaks in sinks check, which are only sometimes
2540 shown by running the tests under valgrind (weird?).
2542 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
2544 * docs/version.entities.in:
2545 Fix the substituted entity name after thomas' changes on the
2548 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2550 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2553 2006-04-05 Andy Wingo <wingo@pobox.com>
2555 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2557 * libs/gst/base/gstbasetransform.c
2558 (gst_base_transform_sink_eventfunc): When resetting our segment on
2559 FLUSH_STOP, also update the flag saying we haven't seen a
2562 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2564 Patch by: Paolo Borelli <pborelli at katamail dot com>
2566 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2567 (gst_plugin_check_license):
2568 minor clean-ups: G_DEFINE_TYPE already takes care of the
2569 parent_class stuff, no need to do it twice. Mark array of
2570 license strings as constant. (#337103)
2572 2006-04-04 Michael Smith <msmith@fluendo.com>
2574 * tools/gst-inspect.c: (print_element_list):
2575 Free the right plugin list; fixes a memory leak.
2577 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2579 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2581 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2582 Don't error out on empty buffers (#336945).
2584 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
2586 * docs/libs/gstreamer-libs-sections.txt:
2588 * libs/gst/base/gstbasesink.c:
2589 * libs/gst/base/gstbasesink.h:
2590 * libs/gst/base/gstbasesrc.c:
2591 * libs/gst/base/gstbasesrc.h:
2592 Documentation updates. Make BaseSink and BaseSrc docs contain the
2593 class structure so that people can actually see the prototypes for
2594 virtual functions they're supposed to be overriding.
2596 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2598 * plugins/elements/gsttypefindelement.c:
2599 (gst_type_find_element_chain):
2600 More debug info; when skipping typefinding, send cached
2601 events in all cases.
2603 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
2606 use new AS_VERSION and AS_NANO macros
2607 * gst/gst-i18n-lib.h:
2610 * gst/gstversion.h.in:
2611 * win32/common/config.h:
2612 * win32/common/config.h.in:
2615 2006-03-31 Michael Smith <msmith@fluendo.com>
2617 * plugins/elements/gsttypefindelement.c:
2618 (gst_type_find_element_chain):
2619 Do not typefind content if the buffers already have caps.
2620 Neccesary for icydemux (#333657), and the right thing to do anyway.
2622 2006-03-30 Wim Taymans <wim@fluendo.com>
2624 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2625 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2626 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2627 (gst_base_sink_record_qos_observation),
2628 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2629 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2630 (gst_base_sink_change_state):
2631 More QoS measurements as described in the design doc.
2632 Get rid of ringbuffer with observations, running average is
2633 more simple and equally good.
2634 Calculates valid proportion now.
2635 Added beginning of flood measurement.
2637 2006-03-29 Wim Taymans <wim@fluendo.com>
2639 * docs/design/part-qos.txt:
2641 Small documentation updates and additions.
2643 2006-03-29 Wim Taymans <wim@fluendo.com>
2645 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2646 (gst_base_src_send_event), (gst_base_src_loop),
2647 (gst_base_src_change_state):
2648 Perform the EOS logic when we reach the segment stop position.
2649 Fix compilation on gcc4.1
2651 2006-03-29 Wim Taymans <wim@fluendo.com>
2653 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2655 * plugins/elements/gstqueue.c: (gst_queue_init),
2656 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2657 (gst_queue_set_property):
2658 * plugins/elements/gstqueue.h:
2659 In queue, when EOS is received, if minimum threshold > max_size -
2660 current_level, there is chance that queue blocks forever in conditional
2661 item del wait. This is because the queue is not emptied completely due
2662 to minimum threshold. Here is another approach. Instead of setting
2663 cur_levels to max in EOS, just zero all minimum threshold levels. This
2664 should make sure that queue gives out all data. When going to READY
2665 (stop) state, just reset the original minimum threshold levels.
2668 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
2670 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2671 (gst_type_find_element_handle_event),
2672 (gst_type_find_element_send_cached_events),
2673 (gst_type_find_element_change_state):
2674 * plugins/elements/gsttypefindelement.h:
2675 When typefinding is done in push mode, we should cache
2676 events we receive during typefinding instead of just
2677 dropping them (e.g. newsegment, custom events from
2678 dvdreadsrc etc.) and then send them out once we've
2679 determined the type of the stream (and decodebin
2680 has had a chance to plug in a decoder/demuxer).
2682 2006-03-27 Wim Taymans <wim@fluendo.com>
2684 * docs/design/part-qos.txt:
2687 2006-03-27 Wim Taymans <wim@fluendo.com>
2689 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2691 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2692 (gst_base_src_send_event), (gst_base_src_change_state):
2693 Handle element seek correctly when we are streaming.
2696 2006-03-24 Michael Smith <msmith@fluendo.com>
2698 * docs/faq/gst-uninstalled:
2699 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2700 allow you to correctly run intalled applications built against old
2701 core, using plugins that require updated core (e.g. running
2702 installed totem against a full uninstalled gstreamer stack)
2704 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2706 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2709 2006-03-24 Wim Taymans <wim@fluendo.com>
2711 * docs/gst/gstreamer-sections.txt:
2712 Rearrange the order of the methods so that related methods
2713 are grouped together in sections.
2715 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2718 Little clarification in the docs
2720 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2724 * plugins/elements/gstidentity.c:
2725 * plugins/elements/gstqueue.c:
2726 * plugins/elements/gsttee.c:
2727 * plugins/elements/gsttypefindelement.c:
2728 GST_ELEMENT_DETAILS formatting
2730 2006-03-24 Wim Taymans <wim@fluendo.com>
2732 * libs/gst/base/gstbasesink.h:
2733 Only add fields, not insert or we break ABI.
2735 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2737 * win32/common/libgstbase.def:
2738 * win32/common/libgstreamer.def:
2739 Update, add recently added functions.
2741 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2743 * docs/gst/gstreamer-sections.txt:
2744 * gst/gstutils.c: (gst_pad_query_peer_position),
2745 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2747 API: add some new utility functions:
2748 - gst_pad_query_peer_position()
2749 - gst_pad_query_peer_duration()
2750 - gst_pad_query_peer_convert()
2752 2006-03-23 Wim Taymans <wim@fluendo.com>
2754 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2755 (gst_base_sink_init), (gst_base_sink_finalize),
2756 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2757 (gst_base_sink_set_property), (gst_base_sink_get_property),
2758 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2759 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2760 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2761 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2762 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2763 (gst_base_sink_preroll_object), (gst_base_sink_event),
2764 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2765 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2766 (gst_base_sink_query), (gst_base_sink_change_state):
2767 Decouple max-lateness and the fact that QoS messages are generated
2768 with a new property (qos).
2769 added API: GstBaseSink::async_play()
2770 Add vmethod so subclasses can be notified of ASYNC playing
2772 Collect timestamp start and stop to report better current
2773 position in EOS/PLAYING/PAUSED/READY/NULL.
2774 Refactor QoS/frame dropping and other measurements.
2775 API: GstBaseSrc::qos
2778 * libs/gst/base/gstbasesink.h:
2779 Added Private struct.
2780 API: gst_base_sink_set_qos_enabled()
2781 API: gst_base_sink_is_qos_enabled()
2783 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2785 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2786 If compiling against GLib-2.8 or newer, try to read the
2787 registry file using GMappedFile first before falling back
2788 to fopen() + fread() (#332151).
2790 2006-03-22 Wim Taymans <wim@fluendo.com>
2792 * gst/gstinfo.c: (gst_debug_set_active),
2793 (gst_debug_category_set_threshold):
2794 Disable debugging unless explicitly activated.
2797 2006-03-22 Wim Taymans <wim@fluendo.com>
2799 * gst/gstelement.c: (gst_element_set_locked_state),
2800 (gst_element_dispose):
2801 Cleanup the error case.
2803 * gst/gstobject.c: (gst_object_dispose):
2804 print a critical when some object was disposed with
2805 a parent, also revive the object since it might
2808 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
2810 * tools/gst-launch.1.in:
2813 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2816 * tests/check/Makefile.am:
2817 disable some tests when we don't have a registry
2818 * tests/check/gst/gstutils.c: (gst_utils_suite):
2819 don't build the part that needs parsing
2821 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2824 * tests/examples/Makefile.am:
2825 fix --disable-parse build
2827 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2829 * tools/gst-feedback.1.in:
2830 Fix typo: s/feeback/feedback/ (#133494).
2832 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2834 * tools/Makefile.am:
2835 * tools/gst-launch.1.in:
2836 Add FILES section and correct entry about GST_REGISTRY_PATH
2837 environment variable (#133495; #133494).
2839 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2841 * tools/Makefile.am:
2842 * tools/gst-md5sum.1.in:
2843 * tools/gst-md5sum.c:
2844 Remove gst-md5sum and man page (the md5sink element
2845 required was removed ages ago)
2847 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2849 * gst/gststructure.c: (gst_structure_id_set_value):
2850 Make sure that string fields in structures/taglists
2851 contain valid UTF-8 - we don't want to pass rubbish to
2852 applications because of a buggy plugin (cp. #334167).
2854 2006-03-21 Edward Hervey <edward@fluendo.com>
2856 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2857 (gst_bin_handle_message_func):
2858 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2859 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2860 (gst_element_set_bus_func):
2861 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2862 * gst/gstminiobject.c: (gst_value_set_mini_object),
2863 (gst_value_take_mini_object):
2864 * gst/gstpad.c: (gst_pad_set_pad_template):
2865 * gst/gstpipeline.c: (gst_pipeline_dispose),
2866 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2867 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2868 (gst_collect_pads_chain):
2869 * libs/gst/net/gstnettimeprovider.c:
2870 (gst_net_time_provider_set_property):
2871 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2872 It's in fact all issues with gst_*object_replace().
2874 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2876 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
2878 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2879 * pkgconfig/gstreamer-check.pc.in:
2880 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2882 2006-03-21 Edward Hervey <edward@fluendo.com>
2887 gst_[buffer|event|message]_ref() macros are replaced by a static
2888 inline functions because gcc-4.1 will about if the return value
2890 * tests/check/gst/gstevent.c: (event_probe):
2891 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2893 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
2896 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2897 the type' case. (Closes: #335195 for now). In the future, when we
2898 depend on GLib 2.10, we could also intern the type name using
2899 g_intern_static_string()
2901 2006-03-20 Wim Taymans <wim@fluendo.com>
2903 * gst/gstbin.c: (gst_bin_handle_message_func),
2904 (bin_query_max_init), (bin_query_position_fold),
2905 (bin_query_position_done), (gst_bin_query):
2906 Position query should also take max of all streams.
2908 2006-03-20 Wim Taymans <wim@fluendo.com>
2910 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2911 (gst_fake_src_finalize):
2912 Fix leaks in fakesrc.
2914 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2915 Fix leaks in the testcase.
2917 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
2919 * gst/gst_private.h:
2920 add win32 specific import decoration(__declspec(dllimport))
2921 for all extern GstDebugCategory * variables
2922 * win32/common/libgstbase.def:
2923 * win32/common/libgstcontroller.def:
2924 * win32/common/libgstreamer.def:
2925 Add some exports, remove empty lines
2926 * win32/common/libgstdataprotocol.def:
2927 * win32/common/libgstdataprotocol.dsp:
2928 * win32/common/libgstnet.def:
2929 * win32/common/libgstnet.dsp:
2930 new project files and exportation files added
2932 2006-03-19 Wim Taymans <wim@fluendo.com>
2934 * tests/check/libs/basesrc.c: (eos_event_counter):
2935 Use proper return value for probe.
2937 2006-03-17 Wim Taymans <wim@fluendo.com>
2939 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2941 Don't leak buffers, caps and pads on negotiation errors.
2943 2006-03-16 Stefan Kost <ensonic@users.sf.net>
2946 * docs/faq/dependencies.xml:
2947 * docs/faq/developing.xml:
2949 * docs/faq/general.xml:
2950 * docs/faq/getting.xml:
2951 * docs/faq/legal.xml:
2952 * docs/faq/troubleshooting.xml:
2953 * docs/faq/using.xml:
2954 Faq review and update.
2956 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
2958 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2960 Don't pound the cpu to pieces by checking get_caps when accept_caps
2961 is called with the same caps as the pad already has.
2962 Use GST_DEBUG_OBJECT when outputting caps change information.
2964 2006-03-15 Wim Taymans <wim@fluendo.com>
2966 * gst/gstclock.c: (gst_clock_class_init):
2969 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
2974 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2975 (gst_pad_accept_caps), (gst_pad_configure_sink),
2976 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2977 Make the default acceptcaps behaviour be to check the requested
2978 caps against the gst_pad_get_caps output.
2980 Ensure that gst_pad_accept_caps is used to check caps when a pad
2981 doesn't have a setcaps function, so that pads automatically refuse
2982 caps that they don't allow in their pad template. (Fixes #332986)
2984 When a buffer with attached caps is pushed, ensure that the source
2985 pad receives those caps even if the element didn't call
2986 gst_pad_set_caps first.
2988 2006-03-15 Wim Taymans <wim@fluendo.com>
2990 * libs/gst/base/gstadapter.c:
2993 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
2995 * win32/common/libgstbase.def:
2996 * win32/common/libgstcontroller.def:
2997 * win32/common/libgstreamer.def:
2998 Add a whole bunch of missing functions (#334434).
3000 2006-03-14 Wim Taymans <wim@fluendo.com>
3002 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3003 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3004 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
3005 Better debug info when we receive a segment event.
3006 Reorganize a bit so we can pass the get_times() results around.
3007 Use the segment format when calculating the running time.
3008 Don't do QoS is sync is disabled or we have no clock or the
3009 element does not want us to sync to the clock.
3010 Don't drop buffers if QoS is disabled for now.
3012 2006-03-14 Wim Taymans <wim@fluendo.com>
3014 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
3015 Marked the stats property as unimplemented so people don't get
3017 Add debug message when regression goes wrong.
3018 Added some more docs.
3020 2006-03-14 Wim Taymans <wim@fluendo.com>
3022 * gst/gstsegment.c: (gst_segment_to_stream_time):
3023 Return correct return type in case of errors.
3025 2006-03-14 Wim Taymans <wim@fluendo.com>
3027 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
3028 Don't segfault on invalid formats.
3030 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
3032 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3033 Can't use gst_segment_to_running_time() when the segment
3034 is not in GST_TIME_FORMAT (like with filesink, for example).
3035 Stops flac encoding pipelines from spewing critical warnings
3038 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
3040 * gst/gstpipeline.c: (gst_pipeline_class_init):
3041 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
3043 * plugins/elements/gsttypefindelement.c:
3044 (gst_type_find_element_handle_event):
3045 Don't try to typefind empty streams.
3047 2006-03-14 Wim Taymans <wim@fluendo.com>
3049 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3050 (gst_base_sink_do_qos):
3051 Separate QoS calculation.
3052 Only drop buffers when lateness is bigger than the
3053 duration of the buffer.
3055 2006-03-13 Wim Taymans <wim@fluendo.com>
3057 * gst/gstpipeline.c: (gst_pipeline_set_property),
3058 (gst_pipeline_get_property), (do_pipeline_seek),
3059 (gst_pipeline_change_state), (gst_pipeline_set_delay),
3060 (gst_pipeline_get_delay):
3061 Don't deadlock when reading properties.
3063 2006-03-13 Wim Taymans <wim@fluendo.com>
3065 * libs/gst/base/gstbasetransform.c:
3066 (gst_base_transform_class_init), (gst_base_transform_init),
3067 (gst_base_transform_sink_event),
3068 (gst_base_transform_sink_eventfunc),
3069 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
3070 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3071 (gst_base_transform_set_property),
3072 (gst_base_transform_get_property),
3073 (gst_base_transform_change_state), (gst_base_transform_update_qos),
3074 (gst_base_transform_set_qos_enabled),
3075 (gst_base_transform_is_qos_enabled):
3076 * libs/gst/base/gstbasetransform.h:
3077 Make basetransform virtual method for src events too.
3078 Handle QOS in basetransform.
3079 API: gst_base_transform_update_qos()
3080 API: gst_base_transform_set_qos_enabled()
3081 API: gst_base_transform_is_qos_enabled()
3083 2006-03-13 Wim Taymans <wim@fluendo.com>
3085 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3086 (gst_base_sink_do_sync):
3088 Use QOS debug category.
3090 2006-03-13 Wim Taymans <wim@fluendo.com>
3092 * plugins/elements/gstqueue.c:
3093 Very small doc update.
3095 2006-03-13 Wim Taymans <wim@fluendo.com>
3097 * gst/gst_private.h:
3098 * gst/gstinfo.c: (_gst_debug_init):
3099 Added QOS debug category
3101 2006-03-13 Wim Taymans <wim@fluendo.com>
3103 * docs/gst/gstreamer-sections.txt:
3104 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
3106 * gst/gstbus.c: (gst_bus_class_init):
3109 * gst/gstelement.c: (gst_element_set_locked_state):
3111 Documentation updates.
3113 * gst/gstpipeline.c: (gst_pipeline_get_type),
3114 (gst_pipeline_class_init), (gst_pipeline_init),
3115 (gst_pipeline_dispose), (gst_pipeline_set_property),
3116 (gst_pipeline_get_property), (do_pipeline_seek),
3117 (gst_pipeline_send_event), (gst_pipeline_change_state),
3118 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
3119 (gst_pipeline_get_delay):
3120 * gst/gstpipeline.h:
3121 Added methods for setting the delay.
3122 API: gst_pipeline_set_delay()
3123 API: gst_pipeline_get_delay()
3124 Add pipeline debug category
3127 Don't reset stream time when seek failed.
3129 2006-03-13 Wim Taymans <wim@fluendo.com>
3131 * docs/design/draft-klass.txt:
3132 * docs/design/part-clocks.txt:
3133 * docs/design/part-events.txt:
3134 * docs/design/part-gstbin.txt:
3135 * docs/design/part-gstpipeline.txt:
3136 * docs/design/part-messages.txt:
3137 * docs/design/part-negotiation.txt:
3138 * docs/design/part-overview.txt:
3139 * docs/design/part-preroll.txt:
3140 * docs/design/part-seeking.txt:
3141 * docs/design/part-states.txt:
3142 * docs/design/part-streams.txt:
3143 Documentation updates.
3145 2006-03-12 Julien MOUTTE <julien@moutte.net>
3147 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
3148 us to leak strings...
3150 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
3152 * libs/gst/net/gstnettimeprovider.c:
3154 * win32/common/config.h:
3157 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
3159 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
3162 Don't check for libgnomeui (leftover from old examples
3163 that aren't built or disted any longer) (#334303).
3165 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
3167 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3168 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3169 Emit RESOURCE_NO_SPACE_LEFT error here as well when
3170 there's no space left on the device.
3172 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
3175 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
3176 to cast the input to GstClockTime before comparing with
3177 another GstClockTime value.
3179 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
3184 === release 0.10.4 ===
3186 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
3189 releasing 0.10.4, "Light"
3191 2006-03-10 Michael Smith <msmith@fluendo.com>
3193 * libs/gst/dataprotocol/dataprotocol.c:
3194 Fix docs for dataprocotol to not get the return types completely
3195 wrong for a few functions.
3197 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3199 * docs/gst/gstreamer-sections.txt:
3200 * gst/gstpipeline.c: (gst_pipeline_class_init),
3201 (gst_pipeline_init), (gst_pipeline_set_property),
3202 (gst_pipeline_get_property), (gst_pipeline_change_state),
3203 (gst_pipeline_set_auto_flush_bus),
3204 (gst_pipeline_get_auto_flush_bus):
3205 * gst/gstpipeline.h:
3206 Add new API: gst_pipeline_set_auto_flush_bus() and
3207 gst_pipeline_get_auto_flush_bus() to disable automatic
3208 flushing of the pipeline's GstBus when going from READY
3209 to NULL state (#332045).
3211 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3213 * docs/gst/gstreamer-sections.txt:
3214 * gst/gsturi.c: (gst_uri_has_protocol):
3216 Add new API: gst_uri_has_protocol() (#333779).
3218 2006-03-09 Wim Taymans <wim@fluendo.com>
3220 * gst/gstclock.c: (gst_clock_entry_new),
3221 (gst_clock_id_compare_func), (gst_clock_id_wait),
3222 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
3223 (gst_clock_init), (gst_clock_get_internal_time),
3224 (gst_clock_set_master), (do_linear_regression),
3225 (gst_clock_add_observation), (gst_clock_set_property):
3229 Fix a possible segfault when the window-size is made smaller.
3230 Calculate jitter before performing the clock wait. Ideally
3231 the clock implementation should calculate jitter but we need
3232 API breakage for that.
3234 * gst/gstsystemclock.c: (gst_system_clock_init):
3237 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3238 Remove leftover else
3240 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3241 (gst_systemclock_suite):
3242 Added check to test GST_CLOCK_DIFF.
3244 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3246 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
3247 (gst_type_find_helper_get_range):
3248 If we are provided with the size, we should implement
3249 GstTypeFind::get_length, so that typefind functions who
3250 want to can actually peek at the middle of a file.
3252 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
3254 * docs/manual/advanced-dataaccess.xml:
3255 Add some very very basic error checking.
3257 * docs/pwg/appendix-checklist.xml:
3258 Some updates to the list of things to check when writing an element.
3260 2006-03-08 Wim Taymans <wim@fluendo.com>
3262 * docs/design/part-element-transform.txt:
3263 Added some docs about the design of tranform elements.
3265 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3266 (gst_base_src_loop), (gst_base_src_change_state):
3267 Mark buffers with the DISCONT flag.
3269 2006-03-08 Michael Smith <msmith@fluendo.com>
3271 * gst/gstregistry.h:
3272 * gst/gstregistryxml.c: (gst_registry_save),
3273 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
3274 (gst_registry_xml_save_pad_template),
3275 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
3276 (gst_registry_xml_write_cache):
3277 Rewrite registry-saving to avoid race conditions and check for
3280 2006-03-08 Wim Taymans <wim@fluendo.com>
3282 * libs/gst/base/gstbasetransform.c:
3283 (gst_base_transform_transform_caps),
3284 (gst_base_transform_transform_size),
3285 (gst_base_transform_prepare_output_buffer),
3286 (gst_base_transform_get_unit_size),
3287 (gst_base_transform_buffer_alloc),
3288 (gst_base_transform_handle_buffer),
3289 (gst_base_transform_change_state):
3290 Cleanups, separate normal flow from errors, add sensible
3292 Don't try to renegotiate when allocating an output buffer.
3293 Also copy DISCONT buffer flag when copying a buffer.
3294 Reset the transform after we finish streaming, not during.
3296 2006-03-08 Wim Taymans <wim@fluendo.com>
3298 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3299 Use last buffer timestamp in qos message.
3301 2006-03-07 Wim Taymans <wim@fluendo.com>
3303 Patch by: Christophe Fergeau
3305 * docs/pwg/advanced-tagging.xml:
3306 * docs/pwg/building-pads.xml:
3309 2006-03-07 Wim Taymans <wim@fluendo.com>
3311 * docs/libs/gstreamer-libs-sections.txt:
3312 Added basesink new methods.
3316 Docs updates. Flesh out the QoS docs.
3318 * libs/gst/base/gstadapter.c:
3319 Small doc clarification about ownership and flushing.
3321 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
3322 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3323 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
3324 (gst_base_sink_get_property), (gst_base_sink_do_sync):
3325 * libs/gst/base/gstbasesink.h:
3327 Added new methods to allow subclass to control max-lateness
3329 Generate very basic QoS events based on last sync observation.
3330 Updated docs, fix typo, added some QoS blurb.
3332 * libs/gst/base/gstbasesrc.c:
3333 Remove obsolete _get_state() calls from docs.
3335 2006-03-07 Wim Taymans <wim@fluendo.com>
3337 * docs/libs/gstreamer-libs-sections.txt:
3338 * libs/gst/base/gstbasetransform.h:
3339 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
3340 Fix docs for GstBaseSrc.
3342 2006-03-07 Wim Taymans <wim@fluendo.com>
3344 * docs/gst/gstreamer-sections.txt:
3347 * libs/gst/base/gstbasetransform.h:
3348 Small documentation fixes.
3350 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
3353 Document thread-unsafety of gst_value_register_foo_func()
3354 when used at the same time as gst_value_foo() (#322628).
3356 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
3358 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
3359 (gst_push_src_check_get_range):
3360 Push sources don't support pull mode by default.
3362 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
3364 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3365 (gst_base_src_init), (gst_base_src_pad_check_get_range),
3366 (gst_base_src_default_check_get_range):
3367 * libs/gst/base/gstbasesrc.h:
3368 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
3369 provide default implementation, and rename
3370 gst_base_src_check_get_range() to
3371 gst_base_src_pad_check_get_range() for clarity.
3373 2006-03-06 Wim Taymans <wim@fluendo.com>
3375 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3376 Make property overridable.
3378 2006-03-06 Wim Taymans <wim@fluendo.com>
3380 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3381 (gst_base_sink_init), (gst_base_sink_set_property),
3382 (gst_base_sink_get_property), (gst_base_sink_do_sync):
3383 * libs/gst/base/gstbasesink.h:
3384 API addition: Make max-lateness a property.
3386 2006-03-06 Wim Taymans <wim@fluendo.com>
3388 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
3389 (gst_base_sink_do_sync), (gst_base_sink_render_object):
3390 Don't ever draw a frame that is >10ms late.
3392 2006-03-06 Michael Smith <msmith@fluendo.com>
3394 * gst/gstmessage.c: (_gst_message_copy):
3395 When copying a message, set the parent_refcount of the enclosed
3396 structure to point at the copy, not the original message.
3398 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
3400 Patch by: Christophe Fergeau
3403 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
3404 usable in c++ code (#333417)
3406 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
3409 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
3411 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
3413 * libs/gst/base/gstbasetransform.c:
3414 (gst_base_transform_transform_caps):
3415 Make sure caps are writable before passing them to
3418 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
3421 Fix some minor docs errors.
3423 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
3425 Patch by: Ross Burton <ross at burtonini dot com>
3427 * gst/gsterror.c: (_gst_resource_errors_init):
3429 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
3431 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
3434 Add a check and output a g_warning when GStreamer is built
3435 against GLib 2.6 but running against 2.8 or higher, and vice
3436 versa. (Closes: #323542)
3438 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
3440 * gst/parse/parse.l:
3441 Commit patch for parse_launch syntax from #331255. Removes
3442 support for quoted strings and mimetypes when writing filtered
3443 caps. See the bug report for more details - I'm pretty sure this
3444 obscure feature is not in use by _anyone_ anywhere.
3446 With this simple change, the size of the gstreamer.so here
3447 drops from 2193KB to 1565KB.
3449 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3451 * plugins/elements/gsttypefindelement.h:
3452 * plugins/elements/gsttypefindelement.c:
3453 (gst_type_find_element_src_event), (start_typefinding),
3454 (stop_typefinding), (gst_type_find_element_handle_event),
3455 (gst_type_find_element_chain),
3456 (gst_type_find_element_chain_do_typefinding):
3457 Use gst_type_find_helper_for_buffer() for chain-based
3460 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3462 * plugins/elements/gsttypefindelement.c:
3463 (gst_type_find_element_class_init),
3464 (gst_type_find_element_set_property),
3465 (gst_type_find_element_get_property):
3466 Deprecate "maximum" property (not only was it only taken into
3467 account for typefinding in push-mode anyway, it also was never
3468 actually possible to set it in the first place because the
3469 property was registered with the numeric property ID for the
3470 "minimum" property). Register "maximum" property correctly,
3471 for the sake of future copy'n'pasters. Remove some cruft
3472 from property get/set functions.
3474 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3476 * plugins/elements/gsttypefindelement.c:
3477 (gst_type_find_element_activate):
3478 Use gst_type_find_helper_get_range() here, so we
3479 can honour the "minimum" property and also emit
3480 the signal with the correct probability of the found caps.
3482 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
3484 * docs/libs/gstreamer-libs-sections.txt:
3485 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3486 (helper_find_suggest), (gst_type_find_helper_get_range),
3487 (gst_type_find_helper):
3488 * libs/gst/base/gsttypefindhelper.h:
3489 New API: gst_type_find_helper_get_range() (#333042).
3491 2006-03-02 Michael Smith <msmith@fluendo.com>
3493 * gst/gstregistryxml.c: (load_feature):
3494 Asserting on a failure to read part of the registry is Not Cool.
3495 Just log a warning and return NULL (which is already handled)
3497 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
3499 * win32/common/libgstbase.def:
3500 added export of gst_type_find_helper_for_buffer
3501 * win32/common/libgstbase.def:
3502 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
3503 gst_ghost_pad_get_target
3505 2006-02-28 Wim Taymans <wim@fluendo.com>
3507 * docs/design/draft-klass.txt:
3509 Added Connector to mark elements that are only used to
3510 allow pipeline connections.
3511 Moved Debug to extra feature since most of them are
3512 functionally something else.
3514 2006-02-28 Wim Taymans <wim@fluendo.com>
3516 * docs/design/draft-klass.txt:
3517 Some updates and clarifications.
3519 2006-02-28 Wim Taymans <wim@fluendo.com>
3521 * docs/design/draft-klass.txt:
3522 Proposal for klass field values.
3524 * docs/design/part-streams.txt:
3525 Start of a doc describing stream anatomy.
3527 2006-02-28 Wim Taymans <wim@fluendo.com>
3529 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3530 Help the compiler a bit with type registration.
3531 Use existing forward cod path instead of duplicating it when
3534 * gst/gstbus.c: (gst_bus_get_type):
3535 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3536 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3537 * gst/gstclock.c: (gst_clock_get_type):
3538 * gst/gstelement.c: (gst_element_get_type),
3539 * gst/gstelementfactory.c: (gst_element_factory_get_type):
3540 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3541 * gst/gstminiobject.c: (gst_mini_object_get_type):
3542 * gst/gstpad.c: (gst_pad_get_type):
3543 * gst/gstsegment.c: (gst_segment_get_type):
3544 * gst/gststructure.c: (gst_structure_get_type):
3545 * gst/gstsystemclock.c: (gst_system_clock_get_type):
3546 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3548 Help compiler with type registration.
3550 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3553 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3555 * plugins/elements/gsttypefindelement.c:
3556 (gst_type_find_element_handle_event):
3557 When we get an EOS event and have not found a type yet
3558 (most likely because we had not yet accumulated
3559 TYPE_FIND_MIN_SIZE of data yet), try to determine the
3560 type given the data we have so far. Fixes typefinding
3561 for very short streams again, most notably quicktime
3562 redirections as used on Apple's trailer site (#331701).
3564 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3566 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3567 (gst_type_find_helper):
3568 Try typefinding factories with the highest rank first.
3570 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3572 * docs/libs/gstreamer-libs-docs.sgml:
3573 * docs/libs/gstreamer-libs-sections.txt:
3574 * libs/gst/base/gsttypefindhelper.c:
3575 Add section for typefind helper and add documentation
3576 for the old and the new function.
3578 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3580 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3581 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3582 (gst_type_find_helper_for_buffer):
3583 * libs/gst/base/gsttypefindhelper.h:
3584 New API: gst_type_find_helper_for_buffer() (#332723).
3586 2006-02-27 Michael Smith <msmith@fluendo.com>
3588 Patch by: Loïc Minier
3592 * docs/slides/Makefile.am:
3593 prevent CVS directories getting disted.
3595 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3597 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3598 Use the REFCOUNTING category for caps refcounting.
3600 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3602 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3603 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3605 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3607 * plugins/elements/gsttypefindelement.c:
3608 (gst_type_find_element_activate):
3609 Use gst_pad_check_pull_range() before _activate_pull()
3610 to avoid unnecessary open/close (see #331690).
3612 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3615 Docs enhancement: make it crystal clear what the
3616 gst_pad_add_*_probe() callbacks should look like.
3618 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3620 * libs/gst/base/gstbasesrc.c:
3621 Document how applications can stop recording from
3622 live sources (see #330996).
3624 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3626 * tests/check/Makefile.am:
3627 * tests/check/libs/basesrc.c: (eos_event_counter),
3628 (basesrc_eos_events_pull), (basesrc_eos_events_push),
3629 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3630 (gst_basesrc_suite), (main):
3631 ... and add some tests for the base source EOS stuff.
3633 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3635 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3636 Test case originally showed the problem fixed below,
3637 but was then amended. Add checks back at the place
3638 where they used to be.
3640 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3642 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3643 (gst_base_src_init), (gst_base_src_loop),
3644 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3645 (gst_base_src_change_state):
3646 * libs/gst/base/gstbasesrc.h:
3647 Don't unconditionally send EOS when going from PAUSED to
3648 READY state, esp. make sure we don't send two EOS events
3649 in some cases (e.g. one when reaching EOS and one when
3650 going from PAUSED to READY). Also, we don't want to send
3651 EOS events when operating in pull mode. However, we do
3652 want to send an EOS event when shutting down a live
3653 source explicitly, for example (fixes #330996).
3655 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3657 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3658 Update src->read_position after a seek when not using mmap.
3659 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3661 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
3667 Make things work with --disable-parse as they do with
3668 --disable-load-save - the symbols involved disappear, but the
3669 header is still installed and GST_DISABLE_PARSE is included via
3672 2006-02-20 Julien MOUTTE <julien@moutte.net>
3674 * libs/gst/base/gstbasetransform.c:
3675 (gst_base_transform_change_state): Fix a stupid bug. I was
3676 sure I compiled that.
3678 2006-02-20 Julien MOUTTE <julien@moutte.net>
3680 * gst/gstpad.c: (gst_pad_set_blocked_async):
3681 * gst/gstutils.c: (gst_pad_add_data_probe),
3682 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3683 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3684 (gst_pad_remove_buffer_probe): Make those function act on the
3685 ghostpad target when it's a ghostpad. (Closes #331727)
3687 2006-02-20 Julien MOUTTE <julien@moutte.net>
3689 * libs/gst/base/gstbasetransform.c:
3690 (gst_base_transform_change_state): Make basetransform reusable.
3693 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
3695 * docs/random/release:
3696 Move the current documentation of how to do a release to the top
3699 * gst/gstbin.c: (gst_bin_class_init),
3700 (gst_bin_handle_message_func):
3701 Allow multiple state-recalculation threads. (Closes #328873)
3703 2006-02-19 Julien MOUTTE <julien@moutte.net>
3705 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3706 * gst/gstpad.c: (gst_pad_set_event_function),
3707 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3708 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3709 2 strings. You can't use the STR_NULL macro on that.
3711 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
3713 * gst/gstpad.c: (gst_pad_set_event_function),
3714 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3715 (gst_pad_set_getcaps_function)
3716 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3717 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3718 So now, we can use --gst-debug-level=5 on Windows
3719 * win32/common/libgstcontroller.def:
3720 Added export of gst_controller_init
3721 * win32/vs6/libgstcontroller.dsp:
3722 Fixed Release post build configuration
3724 2006-02-17 Wim Taymans <wim@fluendo.com>
3726 * tests/check/gst/gstquery.c: (GST_START_TEST):
3727 Added another check.
3729 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
3731 * plugins/elements/gsttypefindelement.c: (find_peek):
3732 We can do peeks at non-zero offsets, as long as they
3733 fall within the buffer we have.
3735 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
3737 * tests/check/Makefile.am:
3738 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3739 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3740 (parse_suite), (main):
3741 Add testsuite for parse launch syntax
3743 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
3745 * plugins/elements/gsttypefindelement.c:
3746 (gst_type_find_element_chain):
3747 When typefinding is unsuccessful in the chain function, don't
3748 error out immediately. Only error out with NO_CAPS_FOUND if
3749 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3750 otherwise simply wait for more data so we can try typefinding
3751 again with more data later. Also, don't attempt to typefind
3752 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3753 this should improve typefinding from network sources where the
3754 size of the first buffer can be somewhat random.
3756 2006-02-14 Wim Taymans <wim@fluendo.com>
3758 * docs/gst/gstreamer-sections.txt:
3759 * gst/gstpadtemplate.c:
3760 * gst/gstpadtemplate.h:
3761 Fix padtemplate docs, fixes #328805.
3763 2006-02-14 Wim Taymans <wim@fluendo.com>
3765 * tools/gst-launch.c: (main):
3766 NO_PREROLL is not an ERROR so don't send confusing messages
3769 2006-02-14 Wim Taymans <wim@fluendo.com>
3771 Patch by: Torsten Schoenfeld
3773 * gst/gstregistry.c: (gst_registry_get_default),
3774 (_gst_registry_cleanup):
3775 Protect default registry with lock and ref/sink it.
3778 2006-02-14 Wim Taymans <wim@fluendo.com>
3781 * gst/gstquery.c: (gst_query_list_add_format),
3782 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3783 (gst_query_parse_formats_nth):
3784 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3787 2006-02-14 Wim Taymans <wim@fluendo.com>
3789 * docs/gst/gstreamer-sections.txt:
3790 Reworked query docs.
3792 * gst/gstquery.c: (gst_query_new_formats),
3793 (gst_query_list_add_format), (gst_query_set_formats),
3794 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3795 (gst_query_parse_formats_nth):
3797 Flesh out formats query, added some new methods.
3798 Fix part of #324398.
3800 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3801 Added query creation tests.
3803 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
3805 * gst/gstpad.c: (fixate_value):
3806 Add a default fixation for fraction lists.
3808 2006-02-13 Wim Taymans <wim@fluendo.com>
3810 * gst/gsttask.c: (gst_task_init), (gst_task_func),
3811 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3814 Detect and warn for obvious deadlocks. fixes #320340
3815 Fix error case where lock was not released.
3817 * tests/check/Makefile.am:
3818 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3819 (task_func), (gst_element_suite), (main):
3822 2006-02-13 Wim Taymans <wim@fluendo.com>
3824 * docs/gst/gstreamer-sections.txt:
3826 Add new functions to docs.
3828 2006-02-13 Wim Taymans <wim@fluendo.com>
3830 * docs/design/part-TODO.txt:
3831 Updated TODO list, basesrc supports seeking to non-bytes
3834 * docs/design/part-element-sink.txt:
3837 * gst/gstbin.c: (bin_replace_message),
3838 (gst_bin_handle_message_func):
3839 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3840 * gst/gstevent.c: (gst_event_finalize):
3841 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3842 (gst_pad_send_event):
3843 Use shiny new _TYPE_NAME macros.
3845 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3846 Move debug statement up.
3848 * gst/gstelement.c: (gst_element_set_locked_state):
3851 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
3853 * docs/gst/gstreamer-sections.txt:
3856 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3857 macros (#330906). Also, document the already existing
3858 GST_QUERY_TYPE macro.
3860 2006-02-13 Wim Taymans <wim@fluendo.com>
3862 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3863 (event_probe), (GST_START_TEST):
3864 Only events up to the pipeline EOS are counted, there are
3865 some more when going to NULL currently which we don't care
3868 2006-02-13 Wim Taymans <wim@fluendo.com>
3870 * gst/gstpad.c: (gst_pad_send_event):
3871 Correctly check flushing and emit probes. fixes #330125
3873 2006-02-10 Andy Wingo <wingo@pobox.com>
3875 * gst/gstbus.c (gst_bus_class_init): Declare our private data
3877 (gst_bus_init): Cache the location of the private data in the
3879 (gst_bus_enable_sync_message_emission)
3880 (gst_bus_disable_sync_message_emission): Implement new public
3882 (gst_bus_post): Emit the sync-message signal if the user asked for
3885 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3886 location of the bus-private structure.
3887 (gst_bus_enable_sync_message_emission)
3888 (gst_bus_disable_sync_message_emission): API addition
3890 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
3892 Patch by: Vincent Torri
3894 * docs/pwg/building-boiler.xml:
3895 PWG patch from #326800
3897 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
3901 * docs/design/Makefile.am:
3904 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3909 === release 0.10.3 ===
3911 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3914 releasing 0.10.3, "Like a virgin"
3916 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3919 2nd prerelease of 0.10.3
3920 Bump libtool versioning.
3922 2006-02-07 Andy Wingo <wingo@pobox.com>
3924 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3925 update last_stop if we're in TIME format and the timestamp is
3928 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
3929 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
3930 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3931 If we get a new newsegment with a different format, adapt
3934 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3935 of 0. Not a problem, really.
3937 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3940 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
3945 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
3948 project files updated to the default vs7 configuration
3949 * win32/common/libgstbase.def:
3950 * win32/common/libgstreamer.def:
3952 removed empty lines,
3953 sorted all exported symbols alphabetically
3954 * win32/common/dirent.c:
3955 * win32/common/dirent.h:
3956 * win32/common/gchar.h:
3957 use windows line end.
3959 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3961 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3962 Send EOS event when stopping.
3964 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3967 Tell folks what to do if the plugin-foobar.xml file
3968 hasn't been generated for a newly-added plugin.
3970 2006-02-05 Julien MOUTTE <julien@moutte.net>
3972 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3973 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3974 (gst_collect_pads_start), (gst_collect_pads_stop),
3975 (gst_collect_pads_event): Collectpads now holds a reference
3976 to the GstPad that was added. Indeed we don't want to look
3977 at pads that might just go away with no warning...
3979 2006-02-05 Julien MOUTTE <julien@moutte.net>
3981 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3982 (gst_collect_pads_start), (gst_collect_pads_stop),
3983 (gst_collect_pads_event), (gst_collect_pads_chain):
3984 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3985 Mark Nauwelaerts's patch on bug #328491.
3987 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3989 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3991 Add some simple tests for gst_parse_bin_from_description() and
3992 gst_bin_find_unconnected_pad() (#329069).
3994 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3996 * tools/gst-launch.c: (event_loop), (main):
3997 Catch errors during preroll (#320084).
3999 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
4001 * plugins/elements/gsttypefindelement.c:
4002 (gst_type_find_element_activate):
4003 Post TYPE_NOT_FOUND error message when typefinding
4004 is unsuccessful in the activate function as well.
4006 2006-02-02 Wim Taymans <wim@fluendo.com>
4008 * docs/design/part-element-sink.txt:
4011 2006-02-02 Wim Taymans <wim@fluendo.com>
4013 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4014 (gst_base_sink_render_object),
4015 (gst_base_sink_queue_object_unlocked):
4016 Only keep track of prerollable items when we are
4018 Before rendering after preroll, always check if we
4020 Added some more debugging.
4022 2006-02-02 Wim Taymans <wim@fluendo.com>
4024 * gst/gstelement.c: (gst_element_continue_state),
4025 (gst_element_set_state_func), (gst_element_change_state):
4026 Fixed #326576, been running this for quite some time with
4027 no regressions at all.
4029 2006-02-02 Wim Taymans <wim@fluendo.com>
4032 Added more suppressions
4034 2006-02-02 Wim Taymans <wim@fluendo.com>
4036 * docs/design/part-element-sink.txt:
4039 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4040 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
4041 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
4042 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4043 (gst_base_sink_do_sync), (gst_base_sink_render_object),
4044 (gst_base_sink_preroll_object),
4045 (gst_base_sink_queue_object_unlocked),
4046 (gst_base_sink_queue_object), (gst_base_sink_event),
4047 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
4048 (gst_base_sink_loop), (gst_base_sink_activate_pull),
4049 (gst_base_sink_get_position), (gst_base_sink_change_state):
4050 * libs/gst/base/gstbasesink.h:
4051 Totally refactored matching the design doc.
4052 Use two segments, one to clip incomming buffers and another to
4054 Handle queueing correctly, bypass the queue when playing.
4055 Make EOS cancelable.
4056 Handle errors correctly when operating in pull based mode.
4058 * tests/check/elements/fakesink.c: (GST_START_TEST),
4060 Added new check for sinks.
4062 2006-02-02 Wim Taymans <wim@fluendo.com>
4064 * gst/gstsegment.c: (gst_segment_clip):
4065 No reason to refuse to clip when start == -1
4067 2006-02-02 Stefan Kost <ensonic@users.sf.net>
4070 * docs/manual/intro-basics.xml:
4071 * docs/manual/intro-preface.xml:
4072 * docs/manual/manual.xml:
4073 * docs/pwg/advanced-dparams.xml:
4074 * docs/pwg/intro-basics.xml:
4075 * docs/pwg/intro-preface.xml:
4077 describe dparams (controller) for plugins
4078 unify docs a little more
4080 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
4082 * docs/gst/gstreamer-sections.txt:
4083 * gst/gstutils.c: (element_find_unconnected_pad),
4084 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
4086 Add new API: gst_parse_bin_from_description() and
4087 gst_bin_find_unconnected_pad() (#329069).
4089 2006-02-01 Stefan Kost <ensonic@users.sf.net>
4091 * docs/manual/README:
4092 uncover a nasty detail of the docs build
4094 2006-01-31 Wim Taymans <wim@fluendo.com>
4096 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
4097 Don't cache duration messages if we're not going to use or
4100 2006-01-31 Stefan Kost <ensonic@users.sf.net>
4102 * docs/manual/advanced-dparams.xml:
4103 * docs/pwg/advanced-dparams.xml:
4107 * libs/gst/controller/lib.c: (gst_controller_init):
4110 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
4112 * gst/gstelement.c: (gst_element_message_full):
4113 also show file/line/func if no additional debug was given
4115 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
4117 * win32/vs7/grammar.vcproj:
4118 activate copy of autogenerated files for Release mode
4120 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
4122 * win32/common/libgstreamer.def:
4123 export gst_value_compare
4125 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
4127 * plugins/elements/Makefile.am:
4128 * plugins/elements/gstelements.c:
4129 * plugins/elements/gstfdsink.c: (_do_init),
4130 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
4131 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
4132 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
4133 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
4134 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
4135 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
4136 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
4137 * plugins/elements/gstfdsink.h:
4138 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
4140 2006-01-30 Stefan Kost <ensonic@users.sf.net>
4142 * docs/manual/advanced-dparams.xml:
4144 * docs/manual/advanced-position.xml:
4145 * docs/manual/basics-init.xml:
4146 * docs/manual/manual.xml:
4147 * docs/manual/titlepage.xml:
4149 * docs/pwg/titlepage.xml:
4150 cleanup xml (more to come)
4151 * libs/gst/controller/gstcontroller.c:
4154 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
4156 * win32/vs6/grammar.dsp:
4157 add autogen of gstmarshal.c,h for Release mode
4159 2006-01-30 Wim Taymans <wim@fluendo.com>
4161 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4162 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
4163 (gst_base_sink_handle_object), (gst_base_sink_event),
4164 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
4165 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4166 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
4167 (gst_base_sink_deactivate), (gst_base_sink_activate),
4168 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
4169 (gst_base_sink_query), (gst_base_sink_change_state):
4170 Basesink cleanups, remove some old code.
4171 Handle the case where a subclass can preroll in the render
4172 method (mostly audiosinks).
4174 Remove some locks around variables that are now protected
4175 with the PREROLL_LOCK (clock_id, flushing, ..).
4176 Optimize position query some more, do correct locking.
4177 Remove old code to push queue in state change, this is not
4178 needed anymore since preroll blocks on all prerollable items
4180 Almost implemented as described in design doc.
4182 2006-01-30 Wim Taymans <wim@fluendo.com>
4184 * tests/check/gst/gstbin.c: (GST_START_TEST):
4185 Wait for refcount to settle down before checking.
4187 2006-01-30 Wim Taymans <wim@fluendo.com>
4189 * docs/design/part-element-sink.txt:
4190 Pseudo code overview of desired sink behaviour regarding
4193 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4194 * win32/vs6/grammar.dsp:
4195 fix some bugs in Release mode for autogenerated files
4197 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4198 * win32/common/libgstbase.def:
4199 * win32/common/libgstreamer.def:
4200 export some new symbols: gst_base_src_set_format,
4201 gst_iterator_next, gst_structure_set_valist
4203 2006-01-29 Julien MOUTTE <julien@moutte.net>
4205 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4206 Set pad functions unconditionally. Fixes #329105.
4208 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4210 add vs8 project files created by Sergey Scobich
4212 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
4214 * gst/gstutils.c: (gst_element_unlink_pads):
4215 Don't leak pad references.
4217 * tests/check/elements/fakesink.c: (GST_START_TEST):
4218 * tests/check/generic/sinks.c: (GST_START_TEST):
4219 * tests/check/generic/states.c: (GST_START_TEST):
4220 * tests/check/gst/gstbin.c: (GST_START_TEST):
4221 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4222 * tests/check/gst/gstelement.c: (GST_START_TEST):
4223 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4224 * tests/check/gst/gstiterator.c: (GST_START_TEST):
4225 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4226 Fix a bunch of leaks. Make generic/sinks.c
4227 use a bit less cpu by slowing the buffer rate
4228 between fakesrc and fakesink.
4230 2006-01-27 Stefan Kost <ensonic@users.sf.net>
4232 * gst/gstelement.c: (gst_element_send_event):
4235 * gst/gstiterator.c:
4236 * gst/gstiterator.h:
4237 * gst/gstpad.c: (gst_pad_send_event):
4238 * gst/gststructure.c:
4242 * libs/gst/base/gstadapter.c:
4243 doc fixes, to link to function, just write gst_cool_function(), don't
4246 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4248 * plugins/elements/gsttee.c: (gst_tee_do_push),
4249 (gst_tee_handle_buffer):
4250 Always prefer an actual return value from a src
4251 pad in place of NOT_LINKED. This means we return
4252 WRONG_STATE when all src pads are WRONG_STATE
4253 instead of NOT_LINKED.
4255 Lock when replacing the last message to prevent
4256 racing with the get_property method.
4260 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4262 * tests/check/Makefile.am:
4263 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
4265 Add a very simple check that should have caught the memleak I fixed
4266 last night (if not for the slice allocator hiding it)
4268 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4270 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4271 (gst_bin_remove_func), (gst_bin_handle_message_func),
4272 (bin_query_duration_fold), (bin_query_generic_fold):
4273 Clean up references to the clock provider when disposed or when
4274 handling a clock-lost message from it.
4276 Unref sinks when performing a query via gst_iterator_fold, as the
4277 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
4279 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
4280 (gst_clock_set_master):
4281 Drop our reference to the master clock, if any, when we are disposed.
4283 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
4284 Chain up in dispose.
4286 2006-01-26 Wim Taymans <wim@fluendo.com>
4288 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4291 2006-01-26 Julien MOUTTE <julien@moutte.net>
4293 * plugins/elements/gsttee.c: (gst_tee_do_push),
4294 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
4295 handles pad being NOT_LINKED or in WRONG_STATE.
4297 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4302 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4305 remove obsolete entry
4307 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4309 * docs/gst/gstreamer-sections.txt:
4310 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
4311 (gst_bin_iterate_sources), (gst_bin_send_event):
4313 * gst/gstelement.c: (gst_element_send_event):
4315 * gst/gstpad.c: (gst_pad_send_event):
4316 added code for downstream events, reviewed docs in gstevent.c
4318 2006-01-25 Julien MOUTTE <julien@moutte.net>
4320 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4321 We only query position using the clock in the playing state.
4322 Query peer in the other cases.
4323 * win32/common/config.h: Updates.
4325 2006-01-24 Wim Taymans <wim@fluendo.com>
4327 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
4328 A clock entry that is scheduled for the exact time of the
4329 clock is still in time.
4331 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4332 (gst_base_sink_do_sync):
4333 Add some more debug info.
4335 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
4338 Add new vs7 project files and solution.
4340 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
4343 all files removed as they were out-dated.
4345 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
4347 * docs/random/release:
4349 * gst/gstbin.c: (gst_bin_init):
4350 * gst/gstbus.c: (gst_bus_new):
4352 * gst/gstpipeline.c: (gst_pipeline_init):
4353 use gst_bus_new(), improve logging, fix docs
4354 * win32/common/config.h:
4355 update for cvs build
4357 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
4360 up required version of automake to 1.7
4362 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
4364 * win32/common/libgstreamer.def:
4365 export gst_buffer_is_metadata_writable
4367 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
4369 * docs/gst/gstreamer-sections.txt:
4371 Add gst_event_replace() (#327001)
4373 2006-01-20 Wim Taymans <wim@fluendo.com>
4375 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4376 Make it actually compile too..
4378 2006-01-20 Wim Taymans <wim@fluendo.com>
4381 Clarify behaviour of _is_equal() when passing NULL parameters.
4383 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4385 Cleanups. Don't unref NULL caps.
4386 When setting the same caps, protect caps of the pad with
4388 Use full functionality of _is_equal() when comparing caps.
4390 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
4392 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4393 Don't loop infinitely if there are no buffers to present. Partially
4394 fixes #327197, but collectpads is just broken for reusing elements
4395 to do multiple encodes atm.
4397 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
4399 * tools/gst-inspect.c: (print_element_features):
4400 * tools/gst-xmlinspect.c: (main):
4401 URL_HANDLER is not a plugin feature we can search for in
4404 2006-01-19 Edward Hervey <edward@fluendo.com>
4406 * gst/gstelement.c: (gst_element_pads_activate):
4407 When activating, do src pads first, then sink pads.
4408 When de-activating, do sink pads first, then src pads.
4410 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4412 * docs/gst/gstreamer-sections.txt:
4413 Add gst_index_add_associationv to the docs
4415 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4420 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
4421 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
4422 Do some refactoring. Doesn't actually change functionality,
4423 but makes landing the DRAIN event easier later.
4425 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
4427 * docs/pwg/advanced-scheduling.xml:
4428 Update from 0.9.x to 0.10 API and make example a bit
4431 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4433 * docs/gst/gstreamer-sections.txt:
4434 Add gst_buffer_(is|make)_metadata_writable methods.
4436 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4438 * docs/design/part-sparsestreams.txt:
4439 Update sparse streams doc, hopefully for greater clarity
4441 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
4443 * docs/design/part-events.txt:
4444 Remove mention of FILLER events.
4447 * docs/design/part-sparsestreams.txt:
4448 Write some things about using NEWSEGMENT to keep sparse streams
4451 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
4453 * gst/gstbin.c: (gst_bin_dispose):
4454 Guard gst_object_unref call against a NULL object (dispose
4455 can theoretically be called multiple times).
4457 2006-01-18 Wim Taymans <wim@fluendo.com>
4459 * gst/gstbin.c: (gst_bin_element_set_state):
4460 * gst/gstclock.c: (gst_clock_id_wait):
4461 Added some more debug info.
4463 * libs/gst/base/gstadapter.c:
4466 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4467 (gst_base_sink_do_sync), (gst_base_sink_chain):
4468 Added some comments.
4470 2006-01-18 Wim Taymans <wim@fluendo.com>
4472 * tests/check/Makefile.am:
4473 * tests/check/elements/fakesink.c: (chain_async_buffer),
4474 (chain_async), (chain_async_return), (GST_START_TEST),
4475 (fakesink_suite), (main):
4476 Added fakesink test that checks prerolling and clipping
4479 * tests/check/gst/gstutils.c: (GST_START_TEST):
4480 Make check run faster so that buildbots don't timeout.
4482 2006-01-18 Wim Taymans <wim@fluendo.com>
4484 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4485 (gst_base_sink_do_sync):
4487 When the sink finishes blocking on the preroll buffer, it can
4488 immediatly render it instead of rendering when the next buffer
4491 2006-01-18 Wim Taymans <wim@fluendo.com>
4493 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
4494 (gst_base_sink_get_property), (gst_base_sink_do_sync),
4495 (gst_base_sink_chain):
4497 GST_ELEMENT_CLOCK and sync are protected with LOCK.
4498 Don't store _last_stop if the buffer is dropped.
4500 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
4502 * plugins/elements/gsttypefindelement.c:
4503 (gst_type_find_element_class_init):
4504 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
4505 object method handler that sets the caps on the pad and we want
4506 that to happen before we emit the signal (fixes e.g. feeding a
4507 plain text file to decodebin).
4509 2006-01-18 Christian Schaller <Christian@fluendo.com>
4511 * gst/gstplugin.c: Add MPL and Proprietary as license options
4513 2006-01-18 Andy Wingo <wingo@pobox.com>
4515 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
4516 symbol was exported before, it appears this was just an oversight.
4518 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4520 * gst/gstindex.c (gst_index_add_associationv): Changed int in
4521 prototype to gint. OK since this prototype was not in the header.
4523 2006-01-17 Andy Wingo <wingo@pobox.com>
4525 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4526 registry while we remove plugins.
4528 * tools/gst-inspect.c (print_element_info): Don't unref the
4529 factory arg, that should be the responsibility of whatever code
4530 received the ref. Fixes a double-free when called from
4531 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4532 (main): Unref the factory if we have one.
4533 (print_element_list): No change -- relies on the
4534 plugin_feature_list_free to free the list of features.
4536 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
4538 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4539 (gst_buffer_make_metadata_writable):
4541 * libs/gst/base/gstbasetransform.c:
4542 (gst_base_transform_prepare_output_buf):
4543 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4544 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4545 Replace gst_buffer_(make|is)_metadata_writable patch now
4546 that the release is out.
4548 2006-01-17 Andy Wingo <wingo@pobox.com>
4550 * gst/gstregistry.c: Reflow design comment. Update so as to speak
4551 in the present tense without reference to versions.
4553 * gst/gstregistry.c (gst_registry_add_plugin)
4554 (gst_registry_remove_plugin, gst_registry_remove_feature)
4555 (gst_registry_find_feature, gst_registry_get_feature_list)
4556 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4557 (gst_registry_lookup, gst_registry_scan_path)
4558 (_gst_registry_remove_cache_plugins)
4559 (gst_registry_get_feature_list_by_plugin): Add argument
4562 === release 0.10.2 ===
4564 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
4567 releasing 0.10.2, "If man is five"
4569 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4573 * libs/gst/base/gstbasetransform.c:
4574 (gst_base_transform_prepare_output_buf):
4575 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4576 * tests/check/gst/gstbuffer.c: (gst_test_suite):
4577 Back out patch until after the release.
4579 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4581 * gst/gstminiobject.c:
4582 Spelling fix in docs.
4583 * ChangeLog - remove conflict indicator
4585 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4587 Reviewed By: Andy Wingo
4589 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4590 (gst_buffer_make_metadata_writable):
4592 Add gst_buffer_(is|make)_metadata_writable as analogues of
4593 gst_buffer_(is|make)_writable.
4595 * libs/gst/base/gstbasetransform.c:
4596 (gst_base_transform_prepare_output_buf):
4597 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4598 Use name gst_buffer_(is|make)_metadata_writable functions.
4600 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4601 Test gst_buffer_(is|make)_metadata_writable
4605 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
4607 * docs/manual/Makefile.am:
4608 don't do parallel make
4611 * win32/common/config.h.in:
4612 add generations for HOST_CPU and GST_MAJORMINOR
4613 * win32/common/config.h:
4614 commit generated result
4616 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
4618 * docs/manual/appendix-integration.xml:
4619 Update GNOME integration section to use gst_init_get_option_group()
4620 instead of the old popt stuff (#322911). Also, GNOME applications
4621 should now use gconf*sink and gconf*src instead of the old gconf
4624 2006-01-13 Stefan Kost <ensonic@users.sf.net>
4627 * docs/gst/gstreamer-docs.sgml:
4628 * docs/gst/gstreamer-sections.txt:
4629 * docs/libs/gstreamer-libs-sections.txt:
4630 add new API entries to the docs
4631 * libs/gst/controller/Makefile.am:
4632 * libs/gst/controller/gstcontroller.c:
4633 * libs/gst/controller/gstcontroller.h:
4634 * libs/gst/controller/gstcontrollerprivate.h:
4635 * libs/gst/controller/gsthelper.c:
4636 * libs/gst/controller/gstinterpolation.c:
4637 move private structs to private header
4639 gstreamer-0.7 -> gstreamer-0.10
4640 * tests/check/libs/struct_i386.h:
4641 remove private structs
4643 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4645 * plugins/indexers/Makefile.am:
4646 Fixes as part of #317048
4648 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4650 * plugins/indexers/Makefile.am:
4651 fix #316086 - compilation when mmap is missing
4653 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
4655 * libs/gst/base/gstbasesink.c:
4656 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
4657 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4658 * win32/common/config.h:
4659 added some defines GST_MAJORMINOR and HOST_CPU
4660 * win32/common/libgstbase.def:
4661 * win32/common/libgstreamer.def:
4662 added some exported functions.
4664 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4666 * libs/gst/controller/gstcontroller.c:
4667 (gst_controlled_property_set_interpolation_mode),
4668 (gst_controlled_property_new):
4669 * libs/gst/controller/gstcontroller.h:
4670 * libs/gst/controller/gstinterpolation.c:
4671 (interpolate_none_get_string_value_array):
4672 make G_TYPE_STRING controlable
4674 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4677 * tools/gst-feedback.1.in:
4678 * tools/gst-inspect.1.in:
4679 * tools/gst-launch.1.in:
4680 * tools/gst-md5sum.1.in:
4681 * tools/gst-typefind.1.in:
4682 * tools/gst-xmlinspect.1.in:
4683 * tools/gst-xmllaunch.1.in:
4684 cleanup man-pages, remove reference to gst-register, document env-vars
4686 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
4688 * gst/gstbuffer.c: (gst_buffer_span):
4689 gst_buffer_span should copy the timestamp of the first buffer
4690 if they were both originally overlapping subbuffers of the
4691 same parent, using the same logic as the 'slow copy' case.
4693 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
4695 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4696 Need to awaken ALL the pads when we pop a buffer, otherwise
4697 collectpads only works when there is 2 input streams.
4699 2006-01-11 Stefan Kost <ensonic@users.sf.net>
4701 * docs/random/ensonic/media-device-daemon.txt:
4704 fix doc example, add clarification
4705 * tools/gst-launch.1.in:
4706 add initial info about GST_PLUGIN_PATH, needs more work
4708 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
4710 * docs/manual/basics-bins.xml:
4711 * docs/manual/basics-elements.xml:
4712 * docs/manual/intro-basics.xml:
4713 Some more minor docs additions and updates.
4715 2006-01-11 Wim Taymans <wim@fluendo.com>
4717 * docs/manual/basics-bins.xml:
4718 * docs/manual/basics-elements.xml:
4719 Some small fixes as pointed out by Ser-ver on IRC.
4721 2006-01-10 Edward Hervey <edward@fluendo.com>
4723 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4724 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4725 the single-segment mode.
4727 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
4729 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4731 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4732 (gst_base_src_perform_seek), (gst_base_src_send_event),
4733 (gst_base_src_set_property), (gst_base_src_get_property),
4734 (gst_base_src_loop), (gst_base_src_start),
4735 (gst_base_src_activate_push):
4736 * libs/gst/base/gstbasesrc.h:
4737 Name (private) union; makes Sun's Forte compiler happy (#324900).
4739 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
4742 gst-register is gone.
4744 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
4746 * gst/gstvalue.c: (_gst_value_initialize):
4747 make the G_TYPE_DATE instantiation work if debug is disabled
4749 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
4751 * gst/gstmessage.c: (gst_message_parse_tag),
4752 (gst_message_parse_error), (gst_message_parse_warning):
4753 Don't crash when return location for error/warning debug
4754 string is NULL; add fact that return locations can be
4755 NULL to docs where appropriate.
4757 2006-01-05 Wim Taymans <wim@fluendo.com>
4759 * gst/gstplugin.c: (gst_plugin_load_file):
4760 Replace strdup by g_strdup.
4762 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4764 * docs/pwg/advanced-types.xml:
4767 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4769 submitted by: Abel Cheung
4773 Added Chinese (traditional) translation
4775 2006-01-04 Wim Taymans <wim@fluendo.com>
4777 * docs/manual/basics-pads.xml:
4778 * docs/plugins/Makefile.am:
4779 * docs/plugins/gstreamer-plugins-docs.sgml:
4780 * docs/plugins/gstreamer-plugins-sections.txt:
4781 * docs/pwg/advanced-clock.xml:
4782 * docs/pwg/advanced-scheduling.xml:
4783 * docs/pwg/advanced-types.xml:
4784 * plugins/elements/gstfdsink.c:
4785 * plugins/elements/gstfdsrc.c:
4786 * plugins/elements/gstfdsrc.h:
4787 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4788 * plugins/elements/gstidentity.h:
4789 * plugins/elements/gstqueue.h:
4790 * plugins/elements/gsttee.c:
4791 * plugins/elements/gsttee.h:
4792 * plugins/elements/gsttypefindelement.c:
4793 (gst_type_find_element_class_init):
4794 * plugins/elements/gsttypefindelement.h:
4795 Small updates to various docs.
4796 Added core plugins to docs.
4798 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4801 add a suppression for liboil's uninitialized variable
4803 2006-01-02 James Livingston <jrl at ids dot org dot au>
4805 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4808 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4809 macro, so that gcc doesn't complain if the -Wmissing-prototypes
4810 compiler switch is being used (#325429).
4812 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
4814 * gst/gstbin.c: (gst_bin_query):
4815 Disable duration query caching in bins until it gets
4816 fixed (see #324807).
4818 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4820 * tools/gst-inspect.c: (print_element_properties_info):
4821 Handle properties of POINTER and BOXED type.
4823 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4825 * gst/gst.c: (init_post):
4826 Init tags stuff and some other things before loading
4827 any static plugins (there may be other static plugins
4828 than just the GStreamer ones, and they may want to
4829 register their own tags or formats or whatever, and
4830 preferably without segfaulting).
4832 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4833 Print at least a warning in the debug logs if we drop a
4834 query just because we don't know how to adjust the value
4835 in the particular format.
4837 2005-12-24 David Schleef <ds@schleef.org>
4839 * tools/gstreamer-completion:
4840 Replacement for gst-complete written in sh and sed. Only
4841 completes names of features, but that's 90% of what I want
4842 it for. Properties are not available in registry.xml. (Maybe
4845 === release 0.10.1 ===
4847 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
4850 releasing 0.10.1, "Nollaig chridheil"
4852 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
4855 Add missing quote, should be make ERROR_CFLAGS="".
4857 2005-12-20 Wim Taymans <wim@fluendo.com>
4859 * docs/design/part-trickmodes.txt:
4860 More documentation on trickmodes.
4862 2005-12-20 Edward Hervey <edward@fluendo.com>
4864 * gst/gstcaps.c: (gst_static_caps_get_type):
4866 API addition: GST_TYPE_STATIC_CAPS
4867 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4868 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4869 * gst/gstpadtemplate.h:
4870 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4871 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4874 2005-12-18 Wim Taymans <wim@fluendo.com>
4876 * libs/gst/base/gstadapter.c:
4877 * libs/gst/base/gstadapter.h:
4878 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4879 (gst_base_sink_get_position):
4880 * libs/gst/base/gstbasesink.h:
4881 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4882 (gst_base_src_default_query), (gst_base_src_default_do_seek),
4883 (gst_base_src_do_seek), (gst_base_src_perform_seek),
4884 (gst_base_src_send_event), (gst_base_src_update_length),
4885 (gst_base_src_get_range), (gst_base_src_loop),
4886 (gst_base_src_start):
4887 * libs/gst/base/gstbasesrc.h:
4888 * libs/gst/base/gstbasetransform.h:
4889 * libs/gst/base/gstcollectpads.h:
4890 * libs/gst/base/gstpushsrc.c:
4891 * libs/gst/base/gstpushsrc.h:
4892 * libs/gst/dataprotocol/dataprotocol.c:
4893 * libs/gst/dataprotocol/dataprotocol.h:
4894 * libs/gst/net/gstnetclientclock.h:
4895 * libs/gst/net/gstnettimeprovider.h:
4896 Documentation updates.
4898 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
4900 * docs/manual/basics-helloworld.xml:
4901 Remove superfluous closing bracket in helloworld example.
4903 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
4905 * tools/gst-launch.1.in:
4906 Update gst-launch man page; add a section with useful
4907 environment variables. Fixes #323882.
4909 2005-12-16 Stefan Kost <ensonic@users.sf.net>
4912 * gst/gst_private.h:
4913 change some char* into char[]
4915 2005-12-16 Wim Taymans <wim@fluendo.com>
4917 * gst/gstregistryxml.c: (load_feature):
4919 Don't use g_object_unref on GstObjects so that we avoid
4920 leaks on unsafe glibs.
4922 2005-12-16 Wim Taymans <wim@fluendo.com>
4924 * gst/gstbin.c: (gst_bin_recalc_state):
4927 2005-12-16 Wim Taymans <wim@fluendo.com>
4930 Added make forever target for check.
4932 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
4934 * gst/gst.c: (init_post):
4935 make the registry cache file HOST_CPU-dependent
4937 2005-12-16 Andy Wingo <wingo@pobox.com>
4939 * plugins/elements/gstbufferstore.c
4940 (gst_buffer_store_cleared_func): Pay attention to g_list_append
4943 * tests/check/gst/gstobject.c
4944 (test_fake_object_name_threaded_unique): Pay attention to
4945 g_list_sort return value.
4947 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
4949 * tools/gst-feedback-m.m:
4950 Update for 0.9/0.10 (fixes #323870).
4952 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
4954 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4955 Fix lcopy for mini objects, the mini object needs to be ref'ed.
4957 * tests/check/gst/gstminiobject.c: (my_foo_init),
4958 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4959 (test_value_collection), (gst_mini_object_suite):
4960 Add test to ensure refcounts end up as expected when passing
4961 GstMiniObjects through g_object_get() and g_object_set().
4963 2005-12-14 Julien MOUTTE <julien@moutte.net>
4965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4966 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4967 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4968 of collectpads. This version removes a lot of races without
4969 touching API/ABI. Yay !
4971 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
4973 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4974 Don't allow activation of a srcpad in pull_range if it has no
4976 Change some debug statements to be a little clearer
4978 * plugins/elements/gsttypefindelement.c:
4979 (gst_type_find_handle_src_query):
4980 Check that we have a peer before executing queries thereupon.
4982 * tests/examples/metadata/read-metadata.c: (message_loop):
4983 Use gst_bus_pop instead of gst_bus_poll when we just want it to
4984 immediately return us any available message with 0 timeout.
4986 2005-12-12 Michael Smith <msmith@fluendo.com>
4988 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4989 Don't unref factories after calling them.
4990 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4991 * plugins/elements/gsttypefindelement.c:
4992 (gst_type_find_element_chain):
4993 Free lists of factories after using them. Fixing typefinding memory
4996 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4998 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4999 (gst_plugin_feature_load):
5000 more meaningful debug output
5002 * tests/Makefile.am:
5003 * tests/old/examples/Makefile.am:
5004 make make distcheck happy again
5006 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
5008 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5009 Catch the special case where we are operating chain-based,
5010 but the downstream peer pad has no chain function. Emit a
5011 custom error message in this case instead of letting the
5012 core generate one implying that this is some sort of core
5013 bug. It's not, it just means that whatever got plugged
5014 into the pipeline downstream when we announced the type
5015 can only operate pull-based, while our source can only
5016 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
5017 Error string has not been marked for translation yet, as
5018 it probably needs some more work first.
5020 (gst_type_find_element_get_best_possibility):
5021 Add helper function to find the best of all available
5022 found possibilities that qualify given the min. threshold.
5024 (gst_type_find_element_handle_event):
5025 Fix the case where we get an EOS while still in TYPEFIND
5026 mode (we want to chose the best of all possible types,
5027 not just the first type that happens to be in our unsorted
5028 list of possible types).
5030 (gst_type_find_element_chain):
5031 Make sure we return GST_FLOW_ERROR when we errored out
5032 in stop_typefinding(); also, don't just find the best of
5033 all found type entries and then use the last examined
5034 type entry, but actually use the best entry.
5036 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
5038 * tests/examples/typefind/typefind.c: (type_found):
5039 * tests/examples/xml/runxml.c: (xml_loaded):
5040 More gcc4 fixes and a mem leak fix.
5042 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5044 * tests/examples/xml/createxml.c: (object_saved):
5047 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5049 * tests/Makefile.am:
5050 enable the examples even more
5052 2005-12-12 Andy Wingo <wingo@pobox.com>
5054 * libs/gst/net/gstnettimeprovider.c
5055 (gst_net_time_provider_class_init, gst_net_time_provider_init)
5056 (gst_net_time_provider_set_property)
5057 (gst_net_time_provider_get_property):
5058 API addition: Export "active" as a GObject property.
5059 (gst_net_time_provider_thread): Only respond to time queries if
5060 the time provider is active.
5062 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
5063 NetTimeProvider, preserving binary compat.
5065 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5067 * tests/examples/controller/audio-example.c: (main):
5068 * tests/examples/launch/Makefile.am:
5069 convert comments again
5071 2005-12-12 Wim Taymans <wim@fluendo.com>
5073 * libs/gst/base/gstpushsrc.c:
5076 2005-12-12 Wim Taymans <wim@fluendo.com>
5078 * docs/libs/gstreamer-libs-sections.txt:
5079 Added new symbol to docs.
5081 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5082 (gst_base_src_init), (gst_base_src_set_format),
5083 (gst_base_src_default_query), (gst_base_src_query),
5084 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
5085 (gst_base_src_perform_seek), (gst_base_src_send_event),
5086 (gst_base_src_default_event), (gst_base_src_event_handler),
5087 (gst_base_src_set_property), (gst_base_src_get_property),
5088 (gst_base_src_wait), (gst_base_src_do_sync),
5089 (gst_base_src_update_length), (gst_base_src_get_range),
5090 (gst_base_src_check_get_range), (gst_base_src_loop),
5091 (gst_base_src_default_negotiate), (gst_base_src_start),
5092 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5093 (gst_base_src_change_state):
5094 * libs/gst/base/gstbasesrc.h:
5095 Implement seeking to other formats than _BYTES.
5096 Implement more seeking methods correctly.
5098 Added query vmethod.
5099 Added do_seek vmethod to make life easier for subclasses
5101 API addition: gst_base_src_set_format()
5103 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5105 * tests/examples/Makefile.am:
5108 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5111 * docs/random/ensonic/media-device-daemon.txt:
5112 * tests/examples/controller/.cvsignore:
5113 * tests/examples/controller/Makefile.am:
5114 * tests/examples/controller/audio-example.c: (main):
5115 * tests/examples/helloworld/.cvsignore:
5116 * tests/examples/helloworld/Makefile.am:
5117 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
5118 * tests/examples/launch/.cvsignore:
5119 * tests/examples/launch/Makefile.am:
5120 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
5121 * tests/examples/metadata/.cvsignore:
5122 * tests/examples/metadata/Makefile.am:
5123 * tests/examples/metadata/read-metadata.c: (message_loop),
5124 (make_pipeline), (print_tag), (main):
5125 * tests/examples/queue/.cvsignore:
5126 * tests/examples/queue/Makefile.am:
5127 * tests/examples/queue/queue.c: (event_loop), (main):
5128 * tests/examples/typefind/.cvsignore:
5129 * tests/examples/typefind/Makefile.am:
5130 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
5132 * tests/examples/xml/.cvsignore:
5133 * tests/examples/xml/Makefile.am:
5134 * tests/examples/xml/createxml.c: (object_saved), (main):
5135 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
5136 * tests/old/examples/Makefile.am:
5137 * tests/old/examples/TODO:
5138 * tests/old/examples/controller/.cvsignore:
5139 * tests/old/examples/controller/Makefile.am:
5140 * tests/old/examples/controller/audio-example.c:
5141 * tests/old/examples/helloworld/.cvsignore:
5142 * tests/old/examples/helloworld/Makefile.am:
5143 * tests/old/examples/helloworld/helloworld.c:
5144 * tests/old/examples/launch/.cvsignore:
5145 * tests/old/examples/launch/Makefile.am:
5146 * tests/old/examples/launch/mp3parselaunch.c:
5147 * tests/old/examples/launch/mp3play:
5148 * tests/old/examples/manual/Makefile.am:
5149 * tests/old/examples/metadata/Makefile.am:
5150 * tests/old/examples/metadata/read-metadata.c:
5151 * tests/old/examples/queue/.cvsignore:
5152 * tests/old/examples/queue/Makefile.am:
5153 * tests/old/examples/queue/queue.c:
5154 * tests/old/examples/typefind/.cvsignore:
5155 * tests/old/examples/typefind/Makefile.am:
5156 * tests/old/examples/typefind/typefind.c:
5157 * tests/old/examples/xml/.cvsignore:
5158 * tests/old/examples/xml/Makefile.am:
5159 * tests/old/examples/xml/createxml.c:
5160 * tests/old/examples/xml/runxml.c:
5161 applied some simple fixing to some examples
5162 re-enabled the working examples
5164 2005-12-12 Wim Taymans <wim@fluendo.com>
5166 * gst/gstsegment.c: (gst_segment_init),
5167 (gst_segment_set_last_stop), (gst_segment_set_seek),
5168 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
5169 (gst_segment_to_running_time):
5170 Added more documentation.
5171 Make sure the last_pos value is updated properly.
5172 Make sure to_stream_time and to_running_time don't
5173 operate on wrong values.
5175 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5178 2005-12-12 Michael Smith <msmith@fluendo.com>
5180 * plugins/elements/gsttypefindelement.c: (free_entry),
5181 (gst_type_find_element_chain):
5182 Now that we're not leaking factories, make sure we keep references
5183 to them while we need them.
5185 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
5187 * tests/check/gst/struct_i386.h:
5188 ifdef out the XML structs
5190 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
5192 * gst/gstvalue.c: (gst_value_transform_double_fraction):
5193 floor is not needed, F is always positive; this obviates the
5194 need for adding -lm when building without libxml
5196 2005-12-12 Wim Taymans <wim@fluendo.com>
5198 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5199 Take current playback rate into account when reporting
5202 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5204 * docs/manual/mime-world.fig:
5205 Let's try this again, this time with a file that is
5206 actually in XFig format.
5208 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5210 * docs/manual/mime-world.fig:
5211 Add audioconvert element to diagram so that it
5212 matches the text and the code (fixes #319526).
5214 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5216 * docs/pwg/building-chainfn.xml:
5217 * docs/pwg/building-pads.xml:
5218 * docs/pwg/building-state.xml:
5219 * docs/pwg/other-source.xml:
5220 Update state change stuff for 0.10 (fixes #322969).
5222 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5224 * docs/manual/advanced-dataaccess.xml:
5225 * docs/manual/appendix-checklist.xml:
5226 * docs/manual/appendix-programs.xml:
5227 * docs/manual/basics-pads.xml:
5228 * docs/manual/highlevel-components.xml:
5229 * docs/manual/manual.xml:
5230 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
5231 add converters in front of pipelines; remove curly
5232 brackets for threads stuff, they no longer exist; use
5233 GST_TYPE_FRACTION for framerates; update some pieces of
5234 code to 0.10, but there's plenty more to do.
5236 * docs/manual/appendix-porting.xml:
5237 Expand on asynchroneous state changes; s/0.9/0.10/;
5238 mention disappearance of gst_init_get_popt_table()
5241 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5243 * docs/faq/using.xml:
5244 Spider no longer exists, and neither does gst-launch-ext.
5245 Update examples to use decodebin and playbin and put
5246 converters in front of sinks (fixes #323726).
5248 2005-12-09 Michael Smith <msmith@fluendo.com>
5250 * plugins/elements/gsttypefindelement.c: (find_peek),
5251 (gst_type_find_element_chain):
5252 Fix leaking element factories in typefinding.
5253 Fix problem where we forgot about a probable type on non-seekable
5254 files, and thus later mis-typefound it.
5256 2005-12-09 Michael Smith <msmith@fluendo.com>
5258 * common/m4/gst-makecontext.m4:
5259 * common/m4/gst-mcsc.m4:
5261 * win32/common/config.h:
5262 * win32/common/config.h.in:
5263 Remove makecontext stuff; not used in 0.10 and causes problems on
5264 HPUX according to bug #322441
5266 2005-12-07 Wim Taymans <wim@fluendo.com>
5268 * tests/check/Makefile.am:
5269 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
5271 * tests/check/libs/struct_i386.h:
5272 Added ABI check for libs
5274 2005-12-07 Wim Taymans <wim@fluendo.com>
5276 * tests/check/Makefile.am:
5277 And add the struct_i386.h to dist.
5279 2005-12-07 Wim Taymans <wim@fluendo.com>
5281 * tests/check/Makefile.am:
5282 * tests/check/gst/.cvsignore:
5283 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
5285 * tests/check/gst/struct_i386.h:
5286 Added check for ABI compatibility.
5288 2005-12-07 Wim Taymans <wim@fluendo.com>
5290 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5291 (gst_fake_src_get_times), (gst_fake_src_create):
5292 Fix broken sync option, fixes #323259
5294 2005-12-07 Wim Taymans <wim@fluendo.com>
5299 * gst/gstcaps.c: (gst_caps_is_equal):
5300 Don't assert on NULL <--> X. Fixes #323260
5302 * gst/gstminiobject.c: (gst_mini_object_replace):
5303 If we're doing atomic operations, we might just as well use
5304 the proper way to get an atomic pointer.
5306 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5309 2005-12-07 Michael Smith <msmith@fluendo.com>
5311 * gst/parse/grammar.y:
5312 Remove handling of { } for threads.
5314 2005-12-06 David Schleef <ds@schleef.org>
5316 * libs/gst/base/gstbasetransform.c: speling fix.
5318 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
5320 * docs/libs/tmpl/gstdataprotocol.sgml:
5321 * docs/random/omega/testing/gstobject.c:
5325 * gst/gstelementfactory.c:
5328 * gst/gstghostpad.c:
5330 * gst/gstpadtemplate.c:
5331 * gst/gstregistryxml.c:
5333 * gst/gsttagsetter.c:
5334 * gst/gsttypefind.c:
5336 * libs/gst/base/gstbasesrc.c:
5337 * libs/gst/net/gstnetclientclock.c:
5338 * libs/gst/net/gstnettimeprovider.c:
5339 * plugins/elements/gstfakesrc.c:
5340 * plugins/elements/gstfdsrc.c:
5341 * plugins/elements/gstfilesrc.c:
5342 * plugins/elements/gstidentity.c:
5343 * plugins/elements/gstqueue.c:
5344 * plugins/elements/gsttypefindelement.c:
5345 * plugins/indexers/gstfileindex.c:
5346 * plugins/indexers/gstmemindex.c:
5347 * tests/check/gst/gsttag.c:
5348 * tests/old/examples/cutter/cutter.c:
5349 * tests/old/examples/mixer/mixer.c:
5350 * tests/old/examples/xml/runxml.c: (main):
5351 * tests/old/testsuite/caps/normalisation.c:
5352 * tests/old/testsuite/debug/global.c:
5353 * tests/old/testsuite/parse/parse1.c:
5354 * tools/gst-xmlinspect.c:
5355 * win32/common/dirent.c:
5358 === release 0.10.0 ===
5360 2005-12-05 <thomas (at) apestaart (dot) org>
5363 releasing 0.10.0, "Maroilles"
5365 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5367 submitted by: Funda Wang <fundawang@linux.net.cn>
5371 added Chinese (Traditional) translation
5373 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5375 * docs/gst/gstreamer-sections.txt:
5376 * docs/libs/tmpl/gstdataprotocol.sgml:
5377 * docs/random/thomasvs/TODO:
5382 2005-12-05 Andy Wingo <wingo@pobox.com>
5384 patch by: Wim Taymans <wim@fluendo.com>
5386 * libs/gst/base/gstbasetransform.c
5387 (gst_base_transform_prepare_output_buf)
5388 (gst_base_transform_buffer_alloc):
5389 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
5390 alloc_buffer_and_set_caps.
5392 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
5393 set_caps on the source pad.
5394 (gst_pad_alloc_buffer_and_set_caps): New function, does what
5395 alloc_buffer used to do. Fixes #322874.
5397 * docs/gst/gstreamer-sections.txt:
5398 * docs/design/part-negotiation.txt:
5399 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
5402 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5404 patch by: Sebastien Moutte
5407 * win32/common/config.h.in:
5408 * win32/vs6/libgstcontroller.dsp:
5411 2005-12-05 Wim Taymans <wim@fluendo.com>
5413 * gst/gstcaps.c: (gst_caps_is_equal):
5414 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5415 (gst_fake_src_create):
5416 Back out previous code changes, leave doc updates, file bugs
5419 2005-12-05 Wim Taymans <wim@fluendo.com>
5421 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5422 (gst_fake_src_get_times), (gst_fake_src_create):
5423 * plugins/elements/gstfakesrc.h:
5424 Fix broken sync code.
5426 2005-12-05 Wim Taymans <wim@fluendo.com>
5428 * gst/gstcaps.c: (gst_caps_is_equal):
5429 Comparing NULL against !NULL yields different caps, not a
5432 2005-12-05 Wim Taymans <wim@fluendo.com>
5434 * gst/gstpipeline.c:
5435 Fix small typo in docs.
5437 2005-12-05 Andy Wingo <wingo@pobox.com>
5439 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
5441 * gst/gst.c (init_post): remove hard-coded 0.9 location for
5442 registries/plugins with a MAJORMINOR one.
5443 (plugin_desc): Rename library from gstcoreleements to
5444 staticelements. Fixes #323222.
5446 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
5448 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
5449 Change debug category to 'collectpads' from 'collect_pads'
5452 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
5454 patch by: Sebastien Moutte
5456 * libs/gst/controller/gstinterpolation.c:
5457 use convert function for uint64/double
5458 * win32/vs6/libgstcontroller.dsp:
5461 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
5463 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
5464 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
5466 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5467 add tests that seem to show that the guint64/gdouble conversions
5470 2005-12-02 Wim Taymans <wim@fluendo.com>
5472 * gst/gstregistry.c: (gst_registry_add_path):
5473 * gst/gstregistry.h:
5474 * gst/gstregistryxml.c:
5477 2005-12-02 Wim Taymans <wim@fluendo.com>
5479 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5480 (gst_util_uint64_scale_int):
5483 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5486 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
5489 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
5492 * win32/common/config.h:
5493 * win32/vs6/gstreamer.dsw:
5494 * win32/vs6/libgstcoreelements.dsp:
5495 * win32/vs6/libgstelements.dsp:
5496 renamed core elements plugin
5498 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
5500 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5502 do piece-wise major/minor comparison so 0.9 < 0.10
5503 also allow .exe extensions for tools
5505 2005-12-02 Michael Smith <msmith@fluendo.com>
5508 Escape a % to make gtkdoc happier; bug 322958.
5510 === release 0.9.7 ===
5512 2005-12-01 <thomas (at) apestaart (dot) org>
5515 releasing 0.9.7, "My Dog Has No Nose"
5517 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5519 * common/gst-xmlinspect.py:
5521 * docs/libs/tmpl/gstdataprotocol.sgml:
5522 * docs/random/release:
5541 * win32/common/config.h:
5542 * win32/common/config.h.in:
5543 * win32/vs6/gst_inspect.dsp:
5544 * win32/vs6/gst_launch.dsp:
5545 * win32/vs6/libgstbase.dsp:
5546 * win32/vs6/libgstelements.dsp:
5547 * win32/vs6/libgstreamer.dsp:
5548 * win32/vs7/GStreamer.vcproj:
5549 * win32/vs7/gst-inspect.vcproj:
5550 * win32/vs7/gst-launch.vcproj:
5551 * win32/vs7/libgstbase.vcproj:
5552 bump GST_MAJORMINOR to 0.10
5553 reset libtool version
5555 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5559 Added Bulgarian translation by (Alexander Shopov)
5561 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5563 * tests/check/gst/gstplugin.c:
5566 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5568 * common/gst-xmlinspect.py:
5569 * common/gtk-doc-plugins.mak:
5572 * docs/gst/Makefile.am:
5573 * docs/gst/gstreamer-docs.sgml:
5574 * docs/gst/gstreamer-sections.txt:
5575 * docs/gst/gstreamer.types:
5576 * docs/gst/gstreamer.types.in:
5577 * docs/plugins/Makefile.am:
5578 * docs/plugins/gstreamer-plugins-docs.sgml:
5579 * docs/plugins/gstreamer-plugins-sections.txt:
5580 * docs/plugins/gstreamer-plugins.types:
5581 * docs/plugins/inspect.stamp:
5582 * docs/plugins/inspect/plugin-coreelements.xml:
5583 * docs/plugins/inspect/plugin-coreindexers.xml:
5584 * docs/plugins/scanobj-build.stamp:
5585 * gstreamer.spec.in:
5586 * plugins/elements/Makefile.am:
5587 * plugins/elements/gstelements.c:
5588 * plugins/elements/gstfakesink.c:
5589 * plugins/elements/gstfakesrc.c:
5590 * plugins/elements/gstfilesink.c:
5591 * plugins/elements/gstfilesrc.c:
5592 * plugins/elements/gstqueue.c:
5593 * plugins/indexers/Makefile.am:
5594 * plugins/indexers/gstindexers.c:
5595 document core plugins in a separate document just like all the
5597 rename these plugins to something starting with core
5599 2005-12-01 Andy Wingo <wingo@pobox.com>
5601 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5602 padding here before, but it missed the commit.
5604 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5606 * libs/gst/controller/gstinterpolation.c:
5607 whitespace prices have crashed, we should feel free to use some now
5608 use gst_guint64_to_gdouble
5610 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5612 * libs/gst/controller/gstcontroller.c:
5613 * libs/gst/controller/gsthelper.c:
5614 * libs/gst/controller/gstinterpolation.c:
5615 * libs/gst/controller/lib.c:
5616 wrap config.h include
5618 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5620 * docs/gst/gstreamer-sections.txt:
5623 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5625 * plugins/elements/gstelements.c:
5626 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5627 (gst_fd_sink__class_init), (gst_fd_sink__init),
5628 (gst_fd_sink__chain), (gst_fd_sink__set_property),
5629 (gst_fd_sink__get_property):
5630 * plugins/elements/gstfdsink.h:
5631 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5632 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5633 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5634 (gst_fd_src_unlock), (gst_fd_src_set_property),
5635 (gst_fd_src_get_property), (gst_fd_src_create),
5636 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5637 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5638 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5639 (gst_fd_src_uri_handler_init):
5640 * plugins/elements/gstfdsrc.h:
5641 * plugins/elements/gstqueue.c: (gst_queue_get_type):
5644 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5646 * docs/gst/Makefile.am:
5647 * docs/gst/gstreamer.types.in:
5651 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5657 * gst/gstregistry.h:
5658 * tests/benchmarks/complexity.c:
5659 * tests/benchmarks/mass-elements.c:
5660 * tests/check/Makefile.am:
5661 * tools/Makefile.am:
5662 * tools/gst-inspect.c:
5663 * tools/gst-xmlinspect.c:
5664 various fixes to make
5665 --disable-nls --disable-registry --disable-loadsave
5666 --disable-parse --disable-gst-debug
5667 work and get the core .so down to 360444 bytes after stripping
5669 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5674 * docs/random/thomasvs/TODO:
5675 * tests/Makefile.am:
5679 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5681 * win32/GStreamer.vcproj:
5684 * win32/Makefile.inspect:
5685 * win32/Makefile.launch:
5686 * win32/Makefile.register:
5688 * win32/gst-inspect.vcproj:
5689 * win32/gst-launch.vcproj:
5690 * win32/gst-register.vcproj:
5691 * win32/gstelements.vcproj:
5692 * win32/gstgetbits.def:
5693 * win32/gstgetbits.vcproj:
5694 * win32/gstreamer-dbg.def:
5695 * win32/gstreamer.def:
5696 * win32/libgstbase.def:
5697 * win32/libgstbase.vcproj:
5698 * win32/link_oldruntime.c:
5703 move even more stuff, win32/ is nice and clean now
5705 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5707 * libs/gst/control/.cvsignore:
5712 * win32/gstbytestream.def:
5713 * win32/gstbytestream.vcproj:
5714 * win32/gstconfig.h:
5715 * win32/gstenumtypes.c:
5716 * win32/gstenumtypes.h:
5717 * win32/gstoptimalscheduler.vcproj:
5718 * win32/gstversion.h:
5720 * win32/testsuite/bins.vcproj:
5721 * win32/testsuite/bytestream.vcproj:
5722 * win32/testsuite/caps.vcproj:
5723 * win32/testsuite/cleanup.vcproj:
5724 * win32/testsuite/clock.vcproj:
5725 * win32/testsuite/debug.vcproj:
5726 * win32/testsuite/dlopen.vcproj:
5727 * win32/testsuite/dynparams.vcproj:
5728 * win32/testsuite/elements.vcproj:
5729 * win32/testsuite/ghostpads.vcproj:
5730 * win32/testsuite/indexers.vcproj:
5731 * win32/testsuite/negotiation.vcproj:
5732 * win32/testsuite/parse.vcproj:
5733 * win32/testsuite/plugin.vcproj:
5734 * win32/testsuite/refcounting.vcproj:
5735 * win32/testsuite/schedulers.vcproj:
5736 * win32/testsuite/states.vcproj:
5737 * win32/testsuite/tags.vcproj:
5738 * win32/testsuite/threads.vcproj:
5739 remove old win32 stuff that isn't maintained and should be
5742 2005-11-30 Andy Wingo <wingo@pobox.com>
5744 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5745 loading the gst.interfaces python module bork.
5747 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5748 available since GLib 2.2. Fixes #318031.
5750 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5754 * check/Makefile.am:
5755 * check/elements/.cvsignore:
5756 * check/elements/fakesrc.c:
5757 * check/elements/fdsrc.c:
5758 * check/elements/identity.c:
5759 * check/generic/.cvsignore:
5760 * check/generic/states.c:
5761 * check/gst-libs/.cvsignore:
5762 * check/gst-libs/controller.c:
5763 * check/gst-libs/gdp.c:
5764 * check/gst/.cvsignore:
5765 * check/gst/capslist.h:
5767 * check/gst/gstbin.c:
5768 * check/gst/gstbuffer.c:
5769 * check/gst/gstbus.c:
5770 * check/gst/gstcaps.c:
5771 * check/gst/gstelement.c:
5772 * check/gst/gstevent.c:
5773 * check/gst/gstghostpad.c:
5774 * check/gst/gstiterator.c:
5775 * check/gst/gstmessage.c:
5776 * check/gst/gstminiobject.c:
5777 * check/gst/gstobject.c:
5778 * check/gst/gstpad.c:
5779 * check/gst/gstpipeline.c:
5780 * check/gst/gstplugin.c:
5781 * check/gst/gstsegment.c:
5782 * check/gst/gststructure.c:
5783 * check/gst/gstsystemclock.c:
5784 * check/gst/gsttag.c:
5785 * check/gst/gstutils.c:
5786 * check/gst/gstvalue.c:
5787 * check/net/.cvsignore:
5788 * check/net/gstnetclientclock.c:
5789 * check/net/gstnettimeprovider.c:
5790 * check/pipelines/.cvsignore:
5791 * check/pipelines/cleanup.c:
5792 * check/pipelines/simple_launch_lines.c:
5793 * check/pipelines/stress.c:
5794 * check/states/.cvsignore:
5795 * check/states/sinks.c:
5797 * examples/Makefile.am:
5798 * examples/appreader/.cvsignore:
5799 * examples/appreader/Makefile.am:
5800 * examples/appreader/appreader.c:
5801 * examples/controller/.cvsignore:
5802 * examples/controller/Makefile.am:
5803 * examples/controller/audio-example.c:
5804 * examples/cutter/.cvsignore:
5805 * examples/cutter/Makefile.am:
5806 * examples/cutter/cutter.c:
5807 * examples/cutter/cutter.h:
5808 * examples/events/Makefile.am:
5809 * examples/events/seek.c:
5810 * examples/helloworld/.cvsignore:
5811 * examples/helloworld/Makefile.am:
5812 * examples/helloworld/helloworld.c:
5813 * examples/helloworld2/.cvsignore:
5814 * examples/helloworld2/Makefile.am:
5815 * examples/helloworld2/helloworld2.c:
5816 * examples/launch/.cvsignore:
5817 * examples/launch/Makefile.am:
5818 * examples/launch/mp3parselaunch.c:
5819 * examples/launch/mp3play:
5820 * examples/manual/.cvsignore:
5821 * examples/manual/Makefile.am:
5822 * examples/manual/extract.pl:
5823 * examples/metadata/Makefile.am:
5824 * examples/metadata/read-metadata.c:
5825 * examples/mixer/.cvsignore:
5826 * examples/mixer/Makefile.am:
5827 * examples/mixer/mixer.c:
5828 * examples/mixer/mixer.h:
5829 * examples/pingpong/.cvsignore:
5830 * examples/pingpong/Makefile.am:
5831 * examples/pingpong/pingpong.c:
5832 * examples/plugins/.cvsignore:
5833 * examples/plugins/Makefile.am:
5834 * examples/plugins/example.c:
5835 * examples/plugins/example.h:
5836 * examples/pwg/.cvsignore:
5837 * examples/pwg/Makefile.am:
5838 * examples/pwg/extract.pl:
5839 * examples/queue/.cvsignore:
5840 * examples/queue/Makefile.am:
5841 * examples/queue/queue.c:
5842 * examples/queue2/.cvsignore:
5843 * examples/queue2/Makefile.am:
5844 * examples/queue2/queue2.c:
5845 * examples/queue3/.cvsignore:
5846 * examples/queue3/Makefile.am:
5847 * examples/queue3/queue3.c:
5848 * examples/queue4/.cvsignore:
5849 * examples/queue4/Makefile.am:
5850 * examples/queue4/queue4.c:
5851 * examples/retag/.cvsignore:
5852 * examples/retag/Makefile.am:
5853 * examples/retag/retag.c:
5854 * examples/retag/transcode.c:
5855 * examples/thread/.cvsignore:
5856 * examples/thread/Makefile.am:
5857 * examples/thread/thread.c:
5858 * examples/typefind/.cvsignore:
5859 * examples/typefind/Makefile.am:
5860 * examples/typefind/typefind.c:
5861 * examples/xml/.cvsignore:
5862 * examples/xml/Makefile.am:
5863 * examples/xml/createxml.c:
5864 * examples/xml/runxml.c:
5865 * tests/Makefile.am:
5866 * tests/check/Makefile.am:
5867 * testsuite/.cvsignore:
5868 * testsuite/Makefile.am:
5870 * testsuite/caps/.cvsignore:
5871 * testsuite/caps/Makefile.am:
5872 * testsuite/caps/app_fixate.c:
5873 * testsuite/caps/audioscale.c:
5874 * testsuite/caps/caps.c:
5875 * testsuite/caps/caps.h:
5876 * testsuite/caps/caps_strings:
5877 * testsuite/caps/compatibility.c:
5878 * testsuite/caps/deserialize.c:
5879 * testsuite/caps/enumcaps.c:
5880 * testsuite/caps/eratosthenes.c:
5881 * testsuite/caps/filtercaps.c:
5882 * testsuite/caps/fixed.c:
5883 * testsuite/caps/fraction-convert.c:
5884 * testsuite/caps/fraction-multiply-and-zero.c:
5885 * testsuite/caps/intersect2.c:
5886 * testsuite/caps/intersection.c:
5887 * testsuite/caps/normalisation.c:
5888 * testsuite/caps/random.c:
5889 * testsuite/caps/renegotiate.c:
5890 * testsuite/caps/sets.c:
5891 * testsuite/caps/simplify.c:
5892 * testsuite/caps/string-conversions.c:
5893 * testsuite/caps/structure.c:
5894 * testsuite/caps/subtract.c:
5895 * testsuite/caps/union.c:
5896 * testsuite/debug/.cvsignore:
5897 * testsuite/debug/Makefile.am:
5898 * testsuite/debug/category.c:
5899 * testsuite/debug/commandline.c:
5900 * testsuite/debug/global.c:
5901 * testsuite/debug/output.c:
5902 * testsuite/debug/printf_extension.c:
5903 * testsuite/dlopen/.cvsignore:
5904 * testsuite/dlopen/Makefile.am:
5905 * testsuite/dlopen/dlopen_gst.c:
5906 * testsuite/dlopen/loadgst.c:
5907 * testsuite/elements/.cvsignore:
5908 * testsuite/elements/Makefile.am:
5909 * testsuite/elements/gst-inspect-check.in:
5910 * testsuite/elements/struct_i386.h:
5911 * testsuite/elements/struct_size.c:
5912 * testsuite/indexers/.cvsignore:
5913 * testsuite/indexers/Makefile.am:
5914 * testsuite/indexers/cache1.c:
5915 * testsuite/indexers/indexdump.c:
5916 * testsuite/parse/.cvsignore:
5917 * testsuite/parse/Makefile.am:
5918 * testsuite/parse/parse1.c:
5919 * testsuite/parse/parse2.c:
5920 * testsuite/plugin/.cvsignore:
5921 * testsuite/plugin/Makefile.am:
5922 * testsuite/plugin/README:
5923 * testsuite/plugin/dynamic.c:
5924 * testsuite/plugin/linked.c:
5925 * testsuite/plugin/loading.c:
5926 * testsuite/plugin/registry.c:
5927 * testsuite/plugin/static.c:
5928 * testsuite/plugin/static2.c:
5929 * testsuite/plugin/testplugin.c:
5930 * testsuite/plugin/testplugin2.c:
5931 * testsuite/plugin/testplugin2_s.c:
5932 * testsuite/plugin/testplugin_s.c:
5933 * testsuite/refcounting/.cvsignore:
5934 * testsuite/refcounting/Makefile.am:
5935 * testsuite/refcounting/bin.c:
5936 * testsuite/refcounting/element.c:
5937 * testsuite/refcounting/element_pad.c:
5938 * testsuite/refcounting/mainloop.c:
5939 * testsuite/refcounting/mem.c:
5940 * testsuite/refcounting/mem.h:
5941 * testsuite/refcounting/object.c:
5942 * testsuite/refcounting/pad.c:
5943 * testsuite/refcounting/sched.c:
5944 * testsuite/refcounting/thread.c:
5945 * testsuite/states/.cvsignore:
5946 * testsuite/states/Makefile.am:
5947 * testsuite/states/bin.c:
5948 * testsuite/states/locked.c:
5949 * testsuite/states/parent.c:
5950 * testsuite/threads/.cvsignore:
5951 * testsuite/threads/159566.c:
5952 * testsuite/threads/159852.c:
5953 * testsuite/threads/Makefile.am:
5954 * testsuite/threads/queue.c:
5955 * testsuite/threads/signals.c:
5956 * testsuite/threads/staticrec.c:
5957 * testsuite/threads/thread.c:
5958 * testsuite/threads/threadb.c:
5959 * testsuite/threads/threadc.c:
5960 * testsuite/threads/threadd.c:
5961 * testsuite/threads/threade.c:
5962 * testsuite/threads/threadf.c:
5963 * testsuite/threads/threadg.c:
5964 * testsuite/threads/threadh.c:
5965 * testsuite/threads/threadi.c:
5966 move all of these under tests
5968 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5971 * tests/Makefile.am:
5974 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5976 * docs/gst/gstreamer-sections.txt:
5977 * tests/sched/.cvsignore:
5978 * tests/sched/Makefile.am:
5979 * tests/sched/cases/(fs-fs).xml:
5980 * tests/sched/cases/(fs-i-fs).xml:
5981 * tests/sched/cases/(fs-i-i-fs).xml:
5982 * tests/sched/cases/(fs-i-q[i-fs]).xml:
5983 * tests/sched/dynamic-pipeline.c:
5984 * tests/sched/interrupt1.c:
5985 * tests/sched/interrupt2.c:
5986 * tests/sched/interrupt3.c:
5987 * tests/sched/runtestcases:
5988 * tests/sched/runxml.c:
5989 * tests/sched/sched-stress.c:
5990 * tests/sched/sort.c:
5991 * tests/sched/testcases:
5992 * tests/sched/testcases1.tc:
5993 * tests/seeking/.cvsignore:
5994 * tests/seeking/Makefile.am:
5995 * tests/seeking/seeking1.c:
5996 * tests/threadstate/.cvsignore:
5997 * tests/threadstate/Makefile.am:
5998 * tests/threadstate/test1.c:
5999 * tests/threadstate/test2.c:
6000 * tests/threadstate/threadstate1.c:
6001 * tests/threadstate/threadstate2.c:
6002 * tests/threadstate/threadstate3.c:
6003 * tests/threadstate/threadstate4.c:
6004 * tests/threadstate/threadstate5.c:
6005 remove obsolete tests
6007 * tests/bench-complexity.scm:
6008 * tests/bench-mass_elements.scm:
6009 * tests/complexity.c:
6010 * tests/complexity.gnuplot:
6011 * tests/instantiate/.cvsignore:
6012 * tests/instantiate/Makefile.am:
6013 * tests/instantiate/caps.c:
6014 * tests/mass_elements.c:
6015 * tests/network-clock-utils.scm:
6016 * tests/network-clock.scm:
6018 First pass at cleaning up tests/ dir before moving the rest
6019 Combined with CVS surgery
6021 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6024 queue has moved, update
6026 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6028 * docs/gst/gstreamer-sections.txt:
6029 remove double entries from the docs
6030 * gst/gst_private.h:
6031 * gst/gstinfo.c: (_gst_debug_init):
6032 remove the THREAD debug category
6036 * docs/gst/gstreamer.types:
6037 * plugins/elements/gstqueue.c: (gst_queue_get_type),
6038 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
6039 completely move queue and fix up debugging categories
6041 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6043 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6044 make initialization portable, using LL is not
6046 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6048 * win32/common/gstconfig.h:
6051 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6053 * win32/common/libgstreamer.def:
6054 rename symbols; sort base section
6056 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6058 * gst/gstclock.c: (do_linear_regression):
6059 remove crack non-portable handrolled DEBUG macro
6061 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6063 * docs/random/release:
6065 * win32/common/gstenumtypes.c: (register_gst_object_flags),
6066 (gst_object_flags_get_type), (register_gst_bin_flags),
6067 (gst_bin_flags_get_type), (register_gst_buffer_flag),
6068 (gst_buffer_flag_get_type), (register_gst_bus_flags),
6069 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
6070 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
6071 (gst_caps_flags_get_type), (register_gst_clock_return),
6072 (gst_clock_return_get_type), (register_gst_clock_entry_type),
6073 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
6074 (gst_clock_flags_get_type), (register_gst_state),
6075 (gst_state_get_type), (register_gst_state_change_return),
6076 (gst_state_change_return_get_type), (register_gst_state_change),
6077 (gst_state_change_get_type), (register_gst_element_flags),
6078 (gst_element_flags_get_type), (register_gst_core_error),
6079 (gst_core_error_get_type), (register_gst_library_error),
6080 (gst_library_error_get_type), (register_gst_resource_error),
6081 (gst_resource_error_get_type), (register_gst_stream_error),
6082 (gst_stream_error_get_type), (register_gst_event_type_flags),
6083 (gst_event_type_flags_get_type), (register_gst_event_type),
6084 (gst_event_type_get_type), (register_gst_seek_type),
6085 (gst_seek_type_get_type), (register_gst_seek_flags),
6086 (gst_seek_flags_get_type), (register_gst_format),
6087 (gst_format_get_type), (register_gst_index_certainty),
6088 (gst_index_certainty_get_type), (register_gst_index_entry_type),
6089 (gst_index_entry_type_get_type),
6090 (register_gst_index_lookup_method),
6091 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
6092 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
6093 (gst_index_resolver_method_get_type), (register_gst_index_flags),
6094 (gst_index_flags_get_type), (register_gst_debug_level),
6095 (gst_debug_level_get_type), (register_gst_debug_color_flags),
6096 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
6097 (gst_iterator_result_get_type), (register_gst_iterator_item),
6098 (gst_iterator_item_get_type), (register_gst_message_type),
6099 (gst_message_type_get_type), (register_gst_mini_object_flags),
6100 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
6101 (gst_pad_link_return_get_type), (register_gst_flow_return),
6102 (gst_flow_return_get_type), (register_gst_activate_mode),
6103 (gst_activate_mode_get_type), (register_gst_pad_direction),
6104 (gst_pad_direction_get_type), (register_gst_pad_flags),
6105 (gst_pad_flags_get_type), (register_gst_pad_presence),
6106 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
6107 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
6108 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
6109 (gst_plugin_error_get_type), (register_gst_plugin_flags),
6110 (gst_plugin_flags_get_type), (register_gst_rank),
6111 (gst_rank_get_type), (register_gst_query_type),
6112 (gst_query_type_get_type), (register_gst_tag_merge_mode),
6113 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
6114 (gst_tag_flag_get_type), (register_gst_task_state),
6115 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
6116 (gst_alloc_trace_flags_get_type),
6117 (register_gst_type_find_probability),
6118 (gst_type_find_probability_get_type), (register_gst_uri_type),
6119 (gst_uri_type_get_type), (register_gst_parse_error),
6120 (gst_parse_error_get_type):
6121 * win32/common/gstenumtypes.h:
6122 * win32/common/gstversion.h:
6123 update visual studio generated files
6125 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6127 * win32/vs6/libgstbase.dsp:
6128 * win32/vs6/libgstelements.dsp:
6129 update project files for new locations
6131 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6136 reinstate and update
6141 * docs/random/LICENSE:
6144 2005-11-30 Edward Hervey <edward@fluendo.com>
6146 * gst/gsttypefind.c: (gst_type_find_register):
6147 * gst/gsttypefind.h:
6148 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
6149 (gst_type_find_factory_dispose):
6150 * gst/gsttypefindfactory.h:
6151 Fix memory leak in GstTypeFindFactory.
6153 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6156 * plugins/elements/Makefile.am:
6157 * plugins/elements/gstelements.c:
6158 * plugins/elements/gstqueue.c:
6159 move queue from core to the elements plugin
6161 2005-11-29 Andy Wingo <wingo@pobox.com>
6163 * libs/gst/base/gstbasetransform.h:
6164 * libs/gst/base/gstbasesrc.h:
6165 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
6167 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
6168 of pointers by which to pad very extensible base classes (like the
6169 ones in libs/gst/base).
6171 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6173 * docs/gst/gstreamer-docs.sgml:
6174 * docs/gst/gstreamer-sections.txt:
6175 * docs/libs/gstreamer-libs-docs.sgml:
6176 * docs/libs/gstreamer-libs-sections.txt:
6177 moving documentation from core to lib
6179 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6181 * check/Makefile.am:
6183 * docs/gst/Makefile.am:
6185 * gst/base/.cvsignore:
6186 * gst/base/Makefile.am:
6188 * gst/base/gstadapter.c:
6189 * gst/base/gstadapter.h:
6190 * gst/base/gstbasesink.c:
6191 * gst/base/gstbasesink.h:
6192 * gst/base/gstbasesrc.c:
6193 * gst/base/gstbasesrc.h:
6194 * gst/base/gstbasetransform.c:
6195 * gst/base/gstbasetransform.h:
6196 * gst/base/gstcollectpads.c:
6197 * gst/base/gstcollectpads.h:
6198 * gst/base/gstpushsrc.c:
6199 * gst/base/gstpushsrc.h:
6200 * gst/base/gsttypefindhelper.c:
6201 * gst/base/gsttypefindhelper.h:
6202 * gst/check/Makefile.am:
6203 * gst/check/gstcheck.c:
6204 * gst/check/gstcheck.h:
6205 * gst/net/Makefile.am:
6207 * gst/net/gstnetclientclock.c:
6208 * gst/net/gstnetclientclock.h:
6209 * gst/net/gstnettimepacket.c:
6210 * gst/net/gstnettimepacket.h:
6211 * gst/net/gstnettimeprovider.c:
6212 * gst/net/gstnettimeprovider.h:
6213 * libs/gst/Makefile.am:
6214 * libs/gst/base/Makefile.am:
6215 * libs/gst/base/gstbasetransform.c:
6216 * libs/gst/check/Makefile.am:
6217 * plugins/elements/Makefile.am:
6219 CVS surgery + support to move base, check, and net out of gst
6222 2005-11-29 Andy Wingo <wingo@pobox.com>
6224 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
6226 * gst/gststructure.h (struct _GstStructure): Only one pointer of
6229 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
6231 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
6233 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
6235 * gst/gstobject.h: (struct _GstObject): Only one pointer of
6236 padding; reduces object size by about 30%. We don't expect
6237 anything else to go into gstobject.
6239 * gst/gstminiobject.h (struct _GstMiniObject)
6240 (struct _GstMiniObjectClass): Only one pointer of padding; the
6241 payload is only a pointer and two ints anyway. For the class there
6242 are only two methods as well.
6244 * gst/gstelement.h (struct _GstElementClass): Removed
6245 the state_changed signal callback, it is not used.
6247 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6249 * docs/gst/gstreamer.types:
6250 fix includes, though they are a little dinky
6252 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6254 * check/Makefile.am:
6255 look in the right place for elements, a lot more chance of
6258 remove indexers and elements subdirs
6259 * plugins/Makefile.am:
6260 make indexers conditional
6262 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6266 * plugins/elements/Makefile.am:
6267 * plugins/elements/gstcapsfilter.c:
6268 * plugins/elements/gstfilesink.c:
6269 * plugins/elements/gstfilesrc.c:
6270 * plugins/elements/gstidentity.c:
6271 * plugins/indexers/Makefile.am:
6272 do CVS surgery and related build fixery to move elements
6273 and indexers in a new gstreamer/plugins directory, out of the
6276 2005-11-29 Andy Wingo <wingo@pobox.com>
6278 * check/Makefile.am:
6279 * pkgconfig/gstreamer-net-uninstalled.pc.in:
6280 * pkgconfig/gstreamer-net.pc.in:
6281 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
6284 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6286 * tools/Makefile.am:
6287 * tools/gst-complete.1.in:
6288 * tools/gst-complete.c:
6289 * tools/gst-compprep.1.in:
6290 * tools/gst-compprep.c:
6291 removing -compprep and -complete
6293 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6295 * gst/gstevent.c: (gst_event_new_new_segment),
6296 (gst_event_parse_new_segment):
6298 fix #320529 - clean up new_segment API and structure.
6299 Let's hope everyone was using the methods, and not the structure.
6301 2005-11-29 Edward Hervey <edward@fluendo.com>
6303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6304 (gst_base_sink_event), (gst_base_sink_do_sync),
6305 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6306 Properly handle non GST_FORMAT_TIME segment
6307 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6308 Properly handle non GST_FORMAT_TIME segment
6310 This function is valid if the accumulator is 0 and the format
6311 is different from the requested format.
6313 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6315 * docs/gst/gstreamer-sections.txt:
6316 Add gst_query_new_seeking and gst_query_parse_seeking to the
6319 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6321 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6322 Treat a pad alloc with new caps the same as if we were not
6323 negotiated, in order to allow a changing upstream output
6324 to produce a new format of data.
6326 2005-11-29 Edward Hervey <edward@fluendo.com>
6328 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6329 (gst_base_transform_event), (gst_base_transform_eventfunc):
6330 The event virtual method is now properly implemented, with a default
6332 Sub classes should call the parent_class event method. They should
6333 return FALSE if they had a problem handling the given event, or don't
6334 want GstBaseTransform to send that even downstream
6335 * gst/elements/gstidentity.c: (gst_identity_class_init),
6336 (gst_identity_init), (gst_identity_event),
6337 (gst_identity_transform_ip), (gst_identity_set_property),
6338 (gst_identity_get_property):
6339 * gst/elements/gstidentity.h:
6340 Added the single-segment boolean property.
6341 If set to TRUE, it will output a single segment of data, starting from
6342 0, will eat up all incoming newsegment, and modify the timestamp of the
6345 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
6347 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
6348 Don't ref NULL target pad (#322751). Improve docs.
6350 2005-11-29 Michael Smith <msmith@fluendo.com>
6352 * gst/gstregistryxml.c: (load_plugin):
6353 Don't crash if we failed to load a feature from a plugin.
6355 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6357 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
6359 use more check API and less GLib API
6361 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6364 don't run checks if we don't have check
6366 remove the registry when running make torture
6367 * docs/gst/gstreamer-sections.txt:
6368 remove second multiply
6369 * gst/gstqueue.c: (gst_queue_loop):
6370 fix a compile warning when disabling debug
6372 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6375 Hey! Let's print the pad name if the pointer != NULL instead
6376 of when it == NULL :-)
6378 2005-11-28 Wim Taymans <wim@fluendo.com>
6380 * check/gst/gstutils.c: (GST_START_TEST):
6381 Updated check, add some scaling accuracy checking code.
6383 * gst/gstutils.c: (gst_util_div128_64),
6384 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
6385 (gst_util_uint64_scale_int):
6386 Fix 6 times faster division code. Optimize for common
6387 1/1 and less common X/1 cases.
6389 2005-11-28 Wim Taymans <wim@fluendo.com>
6391 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6394 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
6395 (do_linear_regression), (gst_clock_add_observation):
6397 Release lock when the clock cannot be slaved.
6398 Catch the case where the regression returned an invalid denominator.
6400 * gst/gstutils.c: (gst_util_div128_64_iterate),
6401 (gst_util_div128_64), (gst_util_uint64_scale_int64),
6402 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6403 Add protentially more performant non-iterative 128/64 divide function
6404 that unfortunatly does not work yet.
6405 Shortcut the trivial 0/X = 0 case.
6406 Remove the warnings on overflow.
6408 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6410 * gst/gstplugin.c: (gst_plugin_register_func):
6411 everything causing a plugin not to load should be at least a WARNING
6413 2005-11-28 Stefan Kost <ensonic@users.sf.net>
6415 * docs/random/ensonic/dparams.txt:
6416 some TODOs for the next dev cycle
6417 * libs/gst/controller/gstcontroller.c:
6418 (gst_controlled_property_set_interpolation_mode),
6419 (gst_controlled_property_new):
6420 * libs/gst/controller/gstcontroller.h:
6421 use base type to assign acccessor functions
6423 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6425 * check/Makefile.am:
6426 Oops, that should have been top_srcdir
6428 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6430 * check/Makefile.am:
6431 * check/elements/fdsrc.c: (GST_START_TEST):
6432 Use a cmdline define to specify the location of a file to use for
6433 testing, to avoid breaking distcheck.
6435 2005-11-28 Andy Wingo <wingo@pobox.com>
6437 * gst/gstpad.c (fixate_value): Use array functions for arrays.
6439 2005-11-28 Edward Hervey <edward@fluendo.com>
6441 * tools/gst-launch.c: (main):
6442 Clarify the output strings, makes it easier to translate.
6445 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6448 don't try and build net if we don't even have <sys/socket.h>
6450 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
6452 * check/Makefile.am:
6453 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
6454 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
6455 Add tests for fdsrc seekability
6457 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6458 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
6459 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
6460 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
6461 * gst/elements/gstfdsrc.h:
6462 fdsrc should not be a 'live' source.
6463 Implement seeking on seekable fd's.
6465 * gst/gstquery.c: (gst_query_new_seeking),
6466 (gst_query_parse_seeking):
6468 Implement SEEKING query functions:
6469 *_new_seeking and *_parse_seeking
6471 2005-11-27 Stefan Kost <ensonic@users.sf.net>
6473 * gst/gstelement.c: (gst_element_dispose):
6476 * gst/gstiterator.c:
6477 * gst/gststructure.c:
6480 * libs/gst/controller/gstcontroller.c:
6481 (gst_controlled_property_set_interpolation_mode):
6482 * libs/gst/controller/gstcontroller.h:
6483 * libs/gst/controller/gstinterpolation.c:
6484 (interpolate_none_get_enum_value_array):
6485 support controlling enums
6487 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
6490 Improve documentation for gst_value_union().
6493 Change return value for union, intersect and subtract functions
6494 from gint to gboolean.
6496 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
6498 * gst/gstvalue.c: (gst_value_serialize_any_list),
6499 (gst_value_transform_any_list_string),
6500 (gst_value_deserialize_list), (gst_value_deserialize_array),
6501 (gst_value_set_int_range), (gst_value_deserialize_int_range),
6502 (gst_value_set_double_range), (gst_value_deserialize_double_range),
6503 (gst_value_set_fraction_range_full),
6504 (gst_value_deserialize_fraction_range),
6505 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
6506 (gst_value_deserialize_boolean),
6507 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
6508 (gst_value_serialize_float), (gst_value_deserialize_float),
6509 (gst_string_wrap), (gst_value_deserialize_string),
6510 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
6511 (gst_value_union_int_range_int_range),
6512 (gst_value_intersect_int_range_int_range),
6513 (gst_value_intersect_double_range_double_range),
6514 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
6515 (gst_value_subtract_int_range_int_range),
6516 (gst_value_subtract_double_double_range),
6517 (gst_value_subtract_double_range_double_range),
6518 (gst_value_deserialize_fraction):
6520 Use gint, gdouble and gchar in our API instead of int, double and
6521 char (and make usage in gstvalue.c more consistent).
6523 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6525 * check/Makefile.am:
6526 * libs/gst/controller/Makefile.am:
6527 * libs/gst/dataprotocol/Makefile.am:
6528 fix up Makefile.am and remove GST_ENABLE_NEW
6530 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6534 * gst/base/Makefile.am:
6535 * gst/check/Makefile.am:
6536 * gst/elements/Makefile.am:
6537 * gst/net/Makefile.am:
6538 update LDFLAGS use some more
6540 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6542 * common/m4/gst-doc.m4:
6545 2005-11-26 Edward Hervey <edward@fluendo.com>
6547 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6548 This shouldn't issue a g_warning since it returns NULL if it
6549 couldn't find the plugin, and all functions using this behave
6550 properly on a NULL return. Switching to a GST_WARNING.
6552 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
6554 * gst/gstbin.c: (gst_bin_handle_message_func):
6555 Don't leak clock messages.
6557 2005-11-25 Wim Taymans <wim@fluendo.com>
6559 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6560 (gst_util_uint64_scale_int):
6561 Optimisations, remove unneeded vars.
6563 2005-11-25 Wim Taymans <wim@fluendo.com>
6565 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6566 Added more checks for the high precision uint64 cases.
6568 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6569 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6570 Implement high precision (guint64 * guint64) / guint64.
6572 2005-11-24 Wim Taymans <wim@fluendo.com>
6574 * gst/base/gstbasesrc.c: (gst_base_src_query):
6575 Fix wrong percentage query.
6577 * gst/gstutils.c: (gst_util_uint64_scale),
6578 (gst_util_uint64_scale_int):
6579 Add some more common cases that can be handled
6580 efficiently to _scale.
6582 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6584 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6585 (gst_mini_object_suite):
6586 don't use check calls from threads; check probably isn't
6587 threadsafe and using a lock to make it threadsafe would
6588 defeat the purpose of this check
6589 * gst/check/gstcheck.c:
6590 * gst/check/gstcheck.h:
6591 use GST_DEBUG some more
6593 2005-11-24 Wim Taymans <wim@fluendo.com>
6595 * gst/gstutils.c: (gst_util_uint64_scale),
6596 (gst_util_uint64_scale_int):
6597 Chain trivial case to _scale_int.
6599 2005-11-24 Wim Taymans <wim@fluendo.com>
6601 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6602 Added test for scaling.
6607 * gst/gstutils.c: (gst_util_uint64_scale_int):
6608 Implemented high precision scaling code.
6610 2005-11-24 Stefan Kost <ensonic@users.sf.net>
6613 do not crash on pad==NULL
6615 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6617 Patch by: Stefan Kost
6619 * common/gtk-doc.mak:
6620 * docs/gst/Makefile.am:
6621 * docs/libs/Makefile.am:
6622 Fix distcheck issues for the libraries docs build
6625 2005-11-24 Michael Smith <msmith@fluendo.com>
6627 * docs/manual/basics-helloworld.xml:
6628 Fix bug #315027: memory leak in example code in docs.
6630 2005-11-24 Michael Smith <msmith@fluendo.com>
6632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6633 Unlock the PREROLL_LOCK in a failure case.
6635 2005-11-24 Wim Taymans <wim@fluendo.com>
6637 * docs/gst/gstreamer-sections.txt:
6638 * gst/base/gstadapter.h:
6639 * gst/base/gstbasesink.h:
6640 * gst/base/gstbasesrc.h:
6641 * gst/base/gstbasetransform.h:
6642 * gst/base/gstpushsrc.h:
6643 * gst/elements/gstfakesink.h:
6644 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6645 * gst/elements/gstfakesrc.h:
6646 * gst/elements/gstfilesink.h:
6647 * gst/elements/gstfilesrc.h:
6650 * gst/gstbuffer.c: (_gst_buffer_copy):
6653 * gst/gstchildproxy.c:
6656 * gst/gstelementfactory.c:
6657 * gst/gstelementfactory.h:
6659 * gst/gstghostpad.h:
6661 * gst/gstinterface.h:
6662 * gst/gstminiobject.c:
6663 * gst/gstminiobject.h:
6666 * gst/gstpadtemplate.h:
6667 * gst/gstpipeline.h:
6668 * gst/gstpluginfeature.h:
6673 * gst/gsttagsetter.c:
6674 * gst/gsttagsetter.h:
6677 * gst/gsttypefind.h:
6680 * gst/net/gstnetclientclock.c:
6681 * gst/net/gstnetclientclock.h:
6682 * gst/net/gstnettimepacket.c:
6683 * gst/net/gstnettimeprovider.c:
6684 * gst/net/gstnettimeprovider.h:
6687 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6689 * configure.ac: back to HEAD
6691 === release 0.9.6 ===
6693 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6696 releasing 0.9.6, "Always On Time"
6698 2005-11-23 Wim Taymans <wim@fluendo.com>
6700 * docs/gst/gstreamer-sections.txt:
6701 * gst/glib-compat.c:
6702 * gst/gsttagsetter.c:
6704 * gst/net/gstnetclientclock.c:
6705 * gst/net/gstnettimepacket.h:
6708 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6710 * docs/faq/using.xml:
6711 * docs/libs/tmpl/gstcontrol.sgml:
6712 * docs/manual/advanced-dparams.xml:
6713 * docs/manual/appendix-checklist.xml:
6714 * docs/manual/basics-elements.xml:
6715 * docs/pwg/other-source.xml:
6716 * docs/random/moving-plugins:
6718 * tools/gst-launch.1.in:
6719 remove mentions of sinesrc
6721 2005-11-23 Michael Smith <msmith@fluendo.com>
6723 * docs/gst/gstreamer-sections.txt:
6724 Update for new API and API changes.
6726 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6728 Documentation typo fix.
6729 * gst/net/gstnettimepacket.c:
6730 Documentation fixes for arguments.
6732 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
6734 * gst/gststructure.c: (gst_structure_get_fraction),
6735 (gst_structure_parse_value),
6736 (gst_structure_fixate_field_nearest_fraction):
6737 * gst/gststructure.h:
6738 * gst/gstutils.c: (gst_util_uint64_scale_int):
6740 * scripts/update-funcnames:
6742 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6743 Make gst_structure_fixate_field_nearest_fraction take a numerator
6744 and denominator argument instead of a GValue
6745 add gst_structure_get_fraction helper function.
6747 2005-11-23 Wim Taymans <wim@fluendo.com>
6749 * docs/design/part-TODO.txt:
6752 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6753 * gst/net/gstnetclientclock.h:
6754 Use parent fields for timeout and window_size.
6756 2005-11-23 Andy Wingo <wingo@pobox.com>
6758 * check/net/gstnetclientclock.c (test_functioning): Adjust to
6759 rate_num/rate_denom change.
6761 * gst/net/gstnetclientclock.c
6762 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6763 OBJECT_LOCK. Don't call add_observation with the lock.
6765 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6767 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6769 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6770 deal with rate as a fraction whose numerator and denominator are
6771 GstClockTime values.
6772 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6773 master; the other fields are protected by the SLAVE_LOCK.
6774 (do_linear_regression): Note that this must be called with the
6776 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6777 OBJECT_LOCK. Call set_calibration instead of touching the
6779 (gst_clock_set_property, gst_clock_get_property): Protect
6780 master/slave parameters with the SLAVE_LOCK.
6782 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6783 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6784 note that all of the instance variables that add_observation and
6785 the set_master functions use are protected by that lock and not
6787 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6789 * gst/gstclock.c (gst_clock_add_observation): No longer requires
6790 the caller to take the object lock.
6792 2005-11-23 Wim Taymans <wim@fluendo.com>
6794 * gst/gsterror.c: (_gst_core_errors_init):
6796 Add error for clock stuff.
6798 * gst/gstpipeline.c: (gst_pipeline_change_state),
6799 (gst_pipeline_set_clock):
6800 Post clock error when clock cannot be used in a pipeline.
6802 2005-11-23 Stefan Kost <ensonic@users.sf.net>
6804 * docs/gst/gstreamer-sections.txt:
6805 make two symbols from gstinfo private for the docs
6806 * gst/base/gstcollectpads.h:
6808 fix doc typos, update docs
6810 2005-11-22 Wim Taymans <wim@fluendo.com>
6812 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6813 (gst_base_sink_wait), (gst_base_sink_do_sync),
6814 (gst_base_sink_handle_event):
6815 * gst/base/gstbasesink.h:
6816 No need to store the clock, the parent element class already
6819 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6820 Updates for clock_set returning a gboolean
6822 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6823 (gst_clock_id_wait_async), (gst_clock_class_init),
6824 (gst_clock_init), (gst_clock_finalize),
6825 (gst_clock_get_internal_time), (gst_clock_get_time),
6826 (gst_clock_slave_callback), (gst_clock_set_master),
6827 (gst_clock_get_master), (do_linear_regression),
6828 (gst_clock_add_observation), (gst_clock_set_property),
6829 (gst_clock_get_property):
6831 Implement master/slave. When setting a clock as a slave, a
6832 periodic timeout is scheduled to sample master and slave times.
6833 Then the slave clock is recalibrated to match offset and rate
6834 of the master clock.
6835 Update logging a bit.
6836 Add flag so that a clock can state that is cannot be slaved to
6839 * gst/gstelement.c: (gst_element_set_clock):
6841 The set clock returns a gboolean for when an element cannot
6842 deal with the selected clock in the pipeline.
6844 * gst/gstpipeline.c: (gst_pipeline_change_state),
6845 (gst_pipeline_set_clock):
6846 * gst/gstpipeline.h:
6847 Handle the case where the selected clock cannot be set on
6850 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6851 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6852 (gst_net_client_clock_set_property),
6853 (gst_net_client_clock_get_property),
6854 (gst_net_client_clock_observe_times):
6855 * gst/net/gstnetclientclock.h:
6856 Use regression code in GstClock parent, remove duplicated
6859 2005-11-22 Michael Smith <msmith@fluendo.com>
6861 * gst/gstutils.c: (gst_util_clock_time_scale):
6863 * docs/gst/gstreamer-sections.txt:
6864 Rename method to have extra underscore.
6866 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
6868 * gst/elements/Makefile.am:
6869 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6870 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6871 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6872 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6873 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6874 * gst/elements/gstfakesrc.h:
6875 * gst/gstqueue.c: (queue_leaky_get_type):
6876 correctly fix GEnumValues so that nick is the short lowercase
6878 * tools/gst-inspect.c: (print_element_properties_info):
6879 also show the nick, since it's useful to use from parse_launch
6883 2005-11-22 Michael Smith <msmith@fluendo.com>
6885 * gst/gstutils.c: (gst_util_clocktime_scale):
6887 * docs/gst/gstreamer-sections.txt:
6888 Add util method for scaling a clocktime by a fraction. Useful
6889 implementation is left as an exercise for the reader.
6891 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6893 * gst/gstvalue.c: (gst_value_collect_fraction_range):
6894 If needed, allocate storage in the destination value during
6897 2005-11-22 Edward Hervey <edward@fluendo.com>
6899 * docs/gst/gstreamer-sections.txt:
6904 * gst/gstutils.c: (gst_util_set_object_arg):
6905 * tools/gst-compprep.c: (main):
6906 * tools/gst-inspect.c: (print_element_properties_info):
6907 Removed GstURI, closes bug #321061
6909 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6911 * check/gst/gststructure.c: (GST_START_TEST):
6912 * gst/gststructure.c: (gst_structure_parse_value):
6913 Oops, broke automatic string type parsing.
6914 Add a test to catch it in future.
6916 2005-11-22 Andy Wingo <wingo@pobox.com>
6918 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
6919 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6920 Actually rename the function implementations. Grr.
6922 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6924 * check/gst/capslist.h:
6926 * check/gst/gststructure.c: (GST_START_TEST),
6927 (gst_structure_suite):
6928 Test automatic value type detection in gst_structure_from_string.
6929 * gst/gststructure.c: (gst_structure_parse_value):
6930 Add fraction as a type we try and guess automatically in
6931 caps/structure strings.
6933 2005-11-22 Andy Wingo <wingo@pobox.com>
6935 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6937 * gst/gsttagsetter.h:
6938 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6939 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6940 (gst_tag_setter_add_tag_valist)
6941 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6942 _add_values, _add_valist, and _add_valist_values. Since this is an
6943 interface the function suffixes should be more explicit so
6944 language binding don't end up with element.add_valist ->
6945 gst_tag_setter_add_valist, for example. Fixes #322069.
6947 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6949 * check/gst/gstcaps.c: (GST_START_TEST):
6950 Extend caps string tests to check that a caps to string
6951 conversion is reversible and produces the same caps.
6953 * gst/gststructure.c: (gst_structure_value_get_generic_type):
6954 Output "fraction" as the generic type fraction range, so caps
6955 serialisation and deserialisation works.
6956 * check/gst/capslist.h:
6957 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6958 Support 'MIN' and 'MAX' for deserialising fractions.
6960 2005-11-22 Andy Wingo <wingo@pobox.com>
6962 * gst/gstevent.h (gst_event_new_new_segment)
6963 (gst_event_parse_new_segment, gst_event_new_buffer_size)
6964 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6965 Renamed from *_newsegment, *_buffersize, *_notarget.
6967 * scripts/update-funcnames: New script, performs the changes
6970 2005-11-22 Wim Taymans <wim@fluendo.com>
6972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6973 Make sure the GstFlowReturn is returned.
6975 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6976 (gst_bus_add_signal_watch):
6978 add gst_bus_add_signal_watch_full.
6980 * gst/gstplugin.c: (gst_plugin_load_file):
6981 Small style cleanup.
6983 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6985 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6986 Block the fakesrc srcpad when we send an event, to avoid
6987 contention on the stream_lock causing random test failures.
6989 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6991 * check/gst/gstvalue.c: (GST_START_TEST):
6992 * gst/gstvalue.c: (gst_value_fraction_subtract):
6995 2005-11-22 Stefan Kost <ensonic@users.sf.net>
6998 include "gstchildproxy.h"
6999 * gst/gstchildproxy.h:
7000 * libs/gst/controller/gstcontroller.h:
7001 use G_GNUC_NULL_TERMINATED
7003 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7005 * check/gst/capslist.h:
7006 * check/gst/gstcaps.c: (GST_START_TEST):
7007 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7008 * gst/gststructure.c: (gst_structure_parse_range),
7009 (gst_structure_fixate_field_nearest_fraction):
7010 * gst/gststructure.h:
7011 * gst/gstvalue.c: (gst_value_init_fraction_range),
7012 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
7013 (gst_value_collect_fraction_range),
7014 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
7015 (gst_value_set_fraction_range_full),
7016 (gst_value_get_fraction_range_min),
7017 (gst_value_get_fraction_range_max),
7018 (gst_value_serialize_fraction_range),
7019 (gst_value_transform_fraction_range_string),
7020 (gst_value_compare_fraction_range),
7021 (gst_value_deserialize_fraction_range),
7022 (gst_value_intersect_fraction_fraction_range),
7023 (gst_value_intersect_fraction_range_fraction_range),
7024 (gst_value_subtract_fraction_fraction_range),
7025 (gst_value_subtract_fraction_range_fraction),
7026 (gst_value_subtract_fraction_range_fraction_range),
7027 (gst_value_collect_fraction), (gst_value_fraction_multiply),
7028 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
7029 (gst_value_transform_string_fraction), (_gst_value_initialize):
7031 Implement fraction ranges and extend GstFraction to support
7032 arithmetic subtraction, as well as deserialization from integer
7033 strings such as "100"
7034 Add a testsuite as for int and double range set operations
7036 2005-11-21 Andy Wingo <wingo@pobox.com>
7040 * gst/gststructure.h: Add glib-compat.h.
7042 2005-11-21 Wim Taymans <wim@fluendo.com>
7044 * gst/gstbin.c: (gst_bin_change_state_func):
7047 2005-11-21 Wim Taymans <wim@fluendo.com>
7050 And add a nice define too.
7052 2005-11-21 Wim Taymans <wim@fluendo.com>
7054 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
7055 (gst_segment_new), (gst_segment_free), (gst_segment_init),
7056 (gst_segment_set_duration), (gst_segment_set_last_stop),
7057 (gst_segment_set_seek), (gst_segment_set_newsegment),
7058 (gst_segment_to_stream_time), (gst_segment_to_running_time),
7061 Make binding friendly.
7063 2005-11-21 Andy Wingo <wingo@pobox.com>
7065 * gst/gsttagsetter.h:
7067 * gst/gststructure.h:
7069 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
7072 * gst/gsterror.c (_gst_core_errors_init):
7073 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
7076 * gst/Makefile.am (gst_headers): Add glib-compat.h.
7077 (noinst_HEADERS): noinst the -private.
7079 2005-11-21 Michael Smith <msmith@fluendo.com>
7082 * gst/gstregistry.h:
7083 Remove unimplemented declarations for which we can see no sensible
7086 2005-11-21 Andy Wingo <wingo@pobox.com>
7088 * gst/gst.h: Include glib-compat.h.
7090 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
7092 * gst/glib-compat.c: Include the public and the private header.
7094 * gst/glib-compat-private.h: Copied here from glib-compat.h.
7098 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
7100 * check/gst/gstevent.c (create_custom_events): Check that
7101 FLUSH_STOP is serialized.
7103 * check/elements/identity.c (event_func):
7104 * check/elements/fakesrc.c (event_func): No stream lock, the core
7107 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
7108 stream lock taking, yay.
7110 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
7111 ensure that core takes the stream lock.
7113 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
7116 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
7117 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
7118 it already. For the flush start we do take it though so we get the
7119 right preroll state change messages.
7121 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
7122 the stream lock here, the core does it for us.
7124 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
7125 GST_STREAM_GET_LOCK.
7126 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
7127 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
7128 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
7129 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
7130 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
7131 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
7133 * gst/gstpad.c: Update for stream lock name change.
7135 * gst/base/gstbasesink.c: Update for preroll lock name change.
7137 2005-11-21 Wim Taymans <wim@fluendo.com>
7139 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
7140 (gst_clock_get_master):
7142 * gst/gstsystemclock.c: (gst_system_clock_init):
7143 Convert Clock flags to object flags.
7144 Added methods to manage master/slave clocks.
7146 2005-11-21 Wim Taymans <wim@fluendo.com>
7148 * check/gst/gstsegment.c: (GST_START_TEST):
7149 * docs/design/part-TODO.txt:
7150 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7151 (gst_base_sink_event), (gst_base_sink_do_sync),
7152 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
7153 (gst_base_sink_query), (gst_base_sink_change_state):
7154 * gst/base/gstbasesink.h:
7155 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7156 (gst_base_src_default_newsegment),
7157 (gst_base_src_configure_segment), (gst_base_src_do_seek),
7158 (gst_base_src_get_range), (gst_base_src_loop),
7159 (gst_base_src_change_state):
7160 * gst/base/gstbasesrc.h:
7161 * gst/base/gstbasetransform.c:
7162 (gst_base_transform_prepare_output_buf),
7163 (gst_base_transform_event), (gst_base_transform_change_state):
7164 * gst/base/gstbasetransform.h:
7165 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7166 (gst_collect_pads_event):
7167 * gst/base/gstcollectpads.h:
7168 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
7169 (gst_fake_src_create):
7170 * gst/elements/gstfakesrc.h:
7171 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7172 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7173 (gst_segment_set_last_stop), (gst_segment_set_seek),
7174 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7175 (gst_segment_to_running_time), (gst_segment_clip):
7177 More segment updates, replace code in plugins with segment
7180 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7182 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
7183 Don't ignore sscanf results
7185 2005-11-21 Andy Wingo <wingo@pobox.com>
7187 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
7190 * *.c: Ran scripts/update-macros. Oh yes.
7192 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
7193 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
7196 * scripts/update-macros: New script. Run it on your files to
7197 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
7200 2005-11-21 Stefan Kost <ensonic@users.sf.net>
7202 * docs/gst/Makefile.am:
7203 * docs/gst/gstreamer-docs.sgml:
7204 * docs/gst/gstreamer-sections.txt:
7205 * docs/gst/gstreamer.types:
7207 more docs fixes, add new api to the docs
7209 2005-11-21 Andy Wingo <wingo@pobox.com>
7211 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
7212 state_broadcast call.
7214 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
7216 2005-11-21 Julien MOUTTE <julien@moutte.net>
7218 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
7219 function calls for arrays.
7221 2005-11-21 Stefan Kost <ensonic@users.sf.net>
7223 * docs/random/ensonic/media-device-daemon.txt:
7224 wild idea, can this be done?
7225 * docs/gst/gstreamer-sections.txt:
7230 * gst/gstpluginfeature.c:
7234 doc fixes and additions
7236 2005-11-21 Andy Wingo <wingo@pobox.com>
7238 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
7239 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
7240 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
7241 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
7242 private to the basesrc implementation.
7244 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
7245 behalf of event function if necessary. It should no longer be
7246 necessary to take the stream lock in pad's event functions. Fixes
7249 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7250 * docs/gst/gstreamer-sections.txt:
7251 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
7252 (gst_structure_fixate_field_nearest_double),
7253 (gst_structure_fixate_field_boolean):
7254 * gst/gststructure.h:
7255 * win32/common/libgstreamer.def:
7256 * win32/gstreamer.def:
7258 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
7261 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7263 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
7264 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
7265 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
7266 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
7267 (gst_fdsrc_uri_handler_init):
7268 * gst/elements/gstfdsrc.h:
7269 Port fd:// URI handler from 0.8 to fdsrc
7271 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7273 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
7274 (gst_value_serialize_fourcc):
7276 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
7277 consistent with our other format defines (#320324).
7279 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7281 * gst/gstvalue.c: (gst_value_is_fixed):
7282 Revert previous commit. Value lists are by definition
7283 not fixed, as they are a list of possible values.
7285 2005-11-21 Andy Wingo <wingo@pobox.com>
7287 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
7288 during the stable series if we need it. Fixes #319178.
7290 * gst/gstevent.c (gst_event_new_filler): Removed.
7292 * check/gst/gstevent.c: Update comment about filler events.
7294 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7296 * gst/gstvalue.c: (gst_value_is_fixed):
7297 Should handle both value arrays and value lists.
7299 2005-11-21 Andy Wingo <wingo@pobox.com>
7301 patch by: Alessandro Dessina <alessandro nnva org>
7303 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
7304 functions to access arrays. Fixes #321962.
7306 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7308 * docs/gst/gstreamer.types:
7309 gst_collectpads_get_type => gst_collect_pads_get_type.
7311 * gst/base/gstbasetransform.c:
7312 Remove unused SIGNAL_HANDOFF enum.
7314 2005-11-21 Andy Wingo <wingo@pobox.com>
7316 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
7317 the event type (upstream, downstream, serialized). Renamed
7318 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
7319 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
7320 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
7322 * gst/gstevent.c: Update for new CUSTOM event names.
7324 * check/gst/gstevent.c: Update check for new CUSTOM event names.
7327 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
7330 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7332 * docs/gst/gstreamer-sections.txt:
7333 * win32/common/libgstbase.def:
7334 * win32/libgstbase.def:
7335 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7336 (gst_collect_pads_class_init), (gst_collect_pads_init),
7337 (gst_collect_pads_finalize), (gst_collect_pads_new),
7338 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
7339 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
7340 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
7341 (gst_collect_pads_start), (gst_collect_pads_stop),
7342 (gst_collect_pads_peek), (gst_collect_pads_pop),
7343 (gst_collect_pads_available), (gst_collect_pads_read),
7344 (gst_collect_pads_flush), (gst_collect_pads_event),
7345 (gst_collect_pads_chain):
7346 * gst/base/gstcollectpads.h:
7347 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
7348 unimplemented functions as unimplemented. Add padding to
7349 GstCollectData. (#320766, #320423)
7351 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7354 Improve docs for DURATION message (usage of duration parameter)
7357 2005-11-20 Wim Taymans <wim@fluendo.com>
7359 * check/Makefile.am:
7360 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
7364 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7365 (gst_segment_set_seek), (gst_segment_set_newsegment),
7366 (gst_segment_to_stream_time), (gst_segment_to_running_time),
7369 Added segment helper structure and methods. Not fully implemented
7371 Added segment check.
7373 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
7375 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7376 Add a deserialisation test for fractions
7377 * examples/metadata/read-metadata.c: (message_loop),
7378 (make_pipeline), (main):
7379 Fix up metadata reading sample.
7380 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7382 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7383 Don't try and fixate empty caps
7384 * gst/gst_private.h:
7385 Wrap in G_BEGIN_DECLS/G_END_DECLS
7386 * gst/gstvalue.c: (gst_value_collect_fraction),
7387 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
7388 (gst_value_transform_string_fraction),
7389 (gst_value_compare_fraction):
7390 Add some extra guards to ensure that we don't end up
7391 with an invalid denominator of 0 in a gstfraction and
7392 that fractions always get reduced.
7394 2005-11-20 Wim Taymans <wim@fluendo.com>
7396 * docs/gst/gstreamer-sections.txt:
7407 2005-11-20 Wim Taymans <wim@fluendo.com>
7409 * docs/design/part-TODO.txt:
7411 Make a proper enum of the flag.
7413 2005-11-19 Wim Taymans <wim@fluendo.com>
7415 * docs/design/part-TODO.txt:
7416 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
7417 (gst_format_to_quark), (gst_format_register):
7419 * gst/gstquery.c: (_gst_query_initialize),
7420 (gst_query_type_get_name), (gst_query_type_to_quark),
7421 (gst_query_type_register):
7423 Add type to quark and type to string conversions.
7425 2005-11-19 Andy Wingo <wingo@pobox.com>
7427 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
7430 2005-11-19 Wim Taymans <wim@fluendo.com>
7432 * docs/design/part-TODO.txt:
7433 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
7434 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
7435 (gst_bin_handle_message_func):
7437 Make message handling overridable.
7439 2005-11-19 Andy Wingo <wingo@pobox.com>
7441 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
7444 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
7446 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
7447 is a GstClockTime. Fixes #321710.
7449 * gst/gstclock.h (GstClock): Remove offset property. Add
7450 internal_calibration and external_calibration. Fix padding. Pad
7451 also by GstClockTime so we don't run into problems.
7453 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
7454 (gst_clock_get_rate_offset): Remove.
7455 (gst_clock_set_time_adjust): Remove. Fixes #321712.
7458 * gst/gstutils.c (g_static_rec_cond_wait)
7459 (g_static_rec_cond_timed_wait): Removed, no longer needed.
7461 * gst/gstbin.c: Remove terrible continue_state prototype.
7463 * gst/gstelement.h (gst_element_continue_state): Make public.
7466 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
7467 by continue_state. Fixes #319389.
7469 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
7470 Really fixes #168438. However I don't see anywhere where the
7471 filter function is called... stupid GStreamer...
7473 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
7474 don't have a dispose function, so it won't get called when the
7475 object is unreffed, but oh well!
7477 * gst/gstindex.c (gst_index_set_filter_full): New API function,
7478 allows a destroy function to be set so user_data can be freed.
7480 (gst_index_set_filter): Call gst_index_set_filter_full.
7482 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
7484 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
7485 string should produce an error, given the lack of a way to
7486 represent NULL strings. Fixes #165650.
7489 * gst/gstvalue.c (gst_value_array_append_value)
7490 (gst_value_array_prepend_value, gst_value_array_get_size)
7491 (gst_value_array_get_value): New API, copied from
7492 gst_value_list_*, only operates on arrays.
7493 (gst_value_list_append_value, gst_value_list_prepend_value)
7494 (gst_value_list_concat, gst_value_list_get_size)
7495 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
7497 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
7498 init_list, because it works on both.
7499 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
7500 (gst_value_copy_list_or_array): Renamed from copy_list.
7501 (gst_value_free_list_or_array): Renamed from free_list.
7502 (gst_value_collect_list_or_array): Renamed from collect_list.
7503 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
7504 (gst_value_list_or_array_peek_pointer): Renamed from
7506 (_gst_value_array_value_table, _gst_value_list_value_table):
7507 Update value table functions.
7508 (gst_value_compare_list_or_array): Renamed from compare_list.
7510 * gsttaglist.h: Whoops, foreach function returns void. Also fix
7514 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
7515 GstTagList*. Fixes #143472.
7517 * gst/gststructure.h: Clarify what the foreach/map functions can
7518 or can't do to their arguments.
7520 2005-11-18 Wim Taymans <wim@fluendo.com>
7522 * gst/gstclock.c: (gst_clock_set_calibration),
7523 (gst_clock_get_calibration):
7525 Calibration can be set with internal time equal to current
7528 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
7534 2005-11-18 Andy Wingo <wingo@pobox.com>
7537 * pkgconfig/gstreamer-net.pc.in:
7538 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7539 * pkgconfig/Makefile.am: Add net pkgconfig files.
7541 2005-11-18 Stefan Kost <ensonic@users.sf.net>
7544 * gst/gstghostpad.c:
7550 2005-11-18 Andy Wingo <wingo@pobox.com>
7552 * gst/net/gstnetclientclock.c: Turn off debugging.
7554 * check/net/gstnetclientclock.c (test_functioning): Assert that the
7555 times connverge somewhat. Can't make a real test.
7557 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7558 integer arithmetic. Return the minimum of the domain, which can be
7559 set as "internal" for gst_clock_set_calibration.
7560 (gst_net_client_clock_observe_times): Call _set_calibration.
7561 (gst_net_client_clock_new): Call _set_calibration instead of
7564 * check/net/gstnetclientclock.c (test_functioning): Use the right
7568 * gst/gstclock.c (gst_clock_get_calibration)
7569 (gst_clock_set_calibration): New functions, obsolete the ones I
7570 added yesterday. Doh. Precision issues mean we have to extrapolate
7571 from a point in the more recent past than 1970.
7572 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7574 (gst_clock_adjust_unlocked): Use the right calibration data.
7576 2005-11-18 Edward Hervey <edward@fluendo.com>
7578 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7579 Also reset the ->current_* values in READY->PAUSED
7581 2005-11-18 Andy Wingo <wingo@pobox.com>
7583 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7584 Whoops, check the right fd. Also add some debugging.
7585 (gst_net_client_clock_observe_times): Adjust for int64 offset.
7586 (do_linear_regression): Add a crapload of debugging. Subtract off
7587 the minimum values from the input series to discard unneeded bits.
7588 Use only int arithmetic. There is still double arithmetic when
7589 calculating the intercept that needs fixing. Return boolean to
7590 indicate success; FALSE would mean the domain or range is too
7591 great. Still needs fixes.
7593 2005-11-18 Wim Taymans <wim@fluendo.com>
7595 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7596 For the current position in stream time, we need to subtract
7599 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7600 Release lock before calling the callback function of async
7603 2005-11-18 Andy Wingo <wingo@pobox.com>
7605 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7606 Port goes all the way to MAXUINT16.
7608 * gst/net/gstnettimeprovider.c: Make the port range the same as
7609 for the kernel: 0 assigns, otherwise ports are less than
7612 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7615 * check/net/gstnetclientclock.c (test_functioning): Add the start
7618 2005-11-18 Wim Taymans <wim@fluendo.com>
7620 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7621 (gst_bin_remove_func), (bin_bus_handler):
7623 Removing a clock provider from a bin, triggers a clock lost message
7624 so that a new clock will be selected.
7625 Adding a clock to a bin triggers a clock provider message.
7626 Make sure we reselect a clock when we received a clock lost message.
7627 Keep a reference to the element that provided the clock.
7629 2005-11-18 Andy Wingo <wingo@pobox.com>
7631 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7632 the clock initially so it produces values around the base time.
7633 (gst_net_client_clock_class_init): Typo fix.
7634 (gst_net_client_clock_thread): Add note on when the socket gets
7637 2005-11-17 Wim Taymans <wim@fluendo.com>
7639 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7640 Free remote and local time arrays.
7642 2005-11-17 Wim Taymans <wim@fluendo.com>
7644 * gst/net/gstnetclientclock.c: (do_linear_regression),
7645 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7646 Fix compilation, uninitialized vars and a forgotten continue.
7648 2005-11-17 Andy Wingo <wingo@pobox.com>
7650 * check/Makefile.am (check_PROGRAMS):
7651 * check/net/gstnetclientclock.c: Add a most minimal test for the
7652 net client clock. More to come later.
7655 * gst/net/Makefile.am: Add netclientclock.
7657 * gst/net/gstnetclientclock.h:
7658 * gst/net/gstnetclientclock.c: New files, implement an untested
7659 GstClock that takes its time from a network time provider.
7660 Implements the algorithm in network-clock.scm.
7662 * tests/network-clock.scm (*window-size*): Rename from
7664 * tests/network-clock.scm (network-time):
7665 * tests/network-clock-utils.scm (q-push): Update callers.
7667 2005-11-17 Wim Taymans <wim@fluendo.com>
7669 * gst/gstbin.c: (gst_bin_provide_clock_func),
7670 (gst_bin_sort_iterator_new):
7671 And unref the child too..
7673 2005-11-17 Wim Taymans <wim@fluendo.com>
7675 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7676 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7677 Refactor the sort iterator so it can be used while holding the
7679 Make clock selection select a clock closest to the source.
7681 2005-11-17 Michael Smith <msmith@fluendo.com>
7683 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7684 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7686 Anonymous structs are a gcc (and some other compilers) extension, so
7687 don't use them. Since this is only for ABI-compatibility, and our
7688 API/ABI freeze is over in a few days, this whole thing will only
7689 last a few days, so don't bother trying to think up a meaningful
7690 name for the struct.
7692 2005-11-17 Andy Wingo <wingo@pobox.com>
7694 * gst/gstclock.h (GstClock): Add rate and offset properties,
7695 preserving ABI stability. Add rate/offset accessors. Will file bug
7696 for the freeze break.
7698 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7699 and offset, trying to keep precision and avoiding
7701 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7702 functions. Make gst_clock_set_time_adjust obsolete.
7703 (gst_clock_set_time_adjust): Note that this function is obsolete.
7706 * gst/base/gstbasetransform.h: Make the ABI-stability hack
7707 greppable by using GST_PADDING-1+1.
7709 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
7711 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7713 * gst/gstmessage.c: (gst_message_parse_clock_lost):
7714 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7716 * gst/gstpadtemplate.h:
7717 * gst/gstpluginfeature.h:
7718 Don't use c++ style comments in headers (#321638).
7720 2005-11-16 Andy Wingo <wingo@pobox.com>
7722 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7725 * check/net/gstnettimeprovider.c: Check to see that the time
7726 provider actually provides times. Works, yo!
7728 2005-11-16 Wim Taymans <wim@fluendo.com>
7730 * check/Makefile.am:
7733 * check/elements/fakesrc.c: (GST_START_TEST):
7734 Set element to NULL before disposing it.
7736 2005-11-16 Andy Wingo <wingo@pobox.com>
7738 * gst/net/Makefile.am:
7740 * gst/net/gstnettimeprovider.c:
7741 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7742 provider, include it from gstnet.h, and add it to the build.
7744 * gst/net/gstnettimepacket.h:
7745 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7746 sending and receiving.
7748 2005-11-16 Wim Taymans <wim@fluendo.com>
7750 * check/Makefile.am:
7751 Enable valgrind check.
7753 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7754 (gst_fake_src_alloc_buffer):
7757 2005-11-16 Wim Taymans <wim@fluendo.com>
7759 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7760 Call parent finalize too.
7762 2005-11-16 Wim Taymans <wim@fluendo.com>
7764 * check/Makefile.am:
7765 Enable valgrind check that should work fine now.
7767 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7768 * gst/gstqueue.c: (gst_queue_init):
7769 Fix memleaks in pad allocation.
7771 2005-11-16 Andy Wingo <wingo@pobox.com>
7773 * gst/net/Makefile.am:
7774 * gst/net/gstnet.h: New part of core to hold network elements and
7775 objects. Put in core because it exposes API that applications want
7776 to use. The library is named libgstnet-tempname right now because
7777 of the existing libgstnet in gst-plugins-base. Solution is
7778 probably to rename the one in plugins-base; will file a bug for
7781 * gst/net/gstnettimeprovider.c:
7782 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7783 get_time call over the network.
7786 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7788 * check/Makefile.am:
7789 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7790 get additions shortly.
7792 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7794 * gst/gstpad.c: (gst_pad_new_from_static_template):
7796 add gst_pad_new_from_static_template functions
7797 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7798 (gst_check_setup_sink_pad):
7799 * gst/elements/gsttee.c: (gst_tee_init):
7802 2005-11-16 Wim Taymans <wim@fluendo.com>
7804 * gst/gstpad.c: (gst_pad_pause_task):
7805 Removed warning, it's not really an error either.
7807 2005-11-16 Wim Taymans <wim@fluendo.com>
7809 * gst/base/gstbasetransform.c:
7810 (gst_base_transform_prepare_output_buf),
7811 (gst_base_transform_event):
7812 Check if the caps are NULL, this can happen if the element
7813 is shutting down and the pad caps are set to NULL.
7815 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7817 * gst/elements/gsttee.c: (gst_tee_init):
7818 fix pad template leak in tee
7820 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7822 * gst/glib-compat.c: (g_value_dup_gst_object):
7823 * gst/glib-compat.h:
7824 * gst/gstpad.c: (gst_pad_set_property):
7825 use gst_object_ref when setting the pad template; this will
7826 trigger the pad template leaks on GLib 2.6 and the slaves
7828 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7830 * gst/glib-compat.c: (gst_flags_get_first_value):
7831 * gst/glib-compat.h:
7832 * gst/gstregistryxml.c:
7833 remove functions copied from GLib 2.6
7835 2005-11-16 Michael Smith <msmith@fluendo.com>
7838 Don't link against VALGRIND_LIBS. That was always the wrong thing to
7839 do, but only breaks with newer valgrind versions. We're not a
7840 valgrind tool, we have no link-time dependencies on libcoregrind.
7842 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7844 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7849 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7851 * gst/base/gstbasesrc.c: (gst_base_src_init):
7852 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7853 * gst/gstqueue.c: (gst_queue_init):
7854 * gst/gstregistryxml.c: (load_feature):
7855 Revert all these unrefs, they don't even pass make check !
7857 2005-11-15 Johan Dahlin <johan@gnome.org>
7859 * gst/base/gstbasesrc.c: (gst_base_src_init):
7860 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7861 * gst/gstqueue.c: (gst_queue_init):
7862 Free pad templates, fixes a couple of leaks.
7864 2005-11-15 Daniel Fischer <dan at f3c dot com>
7866 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7868 * gst/gstpad.c: (gst_pad_get_property):
7869 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7870 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7873 2005-11-15 Wim Taymans <wim@fluendo.com>
7878 2005-11-15 Andy Wingo <wingo@pobox.com>
7880 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7882 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7883 using GST_CLOCK_TIME_NONE to disable base time management.
7884 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7885 time if it was NONE before.
7886 (gst_pipeline_change_state): Only munge the base time if
7887 stream_time != GST_CLOCK_TIME_NONE.
7889 * check/gst/gstpipeline.c (test_base_time): Punt around the
7890 problem of the probe not being called, because that's not the
7891 issue I'm looking at. Add a check that setting stream_time to NONE
7892 disables base time management.
7894 2005-11-15 Wim Taymans <wim@fluendo.com>
7896 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7897 segment_stop == -1 at startup.
7899 * gst/base/gstbasetransform.c: (gst_base_transform_event),
7900 (gst_base_transform_change_state):
7901 Init segment values at start.
7903 2005-11-15 Wim Taymans <wim@fluendo.com>
7905 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7906 0 segment values are 0 in any format.
7908 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7909 * gst/base/gstbasetransform.h:
7910 Parse newsegment correctly in basetransform
7912 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7913 Sync to clock using updated segment values.
7915 2005-11-15 Andy Wingo <wingo@pobox.com>
7917 * check/gst/gstpipeline.c (test_base_time): Add check that the
7918 base time and stream time are reset correctly.
7920 2005-11-15 Wim Taymans <wim@fluendo.com>
7922 * docs/design/part-TODO.txt:
7923 Some more TODO items.
7925 2005-11-15 Andy Wingo <wingo@pobox.com>
7927 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7928 error if the user selected "no clock" as the clocking method.
7930 * check/gst/gstpipeline.c (test_base_time): New test for buffer
7931 timestamps with live capture.
7933 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7934 is 0 but we are a live source, timestamp the buffers using the
7937 2005-11-14 Stefan Kost <ensonic@users.sf.net>
7939 * docs/gst/gstreamer-sections.txt:
7941 * gst/gstghostpad.c:
7946 2005-11-14 Wim Taymans <wim@fluendo.com>
7949 add suppressions from Wim's Debian machine
7951 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
7954 add suppressions from Andy's AMD64 Ubuntu machine
7956 2005-11-14 Andy Wingo <wingo@pobox.com>
7958 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7959 STATE_LOCK not necessary. Fixes #311489.
7961 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7964 * gst/gstindex.c (gst_index_add_object): Note in the docs that
7965 this function is not implemented.
7967 2005-11-14 Julien MOUTTE <julien@moutte.net>
7969 * gst/base/gstbasetransform.c:
7970 (gst_base_transform_prepare_output_buf):
7971 Ref the source pad caps while we need them.
7974 2005-11-11 Wim Taymans <wim@fluendo.com>
7976 * docs/gst/gstreamer-sections.txt:
7977 Added some docs for GstCollectData.
7979 * gst/base/gstadapter.c:
7980 Some small code example fix.
7982 * gst/base/gstcollectpads.c:
7983 * gst/base/gstcollectpads.h:
7986 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7988 * configure.ac: back to HEAD
7990 === release 0.9.5 ===
7992 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7995 releasing 0.9.5, "Bike Lunch Day"
7997 2005-11-11 Wim Taymans <wim@fluendo.com>
7999 * gst/gstbuffer.c: (_gst_buffer_copy):
8002 * gst/gstcaps.c: (gst_caps_is_equal):
8004 Make _is_equal fast in the trivial cases.
8006 * gst/gstminiobject.c:
8007 * gst/gstminiobject.h:
8008 More docs. Spifify .h file.
8013 2005-11-11 Wim Taymans <wim@fluendo.com>
8015 * gst/base/gstbasetransform.c:
8016 (gst_base_transform_prepare_output_buf),
8017 (gst_base_transform_handle_buffer):
8019 If we're processing a buffer and need to allocate an output
8020 buffer, we cannot accept a format change. If we did get a
8021 format change, we have to alloc a buffer ourselves of the
8024 2005-11-11 Wim Taymans <wim@fluendo.com>
8026 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
8027 While checking the flag for reentrancy in the gstcaps function
8028 is nice to detect recursive invocations, it also makes it
8029 impossible to call getcaps from multiple threads, which must be
8030 possible. So, checking for recursive calls has to go.
8032 2005-11-11 Michael Smith <msmith@fluendo.com>
8034 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8035 Don't sync on buffers that fall partially outside our current
8036 segment. Prevents an assertion failure/abort playing some files.
8038 2005-11-10 Andy Wingo <wingo@pobox.com>
8040 * check/gst/gstbin.c (test_message_state_changed_children): Style
8043 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
8044 gst_bus_poll with the signal watch. Ensures that poll and a signal
8045 watch see the same messages.
8047 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
8048 a poll and a watch at the same time get the same messages.
8050 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
8052 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
8053 * gst/gstcaps.c: (gst_caps_intersect):
8054 Don't call gst_caps_do_simplify - it doesn't respect order of caps
8055 and it's not needed.
8057 2005-11-10 Wim Taymans <wim@fluendo.com>
8059 * docs/design/part-TODO.txt:
8062 2005-11-10 Wim Taymans <wim@fluendo.com>
8064 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8065 * gst/base/gstbasesrc.c: (gst_base_src_wait),
8066 (gst_base_src_do_sync), (gst_base_src_get_range):
8067 Implement clock sync in base class.
8069 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
8071 patch by: Tim-Philipp Müller <tim at centricular dot net>
8073 * gst/gststructure.c: (gst_structure_parse_field),
8074 (gst_structure_from_string):
8075 Forward-port a 0.8 patch to handle escaped spaces in structure string,
8076 so that gst_parse_launch() can deal with spaces in filtered link
8077 caps (fixes #164479)
8078 * check/gst/capslist.h:
8079 * check/gst/gststructure.c: (GST_START_TEST):
8080 add unit tests for this change
8082 2005-11-10 Wim Taymans <wim@fluendo.com>
8084 * docs/gst/gstreamer-sections.txt:
8087 Fix docs, move some STATE macros to private.
8089 2005-11-10 Wim Taymans <wim@fluendo.com>
8091 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8092 Added check for bug #317341
8096 Some more spiffifying.
8098 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
8099 Call peer linkfunction if we are a source pad. Totally fixes
8103 Update docs, source pads should call the peer linkfunction
8104 so they can atomically perform the pad link.
8106 2005-11-09 Wim Taymans <wim@fluendo.com>
8110 Uber-spiffy-spiffify some more.
8112 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
8114 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
8115 * gst/elements/gstfilesink.c: (gst_file_sink_init):
8116 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8117 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
8118 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
8119 * gst/gstpad.c: (gst_pad_init):
8120 Use GST_DEBUG_FUNCPTR() more extensively.
8122 2005-11-09 Wim Taymans <wim@fluendo.com>
8124 * gst/gstobject.c: (gst_object_class_init):
8126 Documentation fixes.
8128 2005-11-09 Edward Hervey <edward@fluendo.com>
8130 * gst/gsttypefindfactory.c:
8133 2005-11-09 Edward Hervey <edward@fluendo.com>
8135 * gst/base/gsttypefindhelper.c:
8136 * gst/gsttypefind.c:
8137 * gst/gsttypefind.h:
8140 2005-11-09 Wim Taymans <wim@fluendo.com>
8142 * gst/gstiterator.c:
8149 2005-11-09 Wim Taymans <wim@fluendo.com>
8155 2005-11-09 Wim Taymans <wim@fluendo.com>
8157 * docs/gst/gstreamer-sections.txt:
8158 Moved the message async delivery private lock and cond
8159 to the private section.
8165 2005-11-09 Edward Hervey <edward@fluendo.com>
8167 * docs/gst/gstreamer-sections.txt:
8170 Document GstURIHandler
8172 2005-11-09 Wim Taymans <wim@fluendo.com>
8174 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
8175 (gst_iterator_find_custom):
8176 * gst/gstiterator.h:
8179 2005-11-09 Wim Taymans <wim@fluendo.com>
8182 Document another field.
8184 * gst/gststructure.c:
8185 * gst/gststructure.h:
8188 2005-11-09 Wim Taymans <wim@fluendo.com>
8193 2005-11-09 Wim Taymans <wim@fluendo.com>
8195 * docs/gst/gstreamer-sections.txt:
8196 Added some new macros.
8203 2005-11-09 Wim Taymans <wim@fluendo.com>
8205 * docs/design/part-TODO.txt:
8206 Some more items for the TODO
8212 2005-11-09 Andy Wingo <wingo@pobox.com>
8214 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
8215 to work on something else now tho...
8217 * gst/base/gstadapter.c: More adapter docs.
8219 * gst/elements/gstfilesink.c (gst_file_sink_start)
8220 (gst_file_sink_stop): New functions, replace the state change
8222 (gst_file_sink_class_init): Hook up the start and stop functions.
8223 (gst_file_sink_base_init): Don't set the state change handler any
8224 more. It was a bit ugly too, being set from here...
8225 (gst_file_sink_get_property, gst_file_sink_set_property):
8227 (gst_file_sink_set_location): More robust check that doesn't call
8230 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
8232 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8233 Hold STREAM_LOCK while pushing newsegment or tag events as well.
8235 2005-11-08 Wim Taymans <wim@fluendo.com>
8237 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8238 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8239 (gst_base_sink_chain), (gst_base_sink_change_state):
8240 * gst/base/gstbasesink.h:
8241 * gst/base/gstbasesrc.h:
8244 Avoid excessive typechecking in macros.
8246 * gst/gstminiobject.c: (gst_mini_object_get_type),
8247 (gst_mini_object_init), (gst_mini_object_new),
8248 (gst_mini_object_free):
8249 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8250 (gst_object_finalize):
8251 Remove cruft code, optimize alloc_trace.
8253 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
8255 * docs/faq/gst-uninstalled:
8256 fix up PS1 for systems that try to reset it
8258 2005-11-07 Wim Taymans <wim@fluendo.com>
8260 * gst/base/gstbasesrc.c: (gst_base_src_init),
8261 (gst_base_src_get_range):
8262 Set the segment_end to -1 initially. Fixed typefind.
8264 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
8266 * gst/base/gstadapter.c:
8267 Debug category should be 'adapter', not 'GstAdapter'.
8269 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
8270 (gst_collectpads_class_init), (gst_collectpads_init),
8271 (gst_collectpads_peek), (gst_collectpads_pop),
8272 (gst_collectpads_event), (gst_collectpads_chain):
8273 Add debug category and some debugging output. Use boilerplate
8274 macros. Remove some extraneous words from docs.
8276 2005-11-05 Andy Wingo <wingo@pobox.com>
8278 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
8281 2005-11-04 Stefan Kost <ensonic@users.sf.net>
8283 * docs/gst/gstreamer-sections.txt:
8286 * gst/gstminiobject.h:
8291 2005-11-04 Wim Taymans <wim@fluendo.com>
8293 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8294 Small update to stop at the configured segment_end
8297 2005-11-04 Stefan Kost <ensonic@users.sf.net>
8299 * gst/gstregistry.c:
8300 * gst/gstregistry.h:
8303 2005-11-04 Edward Hervey <edward@fluendo.com>
8305 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8306 Check if we are doing a segment seek and have arrived at the
8307 end of that segment.
8309 2005-11-04 Wim Taymans <wim@fluendo.com>
8311 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
8312 Don't leak a mutex unlock in case of an error.
8317 2005-11-04 Wim Taymans <wim@fluendo.com>
8319 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
8321 Get the context to wake up only once.
8323 2005-11-03 Wim Taymans <wim@fluendo.com>
8325 * check/states/sinks.c: (GST_START_TEST):
8326 Uncomment fixed check.
8328 * docs/design/part-TODO.txt:
8331 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8332 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8333 (gst_base_sink_get_position):
8334 If we are going to PLAYING, post the right pending state
8335 when we post the intermediate paused message.
8337 * gst/gstelement.c: (gst_element_continue_state),
8338 (gst_element_set_state_func), (gst_element_change_state):
8339 Don't post state changes that were between the same state
8342 2005-11-03 Stefan Kost <ensonic@users.sf.net>
8344 * docs/gst/gstreamer-sections.txt:
8347 * gst/gstminiobject.h:
8350 more docs and doc style fixes
8352 2005-11-03 Stefan Kost <ensonic@users.sf.net>
8354 * docs/gst/gstreamer-sections.txt:
8356 * gst/gstminiobject.c:
8359 2005-11-03 Andy Wingo <wingo@pobox.com>
8361 * check/states/sinks.c (test_livesrc_sink): Add checks that the
8362 state-changed messages actually have the right order and the right
8365 2005-11-03 Wim Taymans <wim@fluendo.com>
8367 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8368 Added some more checks. Specifically the case where NO_PREROLL
8369 elements are in the pipeline.
8371 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8372 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8373 (gst_base_sink_get_position):
8374 Post READY->PAUSED state change messages too.
8375 Fix bug where VOID was posted as pending state...
8377 * gst/gstbin.c: (gst_bin_recalc_state):
8378 use _element_continue_state() to continue the state change.
8380 * gst/gstelement.c: (gst_element_continue_state),
8381 (gst_element_commit_state), (gst_element_set_state_func),
8382 (gst_element_change_state), (gst_element_change_state_func):
8383 Lots of state change cleanups, assign the STATE_RETURN in
8384 a new continue_state() function that also propagates the
8385 last return value from a state change to the app.
8386 Update some debug statements with proper category.
8388 2005-11-03 Wim Taymans <wim@fluendo.com>
8390 * docs/design/part-events.txt:
8391 * docs/design/part-gstpipeline.txt:
8392 * docs/design/part-messages.txt:
8393 * docs/design/part-overview.txt:
8394 * docs/design/part-seeking.txt:
8395 * docs/design/part-states.txt:
8396 * docs/design/part-trickmodes.txt:
8397 * docs/manual/advanced-position.xml:
8401 People think !! is ugly, this looks better.
8403 * gst/gstpad.c: (gst_pad_set_blocked_async):
8404 Remove !! since it's fixed elsewhere now.
8406 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8408 * gst/gstminiobject.h:
8410 Add !! to _FLAG_IS_SET macros to make the result boolean.
8412 2005-11-03 Edward Hervey <edward@fluendo.com>
8414 * gst/gstpad.c: (gst_pad_set_blocked_async):
8415 comparing a flag and a gboolean rarely returns coherent results...
8416 Added two characters (!!) to make that work correctly.
8418 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8420 * gst/gstbus.c: (gst_bus_class_init):
8423 * gst/gstqueue.c: (gst_queue_loop):
8424 Don't assume a miniobject that isn't a buffer is an
8425 event (it could be that there is a refcounting
8426 problem somewhere and the pointer is stale and
8427 refers to an already destroyed miniobject).
8429 2005-11-03 Julien MOUTTE <julien@moutte.net>
8431 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
8433 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8435 * docs/manual/advanced-position.xml:
8436 Update seek example and explanations to current 0.9 API.
8438 * gst/elements/gsttypefindelement.c:
8439 (gst_type_find_element_activate):
8440 Remove FIXME comment now that the found caps
8443 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
8445 * gst/gstregistryxml.c: (load_feature):
8446 Add another GST_STR_NULL instance
8448 2005-11-02 Edward Hervey <edward@fluendo.com>
8450 * gst/gstpad.c: (handle_pad_block):
8451 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
8453 2005-11-02 Wim Taymans <wim@fluendo.com>
8458 * gst/gstelement.c: (gst_element_commit_state):
8459 Remove unused value.
8461 * gst/gstiterator.c:
8462 Mention that the returned element is reffed in the docs.
8464 2005-11-02 Wim Taymans <wim@fluendo.com>
8466 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
8467 (gst_pad_push), (gst_pad_push_event):
8468 Unlock blocked pads when they are flushed.
8470 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8473 * docs/gst/gstreamer-sections.txt:
8476 * gst/gstregistry.c: (gst_registry_scan_path_level):
8477 fix for a nasty little missed situation where an installed plug-in
8478 which was in the cache did not get overridden by an uninstalled one
8479 which was earlier in the plugin path because the newly created plugin
8480 for the uninstalled one (not in the registry) didn't get its
8481 ->registered set to TRUE
8483 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
8485 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
8486 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
8487 (gst_collectpads_is_active), (gst_collectpads_collect),
8488 (gst_collectpads_collect_range), (gst_collectpads_start),
8489 (gst_collectpads_stop), (gst_collectpads_peek),
8490 (gst_collectpads_pop), (gst_collectpads_available),
8491 (gst_collectpads_read), (gst_collectpads_flush):
8492 Guard public API with assertions.
8495 Fix docs for gst_pad_set_link_function().
8497 2005-11-02 Johan Dahlin <johan@gnome.org>
8499 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
8500 Unref found_caps after we used it.
8502 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
8504 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
8505 Don't try to ref NULL.
8507 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8509 * win32/common/config.h.in:
8510 provide a GST_FUNCTION that just gives a string for now
8512 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8514 * win32/common/gstenumtypes.c: (register_gst_object_flags),
8515 (gst_object_flags_get_type), (register_gst_bin_flags),
8516 (gst_bin_flags_get_type), (register_gst_buffer_flag),
8517 (gst_buffer_flag_get_type), (register_gst_bus_flags),
8518 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8519 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8520 (gst_clock_return_get_type), (register_gst_clock_entry_type),
8521 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8522 (gst_clock_flags_get_type), (register_gst_state),
8523 (gst_state_get_type), (register_gst_state_change_return),
8524 (gst_state_change_return_get_type), (register_gst_state_change),
8525 (gst_state_change_get_type), (register_gst_element_flags),
8526 (gst_element_flags_get_type), (register_gst_core_error),
8527 (gst_core_error_get_type), (register_gst_library_error),
8528 (gst_library_error_get_type), (register_gst_resource_error),
8529 (gst_resource_error_get_type), (register_gst_stream_error),
8530 (gst_stream_error_get_type), (register_gst_event_type),
8531 (gst_event_type_get_type), (register_gst_seek_type),
8532 (gst_seek_type_get_type), (register_gst_seek_flags),
8533 (gst_seek_flags_get_type), (register_gst_format),
8534 (gst_format_get_type), (register_gst_index_certainty),
8535 (gst_index_certainty_get_type), (register_gst_index_entry_type),
8536 (gst_index_entry_type_get_type),
8537 (register_gst_index_lookup_method),
8538 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8539 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8540 (gst_index_resolver_method_get_type), (register_gst_index_flags),
8541 (gst_index_flags_get_type), (register_gst_debug_level),
8542 (gst_debug_level_get_type), (register_gst_debug_color_flags),
8543 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8544 (gst_iterator_result_get_type), (register_gst_iterator_item),
8545 (gst_iterator_item_get_type), (register_gst_message_type),
8546 (gst_message_type_get_type), (register_gst_mini_object_flags),
8547 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8548 (gst_pad_link_return_get_type), (register_gst_flow_return),
8549 (gst_flow_return_get_type), (register_gst_activate_mode),
8550 (gst_activate_mode_get_type), (register_gst_pad_direction),
8551 (gst_pad_direction_get_type), (register_gst_pad_flags),
8552 (gst_pad_flags_get_type), (register_gst_pad_presence),
8553 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8554 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8555 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8556 (gst_plugin_error_get_type), (register_gst_plugin_flags),
8557 (gst_plugin_flags_get_type), (register_gst_rank),
8558 (gst_rank_get_type), (register_gst_query_type),
8559 (gst_query_type_get_type), (register_gst_tag_merge_mode),
8560 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8561 (gst_tag_flag_get_type), (register_gst_task_state),
8562 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8563 (gst_alloc_trace_flags_get_type),
8564 (register_gst_type_find_probability),
8565 (gst_type_find_probability_get_type), (register_gst_uri_type),
8566 (gst_uri_type_get_type), (register_gst_parse_error),
8567 (gst_parse_error_get_type):
8568 * win32/common/gstversion.h:
8571 2005-11-01 Luca Ognibene <luogni@tin.it>
8574 fix docs. popt is dead, long live GOption.
8576 2005-10-31 Wim Taymans <wim@fluendo.com>
8581 2005-10-31 Andy Wingo <wingo@pobox.com>
8585 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8587 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8588 need to serialize property notifications on GLib 2.8. GLib 2.6 has
8589 the possibility of deadlocks here if code calling notify() or
8590 set() has a lock that can be taken in another notify handler (ABBA
8591 with class lock and e.g. python GIL state lock).
8593 2005-10-28 Julien MOUTTE <julien@moutte.net>
8595 * gst/gstbus.c: Doc updates.
8597 2005-10-28 Wim Taymans <wim@fluendo.com>
8599 * docs/design/part-TODO.txt:
8600 * gst/gstiterator.c:
8601 * gst/gstsystemclock.c:
8602 * gst/gstsystemclock.h:
8605 2005-10-28 Edward Hervey <edward@fluendo.com>
8607 * docs/gst/gstreamer-docs.sgml:
8608 * docs/gst/gstreamer-sections.txt:
8609 the GstURIType documentation page is private, it only defines GstURIType
8610 which should be defined in the GstURIHandler page
8612 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
8614 * gst/gstbin.c: (gst_bin_class_init):
8617 Documentation updates.
8619 2005-10-28 Wim Taymans <wim@fluendo.com>
8621 * docs/gst/gstreamer-sections.txt:
8624 Documented the clocks.
8626 2005-10-28 Stefan Kost <ensonic@users.sf.net>
8628 * docs/gst/gstreamer-sections.txt:
8629 move some macros to private sections
8630 * gst/gstminiobject.c:
8631 * gst/gstminiobject.h:
8632 add descriptions provided by ds and some more
8634 mark macro as to be removed
8636 2005-10-28 Wim Taymans <wim@fluendo.com>
8638 * docs/design/part-TODO.txt:
8639 Add an item to TODO.
8641 * gst/gstiterator.c: (gst_iterator_fold),
8642 (gst_iterator_find_custom):
8643 * gst/gstiterator.h:
8646 2005-10-28 Wim Taymans <wim@fluendo.com>
8648 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8649 (gst_base_transform_init):
8652 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8653 An EOS event marks the queue as completely filled.
8655 2005-10-27 Wim Taymans <wim@fluendo.com>
8657 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8658 (gst_base_sink_do_sync), (gst_base_sink_get_position):
8659 Some more debugging.
8661 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8662 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8663 (gst_base_transform_event), (gst_base_transform_getrange),
8664 (gst_base_transform_chain):
8665 * gst/base/gstbasetransform.h:
8667 Protect transform and concurrent buffer alloc with a new lock.
8668 Try not to break ABI/API.
8670 2005-10-27 Wim Taymans <wim@fluendo.com>
8672 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8673 (gst_base_src_init), (gst_base_src_query),
8674 (gst_base_src_default_newsegment),
8675 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8676 (gst_base_src_send_event), (gst_base_src_event_handler),
8677 (gst_base_src_pad_get_range), (gst_base_src_loop),
8678 (gst_base_src_unlock), (gst_base_src_default_negotiate),
8679 (gst_base_src_start), (gst_base_src_deactivate),
8680 (gst_base_src_activate_push), (gst_base_src_change_state):
8681 Move some stuff around and cleanup things.
8683 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
8685 * gst/base/gstbasesrc.c: (gst_base_src_query):
8686 Add missing break statements.
8688 2005-10-27 Wim Taymans <wim@fluendo.com>
8690 * check/gst/gstbin.c: (GST_START_TEST):
8691 An extra refcount is taken in basesrc.
8693 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8694 (gst_base_src_get_range), (gst_base_src_pad_get_range),
8695 (gst_base_src_loop):
8696 Small cleanups, check for flushing after being unlocked from the
8697 LIVE_LOCK. take refcounts correctly (not yet everywhere).
8698 Don't send out EOS when going to READY.
8700 2005-10-27 Wim Taymans <wim@fluendo.com>
8702 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8703 (gst_base_sink_get_position):
8706 * gst/gstbin.c: (message_check), (bin_replace_message),
8707 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8708 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8709 (bin_query_duration_init), (bin_query_duration_fold),
8710 (bin_query_duration_done), (bin_query_generic_fold),
8712 * tools/gst-launch.c: (main):
8715 2005-10-26 Stefan Kost <ensonic@users.sf.net>
8717 * examples/controller/audio-example.c: (main):
8718 * examples/queue/queue.c: (event_loop):
8719 * gst/base/gstbasetransform.h:
8720 * gst/gstelement.c: (gst_element_send_event):
8722 * gst/gstpad.c: (gst_pad_send_event):
8725 changing log priority in error situations
8727 2005-10-25 Wim Taymans <wim@fluendo.com>
8729 * gst/gstbin.c: (message_check), (bin_replace_message),
8730 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8731 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8732 (bin_query_duration_init), (bin_query_duration_fold),
8733 (bin_query_duration_done), (bin_query_generic_fold),
8735 Some doc and debug updates.
8736 Cache previously requested query DURATION for speed. invalidate
8737 cached duration if element posts a DURATION message.
8739 2005-10-25 Wim Taymans <wim@fluendo.com>
8741 * docs/design/part-TODO.txt:
8744 * gst/gstbin.c: (message_check), (bin_replace_message),
8745 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8746 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8747 (bin_query_duration_init), (bin_query_duration_fold),
8748 (bin_query_duration_done), (bin_query_generic_fold),
8750 Handle SEGMENT_START/DONE messages correctly.
8751 More evolved query algorithm that handles duration queries
8754 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8755 (gst_element_get_state_func), (gst_element_abort_state),
8756 (gst_element_commit_state), (gst_element_lost_state):
8757 Some more debugging.
8762 2005-10-25 Wim Taymans <wim@fluendo.com>
8764 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8765 Don't use invalid stream_time.
8767 * gst/gstevent.c: (gst_event_new_newsegment):
8768 stream_time in newsegment cannot be undefined.
8770 2005-10-24 Wim Taymans <wim@fluendo.com>
8775 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8777 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8779 2005-10-24 Stefan Kost <ensonic@users.sf.net>
8781 * docs/libs/tmpl/gstdparam.sgml:
8782 * docs/libs/tmpl/gstdplinint.sgml:
8783 * docs/libs/tmpl/gstdpman.sgml:
8784 * docs/libs/tmpl/gstdpsmooth.sgml:
8785 * docs/libs/tmpl/gstunitconvert.sgml:
8788 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
8793 === release 0.9.4 ===
8795 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8798 releasing 0.9.4, "Tyrannosaurus Rex"
8800 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
8802 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8803 (gst_file_sink_get_current_offset):
8804 Use fseeko() and ftello() if available. When falling back on
8805 lseek() to get the current offset, fflush() first to make sure
8806 everything is up-to-date and we get the right offset.
8808 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8810 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8811 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8812 * gst/gsterror.c: (_gst_stream_errors_init):
8814 * gst/gstqueue.c: (gst_queue_loop):
8816 remove prematurely added error category and clean up the instances
8818 2005-10-21 Wim Taymans <wim@fluendo.com>
8820 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8821 (gst_base_sink_get_position), (gst_base_sink_query),
8822 (gst_base_sink_change_state):
8823 Simply set the right flag when going to playing, that's all
8824 we need to do instead of calling a function inside the object
8825 lock (that could take the lock as well and deadlock)
8827 2005-10-21 Wim Taymans <wim@fluendo.com>
8829 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8830 (gst_base_src_loop):
8831 Don't warn, the peer element knows what to do best when
8832 the seek failed, it might try something else.
8834 2005-10-21 Wim Taymans <wim@fluendo.com>
8836 * gst/base/gstbasesrc.c: (gst_base_src_init),
8837 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8840 2005-10-21 Wim Taymans <wim@fluendo.com>
8842 * docs/design/part-segments.txt:
8845 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8846 Correctly set caps, even on the subbufer.
8848 2005-10-21 Wim Taymans <wim@fluendo.com>
8850 * docs/gst/gstreamer-docs.sgml:
8851 * docs/gst/gstreamer-sections.txt:
8858 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8862 And 2% more doc coverage.
8864 2005-10-21 Andy Wingo <wingo@pobox.com>
8866 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8869 2005-10-20 Wim Taymans <wim@fluendo.com>
8871 * gst/gsterror.c: (gst_error_get_message):
8874 * gst/gststructure.c:
8879 2005-10-20 Wim Taymans <wim@fluendo.com>
8884 Another 1% more coverage.
8886 2005-10-20 Wim Taymans <wim@fluendo.com>
8888 * docs/gst/gstreamer-sections.txt:
8889 * gst/gstelement.c: (gst_element_get_state_func),
8890 (gst_element_abort_state), (gst_element_commit_state),
8891 (gst_element_lost_state):
8893 * gst/gstquery.c: (gst_query_set_position),
8894 (gst_query_parse_position), (gst_query_set_duration),
8895 (gst_query_parse_duration), (gst_query_new_convert):
8897 Yay! 1% more docs coverage.
8899 2005-10-20 Wim Taymans <wim@fluendo.com>
8902 * gst/gstquery.c: (gst_query_set_position),
8903 (gst_query_parse_position), (gst_query_set_duration),
8904 (gst_query_parse_duration), (gst_query_new_convert):
8906 * gst/gstutils.c: (gst_element_query_convert):
8908 Docs and consistency fixes.
8910 2005-10-20 Wim Taymans <wim@fluendo.com>
8916 2005-10-20 Wim Taymans <wim@fluendo.com>
8918 * gst/gstbin.c: (message_check), (bin_replace_message),
8919 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8920 (update_degree), (gst_bin_sort_iterator_next),
8921 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8922 Reworked the message handling a bit, cache the messages instead of
8923 only the senders. alows us to do more in the future.
8925 2005-10-20 Wim Taymans <wim@fluendo.com>
8927 * docs/design/part-TODO.txt:
8930 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8931 (gst_base_sink_query):
8932 Don't use clock time to report position when in EOS.
8934 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
8936 * tools/gst-inspect.c: (print_interfaces),
8937 (print_element_properties_info), (print_element_info):
8938 Fix interface output with gst-inspect -a; don't print
8939 newlines after double/float properties.
8941 2005-10-20 Wim Taymans <wim@fluendo.com>
8943 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8944 (gst_base_sink_query):
8945 Speed up current position calculation.
8947 * gst/base/gstbasesrc.c: (gst_base_src_query),
8948 (gst_base_src_default_newsegment):
8949 Correctly set stream position in newsegment.
8951 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8952 (update_degree), (gst_bin_sort_iterator_next),
8953 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8954 * gst/gstmessage.c: (gst_message_new_custom):
8955 Clean up debugging info
8957 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8958 (gst_queue_loop), (gst_queue_handle_src_query):
8961 2005-10-19 Wim Taymans <wim@fluendo.com>
8963 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8964 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8965 Fix query handling again.
8967 2005-10-19 Wim Taymans <wim@fluendo.com>
8969 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8970 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8971 * gst/base/gstbasesrc.c: (gst_base_src_query):
8972 * gst/elements/gstfilesink.c: (gst_file_sink_query):
8973 * gst/elements/gsttypefindelement.c:
8974 (gst_type_find_handle_src_query), (find_element_get_length),
8975 (gst_type_find_element_activate):
8978 * gst/gstquery.c: (gst_query_new_position),
8979 (gst_query_set_position), (gst_query_parse_position),
8980 (gst_query_new_duration), (gst_query_set_duration),
8981 (gst_query_parse_duration), (gst_query_set_segment),
8982 (gst_query_parse_segment):
8984 Bundling query position/duration is not a good idea since duration
8985 does not change much and we don't want to recalculate it for every
8986 position query, so they are separated again..
8987 Base value in segment query is not needed.
8989 * gst/gstqueue.c: (gst_queue_handle_src_query):
8990 * gst/gstutils.c: (gst_element_query_position),
8991 (gst_element_query_duration), (gst_pad_query_position),
8992 (gst_pad_query_duration):
8994 Updates for query API change.
8995 Added some docs here and there.
8997 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
8999 * check/gst/gstbin.c: (GST_START_TEST):
9000 * check/gst/gstghostpad.c: (GST_START_TEST):
9001 * check/pipelines/cleanup.c: (GST_START_TEST):
9002 wait on thread to die so we can check refcount correctly
9004 2005-10-18 Wim Taymans <wim@fluendo.com>
9006 * check/pipelines/stress.c: (GST_START_TEST):
9007 Make check a little more time consuming.
9009 2005-10-18 Wim Taymans <wim@fluendo.com>
9011 * check/Makefile.am:
9012 * check/pipelines/stress.c: (GST_START_TEST),
9013 (simple_launch_lines_suite), (main):
9014 Small state change torture test.
9016 * docs/design/part-states.txt:
9017 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9018 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
9019 (gst_base_sink_change_state):
9020 Never take state lock from streaming thread, clean up ugly
9021 hacks. Unfortunatly core does not yet support nice ways to
9024 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
9026 Start state recalc if a STATE_DIRTY message is posted, but only
9027 on the toplevel bin.
9029 * gst/gstelement.c: (gst_element_sync_state_with_parent),
9030 (gst_element_get_state_func), (gst_element_abort_state),
9031 (gst_element_commit_state), (gst_element_lost_state),
9032 (gst_element_set_state_func), (gst_element_change_state):
9034 State variables are now protected with the LOCK, the state
9035 lock is only used to serialize _set_state().
9037 2005-10-18 Wim Taymans <wim@fluendo.com>
9039 * check/gst/gstbin.c: (GST_START_TEST):
9040 * check/gst/gstmessage.c: (GST_START_TEST):
9041 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9042 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
9044 * gst/gstelement.c: (gst_element_abort_state),
9045 (gst_element_commit_state), (gst_element_lost_state):
9046 * gst/gstmessage.c: (gst_message_new_state_changed),
9047 (gst_message_new_state_dirty), (gst_message_new_segment_start),
9048 (gst_message_new_segment_done), (gst_message_new_duration),
9049 (gst_message_parse_state_changed),
9050 (gst_message_parse_segment_start),
9051 (gst_message_parse_segment_done), (gst_message_parse_duration):
9053 * tools/gst-launch.c: (event_loop):
9054 Seriously, this is better than a previous commit as we only need
9055 to notify the fact that an element changed state in a streaming
9056 thread, marking the state of the parents dirty, hence the
9057 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
9060 2005-10-18 Wim Taymans <wim@fluendo.com>
9062 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
9063 (gst_bin_recalc_func):
9064 * gst/gstelement.c: (gst_element_set_clock),
9065 (gst_element_abort_state), (gst_element_lost_state):
9066 Cleanups, prepare for state change fixes.
9068 2005-10-18 Wim Taymans <wim@fluendo.com>
9071 * gst/gstelement.c: (gst_element_class_init),
9072 (gst_element_set_state), (gst_element_set_state_func):
9074 Pending ABI changes.
9075 GThreadPool in GstBinClass to monitor async state changes.
9076 state_cookie in GstElement to detect concurrent gst/set state.
9077 set_state is now virtual too in case a very complicated element
9078 has to be constructed.
9080 2005-10-18 Wim Taymans <wim@fluendo.com>
9082 * check/gst/gstbin.c: (GST_START_TEST):
9083 * check/gst/gstmessage.c: (GST_START_TEST):
9084 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9085 * gst/gstbin.c: (bin_bus_handler):
9086 * gst/gstelement.c: (gst_element_commit_state),
9087 (gst_element_lost_state):
9088 * gst/gstmessage.c: (gst_message_new_state_changed),
9089 (gst_message_new_segment_start), (gst_message_new_segment_done),
9090 (gst_message_new_duration), (gst_message_parse_state_changed),
9091 (gst_message_parse_segment_start),
9092 (gst_message_parse_segment_done), (gst_message_parse_duration):
9094 * tools/gst-launch.c: (event_loop):
9095 Make messages future proof.
9096 state-change gets a flag if it was a message comming from the
9098 segment-start/stop can also be specified in other formats.
9099 A message to notify an app that a pipeline changed playback
9101 Also fix a GstMessage leak in -launch
9103 2005-10-18 Andy Wingo <wingo@pobox.com>
9105 * gst/gstelement.c (gst_element_dispose): More helpful message.
9107 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
9109 reviewed by: <delete if not using a buddy>
9111 * common/gtk-doc.mak:
9113 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
9115 * gst/gstregistry.c: (gst_registry_scan_path_level):
9116 unref a plug-in we get that was already initialized
9118 2005-10-18 Stefan Kost <ensonic@users.sf.net>
9120 * docs/gst/gstreamer-sections.txt:
9121 * docs/libs/gstreamer-libs-sections.txt:
9126 2005-10-17 Andy Wingo <wingo@pobox.com>
9128 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
9131 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
9133 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
9135 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
9136 (gst_element_get_state_func): Better debug message.
9137 (gst_element_commit_state): s/INFO/DEBUG/.
9138 (gst_element_lost_state, gst_element_change_state):
9140 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
9141 (gst_message_new_custom): s/INFO/LOG/.
9143 2005-10-17 Michael Smith <msmith@fluendo.com>
9145 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9146 Check if end time is valid using end time, not start time.
9148 2005-10-17 Stefan Kost <ensonic@users.sf.net>
9150 * check/gst-libs/controller.c: (GST_START_TEST),
9151 (gst_controller_suite):
9152 * libs/gst/controller/gstcontroller.c:
9153 (gst_controlled_property_set_interpolation_mode):
9154 * libs/gst/controller/gstcontroller.h:
9155 * libs/gst/controller/gstinterpolation.c:
9156 * testsuite/controller/.cvsignore:
9157 * testsuite/controller/Makefile.am:
9158 * testsuite/controller/interpolator.c:
9159 merge controller testsuites
9161 remove mem-chunk from docs
9163 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
9165 * gst/gstmemchunk.c:
9166 * gst/gstmemchunk.h:
9167 * gst/gsttrashstack.c:
9168 * gst/gsttrashstack.h:
9169 out. get out. you're fired. to the Attic !
9171 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
9173 * gst/gstcaps.c: (gst_caps_intersect):
9174 fix signedness issues in a (hopefully) correct way
9175 * gst/gstelement.c: (gst_element_pads_activate):
9177 * gst/gstobject.c: (gst_object_set_parent):
9180 2005-10-17 Julien MOUTTE <julien@moutte.net>
9182 * gst/gstvalue.h: Fix prototypes.
9184 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9186 * docs/gst/gstreamer-sections.txt:
9187 * gst/gst.c: (gst_version_string):
9189 * gst/gstversion.h.in:
9190 * win32/common/libgstreamer.def:
9191 add gst_version_string ()
9193 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9197 * gst/gst.c: (init_post):
9198 * win32/common/config.h.in:
9200 * gst/gstcaps.c: (gst_caps_intersect):
9201 use gint64, the range could be bigger than a guint
9203 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9206 document potential problem in 2038
9208 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9210 * gst/gstcaps.c: (gst_caps_intersect):
9211 Fix guint j diving under 0
9213 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9216 * win32/common/config.h:
9217 * win32/common/config.h.in:
9218 check for process.h, declares getpid() on Windows
9220 include process.h if we have it
9221 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
9222 * gst/gstmemchunk.h:
9223 fix signedness issues
9224 * win32/common/libgstreamer.def:
9227 2005-10-16 Julien MOUTTE <julien@moutte.net>
9229 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
9230 fix. Because of unsigned ints, caps intersection was going nuts and
9231 trying to access structures with G_MAXUINT index. That fixes
9232 videotestsrc ! ffmpegcolorspace ! fakesink
9233 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
9236 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9239 use the gettext macro
9240 * gst/elements/gstelements.c:
9242 * gst/indexers/gstindexers.c:
9243 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
9244 * win32/common/config.h:
9246 * win32/common/config.h.in:
9247 add the template to generate config.h
9248 * win32/common/gstenumtypes.c:
9249 * win32/common/gstversion.h:
9252 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9254 * gst/gst.c: (gst_version):
9255 * gst/gstversion.h.in:
9258 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
9261 Oops, add missing closing bracket.
9263 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9266 use common m4's for argument checking
9268 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
9270 * docs/gst/gstreamer-sections.txt:
9272 Add GST_EVENT_TYPE_NAME() macro.
9274 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9277 * gst/gstpluginfeature.c:
9279 privatize more symbols
9281 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9284 add srcdir, builddir includes to GST_ALL_CFLAGS, since
9285 everything that uses GStreamer API should have the includes
9287 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9289 * docs/gst/gstreamer-sections.txt:
9290 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9292 give each value a _get_type, removes the DATA exports
9294 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9298 remove _gst_registry_auto_load, not used anymore
9299 * gst/gstbin.c: (gst_bin_get_type):
9301 * gst/gstelement.c: (gst_element_get_type):
9303 * gst/gstobject.c: (gst_object_get_type):
9305 * gst/gstpad.c: (gst_pad_get_type):
9307 make _get_type functions similar, fixes data export from library
9309 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9312 correctly make conditionals
9313 * gst/elements/Makefile.am:
9314 * gst/elements/gstelements.c:
9315 fix typo causing fdsrc not to build
9317 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9319 * testsuite/Makefile.am:
9320 * testsuite/bytestream/.cvsignore:
9321 * testsuite/bytestream/Makefile.am:
9322 * testsuite/bytestream/filepadsink.c:
9323 * testsuite/bytestream/gstbstest.c:
9324 * testsuite/bytestream/test1.c:
9325 * testsuite/bytestream/testfile1:
9326 * testsuite/caps/normalisation.c:
9327 * testsuite/caps/random.c: (main):
9328 * testsuite/cleanup/.cvsignore:
9329 * testsuite/cleanup/Makefile.am:
9330 * testsuite/cleanup/cleanup1.c:
9331 * testsuite/cleanup/cleanup2.c:
9332 * testsuite/cleanup/cleanup3.c:
9333 * testsuite/cleanup/cleanup4.c:
9334 * testsuite/cleanup/cleanup5.c:
9335 * testsuite/controller/interpolator.c:
9336 * testsuite/debug/printf_extension.c: (main):
9337 * testsuite/elements/tee.c:
9338 * testsuite/negotiation/.cvsignore:
9339 * testsuite/negotiation/Makefile.am:
9340 * testsuite/negotiation/pad_link.c:
9341 * testsuite/pad/Makefile.am:
9342 * testsuite/pad/chainnopull.c:
9343 * testsuite/pad/getnopush.c:
9344 * testsuite/pad/link.c:
9345 * testsuite/refcounting/sched.c: (create_pipeline):
9346 * testsuite/registry/Makefile.am:
9347 * testsuite/registry/gst-print-formats.c:
9348 * testsuite/schedulers/.cvsignore:
9349 * testsuite/schedulers/142183-2.c:
9350 * testsuite/schedulers/142183.c:
9351 * testsuite/schedulers/143777-2.c:
9352 * testsuite/schedulers/143777.c:
9353 * testsuite/schedulers/147713.c:
9354 * testsuite/schedulers/147819.c:
9355 * testsuite/schedulers/147894-2.c:
9356 * testsuite/schedulers/147894.c:
9357 * testsuite/schedulers/Makefile.am:
9358 * testsuite/schedulers/group_link.c:
9359 * testsuite/schedulers/queue_link.c:
9360 * testsuite/schedulers/relink.c:
9361 * testsuite/schedulers/unlink.c:
9362 * testsuite/schedulers/unref.c:
9363 * testsuite/schedulers/useless_iteration.c:
9364 * testsuite/states/bin.c:
9365 clean out/remove some stuff from the testsuite directories
9367 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9370 check for some headers
9371 * gst/elements/Makefile.am:
9372 * gst/elements/gstelements.c:
9373 don't compile fdsrc without sys/socket.h
9374 * gst/indexers/Makefile.am:
9375 * gst/indexers/gstindexers.c: (plugin_init):
9376 don't compile fileindex without mmap
9378 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9385 * check/Makefile.am:
9386 * docs/gst/Makefile.am:
9387 * examples/helloworld/Makefile.am:
9389 * gst/base/Makefile.am:
9390 * gst/check/Makefile.am:
9391 * gst/elements/Makefile.am:
9392 * gst/indexers/Makefile.am:
9393 * gst/parse/Makefile.am:
9394 * libs/gst/controller/Makefile.am:
9395 * libs/gst/dataprotocol/Makefile.am:
9396 * examples/helloworld/helloworld.c: (event_loop):
9397 compile fixes, though it's not being compiled currently
9399 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9401 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
9402 Add some simple tests for the new taglist date API.
9404 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9406 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
9407 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
9408 Beautify 'last-message' output: print 'none' for buffer timestamps
9409 and durations if none is set; improve alignment with next messages.
9411 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9413 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
9414 * gst/gstpluginfeature.h:
9415 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
9416 * gst/gstregistry.h:
9417 * docs/gst/gstreamer-sections.txt:
9418 Add new API to check plugin feature version requirements.
9420 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
9421 Some basic tests for the above.
9423 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9425 * gst/gststructure.c: (gst_structure_to_string):
9426 guard against NULL printf - happens when for example
9427 a message structure with GstClock gets serialized
9429 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
9431 * gst/base/gstcollectpads.c: (gst_collectpads_event):
9432 Fix presumable copy'n'pasto.
9434 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9436 * gst/elements/gstfakesrc.h:
9437 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
9438 * gst/elements/gsttypefindelement.c:
9440 * gst/elements/gstfilesink.c: (gst_file_sink_render):
9441 I wonder if this could actually write +2GB files before
9443 2005-10-13 Andy Wingo <wingo@pobox.com>
9445 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
9446 Fix Timmeke Waymans bug.
9447 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
9448 string of the proper length to gst_caps_from_string. There's a
9449 potential for, before this fix, that this could cause someone
9450 connecting over the network to cause a segfault if the payload is
9453 2005-10-13 Stefan Kost <ensonic@users.sf.net>
9455 * docs/design/draft-push-pull.txt:
9456 * docs/design/part-overview.txt:
9457 * docs/random/TODO-pre-0.9:
9458 * docs/random/old/ChangeLog.gstreamer:
9459 * gst/base/gstpushsrc.c:
9463 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9465 * gst/glib-compat.c: (gst_flags_get_first_value):
9466 * gst/glib-compat.h:
9467 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
9468 (gst_value_compare_double), (gst_value_serialize_flags):
9469 GLib 2.6 g_flags_get_first_value has a bug that triggers an
9472 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9475 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9477 * tools/gst-launch.c: (event_loop):
9478 print out clock nicely
9480 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
9482 * docs/gst/gstreamer-sections.txt:
9484 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
9485 (gst_tag_list_get_date_index):
9486 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
9487 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
9489 2005-10-13 Julien MOUTTE <julien@moutte.net>
9491 * gst/base/gstcollectpads.c: (gst_collectpads_event),
9492 (gst_collectpads_chain):
9493 * gst/base/gstcollectpads.h: Handle newsegment and store informations
9496 2005-10-13 Stefan Kost <ensonic@users.sf.net>
9498 * docs/gst/gstreamer-sections.txt:
9501 * tools/gst-inspect.c: (main):
9502 * tools/gst-launch.c: (main):
9503 * tools/gst-run.c: (main):
9504 * tools/gst-xmlinspect.c: (main):
9505 fix GOption context leaks
9508 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9512 * win32/common/config.h:
9514 * win32/vs6/grammar.dsp:
9515 * win32/vs6/libgstelements.dsp:
9516 * win32/vs6/libgstreamer.dsp:
9519 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9522 * gst/base/gstbasesrc.c: (gst_base_src_query):
9523 fix more guint64<->gdouble conversions
9525 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9528 add win32-update target
9529 * win32/common/gstconfig.h:
9530 * win32/common/gstenumtypes.c:
9531 * win32/common/gstenumtypes.h:
9532 * win32/common/gstversion.h:
9533 add files that visual studio can't generate
9535 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9538 add a win32-update target
9541 2005-10-12 Wim Taymans <wim@fluendo.com>
9543 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9544 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9545 * gst/gstelement.c: (gst_element_commit_state),
9546 (gst_element_set_state):
9547 Protect flags with proper lock.
9548 unref provided cached clock in dispose.
9550 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9553 * gst/gstminiobject.h:
9555 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9556 removed unused flags from miniobject
9559 2005-10-12 Wim Taymans <wim@fluendo.com>
9561 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9562 (gst_file_sink_event), (gst_file_sink_render):
9563 Flush before seeking.
9565 2005-10-12 Andy Wingo <wingo@pobox.com>
9567 * gst/gst.c (gst_init_check): Ignore unknown options, as has
9568 always been the case.
9570 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9572 * check/gst/gstbin.c: (GST_START_TEST):
9573 * docs/gst/gstreamer-sections.txt:
9574 * gst/base/gstbasesink.c: (gst_base_sink_init):
9575 * gst/base/gstbasesrc.c: (gst_base_src_init),
9576 (gst_base_src_get_range), (gst_base_src_check_get_range),
9577 (gst_base_src_start), (gst_base_src_stop):
9578 * gst/base/gstbasesrc.h:
9579 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9580 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9581 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9585 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9587 * gst/gstelement.c: (gst_element_is_locked_state),
9588 (gst_element_set_locked_state), (gst_element_commit_state),
9589 (gst_element_set_state):
9591 * gst/gstindex.c: (gst_index_init):
9593 * gst/gstminiobject.h:
9594 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9595 (gst_object_set_parent):
9597 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9598 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9600 * gst/gstpadtemplate.h:
9601 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9602 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9603 * gst/gstpipeline.h:
9604 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9605 (gst_file_index_commit):
9606 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9607 * testsuite/pad/link.c: (gst_test_src_init),
9608 (gst_test_filter_init), (gst_test_sink_init):
9609 * testsuite/states/locked.c: (main):
9610 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9611 moved bitshift from macro to enum definition
9613 2005-10-12 Wim Taymans <wim@fluendo.com>
9615 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9616 * gst/elements/gstfilesink.c: (gst_file_sink_event),
9617 (gst_file_sink_render):
9618 Some more debugging info.
9620 2005-10-12 Wim Taymans <wim@fluendo.com>
9622 * docs/design/part-states.txt:
9623 * tools/gst-launch.c: (main):
9625 Revert non-intentional change.
9627 2005-10-12 Wim Taymans <wim@fluendo.com>
9629 * check/gst/gstbin.c: (GST_START_TEST):
9630 * check/gst/gstelement.c: (GST_START_TEST):
9631 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9632 * check/gst/gstghostpad.c: (GST_START_TEST):
9633 * check/gst/gstpipeline.c: (GST_START_TEST):
9634 * check/pipelines/simple_launch_lines.c: (run_pipeline):
9635 * check/states/sinks.c: (GST_START_TEST):
9636 * gst/elements/gsttypefindelement.c: (stop_typefinding):
9637 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9638 (gst_bin_remove_func), (gst_bin_get_state_func),
9639 (gst_bin_recalc_state), (gst_bin_change_state_func),
9641 * gst/gstelement.c: (gst_element_get_state_func),
9642 (gst_element_get_state), (gst_element_abort_state),
9643 (gst_element_commit_state), (gst_element_set_state),
9644 (gst_element_change_state), (gst_element_change_state_func):
9646 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9647 (gst_pipeline_provide_clock_func):
9648 * gst/gstutils.c: (gst_element_link_pads_filtered):
9649 * tools/gst-launch.c: (main):
9650 * tools/gst-typefind.c: (main):
9651 Use GstClockTime in _get_state() instead of GTimeVal.
9652 Remove old code in gstutils.c
9654 2005-10-12 Andy Wingo <wingo@pobox.com>
9656 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9659 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9660 there is no task. Shouldn't affect any code, as nothing in our
9661 plugins checks this return value.
9662 (gst_pad_stop_task): Also take the stream lock if the pad has no
9665 2005-10-12 Wim Taymans <wim@fluendo.com>
9667 * gst/gstpad.c: (pre_activate), (post_activate),
9668 (gst_pad_activate_pull), (gst_pad_activate_push):
9669 Cleanup activation code. Reset old state if
9672 2005-10-12 Wim Taymans <wim@fluendo.com>
9674 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9675 (gst_base_sink_change_state):
9676 No need to prerol after receiving EOS.
9678 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9679 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9680 * gst/elements/gstidentity.c: (gst_identity_event):
9681 Print events more verbosely.
9683 2005-10-12 Wim Taymans <wim@fluendo.com>
9685 * check/Makefile.am:
9686 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9687 * check/states/sinks2.c:
9688 Moved sinks2 testcode in sinks check.
9690 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9691 (gst_bin_remove_func), (gst_bin_recalc_state),
9692 (gst_bin_change_state_func), (bin_bus_handler):
9693 Fix potential race condition when _get_state() iterated over an
9694 ASYNC element right before it posted a state completion.
9697 Do proper cast here.
9699 * gst/gstevent.c: (gst_event_new_newsegment),
9700 (gst_event_parse_newsegment):
9701 A playback rate of 0.0 is not allowed.
9703 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9705 * win32/common/config.h:
9706 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9707 (_trewinddir), (_ttelldir), (_tseekdir):
9708 * win32/common/dirent.h:
9709 * win32/common/gtchar.h:
9710 * win32/common/libgstbase.def:
9711 * win32/common/libgstreamer.def:
9712 * win32/vs6/grammar.dsp:
9713 * win32/vs6/gst_inspect.dsp:
9714 * win32/vs6/gst_launch.dsp:
9715 * win32/vs6/gstreamer.dsw:
9716 * win32/vs6/libgstbase.dsp:
9717 * win32/vs6/libgstelements.dsp:
9718 * win32/vs6/libgstreamer.dsp:
9719 Visual Studio 6 project files, and a new common directory.
9722 2005-10-11 Wim Taymans <wim@fluendo.com>
9724 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9725 (gst_base_sink_do_sync), (gst_base_sink_query),
9726 (gst_base_sink_change_state):
9727 * gst/base/gstbasesink.h:
9728 Correctly parse newsegment info.
9730 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9732 * gst/gst.c: (init_post):
9733 split plugin paths correctly
9735 2005-10-11 Wim Taymans <wim@fluendo.com>
9737 * check/gst/gstevent.c: (GST_START_TEST):
9738 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9739 (gst_base_sink_change_state):
9740 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9741 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9742 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9743 * gst/gstevent.c: (gst_event_new_newsegment),
9744 (gst_event_parse_newsegment):
9746 Added extra flag to newsegment for future API freeze.
9747 Updated check and base elements.
9749 2005-10-11 Julien MOUTTE <julien@moutte.net>
9751 * gst/base/gstcollectpads.c: (gst_collectpads_init),
9752 (gst_collectpads_add_pad), (gst_collectpads_pop),
9753 (gst_collectpads_event), (gst_collectpads_chain):
9754 * gst/base/gstcollectpads.h: Handle EOS correctly.
9756 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9758 * tools/gst-launch.c: (main):
9759 more null protecting
9761 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9763 * gst/gst-i18n-lib.h:
9764 check for ENABLE_NLS, not GETTEXT_PACKAGE
9765 * gst/gstregistry.c: (gst_registry_add_plugin),
9766 (gst_registry_scan_path_level),
9767 (_gst_registry_remove_cache_plugins):
9768 protect possibly NULL strings
9769 * gst/parse/types.h:
9770 config.h already included before
9771 * tools/gst-inspect.c: (main):
9772 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9773 check for ENABLE_NLS, not GETTEXT_PACKAGE
9774 * tools/gst-launch.c: (main):
9775 check for ENABLE_NLS, not GETTEXT_PACKAGE
9777 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9780 if we don't have glib, fail before testing 2.8
9781 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9782 fix a leak, should fix plugins-base testsuite
9784 2005-10-11 Andy Wingo <wingo@pobox.com>
9786 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9787 take the mode we're going to as an arg. Go head and set the mode
9788 and flushing flags now, so that if the activate function starts a
9789 thread all the flags will be in the right state.
9790 (post_activate): Renamed also. Just handle making sure streaming
9791 finishes for the deactivation case, and setting the deactivated
9793 (gst_pad_set_active): Complain loudly if deactivation fails.
9794 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9795 (gst_pad_activate_push): Adapt to pre/post_activate changes,
9796 remove the terrible hack.
9798 2005-10-11 Wim Taymans <wim@fluendo.com>
9800 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9801 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9802 (gst_bin_recalc_state), (gst_bin_change_state_func),
9803 (gst_bin_dispose), (bin_bus_handler):
9805 Prepare to make current EOS message queue more generic.
9808 * gst/gstevent.c: (gst_event_new_newsegment),
9809 (gst_event_parse_newsegment):
9811 Rename base to stream_time.
9816 2005-10-11 Wim Taymans <wim@fluendo.com>
9818 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9819 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9820 (gst_bin_change_state_func), (bin_bus_handler):
9822 Work on proper clock selection.
9824 2005-10-11 Edward Hervey <edward@fluendo.com>
9826 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
9827 * libs/gst/controller/gstcontroller.h:
9828 Added GList* version of _remove_properties() in order to be able to wrap
9831 2005-10-11 Wim Taymans <wim@fluendo.com>
9833 * docs/design/part-states.txt:
9836 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9837 (gst_bin_change_state_func), (bin_bus_handler):
9838 Doc updates. Don't distribute the same clock over and over again.
9844 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9845 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9846 (gst_pad_send_event):
9848 Make probe emission threadsafe again.
9849 Register quarks and move _get_name() from utils.
9852 * gst/gstpipeline.c: (gst_pipeline_class_init),
9853 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9854 Only redistribute the clock of it changed.
9856 * gst/gstsystemclock.h:
9861 Moved the _flow_get_name() to GstPad.
9863 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9865 * check/gst-libs/gdp.c: (GST_START_TEST):
9866 * check/gst/gstcaps.c: (GST_START_TEST):
9867 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9868 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9869 (gst_dp_packet_from_caps):
9870 fix more valgrind warnings before turning up the heat
9872 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9874 * gst/parse/grammar.y:
9875 some cleanup before the hacking
9877 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9879 * gst/base/gstbasesrc.c: (gst_base_src_query):
9881 * gst/gstutils.c: (gst_guint64_to_gdouble),
9882 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9884 externalize, basesrc uses it
9885 obviously the implementation needs testing
9887 2005-10-10 Wim Taymans <wim@fluendo.com>
9889 * tests/sched/Makefile.am:
9890 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9891 (make_pipeline3), (make_pipeline4), (print_elem), (main):
9893 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9895 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9896 apparently converting from guint64 to double is not implemented
9899 2005-10-10 Wim Taymans <wim@fluendo.com>
9901 * check/Makefile.am:
9902 * check/generic/states.c: (GST_START_TEST):
9903 * check/gst/gstbin.c: (GST_START_TEST):
9904 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9905 * check/states/sinks.c: (GST_START_TEST):
9906 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9908 Check fixes, use API as stated in design docs, remove hacks.
9910 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9911 (gst_base_sink_change_state):
9912 Catch stopping our task while we're shutting down.
9914 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9915 (gst_bin_remove_func), (gst_bin_get_state_func),
9916 (gst_bin_recalc_state), (gst_bin_change_state_func),
9919 * gst/gstelement.c: (gst_element_init),
9920 (gst_element_get_state_func), (gst_element_abort_state),
9921 (gst_element_commit_state), (gst_element_lost_state),
9922 (gst_element_set_state), (gst_element_change_state),
9923 (gst_element_change_state_func):
9925 New state change algorithm (see #318116)
9927 * gst/gstpipeline.c: (gst_pipeline_class_init),
9928 (gst_pipeline_init), (gst_pipeline_set_property),
9929 (gst_pipeline_get_property), (do_pipeline_seek),
9930 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9931 * gst/gstpipeline.h:
9932 Remove crude state change hacks.
9937 * tools/gst-launch.c: (main):
9938 Fixes for state change. Needs some more work to fully use the
9941 2005-10-10 Andy Wingo <wingo@pobox.com>
9943 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9945 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9946 this flag, but it's not even in GLib 2.6. Odd. Hack around the
9949 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9951 * gst/gstiterator.c: (gst_iterator_new):
9952 Fix my previous commit: GTypes passed to gst_iterator_new()
9953 can be fundamental types.
9955 2005-10-10 Wim Taymans <wim@fluendo.com>
9957 * gst/gstelement.c: (gst_element_iterate_pad_list),
9958 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9959 (gst_element_iterate_sink_pads):
9960 Use src/sink pads lists for the respective iterators instead
9963 2005-10-10 Andy Wingo <wingo@pobox.com>
9965 Merged in popt removal + GOption addition patch from Ronald, bug
9968 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9969 GstElement macros around, remove popt-related symbols, add goption
9972 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9974 * docs/gst/Makefile.am:
9975 * docs/libs/Makefile.am: No POPT_CFLAGS.
9977 * examples/manual/Makefile.am:
9978 * docs/manual/basics-init.xml: Doc updates with an example.
9980 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9981 (gst_init), (parse_one_option), (parse_goption_arg):
9982 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9983 bit of hand merging and debugging to get the GOption stuff working
9986 * tests/Makefile.am:
9987 * tools/Makefile.am:
9988 * tools/gst-inspect.c: (main):
9989 * tools/gst-launch.c: (main):
9990 * tools/gst-run.c: (main):
9991 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9993 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9995 * gst/gstiterator.c: (gst_iterator_new):
9996 Add assertions to make sure passed GType is likely to really
9997 be a GType (as the compiler won't catch it if the size and
9998 GType arguments get mixed up, see #318447).
10000 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
10002 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10004 * gst/gstbin.c: (gst_bin_iterate_sorted):
10005 Pass GType and size arguments to gst_iterator_new() in the right
10006 order (maybe we should make _new() take the GType as first argument
10007 just like _new_list()?) (#318447).
10010 2005-10-10 Wim Taymans <wim@fluendo.com>
10012 * gst/gstelement.c: (gst_element_finalize):
10013 And free the GStaticRecMutex too
10015 2005-10-10 Andy Wingo <wingo@pobox.com>
10017 * gst/gstelement.c (gst_element_init, gst_element_finalize):
10018 Allocate and free the mutex properly.
10020 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
10022 (GstElement): The state_lock is now recursive. Rebuild your
10023 plugins, suckers. Old macros adapted.
10025 * docs/gst/gstreamer-sections.txt: Doc updates.
10028 * gst/gstutils.c (g_static_rec_cond_timed_wait)
10029 (g_static_rec_cond_wait): Ported from state changes patch, while
10030 we wait on bug #317802 to be solved in a well-distributed GLib.
10032 * gst/gstelement.c (gst_element_change_state_func): Renamed from
10033 gst_element_change_state, variable name changes.
10034 (gst_element_change_state): Split out of gst_element_set_state in
10035 preparation for the state change merge. Doesn't pay attention to
10036 the 'transition' argument.
10037 (gst_element_set_state): Updates, hopefully purely cosmetic.
10038 (gst_element_sync_state_with_parent): MT-safety. Ported from the
10039 state change patch.
10040 (gst_element_get_state_func): Renamed from get_state, cosmetic
10043 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10045 * gst/elements/gstelements.c:
10046 * win32/GStreamer.vcproj:
10048 * win32/dirent.c: (_tseekdir):
10049 * win32/gst-inspect.vcproj:
10050 * win32/gst-launch.vcproj:
10051 * win32/gstconfig.h:
10052 * win32/gstelements.vcproj:
10053 * win32/gstenumtypes.c: (gst_object_flags_get_type):
10054 * win32/gstreamer.def:
10055 * win32/msvc71.sln:
10056 updates for the win32 build (patch from Sebastien Moutte)
10058 2005-10-10 Andy Wingo <wingo@pobox.com>
10060 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
10061 gst_bin_get_state, cleaned up (but no logic changes).
10062 (bin_element_is_sink): Comment updates.
10063 (sink_iterator_filter): Remove needless cast.
10064 (gst_bin_iterate_sinks): Doc update.
10065 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
10066 cleaned up (but no logic changes).
10068 * check/states/sinks.c (test_src_sink): Cleanups from the state
10070 (test_livesrc_sink): Sync on the state.
10072 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
10073 the state change patch.
10075 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
10078 * check/gst/gstbin.c: Merge in some style fixes and additional
10079 checks from Wim's state change patch.
10081 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10083 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10084 (gst_type_find_helper):
10085 Check whether we have the requested data already in our list of
10086 cached buffers before pulling a new buffer; also make the buffer
10087 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
10089 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10094 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10095 don't use long long, it's not portable. Replacing with
10096 gint64 seems to work; let's hope no skeletons fall out of the closet.
10098 2005-10-10 Andy Wingo <wingo@pobox.com>
10100 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
10102 2005-10-09 Stefan Kost <ensonic@users.sf.net>
10104 * docs/gst/gstreamer-sections.txt:
10109 * gst/gstmessage.c: (gst_message_parse_state_changed):
10112 more docs, fix compilation
10114 2005-10-09 Philippe Khalaf <burger@speedy.org>
10115 * gst/gstmessage.c:
10116 Fixed a few forgotten variables on previous commit
10118 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
10120 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10121 Fix evil typefind crasher: getrange() might return a short
10122 buffer at the end of a file, but gst_type_find_peek() must
10123 either return the full data as requested or NULL, but
10124 never a short buffer.
10126 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
10128 * gst/gstmessage.c: (gst_message_new_state_changed),
10129 (gst_message_parse_state_changed):
10130 * gst/gstmessage.h:
10131 don't use "new", it's a C++ keyword
10133 2005-10-08 Wim Taymans <wim@fluendo.com>
10135 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
10136 * gst/gstelement.c: (gst_element_post_message):
10137 * gst/gstpipeline.c: (gst_pipeline_change_state):
10138 Small docs and debug updates.
10140 2005-10-08 Stefan Kost <ensonic@users.sf.net>
10142 * docs/gst/gstreamer-sections.txt:
10143 * gst/gstelementfactory.c:
10145 * gst/gsttaglist.c:
10148 2005-10-08 Wim Taymans <wim@fluendo.com>
10150 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
10151 (gst_bin_dispose), (bin_bus_handler):
10152 Fix typos, add comments.
10153 Clear EOS list when going to PAUSED from any direction and do it
10154 in a threadsafe way.
10155 Get base time in a threadsafe way too.
10156 Fix confusing debug in the change_state function.
10157 Various other small cleanups.
10159 * gst/gstelement.c: (gst_element_post_message):
10160 Fix very verbose bus posting code.
10162 * gst/gstpipeline.c: (gst_pipeline_class_init),
10163 (gst_pipeline_set_property), (gst_pipeline_get_property),
10164 (gst_pipeline_change_state):
10165 Small ARG_ -> PROP_ cleanup
10167 2005-10-08 Wim Taymans <wim@fluendo.com>
10169 * gst/gstbin.c: (is_eos), (bin_bus_handler):
10170 Do a less CPU demanding EOS check because we can.
10172 2005-10-08 Wim Taymans <wim@fluendo.com>
10174 * libs/gst/dataprotocol/dataprotocol.c:
10175 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10176 (gst_dp_packet_from_event):
10177 * libs/gst/dataprotocol/dataprotocol.h:
10178 * libs/gst/dataprotocol/dp-private.h:
10179 It's about time we bump the version number.
10180 Since event types don't fit in the guint8 anymore describing
10181 the payload type, make payload type 16 bits wide.
10183 2005-10-08 Wim Taymans <wim@fluendo.com>
10185 * docs/design/part-TODO.txt:
10186 * docs/design/part-clocks.txt:
10187 * docs/design/part-events.txt:
10188 * docs/design/part-gstbin.txt:
10189 * docs/design/part-gstelement.txt:
10190 * docs/design/part-gstpipeline.txt:
10191 * docs/design/part-live-source.txt:
10192 * docs/design/part-messages.txt:
10193 * docs/design/part-overview.txt:
10194 * docs/design/part-states.txt:
10197 2005-10-08 Wim Taymans <wim@fluendo.com>
10201 Fix event quark registration.
10202 Add some space between events so we can insert them in the
10205 2005-10-08 Wim Taymans <wim@fluendo.com>
10207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10208 (gst_base_sink_handle_buffer):
10209 Better log message.
10212 * gst/gstelement.h:
10215 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10216 (gst_queue_set_property), (gst_queue_get_property):
10218 Remove old unused properties.
10220 2005-10-08 Stefan Kost <ensonic@users.sf.net>
10221 * docs/gst/gstreamer-sections.txt:
10222 * gst/gstmessage.c:
10223 * gst/gstmessage.h:
10224 * gst/gstminiobject.c:
10225 * gst/gstminiobject.h:
10229 lots of new docs and doc fixes
10231 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10233 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
10235 * gst/gstregistry.c: (gst_registry_lookup_locked),
10236 (gst_registry_scan_path_level):
10237 * gst/gstregistryxml.c: (load_plugin):
10238 Only ever load one plugin for a given plugin basename.
10239 This ensures correct overriding of GST_PLUGIN_PATH over
10240 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
10241 system installed plugins.
10243 2005-10-08 Wim Taymans <wim@fluendo.com>
10245 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10246 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
10247 Prepare for doing QOS.
10249 2005-10-08 Wim Taymans <wim@fluendo.com>
10251 * check/gst/gstbin.c: (GST_START_TEST):
10252 * check/pipelines/cleanup.c: (GST_START_TEST):
10253 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10254 Allow new clock message too.
10256 2005-10-08 Wim Taymans <wim@fluendo.com>
10258 * gst/gstmessage.c: (gst_message_new_error),
10259 (gst_message_new_warning), (gst_message_new_tag),
10260 (gst_message_new_state_changed), (gst_message_new_clock_provide),
10261 (gst_message_new_clock_lost), (gst_message_new_new_clock),
10262 (gst_message_new_segment_start), (gst_message_new_segment_done),
10263 (gst_message_parse_state_changed),
10264 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
10265 (gst_message_parse_new_clock):
10266 * gst/gstmessage.h:
10267 Also carry the clock in question.
10269 2005-10-08 Wim Taymans <wim@fluendo.com>
10271 * gst/gstmessage.c: (gst_message_new_custom),
10272 (gst_message_new_eos), (gst_message_new_error),
10273 (gst_message_new_warning), (gst_message_new_tag),
10274 (gst_message_new_state_changed), (gst_message_new_clock_provide),
10275 (gst_message_new_new_clock), (gst_message_new_segment_start),
10276 (gst_message_new_segment_done), (gst_message_parse_state_changed),
10277 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
10278 * gst/gstmessage.h:
10280 Added clock related messages.
10282 * gst/gstpipeline.c: (gst_pipeline_change_state):
10283 Post message when the clock changed.
10285 * tools/gst-launch.c: (event_loop):
10288 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
10290 * tools/gst-inspect.c: (print_element_properties_info):
10291 Can't pass NULL strings to g_print() on windows.
10293 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10295 * docs/Makefile.am:
10296 * docs/gst/Makefile.am:
10297 * docs/gst/gstreamer-docs.sgml:
10298 * docs/gst/running.xml:
10299 * docs/version.entities.in:
10300 add a chapter on running GStreamer.
10301 document GST_DEBUG and GST_PLUGIN* env vars
10303 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10308 remove PLUGINS_BUILDDIR stuff
10309 * gst/gst.c: (init_post):
10310 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
10312 remove, it was condescending and not needed
10314 2005-10-08 Wim Taymans <wim@fluendo.com>
10316 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
10317 (gst_base_sink_handle_object), (gst_base_sink_event),
10318 (gst_base_sink_wait), (gst_base_sink_handle_event),
10319 (gst_base_sink_change_state):
10320 * gst/base/gstbasesink.h:
10321 Repost EOS message while going to PLAYING if still EOS.
10322 Make sure that when receiving a FLUSH_START we don't attempt
10323 to sync on the clock anymore.
10325 2005-10-08 Wim Taymans <wim@fluendo.com>
10327 * tools/gst-launch.c: (event_loop):
10328 Better message printout.
10330 2005-10-08 Wim Taymans <wim@fluendo.com>
10332 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
10333 (gst_bin_child_proxy_get_children_count):
10334 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
10335 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
10336 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
10337 (gst_child_proxy_set_valist):
10338 * gst/parse/grammar.y:
10339 Make ChildProxy threadsafe and fix mem leaks.
10341 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10343 * gst/gst.c: (init_post):
10344 debug the GST_PLUGIN_ env vars
10346 2005-10-08 Wim Taymans <wim@fluendo.com>
10348 * check/gst/gstbin.c: (GST_START_TEST):
10349 * check/gst/gstmessage.c: (GST_START_TEST):
10350 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10351 * gst/gstelement.c: (gst_element_commit_state),
10352 (gst_element_lost_state):
10353 * gst/gstmessage.c: (gst_message_new_state_changed),
10354 (gst_message_parse_state_changed):
10355 * gst/gstmessage.h:
10356 * tools/gst-launch.c: (event_loop):
10357 Added extra field to STATE_CHANGE message with the pending
10358 state, which will be different from the new state soon.
10360 2005-10-08 Wim Taymans <wim@fluendo.com>
10362 * gst/gstbus.c: (gst_bus_pop):
10364 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
10365 Small cleanups and doc updates.
10367 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10369 * gst/gst.c: (init_pre):
10370 * gst/gstbin.c: (gst_bin_add_func):
10371 log distributing clocks and base time
10372 * gst/gstregistry.c: (gst_registry_add_plugin),
10373 (gst_registry_scan_path_level), (gst_registry_scan_path):
10374 clean up the debugging output a little
10375 * gst/gstutils.c: (gst_element_state_get_name):
10376 warn about a memleak (I've actually seen this be used, though
10377 it was probably a bug)
10379 2005-10-07 Wim Taymans <wim@fluendo.com>
10381 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10382 (gst_base_src_init), (gst_base_src_default_newsegment),
10383 (gst_base_src_newsegment), (gst_base_src_do_seek),
10384 (gst_base_src_loop), (gst_base_src_start):
10385 * gst/base/gstbasesrc.h:
10386 Make the newsegment event customizable by subclasses.
10388 2005-10-07 Wim Taymans <wim@fluendo.com>
10390 * gst/gstevent.c: (gst_event_new_buffersize),
10391 (gst_event_parse_buffersize):
10393 New event for future idea.
10395 2005-10-07 Andy Wingo <wingo@pobox.com>
10397 * gst/gstelement.c (gst_element_post_message): Doc update.
10399 * docs/gst/gstreamer-sections.txt: Update.
10401 * gst/gstmessage.c (gst_message_new_application): Made into a
10402 function like honest API calls.
10403 (gst_message_new_element): New message type.
10405 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
10407 * check/elements/fakesrc.c (test_no_preroll): New check, checks
10408 that setting a live fakesrc to PAUSED returns NO_PREROLL both
10411 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
10412 NO_PREROLL from gst_element_change_state to fall through.
10414 2005-10-07 Wim Taymans <wim@fluendo.com>
10416 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
10417 (gst_ghost_pad_do_activate_push):
10418 Activating a ghostpad with no internal pad in push mode
10421 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
10424 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
10425 Fixes compilation on Windows.
10427 2005-10-07 Michael Smith <msmith@fluendo.com>
10429 * tools/gst-inspect.c:
10430 Print out feature and plugin count at the end when printing out
10433 2005-10-04 Michael Smith <msmith@fluendo.com>
10435 * gst/gsterror.c: (_gst_stream_errors_init):
10436 Add another error string used in a few existing plugins.
10439 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10440 * tools/gst-inspect.c: (print_element_info):
10441 When a feature disappears from a plugin (and the feature exists in
10442 the cached registry file), things went horribly wrong. This isn't a
10443 complete fix, we should actually be removing the 'missing' features
10444 from the features list when we load the actual plugin. That's not
10447 2005-10-04 Johan Dahlin <johan@gnome.org>
10449 * check/gst/gstiterator.c: (GST_START_TEST):
10450 * gst/gstbin.c: (gst_bin_iterate_elements),
10451 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
10452 * gst/gstelement.c: (gst_element_iterate_pads):
10453 * gst/gstformat.c: (gst_format_iterate_definitions):
10454 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10455 (gst_iterator_new_list), (gst_iterator_filter):
10456 * gst/gstiterator.h:
10457 * gst/gstquery.c: (gst_query_type_iterate_definitions):
10458 Add a GType to GstIterator, update callsites and tests.
10460 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10462 * gst/gstpad.c: (gst_pad_event_default_dispatch):
10463 give events a chance to be handled by event probes when the pad
10466 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10468 * gst/gstevent.c: (gst_event_type_get_name),
10469 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
10471 add string representations for event types
10473 2005-10-06 Wim Taymans <wim@fluendo.com>
10475 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
10476 Don't use NULL pointers.
10478 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10480 * gst/gst_private.h:
10482 * gst/gstelement.c:
10484 * gst/gstpluginfeature.c:
10485 widen the debug category in output to fit the biggest one we have
10486 add a bus category and use it
10487 play with the colors
10488 fix up some categories
10490 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10492 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
10493 add push activation of sink ghost pads.
10494 Andye, please verify
10496 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
10498 * gst/gstutils.c: (gst_element_link_pads):
10499 fix a bug in the case where neither element has a pad
10500 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10501 add a test for that case
10503 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
10505 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
10506 emit have-data before checking for peers. This allows
10507 for probe handlers to connect elements. This helps autopluggers.
10508 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
10510 add six checks, linked/unlinked with no/true/false probe
10512 2005-10-04 Wim Taymans <wim@fluendo.com>
10514 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
10515 (gst_fake_sink_event), (gst_fake_sink_preroll),
10516 (gst_fake_sink_render), (gst_fake_sink_change_state):
10517 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
10518 (gst_fake_src_get_property), (gst_fake_src_create),
10519 (gst_fake_src_stop):
10520 * gst/elements/gstidentity.c: (gst_identity_stop):
10521 Protect last_message with lock.
10523 2005-10-04 Edward Hervey <edward@fluendo.com>
10526 Added precision in the comments for GST_FORMAT_DEFAULT
10528 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
10530 * tools/gst-launch.c: (main):
10531 Don't try to run erroneous pipelines.
10533 2005-10-04 Julien MOUTTE <julien@moutte.net>
10535 * gst/gstbus.c: We don't need this header.
10537 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10540 back to development
10542 === release 0.9.3 ===
10544 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10548 Releasing 0.9.3, "Unregistered"
10550 2005-10-03 Andy Wingo <wingo@pobox.com>
10552 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10553 whereby calling a pad's activatepush() function can start a thread
10554 that starts to push or pull before the pad gets the FLUSHING flag
10555 unset. Hack around it by holding the stream lock until the flag is
10556 set. Need to replace this with a proper solution. Together with
10557 the ghost pad fixes, this fixes mp3 playing/tagreading.
10559 * docs/design/part-gstghostpad.txt: Add a note about activation of
10560 proxy pads outside of ghost pads.
10562 * gst/gstghostpad.c: Implement the ghost pad activation design.
10564 2005-10-02 Andy Wingo <wingo@pobox.com>
10566 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10567 It is volatile, after all.
10569 * docs/design/part-gstghostpad.txt: Flesh out activation with
10572 * gst/base/gstbasesrc.c (gst_base_src_init): Use
10575 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
10578 Fix (unused) AM_CONDITIONAL tests.
10580 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
10582 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10584 * gst/gstutils.c: (gst_pad_query_convert):
10585 Add assertion that makes sure src_val is >=0, just like
10586 gst_query_new_convert() has. (#315895)
10588 2005-09-30 Edward Hervey <edward@fluendo.com>
10590 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10591 Let's not iterate pads we're not interested in, it avoids getting
10592 sky-high refcounts on sinkpad.
10594 2005-09-30 Wim Taymans <wim@fluendo.com>
10596 * gst/gstelement.c: (gst_element_set_state),
10597 (gst_element_change_state):
10598 Small tweak, element in ASYNC remains ASYNC.
10600 2005-09-30 Wim Taymans <wim@fluendo.com>
10602 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10603 Only error is an error.
10605 * gst/gstbin.c: (gst_bin_change_state):
10608 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10609 Also call pad_block in pad alloc.
10611 * gst/gstutils.c: (gst_flow_get_name):
10614 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10616 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10617 (gst_base_src_get_range):
10618 Fix documentation typos. Add some more debug info.
10620 2005-09-29 David Schleef <ds@schleef.org>
10622 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10623 more end-user friendly.
10624 * tools/gst-inspect.c: (main): Check if command-line argument is
10625 a file and attempt to load that file as a plugin.
10627 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10629 * check/gst/gstbin.c:
10630 * check/states/sinks.c:
10631 fix tests for the new warning
10632 * check/gst/gstpipeline.c:
10633 add a test for pipeline and bus interaction
10634 * gst/gstelement.c:
10635 elements should be NULL if they get disposed; add a warning if not
10637 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10640 for 2.6 refcounting, make debug log more correct by printing
10641 the actual refcounts at the time of swap (Wim)
10643 2005-09-29 Andy Wingo <wingo@pobox.com>
10645 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10646 removes signal watches previously added via
10647 gst_bus_add_signal_watch.
10648 (gst_bus_add_signal_watch): Don't return the source id, just store
10649 it on the bus if there wasn't an id already.
10651 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10652 add_signal_watch and remove_signal_watch.
10654 2005-09-29 Edward Hervey <edward@fluendo.com>
10656 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10657 Better if we actually iterate the list :)
10659 2005-09-29 Wim Taymans <wim@fluendo.com>
10661 * check/gst/gstbin.c: (GST_START_TEST):
10662 Change for new bus API.
10664 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10665 (send_messages), (GST_START_TEST), (gstbus_suite):
10666 Change for new bus signal API.
10668 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10669 (gst_bus_source_prepare), (gst_bus_source_check),
10670 (gst_bus_create_watch), (gst_bus_add_watch_full),
10671 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10672 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10674 Remove support for multiple GSources operating on different
10675 message types as it is too complex and unneeded when using
10677 Added support for receiving signals from the bus.
10679 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10681 * docs/libs/tmpl/gstdataprotocol.sgml:
10682 * docs/manual/advanced-dataaccess.xml:
10683 * gst/elements/gstcapsfilter.c:
10685 rename filter-caps to caps property
10687 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10689 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10690 More robust fraction string parsing.
10692 * docs/pwg/appendix-porting.xml:
10693 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10695 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10697 * gst/gstcaps.c: (gst_caps_do_simplify):
10698 Thou shalt not free a structure and then continue using it
10699 in the next loop iteration.
10701 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10703 Add test case for caps simplification.
10705 2005-09-29 Wim Taymans <wim@fluendo.com>
10707 * check/gst/gstbin.c: (GST_START_TEST):
10710 2005-09-29 Wim Taymans <wim@fluendo.com>
10712 * check/gst/gstbin.c: (GST_START_TEST):
10715 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10716 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10717 (find_element), (gst_bin_sort_iterator_next),
10718 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10719 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10720 (gst_bin_change_state), (gst_bin_dispose):
10721 A bin does not have a bus, it gets the bus from the parent.
10723 * gst/gstelement.c: (gst_element_requires_clock),
10724 (gst_element_provides_clock), (gst_element_is_indexable),
10725 (gst_element_is_locked_state), (gst_element_change_state),
10726 (gst_element_set_bus_func):
10729 * gst/gstpipeline.c: (gst_pipeline_class_init),
10730 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10731 The pipeline provides a bus.
10733 2005-09-28 Johan Dahlin <johan@gnome.org>
10735 * gst/gstmessage.c (gst_message_parse_state_changed): Use
10736 gst_structure_get_enum instead of gst_structure_get_int
10738 * gst/gststructure.c (gst_structure_get_enum): Impl.
10740 * gst/gststructure.h (gst_structure_get_enum): Add
10742 * docs/gst/gstreamer-sections.txt: Ditto
10744 * gst/gstmessage.c (gst_message_new_state_changed): Use
10745 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10746 which does introspection.
10747 Reviewed by Christian Schaller
10749 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10751 * gst/gstinfo.c: (gst_debug_log_default):
10752 don't do dummy g_strdup()s
10753 * libs/gst/controller/gstcontroller.c:
10754 (on_object_controlled_property_changed),
10755 (gst_controlled_property_new), (gst_controller_new_valist),
10756 (gst_controller_new_list),
10757 (gst_controller_remove_properties_valist), (gst_controller_set),
10758 (gst_controller_get), (gst_controller_sync_values),
10759 (gst_controller_get_value_array), (_gst_controller_class_init),
10760 (gst_controller_get_type):
10761 * libs/gst/controller/gstcontroller.h:
10762 * libs/gst/controller/gstinterpolation.c:
10763 (gst_controlled_property_find_timed_value_node):
10764 convert // to /**/ comments
10766 2005-09-28 Wim Taymans <wim@fluendo.com>
10768 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10769 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10770 (gst_bus_sync_signal_handler):
10772 Added async-message and sync-message signals to the bus.
10773 Added helper BusFunc to emit signals for all posted messages.
10775 * gst/gstmessage.c: (gst_message_type_get_name),
10776 (gst_message_type_to_quark), (gst_message_get_type):
10777 * gst/gstmessage.h:
10778 Register quarks for message names.
10780 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10782 * docs/libs/gstreamer-libs-sections.txt:
10783 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10784 (gst_controller_new_list):
10785 * libs/gst/controller/gstcontroller.h:
10786 added another constructor for language bindings
10788 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
10790 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10794 * gst/gstinfo.c: (_gst_debug_init):
10795 slightly more readable color for refcount debugging
10797 2005-09-28 Wim Taymans <wim@fluendo.com>
10799 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10800 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10801 (find_element), (gst_bin_sort_iterator_next),
10802 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10803 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10804 (gst_bin_change_state), (gst_bin_dispose):
10805 Small doc fixes. get_clock -> provide_clock.
10807 * gst/gstelement.c: (gst_element_class_init),
10808 (gst_element_provides_clock), (gst_element_provide_clock),
10809 (gst_element_get_clock), (gst_element_commit_state),
10810 (gst_element_lost_state):
10811 * gst/gstelement.h:
10812 Make get/set_clock() symetric. Add provide_clock vmethod since
10813 that is actually what this function does.
10815 * gst/gstpipeline.c: (gst_pipeline_class_init),
10816 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10817 (gst_pipeline_get_clock):
10818 get_clock -> provide_clock.
10820 2005-09-28 Andy Wingo <wingo@pobox.com>
10822 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10823 lieu of real docs...
10825 * gst/elements/gstfdsrc.c: Cleaned up a bit.
10827 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
10829 * gst/elements/gstcapsfilter.c:
10830 * gst/elements/gstfakesink.c:
10831 * gst/elements/gstfakesrc.c:
10832 * gst/elements/gstfdsink.c:
10833 * gst/elements/gstfdsrc.c:
10834 * gst/elements/gstfilesink.c:
10835 * gst/elements/gstfilesrc.c:
10836 * gst/elements/gstidentity.c:
10837 * gst/elements/gsttee.c:
10838 * gst/elements/gsttypefindelement.c:
10839 Make element details static.
10841 2005-09-28 Wim Taymans <wim@fluendo.com>
10843 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10844 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10845 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10846 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10847 (gst_bin_change_state), (gst_bin_dispose):
10848 Some documentation updates.
10849 Clean up dispose handlers.
10851 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10852 * gst/gstpad.c: (gst_pad_dispose):
10853 Clean up dispose handler.
10855 * gst/gstpipeline.c: (gst_pipeline_change_state):
10856 Removed spurious UNLOCK.
10858 2005-09-27 Stefan Kost <ensonic@users.sf.net>
10860 * docs/gst/gstreamer-sections.txt:
10861 * gst/base/gstbasesrc.h:
10862 * gst/gstelement.h:
10866 * gst/gstpipeline.c:
10867 * gst/gstpipeline.h:
10870 added two new functions to the docs
10871 documents all undocumented GstXXXFlags
10872 completed some incomplete docs
10874 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
10876 * gst/gstbin.c: (gst_bin_dispose):
10877 * gst/gstelement.c: (gst_element_dispose):
10878 remove now useless and leaky resurrection code in dispose
10879 * gst/base/gstbasesrc.c: (gst_base_src_init):
10880 * gst/gstelementfactory.c: (gst_element_factory_create):
10881 * gst/gstobject.c: (gst_object_set_parent):
10884 2005-09-27 Wim Taymans <wim@fluendo.com>
10886 * docs/design/part-TODO.txt:
10889 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10890 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10891 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10892 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10893 (gst_bin_change_state):
10894 * gst/gstelement.h:
10895 Remove element variable, we keep element info in the iterator now.
10897 2005-09-27 Andy Wingo <wingo@pobox.com>
10899 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10902 2005-09-27 Wim Taymans <wim@fluendo.com>
10904 * check/gst/gstbin.c: (GST_START_TEST):
10905 Enable check that works now.
10907 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10908 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10909 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10910 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10911 (gst_bin_change_state):
10913 Redid the state change algorithm using a topological sort algo.
10914 Handles all cases correctly.
10915 Exposed iterator for state change order.
10917 * gst/gstelement.h:
10918 Temp storage for state changes. Need to get rid of this soon.
10920 2005-09-27 Wim Taymans <wim@fluendo.com>
10922 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10923 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10924 (link_fold_func), (gst_pad_proxy_setcaps):
10925 Leak fixes, the fold functions need to unref the passed object and
10926 _get_parent_*() returns ref to parent.
10928 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10930 * check/gst/gstbuffer.c: (test_make_writable):
10931 Plug leak in test case and fix 'make check-valgrind'
10933 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10935 * gst/gstbuffer.c: (gst_subbuffer_init):
10936 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10937 works correctly in all circumstances (we could have just copied
10938 the parent buffer's readonly flag, but conceptually it seems
10939 cleaner to mark all subbuffers as read-only). (based on patch
10940 by Alessandro Decina, #314710).
10942 * check/gst/gstbuffer.c: (create_read_only_buffer),
10943 (test_make_writable), (test_subbuffer_make_writable),
10945 Add some tests for gst_buffer_make_writable().
10947 2005-09-27 Wim Taymans <wim@fluendo.com>
10949 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10950 use gst_object_has_ancestor().
10952 * gst/gstobject.c: (gst_object_has_ancestor):
10954 gst_object_has_ancestor() copied from gstbin.c as it is a
10957 * tests/instantiate/create.c: (create_all_elements):
10958 * tests/lat.c: (handoff_src), (handoff_sink):
10959 * tests/sched/runxml.c: (main):
10960 * tests/seeking/seeking1.c: (main):
10961 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10963 Fix compilation of some tests.
10965 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10968 Remove comment. GST_TYPE_G_ERROR is here to stay,
10969 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10970 (#316961, #300610).
10972 2005-09-26 Wim Taymans <wim@fluendo.com>
10974 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10975 Added check that shows error in state change order.
10977 2005-09-26 Wim Taymans <wim@fluendo.com>
10979 * gst/gstbin.c: (gst_bin_change_state):
10980 Make state change function use 3 queues again, we were
10981 adding elements in the wrong order.
10983 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10986 * gst/gstpad.c: (gst_pad_dispose):
10987 Added some debug info first.
10989 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
10991 * docs/design/draft-push-pull.txt:
10992 * docs/design/part-events.txt:
10993 * docs/design/part-overview.txt:
10994 * docs/design/part-scheduling.txt:
10995 Replace all _pull_region() with _pull_range()
10997 2005-09-26 Andy Wingo <wingo@pobox.com>
10999 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
11001 * check/gst-libs/controller.c: Update for controller api change.
11004 * tests/Makefile.am:
11005 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
11006 over by GLib bug 118439.
11008 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
11009 routines to a function.
11011 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
11013 * libs/gst/controller/gsthelper.c:
11014 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
11015 (gst_object_sync_values): Renamed from sink_values. Ugh.
11017 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
11019 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
11020 Renamed from controller_key, as it is exported.
11022 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
11024 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
11029 * gst/gstpadtemplate.h:
11032 * gst/gstqueryutils.c:
11033 * gst/gstqueryutils.h:
11034 remove queryutils headers after moving the two used functions
11035 to gstquery. also fixes build problem for gstsiddec
11037 2005-09-26 Michael Smith <msmith@fluendo.com>
11039 * tools/gst-launch.1.in:
11040 Correct documentation in manpage of debug syntax
11042 2005-09-26 Wim Taymans <wim@fluendo.com>
11044 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
11045 (gst_base_src_is_seekable), (gst_base_src_change_state):
11046 Some more debugging info.
11048 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11050 * docs/gst/gstreamer-sections.txt:
11051 * gst/base/gstbasetransform.h:
11055 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11057 * docs/gst/.cvsignore:
11058 * docs/gst/tmpl/.cvsignore:
11059 * docs/gst/tmpl/gstpipeline.sgml:
11060 * docs/gst/tmpl/gstplugin.sgml:
11061 * gst/gstpipeline.c:
11064 inlined the last two docs files
11065 removed the tmpl directory from cvs (no more conflicts here!)
11067 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11069 * docs/gst/gstreamer-sections.txt:
11070 * docs/gst/tmpl/.cvsignore:
11071 * docs/gst/tmpl/gstpad.sgml:
11072 * docs/gst/tmpl/gstpadtemplate.sgml:
11074 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11075 (gst_pad_finalize), (gst_pad_set_pad_template):
11077 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11078 (gst_pad_template_class_init), (gst_pad_template_init),
11079 (gst_pad_template_dispose), (name_is_valid),
11080 (gst_static_pad_template_get), (gst_pad_template_new),
11081 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
11082 (gst_pad_template_pad_created):
11083 * gst/gstpadtemplate.h:
11084 inlined two more docs
11085 factored gstpadtemplate out of gstpad
11087 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
11089 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11090 (test_children_state_change_order_semi_sink):
11091 Fix test case: we can't rely on a fixed state change order when
11092 going from READY => PAUSED because the sink might commit its
11093 new state first when the first buffer created by the source
11094 reaches the sink before the source has finished its change state.
11095 (Test case still fails at times, see #316856, comment 5 onwards)
11097 2005-09-24 Wim Taymans <wim@fluendo.com>
11099 * docs/design/part-events.txt:
11100 * docs/design/part-gstbus.txt:
11101 * docs/design/part-gstpipeline.txt:
11102 * docs/design/part-messages.txt:
11103 * docs/design/part-overview.txt:
11104 * docs/design/part-segments.txt:
11108 * gst/gstelement.c:
11111 * gst/gstiterator.c:
11112 Various documentation updates.
11114 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
11117 Well, that's embarassing. Luckily we weren't using
11118 GST_CLOCK_DIFF anywhere.
11120 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11122 * common/gtk-doc.mak:
11123 don't fail on building XML, FC4 slave shows a bunch of doc
11124 missing bits that I don't get
11126 * gst/gstpipeline.c:
11127 * gst/gststructure.c:
11130 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
11132 * docs/design/part-gstbin.txt:
11133 * docs/design/part-gstbus.txt:
11135 Add blurb about how the bus goes into flushing mode and
11136 drops all messages when its bin goes from READY into NULL
11139 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11141 * docs/gst/gstreamer-sections.txt:
11142 * gst/gststructure.c: (gst_structure_get_clock_time):
11143 * gst/gststructure.h:
11144 add a method to get a GstClockTime out of a structure
11146 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
11148 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11149 (test_children_state_change_order_semi_sink), (gst_bin_suite):
11150 Added test to check state change order in bins (can still be made
11151 to fail here under heavy disk load; bails out with 'Push on pad
11152 fakesink:sink0, but it was not activated in push mode').
11154 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
11155 Fix state change order when there is only a semi sink (#316856)
11157 * gst/gstbus.c: (gst_bus_class_init):
11158 Use _class_peek_parent(), not _class_ref(); fix docs to say
11159 'default main context' instead of 'mainloop' where that is
11162 * gst/gstelement.c: (gst_element_commit_state),
11163 (gst_element_set_state):
11164 Fix typos in debug messages
11166 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11169 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
11170 * gst/gstpluginfeature.c:
11172 various doc updates
11173 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11174 change an assert into an error until it gets fixed properly
11176 2005-09-23 Stefan Kost <ensonic@users.sf.net>
11178 * docs/gst/gstreamer-sections.txt:
11179 * docs/gst/tmpl/.cvsignore:
11180 * docs/gst/tmpl/gstelement.sgml:
11181 * docs/gst/tmpl/gstinfo.sgml:
11182 * docs/gst/tmpl/gstobject.sgml:
11183 * gst/gstelement.c:
11184 * gst/gstelement.h:
11187 * gst/gstobject.c: (gst_object_class_init):
11189 inlined 3 more biiiig doc files and added some missing docs on the fly
11191 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11193 * check/gst/.cvsignore:
11194 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
11195 * gst/gstregistryxml.c: (load_plugin),
11196 (gst_registry_xml_save_plugin):
11197 put back source in registry. add checks for find_plugin.
11198 * testsuite/states/bin.c: (assert_state), (empty_bin),
11199 (test_adding_one_element), (main):
11200 * testsuite/states/locked.c: (main):
11201 some compile/run fixes
11203 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
11205 * check/gst/gstvalue.c: (GST_START_TEST):
11206 fix leaks in the test itself
11208 2005-09-22 Wim Taymans <wim@fluendo.com>
11210 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11211 (gst_base_sink_send_event), (gst_base_sink_peer_query),
11212 (gst_base_sink_query):
11213 Prepare for more accurate position reporting and query
11216 * gst/gstelement.c: (gst_element_send_event),
11217 (gst_element_set_state):
11220 2005-09-22 Wim Taymans <wim@fluendo.com>
11222 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
11223 (gst_query_parse_segment):
11225 More documentation.
11226 Add segment query for future use.
11228 2005-09-22 Wim Taymans <wim@fluendo.com>
11230 * gst/gstbin.c: (gst_bin_add_func):
11231 Some more debug info.
11233 * gst/gstelement.c: (gst_element_send_event):
11234 Simplify send_event
11236 * gst/gstelement.h:
11237 Don't know how flags got broken.
11242 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
11244 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
11245 Add simplistic test suite for GST_TYPE_DATE serialisation and
11248 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
11250 * docs/gst/gstreamer-sections.txt:
11251 * gst/gststructure.c: (gst_structure_set_valist),
11252 (gst_structure_get_date):
11253 * gst/gststructure.h:
11254 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
11255 (gst_date_copy), (gst_value_compare_date),
11256 (gst_value_serialize_date), (gst_value_deserialize_date),
11257 (gst_value_transform_date_string),
11258 (gst_value_transform_string_date), (_gst_value_initialize):
11260 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
11261 bunch of utility functions along with a hack that checks that
11262 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
11263 is required. Part of the grand scheme in #170777.
11265 2005-09-22 Andy Wingo <wingo@pobox.com>
11267 * gst/gstconfig.h.in: Psych out gtk-doc.
11269 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
11271 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
11273 * tools/gst-inspect.c (print_element_list): Plug some
11274 inconsequential leaks.
11276 * gst/gstregistry.c (gst_registry_get_default): Doc.
11278 * check/gst/gstplugin.c:
11279 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
11280 * gst/gstelementfactory.c (gst_element_factory_create):
11281 * gst/gstindexfactory.c (gst_index_factory_create): Update for
11284 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
11285 (gst_plugin_feature_load): Doc, don't eat refs.
11287 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
11288 (gst_plugin_list_free): Doc.
11289 (gst_plugin_load_file): Doc updates.
11291 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
11292 accessors returning refcounted objects, return a ref.
11294 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
11295 accessor for caps. IDEMPOTENCE. Oh yes.
11297 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
11299 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11301 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
11302 (_gst_debug_register_funcptr):
11303 Add mutex to serialise access to the hash table with
11304 the function pointer => function name string mapping;
11305 make that hash table static scope (#316809).
11307 * gst/registries/.cvsignore:
11308 Remove left-over file.
11310 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
11312 * docs/pwg/appendix-porting.xml:
11313 And something about newsegment events and caps-on-buffers to
11314 the porting guide (feel free to improve).
11316 2005-09-21 Andy Wingo <wingo@pobox.com>
11318 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
11319 data and event probes on the same pad.
11320 (test_buffer_probe_once): Test that removing probes from within
11321 the probe functions works.
11323 2005-09-21 Andy Wingo <wingo@pobox.com>
11325 * check/gst/gstutils.c: New file.
11326 (test_buffer_probe_n_times): A simple buffer probe test. More to
11329 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
11330 have-data::buffer, not have-data.
11331 (gst_pad_add_event_probe): Likewise for have-data::event.
11332 (gst_pad_add_data_probe): More docs. The part about 'resolving the
11333 peer' isn't quite right yet though.
11334 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
11335 (gst_pad_remove_data_probe): Change to take the guint handler_id
11336 as their arg, not the function+data, which is more glib-like.
11338 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
11339 the signal emission to indicate if the data is a buffer or an
11341 (gst_pad_get_type): Initialize buffer and event quarks.
11342 (gst_pad_class_init): have-data is now a detailed signal, yes it
11345 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
11347 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11348 * gst/gstutils.c: (gst_util_set_value_from_string),
11349 (gst_util_set_object_arg):
11350 Don't put functional code in g_return_if_fail() or
11351 g_return_val_if_fail() statements, otherwise things will
11352 break when G_DISABLE_CHECKS is defined during compilation.
11354 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11356 * docs/gst/tmpl/.cvsignore:
11357 * docs/gst/tmpl/gstvalue.sgml:
11360 inlied another one and added some obvious docs
11362 2005-09-21 Wim Taymans <wim@fluendo.com>
11364 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11365 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
11366 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
11367 (gst_fdsrc_get_property), (gst_fdsrc_create):
11368 * gst/elements/gstfdsrc.h:
11369 Properly implement fdsrc. Removed signal and timeout,
11370 better implemented somewhere else.
11372 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11374 * docs/gst/tmpl/.cvsignore:
11375 * docs/gst/tmpl/gstimplementsinterface.sgml:
11376 * gst/gstinterface.c:
11379 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11381 * docs/gst/gstreamer-sections.txt:
11382 * docs/gst/tmpl/.cvsignore:
11383 * docs/gst/tmpl/gstenumtypes.sgml:
11384 remove obsolete doc file
11386 2005-09-21 David Schleef <ds@schleef.org>
11388 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
11389 little beer, fix a little leak.
11391 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11393 * docs/gst/gstreamer-docs.sgml:
11394 * docs/gst/gstreamer-sections.txt:
11395 * docs/gst/tmpl/.cvsignore:
11399 * gst/gstelement.h:
11400 * gst/gstindex.c: (gst_index_class_init):
11402 * gst/gstindexfactory.c: (gst_index_factory_get_type),
11403 (gst_index_factory_class_init), (gst_index_factory_init),
11404 (gst_index_factory_finalize), (gst_index_factory_new),
11405 (gst_index_factory_destroy), (gst_index_factory_find),
11406 (gst_index_factory_create), (gst_index_factory_make):
11407 * gst/gstindexfactory.h:
11408 * gst/gstpluginfeature.c:
11409 * gst/gstpluginfeature.h:
11410 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11411 more docs inlined, splitted gstindex.{c,h}
11413 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11415 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11418 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
11420 * gst/elements/gstfilesink.c: (gst_file_sink_init):
11421 Set sync to FALSE by default.
11423 2005-09-20 Wim Taymans <wim@fluendo.com>
11425 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11426 (gst_base_sink_init):
11427 Make sync property settable from subclass.
11429 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11430 (gst_fake_sink_change_state):
11431 Set sync to FALSE by default.
11433 2005-09-20 Wim Taymans <wim@fluendo.com>
11435 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
11436 * tools/gst-launch.c: (main):
11437 The timeout handler should have lower priority than the source
11438 so we don't timeout before popping a message with 0 timeout.
11439 Dump error messages after failed state change.
11441 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
11443 * tools/gst-inspect.c: (print_element_properties_info):
11446 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11448 * check/gst/gstevent.c:
11449 * gst/elements/gstfakesink.c:
11450 * gst/elements/gstfakesink.h:
11451 remove the sync property from fakesink.
11452 has the side effect of setting sync TRUE
11453 for fakesink, which is a change. Anyone who knows how
11454 to fix this nicely in a GObject-y way, feel free.
11456 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11458 * docs/gst/gstreamer-docs.sgml:
11459 remove probe refsection
11461 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11463 * check/Makefile.am:
11464 disable valgrinding the controller test again
11465 * docs/gst/gstreamer-sections.txt:
11466 update for api-changes
11468 2005-09-20 Wim Taymans <wim@fluendo.com>
11470 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11471 (gst_base_sink_set_property), (gst_base_sink_get_property),
11472 (gst_base_sink_do_sync):
11473 * gst/base/gstbasesink.h:
11474 Added sync property to basesink to disable clock sync.
11476 2005-09-20 Andy Wingo <wingo@pobox.com>
11478 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
11479 eating the caller's refcount.
11481 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
11482 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
11485 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
11486 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
11487 of GLib 2.8 public, so we can know which refcount to check in
11490 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
11491 (gst_object_init): Only set the gst refcount if we're going ahead
11492 with the refcount hack.
11494 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11496 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11497 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11498 more leaks plumbed, added more debug-logging
11502 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11504 * gst/gstmessage.c:
11505 remove include of gstmemchunk.h
11507 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11509 * gst/gstclock.c: (_gst_clock_id_free):
11510 Commit from the Political Party For More Atomic CVS Commits,
11511 so that people don't waste too much of their day fishing
11512 out obvious leaks out of massive commits.
11513 Oh, and fix a pretty damn obvious leak in the memchunk
11516 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11518 * check/Makefile.am:
11519 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11520 plug mem-leak, re-add to valgrindable tests
11522 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11525 unbreak the build for those who have chronic arthritis
11526 and typing "make check" is just too taxing on the hands
11528 2005-09-20 Andy Wingo <wingo@pobox.com>
11530 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11531 really want it out, you should fix plugins at the same time.
11533 2005-09-19 Stefan Kost <ensonic@users.sf.net>
11536 * docs/gst/gstreamer-sections.txt:
11538 added missing symbols to api docs
11539 disable ref-count hack if we have glib >= 2.8
11541 2005-09-19 David Schleef <ds@schleef.org>
11543 * docs/gst/Makefile.am: Ignore a few more internal headers
11544 * docs/gst/gstreamer-docs.sgml: Remove old sections
11545 * docs/gst/gstreamer-sections.txt: Remove old sections
11546 * docs/gst/tmpl/gstobject.sgml: update
11547 * docs/gst/tmpl/gstplugin.sgml: update
11548 * docs/gst/tmpl/gstpluginfeature.sgml: update
11549 * docs/random/ds/0.9-suggested-changes: update.
11550 * gst/Makefile.am: remove memchunk and trashstack, since they're
11552 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11553 * gst/gst.h: don't include some headers
11554 * gst/gstchildproxy.c: add gstmarshal.h
11555 * gst/gstclock.c: Don't use memchunks
11556 * gst/gstminiobject.c: Add some docs
11557 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11558 * gst/gstobject.h: same
11559 * gst/gstplugin.c: include gstmacros.h
11560 * gst/gstplugin.h: don't include gstmacros.h, since it's private
11561 * gst/gstquery.c: don't use memchunks
11562 * gst/gstregistry.c: rename gst_registry_deinit()
11563 * gst/gstregistry.h: same
11565 2005-09-19 David Schleef <ds@schleef.org>
11567 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11568 * docs/libs/gstreamer-libs-sections.txt:
11569 * docs/libs/tmpl/gstgetbits.sgml:
11570 * docs/libs/tmpl/gstputbits.sgml:
11572 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
11574 * win32/gstenumtypes.c:
11575 * win32/gstenumtypes.h:
11578 2005-09-19 Wim Taymans <wim@fluendo.com>
11580 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11581 Automatically PAUSE and RESUME a pipeline when a flushing seek
11584 2005-09-19 Andy Wingo <wingo@pobox.com>
11586 * gst/gstregistry.h: Spacing fixen.
11588 2005-09-19 Wim Taymans <wim@fluendo.com>
11590 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11591 Handle state change failure more correctly.
11593 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11595 * check/Makefile.am:
11596 * check/pipelines/cleanup.c: (run_pipeline):
11597 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11599 enable cleanup again after fixing the leak
11601 some more info on docs
11603 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11605 * check/Makefile.am:
11606 re-enable tests now that leaks are plugged
11608 * check/gst/gstbin.c:
11609 * check/gst/gstpipeline.c:
11610 add some more tests while fixing leaks
11611 * common/check.mak:
11612 make sure binaries are uptodate when valgrinding/gdbing
11614 * gst/gstelementfactory.c:
11615 remove a ref too many, and add a FIXME for when we get
11616 round to disposing of classes
11618 fix the refcounting when loading a plugin from a file and
11619 the code pretends that the pointer is the same even though
11620 of course it can change
11621 * gst/gstpluginfeature.c:
11622 unref plugins marked cached (a bit confusing as a name)
11623 as the docs state should be done
11624 various doc additions to explain refcounting
11625 * gst/gstregistry.c:
11626 * gst/gstregistryxml.c:
11629 2005-09-19 Wim Taymans <wim@fluendo.com>
11631 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11632 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11633 (send_messages), (GST_START_TEST), (gstbus_suite):
11634 * check/gst/gstpipeline.c: (GST_START_TEST):
11635 * check/pipelines/cleanup.c: (run_pipeline):
11636 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11638 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11639 (gst_bus_source_check), (gst_bus_source_dispatch),
11640 (gst_bus_create_watch), (gst_bus_add_watch_full),
11641 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11643 * tools/gst-launch.c: (event_loop):
11644 * tools/gst-md5sum.c: (event_loop):
11645 GstBusHandler -> GstBusFunc, return value has the same meaning as
11646 any other GSource (FALSE == remove source).
11647 _add_watch() and _add_watch_full() now take a MessageType mask to
11648 only handle specific types of messages.
11649 _poll() returns the GstMessage instead of the message type to avoid
11651 _have_pending() takes a MessageType mask now too.
11652 Added testsuite for multiple bus watches.
11653 Fix testsuites and applications for new bus API.
11655 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11657 * check/Makefile.am:
11658 mark a bunch of the tests as to fix until we fix them
11660 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11662 * common/check.mak:
11663 use GST_PLUGIN settings for valgrind tests as well, so we're
11664 valgrinding the correct thing
11665 * gst/gst.c: (init_post):
11668 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11670 * gst/gst.c: (init_post), (gst_deinit):
11671 * gst/gstelementfactory.c: (gst_element_factory_class_init),
11672 (gst_element_factory_finalize), (gst_element_factory_cleanup):
11673 * gst/gstindex.c: (gst_index_factory_class_init),
11674 (gst_index_factory_finalize):
11675 * gst/gstobject.c: (gst_object_dispose):
11676 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11677 (gst_plugin_load_file), (gst_plugin_desc_free):
11678 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11679 (gst_plugin_feature_finalize):
11680 * gst/gstregistry.c: (gst_registry_class_init),
11681 (gst_registry_init), (gst_registry_finalize),
11682 (gst_registry_get_default), (gst_registry_deinit):
11683 * gst/gstregistry.h:
11684 * gst/gstregistryxml.c: (load_feature), (load_plugin):
11685 various cleanups and memleak plugging. make valgrind is happy now.
11687 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11689 * common/check.mak:
11690 add a check-valgrind target
11692 2005-09-18 David Schleef <ds@schleef.org>
11694 * tools/gst-inspect.c: Revert the GOption code.
11696 2005-09-17 David Schleef <ds@schleef.org>
11698 * check/Makefile.am: Fix environment variables.
11699 * check/gst/gstplugin.c: Fix for API changes.
11700 * tools/gst-inspect.c: Fix for API changes.
11701 * tools/gst-xmlinspect.c: Fix for API changes.
11702 * gst/gstelementfactory.c:
11705 * gst/gstpluginfeature.c:
11706 * gst/gstpluginfeature.h:
11707 * gst/gstregistry.c:
11708 * gst/gstregistry.h:
11709 * gst/gstregistryxml.c:
11710 * gst/gsttypefind.c:
11711 * gst/gsttypefindfactory.c:
11712 * gst/indexers/gstfileindex.c:
11713 * gst/indexers/gstmemindex.c:
11714 * gst/schedulers/Makefile.am:
11715 Change registry to keep track of both plugins and features,
11716 removing the feature tracking from plugins themselves.
11718 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11720 * check/Makefile.am:
11721 * tools/gst-register.1.in:
11722 remove gst-register
11724 2005-09-15 David Schleef <ds@schleef.org>
11726 * check/gst/gstplugin.c:
11727 * gst/gstelementfactory.c:
11729 * gst/gstpluginfeature.c:
11730 * gst/gstregistry.c:
11731 Getting tired of debugging. Disabled all the unreffing of
11732 plugins and features, which fixes the segfaults, but of
11733 course leaks like crazy. At least playbin works.
11735 2005-09-15 David Schleef <ds@schleef.org>
11737 * check/gst/gstplugin.c: (register_check_elements),
11738 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11740 * gst/elements/gsttypefindelement.c: Fix refcounting.
11741 * gst/gsttypefind.c:
11742 * gst/gsttypefindfactory.c:
11743 * gst/gsttypefindfactory.h:
11745 2005-09-15 David Schleef <ds@schleef.org>
11747 * gst/gstindex.c: get refcounting correct.
11748 * gst/gstregistry.c: Handle the case where a feature/plugin is
11751 2005-09-15 David Schleef <ds@schleef.org>
11753 * check/Makefile.am:
11754 * check/gst/gstplugin.c: Add test
11755 * gst/gstplugin.c: Fix problems noticed by testsuite
11757 * gst/gstregistry.c:
11758 * gst/gstregistry.h:
11760 2005-09-15 David Schleef <ds@schleef.org>
11762 * gst/gstplugin.c: Implement semi-decent recounting and locking
11763 in plugins and plugin features.
11765 * gst/gstpluginfeature.c:
11766 * gst/gstpluginfeature.h:
11767 * gst/gstregistry.c:
11769 2005-09-15 Michael Smith <msmith@fluendo.com>
11771 * gst/gstregistry.c: (gst_registry_get_feature_list):
11772 Implement this. Makes oggdemux work; decodebin still broken.
11774 2005-09-14 David Schleef <ds@schleef.org>
11776 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11778 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11779 * gst/check/Makefile.am:
11780 * libs/gst/controller/Makefile.am:
11781 * libs/gst/dataprotocol/Makefile.am:
11783 2005-09-14 David Schleef <ds@schleef.org>
11785 * configure.ac: Remove getbits library. Nothing uses it, and
11786 it should be in something like liboil if someone did want
11788 * libs/gst/Makefile.am:
11789 * libs/gst/getbits/Makefile.am:
11790 * libs/gst/getbits/gbtest.c:
11791 * libs/gst/getbits/getbits.c:
11792 * libs/gst/getbits/getbits.h:
11793 * libs/gst/getbits/gstgetbits_generic.c:
11794 * libs/gst/getbits/gstgetbits_i386.s:
11795 * libs/gst/getbits/gstgetbits_inl.h:
11797 2005-09-14 David Schleef <ds@schleef.org>
11799 * gst/Makefile.am: Dist glib-compat.h
11801 2005-09-14 David Schleef <ds@schleef.org>
11803 * configure.ac: Remove gst/registries, since it's no longer used.
11804 * gst/registries/Makefile.am:
11805 * gst/registries/gstlibxmlregistry.c:
11806 * gst/registries/gstlibxmlregistry.h:
11807 * gst/registries/gstxmlregistry.c:
11808 * gst/registries/gstxmlregistry.h:
11809 * gst/registries/registrytest.c:
11811 2005-09-14 David Schleef <ds@schleef.org>
11813 * gst/glib-compat.h:
11814 * gst/gstregistryxml.c:
11815 Convergence is near. Seriously.
11817 2005-09-14 David Schleef <ds@schleef.org>
11819 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11820 * gst/glib-compat.h:
11821 Attempt #4 to appease the buildbots.
11823 2005-09-14 David Schleef <ds@schleef.org>
11825 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11828 2005-09-14 David Schleef <ds@schleef.org>
11830 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11833 2005-09-14 David Schleef <ds@schleef.org>
11835 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11838 2005-09-14 David Schleef <ds@schleef.org>
11840 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11841 * gst/glib-compat.h: Add some functions that are in newer versions
11842 of glib than we care to require.
11843 * gst/gstregistryxml.c: Use them.
11845 2005-09-14 David Schleef <ds@schleef.org>
11847 * po/POTFILES.in: remove gst-register.c
11849 2005-09-14 David Schleef <ds@schleef.org>
11851 * docs/gst/gstreamer-docs.sgml:
11852 * docs/gst/gstreamer-sections.txt:
11853 * docs/gst/gstreamer.types:
11854 * docs/gst/tmpl/gstelement.sgml:
11855 * docs/gst/tmpl/gstplugin.sgml:
11856 * docs/gst/tmpl/gstpluginfeature.sgml:
11857 Documentation updates for registry changes.
11859 2005-09-14 David Schleef <ds@schleef.org>
11861 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11862 because we don't require glib-2.8.
11864 2005-09-14 David Schleef <ds@schleef.org>
11866 * gst/gstregistryxml.c: Added. Essentially moved out of the
11867 registries directory.
11869 2005-09-14 David Schleef <ds@schleef.org>
11871 * check/Makefile.am:
11872 * check/generic/states.c:
11876 * gst/gst_private.h:
11877 * gst/gstelementfactory.c:
11882 * gst/gstpluginfeature.c:
11883 * gst/gstpluginfeature.h:
11884 * gst/gstregistry.c:
11885 * gst/gstregistry.h:
11886 * gst/gstregistrypool.c: remove
11887 * gst/gstregistrypool.h: remove
11888 * gst/gsttypefind.c:
11889 * gst/gsttypefindfactory.c:
11891 * tools/Makefile.am:
11892 * tools/gst-compprep.c:
11893 * tools/gst-inspect.c:
11894 * tools/gst-register.c: remove
11895 * tools/gst-xmlinspect.c:
11896 Registry rewrite. Changes registry from being a file created
11897 by a tool into a simple cache file created automatically by
11898 libgstreamer. Removed gst-register (because it's no longer
11899 needed). Remove registry pools, because we only have one
11900 registry implementation (XML). Fix up other subsystems as
11903 2005-09-13 Michael Smith <msmith@fluendo.com>
11905 * gst/gstconfig.h.in:
11906 Don't Use windows linking attributes for MinGW. Fixes #316157
11908 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
11910 * gst/gstutils.c: (set_state_async_thread_func),
11911 (gst_element_set_state_async):
11912 Apparently people think it's better if this function doesn't
11913 try to set the state to whatever state was asked for on the first
11914 call to this function for any object. Seriously.
11916 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11918 * check/gst/gstpipeline.c: (GST_START_TEST):
11919 * docs/gst/gstreamer-sections.txt:
11920 * gst/gstutils.c: (set_state_async_thread_func),
11921 (gst_element_set_state_async):
11923 add a "gst_element_set_state_async" method that
11924 sets the state and starts a thread to make sure the state
11925 change completes as best as it can
11927 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11929 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11930 codify design+behaviour in testsuite after discussion
11932 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11934 * docs/gst/tmpl/gstelement.sgml:
11935 * docs/manual/appendix-quotes.xml:
11937 * gst/gstelement.c: (gst_element_set_state):
11940 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
11942 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11943 (gst_base_transform_prepare_output_buf),
11944 (gst_base_transform_handle_buffer):
11945 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11946 (gst_capsfilter_prepare_buf):
11947 Remove the requirement for sub-classes to call the parent
11948 implementation of prepare_output_buffer with a wrapper function.
11950 * gst/gsttaglist.h:
11951 * gst/gsttagsetter.h:
11952 Fix #define wrapper
11954 2005-09-11 Stefan Kost <ensonic@users.sf.net>
11956 * docs/gst/gstreamer-sections.txt:
11959 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11961 * docs/gst/gstreamer-sections.txt:
11962 * docs/gst/tmpl/gstelement.sgml:
11963 * docs/gst/tmpl/gstplugin.sgml:
11964 * gst/gstminiobject.c:
11966 docs now stop throwing warnings
11968 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11970 * docs/gst/gstreamer-sections.txt:
11971 * docs/gst/gstreamer.types:
11972 * docs/gst/tmpl/gstpad.sgml:
11973 * docs/gst/tmpl/gsttypes.sgml:
11974 * gst/base/gstadapter.h:
11975 * gst/base/gstbasesink.h:
11976 * gst/base/gstbasesrc.h:
11982 * gst/gstelement.h:
11984 * gst/gstmessage.h:
11986 * gst/gststructure.c:
11987 * gst/registries/gstlibxmlregistry.h:
11988 various documentation fixes
11990 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11992 * docs/gst/gstreamer-sections.txt:
11993 * docs/gst/tmpl/gstvalue.sgml:
11994 rearrange gstvalue section
11995 * gst/gstutils.c: (gst_element_state_get_name):
11997 * gst/gstvalue.c: (_gst_value_initialize):
12001 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
12003 * check/gst-libs/controller.c:
12004 Header include fix.
12005 * gst/base/gstbasetransform.c:
12006 (gst_base_transform_default_prepare_buf),
12007 (gst_base_transform_handle_buffer):
12008 * gst/base/gstbasetransform.h:
12009 Some more basetransform changes and fixes to enable sub-classes
12010 that modify buffer metadata only.
12011 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
12012 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
12013 (gst_capsfilter_prepare_buf):
12014 If the output pad has fixed allowed caps and input buffers
12015 don't have any, set the fixed caps on outgoing buffers.
12017 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
12018 * check/elements/identity.c: (GST_START_TEST):
12019 Make the error a little clearer when the test fails because
12020 identity made a copy of the buffer.
12021 * docs/gst/gstreamer-sections.txt:
12022 New symbols in gstbasetransform.h
12023 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12024 (gst_base_transform_init), (gst_base_transform_transform_size),
12025 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12026 (gst_base_transform_default_prepare_buf),
12027 (gst_base_transform_get_unit_size),
12028 (gst_base_transform_buffer_alloc),
12029 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12030 (gst_base_transform_change_state),
12031 (gst_base_transform_set_passthrough),
12032 (gst_base_transform_set_in_place),
12033 (gst_base_transform_is_in_place):
12034 * gst/base/gstbasetransform.h:
12035 Change BaseTransform to separate in_place operate from same_caps
12036 output. in_place implies that the element can perform the transform
12037 on incoming buffers in-place, even if the caps on the output are
12039 Sub-class elements can now implement special buffer allocation
12040 methods for outgoing buffers if they wish to.
12041 Big documentation addition.
12042 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
12043 * gst/elements/gstelements.c:
12044 Changes for basetransform modifications.
12045 * gst/elements/Makefile.am:
12046 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
12047 Compile fix. Extra debug output.
12049 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12051 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
12053 add tests for valid pad naming
12054 * gst/check/gstcheck.c: (gst_check_log_message_func),
12055 (gst_check_log_critical_func):
12057 remove printing of code, it is fragile when the code contains
12058 % and the line number is enough info
12059 * gst/check/gstcheck.h:
12060 * gst/gstpad.c: (gst_pad_template_new):
12063 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12066 say what CHECK flags we use
12067 * docs/libs/gstreamer-libs.types:
12068 * libs/gst/controller/Makefile.am:
12069 * libs/gst/controller/gst-controller.c:
12070 * libs/gst/controller/gst-controller.h:
12071 * libs/gst/controller/gst-helper.c:
12072 * libs/gst/controller/gst-interpolation.c:
12073 * libs/gst/controller/gstcontroller.c:
12074 * libs/gst/controller/gsthelper.c:
12075 * libs/gst/controller/gstinterpolation.c:
12076 * tools/gst-inspect.c: (print_plugin_info):
12077 we don't use dashes in header names
12079 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12081 * check/Makefile.am:
12082 * check/gst/.cvsignore:
12083 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
12084 (gst_pipeline_suite), (main):
12085 adding a test for pipelines and state changes
12086 * gst/gstutils.c: (get_state_func):
12088 * gstreamer.spec.in:
12091 2005-09-08 Michael Smith <msmith@fluendo.com>
12093 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
12094 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
12095 (gst_file_src_is_seekable), (gst_file_src_get_size),
12096 (gst_file_src_start):
12097 * gst/elements/gstfilesrc.h:
12098 Various fixes for unseekable, unmmapable, and non-normal files, so
12099 that fallback to read() rather than mmap() works.
12100 * gst/gstevent.c: (gst_event_new_newsegment):
12101 Allow newsegment events with segment_start == segment_end, as will
12102 correctly happen if you use filesrc on a zero-size file, for
12105 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
12107 * gst/gstplugin.c: (gst_plugin_load_file):
12108 Call g_module_close when we don't load the module
12110 * gst/registries/gstlibxmlregistry.c:
12111 (gst_xml_registry_get_property):
12112 Port leak fix from 0.8
12114 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12116 * docs/gst/gstreamer-docs.sgml:
12117 * docs/gst/tmpl/.cvsignore:
12118 * docs/gst/tmpl/gsttrace.sgml:
12119 * docs/gst/tmpl/gsttrashstack.sgml:
12122 * gst/gstelement.h:
12124 * gst/gstmessage.c:
12125 * gst/gstmessage.h:
12128 * gst/gsttaginterface.c:
12129 * gst/gsttaginterface.h:
12130 * gst/gsttaglist.c:
12131 * gst/gsttaglist.h:
12132 * gst/gsttagsetter.c:
12133 * gst/gsttagsetter.h:
12136 * gst/gsttrashstack.c:
12137 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
12138 inlined docs for gsttrace, gsttrashstack
12140 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12143 * gst/elements/gstbufferstore.h:
12144 * gst/elements/gsttypefindelement.c:
12145 * gst/elements/gsttypefindelement.h:
12147 * gst/gsttypefind.c:
12148 * gst/gsttypefind.h:
12149 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
12150 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
12151 (gst_type_find_factory_dispose),
12152 (gst_type_find_factory_unload_thyself),
12153 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
12154 (gst_type_find_factory_get_caps),
12155 (gst_type_find_factory_get_extensions),
12156 (gst_type_find_factory_call_function):
12157 * gst/gsttypefindfactory.h:
12158 * gst/registries/gstlibxmlregistry.c:
12159 * gst/registries/gstxmlregistry.c:
12160 splitted gsttypefind into gsttypefind, gsttypefindfactory
12162 2005-09-07 Andy Wingo <wingo@pobox.com>
12164 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
12165 condition whereby the pad's task function is entered before the
12166 pad_mode variable was set.
12168 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
12170 * gst/gstpad.c: (gst_pad_alloc_buffer):
12171 Catch misbehaving pad_alloc functions that don't
12172 set up caps and do it for them.
12174 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12176 * check/pipelines/simple_launch_lines.c: (run_pipeline):
12177 test for pipe!=NULL
12178 * docs/gst/tmpl/.cvsignore:
12179 * docs/gst/tmpl/gstmemchunk.sgml:
12180 * docs/gst/tmpl/gstparse.sgml:
12181 * docs/gst/tmpl/gsttaglist.sgml:
12182 * docs/gst/tmpl/gsttagsetter.sgml:
12183 * docs/gst/tmpl/gsttypefind.sgml:
12184 * docs/gst/tmpl/gsttypefindfactory.sgml:
12185 * gst/gstmemchunk.c:
12188 * gst/gsttaginterface.c:
12189 * gst/gsttypefind.c:
12190 * gst/gsttypefind.h:
12193 === release 0.9.2 ===
12195 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
12200 releasing 0.9.2, "South"
12202 2005-09-05 Andy Wingo <wingo@pobox.com>
12204 * gst/registries/gstxmlregistry.h:
12205 * gst/registries/gstxmlregistry.c: Um... resurrect...
12207 * gst/registries/gstxmlregistry.h:
12208 * gst/registries/gstxmlregistry.c: and update to newer API.
12209 Incidentally they should be a bit faster now that they don't have
12212 2005-09-05 Andy Wingo <wingo@pobox.com>
12214 * gst/registries/gstxmlregistry.h:
12215 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
12216 replaced by the libxml registry a while back
12218 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
12220 * docs/gst/tmpl/gstplugin.sgml:
12221 * gst/elements/gstelements.c:
12223 * gst/gstplugin.c: (gst_plugin_register_func),
12224 (gst_plugin_desc_copy), (gst_plugin_desc_free),
12225 (gst_plugin_get_source):
12227 * gst/registries/gstlibxmlregistry.c: (load_plugin),
12228 (gst_xml_registry_save_plugin):
12229 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
12230 (gst_xml_registry_save_plugin):
12231 * tools/gst-inspect.c: (print_plugin_info):
12232 add a "source" plugin description field, to represent the source
12233 module this plugin is a part of. By default GST_PLUGIN_DEFINE
12234 will set it to PACKAGE, which is automake's idea of the name of
12235 the source project.
12237 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
12242 * docs/Makefile.am:
12243 * docs/faq/Makefile.am:
12244 * docs/gst/tmpl/gstelement.sgml:
12245 * docs/gst/tmpl/gsttypes.sgml:
12246 * docs/htmlinstall.mak:
12247 * docs/manual/Makefile.am:
12248 * docs/pwg/Makefile.am:
12249 reorganize doc build a little
12250 split out docbook and gtk-doc stuff
12251 have two separate --enable's and enable them through autogen
12252 but disable by default in configure (to be similar to other
12254 * gstreamer.spec.in:
12255 clean up docs install
12273 translation updates
12275 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
12277 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
12280 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12281 (gst_fake_sink_change_state):
12282 Make state change function thread-safe.
12284 * gst/gstpad.c: (gst_pad_alloc_buffer):
12285 Set offset on generic buffer allocated by fallback.
12287 2005-09-03 Stefan Kost <ensonic@users.sf.net>
12289 * docs/gst/gstreamer-sections.txt:
12290 * docs/gst/tmpl/gstelement.sgml:
12292 * libs/gst/controller/gst-controller.c:
12293 (gst_controlled_property_set_interpolation_mode),
12294 (gst_controlled_property_new),
12295 (gst_controller_find_controlled_property):
12296 run the wingo-magic script against the docs
12298 2005-09-02 Stefan Kost <ensonic@users.sf.net>
12300 * docs/gst/gstreamer-docs.sgml:
12301 * docs/gst/gstreamer-sections.txt:
12302 * docs/gst/tmpl/.cvsignore:
12303 * docs/gst/tmpl/gstelementdetails.sgml:
12304 * docs/gst/tmpl/gstelementfactory.sgml:
12307 * gst/gstelementfactory.c:
12308 * gst/gstelementfactory.h:
12309 merged elementdetails docs into elementfactory docs
12312 2005-09-02 Andy Wingo <wingo@pobox.com>
12314 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
12315 consider this enum an enum and not a flags.
12317 2005-09-02 Stefan Kost <ensonic@users.sf.net>
12319 * docs/gst/gstreamer-docs.sgml:
12320 * docs/gst/tmpl/.cvsignore:
12321 * docs/gst/tmpl/gstghostpad.sgml:
12322 * docs/gst/tmpl/gstiterator.sgml:
12323 * docs/gst/tmpl/gstmacros.sgml:
12324 * docs/gst/tmpl/gstrealpad.sgml:
12325 * docs/gst/tmpl/gstregistry.sgml:
12326 * docs/gst/tmpl/gstregistrypool.sgml:
12327 * docs/gst/tmpl/gststructure.sgml:
12328 * docs/gst/tmpl/gstsystemclock.sgml:
12329 * docs/gst/tmpl/gsttrace.sgml:
12330 * gst/gstghostpad.c:
12332 * gst/gstmemchunk.c:
12333 * gst/gstmemchunk.h:
12335 * gst/gstregistry.c:
12336 * gst/gstregistrypool.c:
12337 * gst/gststructure.c:
12338 * gst/gstsystemclock.c:
12341 2005-09-02 Andy Wingo <wingo@pobox.com>
12343 * gst/gstelement.h (GstState): Renamed from GstElementState,
12344 changed to be a normal enum instead of flags.
12345 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
12346 munged to be GST_STATE_CHANGE_*.
12347 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
12348 work with the new state representation.
12349 (GstStateChange): New enumeration of possible state transitions.
12350 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
12351 (GstElementClass::change_state): Pass the GstStateChange along as
12352 an argument. Helps language bindings, so they don't have to use
12353 tricky lock-needing macros like GST_STATE_CHANGE ().
12355 * scripts/update-states (file): New script. Run it on a file to
12356 update it for state naming and API changes. Updates files in
12359 * All files updated for the new API.
12361 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
12363 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
12364 * gst/gstutils.c: (gst_util_set_value_from_string),
12365 (gst_util_set_object_arg):
12366 fix a bunch of unchecked return values
12367 * tools/gst-complete.c: (main):
12368 * gstreamer.spec.in:
12371 2005-09-01 Wim Taymans <wim@fluendo.com>
12373 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12374 (gst_base_sink_event), (gst_base_sink_do_sync),
12375 (gst_base_sink_handle_event):
12376 * gst/base/gstbasesink.h:
12377 Handle newsegments more correctly.
12382 * gst/gstevent.c: (gst_event_new_newsegment):
12383 A newsegment cannot have a start_time of -1
12385 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
12387 * win32/gstenumtypes.c:
12388 * win32/gstenumtypes.h:
12391 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12393 * libs/gst/controller/gst-controller.c:
12394 (gst_controlled_property_set_interpolation_mode),
12395 (gst_controlled_property_new):
12396 fixed boolean again
12398 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
12400 * docs/faq/gst-uninstalled:
12405 * gst/gstutils.c: (gst_element_link_filtered):
12407 add gst_element_link_filtered
12409 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12411 * docs/gst/gstreamer-docs.sgml:
12412 * docs/gst/gstreamer-sections.txt:
12413 * docs/gst/tmpl/.cvsignore:
12414 * docs/gst/tmpl/gsterror.sgml:
12415 * docs/gst/tmpl/gstfilter.sgml:
12416 * docs/gst/tmpl/gsturihandler.sgml:
12417 * docs/gst/tmpl/gsturitype.sgml:
12418 * docs/gst/tmpl/gstutils.sgml:
12419 * docs/gst/tmpl/gstxml.sgml:
12424 * gst/gsturitype.c:
12427 inlined more docs, fixed double id-ref
12429 2005-08-31 Wim Taymans <wim@fluendo.com>
12431 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12432 (gst_base_transform_handle_buffer):
12433 Passthrough elements don't need the caps as they don't care.
12435 2005-08-31 Wim Taymans <wim@fluendo.com>
12437 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12438 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
12439 Don't leak refcounts on buffers.
12441 2005-08-31 Wim Taymans <wim@fluendo.com>
12443 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
12444 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12445 (gst_base_transform_chain), (gst_base_transform_change_state):
12446 * gst/base/gstbasetransform.h:
12447 Handle the case where we are not negotiated more gracefully.
12449 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
12451 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
12452 (gst_file_src_map_region):
12453 Set READONLY flag on mmap'ed buffers, otherwise
12454 gst_buffer_make_writable() won't work properly (#314708).
12456 2005-08-31 Wim Taymans <wim@fluendo.com>
12458 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
12459 passthrough elements can even do inplace on non writable
12460 buffers (as they don't touch them).
12462 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12464 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12465 (gst_test_mono_source_set_property),
12466 (gst_test_mono_source_class_init), (GST_START_TEST),
12467 (gst_controller_suite):
12468 more tests (hehe I have the most)
12470 describe popping messages whenusing mulltiple sources
12471 * libs/gst/controller/gst-controller.c:
12472 (gst_controlled_property_set_interpolation_mode),
12473 (gst_controlled_property_new):
12474 * libs/gst/controller/gst-controller.h:
12475 * libs/gst/controller/gst-interpolation.c:
12476 implement boolean properties
12478 2005-08-31 Wim Taymans <wim@fluendo.com>
12480 * gst/gstminiobject.c: (gst_mini_object_ref):
12481 Cannot assert that the refcount has to be positive
12482 since a disposed object can be resurrected.
12484 2005-08-31 Wim Taymans <wim@fluendo.com>
12486 * gst/gstpad.c: (gst_pad_init):
12487 Revert change, need to first fix badly behaving
12490 2005-08-30 Wim Taymans <wim@fluendo.com>
12492 * check/elements/fakesrc.c: (setup_fakesrc):
12493 * check/elements/identity.c: (setup_identity):
12494 Activate pads before using them.
12496 2005-08-30 Wim Taymans <wim@fluendo.com>
12498 * gst/base/gstadapter.c: (gst_adapter_flush):
12499 Flushing out 0 bytes is ok for this function.
12501 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12502 no newsegment gives a warning and sets the start/stop to
12505 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
12506 (gst_base_transform_set_passthrough):
12509 * gst/gstminiobject.c: (gst_mini_object_ref):
12510 Check refcount here too.
12512 * gst/gstpad.c: (gst_pad_init):
12513 Pads are initially flushing and refusing data.
12515 * gst/gstutils.c: (gst_element_link_pads_filtered):
12516 When adding a capsfilter element make sure it has the
12517 same state as the parent bin.
12519 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12521 * docs/gst/tmpl/.cvsignore:
12522 * docs/gst/tmpl/gstformat.sgml:
12523 * docs/gst/tmpl/gstversion.sgml:
12527 * gst/gstversion.h.in:
12528 more docs and two more inlined
12530 2005-08-30 Wim Taymans <wim@fluendo.com>
12532 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12533 Don't sync to clock.
12535 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12537 * docs/gst/gstreamer-sections.txt:
12538 ultral33t func10ns deserve to appear in the docs actually
12539 * docs/gst/tmpl/.cvsignore:
12540 * docs/gst/tmpl/gstcompat.sgml:
12541 * docs/gst/tmpl/gstconfig.sgml:
12542 * gst/check/gstcheck.c:
12544 * gst/gstconfig.h.in:
12547 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12549 * docs/gst/tmpl/.cvsignore:
12550 * docs/gst/tmpl/gstquery.sgml:
12551 * docs/gst/tmpl/gstutils.sgml:
12554 inlined and extended docs
12556 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12558 * check/gst-libs/controller.c: (GST_START_TEST),
12559 (gst_controller_suite):
12561 * docs/gst/tmpl/gstutils.sgml:
12562 * docs/libs/gstreamer-libs-sections.txt:
12563 * docs/libs/tmpl/gstdataprotocol.sgml:
12565 * examples/controller/audio-example.c: (main):
12566 controller example works now
12569 * tools/gst-inspect.c: (print_element_properties_info):
12570 show param spec flags
12572 2005-08-29 Andy Wingo <wingo@pobox.com>
12574 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12576 2005-08-28 Andy Wingo <wingo@pobox.com>
12578 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12579 as having two arguments instead of just one. Allows superclasses
12580 to access information on subclasses -- see the terrible for() loop
12581 in gtype.c:g_type_create_instance for the reason why. All callers
12584 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12586 * docs/design/part-messages.txt:
12588 * docs/gst/tmpl/.cvsignore:
12589 * docs/gst/tmpl/gstcaps.sgml:
12590 * docs/gst/tmpl/gstclock.sgml:
12596 * gst/gstmessage.c:
12597 added descriptions for bus and message
12598 inline caps and clock docs
12600 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12602 * gst/gstmessage.c:
12603 * gst/gstmessage.h:
12606 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12608 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12611 2005-08-26 Andy Wingo <wingo@pobox.com>
12613 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12614 element_set_state's return val.
12615 (test_2_elements): Add test that's been disabled for months.
12617 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12618 can-activate-pull properties.
12620 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12621 can-activate-pull properties. Implement is_seekable so fakesrc can
12622 operate in pull mode.
12624 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12626 (gst_base_sink_activate, gst_base_sink_activate_pull)
12627 (gst_base_sink_activate_push): Make activation mode choosing work.
12629 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12630 is right. Make pull mode work. Post an eos before pausing in pull
12632 (gst_base_sink_change_state): Pay attention to the core's
12633 change_state() return val.
12635 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12636 has-getrange properties. Cleanups.
12638 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12639 has_getrange and replace with can_activate_pull and
12642 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12643 locking comments. Remove has_loop, has_chain and replace with
12644 can_activate_pull and can_activate_push.
12646 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
12649 * examples/Makefile.am:
12650 * examples/metadata/Makefile.am:
12651 * examples/metadata/read-metadata.c: (message_loop),
12652 (have_pad_handler), (make_pipeline), (print_tag), (main):
12653 Add metadata reading example that loops over a list of filenames,
12654 dumping any tags found.
12656 * gst/gstbus.c: (gst_bus_dispose):
12657 * gst/gstelement.c: (gst_element_dispose):
12658 Release a few potentially-held references in dispose.
12660 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12662 * docs/gst/tmpl/gstminiobject.sgml:
12663 do *not* add tmpl/*.sgml files to CVS!
12665 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12667 * libs/gst/bytestream/.cvsignore:
12668 * libs/gst/bytestream/Makefile.am:
12669 * libs/gst/bytestream/adapter.c:
12670 * libs/gst/bytestream/adapter.h:
12671 * libs/gst/bytestream/bytestream.c:
12672 * libs/gst/bytestream/bytestream.h:
12673 * libs/gst/bytestream/filepad.c:
12674 * libs/gst/bytestream/filepad.h:
12675 removing obsolete files
12677 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12679 * docs/gst/gstreamer-docs.sgml:
12680 * docs/libs/gstreamer-libs-docs.sgml:
12681 disabed additional index entries again, as this makes docs-gen just
12682 slow and they aren't useful yet
12683 * docs/libs/gstreamer-libs-sections.txt:
12684 little -section.txt cleanup for libs
12686 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
12688 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12689 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12690 fix up some debugging
12691 (gst_base_transform_get_unit_size),
12692 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12693 (gst_base_transform_handle_buffer):
12694 * gst/base/gstbasetransform.h:
12695 handle and store timed NEWSEGMENT events so that subclasses that
12696 calculate time by counting samples have a segment_start time they
12697 need to add to their timestamps - see audioresample
12699 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12702 removed ';' from the end of macro defs
12703 * docs/gst/gstreamer-docs.sgml:
12704 * docs/gst/gstreamer-sections.txt:
12705 * docs/gst/tmpl/.cvsignore:
12707 * gst/gstelement.c: (gst_element_class_init),
12708 (gst_element_set_state), (activate_pads),
12709 (gst_element_save_thyself):
12710 * gst/gstevent.c: (gst_event_new_newsegment):
12712 * gst/gstiterator.c:
12713 * gst/gstiterator.h:
12716 * gst/gstutils.c: (gst_pad_query_convert):
12718 fixed parameter name mismatches between source, header and docs
12719 added some more docs, resolved the last batch of unused elements in
12720 docs (now someone needs to doc them)
12722 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12724 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12725 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12726 don't walk through the plugins backwards. Where is all this
12727 reversed logic coming from ?
12729 2005-08-25 Wim Taymans <wim@fluendo.com>
12731 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12732 (gst_base_transform_transform_size),
12733 (gst_base_transform_configure_caps),
12734 (gst_base_transform_get_unit_size),
12735 (gst_base_transform_buffer_alloc),
12736 (gst_base_transform_change_state):
12737 * gst/base/gstbasetransform.h:
12738 Cache caps unit_size.
12739 Make sure we cannot negotiate up and downstream at the
12742 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12744 * gst/gst.c: (init_pre), (init_post):
12745 register the installed plugin path after the env var
12746 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12747 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12748 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12749 directories, so the tests can prefer uninstalled over installed
12751 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12753 * gst/base/gstbasetransform.h:
12758 2005-08-25 Wim Taymans <wim@fluendo.com>
12760 * gst/gstbin.c: (bin_bus_handler):
12761 Be a bit more conservative about the posted message.
12763 * gst/gstbus.c: (gst_bus_post):
12764 Some cleanups, warn wrong return values.
12766 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
12768 * check/gst/gstbin.c: (GST_START_TEST):
12769 * gst/gstbin.c: (bin_bus_handler):
12770 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12771 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12772 (gst_message_new_warning), (gst_message_new_tag),
12773 (gst_message_new_state_changed), (gst_message_new_segment_start),
12774 (gst_message_new_segment_done), (gst_message_new_custom):
12775 * gst/gstmessage.h:
12776 * tools/gst-launch.c: (event_loop):
12777 * tools/gst-md5sum.c: (event_loop):
12778 Revert unpopular change for GST_MESSAGE_SRC to GObject.
12780 2005-08-25 Wim Taymans <wim@fluendo.com>
12782 * check/generic/states.c: (GST_START_TEST):
12783 Cleanup can be done at the end.
12785 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12786 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12787 (gst_task_get_state), (gst_task_start), (gst_task_pause):
12788 Oh boy.. Thanks for finding this, Thomas.
12790 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12792 * docs/gst/gstreamer.types:
12793 added missing types
12795 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12797 * docs/gst/gstreamer-docs.sgml:
12798 * docs/gst/gstreamer-sections.txt:
12799 * docs/gst/tmpl/.cvsignore:
12801 * gst/gstiterator.c:
12803 * gst/registries/gstxmlregistry.h:
12804 added missing classes and symbols (123 more to go)
12805 removed removed symbols from section file
12806 fixed many doc-comments
12808 2005-08-24 Wim Taymans <wim@fluendo.com>
12810 * check/generic/states.c: (GST_START_TEST):
12811 Make sure all tasks are stopped.
12813 * check/gst/gstbin.c: (GST_START_TEST):
12814 Unref after usage for proper valgrinding.
12816 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12817 Really wait for the task to stop before destroying the
12820 * gst/gstqueue.c: (gst_queue_sink_activate_push),
12821 (gst_queue_src_activate_push):
12822 Small cleanups. Don't stop the task when we did not start
12825 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12826 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12827 (gst_task_get_state), (gst_task_start), (gst_task_pause),
12830 Protect the stream lock with the object lock.
12831 Disallow setting the stream lock when running.
12832 Add cleanup_all to wait for the threadpool to finish.
12833 Remove code to autoallocate a mutex if none was provided.
12834 Add _join() to wait for a task to stop.
12835 Protect the thread pool with a global lock.
12837 2005-08-24 Wim Taymans <wim@fluendo.com>
12839 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12840 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12841 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12842 * gst/base/gstbasesink.h:
12843 Handle newsegment events correctly.
12844 Drop buffers out of the segment range.
12846 2005-08-22 Andy Wingo <wingo@pobox.com>
12848 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12849 macro, implements an interface and gstimplementsinterface for a
12852 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12854 * check/Makefile.am:
12855 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12856 add a test that does a bunch of state changes on elements
12857 needs some fixing for valgrind
12858 * check/states/sinks.c: (gst_object_suite):
12861 add prototype for gst_caps_is_equal_fixed
12863 * gst/gstregistrypool.c:
12866 2005-08-24 Andy Wingo <wingo@pobox.com>
12868 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12869 convert a negative value. Doesn't make much sense. Mostly this is
12870 here to force callers to ensure -1 maps to -1.
12872 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12874 * docs/pwg/advanced-types.xml:
12875 Well done to Michael for catching my deliberate introduction
12876 of this spelling mistake.
12877 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12878 * gst/gstelement.h:
12879 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12880 unlink pads before removing the element from the bin.
12882 2005-08-24 Andy Wingo <wingo@pobox.com>
12884 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12885 the same thing as GST_DEBUG=*:4.
12886 (parse_debug_level, parse_debug_category): New helper parsers.
12888 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12890 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12891 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12892 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12893 (gst_base_transform_buffer_alloc),
12894 (gst_base_transform_handle_buffer):
12895 use gboolean return values and pointers to size so we can use the
12896 full GST_BUFFER_SIZE range (guint) for buffer sizes
12897 use GstPadDirection for transform_caps
12898 * gst/base/gstbasetransform.h:
12899 rename get_size to get_unit_size since that's what it is
12900 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12901 use GstPadDirection for transform_caps
12902 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12904 cleanup and debugging
12906 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12908 * gst/gstelement.c: (gst_element_class_init),
12909 (gst_element_set_state), (activate_pads),
12910 (gst_element_save_thyself):
12911 * tools/gst-compprep.c: (main):
12912 * tools/gst-inspect.c: (print_element_properties_info):
12913 * tools/gst-xmlinspect.c: (print_element_properties):
12914 Fixed long standing mem-leak
12916 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12918 * check/gst/gstbin.c: (GST_START_TEST):
12919 * gst/gstbin.c: (bin_bus_handler):
12920 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12921 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12922 (gst_message_new_warning), (gst_message_new_tag),
12923 (gst_message_new_state_changed), (gst_message_new_segment_start),
12924 (gst_message_new_segment_done), (gst_message_new_custom):
12925 * gst/gstmessage.h:
12926 * tools/gst-launch.c: (event_loop):
12927 * tools/gst-md5sum.c: (event_loop):
12928 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12929 that applications can sensibly post custom messages with references
12930 to their own objects.
12932 2005-08-24 Andy Wingo <wingo@pobox.com>
12934 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12937 2005-08-24 Wim Taymans <wim@fluendo.com>
12939 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12940 (gst_base_transform_transform_caps),
12941 (gst_base_transform_transform_size),
12942 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12943 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12944 (gst_base_transform_handle_buffer):
12945 * gst/base/gstbasetransform.h:
12946 Many fixes and new features added by Thomas. Can now also do
12947 transforms with variable sizes and a custom fixate_caps function.
12949 2005-08-24 Wim Taymans <wim@fluendo.com>
12951 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12955 Cast to ClockTime before formatting to time.
12960 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12962 * check/gst-libs/controller.c: (GST_START_TEST),
12963 (gst_controller_suite):
12964 * docs/gst/tmpl/gstcaps.sgml:
12965 * docs/gst/tmpl/gstghostpad.sgml:
12966 * docs/gst/tmpl/gstquery.sgml:
12967 * docs/gst/tmpl/gstutils.sgml:
12968 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12969 (gst_object_sink_values), (gst_object_get_value_arrays),
12970 (gst_object_get_value_array):
12971 gracefully handle helper method calls to objects that are not beeing
12972 controlled, added test case for that
12974 2005-08-23 Wim Taymans <wim@fluendo.com>
12976 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12977 (gst_event_new_newsegment), (gst_event_parse_newsegment),
12978 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12979 (gst_event_parse_qos), (gst_event_new_seek),
12980 (gst_event_parse_seek):
12982 Some more debugging output and doc cleanups.
12984 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12985 Fix possible deadlock.
12987 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12989 * docs/gst/gstreamer-docs.sgml:
12990 * docs/gst/gstreamer-sections.txt:
12991 * docs/gst/gstreamer.types:
12992 * docs/gst/tmpl/.cvsignore:
12995 * gst/gstelement.c:
12997 added 100 symbols from gstreamer-unused.txt to the right sections
12998 fixed more broken comments
12999 added GstBus to docs
13001 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13003 * docs/gst/gstreamer-sections.txt:
13004 * docs/gst/tmpl/.cvsignore:
13005 * docs/gst/tmpl/gstbin.sgml:
13006 * docs/gst/tmpl/gstbuffer.sgml:
13007 * gst/base/gstbasesrc.c:
13008 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
13011 * tools/gst-launch.1.in:
13012 inlined more doc comments, added missing comments and fixed comments
13015 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
13017 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13021 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
13023 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
13024 * gst/gststructure.h:
13025 add a fixate function for booleans; add a FIXME that these func
13026 names should probably be gst_structure_fixate_*
13028 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13030 * docs/gst/gstreamer-docs.sgml:
13031 * docs/gst/gstreamer-sections.txt:
13033 * gst/gstbin.c: (gst_bin_get_type),
13034 (gst_bin_child_proxy_get_child_by_index),
13035 (gst_bin_child_proxy_get_children_count),
13036 (gst_bin_child_proxy_init):
13037 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
13038 (gst_child_proxy_get_child_by_index),
13039 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
13040 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
13041 (gst_child_proxy_get), (gst_child_proxy_set_property),
13042 (gst_child_proxy_set_valist), (gst_child_proxy_set),
13043 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
13044 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
13045 * gst/gstchildproxy.h:
13046 * gst/parse/grammar.y:
13047 * tools/gst-inspect.c: (print_interfaces),
13048 (print_element_properties_info), (print_element_info):
13049 ported gstchildproxy over from 0.8
13050 ported gst-inspect fixes and enhancements over from 0.8
13052 2005-08-22 Wim Taymans <wim@fluendo.com>
13054 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13055 (gst_base_transform_handle_buffer):
13056 Also call the transform function if we have ANY caps.
13058 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
13061 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
13063 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
13064 Don't pretend to handle seek events if the source is not seekable
13066 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
13068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13069 Remove extra parameter to debug output
13071 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13072 (gst_base_src_do_seek), (gst_base_src_activate_push):
13073 Fix seek event handling.
13075 * gst/gstpipeline.c: (gst_pipeline_change_state):
13076 * gst/gstqueue.c: (gst_queue_handle_sink_event),
13077 (gst_queue_src_activate_push):
13078 Don't start the src pad task on FLUSH_STOP if the pad
13082 2005-08-22 Wim Taymans <wim@fluendo.com>
13084 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13085 Added check for gst_static_caps_get() refcounting.
13087 2005-08-22 Wim Taymans <wim@fluendo.com>
13089 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
13090 Make _static_caps_get() refcounting sane.
13092 * gst/gstelement.c: (gst_element_set_state):
13093 Add g_return_val_if_fail() to protect against segfaults.
13095 2005-08-22 Stefan Kost <ensonic@users.sf.net>
13097 * docs/gst/tmpl/gstevent.sgml:
13100 inlined remaining docs, added missing doc comments
13102 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
13104 * check/gst/gstbin.c: (GST_START_TEST):
13105 since we don't know when preroll is done, use refcount range
13107 * gst/check/gstcheck.h:
13108 add macro for checking refcount range
13110 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
13112 * check/Makefile.am:
13113 clean up environment for when registry gets built versus
13114 when actual tests are run; valgrind seems to not report
13115 leaks if GST_PLUGIN_PATH is set to some specific values
13116 * check/gst/gstbin.c: (GST_START_TEST):
13117 add more refcounting checks; maybe this exposes a
13119 * common/check.mak:
13120 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13121 * gst/check/gstcheck.h:
13122 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
13123 (gst_bin_change_state):
13124 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
13125 add/fix debugging/whitespace
13127 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
13129 * check/gst/gstevent.c: (event_probe), (test_event),
13131 Er, don't call gst_bin_watch_for_state_change you idiot.
13133 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
13135 * check/Makefile.am:
13136 Use CHECK_CFLAGS and CHECK_LIBS
13137 * check/gst/gstevent.c: (event_probe), (test_event),
13140 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13141 (gst_base_src_start), (gst_base_src_stop),
13142 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13143 (gst_base_src_change_state):
13144 Sprinkle gst_base_src_stop liberally around error paths to fix
13145 problems reusing a source after failed state changes.
13146 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13147 (helper_find_suggest), (gst_type_find_helper):
13148 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
13150 * docs/gst/tmpl/gstevent.sgml:
13151 Migrate part of the docs from the SGML file. Wait for ensonic to
13152 tell me how I did it wrong ;)
13153 * tools/gst-typefind.c: (main):
13154 Extra robustness to state changes between files.
13156 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
13158 * check/Makefile.am:
13159 don't valgrind the controller test - it's leaking - Stefan, HELP
13160 * gst/check/gstcheck.c: (gst_check_message_error),
13161 (gst_check_chain_func), (gst_check_setup_element),
13162 (gst_check_teardown_element), (gst_check_setup_src_pad),
13163 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
13164 (gst_check_teardown_sink_pad):
13165 * gst/check/gstcheck.h:
13166 add a bunch of methods to set up elements, and src and sink pads
13167 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
13168 * check/elements/identity.c: (setup_identity), (cleanup_identity),
13171 * gst/gstmessage.c:
13173 whitespace/doc fixes
13175 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13177 * gst/gstelement.h:
13178 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
13179 be handled by the application and not always printed as well
13181 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13183 * check/Makefile.am:
13185 * gst/check/gstcheck.c: (gst_check_message_error):
13186 * gst/check/gstcheck.h:
13187 add a fail_unless_equals_int
13188 add fail_unless for error messages
13190 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13192 * check/Makefile.am:
13194 * common/Makefile.am:
13195 * common/check.mak:
13197 factor out some of the common stuff so we can use it
13199 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13201 * check/Makefile.am:
13202 * check/gst/gstiterator.c: (GST_START_TEST):
13203 * check/gst/gstsystemclock.c: (GST_START_TEST),
13204 (gst_systemclock_suite):
13205 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13207 valgrind more tests
13209 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13211 * check/elements/.cvsignore:
13212 * check/elements/gstfakesrc.c:
13213 rename to name of element
13214 * check/elements/identity.c: (chain_func), (event_func),
13215 (setup_identity), (cleanup_identity), (GST_START_TEST),
13216 (identity_suite), (main):
13217 add a test for identity
13218 * check/Makefile.am:
13219 * pkgconfig/Makefile.am:
13220 * pkgconfig/gstreamer-check.pc.in:
13221 * pkgconfig/gstreamer-check-uninstalled.pc.in:
13225 move the check stuff to a library that gets installed
13226 * check/gst-libs/controller.c: (GST_START_TEST):
13227 * check/gst-libs/gdp.c:
13228 * check/gst/gst.c: (GST_START_TEST):
13229 * check/gst/gstbin.c:
13230 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13231 * check/gst/gstbus.c:
13232 * check/gst/gstcaps.c: (GST_START_TEST):
13233 * check/gst/gstelement.c:
13234 * check/gst/gstghostpad.c:
13235 * check/gst/gstiterator.c:
13236 * check/gst/gstmessage.c:
13237 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
13238 * check/gst/gstobject.c:
13239 * check/gst/gstpad.c: (GST_START_TEST):
13240 * check/gst/gststructure.c: (GST_START_TEST):
13241 * check/gst/gstsystemclock.c: (GST_START_TEST),
13242 (gst_systemclock_suite):
13243 * check/gst/gsttag.c: (gst_tag_suite):
13244 * check/gst/gstvalue.c:
13245 * check/pipelines/cleanup.c:
13246 * check/pipelines/simple_launch_lines.c:
13247 * check/states/sinks.c:
13248 change include statement
13250 * docs/gst/gstreamer-sections.txt:
13251 * docs/gst/tmpl/gstpad.sgml:
13252 document more pad stuff
13253 * gst/gstminiobject.c: (gst_mini_object_ref),
13254 (gst_mini_object_unref):
13257 2005-08-19 Stefan Kost <ensonic@users.sf.net>
13259 * docs/gst/tmpl/gst.sgml:
13261 eliminate another tmpl file, fix spelling in the long-description
13263 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13265 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13266 (test_event), (timediff), (gstevents_suite):
13267 Should fix build on 64-bit arch's
13269 2005-08-18 Andy Wingo <wingo@pobox.com>
13271 Make sure that when a pipeline goes to PLAYING, that data has
13272 actually hit the sink.
13274 * check/states/sinks.c (test_sink): A sink that doesn't get any
13275 data shouldn't return SUCCESS for going to either PLAYING or
13276 PAUSED. Test also the return values on the way back down.
13278 * gst/gstelement.c (gst_element_set_state): When changing the
13279 state of an element currently changing state asynchronously, go to
13280 lost-state after commiting the pending state. Makes future calls
13281 to get_state continue to return ASYNC.
13283 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
13284 ASYNC when going to PLAYING if we still don't have preroll, as can
13285 happen with live sources.
13287 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13289 * docs/pwg/advanced-types.xml:
13290 Hack long paragraph into 2 chunks as a workaround for buggy
13291 jadetex version in sid and breezy that loops infinitely and
13294 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13296 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13297 (test_event), (timediff), (gstevents_suite):
13298 Provide more error margin in clock measurements to allow for
13299 g_get_current_time inaccuracies.
13301 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13303 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13304 (test_event), (timediff), (gstevents_suite):
13305 Fix error message output so I might be able to tell why the
13306 test works here but fails on the build farm.
13308 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13310 * check/Makefile.am:
13311 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13312 (test_event), (timediff), (gstevents_suite), (main):
13315 * docs/design/part-seeking.txt:
13316 Spelling correction
13318 * docs/gst/tmpl/gstevent.sgml:
13319 * docs/gst/tmpl/gstfakesrc.sgml:
13322 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13323 Treat a buffer-without-newsegment the same as a receiving
13324 a newsegment not in time format, and disable syncing to the clock
13327 * gst/gstbus.c: (gst_bus_set_sync_handler):
13328 Assert if anyone tries to replace the existing sync_handler for bus,
13329 as only the owner should be setting it.
13332 Have a fixed set of custom event enums with events identified by
13333 their structure name (as in 0.8), rather than a free-for-all
13334 allowing collisions between enum values from different plugins.
13336 * gst/gstpad.c: (gst_pad_class_init):
13339 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13340 Handle out-of-band downstream events from the sending thread.
13342 2005-08-17 Andy Wingo <wingo@pobox.com>
13344 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
13345 play-timeout==0 to mean no timeout at all. In that case, don't
13346 bother with a get_state or a warning, just return directly, even
13349 * gst/base/gstbasetransform.c: Debug changes.
13352 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
13353 ensure bins post state change messages. A bit of a hack but I can't
13354 think of a way to avoid it.
13356 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
13358 2005-08-16 Andy Wingo <wingo@pobox.com>
13360 * gst/base/gstadapter.h:
13361 * gst/base/gstadapter.c (gst_adapter_take): New function, like
13362 peek() but you own the data. Not terribly efficient atm.
13364 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13366 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
13367 (gst_element_found_tags):
13369 Add two utility functions for tag handling.
13371 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13373 * docs/manual/advanced-dataaccess.xml:
13374 * docs/manual/basics-helloworld.xml:
13375 Fix docs to use _bin_add() before _link(), which fixes the examples
13376 with recent core versions (reported by Madhan Raj M
13377 <raj_madan@rediffmail.com>, #313199).
13379 2005-08-16 Wim Taymans <wim@fluendo.com>
13381 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13382 Added subtract checks.
13384 * docs/design/part-events.txt:
13385 Some more docs about newsegment
13387 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13390 * gst/gstcaps.c: (gst_caps_to_string):
13391 Add comments, cleanups.
13393 * gst/gstelement.c: (gst_element_save_thyself):
13396 * gst/gstvalue.c: (gst_value_collect_int_range),
13397 (gst_string_unwrap), (gst_value_union_int_int_range),
13398 (gst_value_union_int_range_int_range),
13399 (gst_value_intersect_int_int_range),
13400 (gst_value_intersect_int_range_int_range),
13401 (gst_value_intersect_double_double_range),
13402 (gst_value_intersect_double_range_double_range),
13403 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
13404 (gst_value_subtract_int_range_int),
13405 (gst_value_subtract_double_range_double),
13406 (gst_value_subtract_double_range_double_range),
13407 (gst_value_subtract_from_list), (gst_value_subtract_list),
13408 (gst_value_can_compare), (gst_value_compare_fraction):
13409 Cleanups, add comments, remove unneeded asserts.
13411 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
13413 * tools/gst-launch.c: (event_loop):
13414 don't convert NULL structures to strings
13416 2005-08-15 Stefan Kost <ensonic@users.sf.net>
13418 * docs/gst/gstreamer-sections.txt:
13419 made some defines private
13420 * docs/gst/tmpl/gstconfig.sgml:
13421 * docs/gst/tmpl/gstqueue.sgml:
13422 * docs/gst/tmpl/gsttaglist.sgml:
13423 * docs/gst/tmpl/gsttypes.sgml:
13424 * docs/gst/tmpl/gstutils.sgml:
13425 * docs/pwg/appendix-porting.xml:
13426 * gst/base/gstbasesink.h:
13427 * gst/base/gstbasesrc.c:
13428 * gst/base/gstbasesrc.h:
13429 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
13430 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
13431 * gst/gstelement.c: (gst_element_class_init):
13432 * gst/gstpad.c: (gst_pad_class_init):
13433 * gst/gstqueue.c: (gst_queue_class_init):
13434 * gst/gstxml.c: (gst_xml_class_init):
13435 documented all undocumented signal inline
13436 * libs/gst/controller/gst-controller.h:
13439 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13441 * docs/pwg/appendix-porting.xml:
13442 Document _set_link_function -> _set_setcaps_function.
13444 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
13446 * check/Makefile.am:
13447 add a .check target for running the check
13448 * check/gst-libs/controller.c: (GST_START_TEST):
13450 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13451 complete checks for gstbuffer; would be nice if I could get the
13452 gcov stuff to work so I can see if I actually completed gstbuffer.c
13453 * check/gstcheck.h:
13454 add ASSERT_BUFFER_REFCOUNT
13456 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
13458 * docs/gst/gstreamer-sections.txt:
13459 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13461 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
13462 spew out a warning if a tag that is already registered
13463 is re-registered, unless it is re-registered with a
13464 different type (#308438).
13466 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
13468 * docs/pwg/appendix-porting.xml:
13469 * docs/pwg/building-state.xml:
13470 Add some paragraphs about state changes in 0.9 to the PWG
13471 and the porting guide, in particular about the new meaning
13472 of GST_STATE_PAUSED and how to write state change functions
13473 with concurrent access by multiple threads in mind.
13475 2005-08-11 Stefan Kost <ensonic@users.sf.net>
13477 * docs/gst/gstreamer-docs.sgml:
13478 * docs/libs/gstreamer-libs-docs.sgml:
13479 added deprecation and since indexes
13480 * libs/gst/controller/gst-controller.c:
13481 * libs/gst/controller/gst-helper.c:
13485 2005-08-11 Wim Taymans <wim@fluendo.com>
13487 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
13488 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
13489 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
13490 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
13491 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
13492 (gst_ghost_pad_set_target):
13493 Actually implement (re)setting the target on a ghostpad
13494 as described in the docs.
13496 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
13498 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
13499 Check whether GST_DEBUG_NO_COLOR environment variable is
13500 set and disable coloured debug output if that is the case.
13502 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
13504 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13505 (gst_type_find_helper):
13506 The memory returned by gst_type_find_peek() needs to
13507 stay valid until the end of a typefind function, and
13508 typefind functions may keep results from different
13509 offsets around, so we can't just unref the buffer from
13510 the previous _peek(), but have to save all buffers
13511 returned by _peek() until typefinding is done and only
13514 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
13516 * docs/gst/gstreamer-sections.txt:
13518 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13520 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13522 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13523 Fix a pretty good memleak.
13525 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13527 * gst/gstiterator.h:
13528 Fix wrong include and 'make distcheck'.
13530 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13532 * gst/gstbin.c: (bin_bus_handler):
13533 Use gst_element_post_message() instead.
13535 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13537 * gst/base/gstadapter.h:
13538 * gst/base/gstbasesink.h:
13539 * gst/base/gstbasesrc.h:
13540 * gst/base/gstbasetransform.h:
13541 * gst/base/gstcollectpads.h:
13542 * gst/base/gstpushsrc.h:
13543 * gst/gstiterator.h:
13544 Add padding to our base elements' class and instance structs and
13545 to GstIterator (you will need to rebuild all plugins and apps!)
13547 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13549 * gst/gstbin.c: (bin_bus_handler):
13550 Make default message forwarding from child->bus to bin->bus
13551 threadsafe and make it not emit warnings if the parent has no bus.
13553 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13555 * gst/gstelement.c: (activate_pads):
13556 On paused->ready, set pad->caps to NULL, as is the documented
13557 behaviour in this state change. Fixes playback of series of
13558 media files when visualization is enabled in Totem.
13560 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13562 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13563 Allow NULL as filter-caps (which means "any").
13565 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13567 * docs/libs/gstreamer-libs-sections.txt:
13568 * libs/gst/controller/gst-controller.c:
13569 * libs/gst/controller/gst-controller.h:
13570 * libs/gst/controller/gst-helper.c:
13571 adding more entries to the docs and fix small doc-bugs
13573 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13575 * docs/gst/gstreamer-docs.sgml:
13576 * docs/gst/gstreamer-sections.txt:
13577 * docs/gst/gstreamer.types:
13578 * docs/gst/tmpl/gstbasesink.sgml:
13579 * docs/gst/tmpl/gstbasesrc.sgml:
13580 * docs/gst/tmpl/gstbasetransform.sgml:
13581 * docs/gst/tmpl/gstfakesrc.sgml:
13582 * gst/base/gstcollectpads.c:
13583 * gst/base/gstcollectpads.h:
13584 * libs/gst/controller/gst-controller.c:
13585 * libs/gst/controller/gst-controller.h:
13586 * libs/gst/controller/gst-helper.c:
13587 * libs/gst/controller/gst-interpolation.c:
13588 * libs/gst/controller/lib.c:
13589 added long/short desc for controller docs
13590 added collectpads base class docs
13591 added correct includes to base-class docs
13593 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13595 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13596 (gst_test_mono_source_set_property),
13597 (gst_test_mono_source_class_init), (GST_START_TEST),
13598 (gst_controller_suite):
13599 * docs/gst/gstreamer-docs.sgml:
13600 * docs/gst/gstreamer-sections.txt:
13601 * docs/gst/gstreamer.types:
13602 * docs/libs/gstreamer-libs-docs.sgml:
13603 * docs/libs/gstreamer-libs-sections.txt:
13604 * gst/base/gstadapter.c:
13605 * libs/gst/controller/gst-controller.c:
13606 (gst_controlled_property_new), (gst_controlled_property_free),
13607 (gst_controller_new_valist),
13608 (gst_controller_remove_properties_valist),
13609 (gst_controller_sink_values), (_gst_controller_finalize):
13610 * libs/gst/controller/gst-controller.h:
13611 * libs/gst/controller/gst-helper.c:
13612 (gst_object_control_properties), (gst_object_uncontrol_properties),
13613 (gst_object_get_controller), (gst_object_set_controller),
13614 (gst_object_sink_values), (gst_object_get_value_arrays),
13615 (gst_object_get_value_array):
13616 more tests (and fixes) for the controller
13617 more docs for the controller
13618 integrated companies docs for the adapter
13620 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
13622 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13623 (GST_START_TEST), (fakesrc_suite):
13624 add tests for sizetype
13626 2005-08-04 Andy Wingo <wingo@pobox.com>
13628 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13629 fixes buffer_alloc proxying among other things.
13631 * gst/base/gstbasetransform.c:
13632 * gst/base/gstbasetransform.h:
13633 Revert patch to gstbasetransform from 7-28 removing
13636 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13637 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13638 Semantics changed, should return not the size of the output buffer
13639 but the byte size of a buffer with a given caps.
13641 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13643 (gst_base_transform_configure_caps): Don't set out_size here: (in,
13644 out) are not the pad caps until setcaps finishes.
13645 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13646 not-in-place case as well. Deal with changing from in-place to
13647 not-in-place within calling pad_alloc_buffer. Still a bit
13648 concerned about the overhead here...
13650 2005-08-03 Andy Wingo <wingo@pobox.com>
13652 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13653 fixating is an error.
13655 2005-08-04 Edward Hervey <edward@fluendo.com>
13657 * gst/base/gstadapter.h:
13658 Added gst_adapter_get_type() to the header
13660 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13662 * check/Makefile.am:
13663 * check/gst-libs/controller.c:
13664 * libs/gst/controller/gst-controller.c:
13665 (gst_controller_new_valist):
13666 added check test suite for the controller
13667 * gst/base/gstpushsrc.c:
13670 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13672 * docs/gst/Makefile.am:
13673 * docs/gst/gstreamer-docs.sgml:
13674 * docs/gst/gstreamer-sections.txt:
13675 * docs/gst/gstreamer.types:
13676 * docs/gst/tmpl/gstfakesrc.sgml:
13678 * gst/base/gstbasesink.c:
13679 * gst/base/gstbasesink.h:
13680 * gst/base/gstbasesrc.c:
13681 * gst/base/gstbasesrc.h:
13682 * gst/base/gstbasetransform.c:
13683 * gst/base/gstpushsrc.c:
13684 * gst/base/gstpushsrc.h:
13685 add short/long description docs to base classes
13686 add pushsrc to the docs
13687 remove consolidated doc fragments
13689 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13692 * docs/libs/Makefile.am:
13693 * docs/libs/gstreamer-libs-docs.sgml:
13694 * docs/libs/gstreamer-libs-sections.txt:
13695 * docs/libs/gstreamer-libs.types:
13696 * examples/Makefile.am:
13697 * examples/controller/.cvsignore:
13698 * examples/controller/Makefile.am:
13699 * examples/controller/audio-example.c: (main):
13700 * libs/gst/Makefile.am:
13701 * libs/gst/controller/.cvsignore:
13702 * libs/gst/controller/Makefile.am:
13703 * libs/gst/controller/gst-controller.c:
13704 (on_object_controlled_property_changed), (gst_timed_value_compare),
13705 (gst_timed_value_find),
13706 (gst_controlled_property_set_interpolation_mode),
13707 (gst_controlled_property_new), (gst_controlled_property_free),
13708 (gst_controller_find_controlled_property),
13709 (gst_controller_new_valist), (gst_controller_new),
13710 (gst_controller_remove_properties_valist),
13711 (gst_controller_remove_properties), (gst_controller_set),
13712 (gst_controller_set_from_list), (gst_controller_unset),
13713 (gst_controller_get), (gst_controller_get_all),
13714 (gst_controller_sink_values), (gst_controller_get_value_arrays),
13715 (gst_controller_get_value_array),
13716 (gst_controller_set_interpolation_mode),
13717 (_gst_controller_finalize), (_gst_controller_init),
13718 (_gst_controller_class_init), (gst_controller_get_type):
13719 * libs/gst/controller/gst-controller.h:
13720 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13721 (g_object_uncontrol_properties), (g_object_get_controller),
13722 (g_object_set_controller), (g_object_sink_values),
13723 (g_object_get_value_arrays), (g_object_get_value_array):
13724 * libs/gst/controller/gst-interpolation.c:
13725 (gst_controlled_property_find_timed_value_node),
13726 (interpolate_none_get), (interpolate_trigger_get),
13727 (interpolate_trigger_get_value_array):
13728 * libs/gst/controller/lib.c: (gst_controller_init):
13729 * pkgconfig/Makefile.am:
13730 * pkgconfig/gstreamer-control-uninstalled.pc.in:
13731 * pkgconfig/gstreamer-control.pc.in:
13732 * testsuite/Makefile.am:
13733 * testsuite/controller/.cvsignore:
13734 * testsuite/controller/Makefile.am:
13735 * testsuite/controller/interpolator.c: (main):
13736 added controller code
13737 removed dparam pc files
13739 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13740 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13741 (gst_collectpads_stop):
13742 Broadcast the condition when shutting down, to make sure we wake all
13743 threads up. Shut down pads on finalize, for safety.
13745 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13746 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13747 (gst_base_transform_handle_buffer),
13748 (gst_base_transform_change_state):
13749 Handle PAUSED->READY->PAUSED transition after negotiation
13751 * gst/gstmessage.c: (gst_message_init):
13752 Extra piece of debug for new messages.
13754 2005-08-01 Stefan Kost <ensonic@users.sf.net>
13757 * docs/gst/tmpl/gstbasesrc.sgml:
13758 * docs/gst/tmpl/gstelement.sgml:
13759 * docs/gst/tmpl/gstevent.sgml:
13760 * docs/gst/tmpl/gstfakesrc.sgml:
13761 * docs/gst/tmpl/gstformat.sgml:
13762 * docs/gst/tmpl/gstghostpad.sgml:
13763 * docs/gst/tmpl/gstpad.sgml:
13764 * docs/gst/tmpl/gstquery.sgml:
13765 * docs/gst/tmpl/gststructure.sgml:
13766 * docs/gst/tmpl/gsttaglist.sgml:
13767 * docs/gst/tmpl/gstvalue.sgml:
13768 * docs/libs/gstreamer-libs-docs.sgml:
13769 * docs/libs/gstreamer-libs-sections.txt:
13770 * docs/libs/gstreamer-libs.types:
13771 * libs/gst/Makefile.am:
13772 * libs/gst/control/.cvsignore:
13773 * libs/gst/control/Makefile.am:
13774 * libs/gst/control/control.c:
13775 * libs/gst/control/control.h:
13776 * libs/gst/control/dparam.c:
13777 * libs/gst/control/dparam.h:
13778 * libs/gst/control/dparam_smooth.c:
13779 * libs/gst/control/dparam_smooth.h:
13780 * libs/gst/control/dparamcommon.h:
13781 * libs/gst/control/dparammanager.c:
13782 * libs/gst/control/dparammanager.h:
13783 * libs/gst/control/dplinearinterp.c:
13784 * libs/gst/control/dplinearinterp.h:
13785 * libs/gst/control/unitconvert.c:
13786 * libs/gst/control/unitconvert.h:
13787 * testsuite/Makefile.am:
13788 * testsuite/dynparams/.cvsignore:
13789 * testsuite/dynparams/Makefile.am:
13790 * testsuite/dynparams/dparamstest.c:
13791 * tools/Makefile.am:
13792 * tools/gst-inspect.c: (print_element_info), (main):
13793 * tools/gst-xmlinspect.c: (print_element_info), (main):
13794 deactivate and remove dparams (libgstcontrol)
13796 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13798 * gst/elements/gsttypefindelement.c:
13799 (gst_type_find_element_have_type), (gst_type_find_element_init),
13800 (stop_typefinding), (gst_type_find_element_handle_event),
13801 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13802 * gst/elements/gsttypefindelement.h:
13803 Set caps on all outgoing buffers, not just the first one.
13805 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13807 * gst/elements/gsttypefindelement.c:
13808 (gst_type_find_element_have_type),
13809 (gst_type_find_element_check_set_buffer_caps),
13810 (gst_type_find_element_init), (stop_typefinding),
13811 (gst_type_find_element_handle_event),
13812 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13813 * gst/elements/gsttypefindelement.h:
13814 Set caps on first outgoing buffer when we've found the type.
13816 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13818 * docs/gst/gstreamer-docs.sgml:
13819 * docs/gst/gstreamer-sections.txt:
13820 * docs/gst/tmpl/gstscheduler.sgml:
13821 * docs/gst/tmpl/gstschedulerfactory.sgml:
13822 Remove some old cruft from docs.
13824 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
13827 Fix inline docs for GstPadLinkReturn.
13829 * gst/gststructure.c: (gst_structure_has_name):
13830 * gst/gststructure.h:
13831 * docs/gst/gstreamer-sections.txt:
13832 New API: gst_structure_has_name().
13834 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
13837 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13838 and _LARGEFILE_SOURCE in config.h as required. Do not
13839 export those flags in our .pc files any longer (#142209).
13841 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13843 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13844 (gst_file_sink_do_seek), (gst_file_sink_event),
13845 (gst_file_sink_get_current_offset), (gst_file_sink_render):
13846 Redo seek/tell calls with large file support in mind; add some
13847 debugging messages; add log message that tells us when large
13848 file support is unavailable or not enabled for some reason.
13850 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13851 Add log message that tells us when large file support
13852 is unavailable or not enabled for some reason.
13854 2005-07-29 Wim Taymans <wim@fluendo.com>
13856 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13857 Added test for removing an element with ghostpad from a bin.
13858 Fixed test as current implementation does the right thing.
13860 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13861 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13862 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13863 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13864 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13865 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13866 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13867 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13868 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13869 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13870 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13871 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13872 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13873 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13874 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13875 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13876 * gst/gstghostpad.h:
13877 Clean up ghostpads, remove properties for internal stuff.
13880 Prepare for switching targets, not all use cases work yet.
13882 2005-07-29 Wim Taymans <wim@fluendo.com>
13884 * docs/design/part-gstghostpad.txt:
13887 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13888 (gst_bin_remove_func):
13889 Unlinking pads while holding the bin LOCK is not a good
13892 * gst/gstpad.c: (gst_pad_class_init),
13893 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13894 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13895 No prob setting template after creating the pad.
13897 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
13899 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13900 (gst_bus_peek), (gst_bus_source_dispatch),
13901 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13902 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13903 gst_bus_poll may be called from other threads. Handle
13904 this nicely by not making poll_data disappear off the
13905 stack once gst_bus_poll returns.
13906 gst_bus_peek now increments the refcount on the returned
13909 2005-07-29 Wim Taymans <wim@fluendo.com>
13911 * docs/design/part-gstghostpad.txt:
13912 Overview of current GhostPad datastructures and use
13913 cases for changing the target.
13915 2005-07-28 Wim Taymans <wim@fluendo.com>
13917 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13918 Added checks for hierarchy consistency whan adding linked
13921 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13922 Added check to test element scheduling without bin/pipeline.
13924 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13925 First add elements to bin, then link.
13927 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13928 (gst_bin_remove_func):
13929 Unlink pads from elements added/removed from bin to maintain
13930 hierarchy consistency.
13932 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13934 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13935 (gst_base_transform_handle_buffer):
13936 * gst/base/gstbasetransform.h:
13937 Remove broken delay_configure (fixes renegotiation of software
13938 scaling pipelines); remove some leftover printf()s.
13940 2005-07-28 Wim Taymans <wim@fluendo.com>
13942 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13943 Added some more tests for wrong hierarchy
13945 * docs/design/part-overview.txt:
13948 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13951 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13952 (gst_element_dispose):
13953 Some more cleanups.
13955 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13956 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13957 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13958 (gst_pad_set_caps), (gst_pad_send_event):
13959 Check for correct hierarchy when linking pads. Moving to
13960 strict requirement for ghostpads when linking elements in
13964 Clean ups. Added WRONG_HIERARCHY return value.
13966 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13968 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13969 Better debug if no transform is possible.
13971 2005-07-27 Wim Taymans <wim@fluendo.com>
13973 * docs/random/wtay/network-transp:
13974 Some old doc I had.
13976 2005-07-27 Wim Taymans <wim@fluendo.com>
13978 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13979 (gst_dp_event_from_packet):
13980 Fix serialization of seek events.
13982 2005-07-27 Wim Taymans <wim@fluendo.com>
13984 * check/gst-libs/gdp.c: (GST_START_TEST):
13985 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13986 Fix compilation and fix event serialization.
13988 2005-07-27 Wim Taymans <wim@fluendo.com>
13991 * docs/design/part-TODO.txt:
13992 * docs/design/part-events.txt:
13995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13996 (gst_base_sink_event), (gst_base_sink_do_sync),
13997 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13998 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13999 (gst_base_src_do_seek), (gst_base_src_event_handler),
14000 (gst_base_src_loop):
14001 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14002 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14003 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14004 (gst_base_transform_event), (gst_base_transform_handle_buffer),
14005 (gst_base_transform_set_passthrough),
14006 (gst_base_transform_is_passthrough):
14007 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14008 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14014 * gst/gstelement.c: (gst_element_seek):
14015 * gst/gstelement.h:
14016 Update gst_element_seek.
14018 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
14019 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
14020 (gst_event_new_flush_start), (gst_event_new_flush_stop),
14021 (gst_event_new_eos), (gst_event_new_newsegment),
14022 (gst_event_parse_newsegment), (gst_event_new_tag),
14023 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
14024 (gst_event_parse_qos), (gst_event_new_seek),
14025 (gst_event_parse_seek), (gst_event_new_navigation):
14027 Make GstEvent use GstStructure. Add parsing code, make sure the
14028 API is sufficiently generic.
14029 Mark possible directions of events and serialization.
14031 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
14032 (_gst_message_copy), (gst_message_new_segment_start),
14033 (gst_message_new_segment_done), (gst_message_new_custom),
14034 (gst_message_parse_segment_start),
14035 (gst_message_parse_segment_done):
14038 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14039 (gst_pad_set_caps), (gst_pad_send_event):
14040 Update for new events.
14041 Catch events sent in wrong directions.
14043 * gst/gstqueue.c: (gst_queue_link_src),
14044 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
14045 (gst_queue_handle_src_query):
14050 Remove event code from this file.
14052 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14053 (gst_dp_event_from_packet):
14056 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14058 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
14059 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14060 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
14061 Make debugging actually useful.
14063 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14065 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
14066 (gst_pad_fixate_caps):
14067 Implement default fixation once again, so that gst_pad_fixate()
14068 actually does anything at all. This probably needs to be some
14069 sort of a last resort, and use profile-based fixation first, but
14070 since that doesn't exist yet, this is the best we have. Fixes
14071 visualization in Totem.
14073 2005-07-22 Wim Taymans <wim@fluendo.com>
14075 * docs/design/part-events.txt:
14078 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14079 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
14080 (gst_base_sink_activate_pull):
14081 Some more comments.
14083 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
14084 (gst_fake_src_create):
14085 Fix handoff marshall.
14087 * gst/elements/gstidentity.c: (gst_identity_class_init),
14088 (gst_identity_transform_ip):
14089 We're a real inplace element.
14091 * gst/gstbus.c: (gst_bus_post):
14092 Added some comments.
14094 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
14095 * tests/muxing/case1.c: (main):
14096 * tests/sched/dynamic-pipeline.c: (main):
14097 * tests/sched/interrupt1.c: (main):
14098 * tests/sched/interrupt2.c: (main):
14099 * tests/sched/interrupt3.c: (main):
14100 * tests/sched/runxml.c: (main):
14101 * tests/sched/sched-stress.c: (main):
14102 * tests/seeking/seeking1.c: (event_received), (main):
14103 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
14105 * tests/threadstate/threadstate3.c: (main):
14106 * tests/threadstate/threadstate4.c: (main):
14107 * tests/threadstate/threadstate5.c: (main):
14110 2005-07-21 Wim Taymans <wim@fluendo.com>
14112 * docs/design/part-seeking.txt:
14113 Some small additions.
14115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14116 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14117 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14118 * gst/base/gstbasesink.h:
14119 discont values are gint64, handle the math correctly.
14121 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14122 Make the basesrc report error if the source pad is not linked.
14124 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14125 (gst_queue_loop), (gst_queue_handle_src_query),
14126 (gst_queue_src_activate_push):
14127 Make queue collect data even if the srcpad is not linked.
14128 Start pushing out data as soon as it is linked.
14130 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
14132 Added gst_flow_get_name() to ease error reporting.
14134 2005-07-20 Wim Taymans <wim@fluendo.com>
14136 * gst/gstmessage.c: (gst_message_new_segment_start),
14137 (gst_message_new_segment_done), (gst_message_parse_segment_start),
14138 (gst_message_parse_segment_done):
14139 * gst/gstmessage.h:
14140 Added a bunch of messages for advanced seeking.
14142 * gst/parse/grammar.y:
14143 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
14144 (gst_dpman_state_changed):
14145 Fix some new-pad -> pad-added signals
14147 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14149 * docs/manual/appendix-porting.xml:
14150 * docs/pwg/appendix-porting.xml:
14151 Document new-pad/state-change signal renames and the FixedList
14154 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14156 * docs/manual/advanced-autoplugging.xml:
14157 * docs/manual/basics-helloworld.xml:
14158 * docs/manual/basics-pads.xml:
14159 * docs/random/ds/0.9-suggested-changes:
14160 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
14161 * gst/gstelement.h:
14165 * gst/gststructure.c: (gst_structure_value_get_generic_type),
14166 (gst_structure_parse_array), (gst_structure_parse_value):
14167 * gst/gstvalue.c: (gst_type_is_fixed),
14168 (gst_value_list_prepend_value), (gst_value_list_append_value),
14169 (gst_value_list_get_size), (gst_value_list_get_value),
14170 (gst_value_transform_array_string), (gst_value_serialize_array),
14171 (gst_value_deserialize_array), (gst_value_intersect_array),
14172 (gst_value_is_fixed), (_gst_value_initialize):
14174 GstElement::new-pad -> pad-added, GstElement::state-change ->
14175 state-changed, GstValueFixedList -> GstValueArray, add format and
14176 flags as their own arguments in gst_element_seek() (should improve
14177 "bindeability"), remove function generators since they don't work
14178 under a whole bunch of compilers (they were deprecated already
14181 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14183 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
14184 (_gst_debug_register_funcptr):
14186 Fix illegal cast on some platforms (#309253).
14188 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14190 * gst/gstmessage.c: (gst_message_new_custom):
14191 * gst/gstmessage.h:
14192 Add _new_custom, make _new_application a macro to _new_custom.
14194 2005-07-20 Wim Taymans <wim@fluendo.com>
14196 * gst/base/gstbasesrc.c: (gst_base_src_init),
14197 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14198 * gst/base/gstbasesrc.h:
14199 Add a gboolean to decide when to push out a discont.
14201 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14202 (gst_queue_loop), (gst_queue_handle_src_query),
14203 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
14204 (gst_queue_set_property), (gst_queue_get_property):
14207 * tests/threadstate/threadstate1.c: (main):
14208 Make a thread test compile and run... very silly..
14211 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14213 * docs/manual/appendix-porting.xml:
14214 Mention removal of libgstgconf-0.9.la and existence of gconf
14217 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14219 * docs/pwg/advanced-clock.xml:
14220 * docs/pwg/appendix-porting.xml:
14221 * docs/pwg/intro-preface.xml:
14222 * docs/pwg/other-base.xml:
14223 * docs/pwg/other-manager.xml:
14224 * docs/pwg/other-nton.xml:
14225 * docs/pwg/other-ntoone.xml:
14226 * docs/pwg/other-oneton.xml:
14227 * docs/pwg/pwg.xml:
14228 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
14229 demuxer), remove n-to-n (was never written), fix some code examples
14230 and links and update the porting section to include all this.
14232 2005-07-19 Wim Taymans <wim@fluendo.com>
14234 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
14235 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
14236 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
14237 (gst_queue_src_activate_push), (gst_queue_change_state),
14238 (gst_queue_get_property):
14240 Propagate GstFlowReturn more intelligently upstream and output
14241 an ERROR/EOS when streaming stopped due to fatal error.
14243 2005-07-19 Wim Taymans <wim@fluendo.com>
14245 * tools/gst-launch.c: (check_intr), (event_loop), (main):
14246 Don't block forever for the state change to complete, the
14247 pipeline already did with a sensible timeout.
14249 2005-07-19 Wim Taymans <wim@fluendo.com>
14251 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14252 Make sure we never call the create function is we
14255 2005-07-19 Andy Wingo <wingo@pobox.com>
14257 * gst/parse/parse.l: Attempt to solve bug #172815.
14259 2005-07-19 Wim Taymans <wim@fluendo.com>
14261 * docs/design/part-clocks.txt:
14262 * docs/design/part-events.txt:
14263 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
14264 Small docs updates.
14265 Only update the seeking values when we are not
14268 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
14270 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14271 Oops, ignore the result of gst_pad_push_event here.
14273 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
14275 * gst/base/gstbasesrc.c: (gst_base_src_loop),
14276 (gst_base_src_activate_push):
14277 Send discont event from the loop function, as pads
14278 aren't activated yet in the activate_push handler.
14280 * gst/gstbin.c: (bin_bus_handler):
14281 Don't leak element name.
14283 2005-07-18 Andy Wingo <wingo@pobox.com>
14285 * configure.ac: Use AS_LIBTOOL_TAGS.
14287 2005-07-18 Wim Taymans <wim@fluendo.com>
14289 * docs/gst/gstreamer.types:
14290 Remove deleted types.
14292 2005-07-18 Wim Taymans <wim@fluendo.com>
14294 * check/elements/gstfakesrc.c: (GST_START_TEST):
14297 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
14298 (init_popt_callback):
14300 * gst/gst_private.h:
14301 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
14302 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
14305 * gst/gstconfig.h.in:
14306 * gst/gstelement.c: (gst_element_class_init),
14307 (gst_element_set_base_time), (gst_element_get_base_time),
14308 (iterator_fold_with_resync), (gst_element_change_state),
14309 (gst_element_dispose), (gst_element_get_bus):
14310 * gst/gstelement.h:
14311 * gst/gstelementfactory.h:
14312 * gst/gsterror.c: (_gst_core_errors_init):
14315 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14317 * gst/gstinfo.c: (_gst_debug_init):
14318 * gst/gstmessage.c: (_gst_message_copy):
14319 * gst/gstmessage.h:
14320 * gst/gstminiobject.h:
14323 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14324 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
14327 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14328 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14329 (gst_pipeline_get_last_stream_time):
14330 * gst/gstpipeline.h:
14331 * gst/gstpluginfeature.h:
14333 * gst/gstscheduler.c:
14334 * gst/gstscheduler.h:
14335 * gst/gststructure.h:
14336 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
14337 (gst_task_finalize), (gst_task_func), (gst_task_create),
14338 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
14339 (gst_task_stop), (gst_task_pause):
14341 * gst/gsttypefind.h:
14343 * gst/registries/gstlibxmlregistry.c: (load_feature),
14344 (gst_xml_registry_load), (gst_xml_registry_save_feature):
14345 * gst/registries/gstxmlregistry.c:
14346 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
14347 * gst/schedulers/threadscheduler.c:
14348 * libs/gst/control/dparammanager.h:
14349 * tools/gst-inspect.c: (print_element_list),
14350 (print_plugin_features), (print_element_features):
14351 * tools/gst-xmlinspect.c: (print_element_list),
14352 (print_plugin_info), (main):
14353 Removed plugable schedulers.
14354 Removed Scheduler/Manager from elements.
14355 Removed gsttypes.h, rearranged includes.
14356 Removed dependency pad<->element, element<>pipeline, and
14357 various others, fix includes.
14358 implement gst_pad_get_parent() with gst_object_get_parent()
14359 Make GstTask sefcontained.
14360 Fix _get_state() on GstBin, it did not return ASYNC with a 0
14362 Fix endless loop in iterator_fold_with_resync.
14365 2005-07-18 Wim Taymans <wim@fluendo.com>
14371 2005-07-18 Wim Taymans <wim@fluendo.com>
14374 No more cothreads.h
14376 2005-07-18 Wim Taymans <wim@fluendo.com>
14380 Let's remove these.
14382 2005-07-18 Wim Taymans <wim@fluendo.com>
14384 * docs/design/part-dynamic.txt:
14385 * docs/design/part-events.txt:
14386 * docs/design/part-seeking.txt:
14387 Some more docs in the works.
14389 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14390 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
14391 (gst_base_transform_setcaps), (gst_base_transform_get_size),
14392 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14393 (gst_base_transform_handle_buffer),
14394 (gst_base_transform_sink_activate_push),
14395 (gst_base_transform_src_activate_pull),
14396 (gst_base_transform_set_passthrough),
14397 (gst_base_transform_is_passthrough):
14400 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
14403 * gst/gstevent.c: (gst_event_finalize):
14406 * gst/gstutils.c: (gst_element_unlink),
14407 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
14408 (gst_pad_proxy_setcaps):
14410 Add _get_parent_element() to get a pads parent as an element.
14412 2005-07-18 Wim Taymans <wim@fluendo.com>
14414 * check/gst/gstbin.c: (GST_START_TEST):
14417 2005-07-18 Wim Taymans <wim@fluendo.com>
14419 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14420 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14421 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14422 (gst_base_sink_event), (gst_base_sink_do_sync),
14423 (gst_base_sink_chain), (gst_base_sink_loop),
14424 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
14425 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14427 Fix logic for returning ASYNC when not prerolled.
14429 2005-07-18 Wim Taymans <wim@fluendo.com>
14431 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14432 Fix nasty refcount bug.
14434 2005-07-16 Philippe Khalaf <burger@speedy.org>
14436 * gst/elements/gstfdsrc.c:
14437 * gst/elements/gstfdsrc.h:
14438 * gst/elements/gstelements.c:
14439 * gst/elements/Makefile.am:
14440 Ported fdsrc to 0.9.
14442 2005-07-16 Wim Taymans <wim@fluendo.com>
14444 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14445 (gst_base_sink_do_sync):
14448 2005-07-16 Wim Taymans <wim@fluendo.com>
14450 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14451 (gst_base_sink_event), (gst_base_sink_get_times),
14452 (gst_base_sink_do_sync), (gst_base_sink_change_state):
14453 * gst/base/gstbasesink.h:
14454 Store and use discont values when syncing buffers as described
14457 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14458 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
14459 (gst_base_src_activate_push):
14460 Push discont event when starting.
14462 * gst/elements/gstidentity.c: (gst_identity_transform):
14465 * gst/gstbin.c: (gst_bin_change_state):
14466 Small cleanups in base_time distribution.
14468 * gst/gstelement.c: (gst_element_set_base_time),
14469 (gst_element_get_base_time), (gst_element_change_state):
14470 * gst/gstelement.h:
14471 Added methods for the base_time of the element.
14474 * gst/gstpipeline.c: (gst_pipeline_send_event),
14475 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14476 (gst_pipeline_get_last_stream_time):
14477 * gst/gstpipeline.h:
14479 Handle seeking as described in design doc, remove stream_time
14481 Cleanups clock and stream_time selection code. Added accessors
14482 for the stream_time.
14485 2005-07-16 Andy Wingo <wingo@pobox.com>
14487 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
14490 2005-07-16 Wim Taymans <wim@fluendo.com>
14492 * check/gst/gstbin.c: (GST_START_TEST):
14493 Make elements silent as the deep_notify refs the
14494 parent, which might make the test fail.
14496 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14497 Don't hold the lock for too long.
14499 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
14501 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14502 Don't unref the caps we passed to gst_caps_make_writable() after
14503 passing them. gst_caps_make_writable() will do that for us.
14505 2005-07-15 Andy Wingo <wingo@pobox.com>
14507 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
14510 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
14511 own marshalling function for the handoff signal. Properly type the
14512 buffer as a buffer. Fixes some warnings. Should do a more general
14514 (gst_identity_class_init): Plug into the right marshaller.
14516 2005-07-15 Wim Taymans <wim@fluendo.com>
14518 * docs/design/part-TODO.txt:
14519 * docs/design/part-clocks.txt:
14520 * docs/design/part-element-sink.txt:
14521 * docs/design/part-events.txt:
14522 * docs/design/part-gstpipeline.txt:
14523 Updated docs, mostly DISCONT related.
14525 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
14527 * docs/pwg/building-pads.xml:
14528 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14530 2005-07-15 Andy Wingo <wingo@pobox.com>
14532 * tools/gst-typefind.c: Update, add copyright block.
14534 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14535 Normalize and truncate caps before fixation.
14538 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14539 discards all but the first structure from its argument.
14541 2005-07-15 Wim Taymans <wim@fluendo.com>
14543 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14544 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14545 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14546 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14547 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14548 (gst_base_transform_chain), (gst_base_transform_change_state),
14549 (gst_base_transform_set_passthrough),
14550 (gst_base_transform_is_passthrough):
14551 * gst/base/gstbasetransform.h:
14552 Make passthrough work using the bufferpools.
14553 Changed API a bit, subclasses have to write into a buffer
14554 provided by the base class.
14555 More debug info in nego functions.
14557 * gst/elements/gstidentity.c: (gst_identity_init),
14558 (gst_identity_transform):
14559 Port to new base class.
14561 2005-07-15 Wim Taymans <wim@fluendo.com>
14563 * gst/gstmessage.c: (gst_message_new_state_changed):
14564 * tools/gst-launch.c: (event_loop), (main):
14565 Totally dump messages in -launch with the -m option.
14566 Fix message name for State messages,
14568 2005-07-14 Wim Taymans <wim@fluendo.com>
14570 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14571 Post error messages on errors.
14573 2005-07-14 Wim Taymans <wim@fluendo.com>
14575 * gst/gstcaps.c: (gst_caps_do_simplify):
14579 Define error for stream stopped.
14581 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14582 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14583 Do proper return values.
14585 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14586 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14587 (gst_pad_get_range):
14588 Better return values.
14591 Reorganise return values, add macro to check for fatal errors.
14593 * gst/gstqueue.c: (gst_queue_chain):
14594 Return proper GstFlowReturn values,
14596 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
14598 * docs/gst/gstreamer-sections.txt:
14599 * docs/gst/gstreamer.types:
14600 * docs/gst/tmpl/gst.sgml:
14601 * docs/gst/tmpl/gstbasesink.sgml:
14602 * docs/gst/tmpl/gstbasesrc.sgml:
14603 * docs/gst/tmpl/gstbasetransform.sgml:
14604 * docs/gst/tmpl/gstbin.sgml:
14605 * docs/gst/tmpl/gstbuffer.sgml:
14606 * docs/gst/tmpl/gstcaps.sgml:
14607 * docs/gst/tmpl/gstclock.sgml:
14608 * docs/gst/tmpl/gstcompat.sgml:
14609 * docs/gst/tmpl/gstconfig.sgml:
14610 * docs/gst/tmpl/gstelement.sgml:
14611 * docs/gst/tmpl/gstelementdetails.sgml:
14612 * docs/gst/tmpl/gstelementfactory.sgml:
14613 * docs/gst/tmpl/gstenumtypes.sgml:
14614 * docs/gst/tmpl/gsterror.sgml:
14615 * docs/gst/tmpl/gstevent.sgml:
14616 * docs/gst/tmpl/gstfakesink.sgml:
14617 * docs/gst/tmpl/gstfakesrc.sgml:
14618 * docs/gst/tmpl/gstfilesink.sgml:
14619 * docs/gst/tmpl/gstfilesrc.sgml:
14620 * docs/gst/tmpl/gstfilter.sgml:
14621 * docs/gst/tmpl/gstformat.sgml:
14622 * docs/gst/tmpl/gstghostpad.sgml:
14623 * docs/gst/tmpl/gstimplementsinterface.sgml:
14624 * docs/gst/tmpl/gstindex.sgml:
14625 * docs/gst/tmpl/gstindexfactory.sgml:
14626 * docs/gst/tmpl/gstinfo.sgml:
14627 * docs/gst/tmpl/gstiterator.sgml:
14628 * docs/gst/tmpl/gstmacros.sgml:
14629 * docs/gst/tmpl/gstmemchunk.sgml:
14630 * docs/gst/tmpl/gstminiobject.sgml:
14631 * docs/gst/tmpl/gstobject.sgml:
14632 * docs/gst/tmpl/gstpad.sgml:
14633 * docs/gst/tmpl/gstpadtemplate.sgml:
14634 * docs/gst/tmpl/gstparse.sgml:
14635 * docs/gst/tmpl/gstpipeline.sgml:
14636 * docs/gst/tmpl/gstplugin.sgml:
14637 * docs/gst/tmpl/gstpluginfeature.sgml:
14638 * docs/gst/tmpl/gstquery.sgml:
14639 * docs/gst/tmpl/gstqueue.sgml:
14640 * docs/gst/tmpl/gstregistry.sgml:
14641 * docs/gst/tmpl/gstregistrypool.sgml:
14642 * docs/gst/tmpl/gstscheduler.sgml:
14643 * docs/gst/tmpl/gstschedulerfactory.sgml:
14644 * docs/gst/tmpl/gststructure.sgml:
14645 * docs/gst/tmpl/gstsystemclock.sgml:
14646 * docs/gst/tmpl/gsttaglist.sgml:
14647 * docs/gst/tmpl/gsttagsetter.sgml:
14648 * docs/gst/tmpl/gsttrace.sgml:
14649 * docs/gst/tmpl/gsttrashstack.sgml:
14650 * docs/gst/tmpl/gsttypefind.sgml:
14651 * docs/gst/tmpl/gsttypefindfactory.sgml:
14652 * docs/gst/tmpl/gsttypes.sgml:
14653 * docs/gst/tmpl/gsturihandler.sgml:
14654 * docs/gst/tmpl/gsturitype.sgml:
14655 * docs/gst/tmpl/gstutils.sgml:
14656 * docs/gst/tmpl/gstvalue.sgml:
14657 * docs/gst/tmpl/gstversion.sgml:
14658 * docs/gst/tmpl/gstxml.sgml:
14659 * docs/libs/tmpl/gstcontrol.sgml:
14660 * docs/libs/tmpl/gstdataprotocol.sgml:
14661 * docs/libs/tmpl/gstdparam.sgml:
14662 * docs/libs/tmpl/gstdplinint.sgml:
14663 * docs/libs/tmpl/gstdpman.sgml:
14664 * docs/libs/tmpl/gstdpsmooth.sgml:
14665 * docs/libs/tmpl/gstgetbits.sgml:
14666 * docs/libs/tmpl/gstunitconvert.sgml:
14667 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14668 (gst_push_src_base_init), (gst_push_src_class_init),
14669 (gst_push_src_init), (gst_push_src_create):
14670 * gst/base/gstpushsrc.h:
14671 * gst/elements/gstelements.c:
14672 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14673 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14674 (gst_fake_sink_init), (gst_fake_sink_set_property),
14675 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14676 (gst_fake_sink_event), (gst_fake_sink_preroll),
14677 (gst_fake_sink_render), (gst_fake_sink_change_state):
14678 * gst/elements/gstfakesink.h:
14679 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14680 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14681 (gst_fake_src_base_init), (gst_fake_src_class_init),
14682 (gst_fake_src_init), (gst_fake_src_event_handler),
14683 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14684 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14685 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14686 (gst_fake_src_create_buffer), (gst_fake_src_create),
14687 (gst_fake_src_start), (gst_fake_src_stop):
14688 * gst/elements/gstfakesrc.h:
14689 * gst/elements/gstfilesink.c: (_do_init),
14690 (gst_file_sink_base_init), (gst_file_sink_class_init),
14691 (gst_file_sink_init), (gst_file_sink_dispose),
14692 (gst_file_sink_set_location), (gst_file_sink_set_property),
14693 (gst_file_sink_get_property), (gst_file_sink_open_file),
14694 (gst_file_sink_close_file), (gst_file_sink_query),
14695 (gst_file_sink_event), (gst_file_sink_render),
14696 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14697 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14698 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14699 * gst/elements/gstfilesink.h:
14700 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14701 (gst_file_src_class_init), (gst_file_src_init),
14702 (gst_file_src_finalize), (gst_file_src_set_location),
14703 (gst_file_src_set_property), (gst_file_src_get_property),
14704 (gst_file_src_map_region), (gst_file_src_map_small_region),
14705 (gst_file_src_create_mmap), (gst_file_src_create_read),
14706 (gst_file_src_create), (gst_file_src_is_seekable),
14707 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14708 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14709 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14710 (gst_file_src_uri_handler_init):
14711 * gst/elements/gstfilesrc.h:
14712 more autistic cleanliness in functions/names/defines
14714 2005-07-13 Andy Wingo <wingo@pobox.com>
14716 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14717 source couldn't negotiate.
14719 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14723 * gst/gstutils.c (gst_element_link_pads_filtered): New old
14724 function. I am channeling Hades. Put your boots on suckers!!!
14726 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
14728 * testsuite/caps/Makefile.am:
14729 * testsuite/caps/value_compare.c:
14730 * testsuite/caps/value_intersect.c:
14731 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14732 move two testsuite apps over to the check dir
14734 2005-07-12 Wim Taymans <wim@fluendo.com>
14736 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14737 Added more debug info in the negotiate process.
14739 * gst/gstmessage.h:
14740 Prepare for segment playback.
14742 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14748 * tools/gst-launch.c: (main):
14749 NULL pipeline on errors.
14751 2005-07-12 Andy Wingo <wingo@pobox.com>
14753 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14754 not it comes from a malloc region. Make sure our copy gets freed.
14756 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14758 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14759 * check/gst/gstmessage.c: (GST_START_TEST):
14760 * check/gst/gststructure.c: (GST_START_TEST),
14761 (gst_structure_suite), (main):
14763 * gst/gstelement.c: (gst_element_message_full):
14764 clean up GError and debug string now that they get copied
14765 * gst/gstmessage.c: (gst_message_new_error),
14766 (gst_message_new_warning), (gst_message_parse_error),
14767 (gst_message_parse_warning):
14768 use GST_TYPE_G_ERROR for structure_new, and take copies of
14769 arguments, so that we don't mess up refcounting
14771 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14773 * check/Makefile.am:
14774 add per-test valgrind targets
14775 * check/gst-libs/gdp.c: (GST_START_TEST),
14776 (gst_data_protocol_suite), (main):
14779 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14781 * check/Makefile.am:
14782 instate more valgrindable tests
14783 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14784 (GST_START_TEST), (fakesrc_suite):
14785 * check/gst/gstpad.c: (GST_START_TEST):
14786 * check/gst/gststructure.c: (GST_START_TEST):
14788 * docs/gst/tmpl/gstminiobject.sgml:
14789 * gst/gstpad.c: (gst_pad_finalize):
14790 fix the static mutex leak
14792 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14794 * check/Makefile.am:
14795 add two more tests for valgrinding
14796 * check/gst/gstvalue.c: (GST_START_TEST):
14797 test refcount of deserialized buffer, found a leak
14798 * docs/gst/gstreamer-docs.sgml:
14799 * docs/gst/gstreamer-sections.txt:
14800 * docs/gst/gstreamer.types:
14801 * docs/gst/tmpl/gstminiobject.sgml:
14802 add miniobject to docs
14803 * gst/gstminiobject.c:
14805 * gst/gstvalue.c: (gst_value_deserialize_buffer),
14806 (gst_string_unwrap):
14807 fix a hard-to-find invalid write for one of the tests
14808 fix a leak for deserialized buffers
14810 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14812 * docs/pwg/advanced-events.xml:
14813 * docs/pwg/advanced-request.xml:
14814 * docs/pwg/advanced-scheduling.xml:
14815 * docs/pwg/appendix-porting.xml:
14816 * docs/pwg/building-boiler.xml:
14817 * docs/pwg/intro-preface.xml:
14818 * docs/pwg/other-ntoone.xml:
14819 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14820 of example code and explanation for pad activation, loop() and
14821 getrange() functions and a bit more. Remove old comments pointing
14823 * examples/pwg/Makefile.am:
14824 Add loop/getrange examples.
14826 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14829 check for valgrind binary + some fixes
14831 valgrind suppressions for the tests
14832 * check/Makefile.am:
14833 add a valgrind: target that valgrinds the unit tests
14834 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14835 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14836 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14837 * check/gst/gstghostpad.c:
14839 * check/gst/gstdata.c:
14841 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14842 (thread_unref), (gst_mini_object_suite), (main):
14844 * gst/gst.c: (gst_deinit):
14846 add a method to clean up.
14847 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14848 (gst_system_clock_obtain):
14849 allow for disposing the system clock.
14850 * tools/gst-launch.c: (main):
14853 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14855 * docs/gst/tmpl/gstbasesrc.sgml:
14856 * docs/gst/tmpl/gstfakesrc.sgml:
14857 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14858 (gst_base_src_init), (gst_base_src_set_property),
14859 (gst_base_src_get_property), (gst_base_src_get_range),
14860 (gst_base_src_start):
14861 * gst/base/gstbasesrc.h:
14862 add num-buffers property
14863 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14864 (gst_fakesrc_init), (gst_fakesrc_set_property),
14865 (gst_fakesrc_get_property), (gst_fakesrc_create),
14866 (gst_fakesrc_start):
14867 remove num-buffers property
14869 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14871 * docs/gst/gstreamer-sections.txt:
14872 * docs/gst/tmpl/gstbasesink.sgml:
14873 * docs/gst/tmpl/gstbasesrc.sgml:
14874 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14875 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14876 (gst_base_sink_finalize), (gst_base_sink_set_clock),
14877 (gst_base_sink_set_property), (gst_base_sink_get_property),
14878 (gst_base_sink_handle_object), (gst_base_sink_event),
14879 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14880 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14881 (gst_base_sink_loop), (gst_base_sink_deactivate),
14882 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14883 (gst_base_sink_change_state):
14884 * gst/base/gstbasesink.h:
14885 * gst/base/gstbasesrc.h:
14886 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14887 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14888 (gst_filesink_init):
14889 more macro splitting
14891 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14893 * gst/gstelement.c: (gst_element_get_bus):
14895 * tools/gst-launch.c: (check_intr), (event_loop):
14898 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14900 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14903 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14905 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14906 (gst_base_src_finalize):
14907 add finalize method and clean up properly
14908 * gst/gstpipeline.c: (gst_pipeline_dispose):
14911 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14913 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14915 add more things to check
14916 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14917 * gst/gstelement.c:
14920 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14922 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14923 (GST_START_TEST), (fakesrc_suite):
14924 * check/gst-libs/gdp.c: (GST_START_TEST):
14925 * check/gst/gst.c: (GST_START_TEST):
14926 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14927 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14928 * check/gst/gstbus.c: (GST_START_TEST):
14929 * check/gst/gstcaps.c: (GST_START_TEST):
14930 * check/gst/gstdata.c: (GST_START_TEST):
14931 * check/gst/gstelement.c: (GST_START_TEST):
14932 * check/gst/gstghostpad.c: (GST_START_TEST):
14933 * check/gst/gstiterator.c: (GST_START_TEST):
14934 * check/gst/gstmessage.c: (GST_START_TEST):
14935 * check/gst/gstobject.c: (GST_START_TEST):
14936 * check/gst/gstpad.c: (GST_START_TEST):
14937 * check/gst/gststructure.c: (GST_START_TEST):
14938 * check/gst/gstsystemclock.c: (GST_START_TEST),
14939 (gst_systemclock_suite):
14940 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14941 * check/gst/gstvalue.c: (GST_START_TEST):
14942 * check/pipelines/cleanup.c: (GST_START_TEST):
14943 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14944 * check/states/sinks.c: (GST_START_TEST):
14945 * check/gstcheck.c: (gst_check_init):
14946 * check/gstcheck.h:
14947 add debugging category
14948 use GST_START_TEST now, so we add a debug line
14950 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14952 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14953 add test for state change message on a bin
14954 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14956 * gst/gstbin.c: (gst_bin_init):
14957 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14958 * gst/gstelement.c: (gst_element_post_message),
14959 (gst_element_set_state):
14960 * gst/gstelementfactory.c: (gst_element_factory_create):
14961 * gst/gstmessage.c: (gst_message_new):
14962 * gst/gstscheduler.c:
14963 various debugging additions and cleanups
14965 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14967 * check/Makefile.am:
14968 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14970 adding tests for elements
14971 * gst/gstelement.c: (gst_element_dispose):
14973 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14975 * gst/registries/gstlibxmlregistry.c: (load_feature):
14976 plug more leaks. A simple gst_init() now is leakfree, yay.
14978 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14980 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14981 (gst_xml_registry_load):
14982 plug another memleak
14984 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14987 use GST_SET_ERROR_CFLAGS
14988 * docs/faq/cvs.xml:
14989 change to ERROR_CFLAGS
14991 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14994 make GST_ERROR_CFLAGS overridable and re-enable Werror
14995 * docs/faq/cvs.xml:
14996 add a note about error CFLAGS
14997 * docs/gst/tmpl/gstfakesrc.sgml:
14998 * gst/elements/gstfakesrc.c:
14999 comment out some unused code
15000 * gst/gst.c: (split_and_iterate):
15001 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
15005 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
15007 * common/Makefile.am:
15008 * common/gtk-doc.mak:
15009 * docs/gst/Makefile.am:
15010 factor out gtk-doc.mak
15012 2005-07-07 Wim Taymans <wim@fluendo.com>
15014 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
15015 (gst_thread_scheduler_dispose):
15016 Unlock the STREAM_LOCK completely.
15018 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
15020 * check/Makefile.am:
15021 * check/elements/.cvsignore:
15022 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15023 (START_TEST), (fakesrc_suite), (main):
15024 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15025 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
15026 (gst_fakesrc_create), (gst_fakesrc_start):
15027 * gst/elements/gstfakesrc.h:
15028 adding a first element test
15030 2005-07-07 Andy Wingo <wingo@pobox.com>
15032 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
15035 2005-07-07 Wim Taymans <wim@fluendo.com>
15041 2005-07-07 Wim Taymans <wim@fluendo.com>
15043 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15044 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
15045 Allow subclasses to implement their own negotiation.
15047 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15049 * docs/design/part-gstbin.txt:
15050 * docs/design/part-gstpipeline.txt:
15051 Update design notes to reflect the movement of
15052 responsibility for bus handling from GstPipeline to
15055 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15058 Remove unnecessary queue2/3/4 examples.
15060 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15062 * examples/Makefile.am:
15063 * examples/helloworld/helloworld.c: (event_loop), (main):
15064 * examples/queue/queue.c: (event_loop), (main):
15065 * examples/queue2/queue2.c: (main):
15066 Update a couple of the examples to work again.
15068 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15069 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
15070 Spelling corrections and extra debug.
15072 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
15073 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
15074 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
15076 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15077 (gst_pipeline_change_state):
15078 * gst/gstpipeline.h:
15079 Move the bus handler for children to the GstBin, and create a
15080 separate bus for receiving messages from children to the one the
15081 bus sends 'upwards' on.
15083 2005-07-06 Wim Taymans <wim@fluendo.com>
15086 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15087 (gst_base_sink_handle_object), (gst_base_sink_loop),
15088 (gst_base_sink_change_state):
15089 * gst/base/gstbasesink.h:
15090 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15091 (gst_base_src_init), (gst_base_src_setcaps),
15092 (gst_base_src_getcaps), (gst_base_src_loop),
15093 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
15094 (gst_base_src_start), (gst_base_src_change_state):
15095 * gst/base/gstbasesrc.h:
15096 Make basesrc negotiate.
15097 Handle the case where preroll fails in basesink.
15100 2005-07-06 Wim Taymans <wim@fluendo.com>
15102 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
15103 Implement the fixate function.
15104 Clean up acceptcaps.
15106 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15108 * docs/pwg/building-filterfactory.xml:
15109 * docs/pwg/pwg.xml:
15110 Remove never-written filter-factory chapter; I'll add the various
15111 base classes to part 4 ("other element types") later on.
15113 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15115 * docs/pwg/advanced-negotiation.xml:
15116 * docs/pwg/building-boiler.xml:
15117 * docs/pwg/building-pads.xml:
15118 * docs/pwg/pwg.xml:
15119 * examples/pwg/Makefile.am:
15120 Add a chapter on caps negotiation, simplify the original code
15121 samples a bit w.r.t. caps negotiation, add link to the advanced
15122 section. Add a bunch of examples showing different use cases of
15123 different types of caps negotiation. Upstream renegotiation isn't
15124 fully documented yet since nobody knows how that works.
15126 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
15128 * check/gst/gstpad.c:
15129 * check/gstcheck.c:
15130 * gst/gstpad.c: (gst_pad_get_internal_links_default):
15131 if pad has no parent, return NULL as list of internal links
15133 2005-07-05 Andy Wingo <wingo@pobox.com>
15135 * gst/elements/gstfilesrc.c:
15136 * gst/elements/gstfakesrc.c:
15137 * gst/base/gstpushsrc.c:
15138 * gst/base/gstbasesrc.h:
15139 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
15141 2005-07-05 Stefan Kost <ensonic@users.sf.net>
15144 better report generation target (lcov needs a patch)
15146 2005-07-05 Andy Wingo <wingo@pobox.com>
15148 * gst/elements, testsuite: Null if we got it...
15150 2005-07-05 Wim Taymans <wim@fluendo.com>
15153 * libs/gst/dataprotocol/Makefile.am:
15154 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
15155 * libs/gst/dataprotocol/dataprotocol.h:
15156 * pkgconfig/Makefile.am:
15157 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
15158 * pkgconfig/gstreamer-dataprotocol.pc.in:
15159 Ported dataprotol to 0.9.
15160 Added pkgconfig files.
15162 2005-07-05 Andy Wingo <wingo@pobox.com>
15164 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
15165 Default to returning TRUE for the case when tranform_caps returns
15166 a fixed caps, like for identity or volume.
15168 * check/gst/gstbus.c (pound_bus_with_messages):
15169 * check/gst/gstmessage.c (START_TEST):
15170 * check/pipelines/simple_launch_lines.c (got_handoff): Application
15171 message API change.
15173 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
15174 logic weaks here: always run transform_caps, trying passthrough
15175 operation only if the original caps intersects with the transform.
15177 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
15178 source and sink caps.
15180 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
15181 Intersect the peer caps with the pad template before going into
15183 (gst_base_transform_transform_caps): More debugging.
15185 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
15188 2005-07-04 Edward Hervey <edward@fluendo.com>
15192 (gst_pad_add_*_probe): now returns the signal id for better wrapping
15195 2005-07-04 Andy Wingo <wingo@pobox.com>
15197 * check/gst/gstpad.c: Only set explicit caps on pads.
15199 2005-07-01 Andy Wingo <wingo@pobox.com>
15201 * tests/network-clock.scm: Commentary update.
15203 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
15204 Didn't really make sense, not implementable with basetransform,
15206 (gst_identity_transform): Unref inbuf via make_writable. Feeble
15207 attempt at implementing the sync property, needs an unlock method.
15209 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
15210 New func, by default returns the same caps (the identity
15212 (gst_base_transform_getcaps): Uses transform_caps to return
15213 something sensible.
15214 (gst_base_transform_setcaps): Complicated logic to get caps on
15215 both pads, even if they are different, and to call set_caps once
15216 for every time both pads get their caps set.
15217 (gst_base_transform_handle_buffer): Give the ref to the transform
15218 function. Allows in-place modification of the buffer.
15220 * gst/base/gstbasetransform.h (transform_caps): New class method.
15221 Given caps on one side, what can I do on the other.
15222 (set_caps): Take two caps, one for each side of the element.
15225 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
15226 caps in place. This is safe because we can check the mutability of
15227 the caps, and a good idea because fixate functions are just called
15228 as a matter of last resort. (Not actually implemented.)
15229 (gst_pad_set_caps): If the caps we're setting is actually the same
15230 as the existing pad caps, just update the pointer without calling
15231 setcaps. Assert that caps is either NULL or fixed, as per the
15234 * gst/gstghostpad.c: Update for fixate changes.
15236 2005-07-02 Andy Wingo <wingo@pobox.com>
15239 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
15240 two refcounts makes it immutable, which is enough. Doc more.
15242 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
15244 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
15245 Put the mini_object into GValue as a mini_object,
15246 not a gpointer, since that's how we declared
15249 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15251 * examples/pwg/Makefile.am:
15252 Fix buildbot again.
15254 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15256 * docs/pwg/building-testapp.xml:
15258 * examples/pwg/Makefile.am:
15261 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15264 * examples/Makefile.am:
15265 * examples/pwg/Makefile.am:
15266 * examples/pwg/extract.pl:
15267 Enable building the PWG examples.
15268 * docs/pwg/advanced-interfaces.xml:
15269 Add URI interface stub.
15270 * docs/pwg/advanced-types.xml:
15271 * docs/pwg/other-autoplugger.xml:
15272 * docs/pwg/appendix-porting.xml:
15273 * docs/pwg/pwg.xml:
15274 Add porting guide (mostly stubs), remove autoplugging (see ADM).
15275 * docs/pwg/building-boiler.xml:
15276 * docs/pwg/building-chainfn.xml:
15277 * docs/pwg/building-pads.xml:
15278 * docs/pwg/building-props.xml:
15279 * docs/pwg/building-state.xml:
15280 * docs/pwg/building-testapp.xml:
15281 Update the building-*.xml parts for 0.9 changes. All examples
15282 code blocks compile in examples/pwg/*.
15284 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15286 * docs/manual/advanced-autoplugging.xml:
15287 * docs/manual/appendix-checklist.xml:
15288 * docs/manual/appendix-integration.xml:
15289 * docs/manual/highlevel-components.xml:
15290 Fix playbin/decodebin examples, update docs a bit, mention bus
15291 instead of signals in various places, mention kmplayer and
15292 kaffeine since they have a working GStreamer backend in the KDE
15295 2005-06-30 Wim Taymans <wim@fluendo.com>
15298 * docs/design/draft-ghostpads.txt:
15299 * docs/design/draft-push-pull.txt:
15300 * docs/design/draft-query.txt:
15301 * docs/design/part-TODO.txt:
15302 * docs/design/part-query.txt:
15303 Added CHANGES-0.9 doc, updated status of other docs.
15308 2005-06-30 Wim Taymans <wim@fluendo.com>
15310 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15311 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15312 (gst_base_sink_change_state):
15313 * gst/base/gstbasesink.h:
15314 Some tweaks, only EOS and a buffer complete a preroll.
15316 2005-06-30 Andy Wingo <wingo@pobox.com>
15318 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
15319 activate_push down to the internal pad as well.
15321 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
15323 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15325 * gst/gsttaginterface.c:
15326 Some documentation fixes (#307394 and #307397).
15328 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
15330 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15332 * gst/gstvalue.c: (gst_value_intersect_list):
15333 Fix memleak (#309125).
15335 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15337 * docs/manual/advanced-dataaccess.xml:
15338 Fix fakesrc example to compile; doesn't work, bug somewhere...?
15339 * docs/manual/basics-pads.xml:
15340 Add reference for filtered caps to above chapter.
15342 2005-06-30 Wim Taymans <wim@fluendo.com>
15344 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
15345 (gst_bin_change_state):
15347 Lame attempt at making the state change function a bit
15350 2005-06-30 Wim Taymans <wim@fluendo.com>
15352 * docs/design/part-clocks.txt:
15353 * docs/design/part-element-sink.txt:
15354 * docs/design/part-events.txt:
15355 * docs/design/part-preroll.txt:
15356 * docs/design/part-states.txt:
15357 Some more tweeks and additions to the docs.
15359 2005-06-30 Wim Taymans <wim@fluendo.com>
15361 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15362 (default_have_data), (gst_pad_class_init), (gst_pad_init),
15363 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15364 (gst_pad_check_pull_range), (gst_pad_get_range),
15365 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
15367 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
15368 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15369 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15370 (gst_pad_remove_buffer_probe):
15371 Removed atomic operations, use existing LOCK.
15372 Move exception handling out of main code path.
15374 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15376 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15377 (silly_return_true_function), (gst_pad_class_init),
15378 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15379 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
15380 (gst_pad_send_event):
15381 Fix accumulator, add default value by using _emitv() instead
15382 of _emit() for signal emission.
15384 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15386 * docs/manual/advanced-dataaccess.xml:
15387 * examples/manual/Makefile.am:
15389 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
15392 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
15394 * gst/elements/gstfilesink.c: (gst_filesink_render):
15395 Simplify code so that we don't have to handle short
15396 writes and return GST_FLOW_ERROR if an error occured.
15398 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15400 * docs/gst/gstreamer-docs.sgml:
15401 Remove probes more.
15403 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15405 * docs/gst/gstreamer-sections.txt:
15406 * docs/gst/tmpl/gstpad.sgml:
15407 * docs/gst/tmpl/gstprobe.sgml:
15409 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15410 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
15411 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15412 (gst_pad_push_event), (gst_pad_send_event):
15414 * gst/gstutils.c: (gst_pad_add_data_probe),
15415 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15416 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15417 (gst_pad_remove_buffer_probe):
15419 Remove old probes, add new g-signal-based probes and some utility
15422 2005-06-29 Edward Hervey <edward@fluendo.com>
15424 * gst/gstelementfactory.c:
15427 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
15428 the definition to the header file.
15430 2005-06-29 Andy Wingo <wingo@pobox.com>
15432 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
15433 plugins from the source directory.
15435 2005-06-29 Wim Taymans <wim@fluendo.com>
15437 * docs/gst/tmpl/gstbuffer.sgml:
15438 * docs/gst/tmpl/gstclock.sgml:
15439 Some fixings for blantently wrong text.
15441 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
15443 * check/Makefile.am:
15444 * gst/gst.c: (add_path_func), (init_pre):
15445 * gst/gstregistry.c: (gst_registry_add_path):
15446 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
15447 only scan the GST_PLUGIN_PATH locations, and not add
15450 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
15452 * docs/gst/gstreamer-sections.txt:
15453 * docs/gst/tmpl/gstbasesrc.sgml:
15454 * gst/gstelement.c:
15455 * gst/gstelement.h:
15460 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15462 * docs/manual/advanced-autoplugging.xml:
15463 Fix autoplugging example.
15465 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15467 * docs/manual/advanced-autoplugging.xml:
15468 * docs/manual/mime-world.fig:
15469 Try to get autoplugging working, fix type detection. Fix text
15470 in hello-world image.
15472 2005-06-29 Wim Taymans <wim@fluendo.com>
15474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15475 (gst_base_sink_change_state):
15479 map SIGNAL and BROADCAST to the right function.
15482 Remove redundant braces.
15484 * gst/gstpad.c: (gst_pad_set_caps):
15485 Don't call setcaps function when reseting caps to NULL.
15487 * gst/gstsystemclock.c: (gst_system_clock_dispose),
15488 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
15489 (gst_system_clock_id_unschedule):
15490 Use BROADCAST as this is what we do.
15492 2005-06-29 Wim Taymans <wim@fluendo.com>
15494 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15495 We are actually prerolling before commiting the state
15498 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15500 * docs/manual/advanced-clocks.xml:
15501 * docs/manual/advanced-interfaces.xml:
15502 * docs/manual/advanced-metadata.xml:
15503 * docs/manual/advanced-position.xml:
15504 * docs/manual/advanced-schedulers.xml:
15505 * docs/manual/advanced-threads.xml:
15506 * docs/manual/appendix-porting.xml:
15507 * docs/manual/basics-bins.xml:
15508 * docs/manual/basics-bus.xml:
15509 * docs/manual/basics-elements.xml:
15510 * docs/manual/basics-helloworld.xml:
15511 * docs/manual/basics-pads.xml:
15512 * docs/manual/highlevel-components.xml:
15513 * docs/manual/manual.xml:
15514 * docs/manual/thread.fig:
15515 Update (until threads/scheduling) Application Development Manual;
15516 remove GstThread, add GstBus, add simple porting checklist, add
15517 documentation for tag writing, clocks, make all examples until this
15518 part compile and run.
15519 * examples/manual/Makefile.am:
15520 Update from changes to Application Development Manual; add bus
15521 example, remove thread example.
15523 2005-06-28 Wim Taymans <wim@fluendo.com>
15525 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15526 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15527 (gst_bus_source_dispatch):
15528 Add debugging messages.
15529 Make internal methods static.
15530 Handle the case where the bus is flushed in the handler.
15532 * gst/gstelement.c: (gst_element_get_bus):
15533 Fix refcount in _get_bus();
15535 * gst/gstpipeline.c: (gst_pipeline_change_state),
15536 (gst_pipeline_get_clock_func):
15537 Clock refcounting fixes.
15538 Handle the case where preroll timed out more gracefully.
15540 * gst/gstsystemclock.c: (gst_system_clock_dispose):
15541 Clean up the internal thread in dispose. This is needed
15542 for subclasses that actually get disposed.
15544 * gst/schedulers/threadscheduler.c:
15545 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15546 (gst_thread_scheduler_dispose):
15547 Free thread pool in dispose.
15549 2005-06-28 Andy Wingo <wingo@pobox.com>
15551 * tests/network-clock-utils.scm (debug, print-event): New utils.
15553 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15554 (*packet-loss*): Unified loss probability.
15555 (network-time): Report out-of-band events.
15557 * tests/plot-data: Add support for out-of-band events. Hack it
15558 into this script instead of passing it down the pipe; should fix
15561 2005-06-28 Wim Taymans <wim@fluendo.com>
15563 * docs/gst/gstreamer.types:
15564 * docs/gst/tmpl/gstbasesrc.sgml:
15565 * docs/gst/tmpl/gstpad.sgml:
15568 2005-06-28 Wim Taymans <wim@fluendo.com>
15570 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15571 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15572 (gst_proxy_pad_do_fixatecaps):
15573 Correctly proxy the check_pull_range function.
15575 2005-06-28 Andy Wingo <wingo@pobox.com>
15577 * tests/network-clock.scm: Removed need for slib.
15579 2005-06-28 Wim Taymans <wim@fluendo.com>
15581 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15582 (gst_basesink_preroll_queue_flush):
15583 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15584 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15585 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15586 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15587 (gst_proxy_pad_set_property):
15590 * gst/gstqueue.c: (gst_queue_init):
15591 The deprecated pad loop function is removed now.
15593 2005-06-28 Andy Wingo <wingo@pobox.com>
15595 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15596 New parameters, simulate network packet loss.
15598 * tests/network-clock-utils.scm: Initialize the RNG.
15600 2005-06-28 Wim Taymans <wim@fluendo.com>
15602 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15603 (gst_basesink_event), (gst_basesink_deactivate):
15604 Flushing the preroll queue always needs to unlock the waiters.
15606 2005-06-28 Edward Hervey <edward@fluendo.com>
15608 * gst/gstpipeline.c: (gst_pipeline_send_event):
15609 Wheen a seek was successful on a pipeline, set the stream_time to the
15610 seek offset in order to have a synchronized stream_time.
15612 2005-06-28 Wim Taymans <wim@fluendo.com>
15614 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15615 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15616 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15617 (gst_proxy_pad_do_fixatecaps):
15618 Call wrapper function instead of just calling the function
15619 pointers. This takes care of any locking and whatmore.
15621 2005-06-28 Wim Taymans <wim@fluendo.com>
15623 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15624 (gst_pad_pull_range):
15626 CONNECTED -> LINKED.
15628 2005-06-28 Andy Wingo <wingo@pobox.com>
15630 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15631 source-munging commit!!!
15633 * gst/gstobject.c (gst_object_unref, gst_object_ref)
15634 (gst_object_sink): Take gpointer arguments, not GstObject --
15635 avoids casts. Like GLib.
15637 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15640 2005-06-27 Andy Wingo <wingo@pobox.com>
15642 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15645 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15646 returns a sorted copy of the trace list.
15647 (gst_alloc_trace_print_live): New API, only prints traces with
15648 live objects. Sort the list.
15649 (gst_alloc_trace_print_all): Sort the list.
15650 (gst_alloc_trace_print): Align columns.
15652 * gst/elements/gstttypefindelement.c:
15653 * gst/elements/gsttee.c:
15654 * gst/base/gstbasesrc.c:
15655 * gst/base/gstbasesink.c:
15656 * gst/base/gstbasetransform.c:
15657 * gst/gstqueue.c: Adapt for pad activation changes.
15659 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15661 (gst_pipeline_dispose): Drop ref on sched.
15663 * gst/gstpad.c (gst_pad_init): Set the default activate func.
15664 (gst_pad_activate_default): Push mode by default.
15665 (pre_activate_switch, post_activate_switch): New stubs, things to
15666 do before and after switching activation modes on pads.
15667 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15668 the pad's activate function to choose which mode to activate.
15669 Shortcut on deactivation and call the right function directly.
15670 (gst_pad_activate_pull): New API, (de)activates a pad in pull
15672 (gst_pad_activate_push): New API, same for push mode.
15673 (gst_pad_set_activate_function)
15674 (gst_pad_set_activatepull_function)
15675 (gst_pad_set_activatepush_function): Setters for new API.
15677 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15678 Trace all miniobjects.
15679 (gst_mini_object_make_writable): Unref the arg if we copy, like
15680 gst_caps_make_writable.
15682 * gst/gstmessage.c (_gst_message_initialize): No trace init.
15684 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
15685 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15686 Adapt for new pad API.
15688 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15690 * gst/gstelement.h:
15691 * gst/gstelement.c (gst_element_iterate_src_pads)
15692 (gst_element_iterate_sink_pads): New API functions.
15694 * gst/gstelement.c (iterator_fold_with_resync): New utility,
15695 should fold into gstiterator.c in some form.
15696 (gst_element_pads_activate): Simplified via use of fold and
15697 delegation of decisions to gstpad->activate.
15699 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15702 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15703 class once in init, like gstmessage. Didn't run into this issue
15704 but it seems correct. Don't initialize a trace, gstminiobject does
15707 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15708 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15710 (assert_live_count): New util function, uses alloc traces to check
15713 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15714 To be modified when unlink drops the internal pad.
15716 2005-06-27 Wim Taymans <wim@fluendo.com>
15718 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15719 (gst_bin_change_state):
15720 Cleanup the get_state() function a little, make sure it
15721 iterates the same set of elements.
15722 Added stub iterate_state_order().
15724 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
15726 * docs/gst/gstreamer-docs.sgml:
15727 * docs/gst/gstreamer-sections.txt:
15728 * docs/gst/gstreamer.types:
15729 * docs/gst/tmpl/gstbasesink.sgml:
15730 * docs/gst/tmpl/gstbasesrc.sgml:
15731 * docs/gst/tmpl/gstbasetransform.sgml:
15732 * docs/gst/tmpl/gstelement.sgml:
15733 * docs/gst/tmpl/gstiterator.sgml:
15734 * gst/base/gstbasesrc.c:
15735 * gst/base/gstbasesrc.h:
15736 * gst/base/gstbasetransform.h:
15737 * gst/gstelement.c:
15738 * gst/gstiterator.h:
15739 adding basetransform and iterator docs
15741 2005-06-27 Andy Wingo <wingo@pobox.com>
15743 * docs/design/part-activation.txt: Notes on how activation should
15744 work -- not quite implemented yet.
15746 2005-06-25 Wim Taymans <wim@fluendo.com>
15748 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15749 At least get the chain function correct, needs more
15752 2005-06-25 Wim Taymans <wim@fluendo.com>
15754 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15755 (gst_basesink_handle_object), (gst_basesink_event),
15756 (gst_basesink_do_sync), (gst_basesink_handle_event),
15757 (gst_basesink_change_state):
15759 Right, two problems here: ghostpads don't take locks and
15760 glib _rec_mutex_lock_full() with depth==0 still locks.
15761 Catch illegal locking and g_warn them.
15763 2005-06-25 Wim Taymans <wim@fluendo.com>
15765 * check/states/sinks.c: (START_TEST), (gst_object_suite):
15766 Have to check for completion now...
15768 2005-06-25 Wim Taymans <wim@fluendo.com>
15770 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15771 (gst_basesink_handle_object), (gst_basesink_event),
15772 (gst_basesink_do_sync), (gst_basesink_handle_event),
15773 (gst_basesink_change_state):
15775 Unlock STREAM_LOCK whatever the recursion was.
15777 2005-06-25 Wim Taymans <wim@fluendo.com>
15779 * gst/base/gstbasesink.c: (gst_basesink_set_property),
15780 (gst_basesink_preroll_queue_empty),
15781 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15782 (gst_basesink_event), (gst_basesink_do_sync),
15783 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15784 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15785 (gst_basesink_change_state):
15786 Reworked the base sink, handle event and buffer serialisation
15787 correctly and removed possible deadlock.
15788 Handle EOS correctly.
15790 2005-06-25 Wim Taymans <wim@fluendo.com>
15792 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15793 (gst_pipeline_change_state):
15794 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15795 Allow elements to post EOS in the state change function.
15796 Fix up -launch, make it exit the poll loop when the
15797 pipeline actually changed state.
15798 Fix up warning parsing in -launch.
15800 2005-06-25 Wim Taymans <wim@fluendo.com>
15802 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15803 (gst_tee_sink_activate):
15804 Core takes STREAM_LOCK for us now.
15806 2005-06-25 Wim Taymans <wim@fluendo.com>
15808 * gst/gstelement.c: (gst_element_get_state_func),
15809 (gst_element_set_state):
15810 * gst/gstelement.h:
15811 * gst/gstmessage.c: (gst_message_parse_error),
15812 (gst_message_parse_warning):
15813 Keep track of current target state while performing a state
15814 change so that subclasses can do something interesting.
15815 Fix parsing of warning/error messages when GError is NULL.
15817 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
15819 * docs/gst/Makefile.am:
15820 * docs/gst/gstreamer-docs.sgml:
15821 * docs/gst/gstreamer-sections.txt:
15822 * docs/gst/gstreamer.types:
15823 * docs/gst/tmpl/gstbasesink.sgml:
15824 * docs/gst/tmpl/gstbasesrc.sgml:
15825 * docs/gst/tmpl/gstbin.sgml:
15826 * docs/gst/tmpl/gstcompat.sgml:
15827 * docs/gst/tmpl/gstfakesink.sgml:
15828 * docs/gst/tmpl/gstfakesrc.sgml:
15829 * docs/gst/tmpl/gstfilesink.sgml:
15830 * docs/gst/tmpl/gstfilesrc.sgml:
15831 * docs/gst/tmpl/gstindex.sgml:
15832 * docs/manual/appendix-quotes.xml:
15833 * gst/base/gstbasesrc.h:
15834 * gst/elements/gstfakesrc.h:
15835 * gst/gstmessage.h:
15836 start pulling in base classes and elements in our docs
15838 2005-06-24 Stefan Kost <ensonic@users.sf.net>
15840 * docs/gst/Makefile.am:
15841 * docs/libs/Makefile.am:
15842 fixed make distcheck with gtk-doc 1.3
15844 2005-06-23 Wim Taymans <wim@fluendo.com>
15846 * gst/gstelement.c: (gst_element_get_state_func),
15847 (gst_element_set_state), (gst_element_change_state):
15848 When the state did not change, also report NO_PREROLL
15851 2005-06-23 Wim Taymans <wim@fluendo.com>
15853 * gst/gstpad.c: (gst_pad_event_default):
15854 * gst/gstqueue.c: (gst_queue_loop):
15855 No unsafe task pausing please.
15857 2005-06-23 Wim Taymans <wim@fluendo.com>
15859 * gst/schedulers/threadscheduler.c:
15860 (gst_thread_scheduler_task_start),
15861 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15862 Ref the task before pushing it on the threadpool. This
15863 makes sure that we have a ref when the threadfunction is
15866 2005-06-23 Andy Wingo <wingo@pobox.com>
15868 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15869 offset is greater than the file's size.
15871 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
15872 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15873 * gst/gstobject.c (gst_object_class_init): Make the class lock
15874 recursive. Wim won't let me drop deep_notify. Decodebin works
15875 again, whoopdy doo.
15877 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15878 internal pad, and hacks accordingly. Doesn't do it on the target
15879 pad because we change its caps. Probably catches all cases of
15881 (gst_ghost_pad_set_property): Connect to notify::caps as
15884 * tests/network-clock.scm (plot-simulation): Pipe data to the
15885 elite python skript.
15887 * tests/network-clock-utils.scm (define-parameter): New macro,
15888 defines a parameter that can be set via the command line.
15889 (set-parameter!, parse-parameter-arguments): Command line args
15892 * tests/plot-data: Simple matplotlib-based plotter, takes input on
15895 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
15897 * gst/elements/gsttypefindelement.c:
15898 (gst_type_find_element_handle_event):
15899 Don't restart typefinding on a discont.
15900 * gst/gstelement.c: (gst_element_set_state):
15901 Debug spelling fix.
15902 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15903 Allow changing mode of an active pad.
15904 Debug output fixes.
15905 * gst/registries/gstlibxmlregistry.c: (load_feature):
15906 Don't cast a static pad template to a normal pad template.
15908 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
15910 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15911 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15912 remove gst_strtoll completely, since it didn't actually do
15913 anything more than what g_ascii_strtoull already does.
15914 check for range errors when deserializing
15915 do a cast for the unsigned cases; but further fixing needs
15916 a decision on what the interpretation of "(int)" and
15917 deserialization should be for values that fall outside the
15918 type's boundaries (ie, refuse, or interpret as casting)
15920 2005-06-23 Wim Taymans <wim@fluendo.com>
15922 * check/Makefile.am:
15923 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15924 * docs/design/part-live-source.txt:
15925 * docs/design/part-states.txt:
15926 * gst/base/gstbasesrc.c: (gst_basesrc_init),
15927 (gst_basesrc_set_live), (gst_basesrc_is_live),
15928 (gst_basesrc_get_range), (gst_basesrc_activate),
15929 (gst_basesrc_change_state):
15930 * gst/base/gstbasesrc.h:
15931 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15932 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15933 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15934 * gst/gstelement.c: (gst_element_get_state_func),
15935 (gst_element_set_state):
15936 * gst/gstelement.h:
15938 * tools/gst-launch.c: (event_loop), (main):
15939 Added support for live sources and other elements that
15941 Updated design docs, added live-source design doc.
15942 Implemented live source functionality in basesrc
15943 Fix error condition in _bin_get_state()
15944 Implement live source handling in -launch.
15945 Added check for live sources.
15946 Fixed case in GstBin where elements were changed state
15950 2005-06-23 Andy Wingo <wingo@pobox.com>
15952 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15953 borken refcounting.
15955 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15956 gst_caps_replace takes care of this for us.
15958 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15959 gst_pad_set_caps on the target, not just its setcaps() function.
15961 * tests/network-clock.scm:
15962 * tests/network-clock-utils.scm: A network clock simulator.
15963 Something of an algorithmic testbed before doing something in C.
15965 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15967 * check/Makefile.am:
15968 * check/gst/capslist.h:
15969 copy over from 0.8, and add two with bitmasks specified with
15971 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15972 add test to parse everything from capslist.h
15973 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15975 add test for structure deserialization
15976 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15977 add tests for deserialization of strings to int types
15978 * gst/gststructure.c: (gst_structure_nth_field_name):
15979 * gst/gststructure.h:
15980 add a way to get the name of a field referenced by index
15981 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15982 instead of checking if the resulting long long lies between
15983 min and max, we check if the long long would fit into
15984 a number of bytes for the final type.
15985 This fixes cases where a string represents 2^32 - 1, which
15986 when cast to int would be the (valid) -1, but is bigger than
15989 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15991 * gst/parse/grammar.y:
15992 add a log line for type deserialization
15994 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15996 * check/gst/gstvalue.c: (START_TEST):
15997 * gst/gstvalue.c: (gst_value_deserialize):
15998 return long long, not int, so gint64 deserialization actually
15999 works. Is there any flag that makes the compiler check this ?
16002 2005-06-22 Wim Taymans <wim@fluendo.com>
16005 Added convenience macros for setting buffers in GValue.
16007 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
16009 * check/gst/.cvsignore:
16010 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16011 add a test deserializing int64, and comment part out because
16014 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
16016 * check/Makefile.am:
16017 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
16018 * testsuite/Makefile.am:
16019 * testsuite/caps/Makefile.am:
16020 * testsuite/caps/value_serialize.c:
16021 * testsuite/test_gst_init.c:
16022 move a value_serialize test over
16024 2005-06-20 Wim Taymans <wim@fluendo.com>
16029 * gst/gstvalue.c: (gst_value_compare_buffer),
16030 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
16031 (gst_value_compare_flags), (gst_value_serialize_flags),
16032 (gst_value_deserialize_flags), (_gst_value_initialize):
16033 Fix serialisation of buffers, they are not boxed types anymore
16035 2005-06-20 Wim Taymans <wim@fluendo.com>
16037 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16038 Testcase to show error in buffer-on-caps serialisation.
16040 2005-06-20 Andy Wingo <wingo@pobox.com>
16042 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
16043 will be adding to later.
16045 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
16046 if its socks fill with rocks.
16047 (gst_system_clock_obtain): Set the name on object construction.
16048 Avoid double-checked locking.
16050 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
16052 * gst/gsturi.c: (gst_element_make_from_uri):
16053 Fix potential endless loop.
16055 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16057 * check/Makefile.am:
16059 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
16061 move over from testsuite dir and clean up
16064 * testsuite/Makefile.am:
16065 * testsuite/tags/.cvsignore:
16066 * testsuite/tags/Makefile.am:
16067 * testsuite/tags/merge.c:
16068 remove testsuite/tags
16070 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16072 * docs/gst/gstreamer-sections.txt:
16073 * docs/gst/tmpl/gstenumtypes.sgml:
16074 * win32/gstenumtypes.c:
16075 clean up documentation build a little
16077 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16079 * check/gstcheck.h:
16080 add macros for checking refcounts on objects and caps
16081 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
16082 add some more unit tests
16083 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16084 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
16085 fix leaked refcounts (I hope :)) so unittest works
16089 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16091 * configure.ac: back to HEAD
16093 === release 0.9.1 ===
16095 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
16101 2005-06-17 Andy Wingo <wingo@pobox.com>
16103 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
16104 assert; it's always possible that the pad gets deactivated in
16105 between the checks in gstpad.c and the implementation. Rely on
16106 finish_preroll() to return a FLUSHING or similar instead of on the
16109 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
16110 clock and post an EOS message if we come out of finish_preroll in
16113 2005-06-16 David Schleef <ds@schleef.org>
16115 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16116 (gst_capsfilter_set_property): Allow NULL as possible value
16117 for filter_caps property, indicating GST_CAPS_ANY.
16119 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
16121 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
16123 * gst/schedulers/Makefile.am:
16125 * gstreamer.spec.in:
16128 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
16130 * gstreamer.spec.in:
16133 2005-06-08 Andy Wingo <wingo@pobox.com>
16135 * gst/gstutils.c: RPAD fixes all around.
16136 (gst_element_link_pads): Refcounting fixes.
16138 * tools/gst-inspect.c:
16139 * tools/gst-xmlinspect.c:
16141 * gst/base/gsttypefindhelper.c:
16142 * gst/base/gstbasesink.c:
16143 * gst/gstqueue.c: RPAD fixes.
16145 * gst/gstghostpad.h:
16146 * gst/gstghostpad.c: New ghost pad implementation as full proxy
16147 pads. The tricky thing is they provide both source and sink
16148 interfaces, since they proxy the internal pad for the external
16149 pad, and vice versa. Implement with lower-level ProxyPad objects,
16150 with the interior proxy pad as a child of the exterior ghost pad.
16151 Should write a doc on this.
16153 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
16154 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
16157 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
16158 pads are real pads. No ghost pads in this file. Not documenting
16159 the myriad s/RPAD/PAD/ and REALIZE fixes.
16160 (gst_pad_class_init): Add properties for "direction" and
16161 "template". Both are construct-only, so they can't change during
16162 the life of the pad. Fixes properly deriving from GstPad.
16163 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
16164 derived objects, just set properties when creating the objects via
16166 (gst_pad_get_parent): Implement as a function, return NULL if the
16167 parent is not an element.
16168 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
16169 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
16171 * gst/gstobject.c (gst_object_class_init): Make name a construct
16172 property. Don't set it in the object init.
16174 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
16175 with UNKNOWN direction.
16176 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
16177 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
16178 (gst_element_remove_pad): Remove ghost-pad special cases.
16179 (gst_element_pads_activate): Remove rpad cruft.
16181 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
16182 catch the pad's-parent-not-an-element case.
16184 * gst/gst.h: Include gstghostpad.h.
16186 * gst/gst.c (init_post): No more real, ghost pads.
16188 * gst/Makefile.am: Add gstghostpad.[ch].
16190 * check/Makefile.am:
16191 * check/gst/gstbin.c:
16192 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
16193 into a bin creates ghost pads, and that the refcounts are right.
16194 Partly moved from gstbin.c.
16196 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16198 * check/gst-libs/.cvsignore:
16199 * check/gst/.cvsignore:
16200 * check/pipelines/.cvsignore:
16202 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
16203 (START_TEST), (cleanup_suite), (main):
16204 add some tests related to cleanup after running pipelines
16206 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16208 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
16209 add a testsuite for GstBuffer
16211 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16213 * gst/gstminiobject.h:
16214 add defines for accessing the refcount
16216 2005-06-03 Stefan Kost <ensonic@users.sf.net>
16218 * Makefile.am: added support for html unit test coverage reports
16220 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
16222 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
16223 Free existing caps if the capsfilter changes. Add a FIXME about
16224 setting those caps on the pads.
16226 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
16227 Before adding a ghost pad to a parent bin, check that there isn't
16228 already one for the element on the bin. Prevents infinite recursion
16229 when using decodebin in parse pipelines. Andy says he'll rewrite the
16230 way this works anyway, so ignore the hack.
16232 2005-06-02 Andy Wingo <wingo@pobox.com>
16234 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
16235 file size, pass it on to the type find helper.
16237 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
16238 segment_start and segment_end properly according to the seek
16239 method. Segment_end is still a bit flaky because offset can be
16240 negative for CUR and END cases, but it takes -1 as an "unset"
16243 2005-06-02 Wim Taymans <wim@fluendo.com>
16245 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
16246 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
16247 (gst_basesink_activate):
16248 * gst/base/gstbasesink.h:
16249 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16250 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16251 (gst_pad_query), (gst_pad_start_task):
16253 * gst/gstqueue.c: (gst_queue_bufferalloc),
16254 (gst_queue_handle_sink_event), (gst_queue_chain):
16255 Bufferalloc: return GstFlowReturn to more accuratly report
16256 why allocation failed.
16258 2005-06-02 Wim Taymans <wim@fluendo.com>
16260 * gst/gstpipeline.c: (gst_pipeline_send_event):
16261 Take snapshot of state without blocking.
16263 2005-06-02 Wim Taymans <wim@fluendo.com>
16265 * docs/design/part-TODO.txt:
16266 * docs/design/part-caps.txt:
16267 * docs/design/part-clocks.txt:
16268 * docs/design/part-negotiation.txt:
16269 * docs/design/part-preroll.txt:
16272 2005-05-30 Wim Taymans <wim@fluendo.com>
16274 * gst/elements/gstidentity.c: (gst_identity_event),
16275 (gst_identity_transform), (gst_identity_get_property):
16276 Protect last_message property as it is accessed from
16279 2005-05-30 Wim Taymans <wim@fluendo.com>
16281 * gst/gstelement.c: (gst_element_init),
16282 (gst_element_pads_activate), (gst_element_change_state):
16283 Slicker pad activation code.
16285 2005-05-30 Wim Taymans <wim@fluendo.com>
16288 * gst/gstelement.h:
16289 * gst/gstelementfactory.h:
16291 Move elementfactory methods to separate .h file.
16293 2005-05-30 Wim Taymans <wim@fluendo.com>
16295 * docs/design/part-overview.txt:
16296 * gst/gstsystemclock.h:
16297 Small typo fixes, doc updates.
16299 2005-05-30 Wim Taymans <wim@fluendo.com>
16301 * gst/gst.c: (gst_init_get_popt_table), (init_post),
16302 (init_popt_callback):
16303 Remove cpu-opt flag.
16305 2005-05-30 Wim Taymans <wim@fluendo.com>
16307 * gst/gstbuffer.c: (gst_subbuffer_finalize),
16308 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
16310 Avoid typechecking in places where not needed.
16311 Added accessor for malloc_data.
16313 2005-05-30 Wim Taymans <wim@fluendo.com>
16315 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
16316 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
16317 (gst_pad_configure_sink), (gst_pad_configure_src),
16318 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
16319 (gst_pad_start_task):
16320 Propagate errors from _set_caps() in configure_src/sink
16321 functions instead of returning TRUE.
16322 FLUSH events can travel up and downstream
16325 2005-05-30 Wim Taymans <wim@fluendo.com>
16327 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16328 (gst_basesink_activate):
16329 Handle EOS in preroll.
16331 2005-05-30 Wim Taymans <wim@fluendo.com>
16333 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16334 (gst_queue_loop), (gst_queue_handle_src_event):
16335 Remove old pieces of code
16336 Flushing the queue in an upstream event is a very bad idea.
16338 2005-05-26 Andy Wingo <wingo@pobox.com>
16340 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
16341 gst_value_set_mini_object so as to add a ref on the object (which
16342 will be removed when the value is unset).
16344 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
16345 arg type in ::handoff.
16347 * gst/gstelement.c (gst_element_change_state): Also deactivate
16348 pads in READY->NULL, just in case the element didn't make it to
16349 PAUSED. Wingo tested, Wim approved.
16351 2005-05-26 Wim Taymans <wim@fluendo.com>
16353 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16354 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16355 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
16356 A flushing pad cannot be used to alloc_buffer from.
16358 2005-05-26 Wim Taymans <wim@fluendo.com>
16360 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
16361 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
16362 (gst_bus_source_dispatch), (gst_bus_source_finalize),
16363 (gst_bus_create_watch), (gst_bus_add_watch_full):
16365 Implement a real GSource and use g_main_context_wakeup() to
16366 signal new messages instead of the socketpair.
16368 2005-05-25 Wim Taymans <wim@fluendo.com>
16370 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
16371 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
16372 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16373 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16374 (gst_pad_send_event), (gst_pad_start_task):
16375 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
16376 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
16377 (gst_queue_sink_activate), (gst_queue_src_activate),
16378 (gst_queue_change_state):
16380 Fix state changes for non sinks. We now change sinks, then elements
16381 with unconnected srcpads, then the rest.
16382 More efficient queue unlocking in flush and state changes.
16383 Set the pad activate mode even if it does not have an activate
16386 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16388 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
16389 Don't go in pull mode for non-seekable sources.
16390 * gst/elements/gsttypefindelement.h:
16391 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16392 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
16393 (free_entry), (stop_typefinding),
16394 (gst_type_find_element_handle_event), (find_peek),
16395 (gst_type_find_element_chain), (do_pull_typefind),
16396 (gst_type_find_element_change_state):
16397 Allow typefinding (w/o seeking) in push-mode, simplified version
16398 of what was in 0.8.
16399 * gst/gstutils.c: (gst_buffer_join):
16401 gst_buffer_join() from 0.8.
16403 2005-05-25 Wim Taymans <wim@fluendo.com>
16405 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16406 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16407 (gst_pad_send_event), (gst_pad_start_task):
16408 Disable attempt at mode switching until it is figured out.
16410 2005-05-25 Wim Taymans <wim@fluendo.com>
16412 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
16413 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16414 (gst_basesink_finish_preroll), (gst_basesink_chain),
16415 (gst_basesink_loop), (gst_basesink_activate),
16416 (gst_basesink_change_state):
16417 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
16418 (gst_basesrc_get_range), (gst_basesrc_loop),
16419 (gst_basesrc_activate):
16420 * gst/elements/gsttee.c: (gst_tee_sink_activate):
16421 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
16422 (gst_real_pad_init), (gst_real_pad_set_property),
16423 (gst_real_pad_get_property), (gst_pad_set_active),
16424 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
16425 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
16426 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
16427 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
16428 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16429 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
16430 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
16431 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16432 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
16433 (gst_pad_stop_task):
16435 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16436 (gst_queue_loop), (gst_queue_src_activate):
16437 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
16438 (gst_task_get_state):
16440 * gst/schedulers/threadscheduler.c:
16441 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
16442 Implement gst_pad_pause/start/stop_task(), take STREAM lock
16444 Remove ACTIVE pad flag, use FLUSHING everywhere
16445 Added _pad_chain(), _pad_get_range() to call chain/getrange
16447 Add locks around IS_FLUSHING when reading.
16448 Take STREAM lock in chain(), get_range() functions so plugins
16449 don't need to take it anymore.
16453 2005-05-25 Wim Taymans <wim@fluendo.com>
16455 * tools/gst-launch.c: (event_loop):
16456 Unref message after using its contents instead of
16459 2005-05-24 Wim Taymans <wim@fluendo.com>
16461 * docs/design/draft-ghostpads.txt:
16462 * docs/design/draft-push-pull.txt:
16463 * docs/design/draft-query.txt:
16464 * docs/design/part-overview.txt:
16465 Docs updates, added general overview doc.
16467 2005-05-21 David Schleef <ds@schleef.org>
16469 * docs/gst/tmpl/old/GstBin.sgml:
16470 * docs/gst/tmpl/old/GstBuffer.sgml:
16471 * docs/gst/tmpl/old/GstCaps.sgml:
16472 * docs/gst/tmpl/old/GstClock.sgml:
16473 * docs/gst/tmpl/old/GstCompat.sgml:
16474 * docs/gst/tmpl/old/GstData.sgml:
16475 * docs/gst/tmpl/old/GstElement.sgml:
16476 * docs/gst/tmpl/old/GstEvent.sgml:
16477 * docs/gst/tmpl/old/GstIndex.sgml:
16478 * docs/gst/tmpl/old/GstStructure.sgml:
16479 * docs/gst/tmpl/old/GstTag.sgml:
16480 * docs/gst/tmpl/old/cothreads.sgml:
16481 * docs/gst/tmpl/old/cothreads_compat.sgml:
16482 * docs/gst/tmpl/old/gettext.sgml:
16483 * docs/gst/tmpl/old/gobject2gtk.sgml:
16484 * docs/gst/tmpl/old/grammar.tab.sgml:
16485 * docs/gst/tmpl/old/gst-i18n-app.sgml:
16486 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
16487 * docs/gst/tmpl/old/gst_private.sgml:
16488 * docs/gst/tmpl/old/gstaggregator.sgml:
16489 * docs/gst/tmpl/old/gstarch.sgml:
16490 * docs/gst/tmpl/old/gstatomic_impl.sgml:
16491 * docs/gst/tmpl/old/gstbufferstore.sgml:
16492 * docs/gst/tmpl/old/gstdata_private.sgml:
16493 * docs/gst/tmpl/old/gstdisksink.sgml:
16494 * docs/gst/tmpl/old/gstdisksrc.sgml:
16495 * docs/gst/tmpl/old/gstelementfactory.sgml:
16496 * docs/gst/tmpl/old/gstextratypes.sgml:
16497 * docs/gst/tmpl/old/gstfakesink.sgml:
16498 * docs/gst/tmpl/old/gstfakesrc.sgml:
16499 * docs/gst/tmpl/old/gstfdsink.sgml:
16500 * docs/gst/tmpl/old/gstfdsrc.sgml:
16501 * docs/gst/tmpl/old/gstfilesink.sgml:
16502 * docs/gst/tmpl/old/gstfilesrc.sgml:
16503 * docs/gst/tmpl/old/gsthttpsrc.sgml:
16504 * docs/gst/tmpl/old/gstidentity.sgml:
16505 * docs/gst/tmpl/old/gstindexfactory.sgml:
16506 * docs/gst/tmpl/old/gstmarshal.sgml:
16507 * docs/gst/tmpl/old/gstmd5sink.sgml:
16508 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
16509 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
16510 * docs/gst/tmpl/old/gstpadtemplate.sgml:
16511 * docs/gst/tmpl/old/gstpipefilter.sgml:
16512 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
16513 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
16514 * docs/gst/tmpl/old/gstshaper.sgml:
16515 * docs/gst/tmpl/old/gstspider.sgml:
16516 * docs/gst/tmpl/old/gstspideridentity.sgml:
16517 * docs/gst/tmpl/old/gststatistics.sgml:
16518 * docs/gst/tmpl/old/gsttee.sgml:
16519 * docs/gst/tmpl/old/gsttimecache.sgml:
16520 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16521 * docs/gst/tmpl/old/gstxmlregistry.sgml:
16522 * docs/gst/tmpl/old/gthread-cothreads.sgml:
16523 * docs/gst/tmpl/old/types.sgml:
16524 I didn't intend to add these or check them in.
16526 2005-05-19 David Schleef <ds@schleef.org>
16528 * configure.ac: Use -no-common everywhere. In a sane world, it
16529 would be the default in libtool, because without it, you can't
16530 build DLLs on Windows.
16531 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16532 * docs/gst/gstreamer-sections.txt:
16533 * docs/gst/tmpl/gstcpu.sgml:
16534 * docs/gst/tmpl/gstdata.sgml:
16535 * docs/gst/tmpl/gstthread.sgml:
16537 2005-05-19 David Schleef <ds@schleef.org>
16539 * gst/gstminiobject.c: (gst_value_set_mini_object),
16540 (gst_value_take_mini_object), (gst_value_get_mini_object):
16541 * gst/gstminiobject.h: Add GValue set/get functions.
16543 2005-05-19 Wim Taymans <wim@fluendo.com>
16545 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16546 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16547 (gst_subbuffer_init), (gst_buffer_is_span_fast):
16549 * gst/gstbus.c: (gst_bus_post):
16550 * gst/gstelement.c: (gst_element_get_random_pad):
16551 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16552 Make subbufer unref the parent in finalize.
16553 some more debugging info.
16556 2005-05-19 Wim Taymans <wim@fluendo.com>
16558 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16559 (gst_basesink_init), (gst_basesink_finalize),
16560 (gst_basesink_activate), (gst_basesink_change_state):
16561 Don't free preroll queue too early.
16563 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16567 Hi, I'm outdated. Please shoot me.
16569 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16571 * gst/gstpipeline.c: (gst_pipeline_send_event):
16572 Do not access variables after they have been deleted.
16574 2005-05-19 Wim Taymans <wim@fluendo.com>
16576 * tools/gst-inspect.c: (print_plugin_features):
16577 A plugin feature does unfortunatly not use the
16580 2005-05-18 Wim Taymans <wim@fluendo.com>
16582 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16583 Port _span() functions to new subbuffers.
16585 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16587 * gst/gstbin.c: (gst_bin_add_func):
16588 Fix clock settery in bins when adding kids after the clock has
16591 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16593 * gst/elements/gstidentity.c: (gst_identity_class_init):
16594 Workaround until signals support GstMiniObject.
16596 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
16599 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16601 2005-05-18 Wim Taymans <wim@fluendo.com>
16603 * gst/base/Makefile.am:
16604 * gst/base/gstadapter.c: (gst_adapter_base_init),
16605 (gst_adapter_class_init), (gst_adapter_init),
16606 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16607 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16608 (gst_adapter_flush), (gst_adapter_available),
16609 (gst_adapter_available_fast):
16610 * gst/base/gstadapter.h:
16611 Ported and added adapter to the base classes.
16613 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16616 * gst/gstmessage.c:
16617 Make sure the class is reffed/unreffed once before threads can be
16618 used. Fixes #304551.
16620 2005-05-17 Wim Taymans <wim@fluendo.com>
16622 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16623 (gst_basesink_chain_unlocked), (gst_basesink_activate):
16624 * gst/gstminiobject.c: (gst_mini_object_get_type),
16625 (gst_mini_object_free):
16626 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16627 (gst_pad_push), (gst_pad_push_event):
16628 * gst/gstqueue.c: (gst_queue_change_state):
16629 Don't queue buffers in basesink when we are flushing.
16630 Unref buffer when flushing in basesink.
16631 Flush queue when going to READY
16632 Unref buffer when _push() returns an error.
16633 Don't free MiniObject instance when refcount is incremented
16634 in _finalize() so that we can recover objects.
16636 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
16638 * docs/manual/advanced-schedulers.xml:
16639 * docs/manual/appendix-checklist.xml:
16640 * docs/pwg/advanced-clock.xml:
16641 * docs/pwg/advanced-interfaces.xml:
16642 * docs/pwg/advanced-request.xml:
16643 * docs/pwg/advanced-types.xml:
16644 * docs/pwg/intro-preface.xml:
16645 * examples/plugins/example.c: (gst_example_get_type),
16646 (gst_example_class_init), (gst_example_chain),
16647 (gst_example_set_property), (gst_example_get_property),
16648 (gst_example_change_state), (plugin_init):
16649 * examples/plugins/example.h:
16652 2005-05-17 Wim Taymans <wim@fluendo.com>
16654 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16655 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16656 * gst/gstqueue.c: (gst_queue_change_state):
16657 Clear queue when going to READY.
16658 Remove IN_SETCAPS flag too.
16660 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
16662 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16663 Remove implicit cast from gboolean to GstElementStateReturn;
16664 make sure we still return failure in paused => ready case if
16665 the parent class fails to change state and our own stop
16668 2005-05-17 Wim Taymans <wim@fluendo.com>
16670 * tools/gst-launch.c: (event_loop):
16671 Message was unreffed too soon.
16673 2005-05-16 Andy Wingo <wingo@pobox.com>
16675 * gst/gstbin.c (sink_iterator_filter): Err... um...
16677 * check/gst/gstbin.c (test_ghost_pads): New test for the
16678 ghosting-if-elements-not-in-same-bin behavior.
16680 2005-05-16 David Schleef <ds@schleef.org>
16682 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16683 accessing refcount directly.
16685 2005-05-15 David Schleef <ds@schleef.org>
16687 * check/Makefile.am: remove GstData checks
16688 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16689 * gst/Makefile.am: add miniobject, remove data
16690 * gst/gst.h: add miniobject, remove data
16691 * gst/gstdata.c: remove
16692 * gst/gstdata.h: remove
16693 * gst/gstdata_private.h: remove
16694 * gst/gsttypes.h: remove GstEvent and GstMessage
16695 * gst/gstelement.c: (gst_element_post_message): fix for API changes
16696 * gst/gstmarshal.list: change BOXED -> OBJECT
16698 Implement GstMiniObject.
16699 * gst/gstminiobject.c:
16700 * gst/gstminiobject.h:
16702 Modify to be subclasses of GstMiniObject.
16703 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16704 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16705 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16706 (gst_subbuffer_get_type), (gst_subbuffer_init),
16707 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16710 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16711 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16712 (_gst_event_copy), (gst_event_new):
16714 * gst/gstmessage.c: (_gst_message_initialize),
16715 (gst_message_get_type), (gst_message_class_init),
16716 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16717 (gst_message_new), (gst_message_new_error),
16718 (gst_message_new_warning), (gst_message_new_tag),
16719 (gst_message_new_state_changed), (gst_message_new_application):
16720 * gst/gstmessage.h:
16721 * gst/gstprobe.c: (gst_probe_perform),
16722 (gst_probe_dispatcher_dispatch):
16724 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16725 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16726 (_gst_query_copy), (gst_query_new):
16728 Update elements for GstData -> GstMiniObject changes
16730 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16731 (gst_queue_chain), (gst_queue_loop):
16732 * gst/elements/gstbufferstore.c:
16733 (gst_buffer_store_add_buffer_func),
16734 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16735 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16736 (gst_fakesink_render):
16737 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16738 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16739 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16740 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16741 (gst_filesrc_create_read):
16742 * gst/elements/gstidentity.c: (gst_identity_class_init):
16743 * gst/elements/gsttypefindelement.c:
16744 (gst_type_find_element_src_event), (free_entry_buffers),
16745 (gst_type_find_element_handle_event):
16746 * libs/gst/dataprotocol/dataprotocol.c:
16747 (gst_dp_header_from_buffer):
16748 * libs/gst/dataprotocol/dataprotocol.h:
16749 * libs/gst/dataprotocol/dp-private.h:
16751 2005-05-15 David Schleef <ds@schleef.org>
16753 * gst/elements/gstelements.c: Don't include headers that were
16756 2005-05-15 David Schleef <ds@schleef.org>
16758 * gst/elements/Makefile.am: Remove some elements that don't
16759 need to be in the core (or even exist at all).
16760 * gst/elements/gstaggregator.c:
16761 * gst/elements/gstaggregator.h:
16762 * gst/elements/gstmd5sink.c:
16763 * gst/elements/gstmd5sink.h:
16764 * gst/elements/gstmultifilesrc.c:
16765 * gst/elements/gstmultifilesrc.h:
16766 * gst/elements/gstpipefilter.c:
16767 * gst/elements/gstpipefilter.h:
16768 * gst/elements/gstshaper.c:
16769 * gst/elements/gstshaper.h:
16770 * gst/elements/gststatistics.c:
16771 * gst/elements/gststatistics.h:
16772 * po/POTFILES.in: Remove above files.
16774 2005-05-14 Andy Wingo <wingo@pobox.com>
16776 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16777 so as to get the refs right.
16778 (sink_iterator_filter): New function, wraps bin_element_is_sink,
16779 unreffing objects that don't pass the filter.
16781 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16782 gst_element_set_bus.
16783 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16784 normal cases, this will destroy the bus.
16786 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16789 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16792 2005-05-13 Andy Wingo <wingo@pobox.com>
16794 * gst/gstutils.c (gst_element_link_pads): Instead of calling
16795 gst_pad_link, call pad_link_maybe_ghosting,
16796 (pad_link_maybe_ghosting): Links pads, making sure that the
16797 elements being linked are in the same bin.
16798 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16799 Helpers for pad_link_maybe_ghosting.
16801 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16804 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16806 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16808 * docs/design/part-element-source.txt:
16811 2005-05-12 Wim Taymans <wim@fluendo.com>
16813 * gst/base/gstbasesink.c: (gst_basesink_init),
16814 (gst_basesink_activate):
16815 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16816 (gst_basesrc_is_seekable):
16817 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16818 (bin_element_is_sink), (gst_bin_change_state):
16819 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16820 * gst/gstelement.h:
16821 Identify sinks by their flag to avoid overly complicated
16823 Do state changes even for elements not reachable from the
16825 BaseSink is a sink now :)
16826 Some more debugging info in the basesrc.
16829 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16831 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16832 Implement _query on a bin, similar to _send_event.
16834 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
16836 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16837 Discont event offset format should be GST_FORMAT_BYTES,
16838 not GST_FORMAT_TIME.
16840 2005-05-12 Wim Taymans <wim@fluendo.com>
16842 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16843 Same fix as Ronald's but without the signal.
16845 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16847 * gst/gstutils.c: (gst_element_query_position):
16848 No, an element is not a pad.
16850 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16852 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16853 (gst_bin_get_state):
16854 If a child is removed from a bin while we remove the child from
16855 the bin and while we're retrieving its state, signal this to the
16856 get_state function so we abort the wait (instead of waiting for
16857 a timeout) and can immediately re-iterate over all other elements.
16859 2005-05-12 Wim Taymans <wim@fluendo.com>
16861 * gst/base/Makefile.am:
16862 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16863 (gst_basesrc_start):
16864 * gst/base/gstbasesrc.h:
16865 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16866 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16867 (gst_pushsrc_init), (gst_pushsrc_create):
16868 * gst/base/gstpushsrc.h:
16869 Added is_seekable to BaseSrc
16870 Added simple PushSrc.
16872 2005-05-11 Wim Taymans <wim@fluendo.com>
16874 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16875 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16876 (gst_element_link_pads), (gst_element_query_position),
16877 (gst_element_query_convert), (intersect_caps_func),
16878 (gst_pad_query_position), (gst_pad_query_convert):
16879 Fix refcounting in utils function.
16880 No point in trying to activate a pad when it's added, it could
16881 be added from the state change function and then we deadlock, the
16882 element has to decide what to do.
16884 2005-05-10 Andy Wingo <wingo@pobox.com>
16886 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16887 *all* the arguments.
16889 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16890 stream lock if it's a FLUSH_DONE; normal flushes don't get the
16891 lock (according to the docs -- if this is wrong change the docs).
16893 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16894 flush messages in the NULL state.
16896 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16897 message immediately and return.
16898 (gst_bus_set_flushing): New function. If a bus is flushing, it
16899 flushes out any queued messages and immediately unrefs new
16900 messages. This is so when an element goes to NULL, all of the
16901 unhandled messages coming from it can be freed, and their
16902 references to the element dropped. In other words: message source
16903 ref considered harmful :P
16905 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16906 we're finished with it.
16908 * gst/gstmessage.c (gst_message_new_state_changed):
16910 2005-05-10 Wim Taymans <wim@fluendo.com>
16912 * gst/gstvalue.c: (gst_value_compare_flags),
16913 (gst_value_serialize_flags), (gst_value_deserialize_flags),
16914 (_gst_value_initialize):
16915 Added flags serialize/deserialize/compare code.
16917 2005-05-09 Andy Wingo <wingo@pobox.com>
16919 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16920 Intersect the peer's caps with our caps.
16922 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16924 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16925 * gst/elements/gsttypefindelement.c: (find_peek):
16926 Handle negative offsets better. Fixes decodebin.
16928 2005-05-09 Wim Taymans <wim@fluendo.com>
16930 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16931 (gst_base_transform_event):
16932 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16933 Implement accept_caps.
16934 Fix silly lock/unlock mismatch in base class.
16936 2005-05-09 Wim Taymans <wim@fluendo.com>
16938 * docs/design/draft-push-pull.txt:
16939 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16940 * gst/elements/gstfilesink.c: (gst_filesink_init),
16941 (gst_filesink_query):
16942 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16943 (gst_type_find_handle_src_query), (find_element_get_length):
16944 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16945 * gst/gstelement.h:
16946 * gst/gstmessage.c:
16947 * gst/gstmessage.h:
16948 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16949 (gst_real_pad_get_caps_unlocked),
16950 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16951 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16952 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16953 (gst_real_pad_dispose), (gst_real_pad_finalize),
16954 (gst_pad_load_and_link), (gst_pad_save_thyself),
16955 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16956 (gst_pad_check_pull_range), (gst_pad_pull_range),
16957 (gst_pad_template_get_type), (gst_pad_template_class_init),
16958 (gst_pad_template_init), (gst_pad_template_dispose),
16959 (name_is_valid), (gst_static_pad_template_get),
16960 (gst_pad_template_new), (gst_static_pad_template_get_caps),
16961 (gst_pad_template_get_caps), (gst_pad_set_element_private),
16962 (gst_pad_get_element_private), (gst_pad_start_task),
16963 (gst_pad_pause_task), (gst_pad_stop_task),
16964 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16965 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16966 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16967 (gst_ghost_pad_new):
16969 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16970 (gst_query_new_position), (gst_query_set_position),
16971 (gst_query_parse_position), (gst_query_new_convert),
16972 (gst_query_set_convert), (gst_query_parse_convert):
16974 * gst/gstqueryutils.c:
16975 * gst/gstqueryutils.h:
16976 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16977 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16978 (gst_queue_handle_src_query):
16979 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16980 (gst_element_query_position), (gst_element_query_convert),
16981 (intersect_caps_func), (gst_pad_query_position),
16982 (gst_pad_query_convert):
16984 * tools/gst-inspect.c: (print_pad_info):
16985 * tools/gst-xmlinspect.c: (print_element_info):
16986 Remove old query functions. Ported old code.
16987 Added position/convert helper functions to gstutils.
16988 Reordered gstpad.c code, grouping relevant things.
16989 Remove gst_message_new(), always need to speficy a specific
16993 2005-05-09 Andy Wingo <wingo@pobox.com>
16995 * gst/gstiterator.h: Add some includes.
16997 * gst/gstqueryutils.h: Include more headers.
17000 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
17001 some uses of gst_pad_query.
17003 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
17004 NULL out parameters.
17005 (gst_query_new_position): New proc, allocates a new position
17008 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
17009 gstqueryutils.c to the build.
17011 * gst/gststructure.c (gst_structure_set_valist): Implement with
17012 the generic G_VALUE_COLLECT.
17014 2005-05-08 Edward Hervey <bilboed@bilboed.com>
17016 * gst/Makefile.am: (gst_headers):
17017 Added gstqueryutils.h to the list of headers to install, that was
17018 a 'nachty' move wingo :)
17020 2005-05-06 Andy Wingo <wingo@pobox.com>
17023 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
17024 GstData, init a memchunk.
17025 (standard_definitions): Add a few query types, deprecate a few.
17026 (gst_query_get_type): New proc.
17027 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
17029 (gst_query_new_application, gst_query_get_structure): New public
17032 * docs/design/draft-query.txt: Removed LINKS from the query types,
17033 because all the rest can be dispatched to other pads -- seemed
17034 ugly to have a query that couldn't be dispatched. internal_links
17035 is fine as a pad method.
17037 * gst/gstpad.h: Add query2 as a pad method, add the new functions
17038 in gstpad.c, but maintain binary compatibility for the moment.
17039 Will fix before 0.9 is out.
17041 * gst/gstqueryutils.c:
17042 * gst/gstqueryutils.h: New files, implement 3 methods for each
17043 query type: parse_query, parse_response, and set. Probably need an
17046 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
17048 * gst/elements/gstfilesink.c (gst_filesink_query2):
17049 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
17050 query_types, and formats methods.
17052 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
17053 (gst_pad_set_query2_function): New functions.
17054 (gst_real_pad_init): Set query2_default as the default query2
17055 function. Basically just dispatches to internally linked pads.
17059 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
17060 without using the atomic operations. Only one thread can possibly
17061 be accessing the data at this point. Changed so as to avoid
17062 gst_atomic operations.
17064 2005-05-06 Wim Taymans <wim@fluendo.com>
17066 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
17067 Also set caps if we use the fallback buffer alloc.
17069 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
17071 * docs/gst/Makefile.am:
17072 * docs/gst/gstreamer-docs.sgml:
17073 * docs/gst/gstreamer-sections.txt:
17074 * docs/gst/tmpl/gstatomic.sgml:
17075 * docs/gst/tmpl/gstmemchunk.sgml:
17076 * testsuite/elements/struct_i386.h:
17077 * win32/GStreamer.vcproj:
17079 Purge GstAtomic stuff from docs and win32 makefiles as well
17081 2005-05-06 Wim Taymans <wim@fluendo.com>
17083 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
17084 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
17085 * gst/gstpad.c: (gst_pad_peer_get_caps):
17086 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17087 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17088 (gst_queue_src_activate), (gst_queue_change_state):
17090 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17091 (intersect_caps_func):
17092 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
17093 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
17094 Some fixes for the peer_get_caps() change.
17096 2005-05-06 Wim Taymans <wim@fluendo.com>
17098 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17099 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
17100 (gst_basesink_activate):
17101 Actually do something with error codes returned from the push
17104 2005-05-06 Wim Taymans <wim@fluendo.com>
17106 * docs/design/part-element-sink.txt:
17107 * docs/design/part-element-source.txt:
17108 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17109 (gst_basesink_event), (gst_basesink_activate):
17110 * gst/base/gstbasesink.h:
17111 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
17112 (gst_basesrc_activate):
17113 * gst/base/gstbasesrc.h:
17114 * gst/gstelement.c: (gst_element_pads_activate):
17115 Some more documentation.
17116 Fixed scheduling decision in _pads_activate().
17118 2005-05-05 Andy Wingo <wingo@pobox.com>
17120 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
17123 2005-05-05 Wim Taymans <wim@fluendo.com>
17125 * gst/base/Makefile.am:
17126 * gst/base/gstbasesink.h:
17127 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17128 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
17129 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
17130 (gst_collectpads_class_init), (gst_collectpads_init),
17131 (gst_collectpads_finalize), (gst_collectpads_new),
17132 (gst_collectpads_set_function), (gst_collectpads_add_pad),
17133 (find_pad), (gst_collectpads_remove_pad),
17134 (gst_collectpads_is_active), (gst_collectpads_collect),
17135 (gst_collectpads_collect_range), (gst_collectpads_start),
17136 (gst_collectpads_stop), (gst_collectpads_peek),
17137 (gst_collectpads_pop), (gst_collectpads_available),
17138 (gst_collectpads_read), (gst_collectpads_flush),
17139 (gst_collectpads_chain):
17140 * gst/base/gstcollectpads.h:
17141 * gst/elements/Makefile.am:
17142 * gst/elements/gstelements.c:
17143 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17144 (gst_fakesink_get_times), (gst_fakesink_event),
17145 (gst_fakesink_preroll), (gst_fakesink_render):
17146 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
17147 (gst_filesink_init), (gst_filesink_set_location),
17148 (gst_filesink_open_file), (gst_filesink_close_file),
17149 (gst_filesink_pad_query), (gst_filesink_event),
17150 (gst_filesink_render), (gst_filesink_change_state):
17151 * gst/elements/gstfilesink.h:
17152 Added object to help in making collect pad based elements.
17154 Make event function in sink baseclass return gboolean.
17156 2005-05-05 Wim Taymans <wim@fluendo.com>
17158 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
17159 (gst_bin_get_by_name):
17161 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
17162 (gst_clock_finalize):
17163 * gst/gstdata.c: (gst_data_replace):
17165 * gst/gstelement.c: (gst_element_request_pad),
17166 (gst_element_pads_activate):
17167 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
17168 (gst_object_unref):
17169 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17170 (gst_pad_set_checkgetrange_function),
17171 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
17172 (gst_pad_check_pull_range), (gst_pad_pull_range),
17173 (gst_static_pad_template_get_caps), (gst_pad_start_task),
17174 (gst_pad_pause_task), (gst_pad_stop_task):
17175 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17176 (gst_element_request_pad), (gst_pad_proxy_getcaps):
17177 Fix name lookup in GstBin.
17178 Added _data_replace() function and _buffer_replace()
17179 Use finalize method to clean up clock.
17180 Fix refcounting on request pads.
17181 Fix pad schedule mode error.
17182 Some more object refcounting debug info,
17185 2005-05-04 Andy Wingo <wingo@pobox.com>
17187 * check/Makefile.am:
17188 * docs/gst/tmpl/gstatomic.sgml:
17189 * docs/gst/tmpl/gstplugin.sgml:
17190 * gst/base/gstbasesink.c: (gst_basesink_activate):
17191 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
17192 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
17193 (gst_basesrc_query), (gst_basesrc_set_property),
17194 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
17195 (gst_basesrc_activate):
17196 * gst/base/gstbasesrc.h:
17197 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
17198 (gst_base_transform_src_activate):
17199 * gst/elements/gstelements.c:
17200 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17201 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17202 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17203 * gst/elements/gsttypefindelement.c: (find_element_get_length),
17204 (gst_type_find_element_checkgetrange),
17205 (gst_type_find_element_activate):
17206 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
17207 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
17208 (gst_caps_load_thyself):
17209 * gst/gstelement.c: (gst_element_pads_activate),
17210 (gst_element_save_thyself), (gst_element_restore_thyself):
17211 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
17212 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
17214 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
17215 (gst_xml_parse_file), (gst_xml_parse_memory),
17216 (gst_xml_get_element), (gst_xml_make_element):
17217 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17218 (_file_index_id_save_xml), (gst_file_index_commit):
17219 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
17220 (read_enum), (load_pad_template), (load_feature), (load_plugin),
17222 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
17223 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
17224 * tools/gst-complete.c: (main):
17225 * tools/gst-compprep.c: (main):
17226 * tools/gst-inspect.c: (print_element_properties_info):
17227 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
17228 * tools/gst-xmlinspect.c: (print_element_properties):
17231 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
17233 * gst/gstplugin.c: (gst_plugin_check_module),
17234 (gst_plugin_check_file), (gst_plugin_load_file):
17235 apply patch from #172526 to make register work on MacOSX
17237 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17239 * docs/gst/tmpl/gstconfig.sgml:
17240 * gst/gstconfig.h.in:
17241 move documentation for some symbols. Add doc for GST_PTR_FORMAT
17242 * testsuite/debug/printf_extension.c: (main):
17243 Do not use GST_PTR_FORMAT on pointers to types with
17244 sizeof < sizeof(gpointer). Fixes test on 64-bit
17245 * testsuite/elements/property.h:
17246 use correct printf format
17248 2005-05-02 Wim Taymans <wim@fluendo.com>
17250 * docs/design/draft-push-pull.txt:
17251 * docs/design/draft-query.txt:
17252 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
17253 (gst_basesrc_start):
17254 Added draft for new query API.
17255 Added draft for better selecting scheduling methods.
17256 Make basesrc ignore length if the subclass does not support
17259 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17262 possible fixes for automake-1.5 - _LIBADD is reserved
17264 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17266 * docs/faq/Makefile.am:
17267 * docs/manual/Makefile.am:
17268 * docs/manuals.mak:
17269 * docs/pwg/Makefile.am:
17271 possible fixes for automake-1.5
17273 2005-04-28 Wim Taymans <wim@fluendo.com>
17275 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17276 (gst_basesink_pad_getcaps), (gst_basesink_init),
17277 (gst_basesink_do_sync):
17278 * gst/gstclock.c: (gst_clock_entry_new):
17279 * gst/gstevent.c: (gst_event_discont_get_value):
17280 * gst/gstpipeline.c: (pipeline_bus_handler),
17281 (gst_pipeline_change_state):
17282 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17283 Better debugging of clocking info.
17284 Allow NULL values when getting discont values.
17286 2005-04-27 Wim Taymans <wim@fluendo.com>
17288 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17289 * check/gst/gstpad.c: (gst_pad_suite):
17290 Increase timeout for checks.
17292 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17294 * check/Makefile.am:
17295 fix the broken rule for cleanup. Apparently this rule is
17296 only needed on FC2, so maybe this warrants further autotool
17299 2005-04-26 Wim Taymans <wim@fluendo.com>
17301 * gst/gsttrashstack.h:
17302 Ooohh. a nasty one! After having a failed pop() from the stack,
17303 it's possible that the stack is empty. In that case, don't
17304 follow the NULL pointer.
17306 2005-04-25 Wim Taymans <wim@fluendo.com>
17308 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17309 (gst_pad_set_checkgetrange_function),
17310 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
17311 (gst_pad_check_pull_range), (gst_pad_pull_range),
17312 (gst_static_pad_template_get_caps), (gst_pad_start_task),
17313 (gst_pad_pause_task), (gst_pad_stop_task):
17314 * gst/gstplugin.c: (gst_plugin_load):
17316 Remove gst_library_load as it does more harm than good with
17317 the new g_module flags.
17318 Revert bogus caps template check in pad linking, pad caps
17319 are important when linking not the template, which is more
17320 general than the current caps.
17322 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17324 * gst/autoplug/.cvsignore:
17325 * gst/autoplug/Makefile.am:
17326 * gst/autoplug/gstsearchfuncs.c:
17327 * gst/autoplug/gstsearchfuncs.h:
17328 * gst/autoplug/gstspider.c:
17329 * gst/autoplug/gstspider.h:
17330 * gst/autoplug/gstspideridentity.c:
17331 * gst/autoplug/gstspideridentity.h:
17332 * gst/autoplug/spidertest.c:
17335 2005-04-25 Wim Taymans <wim@fluendo.com>
17337 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17338 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17339 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
17340 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
17342 Added stubs for unimplemented functions.
17344 2005-04-24 David Schleef <ds@schleef.org>
17346 * gst/gstpad.h: Disable some unimplemented functions. Wim,
17349 2005-04-24 David Schleef <ds@schleef.org>
17351 Convert everything from GstAtomicInt to g_atomic_int_*, and
17356 * gst/gstatomic_impl.h:
17364 * gst/gstdata_private.h:
17368 * gst/gstmessage.c:
17371 * gst/gststructure.c:
17372 * gst/gststructure.h:
17373 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
17376 2005-04-24 David Schleef <ds@schleef.org>
17378 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
17379 make the regressions tests work. Remove some code that is no
17381 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
17382 Disable warning for pads without templates.
17384 2005-04-24 David Schleef <ds@schleef.org>
17386 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
17387 functions that handle filtered links.
17388 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
17390 * gst/gstutils.c: Fix/remove utility functions that handle
17393 * gst/gstvalue.c: Add serialization/deserialization of caps
17394 * gst/parse/grammar.y: Ignore filtered caps when linking. This
17395 requires fixing so that the filter caps notation creates
17396 a capsfilter element and sets the filter_caps property. I
17397 think everyone probably wants to keep the shorthand notation.
17398 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
17399 * docs/gst/tmpl/gstpad.sgml:
17401 * gst/elements/gstelements.c: Register capsfilter element.
17402 * gst/Makefile.am: fix spacing
17403 * docs/random/ds/0.9-suggested-changes: random
17405 2005-04-23 David Schleef <ds@schleef.org>
17407 * gst/elements/Makefile.am:
17408 * gst/elements/gstcapsfilter.c: New element that acts like an
17409 identity, but filters caps. Will eventually replace filtered
17410 caps in pad linking.
17411 * gst/gstutils.c: (gst_element_create_all_pads): New function
17412 to create all the ALWAYS pads that are registered with an
17413 element class. This functionality should eventually be
17414 merged in with GstElement initialization.
17416 * testsuite/trigger/README: part of trigger test code that should
17417 have been checked in a long time ago.
17419 2005-04-23 David Schleef <ds@schleef.org>
17421 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
17422 needed with new versions of libtool (nobody will confirm this),
17423 and hard to carry around.
17424 * gst/autoplug/Makefile.am:
17425 * gst/base/Makefile.am:
17426 * gst/elements/Makefile.am:
17427 * gst/indexers/Makefile.am:
17428 * gst/schedulers/Makefile.am:
17429 * libs/gst/bytestream/Makefile.am:
17430 * libs/gst/control/Makefile.am:
17431 * libs/gst/dataprotocol/Makefile.am:
17432 * libs/gst/getbits/Makefile.am:
17434 2005-04-21 Wim Taymans <wim@fluendo.com>
17436 * docs/design/draft-push-pull.txt:
17437 * docs/design/part-MT-refcounting.txt:
17438 * docs/design/part-TODO.txt:
17439 * docs/design/part-caps.txt:
17440 * docs/design/part-events.txt:
17441 * docs/design/part-gstbus.txt:
17442 * docs/design/part-gstpipeline.txt:
17443 * docs/design/part-messages.txt:
17444 * docs/design/part-push-pull.txt:
17445 * docs/design/part-query.txt:
17448 2005-04-21 Wim Taymans <wim@fluendo.com>
17450 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
17451 (gst_message_new), (gst_message_new_error),
17452 (gst_message_new_warning), (gst_message_new_tag),
17453 (gst_message_new_state_changed), (gst_message_new_application),
17454 (gst_message_get_structure):
17455 * gst/gstmessage.h:
17456 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17457 (gst_structure_copy_conditional):
17458 Use parent refcount in GstMessage to ensure GstStructure
17460 Cleaned up headers a bit.
17463 2005-04-20 Wim Taymans <wim@fluendo.com>
17465 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17466 (gst_basesink_pad_getcaps), (gst_basesink_init),
17467 (gst_basesink_chain_unlocked):
17468 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
17469 (gst_type_find_helper):
17470 * gst/elements/gsttypefindelement.c:
17471 (gst_type_find_element_have_type), (gst_type_find_element_init),
17472 (stop_typefinding), (gst_type_find_element_handle_event),
17473 (find_suggest), (gst_type_find_element_chain),
17474 (gst_type_find_element_checkgetrange),
17475 (gst_type_find_element_getrange), (do_typefind),
17476 (gst_type_find_element_activate):
17477 * gst/gstbuffer.c: (_gst_buffer_sub_free),
17478 (gst_buffer_default_free), (gst_buffer_default_copy),
17479 (gst_buffer_set_caps):
17480 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
17481 (gst_caps_replace):
17482 * gst/gstmessage.c: (gst_message_new),
17483 (gst_message_new_state_changed):
17484 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17485 (gst_pad_set_checkgetrange_function),
17486 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
17487 (gst_pad_set_caps), (gst_pad_check_pull_range),
17488 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
17490 * gst/gsttypefind.c: (gst_type_find_register):
17491 Make gst_caps_replace() work like other _replace() functions.
17492 Use _caps_replace() where possible.
17493 Make sure _message_new() initialises its field.
17494 Add gst_static_pad_template_get_caps()
17497 2005-04-18 Andy Wingo <wingo@pobox.com>
17499 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
17500 on the peer, not the pad. I think that was a typo. Pass an extra
17501 arg to see if random access is possible. Activate the pads as
17502 PULL_RANGE if possible.
17504 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
17506 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
17507 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
17510 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17512 * docs/faq/using.xml:
17513 Add note on gstreamer-properties (#154996).
17515 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17517 * docs/random/bbb/optional-properties:
17518 Some analysis on optional properties.
17520 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17522 * docs/gst/tmpl/gstelementfactory.sgml:
17523 * gst/gstelement.h:
17524 * gst/gstelementfactory.c: (gst_element_factory_init),
17525 (gst_element_factory_cleanup), (gst_element_register),
17526 (__gst_element_factory_add_static_pad_template),
17527 (gst_element_factory_get_static_pad_templates),
17528 (gst_element_factory_can_src_caps),
17529 (gst_element_factory_can_sink_caps):
17530 * gst/registries/Makefile.am:
17531 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17532 (gst_xml_registry_class_init), (gst_xml_registry_init),
17533 (gst_xml_registry_new), (gst_xml_registry_set_property),
17534 (gst_xml_registry_get_property), (get_time), (make_dir),
17535 (gst_xml_registry_get_perms_func),
17536 (plugin_times_older_than_recurse), (plugin_times_older_than),
17537 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17538 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17539 (add_to_char_array), (read_string), (read_uint), (read_enum),
17540 (load_pad_template), (load_feature), (load_plugin), (load_paths),
17541 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17542 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17543 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17544 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17545 (gst_xml_registry_rebuild):
17546 * gst/registries/gstlibxmlregistry.h:
17547 * tools/gst-compprep.c: (main):
17548 * tools/gst-inspect.c: (print_pad_templates_info):
17549 * tools/gst-xmlinspect.c: (print_element_info):
17550 Use libxml2 for registry parsing, use staticpadtemplates in
17551 elementfactories. Makes gst_init() +/- 10x faster.
17553 2005-04-12 Wim Taymans <wim@fluendo.com>
17555 * gst/base/Makefile.am:
17556 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17557 (gst_basesink_pad_getcaps), (gst_basesink_init),
17558 (gst_basesink_event), (gst_basesink_change_state):
17559 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17560 (gst_basesrc_init), (gst_basesrc_query),
17561 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17562 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17563 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17564 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17565 (gst_basesrc_stop), (gst_basesrc_activate),
17566 (gst_basesrc_change_state):
17567 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17568 (helper_find_suggest), (gst_type_find_helper):
17569 * gst/base/gsttypefindhelper.h:
17570 * gst/elements/Makefile.am:
17571 * gst/elements/gstelements.c:
17572 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17573 (gst_fakesink_get_times), (gst_fakesink_event),
17574 (gst_fakesink_preroll), (gst_fakesink_render):
17575 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17576 (gst_fakesrc_init), (gst_fakesrc_event_handler),
17577 (gst_fakesrc_get_property), (gst_fakesrc_create),
17578 (gst_fakesrc_start), (gst_fakesrc_stop):
17579 * gst/elements/gstfakesrc.h:
17580 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17581 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17582 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17583 (gst_filesrc_create_read), (gst_filesrc_create),
17584 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17585 (gst_filesrc_start):
17586 * gst/elements/gsttypefindelement.c:
17587 (gst_type_find_element_have_type), (gst_type_find_element_init),
17588 (start_typefinding), (stop_typefinding), (push_buffer_store),
17589 (gst_type_find_element_handle_event),
17590 (gst_type_find_element_chain),
17591 (gst_type_find_element_checkgetrange),
17592 (gst_type_find_element_getrange), (do_typefind),
17593 (gst_type_find_element_activate),
17594 (gst_type_find_element_change_state):
17595 * gst/elements/gsttypefindelement.h:
17596 * gst/gstpipeline.c: (pipeline_bus_handler):
17597 Added typefind helper.
17598 Small preroll fix in the base sink.
17599 Disable typefind code in basesrc.
17600 Crude port of typefindelement.
17604 2005-04-11 Wim Taymans <wim@fluendo.com>
17606 * check/gst/gstbus.c: (gstbus_suite):
17607 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17608 * check/gstcheck.h:
17609 Fix up the timeout so that the test does not fail.
17611 2005-04-06 Wim Taymans <wim@fluendo.com>
17614 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17615 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17616 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17617 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17618 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17619 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17620 (gst_basesrc_stop), (gst_basesrc_activate),
17621 (gst_basesrc_change_state), (basesrc_find_peek),
17622 (basesrc_find_suggest), (gst_basesrc_type_find):
17623 * gst/base/gstbasesrc.h:
17624 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17625 (gst_filesrc_class_init), (gst_filesrc_init),
17626 (gst_filesrc_finalize), (gst_filesrc_set_location),
17627 (gst_filesrc_set_property), (gst_filesrc_get_property),
17628 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17629 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17630 (gst_filesrc_create_read), (gst_filesrc_create),
17631 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17632 * gst/elements/gstfilesrc.h:
17633 * gst/gstelement.c: (gst_element_get_state_func),
17634 (gst_element_lost_state), (gst_element_pads_activate):
17635 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17636 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17637 (gst_pad_pull_range):
17639 More work on the generic source base class, implement seeking,
17641 Make filesrc extend the base source class.
17642 Added gst_pad_set_checkgetrange_function to GstPad.
17644 2005-04-06 Andy Wingo <wingo@pobox.com>
17646 * pkgconfig/gstreamer-base.pc.in:
17647 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17649 * pkgconfig/Makefile.am:
17650 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17652 2005-04-04 Wim Taymans <wim@fluendo.com>
17654 * gst/base/Makefile.am:
17656 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17657 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17658 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17659 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17660 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17661 (gst_basesrc_base_init), (gst_basesrc_class_init),
17662 (gst_basesrc_init), (gst_basesrc_get_formats),
17663 (gst_basesrc_get_query_types), (gst_basesrc_query),
17664 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17665 (gst_basesrc_set_property), (gst_basesrc_get_property),
17666 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17667 (gst_basesrc_loop), (gst_basesrc_activate),
17668 (gst_basesrc_change_state):
17669 * gst/base/gstbasesrc.h:
17670 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17671 (gst_fakesrc_class_init), (gst_fakesrc_init),
17672 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17673 (gst_fakesrc_get_property), (gst_fakesrc_create):
17674 * gst/elements/gstfakesrc.h:
17675 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17676 (gst_filesrc_open_file), (gst_filesrc_loop),
17677 (gst_filesrc_activate), (filesrc_find_peek),
17678 (gst_filesrc_type_find):
17679 Made base source class, make fakesrc extend it.
17680 Add comments to basesink class.
17681 Some filesrc cleanup.
17683 2005-03-31 David Schleef <ds@schleef.org>
17685 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17686 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17687 expected to link against libgstreamer.
17688 * gst/base/Makefile.am: link against libgstreamer
17689 * gst/elements/Makefile.am: same
17691 2005-03-31 Andy Wingo <wingo@pobox.com>
17693 * tests/instantiate/Makefile.am:
17694 * tests/instantiate/caps.c: Add test to test speed of caps copy
17697 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17698 GMemChunk to be fair.
17700 * gst/gsttrashstack.h: Remove warning about using the fallback
17701 trash stack implementation, it's still faster than malloc.
17703 2005-03-30 Andy Wingo <wingo@pobox.com>
17705 * tests/complexity.c: Add a copyright.
17707 2005-03-31 Wim Taymans <wim@fluendo.com>
17709 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17710 (gst_base_transform_class_init), (gst_base_transform_init),
17711 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17712 (gst_base_transform_get_property),
17713 (gst_base_transform_sink_activate),
17714 (gst_base_transform_src_activate),
17715 (gst_base_transform_change_state):
17716 * gst/base/gstbasetransform.h:
17717 * gst/elements/gstidentity.c: (gst_identity_class_init),
17718 (gst_identity_event), (gst_identity_check_perfect),
17719 (gst_identity_transform), (gst_identity_start),
17720 (gst_identity_stop):
17721 Added start/stop methods to transform base class so subclasses
17722 don't need to deal with state changes even.
17724 2005-03-31 Wim Taymans <wim@fluendo.com>
17726 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17727 (gst_event_new_discontinuous), (gst_event_discont_get_value):
17729 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17730 (gst_pad_pull_range):
17731 Added rate to the discont event to prepare for variable speed
17732 and reverse playback.
17734 2005-03-29 David Schleef <ds@schleef.org>
17737 * testsuite/trigger/Makefile.am:
17738 * testsuite/trigger/trigger.c: A little example program to show
17739 how trigger-based elements can work.
17741 2005-03-29 Wim Taymans <wim@fluendo.com>
17743 * gst/base/Makefile.am:
17745 * gst/base/gstbasesink.c: (gst_basesink_get_type),
17746 (gst_basesink_base_init), (gst_basesink_class_init),
17747 (gst_basesink_pad_getcaps), (gst_basesink_init),
17748 (gst_basesink_activate), (gst_basesink_change_state):
17749 * gst/base/gstbasesink.h:
17750 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17751 (gst_base_transform_base_init), (gst_base_transform_finalize),
17752 (gst_base_transform_class_init), (gst_base_transform_init),
17753 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17754 (gst_base_transform_event), (gst_base_transform_getrange),
17755 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17756 (gst_base_transform_set_property),
17757 (gst_base_transform_get_property),
17758 (gst_base_transform_sink_activate),
17759 (gst_base_transform_src_activate),
17760 (gst_base_transform_change_state):
17761 * gst/base/gstbasetransform.h:
17762 * gst/elements/gstidentity.c: (gst_identity_finalize),
17763 (gst_identity_class_init), (gst_identity_init),
17764 (gst_identity_event), (gst_identity_check_perfect),
17765 (gst_identity_transform), (gst_identity_set_property),
17766 (gst_identity_get_property), (gst_identity_change_state):
17767 * gst/elements/gstidentity.h:
17768 * gst/gstelement.c: (gst_element_get_state_func),
17769 (gst_element_lost_state), (gst_element_pads_activate):
17770 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17771 (gst_pad_check_pull_range), (gst_pad_pull_range):
17773 Simplify pad activation.
17774 Added function to check if pull_range can be performed.
17775 Error out when pulling inactive or flushing pads.
17776 Removed const from refcounted types as it does not make sense.
17777 Simplify pad templates in basesink
17778 Added base class for simple 1-to-1 transforms.
17779 Make identity subclass the base transform.
17781 2005-03-29 Andy Wingo <wingo@pobox.com>
17783 * docs/libs/gstreamer-libs-overrides.txt:
17784 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17785 really don't understand what's going on, but like whatever. I want
17788 * docs/gst/Makefile.am:
17789 * docs/libs/Makefile.am: Dist the overrides files.
17791 * check/Makefile.am (clean-local): Remove .libs directories.
17793 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17794 elements to EXTRA_DIST, so po/ files are happy.
17796 * po/POTFILES.in: Er, remove it here.
17798 * po/POTFILES: Remove gstspider.c.
17800 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17802 * docs/libs/gstreamer-libs-docs.sgml:
17803 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17806 * tests/complexity.c (main): Set the length of the preroll queue
17807 on the sinks to prevent a lockup.
17809 * libs/gst/dataprotocol/Makefile.am:
17810 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17811 the same as the one in check/gst-libs/gdp.c.
17813 * po/, docs/gst/: Commit automatic changes to docs and po files.
17815 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17816 the versioned libgstbase.
17818 * check/Makefile.am: Depend on an unversioned gst-register, seems
17819 to make autoconf happier.
17821 * gst/base/Makefile.am: Make libgstbase a versioned lib.
17823 2005-03-28 Wim Taymans <wim@fluendo.com>
17826 * docs/design/part-gstelement.txt:
17827 * docs/design/part-negotiation.txt:
17828 * docs/design/part-preroll.txt:
17829 * docs/design/part-scheduling.txt:
17830 * docs/design/part-states.txt:
17832 * gst/base/Makefile.am:
17834 * gst/base/gstbasesink.c: (gst_basesink_get_template),
17835 (gst_basesink_base_init), (gst_basesink_class_init),
17836 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17837 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17838 (gst_basesink_set_pad_functions),
17839 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17840 (gst_basesink_set_property), (gst_basesink_get_property),
17841 (gst_base_sink_get_template), (gst_base_sink_get_caps),
17842 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17843 (gst_basesink_preroll_queue_push),
17844 (gst_basesink_preroll_queue_empty),
17845 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17846 (gst_basesink_event), (gst_basesink_get_times),
17847 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17848 (gst_basesink_chain_unlocked), (gst_basesink_chain),
17849 (gst_basesink_loop), (gst_basesink_activate),
17850 (gst_basesink_change_state):
17851 * gst/base/gstbasesink.h:
17852 * gst/elements/Makefile.am:
17853 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17854 (gst_fakesink_class_init), (gst_fakesink_init),
17855 (gst_fakesink_set_property), (gst_fakesink_get_property),
17856 (gst_fakesink_get_times), (gst_fakesink_event),
17857 (gst_fakesink_preroll), (gst_fakesink_render),
17858 (gst_fakesink_change_state):
17859 * gst/elements/gstfakesink.h:
17860 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17861 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17862 * gst/gstelement.c: (gst_element_add_pad),
17863 (gst_element_get_state_func), (gst_element_abort_state),
17864 (gst_element_commit_state), (gst_element_lost_state),
17865 (gst_element_set_state), (gst_element_pads_activate):
17866 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17867 * gst/gstpipeline.c: (gst_pipeline_send_event),
17868 (gst_pipeline_change_state):
17869 Added state change code.
17870 Added/updated docs.
17871 Added sink base class, make fakesink extend the base class.
17872 Small cleanups in GstPipeline.
17874 2005-03-26 David Schleef <ds@schleef.org>
17876 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
17877 is broken and should be implemented in a different library.
17878 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17879 * gst/gst.h: remove gstcpu.h
17880 * gst/gstcpu.c: remove
17881 * gst/gstcpu.h: remove
17882 * gst/Makefile.am.future: Remove this file. It's ancient.
17884 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17886 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17887 (gst_bin_send_event):
17888 Add default event/set_manager handlers. The set_manager handler
17889 takes care that the manager is distributed over kids that were
17890 already in the bin before the manager was set. The event handler
17891 is a utility virtual function that sends the event over all sinks,
17892 so that gst_element_send_event (bin, event); has the expected
17894 * gst/gstpad.c: (gst_pad_event_default):
17895 Re-install default event handling for discontinuities, so that
17896 seeking works without requiring hacks in applications or extra
17898 * gst/gstpipeline.c: (gst_pipeline_class_init),
17899 (gst_pipeline_send_event):
17900 Half hack, half utility: set a pipeline to PAUSED for seek events,
17901 since that is the only way we can guarantee a/v sync. Means that
17902 you can do gst_element_seek (pipeline, method, pos); on a pipeline
17903 and it "just works".
17905 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17907 * gst/gstpipeline.c: (gst_pipeline_use_clock):
17908 Lock/unlock mismatch.
17910 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
17912 * docs/faq/gst-uninstalled:
17913 add gst-plugins-base
17914 * docs/gst/Makefile.am:
17915 don't error out until docs are fixed
17916 * docs/gst/gstreamer.types:
17919 2005-03-22 Wim Taymans <wim@fluendo.com>
17921 * check/Makefile.am:
17922 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17923 * gst/gststructure.c: (gst_structure_set_valist),
17924 (gst_structure_copy_conditional):
17925 Activated more tests.
17926 Added message test.
17927 Added G_TYPE_POINTER to GstStructure.
17930 2005-03-22 Wim Taymans <wim@fluendo.com>
17932 * docs/design/part-TODO.txt:
17933 * docs/design/part-events.txt:
17934 * docs/design/part-gstbin.txt:
17935 * docs/design/part-gstbus.txt:
17936 * docs/design/part-gstpipeline.txt:
17937 * docs/design/part-messages.txt:
17939 * gst/gstmessage.c:
17942 2005-03-21 Wim Taymans <wim@fluendo.com>
17944 * gst/gstbus.c: (gst_bus_post):
17945 Fix copy-and-paste error.
17947 2005-03-21 Wim Taymans <wim@fluendo.com>
17949 * check/Makefile.am:
17951 * gst/elements/Makefile.am:
17952 * gst/elements/gstelements.c:
17953 * gst/elements/gstfakesink.c: (gst_fakesink_init),
17954 (gst_fakesink_event), (gst_fakesink_chain):
17955 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17956 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17957 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17958 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17959 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17960 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17961 (gst_fakesrc_loop), (gst_fakesrc_activate),
17962 (gst_fakesrc_change_state):
17963 * gst/elements/gstfakesrc.h:
17964 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17965 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17966 (gst_filesrc_open_file), (gst_filesrc_loop),
17967 (gst_filesrc_activate), (gst_filesrc_change_state),
17968 (filesrc_find_peek), (filesrc_find_suggest),
17969 (gst_filesrc_type_find):
17970 * gst/elements/gstidentity.c: (gst_identity_finalize),
17971 (gst_identity_class_init), (gst_identity_init),
17972 (gst_identity_proxy_getcaps), (identity_queue_push),
17973 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17974 (gst_identity_getrange), (gst_identity_chain),
17975 (gst_identity_sink_loop), (gst_identity_src_loop),
17976 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17977 (gst_identity_set_property), (gst_identity_get_property),
17978 (gst_identity_change_state):
17979 * gst/elements/gstidentity.h:
17980 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17981 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17982 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17983 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17984 (gst_tee_sink_activate):
17985 * gst/elements/gsttee.h:
17986 * gst/gst.c: (gst_register_core_elements), (init_post):
17988 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17989 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17990 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17991 (gst_bin_change_state):
17993 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17994 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17995 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17996 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17997 (gst_bus_set_sync_handler), (gst_bus_create_watch),
17998 (bus_watch_callback), (bus_watch_destroy),
17999 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
18000 (poll_timeout), (gst_bus_poll):
18004 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18005 (gst_element_post_message), (gst_element_message_full),
18006 (gst_element_get_state_func), (gst_element_get_state),
18007 (gst_element_abort_state), (gst_element_commit_state),
18008 (gst_element_lost_state), (gst_element_set_state),
18009 (gst_element_pads_activate), (gst_element_change_state),
18010 (gst_element_dispose), (gst_element_set_manager_func),
18011 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
18012 (gst_element_set_manager), (gst_element_get_manager),
18013 (gst_element_set_bus), (gst_element_get_bus),
18014 (gst_element_set_scheduler), (gst_element_get_scheduler):
18015 * gst/gstelement.h:
18016 * gst/gstevent.c: (gst_event_new_segment_seek),
18017 (gst_event_new_flush):
18019 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
18020 (_gst_message_free), (gst_message_get_type), (gst_message_new),
18021 (gst_message_new_eos), (gst_message_new_error),
18022 (gst_message_new_warning), (gst_message_new_tag),
18023 (gst_message_new_state_changed), (gst_message_new_application),
18024 (gst_message_get_structure), (gst_message_parse_tag),
18025 (gst_message_parse_state_changed), (gst_message_parse_error),
18026 (gst_message_parse_warning):
18027 * gst/gstmessage.h:
18028 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
18029 (gst_real_pad_set_property), (gst_pad_set_active),
18030 (gst_pad_is_active), (gst_pad_set_blocked_async),
18031 (gst_pad_set_blocked), (gst_pad_is_blocked),
18032 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
18033 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
18034 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
18035 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
18036 (gst_pad_link_filtered), (gst_pad_relink_filtered),
18037 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
18038 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
18039 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
18040 (gst_pad_set_caps), (gst_pad_configure_sink),
18041 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
18042 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
18043 (gst_real_pad_dispose), (gst_real_pad_finalize),
18044 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
18045 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18046 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
18048 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
18049 (pipeline_bus_handler), (gst_pipeline_change_state),
18050 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
18051 * gst/gstpipeline.h:
18053 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18054 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
18055 (gst_queue_link_src), (gst_queue_bufferalloc),
18056 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
18057 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
18058 (gst_queue_loop), (gst_queue_handle_src_event),
18059 (gst_queue_handle_src_query), (gst_queue_src_activate),
18060 (gst_queue_change_state):
18062 * gst/gstscheduler.c: (gst_scheduler_init),
18063 (gst_scheduler_dispose), (gst_scheduler_create_task),
18064 (gst_scheduler_factory_create):
18065 * gst/gstscheduler.h:
18066 * gst/gststructure.c: (gst_structure_get_type),
18067 (gst_structure_copy_conditional):
18068 * gst/gststructure.h:
18069 * gst/gsttaginterface.h:
18070 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18071 (gst_task_init), (gst_task_dispose), (gst_task_create),
18072 (gst_task_get_state), (gst_task_start), (gst_task_stop),
18078 * gst/schedulers/Makefile.am:
18079 * gst/schedulers/cothreads_compat.h:
18080 * gst/schedulers/entryscheduler.c:
18081 * gst/schedulers/faircothreads.c:
18082 * gst/schedulers/faircothreads.h:
18083 * gst/schedulers/fairscheduler.c:
18084 * gst/schedulers/gstbasicscheduler.c:
18085 * gst/schedulers/gstoptimalscheduler.c:
18086 * gst/schedulers/gthread-cothreads.h:
18087 * gst/schedulers/threadscheduler.c:
18088 (gst_thread_scheduler_task_get_type),
18089 (gst_thread_scheduler_task_class_init),
18090 (gst_thread_scheduler_task_init),
18091 (gst_thread_scheduler_task_start),
18092 (gst_thread_scheduler_task_stop),
18093 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
18094 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
18095 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
18096 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
18098 * libs/gst/Makefile.am:
18099 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
18100 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
18101 (gst_file_pad_parent_set):
18102 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18103 (gst_dp_event_from_packet):
18104 * tests/complexity.c: (main):
18105 * tests/mass_elements.c: (main):
18106 * testsuite/states/locked.c: (message_received), (main):
18107 * testsuite/states/parent.c: (main):
18108 * tools/gst-inspect.c: (print_element_flag_info),
18109 (print_implementation_info), (print_pad_info):
18110 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
18112 * tools/gst-md5sum.c: (event_loop), (main):
18113 * tools/gst-typefind.c: (main):
18114 * tools/gst-xmlinspect.c: (print_element_info):
18116 Added GstBus for mainloop integration.
18117 Added GstMessage for sending notifications on the bus.
18118 Added GstTask as an abstraction for pipeline entry points.
18120 Removed Schedulers.
18121 Simplified GstQueue for multithreaded core.
18122 Made _link threadsafe, removed old capsnego.
18123 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
18124 Added pad blocking functions.
18125 Reworked scheduling functions in GstPad to prepare for
18126 scheduling updates soon.
18127 Moved events out of data stream.
18128 Simplified GstEvent types.
18129 Added return values to push/pull.
18130 Removed clocking from GstElement.
18131 Added prototypes for state change function for next merge.
18132 Removed iterate from bins and state change management.
18133 Fixed some elements, disabled others for now.
18134 Fixed -inspect and -launch.
18135 Added check for GstBus.
18137 2005-03-10 Wim Taymans <wim@fluendo.com>
18139 * docs/design/part-MT-refcounting.txt:
18140 * docs/design/part-clocks.txt:
18141 * docs/design/part-gstelement.txt:
18142 * docs/design/part-gstobject.txt:
18143 * docs/design/part-standards.txt:
18144 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18145 (gst_bin_remove_func), (gst_bin_remove):
18149 * testsuite/clock/clock1.c: (main):
18150 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
18152 * testsuite/dlopen/loadgst.c: (do_test):
18153 * testsuite/refcounting/bin.c: (add_remove_test1),
18154 (add_remove_test2), (main):
18155 * testsuite/refcounting/element.c: (main):
18156 * testsuite/refcounting/element_pad.c: (main):
18157 * testsuite/refcounting/pad.c: (main):
18158 * tools/gst-launch.c: (sigint_handler_sighandler):
18159 * tools/gst-typefind.c: (main):
18161 Added doc about clock.
18162 removed gst_bin_iterate_recurse_up(), marked methods
18164 Fix more testsuites.
18166 2005-03-09 Wim Taymans <wim@fluendo.com>
18168 * gst/gstpad.c: (gst_pad_get_direction),
18169 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
18170 (gst_pad_collect_valist):
18171 * testsuite/bins/interface.c: (main):
18172 * testsuite/caps/audioscale.c: (test_caps):
18173 * testsuite/caps/caps.c: (test1), (test2), (test3):
18174 * testsuite/caps/deserialize.c: (main):
18175 * testsuite/caps/enumcaps.c: (main):
18176 * testsuite/caps/filtercaps.c: (main):
18177 * testsuite/caps/intersect2.c: (main):
18178 * testsuite/caps/random.c: (main):
18179 * testsuite/caps/renegotiate.c: (my_fixate), (main):
18180 * testsuite/caps/sets.c: (check_caps):
18181 * testsuite/caps/simplify.c: (check_caps), (main):
18182 * testsuite/caps/subtract.c: (check_caps):
18183 Fix _pad_get_direction wrt ghostpads.
18184 Fix caps testsuite.
18186 2005-03-09 Wim Taymans <wim@fluendo.com>
18188 * check/Makefile.am:
18189 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
18190 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
18191 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
18192 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
18193 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
18194 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
18195 (gst_bin_remove), (gst_bin_iterate_recurse_up),
18196 (bin_element_is_sink), (gst_bin_iterate_sinks),
18197 (gst_bin_iterate_all_by_interface):
18199 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
18200 (gst_element_change_state), (gst_element_dispose),
18201 (gst_element_finalize), (gst_element_set_loop_function):
18202 * gst/gstelement.h:
18203 * gst/gstiterator.c: (find_custom_fold_func):
18204 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18205 (gst_pad_collectv), (gst_pad_collect_valist),
18206 (gst_pad_template_new):
18207 * gst/gstpipeline.c: (gst_pipeline_class_init),
18208 (gst_pipeline_dispose), (gst_pipeline_set_property),
18209 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
18210 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
18211 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
18213 * gst/schedulers/entryscheduler.c:
18214 * gst/schedulers/gstbasicscheduler.c:
18215 (gst_basic_scheduler_cothreaded_chain),
18216 (gst_basic_scheduler_chain_add_element):
18217 * testsuite/bins/interface.c: (main):
18219 Added GstSystemClock test.
18220 Implemented clock distribution code in GstBin.
18221 Implemented iterate sinks method for future use.
18222 Rearranged gstelement.h
18223 Fix GstIterator comparison bug.
18224 Moved some code to GstPipeline, mostly clocking related.
18226 2005-03-09 Wim Taymans <wim@fluendo.com>
18229 * gst/gst_private.h:
18230 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18231 (gst_bin_remove_func), (gst_bin_remove),
18232 (gst_bin_get_by_name_recurse_up):
18233 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
18234 (gst_clock_id_compare_func), (gst_clock_id_wait),
18235 (gst_clock_id_wait_async), (gst_clock_init),
18236 (gst_clock_adjust_unlocked), (gst_clock_get_time):
18237 * gst/gstelement.h:
18238 * gst/gstinfo.c: (_gst_debug_init):
18240 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18241 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
18243 Bump version number, we're now 0.9.0
18244 Add future debugging category.
18245 Fix NULL _unref() in _get_by_name_recurse_up
18246 Rearrange gstpad.h.
18249 2005-03-08 Wim Taymans <wim@fluendo.com>
18251 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
18252 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
18253 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18254 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
18255 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
18256 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
18257 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
18258 * gst/elements/gstidentity.c: (gst_identity_class_init):
18259 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
18260 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
18261 * gst/elements/gstshaper.c: (gst_shaper_class_init):
18262 * gst/elements/gststatistics.c: (gst_statistics_class_init):
18263 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
18265 * gst/gstelement.c: (gst_element_class_init),
18266 (gst_element_base_class_init), (gst_element_init),
18267 (gst_element_get_random_pad), (gst_element_wait_state_change),
18268 (gst_element_change_state), (gst_element_dispose),
18269 (gst_element_finalize), (gst_element_set_loop_function):
18270 * gst/gstelement.h:
18271 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
18272 * gst/gstthread.c: (gst_thread_class_init),
18273 (gst_thread_release_children_locks), (gst_thread_change_state):
18274 * gst/schedulers/gstbasicscheduler.c:
18275 (gst_basic_scheduler_loopfunc_wrapper),
18276 (gst_basic_scheduler_chain_wrapper),
18277 (gst_basic_scheduler_src_wrapper),
18278 (gst_basic_scheduler_remove_element):
18279 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
18280 Remove threadsafe properties. Fix elements because GObject
18281 complains when installing a property before declaring a
18282 set/get_property handler.
18283 Rearrange gstelement.h file, use STATE macros for state locks.
18284 Free mutexes in the finalize method instead of dispose.
18286 2005-03-08 Wim Taymans <wim@fluendo.com>
18288 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18289 * gst/gstthread.c: (gst_thread_release_children_locks):
18290 Added parentage check.
18291 Fix build og GstThread again.
18293 2005-03-08 Wim Taymans <wim@fluendo.com>
18295 * docs/design/part-MT-refcounting.txt:
18296 * docs/design/part-conventions.txt:
18297 * docs/design/part-gstobject.txt:
18298 * docs/design/part-relations.txt:
18299 * docs/design/part-standards.txt:
18300 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18301 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
18302 (gst_bin_get_by_name), (gst_bin_get_by_interface),
18303 (gst_bin_iterate_all_by_interface):
18306 * gst/gstelement.c: (gst_element_class_init),
18307 (gst_element_change_state), (gst_element_set_loop_function):
18308 * gst/gstelement.h:
18309 * gst/gstiterator.c:
18310 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
18311 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
18312 (gst_object_dispatch_properties_changed), (gst_object_set_name),
18313 (gst_object_set_parent), (gst_object_unparent),
18314 (gst_object_check_uniqueness):
18316 Docs updates, clean up some headers.
18318 2005-03-07 Wim Taymans <wim@fluendo.com>
18320 * check/.cvsignore:
18321 * check/Makefile.am:
18322 * check/gst-libs/.cvsignore:
18323 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
18324 * check/gst/.cvsignore:
18325 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
18326 (START_TEST), (gstbus_suite), (main):
18327 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
18328 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
18329 (gst_data_suite), (main):
18330 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
18331 (add_fold_func), (gstiterator_suite), (main):
18332 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
18333 (thread_name_object), (thread_name_object_default),
18334 (gst_object_name_compare), (gst_object_suite), (main):
18335 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
18336 (gst_pad_suite), (main):
18337 * check/gstcheck.c: (gst_check_log_message_func),
18338 (gst_check_log_critical_func), (gst_check_init):
18339 * check/gstcheck.h:
18340 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18341 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
18344 2005-03-07 Wim Taymans <wim@fluendo.com>
18346 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18347 (gst_list_iterator_next), (gst_list_iterator_resync),
18348 (gst_list_iterator_free), (gst_iterator_new_list),
18349 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
18350 (gst_iterator_free), (gst_iterator_push), (filter_next),
18351 (filter_resync), (filter_uninit), (filter_free),
18352 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
18353 (gst_iterator_foreach), (find_custom_fold_func),
18354 (gst_iterator_find_custom):
18355 * gst/gstiterator.h:
18356 Added missing files.
18358 2005-03-07 Wim Taymans <wim@fluendo.com>
18362 * docs/design/part-MT-refcounting.txt:
18363 * docs/design/part-conventions.txt:
18364 * docs/design/part-gstobject.txt:
18365 * docs/design/part-relations.txt:
18366 * examples/mixer/mixer.c: (main):
18367 * examples/thread/thread.c: (eos), (main):
18369 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
18370 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
18371 (gst_spider_plug_from_srcpad):
18372 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
18373 (gst_spider_identity_change_state),
18374 (gst_spider_identity_sink_loop_type_finding):
18375 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
18376 * gst/elements/gstidentity.c: (gst_identity_init):
18377 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
18378 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
18379 * gst/elements/gsttypefindelement.c: (free_entry):
18382 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
18383 (gst_bin_set_clock_func), (gst_bin_auto_clock),
18384 (gst_bin_set_index), (gst_bin_set_element_sched),
18385 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
18386 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
18387 (gst_bin_iterate_elements), (iterate_child_recurse),
18388 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
18389 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
18390 (compare_interface), (gst_bin_get_by_interface),
18391 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
18393 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
18394 (gst_buffer_default_free), (gst_buffer_default_copy),
18395 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
18396 (gst_buffer_create_sub):
18398 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
18399 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
18400 (gst_caps_unref), (gst_static_caps_get),
18401 (gst_caps_remove_and_get_structure), (gst_caps_append),
18402 (gst_caps_append_structure), (gst_caps_remove_structure),
18403 (gst_caps_copy_nth), (gst_caps_set_simple),
18404 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
18405 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
18406 (gst_caps_structure_intersect_field), (gst_caps_intersect),
18407 (gst_caps_structure_subtract_field), (gst_caps_subtract),
18408 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
18409 (gst_caps_structure_figure_out_union),
18410 (gst_caps_switch_structures), (gst_caps_do_simplify),
18411 (gst_caps_replace), (gst_caps_from_string),
18412 (gst_caps_copy_conditional):
18414 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
18415 (_gst_clock_id_free), (gst_clock_id_unref),
18416 (gst_clock_id_compare_func), (gst_clock_id_wait),
18417 (gst_clock_id_wait_async), (gst_clock_class_init),
18418 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
18419 (gst_clock_get_time), (gst_clock_set_time_adjust),
18420 (gst_clock_set_property), (gst_clock_get_property):
18423 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
18424 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
18426 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18427 (gst_element_requires_clock), (gst_element_provides_clock),
18428 (gst_element_set_clock), (gst_element_clock_wait),
18429 (gst_element_wait), (gst_element_set_time_delay),
18430 (gst_element_is_indexable), (gst_element_add_pad),
18431 (gst_element_add_ghost_pad), (gst_element_remove_pad),
18432 (pad_compare_name), (gst_element_get_static_pad),
18433 (gst_element_request_pad), (gst_element_get_request_pad),
18434 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
18435 (gst_element_class_get_pad_template_list),
18436 (gst_element_class_get_pad_template), (gst_element_error_func),
18437 (gst_element_get_random_pad), (gst_element_get_event_masks),
18438 (gst_element_send_event), (gst_element_seek),
18439 (gst_element_get_query_types), (gst_element_query),
18440 (gst_element_get_formats), (gst_element_convert),
18441 (gst_element_is_locked_state), (gst_element_set_locked_state),
18442 (gst_element_sync_state_with_parent), (gst_element_change_state),
18443 (gst_element_finalize), (gst_element_yield),
18444 (gst_element_interrupt), (gst_element_set_scheduler),
18445 (gst_element_get_scheduler), (gst_element_set_loop_function):
18446 * gst/gstelement.h:
18448 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
18449 (gst_format_get_by_nick), (gst_format_get_details),
18450 (gst_format_iterate_definitions):
18452 * gst/gstindex.c: (gst_index_gtype_resolver):
18455 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
18456 (gst_mem_chunk_free):
18457 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18458 (gst_object_ref), (gst_object_unref), (gst_object_sink),
18459 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
18460 (gst_object_dispatch_properties_changed),
18461 (gst_object_set_name_default), (gst_object_set_name),
18462 (gst_object_get_name), (gst_object_set_name_prefix),
18463 (gst_object_get_name_prefix), (gst_object_set_parent),
18464 (gst_object_get_parent), (gst_object_unparent),
18465 (gst_object_check_uniqueness), (gst_object_save_thyself),
18466 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
18467 (gst_object_set_property), (gst_object_get_property),
18468 (gst_object_get_path_string):
18470 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18471 (gst_real_pad_init), (gst_real_pad_get_property),
18472 (gst_pad_custom_new), (gst_pad_get_direction),
18473 (gst_pad_set_active), (gst_pad_is_active),
18474 (gst_pad_set_event_function), (gst_pad_is_linked),
18475 (gst_pad_link_free), (gst_pad_link_intersect),
18476 (gst_pad_link_fixate), (gst_pad_set_caps),
18477 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
18478 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
18479 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
18480 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
18481 (gst_pad_get_caps), (gst_pad_peer_get_caps),
18482 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
18483 (gst_pad_realize), (gst_pad_get_allowed_caps),
18484 (gst_real_pad_dispose), (gst_real_pad_finalize),
18485 (gst_pad_collectv), (gst_pad_collect_valist),
18486 (gst_pad_template_dispose), (gst_pad_template_new),
18487 (gst_pad_get_internal_links):
18489 * gst/gstpipeline.c: (gst_pipeline_dispose),
18490 (gst_pipeline_change_state):
18491 * gst/gstpipeline.h:
18493 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
18494 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
18495 * gst/gstpluginfeature.h:
18496 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
18497 * gst/gstquery.c: (_gst_query_type_initialize),
18498 (gst_query_type_register), (gst_query_type_get_by_nick),
18499 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
18501 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
18502 * gst/gstscheduler.c: (gst_scheduler_add_element),
18503 (gst_scheduler_factory_create):
18504 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18505 (gst_structure_free), (gst_structure_set_name),
18506 (gst_structure_id_set_value), (gst_structure_set_value),
18507 (gst_structure_set_valist), (gst_structure_remove_field),
18508 (gst_structure_remove_fields),
18509 (gst_structure_remove_fields_valist),
18510 (gst_structure_remove_all_fields), (gst_structure_foreach),
18511 (gst_structure_map_in_place),
18512 (gst_caps_structure_fixate_field_nearest_int),
18513 (gst_caps_structure_fixate_field_nearest_double):
18514 * gst/gststructure.h:
18515 * gst/gstsystemclock.c: (gst_system_clock_class_init),
18516 (gst_system_clock_init), (gst_system_clock_dispose),
18517 (gst_system_clock_async_thread),
18518 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
18519 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18520 * gst/gstsystemclock.h:
18521 * gst/gsttag.c: (gst_tag_list_add_value_internal),
18522 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18523 * gst/gsttaginterface.c:
18524 * gst/gstthread.c: (gst_thread_dispose),
18525 (gst_thread_release_children_locks), (gst_thread_change_state),
18526 (gst_thread_main_loop):
18527 * gst/gsttrashstack.h:
18528 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18530 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18531 (gst_element_request_pad), (gst_element_get_pad_from_template),
18532 (gst_element_request_compatible_pad),
18533 (gst_element_get_compatible_pad_filtered),
18534 (gst_element_get_compatible_pad), (gst_element_state_get_name),
18535 (gst_element_link_pads_filtered), (gst_element_link_filtered),
18536 (gst_element_link_many), (gst_element_link),
18537 (gst_element_link_pads), (gst_element_unlink_pads),
18538 (gst_element_unlink_many), (gst_element_unlink),
18539 (gst_pad_can_link_filtered), (gst_pad_can_link),
18540 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18541 (gst_object_default_error), (gst_bin_add_many),
18542 (gst_bin_remove_many), (gst_element_populate_std_props),
18543 (gst_element_class_install_std_props), (gst_buffer_merge),
18544 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18545 (link_fold_func), (gst_pad_proxy_setcaps):
18547 * gst/gstvalue.c: (gst_value_deserialize_string):
18548 * gst/parse/grammar.y:
18549 * gst/schedulers/gstbasicscheduler.c:
18550 (gst_basic_scheduler_cothreaded_chain),
18551 (gst_basic_scheduler_chain_recursive_add),
18552 (gst_basic_scheduler_pad_link):
18553 * gst/schedulers/gstoptimalscheduler.c:
18554 (get_group_schedule_function),
18555 (gst_opt_scheduler_state_transition),
18556 (gst_opt_scheduler_add_element), (element_get_reachables_func):
18557 * libs/gst/bytestream/bytestream.c:
18558 * libs/gst/dataprotocol/dataprotocol.c:
18559 (gst_dp_header_from_buffer):
18562 * tests/threadstate/threadstate2.c: (eos):
18563 * tools/gst-compprep.c: (main):
18564 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18565 (print_pad_info), (print_children_info):
18566 * tools/gst-launch.c: (idle_func), (main):
18567 * tools/gst-md5sum.c: (idle_func), (main):
18568 * tools/gst-xmlinspect.c: (print_element_info):
18569 First THREADED backport attempt, focusing on adding locks and
18570 making sure the API is threadsafe. Needs more work. More docs
18573 2005-02-24 Andy Wingo <wingo@pobox.com>
18575 * tests/bench-complexity.scm:
18576 * tests/complexity.gnuplot: New files, good for running complexity
18579 * tests/Makefile.am:
18580 * tests/complexity.c: New test, sets up N elements, at each level
18581 teeing into M streams per element. Eeeenteresting.
18583 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18584 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18585 running bench-mass_elements.scm.
18587 * tests/bench-mass_elements.scm: New script, runs mass_elements
18588 for various numbers of identities, outputting the results to a
18589 file. Requires guile 1.6. Just for testing.
18591 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
18593 * gst/schedulers/fairscheduler.c:
18594 compile with debug disabled
18596 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
18599 hunting season on 0.9 is now OPEN